Mitsubishi MELSEC-A Series Programming Manual page 144

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

6. BASIC INSTRUCTIONS
Execution Conditions
Operation Errors
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):
Remainder (BCD 8 digits):
(3) (D) will not store the remainder of the division result if it is a bit device.
Multiplication/division
OFF
commands
P
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.
Stored to the lower 32 bits.
Stored to the upper 32 bits.
ON
Executed
per scan
Executed
only once
6 − 32
MELSEC-A
Executed
per scan
Executed
only once

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents