VXI SM8000 user manual Relay Register 00 - Read and Write, Writing To The Relay Registers, Addr

Models: SM8000

1 74
Download 74 pages 4.14 Kb
Page 55
Image 55
WRITING TO THE RELAY REGISTERS

VXI Technology, Inc.

WRITING TO THE RELAY REGISTERS

If the SM8000 is used to drive single-mode prism switches, in either latching or non-latching configurations, setting the switches is accomplished through writing to the Relay Register located at Relay Register Offset H0000. Each bit, of this 16-bit register, represents the state of the relay (1 = closed, 0 = open). (Note that bits 15 through 12 are unused.) 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. For example:

writing a data value of "0" to the register at offset "0" would open the 12 available switches

writing a data value of 4095 (0x0FFF) to the same register would close the 12 switches

writing a data value of 4094 (0x0FFE) to the same register would close all switches except switch number 1

Relay Register 00 – Read and Write

ADDR

Plug-In LA+0x000

 

 

D15-D12

Unused

Write has no effect. Read back as 1111.

 

 

0

= Opens optical path.

 

1x2 or 2x2 Optical

1

= Closes optical path.

 

Pon state = 0

D11-D0

Prism Switch

 

 

 

Control Register

A read of this bit location will indicate whether the optical path is

 

 

either closed or open. This register controls the possible 12 prism

 

 

switches that may be driven by the SM8000.

SM8000 Series Programming

55

Page 55
Image 55
VXI SM8000 user manual Relay Register 00 - Read and Write, Writing To The Relay Registers, Addr