diff --git a/Common_FAST.mlse b/Common_FAST.mlse index 1f2ef60..547ea6c 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) + 100 * GEO.EPS_SMALL + dYDeltaI = dVDeltaI + ( MyMinY - MaxV) end if not dVDeltaI then - dVDeltaI = dYDeltaI - ( MyMinY - MaxV) - 100 * GEO.EPS_SMALL + dVDeltaI = dYDeltaI - ( MyMinY - MaxV) end if not dYDeltaF then - dYDeltaF = dVDeltaF + ( MyMinY - MaxV) + 100 * GEO.EPS_SMALL + dYDeltaF = dVDeltaF + ( MyMinY - MaxV) end if not dVDeltaF then - dVDeltaF = dYDeltaF - ( MyMinY - MaxV) - 100 * GEO.EPS_SMALL + dVDeltaF = dYDeltaF - ( MyMinY - MaxV) 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) - 10 * GEO.EPS_SMALL >= 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) - 10 * GEO.EPS_SMALL >= 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 3061bc4..08d893d 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,5 +1,8 @@ ==== Common_FAST Update Log ==== +Versione 2.6j8 (21/10/2024) +- (SIM-GEN) Corretto problema tolleranza aggiunto con versione 2.6j7 + Versione 2.6j7 (18/10/2024) - (SIM-GEN) In nuova disposizione carrelli, aggiunta tolleranza di 100 EPS quando si calcola minimo posizionamento diff --git a/Version.lua b/Version.lua index 69af903..76d48e3 100644 --- a/Version.lua +++ b/Version.lua @@ -3,7 +3,7 @@ local InfoCommon_STD_PP = { NAME = 'Common_FAST', -- nome script PP standard - VERSION = '2.6j7', -- versione script + VERSION = '2.6j8', -- versione script MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel }