Fanuc System Variables
| Variable | Usage |
|---|---|
| Macro Arguments & General Purpose | |
#1–#33 | Macro call arguments |
#100–#149 | Probe values (if installed) |
#150–#199 | General-purpose variables not saved on power off |
#500–#550 | Probe calibration data (if installed) |
#551–#999 | General-purpose variables saved on power off |
| Tool Offsets | |
#2001–#2200 | Tool length offsets |
#2201–#2400 | Tool length wear |
#2401–#2600 | Tool diameter/radius offsets |
#2601–#2800 | Tool diameter/radius wear |
| System & Control | |
#3000 | Programmable alarm #3000=1 (ALARM) |
#3001 | Millisecond timer |
#3002 | Hour timer |
#3003 | Single block suppression |
#3004 | Override [FEED HOLD] control |
#3006 | Programmable stop with message #3006=1 (STOP) |
#3011 | Year, month, day |
#3012 | Hour, minute, second |
#3901 | Machine Parts |
#3902 | Required Parts |
| Modal Information | |
#4000 | Main Program Number |
#4001–#4022 | Previous block G-code group codes |
#4102 | Modal B Code |
#4107 | Modal D Code |
#4109 | Modal F Code |
#4111 | Modal H Code |
#4113 | Modal M Code |
#4114 | Modal Sequence Number |
#4115 | Modal Program Number |
#4119 | Modal S Code |
#4120 | Modal T Code |
#4130 | Modal P Code |
| Position & Coordinate Data | |
#5001–#5008 | Previous block end position |
#5021–#5028 | Present machine coordinate position |
#5041–#5048 | Present work coordinate position |
#5061–#5068 | Present skip signal position |
#5081–#5088 | Present tool offset |
#5101–#5108 | Servo Position Deviation |
#5201–#5208 | G52 work offsets |
#5221–#5228 | G54 work offsets |
#5241–#5248 | G55 work offsets |
#5261–#5268 | G56 work offsets |
#5281–#5288 | G57 work offsets |
#5301–#5308 | G58 work offsets |
#5321–#5328 | G59 work offsets |
| Additional Work Offsets | |
#7001–#7008 | G54.1 P1 additional work offsets |
#7021–#7028 | G54.1 P2 additional work offsets |
#7941–#7948 | G54.1 P48 additional work offsets |
| Extended Offsets | |
#10001–#10999 | Wear offset H-code (Offset #1–#999) |
#11001–#11999 | Geometry offset H-code (Offset #1–#999) |
#12001–#12999 | Wear offset D-code (Offset #1–#999) |
#13001–#13999 | Geometry offset D-code (Offset #1–#999) |
References
- Fanuc, Operator’s Manual / Parameter Manual, FANUC Corporation.
Have a question or want to contribute?
Contact us with corrections, additions, or topics you'd like covered.
Get in Touch