Blind control with permissives

Discussion in 'Pascal Logic Code Examples' started by znelbok, Oct 2, 2017.

  1. znelbok

    znelbok

    Joined:
    Aug 3, 2004
    Messages:
    1,151
    Likes Received:
    17
    I need to control some blinds that are only allowed to be closed when the window is closed. If the window is open then they are not allowed to be operated.

    I have code in logic that works, but its only giving me a full open or close operation and not allowing a partway stop - basically, if the window is open then the permissive is not set. If the window is open and the close blind request button is pressed, the window will close (permissive is set) and then the blind will close - you just cant stop it from the same button that initiated the request to close the blind.

    Is there a different way I could tackle this. Having a logic tab like on relays would have made this fairly simple, but there isn't so it has to be done in logic - unless of course I have missed something.
     
    znelbok, Oct 2, 2017
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.