Macro per carico anticipato spostata dopo GEOAX

This commit is contained in:
andrea.villa
2026-03-09 16:42:42 +01:00
parent 4c62569373
commit f559be5e4a
2 changed files with 10 additions and 8 deletions
+9 -7
View File
@@ -683,13 +683,6 @@ function OnRapid()
MyEmtOutput( sOut)
EMT.CHAN2 = nil
-- dopo aver spostato i carrelli, lancio precarico
-- se taglio di coda senza residuo da scaricare, emetto macro per accelerare il carico della barra successiva
if EMT.MCHUSERNOTES and EMT.MCHUSERNOTES:find( 'Cut') and not EMT.PRELOAD then
EMT.PRELOAD = true
sOut = '_POSIZ_T(4,,,,,,,,,)' -- Lancio macro per carico anticipato: i valori sono presi dal plc (passati dall'interfaccia)
MyEmtOutput( sOut)
end
if EMT.X1DELTA and EMT.X2DELTA then
MyEmtOutput( 'GET(X1,X2)')
@@ -710,6 +703,15 @@ function OnRapid()
sOut = 'GEOAX(1,X2,2,Y1,3,Z1)'
end
MyEmtOutput( sOut)
-- dopo aver spostato i carrelli, lancio precarico
-- se taglio di coda senza residuo da scaricare, emetto macro per accelerare il carico della barra successiva
if EMT.MCHUSERNOTES and EMT.MCHUSERNOTES:find( 'Cut') and not EMT.PRELOAD then
EMT.PRELOAD = true
sOut = '_POSIZ_T(4,,,,,,,,,)' -- Lancio macro per carico anticipato: i valori sono presi dal plc (passati dall'interfaccia)
MyEmtOutput( sOut)
end
MyEmtOutput( 'G90 G17')
-- primo posizionamento carrello rispetto a 0M
if EMT.X1DELTA then
+1 -1
View File
@@ -9,7 +9,7 @@
require( 'EmtGenerator')
EgtEnableDebug( false)
PP_VER = '3.1c1_DEV5'
PP_VER = '3.1c1_DEV6'
MIN_MACH_VER = '2.7l2'
EgtOutLog ( '** Saomad-KAIROS '..PP_VER..' (MinMach '.. MIN_MACH_VER ..') **', 1)