1
Support Questions / Resetting values to default when communication to PLC is lost
« on: February 10, 2021, 05:03:51 AM »
Hello Everyone,
I am looking for a way to reset integer values to 0 or bits to off when communication to a PLC is lost and restart reading correct values when communication is regained. What is happening in my application is that when values are read and communication is lost, the values keep on alternating with "ReadTimeout". I am using BasicDatalogger2 to log the values to csv file which I automatically upload to MySQL database with a php application. The values read before loss of communication keep on logging to the csv/database.
I am looking for a way to reset integer values to 0 or bits to off when communication to a PLC is lost and restart reading correct values when communication is regained. What is happening in my application is that when values are read and communication is lost, the values keep on alternating with "ReadTimeout". I am using BasicDatalogger2 to log the values to csv file which I automatically upload to MySQL database with a php application. The values read before loss of communication keep on logging to the csv/database.