• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NetPi as Profinet slave with other slaves present
#3
515 Wrote:Hi,
Which are the relevant configuration options to be considered on the master?
What are the important configuration parameters in the code and do I need to change the GSDML configuration file as well?

For all three example the relevant part to be changed to your demand is in the file https://github.com/Hilscher/netPI-netx-p...udes/App.h. Here the number of input and outputs are declared in the two byte arrays. They are set to 10 and 4 bytes. Change it to your data length accordingly.

Of course you have to modify the GSDML file accordingly https://github.com/Hilscher/netPI-netx-p...170216.xml. The most relevant keys here are <IOData> for inputs and output where the 10 bytes and 4 bytes example length are declared as well. Change those to your new length ... and of course all the texts for the engineering software telling it "10bytes inputs" and "4 bytes outputs".

More is not needed.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Answer - by Reimar - July-11th-2018, 06:07 PM
Answer - by Armin@netPI - July-12th-2018, 06:14 AM
Answer - by Armin@netPI - July-12th-2018, 06:22 AM
Answer - by Reimar - July-24th-2018, 11:10 AM
Answer - by Armin@netPI - July-24th-2018, 02:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  communication cycle as EtherCAT slave tad 2 2,224 April-20th-2021, 11:14 AM
Last Post: tad
  Profinet to Siemens PLC j.langlois 4 3,688 January-26th-2021, 06:11 PM
Last Post: j.langlois
  Profinet name lost after reboot Dipro 7 5,041 November-16th-2020, 01:07 PM
Last Post: Armin@netPI
  Profinet stopped working (spidev spi0.0: SPI transfer timed out) Schranz 7 5,216 November-2nd-2020, 04:20 PM
Last Post: Armin@netPI
  netPI profinet device name WalterSchaefer 2 2,597 October-7th-2020, 11:10 AM
Last Post: WalterSchaefer
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 5,883 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  PROFINET IO startup compilation arpan.patel@slscorp.com 3 2,967 February-24th-2020, 12:47 PM
Last Post: Armin@netPI
  Profinet Startup Time Schranz 3 3,570 November-18th-2019, 03:22 PM
Last Post: Armin@netPI
  Codesys RTE profinet echteler 2 3,508 September-25th-2019, 09:56 AM
Last Post: Armin@netPI
  normal ethernet port using for Profinet MGharat 4 4,829 August-7th-2019, 10:39 AM
Last Post: hannes

Forum Jump:


Users browsing this thread: 1 Guest(s)