Activating interrupts for monitoring
Description
The function block KRC_ActivateConvInterrupt activates the following interrupts:
- Alarm distance monitoring
- Maximum distance monitoring
- $STOPMESS error monitoring
An interrupt cannot be processed until the interrupt has been activated by the main run of the robot interpreter.
The monitoring functions are activated by the function blocks KRC_ConvFollow and KRC_ConvSkip insofar as these have been successfully synchronized with a workpiece. Calling this function block is only necessary if the monitoring function is to be ended and reactivated.
Inputs
Parameter |
Type |
Description |
---|---|---|
AxisGroupIdx |
INT |
Index of axis group
|
ExecuteCmd |
BOOL |
Starts/buffers the motion in the case of a rising edge of the signal. |
ConveyorNumber |
INT |
Number of the conveyor
|
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 |
Active |
BOOL |
TRUE = statement is currently being executed |
Done |
BOOL |
TRUE = statement has been executed |
Aborted |
BOOL |
TRUE = statement has been aborted |
Error |
BOOL |
TRUE = error in function block |
ErrorID |
DINT |
Error number |