Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3bf7c1587f | |||
| a71ba0ee9a |
@@ -493,7 +493,7 @@ function OnMachiningEnd()
|
|||||||
end
|
end
|
||||||
for i = 1, #EMT.AUXSTR do
|
for i = 1, #EMT.AUXSTR do
|
||||||
local sOut = EMT.AUXSTR[i]
|
local sOut = EMT.AUXSTR[i]
|
||||||
if EMT.AUXTYPE == 'S' then
|
if EMT.AUXTYPE == 'S' and sOut:find( 'G101 ') then
|
||||||
sOut = sOut .. ' EH1'
|
sOut = sOut .. ' EH1'
|
||||||
elseif EMT.AUXTYPE == 'U' and not EMT.CHY_ON and not sOut:find( 'ET') then
|
elseif EMT.AUXTYPE == 'U' and not EMT.CHY_ON and not sOut:find( 'ET') then
|
||||||
sOut = sOut .. ' ET2'
|
sOut = sOut .. ' ET2'
|
||||||
|
|||||||
+35
-2
@@ -367,7 +367,18 @@ function OnSpecialApplyDisposition()
|
|||||||
EMC.HOVM = EgtGetInfo( nCurrRawId, 'HOVM', 'd') or 0
|
EMC.HOVM = EgtGetInfo( nCurrRawId, 'HOVM', 'd') or 0
|
||||||
EMC.HCING = EgtGetInfo( nCurrRawId, 'HCING', 'd') or 0
|
EMC.HCING = EgtGetInfo( nCurrRawId, 'HCING', 'd') or 0
|
||||||
EMC.TCING = EgtGetInfo( nCurrRawId, 'TCING', 'd') or 0
|
EMC.TCING = EgtGetInfo( nCurrRawId, 'TCING', 'd') or 0
|
||||||
|
|
||||||
|
-- correggo area non pinzabile in testa o coda in base alle info sulla lavorazione
|
||||||
|
local sNotes = EgtGetMachiningParam( MCH_MP.USERNOTES) or ''
|
||||||
|
local dHCING = tonumber( EgtGetValInNotes( sNotes, 'HCING'))
|
||||||
|
if dHCING then
|
||||||
|
EMC.HCING = max( dHCING, -50)
|
||||||
|
end
|
||||||
|
local dTCING = tonumber( EgtGetValInNotes( sNotes, 'TCING'))
|
||||||
|
if dTCING then
|
||||||
|
EMC.TCING = max( dTCING, -50)
|
||||||
|
end
|
||||||
|
|
||||||
-- Devo scaricare il pezzo o il grezzo rimasto
|
-- Devo scaricare il pezzo o il grezzo rimasto
|
||||||
-- Posizione trave
|
-- Posizione trave
|
||||||
local dPosT
|
local dPosT
|
||||||
@@ -511,6 +522,17 @@ function OnPostApplyMachining()
|
|||||||
local bSplitting = ( sNotes:find( 'Split') ~= nil)
|
local bSplitting = ( sNotes:find( 'Split') ~= nil)
|
||||||
local bPreCut = ( sNotes:find( 'Precut') ~= nil)
|
local bPreCut = ( sNotes:find( 'Precut') ~= nil)
|
||||||
local bCutting = ( sNotes:find( 'Cut') ~= nil)
|
local bCutting = ( sNotes:find( 'Cut') ~= nil)
|
||||||
|
|
||||||
|
-- correggo area non pinzabile in testa o coda in base alle info sulla lavorazione
|
||||||
|
local dHCING = tonumber( EgtGetValInNotes( sNotes, 'HCING'))
|
||||||
|
if dHCING then
|
||||||
|
EMC.HCING = max( dHCING, -50)
|
||||||
|
end
|
||||||
|
local dTCING = tonumber( EgtGetValInNotes( sNotes, 'TCING'))
|
||||||
|
if dTCING then
|
||||||
|
EMC.TCING = max( dTCING, -50)
|
||||||
|
end
|
||||||
|
|
||||||
local bUnload = IsEndPhase( EMC.PHASE) or IsEnd2Phase( EMC.PHASE)
|
local bUnload = IsEndPhase( EMC.PHASE) or IsEnd2Phase( EMC.PHASE)
|
||||||
if bPreSplit or bPreCut then
|
if bPreSplit or bPreCut then
|
||||||
EgtSetInfo( EMC.MCHID, 'IS_PRE', '1')
|
EgtSetInfo( EMC.MCHID, 'IS_PRE', '1')
|
||||||
@@ -634,6 +656,17 @@ function SpecApplyPath( bPreSplit, bSplitting, bPreCut, bCutting, bUnload, bPreR
|
|||||||
EMC.HOVM = EgtGetInfo( nCurrRawId, 'HOVM', 'd') or 0
|
EMC.HOVM = EgtGetInfo( nCurrRawId, 'HOVM', 'd') or 0
|
||||||
EMC.HCING = EgtGetInfo( nCurrRawId, 'HCING', 'd') or 0
|
EMC.HCING = EgtGetInfo( nCurrRawId, 'HCING', 'd') or 0
|
||||||
EMC.TCING = EgtGetInfo( nCurrRawId, 'TCING', 'd') or 0
|
EMC.TCING = EgtGetInfo( nCurrRawId, 'TCING', 'd') or 0
|
||||||
|
|
||||||
|
-- correggo area non pinzabile in testa o coda in base alle info sulla lavorazione
|
||||||
|
local sNotes = EgtGetMachiningParam( MCH_MP.USERNOTES)
|
||||||
|
local dHCING = tonumber( EgtGetValInNotes( sNotes, 'HCING'))
|
||||||
|
if dHCING then
|
||||||
|
EMC.HCING = max( dHCING, -50)
|
||||||
|
end
|
||||||
|
local dTCING = tonumber( EgtGetValInNotes( sNotes, 'TCING'))
|
||||||
|
if dTCING then
|
||||||
|
EMC.TCING = max( dTCING, -50)
|
||||||
|
end
|
||||||
|
|
||||||
-- Calcolo dell'ingombro della lavorazione
|
-- Calcolo dell'ingombro della lavorazione
|
||||||
local dDistFront, dDistBack = SpecialCalcMachiningEncumbrance( EMC.MCHID, bPreCut)
|
local dDistFront, dDistBack = SpecialCalcMachiningEncumbrance( EMC.MCHID, bPreCut)
|
||||||
@@ -1682,7 +1715,7 @@ function SpecAdjustCarriages( vCmd, dTPosI, dYDeltaI, dVDeltaI, dTPosF, dYDeltaF
|
|||||||
if abs( dYDeltaF - dYDeltaI) > 10 * GEO.EPS_SMALL then
|
if abs( dYDeltaF - dYDeltaI) > 10 * GEO.EPS_SMALL then
|
||||||
table.insert( vCmd, { 11, 0})
|
table.insert( vCmd, { 11, 0})
|
||||||
dYPosA = max( MyMinY, dTPosI + dYDeltaF)
|
dYPosA = max( MyMinY, dTPosI + dYDeltaF)
|
||||||
dTPosA = -( dYPosA + dVDeltaF)
|
dTPosA = dYPosA - dYDeltaF
|
||||||
dVPosA = dTPosA + dVDeltaF
|
dVPosA = dTPosA + dVDeltaF
|
||||||
table.insert( vCmd, { 3, 'Y', dYPosA , 'T', dTPosA, 'V', dVPosA})
|
table.insert( vCmd, { 3, 'Y', dYPosA , 'T', dTPosA, 'V', dVPosA})
|
||||||
table.insert( vCmd, { 11, CalcCharStatus( 'Y', dYDeltaF)})
|
table.insert( vCmd, { 11, CalcCharStatus( 'Y', dYDeltaF)})
|
||||||
|
|||||||
+2
-2
@@ -24,8 +24,8 @@
|
|||||||
require( 'EmtGenerator')
|
require( 'EmtGenerator')
|
||||||
EgtEnableDebug( false)
|
EgtEnableDebug( false)
|
||||||
|
|
||||||
PP_VER = '2.7a2'
|
PP_VER = '2.7a3_DEV1'
|
||||||
PP_NVER = '2.7.1.2'
|
PP_NVER = '2.7.1.3'
|
||||||
MIN_MACH_VER = '2.5k1'
|
MIN_MACH_VER = '2.5k1'
|
||||||
MACH_NAME = 'Essetre-FAST'
|
MACH_NAME = 'Essetre-FAST'
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
==== Common_FAST Update Log ====
|
==== Common_FAST Update Log ====
|
||||||
|
|
||||||
|
Versione 2.7a3 (08/01/2024)
|
||||||
|
- (GEN) Dopo separazione, in NUM_PLUS, si srive EH1 solo se macro G101, perchè altrimenti non è prevista. Ticket#2239
|
||||||
|
|
||||||
Versione 2.7a2 (08/01/2024)
|
Versione 2.7a2 (08/01/2024)
|
||||||
- (MLDE-SIM) Aggiunta gestione FACOLTATIVA 'EstimationRapidMultiplier' in MLDE per regolare il tempo stimato. Se non presente in MLDE, default 1.
|
- (MLDE-SIM) Aggiunta gestione FACOLTATIVA 'EstimationRapidMultiplier' in MLDE per regolare il tempo stimato. Se non presente in MLDE, default 1.
|
||||||
- (SIM) Aggiunta gestione qualità VMILL da impostazioni macchina
|
- (SIM) Aggiunta gestione qualità VMILL da impostazioni macchina
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
local InfoCommon_STD_PP = {
|
local InfoCommon_STD_PP = {
|
||||||
NAME = 'Common_FAST', -- nome script PP standard
|
NAME = 'Common_FAST', -- nome script PP standard
|
||||||
VERSION = '2.7a2', -- versione script
|
VERSION = '2.7a3', -- versione script
|
||||||
MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel
|
MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user