DDV - Double Divide

Home Study Material DDV - Double Divide
Side Bar
Plc Scada
sidedigital-img
DDV - Double Divide

When rung conditions are true, this output instruction divides the contents of the math register containing 32 bits of data, by the source and stores the result in the destination and the math register.

The math register initially contains the dividend of the DDV operation. Upon execution the unrounded quotient is placed in the most significant word of the math register. The remainder is placed in the least significant word of the math register.