![background image](http://html1.mh-extra.com/html/omron/cj1w-ctl41-e/cj1w-ctl41-e_operation-manuals_741969027.webp)
10
Quick Start Up Reference Guide
Section 1-4
1-4-1
Configuring the Counter Unit
Configuring the Counter
Type
Configuring each Counter starts with choosing the Counter Type, i.e. it must
be configured for Circular or Linear Counter (refer to section
, section
and section
for details).
Configuring the Input
Type
Next, the Input Type (Phase Differential, Up/Down, or Pulse & Direction) for
every Counter has to be defined. During operation of the Counter, the Counter
can be Started, Stopped, Reset, Captured or Preset by using the corresponding
bits in CIO.
Configuring the Output
Mode
In order to link the Units Software Outputs to Counter events, the Output Con-
trol Mode (Range or Comparison Mode) must be selected. Furthermore, an
additional Hysteresis mechanism is available to control the Outputs. Refer to
section
Indirect Addressing for
Circular and Linear
Counters
The CJ1W-CTL41-E Counter Unit allocates 90 DM-words in the Special I/O
Unit DM-Area and a block of 34 CIO-words in the Special I/O Unit Area of the
PLC. The configuration of the Unit is done by making the appropriate DM-set-
tings in the Special I/O Unit DM-Area allocated to the Unit.
The Special I/O Unit DM-Area is divided in an area of 10 words to make the
General Unit Settings and 4 blocks of 20 DM-words each to make the Counter
Specific Settings, which are unique for every Counter.
Ref
Item
Circular/Linear Counter
Reference
section
1
Input Signal types
Phase Differential (x1, x2, x4)
Up & Down
Pulse & Direction
2
Counter control
• Open Gate / Start Counter
• Close Gate / Stop Counter
• Preset Counter
• Reset Counter
• Capture Counter Value
3
Output control
• Range Mode
• Comparison Mode
4
Counter reset
• Software Reset Bit
• Z-signal
5
Hysteresis
Yes
6
Initial counter values
Yes
7
Supported IORD / IOWR-
instructions
Captured Counter Value
Counter Value
Error Clear
DM-data
Range- and Comparison Data
(Re) Configure Unit
8
Interrupts of Outputs
Yes