Home › G-codes › Siemens 840D 828D › G1
G1 Linear interpolation at feed rate
Siemens 840D 828D G-code · Mill and lathe
Moves the tool in a straight line at the programmed feed F. Used for all straight cutting moves. CHF= and RND= can add a chamfer or a round at the end of the block.
Format
G1 X Y Z F [CHF=] [RND=]
Addresses
| Address | What it does |
|---|---|
X Y Z | End position |
F | Feed rate, mm per min with G94 or mm per rev with G95 |
CHF= | Chamfer length between this block and the next |
RND= | Radius blended between this block and the next |
How it works
Modal, G group 1 (motion).
Example program
G0 X0 Y0 Z2 ; ABOVE START
G1 Z-2 F150 ; FEED TO DEPTH
G1 X80 F500 ; CUT ALONG X
G1 Y40 RND=5 ; CUT ALONG Y, 5 MM ROUND AT CORNER
…
G1 Z-2 F150 ; FEED TO DEPTH
G1 X80 F500 ; CUT ALONG X
G1 Y40 RND=5 ; CUT ALONG Y, 5 MM ROUND AT CORNER
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- F is modal. The first G1 after power on or reset needs an F or the control alarms.
- In G95 the F value is per spindle revolution. F300 there means 300 mm per rev, so check the active feed mode.
Related codes
G1 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Linear interpolation at feed rate |
| Haas NGC | Linear interpolation feed motion |
| Mazak (EIA) | Linear interpolation, feed move |
| Okuma OSP | Linear interpolation |
| Mitsubishi M70 M80 | Linear feed move |
| Brother Speedio | Linear interpolation |
| Heidenhain TNC (ISO) | Straight line at feed rate, Cartesian |
| Fagor 8055 8065 | Linear interpolation |
| LinuxCNC Tormach | Linear feed move |
| Mach3 Mach4 | Linear feed move |
| Centroid CNC12 Acorn | Linear feed move |
| Hurco WinMax (NC) | Linear feed move |
| Fadal | Linear interpolation at feed |
| Swiss (Citizen Star) | Linear feed move |
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 G1 in the app All Siemens 840D 828D G-codes