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:

...

In the code for add diagnostic request the value ErrType can be changed to show different diagnostics.

ptReq->tData.usChannelErrType = 0x100; (= 256) is the diagnostic defined in the GSDML file.

ptReq->tData.usChannelErrType = 0x2; is a standard definition for under voltage

Go online and connect to the device. Click on the device and go to the 10 Byte input. Open the online diagnosis.

...