I am very new at Fadal machines. I have been given the task of writing a new program for this machine, and I dont understand the programming. I do know how to program CNC machines but this is like no other CNC that I've worked with. I don't understand the "subroutine". The other 2 programs that Ihave in the machine have subroutines (L100) is that in the machine? if it is then how do I find it? also I wrote a new program today and it won't run. I'm getting a bad Z or R0 in can cycle statement when I go to "sum". Maybe you guys can catch my mistake. Thanks for any help!


N10G20
N20G17G40G80
N30G90G54G0X0.25Y-0.361S1000M03M8
N40G1.Z0.5F11.
N50M6T6(DRILL)
N60M3S1000
N70G81Z-0.85R1.1F11H6
N80X1.75
N90X3.25
N100X4.75
N110X6.25
N120X7.75
etc....

the machine says the error is in line 70, but I see nothing wrong.