HP E1366A, E1367A manual Addressing the Registers, Reading the Registers, ID/Device Type Registers

Page 66

Addressing the Registers

To read or write to specific registers, you must use the register address. Since the addresses for HP 75000 Series B or Series C plug-in modules are A00 through A15, use the VME A16 mnemonic for the address space. The address space within the mainframe/command module memory map depends on the mainframe/command module used. For example, the address of the HP E1300A/E1301A Mainframe starts at 1F0000h.

For the HP E1300/E1301, the A16 space is divided so modules are addressed only at locations beginning with C000h within A16. Each module is allocated 64 register addresses (40h). The module base address is related to the logical address set by the logical address switch (LADDR) on the module:

base address (h) = (logical addressh)*40h + C000h

For the RF multiplexers, the factory-set logical address is 120 (78h), so the base address = (78h)*(40h) + C000h = DE00h. Then, for example, to address the Status/Control register of an RF multiplexer in an HP E1300A/E1301A, the register address = [A16 location]h + [base address]h + [register offset]h = 1F0000h + DE00h + 04h = 1FDE04h.

Reading the Registers

ID/Device Type Registers

You can read the following RF multiplexer registers:

ID register (base + 00h)

Device Type register (base + 02h)

Status/Control register (base + 04h)

Bank 0 Channel Enable register (base + 08h)

Bank 1 Channel Enable register (base + Ah)

For either RF multiplexer, a read of the ID register (address base + 00h) returns FFFFh since the multiplexers are manufactured by Hewlett-Packard and are A16 only, register-based devices. The Device Type register (base + 02h) returns FF80h for the HP E1366A (50Ω) multiplexer and returns FF84h for the HP E1367A (75Ω) multiplexer.

Status/Control Register

Channel Enable Registers

Each relay requires about 15 msec execution time (close to open or open to close) during which time the RF multiplexers are “busy” . A read of the Status/Control register (base + 04h) returns FFFFh when the module is not busy or returns FF7Fh (bit 7 is low-true) when the module is busy.

A read of either of the two Channel Enable registers (base + 08h for bank 0 or base + Ah for bank 1) always returns FFFFh, regardless of the channel states.

66 HP E1366A/E1367A Multiplexer Registers

Appendix B

Image 66
Contents Contents HP E1366A/E1367A RF Multiplexers Command Reference HP E1366A/E1367A RF Multiplexer Specifications HP E1366A/67A RF Multiplexers User’s Manual Contents HP E1366A & E1367A RF Multiplexer Modules User’s Manual Documentation History December 5 According to ISO/IEC Guide 22 and ENHP E1366A & E1367A RF Multiplexer Modules User’s Manual Measurement Systems Division Reader Comment SheetHP E1366A & E1367A RF Multiplexer Module User’s Manual Using This Chapter Getting Started with the HP E1366A/E1367A RF MultiplexersMultiplexer Module Description Multiplexers Switching Diagram Programming the Multiplexer Module Typical ConfigurationSpecifying Scpi Commands AddressMultiplexer Card Numbers Multiplexer Channel NumbersInitial Operation Example RF Multiplexer Channel Lists/RangesPage Configuring the HP E1366A/E1367A RF Multiplexers Chapter Configuring the HP E1366A/E1367A RF MultiplexersConnecting User Inputs Configuring the HP E1366A/E1367A RF Multiplexers ChapterHewlett-Packard BNC Cables Typical Multiplexer Configurations Standard ConfigurationTypical Tree Configuration Matrix-Type Configuration Typical Matrix-Type ConfigurationChanging Multiplexer Components RF Multiplexer Component LocationsConfiguring the HP E1366A/E1367A RF Multiplexers Chapter Switching Channels Using the HP E1366A/E1367A RF Multiplexer ModuleMultiplexer Commands Chapter Using the HP E1366A/E1367A RF Multiplexer ModuleExample Standard Switching Using the HP E1366A/E1367A RF Multiplexer Module ChapterExample Tree Switching Tree SwitchingExample Matrix-Type Switching Query Channel States. Use CLOSe? channellist orExample Scanning Using Trig Out Port Scanning ChannelsScanning Channels Comments Understanding the HP E1366A/E1367A RF Multiplexers Scanning Channels CommandsUsing Scanning Trigger Sources Scanning with External InstrumentsUnderstanding the HP E1366A/E1367A RF Multiplexers Chapter Scanning Trigger Sources Example Scanning with External Device Scanning with External DeviceExample Scanning Using Trig Out Event Ports Using the Scan Complete Bit Example Scan Complete InterruptCommon Command Format HP E1366A/E1367A RF Multiplexers Command ReferenceCommand Types Scpi Command FormatHP E1366A/E1367A RF Multiplexers Command Reference Chapter Semicolon between the commands. For example Subsystem Syntax ABORt Scpi Command ReferenceABORt Example Stopping a Scan with ABORtSubsystem Syntax ARM ParametersExample Query Number of Scanning Cycles Example Enabling the Monitor Mode DISPlaySubsystem Syntax DISPlay Example Select Module #2 in a Switchbox for Monitoring INITiate ∙ Non-Continuous Scanning Operation This is enabled with∙ Stopping Continuous Scans See the ABORt command Example Enabling Continuous ScansExample Query Continuous Scanning State OUTPut Example Enable Trig Out PortExample Query Trig Out Port Enable State Subsystem Syntax OUTPutComments ∙ Closing Channels To close ROUTeSubsystem Syntax ROUTe Example Closing Multiplexer ChannelsComments ∙ Opening Channels To openExample Opening Channels Open Example Scanning Using External Devices Example Query Scan Mode Example Selecting Paired-Channel ScanningSubsystem Syntax STATus ∙ Setting Bit 7 of the Status RegisterSTATus ∙ Returned Data after sending the STATusOPERationEVENt?SYSTem CTYPe?Subsystem Syntax SYSTem Comments ∙ RF Multiplexers Model Number ∙ RF Multiplexers Power-On State The power-on state is allExample Setting Card #1 Module to its Power-on State Example Reading the Model Number of a Card #1 ModuleExample Advancing Scan Using the TRIGger Command TRIGgerSubsystem Syntax TRIGger ∙ Trig Out Port Shared by Switchboxes See the OUTPut command Example Scanning Using External Triggers Example Scanning Using Bus TriggersExample Query Trigger Source Ieee 488.2 Common Commands Command Title DescriptionCommand Quick Reference Commands for the RF Multiplexer modules used in a switchboxAppendix a HP E1366A/E1367A RF Multiplexer Specifications HP E1366A/E1367A RF Multiplexer SpecificationsInput Characteristics AC Performance GeneralHP E1366A/E1367A RF Multiplexer Specifications Appendix a Typical Crosstalk channel-channel Cooling/SlotEnd of Life Detection Replacement Strategy Relay LifeHP E1366A/E1367A RF Multiplexer Specifications Appendix a HP E1366A/E1367A Multiplexer Registers Appendix B HP E1366A/E1367A Multiplexer RegistersID Register Reading the Registers Status/Control Register Channel Enable RegistersAddressing the Registers ID/Device Type RegistersWriting to the Registers HP E1366A/E1367A Multiplexer Registers Appendix B HP E1366A/E1367A RF Multiplexer Error Messages Appendix C HP E1366A/E1367A RF Multiplexer Error MessagesHP E1366A/E1367A RF Multiplexer Error Messages Appendix C Index HP E1366A/67A RF Multiplexers User’s Manual IndexHP-IB HP E1366A/67A RF Multiplexers User’s Manual Index HP E1366A/67A RF Multiplexers User’s Manual Index