EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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 #608 background imageLoading...
Page #608 background image
7-234
MIDR(P),MIDW(P)
7.11.16 Random selection from and replacement in character strings
(MIDR(P),MIDW(P))
MIDR(P),MIDW(P)
Function
MIDR
(1) Extracts the character string data of +1 characters, starting from the position designated
by , counted from the left end of the character string data designated by , and stores
the extracted data into the area starting from the device designated by .
: Character string or head number of the devices where the character string is stored (character string)
: Head number of the devices where a character string data obtained as the result of operation will be stored
(character string)
: Head number of the devices where the location of the first character and the number of characters will be
stored (BIN 16 bits)
• : Position of first character
• +1: Number of characters
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
$
Other
Bit Word Bit Word
–– –– ––
–– –– –– ––
–– ––
Process
High
performance
Redundant
Universal
Basic
LCPU
Command
Command
P
S1
D
S2
S1
D
S2
MIDR,MIDW
MIDRP,MIDWP
indicates an instruction symbol MIDR/MIDW.
S1
D
S2
S2
S2
S1
D
S2
S2
S2
S1
D
+1
41
H
(A)42
H
(B)
43
H
(C)44
H
(D)
+1
45
H
(E)46
H
(F)
47
H
(G)48
H
(H)
45
H
(E)46
H
(F)
47
H
(G)48
H
(H)
49
H
(I)4A
H
(J)
4B
H
(K)00
H
+2
+3
+4
+5
+2
49
H
(I)
00
H
Position of the 5th
character
"ABCDEFGHIJK"
"EFGHI"
ASCII code for the 5th character +1
5
5
+1
S
1
S
1
S
1
S
1
S
1
S
1
S2
D
D
D
b15 b8b7 b0
b15 b8b7 b0
S2
S2
S2

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals