Modifica al post per aspettare sempre lo scarico del pezzo prima di procedere con nuovo pezzo della barra

This commit is contained in:
andrea.villa
2025-11-27 14:52:06 +01:00
parent 30d119fecf
commit 4c09b35eab
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -321,7 +321,8 @@ function OnDispositionEnd()
end
EmitMoveStartChars( 2)
-- se dopo c'è scarico spezzone devo mettere attesa termine esecuzione
if IsRestPhase( EMT.PHASE + 1) then
-- MODIFICA PROVVISORIA!! SI ASPETTA SEMPRE LO SCARICO
if true or IsRestPhase( EMT.PHASE + 1) then
EmitMoveWaitChars( 2)
else
EmitMoveWaitChars( 2, TEST_USE)
@@ -572,7 +573,8 @@ function OnMachiningEnd()
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
-- MODIFICA PROVVISORIA!! SI ASPETTA SEMPRE LO SCARICO
if true or IsRestPhase( EMT.PHASE + 1) then
EmitMoveWaitChars( nMoveType)
else
EmitMoveWaitChars( nMoveType, EMT.CHY_ON or TEST_USE)
+1 -1
View File
@@ -32,7 +32,7 @@
require( 'EmtGenerator')
EgtEnableDebug( false)
PP_VER = '2.7k2'
PP_VER = '2.7k2_DEV1'
PP_NVER = '2.7.11.2'
MIN_MACH_VER = '2.5k1'
MACH_NAME = string.match( EgtGetCurrMachineDir(), "[^\\]+$") -- si ricava il nome della macchina dal direttorio