Release 3.01-RC10
-
@Leblond said in Release 3.01-RC10:
@sebkritikel there was a small error, so it works:
; homeall.g
G91; relative positioning
G1 H2 Z5 F6000; lift Z relative to current position
; M913 X50 Y50; Reduce the current to 50%
G1 H1 X-9999 F4000
G1 H1 Y-9999; move quickly to X or Y endstop and stop there (first pass)
G1 X5 Y5 F2000; go back a few mm
G1 H1 X-9999 F360
G1 H1 Y-9999; move slowly to X axis endstop once more (second pass)
G90; absolute positioning
G1 X60 Y50 F9000; go to first bed probe point and home Z
; M913 X100 Y100: Returns the current to 100%
G30; home Z by probing the bedChange something for you?
I think I made a mistake. I am not a CoreXY expert Sorry!
So does:
; homeall.g
G91; relative positioning
G1 H2 Z5 F6000; lift Z relative to current position
; M913 X50 Y50; Reduce the current to 50%
G1 H1 X-9999 F4000
G1 H1 Y-9999; move quickly to X or Y endstop and stop there (first pass)
G1 X5 Y5 F2000; go back a few mm
G1 H1 X-9999 F360
G1 H1 Y-9999; move slowly to X axis endstop once more (second pass)
G90; absolute positioning
G1 X60 Y50 F9000; go to first bed probe point and home Z
; M913 X100 Y100: Returns the current to 100%
G30; home Z by probing the bedWork ok?
-
@sebkritikel quello che ho corretto io funziona bene
ho provato e l'estrusore funziona bene -
@sebkritikel thank you so much my friend
-
so does the M913 command make a mess?
-
@Leblond said in Release 3.01-RC10:
@sebkritikel thank you so much my friend
Happy to help!@Leblond said in Release 3.01-RC10:
so does the M913 command make a mess?
I do not know. Can you test this:
; homeall.g G91; relative positioning G1 H2 Z5 F6000; lift Z relative to current position M913 X50 Y50; Reduce the current to 50% G1 H1 X-9999 F4000 G1 H1 Y-9999; move quickly to X or Y endstop and stop there (first pass) G1 X5 Y5 F2000; go back a few mm G1 H1 X-9999 F360 G1 H1 Y-9999; move slowly to X axis endstop once more (second pass) G90; absolute positioning G1 X60 Y50 F9000; go to first bed probe point and home Z M913 X100 Y100: Returns the current to 100% G30; home Z by probing the bed
with M913
-
@sebkritikel ok wait for it to load
-
no it doesn't work that way
-
with the command M913 inserted it does not work
-
@sebkritikel said in Release 3.01-RC10:
@Leblond said in Release 3.01-RC10:
@sebkritikel thank you so much my friend
Happy to help!@Leblond said in Release 3.01-RC10:
so does the M913 command make a mess?
I do not know. Can you test this:
; homeall.g G91; relative positioning G1 H2 Z5 F6000; lift Z relative to current position M913 X50 Y50; Reduce the current to 50% G1 H1 X-9999 F4000 G1 H1 Y-9999; move quickly to X or Y endstop and stop there (first pass) G1 X5 Y5 F2000; go back a few mm G1 H1 X-9999 F360 G1 H1 Y-9999; move slowly to X axis endstop once more (second pass) G90; absolute positioning G1 X60 Y50 F9000; go to first bed probe point and home Z M913 X100 Y100: Returns the current to 100% G30; home Z by probing the bed
with M913
@Leblond said in Release 3.01-RC10:
with the command M913 inserted it does not work
Ok, I do not know why. @dc42 to me it looks like its narrowed down to M913. I do not use this command, so unfortunately I do not have any insight.
-
no problem, I don't wear it and I'm happy like this
-
maybe it can depend on which position it is inserted ..
-
however it does it only and exclusively in the homeall.g file, because in other files I have inserted it and it works well
-
M913 X50 Y50 reduces the motor current to 50% of what you have set in M906. This may not be enough current to move reliably. You need to find a value for M913 that still allows the motors to work. This is also tricky with corexy because both motors are used to move, so one motor may stall, and the other not.
Try M913 X60 Y60 or X70 Y70 etc until movement is still reliable. Some decrease in current is still better than none.
Once you have reliable motion you can probably go back to moving both X and Y axis to the endstops at the same time. That was part of your issue when you removed the second XY homing portion. It will stop both axis as soon as one endstop is triggered, hence the double motion used in CoreXY to save some time.
G1 H1 X-9999 Y-9999 F4000 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X-9999 ; home X axis G1 H1 Y-9999 ; home Y axis
Also, I would move the M913 to return current back to full AFTER the G30 incase the probe fails you want the Z axis motor current reduced as well.
M913 Z50 :Riporta la corrente al 50% G30 ; home Z by probing the bed M913 X100 Y100 Z100 ; return to 100%
-
@Phaedrux said in Release 3.01-RC10:
M913 X50 Y50 reduces the motor current to 50% of what you have set in M906. This may not be enough current to move reliably. You need to find a value for M913 that still allows the motors to work. This is also tricky with corexy because both motors are used to move, so one motor may stall, and the other not.
Try M913 X60 Y60 or X70 Y70 etc until movement is still reliable. Some decrease in current is still better than none.
Once you have reliable motion you can probably go back to moving both X and Y axis to the endstops at the same time. That was part of your issue when you removed the second XY homing portion. It will stop both axis as soon as one endstop is triggered, hence the double motion used in CoreXY to save some time.
G1 H1 X-9999 Y-9999 F4000 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X-9999 ; home X axis G1 H1 Y-9999 ; home Y axis
Also, I would move the M913 to return current back to full AFTER the G30 incase the probe fails you want the Z axis motor current reduced as well.
M913 Z50 :Riporta la corrente al 50% G30 ; home Z by probing the bed M913 X100 Y100 Z100 ; return to 100%
On further thing: always use M400 right before M913, so that previous moves are completed before the current is changed. [Although in the case of G30, nothing more should execute until the G30 has completed anyway.] So that should be:
M400 M913 Z50 :Riporta la corrente al 50% G30 ; home Z by probing the bed M400 M913 X100 Y100 Z100 ; return to 100%
The reason we don't do this automatically in the firmware is so that M913 can be used in the power fail script.
PS - @Leblond, if you have any further issues, please start a new thread with a title that summarises the issue.
-
@Phaedrux hello but I had no problems moving the x and y axes but with everything stopped I had problems with the extruder motor, maybe you didn't read correctly, with M913 X50 Y50 they both moved very well in any position, my problem stemmed from the fact that once homing of the XY and Z axes then the extruder no longer worked
-
@Phaedrux once homing with all the motors stopped I tried to extrude the filament but the extruder stalled
-
@Phaedrux then another thing the command M913 with the z axis I have never used it but only with X and Y
-
@dc42 all right