LogicMachine Forum
NOT Gate in FB Editor  ? - Printable Version

+- LogicMachine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: NOT Gate in FB Editor  ? (/showthread.php?tid=6129)



NOT Gate in FB Editor  ? - frasaha - 28.09.2025

Hey everyone, a beginner's question:

Where can I find the NOT Gate in the FB Editor, or how can I create an inverter there?
Thanks for your help in advance !

Regards Frank


RE: NOT Gate in FB Editor  ? - admin - 29.09.2025

You can use XOR gate with two inputs - binary object and number 1.
     

Or you can use a simple event script:
Code:
value = event.getvalue()
grp.write('1/1/1', not value)



RE: NOT Gate in FB Editor  ? - Daniel - 29.09.2025

All gate modules have 'Output not' just use it to have not result.


RE: NOT Gate in FB Editor  ? - frasaha - 30.09.2025

Two really good tips
Thank you !