Allen-Bradley MicroLogix 1100 Instruction Set Reference Manual page 260

Hide thumbs Also See for MicroLogix 1100:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
260
Using Interrupts
Publication 1763-RM001C-EN-P - October 2009
An interrupt must be configured and enabled to execute. When any one
of the interrupts is configured (and enabled) and subsequently occurs, the
user program:
1. suspends its execution
2. performs a defined task based upon which interrupt occurred
3. returns to the suspended operation.
Interrupt Operation Example
Program File 2 is the main control program.
Program File 10 is the interrupt routine.
• An Interrupt Event occurs at rung
123.
• Program File 10 is executed.
• Program File 2 execution resumes
immediately after program file 10 is
scanned.
Specifically, if the controller program is executing normally and an
interrupt event occurs:
1. the controller stops its normal execution
2. determines which interrupt occurred
3. goes immediately to rung 0 of the subroutine specified for that User
Interrupt
4. begins executing the User Interrupt subroutine (or set of subroutines
if the specified subroutine calls a subsequent subroutine)
5. completes the subroutine(s)
6. resumes normal execution from the point where the controller
program was interrupted
When Can the Controller Operation be Interrupted?
The Micrologix 1100 controllers only allow interrupts to be serviced
during certain periods of a program scan. They are:
• At the start of a ladder rung
Program File 2
rung 0
Program File 10
rung 123
rung 275

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1763-l16bbb1763-l16awa1763-l16bwa1763-l16dwd

Table of Contents