Homing Which one do I need



  • I'm stuck on the homing part and need some clarification because more I read more I get confushed.

    First if I have a Homeall do I needa a HomeY and HomeX

    I had set up my HomeX and Y the my homeZ and all seem well I tried to do a Z probe for my mesh the first time
    it worked but now when ever I try it says there is Insufficient axes homed for bed probing even if in the web control they are homed.

    So I checked my Homeall following the Configuring RepRapFirmware for a CoreXY printer now they give this example
    G91 ; relative mode
    G1 S1 X-240 Y-240 F3000 ; course home X or Y
    G1 S1 X-240 ; course home X
    G1 S1 Y-240 ; course home Y
    G1 X4 Y4 F600 ; move away from the endstops
    G1 S1 X-10 ; fine home X
    G1 S1 Y-10 ; fine home Y

    I have this which was generated by the Reprap configurator
    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool on Sun Dec 17 2017 22:06:48 GMT+0100 (ora solare Europa occidentale)
    G91 ; relative positioning
    G1 Z5 F6000 ; lift Z relative to current position
    G1 S1 X410 Y430 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
    G1 X5 Y-5 F6000 ; go back a few mm
    G1 S1 X410 Y430 F360 ; move slowly to X and Y axis endstops once more (second pass)
    G90 ; absolute positioning
    G1 X15 Y15 F6000 ; go to first bed probe point and home Z
    G30 ; home Z by probing the bed
    ;G1 Z5 F100 ; uncomment this line to lift the nozzle after homing

    When I tried a Auto Bed Compensation it almost drove my heatbed through my hotend luckly I was ready with Emergency Stop.

    Thanks for any help. I'm so close to start a print yet so far away.


  • administrators

    The CoreXY example that you show first has only the X and Y parts of homeall.g. You need to add the Z part at the end.

    The file you show that was generated by configtool is for a Cartesian printer, not a CoreXY. Please go back to configtool and select CoreXY this time.



  • My problem is after a G28 it homes all axes, but when I run G29 the carriage moves to far and the IR Probe is not over the bed anymore.
    My homing seems to be working ok but I can not find where the data for the G29 is,

    Running G32 to auto calibrate a delta printer will clear the local height map info (but not the copy in heightmap.csv). Therefore, if you wish to use both auto calibration and mesh bed compensation, you must run G32 before you run G29, not after. You can include a G29 command at the end of your bed.g file if you wish.

    So here I define the area and then do G29 or do I use M557?

    Tried again different things even set the G31 X15 Y15 so the probe was over the bed like when is does Z home. gave the G29 and it ran the plate into the nozzle.
    strange is that the IR probe did not stop or turn on the led.

    This is driving me crazy, I'll call it a day.


  • administrators

    1. I am confused. You talked about CoreXY but showed a homing file for a Cartesian printer; now you are talking about a delta. What type of printer do you have?

    2. The X and Y probe offsets from the nozzle must be specified in the G31 command.

    3. Use M557 to define the area of the bed that you want to probe with G29 Make sure that the limits you specify in M557 are within the bed, and not too close to the edges.

    4. If you upgraded your firmware to 1.19 or 1.20 form an earlier version, delete any deployprobe.g and retractprobe.g files that there may be in the /sys folder on the SD card.



  • @dc42:

    1. I am confused. You talked about CoreXY but showed a homing file for a Cartesian printer; now you are talking about a delta. What type of printer do you have?

    I have an CoreXY, In my first post I was showing a link in another post when trying to figure things out. just forget that part.
    My Home X Home Y and Home Z work fine one by one If I do a Home all I get ok in the Web Controller but in the console I get
    G28
    Error: G30: Insufficient axes homed for bed probing even if Home XYZ are all blue.

    Home Y
    G91 ; relative positioning
    G1 Z5 F6000 ; lift Z relative to current position
    G1 S1 Y410 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y-5 F6000 ; go back a few mm
    G1 S1 Y410 F360 ; move slowly to Y axis endstop once more (second pass)
    G1 Z-5 F6000 ; lower Z again
    G90 ; absolute positioning

    Home X
    G91 ; relative positioning
    G1 Z5 F6000 ; lift Z relative to current position
    G1 S1 X410 F1800 ; move quickly to X axis endstop and stop there (first pass)
    G1 X-5 F6000 ; go back a few mm
    G1 S1 X410 F360 ; move slowly to X axis endstop once more (second pass)
    G1 Z-5 F6000 ; lower Z again
    G90 ; absolute positioning

    Home Z
    G91 ; relative positioning
    G1 Z5 F6000 ; lift Z relative to current position
    G90 ; absolute positioning
    G1 X15 Y15 F6000 ; go to first probe point
    G30 ; home Z by probing the bed

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning

    Home ALL not Z
    G91 ; relative positioning
    G1 Z5 F6000 ; lift Z relative to current position
    G1 S1 X410 Y410 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
    G1 X5 Y-5 F6000 ; go back a few mm
    G1 S1 X410 Y410 F360 ; move slowly to X and Y axis endstops once more (second pass)
    G90 ; absolute positioning
    G1 X15 Y15 F6000 ; go to first bed probe point and home Z
    G30 ; home Z by probing the bed
    ;G1 Z5 F100 ; uncomment this line to lift the nozzle after homing

    Bed
    ; Clear any bed transform
    M561
    ; Probe the bed at 4 points
    G30 P0 X20 Y205 H0 Z-99999
    G30 P1 X20 Y385 H0 Z-99999
    G30 P2 X385 Y385 H0 Z-99999
    G30 P3 X385 Y20 H0 Z-99999 S

    in config I just say this could the part in bolb be wrong?
    M208 X399 Y360 Z400 ; set axis maxima (adjust to suit your machine)
    M208 X-3 Y0 Z-1 S1 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)

    2. The X and Y probe offsets from the nozzle must be specified in the G31 command.

    ;*** If you are using axis compensation, put the figures in the following command
    M556 S78 X0 Y0 Z0 ; Axis compensation here

    ; Z probe
    M558 P1 R1.0 H10 F700 T1500 X0 Y0 Z0 ;digital piezo sensor, output falls on contact, probing speed, not used to home axes
    G31 Z2 P539 ;sensor is nozzle and debounce value. Got this value following a guide always following a link in the forum.

    3. Use M557 to define the area of the bed that you want to probe with G29 Make sure that the limits you specify in M557 are within the bed, and not too close to the edges.

    ;Mesh Levelling
    M557 X20:260 Y15:145 S25 ;define mesh
    M376 H10 ;taper off after 10mm
    G29 S1 ;load mesh

    4. If you upgraded your firmware to 1.19 or 1.20 form an earlier version, delete any deployprobe.g and retractprobe.g files that there may be in the /sys folder on the SD card.

    Have none.

    Thanks for being patience.
    Steve


  • administrators

    If your X and Y homing files are working, then you evidently have both the X and Y endstop switches at the max ends of the axes. So your homeall.g file should look like something this:

    G91 ; relative positioning
    G1 Z5 F6000 ; lift Z relative to current position
    G1 S1 X410 Y410 F1800 ; home X or Y quickly
    G1 S1 X410 F1800 ; home X quickly
    G1 S1 Y410 F1800 ; home Y quickly
    G1 X-5 Y-5 F6000 ; go back a few mm
    G1 S1 X10 F360 ; home X slowly
    G1 S1 Y10 F360 ; home Y slowly
    G90 ; absolute positioning
    G1 X15 Y15 F6000 ; go to first probe point
    G30 ; home Z by probing the bed



  • @dc42:

    If your X and Y homing files are working, then you evidently have both the X and Y endstop switches at the max ends of the axes. So your homeall.g file should look like something this:

    G91 ; relative positioning
    G1 Z5 F6000 ; lift Z relative to current position
    G1 S1 X410 Y410 F1800 ; home X or Y quickly
    G1 S1 X410 F1800 ; home X quickly
    G1 S1 Y410 F1800 ; home Y quickly
    G1 X-5 Y-5 F6000 ; go back a few mm
    G1 S1 X10 F360 ; home X slowly
    G1 S1 Y10 F360 ; home Y slowly
    G90 ; absolute positioning
    G1 X15 Y15 F6000 ; go to first probe point
    G30 ; home Z by probing the bed

    Above by mistake I called it Home Z again I corrected it.

    only difference is I have
    G1 X5 Y-5 F6000 ; go back a few mm X is 5 and not -5.

    Does this cause the errore
    G28
    Error: G30: Insufficient axes homed for bed probing.?


  • administrators

    If you look more carefully you will see that it is not the only difference. As I said before, you are using a homeall.g file for a Cartesian printer, not a CoreXY.



  • Sorry I feel like a j..a.. thats what you get when you do things tired.

    Working now thanks for the help.


Locked
 

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