diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-04-26 15:38:07 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-04-26 15:38:07 +0300 |
| commit | 76845dc21fd587cfefd886e2539b3202d00564f6 (patch) | |
| tree | 38553f5e21eb410f30386be055cba39830045d5a /Software/Embedded_SW/Embedded/Modules/Thread | |
| parent | 257919304a46076138cd31d688323f80f3081f7f (diff) | |
| download | Tango-76845dc21fd587cfefd886e2539b3202d00564f6.tar.gz Tango-76845dc21fd587cfefd886e2539b3202d00564f6.zip | |
move dispenser EEPROM handling to stubs. add whs eeprom handling draft
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c index 3b97e9eb7..9698f1ea3 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c +++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c @@ -59,7 +59,7 @@ uint32_t ScrewControlId = 0xFF; static bool KeepWindingCone = false; static uint32_t WindingConeLocation; -static uint32_t WinderBackToBaseTime = 800; +static uint32_t WinderBackToBaseTime = 1500; float NumberOfRotationPerPassage = 0.0; InternalWinderConfigStruc InternalWinderCfg = {0}; @@ -580,7 +580,8 @@ uint32_t Winder_End(void) ScrewsStopControlTimer(); //move the cart to the edge so the spool can be easily replaced //MotorMovetoLimitSwitch (HARDWARE_MOTOR_TYPE__MOTO_SCREW,MotorsCfg[HARDWARE_MOTOR_TYPE__MOTO_SCREW].directionthreadwize, 1000, GPI_LS_SCREW_RIGHT, NULL,0); - MotorStop(HARDWARE_MOTOR_TYPE__MOTO_SCREW,Hard_Hiz); + //MotorStop(HARDWARE_MOTOR_TYPE__MOTO_SCREW,Hard_Hiz); + MotorAbortMovetoLimitSwitch(HARDWARE_MOTOR_TYPE__MOTO_SCREW); //bug #2709 return OK; } void Winder_ScrewHomeLimitSwitchInterrupt(void) |
