Enhanced methods of manual programming use so called macros,such Fanuc Macro B.In simple terms,a macro is a type of a subprogram,but it can handle features that no subprogram can. those features include variable data,conditional testing(IF),iteration(WHILE),arithmetic,algebraic and trigonometic calculations,and many other features.