Omron CJ1W-CT021 Operation Manuals page 138

For nj-series cpu unit. high-speed counter units.
Hide thumbs Also See for CJ1W-CT021:
Table of Contents

Advertisement

4 Exchanging Data with CPU
Name of device variable
for CJ-series Unit
*_Ch1_RngCmpSta0
*_Ch1_RngCmpSta1
*_Ch1_RngCmpSta2
*_Ch1_RngCmpSta31
*_Ch1_LinCtVal
*_Ch1_RingCtVal
*_Ch1_CtOvf
*_Ch1_CtUdf
*_Ch1_CtRun
*_Ch1_CntDir
*_Ch1_PrstSta
*_Ch1_RstSta
*_Ch1_ZSig
*_Ch1_SmplCntSta
*_Ch2_RngCmpDatSta
*_Ch2_RngCmpSta0
*_Ch2_RngCmpSta1
*_Ch2_RngCmpSta2
4-14
Type
R/W
Name
BOOL
R
Ranges 0 / Compari-
son Values 0 active
BOOL
R
Ranges 1 / Compari-
son Values 1 active
BOOL
R
Ranges 2 / Compari-
son Values 2 active
BOOL
R
Ranges 31 / Compari-
son Values 31 active
DINT
R
Counter Value
UDINT
R
Counter Value
BOOL
R
Counter Overflow
BOOL
R
Counter Underflow
BOOL
R
Counter Run-
ning/Gate Open
BOOL
R
Counting Direction
BOOL
R
Preset Activated
BOOL
R
Reset Activated
BOOL
R
Z-signal Activated
BOOL
R
Simple Counter
Counter 2
DWORD R
Ranges / Comparison
Values active*1
BOOL
R
Ranges/Comparison
Values 0 active
BOOL
R
Ranges/Comparison
Values 1 active
BOOL
R
Ranges/Comparison
Values 2 active
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
1: Met, 0: Not met
1: Met, 0: Not met
1: Met, 0: Not met
~~
1: Met, 0: Not met
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
Shows the encoder Counter Value.
Used for Circular Counter.
Data range:
0 to 4,294,967,295
Unit: Pulse
1: The upper count limit of the Linear Counter is
reached.
1: The lower count limit of the Linear Counter is
reached.
1: During Counter operation/while gate open
0: While Counter stopped/while gate closed
1: Count up
0: Count down
*2
1: The presets are executed.
*2
1: A reset is executed.
*2
1: A Z signal is input.
1: Simple Counter
0: Circular/Linear Counter
The current status of all the comparison conditions
is shown.
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
1: Met, 0: Not met
1: Met, 0: Not met
1: Met, 0: Not met
Function

Advertisement

Table of Contents
loading

Table of Contents