- Posts: 198
- Thank you received: 0
Z Axis Home - Gantry Router
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
After the homing and latch functions are complete the axis moves to the Home_Offset (towards the table). This leads me to believe the Home_Offset should be a small value so it doesn't approach the table.
However Home _Offset sets the machine zero after it executes according to the DRO. If I use a small Home_Offset does the Z axis work in the negative quadrant? The table is not zero?
I did hand edit the HAL file in one location to reverse the Z axis motor. This shouldn't cause a problem should it?
What setting would you recommend for a Z axis with 185mm of travel hard stop to hard stop?
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
home offset 0
touch the material with the bit, touch off in the GUI (near the home button) and that will be your material 0.
Please Log in to join the conversation.
You are correct to have your home switch at the top of the Z.
Example:
Z axis travel 200mm
Machine coordinates (G53) will be -200 to 0.
Once homed, you usually deal with work coordinates (most commonly G54).
You then 'zero' the work coordinates where you want, commonly the top of the work, or the table/spoilboard.
www.linuxcnc.org/docs/html/gcode/coordinates.html
There is no problem at all with working with negative travel values in GCode. It is by far the most common method to have Z working in 'negative' space.
Please Log in to join the conversation.
Please Log in to join the conversation.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
- Posts: 198
- Thank you received: 0
And axis limts are based on machine coordinates, so I should have 0 to -175mm for Z limits?pippin88 wrote: Yes, the Z travel will be negative in machine coordinates (G53).
You are correct to have your home switch at the top of the Z.
Example:
Z axis travel 200mm
Machine coordinates (G53) will be -200 to 0.
Please Log in to join the conversation.
What direction does your Z axis move when you job up (Page Up on keyboard or + button on GUI)?
(Another way to invert an axis direction is to make the step scale negative. In my ini below, you'll see "STEP_SCALE = -250.0")
You can use values like your original post that will result in positive values (though your values, particularly home offset are not correct), however I suggest it is easiest to work with Machine Z zero being at the top of the Z axis.
My INI for Z axis
Please Log in to join the conversation.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
- Posts: 198
- Thank you received: 0
I set the axis Invert to True, and +ve Z moves up.pippin88 wrote: First to check:
What direction does your Z axis move when you job up (Page Up on keyboard or + button on GUI)?
(Another way to invert an axis direction is to make the step scale negative. In my ini below, you'll see "STEP_SCALE = -250.0")
You can use values like your original post that will result in positive values, however I suggest it is easiest to work with Machine Z zero being at the top of the Z axis.
My INI for Z axisCode:MIN_LIMIT = -195.0 MAX_LIMIT = 0.01 HOME_OFFSET = 0.25 HOME_SEARCH_VEL = 30 HOME_LATCH_VEL = -0.25 HOME_FINAL_VEL = 0.000000 HOME_USE_INDEX = NO HOME_IGNORE_LIMITS = YES HOME_SEQUENCE = 0
I do have a question about your Home_Offset. If the Max_Limit is 0.01, how does the machine Home_Offset to 0.25? Isn't that outside the limits?
Please Log in to join the conversation.
If so, HOME_OFFSET must be outside the soft limits or you will trigger the limit switch during normal use.
HOME_OFFSET is the physical location of the home switch in relation to the axis coordinates.
It tells LinuxCNC where the allowed axis travel (soft limits) is in relation to the home switch.
See this thread: forum.linuxcnc.org/49-basic-configuratio...ading-possibly-wrong
Please Log in to join the conversation.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
- Posts: 198
- Thank you received: 0
Yes I have shared home/limit switches like your router example in the link you provided. I agree the shared home/limit condition is not thoroughly explained in the manual. What I find confusing also is whether the sign matters or if only absolute value is used.pippin88 wrote: Do you have a shared home/limit switch?
If so, HOME_OFFSET must be outside the soft limits or you will trigger the limit switch during normal use.
HOME_OFFSET is the physical location of the home switch in relation to the axis coordinates.
It tells LinuxCNC where the allowed axis travel (soft limits) is in relation to the home switch.
See this thread: forum.linuxcnc.org/49-basic-configuratio...ading-possibly-wrong
I'm going use your example as a template see how that works, Thx!
Please Log in to join the conversation.
