Cancel
Showing results for 
Search instead for 
Did you mean: 

Post Configurator BLK FORM

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Hi All,

 

With the OOTB PC post for Heidenhain the values for the BLK FORM are always set as shown below.

Does anyone know where these values come from and if they can be filled correctly?

 

BLK FORM 0.1 Z X-500 Y-500 Z-500
BLK FORM 0.2 X500 Y500 Z500

Sven Voeten
Pre-sales NX CAM / Manufacturing Consultant
cards PLM Solutions
3 REPLIES

Re: Post Configurator BLK FORM

Siemens Legend Siemens Legend
Siemens Legend

Hi Sven,

 

first these values are a standard output in default with Post Configurator. At the moment we have no mom-variables which include the values of the blank part, which make sense to have that in future.

 

So first and recommended solution should be to add an UDE for the BLK and an eventhandler. Important to know is that you have to set the mom_blk_point_1/mom_blk_point_2  variables in the handler. 

I have attached also the ude for that, just copy into your layer or create a new one with the cdl editor.

 

proc MOM_blk_form { } {
global mom_blk_point_min_x
global mom_blk_point_min_y
global mom_blk_point_min_z
global mom_blk_point_max_x
global mom_blk_point_max_y
global mom_blk_point_max_z
global mom_blk_point_1
global mom_blk_point_2

 

#Put your UDE Handler Tcl here
set mom_blk_point_1(0) $mom_blk_point_min_x
set mom_blk_point_1(1) $mom_blk_point_min_y
set mom_blk_point_1(2) $mom_blk_point_min_z
set mom_blk_point_2(0) $mom_blk_point_max_x
set mom_blk_point_2(1) $mom_blk_point_max_y
set mom_blk_point_2(2) $mom_blk_point_max_z
}

 

Due the automatic pretreatment functionality these variables are now collected and output the values of the UDE which is attached to the program group.

 

2) Just switch the property off in Post Configurator for the Block Form and implement your own logic in the start of program

BLOCKFORM.jpg

 

Thanks for the hint on that, we will try to find a better solution for future.

 

Best regards

Thomas

 

Re: Post Configurator BLK FORM

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Thanks for the fast response, I will test this next week.

Sven Voeten
Pre-sales NX CAM / Manufacturing Consultant
cards PLM Solutions

Re: Post Configurator BLK FORM

Legend
Legend
The only thing is to copy the following lines in you .cdl File

EVENT blk_form
{
POST_EVENT "blk_form"
UI_LABEL "Blank definition"
PARAM command_status
{
TYPE o
DEFVAL "Active"
OPTIONS "Active","Inactive","User Defined"
UI_LABEL "Status"
}
PARAM blk_point_1
{
TYPE p
UI_LABEL "Point 1"
}
PARAM blk_point_2
{
TYPE p
UI_LABEL "Point 2"
}
}

The Point 1 is the the corner with the lowest values and point2 with the highest values.

Learn online





Solution Information