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

    <solved>M557 grid parameters not being followed.

    Scheduled Pinned Locked Moved
    General Discussion
    2
    5
    299
    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.
    • RyanPundefined
      RyanP
      last edited by RyanP

      I have just switched both my CR10S and my Ender 5 Plus over to independent steppers using E1. I have gotten both set up, and able to properly do the G32 command. Now I want to proceed to complete mesh bed compensation. It works perfectly on my CR10S. The M557 command is correctly applied

      CR10S:

      ; Z-Probe
      M307 H3 A-1 C-1 D-1                       ; disable heater on PWM channel 3 for BLTouch
      M558 P9 H1.5 F180 T24000 A10 S0.003 B1 R0.5   ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X-41.8 Y-24 Z0.73	           ; set Z probe trigger value, offset and trigger height
      M557 X15:255 S60 Y10:280 S90            ; define mesh grid
      

      So when I got through the (almost) exact same setup on my Ender 5 PLus, the system (DWC) ignores the M557 parameters. It worked perfectly yesterday. But since I switched to separate z-steppers, it is not following the grid I have requested. Im requesting a starting grid point of X45 Y30. This accommodates both offsets from the corner origin.

      But regardless of what is in my config.g, nor if I input that exact into into the drop down menu in DWC, nor if I send the exact line of gcode. The first point is X3.2 Y6.

      Ender 5 PLus:

      ; Z-Probe
      M307 H3 A-1 C-1 D-1                       ; disable heater on PWM channel 3 for BLTouch
      M558 P9 H1.5 F180 T24000 A10 S0.003 B1 R0.5   ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X41.8 Y24 Z1.036	           ; set Z probe trigger value, offset and trigger height
      M557 X45:350 S61 Y30:350 S64             ; define mesh grid
      

      Here is the total config G for my Ender 5 Plus:

      ; 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 Fri Apr 17 2020 15:50:42 GMT-0400 (Eastern Daylight Time)
      
      
      ; General preferences
      G90                                      ; send absolute coordinates...
      M83                                      ; ...but relative extruder moves
      M550 P"Ender5 Plus - 3DimensionGames"    ; set printer name
      M564 H0
      
      
      ; Network
      M552 S1                                  ; enable network
      M586 P0 S1                               ; enable HTTP
      M586 P1 S0                               ; disable FTP
      M586 P2 S0                               ; disable Telnet
      
      ; Drives
      M569 P0 S1                               ; Forwards
      M569 P1 S1                               ; Forwards
      M569 P2 S0                               ; Backwards
      M569 P3 S0                               ; Backwards
      M569 P4 S0								;backwards
      M584 X0 Y1 Z2:4 E3 U4 P3                        ; set drive mapping
      M671 X-20:370 Y0:0 S0.5				; leadscrew locations
      M350 X16 Y16 Z16 U16 E16 I1                  ; configure microstepping with interpolation
      M92 X80.70 Y80.60 Z801 U801 E399.84         ; set steps per mm
      M566 X900 Y900 Z30 U30 E3000                            	; Jerk mm/min
      M203 X15000 Y15000 Z300 U300 E15000                        	; Max Speeds (mm/min)
      M201 X6000 Y6000 Z30 U30 E8000                         	; Max Accell (mm/s^2)
      M204 P800 T3000					; Set printing and travel accelerations
      M906 X1000 Y1000 Z800 U800 E1000 I50            ; 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 X360 Y340 Z400 S0                   ; set axis maxima
      
      ; Endstops
      M574 X1 Y1 S1                        ; set active high endstops
      M574 Z1 U1 E1 S2                           ; set endstops controlled by probe
      
      ; Z-Probe
      M307 H3 A-1 C-1 D-1                       ; disable heater on PWM channel 3 for BLTouch
      M558 P9 H1.5 F180 T24000 A10 S0.003 B1 R0.5   ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X41.8 Y24 Z1.036	           ; set Z probe trigger value, offset and trigger height
      M557 X45:350 S61 Y30:350 S64             ; define mesh grid
      
      ; Heaters
      M307 H0 B0 S1.00                         ; disable bang-bang mode for the bed heater and set PWM limit
      M305 P0 T100000 B4092 R4700              ; set thermistor + ADC parameters for heater 0
      M143 H0 S100                             ; set temperature limit for heater 0 to 100C
      M305 P1 T100000 B4725 C7.060000e-8 R4700 ; set thermistor + ADC parameters for heater 1
      M143 H1 S275                             ; set temperature limit for heater 1 to 275C
      
      ; 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 T45                 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
      M106 P2 S1 I0 F500 H1 T45                 ; 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 are not configured
      M501
      ;M572 D0 S0.3; set K-factor
      

      BTW, I just updated to firmware 2.05.1 on both machines.

      What am I missing?

      CR10S, August 2018
      Anycubic Photon S December 2019
      Ender 5 Feb 2020
      Ender 5 Plus May 2020
      Anycubic Photon Mono X Nov 2020
      ~
      https://3dimensiongames.com/

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

        @RyanP said in M557 grid parameters not being followed.:

        G31 P500 X-41.8 Y-24

        G31 P500 X41.8 Y24

        I don't know if this is related or not, but you have the same numbers but the signs are reversed. Is the probe actually placed inexactly the same distance just reversed?

        @RyanP said in M557 grid parameters not being followed.:

        The first point is X3.2 Y6.

        It also seems telling that your first point is exactly the distance of your offset minus the X Y minima for the grid.

        You say you're running G32, what do you have in the bed.g?

        Z-Bot CoreXY Build | Thingiverse Profile

        RyanPundefined 1 Reply Last reply Reply Quote 0
        • RyanPundefined
          RyanP @Phaedrux
          last edited by

          @Phaedrux said in M557 grid parameters not being followed.:

          @RyanP said in M557 grid parameters not being followed.:

          G31 P500 X-41.8 Y-24

          G31 P500 X41.8 Y24

          I don't know if this is related or not, but you have the same numbers but the signs are reversed. Is the probe actually placed inexactly the same distance just reversed?

          @RyanP said in M557 grid parameters not being followed.:

          The first point is X3.2 Y6.

          It also seems telling that your first point is exactly the distance of your offset minus the X Y minima for the grid.

          You say you're running G32, what do you have in the bed.g?

          I have the same offsets but reversed because I am using the same mount for both printers, and the BL Touch is in the exact position. Only difference is where the 0,0 origin is. On the CR10S it is on the front left, and the Ender 5 Plus it is on the back right. thats why they are reversed. The probes relation to the nozzle is literally flipped.

          As for my bed.g

          M561 				; clear any bed transform
          G29 S2				; Clear bed height map
          ; Probe 2-points
          M401 				; Deploy probe - deployprobe.g
          G30 P0 X45 Y175 Z-9999 		; Center Left
          G30 P1 X345 Y175 Z-9999 S2 	; Center Right
          M402 				; Retract Probe - retractprobe.g
          

          CR10S, August 2018
          Anycubic Photon S December 2019
          Ender 5 Feb 2020
          Ender 5 Plus May 2020
          Anycubic Photon Mono X Nov 2020
          ~
          https://3dimensiongames.com/

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

            That makes sense. I'll have to take a closer look tomorrow.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • RyanPundefined
              RyanP
              last edited by

              Dumb oversight. I have been using the same parameters for the probe offset, but completely ignored the fact that I just changed this printer from a Microswiss hotend to and E3D Volcano. Y offset was not correct.

              CR10S, August 2018
              Anycubic Photon S December 2019
              Ender 5 Feb 2020
              Ender 5 Plus May 2020
              Anycubic Photon Mono X Nov 2020
              ~
              https://3dimensiongames.com/

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