Home › G-codes › Hurco WinMax (NC) › G07.2
G07.2 Cylindrical rotary wrap on
Hurco WinMax (NC) G-code · Mill
Wraps X, Y and Z motion onto a cylinder on 4 and 5 axis machines. X wraps around the cylinder, Y runs along its axis and Z is the radius.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G07.2 [X Y Z] {A or B or C} [P] [L] [Q] [H] [F]
Addresses
| Address | What it does |
|---|---|
X Y Z | Cylinder location in the current system |
A B C | Cylinder axis direction, the value is the mapping radius |
P | Lead or lag distance |
L | Retract distance along the tool vector |
Q | Angle between cylinder axis and tool, default 90 |
H | Rotation of the feature before wrapping |
F | F1 turns ASR off |
How it works
Modal. Cancel with G07.3.
Example program
T1 M06 (.125 END MILL)
G90 G54 G00 X0. Y0. S8000 M03 (START)
G43 H01 Z2. (LENGTH OFFSET)
G07.2 A1.5 (WRAP AROUND X AXIS ON 1.5 RADIUS)
…
G90 G54 G00 X0. Y0. S8000 M03 (START)
G43 H01 Z2. (LENGTH OFFSET)
G07.2 A1.5 (WRAP AROUND X AXIS ON 1.5 RADIUS)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Only one of A, B or C is allowed, and the radius cannot be zero. A negative radius wraps to the inside.
- A vector form with I J K and U V W R also exists for odd setups.
- Tool changes are safe inside the wrap because the control uses ASR command buffering.
Related codes
Every G-code for Hurco WinMax (NC) 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 G07.2 in the app All Hurco WinMax G-codes