Fanuc Robot System Variables Pdf Page
If you're creating a reference document for FANUC Robot System Variables, your goal is to provide a clear, structured guide for programmers and maintenance technicians. These variables control everything from motion performance to hardware configurations.
Below is an outline and sample content you can use to draft your PDF. 1. Introduction to System Variables
System variables (prefixed with $) are internal memory locations that store the robot's configuration, status, and control parameters.
Accessing Variables: On the Teach Pendant, navigate to MENU > SYSTEM > Variables.
Safety Warning: Modifying certain system variables can change robot behavior drastically. Always perform a Control Start and back up your system before making changes. 2. Essential Motion & General Variables
These are frequently adjusted during commissioning to optimize cycle times or refine robot behavior.
$SCR_GRP[1].$M_POS_ENB: Enables/disables the display of the current position on the screen.
$MCR.$GENOVERRIDE: Sets the general override speed (0-100%). Useful for forcing a specific speed via background logic.
$SHFTOV_ENB: Enables or disables the shift-override function, which allows the robot to maintain a specific speed during manual jogs. fanuc robot system variables pdf
$PAYLOAD_ENB: Used to toggle the Payload Schedule features on or off. 3. Application-Specific Variables
Different FANUC models, from SCARA to heavy-payload arms, use specific variables for their tooling.
$MNUTOOL[1,1]: Defines the TCP (Tool Center Point) coordinates for Tool 1.
$MASTER_DONE: A boolean that indicates if the robot has been successfully mastered. If FALSE, the robot cannot move in Cartesian coordinates.
$DMR_GRP[1].$MASTER_COUN: Stores the pulse counts for each axis after mastering; critical for recovery after a pulse coder battery failure. 4. Advanced Integration (Karel & Software)
For developers using Karel programming or ROBOGUIDE simulation, these variables manage background tasks.
$KAREL_ENB: Set to 1 to enable the execution of Karel programs.
$PWR_NORMAL: Controls how the robot behaves after a power cycle (e.g., Hot Start vs. Cold Start). If you're creating a reference document for FANUC
$RESTART_REG: Defines which program or line the robot should resume from after a pause or emergency stop. 5. Troubleshooting & Maintenance Table Variable Name Default Value $FAST_PUNCH 0 Speeds up the I/O processing for high-speed applications. $CR_GROUP[1].$OVERRIDE 100 Limits the maximum speed for collaborative robots. $ERR_PURGE 0
Automatically clears certain non-critical error messages from the Teach Pendant.
Here are some key points related to FANUC robot system variables:
Overview of System Variables
FANUC robot system variables are pre-defined variables that can be used in robot programs to access and control various aspects of the robot's operation. These variables are used to store and retrieve data related to the robot's position, speed, and other parameters.
Types of System Variables
There are several types of system variables in FANUC robots, including:
- Robot position variables: These variables store the current position of the robot, including the coordinates of the end effector.
- Speed variables: These variables control the speed of the robot's movements.
- Torque variables: These variables control the amount of torque applied by the robot's motors.
- Input/output variables: These variables control the robot's input/output interfaces, such as digital and analog inputs and outputs.
Common System Variables
Some common FANUC robot system variables include:
$POS: Current position of the robot$SPEED: Current speed of the robot$TORQUE: Current torque applied by the robot's motors$DI: Digital inputs$DO: Digital outputs$AI: Analog inputs$AO: Analog outputs
Using System Variables in Programs
System variables can be used in robot programs to perform a variety of tasks, such as:
- Motion control: Use system variables to control the robot's movements, such as setting the speed and position of the end effector.
- Input/output control: Use system variables to control the robot's input/output interfaces, such as reading digital inputs and setting digital outputs.
- Data storage and retrieval: Use system variables to store and retrieve data related to the robot's operation, such as the current position and speed.
References
For more information on FANUC robot system variables, refer to the FANUC Robot Programming Manual or the FANUC Robot System Variables PDF manual.
Here’s a helpful review of a typical FANUC Robot System Variables PDF (assuming you’re referring to the official FANUC documentation, e.g., the FANUC Robot Series R-30iB/R-30iB Mate Controller System Variables Manual or similar):
Step 4: Understand the Data Type
A common error is assigning a decimal to an integer variable or a string to a Boolean. Check the PDF:
BOOL= True (1) or False (0)INT= Whole number (1, 2, 500)REAL= Decimal number (1.5, 0.003)STRING= Text within quotes
7. Alternative: FANUC Manuals Collection (Third Party)
Some technical forums (e.g., Robot-forum.com, PLCtalk.net) have user-uploaded legacy PDFs, but their accuracy isn’t guaranteed. Always compare with an official source. Robot position variables : These variables store the
5. Quick Reference Table (Most Useful Variables)
| Variable | Type | Purpose |
|----------|------|---------|
| $MCR.$GENOVERRIDE | INT | 0–100% overall speed |
| $SCR.$RMT_MASTER | BOOL | FALSE = Local, TRUE = Remote |
| $DMR_GRP[1].$MROT[1] | REAL | Master rotation count for axis 1 |
| $ALARM_ST[1] | STRING[80] | Current alarm description |
| $SV_OFF | BOOL | Servo on/off status (write TRUE to kill servos) |
| $IO_DO[1].$STATE | BOOL | Digital output 1 state |
| $UFRAME[1] | XYZWPR | User frame 1 coordinates |
| $UTOOL[1] | XYZWPR | User tool 1 definition |
Problem 1: “Write Protected” Error
Cause: You are trying to modify a system variable without the proper access level.
Solution: Log in as a higher-level user (e.g., MENU > NEXT > SETUP > Security). Use code 1 (default Administrator) or a custom code.
Using ROBOGUIDE (simulation software):
Tools→Variable Viewer→Export to CSV
4. Variable Change Procedures
- Step-by-step: how to view/modify variables from teach pendant (MENU → System → Variables)
- Instructions for Controlled Start access
- How to set variables via
.TPor.LSprograms (e.g.,R[1]=$MCR.$GENOVERRIDE)
How FANUC presents variables in PDFs
- Official FANUC manuals typically include:
- An index of system variables with variable name/ID.
- Column entries: variable name, description, data type, read/write permissions, valid range, default value, notes on applicability (controller series, firmware version, optional modules required).
- Examples and sample TP/KAREL snippets showing read/write usage.
- Cross-references to I/O mapping tables (for variables reflected to/from PLC I/O or Focas addresses).
- Common PDF documents to consult (by section names you’ll find in FANUC PDFs):
- “System Variables” or “System Variable Reference”
- “Controller Reference Manual”
- “TP Program Reference” (for usage in teach pendant programs)
- “KAREL Reference” (for programmatic access)
- “Focas2/Host Interface” or “External Communication” (for PC access)
- “Alarm/Event Reference” (for alarm-related system variables)