× Forum Header

Homing an axis moves away from home switch!

More
13 Jan 2025 22:57 #318896 by langdons
I have LinuxCNC set up for a 30-year-old 3-axis (XYZ) CNC router machine.

I can jog an axis and the home and limit switches work fine.

However, when I attempt to move an axis, the axis moves away from the home switch and then finally presses the limit switch.

The axes normally move in the correct direction (pressing left arrow moves the X axis left, etc.).

Why is this happening?

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
13 Jan 2025 23:06 #318897 by tommylight
Replied by tommylight on topic Homing an axis moves away from home switch!
Does the machine have separate homing and limit switches?
If yes, the home_latch_velocity is set reversed, so add or remove - in front of the value.

Please Log in or Create an account to join the conversation.

More
14 Jan 2025 17:01 #318964 by langdons
Replied by langdons on topic Homing an axis moves away from home switch!
I have a separate home switch for each axis.

Each home switch has its own wire leading to the beakout board.

Each home switch is also the minumum limit switch.

I also have maximum limit switches that are all wired in parallel.

Please Log in or Create an account to join the conversation.

More
14 Jan 2025 17:09 #318966 by langdons
Replied by langdons on topic Homing an axis moves away from home switch!
Here's the pinout of the input pins on my PMDX-122 breakout board.

Pin 10: E-Stop to PC (Internal, Works great)
Pin 11: Home X and X-axis minimum limit
Pin 12: Home Y and Y-axis minimum limit
Pin 13: Z-axis minimum limit
Pin 15: Maximum limit for all axes.

I know all switches work fine )

My machine is set up so "Home" means the tool is at the bottom-left corner of the table. (Y axis.)

Please Log in or Create an account to join the conversation.

More
14 Jan 2025 17:10 #318967 by Clive S
Replied by Clive S on topic Homing an axis moves away from home switch!
Can you post the ini and hal files.

Please Log in or Create an account to join the conversation.

More
15 Jan 2025 00:24 #318989 by langdons
Replied by langdons on topic Homing an axis moves away from home switch!
The machine does not have internet access (I blacklisted e1000e on Debian).

Ubuntu (the PC is dual-boot Ubuntu 24.04 LTS (for everyday stuff) and Debian LinuxCNC) has internet access, but it is annoying to copy the file.

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum