Mitsubishi Electric FX3G SERIES Programming Manual page 627

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
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
S
.
2
• When the values in both
is stored in
D
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
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
code: K6706)
• When "00H" is not set within the corresponding device range after the device specified by
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.
X000
b15---b8
b7----b0
D10
62H(b) 61H(a)
D11
64H(d) 63H(c)
D12
00H
65H(e)
S
and
S
start from "00H" (that is, when the number of characters is "0"), "0000H"
1
2
.
S
,
1
FNC202
D10
"ABCD"
$+
+
"ABCD"
"00H" is automatically stored.
26 Character String Control – FNC200 to FNC209
26.3 FNC202 – $+ / Link Character Strings
is smaller than the number of devices
D
S
and
D
as a device for storing a character string (error
2
D100
END
b15---b8
b7----b0
D100
62H(b) 61H(a)
D101
64H(d) 63H(c)
D102
41H(A)
65H(e)
D103
43H(C) 42H(B)
D104
00H
44H(D)
21
or
S
1
22
23
S
or
S
(error
1
2
24
25
26
27
28
29
30
625

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents