- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I have an old CMS router running an Osai control module. I found the stock Osai Post Processor, and have edited some of it to suit my old machines quirks. However, I am having trouble with drilling holes. When i use the drill operation, and select all of my holes, it only seems to drill the first one. Then, it positions itself over each hole, but the plunge code is missing. All X and Y coordinates, no Z coordinates or G81 (Drill Cycle). My bandaid so far has been to select only one hole per Drilling Operation, and then use patterns and mirrors to get all of holes done. However, this is very time consuming, and doesn't allow me make use of features like the "Select all same diameter". I have attached my edited Post Processor, and a small sample file to show what I mean. In the sample file, I have made two setups, the first selecting all holes in one, the second using my bandaid. I have also attached the corresponding G Code output. Thanks in advance for any help you can provide.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @dtompkins93
Currently the post is set to output only for first cycle, It seems like you need output cycle for each hole then the post needs to be edited as shown, find for the below codes it should be somewhere in 769
if (isFirstCyclePoint()) {
repositionToCycleClearance(cycle, x, y, z);
you have to change the isFirstCyclePoint to true
if (true) {
repositionToCycleClearance(cycle, x, y, z);
Save the post and test it

Boopathi Sivakumar
Senior Technology Consultant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Fusion