
Function library LenzeDrive.lib
Analog signal processing
2.2.2 Addition (L_ADD)
2−5
L
LenzeDrive.lib EN 1.7
2.2.2 Addition (L_ADD)
This FB adds or subtracts input values, depending on the input that is used.
L _ A D D
± 3 2 7 6 7
n I n 1 _ a
n I n 2 _ a
n I n 3 _ a
n O u t _ a
+
-+
Fig. 2−3 Addition (L_ADD)
VariableName DataType SignalType VariableType Note
nIn1_a Integer analog VAR_INPUT Addition input
nIn2_a Integer analog VAR_INPUT Addition input
nIn3_a Integer analog VAR_INPUT Subtraction input
nOut_a Integer analog VAR_OUTPUT Signal is limited to ±32767.
Functional sequence
1. The value at nIn1_a is added to the value of nIn2_a.
2. The value of nIn3_a is subtracted from the calculated result.
3. The result of the substraction is then limited to ±32767.
Komentáře k této Příručce