Chapter 6 Applied Instructions Example 1. When M1 is ON, M10 is ON. The instruction performs the logical operation AND on each pair of corresponding bits in C0 and C10. When the operation result is not 0, M10 is ON. 2. When M2 and M3 are ON, M11 is ON. The instruction performs the logical operation OR on each pair of corresponding bits in the 32-bit register (D10, D11) and the 32-bit register (D20, D21). When the operation result is not 0, M11 is ON. The instruction performs the logical exclusive operation OR on each pair of corresponding bits in the 32-bit counter HC0. and the 32-bit register (D200, D201). When the operation result is not 0, M11 is ON.
6_ Additional remarks If the value in S 1 or S 2 is not valid, the condition of the instruction is not met, SM0 is ON, and the error in SR0 is 16#2003. 6-253