Sets bipolar torque limit

Namespace: EAL.Interfaces.Motion
Assembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)

Syntax

C#
void SetTorqueLimitBip(
	double torqueLimit
)
Visual Basic
Sub SetTorqueLimitBip ( 
	torqueLimit As Double
)
Visual C++
void SetTorqueLimitBip(
	double torqueLimit
)

Parameters

torqueLimit
Type: System..::..Double
Torque limit value to set

Examples

Synchronous method
 Copy imageCopy
private static void Sample()
{
    using (IEALConnection ealConnection = new EALConnection())
    {
        ealConnection.Connect("192.168.0.10");                            // Connects to real drive
        IAxis axis = ealConnection.Motion.Axes[0];        // Gets axis
        axis.SetTorqueLimitBip(50);                // Sets positive position limit
        ealConnection.WaitUntilQueueComplete();             // Waits untill queue completes
        double torqueLimitPos = axis.GetTorqueLimitBip();  // torqueLimitPos will be 50
    }
}
Asynchronous method
 Copy imageCopy
private static void Sample()
{
    using (IEALConnection ealConnection = new EALConnection(true))  // Asynchronous flag is true
    {
        ealConnection.Connect("192.168.0.10");                            // Adds Connect task to queue        
        IAxis axis = ealConnection.Motion.Axes[0];        // Gets axis
        axis.SetTorqueLimitBip(50);                // Set positive position limit task will be added to queue
        ealConnection.WaitUntilQueueComplete();             // Waits untill queue completes
        double torqueLimitPos = axis.GetTorqueLimitBip();  // torqueLimitPos will be 50
    }
}

See Also