Click or drag to resize

Task Methods

The Task type exposes the following members.

Methods
  NameDescription
Public methodCode exampleCallRoutine(String)
Executes the specified routine.
Public methodCode exampleCallRoutine(String, RegainMode)
Starts executing the specified routine.
Public methodCallServiceRoutine Obsolete.
Executes the specified service routine.
Public methodCode exampleCancelRoutine
Cancels any current execution of a routine called with CallRoutine(String, RegainMode) and restores the execution stack.
Public methodCancelServiceRoutine Obsolete.
Cancels any current execution of a service routine and restores the execution stack.
Public methodCode exampleDeleteProgram
Deletes the RAPID program of the task from the controller program memory.
Public methodDispose
Disposes the managed resources of the instance.
(Inherited from SDKDisposeBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodCode exampleGetJointTarget
Get the current position for mechanical unit connected to task as JointTarget.
Public methodCode exampleGetModule
Gets a Module object that refers to a specific RAPID module.
Public methodCode exampleGetModules
Gets the modules defined in the task.
Public methodCode exampleGetRapidData
Gets a RapidData object that references a RAPID data instance in the robot controller.
Public methodCode exampleGetRobTarget
Get the current position for mechanical unit connected to task as RobTarget, using tool and workobject active for jogging.
Public methodCode exampleGetRobTarget(String, String)
Get the current position for mechanical unit connected to task as RobTarget.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoadModuleFromFile
Loads a RAPID module to the task.
Public methodCode exampleLoadProgramFromFile
Loads a RAPID program into the robot controller program memory.
Public methodCode exampleModifyPosition(String, TextRange)
Modifies the data of the first rob target found in the context of the TextRange parameter.
Public methodModifyPosition(String, Int32)
Modifies the data of the first rob target found in the specified row.
Public methodCode exampleModifyPosition(String, TextRange, ModPosExternalAxis)
Modifies the data of the first rob target found in the context of the TextRange parameter.
Public methodCode exampleModifyPosition(String, Int32, ModPosExternalAxis)
Modifies the data of the first rob target found in the specified row.
Public methodCode exampleResetProgramPointer
Resets the program pointer of this task to its main routine.
Public methodCode exampleSaveProgramToFile
Saves the current program at the provided location.
Public methodCode exampleSearchRapidSymbol
General RapidSymbol search method. Searches the task for symbols that match the specified criteria.
(Overrides RapidSymbolSearchRapidSymbol(RapidSymbolSearchProperties, String, String).)
Public methodSetProgramPointer(ProgramPointer)
Sets PP to a position in a RAPID module.
Public methodCode exampleSetProgramPointer(String, Int32)
Sets PP to a specific row of the current routine.
Public methodCode exampleSetProgramPointer(String, String)
Sets program pointer to the first instruction of a routine (global or local).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also