EasyManua.ls Logo

Delta DVP-20PM

Delta DVP-20PM
580 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-56
API
Applicable model
20PM
37
WSFL
P
P
Moving the values in word devices
leftwards
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
S
D
n1
n2
Note: The instruction supports V devices and Z devices. (If the 16-bit
instruction is used, Z devices can not be used. If the 32-bit
instruction is used, V devices can not be used.)
Please refer to specifications for more information about device
ranges.
If KnX/KnY/KnM/KnS is used, it is suggested that X/devices/Y
devices/M device numbers/S device numbers should start from a
number which is a multiple of 16 in the octal numeral system or in the
decimal numeral system, e.g. K1X0 (octal numeral system), K4SY20
(octal numeral system), K1M0 (decimal numeral system), and K4S16
(decimal numeral system).
16-bit instruction (9 steps)
WSFL
Continuity
instruction
WSFLP
Pulse
instruction
32-bit instruction
Flag: None
Explanation
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 the operand S is KnX/KnY/KnM/KnS, the operand D can be a counter, timer,
or a data register. If the operand D is KnY/KnM/KnS, the operand S can be a
counter, timer, or a data register.
If the operand S is KnX/KnY/KnM/KnS, and the operand D is KnY/KnM/KnS,
Kn in KnX/KnY/KnM/KnS which is S and Kn in KnY/KnM/KnS must be the
same.
1n
2
n
1
512
Example
When X0 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
WSFLP D10 K16D20 K4
They are carried.
Four values as a group are moved leftwards
.
D13
D20
1 2 3 4
5
D12 D11 D10
D21D22D23D24
D25D26D27D28D29
D30D31D32D33D34
D35

Table of Contents

Other manuals for Delta DVP-20PM

Related product manuals