Omron CS1W-CT041 Operation Manual page 77

High-speed counter units
Hide thumbs Also See for CS1W-CT041:
Table of Contents

Advertisement

E(2('%<-@*4&'-,&*$'()*+
Capture Function
CNT1:
CNT2:
CNT3:
n+2
n+5
n+8
Stop, Capture and Continue
Gate Open
Stop counting and Capture
current Counter Value into
Capture Register
)%
A Digital Input configured to have Capture functionality will capture the current
Counter Value into the Capture Register on a rising edge (Capture Rising Edge,
Function 07) or falling edge (Capture Falling Edge, Function 08) of the Digital Input
signal. The Unit is equipped with a Capture Register for every Counter. Every time
that a Counter Value is captured the contents of the Capture Register are over-
written with the new Captured Value and the old Captured Value is lost.
Function 07:
Capture Rising Edge
Capture current Counter Value
into Capture Register
The Counter Value can also be captured by using the "Capture Counter Value Bit"
in CIO.
CNT4:
15 14 13 12 11 10 9 8
n+11
If you want to use the Captured Value in your Ladder Program, you must use the
IORD-instruction. This instruction reads the Captured Value from the Unit into a
specified location in the memory of the PLC. For more details on using the IORD-
instruction and reading the Captured Value refer to 4-4 "IORD-Instruction".
A Digital Input configured to have Stop, Capture and Continue functionality will
Stop the Counter (= close the Gate) and Capture the current Counter Value into
the Capture Register on a rising edge of the signal applied to the Digital Input
(Stop, Capture and Continue, Function 09). On the next falling edge the Counter
will continue counting (= open the Gate). For the Stop, Capture and Continue
(Inverted) Function (10) the same functionality is applied to the Counter for
inverted signals.
Function 09:
Stop, Capture and Continue
Gate Closed
Continue Counting
7
6 5
4
3
Stop, Capture and Continue (Inverted)
Gate Open
Gate Open
Stop counting and Capture
current Counter Value into
Capture Register
Function 08:
Capture Falling Edge
Capture current Counter Value
into Capture Register
2
1 0
Capture Counter Value:
0 →1 = Capture Counter Value
Function 10:
Gate Closed
Continue Counting
Section 3-4
Gate Open

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-ct021

Table of Contents