Apex Code Help.

yepreef

Active Member
View Badges
Joined
Jun 8, 2018
Messages
215
Reaction score
72
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
 
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:
 

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

  • Yes!

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

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top