IOtech Digital488OEM Manual

Ieee 488 to digital i/o interface
Table of Contents

Advertisement

Quick Links

sales@artisantg.com
artisantg.com
(217) 352-9330 |
|
Click HERE
Find the Measurement Computing / IOtech Digital488OEM at our website:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for IOtech Digital488OEM

  • Page 1 (217) 352-9330 | Click HERE Find the Measurement Computing / IOtech Digital488OEM at our website:...
  • Page 2 Cleveland, OH 44146-1833 Phone: (440) 439-4091 Fax: (440) 439-4093 E-mail (Product Information): sales@iotech.com E-mail (Technical Support): productsupport@iotech.com Internet: www.iotech.com Digital488 and Digital488/32/OEM IEEE488 to Digital I/O Interface 110-0901 © 1990… 2004 by IOtech, Inc. Printed in the United States of America. 916895...
  • Page 3 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: Table Of Contents

    Table of Contents 1 - Introduction 3 - Command Descriptions General Description …… 1-1 Bit Set An …… 3-1 Digital488 …… 1-1 Bit Clear Bn …… 3-1 Digital488/32/OEM …… 1-1 Bus Input/Output Gn …… 3-2 Available Accessories …… 1-2 Configure Cn ……...
  • Page 5 4 - IEEE 488 Primer History …… 4-1 General Structure …… 4-1 Send It To My Address …… 4-3 Bus Management Lines …… 4-3 Attention (ATN) …… 4-3 Interface Clear (IFC) …… 4-3 Remote Enable (REN) …… 4-3 End or Identify (EOI) …… 4-3 Service Request (SRQ) ……...
  • Page 6: Introduction

    This command set is identical to that employed by the other board-level and external interfaces in IOtech’s industry-standard Digital488 family, facilitating quick prototyping and making the Digital488/32/OEM compatible with other Digital488 family units.
  • Page 7: Available Accessories

    110 volt Wall mount power supply for the Digital488 TR-2E† 220 volt Wall mount power supply for the Digital488 TR-5 110 volt Wall mount power supply for the Digital488OEM TR-5E 220 volt Wall mount power supply for the Digital488OEM †...
  • Page 8: Ieee 488

    IEEE 488 CAUTION The IEEE 488 terminal must only be used to control a non-isolated IEEE 488 system. The common mode voltage (cable shell to earth) must be zero. Terminal Installation Category: Standard: Not Applicable. CE: Category 1. Implementation: SH1, AH1, T6, TE0, L4, LE0, SR1, RL0, PP0, DC1, DT1, C0, E1. Terminators: Selectable CR, LF, LF-CR, and CR-LF with EOI.
  • Page 9: Digital488/32/Oem Specifications

    Digital488/32/OEM Specifications WARNING 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. CAUTION Never disassemble the interface case while it is connected to the AC power line. Internal voltage potentials exist which could cause bodily injury or death.
  • Page 10: General

    General Configuration: Four 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: 101.6mm square x 16.51mm high (4” square x 0.65” high) Weight: 0.13 kg.
  • Page 11: Abbreviations

    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 My Listen Address My Talk Address...
  • Page 12: Getting Started

    Getting Started Inspection The unit was carefully inspected, both mechanically and electrically, prior to shipment. When you receive the interface, carefully unpack all items from the shipping carton and check for any obvious signs of physical damage, which may have occurred during shipment. Report any such damage found to the shipping agent immediately.
  • Page 13: Ieee 488 Address Selection

    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. Remove the four screws located in each corner of the rear panel. Hold the case firmly and pull the rear panel outward, noting the slot location of the main circuit board.
  • Page 14: Ieee 488 Bus Output Terminator Selection

    IEEE 488 Bus Output Terminator Selection The terminating characters sent on output by the Digital488 are determined by SW1-6 through SW1-8. The terminator switches are read only at power on, but can be changed by the controller through the Terminator command. If power is cycled after receipt of the Terminator command, then the unit will again default to the switch settings.
  • Page 15: Digital I/O Port Pin Outs

    Digital I/O Port Pin Outs The following diagram illustrates the digital I/O edge connector as view from the rear of the Digital488 and the top PC Board edge view of the Digital488/32/OEM. Digital488 Rear Panel I/O Connector Pin Out Digital488/32/OEM I/O Connector Pin Out Description Digital488 Digital488/32/OEM...
  • Page 16: Control Lines

    Control Lines Six 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 be independently activated with the Handshake (Hn) command. Note that the pin numbers for the Digital488/32/OEM are different from the pin numbers for the Digital488.
  • Page 17: External Data Ready [Edr]

    External Data Ready [EDR] (Digital488: Pin 46 Digital488/32/OEM: Pin 36) The External Data Ready [EDR] line is an edge sensitive input which is used to latch input data. It is used in conjunction with the Data Ready command (R1). The EDR signal must be at least 1 microsecond wide and must have a rise and fall time of less than one microsecond.
  • Page 18: Service

    Service (Digital488: Pin 45 Digital488/32/OEM: Pin35) The Service input is an edge sensitive input capable of generating a bus Service Request (SRQ). It is enabled with the SRQ command (M1) and defaults to rising-edge sensitive. The Invert command (I64 ) can be used to program it to be falling-edge sensitive. IEEE 488 Bus Implementation The Digital488 implements many of the capabilities defined by the IEEE 488 1978 specification.
  • Page 19: My Listen Address (Mla)

    My Listen Address (MLA) When the Digital488 is addressed to listen in the F0 through F4 format, it accepts characters from the active talker and interprets these characters as commands and command parameters. These commands are explained in Chapter 3. In the high-speed binary format (F5), the command interpreter is disabled.
  • Page 20: Installation

    Installation To begin operating the Digital488, plug the external power supply into the rear jack on the interface. CAUTION Never install the power supply into the interface while it is connected to AC line power. Failure to observe this caution may result in damage to the Digital488. WARNING Do not use this interface outdoors.
  • Page 21 2-10, Getting Started Digital488 User’s Manual 11-19-01...
  • Page 22: Command Descriptions

    Command Descriptions Control of the Digital 488 is implemented with 17 bus commands, described here in detail. 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.
  • Page 23: Bus Input/Output Gn

    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. The G0 default mode causes all input and output port data to be sent to the controller when addressed to talk.
  • Page 24 Data Dn..Z The Data command outputs up to 40 bits of data to the output ports. The number of bits, which can be sent with the Data command, is limited by the number of bits programmed as outputs. For formats F0 through F3, if the amount of data sent is less than the number of bits programmed as outputs, the least-significant bits will contain the data sent and the most-significant bits will be cleared to logic zero.
  • Page 25: Data Ready Rn

    Data Ready The Data Ready command enables digital input data to be latched. When used in conjunction with the Service Request (M2) command, the External Data Ready line can both latch the input data and signal the controller that new data is available. In the default mode, (R0) data is read when the Digital488 is addressed to talk.
  • Page 26: Execute X

    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. Any number of Execute commands may be inserted into the same command string.
  • Page 27: F1 Format - Ascii Character

    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. 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.
  • Page 28: F2 Format - Ascii Binary

    F2 Format - ASCII Binary In the F2 format, the each data bit is described with an ASCII 0 or 1. Each byte is formatted in two 4-bit multiples separated by semicolons. F2 String Decimal Equiv F2 String Decimal Equiv 0000;0000 0000;1001 0000;0001...
  • Page 29: F4 Format - Binary

    Data received 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 contain the data sent and the most-significant bits will be cleared to logic zero. 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 30: Handshake Hn

    Handshake The Handshake control command enables software control of the handshake lines, independent of any other I/O operations. When the Digital488 receives a Hn command, the respective handshake line is pulsed for approximately 50 microseconds. It returns to its steady-state condition after pulsing. The Invert command may be used to change the active state of any of the handshake lines.
  • Page 31: Service Request Mask (Srq) Mn

    Port The Port command determines which port is selected for data input/output. In the default mode (P0), all ports are selected. The P1 thru P5 commands select a specific eight-bit port. 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.
  • Page 32: Serial Poll Status Byte

    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.
  • Page 33: Status Un

    DIO5 The DIO5 bit is set after an entire command string has been received and processed by the Digital488. The bit is clear while the Digital488 is processing commands that have been received from the controller. When used with the M16 command, a Service Request will also be generated when the DIO5 bit is set.
  • Page 34 The status returned after receiving a U1 through U40 is an ASCII character '1' or '0', depending on the level of the line, and the state of the Invert command (I16). CLEAR 718 reset the Digital488 OUTPUT 718;"U22X" request the status of bit 22 ENTER 718;A$ read the status bit DISP A$...
  • Page 35: Terminator Yn

    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...
  • Page 36 Test 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. Use the Status command to determine the cause of the self-test error.
  • Page 37 3-16, Command Descriptions Digital488 User’s Manual 7-17-01...
  • Page 38: Ieee 488 Primer

    IEEE 488 Primer 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 39 The GPIB transfers information in a similar way. This method of data transfer is called handshaking. More on this later. For data transfer on the IEEE 488, the Active Controller must… Unlisten all devices to protect against eavesdroppers. Designate who will talk by addressing a device to talk. Designate all the devices that are to listen by addressing those devices to listen.
  • Page 40: Send It To My Address

    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. Each of these devices must have a unique address to avoid confusion.
  • Page 41: Handshake Lines

    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. The handshake lines, like the other IEEE 488 lines, are active low.
  • Page 42: Multiline Commands

    Multiline Commands Multiline (bus) commands are sent by the Active Controller over the data bus with ATN asserted. These commands include addressing commands for talk, listen, Untalk and Unlisten. Go To Local (GTL) This command allows the selected devices to be manually controlled. ($01) Listen Address Group (LAG) There are 31 (0 to 30) listen addresses associated with this group.
  • Page 43: Parallel Poll Configure (Ppc)

    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.
  • Page 44: Service Information

    Service Information Factory Service IOtech maintains a factory service center in Cleveland, Ohio. If problems are encountered in using the Digital488 you should first telephone the factory. Many problems can be resolved by discussing the problems with our applications department. If the problem cannot be solved by this method, you will be instructed as to the proper return procedure.
  • Page 45: Digital488 Mother Board

    Digital488 Mother Board Component Layout 5-2, Service Information Digital488 User’s Manual 916895...
  • Page 46 Digital488 Motherboard, Replaceable Parts Schematic Part Number Description C101-C108 C-5-.1 Ceramic, 25v C110,C113 C-5-.1 Ceramic, 25v C117,C118 C-5-15p Ceramic, 25v C124 C-2-10 Electrolytic, 25v C123 C-5-1 Ceramic, 25v D101 RF-1 Small Signal Diode D102-D106 DD-2 Red PC Mount J101 CN-2 IEEE 488 Connector R101 R-1-68K...
  • Page 47: Digital488 I/O Board

    Digital488 I/O Board Component Layout and Schematic Part Number Description Replaceable Parts 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 U205...
  • Page 48: Digital488/32/Oem

    Digital488/32/OEM Component Layout Digital488 User’s Manual Service Information, 5-5 916895...
  • Page 49: Digital488/Oem

    Digital488/OEM Component Layout 5-6, Service Information Digital488 User’s Manual 916895...
  • Page 50 Digital488/OEM, Replaceable Parts Schematic Part Number Description C101-C112 C-5-.1 Ceramic, 25v C113 C-5-1 Ceramic, 25v C114,C115 C-5-15p Ceramic, 25v C116 C-2-10 Electrolytic, 25v D101 RF-1 Small Signal Diode D102-D106 DD-2 Red PC Mount J101 CN-2 IEEE 488 Connector J102 CN-5-12 12 x 2 0.1"...
  • Page 51 5-8, Service Information Digital488 User’s Manual 916895...
  • Page 52 Appendix 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 Only Output port data sent on talk Configure All ports are inputs Port 1 is an output, ports 2 thru 5 are inputs...
  • Page 53 Command Code Description 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 Data is low true EDR input is falling-edge sensitive Service input is falling-edge sensitive Port All ports selected...
  • Page 54 Appendix ASCII Code Summary Decimal Values 00 to 63 – ACG, UCG & LAG Box Items Hexadecimal Value Decimal Value Bus Message (in center) ASCII Character Addressed Command Group ( 00 $01 01 $02 02 $03 03 $04 04 $05 05 $06 06 $07 08 $09...
  • Page 55 Decimal Values 64 to 127 – TAG & SCG Box Items Hexadecimal Value Decimal Value Bus Message (in center) ASCII Character Talk Address Group ( 64 $41 65 $42 66 $43 67 $44 68 $45 69 $46 70 $47 72 $49 73 $4A 74 $4B 75 $4C...
  • Page 56 ASCII Code Details Decimal Values 00 to 31 – ACG & UCG Characteristics ASCII Control Codes (Decimal 00 to 31) Character & Name Bus Message Value Value ($) Abbreviation Addressed Command Group ( None / NUL Null None Start of Header ^A / SOH Go To Local ( Start of Text...
  • Page 57 Decimal Values 00 to 31 – ACG & UCG Descriptions ASCII Control Codes (00 to 31) Name Description Addressed Command Group ( Null ( Space filler character. Used in output timing for some device drivers. Start of Header ( Marks beginning of message header. Start of Text ( Marks beginning of data block (text).
  • Page 58 Decimal Values 32 to 63 – LAG ASCII Character Set (Decimal 32 to 63) Character Name Bus Message Listen Address Group (LAG) <space> Space Bus address 00 Exclamation Point Bus address 01 “ Quotation Mark Bus address 02 Number Sign Bus address 03 Dollar Sign Bus address 04...
  • Page 59 Decimal Values 64 to 95 – TAG ASCII Character Set (Decimal 64 to 95) Character Name Bus Message Talk Address Group (TAG) At Sign Bus address 00 Capital A Bus address 01 Capital B Bus address 02 Capital C Bus address 03 Capital D Bus address 04 Capital E...
  • Page 60 Decimal Values 96 to 127 – SCG ASCII Character Set (96 to 127) Character Name Bus Message Secondary Command Group (SCG) ’ Grave Command 00 Lowercase A Command 01 Lowercase B Command 02 Lowercase C Command 03 Lowercase D Command 04 Lowercase E Command 05 Lowercase F...
  • Page 61 Notes...
  • Page 62 Appendix Digital488/OEM Mechanical Dimensions Board Dimensions...
  • Page 63 IEEE Connector Mounting and Hole Punch Out...

This manual is also suitable for:

Digital488/32/oemDigital488

Table of Contents