Home › G-codes › Siemens 840D 828D › G111
G111 Polar coordinates, pole absolute
Siemens 840D 828D G-code · Mill and lathe
Sets the pole for polar coordinates in absolute work coordinates. Moves are then written with radius RP= and angle AP=. G110 sets the pole from the last position, G112 from the last pole.
Format
G111 X Y then G0 or G1 RP= AP=
Addresses
| Address | What it does |
|---|---|
X Y | Pole position in the active plane, absolute |
RP= | Polar radius from the pole |
AP= | Polar angle in degrees, measured from the first axis of the plane |
How it works
The pole stays until a new pole is set. Polar moves work with G0, G1, G2 and G3.
Example program
G17 G90 G54
G111 X50 Y50 ; POLE AT BOLT CIRCLE CENTER
G0 RP=30 AP=0 ; FIRST HOLE, RADIUS 30
Z2
…
G111 X50 Y50 ; POLE AT BOLT CIRCLE CENTER
G0 RP=30 AP=0 ; FIRST HOLE, RADIUS 30
Z2
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Write the pole block alone. The angle AP= counts counterclockwise from the plus X axis in G17.
- RP= and AP= are modal, so the next block only needs the value that changes.
Related codes
G111 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Work coordinate system 8 |
Every G-code for Siemens 840D 828D 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 G111 in the app All Siemens 840D 828D G-codes