Delta C2000 Series User Manual page 844

Vector control drive
Hide thumbs Also See for C2000 Series:
Table of Contents

Advertisement

API
ESUB
121
D
P
Bit device
X
Y
M
K
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
: minuend. S
S
1
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
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
Word device
H
KnX KnY KnM
T
*
*
: subtrahend. D: difference.
2
or S
1
1
D0
DESUB
K1234
DESUB
Chapter 16 PLC Function ApplicationsC2000
Subtraction of binary floating point numbers
16-bit command
C
D
*
32-bit command (13 STEP)
*
*
DESUB
Continuous
execution type
Flag signal: none
2
, the difference will be stored in the register
1
designates a constant K or H, the command will
2
and S
designate identical register numbers, if a
2
D10
D2
D0
D10
16-83
DESUBP
Pulse
execution type
is subtracted from the content

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents