Homing with proximity and encoder pulse
Hi,
To increase accuracy i´m thinking of using both proximity sensors and the encoder pulse.
I have UC300ETH card and controls it through UCCNC. The encoder of my servo is able to send a pulse at origin point every rotation.
My idea is to home firstly to the proximity sensor at a determined speed and when hit the axis backsoff at a slow speed until the encoder pulse is hit.
That would make a really accurate system. Whats your thoughts?
Does anyone know how i can edit the home sequence in uccnc?
Re: Homing with proximity and encoder pulse
I don't think the homing is accessible in UCCNC, so it may not be possible.
There used to be a commercially available board to accept both signals and send the appropriate signal to the software, to allow this in Mach3 back in the day.
Re: Homing with proximity and encoder pulse
There is a MACRO solution to that function in UCCNC. You might want to ask about it over at the UCCNC Forum.
(;-) TP
Re: Homing with proximity and encoder pulse
You can also do a messy wiring where you pass the encoder signal through a switch, then feed it into the breakout board.
Arturo Duncan
https://cnc4pc.com
Re: Homing with proximity and encoder pulse
Quote:
Originally Posted by
Jonatanw
Hi,
To increase accuracy i´m thinking of using both proximity sensors and the encoder pulse.
I have UC300ETH card and controls it through UCCNC. The encoder of my servo is able to send a pulse at origin point every rotation.
My idea is to home firstly to the proximity sensor at a determined speed and when hit the axis backsoff at a slow speed until the encoder pulse is hit.
That would make a really accurate system. Whats your thoughts?
Does anyone know how i can edit the home sequence in uccnc?
Even if you could you would not use both The Encoder index Pulse is the most accurate, if your control does not support Encoder feed back, then that is not going to happen, so you would use just the Proximity switch for Homing, and that is normally ok for most users, your work X0 Y0 Z tool zero work offsets are what controls your cut part accuracy
Re: Homing with proximity and encoder pulse
Hiya MACTEC. You use teh proximity switch position to get you into position to do teh encoder index homing. I did it in Mach3 and UCCNC with a simple macro solution.
Just a thought, (;-) TP
Re: Homing with proximity and encoder pulse
Quote:
Originally Posted by
mactec54
Even if you could you would not use both The Encoder index Pulse is the most accurate, if your control does not support Encoder feed back, then that is not going to happen, so you would use just the Proximity switch for Homing, and that is normally ok for most users, your work X0 Y0 Z tool zero work offsets are what controls your cut part accuracy
Mach3 and UCCNC does not support encoder feedback to the control, but you can still do homing to an index, but you need to code the logic yourself.
You can for example home to the home switch and then change the home pin to the index input using code and home again to that. You can do all this in mach3 and uccnc too with scripts.
Re: Homing with proximity and encoder pulse
Actually both Mach3 and UCCNC support a FORM of encoder feedback. You can use encoders to track position of an axis and it is displayed in both controllers. IF you start out homing teh axis accurately then zero teh encoder counts you can always return back to Machine Zero based on the encoder counts and rezero teh Machine Home position if needed.
Just a thought, (;-) TP
Re: Homing with proximity and encoder pulse
Quote:
Originally Posted by
vmax549
There is a MACRO solution to that function in UCCNC. You might want to ask about it over at the UCCNC Forum.
(;-) TP
I can´t seem to find that macro on the Uccnc forum. There is a thread about smart home but it seems to not cover the "back off to index pulse" part.
Re: Homing with proximity and encoder pulse
Quote:
Originally Posted by
vmax549
Hiya MACTEC. You use teh proximity switch position to get you into position to do teh encoder index homing. I did it in Mach3 and UCCNC with a simple macro solution.
Just a thought, (;-) TP
Any chance i can have a look at the macro you used and see if that can be applied to my machine to?
I have not created any macro yet so i don´t really know where to start.
Re: Homing with proximity and encoder pulse
Quote:
Originally Posted by
Jonatanw
I can´t seem to find that macro on the Uccnc forum. There is a thread about smart home but it seems to not cover the "back off to index pulse" part.
Unfortunately, someone deleted all of their posts there, which made a lot of the macro threads there useless.
Re: Homing with proximity and encoder pulse
Quote:
Originally Posted by
vmax549
Hiya MACTEC. You use teh proximity switch position to get you into position to do teh encoder index homing. I did it in Mach3 and UCCNC with a simple macro solution.
Just a thought, (;-) TP
Yes that's the normal way it is done the axes hits the Homing Switch Proximity or what ever, and then backs up to find the Encoder Z Pulse ( Encoder index Pulse )
But if the Control can't read or have Encoder feed back connection, there is no point even with a Macro