HP FET MULTIPLEXER E1351A/53A manual Status/Control Register, Enable IRQ EN

Page 87

Status/Control Register

The Status/Control WRITE register is used to reset the module, enable interrupts, choose direct or scan list control of the channels and to internally trigger channel closing. The READ register indicates if interrupts are enabled, if there is an interrupt and if the module is busy.

base + 0416

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write

 

 

Undefined

 

 

X

X

X

TRIG

DIR

IRQ

X

CRD

 

 

 

 

 

 

 

 

 

 

 

 

INT

 

EN

 

RST

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read

 

 

Undefined

 

 

1

1

1

BSY*

1

1

IRQ*

IRQ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EN*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Card Reset (CRD RST) Writing a one (1) to bit 0 resets the multiplexer. Writing a zero turns the reset function off. You must write a zero after a reset or the module will not operate. The Reset conditions are: all Enables are set false, clear scan list, scan mode enabled (direct bit set 0), DELAY is l μsec and all channels opened.

Interrupt Request Writing a one (1) enables the card to generate interrupts, a zero (0) disables Enable (IRQ EN) it. Enabling this bit puts a zero (0) in IRQ EN*.

Direct (DIR) Selects between direct control and scan list control. A zero (0) indicates scan list control and a one (1) indicates direct control. For scan list control the Direct Registers (base + 0C, base + 0E) are invalidated. For direct control the Scan Channel Configuration Register is invalidated.

Trigger Internal Writing a one (1) immediately advances a channel on the scan list, a zero (TRG INT) (0) is the idle state. Bit is automatically set back to zero (0) upon channel

advance.

Interrupt Request Reading a zero (0) indicates enabled, reading a one (1) indicates disabled.

Enable (IRQ EN*)

Interrupt Request (IRQ*) Reading a zero (0) indicates an interrupt, a one (1) indicates no interrupt. This bit remains one (1) if IRQ EN is disabled. Interrupt remains set until Card Reset or interrupt has been acknowledged.

Busy (BSY*) This bit is set zero (0) during channel closing and the delay period. Triggers will not be accepted. BSY* is unasserted at the beginning of the Channel Closed pulse. If a trigger occurs during the Channel Closed pulse, the pulse is terminated and the channel is advanced. Operates only with downloaded scan list (DIR is zero).

Appendix B

HP E1351A/53A Register-Based Programming 87

Image 87
Contents Contents Understanding the HP E1351A/53A FET Multiplexer Modules Appendix C.HP E1351A/53A FET Multiplexer Error Messages HP E1351A/53A FET Multiplexer User’s Manual Contents Certification Documentation History According to ISO/IEC Guide 22 and EN July 20Page Business Reply Mail Page FET Multiplexer Module Description Using This ChapterMultimeter Connection Points Analog Bus ConnectorFET Multiplexer Module Block Diagram Output 70903OUTP on Switchbox and Scanning Voltmeter ConfigurationsDigital Bus and Triggering Initial Operation Programming LanguageConfiguring the HP E1351A/53A FET Multiplexer Modules Multiplexer Card Numbers Card Numbers for Single-Module SwitchboxesCard Numbers for Scanning Voltmeter Setting the Address SwitchSelecting the Interrupt Line Number Setting the Interrupt Line NumberCard ID Switch Setting the Card ID SwitchChannel FET Multiplexer Connector Pin-out Connecting User InputsSignal Conditioning Components/Current Shunts Adding Signal Conditioning Components/Current ShuntsWiring Guidelines Connecting Field WiringWiring a Terminal Module 10. Analog Bus and Digital Bus Connections Connecting Multimeters and Signal Generators11. Analog Bus and Digital Bus Cables Analog Bus and Digital Bus CablesPage Selecting Channels Using the HP E1351A/53A FET Multiplexer ModulesUsing the HP E1351A/53A FET Multiplexer Modules Chapter Matrix Commands Used in Chapter Multiplexer CommandsScanport None Connecting Switchbox Channels to Direct TerminalsCLOS? Closing Channels 02 and 09 for a Voltage Measurement Connecting Channels 02 and 10 for 4-Wire Ohms Measurement Example Making Voltage Measurements By Scanning Scanning a Range of Switchbox ChannelsScanning Channels 100 to 215 of a Two-Module Switchbox Example Making 4-Wire Ohms Measurements by Scanning Example Making 2-Wire Ohms Measurements by ScanningDownloading a Scan List Output 70904INIT Scanning a Switchbox without a Downloaded Scan ListOutput 70904STATOPERENAB Scanning a Switchbox with a Downloaded Scan ListConnecting the Analog Bus and Digital Bus Cables Scanning Voltmeter Configuration with HP E1326BTemperature Measurement Using a Thermocouple Using the HP E1351A/53A FET Multiplexer Modules Chapter Commands for Scanning Switchbox Channels Using Scanning Trigger SourcesScanning with External Instruments Scanning Commands Trigger Sources Example Scanning With External Instruments Output 70914OUTP on Example Scanning Using Trig Out Event In PortsOutput 722TRIG Extdcvmem Fifo SCANMODE, Scanport and TRIGgerSOURce Dbus Example Scan Complete Monitor Using the Scan Complete BitCommand Types Common Command FormatScpi Command Format ROUTeSCANMODE Volt Scpi Command Reference ABORt Subsystem SyntaxExample Stopping a Scan with ABORt Example Query Number of Scanning Cycles COUNtParameters CommentsExample Select Module #2 in a Switchbox for Monitoring DISPlayMONitorCARD Mode Example Enabling the Monitor ModeCONTinuous INITiateExample Query Continuous Scanning State Example Enabling Continuous ScansExample Enabling Trig Out Port OUTPutSTATe ∙ Downloaded Scans The OUTPut subsystem does not work with∙ Closing Channels To close ROUTe∙ Opening Channels To open ∙ Query is Software Readback The ROUTeCLOSe? commandExample Closing Multiplexer Channels Example Query Multiplexer Channel ClosureQuery Multiplexer Channel Open State ∙ Query is Software Readback The ROUTeOPEN? commandExample Opening Multiplexer Channels∙ Scanning Operation With a valid channel list Example Scanning Using External InstrumentsExample Query Scan Mode Example Query Scan Port Example Selecting the Abus PortExample Set and Query the SETTling Time Example Setting 16 μsec SETTling TimeOPERationENABle Example Enable the Status Register BitSTATus Example Reading the Description of Card #1 Module SYSTemCDEScription? ∙ 16-Channel FET Multiplexer Module DescriptionExample Reading the Model Number of a Card #1 Module Comments ∙ 16-Channel FET Multiplexer Module Model NumberIMMediate ∙ Executing the TRIGgerIMMediate Command a channel listExample Advancing Scan using the TRIGger Command TRIGger∙ Trig Out Port Shared by Switchboxes See the OUTPut command ∙ Enabling the Trigger Source The TRIGgerSOURce commandExample Scanning Using External Triggers Scanning Using Bus TriggersExample Query Trigger Source ANSI/IEEE Standard Ieee 488.2 Common CommandsScpi Commands Quick Reference Description Command Quick ReferencePage Power Off High to Low Maximum Voltage Screw Terminal Wire Size Watts/SlotConnectors Used P1 Maximum Offset Voltage Number of Slots Input Impedance Power RequirementsHP E1351A/53A FET Multiplexer Specifications Appendix a Register Addressing About This AppendixHP E1351A/53A Register-Based Programming Appendix B A16 Address Space Inside Command Module Or Mainframe A16 Address Space Outside Command Module Or MainframeRegister Descriptions Device Type Register Register Bit Descriptions Register moduleManufacturer ID Register Status/Control Register Enable IRQ ENScan Channel Delay Register Continuous Enable CNT EN Reset Pointer RST PTRScan Control Register C1 C0 Scan Channel Configuration RegisterDirect Channel Configuration Register A Tree Isolation Switch Disable A-D Valid Channel VLDDirect Control Register Executing CommandsROUTe ROUTeCLOSe channellist is equivalent to the following HP E1351A/53A Register-Based Programming Appendix B Register-Based Programming for Maximum Speed Decimal code Appendix B HP E1351A/53A Register-Based Programming Table B-1. Multimeter Command and Parameter Opcodes Multimeter Command Parameter OpcodesFigure B-3. Configuring the Multimeter Error Code Cause Multimeter Register-Based Programming Error CodesHP E1351A/53A FET Multiplexer Error Messages HP E1351A/53A FET Multiplexer Error Messages Appendix C Laddr IndexHP E1351A/53A FET Multiplexer User’s Manual Index HP-IB HP E1351A/53A FET Multiplexer User’s Manual Index HP E1351A/53A FET Multiplexer User’s Manual Index HP E1351A/53A FET Multiplexer User’s Manual Index HP E1351A/53A FET Multiplexer User’s Manual Index