beautypg.com

Creating and deleting program files, Creating data files – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 157

background image

Chapter 7
Creating and Editing a Program File

7–45

3. Type

3

, then press

[ENTER]

. The cursor is now positioned on the left

power rail of rung 3.

2.3.0.0.*

F1

F2

F3

F4

F5

] [

( )

] [

] [

] [

>

INS_RNG MOD_RNG SEARCH

DEL_RNG UND_RNG

OFL

<

END

>

4. To search for additional rungs, repeat steps 1 through 3.

The memory map function also allows you to create and delete data elements
and files. To locate the Memory Map function from the HHT’s main menu,
press

[F3]

, PROG_MAINT and

[F5]

, MEM_MAP.

Creating Data Files

If your application requires a lot of data manipulation or use of sequencers,
you may want to create the data files and enter the data prior to developing
the ladder diagram. Also, if you are using indexed addressing in your SLC
5/02 program, you need to create the data file elements that the instructions
may index into.

You cannot create additional elements in the output file (file 0), input file
(file 1), or status file (file 2). These files can only be created through the
processor and I/O configuration.

Data is created by entering the highest numbered element you want to be
included. For example if they have not already been created, entering
element N7:12 (default integer file 7) creates element N7:12 and all lower
numbered elements down to N7:0.

1. From the main menu, press

[F3]

, PROG_MAINT and

[F5]

, MEM_MAP.

The following display appears:

CRT DT DEL DT NEXT PG PREV PG PRG SIZE

F1

F2

F3

F4

F5

File Type LastAddr Elements Words
0 O output O0:3.0 1 1
1 I input I1:2.0 2 2
2 S status S2:15 16 16
3 B bit B3/15 1 1
4 T timer – – –
OFL

Creating and Deleting
Program Files