Figure 4.4.3.1 common variables, Table 4.4.3.1 common variables – Yaskawa YASNAC PC NC Programming Manual User Manual

Page 266

Advertising
background image

4 - 129

YASNAC PCNC Programming Manual

Chapter 4: Enhanced Level Commands

(2) Common Variables (#100 to #299, #500 to #999)

Common variables means the variables that can be used in common in main programs, sub-
programs, microprograms, and those called up in nesting. Therefore, the common variable
where the result of an operation executed in a macroprogram is saved can be used in another
microprogram. For common variables, argument specification is not allowed.

FIGURE 4.4.3.1 Common Variables

Common variables are classified into two types according to the state they are in when
the NC is reset.

Table 4.4.3.1

Common Variables

The number of sets of the common variables can be optionally expanded.

#100 to #299

The content is <empty:> when the power is turned ON or the NC is reset.
By setting parameter “pm4009 D] = 1”, the content is not cleared to <empty>.

#500 to #999

The content is saved and not cleared to <empty> when the power is turned ON
or the NC is reset.

Advertising