AxisLocked Method
Description
Returns True when specified axis release free joint state.
Syntax
Function AxisLocked (AxisNumber As Integer) As Boolean
Parameters
- AxisNumber
A number between 1 and 9 indicating the axis number
Return Value
True if the specified axis is under servo control.
See Also
Slock Method, SFree Method
AxisLocked Example
VB Example:
If m_spel.AxisLocked(1) Then
lblAxis1.Text = "Robot axis \#1 is locked"
Else
lblAxis1.Text = "Robot axis \#1 is free"
End If
C# Example:
if (m_spel.AxisLocked(1))
lblAxis1.Text = "Robot axis \#1 is locked";
else
lblAxis1.Text = "Robot axis \#1 is free";