上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
12 Specialized, Concentrated, Focused
G992 X0 Y0
M17
O3456
3. Add the following contents at the end of the processing file:
G00 G90 X=#1
G906
G992 X0
M17
Method two:
G992 I_J_K
1. Delete M30 command in the processing file.
2. Add the following contents at the beginning of the processing file:
#1=30
’X offset value
#2=40
’Y offset value
#3=30
’machining quantity along X axis
#4=30
’machining quantity along Y axis
G65 P3455 L=#4
G00 G90 X=-#1*#3 Y=-#2*#4
G992 I=-#1*#3 J=-#2*#4
M30
O3455
G65 P3456 L=#3
G00 G90 X=-#1*#3 Y=#2
G906
G992 I=-#1*#3 J=#2
M17
O3456
3. Add the following contents at the end of the processing file:
G00 G90 X=#1
G906
G992 I=#1
M17
Both the above two programs can realize the related array machining. The first 4 parameters can
be adjusted and customized.
Note:
G992 X_Y_Z_ sets the current point as a specified point in the new coordinate system.
G992 I_J_K_ translates the original coordinate system a specified distance to form into a new
coordinate system. Comparatively speaking, G992 I_J_K_ is more efficient because it avoids the
redundant rapid traverse instruction produced by origin offset, while G992 X_Y_Z_ sets an origin after
backing to the original origin. During array machining, G92 command should be deleted manually
because it is not supported by the system.
Summary of Contents for Ncstudio
Page 74: ...RMB 21 00 ...