EasyManua.ls Logo

Delta MH300 Series - Page 938

Delta MH300 Series
1030 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 16 PLC Function ApplicationsMH300
16-75
API
EADD
Add binary floating point numbers
120
D
P
bit device
Word device
16-bit command
32-bit command (9 STEP)
DEADD
Continuous
execution type
DEADDP
Pulse
execution type
Flag signal: none
X
Y
M
K
H
KnX
KnY
KnM
T
C
D
S1
S2
D
Notes on operand usage:
R
efer to the function specifications table for each device in series
for the scope of device usage.
S
1
: addend. S
2
: augend. D: sum.
Adds the content of the register designated by S
2
to the content of the register
designated by S
1
, and stores the result in the register designated by D. Addition
is performed entirely using binary floating point numbers.
If the source operand S
1
or S
2
designa
tes a constant K or H, the command
converts that constant into a binary floating point number for use in addition.
In the situation when S
1
and S
2
designate identical register numbers, if a
continuous executioncommand is employed, when the conditional
contact is
ON, the register performs
addition once during each scan. You generally use
pulse execution type commands (DEADDP) under ordinary circumstances.
When X0=ON, adds a binary floating point number (D1, D0) to a binary floating
point number (D3, D2), and stores the results in (D11, D10).
X0
DEADD D0 D2 D10
When X2 =ON, adds a binary floating point number (D11, D10) to K1234 (which
is automatically converted to a binary floating
point number), and stores the
results in (D21, D20).
X2
DEADD D10 K1234 D20

Table of Contents

Related product manuals