Inserting Character String - Mitsubishi MELSEC iQ-F FX5 series Programming Manual

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

Inserting character string

STRINS(P)
These instructions insert the character string specified by (s1) at the (s2)th character from the start of the character string
specified by (d).
Ladder diagram
(s1)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Character string to be inserted or head device number storing the
character string to be inserted
(d)
Head device number storing a character string to which another
character string is inserted
(s2)
Insertion position (in units of bytes)
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB
(s1)
(d)
(s2)
*1 T, ST, C cannot be used.
7 APPLICATION INSTRUCTION
400
7.6 Character string operation instruction
(d)
(s2)
Word
U\G T, ST,
T, ST, C, D,
C, LC
W, SD, SW, R
*1
*1
Structured text
ENO:=STRINS(EN,s1,s2,d);
ENO:=STRINSP(EN,s1,s2,d);
Range
1 to 16383
Double word Indirect
U\G
Z
LC
LZ
Data type
Data type (label)
Character string
Character string
Character string
Character string
16-bit unsigned binary
ANY16
Constant
specification
K, H
E
Others
$

Advertisement

Table of Contents
loading

Table of Contents