VXI Microwave Matrix Microwave Oven User Manual


 
www.vxitech.com
SM7100 Programming 33
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.