Probing grid



  • I still haven't gotten my head around how the boundry's are sett in the probing grid, as to how thing corespond with eachother.

    A little preliminary info about my printer:

    Firmware 2.03RC4
    Physical boundaries on my printer is X: -8 to 338 Y:-21 to 323
    Build surface being X: 0 to 328 Y: 0 to 323
    My Z-probe offset is X: 38 and Y4

    If i set a probing grid to "M557 X5:300 Y5:323 S58" i get a error at each of the "last" probing points it should have done in the X axis saying it can't reach it. And thats X:295, why does it think it can't reach that? I can't wrap my head around this. šŸ¤”



  • @exerqtor said in Probing grid:

    M557 X5:300 Y5:323

    try
    M557 X38:300 Y5:319

    its complaining about the first point X5 which it cant reach because of the offset of 38



  • @veti said in Probing grid:

    M557 X38:300 Y5:319

    No it don't complain about the first point, its the last ones at X298 it whines about lol

    If i do that it will probe the first probe point 38mm in on the X axis, and that isn't much good?
    I want the bastard to probe as much as possible of the bed, like the pysical limitations of where the Probe can reach the bed is X0:300 Y0:319 so i want it to probe something like 5mm from the bed edge at max/min?



  • can you post your config.g



  • This post is deleted!


  • ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Tue May 21 2019 16:41:27 GMT+0200 (sentraleuropeisk sommertid)
    
    ; General preferences
    G90                                                                              ; Send absolute coordinates...
    M83                                                                              ; ...but relative extruder moves
    
    M667 S1                                                                          ; Select CoreXY mode
    
    ; Network
    M550 P"TronXY X5S"                                                               ; Set machine name
    M552 S1                                                                          ; Enable network
    ;M587 N/A
    M586 P0 S1                                                                       ; Enable HTTP
    M586 P1 S1                                                                       ; Enable FTP
    M586 P2 S0                                                                       ; Disable Telnet
    
    ; Drives & Movement
    M569 P0 S1                                                                       ; Physical drive 0 (X) goes forwards
    M569 P1 S1                                                                       ; Physical drive 1 (Y) goes forwards
    M569 P2 S0                                                                       ; Physical drive 2 (Z) goes backwards
    M569 P3 S0                                                                       ; Physical drive 3 (E0) goes backwards
    M569 P4 S1                                                                       ; Physical drive 4 (E1) goes forwards
    M569 P5 S1                                                                       ; Physical drive 5 (E2) goes forwards
    M584 X0 Y1 Z2 E3:4:5                                                             ; Drive remapping
    
    M906 X950.00 Y950.00 Z950.00 I10                                                 ; Set Axis motor currents (mA) and motor idle factor in percent
    M906 E950.00:950.00:950.00 I10                                                   ; Set Extruder motor currents (mA) and motor idle factor in percent
    M84 S1                                                                           ; Set idle timeout in seconds
    
    M350 X16 Y16 Z16 E16:16:16 I1                                                    ; Configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00                                                        ; Set Axis steps per mm
    M92 E135.90:135.90:135.90                                                        ; Set Extruder stepts pr mm
    
    ;Axis Acceleration
    M566 X960.00 Y960.00 Z120.00                                                     ; Set maximum instantaneous speed changes(jerk) (mm/min)
    M203 X18000.00 Y18000.00 Z800.00                                                 ; Set maximum speeds (mm/min)
    M201 X5000.00 Y5000.00 Z220.00                                                   ; Set accelerations (mm/sĀ²)
    
    ;Extruder Acceleration
    M566 E120.00:120.00:120.00                                                       ; Set maximum instantaneous speed changes(jerk) (mm/min)
    M203 E1500.00:1500.00:1500.00                                                    ; Set maximum speeds (mm/min)
    M201 E5000.00:5000.00:5000.00                                                    ; Set accelerations (mm/sĀ²)
    
    ; Axis Limits
    M208 X-8 Y-21 Z0 S1                                                              ; Set axis minimal
    M208 X328 Y323 Z390 S0                                                           ; Set axis maximal
    
    ; Endstops
    ;M574 X1 Y1 Z1 S0                                                                 ;***Set active low endstops (UTEN BLTouch)
    M574 X1 Y1 S0                                                                    ; Set active low and disabled endstops (MED BLTouch)
    
    ; Z-Probe (BLTouch)
    
    ;M558 P0 H5 F120 T6000                                                            ;***Disable Z probe but set dive height, probe speed and travel speed (UTEN BLTouch)
    ;M557 X15:313 Y15:313 S120                                                        ;***Define mesh grid (UTEN BLTouch)
    M574 Z1 S2                                                                       ; Set endstops controlled by probe
    M307 H7 A-1 C-1 D-1                                                              ; Disable heater on PWM channel for BLTouch
    M558 P9 H5 F600 T7200 S0.05 B1 R0.1 A5                                           ; Set Z probe type to BLTouch, dive height, probe speed, travel speed, allowed deviaton, disable bed heater, wait between probes and max allowed probes per point
    ;M558 H30                                                                         ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
    G31 P287 X-38 Y4 Z1.5                                                            ; Set Z probe trigger value, offset and trigger height
    M280 P7 S150                                                                     ; Set Logic voltage Free Zmin (3.3V)
    M557 X5:300 Y5:323 S45                                                           ; Define mesh grid, probing points X8/Y9 72 total
    
    ; Heaters
    M307 H0 B0 S1.00                                                                 ; Disable bang-bang mode for the bed heater and set PWM limit
    M305 P0 T100000 B4138 R4700                                                      ; Set thermistor + ADC parameters for heater 0 (heated bed)
    M143 H0 S120                                                                     ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700                                                      ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280                                                                     ; Set temperature limit for heater 1 to 280C
    
    ; 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 T45:65 H100:101:102                                                      ; Set fan 2 value, Electronics cooling, starts to turn on when the MCU temperature (H100) reaches 45C and reaches full speed when the MCU temperature reaches 65C or if any TMC2660 drivers (H101 & H102) report that they are over-temperature. Thermostatic control is turned on   
    
    ; Tools
    M563 P0 S"Right" 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
    M563 P1 S"Left" D1 H1                                                            ; Define tool 1
    G10 P1 X0 Y0 Z0                                                                  ; Set tool 1 axis offsets
    G10 P1 R0 S0                                                                     ; Set initial tool 1 active and standby temperatures to 0C
    M563 P2 S"Center" D2 H1                                                          ; Define tool 2
    G10 P2 X0 Y0 Z0                                                                  ; Set tool 2 axis offsets
    G10 P2 R0 S0                                                                     ; Set initial tool 2 active and standby temperatures to 0C
    
    ; Filament Sensors
    M591 D0 P1 C3 S0                                                                 ; Extruder 0 simple filament sensor on endstop 3, disabled, output low when no filament
    M591 D1 P1 C4 S0                                                                 ; Extruder 1 simple filament sensor on endstop 4, disabled, output low when no filament
    M591 D2 P1 C5 S0                                                                 ; Extruder 2 simple filament sensor on endstop 5, disabled, output low when no filament
    
    ; Automatic power saving
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z1 E-2 F1000"                               ; Set voltage thresholds and actions to run on power loss
    
    ; Custom settings
    
    
    ; Miscellaneous
    M912 P0 S-2.9                                                                    ; MCU temp calibration parameters.
    M501                                                                             ; Load saved parameters from non-volatile memory
    

    I've been manually inputting the M557 trying to determine the max boundaries so the one in the config.g isn't representative šŸ·



  • @exerqtor said in Probing grid:

    M208 X328 Y323 Z390 S0 ; Set axis maximal

    328 - 38 = 290



  • Haha, i just meassured the Z-probe offset again, and it's time for me to take a break or somehting.

    The correct offeset it X38 Y-1.2 šŸ˜† Think it's beer-o'clock now.

    And i've put M208 to X338 in the printer btw, forgot to say that later.

    But i think i read somewhere in the Dozuki that probing points is allowed outside the max/min?



  • Ok so now i srsly can't understand carp.

    I've reconfigrued the config.g to this:

    M574 Z1 S2                             ; Set endstops controlled by probe
    M307 H7 A-1 C-1 D-1                    ; Disable heater on PWM channel for BLTouch
    M558 P9 H5 F600 T7200 S0.05 B1 R0.1 A5 ; Set Z probe type to BLTouch, dive height,
    G31 P287 X38.2 Y-1.2 Z1.5              ; Set Z probe trigger value, offset and trigger height
    M280 P7 S150                           ; Set Logic voltage Free Zmin (3.3V)
    M557 X43:338 Y4:323 S45                ; Define probing grid
    

    And what happens now when the printer is homed on all axis is that the probe moves so slow to the first probing spot that the bed catches up and it rams the printhead.

    If i first home all axis, send Z to 390 and then issue G29 the bed hotend/probe just snailpace out and the bed catches up with it. So i have to do an Emergency stop.

    Then i tried homing all axis, move the probe/printhad to X43 Y 4. With the bed at Z 380, and when i issue G29 it start snailpacing the printhead backwards to home position while the bed meets up??

    Like i initialy said, i can't understand how this is meant to work at this point.



  • post your homeall.g



  • @veti said in Probing grid:

    post your homeall.g

    I updated the previous post just 1 second after your reply btw!

    Here is my homeall.g

    G91                     ; Relative positioning
    G1 Z3 F2000 S2          ; Lower Z(bed) 3mm relative to current position
    G1 S1 X-341 Y-354 F3000 ; Move quickly to X or Y endstop and stop there (first pass/coarse home)
    G1 S1 X-341             ; Home X axis
    G1 S1 Y-354             ; Home Y axis
    G1 X5 Y5 F2000          ; Go back a few mm
    G1 S1 X-341 F360        ; Move slowly to X axis endstop once more (second pass/fine home)
    G1 S1 Y-354             ; Then move slowly to Y axis endstop (second pass/fine home)
    G90                     ; Absolute positioning
    G1 X44 Y5 F3500         ; Go to first bed probe point and home Z
    G30                     ; Home Z by probing the bed
    G1 S1 X-341             ; Home X axis
    G1 S1 Y-354             ; Home Y axis
    G90                     ; Absolute positioning
    G1 Z5 F6000             ; Lower Z(bed) 5mm from Nozzle
    

    When i'm sitting here pulling my hair out i start thinking, i haven't got the X/Y offset inverted?

    Like it should be G31 P287 X-38.2 Y1.2 Z1.5 ??

    The probe is to closer to X0 than the nozzle and farther away from Y0 than the nozzle.



  • @exerqtor said in Probing grid:

    Like it should be G31 P287 X-38.2 Y1.2 Z1.5 ??

    - if to the left of hotend + to the right

    also in your homing script you dont need anything after G30



  • @veti

    Yeah then X-38.2 and Y1.2 should be correct shouldn't it?

    If i want to move the printhead away from the printhead after homing Z i do have to have something after G30. Which i do šŸ˜›



  • @exerqtor said in Probing grid:

    Yeah then X-38.2 and Y1.2 should be correct shouldn't it?

    kind of hard to tell without a picture.



  • Have to do that tomorrow, if i don't walk away from the printer now shit might start hitting the
    fan.

    But, to put it this way: When i move the printer to X43.2 Y3.8 the probe is 5mm from the edge in both directions.



  • Refering to the G31 section in the Dozuki:

    "X and Y offsets of the Z probe relative to the print head (i.e. the position when the empty tool is selected) can be specified. This allows you to calculate your probe coordinates based on the geometry of the bed, without having to correct them for Z probe X and Y offset.".

    If i understand correct this means that with the G31 setup correct and the printer have room for the movement, that the firmware will compensate for the z-probe offset. Right?

    So if i put X5 Y5 in the M557 first PROBE spot ie. the PROBE position, not the nozzle wil be 5:5? In that case it must be a bug somewhere, because thats not my printers doing at all.



  • I'm not exactly sure how it's supposed to work but for my grid I choose the x y coordinates of where the probe can reach, not the nozzle.



  • @phaedrux
    Yeah i have no problem with that being the way it should work either, but if i define x43.2:305.2 Y3.8:321.8 in M557 it still don't move hotend to that spot before it starts the probing (like i mention farther up it just moves in a snailspace outwards and the bed crashes in the hotend).

    So somethings either bugged in the firmware, or i have an error or something conflicting in my codes somewhere šŸ¤®



  • That's definitely odd sounding behavior for the mesh compensation. How are you starting the g29?
    If you switch back to 2.02 does it behave the same ?


  • administrators

    @exerqtor said in Probing grid:

    But i think i read somewhere in the Dozuki that probing points is allowed outside the max/min?

    Probing using G30 commands (for example, in bed.g for delta calibration or true bed levelling) outside the area defined by M208 is allowed. Grid probing is constrained to keep the head reference point within the M208 area.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.