Text preview for : HP E1459A User.pdf part of Agilent HP E1459A User Agilent HP E1459A User.pdf
Back to : HP E1459A User.pdf | Home About this Manual We've added this manual to the Agilent website in an effort to help you support your product. This manual is the best copy we could find; it may be incomplete or contain dated information. If we find a more recent copy in the future, we will add it to the Agilent website. Support for Your Product Agilent no longer sells or supports this product. Our service centers may be able to perform calibration if no repair parts are needed, but no other support from Agilent is available. You will find any other available product information on the Agilent Test & Measurement website, www.tm.agilent.com. HP References in this Manual This manual may contain references to HP or Hewlett-Packard. Please note that Hewlett-Packard's former test and measurement, semiconductor products and chemical analysis businesses are now part of Agilent Technologies. We have made no changes to this manual copy. In other documentation, to reduce potential confusion, the only change to product numbers and names has been in the company name prefix: where a product number/name was HP XXXX the current name/number is now Agilent XXXX. For example, model number HP8648A is now model number Agilent 8648A. Contents HP E1459A 64-Channel Isolated Input Interrupt Module Edition 3 Warranty ....................................................................................................................... 5 Safety Symbols ............................................................................................................. 6 WARNINGS................................................................................................................. 6 Declaration of Conformity ............................................................................................ 7 Reader Comment Sheet ................................................................................................ 9 Chapter 1 Installing and Configuring the HP E1459A .............................................................. 11 Functional Description................................................................................................ 11 Watchdog Timer .................................................................................................. 14 Input Level Selection .......................................................................................... 14 Input Isolation ..................................................................................................... 14 Input Debounce Processing ................................................................................. 14 Input Edge Detection ........................................................................................... 15 Input Data Capture .............................................................................................. 17 Front Panel Markers ............................................................................................ 18 Interrupt Driven or Polled Mode Operations ...................................................... 18 Interrupt Parsing .................................................................................................. 18 Configuring for Installation ........................................................................................ 19 Setting the Logical Address ................................................................................ 20 Setting the Interrupt Priority ............................................................................... 20 Setting Input Threshold Levels ........................................................................... 21 Setting the Reset Time on the Watchdog Timer ................................................. 21 Connecting User Inputs ....................................................................................... 22 Installing the HP E1459A in a VXIbus Mainframe ............................................ 24 Terminal Block .................................................................................................... 25 Wiring a Terminal Block ..................................................................................... 26 Chapter 2 Using the HP E1459A Module .................................................................................... 29 Power-on / Reset States .............................................................................................. 30 Example 1: Reset, Self Test, and Module ID ...................................................... 30 Example 2: Digital Input ..................................................................................... 32 Edge Detected Event Detection .................................................................................. 34 Example 3: Edge Interrupt .................................................................................. 37 Contents 1 Chapter 3 HP E1459A SCPI Command Reference .................................................................... 39 DIAGnostic:SYSReset Subsystem ............................................................................. 41 DIAGnostic:SYSReset[:STATe]? ....................................................................... 41 DIAGnostic:SYSReset:ENABle ............................................................ 41 DIAGnostic:SYSReset:ENABle? ....................................................................... 42 DISPlay:MONitor Subsystem..................................................................................... 43 DISPlay:MONitor:PORT ........................................................................ 43 DISPlay:MONitor:PORT? [MINimum | MAXimum | DEFault] ........................ 44 DISPlay:MONitor:PORT:AUTO ........................................................... 44 DISPlay:MONitor:PORT:AUTO? ...................................................................... 44 DISPlay:MONitor[:STATe] ................................................................... 45 DISPlay:MONitor[:STATe]? .............................................................................. 45 INPut Subsystem......................................................................................................... 46 INPutn:CLOCk[:SOURce] .................................................................. 46 INPutn:CLOCk[:SOURce]? ................................................................................ 47 INPutn:DEBounce:TIME | MINimum | MAXimum | DEFault ............. 47 INPutn:DEBounce:TIME? [MINimum | MAXimum | DEFault] ....................... 48 MEASure Subsystem .................................................................................................. 49 MEASure:DIGital:DATAn[:type] [:VALue]? .................................................... 49 MEASure:DIGital:DATAn[:type]:BITm? .......................................................... 50 MEMory Subsystem ................................................................................................... 51 MEMory:DELete:MACRo ................................................................... 51 SENSe Subsystem....................................................................................................... 52 [SENSe:]EVENt:PORTn:DAVailable? .............................................................. 52 [SENSe:]EVENt:PORTn:DAVailable:ENABle .................................... 53 [SENSe:]EVENt:PORTn:DAVailable:ENABle? ............................................... 53 [SENSe:]EVENt:PORTn:EDGE? ....................................................................... 54 [SENSe:]EVENt:PORTn:EDGE:ENABle ............................................. 54 [SENSe:]EVENt:PORTn:EDGE:ENABle? ........................................................ 55 [SENSe:]EVENt:PORTn:NEDGe? ..................................................................... 55 [SENSe:]EVENt:PORTn:NEDGe:ENABle .......................................... 56 [SENSe:]EVENt:PORTn:NEDGe:ENABle? ...................................................... 56 [SENSe:]EVENt:PORTn:PEDGe? ..................................................................... 57 [SENSe:]EVENt:PORTn:PEDGe:ENABle .......................................... 57 [SENSe:]EVENt:PORTn:PEDGe:ENABle? ...................................................... 58 [SENSe:]EVENt:PSUMmary:DAVailable? ....................................................... 58 [SENSe:]EVENt:PSUMmary:EDGE? ................................................................ 59 STATus Subsystem..................................................................................................... 60 STATus:OPERation:CONDition? ...................................................................... 62 STATus:OPERation:ENABle ............................................................... 62 STATus:OPERation:ENABle? ........................................................................... 63 STATus:OPERation[:EVENt]? ........................................................................... 63 STATus:OPERation:PSUMmary:CONDition? .................................................. 63 STATus:OPERation:PSUMmary:ENABle ........................................... 64 STATus:OPERation:PSUMmary:ENABle? ....................................................... 64 STATus:OPERation:PSUMmary[:EVENt]? ...................................................... 65 STATus:PRESet .................................................................................................. 65 2 Contents STATus:QUEStionable:CONDition? ................................................................. 66 STATus:QUEStionable:ENABle .......................................................... 66 STATus:QUEStionable:ENABle? ...................................................................... 67 STATus:QUEStionable[:EVENt]? ...................................................................... 67 SYSTem Subsystem ................................................................................................... 68 SYSTem:CDEScription? ................................................................... 68 SYSTem:CTYPe? .............................................................................. 68 SYSTem:ERRor? ................................................................................................ 69 SYSTem:VERSion? ............................................................................................ 69 IEEE 488.2 Common Commands............................................................................... 70 Command Quick Reference........................................................................................ 71 Appendix A HP E1459A Specifications ........................................................................................... 73 Appendix B HP E1459A Register Definitions ................................................................................ 75 Overview..................................................................................................................... 75 Addressing the Registers ............................................................................................ 76 Register Access with Logical Address ................................................................ 76 Register Access with Memory Mapping ............................................................. 76 Register Definitions .................................................................................................... 77 Manufacturer ID Register .................................................................................... 78 Device Type Register .......................................................................................... 78 Status/Control Register ....................................................................................... 78 Edge Interrupt Status Register ............................................................................. 80 Data Available Status Register ............................................................................ 80 Watchdog Timer Control/Status Register ........................................................... 81 Command Register Port 0/2 ................................................................................ 81 Channel Data Register Port 0/2 ........................................................................... 83 Positive Edge Detect Register Port 0/2 ............................................................... 83 Negative Edge Detect Register Port 0/2 .............................................................. 84 Positive Mask Register Port 0/2 .......................................................................... 84 Negative Mask Register Port 0/2 ........................................................................ 84 Debounce Clock Register Port 0 and Port1/ Port 2 and Port 3 ........................... 85 Command Register Port 1/3 ................................................................................ 86 Channel Data Register Port 1/3 ........................................................................... 87 Positive Edge Detect Register Port 1/3 ............................................................... 88 Negative Edge Detect Register Port 1/3 .............................................................. 88 Positive Mask Register Port 1/3 .......................................................................... 88 Negative Mask Register Port 1/3 ........................................................................ 89 Debounce Clock Register Port 0 and Port 1/ Port 2 and Port 3 .......................... 89 Power On/Reset Conditions........................................................................................ 91 Programming Examples.............................................................................................. 91 Output and Edge Detection Examples ................................................................ 92 Appendix C Error Messages .......................................................................................................... 105 Contents 3 4 Contents Certification Hewlett-Packard Company certifies that this product met its published specifications at the time of shipment from the factory. Hewlett- Packard further certifies that its calibration measurements are traceable to the United States National Institute of Standards and Technology (formerly National Bureau of Standards), to the extent allowed by that organization's calibration facility, and to the calibration facilities of other International Standards Organization members. Warranty This Hewlett-Packard product is warranted against defects in materials and workmanship for a period of three years from date of shipment. Duration and conditions of warranty for this product may be superseded when the product is integrated into (becomes a part of) other HP products. During the warranty period, Hewlett-Packard Company will, at its option, either repair or replace products which prove to be defective. For warranty service or repair, this product must be returned to a service facility designated by Hewlett-Packard (HP). Buyer shall prepay shipping charges to HP and HP shall pay shipping charges to return the product to Buyer. However, Buyer shall pay all shipping charges, duties, and taxes for products returned to HP from another country HP warrants that its software and firmware designated by HP for use with a product will execute its programming instructions when properly installed on that product. HP does not warrant that the operation of the product, or software, or firmware will be uninterrupted or error free. Limitation Of Warranty The foregoing warranty shall not apply to defects resulting from improper or inadequate maintenance by Buyer, Buyer-supplied products or interfacing, unauthorized modification or misuse, operation outside of the environmental specifications for the product, or improper site preparation or maintenance. The design and implementation of any circuit on this product is the sole responsibility of the Buyer. HP does not warrant the Buyer's circuitry or malfunctions of HP products that result from the Buyer's circuitry. In addition, HP does not warrant any damage that occurs as a result of the Buyer's circuit or any defects that result from Buyer-supplied products. NO OTHER WARRANTY IS EXPRESSED OR IMPLIED. HP SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Exclusive Remedies THE REMEDIES PROVIDED HEREIN ARE BUYER'S SOLE AND EXCLUSIVE REMEDIES. HP SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER BASED ON CONTRACT, TORT, OR ANY OTHER LEGAL THEORY. Notice The information contained in this document is subject to change without notice. HEWLETT-PACKARD (HP) MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. HP shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance or use of this material. This document contains proprietary information which is protected by copyright. All rights are reserved. No part of this document may be photocopied, reproduced, or translated to another language without the prior written consent of Hewlett-Packard Company. HP assumes no responsibility for the use or reliability of its software on equipment that is not furnished by HP. U.S. Government Restricted Rights The Software and Documentation have been developed entirely at private expense. They are delivered and licensed as "commercial computer software" as defined in DFARS 252.227- 7013 (Oct 1988), DFARS 252.211-7015 (May 1991) or DFARS 252.227-7014 (Jun 1995), as a "commercial item" as defined in FAR 2.101(a), or as "Restricted computer software" as defined in FAR 52.227-19 (Jun 1987)(or any equivalent agency regulation or contract clause), whichever is applicable. You have only those rights provided for such Software and Documentation by the applicable FAR or DFARS clause or the HP standard software agreement for the product involved HP E1459A / Z2404B 64-Channel Isolated Input / Interrupt Module User's Manual Edition 3 Copyright