beautypg.com

Rockwell Automation 1772-LP3 PLC - 2/30 Programmable Controller Programming and Operations Manual User Manual

Page 90

background image

Introduction to Programming

Chapter 4

4Ć26

[RECORD] key is used to enter a change into user program. Once

pressed, the changed program is active immediately.

[CANCEL COMMAND] key can be used to abort any on-line

programming operation prior to pressing the [RECORD] key. It restores
the ladder diagram display and program logic to its original state prior
to the on-line programming operations. It is also used to terminate
on-line programming mode.

[DATA INIT] key should be used as described in Section 4.4.4 to allow

entry of data or instruction parameters and to set status bits to their
proper initialization states.

Insert an Instruction

Instructions can be inserted into user program using the key sequences
described in this section.

The instruction being inserted will be highlighted in reverse video until the
[RECORD] key is pressed.

CAUTION: When the [RECORD] key is pressed, the
instruction is entered into memory immediately. If the rung
logic is true, the output instruction will be enabled.

The procedure for inserting an instruction into an existing rung is as
follows (refer to Editing, Section 4.4.4, if necessary):

Step 1 – Position the cursor on the preceding instruction.

Step 2 – Press [INSERT][Key sequence of instruction].

Step 3 – Use the [DATA INIT] key, if appropriate.

Step 4 – Enter instruction parameters.

Step 5 – Verify that the instruction is correctly entered.

Step 6 – Press the [RECORD] key.

The data monitor mode of block instructions, such as files or sequencers,
cannot be entered until after the [RECORD] key is pressed. If file data is
required, the rung containing the new instruction should be held false until
the data has been entered. The procedure is as follows for monitoring
and/or entering data into block instructions: