Emidw (Rewrite 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.36 EMIDW (Rewrite from a Given Position in the String: With Storage Area
14.36 EMIDW (Rewrite 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
Number of characters (available range: 0 to 65534)
D
Destination starting device address
n
Starting position of the destination string (available range: 0 to 65533)
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
S2
D
n
(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 [S2] from the
character string specified by [S1], and transfers it to the position [n] of the character string
specified by [D].
Processing
Example 1) Taking out the three characters "ABC" from the DT0 string to transfer
them to the 1st byte (2nd character) of the DT20 string
[S1]...DT0 [S2]...U3 [D]...DT20 [n]...U1
WUME-FP7CPUPGR-12
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
Size)
Index
modifie
r
(Note 1)
14-139

Advertisement

Table of Contents
loading

Table of Contents