Rs485 Programming with .NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Reny J Joseph Thuthikattu

    Rs485 Programming with .NET

    Hi,
    Can any one guide me on how to program RS485 with .NET?
    Regards

    Reny


  • JohnFol

    #2
    Re: Rs485 Programming with .NET

    Hi Reny, is RS485 serial comms?

    If so, have a look at this:

    "Sax Software Corp
    Sax.net Communications makes it easy to add scalable serial communications
    to all your .NET applications. "





    "Reny J Joseph Thuthikattu" <renyatbxtechdo tcom> wrote in message
    news:%230L1rLOD FHA.960@TK2MSFT NGP09.phx.gbl.. .[color=blue]
    > Hi,
    > Can any one guide me on how to program RS485 with .NET?
    > Regards
    >
    > Reny
    >
    >[/color]


    Comment

    • Dick Grier

      #3
      Re: Rs485 Programming with .NET

      Hi,

      RS-485 devices are treated similarly to RS-232. There are a number of
      serial classes that may be used. I have one in my book (see below) or you
      can download NETComm.ocx from my homepage. There also are many other serial
      objects available for free and several commercial ones that offer extended
      features -- none of these additional features, such as error corrected file
      transfers, should be needed by you.

      The feature of RS-485 communications is that it often is half duplex. That
      is, the communications channel is shared between multiple devices. To solve
      the problem of sharing this channel, a communications protocol is needed.
      The details of the communications protocol is proprietary. That is, it will
      be developed for the specific system in question. You would use the
      documentation provided by your device manufacturer to implement this in your
      software. Usually, there are two phases. One of these allows the physical
      sharing of the channel -- this often uses CTS and RTS to control. The
      second is the command and response message structure that is used for
      sending and receiving data.

      I have a more detailed explanation in my book. See below.

      Dick

      --
      Richard Grier (Microsoft Visual Basic MVP)

      See www.hardandsoftware.net for contact information.

      Author of Visual Basic Programmer's Guide to Serial Communications, 4th
      Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
      www.mabry.com/vbpgser4 to order.


      Comment

      Working...