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

    Your Duet rejected the HTTP request: page not found

    Scheduled Pinned Locked Moved
    Firmware installation
    6
    178
    20.5k
    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.
    • sleeplessundefined
      sleepless
      last edited by

      z probe seems to need the plug wired differently am I seeing that correctly?

      1 Reply Last reply Reply Quote 0
      • sleeplessundefined
        sleepless
        last edited by

        forgot to mention I only have endstops no z probe

        1 Reply Last reply Reply Quote 0
        • sleeplessundefined
          sleepless
          last edited by

          what is parameter I1?
          Connect it between the STP and GND pins of the E0 connector and select mode 4. If it is a normally-closed microswitch, then with version 1.15 or earlier firmware use M574 E0 S1 to select active high trigger level. For normally-open contacts (not recommended), send M574 E0 S0 instead. With 1.16 or later firmware, include parameter I1 in the M558 command if you are using a normally-open switch.

          Ok so if I understand this correctly I need to plug my Z endstop into the E0 Stop. I need to connect the black wire to the GRD and the Red wire into the E0 Stop pin ports. Then I need to send M558 parameter I1?

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            I1 will invert the signal. That's an upper case i.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • sleeplessundefined
              sleepless
              last edited by

              Thanks for the quick replies ok ill give it a shot and see what happens. If the Z doesnt trigger how do I troubleshoot?

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                You can test the switch itself by connecting it to an endstop connector and seeing if the light turns on and off when it's triggered. Then it's just a matter of being connected with the wires to the right place for the chosen mode.

                That linked thread seems to indicate that it should work in this configuration but as a fall back you could use it as a simple endstop switch.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • sleeplessundefined
                  sleepless
                  last edited by

                  Should I be following these instructions for the change in Homeall.g
                  Bed probing file
                  If you use mesh bed compensation (which is recommended in most cases) or no bed compensation, you can skip this section. This section is about using the older 3, 4 and 5 point bed compensation, using probe points defined in the bed.g file.

                  The commands in bed.g are executed when you send the G32 command. So this file should contain your bed probing script. Here is a typical 5-point bed.g file for a printer with a 200 x 200mm bed:

                  M561 ; clear any existing bed transform
                  M401 ; deploy Z probe if necessary
                  G30 P0 X10 Y10 Z-99999 ; define 4 points in a clockwise direction around the bed, starting near (0,0)
                  G30 P1 X10 Y190 Z-99999
                  G30 P2 X190 Y190 Z-99999
                  G30 P3 X190 Y10 Z-99999
                  G30 P4 X100 Y100 Z-99999 S0 ; finally probe bed centre, and calculate compensation
                  M402 ; retract the Z probe
                  G1 X0 Y0 F5000 ; move the head to the corner (optional)

                  1 Reply Last reply Reply Quote 0
                  • sleeplessundefined
                    sleepless
                    last edited by

                    also neither e0 or z endstop trigger when i raise the bed by hand

                    1 Reply Last reply Reply Quote 0
                    • sleeplessundefined
                      sleepless
                      last edited by

                      ; homeall.g
                      ; called to home all axes
                      ;
                      ; generated by RepRapFirmware Configuration Tool on Sun Oct 28 2018 16:32:40 GMT-0700 (Pacific Daylight Time)
                      G91 ; relative positioning
                      G1 Z5 F6000 S2 ; lift Z relative to current position
                      G1 S1 X235 Y259 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
                      G1 X-5 Y-5 F6000 ; go back a few mm
                      G1 S1 X235 Y259 F360 ; move slowly to X and Y axis endstops once more (second pass)
                      G1 S1 Z-205 F1800 ; move Z down stopping at the endstop
                      G90 ; absolute positioning
                      G1 X115 Y125 F2000 ; put head over the centre of the bed, or wherever you want to probe
                      G30 ; lower head, stop when probe triggered and set Z to trigger height

                      ; Uncomment the following lines to lift Z after probing
                      ;G91 ; relative positioning
                      ;G1 S2 Z5 F100 ; lift Z relative to current position
                      ;G90 ; absolute positioning

                      1 Reply Last reply Reply Quote 0
                      • sleeplessundefined
                        sleepless
                        last edited by

                        ; homez.g
                        ; called to home the Z axis
                        ;
                        ; generated by RepRapFirmware Configuration Tool on Sun Oct 28 2018 16:32:40 GMT-0700 (Pacific Daylight Time)
                        G91 ; relative positioning
                        G1 Z5 F6000 S2 ; lift Z relative to current position
                        G1 S1 Z-205 F1800 ; move Z down until the endstop is triggered
                        G90 ; back to absolute mode
                        G1 X115 Y125 F2000 ; put head over the centre of the bed, or wherever you want to probe
                        G30 ; lower head, stop when probe triggered and set Z to trigger height

                        ; Uncomment the following lines to lift Z after probing
                        ;G91 ; relative positioning
                        ;G1 S2 Z5 F100 ; lift Z relative to current position
                        ;G90 ; absolute positioning

                        1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator
                          last edited by

                          What does your endstop/zprobe section look like in config.g?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • sleeplessundefined
                            sleepless
                            last edited by

                            ; Drives
                            M569 P0 S0 ; Drive 0 goes forwards
                            M569 P1 S1 ; Drive 1 goes forwards
                            M569 P2 S1 ; Drive 2 goes forwards
                            M569 P3 S0 ; Drive 3 goes forwards
                            M350 X32 Y32 Z32 I0 ; Configure microstepping without interpolation
                            M350 E16 I1 ; Configure microstepping with interpolation
                            M92 X80 Y80 Z800 E723.38 ; Set steps per mm
                            M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
                            M203 X30000 Y30000 Z300 E1500 ; Set maximum speeds (mm/min)
                            M201 X500 Y250 Z250 E250 ; 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

                            ; Axis Limits
                            M208 X0 Y0 Z0 S1 ; Set axis minima
                            M208 X230 Y254 Z200 S0 ; Set axis maxima

                            ; Endstops
                            M574 Z1 S0 ; Set active low endstops
                            M574 X2 Y2 S1 ; Set active high endstops

                            ; Z-Probe
                            M558 P1 H5 F120 T6000 ; Set Z probe type to unmodulated and the dive height + speeds
                            G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
                            M557 X15:215 Y15:239 S20 ; Define mesh grid

                            ; Heaters
                            M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                            M143 H0 S110 ; Set temperature limit for heater 0 to 110C
                            M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
                            M143 H1 S300 ; Set temperature limit for heater 1 to 300C

                            ; Fans
                            M106 P0 S0.6 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                            M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                            M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

                            ; 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

                            ; Automatic saving after power loss is not enabled

                            ; Custom settings are not configured

                            1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator
                              last edited by

                              @sleepless said in Your Duet rejected the HTTP request: page not found:

                              M558 P1

                              Have you tried with M558 P4?

                              P1 is not what you want here.

                              I think it might be a good idea to reduce the complexity of setup for the time being and just get things working with a simple endstop switch. Once things are working you can go back and see if it's worth getting more complex with the endstop switch as a z probe. Typically you'd only want to use an endstop as a z probe if the switch is mounted to the print head anyway so that you could probe multiple places on the bed. Since your switches for the z end stops are fixed to the x axis it really limits what you can do with them.

                              So here's what I would do, connect one of the Z axis endstops to the Z axis endstop connector. Then in your config.g comment out the M558, G31, and M557 commands with a semi colon. or delete them. Then change the endstop section to reflect your z axis endstop switch. Then change your homing files to use a G1 S1 Z move to endstop like the moves used for the X and Y axis, and remove the G30 probe command.

                              Does that make sense?

                              Are there 2 independant Z motors? Did the original Robo R1 use the 2 endstops to keep each side of the X axis gantry level and in sync? That functionality could be duplicated, if that's the case.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 0
                              • sleeplessundefined
                                sleepless
                                last edited by

                                @phaedrux said in Your Duet rejected the HTTP request: page not found:

                                Have you tried with M558 P4?

                                I have not
                                ill try that now. I had all endstops working before when I was connected to the z endstop but could get an autolevel

                                1 Reply Last reply Reply Quote 0
                                • sleeplessundefined
                                  sleepless
                                  last edited by

                                  there are 2 independent z motors. The endstops are connected as one

                                  1 Reply Last reply Reply Quote 0
                                  • sleeplessundefined
                                    sleepless
                                    last edited by

                                    @phaedrux said in Your Duet rejected the HTTP request: page not found:

                                    M558 P4

                                    ok now it triggers on the probe it goes from 1000 to 0
                                    but does trigger when I home the z

                                    1 Reply Last reply Reply Quote 0
                                    • sleeplessundefined
                                      sleepless
                                      last edited by

                                      Do I need to add this to the bed.g? or homeall.g?

                                      Bed probing file
                                      If you use mesh bed compensation (which is recommended in most cases) or no bed compensation, you can skip this section. This section is about using the older 3, 4 and 5 point bed compensation, using probe points defined in the bed.g file.

                                      The commands in bed.g are executed when you send the G32 command. So this file should contain your bed probing script. Here is a typical 5-point bed.g file for a printer with a 200 x 200mm bed:

                                      M561 ; clear any existing bed transform
                                      M401 ; deploy Z probe if necessary
                                      G30 P0 X10 Y10 Z-99999 ; define 4 points in a clockwise direction around the bed, starting near (0,0)
                                      G30 P1 X10 Y190 Z-99999
                                      G30 P2 X190 Y190 Z-99999
                                      G30 P3 X190 Y10 Z-99999
                                      G30 P4 X100 Y100 Z-99999 S0 ; finally probe bed centre, and calculate compensation
                                      M402 ; retract the Z probe
                                      G1 X0 Y0 F5000 ; move the head to the corner (optional)
                                      The Z-99999 parameter on each G30 command tells the firmware to probe at the given XY point and save the reading in the index given by the P command. The S0 parameter on the final G30 command tells the firmware to apply compensation based on the number of points probed (in this case, 5 points). The bed probe points must be in a clockwise order around the bed starting with the point nearest (0, 0) and when using 5-point probing the centre point must be last.

                                      You may include an H parameter on each G30 command, This is the value that needs to be added to the G31 Z parameter to get the trigger height at that position. This is to correct for Z probes whose trigger heights vary slightly with XY position.

                                      To use 4-point compensation, omit the final G30 command and put the S0 parameter on the G30 P3 command instead.

                                      To use manual compensation instead of a Z probe, replace the -99999 in each G30 command by the actual bed height error at that XY position.

                                      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                                      • T3P3Tonyundefined
                                        T3P3Tony administrators @sleepless
                                        last edited by

                                        @sleepless bed.g

                                        That is for bed compensation. which dows require a probe in the way it is setup which i believe the ROBO R1 does not have?

                                        To summarise you have two Z leadscrews/guides with a endstop on each one? Those endstops are used to level the X axis and also to adjust the Z height?

                                        Conceptually levelling the X axis is the same as levelling the bed on that plane.

                                        Are the Z endstops at the top or bottom of the the 2 Z guides?

                                        www.duet3d.com

                                        1 Reply Last reply Reply Quote 0
                                        • sleeplessundefined
                                          sleepless
                                          last edited by

                                          heres a pic https://help.robo3d.com/hc/article_attachments/115003728811/End-Stop.gif

                                          1 Reply Last reply Reply Quote 0
                                          • Phaedruxundefined
                                            Phaedrux Moderator
                                            last edited by

                                            When you say the endstops are connected as one, do you mean they go to a single endstop connector?

                                            Z-Bot CoreXY Build | Thingiverse Profile

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