Does your A axis have end stops? What happened? Did it start moving, where did it stop ... What is in the console? If you have safe homing enabled (default) you need to reverse enough to untrigger end stop or homing will be failed.
You probably have not defined a retest distance so end stop does not untrigger or distance was too low. With safe homing enabled (default) this causes exactly that error.
When it already fails after first move than the A axis length is set too low. As a test run from close end stop (like probably your second try) and once move to far most distance. Check A axis min/max value.
BTW: Why do you have A axis? Is it a dual X axis setup?
минимальное значение оси A - 0, максимальное значение - 500 actual maximum position of A-axis 400mm, первая парковка происходит без повторного тестирования
So what are all your A axis settings and what does console look like when you do a failed home compared to working A home? Need more information to see what is wrong.
Message says first move triggered end stop then it went back #define ENDSTOP_A_BACK_MOVE 4 expected end stop to untrigger, but that did not happen. Send M111 S70 before homing and it should show end stop changes in console as well. Normally 4mm is enough to untigger - maybe you need pull up resistor because end stop is otherwise undefined in behaviour and does not untrigger immediately?
You see end stop untriggers 30ms after the message appears. So as a first try increasing #define ENDSTOP_A_BACK_MOVE 4 to 20 and timing should match. I think this is definable in eeprom and will not delete eeprom values on simple upload. So maybe eeprom is already not containing what you think. Anyhow from the log I assume end stop is just a bit slow.
On the other side I see it changing L/H constantly after homing and question arises why it changes signal so quickly. Maybe 4mm is just not enough and you are on the edge of on/off at that position. Depends on switch type.
Comments
If you have safe homing enabled (default) you need to reverse enough to untrigger end stop or homing will be failed.
BTW: Why do you have A axis? Is it a dual X axis setup?
#define ENDSTOP_A_BACK_MOVE 4
expected end stop to untrigger, but that did not happen.
Send M111 S70 before homing and it should show end stop changes in console as well.
Normally 4mm is enough to untigger - maybe you need pull up resistor because end stop is otherwise undefined in behaviour and does not untrigger immediately?
to 20 and timing should match. I think this is definable in eeprom and will not delete eeprom values on simple upload. So maybe eeprom is already not containing what you think. Anyhow from the log I assume end stop is just a bit slow.
On the other side I see it changing L/H constantly after homing and question arises why it changes signal so quickly. Maybe 4mm is just not enough and you are on the edge of on/off at that position. Depends on switch type.