Post Process Diameter vs radius mode MACH 4

Post Process Diameter vs radius mode MACH 4

Anonymous
Not applicable
810 Views
6 Replies
Message 1 of 7

Post Process Diameter vs radius mode MACH 4

Anonymous
Not applicable

Found an old post that was relevant. Currently using a MACH 4 Turning /Post process.  Fusion is working in Radius mode and when i post, it converts to Diameter. The issue is when i start the program, Mach 4 (in dia mode)  wants to cut twice the material. The old post recommends editing the config : Var Xformat  from scale 2 diameter to  scale 1 radius but that was for MACH 3 software. (tried it anyway and it didn't change anything).  Can anyone help with my dilemma?  thanks

0 Likes
811 Views
6 Replies
Replies (6)
Message 2 of 7

engineguy
Mentor
Mentor

@Anonymous 

 

Try the attached PP and see if it works for you 🙂

 

Stay Safe

Regards

Rob

Message 3 of 7

Anonymous
Not applicable

Well done Rob!!! works like a charm. Had to tweak the x axis motor a little, but that conversion was the answer... Than you!

As I'm not an astute code guy I was wondering if that MOD was a large difference from what i downloaded from Fusion Library?  (i'll be comparing both later tonight......)

 

Happy and healthy 2021.....

0 Likes
Message 4 of 7

engineguy
Mentor
Mentor

@Anonymous 

 

Glad it works, it is pretty much the same as you had, just in a bit different place in a different PP, changed the Scale from 2 to 1 as below 🙂

xFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:1});

Line 662 in the PP

 

What does bother me is that is not how it should be working in Mach4, when you check it at the machine make a note of exactly how much the X axis moves if it is a 1mm value in the X, the machine should only actually move 0.5mm in the X to take 1mm off the diameter ? 🙂 ? 🙂

 

Stay Safe

Regards

Rob

0 Likes
Message 5 of 7

Anonymous
Not applicable
Yeah Rob, if bothered me as well. That tweaking I mentioned, was to the
count per units for the X axis motor. It was apparently doubled to what it
should have been.. I am assuming for now, that was the issue I was
experiencing. Still learning... thanks again for your support..
happy and safe.









0 Likes
Message 6 of 7

engineguy
Mentor
Mentor

@Anonymous 

 

OK, thanks for the update, it was bothering me somewhat, so you are now able to run code at the machine correctly with the PP back to the original scale yes ???

 

Stay Safe

Regards

Rob

0 Likes
Message 7 of 7

walter.strasser
Explorer
Explorer

thank you so much, great job

0 Likes