<< Prev        Next >>

ID : 651

Hand[n].HoldState / SelectHand[m,n].HoldState

Function

To return the hand gripping status. Use "SelectHand[m,n].HoldState" when an electric gripper and the cooperative control function are used together.

Syntax

Hand[n].HoldState

For the combination use of an electric gripper and the cooperative control function

SelectHand[m,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.

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

ID : 651

<< Prev        Next >>