Reading the collision detection status

Description

The function block KRC_CDReadStatus is used to read the collision detection status.

Reading the collision detection status 1:

Inputs

Parameter

Type

Description

AxisGroupIdx

INT

Index of axis group

  • 1 … 5

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

Improved­Collmon

BOOL

System variable $IMPROVED_COLLMON

TRUE = the new collision detection functions are used

Active­Dataset­Index

INT

System variable $COLLMON_IDX

Index of the active collision detection dataset

Collision­Occured

BOOL

System variable $COLL_ALARM

TRUE = collision was detected and not handled yet