7.11 String Processing Instructions
7.11.16 Random selection and replacement in character string data
7-215
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
MIDR, MIDW
MIDR, MIDW
7.11.16
Random selection and replacement in character string data
MIDR, MIDW
MIDR(P)
MIDW(P)
P: Executing condition
:
indicates any of the following
instructions.
MIDR
MIDRP
MIDW
MIDWP
Input argument,
EN:
Executing condition
:Bit
s1:
Character string data
:String
s2:
Positions of first character and number of characters
s2[0]: Position of first character
s2[1]: Number of characters
:Array of ANY16 (0..1)
Output argument,
ENO:
Execution result
:Bit
d:
Character string data from operation result
:String
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
$
Others
Bit
Word
Bit
Word
−
−
−
−
−
−
−
−
−
Universal
UD
High
Performance
Structured ladder
ST
MI
D
R
EN
ENO
s
1
d
s
2
MI
D
R
(EN,
s
1,
s
2, d);
ENO:=
s
1
s
2
d
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......