Error 0065 · CNC 8055 M · CNC 8055 T

Message: The main program cannot have a subroutine.

Detection

In execution or while executing programs transmitted via DNC.

Cause

The possible causes are:

  1. An attempt has been made to define a subroutine in the MDI execution mode.2. A subroutine has been defined in the main program.

Solution

The solution for each cause is:

  1. Subroutines cannot be defined from the "MDI execution" option of the menu.
  2. Subroutines must be defined after the main program or in a separate program.

They cannot be defined before or inside the main program.

The same code on other products

·