ID : 586
Hand[n].CurPos / SelectHand[m,n].CurPos
Function
To return the current position. Use "SelectHand[m,n].CurPos" when an electric gripper and the cooperative control function are used together.
Syntax
Hand[n].CurPos
For the combination use of an electric gripper and the cooperative control function
SelectHand[m,n].CurPos
Return Value
Return by single precision real number type data.
Description
A current position (mm) during the electric gripper motion.
Attention
Up to 10 ms may be taken for acquisition of a current position during a motion.
Example
'!TITLE "Acquiring Electric gripper current position"
' Acquire electric gripper current position
Sub Sample_HandCurpos
Dim aaa As Single
' Acquire current position of electric gripper 0
aaa = Hand[0].CurPos
'Display current position on the message output window
PrintDbg aaa
End Sub
ID : 586