Tracking a scene on the conveyor
Description
The function block KRC_ConvTrackingOn enables the robot to track a scene (workpiece) on the conveyor. The different input parameters of the function block can be used to define the following:
- the scene desired to be tracked
- the setting whether to move to a standby position (configured in iiQKA.ConveyorTech) until the scene is available
- the offsets added to the start and end of the work area
- the offset added to the end of the synchronization area
- the offset added to the alarm distance
- the retraction motion to be executed in case of an interrupt
Inputs
Parameter | Type | Description |
|---|---|---|
AxisGroupIdx | INT | Index of axis group
|
ExecuteCmd | BOOL | Starts execution in the case of a rising edge of the signal. |
ConveyorIndex | INT | Index of conveyor
|
SceneSelection | INT | Scene to be tracked
|
SceneStepOffset | INT | Only used if value of SceneSelection is set to StepScenes. Number of scenes to be skipped between two consecutive scenes |
SceneAbsoluteId | INT | Only used if value of SceneSelection is set to AbsoluteScene. Absolute index of the scene to be tracked |
MoveToStandby | BOOL | TRUE = If the desired scene is not yet present, the robot moves to standby position |
StartOfWorkAreaOffset | REAL | Offset added to the start of the work area |
EndOfSyncAreaOffset | REAL | Offset added to the end of the synchronization area |
AlarmDistanceOffset | REAL | Offset added to the alarm distance |
EndOfWorkAreaOffset | REAL | Offset added to the end of the work area |
RetractionMotionVelocity | REAL | Velocity of the retraction motion |
RetractionMotionAcceleration | REAL | Acceleration of the retraction motion |
RetractionMotionVectorX | REAL | Relative retraction motion in X direction |
RetractionMotionVectorY | REAL | Relative retraction motion in Y direction |
RetractionMotionVectorZ | REAL | Relative retraction motion in Z direction |
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 |
OrderID | DINT | OrderID number |