On Sunday 07 April 2019 10:59:34 andy pugh wrote:

> On Sun, 7 Apr 2019 at 15:53, Gene Heskett <[email protected]> wrote:
> > I know there is, someplace, a pin or pins to unhome an axis, or all
> > axises, but can't seem to find it in a halmeter list or in a man 9
> > motion.
>
> halui:
> http://linuxcnc.org/docs/2.7/html/man/man1/halui.1.html
>
> Homing is a joint thing, not an axis thing, even in 2.7.

Unfortunately, or maybe because I told the edge detector to only outout a 
2000 ns pulse when machine.machine-enabled goes false, but while its 
applied to halui.joint.3. unhome, neither polarity of the edge output 
resets the home status of axis 3, the rotary. Other that lengthening the 
pulse, am I doing it right?

.hal file snippets:
# now unhome when motion is disabled.
setp edge.0.in-edge TRUE
setp edge.0.out-width-ns 2000
net unhome0     <= motion.motion-enabled => edge.0.in 
net unhome1     <= edge.0.out-invert => halui.joint.0.unhome
net unhome1     => halui.joint.1.unhome
net unhome1     => halui.joint.2.unhome halui.joint.3.unhome

doesn't work? docs don't say which polarity to apply to the halui pins to 
accomplish the unhoming. I'll go make the pulse longer but it seems 2 
servo thread times should be enough.  halscope says its getting there.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>



_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to