Y Axis Wrong direction
-
When you do individual motor moves using G1 S2 commands, which ways does the head move?
-
@dc42 , I've just updated to the lastest firware ( Firmware Version: 2.02(RTOS) (2018-12-24b1)) and it solved itself! The only problem now is that when it home, it does not behaves like the X axis.
Here are the two files.
homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v2 on Sun Dec 23 2018 22:24:00 GMT+0000 (Hora padrão da Europa Ocidental)
G91 ; relative positioning
G1 Z10 F6000 S2 ; lift Z relative to current position
G1 S1 X-305 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 X5 F6000 ; go back a few mm
G1 S1 X-305 F360 ; move slowly to X axis endstop once more (second pass)
G1 Z-10 F6000 S2 ; lower Z again
G90 ; absolute positioning; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v2 on Sun Dec 23 2018 22:24:00 GMT+0000 (Hora padrão da Europa Ocidental)
G91 ; relative positioning
G1 Z10 F6000 S2 ; lift Z relative to current position
G1 S1 Y305 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y-10 F6000 ; go back a few mm
G1 S1 Y305 F360 ; move slowly to Y axis endstop once more (second pass)
G1 Z-10 F6000 S2 ; lower Z again
G90 ; absolute positioningThanks fot the assistance!!!
-
@rodolfo_paulo said in Y Axis Wrong direction:
The only problem now is that when it home, it does not behaves like the X axis.
Can you explain more precisely what you mean?
-
@rodolfo_paulo said in Y Axis Wrong direction:
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v2 on Sun Dec 23 2018 22:24:00 GMT+0000 (Hora padrão da Europa Ocidental)
G91 ; relative positioning
G1 Z10 F6000 S2 ; lift Z relative to current position
G1 S1 Y305 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y-10 F6000 ; go back a few mm
G1 S1 Y305 F360 ; move slowly to Y axis endstop once more (second pass)
G1 Z-10 F6000 S2 ; lower Z again
G90 ; absolute positioningyou have negative values in homeY and positive values in home X, so you'll need to reverse the Y axis moves to home in the right direction now that your motor is going the right way.
-
This post is deleted! -
-
@rodolfo_paulo said in Y Axis Wrong direction:
@dc42 said in Y Axis Wrong direction:
G1 S2
Front Right. The system moves diagonal
I need to know what movement each of the following commands causes:
G91 G1 S2 X10 F1000
G91 G1 S2 Y10 F1000 -
@dc42 said in Y Axis Wrong direction:
G91 G1 S2 Y10 F1000
Sorry about the delay.
Being the carriage in the middle:
With the G91 G1 S2 X10 F1000 command, it goes diagonal, to the right and front.With the G91 G1 S2 Y10 F1000 command, it goes diagonal, to the right and back.
My intention is to home this printer, being 0,0 at left down corner.
-
@rodolfo_paulo said in Y Axis Wrong direction:
@dc42 said in Y Axis Wrong direction:
G91 G1 S2 Y10 F1000
Sorry about the delay.
Being the carriage in the middle:
With the G91 G1 S2 X10 F1000 command, it goes diagonal, to the right and front.With the G91 G1 S2 Y10 F1000 command, it goes diagonal, to the right and back.
My intention is to home this printer, being 0,0 at left down corner.
So the X motor is moving the print head in the +X and -Y direction; and the Y motor is moving it in the +X and +Y direction. If you read https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Main_configuration_file you will see that the X motor is doing what the Y motor should be doing and vice versa. So you need to swap the X and Y motor connections.
-
@dc42 , just done that! And now everything seems to be working fine! Once again, thank you a lot for all the help!!!