A main robot program can execute the approach, paint and retract programs sequentially:
1.Select Program➔ Add Program.
2.Select Program➔ Program Call Instruction.
3.Enter the name ApproachMove or select Select program to automatically select it.
5.Repeat the previous steps for PaintTop and Retract as shown in the next image
Double clicking the Main Program will run the complete simulation. Right click the Main Program and select Loop to make it simulate in a loop.
If the reference frame Frame 2 is moved (for example, by holding Alt key and dragging the X/red axis of the reference frame), the object and targets will follow. If the targets become not reachable, a small warning sign will be displayed on the target icon as shown in the next image.