Home › G-codes › Siemens 808D › ROT
ROT Programmable rotation, absolute
Siemens 808D G-code · Mill and lathe
Rotates the coordinate system in the active plane by RPL= degrees. ROT replaces the whole programmable frame, so an earlier TRANS, SCALE or MIRROR is cleared. ROT alone clears the programmable frame.
Format
ROT RPL=
Addresses
| Address | What it does |
|---|---|
RPL= | Rotation angle in degrees in the active plane G17 to G19 |
How it works
Active until the next frame command. Needs a block of its own.
Example program
G17 G54 ; XY PLANE, PART ZERO
ROT RPL=30 ; ROTATE 30 DEGREES AROUND PART ZERO
L10 ; MACHINE ROTATED FEATURE
ROT ; CLEAR PROGRAMMABLE FRAME
ROT RPL=30 ; ROTATE 30 DEGREES AROUND PART ZERO
L10 ; MACHINE ROTATED FEATURE
ROT ; CLEAR PROGRAMMABLE FRAME
Example is in inch. Check offsets and clearances first.
Watch out for
- ROT clears an earlier TRANS. To rotate around a shifted zero, program TRANS first, then AROT.
- Mainly used on the mill. The turning manual lists it but shows no turning example.
Related codes
ROT on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Siemens 840D 828D | Programmable rotation, absolute |
Every G-code for Siemens 808D in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open ROT in the app All Siemens 808D G-codes