4-1
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
4
This section describes the words allocated to the PROFIBUS Unit in the CIO Area and
DM Area. These words both enable controlling the PROFIBUS Unit and accessing Unit
and network status.
4-1 Data Exchange with the CPU Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4-1-1 Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4-1-2 Accessing From the User Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
4-2 Device Variables for CJ-series Unit (Software Switches, Statuses) . . . . . 4-8
4-2-1 Software Switches (*_SwCmd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
4-2-2 Global-Control Command (*_GlobCtlCmd) . . . . . . . . . . . . . . . . . . . . . . . . . . .4-11
4-2-3 Unit Status (*_UnitSta) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15
4-2-4 Master Status (*_MstrSta) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17
4-2-5 Master Errors (*_MstrErrSta) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-19
4-2-6 Slave Status (*_SlvSta) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
4-2-7 Actual Bus Cycle Time (*_ActCycleTm) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22
4-2-8 Slave Data Exchange Active Flags (*_SlvDatXchg, *_SlvDatXchgL,
*_SlvDatXchgH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22
4-2-9 Slave New Diagnostics Flags (*_SlvNewDiagL, *_SlvNewDiagH, *_SlvNewDiag)
4-24
Data Exchange with the CPU Unit