James Louis wrote:
> Jon is right, you cannot.  Unless you are running pre-2.2.x EMC2.  Quote from 
> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UPDATING:
>
> 3.4. double-linking of pins is now treated as an error
> halcmd and hal_link() now refuse to link an already-linked pin. This 
> immediately diagnoses configuration errors of the form
>      net limit-switch parport.0.pin-26-in =>  axis.0.neg-lim-sw-in 
> axis.0.pos-lim-sw-in
>      net home-switch  parport.0.pin-26-in =>  axis.0.home-sw-in
>
> which have the effect of leaving no pin driving the limit switch inputs. If 
> the "re-link" behavior is truly desired, add "unlinkp" commands before the 
> new link. It is still permitted for "unlinkp" to be used on an unconnected 
> pin.
>
> Lesson learned: Never upgrade a working machine.
>    
The lesson should be to understand how your machine is configured before 
upgrading it.  The working machine was actually working due to a silent 
disconnection of a pin from one signal and reattachment of that pin to 
another signal.  If the original connection wasn't intended, it should 
have been removed from the configuration.  If it was intended, then the 
configuration was actually wrong, but it might not have been noticed (if 
it was e.g. for lube control, you might never notice that the machine 
never got lubed).

The second lesson is that you should always *carefully* read the release 
notes / change logs / UPDATING instructions before upgrading.  The 
answer to the original question is actually in the paragraph you quoted.

- Steve

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to