Compare commits

...

2 Commits

Author SHA1 Message Date
andrea.villa 996185e332 Sistemata emissione comandi finali 2026-04-22 08:26:50 +02:00
daniele.nicoli ec0e8b479a Aggiunto start e wait del movimento pinze se EMT.LASTOISBRAKE = true 2026-04-22 08:19:00 +02:00
2 changed files with 9 additions and 11 deletions
+8 -10
View File
@@ -311,18 +311,16 @@ function OnDispositionEnd()
end
end
if #EMT.MDCHAR > 0 then
if not EMT.LASTOISBRAKE then
local nMoveType = EgtIf( EMT.CHY_ON, 3, 2)
EmitMoveStartChars( nMoveType)
-- se dopo c'è scarico spezzone devo mettere attesa termine esecuzione
if IsRestPhase( EMT.PHASE + 1) then
EmitMoveWaitChars( nMoveType)
else
EmitMoveWaitChars( nMoveType, true)
end
EMT.LASTOISBRAKE = nil
local nMoveType = EgtIf( EMT.CHY_ON, 3, 2)
EmitMoveStartChars( nMoveType)
-- se dopo c'è scarico spezzone devo mettere attesa termine esecuzione
if IsRestPhase( EMT.PHASE + 1) then
EmitMoveWaitChars( nMoveType)
else
EMT.LASTOISBRAKE = nil
EmitMoveWaitChars( nMoveType, true)
end
-- emissione conclusione pezzo precedente (se non in modalità test)
if not TEST_USE and EMT.PRODID then
local sEnd= 'M113 P1='..tostring( EMT.PRODID)..' P2='..tostring( EMT.PATTID)..' P3='..tostring( EMT.CUTID)..' P4=2'
+1 -1
View File
@@ -5,7 +5,7 @@
require( 'EmtGenerator')
EgtEnableDebug( false)
PP_VER = '3.1a2_DEV19'
PP_VER = '3.1a2_DEV20'
PP_NVER = '3.1.1.2'
MIN_MACH_VER = '2.7d2'
MACH_NAME = EgtGetCurrMachineName()