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

    toggle function

    Mervis
    2
    3
    162
    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áček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček administrators @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
          • First post
            Last post