HuFlung is correct. Sub-routines require the control to look backwards in the control. In DNC mode this can not happen. However you can use a "SERVER" style of programing. Here is a sample:
M6T1 (Main Program
G0G90G80G17G40S3000M3
G0E1X0Y0
H1Z.1
G1Z-1.F150.
C:\Fadal\Programs\SUB 1.NC
G0E2X0Y0
C:\Fadal\Programs\SUB 2.NC
G0E3X0Y0
C:\Fadal\Programs\SUB 3.NC
G0G90G80X0Y0Z0H0E0
M2
All of the sub programs reside in the folder listed in the data path. Also, if you use "N" words the Data path lines do not have an "N" word on it. This program can be run DNC
I hope that this makes sense! |