• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
netPI profinet device name
#1
Hello.
I try to connect NHST-T100-EN/PNM V3 with NIOT-E-NPI3-51-EN-RE over profinet.

On the NIOT I've installed netpi-netx-programming-examples container.
There a /home/pi/PNS_simpleConfig was started (with sudo). At the first start all necessary drivers were installed. Now the application works well (as I understand). Every second it shows a string: "netX watchdog is alive: nnnn"

NHST device was not able to communicate with it.
I plugged NIOT Profinet port to PC and made a scan with "Ethernet device setup" tool. As expected, IP was 0.0.0.0. And device name was empty.
When I set up device name to "netx51repns" manually by this tool, all errors gone. Now everything looks good.
But now I wonder why device name was not setup. I use your pre-built exmaple "PNS_Simpleconfig". I did not compile it by myself, just run binary.

At the othe hand, I did some debug an found, that device name is set up correctly in SetConfigParams function:

memcpy( ptSetConfig->abNameOfStation, "netx51repns", sizeof( "netx51repns" ) );

I've set a breakpoint to this line and device reached it.
Do you have ideas how to make example working without manual device name setup?
Thank you.
  Reply


Messages In This Thread
netPI profinet device name - by WalterSchaefer - October-7th-2020, 09:29 AM
RE: netPI profinet device name - by Armin@netPI - October-7th-2020, 09:52 AM
RE: netPI profinet device name - by WalterSchaefer - October-7th-2020, 11:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Profinet to Siemens PLC j.langlois 4 3,503 January-26th-2021, 06:11 PM
Last Post: j.langlois
  missing the menu items from IO Device Configurator tad 5 3,221 November-20th-2020, 07:41 AM
Last Post: Armin@netPI
  Profinet name lost after reboot Dipro 7 4,803 November-16th-2020, 01:07 PM
Last Post: Armin@netPI
  Profinet stopped working (spidev spi0.0: SPI transfer timed out) Schranz 7 5,019 November-2nd-2020, 04:20 PM
Last Post: Armin@netPI
  Accessing a modbus device connected to RTE port from Node-RED tad 10 7,908 October-2nd-2020, 07:21 AM
Last Post: Armin@netPI
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 5,584 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  PROFINET IO startup compilation arpan.patel@slscorp.com 3 2,807 February-24th-2020, 12:47 PM
Last Post: Armin@netPI
  Profinet Startup Time Schranz 3 3,399 November-18th-2019, 03:22 PM
Last Post: Armin@netPI
  Codesys RTE profinet echteler 2 3,364 September-25th-2019, 09:56 AM
Last Post: Armin@netPI
  normal ethernet port using for Profinet MGharat 4 4,638 August-7th-2019, 10:39 AM
Last Post: hannes

Forum Jump:


Users browsing this thread: 1 Guest(s)