Haq XY
-
Sometimes It seems to work with the home all, if I just do it as soon as I start the printer. But if I have moved any axis before, this happends: https://www.youtube.com/watch?v=hShrS0JAh68
And this is what happends if I first manually home all axis and the use G29 (mesh grid): https://www.youtube.com/watch?v=Vcpx7KPqJXw
-
Config.g
; Drives
M669 K0 Y-1:1:0:-1 ; set Y to react with X1 and U6
M584 Z2:5 U6 ; set 3 Z drivers and add one U driver
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes backwards
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S1 ; Drive 4 goes forwards
M569 P5 S0 ; Drive 5 goes backwards
M569 P6 S0 ; Drive 6 goes backwardsM350 U16 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
M92 U80.00 X80.00 Y240.00 Z1066.67 E420.00:420.00 ; Set steps per mm
M566 U900.00 X900.00 Y900.00 Z12.00 E120.00:120.00 ; Set maximum instantaneous speed changes (mm/min)
M203 U10000.00 X10000.00 Y10000.00 Z500.00 E1200.00:1200.00 ; Set maximum speeds (mm/min)
M201 U800.00 X800.00 Y800.00 Z20.00 E250.00:250.00 ; Set accelerations (mm/s^2)
M906 U1000.00 X1000.00 Y1000.00 Z1000.00 E800.00:800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 U0 X0 Y0 Z0 S1 ; Set axis minima
M208 U550 X550 Y500 Z750 S0 ; Set axis maxima; Endstops
M574 U0 S0 ; set active low endstops
M574 X1 Y1 S1 ; Set active high endstops; Z-Probe
M574 Z1 S2 ; Define Z to use Probe. Home to Min.
M558 P9 H5 F500 T6000 ; Set Z probe type/mode 9.
G31 P25 X0 Y-57.3 Z0.0 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
M557 X30:530 Y65:490 S50 ; define mesh grid; BLTouch - Heaters
M307 H3 A-1 C-1 D-1 ; Disable the 2nd Heater to free up PWM channel 1 on the Duex board -
This is with no homing, just moving each axis: https://www.youtube.com/watch?v=kP_eEowGYOI
-
@dc42
I just tried to disconnect the U stepper and same things happends, all code as well.
I'm really out of ideas now, do you have any sugestions? -
@dc42 I'm beginning to think that there might be some bug in the firmware with the matrix you made, as It works great when using the toggle to move each axis but as soon as I try to move any at the same time everything just gets messed up.
-
This is with no homing, just moving each axis: https://www.youtube.com/watch?v=kP_eEowGYOI
The movement in that video looks OK to me, assuming that the print heads moved in the directions you commanded.
What happens when you try to move axes simultaneously, e.g. to do diagonal moves?
-
@dc42 If I just send G1 Y50 X50 it seems to work as it should, but I can't home any axis after (like in the homall video)
-
@dc42 I just tried to change the M669 from K0 to K1 without any luck, same problems. On the plus side of this I'm starting to get a good hang of some gcode
Do you think there might be some bug in the firmware?
-
@dc42 I just tried to change the M669 from K0 to K1 without any luck, same problems. On the plus side of this I'm starting to get a good hang of some gcode
Do you think there might be some bug in the firmware?
Quite possibly, and I already have it on my list to simulate your machine on my bench. I may have time to do this tomorrow.
-
@dc42 oh that's awsome! Let me know if I can do something to help
-
In your M584 command, you forgot to redefine the extruder drives. So your extruder settings are messing up your axis settings. Please fix that and try again.
EDIT: I corrected that, also I configured a U endstop switch. As far as i can tell, it is working. I'm using a slightly later version of the firmware, it's at https://www.dropbox.com/s/fyvibzm0zl92hiy/Duet2CombinedFirmware.bin?dl=0.
-
@dc42
I fixed the M584 to this: M584 X0 U6 Y1 Z2:5 E3:4
The homing seems to work as before, but the same thing happends if I try and run G29 (reffering to my last video).I do have an endstop for U.
-
IF I change the homeall.g to this, the homeall doesen't work at all If either X or U endstop is hit before I start the homing. I need to home all axis by them self.
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 Y-550 X-550 U-550 F2500 ; move quickly to Y axis endstops and stop there (first pass)
G1 Y5 X5 U5 F1000 ; go back a few mm
G1 S1 Y-550 X-550 U-550 F660 ; move slowly to Y axis endstops once more (second pass)G90 ; absolute positioning
G1 X35 Y65 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bedG91 ; relative positioning
G1 S2 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioning -
I just found out another strange thing..
If I home all axis, my home position is X35 U0 Y65 Z0, which it should be.
But if I then do another homeall from that position I get all kinds of diffrent values, like X-95 Y65 U0 Z0.One can clearly see the U and X axis acting strange when I try to do a second homeall, the U crashes into the endstop and so on.
-
IF I change the homeall.g to this, the homeall doesen't work at all If either X or U endstop is hit before I start the homing. I need to home all axis by them self.
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 Y-550 X-550 U-550 F2500 ; move quickly to Y axis endstops and stop there (first pass)
G1 Y5 X5 U5 F1000 ; go back a few mm
G1 S1 Y-550 X-550 U-550 F660 ; move slowly to Y axis endstops once more (second pass)G90 ; absolute positioning
G1 X35 Y65 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bedG91 ; relative positioning
G1 S2 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioningPlease read the wiki page on configuring a CoreXY printer. Note the bit where it says that you can do initial XY homing concurrently in homeall.g, but then you must home X and Y individually after that. In your case you should be able to do initial homing of XYU concurrently (which will stop when any one of XYU is homed), then you can home Y by itself and then X and U concurrently.
If you still have problems after fixing that, post your latest config.g and homeall.g file.
-
@dc42 I just tried that and as soon as Y endstop hits everything just stops.
this is my homeall.g:G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 Y-550 U-550 X-550 F2500 ; move quickly to Y axis endstops and stop there (first pass)
G1 S1 y-550 F2500 ; Home Y seperate
G1 S1 X-550 U-550 F2500 ; Home X and U seperate
G1 Y5 X5 U5 F2000 ; Go back 5mm on all axis
G1 S1 Y-10 F600 ; slowly home Y
G1 S1 U-10 X-10 F600 ; Slowly home X and UG90 ; absolute positioning
G1 X35 Y65 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed
G91 ; relative positioning
G1 S2 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioningThis is my config.g:
; Drives
M584 X0 U6 Y1 Z2:5 E3:4 ; set 3 Z drivers and add one U driver
M669 K0 Y-1:1:0:-1 ; set Y to react with X1 and U6
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes backwards
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S1 ; Drive 4 goes forwards
M569 P5 S0 ; Drive 5 goes backwards
M569 P6 S0 ; Drive 6 goes backwardsM350 U16 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
M92 U80.00 X80.00 Y240.00 Z1066.67 E420.00:420.00 ; Set steps per mm
M566 U900.00 X900.00 Y900.00 Z12.00 E120.00:120.00 ; Set maximum instantaneous speed changes (mm/min)
M203 U10000.00 X10000.00 Y10000.00 Z500.00 E1200.00:1200.00 ; Set maximum speeds (mm/min)
M201 U800.00 X800.00 Y800.00 Z20.00 E250.00:250.00 ; Set accelerations (mm/s^2)
M906 U1000.00 X1000.00 Y1000.00 Z1000.00 E800.00:800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 U0 X0 Y0 Z0 S1 ; Set axis minima
M208 U550 X550 Y500 Z750 S0 ; Set axis maxima; Endstops
M574 U1 S0 ; set active low endstops
M574 X1 Y1 S1 ; Set active high endstops; Z-Probe
M574 Z1 S2 ; Define Z to use Probe. Home to Min.
M558 P9 H5 F500 T4000 ; Set Z probe type/mode 9.
G31 P25 X0 Y-57.3 Z0.0 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
M557 X30:530 Y65:490 S50 ; define mesh grid; BLTouch - Heaters
M307 H3 A-1 C-1 D-1 ; Disable the 2nd Heater to free up PWM channel 1 on the Duex board -
Can you confirm you are using the new firmware? I posted the link yesterday.
-
@dc42 yes, I installed it as soon as you posted the link
-
Do you find anything wrong with my config?
-
No, I didn't spot anything wrong with your config. I used a slightly different config for testing (single Z motor, and active high U endstop switch).
Please can you try to produce a reproducible test case along the following lines:
-
With power off, move the carriages slowly by hand to an approximate X, Y, U position, to ensure that a chosen axis will reach its homing switch first. [Specify the position]
-
Send the first N commands from the homeall.g file. At this point, something undesirable happens. [Specify what].
-