Hello
Guest
it is
April 02, 2023, 01:44:30 AM
Guest
Login
Register
Menu
Home
Help
Search
Calendar
Members
Members
View the memberlist
Search For Members
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
General Mach Discussion
/
Engraving text
« previous
next »
Print
Pages:
«
1
2
Go Down
Author
Topic: Engraving text (Read 11286 times)
0 Members and 1 Guest are viewing this topic.
BR549
6,965
Re: Engraving text
«
Reply #10 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
«
Last Edit: April 21, 2011, 11:31:42 PM by BR549
»
Logged
stirling
2,188
UK
Re: Engraving text
«
Reply #11 on:
April 22, 2011, 02:50:11 AM »
A dodge I've used before to pass a string to a macro is to gcode something like:
...
(some text)
M750
...
Then in the macro use the apparantly undocumented "getMessage" function. You should probably plate this up a tad like:
(%some text%) and check for the %s just in case an otherwise generated message springs up and overwrites the message before you read it.
Ian
Logged
Razordance Torch Height Control
BR549
6,965
Re: Engraving text
«
Reply #12 on:
April 23, 2011, 04:17:33 PM »
OK I have placed the Engraving Subs in the MACH TOOL BOX. There is also a set of instructions on how they work.
As always test them for your application FIRST.
Have Fun (:-) TP
Logged
babinda01
32
Re: Engraving text
«
Reply #13 on:
April 23, 2011, 04:40:39 PM »
Hi TP
Thanks heaps for your help, I will give it a go, but I am pretty sure it will work perfectly for me.
Regards
Andrew
Logged
Print
Pages:
«
1
2
Go Up
« previous
next »