HomeSet Function
Returns pulse values of the home position for the specified joint.
Syntax
HomeSet(jointNumber)
Parameters
- jointNumber
- Specify the joint number for which the HomeSet value is desired, either as an expression or a numerical value. The additional S axis is 8 and T axis is 9.
Return Values
Returns pulse value of joint home position. When jointNumber is “0”, returns “1” when HomeSet has been set or “0” if not.
See Also
HomeSet Statement
HomeSet Function Example
This example uses the HomeSet function in a program:
Function DisplayHomeSet
Integer i
If HomeSet(0) = 0 Then
Print "HomeSet is not defined"
Else
Print "HomeSet values:"
For i = 1 To 4
Print "J", i, " = ", HomeSet(i)
Next i
EndIf
Fend