CALL attach_robot (args[], error)
Function
Statement execution routine for the ATTACH_ROBOT statement. It attaches a previously detached robot to the current robot runtime task. This statement is available only if the AIM Command Server(ACS) option is installed. For details on ACS, see the MotionWare User's Guide.
Usage Considerations
Statement Syntax
Input Parameter
No arguments are used. Therefore, this parameter can be omitted. However, the comma is still required in front of the "error" parameter..
Output Parameter
Real variable that receives a value indicating whether or not the operation was successful and what action should be taken by the calling routine. See the standard operator error response code values.
Details
This attaches a previously detached robot to the current robot runtime task. The statement is permitted to attach only the robot that is selected for the task.
This statement is designed to be used with the DETACH_ROBOT statement to provide a way to perform actions that require the robot to be detached from the current task (for example, CALIBRATE, DISABLE POWER, etc.).
The operations performed by this statement are:
Related Routines