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

Page 86

Advertising
background image

Data Manipulation Instructions

Chapter 9

9Ć11

Keystrokes: You enter a Get Byte instruction by performing the
following steps.

1.

Press -[B]-.

2.

Enter <address>.

3.

Enter <byte designation>.

Editing the Operation
You edit the Get Byte comparison by performing the following steps.

1.

Position the cursor over -[B]-.

2.

Press -[B]-.

3.

Enter <address>.

4.

Enter <by designation>.

Get Byte/Put

Purpose: The Get Byte instruction can be programmed either at the beginning
of the rung or with one or more condition instructions preceding it. Condition
instructions, however, should not be programmed after a Get Byte instruction.
When one or more condition instructions precede the Get Byte instruction, they
determine whether the rung is true or false.

The Get Byte instruction addresses either the upper or lower byte of a data table
word. A 1 is entered after the word address for an upper byte; a 0 is entered for
the lower byte.

There are two ways to perform a Get Byte/Put instruction.

Case 1. One Get Byte

XXXD

040

ZZZ

B

YYY

8

PUT

ZZZZ

16

only these three letters

are displayed

The Get Byte instruction is programmed in the condition area of the ladder
rung. It tells the processor to make a duplicate of all 8 bits in the addressed
byte. When the rung containing the Get Byte/Put instructions goes true, the
data is transferred to both the upper and lower byte of the word address of the
Put instruction.

Advertising