Delta AH500 — 6.12.2 Explanation of Shift Instructions

Chapter 6 Applied Instructions Four bits as a group are shifted to the right. 5 3 4 1 2 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 right. 2. The shift of the states of the bit devices to the right during a scan is illustrated as follows.  M0 → Being carried  M5 → M0  M10~M6 → M5~M1  M15~M11 → M10~M6  X0.4~X0.0 → M15~M11 Five bits as a group is shifted to the right. 5 4 3 1 2 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-237 X0.2 X0.1 X0.0 M14 M13 M12 M11 M10 M9 M8 M7 M6 M5 M4 M3 M2 M1 M0 X0.3 X0.2 X 0.1 X0.0 M14 M13 M 12 M11 M10 M9 M 8 M7 M6 M5 M 4 M3 M2 M1 M0