FANUC Setup Instructions¶
This section introduces the process of loading the robot master-control program onto a FANUC robot.
The process consists of the following steps:
Please have a flash drive ready at hand.
Check Controller and Software Compatibility¶
Controller: no requirement
Controller system software version: V7.5, V7.7, V8.*, and V9.*
Additional controller software packages:
R651 or R632 (karel) - used to enable karel function
R648 (User Socket Msg)
Mech-Mind Software Suite: latest version recommended
Set up the Network Connection¶
Hardware Connection¶
Plug the Ethernet cable of the IPC into the Ethernet port of robot controller as shown in the figure. You can plug the cable into either CD38A port or CD38B port. CD38A corresponds to Port#1 in the robot IP setting, while CD38B corresponds to Port#2.
IP Configuration¶
Press on
, select Host Comm in the context menu, and then press ENTER to open the SETUP Protocols window.Select TCP/IP and press on DETAIL to open the SETUP Host Comm window.
Enter the robot IP in the IP address line with the keyboard of the teach pendant. The robot IP should be in the same subnet as the IPC.
If the Ethernet cable is connected to port 2, please press Port to switch the port. Then you can enter the robot IP in the IP address line.
Load the Program Files¶
Backup¶
Connect the flash drive to the robot controller or the teach pendant.
Press on the MENU button, and select
on the screen, and then press on ENTER to open the FILE window.Select
, and press on ENTER to open the USB folder.If your flash drive is connected to the controller, please select USB Disk (UD1:); if your USB flash drive is connected to the teach pendant, please select USB on TP (UT1:).
In the USB FILE window, select
to create a new folder.Select Words, Upper Case, Lower Case, or Options/Keybd to name the folder, and then press on ENTER to confirm and enter the new folder.
Select
to backup the files.A message asking whether to delete the new folder before backup files will display on the screen. Select Yes.
Then a message asking whether to delete the new folder and backup all files will display on the screen. Select Yes to start backuping.
After the backup is complete, select all files and press on ENTER to view all backuped files.
Prepare the Files¶
The program file is stored in the installation directory of Mech-Mind Software Suite.
Navigate to xxx\Mech-Mind Software Suite-x.x.x\Mech-Center\Robot_Server\Robot_FullControl\fanuc, and copy all the contents of this folder to your flash drive:
Note
Please save all the contents in the root directory of the USB flash drive. Do not rename them.
Please copy all the contents in the folder instead of copying the whole folder directly.
Load the Files to the Robot¶
After connecting the USB flash drive, press MENU and select
, and then press ENTER to open the FILE window.Press UTIL and select Set Device in the context menu.
Select the USB flash drive. If your flash drive is connected to the controller, please select USB Disk (UD1:); if your USB flash drive is connected to the teach pendant, please select USB on TP (UT1:).
Select the first line (all files) and press ENTER to enter the root directory of the USB flash drive.
Hint
For the next step:
If the USB flash drive is connected to the robot controller, please select INSTALL_UD.cm.
If the USB flash drive is connected to the robot teach pendant, please select INSTALL_UT.cm.
Select the corresponding CM file and press ENTER key on the teach pendant. Choose YES to start loading the programs.
When the following screen is displayed, the loading and relevant configuration are completed. Press F4 to exit the program.
Run the Program¶
Press SELECT key on the teach pendant to open the program selection window, and then select
, as shown below.Select MM_RUN and press ENTER to open the program.
Turn the key switch on the controller to AUTO.
Turn the switch on the teach pendant to OFF.
Press the CYCLE START button on the controller to run the program automatically.
If the following screen is displayed, you can proceed to the next section.
Test Robot Connection¶
Configure Robot in Mech-Viz¶
Open Mech-Viz, click New project to create a new project.
Select the robot model in use in the next page.
Save the project by pressing Ctrl + S.
In the toolbar, change the Vel. (velocity) and Acc. (acceleration) parameters to 5%.
Right-click the project name in Resources and select Autoload Project.
Configure Settings in Mech-Center¶
Open Mech-Center and click on Deployment Settings.
Go to Robot Server, and make sure Use robot server is checked.
Check if the robot model displayed next to Robot type in Mech-Viz project matches the one in use.
Set the Robot IP address, and click Save.
Connect to Robot in Mech-Center¶
Click Connect Robot on the toolbar.
The robot is successfully connected if:
A message saying Robot: server connected to the robot shows up in the Log panel, and
A robot icon with the robot model shows up in the Service Status panel.
Move the Robot¶
In Mech-Viz, click Sync Robot on the toolbar to synchronize the pose of the real robot to the simulated robot. Then, click Sync Robot again to disable the synchronization.
Click the Robot tab in the lower right, and change the joint position of J1 slightly (for example, from 0° to 3°). The simulated robot will move accordingly.
Click Move real robot, the real robot should move accordingly.
Attention
When moving the robot, please pay attention to safety hazards. In the case of an emergency, press the emergency stop button on the teach pendant!