Control Sum
Control Sum is the editor’s circular form of Sum.
Each input side is marked +, −, or off.
Behavior
Section titled “Behavior”y[n] = s₀u₀[n] + s₁u₁[n] + s₂u₂[n], with each active sign equal to +1 or
−1. Omit the third term for two inputs. There is no state or delay.
Inputs are ordered left, top, bottom, then right, skipping the output side and
disabled sides. Rotating the block moves the sides and their signs together.
Setting an input to off removes that port and its connection.
| Direction | Type | Meaning |
|---|---|---|
| Inputs | Same numeric type | Two or three signals to add or subtract. |
| Output | Same numeric type | Signed sum; see Sum for array behavior. |
Parameters
Section titled “Parameters”| Parameter | Type | Default | Meaning |
|---|---|---|---|
signs |
+, −, or off per side |
Left +, bottom −, others off |
Active inputs and their signs. |
outputSide |
Side | Right | Output position, controlled by rotation. |
Example
Section titled “Example”With the left input set to + and the bottom input set to −, connect a
setpoint of 10 on the left and a measurement of 3 below. The output is
10 - 3 = 7.