mechanical z probe and BLtouch



  • Hi,
    I am looking to use a mechanical end stop for homing, this would be in a fixed position just to find a stable Z Min and BLTouch as the probe i.e. bed leveling and compensation.

    How would i set up the code for this setup:

    M574 X1 Y1 Z1 S1;
    M574 E0 Z1 S2;
    M558 P4 X0 Y0 Z1 E0 H10 I1 F80 T6000 ; for inductive sensor, Set Z probe type to switch, the axes for which it is used and the dive height + speeds
    M557 X0:170 Y13:180 S25; Define mesh grid
    G31 P1000 X0 Y0 Z0; Set Z probe trigger

    Would it work, with the setup above.



  • so far i managed to get the z axis to stop with the endstop however the bltouch still activates:

    M574 X1 Y1 Z1 S1;
    M574 E0 S0 ;
    M307 H3 A-1 C-1 D-1 ;Disable heater
    M558 P4 X0 Y0 Z1 H3 F50 I1 T6000 ;Set Z probe type to switch, the axes for which it is used and the dive height + speeds
    G31 P1 X0 Y0 Z1.90;X25 Y22.5
    M557 X0:170 Y13:180 S25; Define mesh grid

    I know all the BLtouch moves work as needed

    T0 ; select first hot end
    G91 ; Relative coordinates
    G1 Z5 F200 ; Lower bed.
    G4 P500 ; Dwell for 500ms - to ensure bed is down
    G90 ; Absolute positioning
    G1 X10 Y15 F300 ; Go to first bed probe point and home the Z axis
    G1 Z5 F200 ; Lower bed.
    G1 Z-300 F100 S1 ; move Z down until the switch triggers
    M208 S1 Z-2.3
    G92 Z2.15; ABS. higher g92 means that 0 is lower down on the z axis

    When i type the G30 S-1 Command the following error occurs:
    Error: Z probe was not triggered during probing move
    The Bltouch is plugged into the probe connector rather than E0 STP connector


  • administrators

    @npm1 said in mechanical z probe and BLtouch:

    Hi,
    I am looking to use a mechanical end stop for homing, this would be in a fixed position just to find a stable Z Min and BLTouch as the probe i.e. bed leveling and compensation.

    How would i set up the code for this setup:

    M574 X1 Y1 Z1 S1;
    M574 E0 Z1 S2;
    M558 P4 X0 Y0 Z1 E0 H10 I1 F80 T6000 ; for inductive sensor, Set Z probe type to switch, the axes for which it is used and the dive height + speeds
    M557 X0:170 Y13:180 S25; Define mesh grid
    G31 P1000 X0 Y0 Z0; Set Z probe trigger

    Would it work, with the setup above.

    1. Remove the second M574 command. You don't need a M574 command for a Z probe, unless the Z probe doubles up as the X or Y endstop switch.

    2. Your bltouch is incorrectly wired and configured. see the wiki page on connecting a Z probe.



  • @dc42 so the:
    M574 X1 Y1 Z1 S1;
    Do i need to define E0 plugging in the E0 STP pins or can I use the probe connector.

    Should that matter?

    I.e. the second one M574 would be used as:
    M574 E0 S2;

    Or should I omit that 2nd M574 command and define when/call the probe is being used i.e. in the bed.g (G32) and G29 Macro. Especially since this probe aint used as the endstop for the Z axis.

    In the Homez.g use:
    G1 to send the z axis towards the bed

    Kind regards
    And thnks for ur time


  • administrators

    M574 commands do not apply to extruder endstop inputs. They used to, but that was many firmware versions ago.

    The wiring instructions for bltouch in the wiki tell you to use the probe connector.



  • @dc42 thnks 4ur time


Locked
 

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