Set up Standard Interface Communication with FANUC

This topic introduces the process of setting up the Standard Interface communication with a FANUC robot.

Check Controller and Software Compatibility

  • FANUC robot: 6-axis or 7-axis

  • Controller system software version: V8.* and V9.*

  • Additional controller software packages:

    R651 or R632 (karel)

    R648 (User Socket Msg)

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.

hardware connection

IP Configuration

  1. Press MENU  SETUP  Host Comm  ENTER to open the SETUP Protocols window.

    ip setup
  2. Select TCP/IP and press DETAIL to open the SETUP Host Comm window.

    tcpip
  3. If the Ethernet cable is connected to CD38A port (Port#1), press the IP address line and enter the IP address by using the keyboard of the teach pendant, and then press ENTER to finish. Please note that the robot IP address should be within the same subnet as that of the IPC.

    set ip p1
    set ip p2

    If the Ethernet cable is connected to CD38B port (Port#2), please press Port to switch to Port#2. Then you can enter the robot IP in the IP address line and press ENTER on the teach pendant to finish.

    set ip p3

Set up “Robot and Interface Configuration” in Mech-Vision

  1. Click Robot and Interface Configuration in the toolbar of Mech-Vision.

  2. Select Listed robot from the Select robot drop-down menu, and then click Select robot model. Select the FANUC robot model that you use, and then click Next.

  3. In Communication Option, select Standard Interface for Interface Type, TCP Server and HEX-Big endian for Protocol, and then click Apply.

    configure communication 1
  4. Make sure the Interface Service is started: on the toolbar of Mech-Vision, the Interface Service switch on the far right is flipped and turned to blue.

    configure communication 2

Load the Program Files

Back up Robot Programs

  1. Connect the USB flash drive, and pressMENU  FILE  File  ENTER to open the FILE window.

    enter file path
    You can connect the flash drive to the robot controller or the teach pendant according to the actual requirement.
  2. Select UTIL  Set Device to select the flash drive folder, 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:).

    select device
    enter usb file
  3. In the USB FILE window, select UTIL  Make DIR to create a new folder.

    build file 1
  4. 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. In this example, Upper Case is selected, and the folder name is AOA.

    build file 2
  5. Select BACKUP  All of above  ENTER to backup the files.

    rebase file 1
  6. 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 the backup.

    rebase file 2
    rebase file 3
  7. After the backup is complete, press all files  ENTER to view all backup files.

    check file 1
    check file 2

Prepare the Files

Navigate to Mech-Center/Robot_Interface from the installation directory of Mech-Mind Software Suite, and copy the entire FANUC folder to the root directory of your flash drive.

Load the Files to the Robot

  1. Connect the USB flash drive, and pressMENU  FILE  File  ENTER to open the FILE window.

    select file
    You can connect the flash drive to the robot controller or the teach pendant according to the actual requirement.
  2. Press UTIL  Set Device in turn.

    set device
  3. 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:).

    all files usb
  4. After confirming the install location, you can view the files in the root directory of the flash drive. Select the first line (all files) and press ENTER to enter the root directory of the USB flash drive.

    all files
  5. In the root directory of the USB flash drive, select FANUC.

    fanuc dir
  6. In the FANUC directory, select INSTALL and choose YES to start loading the programs.

    install ut
  7. When the message “Programs Loaded” is displayed, the program files have been loaded successfully. Press OK to exit the program.

    loaded successfully

Further Configurations

  1. After loading the program files, press SELECT key on the teach pendant to enter the program selection interface. Select MM_AUTO_CALIB and then press ENTER to open the program.

    auto cable
  2. Configure the arguments of MM_INIT_SKT. There are 4 arguments in total. Please configure them according to your actual situation.

    • Argument 1: client port number (string 1-8)

    • Argument 2: IP address of the IPC

    • Argument 3: server port number of the IPC

    • Argument 4: timeout (min)

    mm init skt
  3. Then, press STEP key to switch into Step mode. Now the Step icon on the teach pendant turns yellow as shown below.

    step
    step 2
  4. Press and hold either one of the deadman switches on the back of the teach pendant.

    enable switch
  5. Press the SHIFT and FWD keys at the same time to call MM_INIT_SKT.

    run command
  6. After calling MM_INIT_SKT, press MENU > USER to enter the USER interface.

    user interface
  7. If the following information appears in the interface, the loading is successful. In this case, restart the robot.

    If the following information appears in the interface, restart the robot.
    restart robot

Test Robot Connection

Run the first command MM_INIT_SKT of the program MM_AUTO_CALIB again according to the instructions mentioned before. The robot can be connected successfully if the Console tab of Mech-Vision Log panel displays messages indicating that the client is connected.

vision center log

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.