CVMove Method
Description
Performs the continuous spline path motion defined by the Curve instruction.
Syntax
Sub CVMove (FileName As String [, OptionList As String])
Parameters
- FileName
A string expression indicating the file name created by the Curve instruction. - OptionList
Optional. A character string indicating the Till specification.
Remarks
Use CVMove to execute a path defined with the Curve method. See the SPEL+ command CVMove for more details. If you need to execute CVMove with CP, it is recommended that you execute CVMove from a SPEL+ task rather than from your application. The reason for this is that for CP motion to perform properly, the system needs to know ahead of time where the next motion target is. Since the RC+ API commands are executed one at a time, the system does not know ahead of time where the next target is.
See Also
Curve Method, CVMove (SPEL+ Command)
CVMove Example
VB Example:
m_spel.Curve("mycurveFile", True, 0, 4, "P(1:3), On 1, P(4:7)")
m_spel.CVMove("mycurveFile", "CP Till Sw(1) = 1")
m_spel.CVMove("mycurveFile")
C# Example:
m_spel.Curve("mycurveFile", True, 0, 4, "P(1:3), On 1, P(4:7)");
m_spel.CVMove("mycurveFile", "CP Till Sw(1) = 1");
m_spel.CVMove("mycurveFile");