HP E1459A User Manual

Browse online or download User Manual for Unknown HP E1459A. HP E1459A User's Manual [de]

  • Download
  • Add to my manuals
  • Print
  • Page
    / 110
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Contents
Contents 1
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
HP E1459A 64-Channel Isolated Input Interrupt Module
Edition 3
Page view 0
1 2 3 4 5 6 ... 109 110

Summary of Contents

Page 1 - Contents

ContentsContents 1Warranty ...

Page 3 - Contents 3

100 HP E1459A Register Definitions 510 OUTPUT Vxi_address;"STAT:OPER:ENAB 256"520 OUTPUT Vxi_address;"DIAG:INT:SET1 ON"530

Page 4 - 4 Contents

HP E1459A Register Definitions 1011030 ENTER Vxi_address;A01035 ! get neg edge register, port 01040 OUTPUT Vxi_address;"VXI:READ? 128,22&quo

Page 5

102 HP E1459A Register Definitions 1470 A=BINAND(A0,-256) 1480 PRINT "Wrd 0 Pos Edge: ";A1490 A=BINAND(A

Page 6 - Documentation History

HP E1459A Register Definitions 1031970 END

Page 7

104 HP E1459A Register Definitions

Page 8

Error Messages 105Appendix CError MessagesThe following table lists error message and possible cause associated with the HP E1459A Module.Error Desc

Page 10

IndexIndex 107Symbols*CLS, 70*DMC, 70*EMC, 70*EMC?, 70*ESE, 70*ESE?, 70*ESR?, 70*GMC?, 70*IDN?, 70*LMC?, 70*OPC, 70*OPC?, 70*PMC, 70*RCL, 70*RMC, 7

Page 11 - Functional Description

108 IndexIIEEE 488.2 Common Commands, 39, 70Implied Commands, 40Input Data Capture, 17Input Debounce Processing, 14Input Edge Detection, 15Input Is

Page 12 - Transceivers

Index 109EVENt?, 65PRESet, 65QUEStionableCONDition?, 66ENABle, 66ENABle?, 67EVENt?, 67SYSTemCDEScription?, 68CTYPe?, 68ERRor?, 69VERSion?, 69TTermi

Page 13

Installing and Configuring the HP E1459A 11Chapter 1Installing and Configuring the HP E1459AThe HP E1459A 64-Channel Isolated Digital Input/Interrup

Page 15 - Detection

12 Installing and Configuring the HP E1459A Figure 1-1. HP E1459A 64-Channel Isolated Digital Input/Interrupt Block DiagramTo VXIbusTransceivers

Page 16 - Examples

Installing and Configuring the HP E1459A 13The HP E1459A can be programmed to monitor channel occurrences either internally with a 1.0 MHz sample cl

Page 17

14 Installing and Configuring the HP E1459A Watchdog Timer The HP E1459A provides a programmable timer facility which, in the event of time-out, will

Page 18 - Operations

Installing and Configuring the HP E1459A 15Caution The user MUST ensure, based upon the programmed debounce period and internal delays, that data to

Page 19 - Configuring for Installation

16 Installing and Configuring the HP E1459A Edge DetectionExamplesFigure 1-3 demonstrates a typical example. A channel that has been programmed to de

Page 20 - Priority

Installing and Configuring the HP E1459A 17Input Data Capture The state of any channel, within any channel group, may be captured for subsequent pro

Page 21 - Watchdog Timer

18 Installing and Configuring the HP E1459A Front Panel Markers All "Data Available" and "Edge Detect" marker bits are physically

Page 22 - Connecting User

Installing and Configuring the HP E1459A 19Configuring for InstallationBefore installing the module you should verify that the following jumpers and

Page 23

2 ContentsChapter 3HP E1459A SCPI Command Reference ...39DIAGnostic:SYSReset Subsy

Page 24 - VXIbus Mainframe

20 Installing and Configuring the HP E1459A Setting the LogicalAddressEach module within the VXIbus mainframe must be set to a unique logical address

Page 25

Installing and Configuring the HP E1459A 21Setting InputThreshold LevelsThe threshold levels for each channel can be set independently. A six pin pl

Page 26 - Wiring a Terminal

22 Installing and Configuring the HP E1459A Connecting UserInputsThe HP E1459A Isolated Digital Input/Interrupt module consists of a component module

Page 27

Installing and Configuring the HP E1459A 23Figure 1-7. Front Panel ConnectionsA B C32 CH 00 HI CH 00 LO31 CH 01 HI CH 02 LO CH 01 LO30 CH 02 HI CH 0

Page 28

24 Installing and Configuring the HP E1459A Installing the HPE1459A in aVXIbus MainframeThe HP E1459A may be installed in any C-size VXIbus mainframe

Page 29 - Using the HP E1459A Module

Installing and Configuring the HP E1459A 25Terminal Block The HP E1459A includes both the input / interrupt module and a screw-type standard termina

Page 30 - Power-on / Reset States

26 Installing and Configuring the HP E1459A Wiring a TerminalBlockThe following illustrations show how to connect field wiring to the terminal block.

Page 31 - Close Sessions

Installing and Configuring the HP E1459A 275Replace Wiring Exit PanelCut requiredholes in panelsfor wire exitKeep wiring exit panelhole as small asp

Page 32 - Digital Input

28 Installing and Configuring the HP E1459A

Page 33

Using the HP E1459A Module 29Chapter 2Using the HP E1459A ModuleThis chapter provides examples of using and programming the HP E1459A using the Stan

Page 34 - Edge Detected Event Detection

Contents 3STATus:QUEStionable:CONDition? ... 66STATus:QUEStionable:ENABle <mask>

Page 35

30 Using the HP E1459A Module Power-on / Reset StatesAt power-on or reset (*RST) the HP E1459A is set to the following conditions:• Watchdog timer is

Page 36

Using the HP E1459A Module 31/* Send the Self Test Command */errStatus = viQueryf (E1459, "*TST?\n","%t",selftst_string);if (VI_

Page 37 - Edge Interrupt

32 Using the HP E1459A Module Digital Input The HP E1459A is capable of simple digital inputs on any of the individual four ports or combined Ports 0

Page 38 - Enable Port 0 Edge Detection

Using the HP E1459A Module 33/* Query Ports 2 and 3 as a 32-bit word */errStatus = viQueryf(E1459, "MEAS:DIG:DATA2:LWORD:VAL?\n","%t&

Page 39 - SCPI Command Format

34 Using the HP E1459A Module Edge Detected Event DetectionThe HP E1459A can respond to two types of events: Edge Events (either negative edge, posit

Page 40

Using the HP E1459A Module 35Figure 2-1. HP E1459A Edge Event Detection Flowchart Unmask all 16 bits of Port.(Either Positive, Negative,or both.)Opt

Page 41 - DIAGnostic:SYSReset Subsystem

36 Using the HP E1459A Module Figure 2-2. HP E1459A Data Available Event Detection Flowchart Optionally, set theDebounce TimeEnable the DAV Detection

Page 42 - DIAGnostic:SYSReset:ENABle?

Using the HP E1459A Module 37Example 3:Edge InterruptThis example repeatedly polls the Port 0 Port Summary Edge Detection Register to determine when

Page 43 - DISPlay:MONitor Subsystem

38 Using the HP E1459A Module if (VI_SUCCESS > errStatus){printf("ERROR: viPrintf() returned 0x%x\n",errStatus);return errStatus;}/* Ena

Page 44 - DISP:MON:PORT:AUTO ON

HP E1459A SCPI Command Reference 39Chapter 3HP E1459A SCPI Command ReferenceThe Standard Commands for Programmable Instruments (SCPI) commands descr

Page 45

4 Contents

Page 46 - INPut Subsystem

40 HP E1459A SCPI Command Reference For example, if the command syntax shows DISPlay, then DISP and DISPLAY are both acceptable forms. Other forms of

Page 47 - Parameters

HP E1459A SCPI Command Reference 41DIAGnostic:SYSReset SubsystemThe DIAGnostic:SYSReset Subsystem controls and monitors the Watchdog Timer. Refer to

Page 48 - Example INP2:DEB:TIME?

42 HP E1459A SCPI Command Reference DIAGnostic:SYSReset:ENABle?Returns the state of the Watchdog Timer as either a (unsigned) 1, or 0.Parameters None

Page 49 - MEASure Subsystem

HP E1459A SCPI Command Reference 43DISPlay:MONitor SubsystemThe DISPlay:MONitor subsystem turns on the monitor mode. Parameters related to the state

Page 50

44 HP E1459A SCPI Command Reference DISPlay:MONitor:PORT? [MINimum | MAXimum | DEFault]Returns the number of the current display Port as +0, +1, +2,

Page 51 - MEMory Subsystem

HP E1459A SCPI Command Reference 45DISPlay:MONitor[:STATe] <state>Turns the Display Mode on or off.ParametersComments • DISP:MON ON enables th

Page 52 - SENSe Subsystem

46 HP E1459A SCPI Command Reference INPut SubsystemThe INPut Subsystem configures the input de-bounce circuitry and specifies the input clock source.

Page 53

HP E1459A SCPI Command Reference 47INPutn:CLOCk[:SOURce]?Returns the programmed value of the input clock source for Port n.ParametersComments • The

Page 54

48 HP E1459A SCPI Command Reference INPutn:DEBounce:TIME? [MINimum | MAXimum | DEFault]Returns the current debounce time for Port n as a floating poi

Page 55

HP E1459A SCPI Command Reference 49MEASure SubsystemThe MEASure commands are used for the Isolated Digital Input part of the HP E1459A. These comman

Page 56

5CertificationHewlett-Packard Company certifies that this product met its published specifications at the time of shipment from the factory. Hewlet

Page 57

50 HP E1459A SCPI Command Reference MEASure:DIGital:DATAn[:type]:BITm?Returns the value of BIT m of the data for the specified Port n as a signed int

Page 58 - Parameters None

HP E1459A SCPI Command Reference 51MEMory SubsystemThis command accesses the SCPI memory subsystem.MEMory:DELete:MACRo <name>Deletes the MACRO

Page 59 - [SENSe:]EVENt:PSUMmary:EDGE?

52 HP E1459A SCPI Command Reference SENSe SubsystemThe SENSe Subsystem configures Event Detection in the HP E1459A Module. The HP E1459A has an event

Page 60 - STATus Subsystem

HP E1459A SCPI Command Reference 53[SENSe:]EVENt:PORTn:DAVailable:ENABle <state>Enables a Data Available interrupt to occur when new data is l

Page 61

54 HP E1459A SCPI Command Reference [SENSe:]EVENt:PORTn:EDGE?Returns the status of the Edge Detect Event for Port n as either a a (unsigned) 0 or a 1

Page 62 - Example STAT:OPER:ENAB 0xFFFF

HP E1459A SCPI Command Reference 55[SENSe:]EVENt:PORTn:EDGE:ENABle?Returns the state of the Edge Event Enable for Port n as a (unsigned) 0 or a 1.Pa

Page 63

56 HP E1459A SCPI Command Reference [SENSe:]EVENt:PORTn:NEDGe:ENABle <mask>Sets the Negative Edge Detection Mask for Port n.ParametersComments

Page 64

HP E1459A SCPI Command Reference 57[SENSe:]EVENt:PORTn:PEDGe?Returns the value of the Positive Edge Detect Register for all 16 bits of Port n.Parame

Page 65

58 HP E1459A SCPI Command Reference [SENSe:]EVENt:PORTn:PEDGe:ENABle?Returns the decimal value of the Positive Edge Detection Mask as a 16 bit intege

Page 66

HP E1459A SCPI Command Reference 59[SENSe:]EVENt:PSUMmary:EDGE?Returns the status of the edge events for ALL ports. Parameters NoneComments • The va

Page 67

6 Safety SymbolsInstruction manual symbol affixed to product. Indicates that the user must refer to the manual for specific WARNING or CAUTION inform

Page 68 - SYSTem Subsystem

60 HP E1459A SCPI Command Reference STATus SubsystemThe STATus subsystem controls the SCPI-defined Operation and Questionable Status registers, Stand

Page 69 - Example SYST:ERR?

HP E1459A SCPI Command Reference 61Figure 3-1. HP E1459A Status System Register Diagram

Page 70 - IEEE 488.2 Common Commands

62 HP E1459A SCPI Command Reference STATus:OPERation:CONDition?Returns the value of the Operation Status Condition Register as a signed 16 bit intege

Page 71 - Command Quick Reference

HP E1459A SCPI Command Reference 63STATus:OPERation:ENABle?Returns the value of the OPERation Status Enable Register as a signed 16 bit integer.Para

Page 72

64 HP E1459A SCPI Command Reference STATus:OPERation:PSUMmary:ENABle <mask>Sets the value of the OPERation Status Port Summary Enable Register.

Page 73 - HP E1459A Specifications

HP E1459A SCPI Command Reference 65STATus:OPERation:PSUMmary[:EVENt]?Returns the value of the Operation Status Port Summary Event Register as a sign

Page 74 - 74 HP E1459A Specifications

66 HP E1459A SCPI Command Reference STATus:QUEStionable:CONDition?Always returns a 0. Note The Questionable Status Condition, Event, and Enable regis

Page 75 - Overview

HP E1459A SCPI Command Reference 67STATus:QUEStionable:ENABle?Returns the value of the QUEStionable Status Enable Register as a signed 16 bit intege

Page 76 - Addressing the Registers

68 HP E1459A SCPI Command Reference SYSTem SubsystemThe SYSTem Subsystem returns module-specific information. This information includes module type a

Page 77 - Register Definitions

HP E1459A SCPI Command Reference 69SYSTem:ERRor?Queries the error register for the error value and string to identify the error. The errors are held

Page 78

7Jim White, QA ManagerEuropean contact: Your local Hewlett-Packard Sales and Service Office or Hewlett-Packard GmbH, Depart-ment HQ-TRE, Herrenberg

Page 79

70 HP E1459A SCPI Command Reference IEEE 488.2 Common CommandsThe following table lists the IEEE 488.2 Common Commands listed by functional group tha

Page 80 - Data Available

HP E1459A SCPI Command Reference 71Command Quick ReferenceCommand Subsystem Description See AlsoDIAG:SYSR:STAT?:ENAB <state>:ENAB?Returns the

Page 81 - Port 0/2

72 HP E1459A SCPI Command Reference

Page 82 - Read Always Returns FFF

HP E1459A Specifications 73Appendix AHP E1459A SpecificationsMax Input Voltage:Between High and Low terminal of Each Channel: 60V DC.Between Channel

Page 83 - Detect Register Port

74 HP E1459A Specifications

Page 84

HP E1459A Register Definitions 75Appendix BHP E1459A Register DefinitionsOverviewThe HP E1459A Isolated Digital Input/Interrupt module is a register

Page 85 - Port1/ Port 2 and

76 HP E1459A Register Definitions Addressing the RegistersTo read or write to specific registers you must address a particular register within a modu

Page 86 - Port 1/3

HP E1459A Register Definitions 77For example, for the HP 75000 Series C Mainframe with an HP E1406 Command Module, VXI A16 address space starts at 1

Page 87 - Register Port 1/3

78 HP E1459A Register Definitions Manufacturer IDRegisterID register (base = 00h) is a read only register. For the Isolated Digital Input/Interrupt,

Page 88

HP E1459A Register Definitions 79READE IRQ = When "1" it indicates that an INTRX line has transitioned from being asserted.D IRQ = When &q

Page 89

8 Notes:

Page 90

80 HP E1459A Register Definitions Bit 14 is the MODID bit. When a "0" is returned in bit 14 then the module has been selected with a high s

Page 91 - Programming Examples

HP E1459A Register Definitions 81Watchdog TimerControl/StatusRegisterThe Watchdog Timer Control/Status Register (base + 0Ah) can be read or written.

Page 92 - Output and Edge

82 HP E1459A Register Definitions the bit in the Data Available Status Register will also be unasserted. An interrupt will only occur on the backpla

Page 93

HP E1459A Register Definitions 83Channel DataRegister Port 0/2The Channel Data Register for Port 0/2 (base + 12h) is read only. This register retur

Page 94 - ! get data register port 1

84 HP E1459A Register Definitions Negative EdgeDetect Register Port0/2The Negative Edge Detect Register for Port 0/2 (base + 16h) is read only. This

Page 95

HP E1459A Register Definitions 85Debounce ClockRegister Port 0 andPort1/ Port 2 andPort 3The Debounce Clock Register (base + 1Eh) can be read or wri

Page 96

86 HP E1459A Register Definitions Command RegisterPort 1/3The Command Register for Port 1/3 (base + 20h) can be read or written. It contains three b

Page 97

HP E1459A Register Definitions 87should only be enabled when in external trigger mode. When set to "0" the DAV1/3 line cannot cause an int

Page 98

88 HP E1459A Register Definitions Positive EdgeDetect Register Port1/3The Positive Edge Detect Register for Port 1/3 (base + 24h) is read only. If b

Page 99 - DATA REGISTERS for each port

HP E1459A Register Definitions 89Negative MaskRegister Port 1/3The Negative Mask Register for Port 1/3 (base + 2Ah) can be read or written. If bit

Page 100

NO POSTAGENECESSARYIF MAILEDIN THEUNITED STATESfold herePlease fold and tape for mailingReader Comment SheetHP E1459A / Z2404B 64-Channel Isolated Inp

Page 101

90 HP E1459A Register Definitions Register Value Bit Pattern (Hex) Clock Frequency Clock Period Debounce Time (4 - 4.5 Clock Periods)2 (or 0 ) De

Page 102

HP E1459A Register Definitions 91Power On/Reset ConditionsA soft reset is generated when the reset bit in the control register is set active and the

Page 103 - 1970 END

92 HP E1459A Register Definitions /* read and print the module’s Device Type Register */errStatus = viIn16(E1459,VI_A16_SPACE,0x02,&dt_reg);if

Page 104

HP E1459A Register Definitions 93150 !160 REPEAT170 OUTPUT Vxi_address;"SYST:ERR?"180 ENTER Vxi_address;Error190 PRINT &quo

Page 105 - Error Messages

94 HP E1459A Register Definitions 620 OUTPUT Vxi_address;"VXI:WRITE 128,4,32" 630 !640 LOOP650 DISABLE INTR 7660 !6

Page 106 - 106 Error Messages

HP E1459A Register Definitions 951140 OUTPUT Vxi_address;"VXI:READ? 128,22" 1150 ENTER Vxi_address;B1160 PRINT "Wrd 0

Page 107 - Index 107

96 HP E1459A Register Definitions 1650 OUTPUT Vxi_address;"DIAG:INT:ACT ON"1660 OUTPUT Vxi_address;"*OPC?"1670 ENTER Vxi_addre

Page 108 - 108 Index

HP E1459A Register Definitions 97365 ! dav enable, ext clk, port 2370 OUTPUT Vxi_address;"VXI:WRITE 128,16,6" 375 ! mask o

Page 109 - Index 109

98 HP E1459A Register Definitions 860 OUTPUT Vxi_address;"VXI:READ? 128,8" ! get dav status register870 ENTER Vxi_address;A880 !89

Page 110 - 110 Index

HP E1459A Register Definitions 99DATA REGISTERS for each port.100 CLEAR SCREEN110 DIM A$[40]120 Vxi_address=70900130 !140 CLEAR 7150 OUT

Comments to this Manuals

No comments