We have recently had issues relating to sending programs,The main and latter subs arrive but the first sub does not show up at the control. This is a trumpf 200 punching machine. We are using WinDNC a trumpf product for sending but have also tried DNC precision with no success. Any Input would be greatly appreciated.
Check the communication settings. If no I/O error occurs then it's a problem in the program or the machine is trying to access a table that does not exist. In this case it sometimes prints an error. This is a sample of how we write the programs on a Lasecomb dieboard laser cutting machine. We don't write subs -- we just convert a 2d drawing and load it to the machine.
Sample -- this will draw a rectangle, a circle and an arc:
(DFS,P 11111 ,DRAWING1)
N10P99999902
N20G90G73
N30F850
N40M54
N50G0X0Y0
N60G0X260.387Y27.578
N70M56
N80M52
N90G3X234.647Y155.358I-45.389J57.339
N100M54
N110G0X232.759Y117.126
N120M52
N130G3X232.759Y117.126I-1.789J-36.229
N140M54
N150G0X184.087Y171.905
N160M52
N170G1X0
N180Y0
N190X184.087
N200Y171.905
N210M54
N220G0X0Y0
N230P99999903
N240M02
If you want you can send the drawing file in dxf, cdr, cff etc and I will convert it to CC220 program.