Master-Control Communication Setup

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

Plug one end of the Ethernet cable into the network port of the IPC and the other end into the network port of the robot controller.

Two Ethernet ports are 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 addresses of the robot and the IPC must reside in the same subnet. If a network gateway is used, set the Gateway parameter.

    set ip 4

    If port 2 on the robot is used for network connection, press the Next Page button on the bottom of the Port 1 network setting page to go to the Port 2 network setting page and set the IP address.

    set ip 5
    set ip 6

    After you set the IP address, press the ENTER key on the teach pendant to confirm.

    login button
  3. Restart the controller.

    restart robot

Load the Program Files to the Robot (Auto)

You can perform the following operations to allow the Robot Program Loader tool to auto-load master-control programs to the robot.

If the auto-load process fails and you cannot resolve the issue, proceed to Load the Program Files to the Robot (Manual).
  1. Navigate to the installation directory of Mech-Vision and Mech-Viz, go to the Robot Program Loader folder by using the Mech-Center\tool\Robot Program Loader path, and then double-click the Robot Program Loader program to open the loader. The main interface of the loader appears.

    To switch languages in the loader, select a different language from the drop-down list in the upper-right corner and restart the loader for the new language to take effect.
  2. In the main interface, select the KAWASAKI robot brand, enter the actual robot IP address, and then click Connect.

    If the connection fails, click Test network connection in the lower-right corner to troubleshoot the issue.
    auto loading files1
  3. In the KAWASAKI Program Loading interface, click the folder icon, select the path of the backup files, and then click Back up. If the files are backed up, a message that indicates the backup is successful is displayed in the Log section.

    If errors occur in the subsequent loading process, the files can be used to reset the robot system.
    auto loading files2
  4. Select Load the Master-Control program(s) and then click Load with one-click. If the files are loaded to the robot, a message that indicates the program files are successfully loaded appears in the Log section.

    auto loading files3
  5. Select Run the Master-Control background program(s)  Select the Master-Control main program(s). If the operations are successfully completed, a message that indicates the master-control programs are successfully run and a message that indicates the master-control programs are successfully selected appear.

    auto loading files4
  6. 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 REPEAT mode.

    change mode
  7. Switch the program running mode to STEP CONT and REPEAT CONT on the teach pendant.

    auto loading files5

After the preceding operations are compete, proceed to Test Master-Control Communication.

Load the Program Files to the Robot (Manual)

If you have completed operations in Load the Program Files to the Robot (Auto), skip this section.

Prepare the Files

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

Copy the mm_control.as file to root directory of the flash drive.

Precautions for Loading Files

  1. Save user programs.

    If user programs exist in the program list on the teach pendant, save them before loading program files. If no user programs exist 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. Stop 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 are terminated.

    Check the Program and PC areas on the teach pendant to make sure that no programs are listed. If any program exists, terminate it.

    load the program files 5

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

    load the program files 6

    To terminate 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 press the ENTER key to terminate PC program 1. Then, press 2 to change the PC program No. to 2 and press the ENTER key to terminate 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 some programs exist in the PC area, repeat the preceding operations to terminate them until no programs exist 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. 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
  2. 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
  3. 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 that 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 select 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 joint positions 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.