Hi all, we recently got an old masterwood 327 retrofitted with an 'NCT 204' controller. It still has alot of work, but the basics are functioning. Ive been writing parametric programs to perform the everyday tasks that is required for my job. However the Faunc language (or dialect of gcode for faunc) is new to me and im trying to get my head around it. After completing a program for the most common task this machine will do, I noticed a problem. I feel it is a fault or incorrect order of my code structure which is causing it. However I cannot figure it out. We don't even have a backplotter (yet hopefully) so everything im coding i have to visualize in my head when i do it, then watch a dry run, then test it on a sacrifice board.
Ive created a simple code which shows the drama im having and a picture of what its doing. - please see below.
All i'm doing (in this simple code) is routing a square. I am starting to the program off of the work piece, initializing the tool radius compensation, then routing the square and tailing back out to the start point off the work piece. (we machine timber so tailing in and out is standard practice to me rather than plunging). At the corner where I tail in and out, it 'misses' the corner and leaves a spur. I have done this with a tool with a larger radius, and the same thing happens, but the spur is larger with flats.
Tool data is correct, the square machines perfectly to size - but the corner is missed. I could come in and out from 90deg rather than 45deg which would 'fix' the problem - however I would like this to work from a 45deg tail in and out.
Any help is much appreciated.
the code -
(SQUARES)
#101=150 (SQUARE SIZE)
#103=16.5 (WORKPIECE Z)
#104=01.0 (Z CUT)
#105=5.0 (Z CLEAR)
#106=200 (G52 X)
#107=50 (G52 Y)
#108=3000 (FEED)
#109=50 (I/O)
#150=[0-#103] (Z NEG)
#151=[#150-#105]
#152=[#150+#104]
#159=[0-#109]
Ok don't worry - I have resolved my dilemma. The code structure has to be much more specific than what ive been using for the last 5 years - MW309. Hope this helps anyone else with a similar issue in the future.