Advertisement

Quick Links

sales@artisantg.com
artisantg.com
(217) 352-9330 |
|
Visit our website - Click HERE

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Digital HS and is the answer not in the manual?

Questions and answers

Summary of Contents for IOtech Digital HS

  • Page 1 sales@artisantg.com artisantg.com (217) 352-9330 | Visit our website - Click HERE...
  • Page 2 Fax: (440) 439-4093 E-mail: sales@iotech.com Internet: http://www.iotech.com Digital HS User’s Manual Digital HS - 901 © 1998 by IOtech, Inc. — Printed in the United States of America Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 3 Phone: (440) 439-4091, fax: (440) 439-4093, email: Limitation of Liability IOtech, Inc. cannot be held liable for any damages resulting from the use or misuse of this product. 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.
  • Page 4 Introduction 1.1 General Description The Digital488HS/32 is a high speed IEEE 488 to digital I/O interface providing the fastest possible communication between the IEEE 488 bus and 34 TTL compatible digital I/O lines (17 inputs and 17 outputs). Both the input lines and the output lines have an associated pair of handshake lines.
  • Page 5 oTrigger This output line provides an active 1µSec pulse upon detection of the IEEE 488 multiline command GET. This control line is switch selectable for either active high or active low operation. /oReset This output line provides an active low signal for approximately 100msec at power on and for the duration of the time /iReset is active plus approximately 100msec.
  • Page 6: Available Accessories

    1.2 Available Accessories Additional accessories that can be ordered for the Digital488HS/32 include: CA-7-1 1.5 foot IEEE 488 cable CA-7-3 6 foot shielded IEEE 488 cable CA-7-4 6 foot reverse entry IEEE 488 cable CN-20 Right angle IEEE 488 adapter, male and female CN-22 IEEE 488 multi-tap bus strip, four female connectors in parallel...
  • Page 7 IEEE 488.1 Specification Subsets: SH1, AH1, T6, TE0, L3, LE0, SR1, PP2, RL0, DC1, DT1, C0, E2 DIO Drivers: Tri-State drivers are used on all DIO lines except during PPAS (Parallel Poll Active State) when open collector drivers are used. Connector: Standard IEEE 488.1 connector with metric studs.
  • Page 8 1.4 Abbreviations The following IEEE 488 abbreviations may be 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 My Listen Address...
  • Page 9: Getting Started

    Getting Started 2.1 Inspection The Digital488HS/32 was carefully inspected, both mechanically and electrically, prior to shipment. After receiving the Digital488HS/32, carefully unpack all items from the shipping carton and check for any obvious signs of physical damage. Report any such damage found to the shipping agent immediately. Retain all shipping materials in the event that shipment back to the factory is necessary.
  • Page 10 2.2.1 Factory Defaults The Digital488HS/32 is factory configured to the following switch settings. MODE NDAC HOLDOFF ENABLE 16 16 16 8 IEEE ADDRESS OPEN OPEN 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 OPEN OPEN Artisan Technology Group - Quality Instrumentation ...
  • Page 11 2.2.2 Internal Switch Settings The internal settings on the Digital488HS/32 are for the line voltage, input and output settings and the PTO default settings. WARNING Disconnect the power cord from the ac line and from the Digital488HS/32 prior to disassembly. Disconnect any cables prior to disassembly.
  • Page 12 1. The line voltage selection switch (S7) is located below the main power suply transformer (T2). Insert the tip of a small screwdriver into the slot of the switch and move the switch so the desired line voltage appears on the switch. 2.
  • Page 13 The digital input port contains 16 bits of TTL level inputs, one END line (iEND) input, two handshake lines (iDAV and iBusy), one control line (\iRESET), two status lines (SB1 and SB2), and logic supply lines (+5V and ground). OPEN Input Port Feature Selection Switch Default Settings 2.2.2.2.1 S2-1 SRQ EN Full: Service Request Enable...
  • Page 14 2.2.2.2.2 S2-2 ist EN Full: Individual Status Message True on Input Port Full Enable The Full status of the input port can be sensed via parallel polls when the ist (individual status message) Enable is selected. See section 3.4 for more information. Default is disabled.
  • Page 15 2.2.2.2.4 S2-4 iBUSY POL: Input Port Busy Handshake Line The input port busy handshake line, iBusy, is an input line sourced by the Digital488HS/32. It can be configured as active high or active low. Factory default is active high. OPEN OPEN Active Low iBusy Active High iBusy...
  • Page 16 Polarity Selection for the iEND Control Line 2.2.2.2.6 S2-6 iDATA POL: Input Data Polarity The input data bits can be active high or active low. For example, if a data byte of &h07 is transferred from the input port with the iData Polarity selected for active low operation, the data byte received by the IEEE 488 controller will be &hF8.
  • Page 17 2.2.2.2.7 S2-7 and S2-8 SRQ EN SB1 and SRQ EN SB2: Service Request on External Status Bit 1 and 2 The input port has two status line inputs that allow the external device to request service to the IEEE 488 bus via the Digital488HS/32. Each of these status line inputs is capable of generating an SRQ on the bus when this feature is enabled.
  • Page 18 SRQ On External Status Bit 2 (SB2) Selection 2.2.2.3 Digital Output Port Setup Several features are available for the output port. These features are selected by internal switch S3, labeled OUTPUT SETUP. The factory defaults for these feature selections are shown in the following. The features include: SRQ On Output Port Empty (Serial Poll Feature) ist Enable on Output Port Empty (Parallel Poll Feature)
  • Page 19 Service Request (SRQ) Enable causes the Digital488HS/32 to generate a service request on the IEEE 488 bus when oBusy transitions from the active (Not Empty) to the inactive (Empty) state, indicating the external device has accepted previous data and the port is Empty. Default is SRQ on Empty disabled. OPEN OPEN SRQ on Empty Disabled...
  • Page 20 The Output Data available handshake line, oDAV, is an output line sourced by the Digital488HS/32. It can be configured for active high or active low operation. Factory default is active high (rising edge) operation. OPEN OPEN Falling Edge oDAV Rising Edge oDAV (default) Polarity Selection for the oDAV Handshake Line 2.2.2.3.4 S3-4 oBUSY POL: Output Port Busy Handshake Line...
  • Page 21 on, iRESET, Device Clear (DCL) or Selected Device Clear (SDC). The default setting for S3-5 is active high. The oEND is not affected by the \OE line; it is always enabled. OPEN OPEN Active Low oEND Active High oEND (default) Polarity Selection for the oEND Control Line 2.2.2.3.6 S3-6 oDATA POL: Output Data Polarity The output data bits' polarity can be active high or active low.
  • Page 22 OPEN OPEN Active Low oDATA Active High oDATA (default) Polarity Selection for the Output Port Data Lines 2.2.2.3.7 S3-7 TRIGGER POL: Output Trigger Control Line Polarity The trigger control line may be set for active low or active high operation. Default is active high.
  • Page 23 OPEN OPEN Active Low oClear Active High oClear (default) Polarity Selection for the oClear Line Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 24 2.2.2.4 Power-On Default Settings Switches S4 and S5, labeled PTO Default, set the power-on default settings for the Digital488HS/32. The power-on settings set the output port to high or low on power- 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 OPEN OPEN...
  • Page 25 MODE MODE NDAC HOLDOFF ENABLE NDAC HOLDOFF ENABLE 16 16 16 16 16 8 16 8 IEEE ADDRESS IEEE ADDRESS 16-Bit Input Mode Selected 8-Bit Input Mode Selected (default) Input Port Mode Selection Switch 2.3.2 Output Port Mode Selection The switch labeled MODE OUT selects either 8-bit or 16-bit output port operation. In 8-bit mode, 8-bit data are transferred to the second byte port with the IEEE 488 bus EOI line driving the oEND output.
  • Page 26 MODE MODE NDAC HOLDOFF ENABLE NDAC HOLDOFF ENABLE 16 16 16 16 16 8 16 8 IEEE ADDRESS IEEE ADDRESS 16-Bit Output Mode Selected 8-Bit Output Mode Selected (default) Output Port Mode Selection Switch 2.3.3 NDAC Holdoff Enable/Disable When Digital488HS/32 presents output data, it asserts the oDAV line to inform the external device that data are available.
  • Page 27 bus controller to be held off with the NDAC handshake line. This option is set by the switch labeled NDAC HOLDOFF ENABLE. Factory default setting is NDAC holdoff disabled. MODE MODE NDAC HOLDOFF ENABLE NDAC HOLDOFF ENABLE 16 16 16 16 16 8 16 8 IEEE ADDRESS...
  • Page 28 16 8 0 x 1 1 x 2 0 x 4 0 x 8 1 x 16 + =16 IEEE Address = 18 IEEE Bus Address Selection 2.4 IEEE 488 Bus Implementation The Digital488HS/32 implements many of the capabilities defined by the IEEE 488.1 specification.
  • Page 29 2.4.3 Device Clear (DCL and SDC) In response to a DCL or SDC from the IEEE488 bus, the Digital488HS/32 pulses the oClear control line for 1µsec. In addition, the input port is forced Empty and the output port is forced to its power-on default value. For more information, see PTO default switches,S4 and S5.
  • Page 30 Untalk (UNT) places the Digital488HS/32 in the Talker Idle State. 2.4.10 Serial Poll Response Whenever the Digital488HS/32 generates a service request (SRQ), a serial poll by the controller returns a serial poll status byte of at least 64 (decimal) showing the SRQ was generated by the Digital488HS/32.
  • Page 31 EMPTY On when the Digital488HS/32's output data port is Empty, indicating the external device has accepted the output data, off when the output port is Not Empty. FULL On when the Digital488HS/32 has accepted data on the Input Data Port from the external device.
  • Page 32: Operation

    Operation 3.1 Digital Output Port The digital output port contains 16 bits of TTL level outputs, one END line (oEND), two handshake lines (oDAV and oBusy), four control lines (/oRESET, /OE, oClear and oTrigger) and logic supply lines (+5V and ground). oEND DOUT15 - DOUT0 oDAV...
  • Page 33 First First DOUT8 Byte Byte Internal thru Holding Output Data Bus DOUT15 Register Register First Byte Clock Second Byte Clock Second DOUT0 Byte thru Output DOUT7 Register oEND 1 bit Reg Simplified Output Port Block Diagram 3.1.1 Output Port Data Lines The first and second byte output port drivers are externally controlled.
  • Page 34 3.1.2 Output Port Handshake Lines (oDAV and oBusy) The Output Data Available (oDAV) handshake line is an output line sourced by the Digital488HS/32. The Output Port Busy (oBusy) handshake line is an input that is sensed by the Digital488HS/32. Data are not written to the output port while oBusy input is active. When oBusy becomes inactive, all 17 bits of data, including oEND, are presented to the output lines.
  • Page 35 3.1.2.1 NDAC Holdoff Selection The Digital488HS/32 stops any additional data transfers to the output port while the oBusy handshake line is active, indicating the connected external device has not accepted the previous data provided by the oDAV transition. It does this by not releasing the NRFD IEEE 488 bus handshake line, thus indicating its “Not Ready for Data”...
  • Page 36 3.1.5 /oRESET Control Line The /oRESET control line is an active low signal that follows the internal reset line of the Digital488HS/32. During power-on or external application of a low input to the /iRESET line, this line remains in the low state for approximately 120 to 150 ms. There is no selection for polarity for this control line.
  • Page 37 iEND DIN15 - DIN0 iDAV First Byte Second Byte iBusy iRESET +5 volts Common Digital Input Port Connector Pinouts Input Port Organization DIN0 Thru DIN15 First Byte Second Byte 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 iEND First Byte, Second Byte and iEND Bit Organization Both the first byte and second byte port data are latched simultaneously on the active edge of the iDAV handshake line.
  • Page 38 First Byte Second Byte oEnd >50 ns >150 ns iDAV iBusy 1) The external device waits for iBusy to be unasserted. 2) The external device presents data to the input port. 3) After at least 50 ns, the external device asserts iDAV until 150 ns have passed or until iBusy is asserted.
  • Page 39 fast as the slowest listener. The Digital488HS/32 is capable of transmitting bus data at a rate greater than 1,000,000 bytes per second. 3.3 Serial Polling The Digital488HS/32 can provide internal and external status in addition to generating requests for service via the SRQ IEEE 488 control line. The following shows the status bit positions contained within the Serial Poll Byte Status Register.
  • Page 40 3.4 Parallel Polling The Digital488HS/32 provides the method by which the individual status message (ist), either "true" (1) or "false" (0), can be determined by parallel poll. ist is set true or false according to the setting of the ist EN Full switch (S2-2), the ist EN Empty switch (S3-2), and the current states of the input and output ports.
  • Page 41: Ieee 488 Primer

    IEEE 488 Primer 4.1 HISTORY The IEEE 488 bus is an instrumentation communication bus adopted by the Institute of Electrical and Electronic Engineers in 1975, revised in 1978 and revised and extended in 1987. The Digital488HS/32 conforms to this most recent revision designated IEEE 488.1.
  • Page 42 being Addressed to Listen. This device is then referred to as an Active Listener. Devices which are to ignore the data message are instructed to Unlisten. The reason some devices are instructed to Unlisten is quite simple. Suppose a college instructor is presenting the day's lesson. Each student is told to raise their hand if the instructor has exceeded their ability to keep up while taking notes.
  • Page 43: Send It To My Address

    To Other Devices Device 1 System Controller Able to Talk, Listen, and Control Data Bus Device 2 Data Byte Able to Talk Transfer and Listen Control Device 3 Printer Only Able to Listen General Interface Management Device 4 Frequency Counter Only Able to Talk DIO1-8 IEEE 488 Bus Structure...
  • Page 44: Bus Management Lines

    In the previous discussion, the terms Addressed to Talk and Addressed to Listen were used. These terms require some clarification. The IEEE 488.1 standard permits up to 15 devices to be configured within one system. Each of these devices must have a unique address to avoid confusion. In a similar fashion, every building in town has a unique address to prevent one home from receiving another home's mail.
  • Page 45 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).
  • Page 46: Handshake Lines

    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.
  • Page 47: Data Lines

    1st Data Byte 2nd Data Byte DIO1-8 (composite) Valid Valid Source Valid Valid None None NRFD Ready Ready Ready Ready Acceptor None None NDAC Accept Accept Accept Accept Acceptor IEEE Bus Handshaking 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.
  • Page 48 This command tells all bus devices to Unlisten. The same as Unaddressed to Listen. ($3F) 4.7.4 Talk Address Group (TAG) There are 31 (0 to 30) talk addresses associated with this group. The 3 most significant bits of the data bus are set to 010 while the 5 least significant bits are the address of the device being told to talk.
  • Page 49 4.7.9 Serial Poll Disable (SPD) The SPD command disables all devices from sending their Serial Poll status byte. ($19) 4.7.10 Serial Poll Enable (SPE) A device which is Addressed to Talk will output its Serial Poll status byte after SPE is sent and ATN is unasserted.
  • Page 50: More On Service Requests

    4.7.15 Parallel Poll Unconfigure (PPU) This disables all devices from responding to a Parallel Poll. ($15) 4.8 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.
  • Page 51 4.8.2 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.
  • Page 52 " & < > ACG = Addressed Command Group TAG = Talk Address Group UCG = Universal Command Group SCG = Secondary Command Group LAG = Listen Address Group Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 53 oEND DOUT15 - DOUT0 oDAV Second Byte First Byte oBusy oRESET +5 volts Common oTrigger oClear Digital Output Port Connector iEND DIN15 - DIN0 iDAV First Byte Second Byte iBusy iRESET +5 volts Common Digital Input Port Connector Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 54 Digital Output Port Connector Pin Assignments Designation Description Direction DOUT0 Bit 0 Output - Tri-state DOUT1 Bit 1 Output - Tri-state DOUT2 Bit 2 Output - Tri-state DOUT3 Bit 3 Second Output - Tri-state DOUT4 Bit 4 Byte Output - Tri-state DOUT5 Bit 5 Output - Tri-state...
  • Page 55 Digital Input Port Connector Pin Assignments Designation Description Direction DIN0 Bit 0 Input DIN1 Bit 1 Input DIN2 Bit 2 Input Second DIN3 Bit 3 Input Byte DIN4 Bit 4 Input DIN5 Bit 5 Input DIN6 Bit 6 Input DIN7 Bit 7 Input DIN8...
  • Page 56 The following example uses the Digital488HS/32 as an IEEE 488 to Parallel (Centronics) converter. It uses only the output port in 8-bit mode. The IEEE 488 bus address of the Digital488HS/32 is assumed to be 08. This simple example could be expanded to include error reporting of the parallel BUSY, PAPER and /ERROR signals.
  • Page 57 Active Low oClear This program is used to transfer the ASCII text file to the Digital488HS/32 using the IOtech Personal488 Controller package. Connect the Digital488HS/32 to the printer with the fabricated cable. Enter this simple program and print. Sample Program - IEEE 488 to Parallel Converter...

This manual is also suitable for:

Digital488hs/32

Table of Contents