Mitsubishi Electric MELDAS C6 Programming Manual page 175

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

–, –P ... BIN 16-bit subtraction
Bit device
X
Y M
L
F
B SB T SM V T
S
D
S1
S2
D
-
-P
-
-P
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.
-
S
B15 ..................... B0
5678 (BIN)
-
S1
B15 ..................... B0
5678 (BIN)
(2) -32768 to 32767 (BIN 16-bit) can be designated in S1, S2 and S.
8. Function Commands
–, –P
Usable device
Word device
C D R W SW Z SD K
Subtraction command
-
-P
Subtraction command
-
S1
S1
-P
D
-P
S
,
D
B15 ..................... B0
1234 (BIN)
S2
D
-P
,
S1
B15 ..................... B0
1234 (BIN)
- 166 -
Get other manuals https://www.bkmanuals.com
Con-
stant
Setting data (See *1)
Subtraction data or No. of device
S
D
S
where subtraction data is stored.
Subtraction data or No. of device
where subtraction data is stored.
D
S
D
(The subtracted results are stored
in this device.)
Setting data (See *2)
Subtraction data or No. of device
S1
S2
where subtraction data is stored.
D
Subtraction data or No. of device
S2
where subtraction data is stored.
S2
D
No. of device to store subtraction
D
results.
D
S
B15 ..................... B0
4444 (BIN)
S1
S2
D
S2
B15 ..................... B0
4444 (BIN)
Digit
No. of
Pointer
desig-
Index
steps
nation
H
P
D
*1
D
*2
3
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents