
4-15
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)
*1
These bits have no function for Simple Counters.
*2
The Reset, Preset, and Z-signal Activated turn ON for at least one CPU Unit task period after the occurrence of
a pulse that was detected since the previous I/O refresh.
*3
During initialization, the Unit turns ON for approximately 120 ms.
~~
*_Ch2_RngCmpSta31
BOOL
R
Ranges/Comparison
Values 31 active
1: Met, 0: Not met
*_Ch2_LinCtVal
DINT
R
Counter Value
Shows the encoder Counter Value.
Used for Simple Counter or Linear Counter.
Data range:
−
2,147,483,648 to 2,147,483,647
Unit: Pulse
*_Ch2_RingCtVal
UDINT
R
Counter Value
Shows the encoder Counter Value.
Used for Circular Counter.
Data range:
0 to 4,294,967,295
Unit: Pulse
*_Ch2_CtOvf
BOOL
R
Counter Overflow
1: The upper count limit of the Linear Counter is
reached.
*_Ch2_CtUdf
BOOL
R
Counter Underflow
1: The lower count limit of the Linear Counter is
reached.
*_Ch2_CtRun
BOOL
R
Counter Run-
ning/Gate Open
1: During Counter operation/while gate open
0: While Counter stopped/while gate closed
*_Ch2_CntDir
BOOL
R
Counting Direction
1: Count up
0: Count down
*_Ch2_PrstSta
BOOL
R
Preset Activated
*2
1: The presets are executed.
*_Ch2_RstSta
BOOL
R
Reset Activated
*2
1: A reset is executed.
*_Ch2_ZSig
BOOL
R
Z-signal Activated
*2
1: A Z signal is input.
*_Ch2_SmplCntSta_
CT021
BOOL
R
Simple Counter
1: Simple Counter
0: Circular/Linear Counter
Name of device variable
for CJ-series Unit
Type
R/W
Name
Function
Содержание CJ1W-CT021
Страница 10: ...Manual Structure 8 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492...
Страница 38: ...Revision History 36 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492...
Страница 190: ...Appendicies A 18 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492...
Страница 191: ...Index 1 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492 I Index...
Страница 194: ...Index 4 CJ series High speed Counter Units Operation Manual for NJ series CPU Unit W492 Index...
Страница 195: ......