- Aggiunta variabile per macchina
- Corretta condizione in OnSimulMoveStart
This commit is contained in:
+1
-1
@@ -650,7 +650,7 @@ function OnSimulMoveStart()
|
||||
VerifyX2Stroke( EMT.A2)
|
||||
-- se inizio lavorazione
|
||||
if EMT.MCHFIRST then
|
||||
if EMT.HEAD == 'H3' and abs( EgtGetAxisPos( 'CS')) > 0.1 and not EMT.R1p or abs( EMT.R1 - EMT.R1p) > 15 then
|
||||
if EMT.HEAD == 'H3' and abs( EgtGetAxisPos( 'CS')) > 0.1 and ( not EMT.R1p or abs( EMT.R1 - EMT.R1p) > 15) then
|
||||
SimulMoveAxis( 'A', ParkA, MCH_SIM_STEP.COLLROT)
|
||||
SimulMoveAxis( 'C', EMT.R1, MCH_SIM_STEP.COLLROT)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user