Standard
RLL
Instructions
5--80
Standard RLL Instructions
Interrupt Instructions
DL105 PLC User Manual, 3rd Edition
Interrupt Instructions
O
The Interrupt instruction allows a section of
ladder logic to be placed below the main
body of the program and executed only
when needed. High-Speed I/O Modes 10,
20, and 40 can generate an interrupt. With
Mode 40, you may select an external
interrupt (input X0), or a time-based
interrupt (5--999 mS).
INT
Typically, interrupts are used in an application when a fast response to an input is
needed or a program section must execute faster than the normal CPU scan. The
interrupt label and all associated logic must be placed after the End statement in the
program. When an interrupt occurs, the CPU will complete execution of the current
instruction it is processing in ladder logic, then execute the interrupt routine. After
interrupt routine execution, the ladder program resumes from the point at which it
was interrupted.
See Chapter 3, the section on Mode 40 (Interrupt) Operation for more details on
interrupt configuration. In the DL105, only one interrupt is available.
Operand Data Type
DL130 Range
Constant
O
0
An Interrupt Return is normally executed as
the last instruction in the interrupt routine. It
returns the CPU to the point in the main
program from which it was called. The
Interrupt
Return
is
a
stand-alone
instruction (no input contact on the rung).
IRT
The Enable Interrupt instruction is placed in
the main ladder program (before the End
instruction), enabling the interrupt. The
interrupt remains enabled until the program
executes a Disable Interrupt instruction.
ENI
A Disable Interrupt instruction in the main
body of the application program (before
the End instruction) will disable the
interupt (either extenal or timed). The
interrupt remains disabled until the
program executes an Enable Interrupt
instruction.
DISI
Interrupt
(INT)
Interrupt Return
(IRT)
Enable Interrupts
(ENI)
Disable Interrupts
(DISI)
Содержание DL105
Страница 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Страница 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Страница 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Страница 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Страница 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...
Страница 329: ...1F European Union Directives CE In This Appendix European Union EU Directives Basic EMC Installation Guidelines...