Reading the state of the TouchUp status keys

Description

The function block KRC_ReadTouchUPState reads the current state of the TouchUp status keys on the smartPAD. In order to be able to teach points using the status keys on the smartPAD, the function block must be linked to the function block KRC_TouchUP.

Reading the state of the TouchUp status keys 1:
Function block KRC_ReadTouchUPState

Inputs

Parameter

Type

Description

AxisGroupIdx

INT

Index of axis group

  • 1 … 5

Outputs

Parameter

Type

Description

Valid

BOOL

TRUE = data are valid

TouchUP

BOOL

State of the TouchUp status key on the smartPAD

TRUE = TouchUp status key has been pressed.

Index

INT

Number selected using the status key on the smartPAD to teach a position

  • 1 … 100

Error

BOOL

TRUE = error in function block

ErrorID

DINT

Error number