Motors not working as they should
-
All is not well yet. I have the motor directions correctly set up now, but moving has several issues. When I try to move the X axis, the Y axis moves and vice versa. When I try to home the X axis, the Z starts to move. When I try to home the Y axis , the X axis homes.
-
@mbunjes said in Motors not working as they should:
When I try to move the X axis, the Y axis moves and vice versa.
did you read the link phaedrux posted? what you need to do is described on that page.
-
I did exactly that and it helped, my axes move correctly now. + moves to +, the origin is at left front and the endstops at the right- back. But they don't respond correctly to the inputs from the DWC.
I did the
G91
G1 H2 X10 F3000
and it moves correctly, to the right and the back diagonally. -
@mbunjes said in Motors not working as they should:
G1 H2
that is a special command that just moves one motor
-
Yes, I wanted to test the X and Y separately.
-
Ok, progress. Homing now moves the correct axis but only the X endstop triggers. At the Y endstop it wants to keep moving.
-
have you read the documentation about endstops?
https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Testing_endstop_switches_using_M119 -
@mbunjes said in Motors not working as they should:
Yes, I wanted to test the X and Y separately.
thats not what that command does. it just moves one motor
-
Yes.
M574 :
Endstop configuration:
X: high end switch connected to pin xstop
Y: high end switch connected to pin ystop
Z: high end Z probeI can stop the Y homing movement by triggering the endstop by hand.
Yes, I wanted to move just one motor
-
@mbunjes said in Motors not working as they should:
Yes, I wanted to move just one motor
one motor move on corexy is a 45 degrees move
-
I know, that's what I wanted.
-
post your homing scripts
-
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Oct 17 2020 16:33:25 GMT+0200 (Central European Summer Time)
G91 ; relative positioning
G1 H2 Z5 F12000 ; lift Z relative to current position
G1 H1 X365 Y385 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X365 ; home X axis
G1 H1 Y385 ; home Y axis
G1 X-5 Y-5 F12000 ; go back a few mm
G1 H1 X365 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y385 ; then move slowly to Y axis endstop
G90 ; absolute positioning
G1 X-19 Y15 F12000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F200 ; lift Z relative to current position
;G90 ; absolute positioning; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Oct 17 2020 16:33:25 GMT+0200 (Central European Summer Time)
G91 ; relative positioning
G1 H2 Z5 F12000 ; lift Z relative to current position
G1 H1 X365 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 X-5 F12000 ; go back a few mm
G1 H1 X365 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F12000 ; lower Z again
G90 ; absolute positioning; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Oct 17 2020 16:33:25 GMT+0200 (Central European Summer Time)
G91 ; relative positioning
G1 H2 Z5 F12000 ; lift Z relative to current position
G1 H1 Y385 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y-5 F12000 ; go back a few mm
G1 H1 Y385 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F12000 ; lower Z again
G90 ; absolute positioning; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Oct 17 2020 16:33:25 GMT+0200 (Central European Summer Time)
G91 ; relative positioning
G1 H2 Z5 F12000 ; lift Z relative to current position
G90 ; absolute positioning
G1 X-19 Y15 F12000 ; go to first probe point
G30 ; home Z by probing the bed; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F200 ; lift Z relative to current position
;G90 ; absolute positioning -
so what you are saying is that when during homing you press the y endstop, the homing stop, but when the carriage hits the y endstop it doesnt?
-
Exactly.
-
and you made sure that you did not switch the wiring of the endstops by checking with M119
-
I think I found something. I noticed the LEDS on the optical endstops only dim but do not entirely extinguish when the axis hits the endstop. When I use a black piece of plastic to interrupt the switch the light extinguishes. When homed (by hand) M119 only reports the X endstop as triggered, not the Y axis. Could it be the PETG triggers on the printer are not thick enough to trigger the Y endstop and just enough to trigger the X ?
-
@mbunjes
are the petg triggers black and not transparent? -
They are yellow but not transparent.
I'm printing them in black as we speak. -
@mbunjes said in Motors not working as they should:
I'm printing them in black as we speak.
yes for optical endstops they need to be black.
also check that the endstop flag actually intersects the light beam. it could be that the beam is not 100% blocked. that would also just cause a slight dimming.