Delta AH500 Programming Manual page 408

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
D1 3
D1 2 D11
D1 0
5
D3 5 D3 4 D3 3 D3 2 D3 1 D3 0
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
 D25
 D30~D26
 D35~D31
 D14~D10
D1 4
D1 3 D1 2
D11
5
D3 5 D3 4 D3 3 D3 2 D3 1 D3 0
Additional remark:
1.
If S+n
-1 or D+n
-1 exceeds the device range, the instruction is not executed, SM0 is ON, and
2
1
the error code in SR0 is 16#2003.
2.
If n
is less than 1, or if n
1
the error code in SR0 is 16#200B.
3.
If n
is less than 1, or if n
2
error code in SR0 is 16#200B.
6 - 2 4 0
F our r egi ster s as a group are shifted to the r ight.
D2 9
D2 8 D2 7
4
3
→ Being carried
→ D20
→ D25~D21
→ D30~D26
→ D35~D31
F ive r egi sters as a group ar e shifter to the right.
D1 0
D2 9
D2 8 D2 7
4
is larger than 512, the instruction is not executed, SM0 is ON, and
1
is larger than n
, the instruction is not executed, SM0 is ON, and the
2
1
D2 6 D2 5 D2 4 D2 3 D2 2 D2 1 D2 0
2
D2 6 D2 5 D2 4 D2 3 D2 2 D2 1 D2 0
3
2
Being c arri ed
1
Being c arri ed
1

Advertisement

Table of Contents
loading

Table of Contents