4-15
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-3 Unit Status (*_UnitSta)
One of the following Device Variables for CJ-series Unit is used to monitor the Unit Status from the user
program:
• WORD-type Device Variable for CJ-series Unit holding all switch functions contained in Unit Status.
• BOOL-type Device Variable for CJ-series Unit separating functions per each switch contained in Unit
Status.
The Unit status word contains all the status and error flags concerning the Unit itself, as well as error
flags, which indicate the presence of error flags in the Master and Slave Status Words. All bits are con-
trolled by the Unit.
*_GlobCtlUnsyncCmd *_GlobCtlSyncCmd Resulting action at slave
FALSE FALSE No change in function
FALSE TRUE Slave device will be in Sync mode
TRUE FALSE Slave device will be in Unsync mode
TRUE TRUE Slave device will be in Unsync mode
4-2-3 Unit Status (*_UnitSta)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
*_UnitSta
*_UnitErr
*_MstrErr
*_NewErrLogSta
*_ParamTxSta
*_ParamStorErr
*_ParamLoadErr
*_FileRdErr
*_LogStorErr