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 YASKAWA robot.

Check Controller and Software Compatibility

  • Confirm that the robot is a 6-axis YASKAWA robot.

  • Confirm that the robot controller model and the system version meet the requirements below.

    Controller model System version

    DX200

    DN3.16.00A-00

    YRC1000

    YAS2.94.00-00

    YRC1000micro

    YBS2.31.00-00

    In this guide, the robot YRC1000 (YAS2.94.00-00) is used.
  • Confirm that the Ethernet option has been enabled for the YASKAWA robot.

    Click here for instructions
    1. Press and hold the MAIN MENU key on the teach pendant, and power on the robot to enter the maintenance mode.

      If the robot is already started, please restart the robot while pressing the MAIN MENU key on the teach pendant.
      set ip 1
    2. In the maintenance mode, select SYSTEM  SECURITY  MANAGEMENT MODE.

      set ip 2
      set ip 3
    3. Enter the password (which is sixteen 9s by default), and then select Enter to enter the MANAGEMENT MODE.

      set ip 4
      set ip 5
    4. In Main Menu, select SYSTEM  SETUP  OPTION FUNCTION .

      set ip 6
      set ip 7
    5. In the OPTION FUNCTION interface, select DETAIL of NETWORK FUNCTION SETTING, and then press SELECT on the teach pendant to enter the NETWORK FUNCTION SETTING interface.

      check network option
    6. Check whether the status of ETHERNET is displayed as USED.

      check network ethernet
      If the status is NOT USED, please contact the robot manufacturer for support.
  • Confirm that the MotoPlus option has been enabled for the YASKAWA robot.

    Click here for instructions
    1. In the MANAGEMENT MODE of the maintenance mode, select MotoPlus APL.  MotoPlus FUNC. SETTING on the Main Menu.

    2. On the MotoPlus FUNC. SETTING interface, check whether the status of APPLI. AUTOSTART AT POWER ON is ENABLE.

      check motoplus 1
    3. If the status is DISABLE, select DISABLE, and press SELECT on the teach pendant to switch the status to ENABLE.

      check motoplus 2

If the preceding conditions cannot be met, the vision system cannot communicate with the robot through the Standard Interface. Please contact the robot manufacturer for support.

Set up the Network Connection

Connect the Hardware

If you are using the YRC1000 controller, plug the Ethernet cable of the IPC into the LAN2 (CN106) port on the CPU board of the robot controller. If you are using the DX200 controller, plug the Ethernet cable of the IPC into the CN104 port on the CPU board of the robot controller.

For the YRC1000 controller:

  • The LAN1 port is used to connect the teach pendant only and cannot be used to connect the IPC Ethernet cable.

  • If the LAN2 port is occupied, use LAN3 instead, to connect the IPC Ethernet cable.

Set the IP Address

  1. Press and hold the MAIN MENU key and power the robot to enter the maintenance mode.

    set ip 1
    The system enters the normal startup mode if you do not press the MAIN MENU key.
  2. Select SYSTEM  SECURITYMANAGEMENT MODE.

    set ip 2
    set ip 3
  3. Enter the password (the default password is sixteen 9s), and then click Enter to enter MANAGEMENT MODE.

    set ip 4
    set ip 5
  4. Select SYSTEM  SETUP  OPTION FUNCTION. At the OPTION FUNCTION interface, click LAN INTERFACE SETTING.

    set ip 6
    set ip 7
    set ip 8
  5. In the drop-down menu of IP ADDRESS SETTING (LAN2), select MANUAL SETTING, and set a proper IP ADDRESS and SUBNET MASK.

    set ip address 1
    set ip address 2
    • The IP address of LAN2 should belong to the same subnet as the IPC.

    • The subnet mask should be 255.255.255.0.

  6. Press the ENTER key on the teach pendant, and then click YES in the pop-up message.

    set ip address 3

Load the Program Files to the Robot

Prepare the Files

  1. Navigate to Communication Component/Robot_Server/Robot_FullControl/yaskawa from the installation directory where Mech-Vision and Mech-Viz are installed. Copy the program file (yrc1000.out) and paste it to the root directory of your flash drive.

    • The file system of the flash drive must be FAT32.

    • If you are using a DX200 controller, copy the dx200.out file.

  2. Plug the USB flash drive with the program file into the USB port on the back of the teach pendant.

    Copy the program file suitable for the used controller.

Load the Files

  1. Under the Maintenance mode, select MotoPlus APL  DEVICE  USB:Pendant.

    begin to load 1
    begin to load 2
  2. Select MotoPlus APL  LOAD(USER APPLICATION). Select the OUT file, press the ENTER key, and click YES in the pop-up window to start loading the program.

    begin to load 3
    begin to load 4
    begin to load 5
  3. After the installation, select MotoPlus APL  FILE LIST. You can see the installed file here.

    begin to load 6
    begin to load 7
  4. Restart the controller (without pressing the MAIN MENU key) to enter the normal mode so that the YRC1000.out file can automatically run in the background. Turn the mode switch key to PLAY, and Mech-Viz will be connected to the robot.

    begin to load 8

When started, the robot will run at the default velocity(100%), a relatively high velocity. To ensure safety, please modify the velocity before triggering the Mech-Viz project.

Adjusting velocity should be performed in the normal mode.
  1. Click JOB  SELECT JOB.

    change speed 1
    change speed 2
  2. Select any job in the JOB LIST, and then press the SELECT key on the teach pendant and enter the following interface.

    change speed 3
  3. Select UTILITY  SPEED OVERRIDE, and then select the SPEED ADJUSTMENT bar.

    change speed 4
    change speed 5
    You cannot modify the parameters if the SPEED ADJUSTMENT bar is not selected.
  4. Press SPEED ADJUSTMENT and then OFF, press the SELECT key to switch MODIFY to ON.

    change speed 6
    You cannot adjust the velocity if MODIFY is not switched to ON.
  5. Similarly, press the number after RATIO, and press the SELECT key to change the velocity ratio. Press the Enter key to save the change.

    change speed 8
  6. The interface after the velocity is adjusted is as follows.

    change speed 9

Test Master-Control Communication

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.