Omron CJ1W-CT021 Operation Manuals page 98

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

Advertisement

3 Operation and Configuration
Gate Function
The Gate Function should be assigned to a Digital Input in case you want to use that Digital Input as
a Gate. When the Gate is open, the Counter is able to count pulses. When the Gate is closed, the
Counter will not count pulses. The Positive Gate Function (01) results in an open Gate when the
level of the signal applied to the Digital Input is high and a closed Gate when the level of the signal
applied to the Digital Input is low. For the Negative Gate Function (02) the same functionality is
applied to the Counter for inverted signals.
Gate Closed
The Counter gate can also be opened or closed with Open Gate/Close Gate of the device variables
for CJ-series Unit (for output) as shown below.
Name of device variable
for CJ-series Unit
*_Ch1_Enbl
*_Ch2_Enbl
*_Ch1_Dsbl
*_Ch2_Dsbl
* The system enters the count start state at the rising edge of the Open Gate regardless of the Close Gate state. If
both variables rise at the same time, the gate state of the time is held (is not changed).
Additional Information
Initially, at power up or restart of the Unit, for all Counter types (i.e. Simple-, Circular-, and Linear
Counters) the Gate is closed and counting is disabled. In order to enable counting you must
open the Gate first.
Preset Function
A Digital Input configured to have Preset functionality will preset the Counter with the Preset Value
on a rising edge (Preset Rising Edge, Function 03) or falling edge (Preset Falling Edge, Function
04) of the Digital Input signal. This will cause the Counter Value to be overwritten with the Preset
Value.
Load Counter with
Preset Value
3-18
Function 01:
Gate Positive
Gate Op en
Gate Closed
Type
BOOL
Open Gate
BOOL
Close Gate
Function 03:
Preset Rising Edge
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
Function 02:
Gate Negative
Gate Closed
Gate Op en
Name
0 to 1: Count start*
0 to 1: Count stop
Function 04:
Preset Falling Edge
Load Counter with
Preset Value
Gate Closed
Function

Advertisement

Table of Contents
loading

Table of Contents