![LS Industrial Systems XBC-DN10E User Manual Download Page 290](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831290.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-173
Ver. 1
6.28.13 $ADD, $ADDP
Instruction
Area Available
Step
Flag
P M K F L T C S Z D.x R.x
Co
nst.
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
$ADD(P)
S1 O O O - O -
-
-
-
-
- O O O O O
4~18
-
-
-
S2 O O O - O -
-
-
-
-
- O O O O O
D O O O - O -
-
-
-
-
-
- O O O O
Operand
Description
Data Type
S1
String or Device Number String data is saved in
STRING
S2
String or Device Number String data is saved in
STRING
D
Address to save operation result in
STRING
1) $ADD (String add)
(1) Saves specified string data S1 as connected with S2 in D. The string to be saved in D area will not exceed
31 letters in English which is the size of string data.
b15
b8 b7
b0
h53(S)
h4C(L)
h53(S)
h49(I)
h00
h00
.
.
.
.
h00
h00
S1
S1+15
"LSIS"
b15
b8 b7
b0
h4C(L)
h50(P)
h53(S)
h43(C)
h00
h00
.
.
.
.
h00
h00
S2
S2+15
"PLC"
b15
b8 b7
b0
h53(S)
h5C(L)
h53(S)
h49(I)
h50(P)
h4C(L)
h00
h00
D
D+15
"LSIS PLC"
h00
h00
h43(C)
h00
(2) Even if the length of S1 string plus S2 string exceeds the size of string data, error will not occur. In this case,
the value to be saved in D will be as big as the size of string data starting from S1 value.
Remark
(1) String data will be processed in 16-word data regardless of the string length. Thus, string-related
instruction, if used, shall designate a device which is allowed to use 16-word space.
$ADD
P S1 S2
$ADDP
S1 S2
means
$ADD
D
D
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...