9
« on: April 21, 2011, 06:10:36 PM »
Hi Ian
I was hacking around with the macro a bit yesterday. The trouble I have is how to pass the text that I want engraved to the macro. If you try and use the parameters (P,Q or R) these only accept a double value, so what I did was assign a two digit number to each letter ie A becomes 01 all the way through to Z = 26, I then convert this to a base 6 (senary) binary and then back to a double, In this way If I use all three parameters, I can achieve the number of letters I need to engrave ......... this works ok for me, and it is producing the correct gcode, BUT it isn't very neat.....
Any thoughts on a better way to send the text string to the macro.
Andrew