Communication Interrupts; External Interrupts - Delta Electronics AH500 Operation Manual

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

8.5.5 Communication Interrupts

A communication interrupt can be used as the instruction RS, that is, the reception of a specific character
triggers a communication interrupt. A communication interrupt can also be used as a general interrupt. Please
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.
8 - 7 2
C h a p t e r 8 H a r d wa r e C o n f i g u r a t i o n

Advertisement

Table of Contents
loading

Table of Contents