H4 - Show limit values with "settings" button and set Z and X backlash with numpad #242
Replies: 13 comments 23 replies
-
Hi @ilmarietto123, super cool, thanks for sharing this! Can you please also attach your entire |
Beta Was this translation helpful? Give feedback.
-
Ok, I started from H4V12. NOTE: tested only on bench! |
Beta Was this translation helpful? Give feedback.
-
The backlash does not change when the value changes. |
Beta Was this translation helpful? Give feedback.
-
Buenos días a todos. @ilmarietto123 , necesito preguntarte si has hecho cambios en la forma de trabajar conos. Antes hacía los conos tal y como indicaba @kachurovskiy en su video del manual. Avanzaba unas décimas e invertía el sentido. Ahora, al invertir el sentido, se separa hacia la derecha de la pieza, y, al volver a invertir, comienza comiendo más de la cuenta... no veo la lógica que utiliza, salvo que no esté usando el backlash definido....¿Alguién puede comprobarlo, por favor? |
Beta Was this translation helpful? Give feedback.
-
@andreev-, @tektonandroid, I tested the last code I posted and it didn't work. |
Beta Was this translation helpful? Give feedback.
-
Добрый день. Я тоже совсем не программист, но вчера установил прошивку с коррекцией люфтов, экспериментально определил что сохранение значений происходит:
|
Beta Was this translation helpful? Give feedback.
-
@ilmarietto123 , por favor...¿podria subir un archivo sin A1 habilitado? al intentar usar gearbox, aparece A1 en pantalla y no funciona el gearbox.... Muchas gracias y disculpa, pero todavia no se casi nada.... |
Beta Was this translation helpful? Give feedback.
-
please tell me which lines need to be removed so that the C axis (A1) is not involved |
Beta Was this translation helpful? Give feedback.
-
ilmarietto123, and can you please send a video of how you determine the parameters of backlash after power is turned off |
Beta Was this translation helpful? Give feedback.
-
один добрый человек сделал как сохранять параметры что бы они не сбрасывались после отключения питания 2025-03-07.21.25.41.mp4 |
Beta Was this translation helpful? Give feedback.
-
Выявилась проблема что фактически с этими изменениями прошивки на станке не работают люфты которые сохраняются |
Beta Was this translation helpful? Give feedback.
-
Это стандартная прошивка с лифтом 5мм и видно как после нажатия происходит задержка на экране на люфт lv_0_20250308221237.mp4 |
Beta Was this translation helpful? Give feedback.
-
А тут видео с Вашим дополнением и тоже люфт стоит 5 мм но нет задержки на экране на этот люфт lv_0_20250308221434.mp4 |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm not a programmer, the code works on the bench but is definitively not so elegant.
So take that as a starting point.
If someone is interested and worth it, it could be nice to clean up and optimize this modifications or part of them (@kachurovskiy, @kotovasia5120).
There are 2 main modifications:
ATTENTION!!! I tested this modification only with my setup:
Note: it is possible to do only the limit page modification, but if you want the backlash modification, better to have both in order to have the possibility to check what value of backlash is stored.
1 - Limit page description
I thought it could be nice to have a check what stops are set before starting a job.
So, as long as the setting button is pressed it shows what is visible in the following image.
When the button is released, the display comes back to the previous screen.
If the limit is set there is a number, if the limit is not set, it shows only a "-".
For example, in the image, Z stop right is set to 0, X upper stop is not set.
"C" is the name of my A1 axis.
"b" stands for backlash.
2 - Backlash modification description
To change the backlash, just type the value with numpad and hold the relative button ("A" for X or "B" for Z) for at least 3 seconds.
When the button is released, it beeps and saves the new value. The memorized value can be checked with the setting button.
The long press to store the backlash is used:
1 - Limit page modifications
After line 2271 add this:
After line 2343 add this:
Replace lines 2461 and 2462 with this:EDITED: Replace lines 2467 and 2468 with this:
Replace line 2511 with this:
2 - Backlash modifications
Line 22 and line 34 can be removed or commented because no more used, but is not mandatory.
After line 194 add this code:
After line 347 add this 2 lines:
After line 354 add this line:
After line 409 add this 2 lines:
After line add this function (EDITED: corrected as in this post )
Modify lines 1662 and 1663 replacing BACKLASH_DU_Z and BACKLASH_DU_X with 0 like this (I commented both out and added 0 to both function:
After line1676 add this:
After line1683 add this:
After line 1782 add this:
After line 1798 add this:
After line 2537 add this:
Comment lines from 2568 to 2572Comment lines from 2568 to 2573
Comment line 2576
EDITED (added) Replace lines 1766 to 1770 with this:
That's all. Hope it can be usefull.
=)
Beta Was this translation helpful? Give feedback.
All reactions