Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual

Page 100

Advertising
background image

Math Instructions

Chapter 10

10Ć12

Multiplication
Reports the product (result address) of a multiplicand (data address) and a
multiplier (conditioning gets). Operands can only be six digits.

060

000

G

061

000

G

062

000

G

063

000

G

Executive Aux

Function

Function Number:

Data Addr:

Result Addr:

03

040

060

Start

050

000

G

051

000

G

052

000

G

053

000

G

040

000

G

041

000

G

042

000

G

043

000

G

Division
Reports the quotient (result address) of a dividend (data address) and a divisor
(conditioning instructions).

060

000

G

061

000

G

062

000

G

063

000

G

Executive Aux

Function

Function Number:

Data Addr:

Result Addr:

04

040

060

Start

050

000

G

051

000

G

052

000

G

053

000

G

040

000

G

041

000

G

042

000

G

043

000

G

Important: The quotient has at least six decimal digits. Any remaining data is
rounded. Division of a number by zero (including 0 : 0) gives the result of
999.999 and the illegal bit is set.

Primary Ladder Diagram
Keystrokes
: You enter the instructions for a primary ladder diagram to execute
an addition, subtraction, multiplication, or division operation by performing the
following steps.

1.

Open the rung. Press -[G]-.

2.

Enter <address>.

3.

Enter <data> if appropriate.

4.

Press -[G]-.

5.

Enter <address>.

6.

Enter <data> if appropriate.

7.

Press -[G]-.

8.

Enter <address>.

Advertising