Inserting String Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Inserting string data

STRINS(P)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions insert the specified string data into the specified position of the string data.
Ladder
(s1)
FBD/LD
EN
ENO
s1
d
s2
■Execution condition
Instruction
STRINS
STRINSP
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Character string to be inserted or the start device
containing the character string to be inserted
(d)
Start device for storing the insertion result character string
(s2)
Insertion position (bytes)
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s1)
(d)
(s2)
7 APPLICATION INSTRUCTIONS
700
7.8 String Processing Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
(s2)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=STRINS(EN,s1,s2,d);
ENO:=STRINSP(EN,s1,s2,d);
Range
1 to 16383
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
String
ANYSTRING_SINGLE
String
ANYSTRING_SINGLE
16-bit unsigned binary
ANY16
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents