Mitsubishi Electric MELDAS C6 Programming Manual page 185

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

D/, D/P ... BIN 32-bit division
Bit device
X
Y M
L
F
B SB T SM V T
S1
S2
D
D /
D/P
Function
(1) The BIN data designated with S1 and the BIN data designated with S2 are divided, and the
division results are stored in the device designated with D.
S1
S1+1
B31......B16B15......B0
567890 (BIN)
(2) -2147483648 to 2147483647 (BIN 32-bit) can be designated in S1 and S2.
(3) The positive/negative of the data in S1, S2 and D is determined with the highest-order bit (B31).
B31
positive/negative
0
1
(4) For the word device, the operation results will be stored as quotient and redundant using the
64-bit.
Quotient
... Stored in low-order 32-bit.
Redundant ... Stored in high-order 32-bit.
(5) The S1 and S2 data will not change even after operation is executed.
8. Function Commands
D/, D/P
Usable device
Word device
C D R W SW Z SD K
Division command
D /
S1
S1
D/P
S2+1
B31......B16B15......B0
÷
123456 (BIN)
Judgment of
Positive
Negative
- 176 -
Get other manuals https://www.bkmanuals.com
Con-
stant
Setting data
Division data or head No. of device
S1
where division data is stored.
S2
D
Division data or head No. of
S2
device where division data is stored.
D
S2
Head No. of device to store division
D
results.
Quotient
S2
D+1
B31......B16B15......B0
4 (BIN)
Digit
No. of
Pointer
desig-
Index
steps
nation
H
P
5/6
Redundant
D
D+2
D+3
B31......B16B15......B0
74066 (BIN)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents