Robot drivers provide an alternative to Offline Programming. Robot drivers allow you to run a simulation directly on the robot (Online Programming). More information available in theRobot Driverssection.
A connection between RoboDK and the ABB robot can be established to move the robot automatically from a connected PC using RoboDK. This allows using RoboDK’sRun on robotoption for online programming and debugging. The connection can be established through an Ethernet connection (TCP/IP) or a Serial connection (RS232).
Follow these steps to set up the RoboDK driver for ABB robots:
1.Connect the computer to the robot using an Ethernet cable (or RS232 connection if you are planning to use serial connection).
2.Load theRDK_DriverSocket.modmodule to the robot (using a USB drive, FTP transfer or RobotStudio). It should be used as the main task and this module already contains the Main program call.
Alternatively, use theRDK_DriverSerial.modmodule if you prefer using the RS232 connection.
Follow these steps on the ABB teach pendant to load the program from the teach pendant:
a.SelectABB➔Program Editor
b.SelectTasksandPrograms(at the top)
c.SelectShow Modules(at the bottom)
d.SelectFile➔Load Module…(select YES to lose the program pointer)
e.Select themodfile, then select OK.
3.Run theMainprogram (you will find the Main program in RoboDK_Driver.mod).
CONST string SERVER_IP := "192.168.125.1";
The default communication port for the provided program is 2000 but it can also be changed.