Delta AH500 Programming Manual page 406

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
Being c arri ed
M1 5 M1 4 M1 3 M1 2
1
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 left.
2.
The shift of the states of the bit devices to the left during a scan is illustrated as follows.
 M15
 M10
 M9~M5
 M4~M0
 X0.4~X0.0
Being c arri ed
M1 5 M1 4 M1 3 M1 2
1
2
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 8
F our bits as a group ar e shifted to the left
M11 M1 0 M9
2
→ Being carried
→ M15
→ M14~M10
→ M9~M5
→ M4~M0
F ive bits as a group ar e shifted to the left.
M11 M1 0
M9
3
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
X 0.3 X 0.2 X 0.1 X 0.0
M8
M7
M6
M5
M4
M3
3
4
X 0.4
X 0.3 X 0.2 X 0.1 X 0.0
M8
M7
M6
M5
M4
M3
4
5
M2
M1
M0
5
M2
M1
M0

Advertisement

Table of Contents
loading

Table of Contents