On 30 October 2015 at 13:49,  <[email protected]> wrote:

> Finally got to the point of integrating the carousel component into my
> machine, and was wondering, how do I connect a signal name to the
> parameter pins in the component, so I can use the home related pins in
> my ladder logic?

You can't. I am afraid I didn't consider that anyone would want to.

You will need to edit the carousel.comp defnition file to make the
home state into a pin rather than a parameter.

ie change
param r  signed   state = 0 "Current component state";

to
pin out signed   state = 0 "Current component state";

Then sudo halcompile --install carousel.comp  to install the new version.

(Why do we have both pins and parameters? Pins use up shared memory,
parameters use the much less limited ordinary memory).

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

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

Reply via email to