Está en la página 1de 7

Null Modem http://pipelara20.tripod.com/nullmodem.

htm

Report Abuse « Previous | Top 100


Search: The Web Tripod
| Next »
share: del.icio.us | digg | reddit |
furl | facebook

Take Our Survey!

Anuncios Google

RS232 Software Rs232 Looking for RS232 Cables? American Seals


Connect RS232 Serial Data Directly to News on Rs232 topics. Check us out! Need RS232 Cables Facts? We Can Bolts, Bars, Cables, Truck Seals Metal
Excel or Any Program ewossnewz.com/Rs232 Help. & Plastic Band Seals, Labels.
www.labtronics.com/device.asp mymegasearch.org/RS232Cables www.americanseals.com

CONEXIONADO DTE-DTE: NULL-M ODEM .

Como ya se ha mencionado, es frecuente que la norma RS-232 se utilice para


otros propósitos distintos de los originales. Uno de los más frecuentes es
conectar un DTE con otro DTE. En este caso el cableado normal DTE a DCE
no tiene sentido y estaríamos cortocircuitando las líneas de salida. Existe una
solución, un cableado cruzado que se conoce como Null-modem. Es fácil de
entender si lo analizamos usando los tres bloques funcionales.

Bloque 1:
Conectar DTR con DSR remoto y RI remoto.
De esta manera cuando un PC activa su RS-232 se lo comunica al remoto.

Bloque 2:
RTS con CTS local y DCD remoto.

Para entender la lógica de este cableado debe observarse que hay dos líneas
independientes de transmisión de datos, una en cada sentido. Por lo tanto la
comunicación es potencialmente Full-duplex. Esto implica que cada DTE
puede transmitir cuando lo desee, independientemente de que el otro DTE lo
esté haciendo o no. Por lo tanto cuando un PC quiere transmitir activa su
RTS, esto activa también su propia CTS lo que le permite transmitir
inmediatamente. Además indica que está transmitiendo a la máquina remota
activando el DCD remoto.

1 de 7 07/03/2009 01:36 p.m.


Null Modem http://pipelara20.tripod.com/nullmodem.htm

Bloque 3:
TxD con RxD remoto.

Como habíamos mencionado, la comunicación es potencialmente


Full-Duplex.

La ventaja del método FD es que permite al usuario comprobar si ha habido


error de transmisión. Si el código en pantalla es el deseado, también es el
que ha leído el host. Esto no pasa en HD. Si en HD existiera un error de
transmisión y el código de la tecla pulsada no llega o llega mal al host, el
usuario no puede, en principio, saberlo.

DIAGRAM AS DE CONEXIONADO DE LOS DIFERENTES


CABLES.

RS232 DB-9 Pin Assignment

2 de 7 07/03/2009 01:36 p.m.


Null Modem http://pipelara20.tripod.com/nullmodem.htm

RS232 DB-25 Pin Assignment

Simple null modem without handshaking

Computer 1 Computer 2
Pin DB-25P Pin DB-9P Signal Signal Pin DB-9P Pin DB-25P
2 3 TD RD 2 3
3 2 RD TD 3 2
7 5 SG SG 5 7

3 de 7 07/03/2009 01:36 p.m.


Null Modem http://pipelara20.tripod.com/nullmodem.htm

Null modem with loop back handshaking

Computer 1 Computer 2
Pin DB-25P Pin DB-9P Signal Signal Pin DB-9P Pin DB-25P
2 3 TD RD 2 3
3 2 RD TD 3 2
7 5 SG SG 5 7
Internal connections for each computer
Pin DB-25P Pin DB-9P Signal
4+5 7+8 RTS+CTS
20+6+8 4+6+1 DTR+DSR+CD

Null modem with partial handshaking

4 de 7 07/03/2009 01:36 p.m.


Null Modem http://pipelara20.tripod.com/nullmodem.htm

Computer 1 Computer 2
Pin DB-25P Pin DB-9P Signal Signal Pin DB-9P Pin DB-25P
2 3 TD RD 2 3
3 2 RD TD 3 2
7 5 SG SG 5 7
4+5 7+8 RTS+CTS CD 1 8
8 1 CD RTS+CTS 7+8 4+5
20 4 DTR DSR 6 6
6 6 DSR DTR 4 20

Null modem with full handshaking

5 de 7 07/03/2009 01:36 p.m.


Null Modem http://pipelara20.tripod.com/nullmodem.htm

Computer 1 Computer 2
Pin DB-25P Pin DB-9P Signal Signal Pin DB-9P Pin DB-25P
2 3 TD RD 2 3
3 2 RD TD 3 2
7 5 SG SG 5 7
4 7 RTS CTS 8 5
5 8 CTS RTS 7 4
20 4 DTR DSR 6 6
6 6 DSR DTR 4 20

Tabla de aplicación de los cables según el software

Simple cable Cable with Cable with Cable with


Use Without Loop back Partial Full
Handshaking Handshaking Handshaking Handshaking
Software flow
xxx x x x
control only
DTE/DCE
compatible
hardware flow - xxx xx -
control at low
speeds

6 de 7 07/03/2009 01:36 p.m.


Null Modem http://pipelara20.tripod.com/nullmodem.htm

DTE/DCE
compatible
hardware flow - + xxx -
control at high
speeds
High speed
communication
- - xx xxx
using special
software

Nota:
xxx Cable recomendado
xx Muy buena alternativa
x Buena alternativa
+ Funciona, pero no se recomienda
- No funciona

Tx Serial
RS-232
Null Modem
LAN
Enlaces
About Us

7 de 7 07/03/2009 01:36 p.m.

También podría gustarte