<< Prev        Next >>

ID : 587

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

Function

To return point data elements. Use "SelectHand[m,n].GetPoint" when an electric gripper and the cooperative control function are used together.

Syntax

Hand[n].GetPoint(point number, element number)

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

SelectHand[m,n].GetPoint(point number, element number)

Guaranteed Entry

Point number
Designate a point data number (0-31) by integer type data.
Element number
Designate a point data element by integer type data.

Return Value

Return a designated element value.

Description

A designated point data element is returned.

Element number Element Unit Return value data
0 Motion mode - Integer type data
1 Travel distance mm Single precision real number type data
2 Speed % Integer type data
3 Gripping force % Integer type data
4 ZON1 position mm Single precision real number type data
5 ZON2 position mm Single precision real number type data

Attention

Example

'!TITLE "Acquire a point data element"
' Acquire speed of  the point data 5 and display it on the message output window

Sub Sample_HandGetPoint

Dim aaa As Integer

' Acquire speed of point number 5 of electric gripper 0
aaa = Hand[0].GetPoint( 5, 2 )

'Display speed of point number 5 on the message output window
PrintDbg aaa

End Sub

ID : 587

<< Prev        Next >>