Here is the process for the part preview function. Once in place you load up your Gocde file then set X0Y0 and make sure the Z is at a safe travel height. Press the preview run button. The machine will travel the outside profile of the part. When complete the program rewinds back to teh start. You can run it as many times as you like if you need to shift the metal around OR use the G68 function to rotate the program to fit the material.
When you have finished alignment just press Cycle start as normal .
I GUESS we really need to start a master Scam post for mach3 plasma with all the goodies built in.
Modify your SheetCam Post(;-)
ADD to
OnPenDown()
if (string.find(operationName, _("Outside Offset") )) then
post.TextDirect("o549 \n")
post.Text (" X")
post.Number (Sline1,"0.0000")
post.Text(" Y")
post.Number (Sline2,"0.0000")
post.Eol()
end
ADD TO OnRapid()
Sline1 = (endX * scale)
Sline2 = (endY * scale)
Mach3 PREVIEW BUTTON macro CODE************************
'Macro To AutoPreview
Sub main()
Msg="Is Your Z HEIGHT Safe To Travel AND X0Y0 set?"
Response = MsgBox(Msg, 4 )
If Response = 7 Then
GoTo N3:
Else
GoTo N2:
End If
N2:
Code"G1 F30"
Code"M98P549"
DoButton(0)
GoTo N4:
N3:
MsgBox("Move Z To A Safe HEIGHT OR set X0.000 ,Y0.000 And Restart")
GoTo N4:
N4:
End Sub
End