Home › G-codes › Siemens 840D 828D › TRACYL
TRACYL Cylinder surface transformation
Siemens 840D 828D G-code · Lathe
Lets you program a groove or contour on the outside of a cylinder as if it were flat. The control turns the circumference into the C axis. The value is the working diameter.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
TRACYL(d)
Addresses
| Address | What it does |
|---|---|
d | Working diameter in mm |
How it works
Modal. Cancel with TRAFOOF.
Example program
SPOS=0 ; SPINDLE AS C AXIS
TRACYL(40) ; WORKING DIAMETER 40 MM
G19 G0 Y0 Z-10 ; START ON SURFACE
G1 X36 F100 ; PLUNGE 2 MM DEEP
…
TRACYL(40) ; WORKING DIAMETER 40 MM
G19 G0 Y0 Z-10 ; START ON SURFACE
G1 X36 F100 ; PLUNGE 2 MM DEEP
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Axis names and the plane used during TRACYL depend on the machine setup. Check the machine builder example.
- Switch the spindle to axis mode before TRACYL.
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 TRACYL in the app All Siemens 840D 828D G-codes