Error 1160 · CNC 8058 / 8060 / 8065 · CNC 8070 · CNCelite 8058 / 8060 / 8065 / 8070
Message: Local subroutine not found
Detection
During execution.
Cause
The CNC cannot find the local subroutine. The possible causes are:
- The local subroutine is not defined at the beginning of the program.
- The program has activated a local subroutine as modal and then it executed a user subroutine (for example, G500 to G599) with motion blocks. The user subroutine cannot find the local subroutine because it belongs to another program.
Solution
The possible solutions are:
- 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 must be defined at the beginning of the program.
- Define the local subroutine as global.