Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Cartierusm on December 13, 2016, 01:07:58 PM

Title: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: Cartierusm on December 13, 2016, 01:07:58 PM
So I've read the other threads about homing and such. I don't think for my application limit switches will work, unless the built in ones are exceptional.

I'm retrofitting a Mori Seiki SL1 CNC Lathe. What is everyone else doing to home their machines accurately? I used to, on my old Mach 3 lathe, take cuts and measure and go from there, but I'm retrofitting a real cnc lathe and want to use the new hardware to make it work as it should. Which to me means index pulse homing.

At first I was going to use the Pokeys 57E, but after all my research I found out it can't do index pulse homing. I'm probably going to go with DMM 1.8Kw servos and they might be able to do that internally. I've a got an email into them asking that.

As far as boards that can do index pulse homing I'm not sure which direction to go if the DMM can't do it internally.

Here's a list I've compiled of motion controllers that seem to be full functioning.

Galil
Mesa
Rogers Machine Sound Logic Encoder Interface
Dynamotion (kflop)
Smoothstepper, I think.
Vital Systems
CS Lab
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: DICKEYBIRD on December 13, 2016, 02:28:23 PM
I think you have to have a limit switch anyway (usually mechanical) to tell the control when to be looking for the next index pulse.
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: Davek0974 on December 13, 2016, 02:38:26 PM
I used a cs-labs box on my mill, with a limit switch and index homing, it homes very accurately.
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: Cartierusm on December 13, 2016, 03:39:32 PM
Cool. Good to know. I'll take a look at the cs-labs stuff.

I received a response from DMM, very easy to let the servo driver do an index pulse for homing.

Here's what they said:

The servo drive has full encoder output, including the index Z pulse which outputs once per revolution.  But for precise homing, you can use the drive's ABS_H input, which will move the motor to zero absolute position within 1 revolution.

So our usual homing procedure is as follows:

- install a proximity switch near your home position for rough homing
- starting from anywhere one the travel, move the axis back towards the prox switch
- when the prox switch is triggered, turn ON the ABS_H, the motor will move to absolute zero position each time to complete precise homing

I think all motion controllers can support this functionality.  You just need to program the homing procedure into the g-code to read the proximity switch input, then output the ABS_H output to the drive.


So my question is, How do i implement this in mach, obviously I don't want to do this in G-Code. I just want to do it when I start the machine up for the day.

Also if I'm using the homing index within the servo drive then I guess I can use any motion controller I want or BOB??
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: joeaverage on December 14, 2016, 06:37:12 AM
Hi,
I think most eternal motion controllers support index homing.

I use steppers which don't have index pulses and yet with solidly mounted good quality roller plunger micro switches I can home to
0.05 mm any day any time. Any thing more critical than that I touch off and would still probably do so even if I had index assisted
homing. I think that is the key, indexing assists, without a good reference your indexing could miss.

Craig
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: Fledermaus on December 14, 2016, 07:41:18 AM
I second the CS Labs CSMIO-IP/A. In conjunction with a limit switch (I use gold contact microswitches). Simply turn index homing on for the CS Labs plugin and the homing function occurs without the need for any code. Homing is more precise than I can measure, certainly better than 5 microns. With this or any similar scheme you need to set your limit switch to operate some distance (ideally half a motor revolution) from the index pulse.

Allan
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: DICKEYBIRD on December 14, 2016, 08:34:23 AM
I use steppers which don't have index pulses and yet with solidly mounted good quality roller plunger micro switches I can home to
0.05 mm any day any time.
Hi Craig, you can get even closer by putting an opto sensor reading a slotted disc on the stepper shaft & wire your microswitch between the opto signal output & the input on your BOB.  It works a treat for me & my steppers.:)
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: RICH on December 14, 2016, 10:24:24 AM
Quote
What is everyone else doing to home their machines accurately?

Quote
I just want to do it when I start the machine up for the day
.

I don't use any homing switches on my stepper driven lathe nor do I have any fancy drives or break out board and use a quick change tool holder. :o

I just run a probing routine which probes a tool setter mounted in the chuck and the routine automaticaly set's the master tool from the lathes center line and at a defined  point in the Z. I then define home wherever I want it to be. Most of the time there is never a need to be more than half way down the bed from the chuck.

Fast, cheap, very accurate ( +-0.0002" repeatability).

RICH
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: Cartierusm on December 14, 2016, 12:12:27 PM
All good ideas. Thanks.
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: joeaverage on December 15, 2016, 02:32:26 AM
Hi DICKEYBIRD,
believe it or not the steppers I bought off Ebay actually had encoders on them and I took them off, after reading your suggestion I'm thinking WTF did
I do that for?

The steppers have low backlash 10:1 planetaries so one rev of the motor corresponds to 0.5mm movement with 5mm pitch ballscrews. I did not at the time
think that microswitches, even good ones would get me close enough for index homing to be effective. They do as it turns out. Additionally was using M3 and PP
at the time and the coding required seemed daunting. Have since migrated to M4 and ESS for which index homing is an easy upgrade.
Having said that; the encoders always seem to get in the way in my setup and washed with coolant commonly, its dubious that they would have worked
reliably. Nonetheless some simpler and robust alternative might be possible. Damn! you've given me yet another idea to pursue!

Craig
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: DICKEYBIRD on December 15, 2016, 08:47:38 AM
Additionally was using M3 and PP
at the time and the coding required seemed daunting.
Me too, M3 & PP but no tricky code is required.  It's already there under Config>Homing/Limits and clickity-click, you're done (once the hardware side is finished.)

I made the opto rig because I have so many faux-pas & tired of starting over with the whole touching-off routine every time.  Now I just switch back to tool '0', hit "Set Home X" & then Z and I'm right back where I started.  I have 21 QCTP tools now with all the offsets dialed-in referenced to home.  Oh yeah. I made an opto equipped Z axis probe as well that I home on the end of the part so I wouldn't have to manually touch-off Z every time.  Works great!
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: rhtuttle on December 15, 2016, 11:50:10 AM
Okay guys, time for you to post some videos of your setups and process!
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: DICKEYBIRD on December 15, 2016, 01:05:32 PM
Okay guys, time for you to post some videos of your setups and process!
If you mean my stuff, here's a couple links.  I'm not too shiny when it comes to the world of video production.

Post #8 sorta desribes the X homing, ignore all the stuff about the Z homing & gang tooling in that thread as that all went away in favor of the Z-probe in the 2nd link

 http://www.machsupport.com/forum/index.php/topic,22258.0.html

http://www.machsupport.com/forum/index.php/topic,28631.msg200969.html#msg200969
Title: Re: Accurate Homing and the Boards that can do that, What is everyone else doing?
Post by: DICKEYBIRD on December 16, 2016, 09:42:49 AM
Damn! you've given me yet another idea to pursue!

Craig
Hey Craig, I guess we're now even in the "idea to pursue" game.  During the process of looking up those old posts about the homing setup, I ran across the a post where I mentioned that the original tooling mount scheme was to have a second wedge-style QC  tool post on the back side.  At the time I didn't have the funds and got totally sidetracked by the Z opto probe mount.  

Eureka!  This morning I woke up thinking about all this & just had to dope-slap myself.  I can still put that 2nd QCTP on at the rear & mount the Z probe on a QC holder easily.  That'll open up a vast array of new tooling options including using that 3- tool gangholder that lies unused in the toolbox.  I'm excited!:)