Program files, Data files – Rockwell Automation 9323-S5500D A.I. SERIES MICROLOGIX 1000 AND PLC-500 SOFTW User Manual

Page 37

Advertising
background image

Handling Project Files

2-3

Program Files

Program files contain controller information, the main ladder program, and any

subroutine programs. The first three program files are required for each project:

The

system program

file (file 0) is always included. It contains various system

related information and user-programmed information such as processor type, I/O

configuration, processor file name and password.

File 1 is reserved for future use.

The

main ladder program

file (file 2) is always included. It contains user-

programmed instructions defining how the controller is to operate.

Subroutine ladder program

files (files 3 - 255) are created by the user and

activated or “called” from the main ladder program using subroutine instructions.

(This does not apply to the MicroLogix controller. See below.)

The Fault Routine, Discrete I/O Interrupts, STI Interrupts, and I/O Event Driven

Interrupts require subroutine program files.

MicroLogix Controller Differences

The system program (file 0) and main ladder program (file 2) are as listed above. Files

3 and higher are listed below:

The

user error fault routine

(file 3) is executed when a recoverable fault occurs.

The

high-speed counter interrupt

(file 4) executes when an HSC interrupt occurs.

This file can also be used for a subroutine ladder program.

The

selectable timed interrupt

(file 5) executes when an STI occurs. This file

can also be used for a subroutine ladder program.

Subroutine ladder program

files (files 6-15) are used according to subroutine

instructions residing in the main ladder program file or other subroutine files.

Data Files

These files contain the data associated with the instructions in the ladder program files.

In addition, these files store information concerning processor operation. You can also

use the files to store “recipes” and look-up tables if needed. Each project can contain

up to 256 data files (except for MicroLogix). These files are organized by the type of

data they contain.

Advertising
This manual is related to the following products: