259
$MOV, $MOVP
1
2
3
4
6
7
8
6.4
D
ata T
ransfer I
nstr
uctions
6.4.4
$MOV
, $MOVP
Program Example
(1) The following program stores the 64-bit floating decimal point type real number at D10 to D13 at D0 to D3.
[Ladder Mode]
[List Mode]
[Operation]
(2) The following program stores the real number -1.23 at D10 to D13 when X8 is ON.
[Ladder Mode]
[List Mode]
[Operation]
: Character string to be transferred (maximum string length: 32 characters) or head number of the devices where the character string to be transferred is
stored (character string)
:
Head number of the devices where the transferred character string will be stored (character string)
Function
(1) Transfers the character string data designated by to the devices from the device designated by and onward.
The character string data enclosed in " (double quotes) or devices from the number specified by to the device number
storing "00
H
" are transferred all at once.
$MOV, $MOVP
Character string transfer
6.4.4
$MOV, $MOVP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
$
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
––
Step
Instruction
Device
D11
36.475
D10
D13 D12
D1
36.475
D0
D3
D2
Step
Instruction
Device
D11 D10
D13 D12
Basic
Process
High
performance
Redundant Universal
LCPU
Command
Command
$MOV
$MOVP
S
D
S
D
$MOV
$MOVP
S
D
S
D
S
D
S
Indicates the end of character string.
2nd character
4th character
6th character
1st character
3rd character
5th character
nth character
+ 1
+ 2
00
H
b15
b8 b7
b0
+ 1
+ 2
00
H
b15
b8 b7
b0
S
D
S
S
D
D
2nd character
4th character
6th character
1st character
3rd character
5th character
nth character