background image

4-6, IEEE 488 Primer 

11-20-01

 

Digital488 User’s Manual

 

Parallel Poll Configure (PPC) 

This configures devices capable of performing a 

Parallel Poll

 as to which data bit they are to assert in 

response to a 

Parallel Poll

.  ($05) 

Parallel Poll Unconfigure (PPU) 

This disables all devices from responding to a 

Parallel Poll

.  ($15) 

More On Service Requests 

Most of the commands covered, both uniline and multiline, are the responsibility of the Active Controller 
to send and the bus devices to recognize.  Most of these happen routinely by the interface and are totally 
transparent to the system programmer.  Other commands are used directly by the user to provide optimum 
system control.  Of the uniline commands, SRQ is very important to the test system and the software 
designer has easy access to this line by most devices.  Service Request is the method by which a bus device 
can signal to the Controller that an event has occurred.  It is similar to an interrupt in a  
microprocessor-based system. 

Most intelligent bus peripherals have the ability to assert SRQ.  A DMM might assert it when its 
measurement is complete, if its input is overloaded or for any of an assortment of reasons.  A power supply 
might SRQ if its output has current limited.  This is a powerful bus feature that removes the burden from 
the System Controller to periodically inquire, "Are you done yet?”  Instead, the Controller says,  
"Do what I told you to do and let me know when you're done" or "Tell me when something is wrong." 

Since SRQ is a single line command, there is no way for the Controller to determine which device 
requested the service without additional information.  This information is provided by the multiline 
commands for Serial Poll and Parallel Poll. 

Serial Poll 

Suppose the 

Controller

 receives a service request.  For this example, let's assume there are several devices 

that could assert 

SRQ

.  The 

Controller

 issues an 

SPE

 (Serial Poll enable) command to each device 

sequentially. If any device responds with DIO7 asserted it indicates to the 

Controller

 that it was the device 

that asserted 

SRQ

. Often times the other bits will indicate why the device wanted service.  

This 

Serial Polling

 sequence, and any resulting action, is under control of the software designer. 

Parallel Poll 

The 

Parallel Poll

 is another way the 

Controller

 can determine which device requested service.   

It provides the who but not necessarily the why. When bus devices are configured for Parallel Poll, they are 
assigned one bit on the data bus for their response.  By using the Status bit, the logic level of the response 
can be programmed to allow logical OR/AND conditions on one data line by more than one device.  
When 

SRQ

 is asserted, the 

Controller

 (under user's software) conducts a 

Parallel Poll

. The 

Controller

 

must then analyze the eight bits of data received to determine the source of the request. Once the source  
is determined, a 

Serial Poll

 might be used to determine the why. 

Of the two polling types, the 

Serial Poll

 is the most popular due to its ability to determine the who and 

why. In addition, most devices support 

Serial Poll

 only. 

 

Содержание Digital488

Страница 1: ...ized 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 Re...

Страница 2: ...Digital I O Interface IOtech Inc 25971 Cannon Road Cleveland OH 44146 1833 Phone 440 439 4091 Fax 440 439 4093 E mail Product Information sales iotech com E mail Technical Support productsupport iotec...

Страница 3: ...n described in this manual can present serious safety hazards or cause equipment damage This warning symbol is used in this manual or on the equipment to warn of possible injury or death from electric...

Страница 4: ...EDR 2 6 Inhibit 2 6 Trigger 2 6 Service 2 7 IEEE 488 Bus Implementation 2 7 My Talk Address MTA 2 7 My Listen Address MLA 2 8 Device Clear DCL and SDC 2 8 Group Execute Trigger GET 2 8 Interface Clear...

Страница 5: ...Address Group TAG 4 5 Untalk UNT 4 5 Local Lockout LLO 4 5 Device Clear DCL 4 5 Selected Device Clear SDC 4 5 Serial Poll Disable SPD 4 5 Serial Poll Enable SPE 4 5 Group Execute Trigger GET 4 5 Take...

Страница 6: ...ler to interrogate the programmed status of the Digital488 at any time A self test is initiated at power on which checks for proper RAM and ROM operation When addressed to talk the Digital 488 will ou...

Страница 7: ...female CN 22 IEEE 488 Multi tap bus strip four female connectors in parallel CN 23 IEEE 488 panel mount feed through connector male and female Rack488 3 5 1 4 by 19 rack mount for one Digital488 Rack...

Страница 8: ...Not Applicable CE Category 1 for all terminals Dimensions 188 mm deep x 140 mm wide x 68 mm high 7 39 x 5 5 x 2 68 Weight 1 55 kg 3 6 lbs Operating Environment Standard Indoor 0 to 50 C 0 to 70 RH to...

Страница 9: ...death Digital I O Configuration Four 8 bit ports programmable as inputs or outputs Transistor Transistor Logic TTL Levels Outputs will drive 2 TTL loads Connector One 40 pin header organized as two ro...

Страница 10: ...ernal LEDs are connected to VCC through a resistor network The pin out table for the LED status header is located in Figure 1 1 PIN LED CONNECTOR 1 Error Cathode 2 Error Anode 3 SRQ Cathode 4 SRQ Anod...

Страница 11: ...ce Clear GET Group Execute Trigger GTL Go To Local LA Listener Active LAG Listen Address Group LF Line Feed LLO Local Lock Out MLA My Listen Address MTA My Talk Address PPC Parallel Poll Configure PPU...

Страница 12: ...TR 2 115V or TR 2E 220V Every Digital488 32 OEM is shipped with the following Digital488 32 OEM IEEE Digital I O Converter Digital488 User s Manual CA 106 1 foot ribbon cable to IEEE488 connector Mac...

Страница 13: ...ain circuit board into the previously noted slot and finish reassembly by tightening the four screws into the rear panel IEEE 488 Address Selection The IEEE 488 bus address is set by SW1 1 through SW1...

Страница 14: ...ata lines which can be programmed in groups of 8 as either input or output At power on all 40 bits are in the input mode Each 8 bit group is one port beginning with Port 1 as the least significant 8 b...

Страница 15: ...ATA PORT2 Input or Output Pin 9 is bit 1 LSB Pin 16 is bit 8 MSB 9 thru 16 17 thru 24 DATA PORT3 Input or Output Pin 17 is bit 1 LSB Pin 24 is bit 8 MSB 17 thru 24 25 thru 32 DATA PORT4 Input or Outpu...

Страница 16: ...r Interface Clear IFC command has been sent on the bus The Clear line is normally active high The Invert command I8 will program it active low The Handshake command H0 can pulse the Clear line indepen...

Страница 17: ...the Invert command I1 The Inhibit line can be programmed independent of any I O operations with the Inhibit command Qn Refer to the following diagram for timing relationships The Inhibit line is asser...

Страница 18: ...will wait for the selected EDR transition before reading the data and formatting it for output If the EDR line has transitioned prior to being addressed to talk the data read at the time of EDR will...

Страница 19: ...gnized Device Clear DCL and SDC In the F0 thru F4 formats Device Clear resets the Digital488 to power on defaults and pulses the Clear output line for approximately 50 microseconds In the high speed b...

Страница 20: ...one second while the Digital488 performs an internal ROM and RAM self check At the end of this self check all indicators should turn off except POWER If you obtain the above response then your Digital...

Страница 21: ...2 10 Getting Started 11 19 01 Digital488 User s Manual...

Страница 22: ...nfigure command to be valid The Strobe output line is not pulsed when the Bit Set command is sent An Bit n 1 thru 40 is set to logic one Example CLEAR 718 reset the Digital488 OUTPUT 718 C5X configure...

Страница 23: ...is sent on talk Example CLEAR 718 reset the Digital488 OUTPUT 718 P0C1X port1 as output ports 2 5 as input OUTPUT 718 G1X select only input ports ENTER 718 A read data from the input ports DISP A dis...

Страница 24: ...rpreted as data and the suffix Z is not used For the high speed binary F5 format all bytes received are treated as data and the prefix and suffix are not used Refer to the Fn command for additional de...

Страница 25: ...DR captured data EDR cannot be used to capture data in the F5 high speed binary format The EDR signal must be at least 1 microsecond wide and should have a rise and fall time of less than 1 0 microsec...

Страница 26: ...F0 ASCII Hexadecimal 4 bits per character F1 ASCII Character 4 bits per character F2 ASCII Binary 1 bit per character F3 ASCII Decimal 8 bits per number F4 Binary each byte represents 8 bits F5 High...

Страница 27: ...ved for output to the digital ports must be contained within a prefix D and a suffix Z If the amount of data sent is less than the number of bits programmed as outputs the least significant bits will...

Страница 28: ...tal488 will generate a conflict error and ignore the entire command string The Data Strobe output is pulse for approximately 50 microseconds after new data is output on the selected port s When the Di...

Страница 29: ...tors with the exception of EOI are not appended to the output After output the Digital488 must be re addressed to talk to perform subsequent reads EDR R1 may also be used to capture data in this forma...

Страница 30: ...nvert In The Invert command is used to change the polarity of the handshake and data lines At power up all handshake and control lines are active high logic one 5 volts The Invert command can selectiv...

Страница 31: ...e SRQ commands are contained within the same command string each SRQ command should be followed by an Execute command X The programmed SRQ modes will remain enabled until the M0 command is sent or the...

Страница 32: ...ce Input transition DIO2 2 EDR input transition DIO3 4 Bus error DIO4 8 Test error DIO5 16 Ready for more commands DIO6 32 not assigned always 0 DIO7 64 Service Request bit DIO8 MSB 128 not assigned a...

Страница 33: ...our denotes the Digital488 was the source of the SRQ Sixteen denotes the Digital488 is READY for more commands Four denotes a Bus error When serial polled the SRQ LED will turn off Status Un The Statu...

Страница 34: ...hru 5 are inputs C3 Ports 1 thru 3 are outputs ports 4 and 5 are inputs C4 Ports 1 thru 4 are outputs port 5 is an input C5 All ports are outputs E Error Message 0 No error 1 Unrecognized command ex W...

Страница 35: ...selected P5 Port 5 selected R Data Ready R0 Data is not latched but is read when Digital 488 is addressed to talk R1 Data is latched on EDR transition T Test LED T0 Perform RAM and ROM test Y Termina...

Страница 36: ...nd ROM test The T0 command will cause the Digital488 to initiate a ROM RAM test If the test is successful all LEDs will flash for one half second If a test fails the Error LED will remain illuminated...

Страница 37: ...3 16 Command Descriptions 7 17 01 Digital488 User s Manual...

Страница 38: ...rs and allowing them to have their say On the bus the device which is recognized to speak is the Active Talker There can only be one Talker at a time if the information transferred is to be clearly un...

Страница 39: ...488 the Active Controller must a Unlisten all devices to protect against eavesdroppers b Designate who will talk by addressing a device to talk c Designate all the devices that are to listen by addre...

Страница 40: ...ed then the information contained on the data lines is to be interpreted as a multiline command If it is not then that information is to be interpreted as data for the Active Listeners The Active Cont...

Страница 41: ...hat the data on the bus is valid Not Ready for Data NRFD This line is used by the Listeners to inform the Talker when they are ready to accept new data The Talker must wait for each Listener to unasse...

Страница 42: ...ells bus devices to Untalk The same as Unaddressed to Talk 5F Local Lockout LLO Issuing the LLO command prevents manual control of the instrument s functions 11 Device Clear DCL This command causes al...

Страница 43: ...e or Tell me when something is wrong Since SRQ is a single line command there is no way for the Controller to determine which device requested the service without additional information This informati...

Страница 44: ...al time interrupts for the firmware operating system The front panel annunciators are also driven by U104 through an inverter U113 74LS04 The IEEE 488 bus interface is accomplished by a TMS9914A U106...

Страница 45: ...Digital488 Mother Board Component Layout 5 2 Service Information 916895 Digital488 User s Manual...

Страница 46: ...1 CN 2 IEEE 488 Connector R101 R 1 68K 68K 1 4w carbon R102 RN 4 4 7K 4 7K x 7 SIP R104 RN 2 470 470 x 5 SIP R105 R 2 39 39 1w carbon U102 Digital488 600 Programmed EPROM U103 IC 41 6264 15 8K x 8 CMO...

Страница 47: ...tion C201 C205 C 5 1 Ceramic 25v C123 C 5 1 Ceramic 25v R201 R202 R 1 1K 1K 1 4w carbon R206 R 1 1K 1K 1 4w carbon S201 SW 6 8 8 Pole DIP U201 IC 1 MC68B09P Microprocessor U202 U204 IC 2 68B21 PIA U20...

Страница 48: ...Digital488 32 OEM Component Layout Digital488 User s Manual 916895 Service Information 5 5...

Страница 49: ...Digital488 OEM Component Layout 5 6 Service Information 916895 Digital488 User s Manual...

Страница 50: ...5 25 25 x 2 0 1 Header J104 CN 32 2 2 position Mate N Loc Socket R101 R 1 68K 68K 1 4w carbon R102 RN 4 4 7K 4 7K x 7 SIP R103 RN 2 470 470 x 5 SIP S101 SW 6 8 8 Pole DIP U101 IC 1 MC68B09P Microproce...

Страница 51: ...5 8 Service Information 916895 Digital488 User s Manual...

Страница 52: ...are outputs ports 4 and 5 are inputs C4 Ports 1 thru 4 are outputs port 5 is an input C5 All ports are outputs Data Dn Z Data to be outputted is entered after D and terminated by Z Data Ready R0 Data...

Страница 53: ...g edge sensitive Port P0 All ports selected P1 Port 1 selected P2 Port 2 selected P3 Port 3 selected P4 Port 4 selected P5 Port 5 selected SRQ Mask M0 SRQ is disabled M1 SRQ on Service Input transitio...

Страница 54: ...SI GET TCT Universal Command Group UCG 10 16 11 17 12 18 13 19 14 20 15 21 16 22 17 23 DLE DC1 DC2 DC3 DC4 NAK SYN ETB LLO DCL PPU 18 24 19 25 1A 26 1B 27 1C 28 1D 29 1E 30 1F 31 CAN EM SUB ESC FS GS...

Страница 55: ...3 54 84 55 85 56 86 57 87 P Q R S T U V W 16 17 18 19 20 21 22 23 58 88 59 89 5A 90 5B 91 5C 92 5D 93 5E 94 5F 95 X Y Z _ 24 25 26 27 28 29 30 UNT Secondary Command Group SCG 60 96 61 97 62 98 63 99 6...

Страница 56: ...ice Control 1 Local Lockout LLO 18 12 R DC2 Device Control 2 None 19 13 S DC3 Device Control 3 None 20 14 T DC4 Device Control 4 Device Clear DCL 21 15 U NAK Negative Acknowledgement Parallel Poll Unc...

Страница 57: ...ot defined Normally used for ON controls 18 Device Control 2 DC2 Usually user defined 19 Device Control 3 DC3 Not defined Normally used for OFF controls 20 Device Control 4 DC4 Usually user defined 21...

Страница 58: ...2A Asterisk Bus address 10 43 2B Plus Sign Bus address 11 44 2C Comma Bus address 12 45 2D Hyphen or Minus Sign Bus address 13 46 2E Period Bus address 14 47 2F Slash Bus address 15 Listen Address Gro...

Страница 59: ...K Bus address 11 76 4C L Capital L Bus address 12 77 4D M Capital M Bus address 13 78 4E N Capital N Bus address 14 79 4F O Capital O Bus address 15 Talk Address Group TAG 80 50 P Capital P Bus addres...

Страница 60: ...wercase K Command 11 108 6C l Lowercase L Command 12 109 6D m Lowercase M Command 13 110 6E n Lowercase N Command 14 111 6F o Lowercase O Command 15 Secondary Command Group SCG 112 70 p Lowercase P Co...

Страница 61: ...B 8 Notes...

Страница 62: ...Appendix C Digital488 OEM Mechanical Dimensions Board Dimensions C 1...

Страница 63: ...IEEE Connector Mounting and Hole Punch Out C 2...

Страница 64: ...uipment 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 documentat...

Отзывы: