11. Custom Macro
136
Explanation
Explanation
Explanation
Explanation
1)
To check whether the variable is defined in the program, the format is as follows:
AR [#Variable number]
Return:
0 – the variable is not defined
90 – the variable is defined as absolute command G90
91 – the variable is defined as incremental command G91
2)
When it is macro call (subprogram or canned cycle) with G code, the system
would copy the system variables (A~Z) to local variables #0-#25 in the macro.
Meanwhile, the system can copy the axis position (machine coordinate value in
absolute command) of nine channels to local variables #30-#38.
3)
When calling a subprogram,
the subprogram can modify the system mode.
4)
When calling a canned cycle, the canned cycle does not modify the system mode.
Содержание HNC-18iT
Страница 27: ...2 Preparatory Function 23 G59...