Home › G-codes › Siemens 840D 828D › SUPA
SUPA Suppress all offsets for one block
Siemens 840D 828D G-code · Mill and lathe
Skips settable and programmable frames, basic frame, handwheel offsets, external work offsets and PRESET for this block. The usual way to move to a fixed machine position.
Format
G0 SUPA X Y Z
Addresses
| Address | What it does |
|---|---|
X Y Z | Position in machine coordinates |
How it works
Non modal. Only acts in the block it is in.
Example program
G0 Z50 ; RETRACT IN PART COORDINATES
G0 SUPA Z0 D0 ; Z TO MACHINE ZERO, NO TOOL LENGTH
G0 SUPA X-300 Y0 ; TABLE TO FRONT
M30
G0 SUPA Z0 D0 ; Z TO MACHINE ZERO, NO TOOL LENGTH
G0 SUPA X-300 Y0 ; TABLE TO FRONT
M30
Example is in inch. Check offsets and clearances first.
Watch out for
- Tool offset stays active. Write D0 in the same block or before it if the tool length must be ignored.
- Program SUPA with the axes that should move. Other axes stay where they are.
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 SUPA in the app All Siemens 840D 828D G-codes