- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
i got a problem with a fanuc post i am using.
The coolant information is not repeating after a tool change IF the coolant type is the same as in the previous operation.
% O1001 (test) (T5 D=16. CR=0. - ZMIN=-26. - SCHAFTFRSER) (T41 D=45. CR=0. TAPER=45DEG - ZMIN=-1. - FASENFRSER) (T87 D=8.5 CR=0. TAPER=118DEG - ZMIN=-26. - BOHRER) N10 G90 G94 G17 G49 G40 G80 N15 G21 N20 M09 N25 G28 G91 Z0. N30 G90 (PLANEN1) N35 T41 M06 N40 T5 N45 S1060 M03 N50 G54 N55 M51 N65 G00 X174.1 Y-41.572 N70 G43 Z15. H41 N75 G00 Z5. N80 G01 Z3.5 F500. N85 G18 G03 X169.6 Z-1. I-4.5 N90 G01 X152. N95 X0. F750. N100 G17 G02 Y-15.573 J13. N105 G01 X152. N110 G18 G02 X156.5 Z3.5 K4.5 F500. N115 G00 Z15. N120 G17 N125 M05 N130 M09 N135 G28 G91 Z0. N140 G90 N145 G49 (2D-KONTUR1) N150 M01 N155 T5 M06 N160 T87 N165 S1500 M03 N170 G54 N175 M08 N185 G00 X150.841 Y-63.8 N190 G43 Z15. H05 N195 G00 Z5. N200 G01 Z1. F45. N205 Z-24.4 N210 G19 G03 Y-62.2 Z-26. J1.6 N215 G01 Y-60.6 F360. N220 G17 G03 X149.241 Y-59. I-1.6 N225 G01 X1. N230 G02 X-7. Y-51. J8. N235 G01 Y-1. N240 G02 X1. Y7. I8. N245 G01 X151. N250 G02 X159. Y-1. J-8. N255 G01 Y-51. N260 G02 X151. Y-59. I-8. N265 G01 X149.241 N270 G03 X147.641 Y-60.6 J-1.6 N275 G01 Y-62.2 N280 G19 G02 Y-63.8 Z-24.4 K1.6 N285 G00 Z15. N290 G17 N295 M05 N300 M09 N305 G28 G91 Z0. N310 G90 N315 G49 (BOHREN1) N320 M01 N325 T87 M06 N330 T41 N335 S700 M03 N340 G54 N350 G00 X30.761 Y-26. N355 G43 Z15. H87 N365 G00 Z5. N370 G98 G81 X30.761 Y-26. Z-26. R4. F105. N375 X121.288 N380 G80 N385 Z15. N395 M09 N400 G28 G91 Z0. N405 G49 N410 M100 A2. N415 M30 %
I would need an "M08" after Line "N340".
I have studied the postprocessor for a while but i couldnt find the part in the code.
Thanks in advance for your help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Thanks for posting. Could you share your post processor? Also, can you confirm you have the coolant selected in the operation? It's strange that it appears on previous tool changes...
Many thanks
George Roberts
Manufacturing Product managerIf you'd like to provide feedback and discuss how you would like things to be in the future, Email Me and we can arrange a virtual meeting!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
i just used the latest Fanuc postprocessor from https://cam.autodesk.com/hsmposts.
No Mods so far except the coolant M-Code (M51) and an added block "M100 A2" which is a loading position.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I made sure i used the correct postprocessor for my post and it worked, even with my added modifications.
The code looks now like this:
% O1001 (test) (T5 D=16. CR=0. - ZMIN=-26. - SCHAFTFRSER) (T41 D=45. CR=0. TAPER=45DEG - ZMIN=-1. - FASENFRSER) (T87 D=8.5 CR=0. TAPER=118DEG - ZMIN=-26. - BOHRER) N10 G90 G94 G17 G49 G40 G80 N15 G21 N20 G28 G91 Z0. N25 G90 (PLANEN1) N30 T41 M06 N35 T5 N40 S1060 M03 N45 G54 N50 M51 N55 G00 X174.1 Y-41.572 N60 G43 Z15. H41 N65 G00 Z5. N70 G01 Z3.5 F500. N75 G18 G03 X169.6 Z-1. I-4.5 N80 G01 X152. N85 X0. F750. N90 G17 G02 Y-15.573 J13. N95 G01 X152. N100 G18 G02 X156.5 Z3.5 K4.5 F500. N105 G00 Z15. N110 G17 N115 M09 N120 M05 N125 G28 G91 Z0. N130 G90 N135 G49 (2D-KONTUR1) N140 M01 N145 T5 M06 N150 T87 N155 S1500 M03 N160 G54 N165 M08 N170 G00 X150.841 Y-63.8 N175 G43 Z15. H05 N180 G00 Z5. N185 G01 Z1. F45. N190 Z-24.4 N195 G19 G03 Y-62.2 Z-26. J1.6 N200 G01 Y-60.6 F360. N205 G17 G03 X149.241 Y-59. I-1.6 N210 G01 X1. N215 G02 X-7. Y-51. J8. N220 G01 Y-1. N225 G02 X1. Y7. I8. N230 G01 X151. N235 G02 X159. Y-1. J-8. N240 G01 Y-51. N245 G02 X151. Y-59. I-8. N250 G01 X149.241 N255 G03 X147.641 Y-60.6 J-1.6 N260 G01 Y-62.2 N265 G19 G02 Y-63.8 Z-24.4 K1.6 N270 G00 Z15. N275 G17 N280 M05 N285 G28 G91 Z0. N290 G90 N295 G49 (BOHREN1) N300 M09 N305 M01 N310 T87 M06 N315 T41 N320 S700 M03 N325 G54 N330 M08 N335 G00 X30.761 Y-26. N340 G43 Z15. H87 N345 G00 Z5. N350 G98 G81 X30.761 Y-26. Z-26. R4. F105. N355 X121.288 N360 G80 N365 Z15. N370 M09 N375 G28 G91 Z0. N380 G90 N385 G49 N390 G28 G91 X0. Y0. N395 G90 N400 M100 A2. N405 M30 %
I have modified the older post that i have a "M09" before Z0 so the coolant is off before the tool change is happening.
How do i correctly modify the postprocessor to be able to let it do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Thanks for posting. I assume there was an issue with how it was modified before. The setCoolant function should eliminate duplicate coolant outputs, which could be happening here.
If you want the coolant to be turned off before the retract at a tool change, you could change this code:
// stop spindle before retract during tool change
if (insertToolCall && !isFirstSection()) {
onCommand(COMMAND_STOP_SPINDLE);
}
To this:
// stop spindle before retract during tool change
if (insertToolCall && !isFirstSection()) {
onCommand(COMMAND_STOP_SPINDLE);
onCommand(COMMAND_COOLANT_OFF);
}
Hope this helps
George Roberts
Manufacturing Product managerIf you'd like to provide feedback and discuss how you would like things to be in the future, Email Me and we can arrange a virtual meeting!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Fusion