Need to modify a turning post tool call

Need to modify a turning post tool call

WJR_12
Participant Participant
244 Views
2 Replies
Message 1 of 3

Need to modify a turning post tool call

WJR_12
Participant
Participant

I searched by do not find the answers to my questions, so am posting.

 

Customizing a Fanuc post to suit a machine not in the library and have two small issues with the tool call. 

 

Instead of T0101, it needs to be T01 / 01. 

Where and how can I change that? 

 

I would like to add a "force tool change" in the post options and in the user menu. 

Where and how for that, as well. 

 

Please and thank you. 

0 Likes
Accepted solutions (1)
245 Views
2 Replies
Replies (2)
Message 2 of 3

a.laasW8M6T
Mentor
Mentor
Accepted solution

Hi

 

find this section

 

 writeToolBlock("T" + toolFormat.format(tool.number * 100 + compensationOffset));
    if (tool.comment) {
      writeComment(tool.comment);
    }

 

 

and change to:

 

writeToolBlock("T" + toolFormat.format(tool.number) + "/" + toolFormat.format(compensationOffset));
    if (tool.comment) {
      writeComment(tool.comment);
    }

 

 

You will also need to modify the toolFormat definition from:

 

var toolFormat = createFormat({decimals:0, width:4, zeropad:true});

 

 

To:

 

var toolFormat = createFormat({decimals:0, width:2, zeropad:true});

 

For the Force tool change I'm not sure about doing that in the post but you can ad a manual NC to force a tool change in your operations list.

alaasW8M6T_0-1769141901074.png

 

 

Andrew Laas
Senior Machinist, Scott Automation


EESignature

0 Likes
Message 3 of 3

WJR_12
Participant
Participant

Thank you. Much appreciated. 

0 Likes