Esadd (String Addition: With Storage Area Size) - Panasonic FP7 Series Command Reference Manual

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

Advertisement

14.30 ESADD (String Addition: With Storage Area Size)

14.30 ESADD (String Addition: With Storage Area Size)
Ladder diagram
List of operands
Operand
Description
Starting device address of String 1 to be connected (available range: 0 to 65534; for character
S1
constant: 0 to 256 characters)
Starting device address of String 2 to be connected (available range: 0 to 65534; for character
S2
constant: 0 to 256 characters)
D
Starting device address to store the connected string
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
S2
D
(Note 1)
Only 16-bit devices can be modified. (Character constants cannot be specified.)
Outline of operation
● This instruction combines the string specified by [S1] with the string specified by [S2], and
stores the combined string to the device address specified by [D].
● The maximum number of characters for the result is 65534 characters.
● For [S1], [S2], and [D], the size of the starting storage area must be set by using the user
program before an instruction is executed.
Processing
Example 1) Connecting strings "ABCDE" and "123", which are stored in the data
register
[S1]...DT0 [S2]...DT10 [D]...DT20
14-122
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