Hi,
As the title mentioned, this M99999 is a program that was called by M6Start, actually i really don't understand how the mechanism it works thru'....
I tried to delete Sub Main.....End Sub, so the structure of program likes below, however, there is no response...??
With the Sub Main... End Sub added back, there is response.
tool=GetSelectedTool()
SetCurrentTool(tool)
.....
Call A(10000)
.....
Sub A(t As Integer)
....
Sleep(t)
...
End Sub