Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

UDE problem 1

Status
Not open for further replies.

i0wa

Industrial
Joined
Oct 4, 2009
Messages
51
Location
EE
I've written my UDE but NX shows me an error. I've tried to put "MOM_abort" to a different places, but it was useless because of the one and only place when MOM_abort proc worked it was before the "proc MOM_my_proc {} { ..."

I add 2 files with my UDE and proc (zipped archive).


Thanks in advance

P.S. I am very sorry for my bad English.
 
Could it be your using mom_increament_r4 without setting it?
What is the error? Be sure to look at the syslog for more clues, Attach it if you can.
 
First error
if{[string match "Stencil Gothic" $mom_font} {
Should be
if {[string match "Stencil Gothic" $mom_font]} {

Second error
Make sure all if have a space after them.

Third error
MOM_output_literal "G00 Z H$mom_engrave_tool_number D$engrave_tool_number M0"
should be
MOM_output_literal "G00 Z H$mom_engrave_tool_number D$mom_engrave_tool_number M0"

Fourth error
Handle mom_increament not being set

 
Thanks a lot. I found a lot of mistakes, corrected them and now it works well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top