@jay_s_uk
That’s awesome! Thank you guys very much. I’ll implement that and see how it works but may take me a while, never used object model before. I’ll let you know how it goes.
Again, thank you very much for your help!
Rod.
Best posts made by tierod
-
RE: Dual motor axis end stop woes
-
RE: Dual motor axis end stop woes
@jay_s_uk
Right, that makes perfect sense (says the guy who hasn’t got a clue)
Once again, thank you very much!
The dual motor axis end stops configuration has always worried me because of the potential for disaster, (ask me how I know ) so this issue caught me off guard. I’ll implement it, test it and let you know how it goes. Cheers!
Rod -
RE: Dual motor axis end stop woes
@tierod
it works! so awesome!
had to make a few changes, after trying this and that this is what i ended up with. dont know if it can be improved on but a couple things to note: will not work if you have the previous homing file stopping with the endstops triggered and it gives the warning :not sufficient axis homed" even when it works, not sure why? i would prefer have the original message you wrote. no idea how to fix that. could you give me your thoughts on the file? by the way, line 2 to 7 is indented, not sure why it comes up not; homeall.g
; called to home all axes
G91 ; relative positioningif sensors.endstops[0].triggered || sensors.endstops[1].triggered = true
^abort "X Endstop appears to be faulty. still in triggered state"
^m564 h1 s1
^g1 x-5 f1200
^m564 h0 s0
^m400
^if sensors.endstops[0].triggered || sensors.endstops[1].triggered = trueG1 H1 Z95 F3000 ; lift Z relative to current position
g1 h2 z-5 f300 ; move away from endstop
g1 h1 z10 f300 ;move Z up stopping at the endstop
g1 h2 z-5
G1 H1 X-1190 Y-1190 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X10 Y10 f300 ; go back a few mm
G1 H1 X-15 Y-12 F360 ; move slowly to X and Y axis endstops once more (second pass)
g1 h2 x10 y10
G90 ; absolute positioning
G92 x0y0z0 ; set xyz position to axis minimum
thanks!
Rod -
RE: Dual motor axis end stop woes
@tierod
hi all, just an update on this script
after changing the if statements to false, with the warning at the end it still gave me the red warning endstops not homed. so i moved it back behind the first if statement and it then gave me the correct blue error message.
it works perfectly this way so unless this is a bad move i’m going to leave it this way.
to reiterate, do NOT have your homing stop on the endstops as it will refuse to move, even 5mm off the endstops and all good.
again, thank you guys for this script!