5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-32
API
Applicable model
20PM
16
FMOV
P
P
Transferring a value to several devices
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
S
* * * * * * * *
D
* * * * * *
n
* *
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 (7 steps)
FMOV
Continuity
instruction
FMOVP
Pulse
instruction
32-bit instruction
DFMOV
Continuity
instruction
DFMOVP Pulse
instruction
Flag: None
Explanation
The value in S
is transferred to the n registers starting from D. If n is not in the
range available, a value will only be transferred to registers available.
S: Source; D: Destination; n: Length
n is in the range of 1 to 512.
Example
When X20 is ON, K10 is transferred to the 5 registers starting from D10
(D10~D14).
X20
D10 K5
FMOV
K10
K10
K10
K10
K10
K10
K10
D10
D11
D12
D13
D14
n=5