ECP Method

Description
Selects the current ECP definition.

Syntax
Sub ECP (ECPNumber As Integer)

Parameters

  • ECPNumber
    Optional. An integer from 0 to 15 indicating which of the 16 ECP definitions to use with the next motion instruction. ECP 0 disables the ECP selection

See Also
ECPSet Method

ECP Example
VB Example:

m_spel.ECP(1)  
m_spel.Move("P1 ECP")  

C# Example:

m_spel.ECP(1);  
m_spel.Move("P1 ECP");