C h a p t e r 5 A p p l i e d I n s t r u c t i o n s
5 - 5 3
API
Instruction code
Operand
Function
35
SFTL
P
S, D, n
1
, n
2
Moving the states of bit
devices leftwards
Device
X
Y
M
S
K
16#
F
KnM KnS
D
W
T
C
V
Z
S
D
n
1
n
2
Pulse instruction 16-bit instruction (9 steps) 32-bit instruction
–
E xp la nat io n
The states of the
n
1
bit devices starting from
D
are divided into groups
(
n
2
bits as a group), and these groups are moved leftwards. The states of
the
n
2
bit devices starting from
S
are moved to the vacant devices in the
devices starting from
D
.
S
: Initial bit device which is moved;
D
: Initial bit device which is moved;
n
1
: Number of bits which are moved;
n
2
: Number of bits forming a group
Generally, the pulse instruction SFTRP is used.
1
≤
n
2
≤
n
1
≤
1024
E xa mple
When X0.0 is turned 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 moved leftwards.
The states of the bit devices are moved leftwards in the order
~
during a scan cycle.
M15~M12
The states of M3~M0 are carried.
M11~M8
M15~M12
M7~M4
M11~M8
M3~M0
M7~M4
X0.3~X0.0
M3~M0
X0.0
S FT L
X 0.0
M 0
K 16
K 4
F our bits as a group ar e moved leftw ards.
1
2
3
M1 5 M1 4 M1 3 M1 2 M11
M1 0
M9
M8
M7
X 0.3 X 0.2 X 0.1 X 0.0
4
5
M6
M5
M4
M3
M2
M1
M0
T hey are carr ied.
Summary of Contents for AH500
Page 9: ...viii...
Page 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Page 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Page 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Page 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Page 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Page 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Page 436: ...Chapter 8 Electronic Cam 8 17...
Page 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Page 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Page 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Page 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...