On 9/10/13 11:05 , Russell Brown wrote:
>
> Silly little HAL question if I may (I have RTFM and Googled but not
> found an obvious answer).
>
> Can you 'connect' two pins to the same signal without using or2 ?
>
> I managed to configure two buttons on my pendant to do an estop but had
> to use an or2....  which is a bit clunky.
>
> I was just playing with the pyvcp examples and added the jog buttons but
> linuxcnc errors out with:
>
>> Starting LinuxCNC...
>> custom_postgui.hal:35: Signal 'jog-minus-x' can not add OUT pin 
>> 'pyvcp.x-minus', it already has OUT pin 'xhc-hb04.jog.minus-x'
>> Shutting down and cleaning up LinuxCNC...
>
> It's not a huge problem to use or2 but I thought I'd ask to see if I'm
> missing a trick.

At most one Out pin (the kind of pin that sends out a value) can be 
connected to a net.  The full rules for what pins can be connected to a 
HAL net are here:

http://www.linuxcnc.org/docs/2.5/html/hal/basic_hal.html#_net_a_id_sub_net_a


In your situation you should probably use or2 to turn the two estop pins 
into one.


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to