
F"")"-$).#+
Section 5-2
$'&
5-2
Error codes
Reporting errors
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
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).
General Setting:
n+17
Error Code 1
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
General Setting:
n+18
Error Code 2
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
General Setting:
n+19
Global Error bit:
0 = No error exists
1 = Error(s) has/have occurred
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
W902-E2-03.book Seite 143 Donnerstag, 7. Oktober 2004 2:06 14
Summary of Contents for CS1W-CT021
Page 1: ...OPERATION MANUAL High speed Counter Units CS1W CT021 CS1W CT041 Cat No W902 E2 03...
Page 3: ...W902 E2 03 book Seite iv Donnerstag 7 Oktober 2004 2 06 14...
Page 5: ...W902 E2 03 book Seite vi Donnerstag 7 Oktober 2004 2 06 14...
Page 39: ...W902 E2 03 book Seite 24 Donnerstag 7 Oktober 2004 2 06 14...
Page 59: ...A 2 Section 2 3 W902 E2 03 book Seite 44 Donnerstag 7 Oktober 2004 2 06 14...
Page 155: ...4 Section 4 6 W902 E2 03 book Seite 140 Donnerstag 7 Oktober 2004 2 06 14...
Page 199: ...G W902 E2 03 book Seite 184 Donnerstag 7 Oktober 2004 2 06 14...