Use Mech-Mind 3D Vision Interface

Note

Before you use the CRX plugin, please ensure that you have an executable Mech-Vision project and Mech-Viz project (if needed). Also, the IPC has been connected to the network where the robot belong.

Please follow the steps below to configure the settings in Mech-Center first.

Configure and Enable Interface Service in Mech-Center

  1. Open Mech-Center, and click Deployment Settings in the toolbar.

  2. Click Mech-Interface in the Deployment Settings window. Select the Use Mech-Interface checkbox, and select Standard Interface as the Interface Service Type.

  3. Select TCP Server, HEX, and Big endian for the Interface options. Select a FANUC CRX series robot in the Listed robot. Then, specify a Host Address and set the port number to 50000 or above. Click Save after settings.

    ../../../_images/crx_11.png
  4. Click Start Interface in the toolbar.

Till now, the TCP interface service should be enabled successfully with the following message displayed in Mech-Center’s Log panel:

Start TCP Server interface.

Establish Communication by the CRX Plugin

Mech-Mind 3D Vision Interface provides TCP/IP based socket communication services to communicate with the vision system installed on the IPC.

You only need to configure the communication settings once if the network environment and IP addresses on both sides remain unchanged.

Attention

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).

Please follow these steps to configure the 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.

      ../../../_images/crx_13.png
    2. Press TCP/IP, and set the IP address and Subnet Mask.

      Attention

      Please ensure that the IP address set here is in the same subnet as that of the IPC.

      ../../../_images/crx_14.png
      ../../../_images/crx_15.png
  2. Create a new robot program.

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

      ../../../_images/crx_16.png
    2. Press the New icon on the right.

      ../../../_images/crx_17.png
    3. Name the program, such as MM_SOCKET, and then select OK.

      ../../../_images/crx_18.png
    4. Keep the default settings of the program and then select OK.

      ../../../_images/crx_19.png
  3. Execute the communication initiation command.

    1. Open the newly created program.

      Attention

      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 press 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.

      ../../../_images/crx_20.png
    3. Find the Mech-System SocketInit, and drag it to the program line.

      ../../../_images/crx_21.png
    4. Press 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-Center.

      ../../../_images/crx_22.png

      Tip

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

    5. Press the Manual mode icon (crx_icon3) at the upper right corner of the screen to switch to the Automatic mode (crx_icon2).

    6. Press Play in the lower left corner and then press Run.

      ../../../_images/crx_23.png
    7. Select Yes in the pop-up dialog box.

      ../../../_images/crx_24.png
    8. The USER window will be displayed automatically. The communication is established successfully if the message “MM: Restart Robot” displays in the window, and a communication test with Mech-Center is completed successfully if the message “MM: Init Connection Successfully” displays in the window.

      ../../../_images/crx_25.png

      Also, the following messages will display in Mech-Center’s Log panel.

      • The client xxx gets online.

      • The client xxx gets offline.

      ../../../_images/crx_26.png
  4. Power off the robot controller and then restart it.