Hi to you all, been doing a few components on the mill lately which would have benefited from the G68 Rotation command but I am having problems with it. I keep getting an alarm stating ROTATION FORMAT ERROR.
The program is below, the control is a Yasnac which I believe is very similar to Fanuc if not identical. I believe the Yasnac needs the Q2 on the G68 line, I might be wrong but I have to use Q2 with G52 Datum shift and if I don't use Q2 with G64, I get an illegal G code alarm.
10(G68 ROTATION)
N1 M98 P8000 T10 (SAFETY START SUB PROGRAM)
M6 (DIA3MM EM)
M8
G0 G90 G54 X0. Y15. S10000 M3
G43 Z2. H10 D10
M98 P11 (CALL PROFILE SUB PROGRAM)
G68 Q2 X0. Y0. R180.
M98 P11
G68 Q2 X0. Y0. R270.
M98 P11
G68 Q2 X0. Y0. R360.
M98 P11
G69
G00 G90 Z10.
M98 P8000
G53 Y0.
M30
:11(PROFILE)
G0 Z2.
G1 Z-10 F500
G41 X-2.780 D10
Y13.97
G3 X2.780 Y13.970 I2.780 J0.
G1 Y15.
G40 X0.
G00 Z10.
M99
%
Any help appreciated.
Thanks
The program is below, the control is a Yasnac which I believe is very similar to Fanuc if not identical. I believe the Yasnac needs the Q2 on the G68 line, I might be wrong but I have to use Q2 with G52 Datum shift and if I don't use Q2 with G64, I get an illegal G code alarm.
10(G68 ROTATION)
N1 M98 P8000 T10 (SAFETY START SUB PROGRAM)
M6 (DIA3MM EM)
M8
G0 G90 G54 X0. Y15. S10000 M3
G43 Z2. H10 D10
M98 P11 (CALL PROFILE SUB PROGRAM)
G68 Q2 X0. Y0. R180.
M98 P11
G68 Q2 X0. Y0. R270.
M98 P11
G68 Q2 X0. Y0. R360.
M98 P11
G69
G00 G90 Z10.
M98 P8000
G53 Y0.
M30
:11(PROFILE)
G0 Z2.
G1 Z-10 F500
G41 X-2.780 D10
Y13.97
G3 X2.780 Y13.970 I2.780 J0.
G1 Y15.
G40 X0.
G00 Z10.
M99
%
Any help appreciated.
Thanks