AH500 Programming Manual
6-108
8. Take the 32-bit instruction for example.
.
.
.
......
0
1 0
1
1
0
.
.
.
.
.
.
.
.
.
b31
b0
S
S+1
S+2
S+29
S+30
S+31
b31
b0
D
N
.
.
.
1
1
1
0
0
0
Example:
When M0 is ON, the values of the 15
th
bits in D0~D14 are stored in b0~b15 in D100.
Additional remark:
1. If the device S+15 used in the 16-bit instruction exceeds the range, the instruction is not
executed, SM0 is ON, and the error code in SR0 is 16#2003.
2. If the device S+31 used in the 32-bit instruction exceeds the range, the instruction is not
executed, SM0 is ON, and the error code in SR0 is 16#2003.
3. If n exceeds the range, the instruction is not executed, SM0 is ON, and the error code in SR0
is 16#200B.