Let's say I have the following:

G76 P020060 Q20 R0.
G76 X1.6398 Z-2.275 P511 Q120 F.083333

For Q20, P511, and Q120 do I just multiply by .0001 to get the real values?

So: The first Q = .002, the P = .0511, the second Q = .012???

How 'bout this.....

G76 P011060 Q004 R0.002
G76 X2.8978 Z-1.6 R0 P0511 Q0210 F.083333

So: The first Q = .0004, the P = .0511, the second Q = .021???

Do I have this right in both cases???

Thank you.

2. ## Decimal point placement

The decimal, when the coordinate is read by the CNC, is placed (4) places from the right ... assuming your machine is in inches. If metric ... three places from the right.

Some inch examples :

1 = .0001
20 = .0020
123456 = 12.3456
21 = .0021

Your example is a Fanuc program ... just FYI, some machines will read the value of say X1 as X 1.0000" ... but most Fanuc machines are set up so that X1 actually means X.0001".

Hope this helps ....

Bluechip
Real World Machine Shop Software at ... Kentech Inc. - Real World Machine Shop Software

3. Thanks much BlueChip. Appreciate it.