Messa in campo 4 file - 26/06/2020 Francia
Dependencies: mbed X_NUCLEO_IHM03A1_for
Fork of FORIGO_Modula_V7_3_VdcStep_maggio2020 by
Diff: timeandtick.hpp
- Revision:
- 6:e8c18f0f399a
- Parent:
- 3:a469bbd294b5
- Child:
- 8:310f9e4eac7b
--- a/timeandtick.hpp Sun Feb 17 08:10:57 2019 +0000 +++ b/timeandtick.hpp Tue Feb 19 16:58:02 2019 +0000 @@ -1,33 +1,25 @@ Ticker TBticker; // instance clock for seeding stepper Ticker TATicker; // instance clock for seeding stepper -Timer speedTimer; // timer for reading time interval between speed pulse to calculate speed -Timer intraPickTimer; // timer for reading interval time from two picks -//Timer intraEncoTimer; // timer for reading interval time from two clock of DC encoder -Ticker SDticker; // instance clock for Seed wheel virtual encoder +Ticker sincUpdate; // ticker for update CAN data for quinconce sincronisation +Ticker canUpdate; // timer for update standard CAN data Ticker tftUpdate; // ticker for update data of display -Ticker sincUpdate; // ticker for update CAN data for quinconce sincronisation -Ticker currentCheck; // ticker for verify DC motor current absorbtion +Ticker seedCorrection; // ticker for run task which correct seeding sincronisation +Ticker spedSimclock; // ticker for simulating speed +Ticker SDticker; // instance clock for Seed wheel virtual encoder + +Timer metalTimer; // timer for reading time from two hole into seed wheel +Timer speedTimer; // timer for reading time interval between speed pulse to calculate speed +Timer speedFilter; // timer for speed trigger filtering +Timer timeCurr; // timer delay for DC overcurrent alarm generation +Timer quincTimeSD; // timer for reading time from slave picks and master picks signal +Timer quincTime; // timer for reading time from master picks and slave picks signal +Timer intraPickTimer; // timer for reading interval time from two picks Timer speedTimeOut; // timer for stop motor after last speed pulse -Timer speedFilter; // timer for speed trigger filtering Timer seedFilter; // timer for picks signal filtering Timer TBfilter; // timer for cells signal filtering Timer sincroTimer; // timer for picks real interval time Timer rotationTimeOut; // timer for seed wheel zero timeout -Ticker canUpdate; // timer for update standard CAN data -Ticker seedCorrection; // ticker for run task which correct seeding sincronisation -Ticker spedSimclock; // ticker for simulating speed +Timer ritardaLowSpeed; // timer for switch delay from low speed to normal speed +Timer SDwheelTimer; // timer for alarm generation for SD wheel + Timeout timeout; // timeout for check DC current absorbion PWM sincronised -Timer ritardoStop; // timer for control DC stop sequence -Timer ritardoComandoStop;// timer for control DC stop sequence -Timer avvicinamentoOn; // timer for control DC stop sequence -Timer avvicinamentoOff; // timer for control DC stop sequence -Timer ritardaLowSpeed; // timer for switch delay from low speed to normal speed -Timer metalTimer; // timer for reading time from two hole into seed wheel -Timer timeOutZeroSD; // time out for zero cycle of SD -Timer quincTime; // timer for reading time from master picks and slave picks signal -Timer quincTimeSD; // timer for reading time from slave picks and master picks signal -Timer SDwheelTimer; // timer for alarm generation for SD wheel -Timer quincTimeSet; // timer for SD fase stop position when quinconce activated -Timer zeroDelay; // timer for activate zeroig cycle after tractor stop -Timer timeCurr; // timer delay for DC overcurrent alarm generation -Timer delaySeedCheck; // timer per il controllo di presenza seme su collettore