![background image](http://html.mh-extra.com/html/omron/cj1w-pnt21/cj1w-pnt21_operation-manuals_742351192.webp)
A-3
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 (Software switches 1)
The device variables for CJ-series Unit that corresponds to all bits of word n is as follows:
The device variables for CJ-series Units that correspond to bits 0 to 15 of word n are as follows:
Word n+4 (Unit status word)
The device variables for CJ-series Unit that corresponds to all bits of word n+4 is as follows:
The device variables for CJ-series Units that correspond to bits 0 to 15 of word n+4 are as follows:
CPU Bus Unit Words Allocated in CIO Area
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
Word n
0 to 15
The switches of Software Switch 1 execute a function
when turned ON by the user (in any CPU mode). The
Unit state is not restored after a Power-Down of the
CPU.
*_SwCmd
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
Word n
0 to 7
Reserved by system
*_SwCmd
8
Clear all alarm flags
*_ClrAllAlmCmd
9 to 11
Reserved by system
12
Set ouptut data valid
*_OutDatValCmd
13 to 15
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+4
0 to 15
The Unit status word contains fundamental status
and error flags concerning the Unit. If needed, further
details can be found in the IO Controller and IO
Device status Words. All flags are controlled by the
Unit.
*_UnitSta