The Sum block performs either addition or subtraction on the inputs depending on the list of sign parameter.
Dialog box

Figure 1 Sum dialog box
Parameters
|
Parameter(s) |
Description |
|
List of signs |
Enter the plus (+) or minus (-) operation to be performed. The number of characters is equal the number of inputs. |
|
Sample Time |
Enter the time interval between samples. |