Home › G-codes › Siemens 840D 828D › CYCLE800
CYCLE800 Swivel plane
Siemens 840D 828D G-code · Mill
Tilts the working plane on a 5 axis or swivel head machine using a swivel data record set up by the machine builder. The tool then works in the new plane with normal G17 code.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
CYCLE800(_FR, _TC, _ST, _MODE, _X0, _Y0, _Z0, _A, _B, _C, _X1, _Y1, _Z1, _DIR ...)
Addresses
| Address | What it does |
|---|---|
_TC | Name of the swivel data record. 0 deselects it. |
_MODE | Swivel mode, bit coded. Sets axis by axis, solid angle, projection angle or direct. |
_X0 _Y0 _Z0 | Reference point before rotation |
_A _B _C | Rotation angles |
_X1 _Y1 _Z1 | Zero point after rotation |
_DIR | Preferred direction of the rotary axes |
How it works
Modal. The swivel frame stays until CYCLE800 is called again or deselected.
Example program
T4 D1 ; END MILL
M6
CYCLE800(1,"TC1",0,57,0,0,0,0,30,0,0,0,0,-1) ; SWIVEL B30, VALUES FROM SCREEN
G0 X0 Y0 Z50 ; WORK IN TILTED PLANE
…
M6
CYCLE800(1,"TC1",0,57,0,0,0,0,30,0,0,0,0,-1) ; SWIVEL B30, VALUES FROM SCREEN
G0 X0 Y0 Z50 ; WORK IN TILTED PLANE
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Fill in the call from the CYCLE800 input screen. The parameter list changes between software versions.
- CYCLE800() with no values deselects the swivel record and the swivel frames.
- Check retract settings so the head clears the part before it swivels.
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 CYCLE800 in the app All Siemens 840D 828D G-codes