12ć2 – Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 157

Advertising
background image

Data Manipulatuion and

Comparison Instructions

Chapter 12

12-2

A Put instruction receives all 16 bits of data from the immediately
preceding Get instruction and stores the data at the specified data table
word location. Use with a Get instruction to form a data transfer rung.

This instruction is programmed in the output side of the ladder diagram
rung. This instruction can have the same address as other instructions in
the program. It must be immediately preceded by a Get instruction.

111

11

PUT

040

000

G

130

238

value

address

When rung conditions become:

True

A Get instruction transfers data to the Put instruction.
The lower 12 bits are displayed in hexadecimal beneath the

Put instruction.

Bits 14-17 are transferred but not displayed.

False

Because the Put instruction is retentive, any change in Get instruction

data does not change Put instruction data.

Keystrokes

Enter a Get or Put instruction by performing the following steps.

1.

Press -[G]- or -(PUT)-.

2.

Enter <address>.

Important: Step 3 is not needed for a Put instruction.

3.

Enter <data> if appropriate.

Removing a GET instruction

Remove a GET instruction by performing the following steps.

1.

Position the cursor over the Get instruction you are going to remove.

2.

Press [REMOVE] -[G]-.

Removing a PUT instruction

The only way you can remove a Put instruction is to remove the whole
rung. See chapter 24.

Put

Advertising