Mazak Integrex wrong B-axis output.

Mazak Integrex wrong B-axis output.

L_shaver_6167
Enthusiast Enthusiast
2,661 Views
21 Replies
Message 1 of 22

Mazak Integrex wrong B-axis output.

L_shaver_6167
Enthusiast
Enthusiast

 In this example, the B-axis is correctly countered (B90,B0) for individually selected jobs. But if both are counted together then the second job will also be with B90. what was miscalculated.

Post for Mazak Integrex i-400S (autodesk.com)

 

0 Likes
Accepted solutions (1)
2,662 Views
21 Replies
Replies (21)
Message 2 of 22

billcainautodesk
Autodesk
Autodesk

Hello L_shaver_6167

 

I am not sure of the actual problem. Can you explain a little more and if possible please upload the .f3d file your having this problem with?



Bill Cain
Sr. Technical Consultant
0 Likes
Message 3 of 22

L_shaver_6167
Enthusiast
Enthusiast

Hi,

second job of setup 1 is B-axis still at 90 ° from previous job.

greeting

0 Likes
Message 4 of 22

L_shaver_6167
Enthusiast
Enthusiast

Hi,

second job of setup 1 is B-axis still at 90 ° from previous job.

greeting

@billcainautodesk 

0 Likes
Message 5 of 22

billcainautodesk
Autodesk
Autodesk

After the tool changes the B will already be at B0 so there is no need to to have a B0. output.



Bill Cain
Sr. Technical Consultant
0 Likes
Message 6 of 22

L_shaver_6167
Enthusiast
Enthusiast

Bildschirmfoto 2021-02-08 um 20.56.07.png

Hello, Thanks for the answers, but I think something else doesn't fit. Please make the output of setup 2, once with the Y-axis option and once without, you get two different B-axis values. Something seems to be wrong here. Thank you@billcainautodesk 

0 Likes
Message 7 of 22

billcainautodesk
Autodesk
Autodesk

Yes, I see it now. I'll look into why this is happening.



Bill Cain
Sr. Technical Consultant
0 Likes
Message 8 of 22

billcainautodesk
Autodesk
Autodesk

Hello L_shaver_6167

Thank you for reporting this and helping me understand the problem. I'll get our library posts updated.

 

To fix it we need to change this line

            abc = new Vector(-abc.x, abc.y, -abc.z); // needed for secondary spindle

          }

        } else {

          abc = getWorkPlaneMachineABC(currentSection, currentSection.workPlane);

        }

        if (!machineState.useXZCMode && !machineState.usePolarMode) {

          setWorkPlane(abc);

        }

      }

    }

 

to this

            abc = new Vector(-abc.x, abc.y, -abc.z); // needed for secondary spindle

          }

        } else {

          abc = getWorkPlaneMachineABC(currentSection, currentSection.workPlane);

        }

        if (gotBAxis) {

          setWorkPlane(abc);

        }

      }

    }



Bill Cain
Sr. Technical Consultant
0 Likes
Message 9 of 22

billcainautodesk
Autodesk
Autodesk

One other change needs made. Put the // in front of these 2 lines or some milling will come out in X Diameter mode.

 

  //if (!currentWorkPlaneABC) {
  if (machineState.isTurningOperation) { // diameter mode
    writeBlock(gFormat.format(10.9), "X1"); // diameter input mode
    xFormat.setScale(2); // diameter mode
    xOutput = createVariable({prefix:"X"}, xFormat);
  } else { // radius mode
    writeBlock(gFormat.format(10.9), "X0"); // radius input mode
    xFormat.setScale(1); // radius mode
    xOutput = createVariable({prefix:"X"}, xFormat);
  }
  //}


Bill Cain
Sr. Technical Consultant
0 Likes
Message 10 of 22

L_shaver_6167
Enthusiast
Enthusiast

Hello @billcainautodesk ,

thank you very much, it looks better now. Please take a look at this second example. Setup 1 / Job 1/2 B-axis 90/90 incorrect. Right 90/0.

Job 2 alone is then correctly output with B0.

Thanks and regard

 

0 Likes
Message 11 of 22

billcainautodesk
Autodesk
Autodesk

Hello L_shaver_6167

 

I see what's happening and will look into it. Thank you



Bill Cain
Sr. Technical Consultant
0 Likes
Message 12 of 22

billcainautodesk
Autodesk
Autodesk

Hello L_shaver_6167

I believe I found the problem but am double checking with my coworker. Should get back to you soon.



Bill Cain
Sr. Technical Consultant
0 Likes
Message 13 of 22

L_shaver_6167
Enthusiast
Enthusiast

Hello @billcainautodesk , while you're at it, here are a few mistakes. I have attached 1001 (main spindle) and 1002 (secondary spindle) the correspondence should be marked with ***.

greeting

Message 14 of 22

billcainautodesk
Autodesk
Autodesk

Hello L_shaver_6167

 

Sure thing, Happy to have all feedback. Thank you.

 

We found a few more issues while working on the B angles also. I want to get that round in and approved but will start looking at these also.



Bill Cain
Sr. Technical Consultant
0 Likes
Message 15 of 22

billcainautodesk
Autodesk
Autodesk

Hello L_shaver_6167

 

The updated post is now on the website. Pretty sure we got all the current issues. Thanks for your help and feedback.



Bill Cain
Sr. Technical Consultant
0 Likes
Message 16 of 22

L_shaver_6167
Enthusiast
Enthusiast

Hello @billcainautodesk , the B-axis seems to be OKAY now. Unfortunately, the problem is the subspindle with tapping cycle, Z axis should have „+“ output. Look at the file in post #13, marked the bugs with „***“. I also think that the C-axis is twisted 180 degrees on the subspindle during milling. However, when drilling without a Y-axis, the C-axis output fits. That's weird. Thanks and greetings

0 Likes
Message 17 of 22

billcainautodesk
Autodesk
Autodesk
Accepted solution

Hello L_shaver_6167

 

We are looking into everything. I also saw your other post about missing Y0 move.



Bill Cain
Sr. Technical Consultant
0 Likes
Message 18 of 22

billcainautodesk
Autodesk
Autodesk

Hello L_shaver_6167

 

The C axis is rotated because of the direction of the X axis in the set up. If you reverse the X axis the C axis will not be rotated 90 degrees anymore. I did notice that this makes the operation milling at C180 mill at the bottom of the part so it may sometime be desirable to have another set up with the X axis pointed the current direction.

 

We are still working on the rest.



Bill Cain
Sr. Technical Consultant
0 Likes
Message 19 of 22

L_shaver_6167
Enthusiast
Enthusiast

Hi @billcainautodesk ,

to get the output as in the picture is not possible?

 

Discovered another mistake, hopefully you won't be angry with me. G18 / G41 / G17 G17 should come before radius compensation.

 

Thank you

0 Likes
Message 20 of 22

billcainautodesk
Autodesk
Autodesk

Hello L_shaver_6167

There is an updated version on the website. It should cover everything including we have it outputting G17 and G18 at the beginning of each process now. We are am look at this C angle thing now.



Bill Cain
Sr. Technical Consultant
0 Likes