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

Preparation

Connect the Hardware

Plug the Ethernet cable of the IPC into the RJ45 port on the top of the first module.

hardware connection 1
hardware connection 2

Check the IP Address

Press the menu key on the teach pendant to enter the main interface. Select Home to view the robot’s IP address.

view ip 1
view ip 2

Configure and Map IO

  1. Select Setup  IO  IO_cnfg on the interface.

    configure io 1
  2. Select Network  Powerlink. The list of I/O devices is displayed on this interface.

    configure io 2
    configure io 3

    After making sure that the device is configured, you may start configuring the signal mapping.

  3. Select Setup  IO  IO_map on the teach pendant.

    configure io 4
  4. Press Devices, and then select the IO device which is configured. Press Modify. The output signal is taken as an example in the image below.

    configure io 5
    configure io 6
  5. Select the first blank frame 1.1, and then press Map.

    configure io 7
  6. Configure the parameters as in the image below, and then press Set.

    configure io 8
  7. The image below indicates that the output signals are successfully configured. The 8 digits of the FMO_1 variable correspond to the 8 output signals on the IO device.

    configure io 9

    The following steps show you how to configure the input signals. Click Back.

  8. Select the IO device whose input signals are configured. You may configure the input and output signals on the same device or different devices. Press Modify.

    configure io 10
  9. Select Direction  Input.

    configure io 11
  10. Repeat steps 3 to 5 to configure the input signals. After configuration, the interface is shown below.

    configure io 12
  11. Back, and the image below, which indicates that the input signals are successfully configured, will appear. The 8 digits of the FMI_1 variable correspond to the 8 input signals on the IO device.

    configure io 13
  12. Select Save. Now, the IO signals are configured. Please restart the robot.

    For now, the IO of the Comau robot that Mech-Mind has adapted to uses two block variables, fmi[1] and fmo[1], each containing 8 signals.

Load the Program Files to the Robot

  1. G to Communication Component/Robot_Server/Robot_FullControl/comau from the installation directory of Mech-Vision & Mech-Viz. Copy all files in the folder and paste them to your USB flash disk.

  2. Plug the USB flash disk into the teach pendant, and select Files.

    burn files 1
  3. Select Disk  Change device. Select your USB flash disk and find the files to be loaded.

  4. Select a file, and then select Edit  Copy.

  5. Select Disk  Change device, and then select the UD-USR folder.

    burn files 4
  6. Enter the usr folder, and select Edit  Paste.

  7. Paste the remaining files to the usr folder.

  8. Select a PDL file in the usr folder, and then select Files  Translate.

  9. A COD file with the same filename with be generated after the translation.

    burn files 7

Now, the loading is finished.

Test Master-Control Communication

Run the Program

  1. Press Menu and then press prog on the menu page.

    run program 1
  2. Select Memory  Upload.

  3. Select a COD file and press OK.

  4. Upload the remaining COD files.

    The status and line number of the programs in the image above are normal.
  5. Complete the steps in the image below.

    run program 5
  6. Then, the memory interface is as follows. Note the status and line number.

    run program 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.