Mini height sensor



  • have everything working with the Mini height sensor board using the David Crocker's Solutions blog,
    but once get to< Then send command G30 S-1 to probe the bed at that point without adjusting the Z height setting.>
    then my x goes to far end away from my x home sensor hitting corner reads than y moves and skips a bit and seems everything goes wrong.
    i have my x home sensor on high end if thats whats causing this,

    ; Endstops
    M574 Y1 Z0 S0 ; Define active low and unused microswitches
    M574 X2 S1 ; Define active high microswitches
    M558 P2 X0 Y0 Z1 H5 F120 T6000 ; Set Z probe type to modulated, the axes for which it is used and the probe + travel speeds
    G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
    M557 X15:185 Y15:185 S20 ; Define mesh grid


  • administrators



  • ; homez.g
    ; called to home the Z axis
    ;

    G91 ; relative mode
    G1 Z4 F200 ; raise head 4mm to ensure it is above the Z probe trigger height
    G90 ; back to absolute mode
    G1 X100 Y100 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

    after centers in the middle, ware it should home it keeps taking off to outside x corner than trying to home



  • ; Probe deployment routine for Mini Kossel
    M564 S0 ; don't apply limits
    G1 X25 Y93 Z40 F10000 ; put probe arm next to belt
    G1 X-5 F500 ; move probe arm across belt
    G1 X12 F1000 ; move probe back
    G1 X0 Y0 F10000 ; move to somewhere sensible
    M564 S1 ; apply limits again

    is it in these settings making it do that,, i want it to use x switch but on highend not low end

    do i need that file, i erased this file and now tries homing in middle like directions say should


  • administrators

    As explained in the link I posted, you need to delete the deployprobe and retractprobe.g files from your SD card. You can do this from the web interface System Files Editor. Those are sample files that shipped on the SD card with firmware 1.18 and earlier.



  • have mosly working now exept after reboots wene have to home z the red light is flashing and reading but keeps going into bed to deep.

    ; Endstops
    M574 Y1 S0 ; Define active low and unused microswitches
    M574 X2 S1 ; Define active high microswitches
    M558 P2 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to modulated, the axes for which it is used and the probe + travel speeds
    G31 P600 X0 Y0 Z2.26 ; Set Z probe trigger value, offset and trigger height
    M557 X15:185 Y15:185 S20 ; Define mesh grid

    ; homez.g
    ; called to home the Z axis
    G91 ; relative mode
    G1 Z4 F200 ; raise head 4mm to ensure it is above the Z probe trigger height
    G90 ; back to absolute mode
    G1 X100 Y100 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
    ; Drives



  • M558 P2 should be P1 with the IR sensor, shouldn't it?



  • changed p2 to p1 and no difrance


  • administrators

    Please follow the commissioning instructions precisely, the section headed "Testing with Duet electronics". Your M558 P parameter was wrong, and so is your G31 P parameter.



  • did all of that and tested good if mean the paper test and numbers changing 400s to 500s, its working and can calabrate it and works right reading the bed and setting the g31 command.
    but any time i have to rehome z it dosnt stop on time even after lights up


  • administrators

    Have you corrected the P parameter in the G31 command your config.g file yet?



  • G31 P600 X0 Y0 Z2.26 ; Set Z probe trigger value, offset and trigger height
    M557 X15:185 Y15:185 S20 ; Define mesh grid

    ya changed the z to 2.26 if that was right place

    i thought somthing in hear should state that or be changed to match, or do i get rid of this file also
    ; homez.g
    ; called to home the Z axis
    G91 ; relative mode
    G1 Z4 F200 ; raise head 4mm to ensure it is above the Z probe trigger height
    G90 ; back to absolute mode
    G1 X100 Y100 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



  • https://miscsolutions.wordpress.com/mini-height-sensor-board/

    Testing with Duet electronics

    Very first line.

    In your config.g file, use probe type P1 in your M558 command and trigger threshold P500 in your G31 command.



  • k working thank you

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X200 Y200 Z200 S0 ; Set axis maxima


Locked
 

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