[newbie] push buttons and relay statuses
-
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.
-
Hello @antonio-fernández-vara
check the "Toggle" function block.
-
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.

-
@antonio-fernández-vara Opps! It will be a part of the upcomming MervisIDE 2.1.3 during the next week.
-
Thanks @tomas_hora it works as expected.
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