Sadd (String Addition) - Panasonic FP7 Series Command Reference Manual

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

Advertisement

14.17 SADD (String Addition)

Ladder diagram
List of operands
Operand
Description
S1
Starting device address of String 1 to be connected
S2
Starting device address of String 2 to be connected
D
Starting device address to store the connected string
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
S2
D
Outline of operation
● This instruction combines the string specified by [S1] with the string specified by [S2], and
sets the combined string to the device address specified by [D].
● The maximum number of characters for the result is 4096 characters.
Processing
Example) Combine the strings of DT0 and DT10, and set the result to DT20.
5 (No. of characters)
DT0
DT1
DT2
DT3
DT4
DT5
DT6
Higher
Byte address
bytes
WUME-FP7CPUPGR-12
16-Bit device:
W
W
W
S
D
R
L
S
D
T
"B"
"A"
"D"
"C"
"E"
+
Lower
Byte address
bytes
32-Bit
device:
TS
TE
L
U
W
WI
C
D
M
O
S
3 (No. of characters)
DT10
DT11
"2"
"1"
DT12
"3"
DT13
DT14
DT15
DT16
Higher
Lower
bytes
bytes
14.17 SADD (String Addition)
Integer
numbe
IX
K
H
SF
C
E
8 (No. of characters)
DT20
DT21
"B"
DT22
"D"
=
DT23
"1"
DT24
"3"
DT25
DT26
Higher
Byte address
bytes
Real
St
rin
r
g
Index
modifie
r
D
" "
F
"A"
"C"
"E"
"2"
Lower
bytes
14-83

Advertisement

Table of Contents
loading

Table of Contents