Program example
• Program that compares the values of D0 and D1 with the lower limit value (E-1.23) and upper limit value (E1.23)
[Ladder Mode]
Compare D0 and D1 with lower limit value (E-1.23)
and upper limit value (E1.23).
M0 turns on when E-1.23 > D0 and D1.
M1 turns on when E-1.23 ≤ D0 and D1 ≤ E1.23.
M2 turns on when D0 and D1 > E1.23.
6
6 BASIC INSTRUCTIONS
217
6.1 Comparison Operation Instructions