Postprocessor heidenhain iso 426

Postprocessor heidenhain iso 426

TIMISIONEL
Enthusiast Enthusiast
3,576 Views
24 Replies
Message 1 of 25

Postprocessor heidenhain iso 426

TIMISIONEL
Enthusiast
Enthusiast

Hello, I would like to ask you again for help (if I don't disturb yet)

 

 It is possible to activate the 4 and 5 axis in my postprocessor for Fusion 360, Heidenhain ISO, TNC 426m. I am attaching the file (heidenhain iso TNC426.pcs)

 Thanks so much for help.

 

  1. I am not an expert, but I would like to understand and learn this beautiful world, I really like it.

 

 Thanks again

0 Likes
3,577 Views
24 Replies
Replies (24)
Message 2 of 25

KrupalVala
Autodesk
Autodesk
Accepted solution

Hi @TIMISIONEL ,

 

Thank you for showing your enthusiasm! 🙂

 

You can set up a 4/5 axis machine configuration thought the following link.

https://forums.autodesk.com/t5/hsm-post-processor-forum/how-to-set-up-a-4-5-axis-machine-configurati... 

 

Thanks,

 



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

TIMISIONEL
Enthusiast
Enthusiast

IL MIO CNC FAMUP (HEIDENHAIN ISO 426) 4, 5 ASSI SOTTO HO UN SEMPLICE ESEMPIO DI PERFORAZIONE HO COSTRUITO UN BUCO FATTO CON FUSION 360 (CHE NON VA BENE) E PEPS PEPS-V8.2.0 (CHE È PERFETTO)

PEPS VS FUSION 360.jpg

 

GRAZIE MILLE PER IL POSSIBILE AIUTO P.S. AUGURI A TUTTI UN FELICE ANNO TRANQUILLO

 

 

 

0 Likes
Message 4 of 25

KrupalVala
Autodesk
Autodesk

HI @TIMISIONEL ,

 

Are both NC codes from the same project/toolpath?



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
Message 5 of 25

TIMISIONEL
Enthusiast
Enthusiast

Si

0 Likes
Message 6 of 25

TIMISIONEL
Enthusiast
Enthusiast

Grazie

0 Likes
Message 7 of 25

TIMISIONEL
Enthusiast
Enthusiast

CIAO
HO RIUSCITO A MODIFICARE IL POST E SONO ARRIVATO VICINO. Manca G80 (Rotazione della superficie di lavoro). TUTE LE VOLTE QUANDO SI MUOVE AXIS B BISOGNIA METERE(ATIVARE) G80 (COME NE LA FOTO). SE RIESCI DARE UN OCHIATA AL POSTPROCESSO SE TUTO OK.
HO MODIFICATO LA RIGA 362.
GRAZIE MILLEPEPS VS FUSION360.jpgRIGA 362.jpg

 

G80-Rotazione della superficie di lavoro

0 Likes
Message 8 of 25

KrupalVala
Autodesk
Autodesk
Accepted solution

Hi @TIMISIONEL ,

 

To call Cancel tilt at the end of the operation and Activate WCS, Please create new function  cancelWorkPlane() { and add it in function onSection() {  as shown below,

 
function cancelWorkPlane() {
  writeBlock(gFormat.format(80)); // cancel frame
  forceWorkPlane();
}
function onSection() {
  var insertToolCall = isFirstSection() ||
    currentSection.getForceToolChange && currentSection.getForceToolChange() ||
    (tool.number != getPreviousSection().getTool().number);
  
  retracted = true; // specifies that the tool has been retracted to the safe plane ; // was false
  var newWorkOffset = isFirstSection() ||
    (getPreviousSection().workOffset != currentSection.workOffset); // work offset changes
  var newWorkPlane = isFirstSection() ||
    !isSameDirection(getPreviousSection().getGlobalFinalToolAxis(), currentSection.getGlobalInitialToolAxis()) ||
    (currentSection.isOptimizedForMachine() && getPreviousSection().isOptimizedForMachine() &&
    Vector.diff(getPreviousSection().getFinalToolAxisABC(), currentSection.getInitialToolAxisABC()).length > 1e-4) ||
    (!machineConfiguration.isMultiAxisConfiguration() && currentSection.isMultiAxis()) ||
    (!getPreviousSection().isMultiAxis() && currentSection.isMultiAxis()); // force newWorkPlane between indexing and simultaneous operations
  if (insertToolCall || newWorkOffset || newWorkPlane) {
    cancelWorkPlane(); // add code to call G80
    // retract to safe plane
    writeRetract(Z);
    writeBlock(gAbsIncModal.format(90));
  }

 

 Now Go to function setWorkPlane(abc) {

 // NOTE: add retract here
  writeBlock(
    gMotionModal.format(0),
    conditional(machineConfiguration.isMachineCoordinate(0), "A" + abcFormat.format(abc.x)),
    conditional(machineConfiguration.isMachineCoordinate(1), "B" + abcFormat.format(abc.y)),
    conditional(machineConfiguration.isMachineCoordinate(2), "C" + abcFormat.format(abc.z))
  );
  //add below codes *****
  writeBlock(
    gFormat.format(80),
    conditional(machineConfiguration.isMachineCoordinate(0), "A" + abcFormat.format(abc.x)),
    conditional(machineConfiguration.isMachineCoordinate(1), "B" + abcFormat.format(abc.y)),
    conditional(machineConfiguration.isMachineCoordinate(2), "C" + abcFormat.format(abc.z))
  );
// ****

Now add Cancel workplane code in the function onClose() { 

function onClose() {
  onCommand(COMMAND_COOLANT_OFF);
  cancelWorkPlane(); // add code to cancel workplane
  writeRetract(Z);

 

Now save the post and test it carefully.

 

Also, We can configure the post same like your PEPS-OK output. For that we need to call preposition of XYZ with workplace and need to add more codes. 

 

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
Message 9 of 25

TIMISIONEL
Enthusiast
Enthusiast

GRAZIE GRAZIE GRAZIE, TUTTO PERFETTO. DOMANI CI PROVO CON QUESTO CAMBIAMENTO. SE RIESCI A CONFIGURARE IL POST COME PEPS-OK, SAREBBE L'IDEALE. CERTO, SE NON CHIEDO TROPPO. VOLEVO CHIEDERE SE IL POSTPROCESSORE PUÒ ESSERE MODIFICATO PER 5 ASSI CONTINUI O MENO. GRAZIE ANCORA SEI STATO DI GRANDE AIUTO. PS. VORREI MANDARVI UNA BOTTIGLIA DI UN BUON VINO ITALIANO, COME DOVREI FARLO? CI VEDIAMO DOMANI.

 

MODIF G80 OK.jpg

0 Likes
Message 10 of 25

TIMISIONEL
Enthusiast
Enthusiast

CIAO, VORREI RINGRAZIARTI PER L'AIUTO OFFERTO, 4 E 5 ASSI FUNZIONANO MOLTO BENE. VOGLIO CHIEDERE SE È POSSIBILE CONFIGURARE IL SIMULTANEO A 5 ASSI. HO PROVATO A FARE UN MULTI ASSE (BLEND O FLOW) E LA LAVORAZIONE DEGLI ERRORI GRAZIE MILLE

 

 

 

EBLEND.jpgERROR 5 AXIS .jpg

0 Likes
Message 11 of 25

KrupalVala
Autodesk
Autodesk

Hi @TIMISIONEL ,

 

Grazie per il complimento 😃 🍻.

 

May I know  your machine configuration and Rotary axis kinematics limits? Does you machine support cyclic/continue rotary rotation?

 

Thanks,

 



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

TIMISIONEL
Enthusiast
Enthusiast

HI, La macchina supporta la rotazione rotativa. Sto allegando 4 foto con la macchina (tavola rotante TSUDAKOMA)

M128 Mantenimento della posizione della punta dell'utensile nel posizionamento di assi di
rotazione (TCPM)
Disattivazione della funzione M128

INFINITE GRAZIE

 

IMG_0433.JPGIMG_0435.JPGIMG_0440.JPGIMG_0441.JPG

0 Likes
Message 13 of 25

KrupalVala
Autodesk
Autodesk
Accepted solution

HI @TIMISIONEL ,

 

Please change the machine configuration as shown below.

var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[-90, 90], preference:0});
    var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], cyclic:true,range:[-360, 360], preference:0});
    machineConfiguration = new MachineConfiguration(bAxis, cAxis);

 

If your machine supports continue/cyclic rotation then you can remove the range from C axis.

 

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
Message 14 of 25

TIMISIONEL
Enthusiast
Enthusiast

Grazie mille, proverò questa settimana. 

Finalmente ho convinto il mio capo di comprare FUSION 360.

😍😃

Grazie,  dovuto anche a te e a tuoi aiuti.

A presto! 

0 Likes
Message 15 of 25

KrupalVala
Autodesk
Autodesk
Accepted solution

Hi @TIMISIONEL ,

 

Congratulations!!! 🌟



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
Message 16 of 25

TIMISIONEL
Enthusiast
Enthusiast

CIAO, VORREI CHIEDERE SE POSSIBILE AGGIUNGERE (GO2, G03, G01, G0) ALL'INIZIO DI TUTTE LE RIGHE DEL PROGRAMMA. UNA FRESATRICE DA UN ERRORE. ALLEGA LE FOTO. GRAZIE MILLE. TI AUGURO UNA BUONA SETTIMANA.

 

 

IMG_20210216_134201.jpgMISSING G02.jpg

0 Likes
Message 17 of 25

TIMISIONEL
Enthusiast
Enthusiast

Hi, is it possible to change the post processor to add G02?🙄

I'm sorry for the trouble.

Thank you

 

0 Likes
Message 18 of 25

KrupalVala
Autodesk
Autodesk
Accepted solution

Hi @TIMISIONEL ,

 

Sorry For late reply.

To force G02-G03 Modal Codes, you just need to call below code before the condition.

 

 

gMotionModal.reset();

 

 

KrupalVala_0-1614239833567.png

 

Thanks,

 



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
Message 19 of 25

TIMISIONEL
Enthusiast
Enthusiast

Grazie mille, sei sempre numero uno!!😎

0 Likes
Message 20 of 25

TIMISIONEL
Enthusiast
Enthusiast

CIAO, VORREI CHIEDERE AIUTO (DI NUOVO) SPERANDO CHE NON DISTURBI STO FACENDO LAVORAZIONE A 4 E 5 ASSI QUANDO LAVORO 3 + 2 SPOSTANDO LE ORIGINI (G80) MOLTO FUNZIONA BENE. DOPO AVER DOVUTO SPOSTARE 5 ASSI E QUANDO LAVORO CONTINUA IL 4 ASSI NON SCRIVE CORECT G80, 4, 5 ASSI (C, B). ALLEGATO 2 FOTO CON I MIEI PROBLEMI. IN ATTESA DELLA TUA RISPOSTA TI RINGRAZIO COSÌ TANTO E TI AUGURO UNA SETTIMANA TRANQUILLA E FELICE.

0 Likes