161
General Mach Discussion / Re: help with auto tool zero macro
« on: March 12, 2008, 11:21:28 PM »I am using the latest version of Mach
v2.63 or v3.something? If 3.something, try it with v2.63.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I am using the latest version of Mach
So the problem appeared at random times in your system ?
When I load the screen in MACH3 and press a jog key the correct axes moves in the right
direction but keeps moving even when i release the key!
Dim sFileText As String
Dim iFileNo As Integer
iFileNo = FreeFile
'open the file for writing
Open "C:\Test.txt" For Output As #iFileNo
'please note, if this file already exists it will be overwritten!
xd00d=getoemdro (800)
yd00d=getoemdro (801)
zd00d=getoemdro (802)
'write some example text to the file
Print #iFileNo, "X= ", xd00d
Print #iFileNo, "Y= ", yd00d
Print #iFileNo, "Z= ", zd00d
'close the file (if you dont do this, you wont be able to open it again!)
Close #iFileNo