VXI SM7100, Microwave Matrix user manual Relay Register Offset, Writing to the Relays

Page 33

www.vxitech.com

DEVICE MEMORY MAP

RELAY REGISTER OFFSET

The Relay Register Offset is located within the A24/32 address space of the module. When you send data to the register, the relay register offset is added to the A24/A32 base address and module base address:

Relay Register Address = A24/A32 Base Address + Module Base Address + Register Offset

or

Relay Register Address = Module Relay Address + Register Offset

WRITING TO THE RELAYS

Each bit of a 16-bit register represents the state of the relay (1 = closed, 0 = open). To change the state of any relay, it is only necessary to write a 16-bit integer to the specified register with the new configuration:

Relay Register Address, data

 

For example:

 

writing a data value of "0" to the register at offset "0" would open the first sixteen relays

 

writing a data value of 65535 to the same register would close the first 16 relays

 

writing a data value of 65534 to the same register would close all relays except K1, which

 

would be open

 

 

NOTE

Energize only one coil in a group of six at one time.

SM7100 Programming

33

Image 33
Contents SM7100 VXI Technology, Inc Table of Contents Limitation of Warranty WarrantyCertification Restricted Rights LegendEMC C L a R a T I O N O F C O N F O R M I T YTerms and Symbols General Safety InstructionsAvoid Electric Shock Support Resources Programming OverviewSM7100 Specifications VswrSMA Calculating System Power and Cooling Requirements Setting the Chassis Backplane JumpersIntroduction MSB LSB Setting the Logical AddressSelecting the Extended Memory Space VXI Technology, Inc SM7100 Preparation for Use Front Panel Connection SM7000 Switch ConfigurationEXT GNDReturn GND SM7100 Module Configuration SM7100 Matrix Schematic Offset Hex VXI Technology, Inc SM7100 Module Configuration Addressing Register AccessOffset Write Function Smip II Register MAP A16Logical Address Register 0x00 Write Only ID Register 0x00 Read OnlyDevice Type Register 0x02 Read Only Status Register 0x04 Read OnlyReserved Register 0x0A Read Only Offset Register 0x06 Read and WriteReserved Register 0x0C Read Only Version Number Register 0x0E Read OnlyNVM Access Resister 0x20 Write Only NVM Access Resister 0x20 Read OnlyInterrupt Control Register 0x1C Read and Write Subclass Register 0x1E Read OnlyTrace RAM Start Low Register 0x2A Read and Write Trace RAM Start High Register 0x28 Read and WriteTrace RAM End High Register 0x2C Read and Write Trace RAM End Low Register 0x2E Read and WriteTrace Enable Loop EnableOpen Trigger Select Register 0x36 -Write Only TTL Trigger Polarity Register 0x38 -Write OnlyTrigger Advance Register 0x3E Write Only Busy Trigger Control Register 0x3C Read and WriteBoard Busy Register 0x3E Read Only Reserved Registers Read and WriteAcfailn AddrBBM/MBB Control Register Read and Write Delay Register Read and Write Writing to the Relays Relay Register OffsetVIA16SPACE Index SM7100