FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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
200
STR
201
VAL
202
$+
203
LEN
204
RIGHT
205
LEFT
206
MIDR
207
MIDW
208
INSTR
209
$MOV
26 Character String Control – FNC200 to FNC209
Symbol
BIN to Character String Conversion
STR
S1
S2 D
Character String to BIN Conversion
VAL
S
D1 D2
Link Character Strings
$+
S1
S2
D
Character String Length Detection
LEN
S
D
Extracting Character String Data from the
RIGHT
S
D
n
Right
Extracting Character String Data from the
LEFT
S
D
n
Left
Random Selection of Character Strings
MIDR
S1
D
S2
Random Replacement of Character Strings
MIDW
S1
D
S2
Character string search
INSTR
S1
S2
D
n
Character String Transfer
$MOV
S
D
Function
Reference
Section 26.1
Section 26.2
Section 26.3
Section 26.4
Section 26.5
Section 26.6
Section 26.7
Section 26.8
Section 26.9
Section
26.10
21
22
23
24
25
26
27
28
29
30
613