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



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:

...

Example for PNS_IF_PARAM_END_IND:

Very important Significant is here, that the application uses the indication packet to create the response packet. The only change is done in the values "Command", "Length", "State" and "Data".

...

The default of the switch case is very importantessential. If not all indications are implemented in the application, the default will create a default response to the stack.

For PROFINET indications this default answer can we be wrong, but it is better than no response.

...

There is no general answer , because this needs to be checked for every application. Many indications can be seen as information for the application and only a response is necessary.

...

One example for that is the PNS DeviceName/IP Example.

Another example is the PNS Signal LED Example. If the device developer forgets to control the signal LED of the device, or he wants you want to use another LED as Signal LED, it is possible to use the signal indication.

...