Writing the software limit switches of the robot axes

Description

The function block KRC_WriteSoftEnd writes the software limit switches of the robot axes.

Writing the software limit switches of the robot axes 1:
Function block KRC_WriteSoftEnd

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.

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 °

BufferMode

INT

Mode in which the statement is executed

  • 0: DIRECT
  • 1: ABORTING
  • 2: BUFFERED

(>>> BufferMode)

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

Error

BOOL

TRUE = error in function block

ErrorID

DINT

Error number