Delta AH500 — 6.12.2 Explanation of Shift Instructions

Chapter 6 Applied Instructions Four registers as a group are shifted to the right. 5 Being carried 3 4 1 2 Example 2: 1. When X0.0 is switched from OFF to ON, the data in the sixteen word devices starting from D20 is divided into groups (five words as a group), and these groups are shifted to the right. 2. The shift of the data in the word devices to the right during a scan is illustrated as follows.  D20 → Being carried  D25 → D20  D30~D26 → D25~D21  D35~D31 → D30~D26  D14~D10 → D35~D31 Five registers as a group are shifter to the right. 5 Being carried 3 4 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 512, 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-241 D13 D12 D11 D10 D35 D34 D33 D32 D31 D30 D29 D28 D27 D26 D25 D24 D23 D2 2 D21 D2 D14 D13 D12 D11 D10 D35 D34 D33 D32 D31 D30 D29 D28 D27 D26 D25 D24 D23 D22 D21 D20