Logic is meant to be used standalone or with audio blocks and control blocks. The following will guide you through Logic modules in Xilica Designer. 

In Project View, open the DSP design schematic.

Inside the DSP design schematic, you will see a Network Logic input block, Network Voltage input block, Network Logic output block, Network Voltage output block, and an Action trigger (Action trigger is for a logic event to trigger a preset.)

GPIO can send logic out to the network. Solaro GPIO cards (PC-4GPIO-IO) can serve as one of three functions (software selectable): a 4ch GPIO input card, 4ch GPIO voltage input card or 4ch GPIO output card. When you add a GPIO card, the GPIO input and output card has standard logic functions (G nodes). GPIO voltage input card has (GC) nodes.

Logic for Xilica is Boolean (true or false, high or low)

Note the node shapes. Only matching nodes can be wired together. Logic blocks are triangle nodes. Control blocks are oval nodes.

The Component Library menu lists Logic modules.
Logic modules:
AND
- All inputs are high (true) for a high (true) output.

OR - Any high (true) input(s) for a high (true) output. If all inputs are low (false), the output is also low (false). 

NOT - Output is opposite to signal of input. Meaning if input is high (true), the output is low (false). If the input is low (false), the output is high (true).

NAND - Combined module of NOT and AND.
All inputs are high (true) for a low (false) output. If any input(s) are low (false), the output is high (true).

NOR - Combined module of NOT and OR
All inputs are low (false) for a high (true) output. If any input(s) are high (true), the output is low (false).

XOR - If an input is high (true), the output is high (true). (It can only be one or the other input)
If all inputs are high (true), the output is low (false). If all inputs are low (false), the output is also low (false). 

XNOR - Opposite of XOR.
If an input is high (true), the output is low (false). (It can only be one or the other input)
If all inputs are low (false), the output is high (true). If all inputs are high (true), the output is high (true).

SR-FlipFlop - Toggle between two outputs. The module includes a Set, Reset and Trigger node. (Most of the time, you will use the Reset and Trigger)
For this example, a momentary button will Trigger the SR-FlipFlop. You can use this for screen control, ON/OFF control for a power sequencer, etc.
For each trigger (low-to-high signal) at the trigger pin, Output Q and Output /Q will switch values. Output /Q is always the opposite of Output Q.
If the Reset pin is used and the input is a high (true), the module will be reset.

Delay - Delay the logic command with On Time and Off Time settings.
When the input is high (true), the output will also be high (true) after the set On Time has passed (0 to 60s, 1ms steps).
When the input is low (false), the output will also be low (false) after the set Off Time has passed (0 to 60s, 1ms steps).

Multiplexer - The Multiplexer controls which input is passed through to the output. Open the Multiplexer to see which channel is selected. The multiplexer has three bit controls that can be connected to logic or contact closures, etc. which control which input channel is selected.
If all bits are low (false), the multiplexer channel is input 1. Meaning, Input 1 can pass through to the output.
If the first bit is high (true), the multiplexer channel is Input 2.
If the second bit is high (true), the multiplexer channel is Input 3.
If the first and second bit is high (true), the multiplexer channel is Input 4.
If the third bit is high (true), the multiplexer channel is Input 5.
If the first and third bit is high (true), the multiplexer channel is Input 6.
If the second and third bit is high (true), the multiplexer channel is Input 7.
If all three bits are high (true), the multiplexer channel is Input 8.

De-Multiplexer - Opposite to the Multiplexer, as it controls which output channel is passed through to from the input.

Encoder - Convert eight inputs to three binary inputs. 

Decoder - Opposite of the Encoder. Convert three binary inputs to eight outputs.

Counter - For each trigger (low-to-high signal) at the Trigger pin, adds one to the Count (0 to 99999999). Once the threshold (0 to 99999999) is reached, the State becomes high (true). The State indicates the current output condition.
Force Trigger will add one to the count total. Force Reset and Reset trigger (low-to-high signal) at the Reset pin will reset the Count value to zero.

Delay Hold - For each trigger (low-to-high signal) at the trigger pin or Force Trigger, the Delay Time (0.01 to 5000s) will hold the command (seen by the Delay State indicator). After the Delay Time, the Hold Time will hold for the set Hold Time (0.01 to 5000s) (seen by the Hold State indicator.)
Loop Mode will continuously cycle the Delay and Hold. Reset will reset the module. Allow Trigger sets whether a new trigger can occur during an event (Delay and Hold active cycle).

Latch Button -
When the latch button is turned On, it sends a high (true) signal. When the latch button is turned Off, it sends a low (false) signal.

Momentary Button - Send a low-to-high, or high-to-low signal event with the ON/OFF key press. Inverse will invert the action.

Momentary Button (with Hold Time) - Momentary Button (above) with Hold Time. Hold Time can be set as: (1 to 30000ms).

Radio Button - The Radio button selects an output channel for output high (true) signal. All other outputs are low (false). Inverse inverts all outputs on the module.

Indicator - Displays the current state.

Did this answer your question?