G28.1 in macro forever stuck
Posted: Tue May 04, 2021 3:45 pm
Hi there,
I'm doing a repeatability test for my Y axis.
I'm using the "CheckHome" M20910 macro from here
The nc-code i'm running is the following:
The problem is that UCCNC code execution completely blocks during the M20910 execution.
I added some Logging lines to trace the point of failure.
After a few cycles, it seems UCCNC get's stuk while executing the "G28.1 Y5" code.
[edit]
The "Y-axis Homed" led goes off, so it seems the "G28.1 Y5" code starts, but sometimes get's stuck.
Anyone has an idea why this happens?
After pressing the FEED HOLD and CYCLE STOP button, sometimes the X-axis moves to the hard-limit, thus passing the endswitch. This should NEVER happen!
I'm doing a repeatability test for my Y axis.
I'm using the "CheckHome" M20910 macro from here
The nc-code i'm running is the following:
- Code: Select all
F12000
S12000
M3
G54
G1 Y100 X0 Z-1
G1 Y200 X100 Z-10
G1 Y100 X0 Z-1
G1 Y200 X100 Z-10
G1 Y100 X0 Z-1
G1 Y200 X100 Z-10
G1 Y100 X0 Z-1
G1 Y200 X100 Z-10
G1 Y100 X0 Z-1
G1 Y200 X100 Z-10
M5
G4 P250
G1 Y5
M20910
M47
The problem is that UCCNC code execution completely blocks during the M20910 execution.
I added some Logging lines to trace the point of failure.
After a few cycles, it seems UCCNC get's stuk while executing the "G28.1 Y5" code.
[edit]
The "Y-axis Homed" led goes off, so it seems the "G28.1 Y5" code starts, but sometimes get's stuck.
Anyone has an idea why this happens?
After pressing the FEED HOLD and CYCLE STOP button, sometimes the X-axis moves to the hard-limit, thus passing the endswitch. This should NEVER happen!