609
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
26.3 FNC202 – $+ / Link Character Strings
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
Explanation of function and operation
1. 16-bit operation ($+ and $+P)
The character string data stored in
and later is linked to the end of the character string data stored in
and later, and the linked data is stored to devices starting from
.
A character string stored in
or
or later indicates the data from the specified device to the first
"00H" in units of byte.
• In linking, “00H” indicating the end of a character string specified in
is ignored, and a character string
specified in
is linked to the last character specified in
.
When a character string is linked, “00H” is automatically added at the end.
- When the number of characters after linking is odd, “00H” is stored in the high-order byte of a device
storing the last character.
- When the number of characters after linking is even, “0000H” is stored in next device of a device storing
the last character.
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 a same device is specified by
,
and
as a device storing character string (error
code: K6706)
• When “00H” is not set within the corresponding device range after a device specified by
or
(error code: K6706)
S
2
S
1
D
S
1
S
2
FNC202
$+
S
1
S
2
b15---b8
S
1
+1
S
1
S
1
+2
46H(F) 48H(H)
2DH(-) 41H(A)
00H
+
b15---b8
+1
+2
35H(5)
31H(1)
39H(9)
33H(3)
00H
S
2
S
2
S
2
41H(A)
b15---b8
+1
+2 35H(5)
31H(1)
39H(9)
33H(3)
00H
41H(A)
46H(F) 48H(H)
2DH(-) 41H(A)
D
D
D
+3
+4
D
D
S
1
+1
S
1
+1
+2
S
2
S
2
S
2
Command
input
“00H” is automatically
stored.
D
b7----b0
b7----b0
b7---b0
S
1
S
2
S
1
S
1
S
2
S
1
S
2
D
D
S
1
S
2
D
S
1
S
2
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......