
3 Operation and Configuration
3-18
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
z
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.
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.
* 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.
z
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.
Name of device variable
for CJ-series Unit
Type
Name
Function
*_Ch1_Enbl
BOOL
Open Gate
0 to 1: Count start*
*_Ch2_Enbl
*_Ch1_Dsbl
BOOL
Close Gate
0 to 1: Count stop
*_Ch2_Dsbl
Gate Closed
Gate Op en
Gate Closed
Gate Closed
Gate Op en
Gate Closed
Function 01:
Gate Positive
Function 02:
Gate Negative
Load Counter with
Preset Value
Function 04:
Preset Falling Edge
Load Counter with
Preset Value
Function 03:
Preset Rising Edge
Содержание 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: ......