Hi Howard It looks to me like this is an NPN NO configuration. When the prox is tripped it drives the "in-not" to true.
For stepper motors on a machine connected to a parport, I've used an NPN NO in a similar setup. What happens is that all of the normally open contacts keep "in-not" false until any one of the prox switches closes. For servo machines I would not use a prox for a real end of travel stop signal. I'd use a set of NC switches wired in series so that if any one of them trips the circuit opens. In this case I'd use the "in" rather than "in-not" so that when the circuit opens the pin becomes true. The M5i20 has enough pins so that you could use a separate one for each end of travel. I would still use an NC contact so that a broken wire will cause the alarm rather than disabling that end-of-travel. HTH Rayh On Sat, 2008-05-17 at 01:23 +0800, Howard Chan wrote: > Dear all people, > > In the m5i20_io.hal, I am finding a command "linksp Xminlim <= > m5i20.0.in-00-not". I dont understand the meaning of it. In the linuxcnc > doc view, "not" means inverted state but I dont know how to connect to a > sensor. I decide that I use 24VDC to use signal voltage. The over-travel > switch, I will use proximity sensor but there are two type (NPN or PNP) > and two operation mode (NO or NC). In this state, which type is suitable > for me. > On the other hand, I am not sure my connect method is it correct. Please > give me any suggestions. > > State: "xminlim <= mi20.0.in.-00-not" > 5i20(P2)--------50Pin Cable----------7137T(Pin1)------Red Cable------NC > Switch-----Red Cable-------24VDC------Black Cable--------7137T(Pin2) > > > Best regards, > Howard Chan > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users