Gets bipolar torque limit
Namespace: EAL.Interfaces.MotionAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
Syntax
| C# |
|---|
double GetTorqueLimitBip() |
| Visual Basic |
|---|
Function GetTorqueLimitBip As Double |
| Visual C++ |
|---|
double GetTorqueLimitBip() |
Return Value
Type: DoubleBipolar torque limit
Examples
Synchronous method
Asynchronous method
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 } } | |
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 } } | |