43
Count Function Available as Phase
Input Mode
Overview
Phase signal from encoder is input to R0.0 and R0.1 and measures 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 increases with IN-A OFF and IN-B edge falling with 1
multiplication, and decreases with IN-A OFF and IN-B edge rising.
Phase signal pulse input (on A)
Phase signal pulse input (on B)
(CH0 IN-A)
(CH0 IN-B)
(CH0 clear)
(CH0 Mask)
0V (24V DC)
Install Pulse I/O unit in slot No.0
R0
R1
R2
R3
Occupied I/O areas
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 up
count input (IN-A OFF
and edge falling on B)
Count stops while
mask signal is ON.
Count decreases
with down count
input (IN-A OFF and
edge rising on B)
Count increases with up
count input
Reset count value with
clear signal ON