Copyright, Trademark, and Licensing Notice All IOtech documentation, software, and hardware are copyright with all rights reserved. No part of this product may be copied, reproduced or transmitted by any mechanical, photographic, electronic, or other method without IOtech’s prior written consent. IOtech product names are trademarked; other product names, as applicable, are trademarks of their respective holders.
Table of Contents Section1 Introduction Page General Description Available Accessories1.2 Specifications Abbreviations Section 2 Getting Started Page Inspection Configuration 2.2.1 IEEE Address Selection 2.2.2 IEEE Bus Output Terminator Selection 2.3 Digital Input/Output Ports 2.3.1 Logic Levels 2.3.2 Digital I/O Port Pin Outs 2.3.3 Control Lines 2.3.3.1...
Page 6
Table of Contents Section 3 Command Descriptions Page Configure (Cn) Data (D...Z) Data Ready (Rn) End or Identify (Kn) Execute (X) 3.10 Format (Fn) 3.11 Handshake (Hn) 3.18 Inhibit (Qn) 3.19 Invert (In) 3.20 Port (Pn) 3.21 Service Request Mask (Mn) 3.22 Serial Poll Status Byte 3.24...
Page 7
Parallel Poll 4.11 Section 5 Service Information Page Factory Service Theory of Operation Digital488 Mother Board Component Layout 5.3 Digital488 I/O Board Component Layout Digital488OEM Component Layout Digital488 Parts List Digital488OEM Parts List Appendix A Digital488 Command Summary Appendix B...
Introduction 1.1 General Description The Digital488 is a digital input and output interface to the IEEE 488 bus. Each unit has 40 TTL level digital I/O lines, which are divided into 5 eight-bit ports. Each port is software programmable as input or output. The Digital488OEM is a board level interface with the same capabilities as the Digital488.
Section 1 Introduction 1.3 Specifications Digital488 Specifications Digital I/O Terminal Installation Category: Standard: Not Applicable. CE: Category 1. Transistor-Transistor Logic (TTL) Levels: Outputs will drive 2 TTL loads. Connector: One 50-pin card edge (mating connector supplied). IEEE 488 &$87,21 The IEEE 488 terminal must only be used to control a non-isolated IEEE 488 system.
Page 12
Do not use this interface outdoors! The interface is intended for indoor use only! Outdoor conditions could result in equipment failure, bodily injury, or death! &$87,21 Do not connect AC power line directly to the Digital488. Direct AC connection will damage equipment. 1.3b...
Page 13
Section 1 Introduction Digital488/OEM Specifications :$51,1* Do not use this interface outdoors! The interface is intended for indoor use only! Outdoor conditions could result in equipment failure, bodily injury, or death! &$87,21 Never disassemble the interface case while it is connected to the AC power line!
Page 14
Section 1 Introduction General Configuration: Five 8-bit ports, programmable as inputs or outputs. Also included are programmable handshake lines, data latching capability, Clear and Trigger outputs, and a Service Request (SRQ) input. Dimensions: 205 mm deep x 115 mm wide x 28 mm high (8" x 4.5" x 1.1"). Weight: 0.23 kg.
Section 1 Introduction 1.4 Abbreviations The following IEEE 488 abbreviations are used throughout this manual. addr n IEEE bus address "n" Attention line Controller Active Carriage Return data Data String Device Clear Group Execute Trigger Go To Local Listener Active Listen Address Group Line Feed Local Lock Out...
† Supplied with Digital488 Only and not the Digital488OEM 2.2 Configuration The Digital488 has one internal 8 position switch which determines the unit's IEEE address and its default IEEE bus output terminator. The switch is only read when the unit is powered on, and should only be set prior to applying power. The following figure illustrates the factory default setting for SW1.
Page 18
AC line and from the interface. Disconnect any IEEE or digital I/O cables prior to disassembly. WARNING Never open the Digital488 case while it is connected to the AC line. Failure to observe the warning may result in equipment failure, personal injury or death.
Carriage Return - Line Feed with EOI asserted. The Digital488 ignores all terminators received from the bus controller. Only the Execute command (X) is used to signal the Digital488 that a command string has been completed.
Getting Started 2.3 Digital Input/Output Ports The Digital488 has 40 data 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 bits, and Port 5 as the most significant 8 bits.
Page 21
Section 2 Getting Started Digital488OEM I/O Connector Pin Out Not Used External Data Ready (I) Common (GND) Inhibit (O) Data Strobe (O) Digital I/O Bits 1 thru 40 PC Board Edge Clear (O) +5 Volts = Input Trigger (O) [ 50 mA Max!] = Output Service (I) Not Used...
I/O COMMON (Gnd). 2.3.3 Control Lines Five control lines enable handshaking of digital I/O data transfer to the Digital488. They are automatically activated with the corresponding I/O activity and can also be independently activated with the Handshake (Hn) command. 2.3.3.1 Clear (Pin 41)
Refer to the following diagram for timing relationships. When using the EDR line with the R1 command, data is not read when the Digital488 is addressed to talk as with R0. The Digital488 will only output data when the EDR line transitions.
[Fn] modes except high speed binary [F5]. In this mode, it is asserted for the first data read after the Digital488 is addressed to talk. On the last data byte transfer, the data is read again with Inhibit asserted in anticipation of another data transfer.
The Digital488 implements many of the capabilities defined by the IEEE 488 1978 specification. These are discussed in the following sections. Those bus uniline and multiline commands that the Digital488 does not support or respond to include: Remote Enable (REN)
If Inhibit is used to sequence external hardware, this line will pulse N+1 times; where N is the number of total (5 byte) data transfers. In this format the Digital488 does not have to be re-addressed to talk to read the ports multiple times.
In the high speed binary format (F5), the command interpreter is disabled. The Digital488 treats all bytes received as data to be output to the Digital I/O ports. Each time it receives five bytes or detects EOI it pulses the Data Strobe for approximately 15 microseconds.
When the serial poll byte is accepted by the controller, any pending SRQs are cleared. The Digital488 will continue to try to output its serial poll response until it is serial poll disabled by the controller.
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 Digital488 is alive and well. If all LEDs remain on, then a ROM error has occurred. If all LEDs continue to flash (except the power LED), then a RAM error has occurred.
Examples are given for many of the commands using a Hewlett-Packard 85 computer in the immediate mode. It is implied that each command is terminated by the 'END LINE' key on the HP-85 in order to execute the command. The Digital488 bus address should be set to 18 for all examples.
Configure command to be valid. The Strobe output line is not pulsed when the Bit Set command is sent. Bit n (1 thru 40) is set to logic one Example: reset the Digital488 CLEAR 718 configure all ports as output OUTPUT 718;"C5X"...
Configure command in order to be valid. The Strobe output line is not pulsed when the Bit Clear command is sent. Bit n (1 thru 40) is cleared to a logic 0 Example: reset the Digital488 CLEAR 718 configure all ports as output OUTPUT 718;"C5X"...
Bus Input/Output The Bus Output command determines whether input port data, output port data or both will be transmitted on the bus when the Digital488 is addressed to talk. The amount of data sent is dependent on the Pn command.
Mode n (0 thru 5) defines which ports are input and output Port in = programmed as an input port out = programmed as an output port Example: reset the Digital488 CLEAR 718 select port 1 as output, ports 2 thru 5 OUTPUT 718;"C1X" as inputs...
55 to port 1 read data from port 1 ENTER 718; A$ DISP A$ display shows 55 select all ports OUTPUT 718;"P0X" send data to all 40 bits OUTPUT 718;"D1234567890ZX" ENTER 718;A$ read data from the Digital488 display shows 1234567890 DISP A$...
Page 37
Section 3 Command Descriptions send 12 bits of data to the least significant bits OUTPUT 718;"D123ZX" ENTER 718; A$ read data from the Digital488 display shows 0000000123 DISP A$ set port 5 only OUTPUT 718;"P5D21ZX" select all ports OUTPUT 718;"P0X"...
In the default mode (R0) data is read when the Digital488 is addressed to talk. In the R1 mode, it will wait for the selected External Data Ready (EDR) transition before reading the data and formatting it for output.
EOI mode by programming the Digital488 from the bus. In the K0 mode, the EOI line is asserted by the Digital488 on the last byte of every bus output string. In the K1 mode the EOI function is disabled (except when using the binary modes [F4 and F5] ).
Command Descriptions Execute Commands sent to the Digital488 will result in no action until the unit is instructed to execute these commands. This is done by sending an X, usually as the last character of a command string. Commands sent without an X are stored in the internal buffer until an X is received.
If the data sent is greater than the number of bits programmed for output or selected by the Pn command, the Digital488 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).
Page 42
If the data sent is greater than the number of bits programmed for output or selected by the Pn command, the Digital488 will generate a conflict error and ignore the entire command string.
Page 43
The Data Strobe output is pulse for approximately 50 microseconds after new data is output on the selected port(s). When the Digital488 is addressed to talk (R0) it asserts Inhibit, reads the data from all ports, unasserts Inhibit and outputs the number of characters determined by the Gn and Pn commands.
Page 44
Gn and Pn commands. Leading zeros are not suppressed and the bus terminators are 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 format.
Page 45
If the data sent is greater than the number of bits programmed for output or selected by the Pn command, the Digital488 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).
Page 46
In the F5 high speed binary format, the command interpreter is disabled. When addressed to listen, the Digital488 treats all bytes received as data to be output to the Digital I/O ports. Each time it receives five bytes or detects EOI asserted, it pulses the Data Strobe for approximately 15 microseconds.
Page 47
Section 3 Command Descriptions The only programmable method to exit the F5 high speed binary format is device clear (DCL) or Selected Device Clear (SDC). When received, it enables the command interpreter and changes the format to F0. All other parameters remain unchanged. In addition, the Clear output line is not pulsed by DCL or SDC when the interface is in F5.
Handshake The Handshake control command enables software control of the handshake lines, independent of any other I/O operations. When the Digital488 receives an Hn command, the respective handshake line is pulsed for approximately 50 microseconds. It returns to its steady- state condition after pulsing.
I/O activities. The 'set' and 'clear' levels of the Inhibit line are determined by the Invert command. Clear the Inhibit line (return to unasserted state) Set the Inhibit line (place in the asserted state) Example: reset the Digital488 CLEAR 718 set the Inhibit line OUTPUT 718;"Q1X" 3.19...
Data Strobe output is active low Clear output is active low Data is low true EDR input is falling-edge sensitive Service input is falling-edge sensitive Example: reset the Digital488 CLEAR 718 select EDR and Service input as OUTPUT 718;"I32XI64X" falling-edge sensitive Note: performs the same function as above OUTPUT 718;"I96X"...
It is recommend that the Bus Output command be used with the PO mode to determine which ports will be output when the Digital488 is addressed to talk. Data in modes P1 throuth P5 will be input or output in groups of eight bits.
Command Descriptions Service Request Mask (SRQ) The Service Request (SRQ) mode is used by the Digital488 to alert the controller to one of several conditions described below. Multiple SRQ conditions can be enabled simultaneously by issuing them sepatately or by combining them in one command.
Page 53
M8 will generate a Service Request when the Digital488 self-test fails. Refer to the Test command (T0) description for details on self-tests. M16 will generate a Service Request when the Digital488 has completed the execution of a set of commands from the bus controller. This is used by the controller to assure the completion of a set of commands before sending a subsequent set of commands.
The status of DIO4 is determined after the Test command (T0X) is sent to the Digital488. If the self test passes, the DIO4 bit will remain a zero. If the self test fails, DIO4 will be set to a logic 1.
Page 55
ERROR and SRQ LEDs should illuminate display should be 84 (64+16+4) SPOLL (718) 64 denotes the Digital488 was the source of the SRQ. 16 denotes the Digital488 is READY for more commands. 4 denotes a Bus error. When serial polled,the SRQ LED will turn off.
Send the Digital488 status when next addressed to talk Send the status of bit n (1 thru 40) when next addressed to talk The format of the status byte returned by the Digital488 after receiving a U0 command is as follows: *.*C#E#F#G#I###K#M###P#R#Y#...
Page 57
Section 3 Command Descriptions Below is a summary of the Status (U0) information. Configuration All ports are inputs Port 1 is an output, ports 2 thru 5 are inputs Ports 1 and 2 are outputs, ports 3 thru 5 are inputs Ports 1 thru 3 are outputs, ports 4 and 5 are inputs Ports 1 thru 4 are outputs, port 5 is an input All ports are outputs...
Page 58
Section 3 Command Descriptions End Or Identify EOI enabled EOI disabled Service Request SRQ is disabled SRQ on Service input transition SRQ on EDR input transition SRQ on Bus error SRQ on Test error SRQ on Ready Note: the status indication reflects the sum of all received Service Request commands. Selected Port All ports selected Port 1 selected...
Section 3 Command Descriptions Terminator The IEEE 488 bus terminator defaults at power-on to the settings on Switch S1 It also may be programmed for any combination of Carriage Return (CR) and Line Feed (LF). The Y0 mode is the most commonly accepted terminator, CR-LF. Y1 reverses the sequence to send LF-CR.
The Test command is used to verify hardware and LED operation. Perform RAM and 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.
4.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 Digital488 conforms to this most recent revision designated IEEE 488-1978. Prior to the adoption of this standard, most instrumentation manufacturers offered their own versions of computer interfaces.
Page 62
Section 4 IEEE 488 Primer 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. A device is instructed to listen by being Addressed to Listen.
Section 4 IEEE 488 Primer 4.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.
Section 4 IEEE 488 Primer 4.4.2 Interface Clear (IFC) The IFC line is used only by the System Controller. It is used to place all bus devices in a known state. Although device configurations vary, the IFC command usually places the devices in the Talk and Listen Idle states (neither Active Talker nor Active Listener).
Section 4 IEEE 488 Primer 4.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.
Section 4 IEEE 488 Primer 4.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. The data lines are bidirectional and are active low. 4.7 MULTILINE COMMANDS Multiline (bus) commands are sent by the Active Controller over the data bus with ATN asserted.
Section 4 IEEE 488 Primer 4.7.2 Listen Address Group (LAG) There are 31 (0 to 30) listen addresses associated with this group. The 3 most significant bits of the data bus are set to 001 while the 5 least significant bits are the address of the device being told to listen.
Section 4 IEEE 488 Primer 4.7.8 Selected Device Clear (SDC) This causes a single device to be initialized to a pre-defined or power up state. ($04) 4.7.9 Serial Poll Disable (SPD) The SPD command disables all devices from sending their Serial Poll status byte.
Section 4 IEEE 488 Primer 4.7.14 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) 4.7.15 Parallel Poll Unconfigure (PPU) This disables all devices from responding to a Parallel Poll.
Section 4 IEEE 488 Primer 4.8.1 Serial Poll Suppose the Controller receives a service request. For this example, let's assume there are several devices which could assert SRQ. The Controller issues an SPE (Serial Poll enable) command to each device sequentially.
5.2 Theory of Operation The Heart of the Digital488 is a 6809 microprocessor [U101] supported by 8K bytes of firmware EPROM [U102 (2764)] and 8K bytes of static RAM [U103 (6264)]. A Versatile Interface Adapter [U104 (65B22)] is used to generate real-time interrupts for the firmware operating system.
Page 79
Appendix A Digital488 Command Summary Command Code Description Bit Set Set bit n (1 thru 40) Bit Clear Clear bit n (1 thru 40) Bus Output Input and Output port data sent on talk Only Input port data sent on talk...
Page 80
Appendix A Digital488 Command Summary Command Code Description Inhibit Clear Inhibit line Set Inhibit line Invert All control line outputs are active high Inhibit output is active low Trigger output is active low Data Strobe output is active low Clear output is active low...
Need help?
Do you have a question about the Digital488 and is the answer not in the manual?
Questions and answers