EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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
Page #494 background imageLoading...
Page #494 background image
492
STRINS, STRINSP
Program Example
(1) The following program searches from the 5th character from the left of the character string data stored in devices starting
from R0 for the character string data in devices starting from D0, and stores the results at D100 when X0 goes ON.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program searches from the 3rd character from the left of the character string data being stored in devices
starting from D0 for the character string data "AB", and stores the results of the search at D100 when X1C goes ON.
[Ladder Mode] [List Mode]
[Operation]
: Character string to be inserted or head number (character string) of the devices where insert character strings are stored
: Head number (character string) of the devices where insert character strings are stored
n : Insert position (Setting range: 1 n 16383) (BIN 16 bits)
7.11.18 STR INS, STRINSP Insertion of character strin g
7.11.18
STRINS, STRINSP
• QnU(D)(H)CPU, QnUDE(H)CPU: The serial number (first five
digits) is "10102" or later.
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
Other
Bit Word Bit Word K, H $
–– –– –– ––
–– –– –– –– ––
n–– –– ––
Instruction
Device
Step
R1
43
H
(C)49
H
(I)
32
H
(2)33
H
(3)
31
H
(1)32
H
(2)
43
H
(C)49
H
(I)
4D
H
(M)
00
H
R2
R3
R4
"CI2312CIM"
D1
43
H
(C)49
H
(I)
32
H
(2)33
H
(3)
D2 00
H
"CI23"
Searches from
the 5th character
0
Stores "0" because there are no matches.
Not searched since
the search start
position is 5
D0
D100
R0
b15 b8b7
b0 b15 b8b7 b0
Instruction DeviceStep
Searches from the
3rd character
"AB"
D1
31
H
(1)32
H
(2)
33
H
(3)34
H
(4)
41
H
(A)42
H
(B)
35
H
(5)36
H
(6)
41
H
(A)42
H
(B)
00
H
D2
D3
D4
D5
5th character from
the first character
5
D100
D0
b15 b8b7
b0
Basic
High
performance
Process
Redundant
Universal
LCPU
Ver.
D
D
STRINS
STRINSP
S
S
n
n
STRINS
STRINSP
Command
Command
S
D
S
D

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals