622
FX
3U
/FX
3UC
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
26.8
FNC207 – MIDW / Random Replacement of Character Strings
Outline
This instruction replaces the characters in arbitrary positions inside a designeted character string with a
specified character string.
→
For handling of character strings, refer to Section 5.3.
1. Instruction format
2. Set data
3. Applicable devices
Operand Type
Description
Data Type
Head device number storing a character string used in overwriting
Character string
Head device number storing overwritten character string
Head device number specifying the head position and number of characters to be
overwritten
: Head character position to be overwritten
+1 : Number of characters to be overwritten
16-bit binary
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS
T
C
D
R U
\G
V
Z Modify K
H
E
"
"
P
3
3
3
3
3 3 3 3
3
3
3
3
3
3 3 3 3
3
3
3
3
3
3
3 3 3 3
3
3
P
FNC 207
MIDW
Mnemonic
Operation Condition
16-bit Instruction
7 steps
MIDW
MIDWP
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
⎯
⎯
S
1
D
S
2
S
2
S
2
S
1
D
S
2