473,473 Members | 2,316 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Rs485 Programming with .NET

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

Reny
Nov 21 '05 #1
2 2430
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. "

http://msdn.microsoft.com/vbasic/vbrkit/

"Reny J Joseph Thuthikattu" <renyatbxtechdotcom> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Hi,
Can any one guide me on how to program RS485 with .NET?
Regards

Reny

Nov 21 '05 #2
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.
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Martin | last post by:
When was inheritance intruduced into object oriented programming? More generally, does anyone know or have any sources on when the different features were introduced into object oriented...
12
by: G. | last post by:
Hi all, During my degree, BEng (Hons) Electronics and Communications Engineering, we did C programming every year, but I never kept it up, as I had no interest and didn't see the point. But now...
3
by: user | last post by:
Hi all, At the outset, I regret having to post this slightly OT post here. However, I strongly feel that people in this group would be the best to advise me on my predicament. I am working as...
134
by: evolnet.regular | last post by:
I've been utilising C for lots of small and a few medium-sized personal projects over the course of the past decade, and I've realised lately just how little progress it's made since then. I've...
3
by: Reny | last post by:
Hi, Can any one tell me how can i program RS485 in .NET or VB Reny
7
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already...
30
by: Jakle | last post by:
I have been googling, but can seem to find out about C GUI libraries. My main platform is Windows, but it would be nice to find a cross platform library. I've been programming with php, which...
111
by: Enteng | last post by:
Hi I'm thinking about learning C as my first programming language. Would you recommend it? Also how do you suggest that I learn it?What books/tutorials should I read for someone like me? Thanks...
3
by: suga.masanobu | last post by:
Hello, I need, using C and RS485, send packages from master PC to slave microcomputer and vice versa. Has anyone ever done something like that - programing rs485 using C? If yes, I will be very...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.