Delta Electronics AH500 — 8.5.6 External Interrupts

Chapter 8 Hardware Configuration refer to AH500 Programming Manual for more information about the instruction RS. COM1: I32 COM2: I33 8.5.6 External Interrupts There are 212 external interrupts (I40~I251). If a peripheral device sends an interrupt request, the corresponding interrupt task will be executed. Take AH06XA-5A for instance. The steps of setting AH06XA-5A are as follows. (1) After users click Channel mode setting in the Parameter Setting window, they can set CH0/CH1/CH2/CH3 input mode setting . (2) After the users click Interrupt enable , they can set CH0/CH1/CH2/CH3 interrupt of over physics Range .

(3) After the users click Interrupt number , they can type interrupt numbers in the Initial cells. If an input signal received by input channel 0 exceeds the range, the external interrupt I40 will be triggered. However, if no POU is assigned to the external interrupt I40, or the POU assigned to the external interrupt I40 is not downloaded to the special high-speed module, an error will occur in AH06XA-5A.  Interrupts can not be executed simultaneously. If other interrupts are triggered when one interrupt is executed, the interrupts triggered will be recorded. After the execution of the interrupt is finished, the interrupt which has priority over the other interrupts will be executed next.

 If an interrupt is triggered repeatedly when it is executed, only one interrupt will be recorded, and the other interrupts will be ignored. Users can not set two different interrupt conditions for one interrupt number. For example, if I220 is used by a network module, it can not be used by an analog input/output module. 8-72