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.
Solved! Go to Solution.
Solved by serge.quiblier. Go to Solution.
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!
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.
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 :
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!
Can't find what you're looking for? Ask the community or share your knowledge.