Cancel
Showing results for 
Search instead for 
Did you mean: 

Suppressing header text in Heidenhain conversational post

Experimenter
Experimenter

We are using postconfigurater.

We want to take away some line from the output. This are in the first tool change.

The lines we want to supress / delete is:
PLANE RESET STAY and M140 MB MAX. Which command can we use to take away this two line?

  } BUFFER-> LIB_SPF_OPERATION_HEADER_COMMENT HEADER_COMMENT {LEGACYTAG0 LEGACYTAG1} <-BUFFER                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
  BUFFER> MOM_tool_change_LIB MOM_tool_change_LIB_ENTRY_start <BUFFER {
11 PLANE RESET STAY                                                                        (TAG_INFO:@DEFAULT_ENTRY)                >>OUTPUT FROM: MOM_first_tool , MOM_tool_change_LIB_ENTRY start , MOM_output_literal                                                                                                                    
12 M5                                                                                      (TAG_INFO:@DEFAULT_ENTRY)                >>OUTPUT FROM: MOM_first_tool , MOM_tool_change_LIB_ENTRY start , MOM_do_template spindle_off                                                                                                           
13 M140 MB MAX                                                                             (TAG_INFO:@DEFAULT_ENTRY)                >>OUTPUT FROM: MOM_first_tool , MOM_tool_change_LIB_ENTRY start , MOM_output_literal                                                                                                                    
14 L ZQ503 R0 FMAX M91                                                                     (TAG_INFO:@DEFAULT_ENTRY)                >>OUTPUT FROM: MOM_first_tool , MOM_tool_change_LIB_ENTRY start , MOM_do_template return_home_z                                                                                                         
15 L XQ501 YQ502 R0 FMAX M91                                                               (TAG_INFO:@DEFAULT_ENTRY)                >>OUTPUT FROM: MOM_first_tool , MOM_tool_change_LIB_ENTRY start , MOM_do_template return_home_xy                                                                                                        
16 L B0.0 C0.0 FMAX                                                                        (TAG_INFO:@DEFAULT_ENTRY)                >>OUTPUT FROM: MOM_first_tool , MOM_tool_change_LIB_ENTRY start , MOM_do_template return_home_4th5t

Thanks in advance
Per Johansson
GKN Aerospace

 

1 REPLY

Re: Suppressing header text in Heidenhain conversational post

Siemens Legend Siemens Legend
Siemens Legend

Hello Per,

 

i assume you use the OOTB iTNC Oem layer for your post. In general i create new post without the OOTB layers because this layers are optimized for the OOTB sample machines. The reason is that these layers can contains procedures or LIB entries which maybe make your customization diffucult for this.

 

When you take a look at the Buffer name then it's named with MOM_tool_change_LIB_ENTRY_start. That means that a entrypoint is used in one of the additional layers, in that case in the OEM layer. The reason why it's difficult to change it is that the content of this procedure is not written in a Buffer and so you only see this default tag. So you have 2 possibilities. Remove the OEM layer from your post and add your own entries or overwrite the existing LIB_ENTRY with your procedure in the service file. I mean you get all the informations from the debugging output which template is used for each line. To make your life a little bit easier you can use just this one here:

 

proc MOM_tool_change_LIB_ENTRY {position} {
switch -- $position {
"start"
  {
   MOM_force once M_spindle fourth_axis fifth_axis
   MOM_do_template spindle_off
   MOM_do_template return_home_z
   MOM_do_template return_home_xy
   MOM_do_template return_home_4th5th
  }
  "end"
  {
   MOM_do_template spindle_on
  }
 }
}

 

In future we will also output those things from the OEM or machine layer in Buffers, so that's easier to modify them.

 

Best regards

Thomas

Learn online





Solution Information