5 - 7 5 - 7
MELSEC-Q
5 BASIC USAGE
5.3 Using the Coincidence Output Function
The coincidence output function presets any count value, compares it with the present
counter value, and outputs a signal when they match. For the coincidence output, 2
points can be set for each channel. To use the coincidence signal external output, turn
ON the coincidence signal enable command {Y02(Y0A)}.
(1) Coincidence Output Operation
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
1) 100
2)
3)
4)
103
102
101
100
99
98
to
2
1
0
Counter input pulse
Count enable command
{Y04 (Y0C)}
Coincidence signal enable command
{Y02 (Y0A)}
Coincidence output point setting No. 1
Buffer memory
(Addresses 4
H
to 5
H
(24
H
to 25
H
))
Counter value small (point No. 1)
{X03 (X0A)}
Counter value coincidence (point No. 1)
{X02 (X09)}
Coincidence signal No. 1 reset command
{Y00 (Y08)}
Counter value large (point No. 1)
{X01 (X08)}
Buffer memory for storing present values
(Addresses 2
H
to 3
H
(22
H
to 23
H
))
Number Description
1)
The coincidence output point set values are written in advance as 32-bit signed binary values in the coincidence output point
No. 1 buffer memory {addresses 4
H
to 5
H
(24
H
to 25
H
)}.
2)
When the count value becomes the coincidence output point set value, the counter value small signal turns OFF and the counter
value coincidence signal turns ON.
3)
When the coincidence signal reset command is turned ON, the counter value coincidence signal is reset. If the counter value
coincidence signal stays ON, the next coincidence signal cannot be output.
4)
When the counter value becomes greater than the coincidence output point set value, the counter value large signal turns ON.
POINT
Before turning ON the coincidence signal enable command, perform the following
operations.
(1) Using any of the following methods, make the coincidence output point setting
value and present value different.
• Changing the coincidence output point setting
• Changing the present value by preset
• Inputting a pulse and changing the present value
(2) Turn OFF, ON, and then OFF again the coincidence signal reset command.
If turning ON the coincidence signal enable command before count start or
while the coincidence output point setting value and present value are the
same, coincidence output is performed.
Summary of Contents for QD62
Page 1: ......
Page 2: ......
Page 13: ...A 11 A 11 MEMO ...
Page 55: ...4 18 4 18 MELSEC Q 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MEMO ...
Page 97: ...8 5 8 5 MELSEC Q 8 PROGRAMMING 3 Program example a Set only when the linear counter is used ...
Page 100: ...8 8 8 8 MELSEC Q 8 PROGRAMMING 2 Program example a Set only when the ring counter is used ...
Page 127: ......
Page 128: ......