6. BASIC INSTRUCTIONS
6
−
17
MELSEC-A
/
(1) Performs the division of BIN data specified at (S1) and the BIN data specified at
(S2), and stores the result into the device specified at (D).
(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 (S1) and (S2), -32678 to 32767 (BIN 16 bits) can be specified.
(4) The judgment of whether the data of (S1) and (S2) are positive or negative is
made at the highest bit (b15) and that of (D), at (b15).
Execution Conditions
Operation Errors
In the following case, operation error occurs and the error flag turns on.
•
A1 or V has been specified at (D).
•
The divisor (S2) is 0.
Multiplication/division
command
Executed
per scan
Executed
per scan
Executed
only once
P
ON
OFF
Executed
only once
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......