Hello!
We would like to acquire parameters (states, counters and analog inputs) from a production line, put them into XML format and be able to visualize them on the internal webserver of the PLC and be able to access the data from any point on the network.
Is this possible? And if yes, could you lead me in the right direction on how this can be done?
Thank you
Hi!
It could be a little bit tricky to share xml file, but it is possible in general case.
There is no predefined library to deal with xml in the plcnext store. So you have do do it by your own or take a look at json libruary https://www.plcnextstore.com/world/app/1529
1. , as alternative.
2. For simple sharing xml-file via web, with minimal underlying nginx config, you should place it in folder where regular ehmi files stored /opt/plcnext/projects/PCWE/Services/Ehmi/ehmi/
3. You have to be aware of hi write activity to the file because of degradation of sd card. So, as workaround, create tiny ram disc (tmpfs) and store xml file there, with softlink to the file in ehmi folder.
That is what I can see as general propose to solve this task
As for ehmi data visualisation, I think you should not met any troubles.
Best regards.