Table 10-3: Interrupt Mask - Addi-Data ADDINUM PA 1500 Technical Description

Digital input and output board
Table of Contents

Advertisement

PA 1500
The following errors are possible:
overtemperature
-
short-circuit
-
no voltage is available
-
If several boards are operated and if they have to react to interrupts, the
variable b_BoardHandle returns the identification number (handle) of the
board which has generated the interrupt.
The user interrupt routine must have the following Syntax:
VOID v_FunctionName
v_FunctionName
b_BoardHandle
b_InterruptMask
0000 0001
0000 0010
0000 0100
0000 1000
0001 0000
0010 0000
0100 0000
1000 0000
The user can give another name for v_FunctionName, b_BoardHandle,
b_InterruptMask, b_InputChannelNbr.
(BYTE b_BoardHandle,
BYTE b_InterruptMask,
BYTE b_InputChannelNbr)
Name of the user interrupt routine
Handle of the PA 1500 which has
generated the interrupt
Mask of the events which have
generated the interrupt.
b_InputChannelNbrIf an interrupt is
generated with a Mask 0000 0001 and if
you use the OR-PRIORITY logic, this
variable gives the input number which
have generated the interrupt.

Table 10-3: Interrupt mask

Mask
Event 1 has occurred
Event 2 has occurred
Counter/timer 1 has run down
Counter/timer 2 has run down
Counter 3 has run down
Watchdog has run down
Voltage error
Short-circuit error
Standard software
Meaning
45

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADDINUM PA 1500 and is the answer not in the manual?

Questions and answers

Table of Contents