Reading the collision detection status
Description
The function block KRC_CDReadStatus is used to read the collision detection status.
Inputs
Parameter | Type | Description |
|---|---|---|
AxisGroupIdx | INT | Index of axis group
|
ExecuteCmd | BOOL | The statement is executed in the case of a rising edge of the signal. |
Outputs
Parameter | Type | Description |
|---|---|---|
Busy | BOOL | TRUE = statement is currently being transferred or has already been transferred |
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 |
OrderID | DINT | OrderID number |
ActiveCom | BOOL | System variable $COLLMON_ACTIVE_COM Status of the collision detection for manual mode |
ActivePro | BOOL | System variable $COLLMON_ACTIVE_PRO Status of the collision detection for program mode |
ImprovedCollmon | BOOL | System variable $IMPROVED_COLLMON TRUE = the new collision detection functions are used |
ActiveDatasetIndex | INT | System variable $COLLMON_IDX Index of the active collision detection dataset |
CollisionOccured | BOOL | System variable $COLL_ALARM TRUE = collision was detected and not handled yet |