Digital488/80A User's Manual 80-Bit IEEE 488 / Digital I/O Interface the smart approach to instrumentation ™ IOtech, Inc. 25971 Cannon Road
Terminal Installation Category: Standard: Not Applicable. CE: Category 2 for Line Voltage Input terminal. All other terminals are Category 1. Di
Notes94 Appendix B Digital488/80A User's Manual
Index ? command support, 76 A command, 47 abbreviations, 98 accessories, 2 addressing mode, 1, 7 ASCII codes, 87 details, 89 summary, 87 B comman
secondary addressing mode, 8 serial bus line, 85 Serial Poll, 77 Serial Poll Status Byte, 77 Service input line, 31 Service Request (SRQ), 39 Service
NotesDigital488/80A User's Manual Appendix B 97
Abbreviations y (bullet symbol) “and” (e.g. *SCyCA) FCC Federal Communications Commission * (asterisk symbol) “unasserted” (e.g. *SC) FF Form Feed
SCPI Standard Cmds. for Programmable Instruments SUB Substitute (ASCII Code) SCSI Small Computer System Interface bus SYN Synchronous Idle (ASCII Co
Notes 100 Abbreviations Digital488/80A User's Manual
Digital488/80A Setup 2 The Package…… 5 Hardware Setup…… 6 Front & Rear Panel Layouts…… 6 Default DIP Switch Settings…… 7 IEEE 488 Bus Addres
Hardware Setup WARNING Do not use the Digital488/80A unit outdoors! This unit is intended for indoor use only! Unexpected outdoor conditions coul
Default DIP Switch Settings The Digital488/80A unit may be operated from either 110 VAC or 220 VAC. The operating voltage is set by an internal swit
Dual Primary Addressing Mode The Digital488/80A can be thought of as two identical IEEE 488-to-digital I/O interfaces. Each interface occupies one b
The following figure compares the Dual Primary and the Secondary addressing modes. Digital488/80A User’s Manual 11-08-02 Digital488/80A Setup
HVCX1 Option Setup CAUTION If you would like to experiment with the Digital488/80A unit and the example programs, do not install the HVCX1 option u
Determining Ports Setup Before configuring the HVCX1 option, determine which ports are going to be set up for inputs and which ports for outputs. De
To Set Up Input Ports Note: All of the components mentioned below are for the port section of the HVCX1 board labelled INPUT. 1. Locate the two 5-
To Set Up Handshaking Input Lines Note: All of the components mentioned below are for the central section of the HVCX1 board labelled EDR, SERVICE.
Warranty Information Your IOtech warranty is as stated on the product warranty card. You may contact IOtech by phone, fax machine, or e-mail in reg
To Set Up Output Ports Note: All of the components mentioned below are for the port section of the HVCX1 board labelled OUTPUT. 1. Locate the two
Note: All of the components mentioned below are for the upper-corner sections of the HVCX1 board labelled CONTROL. 1. Locate the upper corners of
To Install the HVCX1 Option CAUTION When the HVCX1 option is used, the I/O lines are hardware configured as either inputs or outputs. The hardware
Digital I/O Ports CAUTION When the HVCX1 option is used, the I/O lines are hardware configured as either inputs or outputs. The hardware and softw
Using the HVCX1 Option for High Voltage/Current Outputs CAUTION Never connect external high-level devices to a Channel 0 port or to a Channel 1 por
Digital488/80A Power & Assembly 3 Introduction…… 19 Internal Components…… 19 Factory Service…… 19 Power Line & Fuse Configuration…… 20 L
Power Line & Fuse Configuration The power configuration of the Digital488/80A unit consists of selecting the line voltage and replacing the fuses
Note: If disassembly or disconnection is necessary, first turn off the power, next disconnect the AC power line, and then any other cables, prior to
Fuse Replacement CAUTION Service: Fuse replacement and the changing of selected line voltage must be performed by qualified service personnel. N
Rack-Mount & Bench-Top Assembly The Digital488/80A includes accessories for rack-mount or bench-top assembly. Rack Mount If rack-mount assembly
Introduction to this Manual This manual covers the setup and operation of the Digital488/80A 80-bit IEEE 488 / Digital I/O interface system. This ma
Power-Up & Programming Tests Power-Up Activation CAUTION Line Voltage: The protective conductor terminal on the AC line connector must be conne
Programming Examples The Digital488/80A programming examples use the Personal488 PC/IEEE 488 controller interface and the BASIC Keyboard Controller (
Digital488/80A Command Responses (1) CMD> (2) CMD>OUTPUT 08;T1X (3) CMD>OUTPUT 08;T0X (4) CMD>CLEAR (5) CMD>OUTPUT 08;U0X (6) CMD>E
• Line 1: Initial command prompt from the Keyboard Controller program. • Line 2: Instruct the Digital488/80A to turn on its TEST LED indicator. Th
Notes 28 Digital488/80A Power & Assembly Digital488/80A User's Manual
Digital488/80A Operation 4 Introduction…… 29 Handshaking/Control Lines…… 29 Clear (Pin 41)…… 30 Data Strobe (Pin 42)…… 30 Trigger (Pin 43)…… 30
Clear (Pin 41) The Clear output can be pulsed for approximately 50 microseconds after a Device Clear (DCL), Selected Device Clear (SDC), or Interfa
Inhibit (Pin 44) The Inhibit output is asserted while data on the selected I/O port are being read into the I/O port buffer. This line is normally
IEEE 488 Bus Support The Digital488/80A implements many of the capabilities defined by the IEEE 488 1978 specification. These capabilities are disc
• Device Clear (DCL): In the F0 through F4 formats, Device Clear resets the Digital488/80A to its power on default state, and pulses the Clear out
Table of Contents 1 - Digital488/80A Overview Introduction…… 1 Addressing Modes…… 1 Digital I/O Lines…… 1 Handshaking/Control Lines…… 1 HVCX1 Hig
• Selected Device Clear (SDC): In the F0 through F4 formats, Device Clear resets the Digital488/80A to its power on default state, and pulses the
IEEE 488 Background 5 History…… 35 General Bus Structure…… 35 Bus Lines & Bus Commands…… 36 Bus Management Lines…… 36 Handshake Lines…… 37
The IEEE 488 interface transfers information in a similar way, with a method of data transfer called handshaking. For data transfer on the IEEE 488
Handshake Lines IEEE 488 interface uses three handshake lines in an "I'm ready - Here's the data - I've got it" sequence
Bus Command Groups Bus (multiline) commands are bytes sent by the Active Controller over the data bus with Attention (ATN) asserted. These commands
• Serial Poll Disable (SPD): The command disables all devices from sending their Serial Poll status byte. • Serial Poll Enable (SPE): This comma
Notes 40 IEEE 488 Background Digital488/80A User's Manual
Digital488/80A Commands 6 Introduction…… 41 Command Syntax…… 42 Command Set & Support…… 43 Command Set…… 43 Command Support…… 43 Command Su
Command Syntax Operation of the Digital488/80A is accomplished using a set of commands that configure the entire unit. The syntax rules for using t
Command Set & Support Command Set The 23 Digital488/80A commands are listed below: A Bit Set O Recall Configuration B Bit Clear P Port Selec
7 - Troubleshooting Radio Interference Problems…… 79 Electrostatic Discharge (ESD) Damage…… 79 Other Issues…… 79 Power-Up Activation…… 79 Buffer Ov
Command Summary The following summary presents all 23 of the Digital488/80A commands in alphabetical order according to their command syntax, plus t
Command Syntax Description H Handshake Hn Define handshake line n to be pulsed, where n = 0, 1, or 2. H0 Define the Clear output line to be
Command Syntax Description R Data Ready Rn Define mode n of digital input port data to be latched, where n = 0, 1, or 2. R0 (Default) Defi
A - Bit Set SYNTAX Abit Set bit to logic 1, where bit = bit value from 1 to 40. A? Returns bit of the last bit that was set. DESCRIPTION The Bit
B - Bit Clear SYNTAX Bbit Clear bit to logic 0, where bit = bit value from 1 to 40. B? Returns bit of the last bit that was cleared. DESCRIPTION
C - Configuration SYNTAX Cn Define I/O mode n of ports, where n = value from 0 to 5. C0 (Default) Define all 5 ports as input. C1 Define Port 1 a
D - Data Output DvalZ Define data to be outputted, where val = data value, terminated by Z. SYNTAX Note: In the Format F4 mode, the Z terminator s
E? - Query Error Status SYNTAX E? Returns error status code which indicates the last error encountered. It returns: • E0 if No Error has occur
CAUTION Because the Configuration (C) command is used, the following programming example(s) will not work properly if the HVCX1 option is install
F - Data Format SYNTAX Fn Define format n of data, where n = value from 0 to 5. F0 (Default) Define ASCII hexadecimal (4 bits per character). F1
Notes iv Digital488/80A User’s Manual
Data received for output to the digital ports must be contained within a D command prefix and a Z terminator suffix. If the amount of data sent i
Data received for output to the digital ports must be contained within a D command prefix and a Z terminator suffix. If the amount of data sent i
EXAMPLE 1: Data Format F0 - ASCII Hexadecimal PRINT#1,"CLEAR08" Line 1: Reset the Digital488/80A. PRINT#1,"OUTPUT08;R0P0C2G2X"
G - Bus Input/Output SYNTAX Gn Define mode n of data transmission on the IEEE 488 bus when the Digital488/80A is addressed to Talk, where n = value
H - Handshake SYNTAX Hn Define handshake line n to be pulsed, where n = 0, 1, or 2. H0 Define the Clear output line to be pulsed. H1 Define the D
I - Invert SYNTAX Ival Define the polarity of the handshake and data lines, where 000 ≤ val ≤ 127, as summed from the following states: • 0 - (
K - End-Or-Identify SYNTAX Kn Define mode n of EOI, where n = 0 or 1. K0 (Default) EOI enabled; assert EOI on last byte transferred. K1 EOI disa
L - Buffer SYNTAX Ln Clear the internal data buffer, where n = 0 only. L? Returns the number of port readings in the internal data buffer (from 0
M - Service Request Mask SYNTAX Mmask Define the Service Request (SRQ) conditions, where 00 ≤ mask ≤ 31, as summed from the following states: •
O - Recall Configuration SYNTAX Oval Load configuration val, where val = value from 0 to 100. O? Returns currently loaded configuration val. DESC
Digital488/80A Overview 1 Introduction…… 1 Addressing Modes…… 1 Digital I/O Lines…… 1 Handshaking/Control Lines…… 1 HVCX1 High Voltage/Current I
P - Port Select SYNTAX Pn Select port(s) n for data I/O, where n = value from 0 to 5. P0 (Default) Select all 5 ports. P1 Select Port 1. P2 Sele
Q - Inhibit SYNTAX Qn Define mode n of Inhibit output line, where n = 0 or 1. Q0 Clear the Inhibit line (return to unasserted state). Q1 Set the
R - Data Ready SYNTAX Rn Define mode n of digital input port data to be latched, where n = 0, 1, or 2. R0 (Default) Define data to be not latched,
S - Save Configuration SYNTAX Sval Save current configuration as configuration val, where val = value from 0 to 100. S? Returns the last saved c
T - Test SYNTAX Tn Define mode n to test Digital488/80A communication, where n = 0 or 1. T0 Turn off the TEST LED indicator on Digital488/80A fron
U - User Status SYNTAX Uval Define status message val to send when the Digital488/80A is next addressed to Talk, where val = 0 or bit, and where bi
System Status (U0) Return Codes C# Configuration C0 All 5 ports are input. C1 Port 1 is output; the other ports are input. C2 Ports 1 and 2 are outp
K# End-Or-Identify K0 EOI enabled; assert EOI on last byte transferred. K1 EOI disabled; do not assert EOI on last byte transferred. L#### Buffer #
V - View Configuration SYNTAX Vval View (but not load) configuration val, where val = value from 0 to 100. DESCRIPTION The View Configuration (V)
V? - View Version SYNTAX V? View the current firmware revision level of the ROM. Note: This V? command is not related to the above View Configurati
HVCX1 High Voltage/Current Interface Option The HVCX1 option permits the I/O lines to be configured as high voltage (up to 50 V) inputs or as high vo
X - Execute SYNTAX X Execute the command string. DESCRIPTION Commands sent to the Digital488/80A will result in no action until the unit is instruc
Y - Bus Terminator SYNTAX Yn Define mode n of IEEE 488 bus terminator, where n = 0, 1, 2, or 3. Y0 (Default) Define carriage-return line-feed (C
? - Query SYNTAX ? (Command Support) Returns present configuration or mode of the command preceding the ?. Note: One exception to this command des
Serial Poll Status Byte SUMMARY The Serial Poll Status byte is sent upon receiving the Serial Poll (SPOLL) command from the IEEE 488 bus controller.
Notes78 Digital488/80A Commands 967695 Digital488/80A User's Manual
Troubleshooting 7 Radio Interference Problems…… 79 Electrostatic Discharge (ESD) Damage…… 79 Other Issues…… 79 Power-Up Activation…… 79 Buffer Ov
With the power cord plugged in and connected to the Digital488/80A, turn on the unit by depressing the rear-panel power switch. All of the front-pa
Appendix A A Digital488/80A HVCX1 Configuration Record…… 81 Hardware Setup…… 81 Software Setup…… 82 DB-50 Connector Wiring Reference…… 83 Digit
Software Setup Refer to the Configure (C) command in Chapter 6: Digital488/80A Commands. Channel 0 Configuration Command Port 5 Port 4 Port 3 Po
DB-50 Connector Wiring Reference Refer to the section "Digital I/O Ports" in Chapter 2: Digital488/80A Setup. Channel 0 Pin Description
Specifications CAUTION Please read this manual carefully! If equipment is used in any manner not specified in this manual, the protection provid
Channel 1 Pin Signal Name Pin Description Description Signal Name 1 Port 1 Bit 1 (I/O) 26 Port 4 Bit 2 (I/O) 2 Port 1 Bit 2 (I/O) 27
Appendix B B IEEE 488 Bus & Serial Bus Lines…… 81 IEEE 488 Bus Commands…… 86 ASCII Codes…… 87 ASCII Code Summary…… 87 Decimal Values 00 to
IEEE 488 Bus Commands Bus State IEEE 488 Bus Command Data Transfer (DIO) Lines (ATN is asserted “1”) 8 7 6 5 4 3 2 1 DCL Device Clear 0
ASCII Codes ASCII Code Summary Decimal Values 00 to 63 – ACG, UCG & LAG Box Items Hexadecimal Value $41 65Decimal Value A Bus Message 01 (i
Decimal Values 64 to 127 – TAG & SCG Box Items Hexadecimal Value $41 65Decimal Value A Bus Message 01 (in center) ASCII Character Talk Add
ASCII Code Details Decimal Values 00 to 31 – ACG & UCG Characteristics ASCII Control Codes (Decimal 00 to 31) Dec Value Hex Value ($) Character
Decimal Values 00 to 31 – ACG & UCG Descriptions ASCII Control Codes (00 to 31) Dec Name Description Addressed Command Group (ACG) 00 Null (NU
Decimal Values 32 to 63 – LAG ASCII Character Set (Decimal 32 to 63) Dec Hex Character Name Bus Message Listen Address Group (LAG) 32 $20 <s
Decimal Values 64 to 95 – TAG ASCII Character Set (Decimal 64 to 95) Dec Hex Character Name Bus Message Talk Address Group (TAG) 64 $40 @ At Si
Decimal Values 96 to 127 – SCG ASCII Character Set (96 to 127) Dec Hex Character Name Bus Message Secondary Command Group (SCG) 96 $60 ’ Grave
Comentários a estes Manuais