8400 BaseLine D | Software Manual
Function library
Function blocks
150
L
Firmware 03.00 - DMS EN 5.0 - 07/2009
9.1.2
L_MPot
This FB replaces a hardware motor potentiometer and can be used as an alternative
setpoint source which is controlled via two inputs.
The signal is output via a ramp function generator with linear ramps.
The acceleration and deceleration times are set via parameters.
The potentiometer function is selected via the
Function
parameter.
Inputs
Outputs
Identifier/data type
Information/possible settings
bEnable
BOOL
Change-over of motor potentiometer function
Input
bEnable
and code C806
bEnableInternal
are ORed.
True The motor potentiometer function is active, setpoint can be changed
via
bUp
and
bDown
.
• With a change-over to TRUE, the value applied to
nIn_a
is
automatically transferred to the motor potentiometer.
FALSE The value applied to
nIn_a
is output at
nOut_a
.
nIn_a
INT
When bEnable = FALSE, the analog input signal nIn_ is switched to the nOut_a
output.
bUp
BOOL
Increase output signal
True The
nOut_a
output signal runs to its upper limit value (
nHighLimit
).
• If the
bDown
input is simultaneously set to TRUE, the
nOut_a
output signal is not changed.
bDown
BOOL
Reduce output signal
True The
nOut_a
output signal runs to its lower limit value (
nLowLimit
).
• If the
bUp
input is simultaneously set to TRUE, the
nOut_a
output
signal is not changed.
bInAct
BOOL
Deactivate motor potentiometer function
• This input has the highest priority.
• When the motor potentiometer is deactivated, the
nOut_a
output signal follows
the function set with
Function
.
True Motor potentiometer function is deactivated.
Identifier/data type
Value/meaning
nOut_a
INT
Output signal
L_MPot
nOut_a
bUp
bDown
bInAct
dnActRetain
dnActRetain
0
1
C806
nln_a
bEnable
C804
C805
C800
C802
C801
C803
CTRL