7
Chapter
7–1
Creating and Editing Program Files
In this chapter you create a ladder program. The topics include:
•
creating and deleting program files
•
editing program files
•
using the search function
•
creating and deleting data files
As described in chapter 2, a program must contain the main program file (file
2) for user–programmed instructions defining how the controller is to
operate. Additional program files may be created for specialized user
defined program routines. User error handler, STI interrupts and interrupt
programs require subroutine program files. These are described later in this
manual. Valid file numbers range from 3 to 255.
Creating a Subroutine Program File using the Next Consecutive File
Number
Create subroutine program file 3.
1. Begin at the program maintenance display.
File Name: 222
Prog Name:1000
File Name
Type
Size(Instr)
0
System
*
1
Reserved
*
2
222
Ladder
*
F1
F2
F3
F4
F5
CHG_NAM CRT_FIL EDT_FIL
OFL
DEL_FIL
>
MEM_MAP
2. Press
[F2]
, CRT_FIL. The following display appears:
File Name: 222
Prog Name:1000
File Name
Type
Size(Instr)
0
System
*
1
Reserved
*
2
222
Ladder
*
ENTER FILE NUMBER:
F1
F2
F3
F4
F5
OFL
Creating and Deleting
Program Files