CNC Z32 - Programming guide (
Milling machines) Warning : A program called by the instruction !:L254…! cannot in turn call a program with the same instruction !:L254…! A program called by the instruction !:L254…! may call CMOS subprograms, or subtemp by means of instructions !GOP...! or !GOS...! A program called by the instruction !:L254…! may contain the jump instruction !GON..!, repetition --DO --LOOP and conditioning !IF..! and --IF. >
8.3 Some note on the DNC part-program
initial % character not allowed the program must not have the first character “%” (therefore the initial comment, if existing, must be enclosed in parenthesis). termination with G26 the program must terminate with the G26 instruction (subprogram return). GON and GON-N jumps allowed with restrictions The jumps, executed with GON or GON-N instructions, are allowed also for DNC programs, but with a length limit for the jump, which cannot extend beyond the file section contained in the Z32 internal memory. If the jump destination results external, the destination line is not found, provoking a programming error. - a backward GON cannot jump more than 20.000 characters before any line already executed. - the file initial line may not be found as destination of a backward jump: if necessary, insert a comment of at least 4 characters at the beginning of file, to allow the following line to be found. - a forward GON cannot jump more than 40.000 characters after the starting line - both lines of GON-N instruction must respect the above conditions Please note that the quantities of 20.000 and 40.000 contain a certain safety margin; it is therefore possible in some cases, depending on character transmission speed, to find also farther lines. It is also important to note that this behavior may be uncertain; D.Electron recommends to limit the distance of destination lines inside the safety zone . >
117