Haas Parameter 91 G MACRO CALL O9010
G code that calls O9010, and can contain a value from 1 through 98, inclusive. Zero causes no call; however, it is best to use a value that is not already in use (see current G code list). When using G45, the value 45 would be entered in Parameter 91 (for example).
A program would be written to include the G45:
G X0... G45 . . M30
The control would run the program until it got to the G45, call program O9010, run that, return to the point that it left, and continue the main program. If program O9010 contains another G45, it will call itself, keep calling until it fills the stack (4 times), and then alarm out with 531, Macro Nesting Too Deep. Note that if G84 (for example) is used, it would override the normal G84 Tapping Canned Cycle.Haas Parameter 91 G MACRO CALL O9010