I can only bet:

- Code is wrong.
- If the axis stalls at that certain point only, check if the linears or bearings or whatever supports that machine if it has any problems there.
- Also check the leadscrew or belt or whatever drives that machine.