Any way to use Siemens type "label" function in Fanuc
Hello,
I have used lots of Fanuc and Siemens.
With Sinumeric I have used a style of programming as follows:
R1=3 ;MILLING PLANE
LABEL1:
G0 X## Y##
G0 Z=0+R1
HERE FOR EXAMPLE FACEMILLING PATH
G0 Z25
ENDLABEL:
R1=0.2 ;MILLING PLANE
REPEAT LABEL1
This way I only have to edit path in one place even tho repeating it many times.
Is there a way to do this on Fanuc without using sub programs?
Re: Any way to use Siemens type "label" function in Fanuc
Hi,
as you did not specified, for i-series controls, as follows,
1. after M30, the end of the normal program, you add the next of sequence number ( in sequence),i.e. last number-99, plus 100 = 99+100= 199 > "N199" as long as it is bigger than the last number used.
2. here you place what you want to do, i.e. ....and end with M99
3. then you call M98 Q199, this will jump to the numbers sequence number.
ok, there is a parameter to that allow this, 6005#0=1
have fun
call is treated in the same manner as a sub program and the same rules apply;
Re: Any way to use Siemens type "label" function in Fanuc
Thanks, Will give that a go.
I have have used something like that in the past, but the problem was this method being really slow when call was made, as it always read the file forward and it took some time. This may not be the case with modern machines. We are replacing old engine block manufacturing line with 12 DMG Mori NHX8000 machines and Fastems FMS system. Machines will have Fanuc i31M Controller. Most machines, except Okuma machines we have, have Siemens controller.