Delta AH500 Programming Manual page 405

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
1101
SFTL
Device X
Y
M
S
D
n
1
n
2
Symbol:
Explanation:
1.
The states of the n
these groups are shifted to the left. The states of the n
to the devices starting from D to fill the vacancy.
2.
Generally, the pulse instruction SFTLP is used.
3.
The operand n
should be within the range between 1 and 1024. The operand n
1
within the range between 1 and n
Example 1:
1.
When X0.0 is switched from OFF to ON, the states of the sixteen bit devices starting from M0
are divided into groups (four 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~M12
M11~M8
M7~M4
M3~M0
X0.3~X0.0
Operand
S, D, n
P
S
T
C
HC
D
Pulse instruction 16-bit instruction (9 steps) 32-bit instruction
S : Initial device in which the value is shifted
D : Initial device in which the value is shifted
: Length of the data which is shifted
n
1
: Number of bits forming a group
n
2
bit devices starting from D are divided into groups (n
1
.
1
→ Being carried
→ M15~M12
→ M11~M8
→ M7~M4
→ M3~M0
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
Shifting the states of the
, n
1
2
devices to the left
L
SM SR
E
AH500
AH500
bit devices starting from S are shifted
2
Function
PR
K
16# "$"
DF
-
Bit
Bit
Word
Word
bits as a group), and
2
should be
2
6 - 2 3 7

Advertisement

Table of Contents
loading

Table of Contents