Status Register
The status register delivers information about the status of the serial interface and about possible errors.
The status of the status register must be checked for every send or receive procedure.
Status register
7
DS
TR RF OV FE PE
P 101 / P 301
Data Register
The data register has two different functions:
-
Frames to be received are read from the data register
-
Frames to be sent are written to the data register
Data register
7
DATA
P 100 / P 300
DS
DSR Line Status
TR
Transmit ready
0
RF
Receive frame
OV
Overrun error
FE
Framing error
PE
Parity error
0
DATA
Data to be sent or received
B&R COMPACT PLC
0 ... DSR low - Other station ready
1 ... DSR high - Other station not ready
0 ... Transmitter sends frame (character)
1 ... Send register empty. Sender ready
to send a frame
0 ... No frame (character) received
1 ... Frame received
0 ... No error
1 ... Error. The receiver was not properly read
before a new frame (character) was
received
0 ... No error
1 ... Error. Stopbit not recognized.
0 ... No error
1 ... Parity test error
- 209 -