629
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
26.10 FNC209 – $MOV / Character String Transfer
21
FN
C
160-FN
C
169
R
eal
Ti
m
e
C
loc
k
C
ont
ro
l
22
FN
C
170
-F
N
C
17
9
E
xt
e
rnal
D
evi
ce
23
FN
C
180
Su
b
st.
I
n
str
. I
n
fo
24
FN
C
181-FN
C
189
O
ther
s
25
FN
C
190-FN
C
19
9
B
loc
k D
a
ta
O
per
at
io
n
26
FN
C
200-FN
C
209
C
har
act
e
r St
ring
C
ont
ro
l
27
F
N
C2
10
-F
NC
21
9
Da
ta
O
per
at
ion 3
28
FN
C
220-FN
C
24
9
Da
ta
Co
m
p
a
ris
o
n
29
FN
C
250-FN
C
269
Da
ta
T
a
b
le
O
per
at
io
n
30
FN
C
27
0-F
N
C
274
Ex
-D
ev
ic
e
In
ve
rte
r C
o
mm
s
Even if the device range “
to
+n” storing the transfer source character string data overlaps the
device range “
to
+n/2” storing the transferred character string data, transfer is executed.
For example, when a character string stored in D10 to D13 is transferred to D11 to D14, the transfer is
executed as shown below:
Caution
When “00H” is stored in the low-order byte of
+n, “00H” is stored to both the high-order byte and low-
order byte of
+n.
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is
stored in D8067.
• When “00H” does not exist within the range from the device specified by
to the last device
(error code: K6706)
• When the specified character string cannot be stored in devices from the device specified by
to the
last device (error code: K6706)
S
S
D
D
FNC209
$MOV
D10
D11
Command
input
b15
b8 b7
b0
D10
32H(2)
0000H
D11
D12
D13
D14
34H(4)
36H(6)
31H(1)
33H(3)
35H(5)
b15
b8 b7
b0
D10
32H(2)
D11
D12
D13
D14
34H(4)
36H(6)
31H(1)
33H(3)
35H(5)
32H(2)
31H(1)
It is same as the
character string
before transfer.
0000H
...
S
D
FNC209
$MOV
S
D
Command
input
b15
b8 b7
b0
42H(B)
44H(D)
45H(E)
41H(A)
43H(C)
00H
The high-order byte is
not transferred.
b15
b8 b7
b0
42H(B)
44H(D)
00H
41H(A)
43H(C)
00H
“00H” is automatically
stored in the high-order
byte.
S
+1
S
+2
S
D
+2
D
+1
D
S
D