上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
64 Specialized, Concentrated, Focused
G91 G00 Z=#FC50
G91 G00 Z=-#FC50
G91 G01 Z=-ABS (#FC5) F=#FC7
M17
The variables defined in the canned cycle and their meanings:
X--#FC1---- X-coordinate of the hole center
Y--#FC2---- Y-coordinate of the hole center
Z--#FC3---- workpiece coordinate of Z plane (hole depth, negative)
R--#FC4---- workpiece coordinate of R plane (changing from the rapid traverse speed to the
cutting speed in R plane, >0)
Q--#FC5---- cutting depth each time (incremental and positive); offset value in G76/G87
G99/G98--#FC12---G99->1; G98->0
G90/G91--#FC13---G91->1; G90->0
Z0--#FC14---Initial point height
The list of named parameters is as shown blow:
No.
Parameter
Parameter Name
Type
Remarks
01
CURMACHPOS.X
Mechanical
coordinate of current
point (X axis)
DOUBLE
Mechanical coordinate of current
point (X axis)
02
CURMACHPOS.Y
Mechanical
coordinate of current
point (Y axis)
DOUBLE
Mechanical coordinate of current
point (Y axis)
03
CURMACHPOS.Z
Mechanical
coordinate of current
point (Z axis)
DOUBLE
Mechanical coordinate of current
point (Z axis)
04
CURWORKPOS.X
Workpiece coordinate
of current point (X
axis)
DOUBLE
Workpiece coordinate of current
point (X axis)
05
CURWORKPOS.Y
Workpiece coordinate
of current point (Y
axis)
DOUBLE
Workpiece coordinate of current
point (Y axis)
06
CURWORKPOS.Z
Workpiece coordinate
of current point (Z
axis)
DOUBLE
Workpiece coordinate of current
point (Z axis)
07
INPORTMAP
Mapping of port input
INT
Status of port input
08
OUTPORTMAP
Mapping of port
output
INT
Status of port output
09
SAFEHEIGHT
Safe height
DOUBLE
This height is relative to the
workpiece origin, and only valid
during backing to workpiece
origin and resuming breakpoint.
10
ISYREVAXIS
Y axis as the rotary
axis
BOOL
Whether to set Y as rotary axis
11
WPREVDIAM
Diameter of rotary
workpiece
DOUBLE
Diameter of rotary workpiece
being currently machined
Summary of Contents for Ncstudio
Page 74: ...RMB 21 00 ...