Topic: DMD0365

Help File Version: 2.9.4.37

INTRESUME - Resume Interrupts


All of the BRX MPUs and BRX HSIO modules (BX-HSIO1, BX-HSIO2) support hardware interrupts and timed events that can be used to initiate the execution of an Interrupt Service Routine (ISR). These interrupt events must be programmed through an Interrupt Trigger that specifies the type of trigger with the required triggering conditions, and which Interrupt Service Routine to execute when that trigger is fired.

 

If the Interrupt processing has been suspended through by a Suspend Interrupt (INTSUSPEND) instruction, the Resume Interrupts instruction will instruct the MPU to resume normal processing of all Event, Register Match, and Timer interrupts.

 

 

The Clear any Pending Interrupts selection specifies what to do when any interrupt triggers fire while interrupt processing is suspended.

When DISABLED (the default), if an interrupt trigger fires, the associated ISR will be queued for processing one time after interrupt processing is resumed. Even if the same interrupt trigger fires multiple times the ISR will still only run one time. Note: There are potentially 12 interrupt triggers per BRX MPU, and potentially 12 additional interrupt triggers per BRX HSIO module, so there could be a lot of processing queued up to do on the scan following the resumption of interrupt processing. Choosing to queue interrupts could amount to a significant amount of processing that will occur when interrupt processing resumes, which in turn could lead to a significant bump to the PLC scan time.

 

When ENABLED, if an interrupt trigger fires, the associated ISR will NOT be queued for processing once interrupt processing is resumed.

Input Leg selects which of the following power-flow conditions will cause this instruction to run:

 

  • Edge Triggered means the instruction will run to completion each time the input ladder logic transitions from OFF to ON.
     
  • Power flow enabled means the instruction will run repeatedly as long as the input ladder logic remains ON.

 


See Also:

INTCONFIG - Interrupt Configuration Editor

 

INTDECONFIG - Deconfigure Interrupt

 

INTRESUME - Resume Interrupts

 

INTSUSPEND - Suspend Interrupts

 


Related Topics:

Interrupt Service Routine Code-block Configuration

 

Interrupt Triggers in System Configuration