Large robot programs can exceed your robot controller limitations. The controller limitations can be the file size or the number of lines per program. For example, a robot program made for robot machining or 3D printing can thousands of lines of code.
In this case it is better to split such a long program in smaller sub programs, including one main program that runs the subprograms.
Follow these steps to automatically split a long program:
1.Select Tools➔Options➔Program.
2.Check Limit the maximum number of lines per program and provide the desired maximum of lines per program to generate per file.