Milltronics Drilling Cycle Post problem

Milltronics Drilling Cycle Post problem

haggismaximus
Participant Participant
586 Views
2 Replies
Message 1 of 3

Milltronics Drilling Cycle Post problem

haggismaximus
Participant
Participant

Have an older (1994) Miltronics Partner 1.  Any time I do a drilling cycle (drilling, tapping, deep drilling etc) with multiple holes of the same diameter I have to manually edit the post so that each hole coordinate has the appropriate gcode  in front of it.  If I do not it will drill the first hole and then rapid over without retracting to the next location, breaking the tool.

 

Here is an example of what the current post outputs on a simple 4 hole example.

...
N11 G98 G81 X-0.85 Y0.6 Z-0.54 R0.16 F22.9
N12 X0.05
N13 Y-0.5
N14 X-0.85
N15 G80

That needs to be manually changed to this

 

N11 G98 G81 X-0.85 Y0.6 Z-0.54 R0.16 F22.9
N12 G81 X0.05
N13 G81 Y-0.5
N14 G81 X-0.85
N15 G80

 

While not too much of an issue I have a job with 700 holes coming up and I don't want to have to manually enter that for all of them.  Is there something wrong with the post, or what can be modified sot hat for drilling cycles it puts the gcode in front of each x/y coordinate?  I've attached the post as well as the nc file.

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

KrupalVala
Autodesk
Autodesk
Accepted solution

Hi @haggismaximus ,

 

Yes, you can get a Modal code with each position of the hole. To get that you need to edit the post-processor.

 

Open your post-processor in Visual Studio Code or any editor. GO to functiononCyclePoint(x, y, z) { and modify the post as shown below.

 

Step 1 : Add variable var cycleCode; before the function functiononCyclePoint(x, y, z) { and use this variable as a object and assigned model code in each cycleType as shown below,

KrupalVala_2-1615443290412.png

 

Step 2: Scroll down and modify the below codes from these...

KrupalVala_4-1615443703114.png

to these.

KrupalVala_3-1615443537761.png

 

Now Save the post and test it.

 

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes
Message 3 of 3

haggismaximus
Participant
Participant

This worked great, thank you!

0 Likes