Python OLP

Python programs can be generated offline using the same Python code used to simulate the robot (as shown in the previous Python Simulation section). Offline Programming allows generating robot programs that can be executed on a specific robot controller:

1.Right click a RoboDK API - Image 8Python program

2.Select Generate robot program (F6)

In this case the program is not simulated but executed quickly to obtain the result: a robot program specific to a robot controller.

RoboDK API - Image 9

RDK = Robolink()

RDK.setRunMode(RUNMODE_MAKE_ROBOTPROG)