This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Pulse output Boolean
#1
I am looking for a way to get a pulse output at an incoming 1 and 0.

Looked all around but can't find it.

I have a mirror cabinet with the following control method:

closed contact <1 sec = on or off
closed contact >2 sec is dimming up>down>up>down etc

so to turn it on and off with all other lights in the room i need to have an output pulse of <1 sec when the input is 1 and when the input becomes 0 i need again a ouput pulse of <1 sec.

Anybody an idea how to do?
Reply
#2
Just create event script on boolean virtual object and send on, wait 0.1s and send off. Later regardless what you write to this object it will fire this sequence.
------------------------------
Ctrl+F5
Reply
#3
(28.06.2021, 07:48)Daniel. Wrote: Just create event script on boolean virtual object and send on, wait 0.1s and send off. Later regardless what you write to this object it will fire this sequence.

You think i am a good scripter ;-) normally i do all with FB editor. I will try
Reply
#4
Code:
grp.write('1/1/1', true)
os.sleep(0.1)
grp.write('1/1/1', false)
------------------------------
Ctrl+F5
Reply
#5
(28.06.2021, 10:52)Daniel. Wrote:
Code:
grp.write('1/1/1', true)
os.sleep(0.1)
grp.write('1/1/1', false)

LOL, tnx
Reply


Forum Jump: