Detailed description of the operation of the PL7_TOF function
Original instructions
Chart
Chart.
Operation
The following table describes the operation of the PL7_TOF timer function:
Phase
Description
1
The current value TOF_Timer_1.ET takes the value 0, on a rising edge of the TOF_Timer_1.S input (even if the timer is running at the time).
2
The output bit TOF_Timer_1.Q changes to 1.
3
When there is a falling edge on the TOF_Timer_1.S, input the timer is started.
4
The current value increases towards TOF_Timer_1.PT by one unit for each pulse of the time base TB.
5
The output bit TOF_Timer_1.Q falls to 0 again as soon as the current value reaches TOF_Timer_1.PT.