7 error messages – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 491

2.7 Error messages
Creating the instruction list and testing the program is supported by the display of error messages.
In the PLC Editor or when compiling the program in the PLC programming mode, errors are
displayed by the message "INPUT ERROR n". The flashing message "ERROR IN PLC Program n" is
displayed when compiling the program after switching on the control system or when a timing error
occurs. After resetting, the error can be located by calling the PLC Editor. Basically, when an error is
displayed in the PLC Editor, the relevant file is opened and the cursor is on the error line. With timing
error 53 (maximum PLC cycle time has timed out) the cursor is on the last jump instruction to be
executed.
Error classification:
The system indicates when every error was detected. The following abbreviations are used:
E
- Detected while editing, the line is not formatted.
S
- Detected during syntax check in PLC Editor (Compile soft key).
(S)
- May have been detected during syntax check, otherwise during Compiler run.
C
- Detected during Compiler run either after control is switched on or in PLC programming
mode.
R
- Detected at PLC program run time.
List of error codes:
Error Code
Explanation
0 E S C
Not a valid command
- The read line cannot be interpreted as a PLC command
1 -
spare (earlier versions: Operand for jump is no label)
2 E S C
Invalid operand type
- An invalid operand type has been defined.
- The command cannot be used with the defined operand type.
3 E S C
Operand not found
- A type has been specified for the operand, but not a value.
4 E S C
Operand not in acceptable range
- An operand number has been defined that is outside the range
available for the operand.
5 E S C
No limiter after command
- The PLC command is followed by other characters that cannot be
interpreted.
6 E S C
No end of line found
- The line is more than 128 characters long.
7 S C
Label not defined
- There is a reference to a label that is not defined elsewhere with LBL,
KFIELD or EXTERN.