fg71
 
I have other idea or though.
 
Siemens LOGO have a feature to be able include HTTP/S server in the hardware. You use LSC (Software IDE) to make that possible. And use other software LWE to upload HMI to the hardware if it include sd-card. The HMI is stored on the sd-card.
By doing a reverser engineer of the LWE and some JavaScript function there is function like DBRequest.
 
It makes me to believe what if OpenPLC had this feature there you could enable HMI from OpenPLC IDE and upload the javascript function to do request to PUT/GET, the user do not have to know anything about javascript and special components in the OpenPLC IDE could use jquery, jqueryUI and others. The user only build a HMI in the OpenPLC IDE and upload to the board with sd-card attached. Or maybe other ways to transfer the data.
 
I have done some simple example in Arduino IDE
 
I'm not sure how big this is... I only know its very simple to build HMI for Siemens LOGO. And from Codesys point of view I believe its the same. That said Codesys use SBC and not MCU.... but Siemens LOGO is MCU with SD-Card attached.
 
I think it could be very useful and maybe next thing to amazing people to use OpenPLC 😉
 
Reply 1 0
fg71
Here is example of LOGO Login screen from Siemens.
 
[203128%2F9240578%2Fmceclip0]
Reply 0 0
fg71
And here we could see the output Q1 from the web ui. As you could see LSC is in Debug Online and the top view is LOGO Web UI
The variable Q1 is bool and set to TRUE/FALSE
 
[203128%2F9240612%2Fmceclip0]
Reply 0 0
Reply