307
Publication 1766-RM001A-EN-P - October 2008
Chapter
19
Using Interrupts
Interrupts allow you to interrupt your program based on defined events.
This chapter contains information about using interrupts, the interrupt
instructions, and the interrupt function files. The chapter is arranged as
follows:
•
Information About Using Interrupts on page 307.
•
User Interrupt Instructions on page 312.
•
Using the Selectable Timed Interrupt (STI) Function File on page
318.
•
Using the Event Input Interrupt (EII) Function File on page 322.
See also: Using the High-Speed Counter and Programmable Limit Switch
on page 99.
Information About Using
Interrupts
The purpose of this section is to explain some fundamental properties of
the User Interrupts, including:
•
What is an interrupt?
•
When can the controller operation be interrupted?
•
Priority of User Interrupts
•
Interrupt Latency
•
User Fault Routine
What is an Interrupt?
An interrupt is an event that causes the controller to suspend the task it is
currently performing, perform a different task, and then return to the
suspended task at the point where it suspended. The Micrologix 1400
supports the following User Interrupts:
•
User Fault Routine
•
Event Interrupts (8)
•
High-Speed Counter Interrupts (6)
•
Selectable Timed Interrupt
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive