Writing the software limit switches of the external axes

Description

The function block KRC_WriteSoftEndExt writes the software limit switches of the external axes.

Writing the software limit switches of the external axes 1:
Function block KRC_WriteSoftEndExt

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.

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 °

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