Comparison Output Function
8.2 Execution Example of Comparison Output Function
8.2.1 Comparison Output of Counter for External Input
Overview
This function is used for comparing the elapsed value of the high-speed counter CH0 for
external inputs to "comparison output setting value" specified in advance, and turning on the
comparison output (CMP0: output number Y100) when they meet the comparison condition.
0 V (24 V DC)
Configuration
• Allocate high-speed counter inputs to the inputs (X100-X103), and select "Direction
distinction".
• Select "Comparison match output" in the "Selection of function" tree, and double-click the
comparison match number CMP0 to open the "Advanced" dialog box.
• Select "High-speed counter CH0" as a counter to be compared. Also, select "ON when
elpased value is larger than or equal to setting value" for Comparison output function, and
input a comparison value.
8-6
Multi I/O Unit
(CH0 IN-A)
X100
(CH0 IN-B)
X101
(CH0 RST)
X102
(CH0 MASK)
X103
WX10-WX13
WY10-WY13
Y100
(CMP0)