Manuale d’uso / di manutenzione del prodotto IC026AE-R2 del fabbricante Black Box
Vai alla pagina of 71
CUSTOMER SUPPORT INFORMATION Order toll-free in the U.S. 24 hours, 7 A.M. Monday to midnight Friday: 877-877-BBOX FREE technical support, 24 hours a day, 7 days a week: Call 724-746-5500 or fax 724-746-0746 Mail order: Black Box Corporation , 1000 Park Drive, Lawrence, PA 15055-1018 Web site: www.
2 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER EUROPEAN UNION DECLARA TION OF CONFORMITY To maintain safety, emission, and immunity standards of this declaration, the following conditions must be met. • Serial and IEEE cables must have a braided shield connected circumferentially to their connectors’ metal shells.
3 W ARNING! Noted conditions pertain to potential safety hazards. When you see a WARNING!, CAUTION!, or IMPORTANT! note, carefully read the information and be alert to the possibility of personal injury. Failure to follow these directives voids emission and immunity compliance.
4 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER FEDERAL COMMUNICA TIONS COMMISSION AND INDUSTR Y CANADA RADIO FREQUENCY INTERFERENCE ST A TEMENTS This equipment generates, uses, and can radiate radio frequ.
5 NOM ST A TEMENT NORMAS OFICIALES MEXICANAS (NOM) ELECTRICAL SAFETY ST A TEMENT INSTRUCCIONES DE SEGURIDAD 1. Todas las instrucciones de seguridad y operación deberán ser leídas antes de que el aparato eléctrico sea operado. 2. Las instrucciones de seguridad y operación deberán ser guardadas para referencia futura.
6 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 11. El aparato eléctrico deberá ser connectado a una fuente de poder sólo del tipo descrito en el instructivo de operación, o como se indique en el aparato. 12. Precaución debe ser tomada de tal manera que la tierra fisica y la polarización del equipo no sea eliminada.
7 CONTENTS Contents Chapter Page 1. Specifications ..................................................................................................10 2. Introduction ...................................................................................
8 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER Chapter Page 4.4 Talk-Back Features ................................................................................34 4.4.1 Talk-Back on Terminator ..........................................................34 4.
9 CONTENTS Chapter Page 6.5 Handshake Lines ...................................................................................57 6.5.1 Data Valid (DAV).......................................................................57 6.5.2 Not Ready For Data (NRFD) .
10 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER IEEE-488 Interface Implementation — C1, C2, C3, C4, and C28 controller subsets. Serial to IEEE: SH1, AH1, T6, TE0, L4, LE0, SR1, RL0, PP0, DC1, DT0, E1.
11 General Data Buffer — 32,000 characters dynamically allocated Indicators — LEDs for IEEE Talk and Listen, Serial Send and Receive, and Power Power — 105-125V or 210-250V; 50-60 Hz, 10 VA max. Size — 2.7"H x 5.5"W x 7.4"D (6.9 x 14 x 18.
12 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 2.1 Description The RS-232 ↔ 488 Interface Converter provides transparent communication from a serial computer to an IEEE 488 printer, plotter, or other device. It also can be used to control a serial device, such as a printer or terminal, from an IEEE 488 host computer.
13 2.2 Abbreviations The IEEE 488 abbreviations listed below are used throughout this manual. addr n IEEE bus address “n” ATN Attention line CA Controller Active CO Controller CR Carriage Return d.
14 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 3.1 Inspection The interface converter was carefully inspected, both mechanically and electrically, prior to shipment. When you receive it, carefully unpack all items from the shipping carton and check for any obvious signs of damage that may have occurred during shipment.
15 Figure 3-1. Factor y-Default Settings. 1 2 3 4 5 6 7 8 OPEN SW3 IEEE Addr IEEE T erm EOI 10 LF Disabled Switch Side View DOT 12345678 OPEN SW2 Mode T alk-Back on Timeout Serial T erm C Enabled LF S.
16 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER Note that the interface converter comes configured as an IEEE controller. In this mode, the interface converter is designed to allow an RS-232 computer to communicate with an IEEE peripheral such as a plotter.
17 CHAPTER 3: Getting Started Figure 3-2. Switch SW1: Selecting the Serial Baud Rate. Switch Side View DOT 11 0 1 2 3 4 5 6 7 8 OPEN 1 2 3 4 5 6 7 8 OPEN 1800 300 1 2 3 4 5 6 7 8 OPEN 11 0 1 2 3 4 5 6.
18 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 3.3.2 S ERIAL W ORD L ENGTH (D ATA B ITS ) SW1-6 determines the number of data bits, often referred to as word length, for each serial character transmitted or received. The factory default is 8 data bits. Figure 3-3.
19 3.3.4 S ERIAL P ARITY Serial Parity is selected with S2-6 through S2-8. The interface converter generates the selected parity during serial transmissions but it does not check parity on data that is received. The factory default is parity disabled.
20 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 3.3.6 S ERIAL H ANDSHAKE Switch SW1-5 is used to select hardware [RTS/CTS] or software [Xon/Xoff] serial handshake control. With X-ON/X-OFF, the interface converter issues an X-OFF character [ASCII value of $13] when its buffer memory is near full.
21 CHAPTER 3: Getting Started 3.4 Selecting T erminator Substitution The interface converter can be configured to provide RS-232-to-IEEE-488 and IEEE-488-to-RS-232 terminator substitution.
22 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 3.4.2 IEEE B US T ERMINATOR SW3-6 through SW3-8 set the IEEE bus terminators used for data sent or received by the interface converter. EOI, a line used to signal the end of a multiple character bus transfer, may also be enabled.
23 CHAPTER 3: Getting Started Figure 3-10. Switch SW2: Selecting the Mode. 3.6 Selecting the IEEE Address SW3-1 through SW3-5 select the IEEE bus address of the interface converter when in the IEEE Peripheral mode. These same switches are used in the IEEE Controller mode to select the address of the device that will be controlled.
24 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 3.7 Feature Selections The functions of the remaining switches are dependent on the mode selected. A brief description of each of these features follows. You should refer to the listed sections for additional information.
25 CHAPTER 3: Getting Started 3.7.2 P ERIPHERAL F EATURES In the IEEE Peripheral (IEEE 488 to RS-232 converter) mode, SW1-7 enables the interface to assert the SRQ IEEE bus interface line to indicate that it has received the last switch selected serial terminator character from the serial device.
26 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 3.8.1 RS-232/RS-422 S IGNAL L EVEL S ELECTION The interface converter’s factory default signal levels are compatible with RS-232. To select RS-422 levels, carefully remove the 8-position shorting plug with a small flat blade screwdriver from J106.
27 CHAPTER 3: Getting Started Figure 3-16. Rear View of the Interface Conver ter’s Serial Connector . -RxD Receive Data—Input—Pin 2 This pin accepts serial data sent by the RS-232 or RS-422 host. The serial data is expected with the word length, baud rate, stop bits, and parity selected by the internal switches.
28 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER Vtest Test Voltage—Output—Pin 6 This pin is connected to +5 volts through a 1K resistor. It is also common to Vtest on Pin 9. Gnd Ground—Pin 7 This pin sets the ground reference point for the other RS-232 inputs and outputs.
29 3.8.3 S ERIAL -C ABLE W IRING D IAGRAMS If a cable was not purchased with the interface, the following diagrams will be helpful in making your own cable. Simple soldering skills and an attention to detail will ensure successful construction. Figure 3-17.
30 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER Figure 3-19. Wiring Diagram: IBM A T or Compatible with DB9 Serial Connector to Interface Conver ter (RS-232). NOTE Standard AT 9-pin-to-25-pin adapter cables are not wired as shown above and will not work with the interface converter.
31 After plugging the power-supply connector into the interface, plug the power supply into AC line power. Turn the rear-panel power switch ON (the “1” position). All the front-panel indicators should light momentarily while the interface converter performs an internal ROM and RAM self-check.
32 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 4.1 Controller-Mode (Serial to IEEE) Operation The IEEE Controller mode allows a serial RS-232 or RS-422 host device to send data to a single IEEE bus peripheral or to multiple peripherals if they occupy the same bus address.
33 CHAPTER 4: Controller Operation 4.2 Serial and IEEE T erminator Substitution The interface converter can be configured to provide serial-to-IEEE-488 and IEEE-488-to-serial terminator substitution.
34 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 4.3 IEEE Address Selection SW3-1 through SW3-5 select the IEEE bus address of the IEEE peripheral the interface converter will be communicating with. These switches set the address of the IEEE device that will be controlled, not the address of the interface converter.
35 Figure 4-2. Switch SW1: Enabling or Disabling “T alk-Back on T er minator .” When the serial input buffer becomes empty, the interface converter checks the last characters sent to the IEEE bus device. If these were the IEEE bus terminators and Talk-Back on Terminator is enabled, the IEEE bus device is addressed to talk.
36 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 4.4.2 T ALK -B ACK ON T IMEOUT SW2-2 selects whether the interface converter should address the attached bus device to talk when the interface converter has no more serial data to send. This feature relies on time and not on terminators.
37 CHAPTER 4: Controller Operation The following is an example of how this feature can be used to communicate with an IEEE plotter. The program example is written in BASIC on an IBM PC or compatible. It turns the PC into a dumb serial terminal. When a key is pressed on the keyboard, the character is transmitted out of the serial (COM1) port.
38 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 4.5 Plotter Applications To use the interface converter to interface an HP-IB plotter to a serial computer port, you will need the following information about your system: 1) The serial data format that the application (plotting or graphics) program expects the plotter to communicate with.
39 Figure 4-4. A PC-Based Graphics System. The following shows the interface converter’s internal switch settings required to use a Hewlett-Packard 7580A plotter with AutoCAD ® from AUTODESK on an IBM PC or compatible. Because PCs and compatibles output RS-232 levels, the shorting DIP jumper should be set to the RS-232 position (J206).
40 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER Figure 4-6. Interface Conver ter Settings for Use with HP 7580A Plotter on an IBM PC. When using the interface converter with plotting programs on the Macintosh computer with graphic drivers such as MacPlot ® , some serial data format parameters are user-modifiable.
41 Figure 4-7. MacPlot Configuration Screen. Figure 4-8. A Macintosh Based Graphics System. The Macintosh computer outputs RS-422 levels. Because of this, the internal DIP shorting jumper is set to the RS-422 position (J205).
42 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER Figure 4-9. Setting the Inter nal DIP Shorting Jumper for RS-422. The following illustrates the interface converter’s internal switch settings for use with MacPlot, using the previously described format.
43 Figure 4-10. Interface Conver ter Settings for Use with HP 7580A Plotter on a Macintosh. After configuration, turn on the plotter and the interface converter. The interface converter’s front-panel LEDs should all light momentarily while it performs an internal ROM and RAM test.
44 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 4.6 Printer Applications Most of the information given for plotter applications applies to applications for interfacing IEEE 488 printers to a serial host. Some high-end printers have a secondary command setting which must be disabled for the interface converter to control them.
45 CHAPTER 5: Peripheral Operation 5.1 Peripheral-Mode Operation This mode of operation is useful in interfacing a serial device, such as a serial printer, plotter or instrument, to an IEEE controller. Data which is sent by the IEEE controller to the interface converter is buffered and transmitted out its serial port.
46 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER When more than 10 queues become available, it asserts RTS or issues “X-ON.” The IEEE bus input signals that the IEEE input (or serial output) buffer is full when the number of queues available drops below 10 (1280 character locations left).
47 CHAPTER 5: Peripheral Operation 5.3.2 C ONTROLLED B US D ATA T RANSFERS If the controller must avoid waiting for the serial device, it can “serial-poll” the interface converter.
48 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER Figure 5-1. Switch SW1: Enabling or Disabling “SRQ on Last T er minator .” 5.4 Serial-Poll Status-Byte Register The following shows and describes the serial-poll status information provided by the interface converter.
49 CHAPTER 5: Peripheral Operation DIO7 rsv serial-poll status information This bit is defined by the IEEE 488 Specification and is used to indicate to the bus controller that the interface converter is the bus device that requested service. It is cleared when the interface is serial polled by the controller.
50 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 5.5 Use of Serial and Bus T erminators The interface converter can be configured to provide RS-232-to-IEEE-488 and IEEE-488-to-RS-232 terminator substitution.
51 CHAPTER 5: Peripheral Operation 5.6.1 M Y T ALK A DDRESS (MTA) When the interface converter is addressed to talk, it retrieves data from the serial input buffer and outputs it to the IEEE 488 bus. It substitutes the selected IEEE bus terminators for the received serial terminators.
52 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 5.7 IEEE Address Selection SW3-1 through SW3-5 select the IEEE bus address of the interface converter when in the IEEE Peripheral mode. The address is selected by simple binary weighting with SW3-1 being the least significant bit and SW3-5 the most significant.
53 CHAPTER 6: IEEE 488 Primer 6.1 History The IEEE 488 bus is an instrumentation-communication bus adopted by the Institute of Electrical and Electronic Engineers in 1975 and revised in 1978. The interface converter conforms to this most recent revision, designated IEEE 488-1978.
54 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER At a committee meeting, everyone present usually listens. This is not the case with the GPIB. The Active Controller selects which devices will listen and commands all other devices to ignore what is being transmitted.
55 CHAPTER 6: IEEE 488 Primer Figure 6-1. IEEE 488 Bus Structure. 6.3 Send It to My Address In the previous discussion, the terms “ Addressed to Talk” and “Addressed to Listen” were used. These terms require some clarification. The IEEE 488 standard permits up to 15 devices to be configured within one system.
56 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 6.4 Bus Management Lines Five hardware lines on the GPIB are used for bus management. Signals on these lines are often referred to as uniline (single line) commands.
57 6.5 Handshake Lines The GPIB uses three handshake lines in an “I’m ready—Here’s the data—I’ve got it” sequence. This handshake protocol assures reliable data transfer, at the rate determined by the slowest Listener. One line is controlled by the Talker, while the other two are shared by all Active Listeners.
58 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER Figure 6-2. IEEE Bus Handshaking. 6.6 Data Lines The GPIB provides eight data lines for a bit-parallel/byte-serial data transfer. These eight data lines use the convention of DIO1 through DIO8 instead of the binary designation of D0 to D7.
59 CHAPTER 6: IEEE 488 Primer 6.7.3 U NLISTEN (UNL) This command tells all bus devices to Unlisten. The same as Unaddressed to Listen. ($3F) 6.7.4 T ALK A DDRESS G ROUP (TAG) There are 31 (0 to 30) talk addresses associated with this group.
60 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 6.7.12 T AKE C ONTROL (TCT) This command passes bus control responsibilities from the current Controller to another device which has the ability to control. ($09 ) 6.7.13 S ECONDARY C OMMAND G ROUP (SCG) These are any one of the 32 possible commands (0 to 31) in this group.
61 6.8.1 S ERIAL P OLL Suppose the Controller receives a service request. For this example, let’s assume there are several devices which could assert SRQ.
62 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER 7.1 Theory of Operation The heart of the interface converter is a 6809 microprocessor (U101) supported by 8K bytes of firmware EPROM [U102 (2764)] and 32K bytes of static RAM [U103 (58256)].
63 7.2 Board Layout Figure 7-1. Component Layout of the Interface Conver ter’s Motherboard. U108 U107 R102 U101 C106 C107 C101 U106 Y101 C1 18 C1 17 U102 C102 U103 C103 C105 C1 10 C1 13 U1 13 C124 U.
64 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER Figure 7-2. Component Layout of the Interface Conver ter’s Serial I/O board. S201 SW1 R201 C201 R202 C202 R203 C203 U202 U203 C206 U201 U206 C210 U205 R20.
65 APPENDIX A: Sample Dumb-T erminal Program 10 REM *** DUMB-TERMINAL PROGRAM FOR THE interface converter 20 REM *** Running under IBM BASIC 30 REM *** This Program allows direct interaction between the 40 REM *** IBM PC and an IEEE bus device through the interface converter.
66 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER ACG = Addressed Command Group TAG = Talk Address Group UCG = Universal Command Group SCG = Secondary Command Group LAG = Listen Address Group NUL $00 0 SOH .
67 How T o Read the Chart APPENDIX B: Character Codes and IEEE Multiline Messages Hexadecimal Decimal Equivalent Equivalent ASCII Character Address or Command.
68 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER Abbreviations IEEE 488 .................................13 Active Controller ...........................53 Address Selection IEEE ........................................34 Applications Plotter .............
69 INDEX Interface Clear .........................51, 56 Interface Converter Connectors .....................................26 Introduction...................................12 LAG ................................................58 LEDs .............
70 RS-232 ↔ IEEE 488 INTERF ACE CONVERTER Serial Parity ....................................18 Serial Poll .......................................61 Serial Poll Disable ....................51, 59 Serial Poll Enable ....................51, 59 Serial Port Settings .
1000 Pasrk Drive • Lawrence, PA 15055-1018 • 724-746-5500 • Fax 724-746-0746 © Copyright 1998. Black Box Corporation. All rights reserved..
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Black Box IC026AE-R2 è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Black Box IC026AE-R2 - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Black Box IC026AE-R2 imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Black Box IC026AE-R2 ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Black Box IC026AE-R2, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Black Box IC026AE-R2.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Black Box IC026AE-R2. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Black Box IC026AE-R2 insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.