Beruflich Dokumente
Kultur Dokumente
Serie 1
Comunicacin serie
Serie 2
Comunicacin serie
Serie 3
RS 232C
Un hilo
1 emisor
1 receptor
15m
RS 423
Un hilo
1 emisor
10 receptores
1.200m
RS 422
Diferencial
1 emisor
10 receptores
1.200m
RS 485
Diferencial
32 emisores
32 receptores
1.200m
20K
100K
10M
10M
25V
6V
+ 6V
- 0,25
+ 12V
- 7V
2V min
1,5V min
100
60
5V min
15V mx
3K - 7K
3,6V min
6,0V mx
450 min
-Controlado
30V/s mx -Determinado por la velocidad y longitud del cable
3K - 7K
4K
4K
12K
3V
200mV
200mV
-7 V Vmc 7 V
300mV
-12 V Vmc 12 V
Comunicacin serie
NORMAS DE COMUNICACIN ENTRE SISTEMAS.RS 232.
Lnea
Transmitted Data
Abreviatura
TxD
Received Data
Request To Send
RxD
RTS
Clear To Send
CTS
DSR
DTR
Ring Indicator
RI
RLSD
Significado
Los datos se transmiten a travs de esta lnea. Sin embargo el
DTE (PC) slo puede empezar a enviar cuando las cuatro lneas
de gobierno RTS, CTS, DSR y DTR tengan un uno lgico. Segn
el protocolo V.24 esta lnea se encuentra en
marking condition
(lgico 1) cuando no se transmiten datos.
La lnea de datos del DCE (mdem) al DTE (PC).
Poniendo esta lnea a uno 1 lgico, el DTE (PC) pregunta al DCE
(mdem) si est preparado para recibir datos.
Tras un RTS, el DCE (mdem) pone esta lnea en 1 lgico, tan
pronto como est preparado para recibir datos.
Poniendo esta lnea a 1 lgico, el DCE (mdem) indica al DTE
(PC) que se ha establecerse contacto con la parte contraria (se ha
marcado exitosamente el nmero correspondiente) y pueden por
tanto enviarse datos al lejano DCE (otro mdem).
El DTE (PC) pone esta lnea en 1 lgico tan pronto como est
preparado para comunicarse con el DCE (mdem). Con ello el
mdem sabe que est conectado a un DTE activo.
A travs de esta lnea el DCE (mdem) indica al DTE (PC) de
que hay una llamada en la lnea telefnica a la que est conectada
el mdem.
A travs de la lnea RLSD el DCE (mdem) indica al DTE (PC)
que ha recibido una seal (carrier) desde el otro extremo de la
lnea. Por eso se habla tambin de carrier detect. Esto no implica
sin embargo que ya se haya establecido un verdadero contacto,
pues bajo ciertas circunstancias puede darse que ambos DCE
(mdems) no encuentren un protocolo de transmisin comn en
cuanto a la modulacin/demodulacin.
Serie 4
Comunicacin serie
NORMAS DE COMUNICACIN ENTRE SISTEMAS.RS 232.
Conectores RS-232
Serie 5
Comunicacin serie
TXD
2
2
TXD
RXD
3
3
RXD
RTS
4
4
RTS
CTS
5
5
CTS
DSR
6
6
DSR
TIERRA 7
7 TIERRA
DTR 20
20 DTR
Conexin de dos RS-232-C con protocolo
TXD
2
2
TXD
RXD
3
3
RXD
RTS
4
4
RTS
CTS
5
5
CTS
DSR
6
6
DSR
TIERRA 7
7 TIERRA
DTR 20
20 DTR
Conexin de dos RS-232-C sin protocolo
Serie 6
Comunicacin serie
Registro
Transmitter Holding
Receiver Data
Baudrate Divisor LSB
Baudrate Divisor MSB
Interrupt Enable
Interrupt ID
Line Control
Mdem Control
Line Status
Mdem Status
Abreviatur
a
THR
RBR
DLL
DLM
IER
IIR
LCR
MCR
LSR
MSR
Puerto estndar
3F8h-3FFh
2F8h-2FFh
3E8h-3EFh
2E8h-2EFh
Lectura Escritura
Puerto
Base +
0
0
0
1
1
2
3
4
5
6
Bit 7 en Line
Control Register
0
0
1
1
0
-
Serie 7
Comunicacin serie
Registros DLM y DLL. RS-232
Ratio de baudios
50
75
110
134,5
150
300
600
1200
1800
2000
2400
4800
7200
9600
19200
38400
57600
115200
Divisor
2304
1536
1047
857
768
384
192
96
64
58
48
24
16
12
6
3
2
1
Registro DLM
09h
06h
04h
03h
03h
01h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
Registro DLL
00h
00h
17h
59h
00h
80h
C0h
60h
40h
3Ah
30h
18h
10h
0Ch
06h
03h
02h
01h
Serie 8
Comunicacin serie
Registro LCR (Line Control Register) Base + 3
7
DLAB
SB
SP
EPS
PEN
Stick Parity
Set Break
Serie 9
Comunicacin serie
Registro LSR (Line Status Register) Base + 5
7
0
TSRE THRE
BI
FE
PE
OR
DR
Data Ready
1 = Hay un carcter ledo en el RBR
Overrun error
1 = Se deposit un carcter nuevo en el RBR antes de haber
ledo el anterior
Parity Error
1 = Error de paridad al recibir el ltimo carcter
Framming Error
1 = Detectado error en el ltimo carcter (bits de stop errneos)
Break Interrupt indicator
1 = Alarma del lado contrario con lnea a 0 constantemente
0 = THR contiene un byte que se tiene que transmitir
1 = THR vaco
0 = TSR an contiene un byte que se est enviando
1 = TSR vaco
Serie 10
Comunicacin serie
Registro IER (Interrupt Enable Register) Base + 1
DLAB = 0
7
Serie 11
Comunicacin serie
Registro IIR (Interrupt Identification Register) Base + 2
Serie 12
Comunicacin serie
Registro MCR (Modem Control Register) Base + 4
LOOP
IE
RTS
DTR
0 = DTR a 1 (PC no listo)
1 = DTR a 0 (PC listo)
0 = RTS a 1 (PC no va a enviar ningn carcter)
1 = RTS a 0 (PC quiere enviar carcter al mdem)
0 = UART no genera interrupciones (func polling)
1 = UART genera interrupciones de acuerdo a IER
1 = Autotest. Todos caracteres enviados son recibidos por la
UART como entradas.
Serie 13
Comunicacin serie
Registro MSR (Modem Status Register) Base + 6
7
Serie 14