Writing data of selected collision detection dataset

Description

The function block KRC_CDWriteDataset is used to write data of the selected collision detection dataset.

Writing data of selected collision detection dataset 1:

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.

BufferMode

INT

Mode in which the statement is executed

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

(>>> BufferMode)

DatasetIndex

INT

Index of the data set which is to be written

  • 1 … 30

TresholdA1

INT

Collision detection threshold for robot axis A1 … A6

  • 0 … 500

TresholdA2

INT

TresholdA3

INT

TresholdA4

INT

TresholdA5

INT

TresholdA6

INT

TresholdE1

INT

Collision detection threshold for external axis E1 … E6

  • 0 … 500

TresholdE2

INT

TresholdE3

INT

TresholdE4

INT

TresholdE5

INT

TresholdE6

INT

Outputs

Parameter

Type

Description

Busy

BOOL

TRUE = statement is currently being transferred or has already been transferred

Active

BOOL

TRUE = statement is currently being executed

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

OrderID

DINT

OrderID number