Background: I am experimenting with making a solder mask for a pcb. My pcb layout programme gives me a list of x/y positions which indicate the centre of a pad. These need scaling by .0001 to represent inches, so at the start of my main programme I code g51 x.0001 y.0001. I have decided to use a circle to stencil a blob of paste on each land.
My milling tool is 32th, so for a 40th wide pad I use a subroutine:
O540 %40th wide pad
g0 z.004
g1 z-.004
g12 I.004
g0 z.1
m99
For some reason that code, when shown in the toolpath, gives a straight cut on the x axis to x0, wherever the starting coordinate position is, and no circle.
I have assumed no scaling on the I word as the manual says that scaling can apply to I and J but does not show the syntax for it. Anyway, the toolpath shows exactly the same path if I use g12 I4 instead.
I must be doing something obviously wrong, but I can't see it.
Dave