By continuing to use this site, you agree to our use of cookies. Find out more
Forum sponsored by:
Forum sponsored by Forum House Ad Zone

Probem with soft limits mach3 turn

All Topics | Latest Posts

Search for:  in Thread Title in  
John Roberts 1001/04/2021 19:57:35
10 forum posts
1 photos

I recently bought a small Boxford CNC lathe which has been converted to run Mach3 Turn.

My problem is the setting of the soft limits within mach.

I set the soft limits X soft min -100 mm X soft max 0

Z soft min -130 mm Z soft max 0

I saved the settings. After switching on the home limits i get an error message.

Machine out of limits for soft limit activation.

This is despite both axis been homed and the work offsets zeroed.

(Machine homes in a positive direction as it should)

Any advice would be appreciated.

John

Anders Be01/04/2021 20:17:49
11 forum posts

My guess is that your posistin is outside the limit. I also think soft limits are im machine coordinates. Try to show the machine coordinate at your posision (machine cordinates are always in radius).

Best regards

Anders B

 

PS Oh yes, machine coordinates are unaffected by work offset. DS

Edited By Anders Be on 01/04/2021 20:23:25

John Haine02/04/2021 10:08:32
5563 forum posts
322 photos

Hi John,

Homing and soft limits can be a bit of a minefield. My approach is as follows - hopefully there may be something here to help with your problem. Note the numbers here are for my Super 7, yours would probably be less for a smaller lathe.

  • I don't have home/limit switches on the Z axis as they serve no useful purpose IMHO. They would have to be in positions where they would allow free movement of the carriage whatever the position of the tailstock and whatever chuck you have fitted, so by the time they are activated it's probably too late. Z axis homing is not enabled. Anyway using stepper if you hit an endstop it just stalls the motor - unlikely to break anything, though you do lose any referencing.
  • I do have an X home switch which allows the X axis to be referenced at its minimum position, closest to axis. This is used so all the tools can be referenced for turning diameters. I described this somewhere on here. X axis homing is enabled.
  • Soft limits are set, but the only one I rely on at all is to stop the X axis running off the ballnut. The numbers I use are Z: +250mm / -250mm; X +110mm / -20mm
  • The homing procedure is, on switch on:
    • Make sure you are in Diameter Mode
    • Select Machine Coords
    • Move X axis to nearly zero position
    • Click Set Home X button on manual screen - X axis slowly moves in until home position detected (but usually the DRO is not zero)
    • Click Zero World X - this sets the machine X DRO and coordinate to 0.000
    • This is all done with the carriage in about the middle of the bed - as I have an ordinary leadscrew and half nuts this is done with the rack feed, then I engage the halfnuts and they stay closed.
    • Click Zero World Z - this sets the machine Z coord to 0.000.
  • Now all Z movements are made by jogging, not the rack handwheel. There is no manual wheel on X anyway. There's a temptation, when you finish a bit of machining with the tool near the chuck, to release the half nuts and wind the carriage back - this loses the Z reference and if I'm not careful to reset it after a while and doing this a few times the machine thinks that the Z machine coordinate has got too big (negatively) and it will hit the soft limit. I'm learning to only use jogging.

All this is done in machine coordinates. When I select programme coordinates and a tool then the X DRO shows the actual turning diameter provided the tool offsets are set up. Work offsets and tool offsets do not affect machine coordinates. For one-off work, work offsets are irrelevant I think. The above procedure allows me to turn to a diameter relatively accurately without having to touch off the tool to the material. For the Z axis I have a tool touch sensor and a macro that will find the end of the material in the chuck, zero the X pgm coord, and move the tool 20mm to the right.

I hope this helps, ask away if anything not clear.

John Roberts 1002/04/2021 19:46:36
10 forum posts
1 photos

Thanks for your replies.

It appears that soft limits only work in Mach turn when radius mode is set. There is no reference to this in the manual.

I found a commit on the mach3 forum to that effect. When I tried it in radius mode it worked.

I wish to stay in Dia mode so will have to do without soft limits on my lathe.

John

Martin Connelly03/04/2021 08:21:58
avatar
2549 forum posts
235 photos

I use a clamp on limit switch for negative Z axis moves. The option of using collets or a chuck makes a fixed one problematic as mentioned by John. I use this for homing/limits once the setup is done so that any error or overnight shutdown can be recovered from with minimal effort. You could easily mount fixed ones on the X axis and moveable ones on the z axis and then not worry about soft limits, just need to remember to set them up after things like chuck changes.

img_20170513_093354.jpg

Martin C

John Haine03/04/2021 10:21:37
5563 forum posts
322 photos
Posted by John Roberts 10 on 02/04/2021 19:46:36:

Thanks for your replies.

It appears that soft limits only work in Mach turn when radius mode is set. There is no reference to this in the manual.

I found a commit on the mach3 forum to that effect. When I tried it in radius mode it worked.

I wish to stay in Dia mode so will have to do without soft limits on my lathe.

John

Well I just checked on my lathe which is in diameter mode and soft limits work on both X and z axes exactly as expected. This may be version dependent, I am using R3.043.062 which I believe is the latest recommended for Turn as it supports threading correctly.

Edited By John Haine on 03/04/2021 10:22:33

John Haine03/04/2021 13:20:45
5563 forum posts
322 photos

pxl_20210403_110148642.jpg

John Haine04/04/2021 08:31:15
5563 forum posts
322 photos

And looking again at your first post, note that your zero home position is at a soft limit. You need to make sure that the soft limit range brackets the machine coordinate zeros.

All Topics | Latest Posts

Please login to post a reply.

Magazine Locator

Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!

Find Model Engineer & Model Engineers' Workshop

Sign up to our Newsletter

Sign up to our newsletter and get a free digital issue.

You can unsubscribe at anytime. View our privacy policy at www.mortons.co.uk/privacy

Latest Forum Posts
Support Our Partners
cowells
Sarik
MERIDIENNE EXHIBITIONS LTD
Subscription Offer

Latest "For Sale" Ads
Latest "Wanted" Ads
Get In Touch!

Do you want to contact the Model Engineer and Model Engineers' Workshop team?

You can contact us by phone, mail or email about the magazines including becoming a contributor, submitting reader's letters or making queries about articles. You can also get in touch about this website, advertising or other general issues.

Click THIS LINK for full contact details.

For subscription issues please see THIS LINK.

Digital Back Issues

Social Media online

'Like' us on Facebook
Follow us on Facebook

Follow us on Twitter
 Twitter Logo

Pin us on Pinterest

 

Donate

donate