RoboDK Doc EN Robots ABB
RoboDK Doc EN Robots ABB
https://robodk.com/
[email protected]
+1-855-692-7772
Contents
ABB robots ........................................................................................................................................................ 1
Transfer a robot program ............................................................................................................................... 1
Start a robot program ..................................................................................................................................... 1
Retrieving the TCP......................................................................................................................................... 1
Transfer programs through FTP ..................................................................................................................... 3
RoboDK driver for ABB .................................................................................................................................. 5
ABB robots
RoboDK supports all ABB robots that are programmed in RAPID language, including PRG and MOD files
(IRC5, S4 and S4C robot controllers). This documentation is based on the IRC5 ABB robot controller.
The following sections demonstrate typical operations using an ABB robot teach pendant, for example, to
prepare a new robot program in RoboDK and transfer it to the robot.
When programs are transferred through FTP on the fly they need to be loaded using RAPID programming on
the robot side. The following example will run the main_RoboDK program from a module called
MOD_Pick_and_place:
MODULE RoboDK_FTP_Run_Program
! Enter the path to a folder with write access rights. Example:
CONST string PATH_ROBODK := "/hd0a/robot-serial-num/HOME/RoboDK";
PROC Main()
FTP_Run_Program;
ENDPROC
PROC FTP_Run_Program()
var num module_id := -1;
WHILE module_id <= 0 DO
TPErase;
TPReadNum module_id, "Enter the program to run. For example:
to run Prog2 in Module Prog2.mod type 2.";
ENDWHILE
FTP_Run_Program_ID(module_id);
ENDPROC
Load path_module;
ftp_program_loaded := path_module;
Tip: Download the module to run programs sent through FTP here.
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.
3. Run the Main program (you will find the Main program in RoboDK_Driver.mod).
Note: You may need to update the robot IP variable if you are using the RDK_DriverSocket.mod module (line
37):
CONST string SERVER_IP := "192.168.125.1";
The default communication port for the provided program is 2000 but it can also be changed.