3 "ls_touchprobe1 " system block, Ls_touchprobe1 " system block, Ls_touchprobe1 – Lenze 9400 User Manual
Page 288: 8i/o terminals

8
I/O terminals
8.7
Touch probe detection
288
Lenze · Servo-Inverter 9400 HighLine · Reference manual · DMS 10.0 EN · 11/2013 · TD05/06
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
8.7.3
"LS_TouchProbe1...8" system block
In the function block editor the LS_TouchProbe1 ... LS_TouchProbe8 system blocks display the touch
probe channels 1 ... 8 which are assigned to the digital inputs DI1 ... DI8.
x = 1 ... 8
Input
Data type
Value/meaning
TPx_bEnablePosEdge
BOOL
Enable response to positive edge
Note:
• If several positive edges occur within the basic cycle time (HighLine: 1 ms), only
the first positive edge initiates the touch probe event and no status signal "touch
probe(s) lost" is generated.
TRUE A touch probe event is activated by a positive edge at the digital
input DIx.
TPx_bEnableNegEdge
BOOL
Enable response to negative edge
Note:
• If several negative edges occur within the basic cycle time (HighLine: 1 ms), only
the first negative edge initiates the touch probe event.
• If a positive and negative edge occur within the basic cycle time (1 ms), and if the
response to both edges is enabled, only the positive edge initiates the touch
probe event.
• In both cases no status signal "touch probe(s) lost" is generated.
TRUE A touch probe event is activated by a negative edge at the digital
input DIx.
Output
Data type
Value/meaning
TPx_dnTouchProbeTimeLag
DINT
Scaled time stamp for further processing of the touch probe event with the
L_SdTouchProbe FB.
• 1 ms ≡ 20 bits
TPx_bTouchProbeReceived
BOOL
Status signal "Touch probe detected"
• State is only set for one task cycle.
TRUE Touch probe event has been activated.
TPx_bTouchProbeLost
BOOL
Status signal "Touch probe(s) lost"
• State is only set for one task cycle.
TRUE More than one touch probe event was actuated within the task
runtime. The time stamp that is output only refers to the first touch
probe event.
TPx_bNegativeEdge
BOOL
Status signal "Negative edge detected"
• State is only set for one task cycle.
TRUE A negative edge has been detected at the digital input DIx.
TP _dnTouchProbeTimeLag
x
TP _bTouchProbeReceived
x
TP _bTouchProbeLost
x
LS_TouchProbex
TP
TP _bEnablePosEdge
x
TP _bNegativeEdge
x
TP _bEnableNegEdge
x