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

I don't understand why this is happening

Scheduled Pinned Locked Moved
Tuning and tweaking
8
55
5.6k
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
    TimVukman
    last edited by 10 Jan 2018, 14:39

    Ok
    I was able to get down to the bed and determine the trigger height on the Z probe which is 0.2 It is repeatable.
    I did an M500 to save this information.

    If I home from the bed, the effector will stop before the endstops are reached. If I home again, it will home properly

    If I initiate the autobed level, the effector will stop and complete it's various points around the bed while it is still 72mm above the bed. At each probe point, it will report that the Z Probe is already triggered.

    I am obviously still missing (not grasping) something in this process.
    Thanks
    Tim

    Config.g

    [[language]]
    ; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sun Jan 07 2018 13:38:34 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 P2 ; Set firmware compatibility to look like Marlin
    ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration.
    M665 R85 L218 B85 H306.5 ; 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
    M208 Z-0.7 S0 ; Set minimum Z
    ; Endstops
    M574 X2 Y2 Z2 S1 ; Set active low endstops
    M558 P4 X0 Y0 Z0 H10 F120 T2400 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
    G31 P600 X11 Y0 Z0.2 ; Set Z probe trigger value, offset and trigger height
    M557 R85 S20 ; Define mesh grid
    ; Drives
    M569 P0 S0 ; Drive 0 goes forwards
    M569 P1 S0 ; Drive 1 goes forwards
    M569 P2 S0 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation
    M92 X80 Y80 Z80 E663 ; Set steps per mm
    M566 X1200 Y1200 Z1200 E1200 ; Set maximum instantaneous speed changes (mm/min)
    M203 X18000 Y18000 Z18000 E1200 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z1000 E1000 ; Set accelerations (mm/s^2)
    M906 X1000 Y1000 Z1000 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout
    ; Heaters
    M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0

    Bed.g

    [[language]]
    ; bed.g
    ; called to perform automatic delta calibration via G32
    ;
    ; generated by RepRapFirmware Configuration Tool on Sun Jan 07 2018 13:38:34 GMT-0500 (Eastern Standard Time)
    M561 ; clear any bed transform
    ; Probe the bed at 6 peripheral and 3 halfway points, and perform 6-factor auto compensation
    ; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g.
    G30 P0 X0 Y84.2 H0 Z-99999
    G30 P1 X66.01 Y38.11 H0 Z-99999
    G30 P2 X66.01 Y-38.11 H0 Z-99999
    G30 P3 X0 Y-84.2 H0 Z-99999
    G30 P4 X-73.61 Y-42.5 H0 Z-99999
    G30 P5 X-73.61 Y42.5 H0 Z-99999
    G30 P6 X0 Y41.05 H0 Z-99999
    G30 P7 X29.84 Y-17.23 H0 Z-99999
    G30 P8 X-36.81 Y-21.25 H0 Z-99999
    G30 P9 X0 Y0 H0 Z-99999 S6
    ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors
    ; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)
    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 10 Jan 2018, 16:11

      @TimVukman:

      If I home from the bed, the effector will stop before the endstops are reached. If I home again, it will home properly

      #5 at https://duet3d.com/wiki/Common_problems_and_their_solutions.

      @TimVukman:

      If I initiate the autobed level, the effector will stop and complete it's various points around the bed while it is still 72mm above the bed. At each probe point, it will report that the Z Probe is already triggered.

      Test your Z probe. For a switch type Z probe, the Z probe reading in DWC should be 1000 when the probe is triggered, and 0 when it is not. If yours is the other way round, then if possible use the NC switch contacts instead of the NO contacts. If you can't do that, add I1 to your M558 command.

      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
      • undefined
        TimVukman
        last edited by 11 Jan 2018, 00:39

        Thanks very much. I will follow through on #5
        Changing the M558 should be straight forward. I read 1000

        I have a bigger problem however. My new DuetWifi Card arrived today and the setup was going along just fine until I tried to connect both printers at the same time. They started off with one connecting, and when I went through the part that calls for Y A Terminal, it took the information, but when I rebooted, it would not connect. Now my other one sn't connecting either and neith is showing on Angry IP Scanner.

        I will try one at a time via the USB direct. Did I read a caution somewhere that said there was something I had to do before I added a second card on the network. Something other than a different IP?

        Thanks
        Tim

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 11 Jan 2018, 07:50

          The note about having more than one Duet on the network only applies to using the Duet 06 or 085, or the Duet Ethernet with firmware older then 1.19. You had to configure them to use different MAC addresses.

          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
          • undefined
            TimVukman
            last edited by 11 Jan 2018, 15:29

            Is there a workaround for not being able to read the SD card on the DuetWifi? My new board that arrived yesterday is giving me an "error 1 accessing SD card" message when I try to read the card from the DuetWifi board using the DuetDisplay.

            The message at the top of the display screen says Files on card 1 <_>

            I can read / write / copy etc to the little card when it is inserted in an adapter on my PC

            1 Reply Last reply Reply Quote 0
            • undefined
              TimVukman
              last edited by 11 Jan 2018, 15:57

              I seem to have recovered the original DuetWifi. I will go after the step #5 that you identified above.

              1 Reply Last reply Reply Quote 0
              • undefined
                TimVukman
                last edited by 11 Jan 2018, 15:58

                To be clear, my new DuetWifi is installed in the original cartesian printer and is unable to read the SD card.
                My original DuetWifi is installed in my new Delta which is my original reason for seeking help
                Thanks
                Tim

                1 Reply Last reply Reply Quote 0
                • undefined
                  TimVukman
                  last edited by 11 Jan 2018, 17:31

                  Hi
                  Firstly, thanks for the |1. That is certainly activating the probing activity. The probes are failing (not triggered) during the process since the process is starting 76mm above the print bed.

                  I understand there is a max height which I believe is in the M665 early in the process. Measured from the bed to the end stop metal tab (when level) is 548mm. Everything I have read (ie the setup documentation) says I should set this at about 300 and indicates it will be adjusted later.

                  Should I not take the 76mm out of the measured total 548mm height to determine that the actual height setting for M665 is 472mm?

                  I also have a distance of 55mm (aprx) between the tip of the nozzle and the actuator on the switch for the probe. It doesn't appear that I need to input that number anywhere. Is that correct?

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Dougal1957
                    last edited by 11 Jan 2018, 19:22

                    set the hight in the M665 to be 5mm greater then the distance from the nozzle to the bed when it is homed and adjust the Dive Hight in the M558 h param to something like 20 then it should work for you and once you've got the initial config params you can reduce the Dive hight to whatever you feel comfortable with mine is normally 5 but you can go lower if you want to shave a few seconds of the cal time

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      dc42 administrators
                      last edited by 11 Jan 2018, 23:10

                      @TimVukman:

                      I understand there is a max height which I believe is in the M665 early in the process. Measured from the bed to the end stop metal tab (when level) is 548mm. Everything I have read (ie the setup documentation) says I should set this at about 300 and indicates it will be adjusted later.

                      No, you need to set it to be approximately right. See https://duet3d.com/wiki/Calibrating_a_delta_printer#Setting_up_your_initial_delta_parameters.

                      @TimVukman:

                      I also have a distance of 55mm (aprx) between the tip of the nozzle and the actuator on the switch for the probe. It doesn't appear that I need to input that number anywhere. Is that correct?

                      If you mean that the switch triggers when the nozzle is 55mm above the bed, that is the Z probe trigger height and it needs to be entered as the Z parameter in the G31 command.

                      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
                      • undefined
                        TimVukman
                        last edited by 12 Jan 2018, 18:31

                        Hi,

                        No, the switch doesn't trigger unless it actually touches something which is at .2 as indicated. What I'm saying is that 55mm needs to be travelled before the switch will be triggered.

                        What about my question on the new card that isn't reading the SD? Is there any way to get to the board and enter the data without reading the info off the card, or is there some way to test the card, or is there anything I can do to activate it from within firmware via the USB?

                        If you are pointing to the info on M665,
                        "H = height of the nozzle above the bed when all three carriages are just high enough to trigger the endstop switches. Measure it as best you can, to within about 5mm. Calibration will adjust it."

                        I read that as the start print height since it is .2mm

                        M666 is about adjusting the end stops.

                        I don't see how this applies to my question

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          TimVukman
                          last edited by 12 Jan 2018, 19:44

                          Sorry
                          Frustrated and didn't understand why you sent me back to the same reference again since it says H is the height of the nozzle above the bed. I'm trying to establish the height setting that I need to use so that the effector does not stop 76mm above the bed.

                          I have spent a huge amount of time trying different numbers in the H setting of M665 and I can't seem to find the "right" number that will allow the autodeltaconfig on the wifi interface page to take over and finalize the settings. I have been working steady on that since the first time you pointed me to that section of the configuration documentation

                          I home the printer and that's fine. M114 tells me that Z is 295.

                          I try autodeltacalibration and the effector stops 76mm above the bed. Now that I have added the |1, the printer goes through the motions of thinking that it is lowering the hot end to press the nozzle against the bed. It moves down 10mm for each point and fails because the nozzle never touches the bed.

                          I use M564 S0 to allow myself to move down to the actual bed, and then set the Z value to 0 using G92 Z0

                          Unfortunately. if I try to use G30 S-1 to probe the bed, the probe does not trigger (probe value does not switch from 3xx to 1xxx) and I have to reset the printer.

                          Since I added the |1 in the M558, do I not need to somehow set the port for the E0 end stop to active high ?

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            whosrdaddy
                            last edited by 12 Jan 2018, 19:59

                            its I1 (capital i) not |1 as you wrote above?

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              TimVukman
                              last edited by 12 Jan 2018, 20:32

                              Really?

                              Thanks! Boy, that wasted a bunch of time…..........

                              I shall make the change and see what happens

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                TimVukman
                                last edited by 12 Jan 2018, 21:12

                                I try autodeltacalibration and the effector stops 76mm above the bed.

                                I use M564 S0 to allow myself to move down to the actual bed, and then set the Z value to 0 using G92 Z0

                                M558 P1 H10 F120 T2400

                                G30 S-1 - does not stop Probe value 311


                                Need to Home All twice

                                I try autodeltacalibration and the effector stops 76mm above the bed.
                                All probes show message that Z probe already triggered. Probe Value 688

                                I use M564 S0 to allow myself to move down to the actual bed, and then set the Z value to 0 using G92 Z0

                                G30 S-1

                                M558 P1 H10 F120 T2400 I1

                                No Movement. Message says Z Probe Already Triggered

                                Do I have to physically rewire the Z-Probe end switch?

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  deckingman
                                  last edited by 12 Jan 2018, 21:58

                                  I don't know anything about Deltas so this is probably way off the mark but in your config.g you have the probe trigger value set to 600 so that'll be why it says triggered when the value is 688. So setting the probe trigger value (G31) higher might help. I'd guess the thing to do would be to see what the probe value is when it's just clear of the bed and again when it's just touching the bed and set the trigger value somewhere in between. Dunno, just a guess. If this sounds like a load of crap, please ignore it as Deltas "ain't my thing".

                                  Ian
                                  https://somei3deas.wordpress.com/
                                  https://www.youtube.com/@deckingman

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    dc42 administrators
                                    last edited by 12 Jan 2018, 22:17

                                    I still think you have the M665 H parameter wrong. When the effector is as high as it will go because the carriages are up against the endstops, how high is the nozzle above the bed?

                                    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
                                    • undefined
                                      TimVukman
                                      last edited by 12 Jan 2018, 23:38

                                      Hi Deckingman

                                      The P value which is 600 is the threshold for the electrical signal. When not triggered, it's around 311. When the switch is closed and triggered, it is 1000. The value is displayed on the Duest Interface Screen under Z-Probe

                                      Hi DC42

                                      From the nozzle (bottom of effector) to the bed is 306.5 which is the reading I orginally got when I started. It is a little lower right now because the carriages are just slightly below the metal tabs on the end stops. That is also the value that is entered in the "H" parameter as follows

                                      M665 R105.6 L220 B85 H306.5

                                      Thanks
                                      Tim
                                      Config.g

                                      [[language]]
                                      ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
                                      ; executed by the firmware on start-up
                                      ;
                                      ; generated by RepRapFirmware Configuration Tool on Thu Jan 11 2018 11:17:44 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 P2 ; Set firmware compatibility to look like Marlin
                                      ; Automatic saving after power loss is not enabled
                                      ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration.
                                      M665 R105.6 L220 B85 H306.5 ; 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
                                      M208 Z-0.1 S0 ; Set minimum Z
                                      ; Endstops
                                      M574 X2 Y2 Z2 S1 ; Set active low endstops
                                      M558 P1 H10 F120 T2400 I1 ; Set Z probe type to unmodulated and the dive height + speeds*
                                      G31 P500 X11 Y0 Z0.2 ; Set Z probe trigger value, offset and trigger height
                                      M557 R85 S20 ; Define mesh grid
                                      ; Drives
                                      M569 P0 S0 ; Drive 0 goes backwards
                                      M569 P1 S0 ; Drive 1 goes backwards
                                      M569 P2 S0 ; Drive 2 goes backwards
                                      M569 P3 S1 ; Drive 3 goes forwards
                                      M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation
                                      M92 X80 Y80 Z80 E663 ; Set steps per mm
                                      M566 X1200 Y1200 Z1200 E1200 ; Set maximum instantaneous speed changes (mm/min)
                                      M203 X18000 Y18000 Z18000 E1200 ; Set maximum speeds (mm/min)
                                      M201 X1000 Y1000 Z1000 E1000 ; Set accelerations (mm/s^2)
                                      M906 X1000 Y1000 Z1000 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
                                      M84 S30 ; Set idle timeout
                                      ; Heaters
                                      M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                                      M143 H0 S120 ; Set temperature limit for heater 0 to 120C
                                      M305 P1 T100000 B4388 C0 R4700 ; Set thermistor + ADC parameters for heater 1
                                      M143 H1 S280 ; Set temperature limit for heater 1 to 280C
                                      ; 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
                                      ; Network
                                      M550 PFLSun Delta ; Set machine name
                                      M552 S1 ; Enable network
                                      M587 S"" P"" ; Configure access point and IP addresses. You can delete this line once connected
                                      M586 P0 S1 ; Enable HTTP
                                      M586 P1 S0 ; Disable FTP
                                      M586 P2 S0 ; Disable Telnet
                                      ; Fans
                                      M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                      M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                      M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
                                      ; Custom settings are not configured
                                      ; Miscellaneous
                                      T0 ; Select first tool
                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        number40fan
                                        last edited by 13 Jan 2018, 00:03

                                        Post your bed.g and your config-override.g too, please. Homedelta.g too.

                                        You can also edit out your SSID and password from your last post.

                                        Anything in config-override won't be used if you don't have a M501 at the end of config.g.

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          TimVukman
                                          last edited by 13 Jan 2018, 10:58

                                          config-override.g

                                          [[language]]
                                          ; This is a system-generated file - do not edit
                                          ; Delta parameters
                                          M665 L218.000 R85.000 H306.500 B85.0 X0.000 Y0.000 Z0.000
                                          M666 X0.000 Y0.000 Z0.000 A0.00 B0.00
                                          ; Heater model parameters
                                          M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B1
                                          M307 H1 A340.0 C140.0 D5.5 S1.00 V0.0 B0
                                          M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0
                                          M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0
                                          M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
                                          M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
                                          M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0
                                          M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0

                                          Bed.g

                                          [[language]]
                                          ; bed.g
                                          ; called to perform automatic delta calibration via G32
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool on Thu Jan 11 2018 11:17:44 GMT-0500 (Eastern Standard Time)
                                          M561 ; clear any bed transform
                                          ; Probe the bed at 6 peripheral and 3 halfway points, and perform 6-factor auto compensation
                                          ; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g.
                                          G30 P0 X0 Y84.2 H0 Z-99999
                                          G30 P1 X66.01 Y38.11 H0 Z-99999
                                          G30 P2 X66.01 Y-38.11 H0 Z-99999
                                          G30 P3 X0 Y-84.2 H0 Z-99999
                                          G30 P4 X-73.61 Y-42.5 H0 Z-99999
                                          G30 P5 X-73.61 Y42.5 H0 Z-99999
                                          G30 P6 X0 Y41.05 H0 Z-99999
                                          G30 P7 X29.84 Y-17.23 H0 Z-99999
                                          G30 P8 X-36.81 Y-21.25 H0 Z-99999
                                          G30 P9 X0 Y0 H0 Z-99999 S6
                                          ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors
                                          ; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)

                                          Homedelta.g

                                          [[language]]
                                          ; homedelta.g
                                          ; called to home all towers on a delta printer
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool on Thu Jan 11 2018 11:17:44 GMT-0500 (Eastern Standard Time)
                                          G91 ; relative positioning
                                          ;*** Slow homing has been configured. Change F240 to F2400 below when your configuration is working
                                          G1 S1 X305 Y305 Z305 F240 ; move all towers to the high end stopping at the endstops (first pass)
                                          G1 X-5 Y-5 Z-5 F2400 S2 ; go down a few mm
                                          G1 S1 X10 Y10 Z10 F240 ; move all towers up once more (second pass)
                                          G1 Z-5 F2400 ; move down a few mm so that the nozzle can be centred
                                          G90 ; absolute positioning
                                          G1 X0 Y0 F2400 ; move X+Y to the centre
                                          1 Reply Last reply Reply Quote 0
                                          28 out of 55
                                          • First post
                                            28/55
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA