Home › G-codes › Siemens 840D 828D › G505
G505 Extra settable work offsets G505 to G599
Siemens 840D 828D G-code · Mill and lathe
Activates further settable work offsets beyond G57. How many exist is set by the machine builder in machine data.
Format
G505 to G599
How it works
Modal, G group 8 (settable work offset). Cancel with G500.
Example program
G90 G505 ; FIXTURE 5
G0 X0 Y0 Z50 ; PART ZERO OF G505
G506 ; NEXT FIXTURE
G0 X0 Y0 Z50 ; PART ZERO OF G505
G506 ; NEXT FIXTURE
Example is in inch. Check offsets and clearances first.
Watch out for
- Not every number up to G599 exists on every machine. A missing one gives an alarm.
- Use them for many fixtures or many parts on a tombstone.
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 G505 in the app All Siemens 840D 828D G-codes