Beijing Starfire Control Technology Co.,Ltd.
北京斯达峰控制技术有限公司
Model SF-2012AH-QG
Cutting Machine
(
C002
)
9
6.3. G: Basic Preparatory Commands
1
)
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/Ycoordinate values, then the current X/Ycoordinate will be taken as reference point. Generally, when
theoriginpointofmachineisusedas
referencepoint
forpositioningpurpose,G92willnotbefollowedwithX/Zvalues.
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
Exemple 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
Exemple 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
3
)
G20/G21: English/Metric Commands
G20 stands for English system. Following G20, the values of X
,
Y
,
I
,
J
,
R
,
U
,
V
,
H and F are all in English
unit
;
G21 stands for metric system. Following G21, the values of X
,
Y
,
I
,
J
,
R
,
U
,
V
,
H and F are all in metric
unit
;
Format:
G20
Format:
G21
+Y
+280
+
120
+X
Current Torch Position
Expected Torch Position
E.g.:G92
X0
Y0
G00
X120 Y280
(or
G00 U120 V280)
M02