9300 Servo PLC
System blocks
2.9 Digital master frequency input (DF_IN_DigitalFrequency)
2-36
9300ServoPLC EN 1.4
2.9.3 Touch-Probe (TP)
TP
ϕ
D FIN _dnIncLastScan_p
Abb. 2-22 Function diagram of a TP
Time-equidistant start of an interval-task
ϕ Phase-angle signal
Functional sequence
1. The TP is triggered by a FALSE-TRUE edge at the digital input X5/E5 or by a zero pulse from
X9 (only if an encoder is attached).
– Use C0428 to select whether the TP should be carried out by the MP (marker pulse “zero
pulse from encoder”)or from the X5/E5 input.
– Use C0429 to set a delay (unit: incr.) for a TP. This means that the TP/MP-Ctrl has a delyed
response to a TP.
– Through C0431 you can set up whether the TP from E5 should be triggered by a rising or
falling edge(0 = rising edge, 1 = falling edge).
2. If a TP has occurred, then
DFIN_bTPReceived_b
switches immediately = TRUE.
3. After the start of the task,
DFIN_dnIncLastScan_p
gives the number of increments [inc/ms]
that have been counted since the TP.
4. Following,
DFIN_bTPReceived_b
= FALSE is set.
Note!
It is also necessary that
DFIN_nIn_v
is processed in the task, so that the SB DFIN is read in.
DFIN_nIn_v
• The value
DFIN_nIn_v
is scaled in increments per millisecond.
(INT)16384 cirresponds to 15000 rpm.
• For every task in which
DFIN_nIn_v
is used, the operating system creates an individual counter
that is reset after every start of the task.