EasyManuals Logo

Rockwell Automation Allen-Bradley Micro820 User Manual

Rockwell Automation Allen-Bradley Micro820
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #290 background imageLoading...
Page #290 background image
290 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022
Appendix C User Interrupts
1. suspends its execution of the current POU,
2. performs a predefined POU based on which interrupt occurred, and
3. returns to the suspended operation.
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 the beginning of the POU specified for that User
Interrupt.
4. Begins executing the User Interrupt POU (or set of POU/function blocks
if the specified POU calls a subsequent function block).
5. Completes the POU.
6. Resumes normal execution from the point where the controller program
was interrupted.
When Can the Controller Operation be Interrupted?
The Micro830 controllers allow interrupts to be serviced at any point of a
program scan. Use UID/ UIE instructions to protect program block that should
not be interrupted.
Priority of User Interrupts
When multiple interrupts occur, the interrupts are serviced based on their
individual priority.
When an interrupt occurs and another interrupt(s) has already occurred but
has not been serviced, the new interrupt is scheduled for execution based on
its priority relative to the other pending interrupts. At the next point in time
when an interrupt can be serviced, all the interrupts are executed in the
sequence of highest priority to lowest priority.
If an interrupt occurs while a lower priority interrupt is being serviced
(executed), the currently executing interrupt routine is suspended, and the
higher priority interrupt is serviced. Then the lower priority interrupt is
allowed to complete before returning to normal processing.
If an interrupt occurs while a higher priority interrupt is being serviced
(executed), and the pending bit has been set for the lower priority interrupt,
Interrupt Operation Example
POU 2 is the main control program.
POU 10 is the interrupt routine.
• An Interrupt Event occurs at rung 123.
• POU 10 is executed.
• POU 2 execution resumes immediately after POU 10
is scanned.
rung 0
rung 123
rung 275
POU 2
POU 10

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rockwell Automation Allen-Bradley Micro820 and is the answer not in the manual?

Rockwell Automation Allen-Bradley Micro820 Specifications

General IconGeneral
BrandRockwell Automation
ModelAllen-Bradley Micro820
CategoryController
LanguageEnglish

Related product manuals