Naming switches

madmike

New member
Is there any way to name switches? I have quite a few switches on my system for high and low water conditions etc.... but when I am at work and my phone gets a text that Switchx5_1 is open I struggle to remember what switch that is!

Thanks
 
Not directly, but you can create a virtual outlet to track the status of a switch. It makes the code and email notices more readable. So for example:

[Sump_High]
Set OFF
If SwitchX CLOSED Then ON
Defer 00:10 Then ON

Then just reference the virtual outlet in other code.

[ATO]
.
.
.
If Outlet Sump_High = ON Then OFF



.
.
.
If Outlet Sump_High = ON Then ON


Todd
 
Can you do the same thing with the AC3?
You sure can!

Pick unused hardware addresses (I used Pxx when I had an AC3), define dummy timers, then corresponding program statements.

Let's say you have float 2 switches in a ATO reservoir.

LHI&-P01 // Level High
LLO&-P02 // Level Low

If Time > 00:00 Then ALM OFF
If Switch1 Closed Then LHI ON
If Switch1 Open Then LHI OFF
If Timer LHI = ON Then ALM ON
If Switch2 Closed Then LLO ON
If Switch2 Open Then LLO OFF
If Timer LLO = ON Then ALM ON
 
Back
Top