- Aggiunta variabile per macchina

- Corretta condizione in OnSimulMoveStart
This commit is contained in:
andrea.villa
2025-05-13 13:36:02 +02:00
parent d5704d97c0
commit c52e7acedc
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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