Skip to end of banner
Go to start of banner

Commissioning CIFX M223090AE as Profinet IO Device

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

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 out "Getting Started"-Application Note, if you have not done yet:

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.

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


  • Open the Device Explorer


  • 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..."


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

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


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.

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.


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

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:

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


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

Diagnosis

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


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

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.

  • No labels