Axis not always moving when commanded



  • This is a new build, they were working pretty well, I got my homing issue resolved (thanks again) now I can home but when I click the direction buttons in the Machine Control either nothing happens or it moves once and stops. M119 reports that the endstops are triggering when they are supposed to be, and not when not hit. Extruder is happy as can be, so thats a plus.



  • Oops
    ; Configuration file for Duet Ethernet (firmware version 1.17 to 1.19)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sun Oct 29 2017 21:37:06 GMT-0400 (Eastern Standard Time)

    ; General preferences
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare

    M667 S1 ; Select CoreXY mode
    M208 X5 Y5 Z0 S1 ; Set axis minima
    M208 X325 Y325 Z350 S0 ; Set axis maxima

    ; Endstops
    M574 X2 Y2 Z2 S0; Define active low and unused microswitches
    ;M558 P1 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
    ;G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
    ;M557 X40:285 Y15:310 S20 ; Define mesh grid

    ; Drives
    M569 P0 S1 ; Drive 0 goes forward
    M569 P1 S1 ; Drive 1 goes backward
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S0 ; Drive 3 goes Backward
    M350 X128 Y128 Z16 E32 I0 ; Configure microstepping without interpolation
    M92 X640 Y640 Z400 E418.5 ; Set steps per mm
    M566 X1800 Y1800 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X12000 Y12000 Z2000 E1200 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z500 E250 ; Set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S60 ; Set idle timeout

    ; Heaters
    M143 S275 ; Set maximum heater temperature to 260C
    M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
    M305 P0 T100000 B4066 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M305 P1 T100000 B4066 C0 R4700 ; Set thermistor + ADC parameters for heater 1

    ; 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
    ; Fans
    M106 P0 S0.5 I0 F500 H1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S1 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P2 S1 I0 F255 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; Custom settings are not configured

    ; Miscellaneous
    T0 ; Select first tool
    M501 ; Load saved parameters from non-volatile memory


  • administrators

    Some things to check:

    • does the status at the top right of the web interface show Busy when it doesn't respond to movement commands?

    • when it does move, is it moving the correct amount?

    • are the X and Y accelerations and maximum speed you have set in M201 and M203 achievable? Your X and Y steps/mm are very high (I guess you are using leadscrews) and that will severely limit the speed and acceleration you can achieve. Check the motor drive voltage you need to reach your target speed of 300mm/sec, see https://duet3d.com/wiki/Choosing_stepper_motors#How_to_work_out_the_power_supply_voltage_you_need.



  • It will move the correct amount, I found that it thinks it at MAX when it is at MIN when homed, so I have something backward, looking for it now 😞



  • got it, feeling kinda dumb now, lol looked right past it more than once 😛 had 2 instead of 1 on M574 for X and Y must have done it in the config tool.


Locked
 

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