beautypg.com

1785-6.2.1, 7 - selecting interrupt routines, Selecting interrupt routines, Chapter objectives using programming features – Rockwell Automation 1785-LTx,D17856.2.1 Classic PLC-5 Programmable Controllers Users Manual User Manual

Page 83

background image

Chapter

7

7-1

Selecting Interrupt Routines

This chapter covers interrupt routines that you can choose to include when
you program your system.

If you want to read about:

Go to

page:

Using programming features

7Ć1

Writing a fault routine

7Ć3

Use your design specification to determine if you need one or more of the
following programming features:

program execution control
power-up routines

If a portion of logic

should execute:

Example:

Use:

By doing the following:

Immediately on

detecting conditions

that require a startup

Restart the system

after the system has

been shut down

Powerup/Fault

Routine

Create a separate file for a controlled startĆup procedure for the first time that you

start a program or when you start a program after system down time. The

processor executes the powerĆup/fault routine to completion.

Immediately on

detecting a major fault

Send critical status

to a supervisory

processor via DH+

after detecting a

major fault

Fault Routine

Create a separate file for a controlled response to a major fault. The first fault

detected determines which fault routine is executed. The processor executes the

fault routine to completion. If the routine clears the fault, the processor resumes

the main logic program where it was interrupted. If not, the processor faults and

switches to program mode.

Chapter Objectives

Using Programming

Features

System Design

Determined

Choosing

Communication

Transferring Discrete

and Block Data

Planning Your

System Programs

Calculating Program

Timing

Choosing Hardware

Placing System

Hardware

Assigning Addressing

Mode, Racks,

and Groups

Selecting Interrupt

Routines