diff --git a/MachNotes.ini b/MachNotes.ini index 976fd4f..77def16 100644 --- a/MachNotes.ini +++ b/MachNotes.ini @@ -3,8 +3,10 @@ ; Type : b=boolean, d=double, l=lenght, s=string [Drilling] +0=d,HOODPOS,0 [Sawing] +0=d,HOODPOS,0 [Milling] 0=d,MaxElev,0 @@ -12,6 +14,7 @@ 2=d,SideElev,0 3=d,TrimExt,0 4=sr,VtFaceUse,0,0,0 +5=d,HOODPOS,0 [Pocketing] 0=d,MaxElev,0 @@ -19,6 +22,7 @@ 2=d,OpenMinSave,0 3=d,OpenOutRaw,0 4=d,MaxOptSize,0 +5=d,HOODPOS,0 [Mortising] 0=d,MaxElev,0 diff --git a/Masterwood-Project265.TECNOS.mlpe b/Masterwood-Project265.TECNOS.mlpe index 24bd21a..c3d8a45 100644 --- a/Masterwood-Project265.TECNOS.mlpe +++ b/Masterwood-Project265.TECNOS.mlpe @@ -160,9 +160,11 @@ function OnMachiningStart() -- inizio lavorazione EmtOutput( '( === '.. EMT.MCHNAME .. ' - ' .. EMT.TOOL .. ' ===') -- impostazione cuffia ( 0-alta, 1-bassa, 2-medio-bassa, 3-medio-alta) - local nHoodPos = EgtGetValInNotes( EMT.MCHUSERNOTES, 'HOODPOS', d) or 0 - EmtOutput( '( --- Hood position' ) - EmtOutput( 'M61 K' .. tostring( nHoodPos) .. ' D0') + local nHoodPos = EgtGetValInNotes( EMT.MCHUSERNOTES, 'HOODPOS', d) + if nHoodPos then + EmtOutput( '( --- Hood position' ) + EmtOutput( 'M61 K' .. tostring( nHoodPos) .. ' D0') + end end diff --git a/Masterwood-Project265.mlde b/Masterwood-Project265.mlde index 46c7a41..a4dd769 100644 --- a/Masterwood-Project265.mlde +++ b/Masterwood-Project265.mlde @@ -4,8 +4,8 @@ require( 'EmtGenerator') EgtEnableDebug( false) -PP_VER = '2.7d1' -PP_NVER = '2.7.4.1' +PP_VER = '2.7f1' +PP_NVER = '2.7.6.1' MIN_MACH_VER = '2.5k1' MACH_NAME = 'MW_Project265' diff --git a/Scripts/SetUp.lua b/Scripts/SetUp.lua index 0f3d11e..db4bf05 100644 --- a/Scripts/SetUp.lua +++ b/Scripts/SetUp.lua @@ -57,7 +57,8 @@ local PositionTable={{Pos = "Pos1", TcPos = "T1", Head = "H11", Group = "G1"}, {Pos = "Pos15", TcPos = "T15", Head = "H11", Group = "G1"}, {Pos = "Pos16", TcPos = "T16", Head = "H11", Group = "G1"}, {Pos = "Pos17", TcPos = "T17", Head = "H11", Group = "G2"}, - {Pos = "Pos18", TcPos = "T81", Head = "H21", Group = "G3"}} + {Pos = "Pos18", TcPos = "T18", Head = "H11", Group = "G2"}, + {Pos = "Pos19", TcPos = "T81", Head = "H21", Group = "G3"}} local UsePositionHead = false