How to set 1 in G0 X1 to 1MM instead of 1 inch?
- wang
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 0
26 Aug 2021 09:34 #218777
by wang
How to set 1 in G0 X1 to 1MM instead of 1 inch? was created 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)
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.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4023
- Thank you received: 1734
26 Aug 2021 09:55 #218779
by Aciera
Replied by Aciera on topic How to set 1 in G0 X1 to 1MM instead of 1 inch?
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.
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.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2240
- Thank you received: 474
26 Aug 2021 10:36 #218781
by Clive S
Replied by Clive S on topic How to set 1 in G0 X1 to 1MM instead of 1 inch?
Also make sure you have G21 at the top of the gcode fileHello 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)
The following user(s) said Thank You: wang
Please Log in or Create an account to join the conversation.
Time to create page: 0.111 seconds