axis problem



  • I have a problem with my CoreXY 3D printer – it moves in both X and Y direction even I only ask for movement in one of the directions.

    When I ask for a movement of X or Y it does so in both the X and Y direction – this means that it only will move diagonally.

    I am able to make it move in one axis direction using G1 H2 X / Y specified mm; but it still moves diagonally when I press “Home” on X and Y so that does not solve the problem.

    I hope one of you are able to help me with a solution – so it only moves in the direction I specify.


  • Moderator

    @Bak post response to M115 for firmware version, and your config.g, please.

    Ian



  • M115
    FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.1.1 ELECTRONICS: Duet WiFi 1.0 or 1.01 FIRMWARE_DATE: 2020-05-19b2

    From config.g
    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X100.00 Y100.00 Z800.00 E742.12 ; set steps per mm
    M566 X600.00 Y600.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X48000.00 Y48000.00 Z300.00 E1500.00 ; set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z100.00 E10000.00 ; set accelerations (mm/s^2)
    M906 X500 Y500 Z700 E500 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X200 Y200 Z280 S0 ; set axis maxima

    And thanks for help


  • Moderator

    @Bak need to see FULL config. If that is your full config, you haven’t told the firmware that it’s a CoreXY with M669 K1.

    If that is in, see https://duet3d.dozuki.com/Wiki/Test_axes_or_motors_individually and https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter

    Ian



  • Here is it all.

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Aug 19 2020 14:50:02 GMT+0200 (Centraleuropæisk sommertid)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Min printer" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Network
    M551 P"" ; set password
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X100.00 Y100.00 Z800.00 E742.12 ; set steps per mm
    M566 X600.00 Y600.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X48000.00 Y48000.00 Z300.00 E1500.00 ; set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z100.00 E10000.00 ; set accelerations (mm/s^2)
    M906 X500 Y500 Z700 E500 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X200 Y200 Z280 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin !xstop
    M574 Y1 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin !ystop
    M574 Z2 S1 P"!zstop" ; configure active-high endstop for high end on Z via pin !zstop

    ; Z-Probe
    M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
    M557 X5:195 Y5:195 S20 ; define mesh grid

    ; Heaters
    M308 S0 P"spi.cs1" Y"rtd-max31865" ; configure sensor 0 as thermocouple via CS pin spi.cs1
    M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M308 S1 P"spi.cs2" Y"rtd-max31865" ; configure sensor 1 as thermocouple via CS pin spi.cs2
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

    ; Fans
    M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S1 H1:0 T100 ; set fan 0 value. Thermostatic control is turned on
    M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off
    M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
    M106 P2 S1 H1 T45 ; set fan 2 value. Thermostatic control is turned on

    ; Tools
    M563 P0 S"A extruder" D0 H1 F0 ; 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

    ; Custom settings are not defined

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



  • and thats the config.g from your printer? not one that you have saved locally?

    please post the output of M669



  • No it's from config.g on my printer


  • Moderator

    Post your homeall



  • @Bak said in axis problem:

    move in one axis direction using G1 H2 X / Y specified mm;

    Are you sure you have a CoreXY and not a Cartesian printer? Can you make a picture of XY steppers and belt construction please?



  • ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Aug 19 2020 14:50:02 GMT+0200 (Centraleuropæisk sommertid)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X-205 Y-205 F1800 ; move quickly to X or Y endstop and stop there (first pass)
    G1 H1 X-205 ; home X axis
    G1 H1 Y-205 ; home Y axis
    G1 X5 Y5 F6000 ; go back a few mm
    G1 H1 X-205 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H1 Y-205 ; then move slowly to Y axis endstop
    G1 H1 Z285 F360 ; move Z up stopping at the endstop
    G90 ; absolute positioning
    G92 Z280 ; set Z position to axis maximum (you may want to adjust this)

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning!



  • IMG_20200823_115656.jpg IMG_20200823_115715.jpg



  • That's not a corexy machine, that's a Cartesian with an ultimaker style gantry.



  • Thanks. I'm reasonably new to this and thought I knew the difference between CoreXY and a Cartesian printer.
    Thank you very much for your help I have fixed it now so it runs as it should 🙂


Log in to reply