background image

Chapter 1

Introduction

© National Instruments Corp.

1-3

GPIB-140 User Manual

The GPIB-140 and GPIB-140/2 bus extenders comply with the specifications of the
ANSI/IEEE Standard 488.1 -1987 and the ANSI/IEEE Standard 488.2-1992, including the
Find Listeners protocol.  With the GPIB extenders, you can overcome the following two
configuration restrictions imposed by ANSI/IEEE Standard 488.1-1987:

A cable length limit of 20 m total per contiguous bus or 2 m times the number of
devices on the bus, whichever is smaller.

An electrical loading limit of 15 devices per contiguous bus.

Each GPIB-140 system extends the GPIB to a maximum distance of 1 km, and each
GPIB-140/2 system extends the GPIB to a maximum distance of 2 km.  Both types of
systems extend the loading limit to 28 devices (including the GPIB extenders), without
sacrificing speed or performance.  These point -to-point extension systems can be
connected in series for longer distances or in star patterns for additional loading.

The maximum data transfer rate over the extension is 2.2 Mbytes/s using HS488
protocol.  The GPIB extender uses a buffered transfer technique with a serial extension
bus to get maximum performance while keeping the cabling cost at a minimum.
Furthermore, there is no speed degradation for transfers between devices on the same side
of the extension.  The GPIB extender also has error-checking capabilities to ensure
successful data transmission over the fiber optic link.

Because the GPIB-140 and the GPIB-140/2 are functionally transparent extenders, the
same GPIB communications and control programs that work with an unextended system
can work with an extended system.  The Parallel Poll Response (PPR) Modes section of
Chapter 3, Configuration and Operation , discusses one minor exception to this
transparency in conducting parallel polls .

Содержание GPIB-140 Series

Страница 1: ...derutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos In stock Ready to ship TAR certified secure asset solutions Expert team I Trust guarantee I 100 satisfaction All trademarks brand names and brands appearing herein are the property of their respective own...

Страница 2: ... Copyright 1995 National Instruments Corporation All Rights Reserved GPIB 140 User Manual June 1995 Edition Part Number 320911B 01 ...

Страница 3: ... 0 Belgium 02 757 00 20 Canada Ontario 519 622 9310 Canada Québec 514 694 8521 Denmark 45 76 26 00 Finland 90 527 2321 France 1 48 14 24 24 Germany 089 741 31 30 Hong Kong 2645 3186 Italy 02 48301892 Japan 03 5472 2970 Korea 02 596 7456 Mexico 5 202 2544 Netherlands 03480 33466 Norway 32 84 84 00 Singapore 2265886 Spain 91 640 0085 Sweden 08 730 49 70 Switzerland 056 20 51 51 Taiwan 02 377 1200 U ...

Страница 4: ...CIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA PROFITS USE OF PRODUCTS OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVE...

Страница 5: ... product failure or by errors on the part of the user or application designer Any use or application of National Instruments products for or involving medical or clinical treatment must be performed by properly trained and qualified medical personnel and all traditional medical safeguards equipment and procedures that are appropriate in the particular situation to prevent serious injury or death s...

Страница 6: ...ommunications DOC Le présent appareil numérique n émet pas de bruits radioélectriques dépassant les limites applicables aux appareils numériques de classe A prescrites dans le règlement sur le brouillage radioélectrique édicté par le ministère des communications du Canada Instructions to Users These regulations are designed to provide reasonable protection against harmful interference from the equ...

Страница 7: ...ions not expressly approved by National Instruments could void the user s authority to operate the equipment under the FCC Rules If necessary consult National Instruments or an experienced radio television technician for additional suggestions The following booklet prepared by the FCC may also be helpful How to Identify and Resolve Radio TV Interference Problems This booklet is available from the ...

Страница 8: ... Switch 2 1 Connect the Hardware 2 1 Step 1 Connect the Cables 2 1 Step 2 Switch On Your GPIB Extender 2 2 Optional Self Test 2 3 Chapter 3 Configuration and Operation 3 1 Data Transfer Modes 3 1 Unbuffered Mode 3 1 Buffered Mode 3 1 Setting the Data Transfer Mode 3 1 HS488 Mode 3 2 HS488 Disabled 3 2 HS488 Enabled 3 2 Setting the HS488 Mode 3 3 Parallel Poll Response PPR Modes 3 3 Immediate PPR M...

Страница 9: ...uirements A 5 Appendix B Specifications B 1 Appendix C Introduction to HS488 C 1 Objectives of HS488 C 1 Fast Transfer Rates C 1 Compatibility with Existing IEEE 488 1 Devices C 1 No Additional Software Overhead Automatic HS488 Detection C 1 No Changes to the IEEE 488 2 Standard C 1 No Added Cabling Restrictions beyond IEEE 488 1 C 2 IEEE 488 1 Requirements for Higher Speed Operation T1 Delay 350 ...

Страница 10: ...iate Parallel Poll Response PPR Mode 3 5 Figure 4 1 GPIB Extender Block Diagram 4 2 Figure A 1 GPIB Connector and the Signal Assignment A 4 Figure A 2 Linear and Star System Configuration A 5 Figure C 1 IEEE 488 1 and HS488 Transfers C 3 Figure C 2 Talker and Listener are HS488 Capable C 4 Figure C 3 Talker is HS488 Capable But Listener Is Not HS488 Capable C 5 Figure C 4 Talker is Not HS488 Capab...

Страница 11: ...cuitry operates Appendix A Operation of the GPIB describes some basic concepts you should understand to operate the GPIB It also contains a description of the physical and electrical characteristics and the configuration requirements of the GPIB Appendix B Specifications lists the specifications of the GPIB extender Appendix C Introduction to HS488 describes HS488 and the sequence of events in dat...

Страница 12: ...mes Angle brackets enclose the name of a key on the keyboard for example Shift A hyphen between two or more key names enclosed in angle brackets denotes that you should simultaneously press the named keys for example Control Alt Delete GPIB 140 GPIB 140 refers to a National Instruments GPIB extender that extends the GPIB to a maximum distance of 1 km GPIB 140 2 GPIB 140 2 refers to a National Inst...

Страница 13: ...E Standard 488 2 1992 IEEE Standard Codes Formats Protocols and Common Commands Customer Communication National Instruments wants to receive your comments on our products and manuals We are interested in the applications you develop with our products and we want to help if you have problems with them To make it easy for you to contact us this manual contains comment and configuration forms for you...

Страница 14: ... VAC One of the following standard 3 wire power cables 100 120 VAC 220 240 VAC Optional Equipment You can contact National Instruments to order any of the following equipment to go with your kit Transmission cable Type T7 fiber optic cable up to 1 km used with GPIB 140 Type T8 fiber optic cable up to 2 km used with GPIB 140 2 Shielded GPIB cables Type X1 single shielded GPIB cables 1 m 2 m or 4 m ...

Страница 15: ...n the same bus as shown in Figure 1 2 PO WE R LIN K ER RO R GPIB 140 FUSE PO WE R LIN K ER RO R GPIB 140 FUSE Printer Listener Computer System Controller Talker and Listener GPIB 140 or GPIB 140 2 GPIB Cable GPIB Cable GPIB Cable Multimeter Talker and Listener Signal Generator Listener Unit Under Test Fiber Optic Cable GPIB 140 or GPIB 140 2 Figure 1 1 Typical Extension System Physical Configurati...

Страница 16: ...s without sacrificing speed or performance These point to point extension systems can be connected in series for longer distances or in star patterns for additional loading The maximum data transfer rate over the extension is 2 2 Mbytes s using HS488 protocol The GPIB extender uses a buffered transfer technique with a serial extension bus to get maximum performance while keeping the cabling cost a...

Страница 17: ...onfiguration and Operation for information on setting the operating mode for your application OFF ON PARALLEL POLL IMMEDIATE HS488 ENABLE BUFFERED TRANSFER Figure 2 1 DIP Switch Default Setting Connect the Hardware Step 1 Connect the Cables Follow these steps to connect the cables to both GPIB extenders 1 Make sure that the power switch on each GPIB extender is in the OFF position 2 Connect the fi...

Страница 18: ...hten the thumb screws on the connector Connect the other end to your GPIB system Be sure to follow all IEEE 488 1 cabling restrictions Refer to the Configuration Requirements section of Appendix A Operation of the GPIB for typical restrictions 4 Plug the utility power cord of each GPIB extender into an AC outlet of the correct voltage Then plug the other end of the power cord into the GPIB 140 Ste...

Страница 19: ...position At this point the POWER LED lights up indicating that power is supplied to the extender The LINK LED remains off 4 Connect the connector marked T transmit on one end of the fiber optic cable to the connector marked TRANS on the side panel of the GPIB extender 5 Connect the connector marked R receive on the opposite end of the fiber optic cable to the connector marked RCVR on the side pane...

Страница 20: ...de Consider the following situation a GPIB device on the local side of the extension is addressed to talk another device on the remote side is addressed to listen When the talking device sources data bytes the GPIB extenders accept the data bytes and store them in a FIFO buffer At the same time the GPIB extenders read data from the FIFO buffer and source data bytes to the Listener Whenever the FIF...

Страница 21: ...88 HS488 Disabled With HS488 disabled the GPIB extender sources and accepts data using a three wire handshake protocol even if both the Talker and Listener are able to transfer data using the HS488 protocol HS488 Enabled When HS488 is enabled the GPIB extender accepts data using the HS488 protocol after the Talker indicates that it wants to issue high speed transfers When functioning as a Talker t...

Страница 22: ...hin 200 ns after the Identify IDY message Attention ATN and End or Identify EOI is asserted by the Controller In Charge CIC The Controller waits at least 2 µs before reading the Parallel Poll Response PPR In many cases a remote device on an extended system cannot respond to parallel polls this quickly because of cable propagation delays You can solve this problem using one of the following two app...

Страница 23: ...cond response The software driver library of most Controllers contains an easy to use parallel poll function If for example the function is called ibrpp and your application is written in BASIC the sequence to conduct a poll in latched PPR mode might be similar to the following sequence CALL ibrpp brd0 ppr CALL ibrpp brd0 ppr IF ppr 0 GOTO 300 Choosing the PPR Mode Choosing the right PPR mode depe...

Страница 24: ... on the DIP switch of each GPIB extender to set the PPR mode Slide the switch down to the ON position to set immediate PPR mode slide the switch up to set latched PPR mode See Figure 3 3 OFF ON PARALLEL POLL IMMEDIATE HS488 ENABLE BUFFERED TRANSFER Not used to set Parallel Poll Response PPR mode Figure 3 3 Switch Setting for Immediate Parallel Poll Response PPR Mode Operating the Extension System ...

Страница 25: ...rly connected to both extenders During operation the LINK LED turns off if the cable is disconnected from the receiver of the GPIB extender or if either GPIB extender is powered off ERROR LED The ERROR LED is lit if the GPIB extender receives corrupted data The ERROR LED turns off after the GPIB extender starts re transmission and has received the first re transmitted data byte without error ...

Страница 26: ... chapter assumes that you have a basic knowledge of the GPIB If you are a first time user or you would like to review the basics refer to Appendix A Operation of the GPIB Figure 4 1 shows a model of a GPIB extender The extender is made up of five layers Each layer can be connected to the corresponding layer of another extender at the remote side to form a complete link ...

Страница 27: ...PIB BUS 2 GPIB BUS 1 GPIB EXTENDER GPIB EXTENDER Transmission Medium Parallel to Serial Conversion Layer Physical Layer Figure 4 1 GPIB Extender Block Diagram Message Interpreter Layer The Message Interpreter Layer handles the handshake between the GPIB extender and other devices on the GPIB At the same time it monitors the activities occurring on the GPIB and translates them into equivalent GPIB ...

Страница 28: ...ent Layer can re send the packets from this local buffer The Link Management Layer also receives packets from the Parallel to Serial Layer and checks the packets for transmission errors If no error is detected the packets are sent to the Packet Translation Layer If a transmission error is detected the Link Management Layer will initiate re transmission Parallel to Serial Translation Layer The Para...

Страница 29: ... or local programming The term command as used here should not be confused with some device instructions which can also be called commands Such device specific instructions are actually data messages Talkers Listeners and Controllers A Talker sends data messages to one or more Listeners The Controller manages the flow of information on the GPIB by sending commands to all devices Devices can be Lis...

Страница 30: ...nage the GPIB Talker to send data Listener to receive data The Controller In Charge and System Controller Although there can be multiple Controllers on the GPIB only one Controller at a time is active or Controller In Charge CIC Active control can be passed from the current CIC to an idle Controller Only one device on the bus the System Controller can make itself the CIC The GPIB interface board i...

Страница 31: ...sage byte DAV data valid Talking device indicates signals on data lines are stable valid data Interface Management Lines Five GPIB hardware lines manage the flow of information across the bus Table A 2 summarizes the GPIB interface management lines Table A 2 GPIB Interface Management Lines Line Description ATN attention Controller asserts ATN when it sends commands and unasserts ATN when it sends ...

Страница 32: ... Series 57 Microribbon or Amp Champ type An adapter cable using a non standard cable and or connector is used for special interconnection applications The GPIB uses negative logic with standard TTL transistor transistor logic level When DAV is true for example it is a TTL low level 0 8V and when DAV is false it is a TTL high level 2 0V 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24...

Страница 33: ...ration Figure A 2 Linear and Star System Configuration Configuration Requirements To achieve the high data transfer rate that the GPIB was designed for the physical distance between devices and the number of devices on the bus are limited The following restrictions are typical A maximum separation of 4 m between any two devices and an average separation of 2 m over the entire bus ...

Страница 34: ...Operation of the GPIB Appendix A GPIB 140 User Manual A 6 National Instruments Corp A maximum total cable length of 20 m No more than 15 devices connected to each bus with at least two thirds powered on ...

Страница 35: ...tic Specification Maximum transfer rate Buffered mode non HS488 HS488 handshake Unbuffered mode 1 05 Mbytes s 2 2 Mbytes s 200 kbytes s Functionality Transparent GPIB operation except for latched parallel polls Interlocked IEEE 488 handshake Maintained across the extension in unbuffered mode IEEE 488 capability identification codes SH1 Complete Source Handshake AH1 Complete Acceptor Handshake T5 T...

Страница 36: ...tical transmitter and receiver HFBR1414 HFBR2416 or equivalent with ST style optical cable connectors Transmission interface circuit for the GPIB 140 2 Optical transmitter and receiver HFBR1312 HFBR1316 or equivalent with ST style optical cable connectors GPIB interface load Two standard loads AC and DC Power supply unit 100 120 VAC 50 60 Hz or 220 240 VAC 50 60 Hz Maximum current requirement 100 ...

Страница 37: ... kg 55 lb GPIB cable Type X1 or X2 shielded GPIB cable Transmission cable for the GPIB 140 3 0 x 6 5 mm cable diameter 62 5 125 micron core clad with NA 0 275 850 nm operating wavelength 3 0 dB km attenuation Duplex style terminated with ST style connectors Transmission cable for the GPIB 140 2 3 0 x 6 5 mm cable diameter 62 5 125 micron core clad with NA 0 275 1300 nm operating wavelength 1 dB km...

Страница 38: ...oughput in systems where devices send long blocks of data The physical limitations of the cabling system however limit the transfer rate Compatibility with Existing IEEE 488 1 Devices HS488 devices are compatible with 488 1 devices IEEE 488 1 devices and HS488 devices can exist in the same system and they communicate with each other using 488 1 protocols A Controller does not need to be capable of...

Страница 39: ...d requirements described in the preceding section and HS488 devices must implement three new interface functions Talking devices must use the Source Handshake Extended SHE interface function which is an extension of the IEEE 488 1 SH function Listening devices use the Acceptor Handshake Extended AHE interface function which is an extension of the IEEE 488 1 AHE function Accepting devices must have...

Страница 40: ...ndard three wire handshake DIO1 8 composite DAV NFRD NDAC DIO1 8 composite DAV NFRD NDAC HS488 Transfers IEEE 488 1 Three Wire Transfers Figure C 1 IEEE 488 1 and HS488 Transfers The following sections describe the sequence of events for data transfers that involve HS488 devices There are three HS488 transfer cases Talker is HS488 Listener is HS488 Talker is HS488 Listener is not HS488 Talker is n...

Страница 41: ...the high speed handshake 1st byte transferred using 488 1 handshake T13 T14 NRFD T1 Figure C 2 Talker and Listener Are HS488 Capable 1 The Controller addresses devices and becomes Standby Controller by unasserting ATN 2 The Listener asserts NDAC and NRFD 3 The Listener unasserts NRFD as it becomes ready to accept a byte 4 After allowing time for the Listener to detect NRFD unasserted the Talker in...

Страница 42: ...for each data byte Case 2 Talker Is HS488 Capable But Listener Is Not HS488 Capable The following steps describe a typical sequence of events in an HS488 data transfer in which the Talker is HS488 capable but the Listener is not Refer to Figure C 3 ATN DIO1 8 composite DAV NDAC Low going transition on NRFD indicates that not all receiving devices are high speed capable NRFD High speed capable sign...

Страница 43: ...e of these delays are a function of the total system cable length The Controller must communicate this system configuration data to HS488 devices after the system powers on The Controller configures HS488 devices by sourcing two multiline messages while ATN is true The first message is the Configuration Enable CFE message The Controller sends the CFE message by driving a bit pattern 1E hex that th...

Страница 44: ...face functions The multiline interface messages are IEEE 488 defined commands that are sent and received with ATN asserted The interface functions include initializing the bus addressing and unaddressing devices and setting device modes for local or remote programming For more information on these messages refer to the ANSI IEEE Standard 488 1 1987 IEEE Standard Digital Interface for Programmable ...

Страница 45: ...11 021 17 DC1 LLO 31 061 49 1 MLA17 12 022 18 DC2 32 062 50 2 MLA18 13 023 19 DC3 33 063 51 3 MLA19 14 024 20 DC4 DCL 34 064 52 4 MLA20 15 025 21 NAK PPU 35 065 53 5 MLA21 16 026 22 SYN 36 066 54 6 MLA22 17 027 23 ETB 37 067 55 7 MLA23 18 030 24 CAN SPE 38 070 56 8 MLA24 19 031 25 E M SPD 39 071 57 9 MLA25 1A 032 26 SUB 3A 072 58 MLA26 1B 033 27 ESC 3B 073 59 MLA27 1C 034 28 FS 3C 074 60 MLA28 1D ...

Страница 46: ...115 77 M MTA13 6D 155 109 m MSA13 PPE CFG13 4E 116 78 N MTA14 6E 156 110 n MSA14 PPE CFG14 4F 117 79 O MTA15 6F 157 111 o MSA15 PPE CFG15 50 120 80 P MTA16 70 160 112 p MSA16 PPD 51 121 81 Q MTA17 71 161 113 q MSA17 PPD 52 122 82 R MTA18 72 162 114 r MSA18 PPD 53 123 83 S MTA19 73 163 115 s MSA19 PPD 54 124 84 T MTA20 74 164 116 t MSA20 PPD 55 125 85 U MTA21 75 165 117 u MSA21 PPD 56 126 86 V MTA2...

Страница 47: ...ontact the nearest branch office You may fax questions to us at any time Corporate Headquarters 512 795 8248 Technical support fax 800 328 2203 512 794 5678 Branch Offices Phone Number Fax Number Australia 03 9 879 9179 03 9 879 9422 Austria 0662 45 79 90 19 0662 45 79 90 0 Belgium 02 757 03 11 02 757 00 20 Denmark 45 76 71 11 45 76 26 00 Finland 90 502 2930 90 527 2321 France 1 48 14 24 14 1 48 1...

Страница 48: ...stions more efficiently If you are using any National Instruments hardware or software products related to this problem include the configuration forms from their user manuals Use additional pages if necessary Name Company Address Fax Phone Computer brand Model RAM MB Processor Speed MHz Operating system Display adapter Mouse yes no Other adapters installed Hard disk capacity MB Brand Instruments ...

Страница 49: ...The problem is List any error messages The following steps will reproduce the problem ...

Страница 50: ...are or hardware configuration and use this form as a reference for your current configuration National Instruments Products GPIB Extender and Revision Number GPIB 140 Revision or GPIB 140 2 Revision DIP Switch Settings National Instruments GPIB Interface National Instruments Software Other Products Computer Make and Model Operating System Version Number of GPIB Devices on Bus Other GPIB Devices in...

Страница 51: ... on the documentation supplied with our products This information helps us provide quality products to meet your needs Title GPIB 140 User Manual Edition Date June 1995 Part Number 320911B 01 Please comment on the completeness clarity and organization of the manual continues ...

Страница 52: ...be the errors Thank you for your help Name Title Company Address Phone Mail to Technical Publications National Instruments Corporation 6504 Bridge Point Parkway MS 53 02 Austin TX 78730 5039 Fax to Technical Publications National Instruments Corporation MS 53 02 512 794 5678 ...

Страница 53: ...ated circuit ATN Attention CIC Controller In Charge CPU central processing unit CSA Canadian Standards Association DAV data valid dB decibels DC direct current DIO digital input output DIP dual inline package EOI End or Identify EOS End of String F Farads FCC Federal Communications Commission FIFO first in first out g grams GPIB General Purpose Interface Bus hex hexadecimal Hz hertz IDY Identify I...

Страница 54: ...abytes of memory NA Numerical Aperture NDAC Not Data Accepted NRFD Not Ready For Data PPR Parallel Poll Response RAM random access memory REN Remote Enable s seconds SRQ Service Request TTL transistor transistor logic UL Underwriters Laboratories VAC volts alternating current ...

Страница 55: ...quipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentation Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate representative or authorized distributor for any manufacturer listed herein We re here to make your life easier How...

Отзывы: