CNC Machinist Calculator Ultra

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

SCALE Programmable scaling

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

Scales the axes by the given factors. SCALE replaces the programmable frame. ASCALE adds to the current one.

Format

SCALE X Y Z

Addresses

AddressWhat it does
X Y ZScale factor for each axis

How it works

Modal until the next frame command. SCALE with no values clears the programmable frame.

Example program

G54
L50 ; ORIGINAL SIZE
SCALE X2 Y2 ; DOUBLE SIZE
L50 ; SAME CONTOUR TWICE AS LARGE
…

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

Watch out for

Related codes

TRANS · MIRROR

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

App Store Google Play