Reading the software limit switches of the robot axes

Description

The function block KRC_ReadSoftEnd reads the software limit switches of the robot axes.

Reading the software limit switches of the robot axes 1:
Function block KRC_ReadSoftEnd

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

A1_Min … A6_Min

REAL

Negative software limit switch of axis A1 … A6

Unit: mm or °

A1_Max … A6_Max

REAL

Positive software limit switch of axis A1 … A6

Unit: mm or °

Error

BOOL

TRUE = error in function block

ErrorID

DINT

Error number