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 M2 CIFX M223090AE devices as Profinet IO Device, using Communication Studio.

...

https://kb.hilscher.com/pages/viewpage.action?pageId=121244280

Firmware Download

Since the CIFX M2 can be used for several communication protocols, a fitting Firmware for Profinet IO Device needs to be downloaded first.

...

  • All available Devices will be shown in the "Devices" Area.
    Please select the CIFX M2 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..."

...

  • fitting firmware can be found eather on the ComSol_90_4x00 DVD or on our Knowledge Base: 
    https://kb.hilscher.com/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":

Configuration

After the Firmware has been downloaded, the CIFX M2 M223090AE2 is ready to get it's configuration.

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

...

  • Open Communication Studio

Create a new Project

  • select "New Solution"


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


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

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:.


  • 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 M2 CIFX M223090AE Device, please select "CIFX NETX 90 RE/PNS Vxxx".

...

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

...

Device Assignment

  • Start with the Device Assignment, which is used to Assign assign the Device to be configured.
  • select Select the CIFX Device Driver on top of the upcoming window.
  • Scan for devices and select the Device to be configured

Image Removed

  • open .

Image Added


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 Added

...

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 Added


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

Image Added

...

Additional configurations

  • additional Additional Configurations can be done in the 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 Added


  • 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 Added

Diagnosis

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

...

Image Added


  • 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:

...

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.

...