Download the MOD driver files for ABB from the customer area.
3.Load the RDK_DriverSocket.mod module to the robot (using a USB drive, FTP transfer or ABB RobotStudio). It should be used as the main task and this module already contains the Main program call.
Alternatively, use the RDK_DriverSerial.mod module if you prefer using the RS232 connection.
Follow these steps on the ABB teach pendant to load the program from the teach pendant:
a.Select ABB➔Program Editor
b.Select Tasks and Programs (at the top)
c. Select Show Modules (at the bottom)
d.Select File➔Load Module… (select YES to lose the program pointer)
e.Select the mod file, then select OK.
4.Run the Main program (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.