Detailed description of the operation of the PL7_3_TIMER function
Original instructions
Chart
Chart.
E
0
0
1
1
C
0
1
0
1
PT
ET
ET = PT
ET = PT
ET frozen
ET decreases by PT to 0
D
0
1
0
1 if timer elapsed
R
0
1
0
1 if timer running
Operation
The following table describes the operation of the PL7_3_TIMER timer function:
Phase
Description
1
The current value PL7_3_Timer_1.ET decreases from the preset PL7_3_Timer_1.PT towards 0, by one unit per base time pulse.
2
The output bit PL7_3_Timer_1.R (Timer running) is then at state 1, the output bit PL7_3_Timer_1.D (Timer elapsed) is at state 0.
3
When the current value PL7_3_Timer_1.ET = 0, PL7_3_Timer_1.D changes to state 1 and PL7_3_Timer_1.R resets to state 0.