VXI SM7100, Microwave Matrix Device Memory Map, Relay Register Offset, Writing To The Relays

Models: SM7100 Microwave Matrix

1 36
Download 36 pages 55.64 Kb
Page 33
Image 33
DEVICE MEMORY MAP

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

Page 33
Image 33
VXI SM7100, Microwave Matrix user manual Device Memory Map, Relay Register Offset, Writing To The Relays