Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
623
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
26.3 FNC202 – $+ / Link Character Strings
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
Cautions
When directly specifying a character string, up to 32 characters can be specified (input).
However, this limitation in the number of characters is not applied when a word device is specified in or
.
When the values in both and start from "00H" (that is, when the number of characters is “0”), "0000H"
is stored in .
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 the number of devices after a device number specified by is smaller than the number of devices
required to store all linked character strings (that is, when “00H” cannot be stored after all character strings and the
last character) (error code: K6706)
When the same device is specified in , and as a device for storing a character string (error
code: K6706)
When “00H” is not set within the corresponding device range after the device specified by or (error
code: K6706)
Program example
In the program example shown below, a character string stored in D10 to D12 (abcde) is linked to the character string
“ABCD”, and the result is stored to D100 and later when X000 turns ON.
S
1
S
2
S
1
S
2
D
D
S
1
S
2
D
S
1
S
2
X000
“ABCD” D100
FNC202
$+
END
D10
b15---b8
D11
D12
62H(b) 61H(a)
64H(d) 63H(c)
00H
+
b15---b8
D101
D102
41H(A)
43H(C) 42H(B)
00H
44H(D)
D103
D104
D10
65H(e)
“ABCD”
62H(b) 61H(a)
64H(d) 63H(c)
65H(e)
D100
“00H” is automatically stored.
b7----b0 b7----b0