Delta AH500 — 6.12.2 Explanation of Shift Instructions

Chapter 6 Applied Instructions Four bits as a group are shifted to the left X0.3 5 Being carried 1 2 3 4 Example 2: 1. When X0.0 is switched from OFF to ON, the states of the sixteen bit devices starting from M0 are divided into groups (five bits as a group), and these groups are shifted to the left. 2. The shift of the states of the bit devices to the left during a scan is illustrated as follows.  M15 → Being carried  M10 → M15  M9~M5 → M14~M10  M4~M0 → M9~M5  X0.4~X0.0 → M4~M0 Five bits as a group are shifted to the left. 5 Being carried M15 1 2 3 4 Additional remark: 1.

If S + n 2 -1 or D + n 1 -1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 2. If n 1 is less than 1, or if n 1 is larger than 1024, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B. 3. If n 2 is less than 1, or if n 2 is larger than n 1 , the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B. 6-239 X0.2 X0.1 X0.0 5 M14 M13 M12 M11 M10 M9 M8 M7 M6 M5 M4 M3 M2 M1 M0 X0.4 X0.3 X0.2 X0.1 X0.0 5 M14 M13 M12 M11 M10 M9 M8 M7 M6 M 5 M4 M3 M2 M1 M0