Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    After a year printer y homing failure

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    388
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sjason1377undefined
      sjason1377 Banned
      last edited by

      Y axis started to ignore endstop. Switch works fine tested no noise led reports correctly and m122 call show correct switch position. I removed some gcode files to free up card space and the issue started then. ; 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 Sat Nov 25 2017 12:15:39 GMT-0500 (Eastern Standard Time)

      ; General preferences
      M111 S0 ; Debugging off
      G21 ; Work in millimetres
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves
      M555 P1 ; Set firmware compatibility to look like RepRapFirmare
      G31 X-52 Y50 Z.9 P25
      M208 X0 Y0 Z0 S1 ; Set axis minima
      M208 X305 Y335 Z247 ; Set axis maxima

      ; Endstops
      M574 X1 Y0 S1 ; Set active low endstops
      M574 Z0
      M558 P5 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
      G31 P600 X0 Y12 Z.96; Set Z probe trigger value, offset and trigger height
      M557 X52:300 Y60:335 S40 ; Define mesh grid

      ; Drives

      M569 P5 S1 R1 T5 ; Drive 0 goes forwards
      M569 P6 S2 R1 T5 ; Drive 1 goes forwards
      M569 P7 S1 R1 T5 ; Drive 2 goes forwards
      M569 P8 S1 R1 T5 ; Drive 3 goes forwards
      M569 P9 S2 R1 T5 ; Drive 4 goes forwards
      M569 P10 S2 R1 T5 ; Drive 5 goes forwards
      M584 X5 Y6 Z7 E8:9:10 ; Apply custom drive mapping
      M350 X16 Y16 Z16 E16:16:16 I0 ; Configure microstepping without interpolation
      M92 X80 Y100 Z4800 E100💯100 ; Set steps per mm
      M566 X300 Y300 Z12 E120:120:120 ; Set maximum instantaneous speed changes (mm/min)
      M203 X20000 Y20000 Z280 E1200:1200:1200 ; Set maximum speeds (mm/min)
      M201 X1200 Y1200 Z150 E150:150:150 ; Set accelerations (mm/s^2)
      M906 X2000 Y2000 Z2000 2000:2000:2000 ; Set motor currents (mA)
      M84 S0 ; Disable motor idle current reduction

      ; Heaters
      M307 H7 A-1 C-1 D-1 ;disable heater 7 to free up for servo signal
      M305 P0 T100000 B3950 R4700 ; Set thermistor + ADC parameters for heater 0
      M143 H0 S90 ; Set temperature limit for heater 0 to 80C
      M305 P1.5 T100000 H15 R4700 ; Set thermistor + ADC parameters for heater 1
      M143 H1 S290 ; Set temperature limit for heater 1 to 260C

      ; Tools
      M563 P0 D0 H1 F0:1:2 ; Define tool 0 FAN 0,1,2 FOR EXTRUDER 0
      M563 P1 D1 H1 F0:1:2 ; DEFINE TOOL 1 FAN 0,1,2 FOR EXTRUDER 1
      M563 P2 D2 H1 F0:1:2 ; DEFINE TOOL 2 FAN 0,1,2 FOR EXTRUDER 2
      G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
      G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
      M568 P0 D0:1:2 S1 ; Enable mixing for tool 0,1,2
      M567 P0 E0.33:0.33:0.34 ; Set mixing ratios for tool 0

      ; Network
      M550 Pkathy's printer ; Set machine name
      M540 PBE:EF:DE:AD:FE:ED ; Set MAC address
      M552 P192.168.1.50 S1 ; Enable network and set IP address
      M553 P255.255.254.0 ; Set netmask
      M554 P73.215.152.1 ; Set gateway
      M586 P0 S1 ; Enable HTTP
      M586 P1 S0 ; Disable FTP
      M586 P2 S0 ; Disable Telnet

      ; Fans
      M106 P0 S1 I0 F255 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P1 S1 I0 F255 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned ON
      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
      M80 ;atx on
      M81 ;atx off
      T0:1:2 ; Select first tool

      ; homey.g
      ; called to home the Y axis
      ;
      ; generated by RepRapFirmware Configuration Tool on Sat Nov 25 2017 12:15:39 GMT-0500 (Eastern Standard Time)

      ; Lift Z relative to current position
      G91
      G1 Z5 F3000 ;move head up
      G1 Y-318 F1800 S1 ;move -295 neg dir stop at switch
      G1 Y5 F1500 ;move back 5mm pos
      G1 Y-318 F560 S1 ;move -295 allowance stop at switch
      G92 Y0 ;tell firmware where we are
      G90 ;absolute moves
      G0 Y40 F1500 ; move to y40

      ; homeX,Y.g
      ; called to home all axes
      ;
      ; generated by RepRapFirmware Configuration Tool on Sat Nov 25 2017 12:15:39 GMT-0500 (Eastern Standard Time)

      ; Relative positioning
      G91
      G1 Z5 F3000 ;lift Z 5mm
      G1 X-295 y-302 F1500 S1 ;relative move to x,y -295mm neg dir stop at switch
      G1 X5 Y5 F1000 ;relative back off switch 5mm pos dir
      G1 X-295 Y-302 F360 S1 ;relative move x,y -295mm alliance neg stop at switch slowly
      G90 ;absolute moves
      G1 X148.5 Y151 F2000 ; put probe center of bed
      M280 P7 S10 ;run deploy probe macro
      G30 ;lower probe set height
      M280 P7 S90 ; run retract probe macro

      meshlevel.g
      T0 ; Select first hot end

      G91 ; relitive moves
      G1 Z5 F3000 ;lift Z 5mm
      G1 X-295 y-302 F1500 S1 ;relative move to x,y -295mm neg dir stop at switch
      G1 X5 Y5 F1000 ;relative back off switch 5mm pos dir
      G1 X-295 Y-302 F360 S1 ;relative move x,y -302mm alliance neg stop at switch slowlymeshlevel.

      G90 ; Absolute coordinates
      G1 X52 Y250 F3000 ; Go to first bed probe point and home the Z axis

      M557 X52:245 Y50:302 S20 ; Bed probe from X52 to 245 and Y50 to 302 in 60mm increments

      M401 ; Lower BLTouch probe
      G29 S2 ; Clears bed height map in RepRapFirmware
      G29 ; Kicks off the Z probing across the height map
      M402 ; Retract BLTouch probe

      M374 ; Save calibration data. Default is sys/heightmap.csv

      G1 X148.5 Y151 F3000 ; All done - move in front

      (This is m122 with Y endstop tripped steppers still fighting agaisnt endstop!)

      10:40:56 AM
      M122
      === Diagnostics ===
      Used output buffers: 3 of 32 (12 max)
      === Platform ===
      RepRapFirmware for Duet Ethernet version 1.19.2 running on Duet Ethernet 1.0
      Board ID: 08DDM-9FAM2-LW4S8-6JKD4-3SJ6L-9LXMY
      Static ram used: 17684
      Dynamic ram used: 96452
      Recycled dynamic ram: 552
      Stack ram used: 1136 current, 4416 maximum
      Never used ram: 11968
      Last reset 00:01:30 ago, cause: software
      Last software reset reason: User, spinning module GCodes, available RAM 11968 bytes (slot 4)
      Software reset code 0x0003, HFSR 0x00000000, CFSR 0x00000000, ICSR 0x00400000, BFAR 0xe000ed38, SP 0xffffffff
      Error status: 0
      Free file entries: 10
      SD card 0 detected, interface speed: 20.0MBytes/sec
      SD card longest block write time: 0.0ms
      MCU temperature: min 37.3, current 37.4, max 37.7
      Supply voltage: min 24.7, current 24.8, max 24.8, under voltage events: 0, over voltage events: 0
      Driver 0: standstill
      Driver 1: standstill
      Driver 2: standstill
      Driver 3: standstill
      Driver 4: standstill
      Date/time: 2018-07-22 10:40:55
      Slowest main loop (seconds): 0.004036; fastest: 0.000038
      === Move ===
      MaxReps: 0, StepErrors: 0, FreeDm: 240, MinFreeDm 240, MaxWait: 0ms, Underruns: 0, 0
      Scheduled moves: 0, completed moves: 0
      Bed compensation in use: none
      Bed probe heights: 0.000 0.000 0.000 0.000 0.000
      === Heat ===
      Bed heater = 0, chamber heater = -1
      Heater 1 is on, I-accum = 0.0
      === GCodes ===
      Segments left: 0
      Stack records: 1 allocated, 0 in use
      Movement lock held by null
      http is idle in state(s) 0
      telnet is idle in state(s) 0
      file is idle in state(s) 0
      serial is idle in state(s) 0
      aux is idle in state(s) 0
      daemon is idle in state(s) 0
      queue is idle in state(s) 0
      autopause is idle in state(s) 0
      Code queue is empty.
      === Network ===
      State: 5
      HTTP sessions: 1 of 8
      Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)

      Drive Configuration
      Drive Endstop hit Minimum Maximum InstantDv Max Speed Acceleration Motor Current
      0 No 0 mm 305 mm 5 mm/s 333.33 mm/s 1200 mm/s² 2000 mA
      1 No 0 mm 335 mm 5 mm/s 333.33 mm/s 1200 mm/s² 2000 mA ----------((This endstop is hit!))
      2 No 0 mm 247 mm 1 mm/s 4.67 mm/s 150 mm/s² 2000 mA

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        What type of endstop is it?

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA