you can only invert pins that are outputs from the parport.
for inputs you have 2 pins: pin-10-in and pin-10-in-not

ergo you need:
linkps parport.0.pin-10-in-not => Xlimits

Regards,
Alex
----- Original Message ----- 
From: "Wijngaarde, Ronald" <[EMAIL PROTECTED]>
To: <emc-users@lists.sourceforge.net>
Sent: Tuesday, May 22, 2007 4:22 PM
Subject: [Emc-users] inverting an Limit switch


> Hello,
> i just started using EMC2 and things are looking well.
> I added some X and Y linit switches to the parallel port 0, pin 10 and 11. 
> The problem is that they are active low switches (gnd when pressed, 5V 
> when open). I can't seem to make EMC2 recognise this.
>
> I tried this:
>
> newsig Xlimits bit
> setp parport.0.pin-10-invert TRUE
> linkps parport.0.pin-10-in => Xlimits
> linksp Xlimits => axis.0.neg-lim-sw-in
> linksp Xlimits => axis.0.pos-lim-sw-in
>
> However, I get a "parameter or pin setp parport.0.pin-10-invert"  not 
> found error.
>
> What can I do ?
>
> Regards,
>
> Ronald Wijngaarde
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.7.6/814 - Release Date: 5/21/2007 
> 2:01 PM
>
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to