- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey all, so I was wondering if there is a way to write a macro to change tool numbers in an NC Program. The reason I ask is because; all of our 3-axis machines allow up to like 500 tools in the offset page whereas our 5-axis machines only allow up to like 200 (Haas). So, when programming and a job starts in 3-axis and ends in 5-axis, when I go to post out a 5-axis program I have to go into the NC program and manually change all the tool numbers, so we don't get an alarm on the machine. I would rather not have multiple tool libraries or multiple entries in the tool library to accommodate for this. Is there a way to write a macro that would change these tool numbers in the NC Program for me when I'm ready to post? I'm aware i would have to build the list in its entirety into the macro but that's fine. I'm just very unsure of how to phrase all the if-then statements (If that's what I would even use)
Solved! Go to Solution.