Programming a simple ladder rung – Rockwell Automation 1747-PTxx Getting Started Guide for HHT User Manual

Page 36

Advertising
background image

Chapter 3
Creating a Program

Getting Started Guide

for HHT

3–11

Programming a Simple Ladder Rung

The following rung consists of an XIC input instruction and an OTE output
instruction. The addresses conform to the controller configuration indicated
in the “Arbitrary Controller” section of this chapter. If you have entered a
different controller configuration, make certain that the addresses are
consistent with your configuration.
It is also important that you have an
external input, such as a pushbutton, and an external output, such as a pilot
light, at the terminal addresses used. You will be using these external
devices in later chapters of this guide.

] [

I:1.0

0

( )

O:3.0

0

Entering a Rung

To enter the rung, do the following:

1. Begin where we ended on the previous page, at the program directory

display.

2. Press

[F3] – EDT_FIL

. The following display appears.

File Name:

Prog Name:1000

File Name

Type Size(Instr)

0

System *

1

Reserved *

2

Ladder *

ENTER FILE NUMBER:

F1

F2

F3

F4

F5

OFL

We want to edit file number 2, our main program file.

3. Press

[2] [ENTER]

. The display shows the END rung of a program. No

other rungs exist at this time. The numbers

2.0.0.0.*

appear in the

upper right corner of the display. This indicates that we are in File 2, and
the cursor is located on rung 0, branch 0.

F1

F2

F3

F4

F5

2.0.0.0.*

INS_RNG MOD_RNG SEARCH

DEL_RNG UND_RNG

OFL

>

<END>

4. Press

[F1] – INS_RNG

. The following display appears:

F1

F2

F3

F4

F5

2.0.0.0.*

INS_INST

BRANCH

MOD_INST

ACP_RNG

OFL

>

<END>

Advertising