Millturn Post Modification, needing some assistance

Millturn Post Modification, needing some assistance

Anonymous
475 Views
9 Replies
Message 1 of 10

Millturn Post Modification, needing some assistance

Anonymous
Not applicable

Hi. I was hoping somebody could help me with modifying a post, I was wanting to insert a G4 X1. into my post for a short dwell between C axis locking and unlocking commands. I am very new to post processors and do not want to do something I should not. Thanks

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

seth.madore
Community Manager
Community Manager

What is the post processor?

This is a very easy change to implement, especially with the Visual Studio add-in that Autodesk released a while back


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 3 of 10

Anonymous
Not applicable

Hi Seth thanks for the reply. It is the Takisawa millturn post with Fanuc controller. I also did setup the visual studio code and have successfully been able to alter some things to work for me , just mainly M code alterations but nothing like adding in new lines of information. I’m still trying to get my head around understanding how to read the format properly.

0 Likes
Message 4 of 10

seth.madore
Community Manager
Community Manager
Accepted solution

Using Visual Studio and the add-in developed by ADSK, find these lines, they should be around 10738 and 1083, assuming stock Takisawa post:
onCommand(COMMAND_UNLOCK_MULTI_AXIS);

onCommand(COMMAND_LOCK_MULTI_AXIS);
After each one of them, you can insert: writeBlock(gFormat.format(4),("X1."));
This will give you code that looks like this:
M74
G4 X1.
G0 C125.
M73
 
Adjust the "X1." to your desired time, where "X" is in seconds 
 
 
Complete edit:
onCommand(COMMAND_UNLOCK_MULTI_AXIS);
  writeBlock(gFormat.format(4),("X1."));
onCommand(COMMAND_LOCK_MULTI_AXIS);
  writeBlock(gFormat.format(4),("X1."));

Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 5 of 10

Anonymous
Not applicable

Thanks Seth i have just tried it and have had no success, is there something else i might be missing ?

0 Likes
Message 6 of 10

seth.madore
Community Manager
Community Manager

Well, without knowing WHAT you did, it's kinda hard to say what went wrong. Can you attach the .cps file in your reply so we can see what's what


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 7 of 10

Anonymous
Not applicable

This is the file I tried.

0 Likes
Message 8 of 10

seth.madore
Community Manager
Community Manager

Your post is producing this code at unlock/lock commands:

G97 S4000 M70 P12
M74
G4 X1.
G0 C160.
M73
G4 X1.

What's not correct about that?

Mind you, this is the post you attached just now, with no other edits done to it


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 9 of 10

Anonymous
Not applicable
Accepted solution

Thankyou so much it is working. I was not seeing what you got until i rebooted visual studio code.

0 Likes
Message 10 of 10

seth.madore
Community Manager
Community Manager

Awesome, great to hear!


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes