Macro per carico anticipato spostata dopo GEOAX
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user