DataBeam :

- aggiunta versione dell'eseguibile nel programma CN (richiede EgtCAM5 almeno ver.2.3f4).
This commit is contained in:
DarioS
2021-06-16 20:37:55 +02:00
parent aed3cac154
commit 741b2ae546
2 changed files with 14 additions and 4 deletions
+7 -2
View File
@@ -1,4 +1,4 @@
-- BatchProcess.lua by Egaltech s.r.l. 2021/02/25
-- BatchProcess.lua by Egaltech s.r.l. 2021/06/16
-- Gestione calcolo batch disposizione e lavorazioni per Travi
-- 2019/07/11 Aggiunta gestione stato rotazione di feature per TS3.
-- 2019/07/16 Aggiunta gestione modalità oltre 10 per impostazione macchina e uscita.
@@ -20,6 +20,7 @@
-- 2021/02/14 Modifica per macchine senza BD.MAX_WIDTH2 e BD.MAX_HEIGHT2.
-- 2021/02/22 Aggiunto anche controllo su file macchina mlde per aggiornare calcoli.
-- 2021/02/25 Aggiunta gestione tipo scarico (standard, lav. incomplete, a caduta).
-- 2021/06/16 Se disponibile si aggiunge la versione dell'eseguibile alle info del programma CN.
-- Intestazioni
require( 'EgtBase')
@@ -505,7 +506,11 @@ end
-- *** Genero programma CN *** ( se richiesto)
if BEAM.FLAG == 0 or BEAM.FLAG == 4 then
EgtOutLog( ' +++ Generating NC part program >>>')
if not EgtGenerate( '', 'EgtCAM5 - ' .. sNgeFile) then
local sInfo = 'EgtCAM5 - '
if EgtGetExeVersion then
sInfo = 'EgtCAM5 ver.' .. EgtGetExeVersion() .. ' - '
end
if not EgtGenerate( '', sInfo .. sNgeFile) then
BEAM.ERR = 20
local _, sName, _ = EgtSplitPath( BEAM.FILE)
BEAM.MSG = 'Error generating NC part program : ' .. sName