Firmware 03.00 - DMS EN 5.0 - 07/2009
L
153
8400 BaseLine D | Software Manual
Function library
Function blocks
9.1.2.2
Deactivation of motor potentiometer
When the motor potentiometer is deactivated by setting
bInAct
to TRUE, the
nOut_a
output signal responds according to the function selected via
Function
.
[9.3]
Example: Deactivation of the motor potentiometer when the
function
1,
= 1, has been selected
9.1.2.3
Save current output value after mains failure
To save the last actual value at
nOut_a
after a mains failure, declare a RETAIN variable and
combine this with the FB instance as shown in the following illustration:
This variable always saves the current value at
nOut_a
. Even in case of mains failure the
variable keeps the value.
When the mains is switched on again, the value saved in the variable is read into the FB
L_MPOT
and processed as starting value.
When the motor potentiometer is deactivated,
nOut_a
is reduced to 0 % with the deceleration time
wTif
.
If it is activated again,
nOut_a
is increased again to
nLowLimit
with the acceleration time
wTir
.
nOut_a
t
t
TRUE
FALSE
bUp
t
TRUE
FALSE
bDown
nHighLimit
nLowLimit
0
wTir
wTif
wTir
t
TRUE
FALSE
bInAct
wTif
wTif
0
1
VAR RETAIN
L_MPot
nOut_a
bUp
bDown
bInAct
dnActRetain
dnActRetain
0
1
C806
nln_a
bEnable
C804
C805
C800
C802
C801
C803
CTRL
VAR RETAIN