Y Axis Wrong direction



  • Good evening. Thanks to some reading around here, I've managed to home everything correctly, but it seems I'm unable to correct the Y axis movement.
    I've already tried to place P1 S1, but then everything changes. What can I do?

    Below follows my config.g

    Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Sun Dec 23 2018 22:23:59 GMT+0000 (Hora padrão da Europa Ocidental)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    M667 S1 ; Select CoreXY mode

    ; Network
    M550 P"Hypercube" ; Set machine name
    M551 P"123456: ; Set password
    M552 S1 ; Enable network
    ;*** Access point is configured manually via M587
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    M569 P0 S0 ; Drive 0 goes forwards
    M569 P1 S0 ; Drive 1 goes forwards
    M569 P2 S0 ; Drive 2 goes backwards
    M569 P3 S0 ; Drive 3 goes backwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E420.00 ; Set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
    M203 X12000.00 Y12000.00 Z180.00 E1200.00 ; Set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z200.00 E10000.00 ; Set accelerations (mm/s^2)
    M906 X1800.00 Y1800.00 Z1800.00 E1200.00 ; Set motor currents (mA)
    M84 S0 ; Disable motor idle current reduction

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X300 Y300 Z300 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 Z1 S0 ; Set active low and disabled endstops

    ; Z-Probe
    M558 P0 H10 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
    M557 X15:15 Y15:195 S20 ; Define mesh grid

    ; Heaters
    M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
    M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S130 ; Set temperature limit for heater 0 to 130C
    M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S290 ; Set temperature limit for heater 1 to 290C

    ; Fans
    M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

    ; Automatic power saving
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss

    ; Custom settings are not configured

    This is my info:
    Software Information
    Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
    Firmware Electronics: Duet WiFi 1.02 or later
    Firmware Version: 2.01(RTOS) (2018-07-26b2)
    WiFi Server Version: 1.21
    Web Interface Version: 1.22.3

    Thanks!!!



  • Here you go:

    https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter

    Follow the steps exactly and it will work.

    Frederick



  • Thanks, but I've already took my time in reading everything in the provided link, and the solution should be "P1 S1", but then both axis get inverted!


  • administrators

    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 positioning

    Thanks fot the assistance!!!


  • administrators

    @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 positioning

    you 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!


  • @dc42 said in Y Axis Wrong direction:

    G1 S2

    Front Right. The system moves diagonal


  • administrators

    @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.


  • administrators

    @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!!!


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.