- Aggiunto parametro HOODPOS nelle lavorazioni per gestione cuffia

- Se parametro HOODPS non prersente, non si comanda cuffia
- Cambio versione per rilascio post a cliente
This commit is contained in:
andrea.villa
2025-06-04 11:04:53 +02:00
parent 88c7a75e0f
commit e2bd8474c9
4 changed files with 13 additions and 6 deletions
+4
View File
@@ -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
+3 -1
View File
@@ -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
local nHoodPos = EgtGetValInNotes( EMT.MCHUSERNOTES, 'HOODPOS', d)
if nHoodPos then
EmtOutput( '( --- Hood position' )
EmtOutput( 'M61 K' .. tostring( nHoodPos) .. ' D0')
end
end
+2 -2
View File
@@ -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'
+2 -1
View File
@@ -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