beautypg.com

Deleting a subroutine program file, Del_fil, Then – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 115: The following display appears, Press

background image

Chapter 7
Creating and Editing a Program File

7–3

Deleting a Subroutine Program File

All created program files (file numbers 3 – 255) can be deleted. You cannot
delete files 0 and 1. Deleting file 2 deletes all ladder rungs in the main
program file. Attempting to delete file 0, file 1, or an undefined subroutine
file displays the

FILE CANNOT BE DELETED!

prompt. In the case of a

subroutine file, the error message indicates that a subroutine program file of
a higher number exists.

Delete subroutine program file 6.

1. From the previous display, press

[F4]

, DEL_FIL.

File Name: 222

Prog Name:1000

File Name

Type

Size(Instr)

3

Ladder

*

4

Undefined

*

5

Undefined

*

6

Ladder

*

ENTER FILE NUMBER:

F1

F2

F3

F4

F5

OFL

>

2. You are prompted for the file number to delete. Press

[6]

, then

[ENTER]

.

The following display appears:

File Name: 222

Prog Name:1000

File Name

Type

Size(Instr)

3

Ladder

*

4

Undefined

*

5

Undefined

*

6

Ladder

*

DATA/FORCES IN LAST STATE,DELETE?

F1

F2

F3

F4

F5

OFL

>

YES

NO

3. Press

[F2]

, YES to delete the file. Refer to appendix A for a description

of HHT messages and error definitions. The following display appears:

File Name: 222

Prog Name:1000

File Name

Type

Size(Instr)

0

System

*

1

Reserved

*

2

222

Ladder

*

3

Ladder

*

F1

F2

F3

F4

F5

CHG_NAM CRT_FIL EDT_FIL

OFL

DEL_FIL

>

MEM_MAP

Now that you have created all necessary subroutine program files, enter a
simple program.