Is there any way to compare against that parameter, with out compiling? 
I am using the 2.7.1 package, not building from the command line, or 
will it still work the way I am using linuxcnc, modifying the comp file?




On 10/30/2015 10:25 AM, andy pugh wrote:
> On 30 October 2015 at 13:49,  <r...@superiorroll.com> 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).
>

-- 

Thanks


Rick Lair
Superior Roll & Turning LLC
399 East Center Street
Petersburg MI, 49270
PH: 734-279-1831
FAX: 734-279-1166
www.superiorroll.com


------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to