Set x offset ?
-
Hi , if my end stop triggers at say X -15mm and is off the bed , do I use G10 P0 X15 tool offset to set where the start of the bed is ?.
Normally I would just move the end stop or set the position in my homing files. -
@peter247 just change the axis minima/maxima in your M208 commands in config. When you home, it just sets the stopped position to the max/min value depending on whether you have high end or low end endstops
-
@engikeneer I think M208 is for setting the Max and Min limits , But you have lead the way to the right command which I do believe is M206 ; Offset axes.
-
No, he's quite correct. If your endstop triggers when the nozzle is x-15 off the edge of the bed then your M208 minima for X should be M208 X-15. This would place X0 on the bed again and leaves the X maxima the same.
M206 is not what you're after.
-
@phaedrux I get the sense in that after a lot of thought .
If when it hit the end stop it says -15mm then X 0 is where I want it 15mm + from the end stop.
So what does M206 do different or what is that for ? -
@peter247 said in Set x offset ?:
So what does M206 do different or what is that for ?
It's a precursor to the G10 offsets you identified in your first post.
https://duet3d.dozuki.com/Wiki/Gcode#Section_M206_Offset_axes
Maybe it will work, but it's an overly complicated way to do it when M208 is far more elegant.
-
M206 is an obsolete command equivalent to the NIST-standard G10 L2 P1, i.e. set offsets of workplace coordinate system 1.