AW: RS232

From: Kautzmann Gerd (gkautzmann@baumerident.com)
Date: Thu Mar 28 2002 - 09:50:48 CET


> -----Ursprüngliche Nachricht-----
> Von: Daniel Webb [mailto:webb@robust.colorado.edu]
> Gesendet: Donnerstag, 28. März 2002 07:51
> An: mulinux@sunsite.dk
> Betreff: Re: RS232
>
>
> > Method 1)
> > -----------
> >
> > It is only matter to open the special device /dev/ttyS0 (COM1)
> > or /dev/ttyS1 (COM2):
> >
> > int fd;
> > fd = open("/dev/ttyS0",O_RDWR)
>
> For this method, do you have to set the serial port up first using
> setserial? What determines the baud rate?
>

I thought about making a simple Profibus master simulator for LINUX,
theoretically it would be enough to set the baudrate and to configure the
CTS/RTS handshake. The RTS/CTS Signals are used to switch the I/O drivers
for RS485, some design flaws in Windows ( or in Wintel computers ?) could
be a reason why it is nearly impossible to make a simple RS232/RS485
interface for Windows systems.

BTW: Profibus is a fieldbus system used for transfering data in industrial
aplications.

cu Gerd
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
> For additional commands, e-mail: mulinux-help@sunsite.dk
>

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:21 CET