Modal user macro call B
Macroprogram call, data calculation, data input to/output from a personal computer, data control, judgment, branching, and various other instructions can be used with variables commands to perform measurements and other operations. A macroprogram is a subprogram which is created using variables, calculation instructions, control instructions, etc. to have special control features. These special control features (macroprograms) can be used by calling them from the main program as required. These calls use macro call instructions. When command G66 is entered, the designated user macro subprogram willbe called every time after execution of the move commands within a block until G67 (cancellation) is entered. Command codes G66 and G67 must reside in the same programm in pairs. together with any one for the following functions (described in this chapter): Hole machining pattern cycle Compound fixed cycle Hole machining fixed cycle Subprogram control
G66.1 is modal (group 14) — it stays in effect until another code of the same group replaces it.
- Note: In order that it may function correctly, do not give a command of macro call in one block
- In order that it may function correctly, do not give a command of macro call in one block
Mazak PROGRAMMING MANUAL for EIA/ISO PROGRAM, manual H747PB0030E, section 13-16 Macro Call Function: G65, G66, G66.1, G67, p. 3-11, 13-114. Reference and explanation only — not a reproduction of the manual.