M453 Issue after homing
With the M453 command in the config.g file, with no parameters. After homing the machine, the X-Axis cannot be jogged as it gives an out of limit error. Even though the command would be well within the limit of the machine.
However if you then to proceed to jog the Y-Axis once. Then proceed to apply the same X-Axis jog command which gave the error previously it now works.
Removing M453 from config.g, and the issue goes away.
Firmware version 2.02 RTOS.
I think this is related to a similar issue that was reported for laser cutter mode. I fixed that in the 2.03 beta firmware. So please try 2.03beta2.
@dc42 Sorry just got round to testing 2.03Beta2, and the bug is still present.
It also affects the Z-Axis. And stops homing of individual axis for the X and Z. For example:
G91 ; relative positioning
G1 S1 Z94 F1500 ; move quickly to Z axis endstop and stop there (first pass)
G1 Z-3 F2400 ; go back a few mm
G1 S1 Z94 F300 ; move slowly to X axis endstop once more (second pass)
G90 ; absolute positioning
Gives an outside machine limits error. Same for the X-Axis. But on the Y-Axis it works, even though it is the same code, except Z replaced with Y.
I'm sorry for the delay in responding, it's been very hectic here with multiple deadlines to meet. I will look into this on Saturday.
@Ryan-Lock, please post your config.g file so that I can try to reproduce this.
Please see attached. I have also attached our homeall file.
Thanks. I've reproduced the problem, although with 2.03beta I don't get the out-of-limit message, it just refuses to jog X and Z (in the negative direction) until I jog Y. I'll fix this tomorrow. My guess is that the fix I put in beta 2 wasn't quite right.
Ryan Lock last edited by Ryan Lock
Not a problem. Yes i did notice it didn't display the error but refused to move. But if i remember correctly switching back to the original web control it showed the error. So i presumed that was a bug in the new gui.
A fix would be great.
I have located the problem. Your Y steps/mm is an unusual value, and as a result the Y axis limit of 520mm does not round-trip to motor positions and back again exactly. This results in the user Y position after homing being very slightly greater than 520, although you can't see that because the value is rounded to 1 decimal place for display.
To fix this, I propose to allow commanded positions to exceed the axis limits by 0.05mm. Do you consider this acceptable?
Meanwhile, a workaround is to add either G1 Y520 or G92 Y520 in your homeall.g and homey.g files after the Y axis has been homed.
PS - is your Y steps/mm exactly 53 and 1/3 mm? If so then there is a simpler workaround: change the Y steps/mm from 53.33 to 53.33333 . With this value, the rounding error does not occur.