HH Post mod someone please!

HH Post mod someone please!

rhkoncepts
Participant Participant
679 Views
2 Replies
Message 1 of 3

HH Post mod someone please!

rhkoncepts
Participant
Participant

Dear All,

Try as I might, I have failed to do a simple mod to a post for my Bridgeport 1000_22 with a Heidenhain 426 control.

The generic post for the HH 407 (heidenhain 407.cps from HSM attached) works very well for me except the absence of the "M6" line.

Could some kind person please add an "M6" on its own line directly after the tool call?

 

So from this,

9 M9
10 L Z+0 R0 FMAX M91
11 M5
12 TOOL CALL 2 Z S3000
13 M3

 

To this,

9 M9
10 L Z+0 R0 FMAX M91
11 M5
12 TOOL CALL 2 Z S3000
12 M6
13 M3

 

That's it! I think I failed because of the block sequence numbering, but what do I know?

Many thanks for any help offered.

Regards,

RHK

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

GeorgeRoberts
Autodesk
Autodesk
Accepted solution

Hello,

 

Thanks for posting. To get the M6 line to appear after a toolchange, change this code in your post processor:

    writeBlock(
      "TOOL CALL " + tool.number + SP + spindleAxisTable.lookup(spindleAxis) + " S" + rpmFormat.format(tool.spindleRPM)
    );

    if (tool.comment) {
      writeComment(tool.comment);
    }

To look like this:

    writeBlock(
      "TOOL CALL " + tool.number + SP + spindleAxisTable.lookup(spindleAxis) + " S" + rpmFormat.format(tool.spindleRPM)
    );
    writeBlock(mFormat.format(6));
    if (tool.comment) {
      writeComment(tool.comment);
    }

Hope this helps!

-

George Roberts

Manufacturing Product manager
If you'd like to provide feedback and discuss how you would like things to be in the future, Email Me and we can arrange a virtual meeting!
Message 3 of 3

rhkoncepts
Participant
Participant

Hi Mr Roberts,

Thank you so much. Its easy when you know how. Works a treat.

I'll stick to drilling holes in future.

Thanks again.

RHK 

0 Likes