× 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.

More
21 Jan 2025 16:39 #319576 by langdons
Replied by langdons on topic Homing an axis moves away from home switch!
I don't understand why it does not work with just the stepconf config.

Why is LinuxCNC so stupid?

I have the axis travel set to 20 inches in stepconf.

I have the home switch location set to 0.

Why does it move away from zero and toward 20 while homing????!!!

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

More
21 Jan 2025 17:06 #319577 by Clive S
Replied by Clive S on topic Homing an axis moves away from home switch!
Why is LinuxCNC so stupid?

You are not helping yourself with comments like this.

As said already. Post the ini and hal files
The following user(s) said Thank You: pommen

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
22 Jan 2025 00:09 #319601 by tommylight
Replied by tommylight on topic Homing an axis moves away from home switch!

I don't understand why it does not work with just the stepconf config.

Why is LinuxCNC so stupid?


Why does it move away from zero and toward 20 while homing????!!!

1. because you told it so.
2. it is not.
3. because you told it so.
-
Try changing "home latch direction" in StepConf for each axis that needs it.
The following user(s) said Thank You: Clive S

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

More
22 Jan 2025 11:08 #319626 by cornholio
Replied by cornholio on topic Homing an axis moves away from home switch!
Boot into Ubuntu, mount the linuxcnc partition and bingo you have access to the files.

But if you can’t do that what’s more annoying, copying the files or not being happy with your machine ?

If you want to be helped you need to provide the info.

Without the info it’s hard to impossible for those helping and you don’t get the answers you require.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum