cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO USE MACRO COMMAND IN NX POST BUILDER

Experimenter
Experimenter

There is a option called Macro which gonna use reduce the programming length in FANUC , Siemens control. But i don't know how to use it in NX POST BUILDER. If anyone Knows about it pls clarify my question.

4 REPLIES

Re: HOW TO USE MACRO COMMAND IN NX POST BUILDER

Legend
Legend

I dont know what exactly you want. But there is section for macros where you can created them.

I use them only for sinumeric cycles.

You can call macro in the event - just drop it from menu or you can call it in custom command by PB_call_macro "macro name"

 

Bez názvu.png

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: HOW TO USE MACRO COMMAND IN NX POST BUILDER

Esteemed Contributor
Esteemed Contributor

I use macros only for Siemens as well, as the field delimiters (commas) are required.

This can be done with blocks, but it's a PITA

Fanus style macro calls (to me) are easier to do as a block, as no commas are needed, and parameter order is (usually) not important (parameters are identified by the letter prefix, not by which index they are in the list, so if a parameter is omitted, you don't need to do anything special)

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


Re: HOW TO USE MACRO COMMAND IN NX POST BUILDER

Experimenter
Experimenter

i am new to NX CAM so i don't know how to create Macro.

if i click macro means there is create option is avialble

after creating i cann't able to type macro variables.

If you have any presentaion / video means pls share

Re: HOW TO USE MACRO COMMAND IN NX POST BUILDER

Esteemed Contributor
Esteemed Contributor

With macro tab open

Click on "Create" button - you get the "new macro" you show in your attachment

Set the name per your needs (e.g. "CYCLE800")

Right-click in the first blue box in the "Parameter" column -> New

Click in the parameter column, name the parameter (e.g. "KEN")

For the expression, enter "$" and the variable you want to use (e.g. "$Ken_Param")

Sat the data type.  If number, set the formatting

continue with the rest of the parameters

 

If many parameters are similar, you can right-click an existing one -> Copy, then paste in another row.

If you want to change the "New_Macro" in the column on the left, double-click on it, and an edit box will show up to change the name.

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


Learn online





Solution Information