Cancel
Showing results for 
Search instead for 
Did you mean: 

[ISV] G68 Code simulation

Solution Partner Innovator Solution Partner Innovator
Solution Partner Innovator

Hi~

 

#Information

1. version : NX11.0.2

2. Machine : millturn

 

I refer to sim15_millturn_9ax. I changed P.P with G68.2 code type.

However, the simulation location is incorrect.

 

G68.jpg

 

How can we solve it?

 

 

10 REPLIES 10

Re: [ISV] G68 Code simulation

Siemens Phenom Siemens Phenom
Siemens Phenom
Hi,

could you explain a bit more what is incorrect or which machine/controller/Simulation behavior do you expected? What is P.P? What have you changed in G68.2?

Have you checked the global variables to set fourth and fifth axis names/vectors/axis limits? e.g. GV_strFifthAxisName, GV_dFifthAxisVectorX, GV_dFifthAxisLimitMin

Thomas

Re: [ISV] G68 Code simulation

Phenom
Phenom

Try editing G43 to G43.1 and see what happens.

 

I have a PR for G68 and  G43 incorrect on head table 5 axis

 

PR Number 8530711

Siemens PLM believes that the problem you reported where Fanuc CSE simulation
G43 is wrong with G68 will be resolved by code changes made to the release of
our product NX version 12.0.

 

I have not tested if this is fixed in NX12

Re: [ISV] G68 Code simulation

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Hello Experts,

 

I don´t think this can be a NX issue/bug.

I have G68 working fine since NX 8.5.3 on a Mazak Integrex i-300 simkit and a Mazak Integrex 200 IV.

 

2.png

 

In my case I enhanced the G68 in the MCF file.

 

Since I, J and K define the rotation vector and R the rotation angle, you can use the createVector and SetRotation functions to define the rotated plane.

3.png

 

After perform the plane rotation you can define the tool lengths compensation using the G43 H_.

Again maybe you will need enhance your H address or the method called by the H address and configure the right tool lengths compensation.

 

In my canse I just defined the lengths on each axis without any extra math.

 

4.png

 

And make sure the tranformation $TOOL is reordered to be the first transformation in the list.

 

5.png

 

I hope this helps.

 

Thanks.

Jean Marcel
Application Engineer
Ally PLM Solutions | PROLIM PLM

Re: [ISV] G68 Code simulation

Phenom
Phenom

That requires Machine Configurator licence.

 

My PR is the OOTB implementation of G68 is incorrect.

Re: [ISV] G68 Code simulation

Solution Partner Innovator Solution Partner Innovator
Solution Partner Innovator

Hi JeanMA

 

I am currently configuring the Integrex 200 and Integrex i-300.

I modified the MCF FILE like the image that captured G68.

 

However, it is not possible to know how to set I,J,K etc.

Therefore, the simulation can not be performed due to the error.

 

34444.jpg

 

Can I get additional advice or an Integrex 200 and Integrex i-300 MCF FILE?

 

Thank you

 

Re: [ISV] G68 Code simulation

Solution Partner Innovator Solution Partner Innovator
Solution Partner Innovator
Hi Thomas.

I refer to sim15_millturn_9ax in the library and changed the G68.2 output type to the G68 output type due to the equipment option.

Then we have a problem with the simulation.

Re: [ISV] G68 Code simulation

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Hello @kimies_saida,

 

Make sure your G68 metacode have the I, J, K and R as MCparam.

 

Untitled.png

 

I hope this helps.

 

Thanks.

Jean Marcel
Application Engineer
Ally PLM Solutions | PROLIM PLM

Re: [ISV] G68 Code simulation

Solution Partner Innovator Solution Partner Innovator
Solution Partner Innovator

Hi JeanMA

 

I, J, K are solved thanks to you.

However, an additional error occurs with the variable "LV_vecRotAxis".

 

LV.jpg

 

How can this be solved?

 

Thanks.

Re: [ISV] G68 Code simulation

Solution Partner Legend Solution Partner Legend
Solution Partner Legend
Hello Kimies_saida,

You need to declare the local variable following the steps below.
1-Rigth click on the last MCparam > Element > After > Variable.
2-Type LV_vecRotAxis

I hope this helps.

Thanks.

Jean Marcel
Application Engineer
Ally PLM Solutions | PROLIM PLM

Learn online





Solution Information