Multicam post in IPS rather than IPM

Multicam post in IPS rather than IPM

randyT9V9C
Collaborator Collaborator
907 Views
9 Replies
Message 1 of 10

Multicam post in IPS rather than IPM

randyT9V9C
Collaborator
Collaborator

I am running my first parts with the multicam iso post processor. The MG control on this model requires feeds to be in IPS rather than IPM that Fusion posts by default. I know I can enter the feeds as IPM/60 but I'd rather simply handle it in the post processor. I strolled through the post but didn't readily find how I can divide feed/60. Any thoughts or working example?

0 Likes
Accepted solutions (1)
908 Views
9 Replies
Replies (9)
Message 2 of 10

randyT9V9C
Collaborator
Collaborator

I have this working, but it's a total kludge. Basically I changed all the instances of feedOutput.format(feed) to 

feedOutput.format(feed/60). I'm thinking I may be able to rework feedOutput.format to handle the division but it's going to take more thought.

Message 3 of 10

randyT9V9C
Collaborator
Collaborator
Accepted solution

Ok, I have this sorted. I added a user variable called useIPS and simply divided feed/60 in each function where it's used. In the case of the multicam post it is used twice,  functions onLinear(_x, _y, _z, feed) and onCircular(clockwise, cx, cy, cz, x, y, z, feed).

 

I've attached my modified multicam.cps post if anyone is interested.

 

This is the basic change in each function.

 

 

function onLinear(_x, _y, _z, feed) {
// Convert IPM to IPS
if (properties.useIPS) {
feed = (feed/60);
}

 

Message 4 of 10

seth.madore
Community Manager
Community Manager

Elegant solution @randyT9V9C, thanks for doing this 🙂


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 5 of 10

randyT9V9C
Collaborator
Collaborator

Seth, this fix likely needs to be upstreamed as it is my understanding that most Multicam machines use IPS. I do know that the MG series machines like mine with the M24 motion controller cannot be toggled. It would be nice if the tool library could toggle between IPM and IPS. At the end of the day I think in IPM and letting the post processor handle the conversion works fine for me. 😉

Message 6 of 10

seth.madore
Community Manager
Community Manager

I will mention this to the powers that be 🙂


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 7 of 10

randyT9V9C
Collaborator
Collaborator

My local Multicam guy says that IPS can be toggled in the Jobserver configuration, so I just switched mine back to IPM and we'll see how it goes. I haven't tested this yet. Here is a screen shot. I just unchecked the Inches Per Second box that was enabled by default. It might be of interest to someone with the same issue.

 

ips.PNG

Message 8 of 10

ICanSpinIt
Advocate
Advocate

@randyT9V9C ,

     I have tried that edit with no luck, at least for the latest post from the HSM library (06/05/20). 

However I did make changes to the post where I did get a successful conversion.

At every line where there is:

 

feedOutput.format(feed
       -Change to-
feedOutput.format(feed/60)
 
 
writeBlock(gMotionModal.format(1), f);
     -Change to-
writeBlock(gMotionModal.format(1), f/60);
 
I believe it was on lines:
408
435
439
443
492
509
527
 
There are prior jobs on machine for production that I don't have to time to correct right now so I cannot switch the Observer config, so thank you for this post!
0 Likes
Message 9 of 10

randyT9V9C
Collaborator
Collaborator

Post the download URL to the 6/5/20 post processor. The version here: https://cam.autodesk.com/posts/download.php?name=multicam is:

 

$Revision: 42473 905303e8374380273c82d214b32b7e80091ba92e $
$Date: 2019-09-04 00:46:02 $

 

Looking at my local copy it's even older:

  $Revision: 42145 3ef6ef136f68132df4d932bf16f29ac1ec1b893b $

  $Date: 2018-09-28 16:13:20 $

 

I guess I don't update too often when I have something that works. 😉

0 Likes
Message 10 of 10

lmiller
Contributor
Contributor

Thanks for this solution!

Yea this post should be the default in Fusion 360

I love the fact that Fusion has the post opensource. Enroute software would never think of such an elegant idea!

0 Likes