How to stop the printer when using the Autolevel to manually calibrate the table

edited December 2017 in Repetier-Firmware
My printer does not have any auto-level sensor. But I would like to simplify the procedure for adjusting the plane of the table without having a sensor.
The printer itself on CoreXY and the table goes down. DUE 32-bit.
I'm trying to do this as follows:
In the firmware configurator on the site (version 1.0.0dev) in the section "Z-Probing"
I set up the "Z-probe pin" to "Z min endstop". (Z max I do not have)
"Probe height" = 0 so that in each of the three configured points, when the nozzle comes close to the table and the "Z min endstop" sensor is triggered, I would be able to slightly twist the position of the table and press it to the nozzle, manually setting the minimum gap.
And so take turns at each of the three points.
That is, it's certainly not a auto-level, but it's so much easier and faster to send the printer automatically to 3 points and manually align the table.
But there is a problem. It is necessary for the printer to stop at the end position when the "Z min endstop" is triggered so that I have time to align the table at each point. And now, after the "Z min endstop" is triggered, the printer immediately lowers the table, and then goes to the next point.
QUESTION. How to make the printer stop after the sensor has triggered and waited for the command to press the display encoder (Digital PIN 35).
That is, I run the auto-level from the menu, I wait for the printer to come to the first point and stop, I align the table manually, I click on the display encoder, the printer goes to the second point, etc.
Help me please.

Comments

  • edited December 2017
    You could also setup a script using the Z-min. I did it on my CoreXY and it works fine. I don't have a Z- probe on it.
    Here is my script. It homes, drops Z15, goes to the each point in the back , waiting 10 seconds at each, moving to the other, then back. Then moves to front center. It should give you time to adjust. You can set coordinates as needed.
    My print dimensions are X 200, Y 200.
    I put this under script 1 in config - printer settings - scripts . 
    I named this:

    Bed LEVEL 3 Points

    g28 f5000
    g1 z15
    g1 x10 y190 f5000
    g28 z
    g4 p10000
    g1 z15
    g1 x190 y190 f5000
    g28 z
    g4 p10000
    g1 z15
    g1 x10 y190 f5000
    g28 z
    g4 p5000
    g1 z15
    g1 x190 y190 f5000
    g28 z
    g4 p5000
    g1 z15
    g1 x100 y10 f5000
    g28 z
    g4 p10000
    g1 z15
    g1  y100  f5000
    g4 p5000

    Be aware you should be really,really close BEFORE you run this so you don't smash/break anything!

    Just a suggestion...
  • edited December 2017
    Roko said:
    You could also setup a script using the Z-min. I did it on my CoreXY and it works fine. I don't have a Z- probe on it.
    Here is my script. It homes, drops Z15, goes to the each point in the back , waiting 10 seconds at each, moving to the other, then back. Then moves to front center. It should give you time to adjust. You can set coordinates as needed.
    My print dimensions are X 200, Y 200.
    I put this under script 1 in config - printer settings - scripts . 
    I named this:

    Bed LEVEL 3 Points

    g28 f5000
    g1 z15
    g1 x10 y190 f5000
    g28 z
    g4 p10000
    g1 z15
    g1 x190 y190 f5000
    g28 z
    g4 p10000
    g1 z15
    g1 x10 y190 f5000
    g28 z
    g4 p5000
    g1 z15
    g1 x190 y190 f5000
    g28 z
    g4 p5000
    g1 z15
    g1 x100 y10 f5000
    g28 z
    g4 p10000
    g1 z15
    g1  y100  f5000
    g4 p5000

    Be aware you should be really,really close BEFORE you run this so you don't smash/break anything!

    Just a suggestion...
    Thank you! Your path is one of the options, as it can be implemented, also some separate the script into 3 parts and assign it to 3 different buttons in the Repetier-Host. But I would like to do this through firmware and manage directly from the display, for example, when offline printing without a computer.
    So the question remains open, need more help.
  • edited December 2017
    You are welcome
    Another possibility - run it from an sd card?

  • Roko said:
    You are welcome
    Another possibility - run it from an sd card?

    This is a good idea, but still has more actions than if it were pre-configured in the firmware and the necessary code sequence would be called from the menu. I want to understand how to configure this in the firmware.
  • Roko said:
    You are welcome
    Another possibility - run it from an sd card?

    By the way, if you run the script from the Repetier-Host, then instead of the delay on G4, you can put the @pause command. Then you will not need to wait 10 seconds, and you can click on the continuation when necessary.
    But my main question remains open.
  • For your solution you need to rewrite in BedLeveling.cpp the 

    runZProbe function.

    Add a wait loop for a pin switch when it is at trigger point for your wait.

Sign In or Register to comment.