11. Custom Macro
122
11.1
11.1
11.1
11.1 Variables
Variables
Variables
Variables
Format
Format
Format
Format and
and
and
and Explanation
Explanation
Explanation
Explanation
#_
Variable is composed of a number sign (#) and a number.
Example
Example
Example
Example
#1
#1=#2+100
11.1.1
11.1.1
11.1.1
11.1.1 Type
Type
Type
Type of
of
of
of Variables
Variables
Variables
Variables
There are four types of variables.
Table 11 1 Type of Variables
Variable
Variable
Variable
Variable
number
number
number
number
Type
Type
Type
Type of
of
of
of variables
variables
variables
variables
Function
Function
Function
Function
#0~#49
Local variables
They are used in a macro program.
#50~#199
Common variables
They can be shared among different
macro programs.
#200~#249
0 layers local variables
#250~#299
1 layers local variables
#300~#349
2 layers local variables
#350~#399
3 layers local variables
#400~#449
4 layers local variables
#450~#499
5 layers local variables
#500~#549
6 layers local variables
#550~#599
7 layers local variables
#600~
System variables
They are used to read and write NC data.
Note:
Note:
Note:
Note:
1)
The operator can only use the #0~#599 local variables for programming.
2)
Variables after #599 can only be used by the system programmer for reference.
Содержание HNC-18iT
Страница 27: ...2 Preparatory Function 23 G59...