Deleting a workpiece on the conveyor
Description
The KRC_ConvDelWPS function block deletes the specified number of workpieces from the workpiece list of the conveyor driver. Deletion starts with the oldest workpiece in the list.
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
|
PieceNumber |
INT |
Number of workpieces to be deleted |
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 |