User`s manual

138 Register-Based Programming
Timer Control
Register
This register provides a programmable timer for relay settling time.
Programmable times are 2 mS, 5 mS, 8 mS and 64 mS. The primary purpose
of the 64 mS time period is testing. Settling times for the relays on this
multiplexer can be accomodated by 8 mS or less.
Timer Control Register (Base + 36
h
)
Resetting the Multiplexer There are two ways to reset the Multiplexer:
You can either simply write a “0” to all bits in the Relay Control Registers
or write “1” to bit 0 in the Status/Control Register to reset the Multiplexer.
Reading the Relay
Control Registers
Reading the Relay Control Registers returns a hexadecimal number. A bit
that is “1” represents a channel or a tree relay or one analog bus relay is
closed. A bit that is “0” indicates the channel or the tree relay is open.
base + 36
h
1514131211109876543210
Write
Undefined
Set Time
unde-
fined
Read Read Time
*WRITE BITS (Control Register)
bits 2, 1 Time Write to bits 2 and 1 to set the module’s settling time. Four times can be set as follows:
“00” = 5 mS
“01” = 2 mS
“10” = 8 mS
“11” = 64 mS
**READ BITS (Status Register)
bits 2, 1 Time The returned value indicates the timer setting: “00” = 5 mS, “01” = 2 mS, “10” = 8 mS,
and “11”= 64 mS.