The Serial Interface C82302* / C82304* is an interface
board that allows asynchronous serial data communication between a host computer and an Epson printer.
This board
a 32K byte buffer that frees up your computer for
other uses while your printer continues to print.
two self-test functions that can help solve interface
problems.
signal levels that can be set at either RS232C or 20
mA Current Loop.
handshaking protocol using X-on/X-off or DTR flag
control.
selectable data word structure. This
choose parity (Odd. Even, or None) and word bit
settings (either 7 or 8 bit).
selection of baud rate settings from 75 to 19,200 BPS.
(Data transmission speed is limited to 1,200 BPS
when the signal level is set to 20 mA Current Loop.)
This optional interface board is intended for use with the
following Epson printers:
All changes of DIP switch and jumper settings show are
made with the printer power turned off.
chacks and
recognizes new settings only at the time the
the printer
power is turned on
About DIP
switches
The two sets of DIP switches on the C82302*/C82304*
are labelled SW1and SW2. Each set contains a number
of individual toggIe type switches that can be set either
onoroff.
(SW1 or SW2) and number.
The individual switches are referred to by set
Therefore, the switch in set
SW1 marked by the small number 3 is calIed DIP switch
1-3
5
Page 7
DIP switch 1(Interface operations)
The table below contains information on switch func-
tions, and the factory setting
of each
switch.
The
switches on DIP switch 1 allow you to change interface
functions.
Table
1- DIP
-------
L
s
l-1
l-2
l-3Evcn/ald puity-
I4 potalityae~
lb
--
14
1-7
la
smitch 1
--.
ON OFF
WUdhI@h-
Parity check
Irksam
FLgtUIlUpaitivdnqative Negative
auble/diubk
Baudntelektion
7bth
Enable
Even Odd
@JoteZ) OJaal)
See Table 3.
(bib
OFF
I)iyMc
OFF
Paith’f!
1
‘z
OFF
m
OFF
OFF
OFF
OFF
Note
1. Positive:
Data Entry Enabled DTR ON (+3V to +27v)
Data Entry Disabled DTR OFF (-3V to -27V)
2 Negative:
Data Entry Enabled DTR OFF (-3V to -27W
Data Entry Disabled DTR ON (+3V to +27v)
6
Page 8
Data word structure
The data word structure is also operator selectable
through DIP switch settings (see Table 1). The word
structure for serial data is:
1 start bit + 7 or 8 data bits (selectable) + 1 Even or
Odd parity bit (optional) + 1 or more stop bits
The table below shows the possible word
Combinations.
structure
Baud rate selection
In serial data communication, data is transmitted in the
form of bits. These data bits go out one at a time along a
(Bits
single path, and in a specified order. The BPS
Per
Second) rate, or speed at which these bits are transmit-
ted, can be selected using a combination of DIP switch
settings.
Note
In the current loop mode, normal data transfer operation
cannot be guaranteed at a baud rate setting exceeding
1,200 bps
7
Page 9
the printer buffer is enabled. The buffer is a memory
which can temporarily store data from a computer.
Table 3. Band rate selection
Note
Switch combinations other than those shown above will
be taken as a setting for
8
Page 10
Dip switch 2 (interface operations)
The table below contains information
on
switch functions, and the factory setting of each switch The
switches on DIP switch 2 allow you to change interface
functions and select the self test modes .
Note
This interface board operates when DIP switch 2-1 is
turned on. By turning this switch off, the parallel
interface of the printer can be used even with the serial
interface board installed. You should, however, remove
any unused interface cable to prevent the possibility of
radio frequency interference.
9
Page 11
Buffer full recovery timing
When the available space for bytes in the print buffer
drops to 512 or 16 bytes, data entry is disabled. As the
printer prints the data in the buffer, the vacant area for
bytes increases. when this vacant area reaches one of
cation is resumed. These settings are selectable by using
the DIP switches.
The jumper is a small terminal used for connecting or
disconnecting a circuit. The jumper is on when the
jumper plug covers
both wires of the terminal. Jumper
settings can be changed by either attaching or removing
the rectangular jumper plug.
If the jumper is to be
turned off, connect it to just one of the two terminal pins
as shown in the figure below. By doing this, you can
avoid losing the unused jumper plug.
10
Page 12
Jumper settings
The tables below give you information about the
interface conditions that can be selected using jumpers.
In all cases, ON denotes the connection of the jumper
(covering both terminals), while OFF denotes the
disconnection of the jumper.
11
Page 13
If the host computer is not equipped with a power
1.
supply for the Current loop interface, these
jumpers must be connected to perform communication via the Current loop interface
2
Either J8 or j9 jumper is connected at the factory,
and you should not change this setting
3.
Either JCX or JCF jumper must be connected.
4.
Either JCL or JRS jumper must be connected.
Jumper settings for RS-232C and current loop
Refer to the table below for information on the four
available handshaking protocol selections.
Table 7. Protocol selection in RS-232C mode
Table 8.
I
Protocol selection in Current Loop mode
JCL
OFF
12
1
Page 14
serial data communications
The C82302*/C82304 interface allows you to select
either RS-232C or 20 mA Current Loop signal leve
data communication but never both at the same time
This interface board also provides for either DTR (Data
Terminal Ready) or X-on/X-off handshaking protocol.
About data entry
To accommodate data entry, the C82302*/C82304*
interface board is equipped with a buffer that temporarily stores data before transferring it to the printer When
this buffer becomes full, any additional transmitted data
cannot be accepted and is discarded. To prevent such
data loss, special handshaking protocols are provided
transmits a code to the computer to indicate that it
cannot accept more data, and a second code when it is
once again ready. This protocol can be performed under
either RS232C or 20 mA Current Loop signal levels.
The C82302*/C82304* interface board sends an X-on
<11>H
X-on/X-off protocol cannot be performed when the
buffer
operation
is disabled. But the DTR flag protocol
is still possible.
After the X-on flag has been set, data can be accepted up
to the maximum capacity of the buffer.
l
Transmit timing of X-off signal
The X-off signal is transmitted when the vacant area
for bytes in the buffer drops to 512 or 16 bytes
(selectable with DIP switch 2-6).
l
Dati tn?nsjkapnx+igmll
Data can be sent to the printer even after the X-Off
signal is transmitted as long as sufficient room for
data remains in the buffer.
However,
if the transmitted data exceeds the vacant area in the buffer, it will
be discarded. X-off character will be transmitted
again when the remaining buffer capacity is actually
<08>H
0 bytes. At the same time, BS code
<2F>H
character
will be sent to the printer.
and “/”
14
Page 16
l
Tmusnrit timing
ofXon
signal
neX4nt6lgnalis-tiwhe!nthepowerisfirst
tumedon,orwhenthevauntaminthebufferk
greater than the preset value of the buffer recovery
timing. Refer to Table 5. for buffer recovery timing
information
Figure 3. X-on/x-off timing
DTR protocol
This interface board also provides for DTR handshaking
protocol using either RS-232C or Current Loop signal
levels
Under this system, when the printer is turned on the
DTR enters the SPACE state, meaning that data entry is
enabled. When the rate of data reception is greater than
that of printing, the buffer gradually fills up. once the
vacant area for transmitted bytes drops to 512 or 1
bytes, the DTR sets the status flag to prohibit further.
data entry. This flag is output through the DTR (pin No.
20) under RS-232C signal levels, and through the TTYTXD (pin No. 17) under Current Loop levels.