HP SB manual Query Commands

Models: SB

1 40
Download 40 pages 17.21 Kb
Page 32
Image 32

XDRS i

Drivers Control

Sets all eight relay drivers according to the binary conversion of i. The binary weight of the drivers is as follows:

Driver 1 = 1

Driver 2 = 2

Driver 3 = 4

Driver 4 = 8

Driver 5 = 16

Driver 6 = 32

Driver 7 = 64

Driver 8 = 128

Add together the weights of the drivers to be activated, and send the total. For example, when i = 255, all eight relay drivers are turned on.

SRE i

SQR Mask

Writes a decimal number to the SRQ mask register (see the Status Reporting and Service Request Control section). Setting a bit to 1 generates an SRQ interrupt when the corresponding bit in the status register changes from 0 to 1.

CSB

Clear Status Byte

Resets the status byte.

CLR

Clear Device

Clears the SRQ mask register and the status register.

Query Commands

CLOSE?

Optical Switch Path

Returns the current optical path number. If the switch has two common input fibers (A and B), CLOSE? returns the position of fiber B. CLOSE? MAX returns the maximum channel number.

XDR? i

Driver

Returns the state of an external relay driver (i).

0 = relay driver is off

1 = relay driver is on

Programming Guide – 27

Page 32
Image 32
HP SB manual Query Commands