spinner
{{ menu }}

Fanuc Custom Macro B variables list

Common system variables

Name Meaning Description
#0 null This is a read-only variable that contains "null" meaning the variable exists but is empty. This variable is typically used to test other variables for null or to clear the value of a variable.
#1 ... #33 Local variables Local variables are most commonly used to get values from G65 or G66. Their values are cleared by M99 (the value will be reassigned as null) at the end of the subroutine. Local variable values are set to null when the power is turned off.
#100 ... #149

#500 ... #531
Common variables Common variables allow you to read their values from other programs using macros.
Note that #100 ... #149 will lose their values (values will be set to null) when power is turned off.
#500 ... #531 in contrast to the example above, they keep their value even after the power is turned off.
#1000 .... System variables System variables contain a lot of useful information from the control system, such as tool position, tool wear or tool compensation, and many other. Read more about system variables.
back to the manual