Fanuc controllers must have the following modules enabled:
- R632 - KAREL
- R648 - User Socket Messaging
Check the compatibility:
For roboguide software, there are two possibilities.
- The roboguide cell is already existing, now we need to update the robot options to install R632 and R648. Then use the instructions below to serailize the robot and install the R632 and R648 package.
Then you will enter the virtual robot edit wizard to install the R632 and R648
- It is a new workcell, which means you can install the R632 and R648 at the very first begining.
Set up the ethernet connection with host and robot controller, then follow the below steps:
real robot:
- Set the Robot name, the IP addr to 192.168.234.2 or IP in the same subnet as the host computer. This is the IP address of the robot controller.
roboguide:
- The IP address is 127.0.0.1 by default
-
Set the Subnet Mask to 255.255.255.0.
-
Set Host Name and Internet Address. This is the IP address of the host computer.
-
Disable DHCP: DHCP -> DHCP Enable: False.
-
Activate the above settings by pressing INIT.
The FANUC MAPPDK server by default uses server tag 'S8:' and port 18735.
-
Go to MENU ->Next -> SYSTEM -> Variables.
- 1.1. Select $HOSTS_CFG.
-
Go to MENU -> SETUP -> Host Comm.
The FANUC MAPPDK logger by default uses server tag 'S7:' and port 18736. To setup the logger, follow the step for the FANUC MAPPDK server setup. Use S7 as the server, and 18736 as the port number.
-
Copy the following files to a robot controller either using USB flash drive or FTP connection:
- mappdk.ls: The MAPPDK main file which should be run from the teach pendant. This file runs MAPPDK server and MAPPDK logger. Uncomment the corresponding line to disable the functioality.
- mappdk_server.pc: The MAPPDK server file.
- mappdk_logger.pc: The MAPPDK logger file.
- mappdk_move.ls: The MAPPDK move file.
- mappdk_movel.ls: The MAPPDK linear move file.
-
In the teach pendant:
- 2.1. Press SELECT.
- 2.2. Locate MAPPDK.
- 2.3. Run in T1/T2 or AUTO mode.
- MAPPDK uses the USER FRAME=8 and TOOL FRAME=8.
- MAPPDK uses registers R[81] for velocity, R[82] for acceleration, and R[83] fo continuous value.
- MAPPDK uses position register PR[81] for position and joint values.
In case of error or hanging python script:
- Select FCTN -> ABORT ALL.
- Re-run the MAPPDK.