Apex a little overboard on alarms

  • Thread starter Thread starter Carl C
  • Start date Start date
  • Tagged users None

Carl C

Active Member
View Badges
Joined
Jan 11, 2018
Messages
326
Reaction score
213
What state or country do you live in
Massachusetts
Rating - 0%
0   0   0
Every minute

EAD03B29-6850-4C69-A62E-F55BC626F84B.png
 
Not sure what that code is meant to tell you but if it’s not something you want to know about ASAP I’d change the conditions that trigger the alarm.
 
Every minute

EAD03B29-6850-4C69-A62E-F55BC626F84B.png

The issue is that the switch is being triggered repeatedly, on and off. To avoid this you should put a defer statement before turning on- like “defer 5 then on”. That way the float switch needs to be in the triggered position for 5 solid minutes before it triggers the alarm.
 
What is Swx3_4? As mentioned above, a Defer timer usually helps, though depending on what the switch is it may be more appropriate to only defer for a few seconds.

You might also want to monitor it via a virtual output with the defer, then alert on the status of the virtual output.

See my tutorial on Apex Alarm programming for examples: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-6-alarms.707/
 
The issue is that the switch is being triggered repeatedly, on and off. To avoid this you should put a defer statement before turning on- like “defer 5 then on”. That way the float switch needs to be in the triggered position for 5 solid minutes before it triggers the alarm.
thats great thanks for helping
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 30 44.8%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 13.4%
  • No.

    Votes: 25 37.3%
  • Other (please explain).

    Votes: 3 4.5%
Back
Top