Home › G-codes › Siemens 840D 828D › MIRROR
MIRROR Programmable mirroring
Siemens 840D 828D G-code · Mill and lathe
Mirrors the named axes. The control swaps G2 and G3 and G41 and G42 itself. MIRROR replaces the programmable frame. AMIRROR adds to it.
Format
MIRROR X0 Y0 Z0
Addresses
| Address | What it does |
|---|---|
X0 Y0 Z0 | Axes to mirror. The value is not used but must be written. |
How it works
Modal until the next frame command. MIRROR with no values clears the programmable frame.
Example program
G54
L60 ; RIGHT HAND PART
MIRROR X0 ; MIRROR IN X
L60 ; LEFT HAND PART
…
L60 ; RIGHT HAND PART
MIRROR X0 ; MIRROR IN X
L60 ; LEFT HAND PART
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Write frame commands in a block of their own.
- Mirroring one axis turns climb milling into conventional milling. Check finish and tool load.
Related codes
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 MIRROR in the app All Siemens 840D 828D G-codes