S
1
: minuend. S
2
: subtrahend. D: difference.
Subtracts the content of the register designated by S
2
from the content of the
register designated by S
1
, and stores the difference in the register designated
by D; subtraction is performed entirely using binary floating point numbers.
If the source operand S
1
or S
2
designates a constant K or H, the command
converts that constant into a binary floating point number for use in subtraction.
In the situation when S
1
and S
2
designate identical register numbers, if a
"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).