diff --git a/Common_FAST.mlse b/Common_FAST.mlse index 8dac315..1f2ef60 100644 --- a/Common_FAST.mlse +++ b/Common_FAST.mlse @@ -1518,16 +1518,16 @@ function SpecAdjustCarriages( vCmd, dTPosI, dYDeltaI, dVDeltaI, dTPosF, dYDeltaF -- se pinza non in presa, setto offset minimo in base all'altra che sta pinzando if not dYDeltaI then - dYDeltaI = dVDeltaI + ( MyMinY - MaxV) + dYDeltaI = dVDeltaI + ( MyMinY - MaxV) + 100 * GEO.EPS_SMALL end if not dVDeltaI then - dVDeltaI = dYDeltaI - ( MyMinY - MaxV) + dVDeltaI = dYDeltaI - ( MyMinY - MaxV) - 100 * GEO.EPS_SMALL end if not dYDeltaF then - dYDeltaF = dVDeltaF + ( MyMinY - MaxV) + dYDeltaF = dVDeltaF + ( MyMinY - MaxV) + 100 * GEO.EPS_SMALL end if not dVDeltaF then - dVDeltaF = dYDeltaF - ( MyMinY - MaxV) + dVDeltaF = dYDeltaF - ( MyMinY - MaxV) - 100 * GEO.EPS_SMALL end -- se non c'è posizione finale, è lo scarico. Allora setto al minimo della morsa allo scarico. @@ -1575,7 +1575,7 @@ function SpecAdjustCarriages( vCmd, dTPosI, dYDeltaI, dVDeltaI, dTPosF, dYDeltaF -- * deve effettivamente spostarsi -- * non si arriva da gestione passo del pellegrino -- * se riesce a raggiungere la posizione con le corse a disposizione per come sono posizionate le morse attualmente - if ( dYDeltaI - dVDeltaF) >= MyMinY - MaxV and abs( dVDeltaF - dVDeltaI) > 10 * GEO.EPS_SMALL and not EMC.PILGRIMSTEP and + if ( dYDeltaI - dVDeltaF) - 10 * GEO.EPS_SMALL >= MyMinY - MaxV and abs( dVDeltaF - dVDeltaI) > 10 * GEO.EPS_SMALL and not EMC.PILGRIMSTEP and ( dVDeltaF - dVDeltaI > MinV - dVPosI + MyMinY - dYPosI) then table.insert( vCmd, { 0, 'Direct-V-Y'}) -- se l'altra morsa non era in presa, vado a pinzare il pezzo @@ -1680,7 +1680,7 @@ function SpecAdjustCarriages( vCmd, dTPosI, dYDeltaI, dVDeltaI, dTPosF, dYDeltaF -- * deve effettivamente spostarsi -- * non si arriva da gestione passo del pellegrino -- * se riesce a raggiungere la posizione con le corse a disposizione per come sono posizionate le morse attualmente - elseif ( dYDeltaF - dVDeltaI) >= MyMinY - MaxV and abs( dYDeltaF - dYDeltaI) > 10 * GEO.EPS_SMALL and not EMC.PILGRIMSTEP and + elseif ( dYDeltaF - dVDeltaI) - 10 * GEO.EPS_SMALL >= MyMinY - MaxV and abs( dYDeltaF - dYDeltaI) > 10 * GEO.EPS_SMALL and not EMC.PILGRIMSTEP and ( dYDeltaF - dYDeltaI < MaxY - dYPosI + MaxV - dVPosI) then table.insert( vCmd, { 0, 'Direct-Y-V'}) -- se l'altra morsa non era in presa, vado a pinzare il pezzo diff --git a/UpdateLog.txt b/UpdateLog.txt index 81ce353..3061bc4 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,5 +1,8 @@ ==== Common_FAST Update Log ==== +Versione 2.6j7 (18/10/2024) +- (SIM-GEN) In nuova disposizione carrelli, aggiunta tolleranza di 100 EPS quando si calcola minimo posizionamento + Versione 2.6j6 (17/10/2024) - (GEN) Si ribadisce che la pinza era in presa, prima di cominciare con lo scambio del passo del pellegrino. Ticket#2121 diff --git a/Version.lua b/Version.lua index 96a167d..69af903 100644 --- a/Version.lua +++ b/Version.lua @@ -3,7 +3,7 @@ local InfoCommon_STD_PP = { NAME = 'Common_FAST', -- nome script PP standard - VERSION = '2.6j6', -- versione script + VERSION = '2.6j7', -- versione script MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel }