RoboDK driver for Fanuc

Robot drivers provide an alternative to Offline Programming (where a program is generated, then, transferred to the robot and executed). With robot drivers, it is possible to run a simulation directly on the robot (Online Programming). More information available in the Robot Drivers section.

A connection between RoboDK and the Fanuc robot can be established to move the robot automatically from a connected PC using RoboDK. This allows using the RoboDK Run on robot option for online programming and debugging. The connection can be established through a standard Ethernet connection (TCP/IP).

Follow these steps to set up the RoboDK driver for Fanuc:

1.Download the Fanuc driver program files and transfer the following robot programs to the robot controller:

a.RDK_S3.PC This is the main program that manages the communication through S3 (socket communication port number 3 – S3). Make sure to select the correct version (latest Fanuc robot controllers require using the version under the V9 folder).

b.GO_MJ.TP

c.GO_ML.TP

d.GO_MC.TP

e.GO_PROG.TP

Follow these steps on the robot teach pendant to prepare the communication between your Fanuc robot and RoboDK:

1.Select Menu-(Next)-System-[TYPE]-Variables.

a.Select $HOSTS_CFG (holding shift while selecting key down will help you scroll down faster)

b.Select Number 3

c.Set $SERVER_PORT to 2000          
($HOSTS_CFG[3].$SERVER_PORT = 2000)

2.Select Menu-Setup

3.Select [TYPE]-Host comm

4.Select [SHOW]-Servers

5.Select “S3”-Enter.

a.Set Protocol Name to SM

b.In Port Name, if multiple ports are available: Set Port to P3 (or the corresponding port).

c.Set Inactivity Timeout to 9999

d.Set Startup state to [CHOICE] START

e.Set Current state to STARTED:        
To do so, select [ACTION]-DEFINE, then [ACTION]-START

6.Start the program RDK_S3:

a.Select the Select button from the teach pendant.

b.Scroll down towards the RDK_S3 program

c.Select Enter (button from the teach pendant)

d.Select Shift-Reset and Shift-Forward to start the program   
You should see the RUNNING message on the teach pendant. If the program failed to run it is likely that you don’t have a robot option (PC Interface or User Socket Messaging) or you did not take the correct version of the PC program.

Robots Fanuc - Image 12

7.In RoboDK, provide the IP of the robot and select Connect to connect to the robot.