sfsuphysics
Active member
Ok if that wasn't confusing let me explain.
I have a high temperature "fail safe" for my halides, basically if it exceeds 82° halides shut off. I'm curious though do I need to have a line of code that says if it goes below 82 they turn back on? Or will my day to day time code do that for me. I'm worried about having them turn on in the middle of the night, or hell any time when the temp is below 82 (which has been always)
Basically I just not quite sure for the hierarchy for commands, i.e. when one conflicts with another.
Here's my code
If Time > 08:00 Then T5A ON
If Time > 19:00 Then T5A OFF
If Time > 09:30 Then T5B ON
If Time > 18:00 Then T5B OFF
If Time > 10:30 Then MH0 ON
If Time > 16:00 Then MH0 OFF
If Temp < 81.0 Then HT2 ON
If Temp > 82.0 Then HT2 OFF
If Temp < 76.5 Then HT1 ON
If Temp > 77.0 Then HT1 OFF
If Temp > 82.0 Then MH0 OFF
If Time > 07:00 Then 2PT ON
If Time > 07:30 Then 2PT OFF
If Temp > 80.0 Then FAN ON
If Temp < 80.0 Then FAN OFF
My fan toggles off because there's nothing else to tell it to do so.
Just not sure if the "Time" command is basically a digital version of a mechanical timer. I.e. when it passes a particular point it'll turn on, however if something turns it off then it won't turn back on. *BUT* it will override any off commands when 10:30 comes around again.
I have a high temperature "fail safe" for my halides, basically if it exceeds 82° halides shut off. I'm curious though do I need to have a line of code that says if it goes below 82 they turn back on? Or will my day to day time code do that for me. I'm worried about having them turn on in the middle of the night, or hell any time when the temp is below 82 (which has been always)
Basically I just not quite sure for the hierarchy for commands, i.e. when one conflicts with another.
Here's my code
If Time > 08:00 Then T5A ON
If Time > 19:00 Then T5A OFF
If Time > 09:30 Then T5B ON
If Time > 18:00 Then T5B OFF
If Time > 10:30 Then MH0 ON
If Time > 16:00 Then MH0 OFF
If Temp < 81.0 Then HT2 ON
If Temp > 82.0 Then HT2 OFF
If Temp < 76.5 Then HT1 ON
If Temp > 77.0 Then HT1 OFF
If Temp > 82.0 Then MH0 OFF
If Time > 07:00 Then 2PT ON
If Time > 07:30 Then 2PT OFF
If Temp > 80.0 Then FAN ON
If Temp < 80.0 Then FAN OFF
My fan toggles off because there's nothing else to tell it to do so.
Just not sure if the "Time" command is basically a digital version of a mechanical timer. I.e. when it passes a particular point it'll turn on, however if something turns it off then it won't turn back on. *BUT* it will override any off commands when 10:30 comes around again.