Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming
I have problem with AI contour Control, when I put "G05.1 Q1" in main program, "#5" in macro is not properly defined. In the example below, should be the value of the parameter equal to 10. In my case, it has already been determined prior to that, when set to 10. At the beginning of the macro I tried to cancel the "AI contour compensation" with "G05.1 Q0" and at the end of the macro again to activate the 'G05.1 Q1 ", but we machine reports a Error... What should I do?
Re: Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming
That in this case is not important (Z-25)... I need to know how to use the "Stores the Z coordinate at the start of drilling from # 5003"... The "G05.1 Q1 'cause the we do not save the true value of the parameter" # 5 ".
Re: Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming
I would have done in such a way as written standard cycles ... My problem is basically just that, to determine the value of the parameter before that, when it comes to the desired sentence ... If it were possible to without complications switch between the "G05 .1 Q1 "and" G05.1Q0 "would be all right ... but now my machine displays an error if the program change value for" AI contour compensation ".