Essetre-PFrl :
- correzione per update con utensile cambiato di nome - correzione per carico pezzo dopo rotazione con movimenti di riposizionamento carrelli da separare.
This commit is contained in:
+2
-6
@@ -1403,9 +1403,6 @@ function PrepareLoad( sCmd, nInd, bStart)
|
||||
end
|
||||
table.insert( EMT.MDCHAR, { Start=1})
|
||||
table.insert( EMT.MDCHAR, { Wait=1})
|
||||
--for i = 1, #EMT.MDCHAR do
|
||||
-- EMT.MDCHAR[i].MovType = 3
|
||||
--end
|
||||
end
|
||||
elseif Cmd[1] == '1' then
|
||||
if Cmd[2] ~= 'Z' then
|
||||
@@ -1913,9 +1910,8 @@ function PreparePostRotation( sCmd, nInd)
|
||||
-- se dichiarazione inizio riposizionamento carrelli
|
||||
if Cmd[2] == 'CARR_MOVE' then
|
||||
EMT.POSTROT = false
|
||||
for i = 1, #EMT.MDCHAR do
|
||||
EMT.MDCHAR[i].MovType = 3
|
||||
end
|
||||
table.insert( EMT.MDCHAR, { Start=1})
|
||||
table.insert( EMT.MDCHAR, { Wait=1})
|
||||
end
|
||||
elseif Cmd[1] == '1' then
|
||||
-- non interessa
|
||||
|
||||
+5
-1
@@ -1083,7 +1083,11 @@ function SpecialCalcPhaseEncumbrance( nPhase)
|
||||
-- imposto lavorazione e utensile correnti
|
||||
EgtSetCurrMachining( nMchId)
|
||||
local sTool = EgtGetMachiningParam( MCH_MP.TOOL)
|
||||
EgtTdbSetCurrTool( sTool)
|
||||
if not sTool or not EgtTdbSetCurrTool( sTool) then
|
||||
local sTuuid = EgtGetMachiningParam( MCH_MP.TUUID)
|
||||
sTool = EgtTdbGetToolFromUUID( sTuuid) or ''
|
||||
EgtTdbSetCurrTool( sTool)
|
||||
end
|
||||
local sHead = EgtTdbGetCurrToolParam( MCH_TP.HEAD)
|
||||
EgtSetCalcTool( sTool, sHead, 1)
|
||||
-- calcolo ingombri
|
||||
|
||||
Reference in New Issue
Block a user