Siemens R/GUD: R variables and global data
R, RG and GUD variables used for parameterization and global data in Siemens programs.
For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.
- Family
- Siemens
- Machine
- Milling, Turning, Mill-turn
- Risk
- High
- Example
- R1=10 / R[10]=20 / GUD
R1=10 / R[10]=20 / GUDMachine: Milling, Turning, Mill-turnRisk: High
Siemens
- Differentiate local, global and persistent variables; review GUD definition.
Other codes in Siemens
Frequently Asked Questions (FAQ)
What does Siemens R/GUD mean in a CNC program?
R, RG and GUD variables used for parameterization and global data in Siemens programs. In the catalogue it appears as "R variables and global data", within the Siemens family.
Can you give me an example of Siemens R/GUD?
R1=10 / R[10]=20 / GUD — R, RG and GUD variables used for parameterization and global data in Siemens programs.
Which machines use Siemens R/GUD?
Siemens R/GUD is used in: Milling, Turning, Mill-turn.
What should you watch out for with Siemens R/GUD?
High risk: a mistake here can cause a crash, a broken tool or an out-of-tolerance part. Simulate the program and dry-run it before cutting.
Related tools
CNC G-code Simulator
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.
CNC Alarms Guide
CNC Alarms and Solutions Guide. Enter the error code or symptom to find the cause and how to repair it at the machine.
Calculate cycle time
Estimate CNC turning and milling cycle time from G-code. Calculate parts per hour with a breakdown of cutting, rapids, canned cycles and tool changes.