Hello Guest it is April 19, 2024, 06:32:58 PM

Author Topic: Digitizer output comand?  (Read 6461 times)

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Digitizer output comand?
« Reply #10 on: November 04, 2012, 04:32:15 PM »
This piece of script will cause MAch3 to write the trip values each time it is activated AND the points file is OPEN. NOW this works on older version of MACH3  NEWER versions ????

Call the M40, assign a file name

Create a button script with this:

Code"G91 G31A0.1 F1000"
Code"G00 A-0.1"
Code"G90"
End 

MOVE to a pos and push the button MAch3 will write the triplet fileXYZ to the file

MOVE and press button ,etc,etc,etc

(;-) TP 
Re: Digitizer output comand?
« Reply #11 on: November 04, 2012, 09:54:44 PM »
Seems simple enough to me, thanks a bunch!
Slowly learning VB script, very different from my usual bash script writing.
Anyway to get this to loop until say I call up an M30?

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Digitizer output comand?
« Reply #12 on: November 04, 2012, 10:12:57 PM »
Not sure exactly what you need . If you explain your process maybe I can help.

(;-) TP
Re: Digitizer output comand?
« Reply #13 on: November 04, 2012, 11:50:36 PM »
With some testing and such I think I like my original script/M-code.
I hooked it to a button in screen designer and the button is hooked to a hot-key.
Done, except I'm getting weird results but I have yet to actually wire in and setup the encoders so we'll see if that changes.