Reading the software limit switches of the external axes

Description

The function block KRC_ReadSoftEndExt reads the software limit switches of the external axes.

Reading the software limit switches of the external axes 1:
Function block KRC_ReadSoftEndExt

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

Done

BOOL

TRUE = statement has been executed

E1_Min … E6_Min

REAL

Negative software limit switch of axis E1 … E6

Unit: mm or °

E1_Max … E6_Max

REAL

Positive software limit switch of axis E1 … E6

Unit: mm or °

Error

BOOL

TRUE = error in function block

ErrorID

DINT

Error number