PLC Stamp input voltages 24v vs 5v.
jeffjohnvol
Posts: 197
If I use a PLC Stamp, I have several switches that are already at 24 volts, which according to the PLC manual is the normal High value ("on"),, but if I use other switches that are tied to 5 volts, will the PLC recognize it as high, or do I need to use a transistor to convert the 5 volt value to 24v?
Comments
It’s an opto input so it still should work. I would try it. At a lower voltage you certainly won’t damage anything. You can use DEBUG to monitor the status of the inputs. I hope this helps. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Nice garage parking project, btw.· You ought to market that.
I'm working with a Stamp PLC right now for a project at work. While I had it on the bench this morning I tested how it worked with a 5V signal, and while the LED on the PLC enclosure flickered a bit I couldn't get the stamp·input to change state. The lowest voltage that gave me reliable switching was around 6.5V. I think the Stamp PLC manual mentions having inputs in the range of 12-36V, although from the text I wasn't sure if this was a recommendation or just an observation that 24V sensors would fit somewhere inside that window.
Mike
Can anyone tell me if the attached circuit would do what I need (create a 24 volt output with a 5 volt input) ?
A compact alternative to separate transistors are ULN2003's which can be had with a base resistor built in. Plus getting 7 transistors in a DIP package
Cheers,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
And on the quibble, please correct me, since my electronics are rusty, but wouldn't switching PNP to NPN just change the polarity of the result?
EDIT: Nevermind, I googled a datasheet on the ULN2003, looks like that would do the trick.· I much prefer the IC's over individual components.
Post Edited (jeffjohnvol) : 4/19/2007 8:07:42 PM GMT