Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
639
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
26.10 FNC209 – $MOV / Character String Transfer
21
FNC160-FNC169
Real Time Clock
Control
22
FNC170-FNC179
External Device
23
FNC180
Alternate
Instructions
24
FNC181-FNC189
Others
25
FNC190-FNC199
Block Data
Operation
26
FNC200-FNC209
Character String
Control
27
FNC210-FNC219
Data
Operation 3
28
FNC220-FNC249
Data
Comparison
29
FNC250-FNC269
Data Table
Operation
30
FNC270-FNC274
Ex-Device
Inverter Comms
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 in the range specified from 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)
Program example
In the program example shown below, character string data stored in D10 to D12 is transferred to D20 through D22.
b15 b8 b7 b0
D10
32H(2)
00H
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
+1S
+2S
D
+2D
+1D
S
D
X000
FNC209
$MOV
D10 D20
END
b15 b8 b7 b0
D10
4DH(M)
D11
D12
45H(E)
2AH(*)
b15 b8 b7 b0
D20
D21
D22
45H(E)
4DH(M)
45H(E)
0000H
2AH(*)
45H(E)
00H