Negative axis movements
-
So I have set it up so the printhead homes off to the side of the bed with this:
M208 X-44 Y-18 Z0 S1 ; Set axis minima
M208 X140 Y140 Z200 S0 ; Set axis maximaIs there a way to prevent manual jogging into the negative area and only allow negative to be done through homing or macros? The problem is that I forsee the IR probe PCB getting short circuited by an accidental jog into one of the bed clips.
**EDIT ** Posted my full config files in the comment below
-
In your homing/macro file, add M208 to allow negative movements at the beginning
then add M208 at the end to set minima to 0 -
Hmmm not sure how to effectively accomplish this. Basically before a print, I want it to home in the negative so any ooze is dropped to the bottom of the printer and if an estop, cancel, or pause is done the Z raises before moving to the negative…. But If a person is jogging the printhead and say hits the -100 they cannot jog past y-0 and x-0 at all or before raising the Z.... basically a safety feature to prevent the IR from being shorted on bed clips.
-
there are 2 different commands for movement 1 recognizes end stops other does not. sorry i am a newbie so dont remember the command but ran into this while trying to prevent - movement
-
Anyone have any ideas? Here is what I have in my configuration:
; config.g M208 X-44 Y-18 Z0 S1 ; Set axis minima M208 X140 Y140 Z200 S0 ; Set axis maxima
; homeall.g ; called to home all axes G91 ; Relative positioning G1 Z5 F6000 ; Lift Z by 5mm G1 S1 X-240 Y-240 F2000 ; Move quickly to home X and Y G1 X5 Y5 F600 ; Move away from the endstops G1 S1 X-10 Y-10 F200 S1 ; Move slowly to home X and Y ; Z homing section G90 ; Absolute positioning G1 X70 Y76 F6000 ; Put head over the centre of the bed, or wherever you want to probe G30 ; Lower head, stop when probe triggered and set Z to trigger height ; Return X and Y to home area G91 ; Relative positioning G1 Z5 F6000 ; Lift Z by 5mm G90 ; Absolute positioning G1 X-40 Y-15 F6000 ; go to X=-40 Y=-15
; homey.g - Optimized ; called to home the Y axis G91 ; Relative positioning G1 Z5 F6000 ; Lift Z by 5mm G1 Y-240 F2000 S1 ; Move quickly to Y axis endstop and stop there (first pass) G1 Y5 F600 ; Go back 5mm G1 Y-10 F200 S1 ; Move slowly to Y axis endstop once more (second pass) G1 Z-5 F6000 ; Lower Z by 5mm G90 ; Absolute positioning
; homez.g ; called to home the Z axis G91 ; Relative positioning G1 Z5 F6000 ; Lift Z by 5mm G90 ; Absolute mode G1 X70 Y76 F6000 ; Put head over the centre of the bed, or wherever you want to probe G30 ; Lower head, stop when probe triggered and set Z to trigger height ; Return X and Y to home area G91 ; Relative positioning G1 Z5 F6000 ; Lift Z by 5mm G90 ; Absolute positioning G1 X-40 Y-15 F6000 ; go to X=-40 Y=-15
; pause.g ; called when a print from SD card is paused M83 ; Relative extruder moves G1 E-10 F3600 ; Retract 10mm of filament ; Return X and Y to home area G91 ; Relative positioning G1 Z50 F12000 ; Lift Z by 50mm G90 ; Absolute positioning G1 X-40 Y-15 F6000 ; go to X=-40 Y=-15
; stop.g ; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled) M83 ; Relative extruder moves G1 E-10 F3600 ; Retract 10mm of filament ; Return X and Y to home area G91 ; Relative positioning G1 Z50 F12000 ; Lift Z by 50mm G90 ; Absolute positioning G1 X-40 Y-15 F6000 ; go to X=-40 Y=-15
-
As Jackal says: use M208 commands in the homing files to set a lower limit during homing than at other times.
-
I must have gotten overwhelmed learning all this gcode It works Thank you