Jump to content

Using timers to set current status


Recommended Posts

Hello,

I'm developing a project which toggles connected devices on and off. The program toggles itself on 8AM and off after 4PM. Mode works automatically by default. It can be manually forced on or off for five seconds. It will revert to automatic-setting after set time.

Right now I'm able to change current mode between values 1, 2 and 3. I have yet to find a proper way to set timer back to automatic. Suspected problem is timer applying itself multiple times when chosen.

Attachments include:
    - Current copy of a project
    - Screenshot from main routine and subroutine.

office_IV.vlp

post-28520-0-85411400-1428927254_thumb.png

post-28520-0-91992500-1428927257_thumb.png

post-28520-0-06013000-1428927260_thumb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.