Execute after homing... AUTORUN METHOD

More
2 years 4 months ago - 2 years 4 months ago #304092 by Aciera

this is Axis 2.7.14 on this machine.

Ah, that is probably why but I'm not familiar with versions lower than 2.8.
Last edit: 2 years 4 months ago by Aciera.

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

More
2 years 4 months ago #304126 by ississ

RODW -> The pin you specified requests the machine to home, not return when homed.

ACIERA ->

I put a line in the custom_postgui.hal file...  <= motion.is.all.homed but when I run it, I get the following...

Debug File Information:
custom_postgui.hal :70: motion.is-all-homed does not exist.

The text you referred to says it should exist... but it's not there. I may have to save my configuration and update...
this is Axis 2.7.14 on this machine.


 

 
"Update: I could NOT find the signal for all homed... or any variant of it. I can find individual axis... but not "all"."
-> combine all individual axes with an and component to get all_homed bit should work

Another idea: create a simple python hal component that runs the commands after all axes are homed.
I used that in my lathe setup. It has a serial port controlled tool changer and the hal component handles tool changes. But the relevant part here is that you can wait in a loop that all axes are homed and then execute a command. Then sleep forever.
Code is here: forum.linuxcnc.org/24-hal-components/364...trol?start=20#151315
 

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

More
2 years 4 months ago #304149 by rodw
BIte the bullet and upgrade to 2.9.2
2.7 is just toooo old.. SO many new features

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

More
2 years 3 months ago #304710 by Askjerry
RODW - If I save my CONFIG files and reformat the PC with the newest version... will my CONFIG still work... or do I need to redo everything from scratch?

If so... I may still do it... just a lot more work.

Jerry

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

More
2 years 3 months ago #304711 by rodw
@jerry
The config is meant to be upgraded when you first open it. But who really knows?
The main things that changed is that the spindle pin has changed to support multi spindle eg to spindle.0.on
And also 2.8 and on use joint axes for gantry configurations (wich may need some work)

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

Time to create page: 0.257 seconds
Powered by Kunena Forum