10 error codes – Campbell Scientific CR7 Measurement and Control System User Manual

Page 51

Advertising
background image

SECTION 3. INSTRUCTION SET BASICS

3-9

3.10 ERROR CODES

There are four types of errors flagged by the
CR7: Compile, Run Time, Editor, and *D Mode.
When an error is detected, an E is displayed
followed by the 2 digit error code.

Compile errors are errors in programming
which are detected once the program is keyed
in and compiled for the first time (*0, *6, or *B
Mode entered).

Run Time errors are detected while the
program is running. Error 31 is the result of a
programming error. Error 8 is the result of a
hardware and software "watchdog" that checks
the processor state, software timers, and
program related counters. The watchdog will
attempt to reset the processor and program
execution if it finds that the processor has
bombed or is neglecting standard system

updates, or if the counters are out of allowable
limits. Error code 08 is flagged when the
watchdog performs this reset.

Error 8 is occasionally caused by voltage surges
or transients. Frequent repetitions of E08 are
indicative of a hardware problem or a software
bug and should be reported to Campbell
Scientific. The CR7 keeps track of the number
of times (up to 99) that E08 has occurred. The
number can be displayed and reset with the
Telecommunications A command (Section 5.1).

Editor errors are detected as soon as an
incorrect value is entered and are displayed
immediately.

*D Mode errors indicate problems with saving
or loading a program. Only the error code is
displayed.

TABLE 3.10-1. Error Codes

Code

Type

Description

01

Run Time

I/O Module does not respond

03

Editor

Program table full

04

Compile

Intermediate Storage full

08

Run Time

CR7 reset by watchdog timer

09

Run Time

Data sent to unallocated Input Storage

11

Editor

Attempt to allocate more Input or Intermediate Storage than is available

20

Compile

SUBROUTINE encountered before END of previous subroutine

21

Compile

END without IF, LOOP or SUBROUTINE

22

Compile

Missing END, nonexistent SUBROUTINE

24

Compile

ELSE in SUBROUTINE without IF

25

Compile

ELSE without IF

26

Compile

EXIT LOOP without LOOP

30

Compile

IF and/or LOOP nested too deep

31

Run Time

SUBROUTINES nested too deep

40

Compile

Table 2 Execution interval too short

40

Editor

Instruction not in PROM

60

Compile

Inadequate Input Storage for FFT

61

Compile

Burst Mode Scan Rate too short

97

*D MODE

Tape data not received within 30 seconds

98

*D MODE

Uncorrectable errors detected

99

*D MODE

Wrong file type, editor error or program not received

Advertising