mekiLogic
- ADemux2
ADemux2 outputs the input value according to selected the output channel.
- Parameters:
Out1 (real) – Equal to In when Sel is Out1, otherwise remains unchanged
Out2 (real) – Equal to In when Sel is Out2, otherwise remains unchanged
In (real) – Input value
Sel (option) – Select the output channel, Out1 or Out2
- And4
And4 performs a logical AND towards all inputs and writes the result to the out property.
In1
In2
In3
In4
Out
false
false
false
false
false
true
false
false
false
false
false
true
false
false
false
false
false
true
false
false
false
false
false
true
false
true
true
false
false
false
true
false
true
false
false
true
false
false
true
false
false
true
true
false
false
false
true
false
true
false
false
false
true
true
false
true
true
true
false
false
true
true
false
true
false
true
false
true
true
false
false
true
true
true
false
true
true
true
true
true
truth table when using four inputs.
- ASW
ASW outputs the input value according to selected the input channel.
- Parameters:
Out (real) – Equal to In1 when S1 is In1, otherwise equal to In2
In1 (real) – Input value
In2 (real) – Input value
S1 (option) – Select the input channel, In1 or In2
- B2P
B2P is short of “Boolean to pulse”. It outputs a pulse signal when input value is made to true.
- Parameters:
Out (boolean) – Pulse signal output
In (boolean) – Input value
- BSW
BSW outputs the input values according to selected the input channel.
- Parameters:
Out (boolean) – Equal to In1 when S1 is In1, otherwise equal to In2
In1 (boolean) – Input value
In2 (boolean) – Input value
S1 (option) – Select the input channel, In1 or In2
- Demuxl2B4
Demuxl2B4 outputs the input values according to selected the input channel.
- Parameters:
In (integer) – Input value
Out1-Out4 (boolean) – Only 1 Out equal to true each time base on logic: Out(x) = true, while x = In – StartsAt + 1, all Out equal to false if x > 4 and x < 1
StartsAt (integer) – Offset value for In selection
- ISW
ISW outputs the input values according to selected the input channel.
- Parameters:
Out (integer) – Equal to In1 when S1 is In1, otherwise equal to In2
In1 (integer) – Input value
In2 (integer) – Input value
S1 (option) – Select the input channel, In1 or In2
- Not
Not outputs a contrary of the input value.
- Parameters:
Out (boolean) – Opposite value of In
In (boolean) – Input value
- Or4
Or4 outputs the input values according to selected the input channel.
- Parameters:
Out (boolean) – Equal to true if one of the In1-In4 is true
In1-In4 (boolean) – Input value
- Xor
Xor outputs the input values according to selected the input channel.
- Parameters:
Out (boolean) – Equal to true if both In1 and In2 are not identical
In1 (boolean) – Input value
In2 (boolean) – Input value