post processor edit

post processor edit

Anonymous
Not applicable
836 Views
3 Replies
Message 1 of 4

post processor edit

Anonymous
Not applicable

I built a mill turn machine that runs on mach3. It uses a secondary servo driven horizontal spindle for a combination of turning and 4 axis milling. Ive already done most of the post editing with a fanuc turning post and mach3 milling post to make this work, but i have one more challenge im trying to figure out. My horizontal spindle uses a pneumatic brake to lock position for index milling which uses an m code for locking and another m code for unlocking. I wanted to see if my milling post can be edited to insert the proper m code before and after every line with an A axis move in it. Obviously this post can only be used for 4 axis index milling and not simultaneous 4 axis, but i can just use my current post for simultaneous. 

So to be specific, I need an M1231 on its own line before every A move and an M1230 on its own line after every A move. Can this be done? 

0 Likes
Accepted solutions (1)
837 Views
3 Replies
Replies (3)
Message 2 of 4

will_1
Alumni
Alumni
Accepted solution

Hi @Anonymous ,

 

Yes, this should be possible. Perhaps this thread will be of interest to you.

 

https://forums.autodesk.com/t5/hsm-post-processor-forum/fanuc-inverse-time-amp-a-axis-not-out-puttin...

 

Thanks,

Will Watkins

0 Likes
Message 3 of 4

Anonymous
Not applicable

Perfect! I'm assumining my existing modified mach3 post doesn't have that lock axis feature within it, but I bet I can look through that Fanuc A axis post and copy over what's needed. I'll take a look this evening. Thanks!

One more question, is there a setting in fusion or way to change post so A axis indexing happens in only 1 direction? For example when indexing for a hex pattern, fusion will give a few counterclockwise 60 degree indexes, then spin around the opposite direction for the last one. For backlash reasons, I would prefer that it continue in one direction. Any way to force that?

0 Likes
Message 4 of 4

Anonymous
Not applicable

this turned out to be incredibly simple. turns out mach3 post (based on fanuc) actually did already have this feature in it. Literally all i had to do was search for on command lock and unlock axis, and insert my m codes, done. works perfect.

0 Likes