- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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?
Solved! Go to Solution.