beautypg.com

5 multiply (mul) – Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 109

background image

5Ć15

5.4.3

Example of the Modulo Instruction

This logic shows that when the variable switch1

is true the instruction divides the constant 38 by

5 and stores the remainder of the division (3) in

the variable answer.

5.5

Multiply (MUL)

Use this instruction to multiply two variables or constants together. While EN is true, the

instruction multiplies the values of In1 and In2. The result is stored in Out.