Hand[n].HoldState
Function
To return the hand gripping status.
Syntax
Hand[n].HoldState
Return value
Return the gripping status by integer type data.
Description
The hand gripping status is returned.
Only Get is enabled. Put is not available.
| Return value | Hand status |
|---|---|
| -1(True) | Gripping. |
| 0(False) | Not gripping. |
Related Terms
Attention
Example
'!TITLE "Acquire the hand gripping status of an electric gripper"
' Acquire the hand gripping status of an electric gripper and display it on the message output window
Sub Sample_HandHoldState
Dim aaa As Integer
' Assign the value which describes within the range to aaa
aaa = Hand[0].HoldState
' Display the value "0" which means releasing the gripper on the message output window
PrintDbg aaa
End Sub

