![Mitsubishi Electric M700V Series Скачать руководство пользователя страница 298](http://html.mh-extra.com/html/mitsubishi-electric/m700v-series/m700v-series_programming-manual_238523298.webp)
13. Program Support Functions
13.2 Special Fixed Cycle
286
Grid (G37)
G37 X x1 Y y1 I Dx P nx J Dy K ny ;
X, Y
:Designation of start point coordinates. This will be affected by G90/G91.
I
:Interval Dx of the X axis. The unit will follow the input setting unit. If Dx is positive,
the interval will be in the forward direction looking from the start point, and when
negative, will be in the reverse direction looking from the start point.
P
:No. of holes nx in the X axis direction. The setting range is 1 to 9999.
J
:Interval Dy of the Y axis. The unit will follow the input setting unit. If Dy is positive,
the interval will be in the forward direction looking from the start point, and when
negative, will be in the reverse direction looking from the start point.
K
:No. of holes ny in the Y axis direction. The setting range is 1 to 9999.
The nx points on a grid are drilled with an interval
Δ
x parallel to the X axis, starting at the position
designated with X, Y. The drilling operation at each hole position will depend on the standard
canned cycle, so the hole drilling data (hole machining mode and hole machining data) must be
held beforehand.
The movement between hole positions will all be done in the G00 mode. G37 will not hold the data
even when the command is completed.
(Example)
ny=8 holes
Position before
G37 is executed
nx=10 holes
x
1
=300mm
Δ
y=
100mm
y
1
=100mm
Δ
x=50mm
When input setting unit is 0.01mm
G91 ;
G81 Z
−
10000 R5000 F20 ;
G37 X300000 Y
−
100000 I50000 P10 J100000 K8 ;
(Note 1)
If the P and K commands are P0 or K0, or if there is no P or K command, the
program error (P221) will occur.
If the P or K value is more than four digits, the last four digits will be valid.
(Note 2)
If an address other than the selected plane's vertical axis, horizontal axis, G, N,
I, J, K, H, O, P, F, M, S or 2nd miscellaneous function is issued in the same
block as the G37 command, a program error (P32) will occur.
(Note 3)
If a group 0 G command is issued in the same block as the G37 command, the
command issued later is the priority.
(Note 4)
If there is a G72 to G89 command in the same block as the G37 command, the
canned cycle will be ignored, and the G37 command will be executed.
(Note 5)
If the G22.1/G23.1 command is programmed in the same block as the G37
command, the G22.1/G23.1 command will be ignored, and the G37 command
will be executed.