CNC8070
R
EF
. 0402
E
RROR
SOLUTIONS
Page 23 of 128
Errors 1000-1999
1154 'File name too long'
DETECTION During execution.
CAUSE The maximum number of characters allowed for the name of a program or subroutine
has been exceeded.
• The name of a program or subroutine may have a maximum of 63 characters.
• The path of a program or subroutine may have a maximum of 120 characters.
When programming the name of a program or subroutine with a path, the maximum
number of characters will be the sum of both values.
SOLUTION Decrease the number of characters of the name of the program or subroutine. Move
the program or subroutine to another directory to reduce the number of characters
of the path.
1155 'No access to the file'
DETECTION During execution.
CAUSE The program or subroutine could not be accessed.
SOLUTION Check that the files are valid and are not corrupted.
When calling subroutines, check that the name and the path are correct.
If the path of a subroutine is not explicitly indicated in the search statement, it will be
done in the following order:
1. Path programmed with the #PATH instruction.
2. Path of the program being executed.
3. Path of machine parameter SUBPATH.
1156 'Main program not found'
DETECTION During execution.
CAUSE The main program has not been found.
SOLUTION Having local subroutines defined in the file, the main program MUST begin with
"%name".
1157 'Global subroutine not found'
DETECTION During execution.
CAUSE The global subroutine called upon from the program has not been found.
SOLUTION Check that the name and the path of the subroutine are correct.
If the path of a subroutine is not explicitly indicated in the search statement, it will be
done in the following order:
• Path programmed with the #PATH instruction.
• Path of the program being executed.
• Path of machine parameter SUBPATH.
1159 'Name of the local subroutine too long'
DETECTION During execution.
CAUSE The maximum number of characters for the name of a local subroutine is 63.
SOLUTION Check the program.
1160 'Local subroutine not found'
DETECTION During execution.
CAUSE The local subroutine to be executed has not been found.
SOLUTION Check the name of the local subroutine in the calling block is the same as the name
that appears in its definition.
The local subroutines are defined at the beginning of the file. Its definition begins with
%L and ends with #RET, M17 or M29.
1161 '$ control blocks open'
DETECTION During execution.
CAUSE In a subroutine, there is a "$" control block that does not have its corresponding
closing instruction.
SOLUTION Check the programmed control blocks and close them properly.