6. BASIC INSTRUCTIONS
6
−
32
MELSEC-A
DB/
(1) Performs division of the BCD data specified at (S1) and the BCD 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.
Quotient (BCD 8 digits):
Stored to the lower 32 bits.
Remainder (BCD 8 digits): Stored to the upper 32 bits.
(3) (D) will not store the remainder of the division result if it is a bit device.
Execution Conditions
Operation Errors
In the following cases, operation errors and the error flag turns on.
•
A value other than 0 to 9 exists in any digit of (S1), (S2).
•
The divisor (S2) is 0.
Digit higher than the specified digit is regarded as 0.
Multiplication/division
commands
Executed
per scan
Executed
per scan
Executed
only once
Executed
only once
P
OFF
ON
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......