Querying the current speed of the conveyor

Description

The function block KRC_GetConvSpeed is used to query the current speed of the conveyor.

Querying the current speed of the conveyor 1:

Inputs

Parameter

Type

Description

AxisGroupIdx

INT

Index of axis group

  • 1 … 5

ExecuteCmd

BOOL

Starts execution in the case of a rising edge of the signal.

ConveyorIndex

INT

Index of conveyor

  • 1 … 5

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

Speed

REAL

Speed of the selected conveyor

Unit: mm/s

Error

BOOL

TRUE = error in function block

ErrorID

DINT

Error number

OrderID

DINT

OrderID number