Community
HSM Post Processor Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Always load tool number / offset / spindle rotation / WCS in each operation using the same tool & spindle rotation

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
vincent.grangier
241 Views, 2 Replies

Always load tool number / offset / spindle rotation / WCS in each operation using the same tool & spindle rotation

Hi all Hsm Team,

 

I'd like to know how to always load tool number / offset / spindle rotation in whatever operation outputted.

 

When I got two operations going with the same tool and same spindle rotation, The tool call (T2 D2 M6 in the example) and spindle rotation (S3183 M3) are not loaded in the second operation (from N32 block) as they are the same.

 

This is a problem for me as if for watever reason I have to stop the second operation, when I restart it at block N32, the spindle doesn't start as there is no S3183 M3 block outputted like on N20 block for the first operation. So the feed starts but the spindle doesn't turn leading to a possible Boom !

 

How can we always load those parameters ? I'd like to have the same blocks like from N12 to N22 at each operation, as my N32 to N37 blocks are useless for now, I don't have this problem when I use different tools or same tool with different spindle speeds.

 

Here is a small example file outputted with my post processor I just duplicated the same operation to generate the problem :

 

 

%Essai forum,MX--,
N1 ; NOM PROGRAMME : ESSAI FORUM.
N2 ; GENERE LE : 24-6-2024 A 22H01.
N3 ; FAO : D:ONEDRIVEBUREAUMODIF POST PROMDAILLON PATTE DE CHIEN CU2.SLDPRT
N4 ; LISTE OUTILS : T2, DIAMETRE = 40 MM ,RAYON DE COIN = 0 MM ,ALTITUDE MINI Z = 3.6 MM - DESCRIPTION OUTIL : FRAISE A SURFACER DRESSER D40 Z4 - FRAISE SURFACER.
N5 ; BLOCS D'INITIALISATION :
N6 G90 G94 G17
N7 G71
N8 ; ARRET BROCHE, ARRET ARROSAGE, DEGAGEMENT OUTIL.
N9 M5
N10 M9
N11 G53 G0 Z115
N12 ; OPERATION D'USINAGE.
N13 ; SURFACAGE
N14 ; LISSAGE TRAJECTOIRE.
N15 G51 E0.001
N16 ; APPEL OUTIL.
N17 ; FRAISE A SURFACER DRESSER D40 Z4
N18 T2 D2 M6
N19 ; CONDITIONS DE COUPE + ROTATION OUTIL.
N20 S3183 M3
N21 ; RAPPEL ORIGINE PROGRAMME.
N22 G57
N23 ; ARRET D'ARROSAGE FORCE SAUF 1ERE OPERATION, MARCHE ARROSAGE.
N24 M8
N25 ; TRAJECTOIRE USINAGE.
N26 G0 X49.387 Y0
N27 Z18.7
N28 G0 Z8.7
N29 G1 Z3.7 F800
N30 X-49.613 F1146
N31 G0 Z18.7
N32 ; OPERATION D'USINAGE.
N33 ; SURFACAGE FINITION
N34 ; LISSAGE TRAJECTOIRE.
N35 G51 E0.001
N36 ; APPEL OUTIL.
N37 ; RAPPEL ORIGINE PROGRAMME.
N38 ; ARRET D'ARROSAGE FORCE SAUF 1ERE OPERATION, MARCHE ARROSAGE.
N39 M9
N40 M8
N41 ; TRAJECTOIRE USINAGE.
N42 G0 X49.387 Y0
N43 Z18.7
N44 Z8.7
N45 G1 Z3.6 F800
N46 X-49.613 F1146
N47 G0 Z18.7
N48 G53 Z115
N49 G53 X-200 Y-10
N50 ; ARRET BROCHE, ARRET ARROSAGE.
N51 M5
N52 M9
N53 ; DECHARGEMENT OUTIL.
N54 T0 M6
N55 ; FIN DE PROGRAMME.
N56 M30

 

 

You'll find my post processor attached and the example file.

 

Thank you for your help and sorry for my poor English.

 

Vincent machining teacher from France,

 

Lycée Professionnel, Pierre Bérégovoy

56 rue Gambetta,

58600 FOURCHAMBAULT,

FRANCE

2 REPLIES 2
Message 2 of 3

Hello,

 

I modified post processor for you. Test the output and let me know if you spot any problem.

 

---

If my response answers your question, please use Accept Solution button.

 

 

Message 3 of 3

Hi Adam,

A big Thank for your work, it now works perfectly, you can see here the comparison beetween the two programs and all is good.

Many thanks !

Capture d’écran 2024-06-27 112448.png

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report