[SOLVED] X/Y endstops not stopping motors, carriage grinds motor
-
@Phaedrux said in X/Y endstops not stopping motors, carriage grinds motor:
It kind of sounds like your coordinate system is a bit out of whack.
Have a look through this post and verify that you have a right hand coordinate system with 0,0 in the front left corner. +X going to the right and +Y going to the back and htat your endstop locations are reflected correctly in M574 and your homing moves are also correct direction.
https://forum.duet3d.com/topic/12676/mirrored-x-axis/9?_=1584807834877
The coordinate system is fine. It was working fine on the previous maestro board.
Question, when an endstop is triggered, what part of the HW/SW/FW is actually telling the steppers to stop sending current to the motors?
I can hold the endstop closed, and still move the motors around. The system is simply disregarding the endstop all together.
-
Please post you Homex.g and homey.g, lets check them!
Also, if you are going to paste text from your config, use the </> button above, where you can set bold and italics. (I only learnt this one the other day!!)
P.
-
@PaulHew said in X/Y endstops not stopping motors, carriage grinds motor:
Please post you Homex.g and homey.g, lets check them!
Also, if you are going to paste text from your config, use the </> button above, where you can set bold and italics. (I only learnt this one the other day!!)
P.
homex.g
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Tue Feb 18 2020 18:08:46 GMT-0500 (Eastern Standard Time)
G91 ; relative positioning
G1 H2 Z5 F24000 ; lift Z relative to current position
G1 H1 X-240 F8000 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X20 F12000 ; go back a few mm
G1 H1 X-240 F1000 ; move slowly to X axis endstop once more (second pass)
G90 ; absolute positioning
homey.g
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Feb 14 2020 22:01:04 GMT-0500 (Eastern Standard Time)
G91 ; relative positioning
G1 H2 Z5 F12000 ; lift Z relative to current position
G1 H1 Y-240 F8000 ; move quickly to Y axis endstop and stop there (first pass)
G1 H2 Y20 F12000 ; go back a few mm
G1 H1 Y-240 F1000 ; move slowly to Y axis endstop once more (second pass)
G90 ; absolute positioning -
It all seems good, and was working before.
-
@RyanP said in X/Y endstops not stopping motors, carriage grinds motor:
M564 H0 ;allow movement without homing
Try removing this line.
P.
-
If I remove that, and it wasn't there before this problem, the printer will simply not move.
-
@RyanP said in X/Y endstops not stopping motors, carriage grinds motor:
If I remove that, and it wasn't there before this problem, the printer will simply not move.
So I uncommented that line.
Hitting Home All or any individual axis home button gives this error:
G28
Error: G0/G1: insufficient axes homedAsking the printer to move in any direction using the buttons next to the home buttons result in this error:
M120
G91
G1 Z25 F6000
M121
Error: G0/G1: insufficient axes homed
Error: Pop(): stack underflow! -
Usually stack over flow or under flow mean there is a compiling error, to my knowledge.
-
@RyanP Please check how you have connected the X and Y endstops. It sounds like they are reversed, or one is connected to Z endstop.
Ian
-
Can you send M115 and verify what firmware version you're using?
Endstops are only active during homing moves (G1 H1).
Moves with G1 H2 should allow movement without using M564 H0, so this leads me to believe you are using an older firmware version that doesn't understand G1 H1/G1 H2. It used to be G1 S1/G1 S2.
-
@Phaedrux said in X/Y endstops not stopping motors, carriage grinds motor:
Can you send M115 and verify what firmware version you're using?
Endstops are only active during homing moves (G1 H1).
Moves with G1 H2 should allow movement without using M564 H0, so this leads me to believe you are using an older firmware version that doesn't understand G1 H1/G1 H2. It used to be G1 S1/G1 S2.
M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 Maestro FIRMWARE_VERSION: 2.01beta1(RTOS) ELECTRONICS: Duet Maestro 1.0 FIRMWARE_DATE: 2018-06-23b1 -
@RyanP said in X/Y endstops not stopping motors, carriage grinds motor:
2.01beta1
Please update to 2.05 and you'll find your problem is resolved.
Your homing files are using H1/H2 which is not supported syntax in your very old version.
-
@Phaedrux Well spotted! We should get the forum software to enforce people put the M115 response in the first post of a thread...
Ian
-
@Phaedrux said in X/Y endstops not stopping motors, carriage grinds motor:
@RyanP said in X/Y endstops not stopping motors, carriage grinds motor:
2.01beta1
Please update to 2.05 and you'll find your problem is resolved.
Your homing files are using H1/H2 which is not supported syntax in your very old version.
Perfect. Thank you very much. I thought simply swapping boards would be ok. Lesson Learned.
-
@RyanP said in X/Y endstops not stopping motors, carriage grinds motor:
@Phaedrux said in X/Y endstops not stopping motors, carriage grinds motor:
@RyanP said in X/Y endstops not stopping motors, carriage grinds motor:
2.01beta1
Please update to 2.05 and you'll find your problem is resolved.
Your homing files are using H1/H2 which is not supported syntax in your very old version.
Perfect. Thank you very much. I thought simply swapping boards would be ok. Lesson Learned.
I spoke too quickly. I grabbed another SD card and did the complete RepRap config tool again. Created a brand new SD card for this new board. Plopped it in. Again, same problem.
So I have done an SD card from scratch. And my M115 looks like this:
M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 Maestro FIRMWARE_VERSION: 2.01beta1(RTOS) ELECTRONICS: Duet Maestro 1.0 FIRMWARE_DATE: 2018-06-23b1Im pretty sure that is the same as before.
-
Ryan,
You are still running 2.01beta, you need to update as @Phaedrux suggested
Get the files from here and upload to your Duet.
https://github.com/dc42/RepRapFirmware/releases/tag/2.05Regards,
Paul. -
You'll need to download the 2.05 zip file from PaulHews link and upload it tot eh system folder using the DWC. It should prompt you to update the firmware.
The firmware is flashed to the board itself, not the SD card.
https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware
-
@Phaedrux said in X/Y endstops not stopping motors, carriage grinds motor:
You'll need to download the 2.05 zip file from PaulHews link and upload it tot eh system folder using the DWC. It should prompt you to update the firmware.
The firmware is flashed to the board itself, not the SD card.
https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware
Thanks for confirming that. Will do that now.
-
@RyanP said in X/Y endstops not stopping motors, carriage grinds motor:
@Phaedrux said in X/Y endstops not stopping motors, carriage grinds motor:
You'll need to download the 2.05 zip file from PaulHews link and upload it tot eh system folder using the DWC. It should prompt you to update the firmware.
The firmware is flashed to the board itself, not the SD card.
https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware
Thanks for confirming that. Will do that now.
Fixed. Thought I did that yesterday and was perplexed by the same firmware being reported. I greatly appreciate you help. Back to printing.
-
I just upgraded to 2.05.1 after having the same issue. Though, before i flashed to 2.05.1 the motors were completely silent, now they make a noise.