AH Motion Controller – Standard Instructions Manual Four registers as a group are shifted to the right. 5 Being carried 3 4 1 2 Example 2: _3 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+n2-1 or D+n1-1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 2. If n1 is less than 1, or if n1 is larger than 512, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B. 3. If n2 is less than 1, or if n2 is larger than n1, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B. 3-288 D13 D12 D11 D10 D35 D34 D33 D32 D31 D30 D29 D28 D27 D26 D25 D24 D23 D22 D21 D2 D14 D13 D12 D11 D10 D35 D34 D33 D32 D31 D30 D29 D28 D27 D26 D25 D24 D23 D22 D21 D20