
11. PROGRAM COMMAND
B–63523EN–1/03
1376
Embedded macro for milling is available for programming four canned
cycles (Hole machining, Facing, Side cutting, Pocketing).
The G codes from G200 to G233 are used to call the macro. In addition,
of alarms 3000 to 3999 that can be issued by custom macros, alarms 3001
to 3022 are also used. The G codes and alarm numbers used in this
function must not duplicate those of other custom macros.
The following descriptions show how to program each canned cycle.
The following menus are used for definition of hole’s position for the
machining cycle of hole.
Therefore these are used just behind the program of the machining cycle
of hole. For creating a program of the machining cycle of hole, refer to
”OPERATOR’S MANUAL(M series)”.
#Example of a Hole pattern program
O0001(HOLE PATTERN)
G90G81Z–10.0R3.0F200.K0–––––––––––––––Machining cycle of hole
G200X4.0Y4.0A–4.0B4.0C–4.0D–4.0Q1.0–––Hole pattern
G80G28G91X0Y0Z0
M30
This is a menu for specifying the arbitrary hole positions.
Create ISO code program in the following form.
G200 X__ Y__ Q__ (A__ B__ C__ D__ E__ F __ D D D D ) ;
1
(X, Y)
X
Y
4
(E, F)
3
(C, D)
5
(H, I)
2
(A, B)
Points
X: Point X
X coordinate of the position of each hole.
Y: Point Y
Y coordinate of the position of each hole.
11.6.5
Embedded macro for
milling (M series)
Outline
Details
D Hole pattern
D Points (G200)