• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detecting NetPI in Siemens TIA via Profinet
Hello all,

I would like to build a script to subscribe to a memory address in my Siemens PLC via Profinet. 

I am currently running the example Profinet code (https://github.com/HilscherAutomation/ne...g-examples) on my NetPI, but I can't detect the NetPI in TIA.

Anyone done anything similar?

In order to let TIA portal detect the netPI on PROFINET via the DCP protocol your netPI needs a physical connection to the PC the TIA portal is running on.

This can be done either via an ordinary ethernet switch or using the embedded switch of the S7 PLC in case it has two physical ethernet ports.

Also the example program needs to run, else the Industrial Ethernet controller in netPI stops all PROFINET communication. So make sure the PNS example program is up and running and printing to the console screen that it is triggering the watchdog.

Since setting a PROFINET name of a slave device over DCP protocol is a very common thing for Hilscher and all our provided PROFINET devices, also Hilscher offers a DCP detection and name setting tool for Windows here: https://kb.hilscher.com/download/attachm...msi?api=v2

Try this program instead of TIA and right click to the found netPI and set a device name with it.

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

I am able to set the device name via the software you provided, but it seems like TIA still isn't able to connect to the device. I've set the IP within TIA and loaded in the electronic Data Sheet into TIA (https://github.com/HilscherAutomation/ne...s/PROFINET).

Is there anything else that you suggest I try?
I know TIA and a function "to scan for available devices" if you select the correct Ethernet port and scan it.

So if you use our program once agsin and scan the PC's Ethernet port and at the same time you use the TIA portal function to scan the same Ethernet port ... and then you don't see the netPI?

But on the other hand you see your S7 PLC in TIA if you rewire the Ethernet cable from netPI to your S7 PLC?
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)


Possibly Related Threads...
Thread Author Replies Views Last Post
  Siemens PLC -Uploading and downloading using netPI & VPN SAhire@hilscher.local 14 81 June-17th-2020, 12:34 PM
Last Post: MGharat
  Profinet communication between plc and pc leehc 1 11 May-26th-2020, 09:03 AM
Last Post: Armin@netPI
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 46 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  PROFINET IO startup compilation arpan.patel@slscorp.com 3 16 February-24th-2020, 12:47 PM
Last Post: Armin@netPI
  Profinet Startup Time Schranz 3 35 November-18th-2019, 03:22 PM
Last Post: Armin@netPI
  Codesys RTE profinet echteler 2 31 September-25th-2019, 09:56 AM
Last Post: Armin@netPI
  normal ethernet port using for Profinet MGharat 4 37 August-7th-2019, 10:39 AM
Last Post: hannes
  [SOLVED] Use netX interface as profinet controller jromero248 2 68 January-10th-2019, 12:30 PM
Last Post: jromero248
  NetPi as Profinet slave with other slaves present Reimar 4 198 July-24th-2018, 02:52 PM
Last Post: Armin@netPI
  netPI PROFINET IO Limitations Reimar 5 159 June-30th-2018, 09:14 PM
Last Post: Armin@netPI

Forum Jump:

Users browsing this thread: 1 Guest(s)