Need help with fine boring cycle

Need help with fine boring cycle

empiremachine222
Advocate Advocate
286 Views
4 Replies
Message 1 of 5

Need help with fine boring cycle

empiremachine222
Advocate
Advocate

I need to output Q as Xx.x Yx.x in the cycle to retract on an angle. The boring bar is not square to the X axis. The control is a M70 Mitsubishi.

manual for control.png

Fine bore code.png

 

This is what I getting now. TIA.

 

Inventor Ultimate 2023

Windows 10 Pro
0 Likes
Accepted solutions (1)
287 Views
4 Replies
Replies (4)
Message 2 of 5

empiremachine222
Advocate
Advocate

I have attached a sample file where I retracted on 45 deg. The code only shows movement in one direction as I posted before.

Inventor Ultimate 2023

Windows 10 Pro
0 Likes
Message 3 of 5

bob.schultz
Alumni
Alumni
Accepted solution

Thanks for reporting this, as it is the same in the library Mitsubishi post.  You can output the shift direction in the G76 cycle by replacing the "fine-boring" code in onCyclePoint with the following code.

 

    case "fine-boring":
      var shift = cycle.shiftOrientation == 0 ? "Q" + xyzFormat.format(cycle.shift) :
        formatWords("I" + xyzFormat.format(Math.cos(cycle.shiftOrientation) * cycle.shift),
          "J" + xyzFormat.format(Math.sin(cycle.shiftOrientation) * cycle.shift));
      writeBlock(
        gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format(76),
        getCommonCycle(x, y, z, cycle.retract),
        "P" + milliFormat.format(P), // not optional
        shift,
        feedOutput.format(F)
      );
      break;

 



Bob Schultz
Sr. Post Processor Developer

0 Likes
Message 4 of 5

empiremachine222
Advocate
Advocate
I will get to this on Monday. TIA.
Inventor Ultimate 2023

Windows 10 Pro
0 Likes
Message 5 of 5

empiremachine222
Advocate
Advocate

Works great. Thanks.

Inventor Ultimate 2023

Windows 10 Pro
0 Likes