Emidr (Data Read From A Given Position In The String: With Storage Area Size) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

14.35 EMIDR (Data Read from a Given Position in the String: With Storage
Area Size)
14.35 EMIDR (Data Read from a Given Position in the String: With
Storage Area Size)
Ladder diagram
List of operands
Operand
Description
Starting device address of the source data (available range: 0 to 65534; for character constant: 0 to
S1
256 characters)
S2
Starting position (available range: 0 to 65533)
S3
Number of characters to be taken out (available range: 0 to 65534)
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
(Note 1)
Only 16-bit devices, and integer constants can be modified. (Character constants cannot be specified.)
Outline of operation
● This instruction takes out data for the number of characters specified by [S3] from the string
data specified by [S1], and stores them as string data with a storage area in the device
whose address is specified by [D].
● For [S2], specify the position for taking out string data.
● For both [S1] and [D], the size of the starting storage area must be set by using the user
program before an instruction is executed.
14-136
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
" "
F
WUME-FP7CPUPGR-12
Index
modifie
r
(Note 1)

Advertisement

Table of Contents
loading

Table of Contents