change configs from mm to inches
7 years 1 month ago #145116
by travis036
change configs from mm to inches was created by travis036
when i first setup my CNC, i thought it would be easier to use millimetres, though i am now realizing that as i am used to working in inches, being in the US, i would like to change to inches, but without running stepconf, as it will overwrite my custom additions. is there an easy way to change my machine to inches? or is it easier to just start over?
~Travis
~Travis
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
7 years 1 month ago #145118
by tommylight
Replied by tommylight on topic change configs from mm to inches
You can edit the ini file, it is easy enough.
Please Log in to join the conversation.
7 years 1 month ago #145119
by rodw
Change this
to
See
linuxcnc.org/docs/devel/html/config/ini-...g.html#_traj_section
Replied by rodw on topic change configs from mm to inches
tommylight wrote: You can edit the ini file, it is easy enough.
Change this
Code:
LINEAR_UNITS = mm
to
Code:
LINEAR_UNITS = inch
See
linuxcnc.org/docs/devel/html/config/ini-...g.html#_traj_section
Please Log in to join the conversation.
7 years 1 month ago #145120
by travis036
Replied by travis036 on topic change configs from mm to inches
Hmm, easier than i thought... then i just have to find all the settings in metric (like software limits, and such).
Thanks.
~Travis
Thanks.
~Travis
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
7 years 1 month ago #145124
by tommylight
Replied by tommylight on topic change configs from mm to inches
Yes, that is correct.
Please Log in to join the conversation.
7 years 1 month ago #145132
by Clive S
Would a g20 in the gcode do the same job .
Replied by Clive S on topic change configs from mm to inches
rodw wrote:
tommylight wrote: You can edit the ini file, it is easy enough.
Change this
Code:LINEAR_UNITS = mm
to
Code:LINEAR_UNITS = inch
See
linuxcnc.org/docs/devel/html/config/ini-...g.html#_traj_section
Would a g20 in the gcode do the same job .
Please Log in to join the conversation.
7 years 1 month ago #145139
by travis036
Replied by travis036 on topic change configs from mm to inches
under the AXIS, i have a SCALE of 320. i don't remember how i calculated this, so i don't know how to change it from mm to inch, or even if i need to... (been a while, and i didn't take notes as i set it up. sorry)
~Travis
~Travis
Please Log in to join the conversation.
7 years 1 month ago #145146
by travis036
Replied by travis036 on topic change configs from mm to inches
found this information:
not sure how to calculate scale... though in after thought, i can just run step config, and save to a different file, and grab the values i need out of it.
~Travis
Code:
200step/revolution steppers
8x microstepping
5mm ballscrew lead
not sure how to calculate scale... though in after thought, i can just run step config, and save to a different file, and grab the values i need out of it.
~Travis
Please Log in to join the conversation.
7 years 1 month ago #145177
by rodw
Replied by rodw on topic change configs from mm to inches
If you had 320 steps per mm, you would have 320 * 25.4 = 8128 steps per inch
Please Log in to join the conversation.
7 years 1 month ago #145179
by travis036
Replied by travis036 on topic change configs from mm to inches
wow, i feel a bit dumb now, not knowing it was that simple. thought there was far more complex math involved.
maybe i just over thinked the whole process.
Thanks!
~Travis
maybe i just over thinked the whole process.
Thanks!
~Travis
Please Log in to join the conversation.
Time to create page: 0.107 seconds
