Internet PLC Forum

General => Technical support => Topic started by: dogfuel on July 21, 2002, 05:24:23 AM

Title: absolute PLC newbee (read "stupid question")
Post by: dogfuel on July 21, 2002, 05:24:23 AM
I'm a programmer surrounded by engineers pushing an expensevie A-B solution to putting ~600 photo electric "counters" on production lines across 55 plants and monitoring them (via intranet or logging counts to a database).  

I don't know how to do this but know it is not as expensive as they represent.

Sitting here, armed with your starter kit, a power source and a npn sensor ... how do you connect a sensor to the board?  

Thanks
Title: Re: absolute PLC newbee (read "stupid question")
Post by: support on July 22, 2002, 11:54:05 AM
The most common type NPN sensor has 3-wire. You connect one to +24V (same as PLC power supply), another one to 0V (again same as PLC power supply) and the 3rd wire is the signal wire, just connect it to the PLC's input.

Now any sensor that detect an object will be a logic '1' (ON) to the PLC. Your program can process the signal, e.g. increment a counter or trigger some output etc. If the PLC is connected to a PC running TLServer then the PLC is accessible from other stations in the corporate Intranet or even the Internet.