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.

Deleting a workpiece on the conveyor 1:
Function block KRC_ConvDelWPS

Inputs

Parameter

Type

Description

AxisGroupIdx

INT

Index of axis group

  • 1 … 5

ExecuteCmd

BOOL

Starts/buffers the motion in the case of a rising edge of the signal.

ConveyorNumber

INT

Number of the conveyor

  • 1 … 3

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