blockIntegerAdd
Output the sum of the two inputs
Information
This blocks computes output y as sum of the two input signals u1 and u2:
y = k1*u1 + k2*u2;
Example:
parameter: k1= +2, k2= -3
results in the following equations:
y = 2 * u1 - 3 * u2
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | k1 | +1 | Gain of upper input |
| Integer | k2 | +1 | Gain of lower input |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ETL.Connectors.IntegerInput | u1 | ||
| ETL.Connectors.IntegerInput | u2 | ||
| ETL.Connectors.IntegerOutput | y |