4-21
4 Data Exchange with the CPU Unit
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
4-2 Device Variables for CJ-series Unit (Software Switches, Statuses)
4
4-2-6 Slave Status (*_SlvSta)
One of the following Device Variables for CJ-series Unit is used to monitor the Slave Status from the
user program:
• WORD-type Device Variable for CJ-series Unit holding all switch functions contained in Slave Status.
• BOOL-type Device Variable for CJ-series Unit separating functions per each switch contained in
Slave Status.
*_MstrHwErr BOOL R Hardware error TRUE:
Indicates an error has occurred on the bus, e.g.
message exceeding 256 bytes, broken messages,
faulty bus timing or devices beyond the HSA have
been detected.
Note In case this error occurs, the Unit will
automatically switch to OFFLINE mode.
FALSE:
Indicates that no Hardware error has occurred.
*_MstrMdCmdErr BOOL R Mode com-
mand error
TRUE:
Indicates:
• more than one command mode switch has
been set.
• a mode command switch is set while the pre-
vious command is in progress, or
• a mode transition command is given and the
Unit has detected that it does not (yet) have a
valid configuration or it detected an internal
error, either of which prevented it from reach-
ing that mode, e.g. Invalid Parameter set and
transition to OPERATE mode.
If this bit is changed to TRUE, it will remain so until
a valid command is sent to the Unit. The invalid
mode command will be ignored.
FALSE:
If the bit flags have been cleared, the Unit will
reset this bit to FALSE.
*_MstrParamErr BOOL R Parameter
error
TRUE:
Indicates an error has been detected in the con-
tents of the Parameters set while configuring the
PROFIBUS interface, using these parameters.
FALSE:
These bits will be set to FALSE by the Unit if the
error bit flags have been cleared.
4-2-6 Slave Status (*_SlvSta)
Name of Device Variable for CJ-
series Unit
Type R/W Description Function
1514131211109876543210
*_SlvSta
*_AllDatXchgSt
*_SlvDiagRcvSt