5961
General Mach Discussion / Re: Engraving text
« on: April 21, 2011, 11:30:06 PM »
OK found a bunch of old code done 2 ways one is throught VB macro and the other is through Gcode Subs.
The Gcode subs has always been rock dependable so I will clean up that version first.
The way it will work is you load all the subs A-Z into the sub directory. You would then set a few variable to define the width height and spacing
#500=1.000 #501=.100 #502=1.00
#1=8.0 #2=-.02 #3=15 #4=40 #5=1.0 #7=30
You only have to define these once per session of mach. Mach holds them inMEM until it is shut down. We can also make these so mach will always remeber them until you change them.
Then all you have to do is call the sub via the M98 call
M98 (C.txt)
M98 (A.txt)
M98 (T.txt)
Mach will then cut CAT.
I f this is what you are looking for then I will clean it all up and post it.
(;-) TP
The Gcode subs has always been rock dependable so I will clean up that version first.
The way it will work is you load all the subs A-Z into the sub directory. You would then set a few variable to define the width height and spacing
#500=1.000 #501=.100 #502=1.00
#1=8.0 #2=-.02 #3=15 #4=40 #5=1.0 #7=30
You only have to define these once per session of mach. Mach holds them inMEM until it is shut down. We can also make these so mach will always remeber them until you change them.
Then all you have to do is call the sub via the M98 call
M98 (C.txt)
M98 (A.txt)
M98 (T.txt)
Mach will then cut CAT.
I f this is what you are looking for then I will clean it all up and post it.
(;-) TP