Register-Based Programming 83
Appendix B
Reading the
Status/Control Register
For Status/Control register reads, three bits are defined as follows.
•
MODID Select (bit 14):
0 indicates the module has been selected
by MODID (module ID) and a 1 indicates the module has not been
selected.
•
Busy (bit 7)
: 0 indicates the module is busy. Each relay requires
about 10 ms execution time during which the Form C switch is
busy. Bit 7 of this register is used to inform the user of a busy
condition.
•
Enable (bit 6)
: 0 indicates the interrupt is enabled. The interrupt
generated after a channel has been closed can be disabled. Bit 6
of this register is used to inform the user of the interrupt status.
For example, if the Form C switch module is not busy (bit 7 = 1) and the
interrupt is enabled (bit 6 = 0), a read of the Status/Control Register
(base + 04
16
) returns FFBF.
Writing to the
Status/Control Register
You can only write to bits 0 and 6 of the Status/Control Register.
•
Enable (bit 6)
: Writing a "1" to this bit disables the interrupt function
of the module.
•
Soft Reset (bit 0):
Writing a "1" to this bit soft resets the module.
NOTE
When writing to the registers it is necessary to write "0" to bit 0 after the
reset has been performed before any other commands can be programmed
and executed. SCPI commands take care of this automatically.
Typically, interrupts are only disabled to "peek-poke" a module. See the
appropriate command module operating manual before disabling the
interrupt. Writing a "1" to bit 0 resets the switch (all channels open).
Summary of Contents for E1463A
Page 2: ......
Page 6: ...6 Notes ...
Page 10: ...10 Notes ...
Page 78: ...78 Form C Switch Specifications Appendix A Notes ...
Page 98: ...98 Index Notes ...