G1: straight cuts and plunges
G1 is a feed-rate move. With only a Z value it plunges to the working depth, which is the normal way a program starts cutting. With X and Y it cuts a straight line to that point.
Syntax
G1 [X<mm> Y<mm>] [Z<mm>] [V<feed>]UnverifiedThe encoding is confirmed by the reference programs, but no file of ours in this shape has been run on a machine. Produced with a warning, refused in strict mode.
Parameters
X | X coordinate of the end point in millimetres | optional |
Y | Y coordinate of the end point in millimetres | optional |
Z | Z depth in millimetres | optional |
V | Feed rate | optional |
How it is written to PGM
A straight cut becomes a record of 20 bytes: six of framing, the end point, and the feed class where the file restates it. A plunge, which names Z and no X or Y, produces no record of its own: it sets the depth carried by the rapid that opened the path.
Example
G1 Z10.000 V600Notes
- A G1 with no X, Y or Z does nothing and is refused.
- The first depth set by a plunge is the one written. A later change of depth converts with a warning.
- In strict mode a program containing a cutting G1 is refused rather than converted.
Messages this command can produce
- Straight cut not yet run from our outputUnverified
- Feed converted to a classUnverified
- Cutting before any depth was setUnsupported
- Depth change after the first depthUnverified
- No cutting moves foundUnsupported