Delta AS Series Programming Manual page 607

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

A S S er i es Pr og r am m ing M an u a l
Example 1
1.
Supposedly the value in D20 is 10, when M0 switches from OFF to ON, the instruction writes the data in D21 into
D0, shifts the data in D29–D22 one place to the right, leaves the data in D29 unchanged, and the decrements the
value in D20 by one.
2.
The data in the word device is shifted and read as shown below.
The data in D21 is read and shifted to D0.
The data in D29-D22 is shifted one place to the right.
The value in D20 decreases by one.
D0
_6
Example 2
1.
Supposedly the value in D20/D21 is 5, when M0 switches from OFF to ON, the instruction writes the data in
D22/D23 into D0/D1, shifts the 32-bit data in D29–D22 one place to the right, leaves the data in D28/D29
unchanged, and the decrements the value in D20/D21 by one.
2.
The data in the word device is shifted and read as shown below.
The data in D22/D23 is read and shifted to D0/D1.
The 32-bit data in D29-D22 is shifted one place to the right.
The value in D20 decreases by one.
6 - 3 2 8
D29
D28
D27
D26
T he data is read.
n=10
D25
D24
D23
D22
D20
D21
Pointer

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents