Logic Machine Forum
Problems with FB Editor - Printable Version

+- Logic Machine 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: Problems with FB Editor (/showthread.php?tid=2020)



Problems with FB Editor - ColRedrain - 11.04.2019

Good morning,

I'm trying to start with the function block editor but i have some problems because i never used something like this before. And the manuals dont reallly help me.

I understand the general structure of the editor but fail yet with a simple logic like this:

I have an "or function block" with two inputs. Both inputs are true/false objects (e.g. 32/1/1 and 32/1/2) and the function is triggered by one of them. The output is the object 32/1/3.
 If i test the function the value of the output 32/1/3 only can change between true and false. 

How can i reach now if one of the inputs is true the output writes an other value (e.g. ASCII text) on 32/1/3 and if both inputs are false again an other value?

Thank you for your help!


RE: Problems with FB Editor - Daniel - 11.04.2019

Hi
Check this video
https://www.youtube.com/watch?v=MHQ7s5imZdk
BR


RE: Problems with FB Editor - ColRedrain - 11.04.2019

Hi, 

Thank you for the quick response, i saw this video yet but it didn't help me.
In the video the output is true or false. But i want that the output is a specific value in an other datatype.

I am sorry for this perhaps its too high for me.


RE: Problems with FB Editor - admin - 11.04.2019

If you need this for visualization you can use custom values option to map specific text to true/false values.


RE: Problems with FB Editor - Daniel - 11.04.2019

You can do it like that, but if you need this just for visu then do it like admin said.


RE: Problems with FB Editor - ColRedrain - 11.04.2019

(11.04.2019, 12:53)Daniel. Wrote: You can do it like that, but if you need this just for visu then do it like admin said.

This is function i looked for.

Thank you very much