Here's a simple excel formula example. If you can program in VBA, you can create all kinds of automated G code routines.
Let's say you want the G gode in column A, X coordinates are in column B, Y in C.
Put this formula in A1
="G01X"&B1&"Y"&"C1"&"F300"
copy this down the length of the list and manually add a "M02" at the end.
There is a little more set up than this, you have to add some commands specific to your machine, but its pretty easy.
I would then copy column A and "paste special" values to get just leave the data. Delete colums B and C, then save out as a text file. |