Adder
|
Name |
Description |
|
Initializes an Adder Pipe Block for use in a PLC Program with user-defined settings. |
|
|
Returns the offset value of the first entry of an Adder block. |
|
|
Returns the offset value of the second entry of an Adder block. |
|
|
Returns the ratio value of the first entry of an Adder block. |
|
|
Returns the ratio value of the second entry of an Adder block. |
|
|
Sets the source of an input of an Adder Pipe Block. |
|
|
Set the offset value of the first entry of the Adder block. |
|
|
Set the offset value of the second entry of the Adder block. |
|
|
Set the ratio value of the first entry of the Adder block. |
|
|
Set the ratio value of the second entry of the Adder block. |
Purpose
- Adds two data flows (the output is the algebraic sum of the two inputs).
- Before being added, input values may be amplified and shifted (multiplication factor and offset are individually defined for each input).
Parameters
|
Parameter |
Description |
|---|---|
|
Ratio1 |
Sets the Ratio value of the first entry of an Adder object. |
|
Offset1 |
Sets the Offset value of the first entry of an Adder object. |
|
Ratio2 |
Sets the Ratio value of the second entry of an Adder object. |
|
Offset2 |
Sets the Offset value of the second entry of an Adder object. |
Output = (Ratio_1 * Input_1 + Offset_1) + (Ratio_2 * Input_2 + Offset_2)
Rules
Adder - Rule 1
The pipe blocks connected to the Adder inputs (e.g., a Cam and a Gear) must have the same output modulo positions.
Adder - Rule 2
The modulo position of the pipe blocks connected to the Adder inputs must have the same value (or a multiple) as the modulo position of the pipe block connected to the output of the Adder.
Associated Data
- OutputValue: Output value of the data flows.
- Entry1: input value 1.
- Entry2: input value 2.






