Well I got a problem with my program or the PLC.
When I stop it to update the Logic and get it back in RUN, when Proficy ask me if OUTPUT ENABLED (have to click ok), at least one output get high When it shouldn't, which I really don't want.
In the pdf is the code where there is a problem.
R0106 is current time HHMM
001,300,600, etc are time at which the logic start to dose.
R00005 is the lenght of time of dosing (63.6 seconds)
So when I stop the PLC and restart it, R000165 is running, Dosekalk is on and the oAdditive is too so I'm dosing will not needed.
When I stop it to update the Logic and get it back in RUN, when Proficy ask me if OUTPUT ENABLED (have to click ok), at least one output get high When it shouldn't, which I really don't want.
In the pdf is the code where there is a problem.
R0106 is current time HHMM
001,300,600, etc are time at which the logic start to dose.
R00005 is the lenght of time of dosing (63.6 seconds)
So when I stop the PLC and restart it, R000165 is running, Dosekalk is on and the oAdditive is too so I'm dosing will not needed.