Per macro M26, il default è 1 anziché 0

This commit is contained in:
andrea.villa
2026-04-08 12:09:20 +02:00
parent 421b8dd8a5
commit f59b55e723
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ require( 'EmtGenerator')
EgtEnableDebug( false) EgtEnableDebug( false)
if not EmtModifyHeadAuxDirection then error( 'A newer version of the program is required (minimum 2.3j5)') end if not EmtModifyHeadAuxDirection then error( 'A newer version of the program is required (minimum 2.3j5)') end
PP_VER = '3.1d1_DEV13' PP_VER = '3.1d1_DEV14'
PP_NVER = '2.7.4.1' PP_NVER = '2.7.4.1'
-- Parametri macchina -- Parametri macchina
+1 -1
View File
@@ -141,7 +141,7 @@ function OnDispositionEnd()
-- N.B.: si utilizza LOAD90 perchè è un parametro che già leggiamo e che sulle WALL non viene utilizzato -- N.B.: si utilizza LOAD90 perchè è un parametro che già leggiamo e che sulle WALL non viene utilizzato
local BtlInfoId = EgtGetFirstNameInGroup( GDB_ID.ROOT, 'BtlInfo') or EgtGetCurrMachGroup() or GDB_ID.NULL local BtlInfoId = EgtGetFirstNameInGroup( GDB_ID.ROOT, 'BtlInfo') or EgtGetCurrMachGroup() or GDB_ID.NULL
local nLoad90 = EgtGetInfo( BtlInfoId, 'LOAD90', 'i') or 0 local nLoad90 = EgtGetInfo( BtlInfoId, 'LOAD90', 'i') or 0
if nLoad90 > 0 then nLoad90 = 4 end if nLoad90 > 0 then nLoad90 = 4 else nLoad90 = 1 end
EmtOutput( 'M26 E30054='..EgtNumToString( nLoad90, 0)) EmtOutput( 'M26 E30054='..EgtNumToString( nLoad90, 0))
-- Posizione cuffia -- Posizione cuffia
local dHCuff = b3Raw:getDimZ() + 32 local dHCuff = b3Raw:getDimZ() + 32