Back to GSM Code List

TRANS/ROT/SCALE/MIRROR: Siemens transformations

Siemens functions to move, rotate, scale or mirror the system/program.

For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.

Family
Siemens coordinates
Machine
Milling, Mill-turn
Risk
High
Example
TRANS X10 Y0 / ROT Z45
E.g.:
TRANS X10 Y0 / ROT Z45

Machine: Milling, Mill-turnRisk: High

Siemens

TRANS / ATRANS / ROT / AROT / SCALE / MIRROR
  • They are very useful for families of pieces, but dangerous if they remain active.
  • Cancels/restores transformations before changing operations or subprograms.

Fanuc · Haas · Fagor

  • Fanuc: Partial equivalences: G52, G68/G69, G51/G50 depending on installed option.
  • Haas: Haas can support rotation/scaling depending on options; confirm manual.
  • Fagor: Fagor has its own transformation functions/cycles depending on the model.

Related:

Frequently Asked Questions (FAQ)

What does TRANS/ROT/SCALE/MIRROR mean in a CNC program?

Siemens functions to move, rotate, scale or mirror the system/program. In the catalogue it appears as "Siemens transformations", within the Siemens coordinates family.

How is TRANS/ROT/SCALE/MIRROR written on each control?

Siemens: TRANS / ATRANS / ROT / AROT / SCALE / MIRROR. The exact syntax depends on the control version and the machine parameters: always confirm with the manufacturer's manual.

Can you give me an example of TRANS/ROT/SCALE/MIRROR?

TRANS X10 Y0 / ROT Z45 — Siemens functions to move, rotate, scale or mirror the system/program.

Which other codes is TRANS/ROT/SCALE/MIRROR combined with?

In practice TRANS/ROT/SCALE/MIRROR appears alongside these codes: G52/G92, G68/G69, G51. It is worth reading them together, because the state one leaves behind conditions what the next one does.

Which machines use TRANS/ROT/SCALE/MIRROR?

TRANS/ROT/SCALE/MIRROR is used in: Milling, Mill-turn.

What should you watch out for with TRANS/ROT/SCALE/MIRROR?

High risk: a mistake here can cause a crash, a broken tool or an out-of-tolerance part. Simulate the program and dry-run it before cutting.

Related tools