Click or drag to resize

RapidCycle Property

Gets and sets the currently remaining execution cycles of all RAPID tasks

Namespace:  ABB.Robotics.Controllers.RapidDomain
Assembly:  ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax
C#
public ExecutionCycle Cycle { get; set; }

Property Value

Type: ExecutionCycle
The number of remaining execution cycles. If not all tasks have the same value, Undefined will be returned.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionis thrown if the value is outside the valid range
ResourceHeldExceptionWe are unable to take mastership.
InvalidOperationExceptionThis exception is thrown in Auto when trying to change running mode to Cycle and it is restricted to Continuous.
Remarks
An integer value 1 - 32767 can be set as well as Forever, Once and AsIs
Examples
This example sets the cycle to 10, and after 10 cycles rapid program will stop
using ABB.Robotics;
using ABB.Robotics.Controllers;
using ABB.Robotics.Controllers.RapidDomain;
...
Controller c = new Controller();
Rapid rapid = c.Rapid;
...
rapid.Cycle = (ExecutionCycle)10;
...
See Also