i am using Codesys 18.104.22.168.
Does anyone know if it is possible to read out, in realtime, the current memory usage of a hardware PLC?
Edit: i found this topic
But this seems not to work cause i don`t have such a file on my plc
Check out the Codesys Memory Tools from the store.
Thanks for your answer. Yes i know this addon, but this i can only use in my developer system. But i want to show this informations in realtime on my webvisu.
Background is that, that my program allows users to upload files to the PLC and i want to show him how much storage space is left on the system.
Hmm I don't have an answer for the first, sorry. Maybe the My Question button on your relevant Codesys store would get you some help on that. Or a support ticket.
For the second you can use from the CAA File Library GetSize and do the math. I don't know if that will work on a folder so you can get the size of everything within but if it does then you're golden.
thanks for your reply. I tried to get the folder size, but it seems that this doesn't work.
I can go through all folders and check size of all files, but i think this is unreasonable.
Log in to post a comment.