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 5
API
Instruction code
Operand
Function
37
WSFL
P
S, D, n
1
, n
2
Moving the values in
word 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
S
: Initial word device which is moved;
D
: Initial word device which is
moved;
n
1
: Number of values which are moved;
n
2
: Number of values
forming a group
The values in the
n
1
word devices starting from
D
are divided into
groups (
n
2
values as a group), and these groups are moved leftwards.
The values in the
n
2
word devices starting from
S
are moved to the
vacant word devices in the word devices starting from
D
.
Generally, the pulse instruction WSFLP is used.
If KnM/KnS is used, it is suggested that M device numbers/S device
numbers should start from a number which is a multiple of 16 in the
decimal numeral system, e.g. K1M0 and K4S16 (decimal numeral
system).
1
≤
n2
≤
n1
≤
512
E xa mple
When X0.0 is turned from OFF to ON, the values in the sixteen word
devices starting from D20 are divided into groups (four values as a
group), and these groups are moved leftwards.
The values in the word devices are moved leftwards in the order
~
during a scan cycle.
D35~D32
The values in D35~D32 are carried.
D31~D28
D35~D32
D27~D24
D31~D28
D23~D20
D27~D24
D13~D10
D23~D20
X0.0
WSFLP
D10
K16
D20
K4
T hey are carr ied.
F our values as a group ar e moved leftw ards.
D1 3
D2 0
1
2
3
4
5
D1 2
D11
D1 0
D2 1
D2 2
D2 3
D2 4
D2 5
D2 6
D2 7
D2 8
D2 9
D3 0
D3 1
D3 2
D3 3
D3 4
D3 5
Содержание AH500
Страница 9: ...viii...
Страница 52: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Panasonic CN5 series servo drive 2 31...
Страница 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Страница 54: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Mitsubishi MJR2 series servo drive 2 33...
Страница 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Страница 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Страница 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Страница 376: ...Chapter 6 Data Transmission Table of Contents 6 1 Functions 6 2 6 2 Parameters 6 2 6 3 Usage 6 5 6 1...
Страница 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Страница 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Страница 436: ...Chapter 8 Electronic Cam 8 17...
Страница 482: ...Chapter 10 High speed Counters and High speed Timers 3 The cyclic mode is used to measure a frequency 10 7...
Страница 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Страница 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Страница 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Страница 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...
Страница 547: ...AH500 Motion Control Module Manual A 4 MEMO...