Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: sz8sc9 on June 28, 2007, 03:50:58 AM
-
I have bought one on ebay, the idea is to test it as homing switch or tool lenght gauge. I see that operating voltage is 10-30V and the output will be the same minus a drop of 1-2V. So I'm looking for a diagram showing how to interface it to the home's pin or the input pin of the parallel port of the pc.
Any help will be much appreciated. Thank you.
Gianni
-
Hey Gianni,
I will work on a diagraham for you. You can't take the signal straight to the parallel port. I use prox switches and use them to operate solid state relays which send a 5v signal to the parallel port. Do you know if it is a PNP or NPN switch?
Brett
-
Brett,
Very kind of you. It's a npn, RS No 249-2451.
regards,
Gianni
-
If you are using a NPN, you may not have to use the solid state relay but for safe measure, I'll assume you do. The way this is drawn, it has the + voltage for the prox. and the ss relay coming from the same source. Make sure this voltage is acceptable for both.
I hope it helps,
Brett
-
Brett,
Simple and effective, thank you.
I'll let you know how it works.
cheers,
Gianni