Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

This Application Note describes the commissioning of CIFX M223090AE devices as Profinet IO Device, using Communication Studio.

It does not explain, how to configure the Profinet IO Controller but offers some basic informations about what is need to be done on Controller side, to establish a running communication.


Please follow the installation instructions in our "Getting Started"-Application Note, if you have not done yet:

https://

...

hilscher.

...

atlassian.

...

net/wiki/pages/viewpage.action?pageId=

...

122810308

Firmware Download

Since the CIFX

...

M223090AE can be used for several communication protocols, a fitting Firmware for Profinet IO Device needs to be downloaded first.

Therefore, please follow this step-by-step instruction of how to download the Firmware via Device Explorer:


Open the Device Explorer

Image Modified


All available Devices will be shown in the "Devices" Area.
Please select the CIFX M223090AE device from the list.


If no Firmware is shown in the "Firmware" Area, the Firmware first needs to be added to the Device Explorer.
Therefore, please open "File → Add Firmware..."

Image Modified


fitting firmware can be found

...

either on the ComSol_90_4x00 DVD or on our Knowledge Base: 
https://

...

hilscher.

...

atlassian.

...

net/wiki/display/HILKB/Technologies


After adding the Firmware, it can now be selected in the "Firmware" Area.
Please select the device and the firmware you want to download. In this example, please choose the Firmware "Profinet IO Device":

Image Modified

Configuration

After the Firmware has been downloaded, the CIFX

...

M223090AE is ready to get its configuration.

Please follow this step-by-step instruction of how to create a configuration and download it to the CIFX M223090AE Device via Communication Studio:


Open Communication Studio

Image Modified

Create a new Project

select "New Solution"

Image Modified


create a new Project and Network, in a specific directory.

Image Modified


The new Solution will now be shown in the Solution Explorer.

Image Modified

Add a new device

Mark the current Network and click "Add", or right-click to the network and select "Add Device..." to create a new device.

Image Modified


select the Profinet IO Device from the list of Stand-Alone-Slaves.
Make sure the selected version does fit to the currently installed Firmwareversion.
When Configuring a CIFX M223090AE Device, please select "CIFX NETX 90 RE/PNS Vxxx".

Image Modified


the device will now be added to the network in the Solution Explorer. Several configuration options are now available:

Image Modified

Device Assignment

Start with the Device Assignment, which is used to assign the Device to be configured.

Select the CIFX Device Driver on top of the upcoming window.

Scan for devices and select the Device to be configured.

Image Modified


Profinet Settings

Name of Station

Open the PROFINET Settings → Network, to define the NameOfStation, which is needed for the IO Controller to establish a communication.
The NameOfStation has to be equal to the one defined in the IO Controller Configuration.

Image Modified

Module Configuration

Open the Module configuration and add the amount of Modules by clicking "add Module".
The size of each module can be changed by selecting the Module description.

Image Modified


Apply the module configuration. It will now be shown in the Module Area in the Solution Explorer.

Image Modified

Additional configurations

Additional Configurations can be found in "Settings → Device".
If the communication needs to be started by the application, this can be defined as follows:

Image Modified

Download configuration

After the configuration is finished, Download the configuration by selecting the Device in the Solution Explorer and clicking "Download" or right-click to the device and select "Download".

Image Modified


After the Download is finished, the Device will now automatically "Connect", which is indicated by a green background. This means, the Diagnosis is now available.

Image Modified

Diagnosis

Mark the current Device and click "Diagnostic", or right-click to the device and select "Diagnostic" to open the diagnosis.

Image Modified


The Diagnosis shows geneal informations about the current communication

This is how the diagnosis should look like, in case of a working communication to a Profinet IO Controller:

Image Modified


The field "Communication error", gives information about the current communication state.
All Error Codes can be found in the following document: https://

...

hilscher.

...

atlassian.

...

net/wiki/display/DL/Hilscher+status+and+error+codes

Diagnostic Tools

Packet Monitor

The Packet Monitor is used to send and receive acyclic datapackets.

IO Monitor

The IO Monitor is used to send and receive IO Data, to check the current communication.

It does only work, if a communication is already successfully established.


To send data to the IO Controller, enter the output data to be sent into the "Output Data" area and click "Update".

At the opposite device, the corresponding data is being received now.


The Field "Input data", shows the data sent by the IO Controller to the IO Device.

Image Modified