Sale ends todayGet 30% off any course (excluding packages)
Ends in --- --- ---
Hey guys,
was wondering how i would go about making a math block to use one input to turn on two outputs
can di 1 status =
Can di 2 status
Can di 3 status
so would the equation be a=b+c
If the goal is to turn on 2 outputs when one input is turned on, here's one way:
Make a GP output for each output
set the output for it to CAN Aux # (whatever number you want to use)
set switch logic to cond 1 only
set the switch parameter to be the status of the thing you want to be the input
set sw cond 1 to =
set the next line to active
The setup for each of the 2 would be identical except for the GP Output # and CAN Aux #.
It may help if you check out Boolean Logic, AKA Boolean Algebra, as it's the math' behind the core logic of the equations.
I don't know the specific options available to you, in the cell, but that should give you something to work with.
Math channels would be used to generate a numeric value, rather than turn on 2 outputs.