omron — Step 1: Acquire a handle to a robot

Acquire Image Tool Properties Referencing other objects and tools It is often useful to reference other objects in the wqorkspace when running a script. You can reference other objects by dragging and dropping vision tools from the Workspace Explorer to the body of the script as such: Data Collection Overview In this sample, the script will collect the encoder position for all 4 motors of a Cobra robot while the robot is moving. Do to this, the following steps will be required: l Acquire a handle to a robot l Identify the data to be collected l Collect the data l Extract the data l Save the data Step 1:

Acquire a handle to a robot We first drag and drop a robot from the workspace into the script. Since the script will be moving the robot, the script will ensure that robot power is enabled and the robot is calibrated. ACE Reference Guide, 18317-000 Rev A Page 628