aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-06-11 18:49:45 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-06-11 18:49:45 +0300
commit0cbf104a30c3f0c4e9dbbe9db47d6ad72df03655 (patch)
tree8e21d12e5d2fef4104c3a0162102ac0ffc93e401 /Software/Embedded_SW/Embedded/Modules/Thread
parent9a2594584eced597453edcad95529eb1c5f864e4 (diff)
downloadTango-0cbf104a30c3f0c4e9dbbe9db47d6ad72df03655.tar.gz
Tango-0cbf104a30c3f0c4e9dbbe9db47d6ad72df03655.zip
Embedded SW Release note - Version 1.4.0.9
============================================================= Drivers: Support for PowerStep 01 motor drivers (combined current/voltage) - initialization only Screw encoder reading (requires FPGA firmware update) Motor speeds in float - to enable small speeds. read motor speed from driver. Modules: PID - support small numbers in PID function - thread improved General -Safety alarms (not fully tested) Heaters PID fixed - use band setting for PID start of operation IDS - check that all brushstop data is read before moving to next segment. file initial reading improved. WFCF for active dispenser Thread - Thread control fixed. screw goes home on the last 800 milliseconds Procedures: JOBS units - supported in embedded, waiting for cooperation with APP
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c2
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_ex.h1
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c4
3 files changed, 6 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
index 2bbc93523..297cea44b 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
@@ -441,6 +441,7 @@ uint32_t ScrewDTSControlId = 0xFF;
uint32_t WinderDistanceToSpoolEnded(uint32_t deviceID, uint32_t ReadValue)
{
REPORT_MSG ((int)msec_millisecondCounter,"WinderDistanceToSpoolEnded called");
+ return OK;
}
uint32_t ScrewDTSCallback(uint32_t deviceID, uint32_t BusyFlag)
{
@@ -459,7 +460,6 @@ uint32_t ScrewDTSCallback(uint32_t deviceID, uint32_t BusyFlag)
MotorStop(HARDWARE_MOTOR_TYPE__MOTO_SCREW,Hard_Hiz);
MotorMovetoLimitSwitch (HARDWARE_MOTOR_TYPE__MOTO_SCREW,MotorsCfg[HARDWARE_MOTOR_TYPE__MOTO_SCREW].directionthreadwize, ScrewSpeed, GPI_LS_SCREW_RIGHT, WinderDistanceToSpoolEnded,2000);
-
return OK;
}
uint32_t WinderDistanceToSpoolState(void )
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_ex.h b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_ex.h
index ead318758..9d773c1af 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_ex.h
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_ex.h
@@ -44,6 +44,7 @@ uint32_t LoadDancerConfigMessage(void);
uint32_t Winder_Init(void);
uint32_t Winder_Prepare(void);
uint32_t Winder_Presegment(void *JobDetails, uint32_t SegmentId);
+uint32_t WinderDistanceToSpoolState(void );
uint32_t Winder_End(void);
typedef enum
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
index 4743008e5..b9a28fe57 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -939,6 +939,10 @@ char Endstr[150];
else
LOG_ERROR (ControlIdtoMotorId[Motor_i],"Remove Control failed");
}
+ }
+ Task_sleep(10);
+ for ( Motor_i = 0;Motor_i <= WINDER_MOTOR;Motor_i++)
+ {
MotorStop(ThreadMotorIdToMotorId[Motor_i],Hard_Hiz);
}
MotorStop(HARDWARE_MOTOR_TYPE__MOTO_RLOADING,Hard_Hiz);