Welcome to the Fanuc System Variables Atlas.
System variables provide direct access to machine information, controller status, positions, offsets, tools, alarms, timers, and automation functions.
They are the foundation of advanced CNC automation.
════════════════════════════════════════════════════════════
SECTION 1 — WHAT ARE SYSTEM VARIABLES
════════════════════════════════════════════════════════════
System variables allow programs to read machine data.
Examples
Current position
Current tool
Active G-codes
Work offsets
Timers
Alarms
Machine status
Applications
Automation
Probing
Adaptive machining
Monitoring
Smart manufacturing
════════════════════════════════════════════════════════════
SECTION 2 — POSITION VARIABLES
════════════════════════════════════════════════════════════
5001
Machine X position
5002
Machine Y position
5003
Machine Z position
5021
Current work coordinate X
5022
Current work coordinate Y
5023
Current work coordinate Z
Applications
Position monitoring
Verification
Adaptive programming
════════════════════════════════════════════════════════════
SECTION 3 — ACTIVE G-CODE VARIABLES
════════════════════════════════════════════════════════════
4001
Motion mode
4003
Plane selection
4006
Units mode
Applications
Program validation
Mode detection
Safety checks
════════════════════════════════════════════════════════════
SECTION 4 — TOOL VARIABLES
════════════════════════════════════════════════════════════
4120
Current tool number
Applications
Tool verification
Tool life systems
Automatic setup
════════════════════════════════════════════════════════════
SECTION 5 — ALARM VARIABLES
════════════════════════════════════════════════════════════
3000
Custom alarm
3006
Operator message
Applications
Safety systems
Setup verification
Automation alerts
════════════════════════════════════════════════════════════
SECTION 6 — TIMER VARIABLES
════════════════════════════════════════════════════════════
Cycle tracking
Runtime monitoring
Maintenance intervals
Tool life management
════════════════════════════════════════════════════════════
SECTION 7 — ADVANCED APPLICATIONS
════════════════════════════════════════════════════════════
Automatic probing
Fixture verification
Tool monitoring
Adaptive offsets
Production tracking
Lights-out machining
════════════════════════════════════════════════════════════
FINAL PRINCIPLE
System variables transform CNC machines into intelligent manufacturing systems.
Understanding them allows programmers to monitor, control, automate, and optimize machining processes far beyond traditional G-code programming.
Leave a comment