Delta AS Series Programming Manual page 628

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

D6
D5
D4
D3
30
9578
2235
754
After the shift
D6
D5
D4
D3
0
30
9578
2235
Being cleared to 0
Example 2
When M0 is ON, When M0 switches from OFF to ON, the instruction shifts the 7 pieces of 32-bit data in D0–D13 one
place to the right, and clears the data in D12 to 0.
D12
D10
D 8
90000
80000
70000
After the shift
D12
D10
D 8
0
90000
80000
Additional remarks
1.
If D+n-1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in SR0 is
16#2003.
2.
For 16-bit instruction, the value in the operand n must be between 1–512. For 32-bit instruction, the value in the
operand n must be between 1–256. If not, the instruction is not executed, SM0 is ON, and the error code in SR0 is
16#200B.
D2
D1
D0
28
423
11
D2
D1
D0
754
28
423
D6
D4
D2
60000
50000
30000
D6
D4
D2
70000
60000
50000
C ha pt er 6 A p pl i e d In s tr uc t io ns
D0
40000
D0
30000
6_
6 - 3 4 9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents