VOLATILE_HOME not unhoming on fault

  • djdelorie
  • Away
  • Junior Member
  • Junior Member
More
14 Dec 2025 21:19 - 14 Dec 2025 23:07 #340101 by djdelorie
VOLATILE_HOME not unhoming on fault was created by djdelorie
I set VOLATILE_HOME for each joint in my config, and I know it works because if I push the OFF button in the GUI, all the axes become unhomed.  However, if a servo fault comes in, that also shuts the machine OFF but in that case the axes remain homed.  If I ON-OFF via the gui after a fault, it unhomes. This is neither what I expected nor what is documented(1). How do I get the axes to unhome on a servo fault? (the fault comes in via joint.N.amp-fault-in)

(1) "If this setting is true, this joint becomes unhomed whenever the machine transitions into the OFF state. "

Edit: I'm using version 2.9
Last edit: 14 Dec 2025 23:07 by djdelorie. Reason: added version

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

More
15 Dec 2025 10:10 #340118 by rodw
Replied by rodw on topic VOLATILE_HOME not unhoming on fault
Does joint.N.amp-fault-in actually turn the machine off? I'm not sure it does. I know it stops motion. My thinking is that conce you have the machine dialed in you will never get this error.

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

More
15 Dec 2025 13:41 #340125 by Aciera
Replied by Aciera on topic VOLATILE_HOME not unhoming on fault

Does joint.N.amp-fault-in actually turn the machine off?

Yes, it does.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
15 Dec 2025 13:44 #340126 by tommylight
Replied by tommylight on topic VOLATILE_HOME not unhoming on fault

Does joint.N.amp-fault-in actually turn the machine off?

Yes, it does.

Not near a machine so i can not confirm this, but IIRC:
Yes it does Disable the machine.
No, it does not trigger e-stop.

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

More
15 Dec 2025 15:50 #340131 by Aciera
Replied by Aciera on topic VOLATILE_HOME not unhoming on fault

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

  • djdelorie
  • Away
  • Junior Member
  • Junior Member
More
15 Dec 2025 20:12 #340142 by djdelorie
Replied by djdelorie on topic VOLATILE_HOME not unhoming on fault

My thinking is that once you have the machine dialed in you will never get this error.

Agreed; I wired my servos this way for when I get a hard crash.  the "fault" includes following errors in the clearpaths, and I really want the machine to stop and release the servos and spin down the spindle.  The hard crash might be a fleshy crash.  I realized the servos were going to lose position, added the VOLATILE_HOME, and discovered this bug...

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

  • djdelorie
  • Away
  • Junior Member
  • Junior Member
More
15 Dec 2025 20:15 #340143 by djdelorie
Replied by djdelorie on topic VOLATILE_HOME not unhoming on fault
I will add that, with the invention of "servos with a step/dir interface", linuxcnc has lost the ability to shut off the servo power yet still keep track of where the machine *is* for when power is restored :-(

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
15 Dec 2025 21:49 #340146 by tommylight
Replied by tommylight on topic VOLATILE_HOME not unhoming on fault
LinuxCNC has not lost any ability to shut off anything, there is no need to shut the power down for stepper and brushless servo drives on normal faults, that was for DC brushed servo systems and even for those normal enable/disable drive was and is used, leme give it a try:
-stepper motors and brushless servo motors do not go into runaway if an output mosfet shorts, they just lock in one place and burn slowly if the drive fails to blow a fuse or trigger a full shutdown
-brushed motors do run at full speed in one direction in such an event, hence the necessity to have another set of "extreme" limit switches on both side of any axis that cut all power to drives
-older brushless servo drives had two separate power inputs, one for the drive stage and one for logic, most new ones only have a single power input
In general, drive power should be cut only on e-stop event, in normal operation drive enable/disable should be used.
-
If you are OK with using e-stop, wire (in hal) the drive enable signal to e-stop out, that should do what you want, but i have no clue if your machine agrees with that.

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

  • djdelorie
  • Away
  • Junior Member
  • Junior Member
More
15 Dec 2025 22:30 #340152 by djdelorie
Replied by djdelorie on topic VOLATILE_HOME not unhoming on fault
By "shutdown" I mean what the clearpath's enable signal does - the power supply is still running but the drive does not try to hold position any more, so the axis is able to move freely. Shutting down servo drives on following error allows humans to manually move the machine, potentially a life-saving ability, but at least it takes pressure off whatever it hit.

All my power supplies themselves are hooked into the estop chain, but that's for a different type of emergency ;-)

My point with modern step-servos is that, WHEN you shut it down / disable it, you no longer know what the machine's position is, because there's no position feedback to linuxcnc. The machine can move without linuxcnc knowing, hence the VOLATILE_HOME.

With "old style" servo configurations, linuxcnc had direct access to the encoders, so could track non-powered motion too.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum