+ 1

PLC with webpage

How to interlink PLC(programmable logic controller)with webpage..

4th Apr 2018, 11:21 PM
Anand Kumar T A
Anand Kumar T A - avatar
2 Answers
This is my intuitive response, having never done it, and having not done embedded code for over two decades! Use some kind of API or driver that interacts with the PLC to read relevant data (e.g. current temperature). Next bit depends whether your PLC code runs on your web server computer, or remotely. If on server, then merely write the temperature value to a databases . Web code then refreshes every few seconds to display the temperature, that's stored in the database. If PLC code not on server, I'd communicate with the server via SOAP etc. A total guess, having never done it, and only vaguely knowing what SOAP is! This person seems to have done something similar: http://www.instructables.com/id/PART-1-Send-Arduino-data-to-the-Web-PHP-MySQL-D3js/
4th Apr 2018, 11:55 PM
Martin Taylor Thanks Martin! Much better solution ☺
5th Apr 2018, 10:31 AM