43
CNC System Instruction
A Auxiliary variable
F To designate machining speed for G01, G02 and G03
Note 1:
The following rules are valid in the definitions below:
X[U]n
---
It is allowed to be either X or U and n stand for a value;
同理,
Y[V]n
----
It is allowed to be either Y or V, and n stand for a value;
PPn
----
It is allowed to be a combination of any two axes or one axis at least.
Note 2:
In command execution, the previous program has higher priority than the following one; for the same program, M, S and T command
haver higher priority than G command.
6.2. Coordinate System
This CNC system uses standard rectangular coordinate system, as shown in the figure below.
6.3. G: Basic Preparato-
ry Commands
G92: Reference Point Setting
Command
When developing a program, it is required to place the coordinate value(absolute coordinate) of machining origin point(reference point) at the
very beginning.
Format:
G92 Xn Yn
If G92 is not followed with X/Y coordinate values, then the current X/Y coordinate will be taken as reference point. Generally, when the origin
point of machine is used as
reference point
for positioning purpose, G92 will not be followed with X/Z values.
2
)
G90/G91: Absolute/Relative Coordinate Commands
When using G90, X/Y represent coordinate values and U/V represent the values relative to the current point; when using
G91, X/Y and U/V all represent the values relative to the current point.
Format: G90
Format: G91
Example 1:
G92 X0 Y0
G91 // Relative coordinate system
G00 X100 Y100 // Quickly reach point(100, 100), equivalent to G00/U100/V100
G01 X500 Y100 // Machining to point(600,200) along a straight line, equivalent G01/U500/V100
Example 2:
G92 X0 Y0
G90 // Absolute coordinate system, by default
G00 X100 Y100 // Quickly reach point(100, 100)
G01 X600 Y200 // Machining to point(600,200) along a straight line
+X
+Y
O
Fig. 6.1 Rectangular coordinate system