Nov 26, 2021 #1 yepreef Active Member View Badges Joined Jun 8, 2018 Messages 220 Reaction score 70 Rating - 0% 0 0 0 So i have this code for my soleinoid on 24v DC port. Set OFF Fallback OFF If Sw3 CLOSED Then ON How do i set this to turn off for 1 hour at nigh? Thanks
So i have this code for my soleinoid on 24v DC port. Set OFF Fallback OFF If Sw3 CLOSED Then ON How do i set this to turn off for 1 hour at nigh? Thanks
Nov 26, 2021 #2 SuncrestReef That Apex guy View Badges Excellence Award Reef Tank 365 Article Contributor Reef Squad Emeritus Joined Jan 18, 2018 Messages 4,214 Reaction score 8,688 Location Oregon Rating - 0% 0 0 0 If you just want it to turn off for one hour at a specified time, add this line of code: Set OFF Fallback OFF If Sw3 CLOSED Then ON If Time 22:00 to 22:59 Then OFF This example would turn it off between 10pm - 11pm. See my tutorial on Apex Timers for more details and examples: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-2-timers.689/
If you just want it to turn off for one hour at a specified time, add this line of code: Set OFF Fallback OFF If Sw3 CLOSED Then ON If Time 22:00 to 22:59 Then OFF This example would turn it off between 10pm - 11pm. See my tutorial on Apex Timers for more details and examples: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-2-timers.689/
Nov 26, 2021 #3 OP OP yepreef Active Member View Badges Joined Jun 8, 2018 Messages 220 Reaction score 70 Rating - 0% 0 0 0 I appreciate you sir