Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

cylindrical engraving

Anonymous

cylindrical engraving

Anonymous
Not applicable

I am trying to engrave on a 1.5" piece of aluminum using my tormach a axis/4th axis 

 

Here is the file I'm trying to use as a test model to get the hang of things before beginning on the final product.

 

My first setback I encountered is that I cannot seem to select all of the letters when trying to select the models geometry

 

Does anyone know why the feed rates in my code are so high?

 

I've also been given an error in the previous try1 & 2 posts - missing feedrate was the warning in path pilot on the tormach.

 

I've attached the f3d file

 

I have toyed around with this for quite sometime but I am stumped

 

 

 

 

 

 

 

0 Likes
Reply
Accepted solutions (1)
2,811 Views
34 Replies
Replies (34)

daniel_lyall
Mentor
Mentor

Your file is fine, when you goto select your toolpath don't have the wrapping turned on, you turn this on after you have selected the toolpaths.

 

Also your heights where off, your top height was selected have it model top.

 

Also never plunge unless it's a drill, and when doing wrapping turn lead in and out off, you don't need to have leads when wrapping.

 

Your file is attached.

 

 


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes

Anonymous
Not applicable

Great thanks, Ive made the few changes you mentioned

 

When posting the code and trying to run on the machine I get an error for missing feed rates.

 

the error is...  "Cannot do G1 with zero feedrate"   near line 43

 

ive attached a screen shot of the code near line 43.

 

 

zero feedrate.JPG

0 Likes

daniel_lyall
Mentor
Mentor

Can you attach you post processor, It more than likely is something set wrong in it.

 

The X move has the G94 there what is Feed per Minute so it should default to it.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes

Anonymous
Not applicable

 how do I find the post processor?  there is a scroll tab on the right of the window so I cannot find a way to take a screen shot of the whole settings area.

 

Does this help?

 

my 4th axis is set up on the left hand side of my table.

 

post processor for thread.JPG

0 Likes

daniel_lyall
Mentor
Mentor

Here is a sreencast showing what to do.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes

Anonymous
Not applicable

Here are three screen shots of the post processor, I don't know what I'm to be looking for... The post goes on to 1184 lines  - what line number should I post here?

 

first snip of post processor.JPGprocessor 2.JPGprocessor 3.JPG

0 Likes

daniel_lyall
Mentor
Mentor

In brackets goto file, select save as, then save it to your desktop and attach to a post


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes

daniel_lyall
Mentor
Mentor

It's this bit where the problem is.

 

setMachineConfiguration(machineConfiguration);
// Single rotary does not use TCP mode
optimizeMachineAngles2(0); // 0 = TCP Mode ON, 1 = TCP Mode OFF

 

You need to change from 1 to zero where the red zero is, it's around line 171.

 

It what I was thinking it was I just put out a test and G94 has a feed at the end now, it should be fine after you change that bit.

 

Make sure you do a air test first.

 

It's something tormach should of known about, Unless the cam team did it they have a reasion for it to be set like that, Why they don't have A tormach machine to test with.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

1 Like

Anonymous
Not applicable

Ok great, thank you.

 

ive made the change below and saved them in configuration but after re posting the code there still seems to be many lines missing feed rates, although one positive is that line 43 which was originally an issue seems to now have a feed rate. 

 

getting closer, tomorrow I will get to the shop and try a air run just to be sure but I speculate much of the same errors will occur  

 

The worse part is, the forum will not allow me to post/attach my processor or the code - I'm getting errors saying unsupported file type.

 

chages to code 4th axis.JPG

0 Likes

xander.luciano
Alumni
Alumni

Hey Guys,

 

Looking over the Tormach G Code reference, only inverse time feed movements are required to have a feedrate on every line. G93 starts inverse time mode and G94 stops it (starts feed units per minute rather). Therefore any G1 occuring AFTER a G94 shouldn't require a feedrate to be posted for every line.

https://www.tormach.com/g93_g94_g95.html

When the inverse time feed rate mode is active, an F word must appear on every line which has a G1, G2 or G3 motion and an F word on a line that does not have G1, G2 or G3 is ignored. Being in inverse time feed rate mode does not affect G0 (rapid traverse) motions.

 

It is an error if inverse time feed rate mode is active and a line with G1, G2 or G3 (explicitly or implicitly) does not have an F word.

 

The way I understand that, a feedrate for G94 Shouldn't be required.

 

But since forcing the feedrate to output on every line won't hurt anything here's what you need to change:

Find the OnLinear5D function (should be around line 1,000), and right below where it says fmode = 93 it'll say feedOutput.reset(); This line is used to force the feedrate to output every line during inverse time (G93) mode. We will just move that line outside the the if...else... statement so that every linear (G1) 5 axis move outputs the feedrate. so the code should like like this:

 

// Calculate Inverse Time Feed Rates
var f;
var fmode;
if (a || b || c) {
  var length = getMoveLength(_x, _y, _z, _a, _b, _c, false);
  var inverseTime = getInverseTime(length, feed);
  f = inverseTimeOutput.format(inverseTime);
  fmode = 93;
  //feedOutput.reset();  // Moved to line 1031
} else {
  f = feedOutput.format(feed);
  fmode = 94;
}
  
// output the feedrate for every linear movement
feedOutput.reset();

And turn tcp mode back off, that shouldn't need to be on for a rotary axis. In fact, I do believe it's hardcoded to be off in other places in the post processor. 

 

setMachineConfiguration(machineConfiguration);
// Single rotary does not use TCP mode
optimizeMachineAngles2(1); // 0 = TCP Mode ON, 1 = TCP Mode OFF

And here's the resulting toolpath with feedrates posted on every G1 line.

 

Je47ENl

 

NOTE: This is only outputting a feedrate for 5 Axis G1 movements, it may be necessary to add an extra feedOutput.reset(); to onLinear also. If that is the case, this should do the trick:

 

2sOkARz

 

I didn't verify if that actually works though, but again, I don't know why you have to output the feedrate on a G94 G1 movement. I might be missing something, but this should get you pointed in the right direction. Let me know if you have any questions, and let me know if this works for you. I'm curious if any other Tormach users are running into this issue also.

I also attached the edited post processor to this post so you can just download the one I edited for you and give it a shot if you don't wanna go hunting for exact lines.

Let me know how it goes!
-Xander Luciano


Xander Luciano
CAM Content Developer

If my post is helpful, press the Kudo button - If it resolves your issue, press Accept as Solution!
Quick Tips: When to resselect CAM geometry | Understanding Smoothing in CAM | Adaptive Facing | Online GCode Viewer
0 Likes

daniel_lyall
Mentor
Mentor

I forgot,when you save it add .cps to it and put it in a zip file.

 

G1 should not through a error it's move at last speed set, I cant find my pp manual at the moment I will have to have a look in that.  


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

1 Like

daniel_lyall
Mentor
Mentor

@xander.luciano If you have a look at the fusion post attached it's the tormach post from before the one you looked at, this problem does not come up at all.

The last person that I know of who used it did not have any problems with it.

 

This is a new post so the OP may be the only person useing it for 4th axis, Ask your mate NYCCNC to chuck it at one of his machines.

 

It may be a bug in PP, there is some strange bugs in the tormach version of Linux


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

1 Like

xander.luciano
Alumni
Alumni

Ah thanks for looking through the images.

I actually had just sent this thread over to John asking if he could check it out at let me know if it's a bug. I'm gunna look through the post processor change log and see if this issue is mentioned anywhere also. On Tormach's site it looks like their Fusion 360 post processor hasn't been updated since April 2016, before 5 Axis was even released in Fusion 360. Wonder if that's where this post came from. Though that wouldn't have support for wrapped toolpaths. Still, Tormach needs to update the Fusion 360 post.

https://www.tormach.com/software-post-processor.html

 

I'll update if I find any specific info. 

 

Thanks,

Xander Luciano


Xander Luciano
CAM Content Developer

If my post is helpful, press the Kudo button - If it resolves your issue, press Accept as Solution!
Quick Tips: When to resselect CAM geometry | Understanding Smoothing in CAM | Adaptive Facing | Online GCode Viewer
0 Likes

Anonymous
Not applicable

Here is the outcome while using the post processor xander posted, tomorrow ill try to figure out attaching my post processor which I downloaded from tormach website and the post as it generates using the tormach post processor although it sounds as you guys have already scrolled thru tormachs post, this has me pulling my hair out slightly    

 

forum failure again.JPG

0 Likes

daniel_lyall
Mentor
Mentor

@Anonymous grab the one xander posted, and the last one I posted If one fails try the other, If they both fail there is something realy wrong some where.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes

xander.luciano
Alumni
Alumni

I think you forgot to define the rotary axis in the post process dialog

LCTlLCe


Xander Luciano
CAM Content Developer

If my post is helpful, press the Kudo button - If it resolves your issue, press Accept as Solution!
Quick Tips: When to resselect CAM geometry | Understanding Smoothing in CAM | Adaptive Facing | Online GCode Viewer
0 Likes

Anonymous
Not applicable

I have the rotory axis defined as shown in post 5 of this thread. I will test the two post processors this morning and report back.

 

0 Likes

Anonymous
Not applicable

My findings this morning while trying to run the code with the changes xander and Daniel posted above are shown below

 

The a axis is moving and the code seems to be working with the new post processors by xander, thank you both , this has been keeping me up at night

 

Now The only issue is that my font is coming out backwards.

 

Once I figure out how to make the fonts come out the correct direction I can move back to searching for single stick fonts that work in fusion

 

I have been using cambam fonts for engraving in pathpilot but they don't work in fusion.  Any ideas on these two issues?

 

 

 

SAM_1023.JPGCapture.JPG

0 Likes

daniel_lyall
Mentor
Mentor

Did you zero your work zero at the same places as the cam trident zero. front center right of your stock


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes