In many programs I take multiple passes to get to a finish size. I am running a NCT204 controller which runs a Fanuc Macro B controller.
For simplicity sake -
If I want to machine a circle to 100mmD with a lead in and out I would do the following.
How do I do something similar on Fanuc Macro B controllers?
the best ive found as a work around (which isnt quite a pain) is to call
G10 L13 P#103 R22.00
and change the tool offset table to tell the controller the tool diameter is larger than what it actually is.
however after this I need to change this back as this variable will remain after the program is finished.
Its rather irrelevant why i would do something. And what do you mean by roughing cycle. I work with timber. nothing is cad cam based and everything is purpose built codes for a specific task for the business.
This #104 can be done thru the program or could be added at the macro #104 on the offset page to change it with out altering the program
you could also just alter the D#103 TOOL OFFSET by the 2mm offset and leave the program alone
the code attached is for simplicity. When i have a code with multiple radius, spring points, and varing thicknesses - i cannot simply adjust the radius as per the offset amount. it will give an incorrect shape. Altering the tool offset is 'dangerous' because if i fail to remember to reset the value back to its 'correct' value, the next program i run with the same tool/offset will be incorrect. I am looking for a command or way to adjust the overcut size for this program only. so after wards everything is back to how it should be.
At the moment my work around is to call 'G10 L13 P23 R2.00' before the interpolation occurs, and then at the end of the program recall "G10 L13 P23 R0.00" to put it back to the original state.
In numerous machines ive worked with i can simply add a "Q" value after the offset commands 'G41/42" which will offset the tool the specified amount. Once G40 is called to end the offset, everything returns to normal - even if G41/42 is called again.
If Fanuc doesnt have this capability I will just have to call the G10 command to start and finish the program (which is annoying as its more code, and with multiple tools becomes alot of extra mucking around)