By specifying an instruction, this function can be combined with the canned cycle axis shift call function to implement hole machining grids (like drilling) at a point in the same hole in a straight line grid .
1. List of functions
2. Program format for calculating coordinates
The programming format is as follows
Hp__ Vp__ I__ J__ K__ P__ Q__ R__,Hp, Vp represent the coordinate value at the start of coordinate calculation, I, J, K, P, Q, R, parameters used in coordinate calculation.
2.1. Omit (OMIT)
[功能]
This function is usually used in conjunction with other coordinate calculation functions. It can suppress the output of coordinate values calculated using the coordinate calculation function.
[编程格式]
OMIT Rn1__ Rn2__ Rn3__Rnm__, number of R coordinate point to delete (n) (m 30)
(1) A pattern order can specify up to 30 omitted points.
(2) The maximum number that can be used by R is 65535
If items 1 and 2 are not met in a mode, then the mode must be split into two or more modes.
Example
NCYL G81 R__Z__F
OMIT R3 R7
BHC Xo Yo I50 J45 K8
In this example, the drilling cycle required by G81 is performed at several points on the circle (BHC) with (X0 Y0) as the reference point since the drilling cycles specified by R3 and R7 are not performed at the third and seventh points.
2.2. Restart (RSTRT)
[功能]
This function restarts machining from the desired point among the points whose coordinate values have been calculated using the coordinate calculation function.
[编程格式]
RSTRT Rn, R number of the coordinate point (n) where processing is restarted
Example
G81 Xo Yo R__Z__F__H
RSTRT R12
GRDX I20 J10 K4 P3
In this example, the drilling cycle required by G81 consists of several points defined in the grid pattern (GRIDX) with (X0 Y0) as the reference point.
RSTRT The design of R12 is to start drilling from the 12th hole and skip holes from 1st to 11th.
2.3. Fixed Angle Line Drawing (LAA)
This function calculates the coordinates of points arranged at irregular intervals (d1 d2, etc.) on a line forming an angle with the horizontal axis
Here, the actual position or the point defined by the specified coordinate value is used as the reference point. The number of these points (n) must be specified when the points are arranged at fixed intervals.
[编程格式]
LAA Hp__Vp__I ± d1Kn1 ± d2 Km2 J ±θ
Hp coordinate value of the reference point on the horizontal axis
Vp coordinate value of the reference point on the vertical axis
I interval d When the coordinate value is set with a negative value, it shall be calculated on the straight line extending in the direction of symmetry with reference to the starting point.
K The maximum number of points n arranged at intervals d is 65535
J The angle θ between the line and the horizontal axis
Example
LAA Xo Yo I20 K2 I25 (K1) I15 K3 J20, where K1 may be omitted.
2.4.Grid (GRDX GRDY)
This function calculates the coordinates of points arranged on a grid. The coordinates consist of nx points parallel to the horizontal axis and separated by the distances dx and ny points on the axis parallel to the vertical axis and separated by dy.
–GRDX calculates coordinate values along the horizontal axis from the reference point
–GRDY coordinate values are calculated along the vertical direction of the reference point
[编程格式]
GRDX(GRDY) Hp__Vp__I ± dx J ± dy Knx Pny
Hp coordinate value of the reference point on the horizontal axis
Vp coordinate value of the reference point on the vertical axis
I The horizontal axis interval dx dx is a positive value and is calculated in the positive horizontal direction. dx is a negative value and is calculated in the negative direction of the horizontal axis.
J Vertical axis interval dy dy is a positive value calculated in the positive direction of the vertical axis dy is a negative value calculated in the negative direction of the vertical axis
K the number of points on the horizontal axis nx
P is the number of points on the vertical axis ny
GRDX Xo Yo I25 J – 15 K4 P3
2.5. Bolt Hole Ring (BHC)
[功能]
This function calculates the coordinate values of points arranged on the circumference of a circle centered on the actual position or a point defined by the specified coordinate value
[编程格式]
BHC Hp__Vp__ Ir J ±θ K ± n
Horizontal value of the coordinates of the center of the circle Hp
Horizontal value Vp of the coordinate of the center of the circle
I radius of the circle
J starting angle
K points n positive value counterclockwise drilling n negative value clockwise rotation n maximum value 65535
Example:
BHC Xo Yo I50 J45 K8
2.6 arcs (ARC)
[功能]
Calculates the coordinate values of points arranged on the circumference of a circle centered on the actual location or a point defined by the specified coordinate value.
[编程格式]
ARC Hp__Vp__ Ir__ Q ±θ1 Kn1 Q ±θ2 kn2
Horizontal value of the coordinates of the center of the circle Hp
Horizontal value Vp of the coordinate of the center of the circle
I radius of the circle
The angular distance Q must be counterclockwise
K rating
Example
ARC Xo Yo I50 Q15 K3 Q30 K2 J30
2.7 Surfacing function (FMILF)
[功能]
Surface milling uses the specified coordinate value as a reference point to perform cyclic processing on the surface processing area of the workpiece specified by the lengths of the X and Y axes (I and J) with a certain cutting depth ( Q) until the forming surface (Z) reaches finishing precision (K)
[格式]
FMILF X ± x Y ± y Z ± z I ± dx J ± dy kfi P% Qdp R ± rz Dnn F__
Coordinate point
Y y coordinate point
Machined Z plane
I x plane length
J y length of the plane
K machining allowance
P percentage of chip width
Q Chip depth
R tool lifting height for rapid traversing
Tool radius D
Feed speed F
Daguang focuses on providing solutions such as precision CNC machining services (3-axis, 4-axis, 5-axis machining), CNC milling, 3D printing and rapid prototyping services.









