beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 7

background image

V

5.3 Divide (DIV)

5Ć9

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.3.1 Input Parameters for the Divide Instruction

5Ć10

. . . . . . . . . . . .

5.3.2 Output Parameters for the Divide Instruction

5Ć11

. . . . . . . . . . .

5.3.3 Example of a Divide Instruction

5Ć12

. . . . . . . . . . . . . . . . . . . . . .

5.4 Modulo (MOD)

5Ć12

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.4.1 Input Parameters for the Modulo Instruction

5Ć13

. . . . . . . . . . .

5.4.2 Output Parameters for the Modulo Instruction

5Ć14

. . . . . . . . . .

5.4.3 Example of the Modulo Instruction

5Ć15

. . . . . . . . . . . . . . . . . . .

5.5 Multiply (MUL)

5Ć15

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.5.1 Input Parameters for the Multiply Instruction

5Ć16

. . . . . . . . . . .

5.5.2 Output Parameters for the Multiply Instruction

5Ć17

. . . . . . . . .

5.5.3 Example of a Multiply Instruction

5Ć18

. . . . . . . . . . . . . . . . . . . . .

5.6 Multiply Divide (MDV)

5Ć19

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.6.1 Input Parameters for the Multiply Divide Instruction

5Ć20

. . . . .

5.6.2 Output Parameters for the Multiply Divide Instruction

5Ć21

. . .

5.6.3 Example of a Multiply Divide Instruction

5Ć22

. . . . . . . . . . . . . . .

5.7 Negate (NEG)

5Ć22

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.7.1 Input Parameters for the Negate Instruction

5Ć23

. . . . . . . . . . . .

5.7.2 Output Parameters for the Negate Instruction

5Ć24

. . . . . . . . . .

5.7.3 Example of a Negate Instruction

5Ć24

. . . . . . . . . . . . . . . . . . . . .

5.8 Square Root (SQRT)

5Ć25

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.8.1 Input Parameters for the Square Root Instruction

5Ć26

. . . . . . .

5.8.2 Output Parameters for the Square Root Instruction

5Ć27

. . . . .

5.8.3 Example of the Square Root Instruction

5Ć28

. . . . . . . . . . . . . . .

5.9 Subtract (SUB)

5Ć28

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.9.1 Input Parameters for the Subtract Instruction

5Ć29

. . . . . . . . . .

5.9.2 Output Parameters for the Subtract Instruction

5Ć30

. . . . . . . . .

5.9.3 Example of a Subtract Instruction

5Ć31

. . . . . . . . . . . . . . . . . . . .