Delta MS300 Series User Manual page 737

Standard compact drive
Hide thumbs Also See for MS300 Series:
Table of Contents

Advertisement

Chapter 16 PLC Function ApplicationsMS300
API
ESUB
121
D
bit device
X
Y
M
S1
S2
D
Notes on operand usage:
Refer to the function specifications table for each device in series
for the scope of device usage.
P
Word device
K
H
KnX KnY KnM
S
: minuend. S
: subtrahend. D: difference.
1
2
Subtracts the content of the register designated by S
register designated by S
by D; subtraction is performed entirely using binary floating point numbers.
If the source operand S
converts 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 performs subtraction once during each scan. You generally use
pulse execution type commands (DESUBP) under ordinary circumstances.
When X0 = ON, subtracts a binary floating point number (D1, D0) from a binary
floating point number (D3, D2), and stores the results in (D11, D10).
When X2 = ON, subtracts the binary floating point number (D1, D0) from K1234
(which is automatically converted to a binary floating point number), and stores
the results in (D11, D10).
X2
K1234
DESUB
Subtract binary floating point numbers
16-bit command
T
C
D
32-bit command (13 STEP)
DESUB
Flag signal: none
, and stores the difference in the register designated
1
or S
designates a constant K or H, the command
1
2
and S
designate identical register numbers, if a
1
2
D0
D10
728
Continuous
DESUBP
execution type
execution type
from the content of the
2
Pulse

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents