8. Function Commands
D–, D–P
- 168 -
{ D–, D–P ... BIN 32-bit subtraction
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
S
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
3/4
S1
{
{ { { { { {
{
{ { { { { { { { { {
S2
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
4/5
Setting data (See *2)
S2
S1
D
Setting data (See *1)
S
Subtraction data or head No. of device
where subtraction data is stored.
(The subtraction results are stored in
this device.)
D
Subtraction command
D-P
S2
S1
D
D-
D-P
Subtraction data or head No. of device
where subtraction data is stored.
D-
Head No. of device to store subtraction
results.
S2S1
D
Subtraction command
D-
D-P
D-
S
D
D-P
S
D
Subtraction data or head No. of device
where subtraction data is stored.
Subtraction data or head No. of device
where subtraction data is stored.
Function
(1) The device designated with S1 (D of *1) and the device designated with S2 (S of *2) are
subtracted, and the subtracted results are stored in the device designated with D.
D- S D
,
D-P
S D
567890 (BIN) 123456 (BIN) 444434 (BIN)
B31
……B16B15……B0
-
D
D+1
SS+1
B31……B16B15……B0 B31……B16B15……B0
D
D+1
*1
D-
S2
S1
D
,
D-P
S2
S1
D
567890 (BIN) 123456 (BIN) 444434 (BIN)
B31
……B16B15……B0
S1
S1+1
S2S2+1
-
D
D+1
B31……B16B15……B0 B31……B16B15……B0
*2