Versions Compared

Key

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

Table of Contents

Introduction

This Application Notes represents a complete commissioning guide, with the setup shown below, using Sycon.net.


In this example, an IO Link Display E30391 from IFM is connected to the netFIELD Evaluation Kit.

The examplary GSDML File provided with the netFIELD Evaluation Kit, already contains the full information needed to work with this device.

For other IO-Link devices the GSDML file may need to be changed or the provided basic modules need to be used.


This Commissioning Guide is also available on Youtube:

Widget Connector
urlhttps://www.youtube.com/watch?v=oW-acsKnQuE&t

Setup


Image Added

Create a new Project

  • Open Hilscher Sycon.net

...

  • select "PROFINET IO → Master → CIFX RE/PNM V3" (if there is an older Firmwareversion <V3 in use, use CIFX RE/PNM) and drag and drop it to the grey Bus-linebusline.

Add netField Device

Import netFIELD Device Description File

  • Import the GSDML, provided for the netField devices device by selecting "Options → " Network → Import Device Description":


  • select the correct protocol (in this case PROFINET) and open the GSDML File:


  • The Device catalog will now be reloaded. After that, the device is available as Profinet IO "Slave" in the Device catalog.

...

  • If the device is not shown in the device cataloguecatalog, select "Network → Device Catalog..." and click "Reload Catalog" or completely restart Sycon.net.

...

Add Modules to netFIELD Device

  • Double-click to the netFIELD Device in the netDevice window, to open the Configuration window.
    In the Navigation Area, select "Modules".

  • Add one module by clicking "Add Modules" and and select "8-Bit IO Link Master", to the Device Devices Module List (Slot 1).


  • Replace Submodule 2 with "IOL-Display IFM E30391".

  • The Submodule Detailsdetails, show the I/O data provided by the IO Link Dveice Device IFM E30391.
    It is always displayed from the perspective of the IO Controller, which means that the shown OUTPUT data, are INPUT data in the perspective of the IO Device.

  • save your settings with "Apply" and close the window with "OK".

...

  • now open the Device assignment , and scan for devices.
    Select the CIFX Device, to be configured.

Info

If there has been a for another protocol downloaded to the CIFX Card in a previous configuration, the device may only be shown when the "Device selection" is set to "all".

...

  • When using the CIFX Card as an PROFINET IO Controller, a Master license is needed.
    In the Navigation Area, open "Licensing", to check is whether a Master license is available on the CIFX Card.

Set IO Controller IP

...

address

  • In the Navigation Area "Confiruation Configuation → Controller Network Settings", the IP Adress address for the IO Controller can be set.
    All Slaves need to be set to the same Subnet.

...

  • Open in the Navigation Area "Configuration → Device Table".
    The Device table shows all Slaves, added to the Profinet line.

  • In the Device table the name Name of Station for each device can be changed. Make sure, it is the same actually assigned to the Device.
    The default Name of Station for netFIELD Device is always "netfield" but can be changed using a DCP Tool (for example the Ethernet Device Configuration Tool).
    The name defined in the IO Controller Settings, always need to fit the Devices configuration.

Define netFIELD IP

...

address

  • Since in PROFINET the IP -Addess addess of all slaves are is defined at communication startup by the IO Controller, the IP -Address address of the IO Device need needs to be configured in the IP Address address Table of the IO Controller.
    Therefore open in the Navigation Area "Configuration → IP Address Table" and set the IP Address, which should be assigned to teh the netFIELD IO Device.


Address Table

  • The Adress table shows on which Address on of the Process image of the CIFX Card, which part of the configured IO Data can be found.
    Therefore it is needed to indicate, where to write through the netFIELD Device to the IO Link Device (IFM Display).

  • The Table shows, that the Input Process data of the IFM Display, will be available at Offset 8 (perspective of IO Controller).
    It also shows, that the Output Process data for the IO Link IFM Display, start at Offset 8.

...

  • Provider and Consumer Status, indicates the IOCS/IOPS which need to be handled.
    Please find a more detailed Application Note , concerning explaining the Status Byte handlung, here:
    Profinet-V3 - IOCS / IOPS [EN]

Download configuration to CIFX IO Controller

  • After the configuration has been finished, it only needs to be downloaded to the CIFX Card.
    Therefore select the right-click to the CIFX IO Controller in the "netDevice" view and select "Download".

...

  • Accept the upcoming window:


  • After the Download is finished, Sycon.net now automatically "Connects" to the CIFX Card, which is indicated by a green background.
    This means, the Diagnosis

...

  • After starting the Communication, the CIFX  Status LEDs should now is now available.

Image Added


  • In this state, only the diagnosis can be accessed.
    To change the configuration, it needs to be disconnected again:

Image Added

Diagnosis

  • Right-click to the CIFX Card and select "Diagnosis".

Image Added

  • The Diagnosis shows geneal information about the current communication.

  • In case of a running communication, the CIFX Status LEDs show the following:

Image Removed RUN/STOP 

Image Removed ERROR

Image Removed MAINT

  • Use the function "Go online", to see the current diagnosis.

Image Removed

  • In the Network View, now the Devices can be checked for Diagnosis.

Image Removed

  • The Device view, shows the Status of each module.

Image RemovedImage Added SYS

Image Added SF

Image Added BF

  • This is how the diagnosis should look like, in case of a working communication to netFIELD Device:

Image Added


  • The Station Diagnosis shows the following:

Image Added


Testcase: IO Link IFM Module removed

  • In case the IO Link IFM Module has been removed from the netFIELD Device, the PLCs CIFX Status LEDs nows now show the following:

Image Removed RUN/STOP 

Image Removed blinking ERROR

Image Removed MAINT

  • The Network view shows the following:

Image Removed

  • The Device view indicates an issue with a Submodule in Slot 1:

Image Removed

  • By double-clicking on the Symbol Image Removed, the Diagnosis for this Submodule opens.
    It shows, that the device is not reachable.

...

Image Added SYS

Image Added SF

Image Added BF


  • This status is described as follows:

Image Added


  • The Station Diagnosis also indicates an upcoming diagnosis from the netFIELD Device:

Image Added


The Communication State, indicates a configuration mismatch:

Image Added

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 IO Device, 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 "Output data", shows the data sent by the IO Device to the IO Controller.

Image Added