4 inserting instructions into a rung – Rockwell Automation AutoMax Enhanced Ladder Editor User Manual

Page 23

Advertising
background image

2Ć5

2.4

Inserting Instructions into a Rung

Build a rung by using the mouse to drag and drop instructions from

an instruction palette and connect them together by drawing wires.

The program area is like a blank canvasāĊāyou drag instructions

from the instruction palettes and drop them in the program area. But

first, you must start a rung by dragging an instruction from an

instruction palette and dropping it very near the left power rail. To

help make inserting instructions easier, the insert cursor indicates

when and in which direction you can drop an instruction. See

section 2.1 for more information on starting a rung.
When dropped into the rung, the instructions indicate where you

can attach another instruction or wire. Contact instructions have

connections on either side, but coil instructions can only connect to

another instruction on the left side.
For instruction blocks like ADD, you can connect other instructions

to the longer lines. These longer lines attach to Boolean input and

output parameters.
An inserted instruction belongs to the rung above it if the newly

inserted instruction does not start a rung.

To insert instructions into a rung
Step 1.

Click on the Ladder Language toolbar button that

accesses the instruction palette you want to use.
The instruction palette appears.

Step 2.

Point to the instruction you want to insert.

Step 3.

Press and hold the left mouse button while dragging the

instruction into the program area.

Step 4.

When the pointer is where you want the upperĆleft corner

of the instruction to be, release the left mouse button,

dropping the instruction into place.

If you drop an instruction very near another, the newlyĆplaced

instruction automatically connects to the one adjacent to it. Similarly,

you can insert an instruction between two instructions by simply

dragging it between the existing two.
Tip
If you frequently use the instruction on a toolbar palette, you may

want to turn the toolbar palette on. See Turning the Toolbars and

Palettes On and Off" in Appendix A.
Tip
If you delete or cut the first instruction of a rung, the left power rail

connection stays, indicating that you can insert a new instruction.

Insert the new instruction to the right of the left power rail connector.
Tip
You can move or copy one or more instructions from one rung and

insert them into another rung. See Moving Instructions" and

Copying Instructions" in the AutoMAx Ladder Editor online help.

Advertising