[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.
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.