• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    toggle function

    Scheduled Pinned Locked Moved Mervis
    3 Posts 2 Posters 882 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      daho
      last edited by

      Hey.
      I am new in Mervis and have a unipi Neuron L203.
      I want a toggle function on a input to switch on/off a relay. But I also wants to swtich off same relay when a another input is getting signal (when the alarm system is active).
      Any Ide?

      Martin KudláčekM 1 Reply Last reply
      Reply Quote 0
      • Martin KudláčekM
        Martin Kudláček @daho
        last edited by

        Hi @daho,
        for the toggle functionality you can use the FB "toggle". The rest of the task is simple boolean logic. If the toggle output is true and another DI is false (not true), set the RO to true. Use the FB "and" and "not" for that.

        Best regards,
        Martin

        1 Reply Last reply
        Reply Quote 0
        • D
          daho
          last edited by

          Thanks for quick reply. But I also wants to reset the toggle fb when I activete the alarm. Can its be done?
          It is working to switch off when alarm i active. But the lights goes on again when alarm i off.

          //Daniel

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post