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

BL-Touch works for Z home but not for bed leveling?

Scheduled Pinned Locked Moved Solved
Tuning and tweaking
3
9
773
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.
  • undefined
    RomanVin
    last edited by 13 Oct 2021, 16:16

    The table leveling function has stopped working. The commands M280 P0 S90, M280 P0 S10, M401 and M402 are executed, the sensor works.
    The command M122:
    13.10.2021, 19:07:46 m122
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.0beta5 (2021-10-12 13:54:53) running on Duet WiFi 1.02 or later + DueX5
    Board ID: 0JD0M-9P6M2-NWNS0-7JTD8-3SD6S-KU3HM
    Used output buffers: 9 of 24 (24 max)
    === RTOS ===
    Static ram: 23868
    Dynamic ram: 76116 of which 228 recycled
    Never used RAM 11796, free system stack 100 words
    Tasks: NETWORK(ready,13.8%,228) HEAT(notifyWait,0.0%,323) Move(notifyWait,0.0%,294) DUEX(notifyWait,0.0%,24) MAIN(running,85.9%,444) IDLE(ready,0.3%,30), total 100.0%
    Owned mutexes: WiFi(NETWORK)
    === Platform ===
    Last reset 00:23:43 ago, cause: software
    Last software reset at 2021-10-13 18:44, reason: User, GCodes spinning, available RAM 11972, slot 2
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
    Error status: 0x0c
    Aux0 errors 0,0,0
    Step timer max interval 0
    MCU temperature: min 36.1, current 37.1, max 37.5
    Supply voltage: min 24.0, current 24.1, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
    Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
    Driver 0: pos 60000,standstill, SG min/max 0/1023
    Driver 1: pos 0,standstill, SG min/max 0/1023
    Driver 2: pos 6400,standstill, SG min/max n/a
    Driver 3: pos 0,standstill, SG min/max n/a
    Driver 4: pos 0,standstill, SG min/max n/a
    Driver 5: pos 0,standstill, SG min/max 0/1023
    Driver 6: pos 0,standstill, SG min/max 0/1023
    Driver 7: pos 0,standstill, SG min/max 0/1023
    Driver 8: pos 0,standstill, SG min/max n/a
    Driver 9: pos 0,standstill, SG min/max n/a
    Driver 10: pos 0
    Driver 11: pos 0
    Date/time: 2021-10-13 19:07:43
    Cache data hit count 4294967295
    Slowest loop: 88.77ms; fastest: 0.15ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
    === Storage ===
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest read time 2.1ms, write time 0.0ms, max retries 0
    === Move ===
    DMs created 83, segments created 3, maxWait 1220382ms, bed compensation in use: none, comp offset 0.000
    === MainDDARing ===
    Scheduled moves 51, completed 51, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
    === AuxDDARing ===
    Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
    Heater 1 is on, I-accum = 0.0
    === GCodes ===
    Segments left: 0
    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
    USB is idle in state(s) 0
    Aux is idle in state(s) 0
    Trigger is idle in state(s) 0
    Queue is idle in state(s) 0
    LCD is idle in state(s) 0
    Daemon is idle in state(s) 0
    Autopause is idle in state(s) 0
    Code queue is empty
    === DueX ===
    Read count 1, 0.04 reads/min
    === Network ===
    Slowest loop: 19.78ms; fastest: 0.00ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
    HTTP sessions: 1 of 8

    • WiFi -
      Network state is active
      WiFi module is connected to access point
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.26
      WiFi MAC address 8c:ce:4e:fa:d5:6b
      WiFi Vcc 3.38, reset reason Power up
      WiFi flash size 4194304, free heap 22784
      WiFi IP address 172.20.10.13
      WiFi signal strength -67dBm, mode 802.11n, reconnections 0, sleep mode modem
      Clock register 00002002
      Socket states: 0 0 0 0 0 0 0 0

    My config.g
    ; Configuration file for My Printer
    ; Communication and general
    M111 S0 ; Debug off
    M550 P RailCore2 ZLT ; Machine name and Netbios name (can be anything you like)
    ;M551 Pmyrap ; Machine password (used for FTP)

    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xEE ; MAC Address

    ;*** Wifi Networking
    M552 S1 ; Enable WiFi
    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue

    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves - (for Cura - M82)
    M21 P1 ; mount SD-Card PanelDue

    ; Axis and motor configuration
    M669 K1 ; RRF3 change M667 to M669 ; set CoreXY mode

    M584 X0 Y1 Z5:6:7 E3:4:8:9 ; Map Z to drivers 5, 6, 7. Define unused drivers 3,4,8 and 9 as extruders
    M569 P0 S0 ; Drive 0 goes forwards (change to S0 to reverse it) X stepper (Rear)
    M915 P0 T50
    M569 P1 S1 ; Drive 1 goes backwards Y Stepper (Front)
    M915 P1 T50
    ;M569 P2 S1 ; Drive 2 goes forwards Unused
    M569 P3 S1 ; Drive 3 goes forwards Extruder
    ;M569 P4 S1 ; Drive 4 goes forwards Extruder (unused)
    M569 P5 S0 ; Drive 5 goes backwards Front Left Z
    M569 P6 S0 ; Drive 6 goes backwards Rear Left Z
    M569 P7 S0 ; Drive 7 goes backwards Right Z

    ; Leadscrew locations
    M671 X-10:-10:333 Y22.5:277.5:150 S7.5 ;Front left, Rear Left, Right S7.5 is the max correction - measure your own offsets, to the bolt for the yoke of each leadscrew
    M350 X16 Y16 Z16 E16 I1 ; set 16x microstepping for axes& extruder, with interpolation

    ;RRF3 comment out: M574 X1 Y1 Z0 S1
    M574 X1 S1 P"xstop" ; RRF3 set X endstop to xstop port active high
    M574 Y1 S1 P"ystop" ; RRF3 set Y endstop to ystop port active high
    M906 X1400 Y1400 Z1000 E800 I60 ; Set motor currents (mA)
    M201 X3000 Y3000 Z100 E1500 ; Accelerations (mm/s^2)
    M203 X24000 Y24000 Z900 E3600 ; Maximum speeds (mm/min)
    M566 X1000 Y1000 Z100 E1500 ; Maximum jerk speeds mm/minute
    M208 X300 Y300 Z600 ; set axis maxima and high homing switch positions (adjust to suit your machine)
    M208 X0 Y0 Z-0.5 S1 ; set axis minima and low homing switch positions (adjust to make X=0 and Y=0 the edges of the bed)
    M92 X200 Y200 Z3200 E810 ; steps/mm (E837-old) (Command M302 P1 - cold extrude for calibrate motor extruder.)

    ; Thermistors
    ;RRF3 comment out: M305 P0 T100000 B3950 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
    M308 S0 P"bedtemp" Y"thermistor" A"bed_heat" T100000 B3950 R4700 H0 L0 ;RRF3 Bed thermistor, connected to bedtemp on Duet2

    ; If you have a Slice Engineering thermistor, comment out the next line
    ;RRF3 comment out: M305 P1 T100000 B4725 R4700 H0 L0 C7.06e-8 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
    M308 S1 P"e0temp" Y"thermistor" A"e0_heat" T100000 B4725 R4700 C7.06e-8 H0 L0 ;RRF3 duet3 e3d

    ; If you have a Slice Engineering thermistor, uncomment the next lines. KITS DO NOT SHIP WITH A SLICE THERMISTOR - ONLY UNCOMMENT IF YOU ORDERED ONE
    ; M308 S1 P"e0temp" Y"thermistor" A"e0_heat" T500000 B4723 R4700 C1.196220e-7 ;RRF3 slice thermistor

    M950 H0 C"bedheat" T0 ;RRF3 define Bed heater is on bedheat
    M140 H0
    M950 H1 C"e0heat" T1 ;RRF3 define Hotend heater is on e0heat

    ; Command for Autoleveling temperatur: M303 H1 S240 - Hotend, M303 H0 S60 - Bet.
    M307 H0 B0 R0.885 C470.8 D4.13 S1.00 V24.2 ; Bed Heaters (Old parametr - H0 A240.3 C608.7 D8.2 S1.00 V24.1 B0)
    M307 H1 B0 R2.401 C157.1 D5.28 S1.00 V24.1 ; Heater 1 model (Old parametr - M307 H1 A270.7 C90.4 D6.7 B0 S1.0)
    M570 S360 ; Hot end may be a little slow to heat up so allow it 180 seconds
    M143 S285

    ; Fans
    M950 F0 C"fan0" ;RRF3 define fan0
    M950 F1 C"fan1" ;RRF3 define fan1
    ;M950 F2 C"fan2" ;RRF3 define fan2
    M106 P0 H-1 ; disable thermostatic mode for fan 0 (cool model)
    M106 P1 T45 H1 ; enable thermostatic mode for fan 1 (cool hotend)
    ;M106 P2 H-1
    M106 P0 S0 ; turn off fans
    M106 P1 S0
    ;M106 P2 S0

    ; Tool definitions
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures

    ; Filament sensor
    M591 D0 P0 C"e0stop" S1 ; Filament runout Sensor for Extruder E0 on E1 Endstop input P1 = signal HIGH.

    ; Linear Edvanced
    M572 D0 S0.05 ;Linear Edvanced 0.025 and Up 0.1

    ;*** If you have a single-nozzle build, comment the next 2 lines
    ;M563 P1 D1 H2 ; Define tool 1
    ;G10 P1 S0 R0 X0 Y17 ; Set tool 1 operating and standby temperatures

    ; Z probe and compensation definition
    ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
    ; IR PRobe - uncomment the following 2 lines if you have a and IR Probe, and comment out the BLTouch section below
    ;RRF3 IR Probe only comment out: M558 P1 X0 Y0 Z1 ; Z probe is an IR probe and is not used for homing any axes
    ;M558 P1 C"^zprobe.in" H5 F120 T6000 A5 S0.02 ; RRF3 IR Probe connected to Z probe IN pin
    ;G31 X0 Y30 Z2.00 P500 ; Set the zprobe height and threshold (put your own values here)

    ;BLTouch - comment out the following 3 lines if using a IR Probe
    ;RRF3 comment out: M307 H3 A-1 C-1 D-1
    ;RRF3 comment out: M558 P9 X0 Y0 Z1 H5 F50 T6000 A5 S0.02
    M558 P9 C"^zprobe.in" H5 R1 F150 T6000 A5 S0.02 ; RRF3 BLTouch connected to Z probe IN pin. F50 - speed bed Up. F100 - speed 2x...
    M950 S0 C"duex.pwm5" ; RRF3 Define BLTouch Servo (S0) on duet pwm1
    G31 X-4 Y42 Z1.54 P25 ; Customize your offsets appropriately - do a paper test, and put the probed value in the Z value here

    T0 ; select first hot end

    What should be done?
    Thanks.

    undefined 1 Reply Last reply 14 Oct 2021, 12:20 Reply Quote 0
    • undefined
      T3P3Tony administrators @RomanVin
      last edited by 14 Oct 2021, 12:20

      @romanvin said in BL-Touch works for Z home but not for bed leveling?:

      The table leveling function has stopped working

      This implies it did work before. What has changed, if its the upgrade to 3.4b5, what firmware were you running before?

      when you say it is working for Z homing, I presume you mean the BL touch deploys, triggers, Z home is set correctly as expected. What element of bed levelling is not working?

      Please post your bed.g (using the </> option in the text formatting so its easier to read).

      www.duet3d.com

      undefined 1 Reply Last reply 14 Oct 2021, 12:36 Reply Quote 1
      • undefined
        RomanVin @T3P3Tony
        last edited by RomanVin 14 Oct 2021, 12:36

        @t3p3tony said in BL-Touch works for Z home but not for bed leveling?:

        @romanvin said in BL-Touch works for Z home but not for bed leveling?:
        I didn't understand what happened. 😞
        I will clarify. The X Y axis moves as usual. When performing G29 or G32 probe does not extend. I returned to the RRF3.3 version, the initial config.g and all the files of the SYS folder with which everything worked. Didn't help, doesn't work as expected.

        undefined 1 Reply Last reply 14 Oct 2021, 12:38 Reply Quote 0
        • undefined
          fcwilt @RomanVin
          last edited by 14 Oct 2021, 12:38

          @romanvin said in [BL-Touch works for Z home but not for bed leveling?]

          I will clarify. The X Y axis moves as usual. When performing G29 or G32 probe does not extend.

          If you execute M401 (deploy probe) or M402 (retract probe) do they work?

          Thanks.

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          undefined 1 Reply Last reply 14 Oct 2021, 12:43 Reply Quote 0
          • undefined
            RomanVin @fcwilt
            last edited by 14 Oct 2021, 12:43

            @fcwilt The commands M280 P0 S90, M280 P0 S10, M401 and M402 are executed, the sensor works.

            undefined 1 Reply Last reply 14 Oct 2021, 12:47 Reply Quote 1
            • undefined
              fcwilt @RomanVin
              last edited by 14 Oct 2021, 12:47

              @romanvin said in BL-Touch works for Z home but not for bed leveling?:

              @fcwilt The commands M280 P0 S90, M280 P0 S10, M401 and M402 are executed, the sensor works.

              OK.

              If you move the probe to the center of the bed, about 10mm above the bed, and issue a G30 does it work?

              Thanks.

              Frederick

              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

              undefined 1 Reply Last reply 14 Oct 2021, 15:42 Reply Quote 0
              • undefined
                RomanVin @fcwilt
                last edited by 14 Oct 2021, 15:42

                @fcwilt said in BL-Touch works for Z home but not for bed leveling?:

                OK.
                If you move the probe to the center of the bed, about 10mm above the bed, and issue a G30 does it work?
                Thanks.
                Frederick

                Yes, the G30 works.

                undefined 1 Reply Last reply 17 Oct 2021, 12:46 Reply Quote 0
                • undefined
                  RomanVin @RomanVin
                  last edited by 17 Oct 2021, 12:46

                  Friends!
                  Found the problem. Together, everything turned out to be quite simple and complicated.
                  Simple - because in the harness from Duet2 to BLtouch there is a break in the probe control wire. Difficult - because I cut off the printer heads only in the zero position, floating fault. I could not even think that a new 3-wire cable could be defective. The printer hasn't really printed anything yet. Be careful with your choice of wires.
                  The topic is closed.

                  undefined 1 Reply Last reply 17 Oct 2021, 21:54 Reply Quote 2
                  • undefined
                    T3P3Tony administrators @RomanVin
                    last edited by 17 Oct 2021, 21:54

                    @romanvin thanks for letting us know what the issue was. glad its fixed.

                    www.duet3d.com

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