No Axis Movement



  • Trying to install Duet 2.0x Wifi board on small delta. Extruder and heaters working fine, but zero axis movement otherwise. Have tried different directions, end stop switches working on proper axes and system was totally working before install of Duet. UI indicates n/a on all three axes. I'm lost. Here is my config.g:
    ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Thu Apr 23 2020 23:27:15 GMT-0700 (Pacific Daylight Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Q5Delta" ; set printer name
    M665 R104.3 L215 B99 H200 ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S1 ; enable FTP
    M586 P2 S1 ; enable 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 S0 ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.02 Y79.94 Z80.07 E2650.00 ; set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 E600.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z18000.00 E800.00 ; set maximum speeds (mm/min)
    M201 X2000.00 Y2000.00 Z2000.00 E2000.00 ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E600 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 Z0 S0 ; set minimum Z

    ; Endstops
    M574 X2 Y2 Z2 S0 ; set active high endstops

    ; Z-Probe
    ;M558 P4 H5 F600 T9000 I1 ; set Z probe type to switch and the dive height + speeds
    ;G31 P25 X-2 Y-2 Z20 ; set Z probe trigger value, offset and trigger height
    ;M557 R100 S40 ; define mesh grid

    ; Heaters
    M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
    M143 H1 S240 ; set temperature limit for heater 1 to 240C

    ; 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 T38 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H1:0 T38 ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 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
    ; M591 D0 C3 P2 E6.0 ;This is the command for filament monitoring using an optical on/off switch

    M579 X1.012 Y0.9871

    ; 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



  • @1d1 said in No Axis Movement:

    UI indicates n/a on all three axes. I'm lost

    you have set up the homing? it will not move before its homed, set with G92 or overriden with M564



  • Just tried M564 G92 directly - same message and still no movement. Should I put this in config?



  • @1d1 said in No Axis Movement:

    M92 X80.02 Y79.94 Z80.07 E2650.00 ; set steps per mm

    on a delta x y and z should be the same.
    your e steps look very high. what kind of extruder do you have?

    ; Z-Probe
    ;M558 P4 H5 F600 T9000 I1 ; set Z probe type to switch and the dive height + speeds
    ;G31 P25 X-2 Y-2 Z20 ; set Z probe trigger value, offset and trigger height
    ;M557 R100 S40 ; define mesh grid

    if you have no probe you need to define a P0 probe

    M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
    M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1

    B4138 is incorrect. you need to find out which thermistor you are using and set the value for it.

    M579 X1.012 Y0.9871

    why have you set this?

    for you movement. have you correctly identified the motor phases and connected them accordingly?



  • I'm using someone else's config, however, modified. E steps are for Zesty Nimble V1 and correct (30:1 gearing). Individual towers are calculated by the imported config - I'll change them to 80. I have a probe, but was trying to eliminate extra stuff until movement happens. B4138 matches room temp and has been working fine on another printer.
    I have no idea why M579 is there.



  • Oh yes, motors wired properly.



  • @1d1 said in No Axis Movement:

    B4138 matches room temp

    that is because most thermistors used in 3d printer are 100k at room temperature. it does change at higher temperature and could easily result in temperatures being off by 40C

    Just tried M564 G92 directly -

    those are 2 different commands



  • Yes. I tried individually and separately. Not worried about thermistors right now. Thanks for your help. I appreciate your time and thoughts.



  • what parameter did you use for M564 ?



  • Perhaps my board is boinked?



  • For M 564 I just tried "home all"



  • @1d1 said in No Axis Movement:

    For M 564 I just tried "home all"

    i dont undestand what you mean

    M564 requires a parameter. on its own it does nothing.

    bearer posted a link to the documentation. if you had read that you would have seen that you need to issue

    M564 S0 H0

    edit: It states
    On some types of printer (e.g. Delta and SCARA), movement before homing may be prohibited regardless of the H parameter.



  • can you post your homedelta.g ?



  • I entered M564 in the UI Gcode console, then tried to home. After sending the M564 it told me that movement outside the bed not possible, but homing was.
    As for documentation link, I didn't and still don't see one. I'll add the M564 S0 H0 to the config.
    Home delta g: ; homedelta.g
    ; called to home all towers on a delta printer
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Thu Apr 23 2020 23:27:15 GMT-0700 (Pacific Daylight Time)
    G91 ; relative positioning
    G1 H1 X251 Y251 Z251 F3600 ; move all towers to the high end stopping at the endstops (first pass)
    G1 H2 X-5 Y-5 Z-5 F3600 ; go down a few mm
    G1 H1 X10 Y10 Z10 F360 ; move all towers up once more (second pass)
    G1 Z-5 F9000 ; move down a few mm so that the nozzle can be centred
    G90 ; absolute positioning
    G1 X0 Y0 F9000 ; move X+Y to the centre



  • @1d1

    look at bearer's post. the commands G92 and M564 are links.

    is there a response when you send G28?



  • No action with the M564 S0 H0 in either config.g or homedelta g



  • @1d1

    no as i posted thats not allowed on a delta



  • I'll try it. Didn't realize those were links....



  • Movement! Not the correct movement, but all three axes moved From G92 X0 Y0 Z0 with the extruder at the bed, and centered.


  • Moderator

    @1d1 said in No Axis Movement:

    M574 X2 Y2 Z2 S0 ; set active high endstops

    Have you got active low (normally open, or NO), or active high endstops (normally closed, NC)? See https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Microswitch
    If you send M117, and the endstop reports triggered already, it may explain lack of movement. Change S0 to S1.

    If you change anything in config.g, you need to reset the board, or send M98 P"config.g" to use those changes. Or input gcodes (temporarily, until the next reset) in the gcode console/command line.

    Ian



  • I've verified the endstops as being NC (changed to S1) and both X and Y move normally. Z isn't moving at all and the endstops are not triggering the axis movements of X and Y. On the board, the endstop lights are on and go off when manually triggering each end stop switch. For M117, the endstops are not triggered until I push them and each one is registering on the proper tower.
    I'm going to try Z on a different driver...



  • OK. Z works fine on X driver, so I think the Z is bad. Can I run Z from E1 if I change the position in the config?


  • Moderator

    Can you post the results of M122 and send M98 P"config.g" and post any error messages that come up?


  • Moderator

    @1d1 said in No Axis Movement:

    Can I run Z from E1 if I change the position in the config?

    Yes, you'd change the M574 z to use the driver number you want.


  • Moderator

    @1d1 said in No Axis Movement:

    M584 X0 Y1 Z2 E3 ; set drive mapping

    M584 Z4


Log in to reply