5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-97
API
Applicable model
20PM
112
D
D
MOVR
P
P
Transferring a floating-point value
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
S
D
* * * * * *
Note: All devices can not be modified by V devices and Z devices.
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)
- - - -
32-bit instruction
DMOVR
Continuity
instruction
DMOVR P
Pulse
instruction
Flag: None
Explanation
The operand S can be
a floating-point value.
S: Source; D: Destination
When the instruction is executed, the value in S is transferred to D. When the
instruction is not executed, the value in D is unchanged.
Example
When X0 is OFF, the value in (D11, D10) is unchanged. When X0 is ON, the
value F1.2 is transferred to the data register (D11, D10).
X0
DMOVR F1.2
D10