USER MANUAL APS 6.0
Preface
Advanced Programming Software User Manual
6–4
Creating a Subroutine Program File (SLC 500 Processors Only)
You create subroutine program files for specific applications. For example, if your
application requires you to change the status file default values for Fault Routines,
Selectable Timed Interrupt Setpoint, or I/O Interrupts a subroutine is required. Valid
file numbers range from 3 to 255.
Note An
SLC 5/04 pr
ocessor is capable of supporting up to 60K wor
ds of ladder
pr
ogram; however
, the maximum size of any pr
ogram file is 12K wor
ds. Ther
efore
you must structur
e your ladder pr
ogram into mor
e than one file. One way to do this
is have a main file (file 2) and at least one subr
outine file (3–255).
1.
Begin at the main menu and press
CONFIG
OFFLINE
CONFIG
OFFLINE
PRG/DOC
F3
, then
CONFIG
OFFLINE
CONFIG
PROCSSR
FUNCTNS
F1
, then
CONFIG
OFFLINE
CONFIG
CREATE
FILE
F6
.
2. The prompt Enter the file number to create
appears.
Type: 3
and
press
[ENTER].
FILE PROTECTED NAME TYPE SIZE (words)
0 system *
1 reserved *
2 Main ladder *
3 ladder x
F1 F2 F6 F7F3 F4
F8
CHANGE
PROCSSR
CHANGE
PASSWRD
CREATE
FILE
DELETE
FILE
CHANGE
PR. NAME
CHANGE
FL. NAME
MONITOR
FILE
Press a key, enter file number or file name
offline SLC 5/03 File EXAMPLE
PROGRAM DIRECTORY FOR PROCESSOR: EXAMPLE
F5
CLEAR
MEMORY
F9
F10
DATA
MONITOR
FILE
PROTECT
Ladder file 3 is entered. If you had entered a higher number, 5 for example,
files 3, 4, and 5 would be listed; file 5 would be entered as “ladder”, and files 3
and 4 would be entered as “undefined”.