Insertion Of Character String (Strins(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

STRINS(P)
7.11.18

Insertion of character string (STRINS(P))

STRINS(P)
STRINS
STRINSP
Setting
Data
S
D
n
Function
(1) This instruction inserts the character string data specified by
position) from the initial character string data stored in the devices specified by
Insert position: n
b15
S
+1
S
+2
S
b15
D
D
+1
D
+2
D
+3
D
+4
D
+5
D
+6
D
+7
(2) This instruction stores the NULL code (00
last device where the character string data are stored, if the character string (
even after the insertion.
(3) This instruction stores the NULL code (00
character string data are stored, if the character string (
insertion.
(4) This instruction links the device, where the character string data are stored, specified by
with the last device specified by
plus one.
7-240
Command
Command
: Character string to be inserted or head number (character string) of the devices where insert character
S
strings are stored
: Head number (character string) of the devices where insert character strings are stored
D
n
: Insert position (Setting range: 1
Internal Devices
R, ZR
Bit
Word
––
––
––
3
b8b7
b0
Shifts the third character
and up by the number of
31
(1)
30
(0)
H
H
characters specified by
33
(3)
32
(2)
H
H
S
to the left and inserts
00
34
(4)
H
H
the character string data
specified by
b8b7
b0
42
(B)
41
(A)
H
H
Third character insertion
44
(D)
43
(C)
H
H
position
46
(F)
45
(E)
H
H
48
(H)
47
(G)
H
H
00
H
62
(b)
61
(a)
H
H
64
(d)
63
(c)
H
H
66
(f)
65
(e)
H
H
D
High
Basic
performance
QnU(D)(H)CPU: The serial number (first five digits) is "10102" or later.
QnUDE(H)CPU: The serial number (first five digits) is "10102" or later.
STRINS
STRINSP
n
16383) (BIN 16 bits)
J
\
U
\G
Bit
Word
––
––
b15
D
42
(B)
H
D
+1
31
(1)
H
S
.
D
+2
33
(3)
H
D
+3
43
(C)
H
D
+4
45
(E)
H
D
+5
47
(G)
H
D
+6
00
H
D
+7
66
(f)
H
The character data stored after
D
+4 will be written over in
accordance with the number of
characters to be inserted.
) into the device (1 word) that positions after the
H
) into the last device (high 8 bits) where the
H
+
S
D
, if n is specified by the number of devices specified by
Ver.
Process
Redundant
Universal
n
D
S
n
S
D
Constants
Zn
Other
K, H
$
––
––
––
––
––
––
––
to the nth device (insert
S
.
D
b8b7
b0
41
(A)
H
(
S
)
30
(0)
H
(
+1)
S
32
(2)
H
(
S
+2)
34
(4)
H
44
(D)
H
46
(F)
H
48
(H)
H
65
(e)
H
+
) value is
S
D
) value is odd after the
LCPU
S
D

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents