Strona 1 z 1

Jak uzyskać komentarze w posprocesorze zawsze wielką literą?

: 25 lis 2010, 18:45
autor: radeko
Moje sterowniki Fanuc 15MB 15TB ignorują komentarze pisane mała literą, potrzebuję wygenerować nazwę części pliku prt. wielkimi literami.
Jak zmienić z pozycji Post Builder $mom_output_file_basename bądź $mom_part_name tak, żeby widoczny był w programie NC dużą literą?
W starych plikach tcl ( budowanych za pomocą Post Builder 3.0 i niższych ) można było wstawić linię :

MOM_output_literal "([string toupper $mom_part_name\")]"
I to działało....bez względu czy plik zapisany był wielką czy małą literą.

Natomiast ingerencja w plik tcl nowszej generacji (PB 5..6 ) rujnuje mi wszystko.

Mam pytanie, jak to zrobić za pomocą Post Builder ? Czy tekst string toupper należy wstawić w osobnym polu ? a może zupełnie inaczej ?

: 28 lis 2010, 12:07
autor: nxcam
spróbuj:


mom_attr_OPER_<name>
- All attributes assigned to an operation will have the prefix mom_attr_OPER_. The <name> will be appended and will be converted to upper case. The operation attribute will be available at the start of path during postprocessing.

mom_attr_PROGRAMVIEW_<name>
- All attributes assigned to a program will have the prefix mom_attr_PROGRAMVIEW_. The <name> will be appended and will be converted to upper case. The program attribute will be available at the start of program during postprocessing.


mom_attr_TOOL_<name>
- All attributes assigned to a specific tool object (carriers, pockets, heads, tools) will have the prefix mom_attr_TOOL_. The <name> will be appended and will be converted to upper case. The tool attribute will be available at the operation start of path during postprocessing.