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

Lathe Go home safety lines location

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
ctscsmith
936 Views, 4 Replies

Lathe Go home safety lines location

My post processor spits out home moves at the end of a toolpath before a toolchange as it should.  I would like the post to repeat the home move (G30) after the line number (N#).   This way I can jump to any operation of the program and not have to worry about sending the turret to a custom safe location.

 

Samsung post for a Fanuc controller on a 6 axis lathe.

4 REPLIES 4
Message 2 of 5
serge.quiblier
in reply to: ctscsmith

Hello @ctscsmith 

 

Do you use the standard Samsung post, or another ?

 

Depending on the post, you may find inside a goHome function, or a writeRetract function.

These are the functions we usually create in the post to deal with this.

 

It may be something else, then you have to search for a line like writeBlock(mFormat.format(30)….. , o (28) depending.

 

It will allow you to determine where this is outputted by the post.

 

After detecting the function, you will have to add this call where ever you want.

 

If you need more assistance, do hesitate to send me a private message, joining your post so i can have a deeper look.

 

Regards.

 

 


______________________________________________________________

If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!



Serge.Q
Technical Consultant
cam.autodesk.com
Message 3 of 5
ctscsmith
in reply to: serge.quiblier

its the samsung post, and it seems to use goHome(true).  The tool change seems to be at line 1240.  I get a goHome is not a function when I try and run it though.

Message 4 of 5
ctscsmith
in reply to: ctscsmith

There are also some boolean operations and a definition called forceToolAndRetract on line 1232

Message 5 of 5
serge.quiblier
in reply to: ctscsmith

Hello @ctscsmith ,

 

If you want to add an homing call after the block number, you have to open the post, and the search for the onSection function.

Inside this function, around the line 1324 you should find a piece of code looking like :

  // Output the operation description
  writeln("");
  if (hasParameter("operation-comment")) {
    var comment = getParameter("operation-comment");
    if (comment) {
      if (insertToolCall && properties.sequenceNumberToolOnly) {
        writeCommentSeqno(comment);
        goHome(true);   //Line to Add
      } else {
        writeComment(comment);
      }
    }
  }

 

Then add the goHome function, after the writeCommentSeqno call.

Hope this is helping you,

 

Regards

 


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!

 



Serge.Q
Technical Consultant
cam.autodesk.com
Tags (3)

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

Post to forums  

Autodesk Design & Make Report