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

    [newbie] push buttons and relay statuses

    Mervis
    2
    5
    1148
    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.
    • A
      Antonio Fernández Vara last edited by

      Hello, (probably) sorry for this newbie question but I'm not able to find a solution.

      After reading some setups I went with push buttons so I could be able to manage what actions those will be able to do. I have buttons on DIs and those works correctly but I want to manage the state of relays so on press (DIx ==true) I want to set the ROx = !ROx, so it switchs.

      I have tryed with R_TRIG and FlipFlop but I only manage to change one time the relay value.

      I'm sure there is a short path to make it but I can't find it. Someone can help me bringing some light?

      Thank you in advance.

      T 1 Reply Last reply Reply Quote 0
      • T
        tomas_hora administrators @Antonio Fernández Vara last edited by

        Hello @antonio-fernández-vara

        check the "Toggle" function block.

        1 Reply Last reply Reply Quote 0
        • A
          Antonio Fernández Vara last edited by

          Thanks @tomas_hora . I'm trying to find that function but there is not a box for that, or at least I'm not seeing it.

          I have a Mervis build 58620(2.0.12), don't know if it helps and a Neuron L203.

          0_1536739169007_Capture_toogle.PNG

          T 1 Reply Last reply Reply Quote 0
          • T
            tomas_hora administrators @Antonio Fernández Vara last edited by

            @antonio-fernández-vara Opps! It will be a part of the upcomming MervisIDE 2.1.3 during the next week.

            1 Reply Last reply Reply Quote 0
            • A
              Antonio Fernández Vara last edited by

              Thanks @tomas_hora it works as expected.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post