Delta Electronics AH500 Manual page 169

Motion control module
Hide thumbs Also See for AH500:
Table of Contents

Advertisement

A H 5 00 M o ti on C on tr ol M od ul e Ma nua l
API
Instruction code
36
WSFR
Device
X
Y
M
S
D
n
1
n
2
E xp la nat io n
E xa mple
5
Operand
P
S, D, n
S
K
16#
F
Pulse instruction 16-bit instruction (9 steps) 32-bit instruction
S: Initial word device which is moved; D: Initial word device which is
moved; n
: Number of values which are moved; n
1
forming a group
The values in the n
word devices starting from D are divided into groups
1
(n
values as a group), and these groups are moved rightwards. The
2
values in the n
word devices starting from S are moved to the vacant
2
word devices in the word devices starting from D.
Generally, the pulse instruction WSFRP 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
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 rightwards.
The values in the word devices are moved rightwards in the order ~
during a scan cycle.
 D23~D20
The values in D23~D20 are carried.
 D27~D24
D23~D20
 D31~D28
D27~D24
 D35~D32
D31~D28
 D13~D10
D35~D32
X0.0
WSFRP
F our val ues as a group are mov ed rightwards.
D1 3
D1 2 D11
D1 0
D3 5 D3 4 D3 3 D3 2 D3 1 D3 0 D2 9
4
, n
1
2
KnM KnS
D
W
D10
D20
K16
D2 8 D2 7
D2 6 D2 5 D2 4 D2 3 D2 2 D2 1 D2 0
3
2
Function
Moving the values in
word devices
rightwards
T
C
V
Z
: Number of values
2
K4
T hey are carr ied.
1
5 - 5 4

Advertisement

Table of Contents
loading

Table of Contents