Chapter 2
Module Operation
page 2 - 8
Excalibur Systems
Read
The Module Status register indicates the result of the self-test of the module.
Note:
1. Module status should be tested by checking all non-reserved bits for
current value. For example, statreg & 0
×
807F == 0
×
007F.
2. The “Self Test Fail” is set when the channel self-test fails or when the
channel is not present on the module.
3. The module will continue to operate on condition of Channel Self-Test
Failures, but will not continue to operate on condition of a Memory
failure.
4. The memory and channel self tests are performed once, immediately
after the module is reset. On the other hand, Internal Error status is
monitored continuously. If the module detects an illegal condition
during normal module operation, this register will be cleared, except
for the Internal Error bit, which will be set. An example of an illegal
condition would be setting a pointer register to a byte boundary
address (odd address).
Read
The Firmware Revision register indicates the revision level of the firmware. For
example, 0100 (H) = Rev 1.00.
2.4.2
Module Status Register
Address:
0012 (H)
Bit
Bit Name
Description
15
Internal Error
1 = Error
0 = OK
07-14
Reserved
06
Memory
1 = OK
0 = Memory Test Fail
05
Channel 5 Status Bit
1 = Self Test OK
0 = Self Test Fail
04
Channel 4 Status Bit
1 = Self Test OK
0 = Self Test Fail
03
Channel 3 Status Bit
1 = Self Test OK
0 = Self Test Fail
02
Channel 2 Status Bit
1 = Self Test OK
0 = Self Test Fail
01
Channel 1 Status Bit
1 = Self Test OK
0 = Self Test Fail
00
Channel 0 Status Bit
1 = Self Test OK
0 = Self Test Fail
Module Status Register
2.4.3
Firmware Revision Register
Address:
0014 (H)
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com