
6-3
6 Application Examples
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
6-1 Flo
w
Con
tr
o
l
6
When the value counted by Counter 1 reaches 500,000 or higher, the liquid injection valve output
(O0) is changed to OFF and Counter 1 is stopped (the gate is closed).
z
Defined-variable
The following device variables for CJ-series Unit (for input and output) are relevant to control the
application. The program is created using these variables.
* The above variable prefix (Counter) indicates that it is for the High-speed Counter Units.
Device variables for
CJ-series Unit
Type
Name
Function
Counter_AutoMan*
BOOL
Automatic/Manual
0: Automatic output control
*
1: Manual output control
Counter_OutCtl0
BOOL
Manual Output Con-
trol (Output 0)
0: OFF
1: ON
Counter_Ch1_Enbl
BOOL
Open Gate
0 to 1: Count start
*
Counter_Ch1_Dsbl
BOOL
Close Gate
0 to 1: Count stop
Counter_Ch1_Rst
BOOL
Reset
0 to 1: Counter reset
Counter_Ch1_CtRun
BOOL
Counter Running
/Gate Open
1: During Counter operation/
while gate open
0: While Counter stopped/while
gate closed
Counter_In0
BOOL
Digital Input 0 Status
0: OFF
1: ON
Counter_Ch1_LinCtVal
DINT
Counter Value
−
2,147,483,648 to
2,147,483,647
Unit: Pulse
Содержание 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: ......