Michael, It's hard to say for sure, but if you are really using v4.5 and not v4.51, there were lots of subtle problems with the arc output in v4.5 that were fixed in v4.51, so this could be part of what you see with the extra silly arc.
For the g01 move, you can see from the original code that at that output tolerance, the small piece of arc is actually a straight line (the Y doesn't change). For many older quadrant style controllers this was a problem. The couldn't handle code for an arc where both x & y didin't move. They'd either error (if you were lucky), or do a loop, or wander off in some unpredictable way. or some combination of the above. So, when a small sliver of arc like this is detected, where only x or only y move, we automatically convert it to a g01 in the more recent versions of SmartCAM. --gregg Michael Senack wrote: > Heres my problem... > > This is the proven code for the letter "S" from the attached .pm4 & .jof > files > for our Bostomatic with the SPC II control. > On this mill we code absolute center coorindates with 90 degree quadrants. > This job was program and coded using SmartCAM V4.5 > > Exhibit A: > > N290 G1 Z-0.065 > N295G3X-1.8289Y0.2188I-1.8289J0.3406 <-- start > N300X-1.7399Y0.2575I-1.8289J0.3406 > N305X-1.7354Y0.2848I-1.8214J0.2848 > N310X-1.8214Y0.3709I-1.8214J0.2848 > N315X-1.8336Y0.37I-1.8214J0.2848 > N320G2X-1.8359Y0.37I-1.8359J0.4542 > N325X-1.9201Y0.4542I-1.8359J0.4542 > N330X-1.918Y0.4731I-1.8359J0.4542 > N335X-1.8289Y0.52I-1.8289J0.4119 > N340X-1.7399Y0.4731I-1.8289J0.4119 > N345G1X-1.7365Y0.4682 <-- end > N350 G1Z0.05R > > I then had to reprogram this job to our Hurco mill with an OM Fanuc control. > On this mill we code 90 degree quadrants with incremental center > coordinates. > So I changed the Job Plan .jsf file and recoded it using SmartCAM V4.5 . > > Exhibit B: > > G01Z-0.065F4.0 > G03X-1.9508Y0.3406I0.1711J-0.0294 <---- where is this coming from? > X-1.8289Y0.2188I0.1218J0.0 > X-1.7399Y0.2575I0.0J0.1218 > X-1.7354Y0.2848I-0.0816J0.0273 > X-1.8214Y0.3709I-0.086J0.0 > X-1.8336Y0.37I0.0J-0.086 > G02X-1.8359Y0.37I-0.0023J0.0842 > X-1.9201Y0.4542I0.0J0.0842 > X-1.918Y0.4731I0.0842J0.0 > X-1.8289Y0.52I0.0891J-0.0612 > X-1.7399Y0.4731I0.0J-0.1081 > G01X-1.7365Y0.4682 > G00G80Z0.05 > > For some silly reason there's an extra line of code! > Thus a silly "S" on the Hurco. > So I brought this into SmartCAM V11.5 and coded it for the Hurco. > Ran it, and it works! > > Exhibit C: > > G01Z-0.065F4.0 > G03X-1.8289Y0.2188I0.0891J0.0831 > X-1.7399Y0.2575I0.0J0.1218 > X-1.7354Y0.2848I-0.0816J0.0273 > X-1.8214Y0.3709I-0.086J0.0 > X-1.8336Y0.37I0.0J-0.086 > G01X-1.8359 <-- how come this is g01? > G02X-1.9201Y0.4542I0.0J0.0842 > X-1.918Y0.4731I0.0842J0.0 > X-1.8289Y0.52I0.0891J-0.0612 > X-1.7399Y0.4731I0.0J-0.1081 > G01X-1.7365Y0.46 > > There's no funny line at the start, and there's a G01 line. > Hmmm...Why? > > Regards, > > Michael Senack, X354 > Your local friendly neighborhood CNC Programmer > > <<HU3767A.jof>> <<HU3767A.pm4>> > > ------------------------------------------------------------------------ > Name: HU3767A.jof > HU3767A.jof Type: unspecified type (application/octet-stream) > Encoding: quoted-printable > Download Status: Not downloaded with message > > Name: HU3767A.pm4 > HU3767A.pm4 Type: unspecified type (application/octet-stream) > Encoding: base64 > Download Status: Not downloaded with message -- Gregg Olson Development Manager SDRC CAM Products ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
