Button to light

Posts: 3
Joined: Mon Apr 25, 2016 11:50 am

Button to light

Postby SorakCz » Mon Apr 25, 2016 12:03 pm


I try to create button to light. Button is connected to digital input. I need this action:
first click switch on
secont click switch off

In next steps i want to try doubleclick.

Is in Mervis some element for this simulation?
I Tried it in Fupla with AND, OR and negation elements, but it did not work correctly.

Site Admin
Posts: 298
Joined: Wed Oct 29, 2014 9:56 am

Re: Button to light

Postby tomas_hora » Tue Apr 26, 2016 10:02 am


first of all you might need to set the sleep mode to minimum because the runtime run in loops which takes some time (not event-driven system) so it is highly possible you will not be able to catch pulses that do not take much time.

I recommend making your own function block in st (see the video tutorials https://www.youtube.com/playlist?list=P ... ugVSn2K1RL )

Return to “Mervis”

Who is online

Users browsing this forum: No registered users and 3 guests