beautypg.com

6 multiply divide (mdv) – Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 113

background image

5Ć19

5.6

Multiply Divide (MDV)

Use this instruction to multiply two variables or constants together and divide the result

by a third variable or constant. This operation can give you a greater precision than if

you use a MUL instruction and then a DIV instruction, because the product of In1 and

In2 is kept in double precision and then divided by In3 to reduce it to single precision.
While EN is true, the instruction multiplies the values of In1 and In2, then divides the

product by In3. The truncated quotient is stored in Out. For example, if the result was

1.6, Out would contain a value of 1.