3 "ls_touchprobe1 " system block, Ls_touchprobe1 " system block, Touch probe – Lenze E94AxPExxxx User Manual

Page 330: Ls_touchprobe1, 9i/o terminals

Advertising
background image

9

I/O terminals

9.7

Touch probe detection

330

Lenze · 9400 Servo PLC· Reference manual · DMS 4.0 EN · 11/2013 · TD05/06

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

9.7.3

"LS_TouchProbe1...8" system block

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 (ServoPLC: 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 (ServoPLC: 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

Advertising