Using Multiple Robots

You can control more than one robot in the same project. Use the Robot statement to switch the current robot for the current task. For most applications, you should use a separate task for each robot.

Each robot has its own set of point files. You can configure which point files to use in the Project Editor. The default point file you configure for each robot is automatically loaded into memory when the main task is started.

The following program is an example where two robots run simultaneously, each with its own task.

Function main
  Xqt RB1
  Xqt RB2
Fend

Function RB1
  Robot 1
  Speed 50
  Do
    Jump pick
    On gripper1
    Wait .1
    Jump place
    Off gripper1
    Wait .1
  Loop
Fend

Function RB2
  Robot 2
  Speed 50
  Do
    Jump pick
    On gripper2
    Wait .1
    Jump place
    Off gripper2
    Wait .1
  Loop
Fend