Time chart
• The comparison output (CMP0: output number Y100) turns on when the elapsed value
reaches the comparison output setting value and meets the condition which satisfies the
comparison condition "ON when elapsed value is larger than or equal to setting value".
• The comparison is performed continuously even after turning on the comparison output. The
comparison output will turn off when "elapsed value is smaller than setting value" is met.
CH0 IN-A
(X100)
CH0 IN-B
(X101)
CH0 RST
(X102)
CH0 MASK
(X103)
ⓐ
ⓑ
1
①
ⓒ
CMP0
(Y100)
ⓓ
EQ0
Comparison output
ⓐ
setting value
ⓑ
Counter elapsed value
ⓒ
Comparison output
Comparison match
ⓓ
(Internal signal)
8.2 Execution Example of Comparison Output Function
6
5
4
3
2
①
The count value is reset when the reset signal turns on.
Turns on when the elapsed value is larger than or equal to the setting
②
value. It is output to the output Y100.
When using this function in combination with the interrupt function, an
③
interrupt occurs by the interrupt occurrence condition when the elapsed
value agrees with the comparison output setting value.
④
Counting is disabled while the mask signal is on.
④
②
③
8-7