Hilscher Community Forum
[SOLVED] Faulty devices description file from Github - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: [SOLVED] Faulty devices description file from Github (/thread-398.html)



[SOLVED] Faulty devices description file from Github - Whatzittoya13 - March-7th-2019

Hello,

in order to run an example program / container over the NetPi on the Profinet fieldbus system via the image "hilschernetpi/netpi-netx-programming-examples" I downloaded the corresponding device description file from GitHub / electronic-data-sheets following the instructions on DockerHub.

This is however faulty. When opening the file via an texteditor, parsing Errors are displayed and the device description file can not be imported into the Simatic Manager because it seems to be faulty. Furthermore a .bmp and a .ico file are available on github. These too are not able to open after download.

Now my question:
Is there a more up-to-date working device description file on another website?

I would very much welcome further solutions.

Thank you and best regards


RE: Faulty devices description file from Github - Armin@netPI - March-7th-2019

Hello,

I downloaded the whole source code from github as zip file.

https://github.com/HilscherAutomation/netPI-netx-programming-examples/archive/master.zip

Then I extracted the whole software package it with 7-zip and imported it to my TIA V15 software.

   

After that I found the device in the TIA portal device catalogue as usual and I was able to place device next to my PLC:

   

Everthing works fine as expected.

Thx
Armin


RE: [SOLVED] Faulty devices description file from Github - Whatzittoya13 - March-10th-2019

thank you very much,

this one seems to work.

However, I have another problem with the netpi in my fieldbus system.
I can not find the netpi in my simatic manager to set up a connection and configure it.
Even after I started the container hilschernetpi / netpi-netx-programming-examples and installed the driver and the Profinet firmware, no connection was possible.

Do you have a suggestion or an idea why I can not find the netpi on the network?

Does the fieldbus port have to be activated or configured in Netpi manager? The only network interface that I can configure in LAN is the Ethernet interface.


best regards


RE: [SOLVED] Faulty devices description file from Github - Armin@netPI - March-11th-2019

Hello,

there is no need for any port setting in netPI Web-GUI all is done in the container. You said you have started ./PNS_simpleConfig program successfully. This executeable is providing all necessary settings that netPI and its fieldbus ports are operating as PROFINET IO device. There are no other settings to be done, just starting this program is enough.

When you connect your S7-PLC to any of netPI's RJ45 fieldbus ports. Do you see LINK and ACT LED flashing and activated on this RJ45 port? If so then there is a physical connection first of all.

Aa next I don't know how familiar you are with PROFINET, but on PROFINET the devices are ALL addressed by unique names. Have you completely read the Containers README? There is a chapter "Protocol specifics". Please read it and follow the link. It explains that a fresh netPI needs a PROFINET name and you have to set it with your TIA portal software. Only then a S7 PLC is able to find netPI on the network. Have you set the name?


RE: [SOLVED] Faulty devices description file from Github - Whatzittoya13 - March-11th-2019

Did everything as recommended but unfortunately I did not keep the program running. Now I was able to build a connection to my netpi while the program is running in the background. So for the moment everything works fine.

Thanks again for your fast and helpful response.


RE: [SOLVED] Faulty devices description file from Github - Armin@netPI - March-11th-2019

Yes indeed, the program needs to run. It exchanges the process data with the console and netPI's PROFINET buffer and signals the netPI that an application is running and also triggers the watchdog function. If you stop the program, it signals to netPI to stop the PROFINET communication.