CNC Machinist Calculator Ultra

Home › G-codes › Siemens 840D 828D › AROT

AROT Programmable rotation, additive

Siemens 840D 828D G-code · Mill and lathe

Adds a rotation to the current programmable frame. Earlier TRANS and ROT stay active, so it rotates around the shifted zero.

Format

AROT RPL= or AROT X Y Z

Addresses

AddressWhat it does
RPL=Rotation angle in degrees in the active plane
X Y ZRotation in degrees around each axis

How it works

Modal until the next frame command.

Example program

TRANS X50 Y50 ; ZERO TO CENTER
L40 ; FIRST SLOT
AROT RPL=90 ; ROTATE 90 MORE
L40 ; SECOND SLOT
…

The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

ROT · ATRANS · REPEAT

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 AROT in the app All Siemens 840D 828D G-codes

App Store Google Play