3-1
CJ-series PROFIBUS Slave Unit Operation Manual for NJ-series CPU Unit (W510)
3
This section describes the interface and data exchange between the NJ-series CPU
and the PROFIBUS-DP CJ1W-PRT21 Slave Unit.
3-1 Input and Output Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3-2 I/O Data Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3-3 I/O Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3-4 PROFIBUS Startup Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
3-5 Data Exchange with the CPU Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
3-5-1 Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
3-5-2 Accessing From the User Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-11
3-6 Device Variables for CJ-series Unit (Software Switches, Statuses) . . . . 3-15
3-6-1 Software Switches (*_SwCmd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
3-6-2 Status Flags (*_SlvSta) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
3-7 Device Variables for CJ-series Unit (Configuration) . . . . . . . . . . . . . . . . . 3-20
3-7-1 Slave Parameter Data (*_SlvParamSta) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21
3-7-2 Slave Output Data (*_SlvOutSta) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
3-7-3 Slave Input Settings (*_SlvInSta) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24
3-8 CPU Status Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
Data Exchange with the CPU Unit