Page 1
EPSON
32KB
Serial
Interface Card
C82307 *
C823088 *
English
Deutsch
Français
Español
Italiano
4000273
C01-00
Page 2
FCC
COMPLIANCE STATEMENT
FOR
This equipment has been tested and found to comply with the limits for a Class B digital
AMERICAN
device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference in a residential installation. This
equipment generates, uses, and can radiate radio frequency energy and, if not installed
and used in accordance with the instructions, may cause harmful interference to radio
communications However. there is no guarantee that interference will not occur in a
particular installation. If this equipment does cause harmful interference to radio or
television reception, which can be determined by turning the equipment off and on, the
user is encouraged to try to correct the interference by one or more of the following
measures:
—
Reorient or relocate the receiving antenna
—
Increase the separation between the equipment and receiver.
—
Connect the equipment into an outlet on a circuit different from that to which the
receiver is connected.
—
Consult the dealer or an experienced radio/TV technician for help
This device complies with Part 15 of the FCC Rules. Operation is subject to the following
two conditions:
(1)
this device may not cause harmful interference, and
(2)
this device must accept any interference received,
including interference that may cause undesired operation.
This digital apparatus does not exceed the Class B limits for radio noise emissions from
digital
apparatus as set out in the radio interference regulations of the Canadian
Department of Communications
Le présent appareil numérique n´émet
applicables aux appareils numériques
brouillage radioélectrique édicté
The connection of a non-shielded printer interface cable to this printer will invalidate
the FCC Certification of this device and may cause interference levels which exceed the
limits established by the FCC for this equipment If this equipment has more than one
interface
connector. do not leave cables connected to unused interfaces.
Seiko Epson Corporation shall not be liable against any damages or problems arising
from the use of any options or any consumable products other than those designated
as Original Epson Products or Epson Approved Products by Seiko Epson Corporation
All rights reserved. Reproduction of any part of this manual in any form whatsoever
without Seiko Epson’s express written permission is forbidden.
The contents of this manual are subject to change without notice.
All efforts have been made to ensure the accuracy of this manual. However, should any
errors be detected, Seiko Epson would greatly appreciate being informed of them.
The above notwithstanding, Seiko Epson can assume no responsibility for any errors
in
this manual or their consequences
Copyright © 1990
FOR CANADIAN
pas de bruits radioélectriques dépassant les limites
de Class B prescrites dans le règlement sur le
par le Ministére des Communications du Canada.
WARNING
NOTICE
by Seiko Epson Corporation, Nagano. Japan
USERS
USERS
Page 3
32KB Serial Interface Card
C82307* / C82308*
English
32-KB-Schnittstellenkarte
C82307* / C82308*
Carte d´Interface série 32Ko
C82307* / C82308*
Módulo de interface en serie de 32KB
C82307* / C82308*
Scheda dell´interfaccia seriale da 32KB
C82307* / C82308*
Deutsch
Français
Español
Italiano
Page 4
TABLE OF CONTENTS
INTRODUCTION
About this guide
SETTING THE CONDITIONS
Card layout
DIP-switch and jumper settings
DIP switches
Jumpers
DATA ENTRY
Serial communication
About data entry
Handshaking protocol
SELF TEST
Loopback mode
Line-monitor mode
SPECIFICATIONS
HARDWARE DESCRIPTION
CIRCUIT DIAGRAMS
INSTALLATION
2
3
4
4
5
5
14
16
16
16
17
21
21
22
23
25
28
31
Page 5
INTRODUCTION
The Serial Interface Card C82307 * /C82308 * is an interface
that
allows asynchronous serial
between a host computer and an EPSON printer.
This interface card offers the following features:
A 32K byte buffer
•
other uses while your
Two self-test functions
•
problems
Data transmission that can be set at either RS-232D,
•
RS-422A,
has been revised from the former RS-232C.
signal levels for RS-232D the same as for RS-232C.)
Handshaking protocol using X-on/X-off or DTR flag
•
control
Selectable
•
choose
word bit settings (either 7 or 8 bit)
Selection of
•
(Data transmission speed is limited to 19,200
when interface is set to either RS-232D or 20-mA
Current-Loop.)
DIP-switch 1 settings
•
installation
or 20-mA Current-Loop levels (RS-232D
data
parity
that
word
(Odd,
baud-rate
structure that
Even,
that
data
communication
frees up your computer for
printer
continues to print
that
can help solve interface
Set
the
allows you to
None, or Ignore) and
settings from 75 to 38,400
BPS
you can change even
BPS
after
Page 6
About
this guide
This guide is designed to give you detailed information
on how to install
in a
card
variety
procedures
your
C82307 * /C82308 * serial interface
of EPSON printers. Installation
vary
slightly depending upon the printer
model that you have.
Also included are instructions on how to adjust the
settings of the C82307 * /C82308 * interface card, as well as
a general description of serial
data
communication.
The C82307 * /C82308 * option package contains the
following items:
C82307*
C82308*
serial I/F card
(1)
Optional
connector lock nuts
(2)
Note
When attaching the interface cable to the interface, you
may find
that
the screws of your interface cable do not
fit into the connector lock nuts. If this happens you will need
to replace the connector lock nuts with the optional ones
provided in this package.
3
Page 7
SETTING THE
The C82307 * /C82308 * interface card has three sets of
DIP (Dual In-line Package) switches, and eight jumpers. DIP (Dual In-line Package) switches, and eight jumpers.
These switches and jumpers are used for selecting These switches and jumpers are used for selecting
various interface operations. various interface operations.
CONDITIONS
Card layout Card layout
The figure below shows the layout of the
card, and the locations of the DIP switches and jumpers.
card, and the locations of the DIP switches and jumpers.
Figure
1. Card layout
C82307 * KS2308
*
4
Page 8
DIP switch and jumper settings
Before you install the C82307* /C82308* interface, you
may need to adjust the DIP-switch 2, DIP-switch 3, and
jumper settings. You can change the DIP-switch 1
settings
DIP-switch setting changes, it is best to use a pointed
device, such as a ball-point pen or small screwdriver.
Caution
All changes of DIP-switch and jumper settings should be
made with the
become valid only when the printer is turned on.
after
you install the interface. When making
printer
power turned off. New settings
DIP switches
The settings on DIP switches allow you to change
interface functions. The three sets of DIP switches on
the C82307* /C82308* are labelled SWl, SW2, and
Each set contains a number of individual toggle-
SW3.
type switches
individual switches are referred to by set (SW1, SW2, or
and number. Therefore, the switch in set SW1
SW3)
marked by the small number 3 is called DIP switchl-3.
that
can be set either on or off. The
5
Page 9
DIP switch
The tables below contain information on switch
functions, and the
Table 1. DIP switch 1
Note
Some
allows you to select between the optional and original
interfaces. If you install the interface card in this type of
printer, you should set DIP switch 1-l on the interface
card
select the optional interface.
1
(interface operations)
factory
setting of each.
printers
to ON and also change the setting in the
have a selecting switch (or function)
printer
that
to
6
Page 10
Data word structure
The
data
word structure is also
through DIP-switch settings
structure for serial
1
start
bit +7 or 8
bit (selectable) +l or more stop bits.
The table below shows the possible word structure
combinations.
Table 2. Word structure
You
can select the parity check method with DIP-switch
settings
Table
(See
3. Parity check
Table
data is:
data
3).
operator
(See
Table
bits (selectable) + 1
selectable
1).
The word
parity
7
Page 11
DIP
switch 2
The tables below contain information on switch
functions, and the factory setting of each.
Table 4. DIP switch 2
(interface operations)
8
Page 12
Baud rate
In serial
form of bits. These
a single
Per Second) rate, or speed at which these bits are
transmitted, can be selected using a combination
switch settings.
Note
In either RS-232D or Current-Loop mode, accurate
transfer cannot be guaranteed at a
19,200
Table 5. Baud rate selection
selection
data
communication,
data
bits go out one at a time along
path,
and in a specified order. The
BPS.
data
is transmitted in the
BPS (Bits
baud rate
exceeding
of DIP-
data
9
Page 13
Handshaking selection and Interface selection
The table below shows the relation between
handshaking selection and interface selection.
Table 6. Handshaking and interface
Note
In
RS-422A mode, selecting DTR handshaking outputs
•
the DTR flag through the DTR pin (No. 20); selecting
X-on/X-off handshaking, fixes the value of the DTR
• The signal is always in a fixed, flag reset state. Signal
polarity can be inverted with DIP switch
3-4.
10
Page 14
Table 7. Handshaking
Table 8. Interface selection
protocol
selection
11
Page 15
DIP
switch
3 (Interface operation)
The tables below contain information on switch
functions, and the factory setting of each.
Table 9. DIP switch 3
12
Page 16
Note
Buffer full recovery timing (DIP switch
•
3-2
and
and DTR flag set/X-off transmit timing (DIP switch
3-6)
selections are enabled only when buffer operation
is enabled (DIP switch
3-1 is OFF). If
SW3-1 is ON,
buffer full recovery timing is set to 32 bytes and DTR
flag set/X-off transmit timing is set to 16 bytes.
• DSR/DCD
RS-232D
signals (DIP switch
is
selected.
3-5)
are enabled when
3-3)
Buffer full
recovery
timing
When the available space for bytes in the print buffer
drops to 512 or 16 bytes,
printer prints the
data in
data
entry is disabled. As the
the buffer, the vacant area for
bytes increases. When this vacant area reaches one of the
four values listed in the table below,
is
resumed. These settings are selectable by using the
data
communication
DIP switches.
Table 10. Buffer full
Vacant area for bytes
in
the print buffer
768
1024
2048
4096
recovery
timing
DIP switch
SW
3-2
OFF
OFF
ON
ON ON
SW 3-3
OFF
ON
OFF
13
Page 17
Jumpers
The jumper is a small terminal used
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.
2.
Jumpers
Figure
for
connecting or
14
Page 18
Table 11. Jumper settings
Note
If the host computer is not equipped with a power
•
supply
for
the Current-Loop interface, jumpers Jl, J2,
and J3 must be connected for communications via the
Current-Loop interface.
When Current-Loop is selected,
•
circuit diagrams to determine the correct current
source and current
• J5, J6, and J7 jumpers
you should not change these settings.
return.
are
see
the section
connected at the factory;
on
15
Page 19
DATA
ENTRY
This section gives a brief description of serial
communication conditions and handshaking protocols
supported by the C82307* /C82308* interface card.
Serial data
The C82307* /C82308* interface allows you to select
either RS-232D, RS-422A, or 20-mA Current-Loop signal
levels for
This interface card also provides for either DTR (Data
Terminal Ready) or X-on/X-off handshaking protocol.
About
To accommodate
interface card is equipped with a buffer
stores
this buffer becomes full, any additional transmitted
cannot be accepted and is discarded. To prevent such
data
loss, special handshaking protocols are provided to
regulate the flow of
available on the C82307* /C82308* interface card are
DTR
To enable
selected, DSR and DCD must be held at the positive
EIA RS-232D
OFF.
When DIP switch
DCD
all received data will be ignored by the interface card.
communications
data
communication.
data entry
data
entry, the C82307* /C82308*
data
before transferring it to the
data
transmission. The two protocols
and X-on/X-off.
data
entry to the buffer while RS-232D
level (SPACE) or DIP switch
is
set to the negative EIA RS-232D level (MARK),
3-5 is
ON and either DSR or
that
temporarily
printer.
3-5
data
When
data
is
must be
Note
When a
framing or overrun
and data is either ignored or an asterisk( * ) is printed instead.
parity error
occurs
errors
(if
parity check is enabled),
are detected in the
16
data
received,
Page 20
Handshaking
protocol
X-on/X-off Protocol
X-on/X-off protocol is a system in which the
transmits a code to the computer to indicate
cannot accept more
once again ready. This protocol can be performed under
either RS-232D, RS-422A, or 20-mA Current-Loop signal
levels.
The C82307* /C82308* interface card sends an X-on
(11H) code when it
(13H) when it is busy. The X-on/X-off signals may be
transmitted from the TXD terminal (pin No. 2) at
RS-232D
terminals (pin No. 9,
through the TTY-TXD terminal (pin No.
Current-Loop signal levels.
After the X-on flag has been set,
up to the maximum capacity of the buffer.
•
•
signal levels, through the SDA and SDB
Transmit timing of the
The
X-off
signal is
for bytes in the buffer drops to flag set level.
Data transfer after
Data can be sent to the
signal is transmitted as long as sufficient room for
data
remains in the buffer. However, if the
transmitted
buffer, it will be discarded. The X-off
be
transmitted
capacity is actually 0 bytes. At
and "/"
(08H)
printer.
data,
and a second code when it
is
ready to receive
10) at
RS-422A signal levels, or
data
can be accepted
X-off
transmitted
X-off
data
exceeds the vacant
again when the remaining buffer
character
signal
when the vacant area
signal
printer
even
(2FH) will be sent to the
that
printer
that
it
data,
and an
17)
at 20-mA
after
the
area
in the
character
time, a BS code
X-off
X-off
will
is
17
Page 21
• Transmit timing of the X-on signal
The X-on signal is
transmitted
when the power is first
turned on, and when the vacant area in the buffer
greater
than
the preset value of the buffer recovery
timing. Refer to Table 12 for information on flag
set/reset
Figure
3.
X-on/X-off
conditions.
timing
is
POWER ON
DTR
X-ON
protocol
X-OFF X-OFF
Buffer
capacity: 512
or 16 bytes
Buffer
capacity
0 byte
X-ON
Buffer
capacity
specified with
DIP
switches
3-2
and
3-3.
This interface card also provides for DTR handshaking
protocol using either RS-232D, RS-422A, or Current-
Loop signal levels.
Under this system, when the
enters the SPACE state, meaning that
DTR
enabled. When the
that
of printing, the buffer gradually fills up. Once the
vacant
area for transmitted
rate
the DTR sets the status flag to prohibit
entry. This flag is output through the DTR (pin No.
printer is
turned on the
data
of
data
reception is greater than
bytes drops to flag set level,
further data
entry
20)
under RS-232D signal levels, through the TRA and TRB
(pin No. 11,
the TTY-TXD (pin No.
13)
under RS-422A signal levels, and through
17)
under Current-Loop levels.
18
is
Page 22
With the
the vacant
printer continues to
bytes reaches the preset recovery value
the flag is reset and
Buffer
status
flag set and data reception prohibited,
area
of the buffer gradually increases as the
print.
When the vacant area for
data
entry is again enabled.
Operation Disabled
(see
Table 12),
Under this condition, the flag is output from the DTR
(pin No.
TRB
the TTY-TXD (pin No.
20)
in
the case of RS-232D, from the TRA and
(pin No. 11,
13) in
the case of RS-422A, and from
17)
in
the case of Current Loop.
When DIP switch 3-l is ON (buffer is disabled), flag set
timing is set to 16 bytes and flag reset timing is set to 32
bytes.
Table 12.
Flag is
(not ready to
accept data)
Flag is
(ready to
accept data)
Flag set/reset
set
reset
conditions
DTR Handshaking
TRA-TRB,
TRA:
TRB:
Current
TRA-TRB
TRA:
TRB:
Current
negative EIA
negative EIA
inverted
noninverted
Loop:
positive EIA
positive EIA
inverted
noninverted
Loop:
RS-232D:
level
RS-422A:
level
20-mA
impedance (Current
RS-232D:
level
RS-422A:
level
20-mA
impedance (Current
low
on)
high
off)
X-on/X-off handshaking
Transmitting
character
Transmitting
character
X-off
X-on
19
Page 23
Flag
set timing is selectable with DIP switch
flag reset timing is selectable with DIP switches
3-3.
Printer status error
The flag is set immediately, regardless of the remaining
buffer capacity, if the
printer
detects an error.
3-6,
and
3-2
and
20
Page 24
SELF
TEST
Two self-test modes can be selected by DIP switches
and
3-8.
power to the
To select a self-test mode, first turn off the
printer
and then change the DIP-switch
3-7
setting. When the power is turned back on, the new
settings automatically go into effect. To exit from the
self test, turn off power and reset the DIP switches.
Table 13. Self-test modes
SW 3-7
ON
ON
Loopback
mode
SW 3-8
OFF
ON
Loopback
Line
Mode
monitor
Turning the power on during loopback mode causes the
interface card to first check the RAM, and then print
the RAM capacity and DIP-switch settings. The interface
then sends the
character
codes 30H to 39H, followed by a
line feed command (0AH), to the printer eight times.
See
Table 14. for the terminal pin connections necessary
with your selected interface type.
Table
14. Terminal pin connections
Interface
selection
RS-232D
RS-422A
Current
Pin No. 2 (TXD) ........................ Pin
Pin No. 9 (SDA) ......................... Pin No. 16 (RDA)
Pin No. 10 (SDB) ............................. Pin No. 18 (RDB)
Loop
Pin No.
Pin No.
l In
is
ON, J2-A is ON, and J3 is ON
Transmitting terminal pin/
Receiving terminal pin
17 (TTY-TXD) .......................
24 (TTY-TXD
this case, the jumper must be
Return)
............................... Pin
NO.
3 (RXD)
Pin No.
25 (TTY-RXD)
(TTY-RXD Return)
set
as follows: J1-A
No.
23
21
Page 25
Line-monitor
During this test, data on the RS-232D line, RS-422A
line, or Current-Loop line is printed in hexadecimal
code. The only difference between normal operation and
this mode is
form.
that
mode
all
data is
converted into hexadecimal
22
Page 26
SPECIFICATIONS
1.
Synchronization: Asynchronous
2.
Baud Rate: RS-232D: 75, 110, 134.5, 150, 200, 300,
3.
Word length:
Start bit: 1 bit
Data bit: 7 or 8 bits (selectable)
Parity bit: Odd, even, none, or ignore (selectable)
Stop bit:
Input signal polarity:
4.
1)
RS-232D:
MARK = logic "l" ( - 3 to - 25V)
SPACE = logic "0" ( + 3 to + 25V)
2)
RS-422A:
MARK = logic "1"
SPACE = logic "0"
3)
Current loop:
MARK = logic "1" (Current on)
SPACE = logic "0" (Current
600, 1,200, 1,800, 2,400, 4,800,
or 19,200
9,600,
RS-422A: 75, 110, 134.5, 150, 200, 300,
600, 1,200, 1,800, 2,400, 4,800,
9,600, 19,200,
(selectable)
Current Loop: 75, 110, 134.5, 150, 200,
300, 600, 1,200, 1,800, 2,400,
4,800, 9,600,
(selectable)
bit or more
1
The RDA is negative
with respect to the RDB.
The RDB is positive (+0.2 V to +6 V)
with respect to the RDB.
Inverted RDB: Noninverted
RDA:
BPS
(selectable)
or 38,400
or 19,200
(-0.2 V
off)
BPS
BPS
to -6 V)
23
Page 27
5. Handshaking
Table 15. Handshaking
Using
protocol
RS-232D
RS-422A
Current
The signal at pin No. 20
as follows;
MARK-data
disabled
SPACE-data
enabled
(Signal
polarity can be
inverted by DIP-switch
setting.)
The signal at pin No. 11
with respect to pin No. 13
is:
MARK-data
disabled
SPACE-data
enabled
(Signal polarity can be disabled
inverted by DIP switch
setting.)
Loop The impedance between
pin No. 17 and pin No. 24
is
as follows;
LOW (MARK)—data
transfer disabled
HIGH
(SPACE)-data
transfer enabled enabled
(Signal
polarity can be
inverted by DIP-switch disabled
setting.)
DTR
transfer follows;
transfer enabled
transfer controlled as follows:
transfer
Using X-on/X-off
protocol
Data transmitted from pin
is
No. 2 is controlled as
X-on
(11H)—data transfer
X-off
(13H)—data transfer
disabled
Data transmitted by the
differential voltage of pin
No. 9 to pin No. 10
X-on
(11H)—data transfer
enabled
X-off
(13H)—data transfer
Data transmitted by the
change of the impedance
between pin No. 17 and
pin No. 24 is controlled as
follows;
X-on
(11H)—data transfer
X-off
(13H)—data transfer
is
24
Page 28
HARDWARE DESCRIPTION
1. I/F
board
connector: EIA
female connector.
For
signal description and pin assignment, refer to
2.
the table below:
Table
16.
Signal Description and
standard
Pin
25-pin
Assignment
D-SUB
25
Page 29
26
Page 30
Note
The column heading “Direction” refers to the direction of
signal flow as viewed from the
printer.
27
Page 31
CIRCUIT
DIAGRAMS
RS-232D
Figure 4.
TXD
DTR
Figure
Transmitter/Receiver
Transmitter Circuit Diagram
l/3 MC145407
l/3 MC145407
5. Receiver Circuit Diagram
1/3
MC145407
RXD
Circuit Diagrams
From
From
To
TXD
DTR
RXD
28
Page 32
RS-422A
Figure
Figure
Transmitter/Receiver
6. Transmitter Circuit Diagram
7. Receiver Circuit Diagram
Circuit Diagrams
29
Page 33
Current-Loop
Figure
8. Transmitter Circuit Diagram
Figure
9. Receiver Circuit Diagram
Transmitter/Receiver
Circuit Diagrams
Note
Set
Jumpers J1, J2, and J3 referring these diagrams.
30
Page 34
INSTALLATION
The C82307* /C82308* interface card is designed to be
installed inside the printer. Installation or removal of the
interface card is easy, and requires only a screwdriver.
The following section gives you detailed information on
how to install your interface card in a
EPSON printers.
Caution
• Turn off the power to the printer
before installing the interface card. Make sure
power and interface cables are removed.
Avoid touching the printer’s circuit
•
many of these components are sensitive to
electric charges that may build up on your body.
First, adjust DIP switches and jumpers settings, as
1.
necessary.
If the screws don’t fit
need to replace the connector lock nuts with the
optional ones provided in this package.
Note
The original C82307* lock nuts are imperial standard
(inch), and the C82308* lock nuts are metric.
your
interface cable, you will
variety
and
the computer
board
contacts, as
of
static
that
all
31
Page 35
2.
Fit
both sides of this interface card into the guides
inside the compartment.
Insert this interface card until the interface pins mate
3.
with the connector inside your
4. Secure the interface with the two screws.
printer.
32
Page 36
EPSON OVERSEAS MARKETING LOCATIONS
EPSON AMERICA, INC.
2780 Lomlta Blvd.,
Torrance. Calif. 90505. U.S.A
Phone: (213) 539-9140
Fax: (213) 534-5854
EPSON UK LTD.
Campus 100, Maylands Avenue.
Hemel Hempstead, Herts,
HP2 7EZ, U.K.
Phone: 442-61144
Telex: 5162467
EPSON AUSTRALIA PTY. LTD.
Unit 3, 17 Rodborough Road,
Frenchs Forest. NSW 2086 Australia
Phone: (2) 452-0666
Fax: (2) 975-1409
EPSON HONG KONG LTD.
25/F, Harbour Centre.
25 Harbour Road Wanchai,
Hong Kong
Phone: 8314600
Telex: 65542
EPSON ITALIA S.p.A.
V, le F, lli Casiraghi, 427 20099
SESTO S, GIOVANNI MI, Italy
Phone: 2-262331
Fax: 2-2440750
SEIKO EPSON CORPORATION
(Hirooka Office)
80 Harashinden, Hirooka
Shiojiri-shi, Nagano-ken
399-07 Japan
Phone: (0263) 52-2552
EPSON DEUTSCHLAND GmbH
Zülpicher Straße, 4000 Düsseldorf 11
F.R. Germany
Phone: (0211) 56030
Telex: 8584786
EPSON FRANCE S. A.
68 bis, rue Marjolin 92300,
Levallois-Perret, France
Phone: (1) 47-373333
Telex: 610657
EPSON SINGAPORE PTE. LTD.
No. 1 Raffles Place #26-00
OUB Centre, Singapore 0104
Phone: 5330477
Fax: 5338119
EPSON ELECTRONICS TRADING LTD.
(TAIWAN BRANCH)
10F, No. 287 Nanking E. Road, Sec. 3,
Taipei, Taiwan, R.O.C.
Phone: (02) 717-7360
Fax: (02) 712-9164
EPSON IBERICA, S.A.
Paris, 152, 08036 Barcelona Spain
Phone: 410-34-00
Fax: 439-95-17
1990 May
Page 37