On Wed, Apr 13, 2016 at 2:29 PM, andy pugh <[email protected]> wrote:
>>  or is it possible to
>> change HOME_SEARCH_VELOCITY at run-time? if so, then it will do
>
> I don't think you can change the homing data at run-time.
> One option might be to choose a different config depending on whether
> absolute position has been lost.

to know if abs position is good it needs a driver module loaded to ask
a servo amp, so can't do it easily before linuxcnc is up and
running...
but thanks, you gave me another idea. i think i can use existing
halui.joint.n.unhome pins. instead of adding "set-homed" pins maybe it
is easier do the following

1. add code which saves "motor_offset" values in position.txt or some
other place. if i'm not mistaken, those values are the sole result of
performing a homing procedure. so if i want persistent home i need to
save those
2. start up in homed state (new option of combination of values to
existent ones? something akin to HOME_SEARCH_VEL=0..)
3. unhome if abs position is lost. i have "abs-lost" output pin in the driver

adding a new pin to halui brings up too much new code... this should
be much briefer

/dmitry

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to