Master configuration

    5 minutes   deGroot  

PROFINET IO-Controller (master) setup. This is part of the YRCP-MP4P PROFINET quick start guide.

Setting up the YRCP-MP4P board as PROFINET master (IO-Controller) requires the use of the Yaskawa “2CON” engineering tool.

Note

2CON comes free of charge and can be installed on PC’s running Windows 10 or newer.

Installation

YEU employees

Read more...
Note

Yaskawa Europe employees can install 2CON from the YEU software center.

  1. Open the Yaskawa software center:
    2con-install1
    YEU Software Center in the Windows start menu.
  2. Use the search box to find 2CON:
    2con-install2
    2CON in the YEU Software Center.
  3. Install 2CON.

Other users

Note

Non-Yaskawa employees can download and install 2CON the normal way. The installation requires local admin rights.

  1. Download the latest version of 2CON here .
  2. Unzip the files.
  3. Install the application.

Create a new project

  1. After installation, 2CON can be found in the Windows start menu. Start the application.
    2con-new-project1
    2CON in the Windows start menu.
  2. Click on the YRCP-MP4P template to create a new project:
    2con-new-project2
    Built-in template for a new YRCP-MP4P project.
  3. Let’s start with a brief overview of the user interface (UI):
    Left side: Project treeRight side: Hardware catalog
    From this tree you access the settings of the board and any slaves you have added to your network.This is where slave devices show up after importing a GSDML file.
    2con-new-project3
    2con-new-project4

IP settings

Set the IP address range for your master network. This has to be done at a two levels:

  1. In the project settings we enter the permissable IP range for the network. In this example, we specify everything (board + devices) to be in the range from 192.168.100.100 to 192.168.100.254:

    2con-ip-settings1
    IP range in the Project settings.

  2. In the board settings we enter:

    • LAN2 (X3/X4) IP address
      Enter the same IP settings as given to the board, see General section.
    • LAN2 (X3/X4) Name of station (PROFINET device name)
      Enter the same device name as given to the board, see General section.
    • Location
      This text field is optional and used for recognition. It will show up in the project tree and can be useful (especially in larger projects). In this example we call it “Welding robot”.

    2con-ip-settings2
    IP settings in the Board settings.

Import GSDML file

To insert a device in the configuration, it first has to be added to the hardware catalog. This is done by importing the GSDML file.

Note

2CON does not use the concept of a “persisent” hardware catalog like for example TIA Portal does. This means that when a new project is created, it always starts with an empty hardware catalog.

  1. Start the import using menu File » Import GSDML File(s)
    2con-import-gsdml1
    Menu: Import GSDML file.
  2. Select the GSDML file. In this example we install the file for the Hilscher CIFX slave (which is a CIFX PROFINET board mounted in another robot controller).
    2con-import-gsdml2
    Select the GSDML file for importing.
  3. Next it will show a dialog listing the Device Access Points (DAP) of the GSDML. By default all DAPs are selected; you can deselect the one you don’t need to keep the catalog clean. In this example there is just one DAP. Click OK to proceed.
    2con-import-gsdml3
    Select the DAPs to import.
  4. Now the device and its submodules show up in the catalog:
    2con-import-gsdml4
    Device added to the hardwawre catalog.

Insert slave device

Now the device can be added to the network.

  1. In the tree, doubleclick on Profinet to open its settings:

    2con-insert-device1
    PROFINET Device list.

  2. Drag and drop the device into the device list. Now you can already adjust its IP address and device name and - optionally - assign its location (for easy recognition in the tree).

    2con-insert-device2
    Device added to the Device list.

Insert submodules for the device

Some devices allow various setups, where the device is configured by adding the desired submodules from the catalog. In the case of the Hilscher CIFX device used in this example, we are going to add a single submodule of 32b input/output.

  1. In the tree, doubleclick on the device The other robot: Yaskawa CIFX to open its settings.
    2con-insert-submodule1
    Device settings.
  2. Doublecheck the settings. Then open the module list
  3. Now drag and drop the submodule into the module list. For this example, we insert the Input/Output 32b submodule.
    2con-insert-submodule2
    32 byte input/output submodule added to the Module list.

Add other devices

Repeat the two previous steps for each device you want to add.

Build the configuration

After completing the configuration it is time to build (compile) and check for errors.

  1. Start build using menu Project » Rebuild. A popup informs if everything went well:
    2con-build1
    Popup showing build complete.
  2. Use the messages window at the bottom of the screen to get details about any issues. Below an example of a warning after setting the IP address of the device outside the permisable range.
    2con-build2
    Message window showing build issues.

Download the configuration

Important

The configuration shall only be downloaded when the robot controller is in maintenance mode.

  1. In the tree, doubleclick on the board Welding robot: Yaskawa CIFX to open the cockpit:
    2con-download1
    The Cockpit screen in 2CON.
  2. Make sure your PC is connected to the master (X3/X4) or slave (X1/X2) network of the board.
  3. Select the network, then start the online connection in 2CON using the online connection button:
    2con-download2
    Icon of online connection button.
  4. Now you will need to enter the login information for the board (same credentials as used for the webserver).
    2con-download3
    Login screen for online connection.
  5. If connecting went ok, you should by now see some live data from the board’s CPU:
    2con-download4
    Online connection showing live CPU data.
  6. Download the project including sources using the hotkey CTRL+F5 or click write and start Project (with Sources) in the download options menu:
    2con-download5
    Download options menu shown after clicking on the button.
  7. A popup informs if everything went well:
    2con-download6
    Popup showing download complete.
  8. After restarting the robot controller the new configuration will be active.

Tips

Create your own templates

To prevent the hassle of importing GSDML files every time you create a new project, you can consider to create and maintain your own “base” projects.

Then instead of starting from scratch every time, you just create a copy of the suitable base project which already has a pre-filled hardware catalog and the proper default settings for your applications (IP address range etc.).

Troubleshooting

No items yet.

Pages built with Hugo - 14 Nov 2025 17:47 CET