CALL NOW 800-985-6929
API
ESUB
121
D
Bit device
X
Y
S1
S2
D
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
CALL NOW 800-985-6929
http://www.deltaacdrives.com
P
Word device
M
K
H
KnX KnY KnM
*
*
*
*
: minuend. S
: subtrahend. D: difference.
S
1
2
When the content of the register designated by S
of the register designated by S
designated by D; subtraction is performed entirely using binary floating-point
numbers.
If the source operand S
transform that constant into a binary floating point number for use in subtraction.
In the situation when S
"continuous execution" command is employed, when conditional contact is On,
the register will perform addition once during each scan. Pulse execution type
commands (DESUBP) are generally used under ordinary circumstances.
When X0=On, a binary floating point number (D1, D0) will be subtracted to a
binary floating point number (D3, D2), and the results stored in (D11, D10).
X0
DESUB
When X2 =On, the binary floating point number (D1, D0) will be subtracted from
K1234 (which has been automatically converted to a binary floating-point
number), and the results stored in (D11, D10).
X2
DESUB
http://www.deltaacdrives.com
Chapter 16 PLC Function ApplicationsMS300
Subtraction of binary floating point numbers
16-bit command
-
T
C
D
*
32-bit command (13 STEP)
*
DESUB
*
Flag signal: none
, the difference will be stored in the register
1
or S
designates a constant K or H, the command will
1
2
and S
designate identical register numbers, if a
1
2
D0
D10
D2
K1234
D0
D10
16-69
Email: info@deltaacdrives.com
-
-
Continuous
DESUBP
execution type
execution type
is subtracted from the content
2
Email: info@deltaacdrives.com
-
Pulse