Fanuc · Subprogram and macro
Fanuc alarm 115: Illegal variable number
Most often: variables #150 to #199 or #532 and higher without the option. First step: use #100 to #149 and #500 to #531, which exist on most controls.
On this page
What it means
The variable number does not exist on this control. On 0i-D, 0i-F and the 30i series the same alarm has the number PS0115.
Common causes
- Variables #150 to #199 or #532 and higher without the option
- Calculated variable number out of range
How to clear it
- Use #100 to #149 and #500 to #531, which exist on most controls
- Check the calculation of the number
Before you continue: After the correction do not start in the middle of the program. Go back to the last tool change, use single block and a low rapid override, and watch the distance to go.
Related codes
Same group: subprogram and macro
- Fanuc alarm 076: Address P not defined
- Fanuc alarm 077: Sub program nesting error
- Fanuc alarm 078: Number not found
- Fanuc alarm 112: Divided by zero
- Fanuc alarm 114: Format error in macro
- Fanuc alarm 124: Missing end statement
- Fanuc alarm 128: Illegal macro sequence number
Number and message follow the Fanuc 0i, 16, 18 and 21 series. Wording can differ a little between models. Alarms from 1000 upwards and messages from 2000 upwards come from the machine builder in most cases: look in the manual of the machine, not of the control. Fanuc and Grbl are names of their owners. This site is independent.
The alarm comes back?
Post the block before the alarm, your control model and what you have checked.
Ask the community