In simple terms, system variables are global memory locations within the FANUC robot’s control software (R-30iA, R-30iB, or earlier models like RJ-3). They store configuration data, status information, and runtime parameters.
Unlike registers (R[1], R[2]) which are user-defined, system variables are predefined by FANUC. They control everything from the robot’s hardware configuration to software option behaviors.
Common uses include:
For the purpose of clarity, system variables can be categorized into four primary functional domains: I/O Status, Motion & Position, System Configuration, and Error Handling.
The real power of having the FANUC system variables PDF is integrating these variables into automated logic. fanuc robot system variables pdf
In TP (Teach Pendant) Language:
// Set a digital output based on a system variable DOUT[10] = $DIN[5] ; // Mirror input 5 to output 10
// Wait for collision guard to reset WAIT ($PARAM_GROUP[1].$COLL_GUARD = 0)Robot position and motion state
In KAREL (Advanced Programming):
PROGRAM test_vars
VAR
status : INTEGER
BEGIN
-- Read system variable
GET_VAR(entry, '*SYSTEM*', '$MCR.$GENOVERRIDE', status)
-- Write new value
SET_VAR(entry, '*SYSTEM*', '$MCR.$GENOVERRIDE', 75, status)
END test_vars