
Button 1 Text CmdRun
Button 2 Text CmdStep
Button 3 Text CmdPause
Button 4 Text CmdRewind
Button 5 Text CmdStop

Button 7 Text Rapid500
Button 8 Text Rapid2000
Button 9 Text Feed100
Button 10 Text Feed1000
Button 11 Text Speed0
Button 12 Text Speed20000

Button 17 Text TestLowZ
Button 18 Text GotoZero
Button 19 Text GotoHome
Button 20 Text GotoBottomLeft
Button 21 Text GotoTopRight

Button 23 Text SetZetaHome
Button 24 Text CalibrateXY
Button 25 Text CalibrateZ
Button 26 Text CalibrateAB

Button 28 Text MoveTo_10_20_30
Button 29 Text MoveTo_20_30_10

Button 33 Text ZeroX
Button 34 Text ZeroY
Button 35 Text ZeroZ
Button 36 Text ZeroA
Button 37 Text ZeroB

Button 39 Text GotoLine5
Button 40 Text GotoLine50
Button 41 Text GotoLine9999

Button 43 Text LoadMaster
Button 44 Text LoadPmtAdapter

Button 46 Text ErrorTest

Variable Numeric SlotCommands = 1
Variable Numeric SlotStatus = 2
Loop
Stop

Label Loop
	Print SlotText(SlotStatus)
Goto Loop

Label CmdRun
	SlotText SlotCommands = "CmdRun"
Return
Label CmdStep
	SlotText SlotCommands = "CmdStep"
Return
Label CmdPause
	SlotText SlotCommands = "CmdPause"
Return
Label CmdRewind
	SlotText SlotCommands = "CmdRewind"
Return
Label CmdStop
	SlotText SlotCommands = "CmdStop"
Return

Label Rapid500
	SlotText SlotCommands = "Rapid 500"
Return
Label Rapid2000
	SlotText SlotCommands = "Rapid 2000"
Return
Label Feed100
	SlotText SlotCommands = "Feed 100"
Return
Label Feed1000
	SlotText SlotCommands = "Feed 1000"
Return
Label Speed0
	SlotText SlotCommands = "Speed 0"
Return
Label Speed20000
	SlotText SlotCommands = "Speed 20000"
Return

Label TestLowZ
	SlotText SlotCommands = "TestLowZ"
Return
Label GotoZero
	SlotText SlotCommands = "GotoZero"
Return
Label GotoHome
	SlotText SlotCommands = "GotoHome"
Return
Label GotoBottomLeft
	SlotText SlotCommands = "GotoBottomLeft"
Return
Label GotoTopRight
	SlotText SlotCommands = "GotoTopRight"
Return

Label SetZetaHome
	SlotText SlotCommands = "SetZetaHome"
Return
Label CalibrateXY
	SlotText SlotCommands = "CalibrateXY"
Return
Label CalibrateZ
	SlotText SlotCommands = "CalibrateZ"
Return
Label CalibrateAB
	SlotText SlotCommands = "CalibrateAB"
Return

Label MoveTo_10_20_30
	SlotText SlotCommands = "MoveTo 10 20 30"
Return
Label MoveTo_20_30_10
	SlotText SlotCommands = "MoveTo 20 30 10"
Return

Label ZeroX
	SlotText SlotCommands = "ZeroX"
Return
Label ZeroY
	SlotText SlotCommands = "ZeroY"
Return
Label ZeroZ
	SlotText SlotCommands = "ZeroZ"
Return
Label ZeroA
	SlotText SlotCommands = "ZeroA"
Return
Label ZeroB
	SlotText SlotCommands = "ZeroB"
Return

Label GotoLine5
	SlotText SlotCommands = "GotoLine 5"
Return
Label GotoLine50
	SlotText SlotCommands = "GotoLine 50"
Return
Label GotoLine9999
	SlotText SlotCommands = "GotoLine 9999"
Return

Label LoadMaster
	SlotText SlotCommands = "LoadGcode PCB Large\MasterDIL-V3.gc"
Return
Label LoadPmtAdapter
	SlotText SlotCommands = "LoadGcode PCB Large\PmtAdapter.gc"
Return

Label ErrorTest
	SlotText SlotCommands = "Error Test"
Return


'WATCH SewTo_Speed
'EXEC Button 5 Text Button5
