Omron CJ1W-CT021 Operation Manuals page 171

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

Advertisement

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).
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.
Device variables for
CJ-series Unit
Counter_AutoMan*
Counter_OutCtl0
Counter_Ch1_Enbl
Counter_Ch1_Dsbl
Counter_Ch1_Rst
Counter_Ch1_CtRun
Counter_In0
Counter_Ch1_LinCtVal
* The above variable prefix (Counter) indicates that it is for the High-speed Counter Units.
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
Type
Name
BOOL
Automatic/Manual
BOOL
Manual Output Con-
trol (Output 0)
BOOL
Open Gate
BOOL
Close Gate
BOOL
Reset
BOOL
Counter Running
/Gate Open
BOOL
Digital Input 0 Status
DINT
Counter Value
6 Application Examples
Function
*
0: Automatic output control
1: Manual output control
0: OFF
1: ON
*
0 to 1: Count start
0 to 1: Count stop
0 to 1: Counter reset
1: During Counter operation/
while gate open
0: While Counter stopped/while
gate closed
0: OFF
1: ON
−2,147,483,648 to
2,147,483,647
Unit: Pulse
6
6-3

Advertisement

Table of Contents
loading

Table of Contents