Mitsubishi Electronics 700 Series Manuel D’Utilisation

Page de 183
151
3
(1) Performs the division of BIN data specified at 
 and the BIN data specified at
, and stores the result into the device specified at 
.
(2) In regards to the operation result, the quotient and remainder are stored by use of
32 bits in the case of word device, and only the quotient is stored by use of 16 bits
in the case of bit device.
Quotient :
Stored to the lower 16 bits.
Remainder :
Stored to the upper 16 bits. (Storable only in the case of word
device)
(3) At 
 and 
, -32768 to 32767 (BIN 16 bits) can be specified.
(4) The judgment of whether the data of 
 and 
+1 are positive or
negative is made at the highest bit (b15).
(Both quotient and remainder have sign.)
0 ...... Positive
1 ...... Negative
Execution Conditions
The execution conditions of the transfer instructions are as shown below.
/
S1
S2
D
Quotient
Remainder
S1
S2
S1 S2
D
D
Multiplication/division 
command
Executed every 
scan.
Executed every 
scan.
Executed only once.
Executed only once.