39
Count Function Available as Direction
Control Mode
Overview
Input pulse train in R0.0 and direction control signal in R0.1 and
measure the count number.
Counter current value is cleared with R0.2 clear instruction, and count
operation is paused with R0.3 mask instruction.
Timing Diagram
Count value changes according to the input status of each signal as
illustrated below. Count value changes at the pulse input edge rise
time.
R0.0
R0.1
R0.2
R0.3
Pulse train input
Direction control signal input
(CH0 IN-A)
(CH0 IN-B)
(CH0 clear)
(CH0 Mask)
0V (24V DC)
Install Pulse unit in slot No.0
R0
R1
R2
R3
Occupied I/O areasa
Clear instruction
Mask instruction
CH0 IN-A (R0.0)
CH0 IN-B (R0.1)
CH0 Clear (R0.2)
CH0 Mask (R0.3)
Count value
Count increases with R0.0
pulse edge rising and
direction control OFF.
Count stops while
mask signal is ON.
Count decreases
with direction
control ON.
Count increases with
direction control OFF.
Reset count value with
clear signal ON.