How to set 1 in G0 X1 to 1MM instead of 1 inch?

More
26 Aug 2021 09:34 #218777 by wang
Hello everyone

I have a question. Since our commonly used length unit is MM, but linuxcnc defaults the G code length unit to inches, what should I do to set the G code length unit to MM

For example: G0 X1 (1=1MM)

Please Log in or Create an account to join the conversation.

More
26 Aug 2021 09:55 #218779 by Aciera
In your .ini file [TRAJ]- section set 'LINEAR_UNITS to 'mm':

LINEAR_UNITS = mm

Make sure you also change the machine velocities/accelerations for your configuration.
The following user(s) said Thank You: wang

Please Log in or Create an account to join the conversation.

More
26 Aug 2021 10:36 #218781 by Clive S

Hello everyone

I have a question. Since our commonly used length unit is MM, but linuxcnc defaults the G code length unit to inches, what should I do to set the G code length unit to MM

For example: G0 X1 (1=1MM)

Also make sure you have G21 at the top of the gcode file
The following user(s) said Thank You: wang

Please Log in or Create an account to join the conversation.

Time to create page: 0.105 seconds
Powered by Kunena Forum