Cancel
Showing results for 
Search instead for 
Did you mean: 

[ISV] simulation position error

Solution Partner Builder Solution Partner Builder
Solution Partner Builder

Hi

 

The simulation position is not correct.

 

# Information

1. Verison : NX11.0.2

2. MACHINE : BC Table-Table 5axis Type

3. Controller : Hei530

4. Cause : DATUM SHIFT "0"

 

The tool path location is as follows, and the DATUM SHIFT value in the NC code is XYZ = 0.

Toolpath.jpg

 

I tried Machine Simulation. The simulation location works elsewhere.

simulation.jpg

 

I have reaffirmed NC DATA through VERICUT Software. VERICUT is normally simulated. Actual equipment also operates normally.

 

VERICUT.jpg

 

The XYZ value of DATUM SHIFT is always output as 0,
I want to position the simulation. How do I set it up?

 

21 REPLIES

Re: [ISV] simulation position error

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello Kimies,

 

I like to help, the NC code in the pictures is hard to read, but I got the problem.

My question is:

Where is the machine tool zero of the machine tool?
In the example it looks like it is different as the zero coordinate system of the NC code.

Somehow the controller need to know about that offset.

As this is not part of the NC code it need to get input into the CSE model somewhere else.

One option is to add it into the ini file e.g. by calling CYCLE247.

 

Hope that gives you some idea to follow on.

 

 

 

Thomas Schulz
Siemens PLM
Manufacturing Engineering Software

Re: [ISV] simulation position error

Solution Partner Builder Solution Partner Builder
Solution Partner Builder

Hi Thomas

 

CYCLE247

 

The zero of the machine tool is set on the head side..

 

In OOTB, MCS and distance value are output as below.

 

 CYCL DEF 7.0 DATUM SHIFT
 CYCL DEF 7.1 X-49.629
 CYCL DEF 7.2 Y-59.919
 CYCL DEF 7.3 Z80.195

 

However, the machine tool always output as follows.

  CYCL DEF 7.0 DATUM SHIFT
  CYCL DEF 7.1 X0
  CYCL DEF 7.2 Y0
  CYCL DEF 7.3 Z0

 

I want to know how to add and set ini files.
And I want to know how to add CYCLE247.

 

 

 

Re: [ISV] simulation position error

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello please find attached the CSE Session material about CYCLE247 adn CYCLE7 DEF.

Thomas Schulz
Siemens PLM
Manufacturing Engineering Software

Re: [ISV] simulation position error

Solution Partner Builder Solution Partner Builder
Solution Partner Builder

Hi Thomas

 

I setup your 247 sub program.

But it motion in the same wrong location.

 

The X, Y and Z values of CYCLE DEF 7.0 will move to the normal position only if offset value is output from the zero position of the machine tool.

 

I want to ignore this and output it as CYCLE DEF 7 X0, Y0, Z0 and want move it on the set MCS basis.

 

MCS.jpg

 

I  would like to hear a little more detailed explanation. Thank you.

Re: [ISV] simulation position error

Siemens Phenom Siemens Phenom
Siemens Phenom

Which part of NC Code is calling teh cycle247?

e.g. this can be added into the ini file

1 CYCL DEF 247 BEZUGSPUNKT SETZEN ~

  Q339=+1 ;BEZUGSPUNKT-NUMMER

In that example case it is necessary to have a MCS with the fixture offset 1 in the CAM

 

And please remember to set the global variables as described inside the slides.

 

Thomas Schulz
Siemens PLM
Manufacturing Engineering Software

Re: [ISV] simulation position error

Solution Partner Builder Solution Partner Builder
Solution Partner Builder

Hi

 

I setup CYCLE DEF247 subprogram in M.C.

 

CYCLE247.jpg

 

And I setup fixture offset value is 1 in MCS.

 

But there is no difference.
The position still does not fit.

 

CYCLE DEF 7.1, CYCLE DEF 7.2, CYCLE DEF 7.3, X, Y and Z values must be entered to move to the normal position.

However, in real equipment, it should be output as 0.

 

PP.jpg

 

 

In my opinion, how about outputting X, Y, and Z values of CYCLE DEF 7.1, CYCLE DEF 7.2 and CYCLE DEF 7.3 as 0 and setting the value in subprogram. But how do you set the value in subprogram?

 

 

Re: [ISV] simulation position error

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi,

lets do small steps...

Which position is incorrect?

Please do/verify the following steps:

1.) Machine Zero definition: Open kinematic model in Machine tool builder and move all axes manually to zero position ---> does the tool mount junction match the machine zero position?
--> is the axis direction correctly?
if yes go to 2

2.) Check the zero position without a tool with NC Code L X0 Y0 Z0 in Machine Simulation
--> the machine moves to zero position as expected?
if yes go to 3

3.) Check local offset position with CYCL DEF 247 without a tool
--> the machine moves to local offset position as expected?
if yes go to 4

4.) Move to machine zero and later to offset position with a tool and activated length compensation
--> the machine moves to machine zero and local offset position as expected?
if yes go to 5

5.) Move to local offset after plane swiveling with PLANE SPATIAL without a tool
--> the machine moves to local offset position as expected?
if yes go to 6

6.) drink a coffee and think about the previous steps ;-)
cup emtpy? go to 7

7.) Move to local offset after plane swiveling with PLANE SPATIAL with a tool and activated tool length compensation
--> the machine moves to local offset position as expected?

Thomas

Re: [ISV] simulation position error

Solution Partner Builder Solution Partner Builder
Solution Partner Builder

Hi Thomas,

 

I proceeded in the order you gave me.

 

The machine zero and tool mount junctions are set identically.

MACHINE_ZERO.jpgTOOL_MOUNT.jpg

 

I tried step 2.

 

X0Y0Z0.jpg

 

The machine moves to zero position.

 

I tried step 3.

 

CYCLE DEF 247.jpg

 

It does not move to the local offset position.

What should I do?

Re: [ISV] simulation position error

Siemens Phenom Siemens Phenom
Siemens Phenom

Where do you have defined the MCS with the fixture offset number "1"?

 

 

Thomas Schulz
Siemens PLM
Manufacturing Engineering Software

Learn online





Solution Information