5 - 27
Project name QB-15
Program name MAIN
5.3 Comparison Operation Instruction
Size
comparison
C10
K4Y40C10BCD
Y70
S1 S2
X3
SM413 (2-sec. clock)
X4
K100
0
C10K10>
Y71
S1 S2
C10K10< =
Y72C10K20=
Y73C10K30< >
Y74C10K20>
C10K40<
C10K25< = Y75
C10K10< = Y76
C10K40< =
C10K100=
C10K35> =
C10K20> =
C10K50>
C10RST
X0
6
10
15
19
23
27
34
41
55
The comparison operation instruction compares the data of source 1 (
S1
)and
source 2 (
S2
), and brings the devices into conduction when the conditions are
met.
The instruction can be regarded as one normally open contact (
) since it is
conducted only when the conditions are met.
Y74C10K20
C10K40
Y74
●
S1
S2
······Becomes conducted when source 1 and source 2 match.
●
S1 S2
······Becomes conducted when source 1 is smaller than source 2.
●
S1
S2
······Becomes conducted when source 1 is larger than source 2.
●
S1 S2
······Becomes conducted when source 1 and source 2 match or
when source 1 is smaller than source 2.
●
S1 S2
······Becomes conducted when source 1 and source 2 match or
when source 1 is larger than source 2.
●
S1
S2
······Becomes conducted when source 1 and source 2 do not match.