Siemens 9015 Manual De Usuario
V.24/RS-232 C
Interfaces
Programmer Reference Guide
U26169-J-Z716-1-7600
©
S
iem
e
n
s
N
ix
dor
f
In
fo
rm
at
io
n
s
s
y
s
tem
e
A
G
1
995
P
fad:
D:
\S
NI
\M
ac
k
w
it
z
\u
261
69
\o
261
69
e\
26
169
e.
k
1
1
X-ON/X-OFF protocol
The following signal lines are used:
After power-on, the DTR signal and the RTS signal are set to ON (positive level). When the
host sets the DSR and CTS signals to ON, the printer sends an X-ON signal to the host.
The printer is then ready to receive.
host sets the DSR and CTS signals to ON, the printer sends an X-ON signal to the host.
The printer is then ready to receive.
The data flow is controlled with the control characters DC1 (X-ON) and DC3 (X-OFF). The
printer sends the control character DC1 to the host when it is ready to receive.
printer sends the control character DC1 to the host when it is ready to receive.
Ready to receive means:
–
Power-on
–
512 bytes free in the printer buffer
The printer sends the control character DC3 to the output system 255 bytes before “Printer
buffer full”. If further data is sent to the printer after the control character, it sends a second
DC3 to the printer 128 bytes before buffer overflow. The control characters are sent in the
sequence DC1, DC3, DC1, DC3 etc. The only exception in the sequence is the second DC3
before buffer overflow.
buffer full”. If further data is sent to the printer after the control character, it sends a second
DC3 to the printer 128 bytes before buffer overflow. The control characters are sent in the
sequence DC1, DC3, DC1, DC3 etc. The only exception in the sequence is the second DC3
before buffer overflow.
Designation
Explanation
Direction
from/to printer
from/to printer
Pin
EIA
DIN
CCITT
1
2
3
5
6
7
20
2
3
5
6
7
20
AA
BA
BB
CB
CC
AB
CD
BA
BB
CB
CC
AB
CD
E1
D1
D2
M2
M1
E2
S1.2
D1
D2
M2
M1
E2
S1.2
101
103
104
106
107
102
108.2
103
104
106
107
102
108.2
PG: Protective Ground
TXD: Transmit Data
RXD: Receive Data
CTS: Clear to Send
DSR: Data Set Ready
SG: Signal Ground
DTR: Data Terminal Ready
TXD: Transmit Data
RXD: Receive Data
CTS: Clear to Send
DSR: Data Set Ready
SG: Signal Ground
DTR: Data Terminal Ready
x
x
x
x
x
x
x