Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-235
MIDR(P),MIDW(P)
1
2
3
4
6
6
7
8
7.11 Character string processing instructions
7.11.16
Random selection from and replacement in character strings (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
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