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.
Inputs
Parameter |
Type |
Description |
---|---|---|
AxisGroupIdx |
INT |
Index of axis group
|
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
|
Error |
BOOL |
TRUE = error in function block |
ErrorID |
DINT |
Error number |