change configs from mm to inches

  • travis036
  • travis036's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
14 Sep 2019 08:36 #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

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
14 Sep 2019 09:26 #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 or Create an account to join the conversation.

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
14 Sep 2019 09:42 #145119 by rodw
Replied by rodw on topic change configs from mm to inches

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.

  • travis036
  • travis036's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
14 Sep 2019 09:46 - 14 Sep 2019 09:46 #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
Last edit: 14 Sep 2019 09:46 by travis036.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
14 Sep 2019 11:30 #145124 by tommylight
Replied by tommylight on topic change configs from mm to inches
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
Replied by Clive S on topic change configs from mm to inches

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.

  • travis036
  • travis036's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
14 Sep 2019 15:15 #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

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

  • travis036
  • travis036's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
14 Sep 2019 17:02 #145146 by travis036
Replied by travis036 on topic change configs from mm to inches
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.

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
14 Sep 2019 21:43 #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
The following user(s) said Thank You: travis036

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

  • travis036
  • travis036's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
14 Sep 2019 21:51 #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
The following user(s) said Thank You: rodw

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

Time to create page: 0.083 seconds
Powered by Kunena Forum