Mitsubishi Electric MELDAS C6 Programming Manual page 179

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

*, *P ... BIN 16-bit multiplication
Bit device
X
Y M
L
F
B SB T SM V T
S1
S2
D
*
*P
Function
(1) The BIN data designated with S1 and the BIN data designated with S2 are multiplied, and the
multiplication results are stored in the device designated with D.
S1
B15.....................B0
5678 (BIN)
(2) -32768 to 32767 (BIN 16-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 (B15 for
S1 and S2, B31 for D).
B15/B31
positive/negative
0
1
8. Function Commands
*, *P
Usable device
Word device
C D R W SW Z SD K
Multiplication command
*
S1
S2
*P
S1
S2
S2
B15.....................B0
×
1234 (BIN)
Judgment of
Positive
Negative
- 170 -
Get other manuals https://www.bkmanuals.com
Con-
Pointer
stant
H
Setting data
Multiplication data or No. of device
S1
where multiplication data is stored.
D
Multiplication data or No. of device
S2
where multiplication data is stored.
Head No. of device to store
D
D
multiplication results.
D+1
B31......B16B15......B0
7006652 (BIN)
Digit
No. of
desig-
Index
steps
nation
P
4
D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents