Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Fredrich on January 21, 2025, 04:22:17 PM

Title: Encoder de 1024 pulsos configurado como MPG
Post by: Fredrich on January 21, 2025, 04:22:17 PM
Hola a todos, como estan nuevamente?
Espero que bien.
Vengo a presentarles una incognita, ya que para mi lo es. ???
Aqui en el taller estamos con un proyecto, montamos un cabezal amortajador a una fresadora CECIA N°3.
En fin, al cabezal le montamos un encoder rotacional de 1024 pulsos, lo que genera una lectura de posicionamiento del eje amortajador así replicandolo como rueda MPG en el eje A. (Mi forma de explicar quiza no sea la mejor).
Esto genera que la herramienta del cabezal amortajador me permita fabricar mecanizado helicoidal interno.

A esto vine acá... a consultar con mis colegas del CNC...
De la manera que esto se encuentra funcionando, la lectura del encoder es perfectamente correcta,
Pero tengo una suma de decimas que terminan siendo significativas al pasar algunos minutos con la maquina funcionando.
Se supone que el encoder MPG siempre termina su recorrido en +0, pero el eje A comienza a tener desfazaje visible en el DRO respectivo.

Hay alguna configuracion que yo pueda hacer? Algun calculo? Formula, Cerebro, para que el Encoder MPG me replique exactamente el mismo movimiento resultado en el Eje A?

Adjunto fotos proximamente.
Desde ya muchas gracias a todos ustedes :) ;)
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: Fredrich on January 21, 2025, 04:42:26 PM
Adjunto video de la fresadora con el cabezal amortajador adaptado.
https://www.youtube.com/shorts/r_vquDYA-aE?feature=share

Pd: En este canal tenemos algunas cosas de las que hacemos..
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: Tweakie.CNC on January 22, 2025, 01:16:29 AM
I have sent you a PM.

Tweakie.
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: Fredrich on January 27, 2025, 07:02:53 AM
Up!!  ::) ::)
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: Fredrich on February 04, 2025, 10:27:33 AM
Alguien que quiera darme una mano?   ;D
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: TPS on February 04, 2025, 12:35:08 PM
tryed to translate your problem from spanish to german, but was not realy able to catch the real problem. maybe you can explain in english.
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: JohnHaine on February 05, 2025, 07:41:54 AM
It may be significant that the vertical mpg is expecting 1000 pulses per rev but is actually getting 1024...
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: Fredrich on February 17, 2025, 07:47:02 AM
tryed to translate your problem from spanish to german, but was not realy able to catch the real problem. maybe you can explain in english.

In spanish

El MPG (encoder) que está vinculado al eje A comienza a generar una variación que es visible en el DRO respectivo. Cuando el MPG/Encoder vuelve a 0, el DRO suma variación. (No se queda en 0 como sería lo adecuado). Excluyo que este problema se deba a una variación mecánica. Cuando accedo a la pestaña de "Diagnósticos", la señal proveniente del MPG/Encoder siempre permanece en 0. Pero no en el DRO del eje A. Muestra una diferencia de décimas que se acumula. Creo que tal vez este sea un problema de MACH3 en relación al MPG y el eje A...

In English

The MPG (encoder) that is linked to the A axis begins to generate a variation that is visible in the respective DRO.
When the MPG/Encoder returns to 0, the DRO adds variation. (It does not remain at 0 as appropriate).
I rule out that this problem is due to a mechanical variation.
When I enter the "Diagnostics" tab, the signal coming from the MPG/Encoder always remains at 0.
But not in DRO of the A axis. It shows a difference of tenths that adds up.
I think maybe this is a MACH3 problem relating the MPG to the A AXIS...

Sorry, I'm trying to explain the problem in the best way possible.
Kind regards my friend
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: Fredrich on February 17, 2025, 07:52:46 AM
It may be significant that the vertical mpg is expecting 1000 pulses per rev but is actually getting 1024...

The problem is that it does not return to the return point at 0.
I rule out that the encoder is incorrectly configured in MACH3.
The A-axis DRO does not respect the MPG reading.
In other words, these are configured to work linked.

Kind regards
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: Fredrich on February 19, 2025, 07:45:34 AM
I have sent you a PM.

Tweakie.

Tweakie,

Maybe you can shed some light for me.
Kind regards,
Fred.
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: Fredrich on February 19, 2025, 08:47:54 AM
I took the time to make a video for you, explaining the problem so that you can better understand what is happening on my machine.
Thank you very much in advance, I leave you the YouTube link.

https://www.youtube.com/shorts/odg0tRoL1SA (https://www.youtube.com/shorts/odg0tRoL1SA)
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: JohnHaine on February 20, 2025, 04:00:41 AM
I'm sorry but I'm not inclined to look at a video.  I have said before, it may be that the Z DRO is expecting 1000 pulses per MPG rev so each pulse would be one increment of say 5/1000 mm or 5 micron (assuming a 5mm pitch screw).  But one turn of your MPG would feed it 1024 pulses to the Z axis so the Z axis would actually move 1024x5=5.12mm.
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: Fredrich on February 20, 2025, 12:16:12 PM
I'm sorry but I'm not inclined to look at a video.  I have said before, it may be that the Z DRO is expecting 1000 pulses per MPG rev so each pulse would be one increment of say 5/1000 mm or 5 micron (assuming a 5mm pitch screw).  But one turn of your MPG would feed it 1024 pulses to the Z axis so the Z axis would actually move 1024x5=5.12mm.

Juan, no problem. If you had watched the video, you would realize that is not the problem. Although it is as you say, when the MPG shows 0, the axis should end at 0. For example, if the encoder makes 10 turns and returns 10 turns, the DRO of the axis should return to the initial point as drawn by the MPG.
Kind regars,
Fred
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: Fredrich on February 24, 2025, 07:31:48 AM
 ::) ::)
Title: Re: Encoder de 1024 pulsos configurado como MPG
Post by: Fredrich on February 28, 2025, 05:11:09 PM
I leave another video so you can see progress

https://youtube.com/shorts/2xmCvPPHBDA?feature=share