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

Page 108

Advertising
background image

Math Instructions

Chapter 10

10Ć20

10.

Enter 13 (function number).

11.

Enter 010 (default number).

12.

Enter <result address>.

Editing a Completed Rung
Operand and Result: Follow the editing procedures for a Get instruction.

EAF Instruction: You can edit a conversion operation to change an address by
performing the following steps.

1.

Press [SHIFT][EAF].

2.

Enter 13 (function number).

3.

Enter 010 (data address).

4.

Enter <result address>.

Binary to BCD Conversion
You must decide whether or not to enter a data address. If you choose to enter a
data address, the processor seeks the binary number to be converted at that
address in the data table. If you choose not to enter a data address and use the
default number (010), the processor seeks its binary number to be converted at
that address in the data table.

The ladder diagram that enables the processor to execute a Binary to BCD
conversion is shown in Figure 10.8.

Figure 10.8

Optional Ladder Diagram for Binary to BCD Conversion

Executive Aux

Function

Function Number:

Data Addr:

Result Addr:

13

010

060

Start

060

000

G

050

2DE

G

061

734

G

Keystrokes: You enter the instructions for a Binary to BCD conversion by
performing the following steps.

The first group of steps you perform enters the branch for the result (term E).

1.

Open the rung. Press the branch start key [ ].

2.

Press -[G]-.

3.

Enter <address>.

Advertising