Tool preload incorrect, need help to fix

Tool preload incorrect, need help to fix

roembkeframe
Explorer Explorer
153 Views
1 Reply
Message 1 of 2

Tool preload incorrect, need help to fix

roembkeframe
Explorer
Explorer

In the attached .png screenshot, there is a sample of an Okuma program on the right. The post processor used for that program is pictured on the left. In the program on the right, at lines N1 & N2, the R5 should be up on line N1, right after the A3. I believe the section of the post processor that needs fixed is between lines 1665 and 1685, pictured on the left of the screenshot. The problem is that I don't know how to edit the post processor so that it will put the R5 in the correct place. Any help would be appreciated. Thanks.

0 Likes
154 Views
1 Reply
Reply (1)
Message 2 of 2

AdamKunzo
Collaborator
Collaborator

Just take the text inside the writeBlock Function from line 1678 and paste it to next to the writeblock above. 

Each writeBlock is a new line in the code.

 

You will also need to put the definition "nextTool" higher and use the condition "if(nextTool)" in case you use next tool in CAM (R exists) and then else without R.

 

It would be easier to make this in the source file rather then describe it here.

 

0 Likes