
17
Function library
17.1
Function blocks | L_SwitchPoint_1
1515
Lenze · 8400 HighLine · Reference manual · DMS 12.0 EN · 06/2017 · TD23
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Outputs
Parameters
dn2ndPoint_Size
x
_p
DINT
Position switch point
x
: Position of the second switching point or size of the
switching window depending on the CenterMode set in
:
When CenterMode = FALSE:
Position of the second switching point in [increments]
•
dn2ndPoint_Size_p
must be higher than
dnSwitchPoint_p
.
When CenterMode = TRUE:
Size of the switching window in [increments]
• Due to the symmetrical arrangement of the window around the first switching
point, uneven values are rounded to even values.
• Only positive values are permissible.
Designator
Data type
Value/meaning
bOut1 ... bOut4
BOOL
Switching output 1 ... 4
TRUE The actual position is inside the defined switching window.
nState
INT
Status
1 FB is not active
2 OK
3 The data form resulting from the switching points are not plausible
(
dnSwitchPoint_p
,
dn2ndPoint_Size_p
, parameterised hysteresis).
Parameters
Possible settings
Info
0
μ
s
65535 Dead time for dead time
compensation
• The resulting switching position is
not subject to a plausibility check.
• Lenze setting: 0
μ
s
0
Incr.
65535 Switching hysteresis
• Lenze setting: 0 incr.
CenterMode
• Definition how the
dn2ndPoint_Size_p
selection is
interpreted.
False
dn2ndPoint_Size_p
defines the
second switching point.
(Lenze setting)
True
dn2ndPoint_Size_p
defines the size
of the switching window.
0
ms
60000 Running time for position/time-
based cams
• Lenze setting: 0 ms
0 ms = position-based cam
Designator
Data type
Information/possible settings