Versions Compared

Key

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

...

The extendedConfig example can be found in the Knowledge Base on the following website:

netX 90: https://kbhilscher.hilscheratlassian.comnet/wiki/display/NXLFWHST/netX+90+-+PROFINET+IO+Device+-+Examples (from V3.0.0.0)



This can alternatively be found under:

...

The extendedConfig project can be opened by double-clicking the ".solproject" file. This requires the latest version of netXStudio (https://kbhilscher.hilscheratlassian.comnet/wiki/display/NDT/).


2. PROFINET Sources

A GSDML file is required for this example. The GSDML file can be found in the netXStudio project in Project Explorer at:

...

    long SetModulConfig( void* pvPck )


The terminal handler uses the interface used by UART to display debug messages and is located in Project Explorer under:

...

ptSetConfig → ulNetMask            = value from flash  

...


4. Indications

Implement the packet handler Indications for

...

Use for example the Ethernet Device Configuration Tool to change the devicename device name or IP address over the network with the DCP protocol.

...

This requires the latest version of netXStudio the Ethernet Device Configuration Tool (https://kbhilscher.hilscheratlassian.comnet/wiki/display/ETHDEVCFG/).


The stack forwards this change to the application as an indication. The application now needs to handle the indication.

...

If the bRemanent value is 1, the application shall check if the value in the application flash is still the same like as in the indication. If it is not the same value, write the new value into the application flash.

...