Chapter 13 Structured Texts Example 3: If M1 is ON, the value in D0 will be 1. If M1 is not ON, the PLC will evaluate M2. If M2 is ON, the value in D0 is 2. If M2 is not ON, the value in D0 will be 0. 13.2.3 Conditional Structure─CASE Format Description The PLC judges whether the value of Integer expression is on the list of condition values. If the value of Integer expression is the same as a condition value on the list, the sub-statement following the condition value will be executed. If the value of Integer expression is not on the list of condition values, Other sub-statement under the keyword ELSE will be executed. 13-15