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 theRobot Driverssection.
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 RoboDKRun on robotoption 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 theFanuc driver program filesand 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我nu-(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_PORTto 2000
($HOSTS_CFG[3].$SERVER_PORT= 2000)
2.Select我nu-Setup
3.Select[TYPE]-Host comm
4.Select[SHOW]-Servers
5.Select“S3”-Enter.
a.SetProtocol NametoSM
b.在Port Name, if multiple ports are available: Set Port toP3(or the corresponding port).
c.Set InactivityTimeoutto9999
d.Set Startup state to[CHOICE] START
e.Set Current state toSTARTED:
To do so, select[ACTION]-DEFINE, then[ACTION]-START
6.Start the programRDK_S3:
a.Select theSelectbutton 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 InterfaceorUser Socket Messaging) or you did not take the correct version of the PC program.
7.在RoboDK, provide the IP of the robot and select Connect to connect to the robot.