Pro codes · Siemens
TRANS / ATRANS / ROT — Programmable frames (Siemens)
Programmable frames. Sinumerik frames shift and rotate the coordinate system from the program without changing the work offset: TRANS sets a zero shift, ATRANS adds one, ROT/AROT rotate…
| Property | Value |
|---|---|
| Code | TRANS / ATRANS / ROT |
| Control | Siemens |
| Topic | Offsets and data |
| Syntax | TRANS X Y Z · ATRANS · ROT RPL=<angle> · AROT |
What it does
Sinumerik frames shift and rotate the coordinate system from the program without changing the work offset: TRANS sets a zero shift, ATRANS adds one, ROT/AROT rotate, MIRROR/AMIRROR mirror, SCALE scales. TRANS without values cancels all programmable frames.
Example
TRANS X50 Y30
AROT RPL=45
L100 (SUBPROGRAM)
TRANSTips
- The A-versions (ATRANS, AROT) are additive, the others replace earlier frames.
Options, numbers and parameters depend on the control model, the software version and the options the machine builder installed. Check the operator and parameter manual of your machine before you use a code for the first time, and run it in single block with low overrides.
More: offsets and data
- G10 L2 / L20 — Set a work offset from the program (Fanuc)
- G10 L10–L13 — Set tool offsets from the program (Fanuc)
- G54.1 P1–P48 — Additional work offsets (Fanuc)
- G51.1 / G50.1 — Programmable mirror image (Fanuc)
Frequently asked questions
What is TRANS / ATRANS / ROT on Siemens?
Programmable frames. Sinumerik frames shift and rotate the coordinate system from the program without changing the work offset: TRANS sets a zero shift, ATRANS adds one, ROT/AROT rotate, MIRROR/AMIRROR mirror, SCALE scales. TRANS without values cancels all programmable frames.
Was this page helpful?