Activating interrupts
Description
The function block KRC_ActivateInterrupt activates a previously declared interrupt. There are 8 predefined interrupts available for this.
The function block KRC_ReadInterruptState can be used to monitor and check whether an interrupt is active.
Inputs
|
Parameter |
Type |
Description |
|---|---|---|
|
AxisGroupIdx |
INT |
Index of axis group
|
|
ExecuteCmd |
BOOL |
The statement is buffered in the case of a rising edge of the signal. |
|
Interrupt |
INT |
Number of the interrupt
|
|
BufferMode |
INT |
Mode in which the statement is executed
(>>> BufferMode) |
Outputs
|
Parameter |
Type |
Description |
|---|---|---|
|
Busy |
BOOL |
TRUE = statement is currently being transferred or has already been transferred |
|
Done |
BOOL |
TRUE = statement has been processed |
|
Aborted |
BOOL |
TRUE = statement has been aborted |
|
Error |
BOOL |
TRUE = error in function block |
|
ErrorID |
DINT |
Error number |