14.23 MIDR (Data Read from a Given Position in the String)
14.23 MIDR (Data Read from a Given Position in the String)
■
Ladder diagram
■
List of operands
Operand
Description
S1
Starting device address of the source data
S2
Starting position (available data range: 0 to 4095)
S3
Number of characters to be taken out (available data range: 1 to 4096)
D
Starting device address to store the result that is taken out
■
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
●
●
S2
●
●
S3
●
●
D
●
●
■
Outline of operation
● This instruction takes out data for the number of characters specified by [S3] from the
position specified by [S2] of the character string specified by [S1], and stores it in the device
address specified by [D].
14-96
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
32-Bit
device:
TS
TE
U
W
WI
IX
C
C
M
O
S
E
●
●
●
●
●
●
●
●
Real
St
Integer
numbe
rin
r
g
D
K
H
SF
" "
U
F
●
●
●
●
WUME-FP7CPUPGR-12
Index
modifie
r
●
●
●
●