Here is what I have...
G01 Z # [ 0.242031066 ] A # [ 100 ]
Each of these "charactars" is in an individual field, while the .242 is a calculation pulled from another set of fields
Here is the calculation...
((COS(AD11+AD13))*AC9)+AC10
In my spreadsheet I have a "number of steps" column, which is also a calculation. I would like to have the button "generate code" give me as many lines of code as I need, while incrementing the angle, based upon the input given. The example attached will need a 100 lines of code. I think I could figure this out, if someone out there can provide a couple of good statements that would output this code the correct fields. I'm not sure if this makes sense, so I attached the spreadsheet with the output I want (hand calculated).
I basically need it to say put a G01 in this cell a 100 times when the number or value 100 is a cell pulled from the spreadsheet. Then do the same for the remaining fields... I think that makes sense.
Bookmarks