5ć15 – Rockwell Automation 1772-LV Mini-PLC - 2/15 Programmable Controller (Series B) Programming and Operations User Manual

Page 52

Advertising
background image

Fundamental Instruction Set

Chapter 5

5Ć15

Figure 5.5

Get and Put

110

11

PUT

030

238

110

238

G

Put

Symbol: -(PUT)-

Purpose: Receives 16 bits of data from the immediately preceding get
instruction and stores the data at the specified data table word location. Used
with a get instruction to form a data transfer rung.

Syntax: Programmed in the output side of the ladder diagram rung
(Figure 5.5). This instruction can have the same address as other instructions in
the program. It is always programmed with a get instruction.

Function: Transfers an image of the 16 bits of one data table word to another
data table word when the rung is true.

NOTE: The put instruction acts only upon true rung conditions. There should
be no instructions between the get and put instructions. Position all conditions
before the get instruction.

Equal

Symbol: -|=|-

Purpose: Compares the data in your specified address with data stored at
another address in memory. It determines the rung condition.

Syntax: Programmed after the get instruction in the condition side of the ladder
diagram rung (Figure 5.6).

Function: The rung condition becomes:

True

If there is equality.

False

If there is not equality.

Figure 5.6

Equal To Comparison

When YYY = 100, GET/EQU comparison is true and 01002 is energized.

120

03

010

02

130

YYY

G

035

100

=

Reference Value

Compare Instructions

Advertising