F"")"-$).#+
5-2
Error codes
Reporting errors
General Setting:
n+17
General Setting:
n+18
General Setting:
n+19
The errors that can occur at the Unit are divided in 6 categories: DM-configuration
errors, IOWR-instruction errors, overflow/underflow errors, Preset error, Interrupt-
FIFO full error and System errors. Every error is assigned a unique error code.
The error code consists of two words (error code 1 and error code 2). At the occur-
rence of an error:
•
the corresponding error code is transferred to words n+17 (=error code 1) and
n+18 (=error code 2) of the Special I/O Unit Area in CIO-memory
•
the corresponding error code is stored inside the High-speed Counter Unit
•
the Global Error bit in CIO is set (n+19 / bit 00)
•
the ERC-LED is turned ON
15 14 13 12 11 10 9
8
15 14 13 12 11 10 9
8
15 14 13 12 11 10 9
8
After you have cleared the error:
•
words n+17 (=error code 1) and n+18 (=error code 2) are reset
•
the Global Error bit in CIO is reset (n+19 / bit 00)
•
the ERC-LED is turned OFF
Every error category requires its own unique action to clear them (refer to the next
sections for information on clearing errors of different categories).
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
Section 5-2
Error Code 1
Error Code 2
Global Error bit:
0 = No error exists
1 = Error(s) has/have occurred
$'&