Mitsubishi Electronics C6 Home Safety Product User Manual


 
8. Function Commands
D*, D*P
- 172 -
{ D*, D*P ... BIN 32-bit multiplication
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
S1
{ { { { { { { { {
S2
{ { { { { { { { {
D
{ { { { { { {
5/6
Setting data
S2
S1
Multiplication data or head No. of device
where multiplication data is stored.
Head No. of device to store multiplication
results.
D
Multiplication command
D*P
S2S1 D
D*
D*P
D*
S2S1 D
Multiplication data or head No. of device
where multiplication data is stored.
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.
567890 (BIN) 123456 (BIN)
70109427840 (BIN)
B31……B16B15……B0
×
S1
S1+1
B31……B16B15……B0
S2
S2+1
B63B48B47B32B31B16B15B0
D
D+3
D+2 D+1
(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 for
S1 and S2, B63 for D).
B31/B63
Judgment of
positive/negative
0 Positive
1 Negative