Delta C2000 series User Manual page 523

Classical field oriented control ac motor drive
Hide thumbs Also See for C2000 series:
Table of Contents

Advertisement

API
ESUB
121
D
P
Bit Devices
X
M
Y
K
S1
S2
D
Operands:
Please refer to the specifications of each model for the
range of operands.
S1: Minuend S2: Subtrahend D: Subtraction result
Explanation
S1 S2 D. The floating point value in S2 is subtracted from the floating point value
in S1 and the result is stored in D. The subtraction is conducted in binary floating point
format.
If S
1
constant into a
and S
S
1
specified as "continuous execution instruction" (generally DESUBP instruction)
and the drive contact is ON,
When X0 = ON, binary floating point value (D1, D0) minuses binary floating point
Example
value (D3, D2) and
X0
When X2 = ON, K1234 (automatically converted into binary floating point value)
minuses binary floating point (D1, D0) and the result is stored in (D11, D10).
X2
Word Devices
H
KnX KnY KnM
T
or S
is designated as constant K or H, the instruction will convert the
2
binary floating point value before the operation.
can designate the same register. In this case, if the instruction is
2
the result is stored in (D11, D10).
D0
DESUB
K1234
DESUB
Chapter 16 PLC Function C2000 Series
Floating Point Subtraction
16-bit command (5 STEPS)
C
D
32-bit command
DESUB
Flag signal: none
the register will be subtracted once in every scan.
D10
D2
D0
D10
16-76
DESUBP

Advertisement

Table of Contents
loading

Table of Contents