26 Applied Instructions (Character String Control)
26.10 $MOV / Character String Transfer
652
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Error
An operation error is caused in the following cases. The error flag M8067 turns ON, and the error code is
stored in D8067.
1) When "00H" does not exist in the range specified from device specified by to the last device
(Error code: K6706)
2) When the specified character string cannot be stored in devices from the device specified by to the
last device. (Error code: K6706)
Program examples
In the program example shown below, character string data stored in D10 to D12 is transferred to D20
through D22 when X000 is set to ON.
[Structured ladder/FBD]
X000
D20D10
$MOV
EN ENO
d
s
D10
4DH(M)
45H(E)
2AH(*)
D20
45H(E)
4DH(M)
45H(E)
2AH(*)
45H(E)
D11
D12
D21
D22
b15 b8 b7 b0
b15 b8 b7 b0
00H 00H 00H