597
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
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
26. Character String Control – FNC200 to FNC209
FNC200 to FNC209 provide instructions for controlling character strings such as linking character string data,
replacing some characters and extracting character string data.
FNC No.
Mnemonic
Symbol
Function
Reference
200
STR
BIN to Character String Conversion
Section
26.1
201
VAL
Character String to BIN Conversion
Section
26.2
202
$+
Link Character Strings
Section
26.3
203
LEN
Character String Length Detection
Section
26.4
204
RIGHT
Extracting Character String Data from
the Right
Section
26.5
205
LEFT
Extracting Character String Data from
the Left
Section
26.6
206
MIDR
Random Selection of Character Strings
Section
26.7
207
MIDW
Random Replacement of Character
Strings
Section
26.8
208
INSTR
Character string search
Section
26.9
209
$MOV
Character String Transfer
Section
26.10
STR
S2 D
S1
VAL
D1 D2
S
D
$+
S2
S1
D
S
LEN
n
RIGHT
D
S
n
LEFT
D
S
S2
MIDR
D
S1
S2
MIDW
D
S1
INSTR
S2
n
S1
D
D
S
$MOV