Function library lenzedrive.lib, Special functions, 5 s−ramp – Lenze DDS Function library Drive User Manual
Page 87: 6 arithmetic operation
![background image](/manuals/566039/87/background.png)
Function library LenzeDrive.lib
Special functions
2.7.4
Speed preconditioning (L_NSET)
2−77
L
LenzeDrive.lib EN 1.7
·
When the controller inhibit (CINH) is set, the ramp generator accepts the value at nCInhVal_a
and passes it on to the following function.
This function has priority over all other functions.
·
bRfgStop_b = TRUE:
– The ramp generator is stopped. Changes at the input of the ramp generator have no effect
on the output signal.
·
bRfg0_b = TRUE:
– The ramp generator decelerates to zero along its deceleration ramp.
·
It is also possible to load the ramp generator online with a defined value. For this bLoad_b
must be set = TRUE. As long as this input is set, the value at nNSet_a is accepted by the ramp
generator and provided at the output.
Priorities:
CINH
bLoad_b
bRfg0_b
bRfgStop_b
Function
0
0
0
0
RFG follows the input value via the set ramps.
0
0
0
1
The value at the output of RFG is frozen.
0
0
1
0
RFG decelerates to zero along the set deceleration ramp.
0
0
1
1
0
1
0
0
RFG takes the value at nSet_a and provides it at its output.
0
1
0
1
0
1
1
0
0
1
1
1
1
0
0
0
RFG takes the value at nCInhVal_a and provides it at its output.
1
0
0
1
1
0
1
0
1
0
1
1
1
1
0
0
1
1
0
1
1
1
1
0
1
1
1
1
0 = FALSE
1 = TRUE
2.7.4.5
S−ramp
A PT1 element is connected to the linear ramp generator. This arrangement implements an S−ramp
for an almost jerk−free acceleration and deceleration.
·
The PT1 section is switched on/off with bSShapeActive.
·
The time constant is set with nTiSShaped.
2.7.4.6
Arithmetic operation
The arithmetic module makes an arithmetical combination of the main setpoint and the additional
setpoint. The arithmetical combination is selected by byArithFunction.
byArithFunction
Function
Example
0
nNout_a = x (y is not processed)
1
nNout_a = x + y
2
nNout_a = x − y
3
nNout_a = x * y
nNOut_a
+
x
@ y
16384
4
nNout_a = x / |y|
nNOut_a
+ x|
y| @
164
5
nNout_a = x / (100% − y)
nNOut_a
+
x
16384
* y @
16384