CONTENTS Title Page Copyright Page Preface 1 The IEZ11 SCSI Bus to IEEE488 Bus Converter 1.1 Introduction 1.1.1 The QIO System Service 1.1.1.1 QIO Device-Independent Parameters 1.1.2 The IEZ11 Class Driver 1.1.3 The Port Driver 1.2 Compatibility 1.2.1 General Areas of Compatibility 1.2.2 General Areas of Incompatibility 1.2.3 IEZ11 Address Formatting 1.2.4 Data Transfer 1.2.4.1 The IXdriver 1.2.4.2 The EKdriver 1.3 IEZ11 Class Driver Basics 1.3.1 Setting IEEE488 Bus Device Addresses 1.3.2 Initializing the SCSI488/D 1.3.2.1 Reinitializing the SCSI488/D 1.3.3 Events 1.3.4 Using Attention ASTs 1.4 Functions 1.4.1 Function Description Format 1.4.2 I/O Status Block CHECK CONDITION Codes 2 Control and Configuration Functions 2.1 Functions Described in This Chapter INITIALIZE COMMAND COMMANDS GO_TO_CACS GO_TO_CSBS PASSCONTROL 3 Data Transfer Functions 3.1 Functions Described in This Chapter READ READ_RESP WRITE 4 Polling Functions 4.1 Functions Described in This Chapter SER_POLL PAR_POLL PARPOLLCON LOADPARPOLL PARPOLLDIS PARPOLLUNCON 5 Other IEZ11 Functions 5.1 Functions Described in This Chapter SENSEMODE SETEVENT REC_EVENT SETMODE SERVICE 6 Advanced IEZ11 Functions 6.1 Functions Described in This Chapter AUXILIARY CONFIG DIAGNOSE COMMAND_SCSI488 ABORT CLEAR ENTERADDR HELLO LAG LOCAL LOCAL LOCKOUT or LLO MLA MTA OUTPUTADDR OUTPUTEOI PAD ON/OFF REMOTE RESUME STATUS TAG TRIGGER 7 Installation Test and Demonstration Software (ITADS) 7.1 Getting Started 7.2 Miscellaneous ITADS Facts and Hints 7.3 Running ITADS 7.4 Description of ITADS Subtests 7.4.1 Initialization 7.4.2 Installation Test 7.4.3 IEEE488 Bus Address Scanning 7.4.4 Communication with the Wave488 Device 7.4.5 Single Function Selection A IEEE488 Bus Primer A.1 Overview A.1.1 History A.1.2 General Description A.1.3 System Controller A.1.4 Controller-in-Charge A.1.5 Controller States A.1.6 Instruments A.2 Bus Lines A.2.1 Interface Management Lines A.2.2 Data Lines A.2.3 Handshake Lines A.3 Bus Commands A.3.1 Command Mode Instructions A.3.2 Specific Commands A.3.3 Service Requests A.3.4 Serial Poll A.3.5 Parallel Poll A.4 Bus Addressing A.4.1 Addressed States A.4.2 Device Addresses B SCSI Bus Primer B.1 Overview B.1.1 General Description B.2 SCSI Bus Lines B.2.1 Control Lines B.2.2 Handshake Lines B.3 SCSI Bus Phases B.3.1 Bus Free Phase B.3.2 Arbitration Phase B.3.3 Selection Phase B.3.4 Command Phase B.3.5 Data Phase B.3.6 Status Phase B.3.7 Message In Phase B.3.8 Message Out Phase B.4 Reconnection B.5 Further Reading C SCSI488/D Controller Error Codes D Abbreviations Used in this Guide E Character Codes and IEEE488 Bus Multiline Messages Used by the IEZ11 F SCSI488/D Internal Registers F.1 Read and Write Registers F.2 Data Registers F.3 Interrupt Registers F.3.1 Interrupt Bits F.3.2 Noninterrupt Bits F.4 Address Mode Status Register F.4.1 Selecting the T/R2 and T/R3 Pin Function F.4.2 Selecting Address Mode F.5 Address Registers F.6 Command Pass Through Register F.7 End Of String Register FIGURES 1-1 The IEZ11 Hardware and Software Systems 1-2 IXdriver Serial Poll P1 Buffer Format 1-3 IEZ11 Class Driver Serial Poll P1 buffer format 1-4 The AST Parameter Layout 1-5 SETEVENT: I/O Status Block with CHECK CONDITION 2-1 INITIALIZE: Normal I/O Status Block 2-2 INITIALIZE: I/O Status Block with CHECK CONDITION 2-3 COMMAND: Normal I/O Status Block 2-4 COMMAND: I/O Status Block with CHECK CONDITION 2-5 COMMANDS: Normal I/O Status Block 2-6 COMMANDS: I/O Status Block with CHECK CONDITION 2-7 GO_TO_CACS: Normal I/O Status Block 2-8 GO_TO_CACS: I/O Status Block with CHECK CONDITION 2-9 GO_TO_CSBS: Normal I/O Status Block 2-10 GO_TO_CSBS: I/O Status Block with CHECK CONDITION 2-11 PASSCONTROL: Normal I/O Status Block 2-12 PASSCONTROL: I/O Status Block with CHECK CONDITION 3-1 READ: Normal I/O Status Block 3-2 READ: I/O Status Block with CHECK CONDITION 3-3 READ_RESP: Normal I/O Status Block 3-4 READ_RESP: I/O Status Block with CHECK CONDITION 3-5 WRITE: Normal I/O Status Block 3-6 WRITE: I/O Status Block with CHECK CONDITION 4-1 SER_POLL: Normal I/O Status Block 4-2 SER_POLL: I/O Status Block with CHECK CONDITION 4-3 PAR_POLL: Normal I/O Status Block 4-4 PAR_POLL: I/O Status Block with CHECK CONDITION 4-5 The Configure Byte 4-6 PARPOLLCON: Normal I/O Status Block 4-7 PARPOLLCON: I/O Status Block with CHECK CONDITION 4-8 Configure Buffer Format 4-9 LOADPARPOLL: Normal I/O Status Block 4-10 LOADPARPOLL: I/O Status Block with CHECK CONDITION 4-11 PARPOLLDIS: Normal I/O Status Block 4-12 PARPOLLDIS: I/O Status Block with CHECK CONDITION 4-13 Address Buffer Format 4-14 PARPOLLUNCON: Normal I/O Status Block 4-15 PARPOLLUNCON: I/O Status Block with CHECK CONDITION 5-1 SENSEMODE: Normal I/O Status Block 5-2 SENSEMODE with IO$M_CHAR: Normal I/O Status Block 5-3 SENSEMODE with IO$M_IOTYPE: Normal I/O Status Block 5-4 SENSEMODE: I/O Status Block with CHECK CONDITION 5-5 Characteristics Buffer Layout 5-6 SETEVENT: Normal I/O Status Block 5-7 SETEVENT: I/O Status Block with CHECK CONDITION 5-8 REC_EVENT: Normal I/O Status Block 5-9 REC_EVENT: I/O Status Block with CHECK CONDITION 5-10 SETMODE: Normal I/O Status Block 5-11 SETMODE: I/O Status Block with CHECK CONDITION 5-12 Characteristics Buffer Layout 5-13 SERVICE: Normal I/O Status Block 5-14 SERVICE: I/O Status Block with CHECK CONDITION 6-1 AUXILIARY: Normal I/O Status Block 6-2 AUXILIARY: I/O Status Block with CHECK CONDITION 6-3 Auxiliary Mode Register 6-4 Auxiliary Commands 6-5 Internal Counter 6-6 Auxiliary Register A 6-7 Auxiliary Register B 6-8 Auxiliary Register E 6-9 CONFIG: Normal I/O Status Block 6-10 CONFIG: I/O Status Block with CHECK CONDITION 6-11 DIAGNOSE: Normal I/O Status Block 6-12 DIAGNOSE: I/O Status Block with CHECK CONDITION 6-13 COMMAND_SCSI488: Normal I/O Status Block 6-14 COMMAND_SCSI488: I/O Status Block with CHECK CONDITION A-1 IEEE488 Bus Structure A-2 IEEE488 Bus Handshaking B-1 Asynchronous Transfers E-1 Sample Box E-2 Character Codes and IEEE488 Bus Multiline Messages F-1 SCSI488/D Internal Read Registers F-2 SCSI488/D Internal Write Registers F-3 SCSI488/D Internal Data Registers F-4 SCSI488/D Internal Interrupt Registers F-5 SCSI488/D Internal Address Mode Status Register F-6 SCSI488/D Internal Address Registers F-7 SCSI488/D Internal Command Pass Through Register F-8 SCSI488/D Internal EOS Register TABLES 1 Associated Documents 1-1 Nomenclature 1-2 QIO Function Differences 1-3 New IEZ11 Class Driver QIO Functions 1-4 Event bitmask 1-5 CHECK CONDITION Codes 2-1 Control and Configuration Functions 2-2 P1 Parameter Bitmask 3-1 Data Transfer Functions 4-1 Polling Functions 5-1 Other IEZ11 Functions 5-2 Event bitmask 5-3 Event bitmask 6-1 Advanced IEZ11 Functions 6-2 SCSI488/D Commands 6-3 Auxiliary Mode Operation 6-4 Auxiliary Commands 6-5 Data Receiving Modes 6-6 EOS Message 6-7 Auxiliary Register B Special Features 6-8 Data Acceptance Modes 6-9 SCSI488/D Internal Read Registers 6-10 SCSI488/D Internal Write Registers 6-11 SCSI488/D Commands 7-1 ITADS Special Characters B-1 Status Byte Organization C-1 SCSI488/D Controller Error Codes D-1 IEEE488 Bus Abbreviations and Meanings D-2 SCSI Bus Abbreviations and Meanings E-1 Symbol Explanations F-1 SCSI488/D Interrupt Status Bits F-2 T/R2 and T/R3 Pin Function Select F-3 SCSI488/D Address Mode Select F-4 SCSI488/D Address Status Register Bits F-5 SCSI488/D Address Register 0/1 Bits