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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
i am using Codesys 3.5.16.20.
Does anyone know if it is possible to read out, in realtime, the current memory usage of a hardware PLC?
BR
Sebastian
Edit: i found this topic
https://forge.codesys.com/forge/talk/Engineering/thread/ea761b36d3/
But this seems not to work cause i don`t have such a file on my plc
Last edit: sedoerr 2020-10-30
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.
@Morberis
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.