Task Class |
Namespace: ABB.Robotics.Controllers.RapidDomain
public sealed class Task : RapidSymbol, IDisposable
The Task type exposes the following members.
Name | Description | |
---|---|---|
ControllerType |
Gets the ControllerType.
(Inherited from SDKBase.) | |
Enabled |
Gets or sets a value indicating if the task will start when RAPID execution is started.
| |
ExecutionState |
Gets the current execution state of the task.
| |
ExecutionType |
Gets the current execution type of the task.
| |
MotionPointer |
Gets the position of the motion pointer (MP) in the task.
| |
Name |
Gets the name of the RapidSymbol.
(Inherited from RapidSymbol.) | |
ProgramName |
Gets or sets the name of the program currently loaded in the Task.
| |
ProgramPointer |
Gets the position of the program pointer (PP) in the task.
| |
Scope |
Gets the scope of the RapidSymbol, i.e. TASK,MODULE,ROUTINE,...
(Inherited from RapidSymbol.) | |
TaskType |
Gets the type of the current task.
| |
Type |
Get the type of the RapidSymbol.
(Inherited from RapidSymbol.) |
Name | Description | |
---|---|---|
CallRoutine(String) |
Executes the specified routine.
| |
CallRoutine(String, RegainMode) |
Starts executing the specified routine.
| |
CallServiceRoutine | Obsolete.
Executes the specified service routine.
| |
CancelRoutine |
Cancels any current execution of a routine called with CallRoutine(String, RegainMode) and restores the execution stack.
| |
CancelServiceRoutine | Obsolete.
Cancels any current execution of a service routine and restores the execution stack.
| |
DeleteProgram |
Deletes the RAPID program of the task from the controller program memory.
| |
Dispose |
Disposes the managed resources of the instance.
(Inherited from SDKDisposeBase.) | |
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetJointTarget |
Get the current position for mechanical unit connected to task as JointTarget.
| |
GetModule |
Gets a Module object that refers to a specific RAPID module.
| |
GetModules | Gets the modules defined in the task. | |
GetRapidData |
Gets a RapidData object that references a RAPID data
instance in the robot controller.
| |
GetRobTarget |
Get the current position for mechanical unit connected to task as RobTarget, using tool and workobject active for jogging.
| |
GetRobTarget(String, String) |
Get the current position for mechanical unit connected to task as RobTarget.
| |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
LoadModuleFromFile |
Loads a RAPID module to the task.
| |
LoadProgramFromFile |
Loads a RAPID program into the robot controller program memory.
| |
ModifyPosition(String, TextRange) |
Modifies the data of the first rob target found in the context of the TextRange parameter.
| |
ModifyPosition(String, Int32) |
Modifies the data of the first rob target found in the specified row.
| |
ModifyPosition(String, TextRange, ModPosExternalAxis) |
Modifies the data of the first rob target found in the context of the TextRange parameter.
| |
ModifyPosition(String, Int32, ModPosExternalAxis) |
Modifies the data of the first rob target found in the specified row.
| |
ResetProgramPointer |
Resets the program pointer of this task to its main routine.
| |
SaveProgramToFile |
Saves the current program at the provided location.
| |
SearchRapidSymbol |
General RapidSymbol search method. Searches the task for symbols that match the specified criteria.
(Overrides RapidSymbolSearchRapidSymbol(RapidSymbolSearchProperties, String, String).) | |
SetProgramPointer(ProgramPointer) |
Sets PP to a position in a RAPID module.
| |
SetProgramPointer(String, Int32) |
Sets PP to a specific row of the current routine.
| |
SetProgramPointer(String, String) |
Sets program pointer to the first instruction of a routine (global or local).
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ExecutionStateChanged |
This event is raised when the execution state of the task is changed.
| |
MotionPointerChanged |
This event is raised when the task's motion pointer (MP) is changed.
| |
ProgramChanged |
This event is raised when the task's program is changed.
| |
ProgramPointerChanged |
This event is raised when the task's program pointer (PP) is changed.
|