6. BASIC INSTRUCTIONS
6
−
20
MELSEC-A
(3) At (S1) and (S2), -2147483648 to 2147483647 (BIN 32 bits) can be specified.
(7) The judgment of whether the data of (S1) and (S2) are positive or negative is
made at the highest bit (b31) and that of (D), at (b63).
D/
(1) Performs the division of BIN data specified at (S1) and the BIN data specified at
(S2), and stores the division result into the device specified at (D).
(2) In regards to the operation result, the quotient and remainder are stored by use
of 64 bits in the case of word device, and only the quotient is stored by use of
lower 32 bits in the case of bit device.
Quotient:
Stored to the lower 32 bits.
Remainder: Stored to the upper 32 bits. (Storable only in the case of word
device)
(3) At (S1) and (S2), -2147483648 to 2147483647 (BIN 32 bits) can be specified.
(4) The judgment of whether the data of (S1), (S2), (D) and (D+2) are positive or
negative is made at the highest bit (b31).
Execution Conditions
Operation Errors
In the following case, operation error occurs and the error flag turns on.
•
A1, V are specified in (S1), (S2) and A0, A1, Z, V specified in (D).
•
The divisor (S2) is 0.
OFF
ON
Executed
per scan
Executed
per scan
Executed
only once
Executed
only once
P
Multiplication/division
command
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......