change configs from mm to inches

More
14 Sep 2019 08:36 #145116 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

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

More
14 Sep 2019 09:26 #145118 by tommylight
You can edit the ini file, it is easy enough.

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

More
14 Sep 2019 09:42 #145119 by rodw

You can edit the ini file, it is easy enough.


Change this
LINEAR_UNITS = mm

to
LINEAR_UNITS = inch

See
linuxcnc.org/docs/devel/html/config/ini-...g.html#_traj_section
The following user(s) said Thank You: tommylight

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

More
14 Sep 2019 09:46 - 14 Sep 2019 09:46 #145120 by travis036
Hmm, easier than i thought... then i just have to find all the settings in metric (like software limits, and such).

Thanks.

~Travis
Last edit: 14 Sep 2019 09:46 by travis036.

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

More
14 Sep 2019 11:30 #145124 by tommylight
Yes, that is correct.

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

More
14 Sep 2019 14:13 #145132 by Clive S

You can edit the ini file, it is easy enough.


Change this
LINEAR_UNITS = mm

to
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 or Create an account to join the conversation.

More
14 Sep 2019 15:15 #145139 by travis036
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

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

More
14 Sep 2019 17:02 #145146 by travis036
found this information:
    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 or Create an account to join the conversation.

More
14 Sep 2019 21:43 #145177 by rodw
If you had 320 steps per mm, you would have 320 * 25.4 = 8128 steps per inch
The following user(s) said Thank You: travis036

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

More
14 Sep 2019 21:51 #145179 by travis036
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
The following user(s) said Thank You: rodw

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

Time to create page: 0.076 seconds
Powered by Kunena Forum