trumpetr
Member
I have a UPB outlet that controls a deicing pump at a lake house. Using the external temp it should be cycling on and off based on temp and time and logging those actions. It's not happening as far as I can tell.
I can turn it on manually, and see it working over the network cams so I know that it's not a comm issue to the relay/plug, but probabally in my programming. Where have I gone wrong?
Here are the lines of code that are supposed to be doing this.
[codebox]17. // Temp Flagging
18. WHEN Extreme Cold Flag OFF
AND IF Exterior Temp CURRENT READING IS LESS THAN Auto Pump Extreme Temp Definitio
THEN Extreme Cold Flag ON
THEN LOG Temps Dropped Below Extreme Cold
19. WHEN Extreme Cold Flag ON
AND IF Exterior Temp CURRENT READING IS GREATER THAN Auto Pump Extreme Temp Definitio
THEN Extreme Cold Flag OFF
20. // De-Icer Pump Control Code
21. WHEN Override Automatic Dock Pump
THEN Pump Override Flag ON
THEN LOG Dock Pump Auto Operation OFF
22. WHEN Enable Automatic Dock Pump
THEN Pump Override Flag OFF
THEN LOG Dock Pump Auto Operation Enabled
23. WHEN Pump Timer Delay Flag OFF
AND IF Pump Override Flag OFF
AND IF Exterior Temp CURRENT READING IS LESS THAN 28
AND IF Extreme Cold Flag OFF
THEN Pump Timer Delay Flag ON FOR 90 MINUTES
THEN De-Icer Pump ON FOR 45 MINUTES
24. WHEN Pump Timer Delay Flag OFF
AND IF Pump Override Flag OFF
AND IF Exterior Temp CURRENT READING IS LESS THAN Auto Pump Temp Definition
AND IF Extreme Cold Flag ON
THEN Pump Timer Delay Flag ON FOR 60 MINUTES
THEN De-Icer Pump ON FOR 50 MINUTES
25. // Pump Operation Logging
26. EVERY HOUR
AND IF Exterior Temp CURRENT READING IS LESS THAN 32
THEN LOG Temps Drop Below Freezing
27. WHEN De-Icer Pump ON
THEN LOG Pump ON
28. WHEN De-Icer Pump OFF
THEN LOG Pump OFF
29. EVERY 5 MINUTES
AND IF Pump ON/OFF Status Flag ON
THEN De-Icer Pump REQUEST STATUS[/codebox]
I can turn it on manually, and see it working over the network cams so I know that it's not a comm issue to the relay/plug, but probabally in my programming. Where have I gone wrong?
Here are the lines of code that are supposed to be doing this.
[codebox]17. // Temp Flagging
18. WHEN Extreme Cold Flag OFF
AND IF Exterior Temp CURRENT READING IS LESS THAN Auto Pump Extreme Temp Definitio
THEN Extreme Cold Flag ON
THEN LOG Temps Dropped Below Extreme Cold
19. WHEN Extreme Cold Flag ON
AND IF Exterior Temp CURRENT READING IS GREATER THAN Auto Pump Extreme Temp Definitio
THEN Extreme Cold Flag OFF
20. // De-Icer Pump Control Code
21. WHEN Override Automatic Dock Pump
THEN Pump Override Flag ON
THEN LOG Dock Pump Auto Operation OFF
22. WHEN Enable Automatic Dock Pump
THEN Pump Override Flag OFF
THEN LOG Dock Pump Auto Operation Enabled
23. WHEN Pump Timer Delay Flag OFF
AND IF Pump Override Flag OFF
AND IF Exterior Temp CURRENT READING IS LESS THAN 28
AND IF Extreme Cold Flag OFF
THEN Pump Timer Delay Flag ON FOR 90 MINUTES
THEN De-Icer Pump ON FOR 45 MINUTES
24. WHEN Pump Timer Delay Flag OFF
AND IF Pump Override Flag OFF
AND IF Exterior Temp CURRENT READING IS LESS THAN Auto Pump Temp Definition
AND IF Extreme Cold Flag ON
THEN Pump Timer Delay Flag ON FOR 60 MINUTES
THEN De-Icer Pump ON FOR 50 MINUTES
25. // Pump Operation Logging
26. EVERY HOUR
AND IF Exterior Temp CURRENT READING IS LESS THAN 32
THEN LOG Temps Drop Below Freezing
27. WHEN De-Icer Pump ON
THEN LOG Pump ON
28. WHEN De-Icer Pump OFF
THEN LOG Pump OFF
29. EVERY 5 MINUTES
AND IF Pump ON/OFF Status Flag ON
THEN De-Icer Pump REQUEST STATUS[/codebox]