On 13 January 2014 21:00, Viesturs Lācis <[email protected]> wrote:

> The aim is to temporarily _not_ use pid in LinuxCNC, I want to try out, how
> it behaves only with the feedback loop in servo drive.

Do the motors support analogue position control?

If the drives are in velocity control mode then the effect of your HAL
will be to drive the motor forwards for axis positions right of the
origin, and backwards for positions left of the origin. The further
from the origin the command is, the faster the motor will spin.

You will always get a following error in this mode, as LinuxCNC is
asking for a position and is getting a velocity instead.

If the motors are not connected to hardware then you can net
axis.N.motor-pos-fb axis.N.motor-pos-cmd and the f-error will always
be zero.

But if there is hardware attached, this is instant-crash territory.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to