Page 1 of 1

starting in wrong position X <resolved>

Posted: Wed Jan 18, 2023 4:06 am
by mikechung
I have generated in Fusion 360 Gcode.
I have noticed even thought I have set home, setup part size, tool positions, Sample Pawn m works fine
In the code it shows starting at X22.2
The part is 22mm diameter, should the position be X11.1.
When I run the code the starting position is X22.2

Can you advise what I am doing wrong?
Attached code , jpeg picture, report
Thanks
Mike Chung
https://www.vertogen.eu


N21 G0 X22.2 Z3. T0404
N22 G1 Z1.125 F0.127
N23 X21.5
N24 Z-23.794
N25 X22.

Re: starting in wrong position X

Posted: Wed Jan 18, 2023 9:26 am
by tblough
Machine parameter 55 controls whether your DRO displays in Radius or Diameter mode. Yours is set to 0 to display diameters (in my opinion that's the best way).

Re: starting in wrong position X

Posted: Wed Jan 18, 2023 6:06 pm
by cncsnw
X positions are not only displayed as diameters on the DRO; they are interpreted as diameters from the G code.

Therefore, with P55 = 0 (as it should be), "G0 X22.2" will move the X axis until the tool tip is 11.1mm away from centerline, and the DRO will show X at 22.200.

Re: starting in wrong position X

Posted: Wed Jan 18, 2023 6:10 pm
by cncsnw
If you have your machine set up so that the X axis moves 22mm of actual distance, between the place where the DRO shows "X0" and the place where the DRO shows "X22", then your X axis mm/rev value is wrong, and needs to be changed from 0.8 to 1.6 (to match Z).

Re: starting in wrong position X

Posted: Sun Jan 22, 2023 3:16 pm
by mikechung
Hi
From your comments I rechecked the Revolution per Travel on the X axis.
On the Wizard configuration mine was set to .05 , I tried 1.00 and now the starting position is correct.
Thanks
Mike