29
EPSON Serial Interface Card C82305* C8230* English Deutsch Français ESpañol Italiano 4000152 C01-00

Serial Interface Card - Epson - Exceed Your Vision

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Serial Interface Card - Epson - Exceed Your Vision

EPSON

Serial InterfaceCard

C82305*C8230*

EnglishDeutschFrançaisESpañolItaliano

4000152C01-00

Page 2: Serial Interface Card - Epson - Exceed Your Vision

N O T I C E

All rights reserved. Reproduction of any part of this manual in any form whatsoeverwithout 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 anyerrorS be detected. Seiko Epson would greatly appreciate being informed of themThe above notwithstanding. Seiko Epson can assume no responsibility for any errorsin this manual or their consequences.Copyright © 1990 by- Seiko Epson Corporation. Nagano, Japan

Page 3: Serial Interface Card - Epson - Exceed Your Vision

Serial InterfaceC82305 * /C82306 *

SchnittstellenkarteC82305 * /C82306 *

Interface sérieC82305 * /C82306*

English

Deutsch

Français

Español

Italiano

Interface en serieC82305 * /C82306*

Interfaccia serialeC82305* /C82306*

Page 4: Serial Interface Card - Epson - Exceed Your Vision

TABLE OF CONTENTS

INTRODUCTIONAbout this guide

SETTING THE CONDITIONSCard layoutDIP switch and jumper settingsDIP switchesJumpers

DATA ENTRYSerial communicationAbout data entryHandshaking protocol

SPECIFICATIONS

HARDWARE DESCRIPTION

RECOMMENDED CIRCUIT CONNECTIONS

INSTALLATION

23

4455

10

13131314

17

19

21

22

Page 5: Serial Interface Card - Epson - Exceed Your Vision

INTRODUCTION

The Serial Interface Card 032305 * /C82306 * is an interfacethat allows asynchronous serial data communicationbetween a host computer and an EPSON printer.

This interface card offers the following features:

• Data transmission that can be set at either RS-232Dor 20 mA Current Loop levels (RS-232D has beenrevised from the former RS-232C. Set the signallevels for RS-232D the same as for RS-232C.)

• Handshaking protocol using X-on/X-off or DTR flagcontrol

• Selectable data word structure that allows you tochoose parity (Odd, Even, or None) and word bitsettings (either 7 or 8 bit)

• Selection of baud rate settings from 75 to 19,200 BPS(Data transmission speed is limited to 1,200 BPSwhen the signal level is set to 20 mA Current Loop)

l DIP switch 1 settings that you can change even afterinstallation

Page 6: Serial Interface Card - Epson - Exceed Your Vision

About this guideThis guide is designed to give you detailed informationon how to install your C82305 * /C82306 * serial interfacecard in a variety of EPSON printers. Installationprocedures vary slightly depending upon the printermodel that you have.

Also included are instructions on how to adjust thesettings of the C82305 * /C82306 * interface card, as well asa general description of serial data communication.

The C82305 * /C82306 * option package contains thefollowing items:

C82305*C82306* serial I/F card (1)

Optional connector lock nuts (2)

NoteWhen attaching the interface cable to the interface, youmay find that the screws of your interface cable do notfit into the connector lock nuts. If this happens you will needto replace the connector lock nuts with the optional onesprovided in this package.

3

Page 7: Serial Interface Card - Epson - Exceed Your Vision

SETTING THE CONDITIONS

The C82305 * /C82306 * interface card has two sets ofDIP (Dual In-line Package) switches, and seven jumpers.These switches and jumpers are used for selectingvarious interface operations.

Card layoutThe figure below shows the layout of the C82305 * /C82306 *card, and the locations of the DIP switches and jumpers.

Figure 1. Card layout

4

Page 8: Serial Interface Card - Epson - Exceed Your Vision

DIP switch and jumper settingsBefore you install the C82305 * /C82306 * interface, you mayneed to adjust the DIP switch 2 and jumper settings.You can change the DIP switch 1 settings after youinstall the interface. When making DIP switch settingchanges, it is best to use a pointed device, such as aball-point pen or small screwdriver.

CautionAll changes of DIP switch and jumper settings should bemade with the printer power turned off. New settingsbecome valid only when the printer is turned on.

DIP switchesThe settings on DIP switches allow you to changeinterface functions. The two sets of DIP switches on theC82305 * /C82306* are labelled SW1 and SW2. Each setcontains a number of individual toggle-type switchesthat can be set either on or off. The individual switches arereferred to by set (SW1 or SW2) and number. Therefore,the switch in set SW1 marked by the small number 3 iscalled DIP switchl-3.

5

Page 9: Serial Interface Card - Epson - Exceed Your Vision

DIP switch 1 (interface operations)

The table below contains information on switchfunctions, and the factory setting of each.

Table 1. DIP switch 1

Switch Function ON OFF Factorynumber setting

1-1 I/F card enable/disable Disable ON (Note)

Enable

l - 2 Word length

l-3 Parity check 11-4 Parity check 2

I

8 bit 7 bit ON

OFFSee Table 4.

OFF

l-5

l-6

Baud rate 1

Baud rate 2See Table 5.

O N

OFF

NoteSome printers have a selecting switch (or function) thatallows you to select between the optional and originalinterfaces. If you install the interface card in this type ofprinter, you should set DIP switch l-l on the interfacecard to ON and also change the setting in the printer toselect the optional interface.

6

Page 10: Serial Interface Card - Epson - Exceed Your Vision

DIP switch 2 (interface operations)

The table below contains information on switchfunctions, and the factory setting of each.

Table 2.

Data word structure

The data word structure is also operator selectablethrough DIP switch settings (See Table 1). The wordstructure for serial data is:

1 start bit +7 or 8 data bits (selectable) + 1 paritybit (selectable) +1 or more stop bits.

Page 11: Serial Interface Card - Epson - Exceed Your Vision

The table below shows the possible word structurecombinations.

Table 3. Word structure

You can select the parity check method by DIP switchsettings. (See Table 4.)

Table 4. Parity check

NoteSince the selection of parity check depends on your type ofprinter, refer to your printer’s manual for details.

Page 12: Serial Interface Card - Epson - Exceed Your Vision

Baud rate selection

In serial data communication, data is transmitted in theform of bits. These data bits go out one at a time alonga single path, and in a specified order. The BPS (BitsPer Second) rate, or speed at which these bits aretransmitted, can be selected using a combination of DIPswitch settings.

NoteIn the current loop mode, accurate data transfer cannot beguaranteed at a baud rate setting exceeding 1,200 BPS.

Table 5. Baud rate selection

Page 13: Serial Interface Card - Epson - Exceed Your Vision

Note• The printer will assume a setting of 1,200 BPS for

switch combinations other than those shown above.

• Since the maximum transmission speed (baud rate)depends on your type of printer, refer to yourprinter’s manual for details.

JumpersThe jumper is a small terminal used for connecting ordisconnecting a circuit. The jumper is on when thejumper plug covers both wires of the terminal. Jumpersettings can be changed by either attaching or removingthe rectangular jumper plug. If the jumper is to beturned off, connect it to just one of the two terminalpins as shown in the figure below. By doing this, youcan avoid losing the unused jumper plug.

Figure 2. Jumpers

10

Page 14: Serial Interface Card - Epson - Exceed Your Vision

Jumper settings

Table 6. shows information about the interfaceconditions that can be selected using jumpers. In allcases, ON denotes the connection of the jumper(covering both terminals), while OFF denotes thedisconnection of the jumper.

Table 6. Jumper settings

NoteIf the host computer is not equipped with a powersupply for the Current Loop interface, these jumpersmust be connected to perform communication via theCurrent Loop interface.

11

Page 15: Serial Interface Card - Epson - Exceed Your Vision

Table 7. Flag polarity selection

Jumper FunctionFactorysetting

ON: MARK (do not accept data) =

JNORCurrent ON ON

J5

JREV

ON: MARK (do not accept data)=Negative EIA level

ON: MARK (do not accept data) =Current OFF

ON: MARK (do not accept data)=Positive EIA level

OFF

NoteEither the JNOR or JREV jumper must be connected.

12

Page 16: Serial Interface Card - Epson - Exceed Your Vision

DATA ENTRY

This section gives a brief description of serial datacommunication conditions and handshaking protocolssupported by the C82305 * /C82306 * interface card.

Serial data communicationsThe CL32305 * /C82306 * interface allows you to selecteither RS-232D or 20 mA Current Loop signal levels;but never both at the same time.

This interface card also provides for either DTR (DataTerminal Ready) or X-on/X-off handshaking protocol.

About data entryTransmitted data from a host computer is stored in yourprinter’s internal buffer. (This interface card has nobuffer memory.) When this buffer becomes full, anyadditional transmitted data cannot be accepted andwould be discarded. To prevent such data loss, specialhandshaking protocols are provided to regulate the flowof data transmission. The two protocols available on theC82305 * /C82306 * interface card are DTR and X-on/X-off.

NoteWhen a parity error (if parity check is enabled), framingerror, or overrun error is detected in the data received,data is ignored or an asterisk (*) is printed instead.(Since the handling of communication errors depend onyour type of printer, refer to your printer’sspecifications for details.)

13

Page 17: Serial Interface Card - Epson - Exceed Your Vision

Handshaking protocolDTR and X-on/X-off handshaking protocols can beperformed under either RS-232D or 20mA Current Looptransmission.

X-on/X-off ProtocolX-on/X-off protocol is a system in which the printertransmits a code to the computer to indicate that itcannot accept more data, and a second code when it isonce again ready.

The C82305* /C82306* interface card sends anX-on < 11 > H code when it is ready to receive data, andan X-off < 13 > H when it is busy. The X-on/X-off signalsmay be transmitted from the TXD terminal at RS-232Dsignal levels, or through the TTY-TXD terminal at 20mA Current Loop levels.

After the X-on flag has been set, data can be acceptedup to the maximum capacity of the buffer.

• Transmit timing of X-off signalThe X-off signal is transmitted when the vacant areain the buffer drops below the specified value(typically 256 bytes; refer to your printer manual).

• Data transfer after X-off signalData can be sent to the printer even after the X-offsignal is transmitted as long as sufficient room fordata remains in the buffer. However, if thetransmitted data exceeds the vacant area in thebuffer, it will be discarded.

14

Page 18: Serial Interface Card - Epson - Exceed Your Vision

• Transmit timing of X-on signalThe X-on signal is transmitted when the power is firstturned on, or when the vacant area in the buffer isgreater than the specified value (typically 512 bytes;refer to your printer manual).

Figure 3. X-on/X-off thing

X-ON X-OFF X-ON

POWER ON Buffer capacity lessthan specified value

Buffer capacity greaterthan specified value

DTR protocol

Under this system, when the printer is turned on theDTR enters the SPACE state, meaning that data entry isenabled. When the rate of data reception is greater thanthat of printing, the buffer gradually fills up. Once thevacant area in the buffer drops below the specified value(typically 256 bytes; refer to your printer manual), theDTR sets the status flag to prohibit further data entry.This flag is output through the DTR pin (No. 20) atRS-232D signal levels, and through the TTY-TXD pin(No. 17) at Current Loop Levels.

1 5

Page 19: Serial Interface Card - Epson - Exceed Your Vision

With the status flag set, and data reception prohibited,the vacant area of the buffer gradually increases as theprinter continues to print. When the vacant area in thebuffer reaches the specified value (typically 512 bytes;refer to your printer manual), the flag is reset and dataentry is again enabled.

NoteReverse Channel pin (No. 11) and DTR pin (No. 20) areinternally connected on the interface board and musthave identical signal levels.

Printer status error

The flag will be set immediately regardless of theremaining buffer capacity if the printer detects an error.

16

Page 20: Serial Interface Card - Epson - Exceed Your Vision

SPECIFICATIONS

1. Synchronization: Asynchronous

2. Baud Rate: 75, 110, 134.5, 150, 200, 300, 600,1,200, 1,800, 2,400, 4,800, 9,600, or19,200 BPS (selectable)

3. Word length:Start bit: 1 bitData bit: 7 or 8 bits (selectable)Parity bit: Odd, even, none, or ignore (selectable)Stop bit: 1 bit or more

4. Input signal polarity:1) With RS-232D:

MARK = logic "1' ( - 3 to -25V)SPACE = logic "0" ( +3 to +25V)

2) Current loop:MARK = logic "1" (Current ON)SPACE = logic "0" (Current OFF)

NoteThe above voltage, between pin No. 17 and No. 24,must not exceed 25V.

17

Page 21: Serial Interface Card - Epson - Exceed Your Vision

5. Handshaking

Table 8. Handshaking

Using DTR protocol

Using X-ON/X-OFFprotocol

US-232D

The two signal The impedanceconditions at pm No. between pin No. 1711 and pin No. 20 are and pin No. 24 is asas follows; follows;MARK-data entry is LOW(MARK)-datadisabled entry is disabledSPACE-data entry is High(SPACE)-dataenabled entry is enabled

Data transmitted frompin No. 2 is controlleras follows;X - O N < l l > H - d a t aentry is enabledX-0FF<13>H-dataentry is disabled

Data transmitted bythe change of theimpedance betweenpin No. 17 and pinNo. 24 is controlled afollows;X - O N < l l > H - d a t aentry is enabledX-OFF<13>H-dataentry is disabled

Control Loop

s

The DTR signal is always set to SPACE while X-on/X-off handshaking is selected.X-on/X-off characters will not be transmitted from TXDwhile DTR handshaking is selected (TXD signal isalways set to MARK).

NoteOperation is not guaranteed when using the current loopmode at rates over 1,200 BPS.

18

Page 22: Serial Interface Card - Epson - Exceed Your Vision

HARDWARE DESCRIPTION

1. I/F board connector: EIA standard 25-pin D-SUBfemale connector.

2. For signal description and pin assignment, refer tothe table below:

Table 9. Signal Description and Pin AssignmentPin No. Signal name Direction Description

1protectiveGround — Chasis ground

Transmitted2 Data (TXD) Text Transmitted serial data

3Received Data(RXD)

Ill Received serial data

4Request to o u t

This signal is always at theSend (RTS) positive EIA level.I I

7 Signal Ground In Return path for data andcontrol signals.

Reverse1 1 Channel Out

(=2nd RTS)

Data Terminalk t20 OutReady (DIR)

This

signal is at he positive

EIA Level when the printer isready to accept data entryand at the negative EIAlevel when the printer is notready to accept data entryOperator can invert thepolarity of the signal withjumper 15.

19

Page 23: Serial Interface Card - Epson - Exceed Your Vision

Pin No. Signal Name Direction*

17 TTY-TXD o u t

24TTFTXDReturn

Description

High impedance (‘SPACE’)between pin No. 17 and No24 or an X-on signal sentacross pin No. 17 and No.24 indicates that the printeris ready to accept data. Lowimpedance (‘MARK’) or anX-off signal being sentindicates that the printer isbusy. Operator can invertthe polarity of this signalwith jumper J5.

25 T T Y _ R X D I n

23T e x t

—R e t u r n

Input data of serial CurrentLoop.

Note• The column heading “Direction” refers to the direction

of signal flow as viewed from the printer.

• All signals except TTY-TXD and TTY-RXD complywith the EIA RS-232D standard.

20

Page 24: Serial Interface Card - Epson - Exceed Your Vision

RECOMMENDED CIRCUIT CONNECTIONS

Recommended line driver and line receiver for RS-232Dsignal level settings. (As viewed from the host computer.)

Figure 4. RS-232D

Line Receiver

Serial Interface Card

Recommended line interface circuit for 20mA CurrentLoop signal level settings. (As viewed from the hostcomputer.)

Figure 5. Current Loop

NoteThe value of "R" should be selected so that the loopcurrent is set between 10 and 20 mA. The "+v" shouldbe 3V to 24V.

21

Page 25: Serial Interface Card - Epson - Exceed Your Vision

INSTALLATION

The C82305* /C82306* interface card is designed to beinstalled inside the printer. Installation or removal of theinterface board is easy, and requires only a screwdriver.

The following section gives you detailed information onhow to install your interface card in a variety ofEPSON printers.

Caution• Turn off the power to the printer and the computer

before installing the serial interface. Make sure that allpower and interface cables are removed.

• Avoid touching the printer’s circuit board contacts, asmany of these components are sensitive to staticelectric charges that may build up on your body.

1. First, you may need to adjust the DIP switches andjumper settings.

If the screws don’t fit your interface cable, you willneed to replace the connector lock nuts with theoptional ones provided in this package.

NoteThe original CS2305* lock nuts are imperial standard(inch), and the C82306* lock nuts are metric.

22

Page 26: Serial Interface Card - Epson - Exceed Your Vision

inside the compartment.2. Fit both sides of this interface card into the guides

3. Insert this interface card until the interface pins matewith the connector inside your printer.

4. Secure the interface with the two screws.

23

Page 27: Serial Interface Card - Epson - Exceed Your Vision

Current-Loop Transmitter/ReceiverCircuit Diagrams

Set the Jumper Jl, J2, J3, and J4 referring to thefollowing diagrams.

Transmitter Circuit Diagram

121

Page 28: Serial Interface Card - Epson - Exceed Your Vision

Receiver Circuit Diagram

122

Page 29: Serial Interface Card - Epson - Exceed Your Vision

E P S O N O V E R S E A S M A R K E T I N G L O C A T I O N S

EPSON AMERICA. INC.2780 Lomita Blvd.Torrance. Cailif. 90505. U S APhone (213) 539-9140Fax (213) 534-5854

EPSON UK LTD.campus 100. Maylands Avenue.Hemel, Hempstead. Herts.HP2 7EZ, UKPhone: 442-61144Telex: 5182467

EPSON AUSTRALIA PTY. LTD.Unit 3, 17 Rodborough Road.Frenchs Forest NSW 2086 AustraliaPhone: (2) 452-0666Fax (2) 975-1409

EPSON HONG KONG LTD.25/F, Harbour Centre.25 Harbour, Road WanchalHong KongPhone: 8314600Telex: 65542

EPSON ITALIA S.p.A.V, le F. IIi Casiraghi. 427 20099SESTO S, GIOVANNI MI. ItalyPhone: 2-262331Fax: 2-2440750

SEIKO EPSON CORPORATION(Hirooka Office)80 Harashinden. HirookaShiojiri-Shi, Nagano-Ken399-07 JapanPhone: (0263) 52-2552

EPSON DEUTSCHLAND GmbHZülpicher StraBe 6,4000 Düsseldorf 11F.R. GermanyPhone: (0211) 56030Telex: 6584786

l

EPSON FRANCE S. A.68 bis. rue Marjolin 92300Levallois-Perret, FrancePhone: (1) 47-373333Telex: 610657

EPSON SINGAPORE PTE. LTD.No. 1 Raffles Place #26-00OUB Centre. singapore 0104Phone: 5330477Fax: 5338119

EPSON ELECTRONICS TRADING LTD.(TAIWAN BRANCH)1OF, No, 287 Nanking E. Road Sec. 3,Taipei. Taiwan R. O. C.Phone: (02) 717-1360Fax: (02) 712-9164

EPSON IBERICA. S.A.paris. 152, 08036 Barcelona. SpainPhone: 410-34-00Fax: 439-95-17

1990 May

Printed in Japan 90.07-.2