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

XX coordinate of the end point in millimetresoptional
YY coordinate of the end point in millimetresoptional
ZZ depth in millimetresoptional
VFeed rateoptional

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.

Bytes in the PGM: 20

Example

G1   Z10.000 V600

This line is taken from the machine-proven reference program.

Notes

  • 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

Related commands