4 Data Exchange with the CPU Unit
4-8
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
4-2 Device Variables for CJ-series Unit
(Software Switches, Statuses)
When you operate and reference software switches and statuses use the following Device Variables
for CJ-series Unit allocated to the I/O port of this Unit.
Name of Device Variable for CJ-
series Unit
Type R/W Description
*_SwCmd WORD RW Software Switches (Section 4-2-1)
*_MstrOperateCmd BOOL RW Bit 00: Switch master to OPERATE mode
*_MstrStopCmd BOOL RW Bit 01: Switch master to STOP mode
*_MstrClearCmd BOOL RW Bit 02: Switch master to CLEAR mode
*_MstrOfflineCmd BOOL RW Bit 03: Switch master to OFFLINE mode
*_GlobCtlTxCmd BOOL RW Bit 04: Transmit Global-Control command
*_ClrNewDiagCmd BOOL RW Bit 08: Clear new diagnostics bits
*_GlobCtlCmd WORD RW Global-Control Command (Section 4-2-2)
*_GlobCtlGrp1 BOOL RW Bit 00: Send command to slaves of Group 1
*_GlobCtlGrp2 BOOL RW Bit 01: Send Command to slaves of Group 2
*_GlobCtlGrp3 BOOL RW Bit 02: Send Command to slaves of Group 3
*_GlobCtlGrp4 BOOL RW Bit 03: Send Command to slaves of Group 4
*_GlobCtlGrp5 BOOL RW Bit 04: Send Command to slaves of Group 5
*_GlobCtlGrp6 BOOL RW Bit 05: Send Command to slaves of Group 6
*_GlobCtlGrp7 BOOL RW Bit 06: Send Command to slaves of Group 7
*_GlobCtlGrp8 BOOL RW Bit 07: Send Command to slaves of Group 8
*_GlobCtlUnfreezeCmd BOOL RW Bit 10: Unfreeze
*_GlobCtlFreezeCmd BOOL RW Bit 11: Freeze
*_GlobCtlUnsyncCmd BOOL RW Bit 12: Unsync
*_GlobCtlSyncCmd BOOL RW Bit 13: Sync
*_UnitSta WORD R Unit Status (Section 4-2-3)
*_UnitErr BOOL R Bit 00: Unit error flag
*_MstrErr BOOL R Bit 01: Master error flag
*_NewErrLogSta BOOL R Bit 03: Error log contains new errors
*_ParamTxSta BOOL R Bit 04: Parameter transfer In progress
*_ParamStorErr BOOL R Bit 06: Local parameter storage error
*_ParamLoadErr BOOL R Bit 07: Local parameter load error
*_FileRdErr BOOL R Bit 09: File read error
*_LogStorErr BOOL R Bit 13: Error log storage error
*_MstrSta WORD R Master Status (Section 4-2-4)
*_MstrOperateSta BOOL R Bit 00: Unit in OPERATE mode
*_MstrStopSta BOOL R Bit 01: Unit in STOP mode
*_MstrClearSta BOOL R Bit 02: Unit in CLEAR mode
*_MstrOfflineSta BOOL R Bit 03: Unit in OFFLINE mode
*_MstrDatXchgSta BOOL R Bit 04: Unit in data exchange
*_MstrAutoClrEnblSta BOOL R Bit 05: Auto-CLEAR enabled
*_MstrValidCfgSta BOOL R Bit 07: Unit contains a valid configuration
*_MstrErrSta WORD R Master Errors (Section 4-2-5)
*_MstrBusErr BOOL R Bit 00: Disturbed bus error
*_MstrProtErr BOOL R Bit 01: PROFIBUS protocol error
*_MstrAdrErr BOOL R Bit 02: Master address duplication error