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
>
>
The simplest approach is to hook up the wiring and try it. The choice
between m5i20.0.in-00 and m5i20.0.in-00-not can be changed very easily,
after you do a test (with halmeter for example) to see which one does
what you want.
The actual connection of the sensor will require reading the sensor
documentation and the 7i37 documentation. In particular, most proximity
sensors have three wires, not two. One is power, one is ground, and one
is the output.
An NPN sensor usually has an open collector output that pulls to ground.
PNP sensors usually pull up to 24V.
The 7i37 manual (http://www.mesanet.com/pdf/parallel/7i37man.pdf) says
that the digital inputs are completely isolated, so they should work for
either type of sensor. For NPN you would connect the 7i37 between +24
and the sensor output, for PNP you would connect it between the sensor
output and ground.
Regards,
John Kasunich
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users