EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Replacing the Specified String Data

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 APPLICATION INSTRUCTIONS
7.8 String Processing Instructions
695
7
Replacing the specified string data
MIDW(P)
These instructions replace the data at the specified location in the string data with the specified string.
Execution condition
Setting data
Description, range, data type
Applicable devices
Ladder ST
ENO:=MIDW(EN,s1,s2,d);
ENO:=MIDWP(EN,s1,s2,d);
FBD/LD
Instruction Execution condition
MIDW
MIDWP
Operand Description Range Data type Data type (label)
(s1) Character string or the start device containing the
character string
String ANYSTRING_SINGLE
(d) Start device for storing the character string data of the
operation result
String ANYSTRING_SINGLE
(s2) Start device for storing the location of the start character
and the number of characters
(s2): Location of start character, (s2)+1: Number of
characters
16-bit signed binary ANY16_ARRAY
(Number of elements: 2)
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s1) 
(d)  
(s2) 
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s1) (d) (s2)
EN ENO
ds1
s2

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals