A-5
Appendices
CJ-series PROFINET IO Controller Unit Operation Manual for NJ-series CPU Unit (W511)
App
A-1-
2 Dif
fer
ences in Accessing f
rom the U
ser
Progr
am
Word n+7 (IO Device Status)
The device variables for CJ-series Unit that corresponds to all bits of word n+7 is as follows:
The device variables for CJ-series Units that correspond to bits 0 to 15 of word n+7 are as follows:
Word n+9 to n+16 (IO Device Input Valid Flags)
The device variables for CJ-series Unit that corresponds to all bits of word n+9 to n+16 are as fol-
lows:
CJ-series I/O memory and NJ-series CJ Unit memory
NJ-series device vari-
ables for CJ-series
Unit
Word number
Bit number
CJ-series function name
Variable name
n+5 and n+6
0
Controller in ONLINE mode
*_OnlineSta
1 and 2
Reserved by system
3
Controller is in OFFLINE mode
*_OfflineSta
4
Controller in Data Exchange mode
*_DatXchgSta
5 and 6
Reserved by system
7
Unit contains a valid configuration
*_ValidCfgSta
8 to 11
Reserved by system
12
Valid output data
*_OutDatValSta
13 to 16
Reserved by system
17
Link Status
*_LinkSta
18
Reserved by system
19
Hardware Error
*_HwErr
20 to 28
Reserved by system
29
Configuration Error
*_CfgErr
30 and 31
Reserved by system
CJ-series I/O memory and NJ-series CJ Unit memory
NJ-series device vari-
ables for CJ-series
Unit
Word number
Bit number
CJ-series function name
Variable name
n+7
0 to 15
The IO Device status word presents all information
on the IO Devices allocated to the CJ1W-PNT21
Controller. Detailed information on the IO
Devices can be obtained by reading the alarm mes-
sages. Contents of the 'IO Device status' word (Word
n+7)
*_IoDevSta
CJ-series I/O memory and NJ-series CJ Unit memory
NJ-series device vari-
ables for CJ-series
Unit
Word number
Bit number
CJ-series function name
Variable name
n+7
0
All IO Devices are in Data Exchange
*_AllDatXchgSta
1
All IO Devices have consumed output data
*_AllDevOutSta
2
At least one IO Device has consumed output data
*_OneDevOutSta
3
Reserved by system
4
IO Device Alarm received
*_DevAlmSta
5 to 15
Reserved by system