Commissioning - netField as Profinet IO Device via Sycon.net

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:

Setup



Create a new Project

  • Open Hilscher Sycon.net

Add Devices

  • On the right side of the netDevice Window, the device catalogue can be accessed.

Add Profinet IO Controller

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

Add netField Device

Import netFIELD Device Description File

  • Import the GSDML, provided for the netField 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.

Insert netFIELD Device

  • select "PROFINET IO → Slave → netFIELD", in the device catalog and drag and drop it to the Green PROFINET line.



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

PROFINET IO Device Settings

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 Devices Module List (Slot 1).


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

  • The Submodule details, show the I/O data provided by the IO Link 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".

PROFINET IO Controller settings

  • Double-click to the CIFX PROFINET IO Controller, to open the CIFX PNM Configuration.

Device Assignment

  • open "Driver" in the Navigation Area and select "CIFX Device Driver".

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

If there has been 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".


  • Save your selection with "Apply".

Licensening

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

Set IO Controller IP address

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

Define netFIELD IO Device Name of Station (Devicename)

  • 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 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 of all slaves is defined at communication startup by the IO Controller, the IP address of the IO Device needs to be configured in the IP 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 the netFIELD IO Device.


Address Table

  • The Adress table shows on which Address 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 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 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 is now available.


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


Diagnosis

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


  • The Diagnosis shows geneal information about the current communication.

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

SYS

SF

BF

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


  • The Station Diagnosis shows the following:


Testcase: IO Link IFM Module removed

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

SYS

 SF

BF


  • This status is described as follows:


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


The Communication State, indicates a configuration mismatch:

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.