HomeSet Method
Description
Specifies the position used by the Home method.
Syntax
Sub HomeSet (J1Pulses As Integer, J2Pulses As Integer, J3Pulses As Integer, J4Pulses As Integer ,J5Pulses As Integer, J6Pulses As Integer [, J7Pulses As Integer] [, J8Pulses As Integer][, J9Pulses As Integer])
Parameters
- J1Pulses - J9Pulses
The Home position encoder pulse value for each joint. Joints 7, 8, and 9 are optional.
See Also
Home Method, MCal Method
HomeSet Example
VB Example:
' Set the home position at the current position
With m_spel
.HomeSet(.Pls(1), .Pls(2), .Pls(3), .Pls(4), 0, 0)
End With
C# Example:
//Set the home position at the current position
m_spel.HomeSet(m_spel.Pls(1), m_spel.Pls(2), m_spel.Pls(3),
m_spel.Pls(4), 0 ,0);