Cancel
Showing results for 
Search instead for 
Did you mean: 

MOM_TCL:interpreter returned error when doing event.

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Hi
i have question for 5axis post & machine simulate.
machine type is BC table-table type and controller is TNC530.
i reuse the sim14 machine, changed little thing in post.
but when i doing simulation, appear message 'MOM_TCL: interpreter returned error when doing event.' like this.
why appear this message?
i guess when doing initial move motion something problem.(i was referenced logfile.)
if you need logfile and post, request me.
my e-mail address is 'sjpark@cadians.com'.
i need a advice. help me sovle this problem.
thanks you.

interpreter error message_1.jpginterpreter error message_2.jpg

interpreter error message.jpg

4 REPLIES

Re: MOM_TCL:interpreter returned error when doing event.

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

see this logfile message.

 

***TCL_ERROR***: Event Handler: C:\Siemens\NX11\mach\resource\library\machine\installed_machines\BC_TT_Machine\postprocessor\heidenhainTNC\test.tcl, Event: MOM_initial_move, Error: can't read "dpp_TNC_fixture_origin(0)": no such variable
while executing
"MOM_output_literal "CYCL DEF 7.1 X$dpp_TNC_fixture_origin(0)""
("CYCL 7 XYZ" arm line 4)
invoked from within
"switch $mom_ude_datum_option {
"CYCL 7 #" {
MOM_output_literal "CYCL DEF 7.0"
MOM_output_literal "CYCL DEF 7.1 \#$mom_..."
(procedure "PB_CMD_define_fixture_csys" line 38)
invoked from within
"PB_CMD_define_fixture_csys"
(procedure "MOM_initial_move" line 11)
invoked from within
"MOM_initial_move"*** EXCEPTION: Error code 1770002 in line 559 of D:\workdir\reference\NX1102_7\src\camsmom\no\ind\mom_tcl_definitions.c at Thu Apr 26 09:14:37 2018 대한민국 표준시
+++ Error received in do_event. Event Handler: C:\Siemens\NX11\mach\resource\library\machine\installed_machines\BC_TT_Machine\postprocessor\heidenhainTNC\test.tcl, Event name: MOM_initial_move, See syslog for more details

Re: MOM_TCL:interpreter returned error when doing event.

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

dpp_TNC_fixture_origin(0) - not defined....

I think - developer of your postprocessor use some additional UDE for define TNC origine number.

 

Re: MOM_TCL:interpreter returned error when doing event.

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer
hello Chigishev.
thank you for advice.
you mean, inside tool path operation 'machine control' option? or edit post builder?
what kind of UDE define?

Re: MOM_TCL:interpreter returned error when doing event.

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Basically, the issue is that the variable "dpp_TNC_fixture_origin(0)" is not defined when it is needed.

 

You will have to work with whomever wrote your post to figure out why, and how to fix.

 

Option 1) Post writer adds "if {![info exists dpp_TNC_fixture_origin(0)]} { # do something } around the offending code, so it can handle the case when this variable doesn't exist.

Option 2) Post writer tells you what you need to do to get this variable defined properly for the post (add a UDE somewhere, or define something in the NX part in a different way, or...)

Option 3) Post has a bug that Post writer needs to fix

...probably more options...

 

So as you can see, the post writer needs to be involved to figure out the cause of the issue (i.e. what assumption they made), and what needs to be done to fix it.

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled


Learn online





Solution Information