Shop OBEX P1 Docs P2 Docs Learn Events
+24 i/o — Parallax Forums

+24 i/o

ArchiverArchiver Posts: 46,084
edited 2001-08-08 06:12 in General Discussion
I am using PLC I/O that is normally +24 volts and grounds to trigger
the stamp. What is the best way to wire this I/O to the stamp?

Thanks,
Todd

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-08-07 16:58
    There's probably a 100 or more "best" ways -- it just depends on the
    environment you're using all this stuff in. A simple way is a two-resistor
    voltage divider. I'll attempt this with text:

    ( PLC output )
    [noparse][[/noparse] 22K resistor ]
    [noparse][[/noparse] Stamp input ]
    [noparse][[/noparse] 4.7K resistor
    ]
    ( Ground )

    With these values, an output of 24 vdc from your PLC will be dropped down to
    about 4.2 vdc to the Stamp. Keep in mind that this provides NO electrical
    isolation between the PLC and the Stamp. If your PLC takes a hike, the Stamp
    will probably go with it.

    -- Jon Williams
    -- Applications Engineer, Parallax

    In a message dated 8/7/01 10:49:43 AM Central Daylight Time,
    todd_goetze@y... writes:


    > I am using PLC I/O that is normally +24 volts and grounds to trigger
    >



    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-08 01:26
    The answer to the question could depend on if the PLC is sourcing or
    sinking the 24 V...
    Which is it?

    Aaron

    On Tue, 07 Aug 2001 15:46:56 -0000 "Todd Goetze" <todd_goetze@y...>
    writes:
    > I am using PLC I/O that is normally +24 volts and grounds to trigger
    > the stamp. What is the best way to wire this I/O to the stamp?
    >
    > Thanks,
    > Todd
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    > Subject and Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-08 03:08
    Todd, I realize that you are asking for help on how to wire the
    stamps I/O pins directly to a plc, but a much better way to do this
    would be to write a program that would communicate from the stamp to
    the plc. This would save your I/O for more options later on. If you
    want to just turn on outputs on the stamp then you could simply use
    and ascii out from the plc to the stamp. Unless there is also an
    ascii in box.
    What type of plc are you using? Most manufactures of plc's will sell
    or give you the comm box for writing programs with there comm
    protocol. I have wrote such a thing for the direct-logic plc from
    automation direct in directnet protocol and have a board that will
    display a message from what resides in a plc's register. And It also
    sends the temp back to the plc to store in anouther register, that
    you can use the ><= do somthing if the temp in the cabnit is at the
    correct temp. I also have the protocol for df1 from Allen Bradley but
    not had the time to program the protocol for the stamp.
    If you are interested in a FREE board, yes thats right a Free board
    let me know and I will have it shipped to you. With example programs
    for plc direct plc's. I had three of these boards made and really
    only needed one.
    It has three chips that can service the bs2 also, a eeprom, a ds1302,
    and a ds temp sensor. You can also connect a 2x16 serial lcd and 4
    5vdc relays to it.
    It is worth considering at least.


    --- In basicstamps@y..., "Todd Goetze" <todd_goetze@y...> wrote:
    > I am using PLC I/O that is normally +24 volts and grounds to
    trigger
    > the stamp. What is the best way to wire this I/O to the stamp?
    >
    > Thanks,
    > Todd
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-08 06:12
    If you only require a few I/O you may want to consider Opto22
    optically isolated I/O modules. Go to www.opto22.com and check out
    their G1 or G4 standard digital DC input modules. These modules will
    accept up to 24VDC logic and give you a nice 5V input to your stamp.
    They are also optically isolated so your stamp is protected from the
    higher voltage.

    I think these are a little pricey...Maybe up to $10 or so per module
    depending on which module you buy so if you require many you may want
    to use a simpler device or build your own.


    --- In basicstamps@y..., "Todd Goetze" <todd_goetze@y...> wrote:
    > I am using PLC I/O that is normally +24 volts and grounds to trigger
    > the stamp. What is the best way to wire this I/O to the stamp?
    >
    > Thanks,
    > Todd
Sign In or Register to comment.