Set up Standard Interface Communication with FANUC CRX

The CRX plugin provides TCP/IP based socket communication services to communicate with the vision system installed on the IPC. If the network environment and IP addresses on both sides remain unchanged, you only need to configure the communication settings once.

You should configure the communication settings again if the plugin is re-installed.

Before establishing the communication with the vision system, please ensure that the following requirements have been met.

  • The CRX plugin is installed successfully.

  • The robot controller is connected to the IPC via Ethernet (a router can be used here).

Robot Communication Setup

  1. Run Mech-Vision, and you may enter different interfaces. Create a new solution according to the instructions below.

    • If you have entered the Welcome interface, click New blank solution.

    create solution 1
    • If you have entered the main interface, click File  New Solution on the menu bar.

    create solution 2
  2. Click Robot Communication Configuration on the toolbar of Mech-Vision.

  3. In the Robot Communication Configuration window, complete the following configurations.

    1. Click the Select robot drop-down menu, and select Listed robot. Click Select robot model, and select the robot model that you use. Then, click Next.

    2. In the Communication mode area, select Standard Interface for Interface service type, TCP Server for Protocol, and HEX (big-endian) for the protocol format.

    3. It is recommended to set the port number to 50000 or above. Ensure that the port number is not occupied by another program.

    4. (Optional) Select Auto enable interface service when opening the solution.

    5. Click Apply.

      tcp hex big endian
  4. On the main interface of Mech-Vision, make sure that the Robot Communication Configuration switch on the toolbar is flipped and has turned blue.

    interface service

Set up Communication on the Teach Pendant

  1. Set the IP address of the robot.

    1. Expand the complete menu, and select SETUP > Host Comm to open the SETUP Protocols window.

      crx 13
    2. Select TCP/IP, and set the IP address and subnet mask.

      crx 14
      crx 15
  2. Create a new robot program.

    1. Select the Menu icon and switch to the frequently used menu, and select Teaching > Select Program.

      crx 16
    2. Select the New icon on the right.

      crx 17
    3. Name the program, such as MM_SOCKET, and then select OK.

      crx 18
    4. Keep the default settings of the program and then select OK.

      crx 19
  3. Execute the communication initiation command.

    1. Open the newly created program.

      You cannot edit the program or modify the parameters in the Automatic mode. If the icon in the upper right corner is crx icon2, which indicates the Automatic mode, you should select the icon to switch to Manual mode, and the icon will turn to crx icon3.
    2. Select Programming > Plugin, and you can see the plugins in the lower right panel.

      crx 20
    3. Find Mech-System SocketInit, and drag it to the program line.

      crx 21
    4. Select the command on the program line to view its details. Set the IP Address of IPC and set the Port of IPC to the port number configured in Mech-Vision.

      crx 22

      If you have any questions about the parameter to be configured, you can select and hold the question mark on the left to see the detailed description.

    5. Select the Manual mode icon (crx icon3) at the upper right corner of the screen to switch to the Automatic mode (crx icon2).

    6. Select Play in the lower left corner and then select Run.

      crx 23
    7. Select Yes in the pop-up dialog box.

      crx 24
    8. The USER window will be displayed automatically. The communication is established successfully if the message MM: Restart Robot is displayed in the window, and a communication test is completed successfully if the message MM: Init Connection Successfully displays in the window.

      crx 25

      If the robot is connected successfully, the Console tab of Mech-Vision Log panel will display a log.

    vision center log
  4. Power off the robot controller and then restart it.

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.