Hi Group,
This is my first post here on this forum but have used the Yahoo board a few times.
I have a Boss mill and a plasma table controlled by on Mach 3. I'm just putting the finishing touches on the plasma and need some expert help as Macros are over my head.
code "g31z-1"
While IsMoving()
wend
TorchHeight = GetUserDRO(1000)
SwitchTravel = GetUserDRO(1002)
TCutHeight = (getUserDRO (1003) + SwitchTravel)
code "G92Z0"
code "G1Z" & (SwitchTravel + TorchHeight)
While IsMoving()
wend
DoSpinCW()
code "G4 P" & (PierceDelay)
code "G1Z" & (TCutHeight )
TorchHeight = 0
SwitchTravel = 0
I enter M3 in the MDI and Z goes down to -1 and back up to pierce height. It never recognizes my home switch even though I see it work on the diagnostics page. Shouldn't Z reverse at switch or -1 whichever occurs first? Will someone please tell me what I'm missing.
Thanks Harry