aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-05-12 10:13:28 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-05-12 10:13:28 +0300
commita478b5493345eb6a35cc7308c65fe3fa4023f142 (patch)
tree210e6d57034977ac02e7aacf0d5322069c184acb /Software/Embedded_SW/Embedded/Modules
parent0503a28d97982f9dcaa29a1c1d10b1583b7f53cc (diff)
downloadTango-a478b5493345eb6a35cc7308c65fe3fa4023f142.tar.gz
Tango-a478b5493345eb6a35cc7308c65fe3fa4023f142.zip
ids improved
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/IDS/IDS_print.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/IDS/IDS_print.c b/Software/Embedded_SW/Embedded/Modules/IDS/IDS_print.c
index 75542744f..fff41c902 100644
--- a/Software/Embedded_SW/Embedded/Modules/IDS/IDS_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/IDS/IDS_print.c
@@ -561,11 +561,11 @@ c. Go to step 2.a x Segment.BrushStopsCount.
int NumofReadyDispensers = 0;
//REPORT_MSG((int)DispenserPrepareControlId, "Prepare Callback");
- DispenserBuildTimeCounter+=eOneSecond;
+ DispenserBuildTimeCounter+=500;
- if (DispenserBuildTimeCounter<=(3*eOneSecond))
+ if (DispenserBuildTimeCounter<(2*eOneSecond))
{
- REPORT_MSG(DispenserBuildTimeCounter,"waiting 3 seconds for pressure changes");
+ REPORT_MSG(DispenserBuildTimeCounter,"waiting 2 seconds for pressure changes");
return OK;
}
for (i = 0; i < MAX_DYE_DISPENSERS; i++)
@@ -573,7 +573,7 @@ c. Go to step 2.a x Segment.BrushStopsCount.
//IDS_StopHomeDispenser(i);
if (DispenserUsedInJob[i] == true) //we actually should check for all dispensers
{
- if (GetDispenserPressure(i) > 1.0)
+ if (GetDispenserPressure(i) > 0.8)
NumofReadyDispensers++;
}
}
@@ -668,7 +668,7 @@ c. Go to step 2.a x Segment.BrushStopsCount.
REPORT_MSG((int)NumOfActiveDispensers, "Num Of Active Dispensers");
for (i = 0; i < MAX_DYE_DISPENSERS; i++)
{
- dispenserspeed = PrepeareSpeed/MotorsCfg[DispenserIdToMotorId[i]].microstep;
+ dispenserspeed = 450;//PrepeareSpeed/MotorsCfg[DispenserIdToMotorId[i]].microstep;
REPORT_MSG((int)dispenserspeed, "Prepare Speed");
//IDS_StopHomeDispenser(i);
if (DispenserUsedInJob[i] == true) //we actually should check for all dispensers
@@ -678,7 +678,7 @@ c. Go to step 2.a x Segment.BrushStopsCount.
}
}
DispenserBuildTimeCounter = 0;
- DispenserPrepareControlId = AddControlCallback( IDS_Prepare_Callback, eOneSecond,TemplateDataReadCBFunction ,0, 0, 0 );
+ DispenserPrepareControlId = AddControlCallback( IDS_Prepare_Callback, 500,TemplateDataReadCBFunction ,0, 0, 0 );
}
//********************************************************************************************************************