Pass Method
Description
Specifies the PTP motion to pass a neighborhood of a specified point without stopping motion.
Syntax
Sub Pass(PointNumber As Integer)
Sub Pass(PassExpr As String )
Parameters
- PointNumber
Specifies a waypoint using the point number of a previously taught point in the Controller’s point memory for the current robot. - PassExpr
Specifies the end point using a string expression.
Point specification [, {On | Off | MemOn | MemOff} Bit number [,point specification ...]] [LJM [Orientation flag]]
Point specification Specifies a point number, P(expression), or point label. If the point data is complete and listed in ascending or descending order, two point numbers can be combined using a colon and specified like P(1:5).
Bit number Specifies I/O output bit or memory I/O bit to turn on/off using an integer or output label.
LJM Converts the departure coordinates, approach coordinates, and target coordinates using the LJM function. Optional.
Orientation flag Specifies the orientation flag parameter for the LJM function. Optional.
See Also
Accel Method, Go Method, Jump Method, Speed Method
Pass Example
VB Example:
m_spel.Jump(1)
m_spel.Pass(2) 'Move the Arm #2 closer to P2 and execute the following
command before reaching P2
m_spel.On(2)
m_spel.Pass(3)
m_spel.Pass(4)
m_spel.Off(0)
m_spel.Pass(5)
C# Example:
m_spel.Jump(1);
m_spel.Pass(2);// Move the Arm #2 closer to P2 and execute the following
command before reaching P2
m_spel.On(2);
m_spel.Pass(3);
m_spel.Pass(4);
m_spel.Off(0);
m_spel.Pass(5);