Home › G-codes › Fadal › G17.1
G17.1 A and B word swap on
Fadal G-code · Mill
Fadal rotary option code that swaps the A and B words so a program written for one rotary axis drives the other.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G17.1
How it works
Modal until G17.2.
Example program
N1 G0 G40 G49 G80 G90 G17 (FORMAT 2 SAFE START)
N2 G17.1 (SWAP A AND B WORDS)
N3 G0 A90. (MOVES THE OTHER ROTARY AXIS)
N4 G17.2 (SWAP OFF)
N2 G17.1 (SWAP A AND B WORDS)
N3 G0 A90. (MOVES THE OTHER ROTARY AXIS)
N4 G17.2 (SWAP OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- Only for machines with the rotary option. Cancel with G17.2.
Related codes
G17.1 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| LinuxCNC Tormach | UV plane select |
Every G-code for Fadal 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 G17.1 in the app All Fadal G-codes