Hello Guest it is March 28, 2024, 04:12:43 PM

Author Topic: trying to set up home and soft limits  (Read 2811 times)

0 Members and 1 Guest are viewing this topic.

trying to set up home and soft limits
« on: October 08, 2012, 07:01:08 PM »
My machine was set-up using the supplied XML from the manufacturer
But, I noticed the setting for units is in mm I would be more comfortable in
inches...if I go in there and change it to inches will this mess up all the settings
that the XML put in??

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: trying to set up home and soft limits
« Reply #1 on: October 08, 2012, 07:30:18 PM »
This post may help.

http://www.machsupport.com/forum/index.php/topic,22605.msg157961.html#msg157961

You can set the units to inch or metric but you will need to do the math and adjust your motor tuning.  You could also clone your old profile and name it inch or something and play with it.  Also you can use G70 for inches and G71 for MM in your Gcode.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: trying to set up home and soft limits
« Reply #2 on: October 08, 2012, 09:53:28 PM »
Could clarify just a bit in regard to G70 and G71?? tks

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: trying to set up home and soft limits
« Reply #3 on: October 08, 2012, 11:55:04 PM »
G70 will run your code in inch mode and G71 will run it in metric mode.  Code is simply units.  Depending on what mode your in will dictate how far the machine actually moves.  If you have a line of code that tells the machine to move 1 unit G0 x-1.0 it will move one inch if in G70 mode.   Now if you put it in G71 mode and repeat it should only move 0.0394 inches because now the 1 is considered 1 mm instead of 1 inch and 1mm = 0.0394 inches.  If your running the default mach mill screen you can also go to the settings page and click on the units button.  This will change modes from mms to inches or vise versa.  Clicking this button is the same as entering G70 or G71 from MDI.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!