Originally Posted by
Osunator
U are right, it is easier to just create a code with the correct size, but because i'm creating a program with all the codes, it has to be able to scale, cause de G51 is scale, and theres gotta be a way, and the thing is DYNAPATH is not like every other code, I do know that G20 and G70 are INCH, G21 and G71 are METRIC, G90 is absolute and G91 is Incremental, the problem is the way the work in DYNAPATH CODE, here's a SAMPLE of dynapath code...
N6(9)M3S2500$
N8(0)X1.9186Y1.6236$
N10(0)Z0.5$
N12(0)Z0.1$
N14(1)Z-0.05F5.$
N16(2)I1.8836J1.6236D1$
N18(1)X1.9686F25.$
N20(2)I1.8836J1.6236D0$
If you see the code, the G-code is represeted by "(code)", the (0) is G00, the (1) is G01, the (2) is G02 and G03, the thing defining the G02 or G03 is the D word at the end of the command, a (2) D0 its G02 and a (2) D1 its a G03, the (9) is the M code, u can put (9)M02, so the problem and there are other functions, but it just have (0-9), i haven't seen any other number inside parenthesis, and i just don't know how to input the codes for G70, G71, G51, G15, G16, G50, G90, G91, or any other code...