Delta AH500 Programming Manual page 404

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
X 0.3 X 0.2 X 0.1 X 0.0
5
M1 5 M1 4 M1 3 M1 2 M11 M1 0 M9
Example 2:
1.
When X0.0 is switched from OFF to ON, the states of the sixteen bit devices starting from M0
are divided into groups (five bits as a group), and these groups are shifted to the right.
2.
The shift of the states of the bit devices to the right during a scan is illustrated as follows.
 M0
 M5
 M10~M6
 M15~M11
 X0.4~X0.0
X 0.3 X 0.2 X 0.1 X 0.0
X 0.4
5
M1 5 M1 4 M1 3 M1 2 M11 M1 0 M9
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 3 6
F our bits as a group ar e shifted to the r ight.
M8
4
→ Being carried
→ M0
→ M5~M1
→ M10~M6
→ M15~M11
F ive bits as a group is s hifted to the right.
M8
4
is larger than 1024, 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
M7
M6
M5
M4
M3
3
2
M7
M6
M5
M4
M3
3
M2
M1
M0
1
M2
M1
M0
1
2

Advertisement

Table of Contents
loading

Table of Contents