Stopping the teaching of collision detection values

Description

The function block KRC_CDStopTeaching is used to stop teaching of collision detection values. The user can decide whether to apply values automatically or retrieve the values and decide what to do with them (apply with modifications via function block KRC_CDWriteDataset).

Stopping the teaching of collision detection values 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

  • 1: ABORTING
  • 2: BUFFERED

(>>> BufferMode)

Apply

BOOL

TRUE = learned values are applied automatically to the dataset specified in function block KRC_CDStartTeaching

ApplyHigherOnly

BOOL

TRUE = only the data for those axes of the dataset are overwritten, for which the new learned value is higher than the original threshold

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

Teaching­ResultA1

INT

Learned collision detection value for robot axis A1 … A6

If the parameter Apply was set to TRUE, the new values of the dataset are returned. If the parameter Apply was set to FALSE, the learned values are still returned, but the dataset is not updated.

Teaching­ResultA2

INT

Teaching­ResultA3

INT

Teaching­ResultA4

INT

Teaching­ResultA5

INT

Teaching­ResultA6

INT

Teaching­ResultE1

INT

Learned collision detection value for external axis E1 … E6

If the parameter Apply was set to TRUE, the new values of the dataset are returned. If the parameter Apply was set to FALSE, the learned values are still returned, but the dataset is not updated.

Teaching­ResultE2

INT

Teaching­ResultE3

INT

Teaching­ResultE4

INT

Teaching­ResultE5

INT

Teaching­ResultE6

INT