PROFACE PL-5700 Series Manual page 107

Table of Contents

Advertisement

Appendix
Operatio n
Setting RS-232C
line mode
S ending 1-byte
data
R eceiving 1-byte
data
R eading
communication port
s tatus
INT 15h Other System Services
Operatio n
Wait time check
PL-5700 Series User's Manual
Input
00h
AH =
AL =
Line mode/Parameter
B its 7, 6, 5: B aud rate
B its 0, 0, 0: 110 Baud
B its 0, 0, 1: 150 Baud
B its 0, 1, 0: 300 B aud
B its 0, 1, 1: 600 B aud
B its 1, 0, 0: 1200 B aud
B its 1, 0, 1: 2400 B aud
B its 1, 1, 0: 4800 B aud
B its 1, 1, 1: 9600 B aud
B its 4&3: P arity
B its X , 0: No parity
B its 0, 1: Odd parity
B its 1, 2: E v en parity
B it 2: Stop bits
B it 0: 1 bit length
B it 1: 2 bit length
B its 1&0: Word length
B its 1, 0: 7 bits
B its 1, 1: 8 bits
DX =
P ort No.
AH =
01h
AL =
Data to s end
DX =
P ort No.
AH =
02h
DX =
P ort No.
AH =
03h
DX =
P ort No.
Input
AH =
83h
AL =
00h: Interval timer s tart
01h: Interval timer stop
E S :BX =
E n d flag address
C X:DX =
Wait time in 1 µs ec units
O
utput
AH = Line control s tatus
B it 7: Time over error
B it 6: Transmis s i o n s hift register
empty
B it 5: Transmis s i o n hold regis ter
empty
B it 4: Break detected
B it 3: Framing error
B it 2: Parity error
B it 1: Overrun
B it 0: Data ready
AL =
R eceived data
AH =
Line control status
AL =
Line control status
AL =
Modem status
B it 7: Carry detected
B it 6: Call signal recei v ed
B it 5: Data-s et ready
B it 4: Transmis s i o n enabled
(CTS)
B it 3 - 0: Not in use
O
utput
C Y=
0: S u cces s f u lly completed
=
1: Error
App-25

Advertisement

Table of Contents
loading

Table of Contents