Master-Control Communication Setup

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

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

Preparation

Check Controller and Software Compatibility

  • Controller: E-series or F-series controllers

Set up the Network Connection

Connect the Hardware

Use an Ethernet cable (prepared by yourself) to connect the Ethernet ports on the IPC and that inside the accessory panel on the front of the controller.

There are two Ethernet ports provided by the CPU board of the robot controller. The IP addresses of the two ports should be on different subnets.

hardware connection

Set the IP Address

  1. To set the IP address of the robot Ethernet port, press the Aux. button on the teach pendant, and then select 8. System  12. Network Setting.

    set ip 1
    set ip 2
    set ip 3
  2. Set the IP address and subnet mask of port 1 on the Port 1 network setting page. The IP address of the robot must be on the same subnet as that of the IPC’s Ethernet port. If a network gateway is used, set the Gateway parameter.

    set ip 4
  3. After the IP address is set, press the ENTER button on the teach pendant, and then restart the controller.

Load the Program Files to the Robot

Prepare the Files

The program files are stored in Mech-Center/Robot_Server/Robot_FullControl/kawasaki in the installation directory where Mech-Vision and Mech-Viz are installed.

Copy the mm_control.as file to the USB flash drive.

Precautions for Loading Files

  1. Save user programs.

    If there are user programs in the program list on the teach pendant, save them before loading program files. If there are no user programs on the teach pendant, skip this step.

    Press the Aux. button, and then select 2. Save/Load  1. Save..

    load the program files 1
    load the program files 2
    load the program files 3

    On the Save page, press Input File name to enter the file name, and then press the Save button. After the file is saved, press the R key on the teach pendant to return to the main page.

    load the program files 4
  2. Exit the frontend and PC programs of the robot.

    Before loading program files to the robot, make sure that all the frontend and PC programs of the robot have exited.

    Check the Program and PC areas on the teach pendant to make sure that no programs are listed. If there is any program, please kill it.

    load the program files 5

    To kill a frontend program, press the Program area, and then press Cancel register** in the drop-down menu.

    load the program files 6

    To kill a PC program, on the teach pendant, press the Aux. button, and then select 8. System  10. PC Program Run/Stop  2. Selects Abort.

    load the program files 6 0
    load the program files 7
    load the program files 8
    load the program files 9

    Press the ENTER key to abort PC program 1. Then, press 2 to change the program No. to 2, and press the Enter key to abort PC program 2. At last, press the R to return to the previous page.

    load the program files 10

    Select 5. Kill PC Prog., and then press the ENTER key to kill PC program 1. Then press 2 to change the PC program No. to 2, and press the ENTER key to kill PC program 2. At last, press the R to return to the previous page.

    load the program files 11
    load the program files 12
  3. Make sure that the robot is in teach mode, and that the Program and PC areas have nothing listed, as shown below.

    load the program files 13
    If there are still programs in the PC area, repeat the preceding steps to kill them until there are no programs in the PC area.

Load the Program Files to the Robot

  1. Insert the USB flash drive storing the program files to the USB port inside the accessory panel on the controller. Then on the teach pendant press Aux., and select 2. Save/Load  2. Load.

    load the program files 15 0
    load the program files 15 1
    load the program files 15 2
  2. Press mm_control.as in the file list twice to select it (mm_control.as displayed as the file name), and then press the LOAD button.

    load the program files 14
  3. After the file is loaded, make sure no errors occurred during loading, and press the R key on the teach pendant to exit.

    load the program files 15

Further Configurations

  1. Set the PC program to automatically start up.

    Set the PC program to automatically start up after the robot program files have been loaded. Follow these steps:

    On the teach pendant, press the Aux. button, and select 5. Advanced Settings  2. System Switch.

    load the program files 16 0
    load the program files 16
    load the program files 17

    Press Next Page, find AUTOSTART.PC and AUTOSTART2.PC, select the On checkboxes of these two programs, and press the ENTER key on the teach pendant to save the changes.

    load the program files 18
  2. Select the frontend main program.

    Press the Program area, and select Directory. Then select main and press the ENTER key on the teach pendant to save the changes. Make sure no other programs are listed in the PC area.

    load the program files 19
    load the program files 20
  3. Switch the robot to repeat mode.

    Switch Teach/Repeat on the controller to REPEAT, and switch the teach lock on the teach pendant to OFF. After these operations, the robot should be in the REPEAT mode.

    change mode

    Then switch the program running mode to STEP CONT and REPEAT CONT.

    load the program files 21
  4. Restart the robot controller.

    After the robot controller is restarted, the teach pendant should show the following interface. PC programs with asterisks (*) in front indicate the programs are running. If the running step is not 1 in the STEP area, modify it manually by pressing the STEP area and entering 1.

    load the program files 22

Test Master-Control Communication

Run the Program

Hold the A key and press MOTOR to power on the motor.

Hold the A key and press CYCLE to start the robot.

If RUN does not turn green, hold the A key and press the RUN/HOLD key on the teach pendant.

run robot
  • When RUN, MOTOR, CYCLE are all lit, the two robot programs are running successfully.

  • For safety concerns, reduce the robot repeat speed to 10%. If the robot moves abnormally, please tap the E-stop button on the teach pendant immediately.

  • The Kawasaki robots communicate with Mech-Viz through two PC programs. Once the two PC programs are running, the Kawasaki robots can connect to Mech-Viz without running the frontend main program.

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.