669
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
26.8 FNC207 – MIDW / Random Replacement of Character Strings
21
FNC160-FNC169
Real Time Clock
Control
22
FNC170-FNC179
External Device
23
FNC180
Alternate
Instructions
24
FNC181-FNC189
Others
25
FNC190-FNC199
Block Data
Operation
26
FNC200-FNC209
Character String
Control
27
FNC210-FNC219
Data
Operation 3
28
FNC220-FNC249
Data
Comparison
29
FNC250-FNC269
Data Table
Operation
30
FNC270-FNC274
Ex-Device
Inverter Comms
Program example
In the program example shown below, 4 characters are extracted from the character string data stored in D0
and later, and stored to the 3rd character (from the left end) and later for the character string data stored in
D100 and later when X010 turns ON.
59H(Y) 43H(C)
31H(1) 5AH(Z)
31H(1) 32H(2)
45H(E) 46H(F)
31H(1) 32H(2)
45H(E) 46H(F)
X010
D100
FNC207
MIDWP
D0
END
R0
D1
D2
D3
b15---------------b8b7-----------------b0
“21FE03”
D100
D101
b15---------------b8b7-----------------b0
33H(3) 30H(0)
53H(S) 55H(U)
“USCYZ10B”
R1
4
3
D102
D103
42H(B) 30H(0)
0000H
b15---------------b8b7-----------------b0
53H(S) 55H(U)
“US21FE0B”
0000H
42H(B) 30H(0)
D0
R0
D104
D100
D101
D102
D103
D104
The 1st to 4th characters are stored.
1st
character
1st
character
3rd
character
3rd
character
After execution
Before execution
4th
character
00H