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

    [newbie] push buttons and relay statuses

    Scheduled Pinned Locked Moved Mervis
    5 Posts 2 Posters 2.7k 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.
    • 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

              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