52 Register-Based Programming
Appendix B
The Status/Control Register offset is 04 h (from below), so the command
register address is:
[address space]
h
+ [module address]
h
+ [register offset]
h
=
1F0000
h
+ DE00
h
+04
h
= 1FDE04
h
Reading the Registers
You can read the following RF Multiplexer registers:
•
Manufacturer ID Register (base+0
h
)
•
Device Type Register (base+0
h
)
•
Status/Control Register (base+04
h
)
•
Remote Module Register (base+06
h
) [Module 00 status]
•
Remote Module Register (base+08
h
) [Module 01 status]
•
Remote Module Register (base+0A
h
) [Module 02 status]
•
Module 00 Bank 00-02 Channel Enable Register (base+10
h
)
•
Module 00 Bank 03-05 Channel Enable Register (base+12
h
)
•
Module 01 Bank 00-02 Channel Enable Register (base+14
h
)
•
Module 01 Bank 03-05 Channel Enable Register (base+16
h
)
•
Module 02 Bank 00-02 Channel Enable Register (base+18
h
)
•
Module 02 Bank 03-05 Channel Enable Register (base+1A
h
)
Manufacturer ID
Register
Reading this register returns FFFF
h
. This shows Hewlett-Packard is the
manufacturer and the module is an A16 register-based device.
Device Type
Register
Reading this register returns 0180
h
if the device is the E1474A RF
Multiplexer module, with or without Expander module(s) connected. The
E1474A/E1475A use the same Device ID as the E1472A/E1473A. However,
the relay module will generate a different remote module code to distinguish
between the modules (see “Remote Module ID Registers” in this appendix).
Status/Control
Register
The Status/Control Register informs the user about the modules status.
Each relay requires about 15 msec execution time during which time the RF
multiplexers are “busy”. Bit 7 of this register is used to inform the user of a
“busy” condition.
In addition, 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. A read of the Status/Control register (base+04
h
) returns:
•
FFBF
h
when the module is not busy and interrupt is enabled.
•
FF3F
h
when the module is busy and interrupt is enabled.
•
FFFF
h
when the module is not busy and interrupt is disabled.
•
FF7F
h
when the module is busy and interrupt is disabled.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание E1472A
Страница 3: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 9: ...8 Notes Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 69: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...