Beruflich Dokumente
Kultur Dokumente
For all the above mentioned codes, the user must specify the X
and Y coordinates of the endpoint, where the cutter is supposed
to go at the end of this motion. In case of G00/G01, X & Y refer
to the endpoint of the line. In case of G02/G03, X & Y refer to
the endpoint of the arc. In case of an arc, one must also
specify I & J values, to denote the coordinates of the centre of
the arc.
Note, there is no need to specify the start point of the line /
arc in the motion codes. The end point of the previous line /
arc becomes the start point of the next line / arc and hence,
the controller already knows the start point of the line / arc.
For the very first cutter movement, the neutral position (also
called home position) of the cutter becomes the start point. In
general, the cutting machine operator brings the cutter at a
specific location (usually, one of the four corners of a
rectangular stock) before starting any cutting operation and
this point is called the neutral position.
Page 1 of 6
in some cases) indicates coordinates in mm and G70 (or, G20 in
some cases) indicates coordinates in inch. Some controllers may
not offer this flexibility and may always require the codes in
specific units only. Normally, the default unit is mm.
Page 2 of 6
The codes may be specified in certain controllers insist on
inserting the "+" sign in front of all the positive values of
X/Y/I/J fields. However, in general, one may omit the "+" sign
while writing non-negative X/Y/I/J values for most controllers.
Each cutting machine has a transverse axis and a rail axis. The
rail axis is usually bigger, offering longer cutting length as
compared to the transverse axis. It is necessary to know how +X
and +Y axes are located along the transverse and rail axes,
before loading a cnc code file on the cutting machine, because
the X-Y axes assumed by the cnc code file may not match with the
machine X-Y axes. If there is a mismatch, the codes in the cnc
file may have to be rotated by either 90, 180 or 270 degrees at
the time of cnc code generation itself. Most cad/cam post
processors allow the axes rotation facility at the time of cnc
code generation.
Page 3 of 6
default neutral position are related and must be defined
carefully.
Page 4 of 6
In most 2-D cutting applications, one must specify torch on /
off commands in the cnc file at the beginning / end of a cutting
cycle, using the relevant M-codes. These codes differ vastly
across different controllers and they can be found only from the
relevant controller manuals.
Most controllers can handle and ignore white spaces (space & tab
characters) within a cnc code file. Some controllers follow
strict specification regarding the white spaces, which can be
found from the relevant controller manual.
Page 5 of 6
Normally, a cnc code file begins with % sign. The code M02 or
M30 is used to denote the end of the program, usually followed
by a % sign in the last line. However, that is not mandatory for
all controllers.
Page 6 of 6