Omron CJ1W-CT021 Operation Manuals page 100

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

Advertisement

3 Operation and Configuration
Enable, Disable Reset
A Digital Input configured to have Enable Reset Functionality (Function 15) or Disable Reset Func-
tionality (Function 16) can be used to Enable/Disable resetting a Counter by an external reset sig-
nal. The external reset signal can originate from another Digital Input that is configured to have reset
functionality (Function 05 or 06) or from the Z-input.
External Reset
Disabled
To reset a Counter by the function 05 or function 06, it is necessary for external resets to be in the
enabled state and for Reset Enable to be set to 1. For details on Counter resets, refer to 3-6 Reset
Counter.
Digital Input Status
The status of the two Digital Inputs is reflected in the devices variables for CJ-series Unit (for input)
shown below.
Name of device variable
for CJ-series Unit
*_In0
*_In1
An input with extremely short pulse widths (shorter than the CPU Unit task period) is not always
reflected in the above variables.
Action Status
When a preset or reset is allocated to a Digital Input, the status of Digital Inputs is detected via vari-
ables (Preset Activated, Reset Activated) of the device variables for CJ-series Unit (for input). When
a preset or reset is executed, the corresponding variable changes to ON for 1 task period of the
CPU Unit.
Use these variables on the user program when necessary.
Z-Input Status
For each Counter, the Z-input status is reflected in the device variables for CJ-series Unit (for input).
The bit is ON for exactly one task period of the CPU Unit after the Z-input is activated.
Counting Direction
For every Counter the (up or down) counting direction is indicated and can be used in the user pro-
gram.
Name of device variable
for CJ-series Unit
*_Ch1_CntDir
*_Ch2_CntDir
3-20
Function 15:
Enable Reset
External Reset
External Reset
Enabled
Disabled
Type
BOOL
Digital Input 0 Status
BOOL
Digital Input 1 Status
Type
BOOL
Counting Direction
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
Function 16:
Disable Reset
External Reset
External Reset
Enabled
Disabled
Name
0: OFF
1: ON
0: OFF
1: ON
Name
0: Count down
1: Count up
External Reset
Enabled
Function
Function

Advertisement

Table of Contents
loading

Table of Contents