Mitsubishi Electric FX3G SERIES Programming Manual page 643

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
b15
D10
32H(2)
D11
34H(4)
36H(6)
D12
D13
D14
Caution
When "00H" is stored in the low-order byte of
of
+n.
D
Command
input
FNC209
$MOV
b15
42H(B)
S
44H(D)
S
+1
45H(E)
S
+2
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 in the range specified from device
• When the specified character string cannot be stored in devices from the device specified by
device (error code: K6706)
Program example
In the program example shown below, character string data stored in D10 to D12 is transferred to D20 through D22.
X000
FNC209
$MOV
b15
4DH(M)
D10
45H(E)
D11
D12
b8 b7
b0
31H(1)
33H(3)
35H(5)
00H
S
S
D
b8 b7
b0
41H(A)
43H(C)
00H
The high-order byte is
not transferred.
D10
D20
END
b8 b7
b0
2AH(*)
45H(E)
00H
26 Character String Control – FNC200 to FNC209
26.10 FNC209 – $MOV / Character String Transfer
b15
b8 b7
D10
32H(2)
31H(1)
D11
32H(2)
31H(1)
34H(4)
33H(3)
D12
36H(6)
35H(5)
D13
0000H
D14
+n, "00H" is stored to both the high-order byte and low-order byte
b15
42H(B)
D
44H(D)
D
+1
00H
D
+2
"00H" is automatically
stored in the high-order
byte.
S
(error code: K6706)
b15
b8 b7
4DH(M)
D20
45H(E)
D21
D22
0000H
b0
...
It is the same as the
character string
before transfer.
b8 b7
b0
41H(A)
43H(C)
00H
D
to the last
b0
2AH(*)
45H(E)
21
22
23
24
25
26
27
28
29
30
641

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents