aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-12-03 17:09:01 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-12-03 17:09:01 +0200
commitafad6e269f061efe77729275c5f0d35f8a061a4e (patch)
tree2fa4e7a9177ef52f545ab72dc7f35c483e3cbfe2
parent389aef8ec68dd58a9b40c95c5b55d339a5f67528 (diff)
downloadTango-afad6e269f061efe77729275c5f0d35f8a061a4e.tar.gz
Tango-afad6e269f061efe77729275c5f0d35f8a061a4e.zip
Version 1.5.3.3 release
-rw-r--r--Software/Embedded_SW/Embedded/Drivers/Motors/MotorActions.c2
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c8
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsJogging.c7
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_Blowers.c3
-rw-r--r--Software/Embedded_SW/Embedded/Software Release Notes.txt13
-rw-r--r--Software/Visual_Studio/Utilities/Tango.AlarmParametersGenerator/Program.cs2
6 files changed, 28 insertions, 7 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/Motors/MotorActions.c b/Software/Embedded_SW/Embedded/Drivers/Motors/MotorActions.c
index 75f68d00c..177867eaf 100644
--- a/Software/Embedded_SW/Embedded/Drivers/Motors/MotorActions.c
+++ b/Software/Embedded_SW/Embedded/Drivers/Motors/MotorActions.c
@@ -314,7 +314,7 @@ uint32_t MotorRunCallBackFunction(uint32_t IfIndex, uint32_t ReadValue) //TODO
{
Report("MotorRunCallBackFunction temp curr prev small",__FILE__,encoder,InitialArmLocation,RpWarning,temp,0);
failCounter++;
- if (failCounter>=5)
+ if (failCounter>=8)
{
Report("arm stopped",__FILE__,failCounter,encoder,RpWarning,temp,0);
MotorStop(HARDWARE_MOTOR_TYPE__MOTO_DRYER_LOADARM,Hard_Hiz);
diff --git a/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c b/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c
index 0e235e043..12842177c 100644
--- a/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c
+++ b/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c
@@ -413,8 +413,12 @@ uint32_t DispenserHomingRequestFunc(MessageContainer* requestContainer)
responseContainer.continuous = true;
if (MotorId <= NUM_OF_MOTORS)
{
- //if ((JobIsActive() == false)&&(isMotorConfigured(MotorId) == true))
- if (isMotorConfigured(MotorId) == true)
+ if ((JobIsActive())&&(DispenserUsedInJob[request->index] == true))
+ {
+ responseContainer.error = ERROR_CODE__GENERAL_ERROR;
+ responseContainer.errormessage = "Dispenser active in job";
+ }
+ else if (isMotorConfigured(MotorId) == true)
{
if (request->direction == MOTOR_DIRECTION__Backward) //dispenser homing
status = IDS_HomeDispenser(request->index,speed,DispenserHomingRequestCallback);
diff --git a/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsJogging.c b/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsJogging.c
index 6d09e9f9e..c023a211c 100644
--- a/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsJogging.c
+++ b/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsJogging.c
@@ -168,7 +168,12 @@ uint32_t DispenserJoggingRequestFunc(MessageContainer* requestContainer)
if (MotorId <= NUM_OF_MOTORS)
{
// if ((JobIsActive() == false)&&(isMotorConfigured(MotorId) == true))
- if (isMotorConfigured(MotorId) == true)
+ if ((JobIsActive())&&(DispenserUsedInJob[request->index] == true))
+ {
+ responseContainer.error = ERROR_CODE__GENERAL_ERROR;
+ responseContainer.errormessage = "Dispenser active in job";
+ }
+ else if (isMotorConfigured(MotorId) == true)
{
switch (request->direction)
{
diff --git a/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_Blowers.c b/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_Blowers.c
index 2f8de1643..71524b0ee 100644
--- a/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_Blowers.c
+++ b/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_Blowers.c
@@ -225,6 +225,9 @@ void setArcHeadAlarms(uint32_t AlarmId, bool value)
{
switch(AlarmId)
{
+ case EVENT_TYPE__DYEING_HEAD_COVER_IS_OPEN:
+ ReportWithPackageFilter(HeatersFilter,"FlatHeadAlarms on",__FILE__,AlarmId,count9,RpError, 0,0);
+ break;
/*case EVENT_TYPE__DYEING_HEAD_ARC_LID_IS_OPEN:
ReportWithPackageFilter(HeatersFilter,"ArcHeadAlarms on",__FILE__,AlarmId,count9,RpError, 0,0);
break;
diff --git a/Software/Embedded_SW/Embedded/Software Release Notes.txt b/Software/Embedded_SW/Embedded/Software Release Notes.txt
index 88722710c..e0475b1cf 100644
--- a/Software/Embedded_SW/Embedded/Software Release Notes.txt
+++ b/Software/Embedded_SW/Embedded/Software Release Notes.txt
@@ -1,14 +1,19 @@
-Embedded SW Release note - Version 1.5.3(2) - Pack 3
+Embedded SW Release note - Version 1.5.3(3) - Pack 3
=============================================================
for QA
RFID - suprressed
some bug fixes (persistent alarms, most of temperature spikes)
remove repeated restart protections
Blowers - read V0 on job prepare
+*WHS - read V0 on job prepare
Temperature build prepare failure handling
End heaters before upgrade restart (#4172)
fix alarm reports on prepare stage and in logs
-#4170
+* multiple thread load fixes
+* add flat head open alarm
+* cancel ignoring open lids #4025
+
+#4170 #4205 #4027 #4182 #4017
other
separate tasks for RFID and dispensers EEPROM, and for the shinko
@@ -16,7 +21,11 @@ support restart research
procedure stub - better than progress!!
store process parameter as long as they are not 0
some work for light colors and for BTSR
+*Store reset reason in EEPROM in address 40(*4) and on, 40 is latest index
+*improve job end processing #4162
+* fix default parameters to include pre-run
+*1.5.3.3
Embedded SW Release note - Version 1.5.2(3) - Pack 3
=============================================================
diff --git a/Software/Visual_Studio/Utilities/Tango.AlarmParametersGenerator/Program.cs b/Software/Visual_Studio/Utilities/Tango.AlarmParametersGenerator/Program.cs
index 2972b4892..ae60e04b4 100644
--- a/Software/Visual_Studio/Utilities/Tango.AlarmParametersGenerator/Program.cs
+++ b/Software/Visual_Studio/Utilities/Tango.AlarmParametersGenerator/Program.cs
@@ -90,7 +90,7 @@ namespace Tango.AlarmParametersGenerator
{
if (!String.IsNullOrWhiteSpace(item.Source))
{
- Console.WriteLine($"Parsing event {item.Code}, {item.Name}...");
+ Console.WriteLine($"Parsing event {item.Code}, {item.Name},{item.Source}...");
AlarmHandlingItem alarm = new AlarmHandlingItem();
alarm.AlarmSource = item.Source.ToEnum<AlarmSourceType>();