Mitsubishi Electronics FX3G User Manual

Page of 964
611
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
21
FNC160
-F
NC1
69
R
eal
 T
ime C
lock
 
C
ontrol
22
FNC17
0-F
NC
179
E
xternal D
evice
23
FNC
180
Alternate 
Instructions
24
FN
C181-
FNC18
9
O
thers
25
FNC190
-F
NC1
99
Bl
oc
k D
ata
 
Op
er
ation
26
FNC20
0-F
NC209
C
har
ac
te
r S
trin
Con
tro
l
27
FNC2
10-
FNC21
9
Dat
Operati
on 3
28
FNC220
-F
NC2
49
Da
ta 
C
omp
ari
son
29
FNC25
0-F
N
C
269
D
ata T
abl
Operation
30
FNC2
70-
FNC276
Ex
-Dev
ice
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