G80 turns the spindle off after canned cycle, is there any other code to replace that
THANKS
G80 turns the spindle off after canned cycle, is there any other code to replace that
THANKS
Can you get into the G80 routine to edit it, must have a M5 at the end somewhere that could be removed.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Usualy G80 cancel the canned cycle but does not turns spindle off.
This may seem a bit of a weird question but did you turn the spindle on before the canned cycle that you cancelled? Many canned cycles will automatically start the spindle so it does not have to be turned on first but when they are cancelled naturally it stops.
On the Okuma OSP controllers, G80 will cancel the canned cycle and turn off the spindle, G80 M3 will cancel and leave the spindle on. If you are not familiar with canned cycles on Okumas, you will also need to know how to specify the return point. You need to designate the return level BEFORE the canned cycle line with: G71 Zzzz. Z will be where you want the tool to return to. On the same line as the canned cycle you need to have M53;
G71 Z.2
G81 X1.00 Y1.00 Z-1.00 R.2 F40. M53
G80 M3
There is also M52 (upper limit level) and M54 (start point level).
M53 is the only one you will probably use.
The M53 needn't necessarily be on the same line as the canned cycle. We always include it on our G71 line here. We do it near the beginning of the program as part of the safety boilerplate. You could safely say that M53 needs to come before or on the same line as the canned cycle.Originally Posted by cadman
G71 Z=0.2 M53
I concurr with ngjjj. I never worry about using G80 on our Okuma mills unless I want the spindle to stop. Just program a G00 and rapid off to the next point in your program and the spindle will stay running.
eg
...
N100 M3 S1000
N102 M8
N104 G71 Z20. (SET RETURN HEIGHT)
N106 G81 X? Y? Z-5.0 R3.0 F100.0 P0.15 M53
N108 X? Y?
N110 add more points as required or use pattern program
N112 G00 Z20. (CYCLE NOW CANCELLED, SPINDLE KEEPS GOING)
N114 X? Y? ETC...