HP E1459A Manual de usuario

Busca en linea o descarga Manual de usuario para No HP E1459A. HP E1459A User's Manual [de] Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 110
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 0
1 2 3 4 5 6 ... 109 110

Indice de contenidos

Pagina 1 - Contents

ContentsContents 1Warranty ...

Pagina 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

Pagina 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

Pagina 5

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

Pagina 6 - Documentation History

HP E1459A Register Definitions 1031970 END

Pagina 7

104 HP E1459A Register Definitions

Pagina 8

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

Pagina 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

Pagina 11 - Functional Description

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

Pagina 12 - Transceivers

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

Pagina 13

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

Pagina 15 - Detection

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 21 - Watchdog Timer

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

Pagina 22 - Connecting User

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

Pagina 23

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

Pagina 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

Pagina 25

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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.

Pagina 31 - Close Sessions

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

Pagina 32 - Digital Input

28 Installing and Configuring the HP E1459A

Pagina 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

Pagina 34 - Edge Detected Event Detection

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

Pagina 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

Pagina 36

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

Pagina 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

Pagina 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&

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 45

4 Contents

Pagina 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

Pagina 47 - Parameters

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

Pagina 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

Pagina 49 - MEASure Subsystem

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

Pagina 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,

Pagina 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

Pagina 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.

Pagina 53

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

Pagina 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

Pagina 55

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

Pagina 56

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

Pagina 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

Pagina 58 - Parameters None

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 63

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

Pagina 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

Pagina 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

Pagina 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

Pagina 67

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

Pagina 68 - SYSTem Subsystem

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

Pagina 69 - Example SYST:ERR?

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

Pagina 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

Pagina 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

Pagina 72

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

Pagina 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

Pagina 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

Pagina 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

Pagina 76 - Addressing the Registers

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

Pagina 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

Pagina 78

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

Pagina 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

Pagina 80 - Data Available

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

Pagina 81 - Port 0/2

72 HP E1459A SCPI Command Reference

Pagina 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

Pagina 83 - Detect Register Port

74 HP E1459A Specifications

Pagina 84

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

Pagina 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

Pagina 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

Pagina 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,

Pagina 88

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

Pagina 89

8 Notes:

Pagina 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

Pagina 91 - Programming Examples

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

Pagina 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

Pagina 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

Pagina 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

Pagina 95

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 100

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

Pagina 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

Pagina 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

Pagina 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

Pagina 104

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

Pagina 105 - Error Messages

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

Pagina 106 - 106 Error Messages

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Comentarios a estos manuales

Sin comentarios