Per macro M26, il default è 1 anziché 0
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user