Master-Control Communication Setup

You are currently viewing the documentation for the latest version (2.1.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

This guide shows you how to set up Master-Control communication with a NACHI robot.

Preparation

Check Controller and Software Version

  • There are no specific requirements on the version of the robot controller.

Set up the Network Connection

Connect the Hardware

Plug the Ethernet cable into the LAN port of the robot controller to connect it with the IPC.

hardware connection

Change the Protecting Level

  1. Open the teach pendant and press the reset key icon r, as shown below.

    keyboard
  2. Enter 314 in the box as shown below, and then press the enter key icon enter on the teach pendant.

    change degree 1
    change degree 2
  3. Enter the default password 12345 in the box, and then press the enter key icon enter on the teach pendant to change to the SPECIALIST level.

    change degree 3
  4. A pop-up window as shown below suggests that you have successfully changed the protecting level and all functions can be used from now on.

    change successfully

Set the IP Addresses

  1. Go to Constant Setting  8 Communication  2 Ethernet  1 TCP/IP to configure TCP/IP Settings.

    set ip 1
    set ip 2
  2. On the interface of TCP/IP Settings, enter the robot IP address in the IP Address box.

    set ip 4
    The robot IP should be in the same subnet as the IPC. If you need to set the static IP, please contact the network administrator.

Load the Program Files to the Robot

Prepare the Files

Go to Communication Component/Robot_Server/Robot_FullControl/nachi from the installation directory where Mech-Vision and Mech-Viz are installed. Copy the nachi folder (containing the Master-Control program files) and paste it to a USB flash drive.

program files
Please rename the MZ12-01-A.120 file according to the actual robot model name. For example, when loading the file to the SRA166-1 robot, rename the file as SRA166-1-A.120, and then copy and paste it into your flash drive.

Load the Files to the Robot

  1. Plug the USB flash drive into the USB port on the back of the teach pendant, as shown below.

    insert disk
  2. On the teach pendant, go to File  File Copy.

    select file
    copy file
  3. Device (src) is the folder of the USB flash drive. Select the folder where the program files are stored under Device (src) and the PROGRAM folder under Device (dest). In the Program column, click Select All File.

    select all file
    The teach pendant is a touchscreen display. You can tap the screen directly to perform operations.
  4. Select Execute to import files.

    execute
  5. If the following messages appear on the screen, the program files have been loaded successfully.

    success 1
    success 2
    Please reboot the robot after exiting the program.

Convert the Program Files

  1. Go back to the main interface, and press Service Utilities  ASCII File Edit to edit the ASCII files.

    service utilities
    ascii file edit
  2. Select the file and press Execute. Please perform the same operation on all three files in turn, and you can only start executing after the previous execution is completed.

    execute file
  3. After pressing on Execute, a window as below will pop up, and then select Yes.

    execute file 2
  4. After converting the program file to the robot language, a message as shown below will appear.

    execute success

Test Master-Control Communication

Designate the Program

  1. Return to the main interface, and go to Monitor2  User Task  User Task Monitor.

    set up
    set up 2
    set up 3
  2. Now you can see the User Task Monitor as shown in ④ below. Press the edit key icon edit on the teach pendant, and then the User Task Monitor (⑥) line will turn orange, suggesting that it is editable now. Enter 21 in the first line in the Program column, and enter 22 in the second line. Then, press the edit key icon edit.

    task monitor
    set up 4
    set up 5
    set up 6
    If the robot cannot move smoothly, please change the priority level of the program 21 from 4 to 5.
  3. Select the Status column, and press the keys ENABLE icon plus and 1 icon 1 at the same time.

    set up 7
    set up 8
  4. Go to Program  Designated Program, enter 120 in the box, and then press the enter key icon enter. The designated program will appear in the Program panel and User Task Monitor.

    set up 9

Start the Robot

There are two controller types for NACHI robots, which are the FD controller and the CFD controller.

  • If you are using an FD controller, follow the steps below.

    1. Turn the key on the controller and orientate it to the position ①.

      run 1
    2. Turn the selector switch to the position as shown below. Press the green button and white button in turn to start the robot.

    run 2
  • If you are using a CFD controller, follow the steps below.

    1. Turn the selector switch to the position as shown below.

      run 2
    2. Press Teach/Play Condition in the upper right corner.

      run 3
    3. Set MotorsON/START sel.source to Controller and Sync. w/operation mode to Disabled.

      run 4
    4. Press the keys ENABLE and I together, and the indicator of the I key will be on.

      run 5
    5. Press the ENABLE, SHIFT, and GO keys together. If the blue line moves in the program window, the program is started and running.

    run 6

Create a Mech-Viz Project

  1. Open Mech-Viz, press Ctrl+N on the keyboard to create a new project. Select the robot model corresponding to your real robot brand and model on the interface as shown below.

    Unnamed image
  2. Press Ctrl+S and create or select a folder to save the project.

  3. Right-click the project name in the left panel in Mech-Viz and select Autoload Project.

    Unnamed image

Connect to the Robot

  1. Click Master-Control Robot on the toolbar of Mech-Viz.

  2. Input the IP address of the real robot in Robot IP address (the IP address in the picture is only an example). Click Connect the robot.

    Unnamed image

    If Mech-Viz successfully connects the real robot, the current status will change to Connected. Meanwhile, the icon in the toolbar will turn from blue to green.

    Unnamed image

    If the connection fails, please double-check the robot IP address.

Move the Robot

  1. In the toolbar of Mech-Viz, change the “Vel.” (velocity) and “Acc.” (acceleration) parameters to 5%.

    Unnamed image
  2. Click Sync Robot in the toolbar, and you can synchronize the poses of the simulated robot in the 3D simulation space with the poses of the real robot. Then click Sync Robot again to unselect it.

    Unnamed image
  3. In the Robot tab, slightly adjust the value of “J1”, for example, from 0˚ to 3˚. This operation will move the simulated robot.

    Unnamed image
  4. Click Move real robot and check if the real robot has moved. If the real robot has reached the JPs set for the simulated robot, the master-control communication is working.

    When moving the robot, please ensure the safety of personnel. In the case of an emergency, press the emergency stop button on the teach pendant!
    Unnamed image

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.