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.
2CON comes free of charge and can be installed on PC’s running Windows 10 or newer.
Installation
YEU employees
Read more...
Yaskawa Europe employees can install 2CON from the YEU software center.
- Open the Yaskawa software center:

YEU Software Center in the Windows start menu. - Use the search box to find 2CON:

2CON in the YEU Software Center. - Install 2CON.
Other users
Non-Yaskawa employees can download and install 2CON the normal way. The installation requires local admin rights.
- Download the latest version of 2CON here .
- Unzip the files.
- Install the application.
Create a new project
- After installation, 2CON can be found in the Windows start menu.
Start the application.

2CON in the Windows start menu. - Click on the YRCP-MP4P template to create a new project:

Built-in template for a new YRCP-MP4P project. - Let’s start with a brief overview of the user interface (UI):
Left side: Project tree Right 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. 

IP settings
Set the IP address range for your master network. This has to be done at a two levels:
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.100to192.168.100.254:
IP range in the Project settings. 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”.

IP settings in the Board settings. - LAN2 (X3/X4) IP address
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.
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.
- Start the import using menu File » Import GSDML File(s)

Menu: Import GSDML file. - 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).

Select the GSDML file for importing. - 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.

Select the DAPs to import. - Now the device and its submodules show up in the catalog:

Device added to the hardwawre catalog.
Insert slave device
Now the device can be added to the network.
In the tree, doubleclick on Profinet to open its settings:

PROFINET Device list. 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).

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.
- In the tree, doubleclick on the device The other robot: Yaskawa CIFX
to open its settings.

Device settings. - Doublecheck the settings. Then open the module list
- Now drag and drop the submodule into the module list.
For this example, we insert the
Input/Output 32bsubmodule.
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.
- Start build using menu Project » Rebuild.
A popup informs if everything went well:

Popup showing build complete. - 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.

Message window showing build issues.
Download the configuration
The configuration shall only be downloaded when the robot controller is in maintenance mode.
- In the tree, doubleclick on the board Welding robot: Yaskawa CIFX
to open the cockpit:

The Cockpit screen in 2CON. - Make sure your PC is connected to the master (X3/X4) or slave (X1/X2) network of the board.
- Select the network, then start the online connection in 2CON using the
online connection button:

Icon of online connection button. - Now you will need to enter the login information for the board
(same credentials as used for the
webserver).

Login screen for online connection. - If connecting went ok, you should by now see some live data from the board’s CPU:

Online connection showing live CPU data. - Download the project including sources using the hotkey CTRL+F5
or click write and start Project (with Sources) in the download
options menu:

Download options menu shown after clicking on the ▼ button. - A popup informs if everything went well:

Popup showing download complete. - 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.