Cancel
Showing results for 
Search instead for 
Did you mean: 

BUG in PostConfigurator - On Prepositioning Tool

Creator
Creator

Hi everyone!

Postprocessor for a 5 axis machine with head head rotary a + c.

I tried to activate the option to Prepositioning the Tool on plane change in 3+2 operations.

It's very useful to avoid collision on rapids.

All works fine with Plane Output Cycle800 but when i switch to trans+rot i get an error.

Unlucky the Cycle800 for the machine is not optimal.

 

TRANS_ROT.pngPREP_ON.png

Error.png

 

The error i get is 1770002.

Anyone has got the same error?

Help me as you can!!

Thank you

 

13 REPLIES 13

Re: BUG in PostBuilder - On Prepositioning Tool

Phenom
Phenom

I think this is Post Configurator not Builder.

As the message says look at your syslog it has more detail on the error.

Open syslog after the error occurs scroll to the end, about 1 page up will be the error with more information.

Re: BUG in PostBuilder - On Prepositioning Tool

Creator
Creator

Yes you are right, i changed the title of the topic.It's the postconfigurator indeed.

I've attached the log, can you please check?

 

I have to say that i haven't this directory:

D:\workdir\patches\NX1847_series_build\

I haven't nothing in D:\

 

..

Re: BUG in PostBuilder - On Prepositioning Tool

Phenom
Phenom

I do not have any experience with "Post Configurator" (PC) or Siemens controls.

 

Looking at the error, the post cannot find the variable  "lib_parameter(cycle800,_DIR)"

If there is no setting in PC to set an initial value for this, it might be expecting the user to set this with a UDE.

 

Someone with more PC and Siemens control experience could probably help further. 

Re: BUG in PostBuilder - On Prepositioning Tool

Creator
Creator

Thank you agrivas!

Ok maybe someone can help me further.

Highlighted

Re: BUG in PostBuilder - On Prepositioning Tool

Legend
Legend

Please insert the following lines into your Service file

 

#####

LIB_GE_command_buffer_edit_prepend LIB_CSYS_plane_output_init TRANS_ROT {
   if {[CONF_S840D_cycle800 _DIR] != 0} {
     set ::lib_parameter(cycle800,_DIR) [CONF_S840D_cycle800 _DIR]
   } else {
     set ::lib_parameter(cycle800,_DIR) 0
   }
} CUSTOM_trans_rot_dir

#####

 

Regards

Re: BUG in PostBuilder - On Prepositioning Tool

Creator
Creator

Thank you very much !

Unluckily now i get this error:

Error_window.png

No value set for 'CONF_S840D_cycle800_DIR'

 

If i click "OK" every time the pop up shows, I don't get the right value for the rotary axes.

Example of output code:

N270 G0 C=$TC_CARR13[$P_TC] A=$TC_CARR14[$P_TC]

 

 

I insered your lines at the end of my file: PC_service_s840d.tcl

Am I wrong?

Re: BUG in PostBuilder - On Prepositioning Tool

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Which PC release are you using? Check "Miscellaneous => Debugging => Library Version".

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX12.0.2, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX (1876) | AWC 3.4 Preparing: -

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: BUG in PostBuilder - On Prepositioning Tool

Creator
Creator

Hi Stefan, the it's 4.5

Re: BUG in PostBuilder - On Prepositioning Tool

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

The file name on the D:\ drive is the source code of the Siemens developers, so no customer will ever have that file.

Are you able to access any newer NX release, since you are using NX 1847 phase 2400.

May be 1859, which is the latest bug fix release of the NX 1847-branch.

You may just have to update the library and controller files to resolve the issue.

PC post-processors are backwards usable, we have used post-processors created with NX 12 in NX 10 successfully.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX12.0.2, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX (1876) | AWC 3.4 Preparing: -

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Learn online





Solution Information