Run-time errors, 3 run-time errors – HEIDENHAIN TNC 306 Technical Manual User Manual

Page 314

Advertising
background image


7-24

TNC 416/TNC 406/TNC 306

Program creation

3/2000

20

Logic Assign missing (a Word-instruction has been programmed, although the previous Logic-
gating was not closed with an Assign)

21

Word Accumulator not loaded (a Word Assign or gating has been programmed, although the
Word Accumulator does not contain a definite value).

22

Logic-Accumulator not loaded (a Logic Assign has been programmed, although the Logic
Accumulator does not contain a definite value).

23

Accumulators not loaded on "open-parentheses" (an A[, AN[, O[, ON[, or XON[ command has
been programmed, although neither the Word- nor the Logic Accumulator has been gated or
loaded).

24

Incorrect type of the parentheses result (a different type has been calculated in the
parentheses from that which was defined at the "open-parentheses" command, i.e. Logic
instead of Word or vice versa).

25

Conditional jump with incorrect Logic Accumulator (a conditional jump has been programmed,
although the Logic Accumulator does not contain a definite value).

26

Empty CASE-instruction.

27

"END-CASE" missing.

28

Too many table entries in CASE
A CASE table with more than 128 entries has been programmed

29

Blank CASE instruction

A CASE instruction has been programmed followed immediately by an ENDC label

30

String accumulator not loaded

A command has been programmed which gates, assigns or manipulates the already loaded
string accumulator even though the accumulator was not previously loaded.

31

String instruction within parentheses

A string instruction has been programmed within parentheses even though string gates
cannot be nested with parentheses

32

No string assignment

A new gating chain has started without assigning the gating result previously formed in the
string accumulator

2.7.3 Run-time errors

These errors only appear when the PLC-program is executed. A flashing error-message "ERROR IN
PLC-PROGRAM NR" is displayed. After switching the control off and on again, the Editor can be
accessed by using the code number. The message ”INPUT ERROR” is then displayed and the
Editor stands at the erroneous line or, if the program run-time has been exceeded, at the jump
instruction which was last processed.

50

Excessive nesting (too many modules nested inside one another).

51

STACK underflow (an attempt was made to acquire data from the STACK, although it was
empty).

52

STACK overflow (an attempt was made to load too much data onto the STACK).

53

Time-out (the permissible program run-time has been exceeded by more than twice. Check
the subprogram structure).

54

CASE arguments are larger than the number of entries in the table.

Advertising
This manual is related to the following products: