background image

3-2

|

ni.com

Chapter 3

Configuring and Using Your Hardware

Setting the Data Transfer Mode

The two GPIB extenders in your extension system must use the same data transfer mode.

To use buffered mode, set DIP switch 1 to the ON position, as shown in Figure 3-1. To use 
unbuffered mode, set DIP switch 1 to the OFF position.

Figure 3-1.  

DIP Switch Setting for Buffered Mode

HS488 Mode

The GPIB extender can handle data transfers using the HS488 protocol. HS488 transfers data 
between two or more devices using a noninterlocked handshaking protocol. You can use HS488 
to transfer data at rates higher than rates possible using the IEEE 488 protocol. For more 
information about HS488, refer to Appendix B, 

Introduction to HS488

.

Selecting an HS488 Mode

To select an HS488 mode, refer to the following descriptions of each mode.

HS488 Disabled

If you disable HS488, the GPIB extender sources and accepts data using a three-wire handshaking 
protocol, even if both the Talker and Listener can transfer data using the HS488 protocol.

HS488 Enabled

After the Talker indicates that it wants to issue HS488 transfers, HS488 is enabled and the GPIB 
extender accepts data using the HS488 protocol. Also, when talking, the GPIB extender always 
tries to use the HS488 mode. In HS488 mode, FIFO buffers buffer data during HS488 transfers, 
even if the data transfer mode is set to unbuffered. When you use the HS488 protocol with the 
GPIB extender, you should set the GPIB cable length to 5 m for both the local and the remote 
system. To do so, use your IEEE 488.2 software configuration utility.

Setting the HS488 Mode

The two GPIB extenders in your extension system do not need to use the same HS488 mode. 
However, the system uses the maximum data transfer rate when both sides in your extension 
system use HS488.

PARALLEL POLL IMMEDIATE

H

S

4

88

 ENABLE

BUFFERED TRAN

S

FER

 = Not 

us

ed to 

s

et d

a

t

a

 tr

a

n

s

fer mode

OFF

ON

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

Страница 1: ...GPIB GPIB 140A User Manual GPIB 140A User Manual February 2013 373124B 01 ...

Страница 2: ...d current events National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 512 683 0100 For further support information refer to the Technical Support and Professional Services appendix To comment on National Instruments documentation refer to the National Instruments Web site at ni com info and enter the Info Code feedback 1999 2013 National Instrume...

Страница 3: ...ues National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control The warranty provided herein does not cover damages defects malfunctions or service failures caused by owner s failure to follow the National Instruments installation operation or maintenance instructions owner s modification of the product owner s abuse misuse or negligent acts an...

Страница 4: ...ENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN 2 IN ANY APPLICATION INCLUDING THE ABOVE RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE IMPAIRED BY ADVERSE FACTORS INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY COMPUTER HARDWARE MALFUNCTIONS COMPUTER OPERATING SYSTEM SOFTWARE FITNESS FITNESS...

Страница 5: ...re encouraged to try to correct the interference by one or more of the following measures Reorient the antenna of the receiver the device suffering interference Relocate the transmitter the device generating interference with respect to the receiver Plug the transmitter into a different outlet so that the transmitter and the receiver are on different branch circuits Some hardware may require the u...

Страница 6: ...ables 2 2 Step 3 Switch On Your GPIB Extender 2 2 Step 4 Verify the Connection 2 2 Chapter 3 Configuring and Using Your Hardware Data Transfer Modes 3 1 Selecting a Data Transfer Mode 3 1 Unbuffered Mode 3 1 Buffered Mode 3 1 Setting the Data Transfer Mode 3 2 HS488 Mode 3 2 Selecting an HS488 Mode 3 2 HS488 Disabled 3 2 HS488 Enabled 3 2 Setting the HS488 Mode 3 2 Parallel Poll Response Modes 3 3...

Страница 7: ...ranslation Layer 4 2 Link Management Layer 4 2 Parallel to Serial Conversion Layer 4 2 Physical Layer 4 2 Appendix A GPIB Basics Appendix B Introduction to HS488 Appendix C Multiline Interface Messages Appendix D Specifications Appendix E Technical Support and Professional Services Glossary ...

Страница 8: ...nd IEEE 488 2 refer to the ANSI IEEE Standard 488 1 1987 IEEE 488 2 and the ANSI IEEE Standard 488 2 1992 respectively which define the GPIB italic Italic text denotes variables emphasis a cross reference or an introduction to a key concept Italic text also denotes text that is a placeholder for a word or value that you must supply monospace Text in this font denotes text or characters that you sh...

Страница 9: ...240 VAC U K 220 240 VAC Japan 100 VAC One of the following standard 3 wire power cables 100 120 VAC 220 240 VAC Optional Equipment One of the following transmission cables which you can purchase from National Instruments Type T7 fiber optic cable up to 1 km used with GPIB 140A Type T8 fiber optic cable up to 2 km used with GPIB 140A 2 Caution To meet FCC emission limits for this device you must us...

Страница 10: ...wo bus systems are physically separate as shown in Figure 1 1 devices logically appear to be located on the same bus as shown in Figure 1 2 Figure 1 1 Typical Extension System Physical Configuration Figure 1 2 Typical Extension System Logical Configuration PO W ER LIN K ER RO R GPIB 140 FUS Printer Listener GPIB Cable Computer System Controller Talker and Listener GPIB Cable Fiber Optic Cable Sign...

Страница 11: ...he GPIB 140A and GPIB 140A 2 are functionally transparent extenders the GPIB communications and control programs that work with an unextended system also work with an extended system However the Parallel Poll Response Modes section in Chapter 3 Configuring and Using Your Hardware describes one exception to this transparency in conducting parallel polls Time Saving Development Tools Your kit includ...

Страница 12: ...s useful in troubleshooting a variety of IEEE 488 hardware and software problems With its built in time stamping capability you can easily determine the throughput and overhead of your GPIB systems The GPIB Analyzer software for Windows works with the AT GPIB TNT PCI GPIB and NI PCIe GPIB products which provide GPIB Analyzer support along with the functionality of a high performance GPIB Controlle...

Страница 13: ...ch setting is for unbuffered transfer mode latched parallel poll response PPR and HS488 disabled mode as shown in Figure 2 1 Figure 2 1 Default DIP Switch Setting Verify that the DIP switches on your GPIB extender are in these default positions If you need to change these settings refer to Chapter 3 Configuring and Using Your Hardware for instructions on how to set the operation mode for your appl...

Страница 14: ...e cable connector and rotate the sleeve clockwise until it locks on to the side notch of the fiber optic connector on the box 3 Connect the end of the extender with the GPIB connector to your GPIB system Make sure that you follow all IEEE 488 cabling restrictions For typical restrictions refer to the Configuration Requirements section in Appendix A GPIB Basics 4 Plug the utility power cord include...

Страница 15: ... 3 GPIB Extender Self Test Configuration The LINK LED lights indicating that the cable is connected The ERROR LED should remain off indicating that the GPIB extender is working properly 6 If the ERROR LED does not remain off complete the following steps to solve the problem a Verify that the fiber optic cable is connected to the GPIB extender as described in steps 4 and 5 If the problem persists c...

Страница 16: ...uffered Mode In buffered mode the GPIB extenders use FIFO first in first out buffers to buffer data between the remote and local units For long data streams the data throughput is much higher than with unbuffered mode However a few applications may not operate properly in buffered mode For example a GPIB device on the local side of the extension is addressed to talk another device on the remote si...

Страница 17: ...isable HS488 the GPIB extender sources and accepts data using a three wire handshaking protocol even if both the Talker and Listener can transfer data using the HS488 protocol HS488 Enabled After the Talker indicates that it wants to issue HS488 transfers HS488 is enabled and the GPIB extender accepts data using the HS488 protocol Also when talking the GPIB extender always tries to use the HS488 m...

Страница 18: ...waits Execute two consecutive parallel polls and use the second response For more information refer to the Latched PPR Mode section later in this chapter Immediate PPR Mode In immediate PPR mode the GPIB extenders do not use the internal PPR data register When a Controller on the local system asserts IDY the local extender sends the IDY message to the remote bus and the response is returned as fas...

Страница 19: ...nders If you are using these types of Controllers you should set the GPIB extender to immediate PPR mode Most other Controllers pulse the IDY signal for approximately 2 µs and expect a response within that time If you are using this type of Controller and if the cable between the extenders is longer than 60 m you should set the GPIB extender to latched PPR mode For shorter cable distances use imme...

Страница 20: ...ights if power is supplied to the GPIB extender and the power switch is in the on position LINK Lights if both GPIB extenders are powered on and the transmission cable is properly connected to both extenders During operation the LINK LED turns off if you disconnect the cable from the receiver of the GPIB extender or if you power off either GPIB extender ERROR Lights if the GPIB extender receives c...

Страница 21: ...ive layers of a GPIB extender To form a complete link you can connect each layer to the corresponding layer of another extender at the remote side Figure 4 1 GPIB Extender Block Diagram Message Interpreter Layer Message Interpreter Layer Packet Translation Layer Packet Translation Layer Link Management Layer Link Management Layer Parallel to Serial Conversion Layer Physical Layer GPIB BUS 2 GPIB B...

Страница 22: ...the packets to the Parallel to Serial Conversion Layer and it stores them in a local buffer If a transmission error occurs the Link Management Layer can re send the packets from this local buffer The Link Management Layer also receives packets from the Parallel to Serial Conversion Layer and checks the packets for transmission errors If the Link Management Layer does not detect an error it sends t...

Страница 23: ...ace system including device dependent messages and interface messages Device dependent messages also called data or data messages contain device specific information such as programming instructions measurement results machine status and data files Interface messages also called commands or command messages manage the bus itself Interface messages initialize the bus address and unaddress devices a...

Страница 24: ... only device and there may be one or more Listen only devices A Controller is necessary when the active or addressed Talker or Listener must be changed The Controller function is usually handled by a computer With the GPIB interface board and its software your personal computer plays all three roles Controller to manage the GPIB Talker to send data Listener to receive data Controller In Charge and...

Страница 25: ...sage byte Also used by the Talker to signal high speed GPIB transfers NDAC not data accepted Listening device has has not accepted a message byte DAV data valid Talking device indicates signals on data lines are stable valid data Table A 2 GPIB Interface Management Lines Line Description ATN attention Controller drives ATN true when it sends commands and false when it sends data messages IFC inter...

Страница 26: ...link devices in a linear configuration a star configuration or a combination of the two configurations Figure A 2 shows the linear and star configurations Figure A 1 GPIB Connector and the Signal Assignment 13 14 15 16 17 18 19 20 21 22 23 24 1 2 3 4 5 6 7 8 9 10 11 12 DIO5 DIO6 DIO7 DIO8 REN GND TW PAIR W DAV GND TW PAIR W NRFD GND TW PAIR W NDAC GND TW PAIR W IFC GND TW PAIR W SRQ GND TW PAIR W ...

Страница 27: ... the GPIB was designed for you must limit the number of devices on the bus and the physical distance between devices 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 A maximum total cable length of 20 m A maximum of 15 devices connected to each bus with at least two thirds powered on For high speed opera...

Страница 28: ...A 6 ni com Appendix A GPIB Basics If you want to exceed these limitations you can use a bus expander to increase the number of device loads You can order bus expanders from National Instruments ...

Страница 29: ...s the raw transfer rate can be up to 8 Mbytes s The faster raw transfer rates improve system throughput in systems where devices send long blocks of data The physical limitations of the cabling system however limit the transfer rate Compatibility with IEEE 488 Devices HS488 is a superset of the IEEE 488 standard thus you can mix IEEE 488 1 IEEE 488 2 and HS488 devices in the same system When conne...

Страница 30: ...es must be powered on The total cable length in a system must be no more than 15 m or 1 m times the number of devices in the system HS488 System Requirements An HS488 system must meet the IEEE 488 1 requirements and it must implement the following 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 f...

Страница 31: ...each data transfer the HS488 SHE and AHE functions determine whether all active Talkers and Listeners are capable of HS488 transfers If the addressed devices are HS488 capable they use the HS488 noninterlocked handshake protocol for that data transfer If any addressed device is not HS488 capable the transfer continues using the standard three wire handshake Figure B 2 HS488 Transfers DIO18 composi...

Страница 32: ... byte ready to send it drives the data on the DIO signal lines allows some settling time and asserts DAV 7 The Listener unasserts NDAC HS488 capable Listeners do not assert NRFD as IEEE 488 1 devices would so the Talker determines that the addressed Listener is HS488 capable 8 The Talker unasserts DAV and drives the next data byte on the GPIB 9 After allowing some settling time the Talker asserts ...

Страница 33: ...e Talker Steps 1 6 are identical to steps 1 6 in Case 1 Talker and Listener Are HS488 Capable The Listener ignores the HSC message from the Talker Then the IEEE 488 1 Listener enters ACDS and asserts NRFD As a result the Talker determines that the addressed Listener is not HS488 capable The Talker sources bytes using the IEEE 488 1 protocol Low going transition on NRFD indicates that not all recei...

Страница 34: ...length The Controller must communicate this system configuration data to HS488 devices after the system powers on The Controller configures HS488 devices by sourcing the following two multiline messages while ATN is true Configuration Enable CFE The Controller sends the CFE message by driving a bit pattern 1E hex that the IEEE 488 1 standard does not define on the DIO signal lines The CFE message ...

Страница 35: ... more information about these messages refer to the ANSI IEEE Standard 488 1 1987 IEEE Standard Digital Interface for Programmable Instrumentation Table C 1 Multiline Interface Messages Hex Dec ASCII Message Hex Dec ASCII Message 00 0 NUL 20 32 SP MLA0 01 1 SOH GTL 21 33 MLA1 02 2 STX 22 34 MLA2 03 3 ETX 23 35 MLA3 04 4 EOT SDC 24 36 MLA4 05 5 ENQ PPC 25 37 MLA5 06 6 ACK 26 38 MLA6 07 7 BEL 27 39 ...

Страница 36: ...c MSA3 PPE CFG3 44 68 D MTA4 64 100 d MSA4 PPE CFG4 45 69 E MTA5 65 101 e MSA5 PPE CFG5 46 70 F MTA6 66 102 f MSA6 PPE CFG6 47 71 G MTA7 67 103 g MSA7 PPE CFG7 48 72 H MTA8 68 104 h MSA8 PPE CFG8 49 73 I MTA9 69 105 i MSA9 PPE CFG9 4A 74 J MTA10 6A 106 j MSA10 PPE CFG10 4B 75 K MTA11 6B 107 k MSA11 PPE CFG11 4C 76 L MTA12 6C 108 l MSA12 PPE CFG12 4D 77 M MTA13 6D 109 m MSA13 PPE CFG13 4E 78 N MTA1...

Страница 37: ...ultiline Interface Message Definitions CFE Configuration Enable CFG Configure DCL Device Clear GET Group Execute Trigger GTL Go To Local LLO Local Lockout MLA My Listen Address MSA My Secondary Address MTA My Talk Address PPC Parallel Poll Configure PPD Parallel Poll Disable PPE Parallel Poll Enable PPU Parallel Poll Unconfigure SDC Selected Device Clear SPD Serial Poll Disable SPE Serial Poll Ena...

Страница 38: ...n HS488 1 1 Mbytes s HS488 handshake 2 8 Mbytes s Unbuffered mode 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 TE5 Complete Talker L3 LE3 Complete Listener SR1 Complete ...

Страница 39: ... Optical transmitter and receiver HFBR1414 HFBR2416 or equivalent with ST style optical cable connectors GPIB 140A 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 220 240 VAC 50 60 Hz Maximum current requirement 100 120 VAC 135 mA 220 240 VAC 100 mA Fuse...

Страница 40: ...ore clad with NA 0 275 850 nm operating wavelength 3 0 dB km attenuation Duplex style terminated with ST style connectors GPIB 140A 2 3 0 6 5 mm cable diameter 62 5 125 micron core clad with NA 0 275 1300 nm operating wavelength 1 dB km attenuation Duplex style terminated with ST style connectors Caution Clean the hardware with a soft nonmetallic brush Make sure that the hardware is completely dry...

Страница 41: ...c immunity EN 55011 CISPR 11 Group 1 Class A emissions AS NZS CISPR 11 Group 1 Class A emissions FCC 47 CFR Part 15B Class A emissions ICES 001 Class A emissions Note For the standards applied to assess the EMC of this product refer to the Online Product Certification section Note For EMC compliance operate this device with shielded cabling CE Compliance This product meets the essential requiremen...

Страница 42: ...ectives with which NI complies as well as other environmental information not included in this document Waste Electrical and Electronic Equipment WEEE EU Customers At the end of the product life cycle all products must be sent to a WEEE recycling center For more information about WEEE recycling centers National Instruments WEEE initiatives and compliance with WEEE Directive 2002 96 EC on Waste and...

Страница 43: ...ced online training modules at ni com self paced training All customers automatically receive a one year membership in the Standard Service Program SSP with the purchase of most software products and bundles including NI Developer Suite NI also offers flexible extended contract options that guarantee your SSP benefits are available without interruption for as long as you need them Visit ni com ssp...

Страница 44: ... 103 M mega 106 G giga 109 T tera 1012 Symbols degrees percent A A amperes AC alternating current AHE HS488 Acceptor Handshake Extended interface function ANSI American National Standards Institute ASCII American Standards Code for Information Interchange ASIC application specific integrated circuit ATN Attention ...

Страница 45: ...ntral processing unit CSA Canadian Standards Association D DAV data valid dB decibels DC direct current DIO digital input output DIP dual inline package E EOI End or Identify EOS End of String F F Farads FCC Federal Communications Commission FIFO first in first out ...

Страница 46: ...Bus H hex hexadecimal Hz hertz I IDY Identify IEC International Electrotechnical Commission IEEE Institute of Electrical and Electronic Engineers IFC Interface Clear in inches L lb pounds LED light emitting diode M m meters S s seconds SHE HS488 Source Handshake Extended interface function ...

Страница 47: ...Glossary G 4 ni com T TTL transistor transistor logic U UL Underwriter s Laboratories V V volts VAC volts alternating current ...

Отзывы: