• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Profinet Example in hilschernetpi/netpi-netx-programming-examples
#2
Hello Thomas,

you are absolutely right. The sourcecode PNS_simpleConfig.c mixes inputs with outputs during the copy routine. It reads the outputs correctly coming from the PN controller but it puts it internally into the input buffer which is nonsense.

I have to correct it and provide a new source code. It might be that also EtherCAT and EtherNet/IP examples copy the wrong sizes also since the xxx_simpleConfig is all the same.

And no there isn't any GSDML file for any other sized. The GSDML file is just an example of how to make a PROFINET device with netX. Building your very own PROFINET "device" urges users to make adaptions to the GSDML file themselves in accordance with the GSDML file guideline coming from the PROFINET organization.

The sizes netX is providing as IO size can be easily change in the include file App.h by yourself. But once you change it do not forget to make the very same changes with the GSDML file, else the controller will not communicate to netX.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Answer - by Thomas - November-17th-2017, 01:19 PM
Answer - by Armin@netPI - November-17th-2017, 04:05 PM
Answer - by Armin@netPI - November-18th-2017, 08:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Raspbian OS version of the latest hilschernetpi/netpi-raspbian tad 2 2,348 March-5th-2021, 11:25 AM
Last Post: tad
  Profinet to Siemens PLC j.langlois 4 3,685 January-26th-2021, 06:11 PM
Last Post: j.langlois
  NIOT-E-NPIX-4DI4DO with netpi-netx container WalterSchaefer 3 6,853 November-25th-2020, 01:06 PM
Last Post: zen89
  Profinet name lost after reboot Dipro 7 5,040 November-16th-2020, 01:07 PM
Last Post: Armin@netPI
  Profinet stopped working (spidev spi0.0: SPI transfer timed out) Schranz 7 5,215 November-2nd-2020, 04:20 PM
Last Post: Armin@netPI
  netPI profinet device name WalterSchaefer 2 2,596 October-7th-2020, 11:10 AM
Last Post: WalterSchaefer
  netPI-netx-programming-examples update slos 12 8,022 September-14th-2020, 07:06 PM
Last Post: Armin@netPI
  netX linux driver Irina Grinberg 4 3,674 May-7th-2020, 01:33 PM
Last Post: Armin@netPI
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 5,877 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  PROFINET IO startup compilation arpan.patel@slscorp.com 3 2,964 February-24th-2020, 12:47 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)