RapidStart Method (RegainMode, ExecutionMode, ExecutionCycle) |
Note: This API is now obsolete.
Namespace: ABB.Robotics.Controllers.RapidDomain
[ObsoleteAttribute("This method will be removed. ExecutionCycle should be set using the Cycle property. Using this method will change the Execution cycle set on the controller.", false)] public StartResult Start( RegainMode regMode, ExecutionMode execMode, ExecutionCycle cycle )
Exception | Condition |
---|---|
ResourceHeldException | We are unable to take mastership. |
InvalidOperationException | This exception is thrown in Auto when current running mode is Cycle and Start is restricted to Continuous. |
using ABB.Robotics; using ABB.Robotics.Controllers; using ABB.Robotics.Controllers.RapidDomain; ... Controller c = new Controller(); Rapid rapid = c.Rapid; ... rapid.Start(RegainMode.Clear, ExecutionMode.Continuous, ExecutionCycle.Forever);