Switch to desktop version  
Read SQL into EWON-tag - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: BASIC Script (https://techforum.ewon.biz/forum-52.html)
+--- Thread: Read SQL into EWON-tag (/thread-2803.html)



Read SQL into EWON-tag - rob.swartjes@nutreco.com - 16-10-2025

Hello,

I have an EWON Flexy205 and I am looking for a way to query an SQL-database every 30 seconds to retrieve a value and then store this value in an EWON-tag.
The database exists on the LAN-side of the EWON.
Is there a way to achieve this?, and if so, is there an example script for me to use as a basis?
Thanks for your support on this.

Regards,
Rob


RE: Read SQL into EWON-tag - simon - 22-10-2025

Hi Rob,

The Flexy does not support SQL protocol.
My advise would be to create a webservice in front of the SQL database that the Flexy can call to collect these data.