aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-06-15 19:31:04 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-06-15 19:31:04 +0300
commit2cc8e2d9c46c10451270496b7a796866b130b0d4 (patch)
tree320b81b246f61b7d100efeeaab893da444034ac9 /Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
parent0111a1c694c92c2dad5f1cfe952b79b1f2ba01d7 (diff)
downloadTango-2cc8e2d9c46c10451270496b7a796866b130b0d4.tar.gz
Tango-2cc8e2d9c46c10451270496b7a796866b130b0d4.zip
support dispensers jig station with DISPESER_TEST flag.
try to fix hardware init bug - not during job, fix watchdog (#3016). internal alrm stops job. accurate brushstops, winder cone alarm and job failures
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c5
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 ca41a8e70..b796cae50 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
@@ -149,12 +149,13 @@ uint32_t Winder_Prepare(void *JobDetails)
if (FPGA_Read_limit_Switches(GPI_SW_SPOOL_EXISTS)==LIMIT)
{
REPORT_MSG(LIMIT, "No cone in winder");
- /*if (Is_PP_Machine())
+ if (Is_PP_Machine())
{
+ JobEndReason = JOB_THREAD_BREAK;
PrepareReady(Module_Winder,ModuleFail);
AlarmHandlingSetAlarm(EVENT_TYPE__WINDER_CONE_DOES_NOT_EXIST,true);
return ERROR;
- }*/
+ }
}
#ifdef READ_SCREW_ENCODER