Hilscher Community Forum
EtherCAT Master: any options? - 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: EtherCAT Master: any options? (/thread-219.html)

Pages: 1 2 3 4 5


RE: EtherCAT Master: any options? - Armin@netPI - May-28th-2019

Hello Andreas,

is there any data you are storing on netPI during operation. I mean such things like a database saving PLC data for trending for example or some tools writing periodically data to visualize them?

Thx
Armin


RE: EtherCAT Master: any options? - andreash - May-28th-2019

(May-28th-2019, 01:41 PM)Armin@netPI Wrote: Hello Andreas,

is there any data you are storing on netPI during operation. I mean such things like a database saving PLC data for trending for example or some tools writing periodically data to visualize them?

Thx
Armin

I'm not sure I started with an empty codesys project and node-red but I do not save data intentionally.


RE: EtherCAT Master: any options? - Armin@netPI - May-28th-2019

One more question about "console" outputs of each container ... docker is storing them in a database as well. You can see them in portainer.io web interface when you click to the container->log. Is there anything you see periodically writing to it?


RE: EtherCAT Master: any options? - andreash - May-28th-2019

(May-28th-2019, 02:11 PM)Armin@netPI Wrote: One more question about "console" outputs of each container ... docker is storing them in a database as well. You can see them in portainer.io web interface when you click to the container->log. Is there anything you see periodically writing to it?

I'm going to check that (currently I have no access to the system) it might take some days unfortunately.


RE: EtherCAT Master: any options? - andreash - May-30th-2019

So now the system was running for 25 hours and crashed again. I limited the memory usage until garbage collection of node-red starts to 64Mb using the command
Code:
node --max-old-space-size=64 red.js

Additinally I turned off verbose logging in node-red. This seemed to improve runtime from 12 hours to something around 24. Nevertheless if the container crashes due to that the cifx0 interface also crashes and I have no chance to get access to the device anymore due to the network connection being over cifx0.

I monitored memory usage in the containers shell via
Code:
free -h
and
Code:
df -h
All was sufficiently constant and memory usage seemed not to be rising. Even after 24hours no rising memory usage was observed. Nevertheless the system crashed. Since I can't access the device after a crash of this container I have no ability to check log files now.
At the moment I don't know were to look.

Andreas


RE: EtherCAT Master: any options? - Armin@netPI - May-30th-2019

Sent you a private message in the forum. Pls have a look.