> On 05/11/2013 02:19 PM, Lars Andersson wrote: >> Hi group, >> Trying to control servo P I and D at runtime with potentiometers to >> practise loop optimising. >> >> The statement >> net P0 input.0.abs-rx-position ==> pid.0.Pgain >> >> gives me >> servo2.hal:35: Signal 'P0' can not add I/O pin 'pid.0.Pgain', it already >> has OUT pin 'input.0.abs-rx-position' >> halcmd: >> >> Can I do something better? >> >> > This means that an out pin is already driving the pid.0.Pgain in pin. > You can't have two or more pins driving any input. So, you must > unlink the out pin from the pid pins before you try to link another > out pin to the input. I think the command is unlinkp, but it > depends on what you are trying to unlink. You should read > the integrators manual > > http://www.linuxcnc.org/docs/LinuxCNC_Integrator_Manual.pdf > > The description of the commands is about half-way down. > > Jon > Jon > There is only one output "input.0.abs-rx-position" driving the IO 'pid.0.Pgain'. The trick was do drive the IO with an IO. Andrew pointed this out in this thread.
// Lars ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
