
4-13
4 Exchanging Data with CPU
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
4-2 Mem
o
ry
Alloca
tion
4
4-2-3 D
etails of De
vice V
ar
iab
les f
or CJ-ser
ies Unit (f
or in
put/output)
z
For inputs
Name of device variable
for CJ-series Unit
Type
R/W
Name
Function
General
*_OutStaDat
DWORD R
Output Status
The current statuses of external and internal output
(total of 32) are all displayed.
0: OFF
1: ON
Bit 00: External output O0
Bit 01: External output O1
Bit 02: Internal output 2
-
Bit 31: Internal output 31
This variable is used to process output signal sta-
tuses collectively.
Data range: 16#00000000 to 16#FFFFFFFF
*_OutSta0
BOOL
R
Digital Output 0 Status
1: ON, 0: OFF
*_OutSta1
BOOL
R
Digital Output 1 Status
1: ON, 0: OFF
*_OutSta2
BOOL
R
Soft Output 2 Status
1: ON, 0: OFF
~~
*_OutSta31
BOOL
R
Soft Output 31 Status
1: ON, 0: OFF
*_In0
BOOL
R
Digital Input 0 Status
The Digital Input 0 (I0) status is displayed.
1: ON, 0: OFF
*_In1
BOOL
R
Digital Input 1 Status
The Digital Input 0 (I1) status is displayed.
1: ON, 0: OFF
*_ErrCode1
WORD
R
Error Code 1
For details, refer to 5-2 Error codes.
Data range: 16#0000 to 16#FFFF
*_ErrCode2
WORD
R
Error Code 2
For details, refer to 5-2 Error codes.
Data range: 16#0000 to 16#FFFF
*_GlblErr
BOOL
R
Global Error
1: Shows that one or more error has occurred.
These error codes are stored in the error list in this
unit.
0: Normal
*_UnitInitSta
BOOL
R
Unit Busy
1: Unit initialization processing underway
*3
0: Other than the above
*_IABlkOverlapSta
BOOL
R
IA Blocks overlap
*2
1: Shows that range/comparison data is duplicated
in the CPU Unit I/O memory.
0: Other than the above
Counter 1
*_Ch1_RngCmpDatSta
DWORD R
Ranges / Comparison
Values active*1
Shows the current status of all the comparison con-
ditions.
Bits 00 to 31 correspond to comparison conditions
0 to 31.
Each bit shows 1 if the condition is met, or 0 if the
condition is not met.
Data range: 16#00000000 to 16#FFFFFFFF