VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2024-02-15 14:13:42

epoirier
Member
Registered: 2014-06-05
Posts: 14

Heidenhain PLANE SPATIAL issue

Hello,
I am building machine simulation for a DMG160U 5 axis machine (B axis is a swivel head and C axis is the table) with a Heidenhain 530 control. Not new to building machines in Vericut, but am new to working with the Heidenhain controls and having trouble simulating the PLANE SPATIAL functionality of the machine (Vericut v9.4 and using the newest hei530 control file, etc.).

Part programs for this machine contain multiple “PLANE SPATIAL …” commands with various SPA/SPB/SPC angle settings depending on which sides of the part are being machined, so I need to get this working correctly in Vericut.

The SPA and SPB angle settings appear to work correctly. The problem is Vericut is interpreting the SPC angle 180 degrees off causing incorrect C axis movement.

For example, with the machine in vertical machining mode, the spindle in the vertical position (B0), and using a typical non-tilted work offset, the command “PLANE SPATIAL SPA+0.0 SPB+0.0 SPC+0.0 TURN FAUTO SEQ+” will cause the C to rotate to 180 degrees, the command “PLANE SPATIAL SPA+0.0 SPB+0.0 SPC+180.0 TURN FAUTO SEQ+” will rotate the C back to 0. This is exactly opposite to how the machine moves when given these same commands.

As a work-around, I am temporarily overriding the SPC angle calls by 180 degrees, but would prefer to not do this and to correct the root cause of the problem.

Any ideas on how I might resolve this issue? Thank you.

Offline

#2 2024-02-15 15:08:03

Tony
Moderator
From: Crewe, England
Registered: 2007-02-20
Posts: 179
Website

Re: Heidenhain PLANE SPATIAL issue

In Machine / Control > Control Settings > Rotary is the C correctly defined Absolute or Linear?

If you still have trouble, send the files to support at CGTech and someone will take a look.


Tony

Offline

#3 2024-02-15 16:04:48

epoirier
Member
Registered: 2014-06-05
Posts: 14

Re: Heidenhain PLANE SPATIAL issue

Hello Tony,

A and B are Linear, C is EIA (360 Absolute). Are you suggesting C should also be Linear?

Offline

#4 2024-02-15 18:33:15

epoirier
Member
Registered: 2014-06-05
Posts: 14

Re: Heidenhain PLANE SPATIAL issue

Changing C to Linear does not correct the issue.

Offline

#5 2024-02-16 08:52:14

Tony
Moderator
From: Crewe, England
Registered: 2007-02-20
Posts: 179
Website

Re: Heidenhain PLANE SPATIAL issue

Send your files to tech support explaining the issue and we will take a look the problem.


Tony

Offline

#6 2024-02-28 21:59:58

epoirier
Member
Registered: 2014-06-05
Posts: 14

Re: Heidenhain PLANE SPATIAL issue

I found the issue. The IJK2Angle logic by default uses the Tool and Stock components to determine SPA/SPB/SPC angles, and in my case the orientation of these two component's coordinate systems were 180 degrees off about the Z axis.

To correct the issue, I overrode the default from and to components by adding the Ijk2AnglesFromComponent and Ijk2AnglesToComponent macros into the Start of Processing section of the control file and set the from component to "Spindle", and the to component to "C". Now PLANE SPATIAL is working as it should in the machine simulation.

Offline

#7 2024-02-29 13:28:15

Tony
Moderator
From: Crewe, England
Registered: 2007-02-20
Posts: 179
Website

Re: Heidenhain PLANE SPATIAL issue

Good find.


Tony

Offline

Board footer