Compare commits

...

1 Commits

Author SHA1 Message Date
luca.mazzoleni 3b7ac164a1 #critical# in BeamData corretta lettura ROT90 da TS3 2024-10-04 09:24:24 +02:00
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ local BeamData = {
RIGHT_LOAD = false, -- flag carico da destra
ROT90 = false, -- flag abilitazione rotazione 90 gradi
NEWCLAMPING = false, -- flag abilitazione nuovo metodo riposizionamento carrelli
FASTCLAMPING= true, -- flag abilitazione riduzione numero riposizionamenti al carico e durante grande trascinamento
FASTCLAMPING= true, -- flag abilitazione riduzione numero riposizionamenti al carico e durante grande trascinamento
MIN_WIDTH = 40, -- larghezza minima del grezzo
MIN_HEIGHT = 40, -- altezza minima del grezzo
MAX_WIDTH = 240, -- larghezza massima del grezzo
@@ -90,7 +90,6 @@ if EgtExistsFile( sData) then
local Machine = dofile( sData)
if Machine then
if Machine.Offsets then
BeamData.ROT90 = Machine.Offsets.ROT90 or BeamData.ROT90
BeamData.ANG_TRASM = ( Machine.Offsets.SECSUP and Machine.Offsets.SECSUP >= 3)
BeamData.BH_MACHINE = ( Machine.Offsets.BLOCKHAUS == 1)
BeamData.MINRAW_S = max( BeamData.MINRAW_S, Machine.Offsets.MINRAW_S or BeamData.MINRAW_S)
@@ -105,6 +104,7 @@ if EgtExistsFile( sData) then
if Machine.Offsets.MIN_HEIGHT_ADDED_CUTS then BeamData.MIN_HEIGHT_ADDED_CUTS = min( Machine.Offsets.MIN_HEIGHT_ADDED_CUTS, BeamData.MIN_HEIGHT_ADDED_CUTS) end
if Machine.Offsets.NEWCLAMPING ~= nil then BeamData.NEWCLAMPING = ( Machine.Offsets.NEWCLAMPING == 1) end
if Machine.Offsets.FASTCLAMPING ~= nil then BeamData.FASTCLAMPING = ( Machine.Offsets.FASTCLAMPING == 1) end
if Machine.Offsets.ROT90 ~= nil then BeamData.ROT90 = ( Machine.Offsets.ROT90 == 1) end
end
if Machine.Trave then
BeamData.MIN_WIDTH = Machine.Trave.XMIN or BeamData.MIN_WIDTH
+3 -2
View File
@@ -72,12 +72,13 @@
-- 2024/10/01 AV ver 2.6j1 Allineamento con common ver. 2.6j1
-- 2024/10/03 AV ver 2.6j2 Allineamento con common ver. 2.6j2
-- Aggiunta lettura parametro ROT90 da TS3 in BeamData
-- 2024/10/04 LM ver 2.6j3 in BeamData corretta lettura ROT90 da TS3
require( 'EmtGenerator')
EgtEnableDebug( false)
PP_VER = '2.6j2'
PP_NVER = '2.6.10.2'
PP_VER = '2.6j3'
PP_NVER = '2.6.10.3'
MIN_MACH_VER = '2.5k1'
MACH_NAME = 'Essetre-FAST'