Professional Documents
Culture Documents
PART LENGTH FROM SUB SPINDLE END Workpiece projection length form sub
spindle
(1) Press the cursor keys , to move the cursor to the data to alter.
(2) Press the numerical keys to input a setting value.
(1) Command “Machining data setting” at the top of the program of the PATH 1 which
has the cut-off process.
G266 A W S X Z F B ;
◼ Phase adjustment
▪ For details on the [PHASE ADJUST] soft key, please refer to section “10-7-5
Adjustment When Using the Profile Bar Stock Version”.
7-95
7-11-6 Servo Monitor Screen
Press the CUSTOM1 key then press the soft key until the [SERVO MONIT.] soft
key is displayed.
Press the [SERVO MONIT.] soft key to display the following screen.
This screen is used for reducing the degree of damage caused in the event of collision when
checking a program with air−cut, and also for checking the servo motor load (current value)
while applying a torque limit (current limit) to the servo motor.
▪ When performing normal machining, set “TORQUE LIMITER:” to “OFF” with the
[ON/OFF] soft key.
▪ Press the RESET key to cancel the alarm and delete the message.
7-96
◼ Display of load current value
The load current, the maximum load current and the percentage of each rating are displayed
simultaneously. This is convenient when the single block stop function is used to check each
block unit.
It may take some time to display the load current, therefore the current in short time
durations (such as during accelerataion/deceleration, etc.) cannot be checked.
▪ Data on all axes can be cleared by pressing the [CLEAR ALL] soft key.
▪ When a value is set lower than the standard value of the limit data, an alarm may
be triggered at the time of acceleration/deceleration.
▪ Refer to section “11-5-4 PMC PARAM (DATA TABLE) Screen” for details.
7-97
7-11-7 Tool Life Management by Tool Number Counter Screen
Press the CUSTOM1 key then press the soft key until the [TOOL LIFE] soft key
appears.
Press the [TOOL LIFE] soft key to display the following screen.
During program operation in MACHINING mode , the M20 command on PATH 1 counts
and displays the count value of the effective tool number counters which have been set.
When a number is set at PRESET of each counter, the machine stops at the M20 command
immediately after one of the COUNT values reaches its PRESET value.
The “NON-STOP TIME PERIOD” is the time zone in which the machine does not stop, even
when a COUNT value reaches its PRESET value. By setting the “SETTING OF NON-STOP
TIME PERIOD” to “ON” and inputting the “TIME PERIOD”, it is possible to stop the machine
at the M20 command just after the time period elapses.
7-98
◼ Functions displayed on the screen
COUNTER ON
• The M20 command in the program counts and displays the COUNT values of the
effective tool number counters which have been set.
▪ The PRESET and COUNT values of effective tool number counters are displayed in
colors other than gray.
▪ The PRESET and COUNT values of ineffective tool number counters are displayed
in gray.
▪ Tool number counters do not count when COUNTER OFF is selected.
▪ By setting keep relay K26-bit3 to “1”, it is possible to preserve the COUNTER
ON/OFF state of the previous time, at the time of turning the main power ON.
▪ When the SETTING OF NON-STOP TIME PERIOD is set to OFF, TIME PERIOD
change to gray and setting of TIME PERIOD becomes ineffective.
TIME PERIOD
• Input the time period in which the machine does not stop, even when a COUNT value
reaches its PRESET value.
7-99
◼ Setting of tool number counter effective/ineffective
Follow the procedure below to change the setting of tool number counter effective/ineffective.
(1) Press the CUSTOM1 key to display the TOOL LIFE MANAGEMENT screen.
(2) Press the [EDIT2] soft key.
7-100
▪ To set all PRESET values to a certain value, press the numerical keys and the
[PRESET ALLSET] soft key.
▪ To set all COUNT values to “0”, press the [COUNT ALLCLR] soft key.
▪ Always input a value into PRESET which is 2 or more than the COUNT value.
▪ In the following cases, the input will be regarded as an error and a flashing “DATA
IS OUT OF RANGE” will be displayed at the bottom of the screen.
- When the PRESET value is not between 1 ~ 999999.
- When the COUNT value is not between 0 ~ 999997.
▪ If PRESET [COUNT+1] during alteration, it will be regarded as an input error
and *ERROR* will flash at the bottom of the screen.
The * mark will be displayed on the left side of tool numbers with an error.
In this case, input a correct value to reset the input error (PRESET > [COUNT+1]).
▪ Count up state
The program stops by one cycle stop (M20), the main/sub spindle motors,
power-driven tool motor and coolant motor stop, the machine enters feed hold and
the beacon lights up.
At this time, alarm No. 2085 is displayed, the tool number flashes and the * mark is
displayed on the left side of the tool number simultaneously.
(4) Press the cursor keys , , , to move the cursor to the left side of
“−” at TIME PERIOD.
(5) Use the numerical keys to input the start time of the non-stop time period.
Input a whole number from 0 to 23 (from 0:00 to 23:00).
(7) Press the cursor keys , , , to move the cursor to the right side of
“−” at TIME PERIOD.
(8) Use the numerical keys to input the end time of the non-stop time period.
Input a whole number from 0 to 23 (from 0:00 to 23:00).
7-101
◼ Setting of count attainment notice
The following operations are performed according to the ON/OFF state of the SETTING OF
NON-STOP TIME PERIOD and COUNT ATTAINMENT NOTICE.
Display 1) : In the case when a COUNT value is expected to reach its PRESET value,
operator message No.2047 will be displayed.
Operation 2) : As soon as the non-stop time period elapses, the machine stops at M20.
7-102
7-12 Program Check Screen
Program format and waiting status etc. can be checked before starting the CNC operation.
Carry out program check by following the procedure below.
▪ This function does not guarantee the machine operation. Even when an alarm does
not occur during a program check, the alam may occur during CNC machining.
▪ The collision check is not performed.
▪ Program check will be executed to the program which has been set as the main
program. For details on setting a main program, please refer to section “7-5-1
Program Number Search.”
7-103
(3) Press the PROGRAM CHECK key to display the PROGRAM CHECK screen.
▪ Pressing the soft key can also display the PROGRAM CHECK screen.
(2) Press the soft key until the [OPT./CHECK] soft key appears.
(3) Press the [OPT./CHECK] soft key to display the PROGRAM CHECK screen.
If OPTIMIZATION screen displays at this time, press the [PROGRAM CHECK]
soft key to display the PROGRAM CHECK screen.
(4) Press PATH1 and/or PATH2 keys to light up the lamp of the PATH on
which program check is to be carried out.
7-104
(5) Press the [EXEC] soft key to execute the program check.
7-105
(6) If the program check detects alarms, a list of alarms will be displayed.
(7) Press the PAGE keys , or the cursor keys , to move the cursor to the
alarm number to refer to the help screen.
7-106
▪ When the help contents are spread across a multiple number of pages, press the
▪ When the HELP key is pressed while HELP screen displays, HELP screen
will disappear.
▪ Alarms which have been detected by the program check will be preserved until the
program check is carried out again or the main program setting is altered.
▪ Modify the program, referring to the displayed HELP contents.
▪ In the case that an alarm is detected in a sub program or a macro program, the
[JUMP], [EDIT BLOCK] soft keys will not function.
Press the [PROGRAM] soft key to display the PROGRAM screen and modify the
sub program or the macro program.
7-107
2. Press the [JUMP] soft key to display the PROGRAM screen.
At this time, the cursor moves to the block of which an alarm has been detected.
7-108
Editing on the PROGRAM CHECK screen (the [EDIT BLOCK] soft key)
2. Press the [EDIT BLOCK] soft key to display a key input line.
At this time, the input line displays the block of which an alarm has
been detected.
7-109
▪ If the number of letters of the selected block where an alarm is detected exceeds
62, “EXCEED EDITABLE LETTERS COUNT” will be displayed instead of a key
input line.
At this time, press the [JUMP] soft key and edit the block on the PROGRAM
screen.
5. Press the [YES] soft key to overwrite the block with the content in the keyinput
line.
6. If more than one alarm is detected, repeat the 1~5 on the PROGRAM
CHECK screen.
7-110
(10) If no alarm has been detected, “PROGRAM CHECK IS COMPLETED” message is
displayed at the bottom-right part of the screen, and the program check completes.
(11) When the program check is completed, press the [PROGRAM] soft key or PROGRAM
7-111
7-13 Macro Screen
Using this screen, tool selection and moving axes to the approach position can be carried out
while the doors are open.
Press the MACRO key and the [TOOL SELECT] soft key respectively to display the
following screen.
▪ When the tool selection function is used while a program other than O9000s is not
registered, alarm No. 1079 will occur.
7-112
◼ Tool selection procedure
Follow the procedure below to carry out tool selection.
▪ Even if the RAPID TRAVERSE OVERRIDE switch is set to 25% or 100%, rapid
traverse override will be fixed at 5% during tool selection (0% and 1% are valid).
Setting of the RAPID TRAVERSE OVERRIDE switch is valid while the doors are
closed.
▪ Even when the DOOR OPEN button is not pressed while the doors are
closed, the movement will be performed.
▪ If you release your finger from the DOOR OPEN button during tool selection,
the movement will be interrupted. Then, if the START button is pressed again
while pressing down the DOOR OPEN button , the movement will be resumed.
▪ If the DOOR OPEN button is pressed after pressing the START button ,
tool selection will not be performed.
▪ Minus values cannot be entered into APPROACH POSITION.
▪ When the screen has been switched to a different screen (other than the TOOL
SELECT screen) by pressing a mode key or a function key, press the MACRO
When a tool unit or cross drilling unit (T100 ~ T500, T700 ~ T900, T1100, T1200) is
selected:
(1) Press the PATH1 and PATH2 keys to light up their lamps.
(2) Press the AIR CUT key to make the lamp flash.
(3) Press the cursor keys to move the cursor to “APPROACH POSITION”, and input the
desired position of tool positioning.
(4) Press the cursor keys to move the cursor to a T number to select.
(5) Turn the CONTROL MODE key switch to SETTING and open the cutting room
door.
(6) While pressing down the DOOR OPEN button , press the START button .
(7) The tool (T number) specified in step (4) is selected, and positioning to the approach
position is performed (tool selection). When positioning to the approach position (tool
7-113
(8) When the positioning is completed, release the DOOR OPEN button .
Pressing the START button again while pressing down the DOOR OPEN
button will move the X-axis to POS. X40.0. When the movement is complete, the
7-114
When the front drilling unit, counter face drilling unit, slotting unit, thread whirling
unit or 4-spindle sleeve holder (T1300 ~ T1600, T3100, T3200, T3111 ~ T3223) is
selected:
(2) Press the PATH1 and PATH2 keys to light up their lamps.
(3) Press the AIR CUT key to make the lamp flash.
(4) Press the cursor keys to move the cursor to “APPROACH POSITION”, and input the
desired position of tool positioning.
(5) Press the cursor keys to move the cursor to a T number to select.
(6) While pressing down the DOOR OPEN button , press the START button .
(7) The tool (T number) specified in step (5) is selected, and the lamp of START button
will go out.
When the back 8-spindle unit (T2100 ~T2800) is selected, only the tool selection will be
executed.
(2) Press the PATH1 and PATH2 keys to light up their lamps.
(3) Press the AIR CUT key to make the lamp flash.
(4) Press the cursor keys to move the cursor to “APPROACH POSITION”, and input the
desired position of tool positioning.
(5) Press the cursor keys to move the cursor to a T number to select.
(6) While pressing down the DOOR OPEN button , press the START button .
(7) The tool (T number) specified in step (5) is selected, and the lamp of START button
will go out.
7-115
7-13-2 Auto Cut off Screen
Press the MACRO key and the [AUTO CUTOFF] soft key respectively to display the
following screen.
▪ For details on the MACHINING DATA screen, please refer to section “7-11-5
Machining Data Screen” for details.
(2) Position the length of material to be cut-off to the right side of the cut-off tool blade.
(3) Set the OVERRIDE to 100.
(4) Press the PATH1 and PATH2 keys to light up their lamps.
7-116
(5) Press the START button to execute the cut-off process.
(6) After the cut-off process has finished, alarm No. 3008 will be displayed.
▪ If the PATH1 and PATH2 keys are not lit up and the START button
is pressed, an alarm will be displayed and the cut-off process will not start.
▪ After the cut-off process has finished, the machine enters G97 mode.
▪ When the SINGLE BLOCK key is on, the START button turns off every
time operation of 1 block finishes.
7-117
7-13-3 Collet Auto Adjust Screen
Press the MACRO key and the [COLLET ADJUST] soft key respectively to display the
following screen.
▪ The automatic collet adjustment function is only effective when the inner diameter
of the guide bush is the same as the bar stock diameter, the bar is h8 tolerance
(JIS standard) or less, and is round material that has been grounded.
This screen is used for automatically adjusting the tightening force of the main collet, sub
collet and guide bush.
▪ If the lamps of the PATH1 and PATH2 keys are not lit up and the START
7-118
Setting
INPUT key .
▪ The initial settings for the main/sub collets and the guide bush are “3”.
Increase the setting to make the gripping force stronger and decrease the setting to
make the gripping force weaker. Each setting range is shown blow.
Main/sub spindle: 1~10
Guide bush: 1~5
▪ By pressing the [INPUT] soft key, the numerical value will be set.
To increase or decrease the numerical value, input the difference of the value
already inputted and press the [+ INPUT] soft key (input the value with a negative
sign to decrease the value).
7-119
Offset
INPUT key .
▪ The initial offsets for the main/sub collets and the guide bush are “+00”.
Increase the offset to make the gripping force stronger and decrease the offset to
make the gripping force weaker.
The setting range of the offset setting is −45 ~ +45.
▪ By pressing the [INPUT] soft key, the numerical value will be set. To increase or
decrease the offset, input the difference of the value already inputted and press the
[+INPUT] soft key (input the value with a negative sign to decrease the value).
7-120
7-13-4 Mode Reset Screen
Press the MACRO key and the [MODE RESET] soft key respectively to display the
following screen.
(1) Press the PATH1 and PATH2 keys to light up their lamps.
▪ If the lamps of the PATH1 and PATH2 keys are not lit up and the START
button is pressed, an alarm will be displayed and mode reset will not start.
(2) By pressing the START button , the mode returns to M171 mode.
The screen display indicates M171 mode.
▪ With M171, T1300 T1900, T3100 and T3200 controls are possible on PATH1.
▪ With M172, T1300 T1900, T3100 and T3200 controls are possible on PATH2.
7-121
7-13-5 Guide Bush Version Change Screen
Press the MACRO key and then press the soft key until the [GUIDE BUSH] soft
key appears.
This screen is used to change from Guide bush version to Non guide bush version, or vice
versa.
7-122
Press the [GUIDE BUSH] soft key to display the following screen.
When Non guide bush version is currently selected, the following screen is displayed.
7-123
◼ Setting
CAUTION
▪ Always press the soft key [FINISH] and START button after checking the
contents on the cursor position.
Pressing them accidently may damage the machine or cause accidents.
▪ If stopping the Z1-axis movement in the middle, OT500 (+Z1) alarm will be
triggered. Press the [CAN] soft key and move Z1-axis in the “−Z1” direction in
HANDLE mode to cancel the alarm.
▪ When the [CAN] soft key is pressed, the operation will stop and the machine state
will return to step (1).
7-124
(4) After the headstock moves and the replacement is completed, the cursor will move to
“COMPLETED” position.
▪ For details on how to change from Guide bush version to Non guide bush version,
refer to section “10-7-3 Changing from Guide Bush Version to Non Guide Bush
Version”.
OK, PRESS THE START BUTTON”, and then press the START button
▪ If stopping the Z1-axis movement in the middle, OT500 (−Z1) alarm will be
triggered.
Press the [CAN] soft key and move Z1-axis in the “+Z1” direction in HANDLE mode
to cancel the alarm.
▪ When the [CAN] soft key is pressed, the operation will stop and the machine state
will return to step (1).
(3) After completing the works for attaching the Z1-axis ball screw cover, move the
cursor to “ADD Z1-AXIS BALL SCREW COVER”, and then press the [FINISH] soft
key.
(4) After completing the works for attaching the guide bush body etc., move the cursor to
“ADD G.B. BODY”, and then press the [FINISH] soft key.
7-125
(5) After the replacement is completed, the cursor will move to “COMPLETED” position.
▪ For details on how to change from Non guide bush version to Guide bush version,
refer to section “10-7-4 Changing from Non Guide Bush Version to Guide Bush
Version”.
7-126
7-14 Multi-Path Program Manager Screen
On the MULTI-PATH PROGRAM MANAGER screen, the program of the same program
number (name) on all PATHs (hereinafter referred to as “multi-path program”) can be
inputted/outputted, copied, deleted etc., all at once.
Follow the procedure below to display the MULTI-PATH PROGRAM MANAGER screen.
(1) Set the keep relay K97-bit2 to “1” and turn the CNC power ON again.
▪ When the soft key is pressed, the following soft keys will be displayed.
▪ This function is effective only when the keep relay K97-bit2 is set to “1”.
▪ The following programs will not be displayed.
- O9000 ~ O9999
- HYBRID programs
- OPTCNC programs
7-127
7-14-1 Switching the Program Display
Follow the procedure below to switch the program display between the multi-path program
and programs other than the multi-path program (hereinafter referred to as “SINGLE-PATH
program”).
(1) When the multi-path program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears.
(2) Press the [SINGLE/MULTI] soft key to display the following screen.
▪ On the SINGLE-PATH screen, the program which has the same program number
on all the PATHs (multi-path program) is not displayed.
▪ On the SINGLE-PATH screen, the sub program of only one PATH is displayed.
▪ To change the PATH to be displayed, press the CHANGE key and select a
PATH of which to display the sub program. (The active PATH will be displayed at
the bottom right part of the screen).
7-128
◼ Switching to the multi-path program display
(1) When the SINGLE-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears.
(2) Press the [SINGLE/MULTI] soft key to display the following screen.
▪ On the MULTI-PATH screen, only the program which has the same program
number (name) on all the PATHs (multi-path program) is displayed.
7-129
7-14-2 Switching between the Detail ON/OFF Display
Follow the procedure below to switch between the DETAIL ON/ DETAIL OFF display of the
program list display.
(1) While the screen display is the “DETAIL OFF” status, press the soft key until the
[DETAIL ON] soft key appears.
(2) Press the [DETAIL ON] soft key to display the following screen.
7-130
◼ Switching to the DETAIL OFF display
(1) While the screen display is the “DETAIL ON” status, press the soft key until the
[DETAIL OFF] soft key appears.
(2) Press the [DETAIL OFF] soft key to display the following screen.
7-131
7-14-3 Program Input/Output
▪ For details on setting the input/output interface, please refer to section “7-2-1
Setting Screen Input/output interface setting change”.
7-132
When the multi-path program is inputted, the program is registered in each PATH.
Follow the procedure below to input the multi-path program.
(3) When the SINGLE-PATH program is displayed, press the key until the
[SINGLE/MULTI] soft key appears. Press the [SINGLE/MULTI] soft key.
(4) Press the soft key until the [F INPUT] soft key appears.
(5) When the [F INPUT] soft key is pressed, a file list in the memory card or USB memory
stick is displayed.
(6) Press the PAGE keys or the cursor keys , to move the cursor to
,
the file with extension [.PA] to input.
(7) Press the [EXEC] soft key.
When inputting starts, “RECEIVING...” will be displayed.
When inputting is complete, “RECEIVING...” disappears and “INPUT COMPLETE”
will be displayed at the bottom right part of the screen.
7-133
When inputting from an external I/O device
(1) Connect the RS232C connector of the external I/O device to the RS232C interface.
(4) If the SINGLE-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears, then press the [SINGLE/MULTI] soft key.
(5) Press the soft key until the [F INPUT] soft key appears.
(6) Press the [F INPUT] soft key.
(7) Transfer the program from the external device.
(8) Press the [EXEC] soft key.
When inputting starts, “RECEIVING...” will be displayed.
When inputting is complete, “RECEIVING...” disappears and “INPUT COMPLETE”
will be displayed at the bottom right part of the screen.
7-134
◼ Inputting one program into the CNC
When inputting from a memory card / USB memory stick
(4) Press the soft key until the [F INPUT] soft key appears.
(5) When the [F INPUT] soft key is pressed, the file list in the memory card or USB
memory stick is displayed.
(6) Press the PAGE keys or the cursor keys , to move the cursor to
,
the file to be inputted.
(7) Press the [EXEC] soft key.
When inputting starts, “RECEIVING...” will be displayed.
When inputting is complete, “RECEIVING...” disappears and “INPUT COMPLETE”
will be displayed at the bottom right part of the screen.
7-135
When inputting from an external I/O device
(1) Connect the RS232C connector of the external I/O device to the RS232C interface.
(5) Press the soft key until the [F INPUT] soft key appears.
(6) Press the [F INPUT] soft key.
(7) Execute transfer from the external I/O device.
(8) Press the [EXEC] soft key.
When inputting starts, “RECEIVING...” will be displayed.
When inputting is complete, “RECEIVING...” disappears and “INPUT COMPLETE”
will be displayed at the bottom right part of the screen.
7-136
◼ Outputting the multi-path program from the CNC
When outputting to a memory card / USB memory stick
(2) When the SINGLE-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Press the [SINGLE/MULTI] soft key.
(3) Press the PAGE keys or the cursor keys , to move the cursor to
,
the program to be outputted.
(4) Press the soft key until the [F OUTPUT] soft key appears.
(5) When the [F OUTPUT] soft key is pressed, the file name which is automatically set
will be displayed. The file name can be changed to another name.
7-137
When outputting to an external I/O device
(1) Connect the RS232C connector of the external I/O device to the RS232C interface.
(3) When the SINGLE-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Press the [SINGLE/MULTI] soft key.
(4) Press the PAGE keys or the cursor keys , to move the cursor to
,
the program to be outputted.
(5) Press the soft key until the [F OUTPUT] soft key appears.
(6) When the [F OUTPUT] soft key is pressed, the file name which is automatically set
will be displayed. The file name can be changed to another name.
(7) Put the external I/O device into the receiving state.
(8) Press the [EXEC] soft key.
When outputting starts, “SENDING...” will be displayed.
When outputting is complete, “SENDING...” disappears and “OUTPUT COMPLETE”
will be displayed at the bottom right part of the screen.
7-138
◼ Outputting one program from the CNC
When outputting to a memory card / USB memory stick
(2) When the MULTI-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(3) Press the CHANGE key to select the PATH from which to output a program.
(4) Press the PAGE keys or the cursor keys , to move the cursor to
,
the program to be outputted.
(5) Press the soft key until the [F OUTPUT] soft key appears.
(6) When the [F OUTPUT] soft key is pressed, the file name which is automatically set
will be displayed. The file name can be changed to another name.
7-139
When outputting to an external I/O device
(1) Connect the RS232C connector of the external I/O device to the RS232C interface.
(3) When the MULTI-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(4) Press the CHANGE key to select the PATH from which to output a program.
(5) Press the PAGE keys or the cursor keys , to move the cursor to
,
the program to be outputted.
(6) Press the soft key until the [F OUTPUT] soft key appears.
(7) Press the [F OUTPUT] soft key.
(8) Put the external I/O device into the receiving state.
(9) Press the [EXEC] soft key.
When outputting starts, “SENDING...” will be displayed.
When outputting is complete, “SENDING...” disappears and “OUTPUT COMPLETE”
will be displayed at the bottom right part of the screen.
7-140
7-14-4 Creating a New Program
(3) When the SINGLE-PATH program is displayed, press the key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(4) Input the program number (name) to be created.
(5) Press the soft key until the [CREATE PROGRM] soft key appears.
(6) Press the [CREATE PROGRM] soft key.
(7) Input a program number or a program name to create.
(8) Press the [EXEC] soft key.
The program is registered in all the PATHs with the same number (name).
7-141
Creating one program
(3) When the MULTI-PATH program is displayed, press the key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(4) Press the CHANGE key to select the PATH in which to create a program.
(5) Input the program number (name) to be created.
(6) Press the soft key until the [CREATE PROGRM] soft key appears.
(7) Press the [CREATE PROGRM] soft key.
The program is registered.
7-142
7-14-5 Search
This section explains the procedures of searching for a program number (name), or the main
program and moving the cursor.
Method A
Method B
(1) Press the [PROGRM SEARCH] soft key to display the following screen.
7-143
◼ Main program search
Of the multi-path programs, the program which is set as the main program can be searched.
(1) When the SINGLE-PATH program is displayed, press the key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(2) Press the [PROGRM SEARCH] soft key to display the following screen.
7-144
7-14-6 Setting the Main Program
When the MULTI-PATH program is displayed, the selected program can be set as the main
program. Follow the procedure of either “Method A” or “Method B” below to set the main
program.
◼ Method A
(1) Press the EDIT key or MEMORY key of MODE to light up the lamp.
(2) When the SINGLE-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(3) Press the PAGE keys or the cursor keys , to move the cursor to the
,
program to be set as the main program.
(4) Press the [MAIN PROGRM] soft key.
The selected program will be set as the main program.
◼ Method B
(1) Press the EDIT key or MEMORY key of MODE to light up the lamp.
(2) When the SINGLE-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(3) Press the [PROGRM SEARCH] soft key to display the following screen.
7-145
(4) Input the program number (program name) that is to be set as the main program.
(5) Press the soft key [PROGRAM NAME].
(6) Press the soft key [MAIN PROGRAM].
The selected program will be set as the main program.
7-146
7-14-7 Altering a Program Number (Name)
Follow the procedure below to alter a program number in the program folder stored in the
CNC.
(3) When the SINGLE-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(4) Press the PAGE keys , and cursor keys , , to move the cursor to the
program of which to alter the name.
(5) Input a new program number (name).
(6) Press the soft key until the [RENAME] soft key appears.
(7) Press the [RENAME] soft key.
The name of the selected program will be changed to the new name on all the PATHs.
7-147
◼ Altering the program number (name) of one program
(3) When the MULTI-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(4) Press the CHANGE key to select the PATH in which to alter the program number
(name).
(5) Press the PAGE keys , or cursor keys , , to move the cursor to the
program of which to alter the name.
(6) Input a new program number (name).
(7) Press the soft key until the [RENAME] soft key appears.
(8) Press the [RENAME] soft key.
The name of the selected program will be changed to the new name.
7-148
7-14-8 Program Deletion
Programs registered in the memory can be deleted by following the procedure below.
(2) When the SINGLE-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Press the [SINGLE/MULTI] soft key.
(3) Press the PAGE keys , and cursor keys , , to move the cursor to the
program that is to be deleted.
(4) Press the soft key until the [DELETE] soft key appears.
(5) Press the [DELETE] soft key.
(6) Press the [EXEC] soft key.
The selected programs are deleted from all the PATHs.
(2) When the MULTI-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Press the [SINGLE/MULTI] soft key.
(3) Press the CHANGE key to select the PATH in which to delete the program.
(4) Press the PAGE keys , or cursor keys , , to move the cursor to the
program that is to be deleted.
(5) Press the soft key until the [DELETE] soft key appears.
(6) Press the [DELETE] soft key.
(7) Press the [EXEC] soft key.
The selected program is deleted.
7-149
7-14-9 Program Copy
Follow the procedure below to copy the program registered in the CNC.
(3) When the SINGLE-PATH program is displayed, press the key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(4) Press the PAGE keys , and cursor keys , , to move the cursor to the
program that is to be copied.
(5) Input a new program number (name).
(6) Press the soft key until the [COPY] soft key appears.
(7) Press the [COPY] soft key.
The selected program is copied to all the PATHs with the new name.
7-150
◼ Copying one program
(3) When the MULTI-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(4) Press the CHANGE key to select the PATH in which to copy the program.
(5) Press the PAGE keys , or cursor keys , to move the cursor to the
program that is to be copied.
(6) Input a new program number (name).
(7) Press the soft key until the [COPY] soft key appears.
(8) Press the [COPY] soft key.
The selected program is copied to all the PATHs with the new name.
7-151
7-14-10 Disabling the Program Editing
Follow the procedure below to change the disable setting (outputting to external devices is
possible) of editing of the program registered in the CNC.
(1) When the SINGLE-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears.
Press the [SINGLE/MULTI] soft key.
(2) When “DETAIL OFF” is displayed, press the soft key until the [DETAIL ON] soft
key appears. Then press the [DETAIL ON] soft key.
(5) Press the PAGE keys , or the cursor keys , to move the cursor to
the program to disable editing.
(6) Press the [EDIT DISABL] soft key.
Program editing of all the selected PATHs are disabled and “R” will be displayed after
the file capacity.
7-152
▪ This function is only available when MULTI-PATH program is displayed.
▪ [EDIT DISABL] soft key is displayed only when the display is “DETAIL ON”.
(Not displayed during “DETAIL OFF”)
7-153
◼ Canceling a disabled setting for the multi-path program editing
(1) When the SINGLE-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears.
Press the [SINGLE/MULTI] soft key.
(2) When “DETAIL OFF” is displayed, press the soft key until the [DETAIL ON] soft
key appears. Then press the [DETAIL ON] soft key.
(3) Press the soft key until the [CHANGE ATTR] soft key appears.
(4) Press the [CHANGE ATTR] soft key to display the following screen.
(5) Press the PAGE keys , or the cursor keys , to move the cursor to
the program of which to cancel the disabled setting for program editing.
(6) Press the [EDIT ENABLE] soft key.
The disabled setting of editing the selected program is cancelled and “R” display after
the file capacity disappears.
7-154
◼ Disabling the program editing of one program
(1) When the MULTI-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Press the [SINGLE/MULTI] soft key.
(2) When “DETAIL OFF” is displayed, press the soft key until the [DETAIL ON] soft
key appears. Then press the [DETAIL ON] soft key.
(3) Press the soft key until the [CHANGE ATTR] appears.
(4) Press the [CHANGE ATTR] soft key.
(5) Press the PAGE keys , or the cursor keys , to move the cursor to
the program of which to disable editing.
(6) Press the [EDIT DISABL] soft key.
Program editing of the selected program is disabled and “R” will be displayed after the
file capacity.
7-155
◼ Canceling the disable setting for editing one program
(1) When the MULTI-PATH program is displayed, press the soft key until the
[SINGLE/MULTI] soft key appears. Then press the [SINGLE/MULTI] soft key.
(2) When the display is “DETAIL OFF”, press the soft key until the [DETAIL ON] soft
key appears. Then press the [DETAIL ON] soft key.
(3) Press the soft key until the [CHANGE ATTR] appears.
(4) Press the [CHANGE ATTR] soft key.
(5) Press the PAGE keys , or the cursor keys , to move the cursor to
the program of which to cancel the disable setting of program editing.
(6) Press the [EDIT ENABLE] soft key.
The disable setting of editing the selected program is cancelled and “R” display after
the file capacity disappears.
7-156
8. Programming
WARNING
▪ Read section "9. Automatic and Manual Operations" thoroughly beforehand, and
8-1 Programming
The CNC automatic lathe will work exactly as instructed by the program in memory.
Programming is the act of writing down commands in accordance with specific rules to control
the tool number, tool path and other processing conditions when machining parts.
Discuss the tooling when the drawings of parts to be machined have been determined.
Tooling discussion
Deciding the machining range
Selection of machine and options
Deciding the machining process
Decision of cutting tools, tool holders
and installation positions
Setting of processing conditions
Programming
8-1
8-2 Program Structure
◼ Block
A 1-line unit in the program is called a block.
A block is terminated by the end-of-block code ";".
1 block can hold a maximum of 140 characters.
◼ Word
Blocks are made up of “words”.
A “word” is made up of an address (alphabetical characters) followed by numerical values.
(The plus sign (+) or minus sign (−) may be prefixed to a number.)
8-2
◼ Decimal Input
There are some restrictions depending on the address, but addresses with units such as
distance, speed or time can use decimal values.
The following table shows the decimal inputting unit and their usable address.
Unit Address
Distance (mm) XYZUVWIJKR,C,R
Speed (mm/rev, mm/min)
F
(inch/rev, inch/min)
Time (s) UX
Angle (/degree) C・H・B・,A
◼ Program number
A program number consists of address O followed by a 4-digit number.
A maximum of 1000 programs can be registered into the memory in total for PATH1 and
PATH2.
▪ If a sub program file name is not an “address O followed by a 4-digit number”, the
sub program call command will differ. Refer to “8-12 Sub Program Function”.
◼ Sequence number
The block in a program can have a maximum of 5-digit at the program head.
8-3
◼ Block skip
Blocks with a slash code "/" at their heads will be ignored while the BLOCK SKIP key is on.
If a slash code "/" is not at the head of the block, the contents from the slash code "/” to
immediately before the end of block “;” will be ignored.
When inputting or outputting the program, the "/" codes in the program will be inputted or
outputted regardless of the status of the BLOCK SKIP key.
▪ There are two BLOCK SKIP keys. One is for PATH1 use and the other for
PATH2 use .
◼ Reading zero
When data (numeric value) other than "0" is specified, the preceding "0" before the decimal
point, and the following "0" after the decimal point can be omitted.
Example:
G01 → G1
T0200 → T200
F0.020 → F0.02 (do not omit “0” of the first digit.)
X10.05 → X10.05 (“0” cannot be omitted.)
8-4
8-3 Dimension Word
The dimension word is a command that executes movement of each axis. It consists of an
address that specifies the axis and a numeral that commands the direction and amount to
move. There are two commanding methods: absolute command and incremental command.
8-5
8-4 Coordinate System
The X1 and X2 axes and Y1 and Y2 axes take the center of the bar diameter as the zero point
(X0, Y0), and the Z1-axis takes the installation surface of cut-off tool (the bar end face after
completion of cut-off with a right-hand cut-off tool) as the zero point (Z0).
The Z2-axis takes the reference point as the zero point (Z0).
The B1-axis takes the reference point as the zero point (B90.0).
For C1-axis, the spindle forward rotation direction is positive (+), and the reverse rotation
direction is negative (−).
For C2-axis, the spindle forward rotation direction is negative (−), and the reverse rotation
direction is positive (+).
▪ The reference point is a mechanical fixed point to which the axes move with the
reference point return operation or command.
▪ The radius value is used in the dimensional drawings in this chapter.
▪ Dimension unit in the drawings in this chapter is “mm”.
▪ Dimension in brackets ( ) in the drawings in this chapter is when 1/2 inch tool is
used.
▪ The differences between guide bush version and non guide bush version are the
Z1-axis reference point and the stroke only.
8-6
◼ Tool post (inner side)
8-7
◼ Guide Bush version
8-8
◼ Non Guide Bush version
8-9
◼ Back 8-spindle unit
8-10
◼ Coordinate system of tilting head 3-spindle unit (T1700 T1900)
PATH 1
When the tilting head 3-spindle unit (T1700 T1900) is selected, the tool tip positions will
be calculated automatically according to the X1-axis geometry offset, machining data and
the B1-axis angle before/after the tool selection, which are inputted beforehand. And then
the coordinate system based on the tool tip will be set.
Tool selection
Before tool selection Movement command
command
Example when X=42.0 is E.g.1 T1700 ; G0 X21.0 Z0 ;
inputted into the geometry
offset beforehand
8-11
Before tool selection Tool selection and movement commands
Example when X=30.0 is T1700 X10.0 Y10.0 B0 ;
E.g.4
inputted into the geometry G0 Z0 ;
offset beforehand
▪ The tool tip point is not re-calculated when B1-axis moves with G0 after T1700
T1900 selection. The tool tip point moves to X=33.302, Z14.849 when the
movement command is executed after the tool selection .
(The machine still recognizes X=21.0, Z=0 as the tool tip point.)
▪ To position B1-axis after T1700 T1900 selection, command either G910 or G920.
8-12
PATH 2
▪ The tool tip point is not re-calculated even when B1-axis moves with G0 after
T1700 T1900 selection.
To position B1-axis after T1700 T1900 selection, use G910 or G920 command.
▪ Set the workpiece projection length with G133 before commanding G910 or G920
for back tool of T1700 T1900. Otherwise, alarm No. 3234 will be triggered.
8-13
8-5 Soft OT Function by Tool
Move the alarm axis out from the prohibition area in HANDLE mode , and then
Effective Reference + OT − OT
Axis Condition
stroke point coordinate coordinate
− 120.0 mm 0 121.0 −121.0
X1
When T1700~T1900 is selected 126.0mm 0 133.0 −121.0
Y1 − 239.0 mm 0 2.4 −479.0
Guide Bush version 205.0 mm 0 206.0 −1.0
Non Guide Bush version 50.0 mm 273.5 324.0 272.5
Z1
Synchr. Rotary Magic Guide
160.0mm 0 161.0 −1.0
Bush
X2 − 315.0 mm 0 631.0 −1.0
Y2 − 51.7 mm 0 104.4 −1.0
− 268.0 mm 0 268.5 −0.5
Z2
USE PARTS SEPARATOR A 204.0 mm 0 204.5 −0.5
− 135.0 −45.5
USE 2 SPINDLE FRONT
110.0 −20.5
DRILLING UNIT AT T31 POS.
USE 3 SPINDLE FRONT
110.0 −20.5
DRILLING UNIT AT T31 POS.
USE 3 SPINDLE COUNTER
FACE DRILLING UNIT AT T31 105.0 −15.5
POS.
USE SLOTTING UNIT AT T31
90.0 −0.5
POS.
B1 USE THREAD WHIRLING 90.0 90.5
90.0 −0.5
UNIT AT T31 POS.
USE POLYGON MACHINING
110.0 −20.5
UNIT AT T31 POS.
USE 2 SPINDLE FRONT
90.0 −0.5
DRILLING UNIT AT T32 POS.
USE 3 SPINDLE FRONT
90.0 −0.5
DRILLING UNIT AT T32 POS.
USE 3 SPINDLE COUNTER
FACE DRILLING UNIT AT T32 90.0 −0.5
POS.
8-14
▪ Values in the above table are the machine coordinate values.
▪ Alarm display (“” is the axis concerned.)
500: () +OVER TRAVEL (SOFT 1)
501: () −OVER TRAVEL (SOFT 1)
▪ Refer to section “7-11-3 Keep Relay Conversational Setting Screen” for details on
the KEEP RELAY (conversational setting) screen.
▪ For details on the relational dimension drawings, refer to section “10-6 Precautions
of Tooling”
Possible
PATH 2 Tool No. of Condition Setting
advance Address
Tool No. tool post (Keep relay setting) value
range
T200 T500 − 229.0 229000 D2024
T400 T500 USE T41/T42 84.0 84000
T600 T900 − 84.0 84000 D2028
T2000
T1100, T1200 − 84.0 84000
T1300 T1900 − 120.0 120000 D2032
T3100, T3200 − 229.0 229000 D2024
T1300
− − 120.0 120000 D2032
T1600
T1700
− − 226.0 226000 D2060
T1900
8-15
Z2-axis soft OT when the tool for back 8 spindle unit is selected
Possible
PATH 2 Condition Setting
advance Address
Tool No. (Keep relay setting ) value
range
− 93.0 93000 D2036
USE CROSS DRILLING UNIT AT T21 POS. 52.5 52500 D2040
T2100 USE SLOTTING UNIT AT T21 POS. 67.0 67000 D2044
USE CROSS DRILLING UNIT AT T22 POS. 52.5 52500 D2040
USE SLOTTING UNIT AT T22 POS. 60.0 60000 D2048
− 93.0 93000 D2036
USE CROSS DRILLING UNIT AT T21 POS. 52.5 52500 D2040
USE SLOTTING UNIT AT T21 POS. 60.0 60000 D2048
T2200 USE CROSS DRILLING UNIT AT T22 POS. 52.5 52500 D2040
USE SLOTTING UNIT AT T22 POS. 67.0 67000 D2044
USE CROSS DRILLING UNIT AT T23 POS. 52.5 52500 D2040
USE SLOTTING UNIT AT T23 POS. 60.0 60000 D2048
− 93.0 93000 D2036
USE CROSS DRILLING UNIT AT T22 POS. 52.5 52500 D2040
USE SLOTTING UNIT AT T22 POS. 60.0 60000 D2048
T2300 USE CROSS DRILLING UNIT AT T23 POS. 52.5 52500 D2040
USE SLOTTING UNIT AT T23 POS. 67.0 67000 D2044
USE CROSS DRILLING UNIT AT T24 POS. 52.5 52500 D2040
T2400 − 52.5 52500 D2040
− 93.0 93000 D2036
T2500 USE CROSS DRILLING UNIT AT T21 POS. 78.0 78000 D2052
USE SLOTTING UNIT AT T21 POS. 88.0 88000 D2056
− 93.0 93000 D2036
T2600 USE CROSS DRILLING UNIT AT T22 POS. 78.0 78000 D2052
USE SLOTTING UNIT AT T22 POS. 88.0 88000 D2056
− 93.0 93000 D2036
T2700 USE CROSS DRILLING UNIT AT T23 POS. 78.0 78000 D2052
USE SLOTTING UNIT AT T23 POS. 88.0 88000 D2056
T2800 − 52.5 52500 D2040
T2900 − 52.5 52500 D2040
8-16
◼ The third soft OT
The soft OT of X1 and Y1-axes (Machine coordinate)
8-17
8-6 Feed Function
Item Specification
X1, Y1, Z1, X2, Z2 35000 mm/min
Y2 15000 mm/min
Rapid traverse
B1 27000 /min
C1, C2 198000 /min (550 min-1)
▪ During main or sub spindle rotation, the datum spindle of feed per revolution mode
(G99) becomes the main spindle (PATH1) or the sub spindle (PATH2).
During main or sub spindle stop, the datum spindle of feed per revolution mode
(G99) becomes the PATH1 power-driven tools or the PATH2 power-driven tools.
During sub spindle rotation, the datum spindle on PATH2 in M172 mode becomes
the sub spindle. During sub spindle stop, the datum spindle on PATH2 in M172
mode becomes the PATH1 power-driven tools.
▪ When changing a G code, a new “F” command is required.
▪ Do not input 0 or negative values.
▪ The command values of the X-axis and Y-axis are determined by radial values.
▪ When carrying out simultaneous interpolation with 2 or more axes, the speed is
tangential.
8-18
8-7 Spindle Function (S Function)
The respective spindle speed can be controlled directly with address “S”.
▪ The main spindle forward rotation is the same direction as the sub spindle reverse
rotation.
▪ When executing the S command (revolution speed) for the power-driven tool,
command "M36" or "M37", or “M56” or “M57” in the same block as the S command.
▪ Command S (revolution speed) for the power-driven tool motor in the same block
with, or after the tool selection command.
Rotating directions
8-19
8-8 Tool Function (T Function)
In this manual, tool positions are indicated by the following 3/4-digit T tool numbers according
to the tool selection commands.
8-20
8-8-2 Tool Function (T funciton)
CAUTION
▪ T codes can be commanded in blocks with M, S, C, and H codes.
However, do not command T codes with M codes that have “wait” functions, or
M codes for sub program calling.
Check beforehand which M codes can be used in blocks with T codes by
referring to the M code list in “8-11 Auxiliary Functions (M Functions)”.
In addition, T codes cannot be commanded in blocks with M codes that are to be
commanded in a single block independently.
Command tool selection while tool nose radius compensation is cancelled.
◼ Summary
The tool function has the tool selection function and the tool position offset function.
They are commanded with a “T” address.
Add "00" to the tool number to be selected, i.e. command T and 3-digit or T and 4-digit.
T-codes which can be commanded on PATH1
T code Contents
8-21
T-codes which can be commanded on PATH 2
T code Contents
T1300
T1400
Stationary tools
T1500
T1600
T1700
T1800 Power-driven tool for tilting head 3-spindle unit
T1900
T2000 Wait position for parts pick up/ reference point
T2100
T2200
T2300
T2400 Stationary tools/ Power-driven tools
T2500 (Cartridge type)
T2600
T2700
T2800
T2900 Part ejecting position (Z2-axis: reference point)
T3100
Power-driven tool (Cartridge type)
T3200
T4100
Deep hole drill (Stationary)
T4200
8-22
The tool unit, to which more than 2 tools can be attached, can be installed onto T31 or T32.
To distinguish tools, add the number “11, 12 (2-spindle type)” or “21, 22, 23 (3-spindle
type) instead of “00” to the tool number to select, i.e. command T and 4-digit.
“11, 12” and “21, 22, 23” are called ID number.
E.g.) When installing 2-Spindle Counter-face Drilling Unit ER16 [54151] on T31
E.g.) When installing 3-Spindle Counter-face Drilling Unit [67161, 0M155] on T32
▪ Keep relay setting is required to use the cartridge type tool units below. For details
on the Tool unit No. input screen, please refer to “7-11-3 Keep Relay
Conversational Setting Screen”
▪ For details on the units which can be installed, please refer to section “Appendix.”
8-23
When selecting the tilting head 3-spindle unit (T1700, T1800 or T1900), it is possible to
turn the unit at the same time as the tool selecting movement by commanding the
argument B__ (tilting angle) after the tool number.
8-24
Tool wear offset
Each tool selection position by the tool selection command is as shown in the table below.
▪ In practice, the workpiece coordinate for each axis will include its own data for each
machine. Therefore, it will differ slightly from the values in the table below.
▪ The values in brackets ( ) are the geometry offset values.
T600 38.0 0
T1300 T1600 0 0
8-25
Tool selection Workpiece coordinate
Drawing
command X Y
T3100
0 40.0
T3200
T3100 0 0
T3111
T3112
0 0
T3121
T3122
T3123
T3211
T3212
0 0
T3221
T3222
T3223
8-26
◼ Tool position offset function
This function is called tool offset or offset.
There are two tool position offsets: “tool wear offset” and “tool geometry offset”.
▪ Refer to section “7-10-1 Tool Wear Offset Screen” for details on inputting offset
values.
T□□
Tool offset number 00 to 90
T00 is cancellation of tool wear offset
There are 90 pairs of offset numbers each for PATH1 and PATH2.
Refer to the examples below for considering the offset numbers.
[PATH2]
Tool select command Tool wear offset number Offset address
T2100 T21 X, Y, Z
T2200 T22 X, Y, Z
The tool shape, mounting position and the center height of a tool (T100 T600) can be
compensated. Input the offset values of the X, Y and Z axes for each tool on the
GEOMETRY OFFSET screen in advance.
The offset value will be valid with the tool selection command.
At this time, the coordinate system of each axis will shift in the plus direction by the offset
value with a + (plus) sign, and in the minus direction by the offset value with a − (minus)
sign.
▪ Refer to section “7-10-2 Tool Geometry Offset Screen” for details on how to input
offset values.
8-27
8-9 Broken Cut-off Tool Detector
◼ Summary
This unit detects damage of the cut-off tool by mechanically detecting if the machined part
remains after the cut-off process.
WARNING
▪ Always operate this unit after the cut-off process.
▪ Breakage of the cut-off tool can damage the machine and/or cause a fire.
▪ Always check the operation of this unit before starting any machining of new
products.
▪ This unit may sometimes not be effective for some products, depending on their
shape.
▪ This is a safety device. Therefore be sure to check the operation of this once every
6 months.
▪ Please contact STAR MICRONICS if there is a problem with the operation of safety
devices.
▪ Refer to section “12-2-2 6-Month Inspection” for details on the operation check.
◼ Specifications
Minimum parts detection length ········· 6.5mm
Minimum parts detection diameter ······ 2mm
◼ Command
Broken cutoff tool detection ON (PATH1: M27)
◼ Operation
(1) After main collet clamp is commanded at the program beginning, command T100 on
PATH1.
(2) Retract X1, Z1-axes. (X1 = Bar outer diameter + 1mm, Z1 = −0.5 mm)
(3) Command M27 to check if cutting-off has completed normally.
(4) If the cut-off process has not performed normally and the product remains, alarm No.
1006 will be displayed.
8-28
◼ Program example
Enter the M27 command in the position.
[PATH 1] [PATH 2]
O1234 ; O1234 ;
G266 A W S X Z F B ;
G125 ; G130 ;
G300 ; G99 M9 ;
G97 ; M5 ;
G40 M9 ; G0 T0 ;
G99 M3 S500 ;
M11 ;
G0 Z0 T0 ;
M200 ; M200 ;
M20 ; M20 ;
M10 ;
G553 ; G553 ;
T100 ;
G0 X[#531+1.0] Z−0.5 ;
M27 ;
M25 ;
M201 ; M201 ;
T2000 ;
M75 ;
: The cut-off tool retracts to X1 = bar diameter + 1.0 mm, Z1 = −0.5 mm.
8-29
8-10 Preparatory Functions (G Functions)
◼ G code table
PATH Response
G code Function Group to MC Remarks
1 2
⧫G0 Positioning (rapid traverse)
G1 Linear interpolation (cutting feed)
Circular interpolation/
G2 01
Helical interpolation CW
Circular interpolation/
G3
Helical interpolation CCW
G4 Dwell
00
G 10 Programmable data input
G 17 X-Y plane selection
⧫ G 18 Z-X plane selection 16
G 19 Y-Z plane selection
⧫ G 25 Spindle speed fluctuation detection OFF Command
08 independently in
G 26 Spindle speed fluctuation detection ON a single block
G 28 Reference point return
00
G 30 Second reference point return
G 32 Threading/ continuous threading
G 34 Variable lead threading
01
G 35 Circular threading (CW)
G 36 Circular threading (CCW)
⧫ G 40 Tool nose radius compensation cancel
G 41 Tool nose radius compensation left 07
G 42 Tool nose radius compensation right
G 43.4 Tool center point control ON (type 1)
G 43.5 Tool center point control ON (type 2) 23
⧫ G 49 Tool center point control cancel
Coordinate system setting
Available in the
G 50
Maximum spindle speed clamp 00 constant surface
speed control
G 65 Macro program call
G 66 Macro modal call
12
⧫ G 67 Macro modal call cancel
G 68.1 3D coordinate conversion mode ON
17
G 69.1 3D coordinate conversion mode OFF
G 70 Finishing cycle
G 71 Outer diameter rough cutting cycle
G 72 End face rough cutting cycle
G 73 Pattern repeating cycle 00
G 74 End face peck drilling cycle
G 75 Outer diameter cut-off cycle
G 76 Multiple-thread cutting cycle
8-30
PATH Response
G code Function Group Remarks
1 2 to MC
⧫ G 80 Canned cycle for drilling cancel
G 83 Front drilling cycle
10
G 84 Front tapping cycle
G 85 Front boring cycle
Star
G 87 Side drilling cycle Command
unique
independently in
specific
G 89 Side boring cycle a single block
ation
G 90 Outer・internal diameter turning cycle
G 92 Threading cycle 01
G 94 End face turning cycle
Star
G 96 Constant surface speed control ON Command
unique
independently in
specific
⧫ G 97 Constant surface speed control OFF a single block
ation
G 98 Feed per minute (mm/min inch/min)
05
⧫ G 99 Feed per revolution (mm/rev inch/rev)
Command
G107 Cylindrical interpolation 00 independently in
a single block
G112 Polar coordinate interpolation ON Command
21 independently in
⧫ G113 Polar coordinate interpolation OFF a single block
G117 Y- X plane selection
G118 X- Z plane selection 16
G119 Z- Y plane selection
G125 Z1-axis coordinate system setting
⧫ G130 Z2-axis coordinate system setting cancel Command
Z2-axis coordinate system setting for independently in
G131 a single block
parts pick-up
Command
Z2-axis coordinate system setting for
G132 Star independently in
back machining
unique a single block
specific Command
Storage of Z2-axis workpiece projection
G133 ation independently in
length
a single block
G170 Tool selection path command cancel
G171 Tool selection path command (direct) Command
G172 Tool selection path command (indirect) independently in
G173 Tool selection path shortening a single block
⧫ G250 Polygon machining cancel
20
G251 Polygon machining
8-31
PATH Response
G code Function Group Remarks
1 2 to MC
Command
G265 Geometry offset input independently in
a single block
Command
G266 Machining data setting independently in
a single block
Command
G267 Tool life management data setting Ignored independently in
a single block
Command
G300 Auto cut-off independently in
a single block
Command
G553 Heat expansion measurement independently in
a single block
Star Command
G784 X cross rigid tapping cycle unique independently in
specific a single block
ation Command
G884 Y cross rigid tapping cycle independently in
a single block
Command
G900 Block skip on PATH2 single operation independently in
a single block
G910 B1-axis tilting 1 Command
independently in
G920 B1-axis tilting 2 a single block
Command
G984 Front/back off-center rigid tapping cycle independently in
a single block
Coordinate system setting for
G990 Command
simultaneous 5-axis machining ON
independently in
Coordinate system setting for
G991 a single block
simultaneous 5-axis machining OFF
8-32
▪ Multiple G codes can be commanded in the same block together if they belong to
different groups.
▪ If a G code belonging to group 01 is specified in a canned cycle for drilling, the
canned cycle for drilling cancels. This means that it will be the same state as
commanding G80.
▪ If G codes belonging to the same group are commanded in the same block, only
the last one will be valid.
▪ G codes with the ⧫ mark are selected automatically when the power is turned on.
▪ G codes in group 00, G125, G130, G131, G132, G133, G173, G265, G266, G300,
G553, G784, G884, G900 and G984 are non-modal.
All other G codes are modal.
"Non-modal" codes are G codes that are valid only for the commanded block.
"Modal" codes are G codes that are valid until another G code of the same group is
commanded.
▪ Alarm No. PS0010 will display on the screen if a G code not listed in the table is
commanded.
8-33
8-10-1 Positioning (G0)
This is a command that is used to move a tool from the current position to the specified
position at a rapid traverse rate.
Format
(Example):
G0 X22.0 ; X position moves to 22.0.
G0 U−10.0 Z80.0 ; X position moves to 12.0 and Z position moves to 80.0 at the
same time.
G0 X10.0 W30.0 ; X position moves to 10.0 and Z position moves to 110.0 at the
same time.
8-34
8-10-2 Linear Interpolation (G1)
This is a command that is used to move (turn the material) the tool along a line from the
current position to the specified position at the feed rate specified with F.
Format
F Feed rate
8-35
8-10-3 Circular Interpolation (G2, G3)
This is a command that is used to move (turn the material) the tool along the commanded
circular arc of radius from the current position to the specified position at the feed rate
specified with F.
X(U) Z(W) I K F ;
Z−X plane G18 G2/ G3
X(U) Z(W) R F ;
Y(V) Z(W) J K F ;
Y−Z plane G19 G2/ G3
Y(V) Z(W) R F ;
X(U) Y(V) I J F ;
X−Y plane G17 G2/ G3
X(U) Y(V) R F ;
X(U) Z(W) I K F ;
Z−X plane G18 G2/ G3
X(U) Z(W) R F ;
Y(V) Z(W) J K F ;
Y−Z plane G19 G2/ G3
Y(V) Z(W) R F ;
X(U) Y(V) I J F ;
X−Y plane G17 G2/ G3
X(U) Y(V) R F ;
I X-axis distance from start point to center of the arc (with sign, radius value)
J Y-axis distance from start point to center of the arc (with sign, radius value)
K Z-axis distance from start point to center of the arc (with sign, radius value)
R Arc radius (without sign)
▪ IF I, J, K, and R addresses are specified in the same block, the arc specified by
address R takes precedence and the others (I, J, K) are ignored.
8-36
Tool T100 T900
T1100 T1900 T2100 T2800
Plane T3100, T3200
G17 ; G17 ; G17;
G2 G2 G2
X(U) Y(V) R F ; X(U) Y(V) R F ; X(U) Y(V) R F ;
G3 G3 G3
X-Y plane
(G17)
Z-X plane
(G18)
*Selected
when
turning the
power on
Y-Z plane
(G19)
▪ The plus (+) and minus (−) axis directions shown in the above figures are when the
workpiece is immobile and the tools are moving.
▪ G18 (Z-X plane) is selected automatically when turning the power on.
▪ Direction of the circular arc (G2, G3) in the G117, G118 and G119 modes is
opposite to the one (G2, G3) of G17, G18 and G19 modes.
8-37
8-10-4 Helical Interpolation (G2, G3)
By commanding axis movement (excluding the axes of the selected plane) at the same time as
circular interpolation, it will be possible to move the tool onto the spiral and perform helical
interpolation.
Format
X-Y plane X(U) Y(V) Z(W) I J F ;
G2/ G3
G17 X(U) Y(V) Z(W) R F ;
Z-X plane X(U) Z(W) Y(V) I K F ;
G2/ G3
G18 X(U) Z(W) Y(V) R F ;
Y-Z plane Y(V) Z(W) X(U) J K F ;
G2/ G3
G19 Y(V) Z(W) X(U) R F ;
▪ Refer to section “8-10-3 Circular Interpolation (G2, G3)” for details on the tool path
in G2,G3.
▪ Refer to section “8-10-3 Circular Interpolation (G2, G3)” for details on I, J, K, and R
addresses.
▪ Refer to section “8-14-18 Helical Interpolation” on the example of use.
Determine the feed rate so the linear axis The feed rate along the circumference of two
feed rate does not exceed any of the various circular interpolated axes is the specified feed
limit values. rate.
8-38
If parameter No.1403-bit 5 = 1, specify a Figure-2
feed rate along the tool path which includes
the linear axis. Therefore the tangential
velocity of the arc is expressed as follows:
Length of arc
F
(Length of arc)2 + (Length of
linear axis)2
Length of linear axis The feed rate along the tool path is specified.
F
(Length of arc)2 + (Length of
linear axis)2
8-39
8-10-5 Dwell (G4)
This is used to delay the next block execution for a specified period.
Format
Timer setting
After the time specified with U, X or P has been up, the program will
move to the next block.
U, X and P G4 is non-modal, so it is only available in a commanded block.
The time that can be specified is 0.001 to 99999.999 seconds.
Addresses U and X use second units, and decimal point input can be used.
Decimal point input cannot be used for the address P.
▪ Addresses U, X and P are used for the timer setting and U is used as an example
in this manual.
8-40
8-10-6 Programmable Data Input (G10) < This code cannot be optimized >
This is used to set and alter the tool wear offset amount.
When G10 is commanded by absolute input, the commanded offset amount will be the new tool
wear offset amount. If commanded by incremental, the current tool wear offset amount will be
the one with the commanded offset amount added.
Format
8-41
8-10-7 Plane Selection (G17, G18, G19, G117, G118, G119)
The plane selection is required for the commands of circular interpolation, tool nose radius
compensation, chamfering and corner R etc.
Format
Command Plane
G17 X-Y Plane
G18 Z-X Plane (Selected when turning the power on)
G19 Y-Z Plane
G117 Y-X Plane
G118 X-Z Plane
G119 Z-Y Plane
▪ Commanding G18 in a single block independently will change a plane to the basic
Z-X plane.
▪ A plane will not change in a block with no plane selection command.
▪ When commanding plane selection, cancel tool nose radius compensation (G41,
G42) beforehand.
▪ When the following functions are commanded on the G117, G118 or G119 plane,
alarm PS0499 will occur.
- Multiple canned cycles (G70 G76)
- Canned cycle for drilling (G80, G83, G84, G85, G87, G89)
- Single canned cycle (G90, G94)
- Polar coordinate interpolation
- Cylindrical interpolation
- Chamfering and corner R
- Skip function
- Direct drawing dimension programming
- Helical interpolation
- Rigid tapping
▪ When following function is commanded on the G117 or G118 plane, alarm PS0499
will occur.
- Threading cycle (G92)
8-42
8-10-8 Spindle Speed Fluctuation Detection ON/OFF (G26, G25)
This is used to trigger an alarm if the spindle speed fluctuates more or less than the
commanded speed.
Format
The time from the spindle speed change command to the start of the
P
check. (Unit: ms)
The permissible ratio for determining that the speed reaches the
Q commanded value when the speed is commanded or changed. The check
will start after this. (Unit: 0.1%)
The permissible fluctuation ratio for determining that the rotation
R speed is abnormal. If this value is exceeded, an alarm will occur. (Unit:
0.1%)
The rotation fluctuation range for determining that the rotation speed
I
is abnormal. If this value is exceeded, the alarm will occur. (Unit: min-1)
▪ When creating a program, make sure the spindle speed fluctuation detection ON
(G26) is commanded while the main spindle or sub spindle is rotating.
▪ Command these codes in a single block independently.
▪ Before changing the rotating direction, executing threading (tapping) or
commanding M82, command G25 (Spindle speed fluctuation detection OFF).
▪ When using the power driven tools, command G25 (spindle speed fluctuation
detection OFF) beforehand.
▪ The commanded amount for P, Q, R and I will be stored in the parameters even if
G25 is commanded. Therefore, the P, Q, R and I data set (stored) in the
parameters will be effective just by commanding G26.
▪ Initial parameter data (PATH1 for main spindle, PATH2 for sub spindle)
Parameter No. Setting data Unit Actual
P No. 4914 3000 ms 3 seconds
Q No. 4911 10 0.1% 1%
R No. 4912 20 0.1% 2%
I No. 4913 50 min−1 50min−1
▪ The machine enters G25 state (Spindle speed fluctuation detection OFF) when
turning the power on.
▪ In the “permissible fluctuation ratio” and “rotation fluctuation range” for determining
that the rotation speed is abnormal, an alarm will be triggered when the address
which has the higher spindle speed is exceeded.
8-43
8-10-9 Reference Point Return (G28)
The commanded axis will move to the halfway point by rapid traverse, and will then return
from the halfway point to the reference point.
Format
U(X)
V(Y) Coordinate of the halfway point
W(Z)
8-44
8-10-10 The Second Reference Point Return (G30)
The commanded axis will move to the halfway point by rapid traverse, and will then return
from the halfway point to the second reference point. (The operation is the same principal as
the reference point return (G28), with the exception of returning to the second reference point.)
Format
U(X)
V(Y) Coordinate of the halfway point
W(Z)
▪ The second reference point must be set in parameter (No. 1241) with the machine
coordinate system for each axis beforehand. (The initial value is 0 for each axis.)
▪ Command this after offset cancellation.
8-45
8-10-11 Threading (G32)
This is used to cut straight, taper, front (scroll) and continuous thread.
▪ Parts of the lead at the beginning and end of threading will be incorrect due to
delays in the servo system (in accelerating or decelerating). Therefore, the program
must compensate for these inaccurate parts.
▪ Single block stop will not work in the G32 command block.
▪ G32 command cannot perform chamfering. (Use G92 or G76 for chamfering.)
▪ The following operations are ignored during threading.
Feed override operation ・・・ It is considered to be 100%
Feed hold operation
▪ Threading (G32) can only be commanded in G99 mode (feed per revolution).
▪ Do not command an M code when commanding continuous threading. If an M code
is commanded, the machine will wait at that block and will not perform continuous
threading.
▪ Do not command the constant surface speed control (G96). (The thread lead will be
inaccurate).
▪ The "threading cycle retract" is not available.
Format
X(U)
End point coordinate
Z(W)
F Thread lead
Shift amount of the threading start angle
Use this command when cutting multiple thread. This is not required when
Q
machining single thread.
Example: With Q180000 command, threading start angle shifts 180 degree.
8-46
8-10-12 Variable Lead Threading (G34)
▪ Parts of the lead at the beginning and end of threading will be incorrect due to
delays in the servo system (in accelerating or decelerating). Therefore, the program
must compensate for these inaccurate parts.
▪ Single block stop will not work in the G34 command block.
▪ G34 command cannot perform chamfering.
▪ The following operations are ignored during threading.
Feed override operation ・・・ It is considered to be 100%
Feed hold operation
▪ Threading (G34) can only be commanded in G99 mode (feed per revolution).
▪ Do not command the constant surface speed control (G96). (The thread lead will be
inaccurate).
▪ The "threading cycle retract" is not available.
Format
X(U)
End point coordinate
Z(W)
F Thread lead
K Increment and decrement amount of lead per screw revolution
Shift amount of the threading start angle
Use this command when cutting multiple threads. This is not required when
Q
cutting a single thread.
Example: With Q180000, threading start angle shifts 180.
▪ This is the same method as threading with G32 except for the increment or
decrement of lead (K) command.
8-47
8-10-13 Circular Threading (G35, G36)
Format
X(U)
Arc end point coordinate
Z(W)
R Arc radius
F Lead in the direction of the major axis
Shift amount of the threading start angle
Use this command when cutting multiple threads. This is not required when
Q
cutting a single thread.
Example: With Q180000, threading start angle shifts 180.
▪ For details on the example of use, please refer to section "8-14-9 Threading".
▪ For further details, please refer to OPERATOR'S MANUAL published by CNC
manufacturer (FANUC).
8-48
8-10-14 Tool Nose Radius Compensation (G40, G41, G42)
Tool wear offset may not complete the offset when executing taper and/or arc turning by a tool
with rounded nose. These G codes can automatically calculate the error amount and execute
compensation.
Command Code
Position the parts drawing so that the machining direction is from right to left, and decide
the codes by using the bottom part from the central line of the following figure.
The offset direction of rounded tool nose will be determined by commanding the bar
position against the tool advance direction.
▪ These G codes are modal. Do not re-command G41 in G41 mode. Also, do not
re-command G42 in G42 mode.
▪ Command G40 for the area where tool nose radius compensation is unnecessary.
▪ When using on Z-X plane (This will be selected when the power is ON.), command
G18 (Z-X plane).
Plane selection
G code Tool path
G40 Tool nose radius compensation cancel
G41 When the workpiece is located on the right side of the tool advance direction
G42 When the workpiece is located on the left side of the tool advance direction
8-49
Polar coordinate interpolation
G code Tool path Front machining Back machining
Machining shape is Machining shape is
G41
When the tool advances in the plus on the left side on the right side
(+) direction of the linear axis Machining shape is Machining shape is
G42
on the right side on the left side
G40 Tool nose radius compensation cancel
Input the tool nose R dimension and imaginary tool nose number into the WEAR OFFSET
screen beforehand.
Input the tool nose R measurement into address R of the tool wear
Tool nose R offset number to be compensated.
dimension
“R”
Input imaginary tool nose No.0 No.9 into address T of the tool wear
offset number to be compensated.
Imaginary tool
nose number
“T”
▪ When performing milling, input imaginary tool nose No.0 or No.9 into address T.
▪ Refer to “7-10-1 Tool Wear Offset Screen” for details on setting the tool nose R
dimension and the imaginary tool nose number.
8-50
Startup block
STARTUP is the beginning block, which changes the mode from G40 to G41 or G42 mode.
This block executes tool nose radius compensation and the center of tool nose R moves to a
position vertical to the programmed path of the next block.
U and W are the directions of the imaginary tool nose as seen from the center of tool nose R.
Command “1” or “−1” to the values of U and W.
8-51
Cancellation block
Turning Boring
Axis
G41 (G42) (G41) G42
X-axis G40 U1 K1 G40 U1 K−1 G40 U−1 K−1 G40 U−1 K1
▪ If there is no axis move command in two continuous blocks during tool nose radius
compensation, it will act as a cancellation.
▪ The tool nose radius compensation will not function in the G71G76 and G92
cycles.
▪ The tool nose radius compensation will not function by MDI input.
▪ It is not possible to carry out internal machining of an arc that is smaller than the
radius of the tool nose.
▪ Grooves smaller than the tool nose diameter cannot be machined.
▪ When machining a step smaller than the radius of the tool nose, command the step
as a straight line.
▪ When the offset No. is 00, and is commanded with a T code, the block will be a
cancel block.
8-52
Program example
Turning
Tool nose R dimension R=0.2
Imaginary tool number T=4
<Program example>
T200 M3 S4000 ;
G0 X11.0 Z−0.5 T2 ;
G1 X2.6 F0.2 ;
G41 U−1 W1;
G1 X4.0 Z0.2 F0.03 ;
G1 Z3.0 F0.04 ;
G1 X7.464 W3.0 ;
G4 U0.05;
G1 X9.6 F0.05 ;
G1 X10.6 W0.5 F0.03 ;
G40 U1 K1;
G0 X11.0 T0;
Boring
Tool nose R dimension R=0.1
Imaginary tool number T=1
Geometry offset X6.0
<Program example>
T1600 M3 S2000 ;
G0 X9.4 Z−0.5 T4 ;
G42 U1 W1;
G1 X8.0 W0.7 F0.03;
G1 W3.8 F0.04;
G2 X6.0 W1.0 R1.0 F0.03;
G1 X5.0 F0.04;
G40 U−1 K1;
G0 Z−5.0;
G0 T0;
▪ When performing boring, it is necessary to set the diameter of the boring tool tip
into the geometry offset beforehand.
8-53
8-10-15 Tool Center Point Control (G43.4, G43.5, G49)
Format
Tool center point control (Type 1)
G43.4 D__ ; ··············································Tool center point control ON (Type 1)
G0 (or G1) X__ Y__ Z__ B__ C__ ; Approach or machining command
Tool center point control (Type 2)
G43.5 D__ ; ··············································Tool center point control ON (Type 2)
G0 (or G1) X__ Y__ Z__ I__ J__ K__ ; Approach or machining command
Tool center point control cancel
G49 D0 ; ··················································Tool center point control cancel
PATH 1
G0 T0 Tool wear offset cancel
T___ ; Tool selection
M8 ; C1-axis ON
G0 C0 ; C1-axis positioning
G990; Coordinate system setting for simultaneous 5-axis machining ON
M170 P1 ; Curved surface machining mode ON
M36 S___ ; Power-driven tool motor ON
8-54
Program format in tool center point control ON
PATH 1
G43.4 D17 ; Tool center point control (Type 1) ON
G0 X21.0 Z0 B90.0 C0 Pos. 1
G1 X20.0 Y0 Z0 B90.0 C0 F0.01 ; Pos. 2
G1 X12.0 Y−14.0 Z7.0 B70.0 C60.0 F0.01 ; Retraction
G1 X13.806 Y−17.128 F0.01 ;
8-55
Program format at the time of tool center point control cancel
PATH 1
M38 ; Power-driven tool motor rotation stop
G49 G0 D0 ; Tool center point control cancel and tool wear offset cancel
M170 ; Curved surface machining mode OFF
G991 ; Coordinate system setting for simultaneou 5-axis machining OFF
M9 ; C1-axis OFF
▪ Tool center point control can be commanded only when T1700~T1900 on PATH1 is 메모 포함[紅林1]: 35-000T0-0066
selected. 削除
▪ Do not issue a command except for tool wear offset in the same block as G43.4 or
G43.5. If an axis movement is commanded in the same block as G43.4 or G43.5, it
will not be the 5-axis interpolated movement.
▪ The tool selection cannot be executed during the tool center point control.
Command tool center point control cancel (G49) and 5-axis setting OFF (G991).
▪ The programmable mirror image function becomes valid during the tool center point
control. (When the programmable mirror image function is valid, X1-axis of T1700
(T1900 moves in the reverse direction against the movement command.)
In order to prevent collisions, command the tool center point control cancel (G49)
and 5-axis setting OFF (G991) before carrying out the manual operation.
▪ Command the tool wear offset number with D during the tool center point control.
At this time, only Z-axis offset value (radius value) is used in order to compensate
the length in the longitudinal direction of the tool.
E.g.) D1 ; Absolute coordinate system changes according to
offset value D1.
G0 X Z ; Offset value D1 is valid at the end of block.
▪ Be sure to command D0 in the block of G49 command.
▪ Be sure to command G49 D0 in G0 or G1 mode.
▪ Command G990 before carrying out the tool center point control (G43.4).
▪ G43.5 (Tool center point control Type 2) is available when the direct dimension
drawing programming is set. During the tool center point control, there is a
restriction on the G codes which can be commanded. Available G codes are as
follows:
G0, G1, G2, G3, G4, G10, G11, G17, G18, G19, G40, G65, G66, G67, G98, G99,
G265 and G266.
▪ Tool wear offset does not have to be commanded in the same block as G43.4,
G43.5. It is possible to command them in the next block or later.
8-56
8-10-16 Coordinate System Setting, Maximum Spindle Speed Clamp (G50)
▪ In the case of commanding G50 for the C-axis, put the coordinate system of C-axis
in the original position before commanding M9 (C-axis OFF).
▪ Command G0 when the M, S and T codes are commanded in a block after the one
with G50.
▪ G50 is a non-modal code and is only available in the commanded block. Other G
codes, M, S and T codes cannot be commanded in the block with G50 command.
▪ Command G50 after cancellation of the tool offset and tool nose radius
compensation.
Format
G50 S ;
(Example): G50 S2000 ; The maximum spindle speed is fixed at 2,000 min-1.
▪ This command is only available during G96 (constant surface speed control) mode.
It does not function in G97 mode.
8-57
8-10-17 Macro Program Call (G65 G67)
▪ When an argument is required for the macro program, use argument specification.
▪ When an argument is required for the macro program, use argument specification.
8-58
8-10-18 3D Coordinate Conversion Mode (G68.1, G69.1)
This function rotates the coordinate system at the center of rotation of the arbitrary axis.
Machining can be performed on a desired plane in three-dimensional space.
Format
G68.1 X Y Z I J K R ; 3D coordinate conversion mode ON
G69.1 ; 3D coordinate conversion mode OFF
▪ For details on the example of use, please refer to section “8-14-21 Skewed Hole
Drilling and Tapping” and “8-14-22 Skewed Helical Interpolation”.
8-59
8-10-19 Multiple Canned Cycles (G70 G76) < Some codes cannot be optimized >
These are canned cycle commands that make programming easier. By commanding a finishing
shape program, the rough-cutting tool path midway through machining will be automatically
determined.
▪ When machining with G71 G73, finishing can be performed with G70 (Finishing
cycle).
▪ Tool nose radius compensation, Direct drawing dimension programming and
Chamfering corner R are unavailable.
▪ Command G0 in the block that follows the G70 to G76 cycle.
8-60
Format
G74 R(e) ;
G74 X(U) Z(W) P(i) Q(k) R(d) F(f) ;
Return amount
This command is modal, and is valid until the other value is commanded.
e
It can also be set by parameter (No. 5139), and the parameter value is changed
by program command.
X X component at point B
U Incremental amount of A→B
Z Z component at point C
W Incremental amount from A→C
Movement amount in X direction (radius specification).
i
This is commanded without a sign (+ or −).
Cutting depth in Z direction
k
This is commanded without a sign (+ or −).
d Relief amount of tool at cutting bottom
f Feed rate
<Program example>
G0 X8.0 Z0 ;
G74 R0.5 ;
G74 X2.0 Z20.0 P2000 Q5000 R1.0 F0.05 ;
8-61
Format
8-62
▪ The cutting feed rate will be fixed to 100% during threading cycle, regardless of the
OVERRIDE switch .
▪ By pressing the FEED HOLD button during threading when threading cycle
retract is used, chamfering will be executed immediately and the program will return
to the start point P.
If the START button is pressed again, the threading which is currently being
executed will be restarted from the beginning.
▪ If the machine is in the M23 state (Chamfering ON), chamfering will be performed
the moment G76 is commanded.
▪ The parameter No.5130 is used as a chamfering amount when M23 (Chamfering
ON) is commanded during G92 (Threading cycle) operation.
▪ For details on the example of use, please refer to section "8-14-9 Threading ".
8-63
8-10-20 Canned Cycle for Drilling (G80, G83 G85, G87, G89)
The canned cycles for drilling simplify the specified movement with a few blocks by using one
block command.
8-64
Movement pattern
With a Q command, the feed is intermittent. Without a Q command, the cutting feed
continues all the way to the bottom of the hole in one movement.
8-65
◼ Front tapping cycle (G84)
Format
Movement pattern
Movement pattern
8-66
◼ Side drilling cycle (G87)
Format
Movement pattern
Movement pattern
8-67
8-10-21 Single Canned Cycle (G90, G92, G94)
By using this function, it is possible to simplify the cutting operation such as "cutting in →
turning (threading) → retract → return" (4 block process) without commanding G0, G1 and
G32.
8-68
◼ Threading cycle (G92)
In the drawing above, portions 1 at cutting start and 2 at cutting end will have
inaccurate leads. Use the following formula to calculate the approximate value of
1 and 2.
LS L: Tread lead
1 = 4
1800 S: Spindle speed
LS
2 =
1800
▪ There are limits related to the spindle speed and thread lead.
LS Maximum cutting feed rate (mm/min)
▪ Cutting feed rate will be fixed at 100% during thread cycle regardless of the JOG
/OVERRIDE switch .
▪ If threading cycle retract has been added to the function, and the FEED HOLD
button is pressed during threading, chamfering will start immediately and the
program will return to start point P.
▪ If the START button is pressed again, the threading which is currently being
executed will be restarted from the beginning.
8-69
▪ G92 is a modal code, so the blocks from G92 onwards will execute threading cycle
only by a cut- in depth command in the direction of the X-axis.
▪ If M23 (chamfering ON) is active when G92 is commanded, the chamfering will be
performed.
The amount of chamfering can be set into parameter No 5130 in a range of 0.1 to
12.7L, and can be changed by 0.1L increments.
The parameter No. 5130 is used for “r : Chamfering amount” as well in G76
(Automatic threading cycle). This command is modal so if G76 changes the
chamfering amount, it is necessary to set parameter No. 5130 again.
Format
G92 X(U) Z(W) FQ ;
X(U)
End point coordinate
Z(W)
F Thread lead
Shift amount of the threading start angle
Q Use this command when cutting multiple threads. This is not required when
cutting a single thread.
Example: With Q180000, the threading start angle shifts 180.
▪ For details on the example of use, please refer to section "8-14-9 Threading”.
▪ For further details, please refer to OPERATOR'S MANUAL published by CNC
manufacturer (FANUC).
8-70
(b) Taper threading cycle
Format
G92 X(U) Z(W) RFQ ;
X(U)
End point coordinate
Z(W)
R Distance from B to A’ in the X direction (Difference of the radius)
F Thread lead
Shift amount of the threading start angle
Q Use this command when cutting multiple threads. This is not required when
cutting a single thread.
Example: With Q180000, the threading start angle shifts 180.
8-71
8-10-22 Constant Surface Speed Control (G96, G97)
This is used to control the spindle speed and changes it to the constant surface speed value in
accordance with the X-axis position.
Constant surface speed (For “mm” input, m/min will be used, and for “inch”
S input, ft/min will be used.)
The constant surface speed control remains active until G97 is commanded.
▪ G97 will be set on PATH1 and PATH2 when turning the power on.
8-72
8-10-23 Feed Function Specification (G98, G99)
These functions will set the cutting feed of the F command to “feed per minute” or “feed per
revolution”.
▪ G99 is set on both PATH1 and PATH2 at the time of turning the power on.
▪ The datum spindle can be switched with the tool selection command.
▪ For “mm” input, “mm/rev” will be used.
For “inch” input, “inch/rev” will be used.
8-73
8-10-24 Cylindrical Interpolation (G107)
This function is for machining the rolled-out shape of a parts cylinder by using the Z and C
axes to perform machining with Linear interpolation (G1) and Circular interpolation (G2, G3).
Format
G107 C ; Cylindrical interpolation ON (C: radial value)
G107 C0 ; Cylindrical interpolation OFF (Cancel)
8-74
8-10-25 Polar Coordinate Interpolation (G112, G113)
8-75
8-10-26 Z1-axis Coordinate System Setting (G125)
8-76
8-10-27 Z2-axis Coordinate System Setting (G130, G131, G132, G133)
(Command on PATH2)
Format
G130 ············Z2-axis coordinate system setting cancel
G131 ············Z2-axis coordinate system setting for workpiece pick-up (standard collet use)
G131 B ······Z2-axis coordinate system setting for workpiece pick-up (long boss collet use)
G132 ············Z2-axis coordinate system setting for back machining
G133 ············Storage of Z2-axis workpiece projection length
8-77
G133: Storage of Z2-axis workpiece projection length
By commanding G133 at the time of workpiece pick-up, the Z2-axis workpiece projection
length is saved.
▪ In order to set the Z2-axis coordinate system for back machining with G132,
command G133.
8-78
8-10-28 Tool Selection Path Commands (G170 G173)
Tool selection in accordance with the tool installation state can be executed by commanding
Format
When T100 T600 tool selection is commanded during one of T100 T600 tool is selected,
X-axis will move to [bar diameter + 1.0 mm + maximum value of T100 T600 geometry
offset] and then Y-axis will move.
However, if the current X-axis position is in the plus direction from [bar diameter + 1.0
mm + maximum value of T100 T600 geometry offset] when the tool selection is
commanded, Y-axis only will move.
▪ The bar diameter must be inputted into BAR DIAMETER [#531] on the
MACHINING DATA screen.
The initial setting value is the maximum machining diameter of this machine.
▪ G171 is a modal code.
▪ Command G171 independently in a single block.
▪ Refer to “7-11-5 Machining Data Screen” for details on the setting method of the
MACHINING DATA screen.
8-79
◼ Tool selection path command (indirect) (G172) [command on PATH 1]
This code will execute positioning to the tool selection position via the position considering the
retracting amount of the selected tool, when the next tool selection is commanded.
Format
When T100 T600 selection is commanded during T100 T600 selection, X-axis will
move to [bar diameter + 1.0 mm + maximum value of T100 T600 geometry offset + X
value of G172 X___; ] and then Y-axis will move.
X value of “G172 X___ ;” : Projection length from the standard tool tip position
(diametrical)
E.g.) When the projection length is 4 mm: G172 X8.0
▪ The bar diameter must be inputted into BAR DIAMETER [#531] on the
MACHINING DATA screen.
The initial setting value is the maximum machining diameter of this machine.
▪ G172 is a modal code.
▪ Command G172 X__ independently in a single block.
▪ When X is omitted in G172 command, the retracting amount will be regarded as “0”.
▪ The value of the retracting amount commanded with G172 is maintained until the
next G172 is commanded.
In addition, this value will be canceled by turning CNC POWER OFF or the
emergency stop, but it will not be canceled by pressing the RESET key.
▪ The value of the retracting amount commanded with G172 is an incremental value
with a sign.
▪ Refer to “7-11-5 Machining Data Screen” for details on the setting method of the
MACHINING DATA screen.
8-80
◼ Tool selection path shortening (G173) [command on PATH1]
This code is used to specify the retracting position of the currently selected tool before the
next tool selection command.
Format
T100 T600, T700 T900
Tool No. T2000, T2100 T2900
T1100 T1200, T1700 T1900
Command G173 X__ ; X: retracting position G173 Z__ ; Z: retracting position
Tool selection
T___ ; T___ ;
command
8-81
8-10-29 Polygon Machining (G250, G251)
This command rotates the workpiece (main spindle) and the cutter (Y power-driven tool) of
Polygon machining unit [0T191] at a certain ratio, and a polygonal shape will be machined.
[Command on PATH1]
Format
[PATH1]
M4 S ; Main spindle reverse rotation command
G25 ; Spindle speed fluctuation detection OFF
M127 ; Reference point return of power-driven tool motor
G50 A0 ; Tool phase setting
G0 A ; Tool phase shift A360.0= 360°
G251 P Q ; Polygon machining ON:
Q (plus) when commanding Main spindle M3
Q− (minus) when commanding Main spindle M4
G0 X0 ; Positioning of workpiece and polygon cutter
(Input X = −57.0 into the tool geometry offset.)
;
G250; Polygon machining OFF
▪ For details on the example of use, please refer to “8-14-17 Polygon Machining”.
8-82
8-10-30 Geometry Offset Input (G265)
This function inputs geometry offset amounts into the GEOMETRY OFFSET screen by
program commanding.
Format
G265 T X Y Z Q ;
T Tool number
X X-axis geometry offset amount (mm)
Y Y-axis geometry offset amount (mm)
Z Z-axis geometry offset amount (mm)
Q Q1: PATH1 side, Q2: PATH2 side
10.0 is inputted into the X-axis geometry offset, 5.0 is inputted into the Y-axis geometry
offset and 11.0 is inputted into the Z-axis geometry offset of T500.
8-83
8-10-31 Machining Data Setting (G266)
Each item of machining data shown in the following table is inputted into the MACHINING
DATA screen.
Format
G266 A W S X Z F B ;
8-84
8-10-32 Tool Life Management Data Setting (G267)
Each item of tool life management data shown in the following table is inputted into the TOOL
LIFE MANAGEMENT screen by program command.
Format
G267 T D P C Q ;
The counter of T500 will be valid, 30000 will be inputted into the preset value and 1000 will
be inputted into the counter value.
8-85
8-10-33 Auto Cut-off (G300)
With this code, select tool T100 and execute the cut-off process based on the data on the
MACHINING DATA screen.
Format
G266 A W S X Z F B ;
G125 ;
G300 ;
▪ Before commanding Auto cut-off, set the spindle speed, cut-off end position and
cut-off feed rate on the MACHINING DATA screen in advance.
The position of cut-off tool (tool tip) positioning becomes X24.0.
It is recommended to command Machining data setting (G266) at the head of the
program on PATH1.
▪ Command this code in a single block independently.
▪ Cut-off operation will not be executed when the X-axis workpiece coordinate is the
value of CUT-OFF END POSITION or less.
▪ After Auto cut-off is executed, the machine enters the states of M26, M5, M11 and
G97.
8-86
8-10-34 Heat Expansion Measurement (G553)
▪ For details on the example of use, please refer to “8-14-2 Program Beginning”.
Measurement operation
PATH2
M20
↓
Measurement positioning
X2-axis machine coordinate = 631.0
↓
X2-axis measurement
↓
Retract
X2-axis machine coordinate = 630.0
↓
Machining start
8-87
8-10-35 X Cross Rigid Tapping Cycle (G784)
Format
G784 U F M36 S ;
U Cutting depth
F Thread pitch
S Tool rotation speed
Right-handed tapping: M36 (forward rotation)
M36
Left-handed tapping: M37 (reverse rotation)
▪ For details on the example of use, please refer to section “8-14-13 Cross Drilling
and Cross Rigid Tapping”.
8-88
8-10-36 Y Cross Rigid Tapping Cycle (G884)
Format
G884 V F M36(M56) S ;
V Cutting depth
F Thread pitch
S Tool rotation speed
(When machining with power-driven tool on PATH1)
Right-handed tapping: M36 (forward rotation)
Light-handed tapping: M37 (reverse rotation)
M36 (M56)
(When machining with power-driven tool on PATH2)
Right-handed tapping: M56 (forward rotation)
Light-handed tapping: M57 (reverse rotation)
▪ For details on the example of use, please refer to section “8-14-13 Cross Drilling
and Cross Rigid Tapping”.
8-89
8-10-37 Block Skip on PATH 2 Single Operation (G900 J**)
When the PATH2 single operation is executed, the program will be skipped from the
“G900 J**” block to the sequence number “N**” block.
Format
[PATH2]
O1234 ;
M200 ;
Program beginning
M20 ;
M75 ;
;
Back machining
;
M76 ;
T2000 ;
Part ejection process
M4 S2000 ;
T2000 ;
G900 J50 ;
Part pick-up process
Cut-off
N50 ;
M99 ;
8-90
8-10-38 B1-Axis Tilting 1, 2 (G910, G920)
Format
Format
B B1-axis angle
X, Z Rotation center coordinate in 3D coordinate system conversion
8-91
▪ If the Y-axis coordinate is commanded in 3D coordinate conversion mode, alarm
No. 3228 will be triggered.
▪ If G910 or G920 is commanded while the wear offset is valid, alarm No. 3231 will
be triggered.
▪ If G910 or G920 is commanded while the tool nose radius compensation is valid,
alarm No. 3229 will be triggered.
▪ If G910 or G920 is commanded while the canned cycle for drilling is valid, alarm
No. 3230 will be triggered.
▪ If G910 or G920 is commanded on PATH1 in M172 mode, alarm No. 3235 will be
triggered.
▪ If G910 or G920 is commanded on PATH2 in M171 mode, alarm No. 3237 will be
triggered.
▪ For details on the example of use, please refer to section “8-14-21 Skewed hole
drilling and Tapping” or “8-14-22 Skewed Helical interpolation”.
▪ For details on the 3D coordinate conversion, refer to section “8-10-18 3D
Coordinate Conversion Mode (G68.1, G69.1)”.
The tool turns around the center of B1-axis tilting as the rotation center, but the coordinate
system will be re-set with the assumption that B1-axis turns around the tool tip position or
the coordinate commanded with the arguments X and Z.
8-92
Format
8-93
8-10-39 Front/Back Off-Center Rigid Tapping Cycle (G984)
Format
W Cutting depth
F Thread pitch
S Tool rotation speed
(When machining with power-driven tool on PATH1)
Right-handed tapping: M36 (forward rotation)
Light-handed tapping: M37 (reverse rotation)
M36 (M56)
(When machining with power-driven tool on PATH2)
Right-handed tapping: M56 (forward rotation)
Light-handed tapping: M57 (reverse rotation)
▪ For details on the example of use, please refer to “8-14-13 Cross Drilling and Cross
Rigid Tapping”.
8-94
8-10-40 Coordinate System Setting for Simultaneous 5-axis Machining (G990, G991)
(Command on PATH1)
As the preparation for executing the simultaneous 5-axis machining, the coordinate system
setting for simultaneous 5-axis machining (G990) sets the coordinate system in which the
rotation center of B-axis is regarded as the control point.
Format
G990: Coordinate system setting for simultaneous 5-axis machining
G991: Coordinate system setting for simultaneous 5-axis machining OFF
▪ For details on the example of use, please refer to “8-10-15 Tool Center Point
Control (G43.4, G49)”.
8-95
8-11 Auxiliary Functions (M Functions)
CAUTION
▪ Command M codes in gray ( ) in a single block independently.
8-96
◼ M code table 2/3
Response
Code Description PATH1 PATH2 Remarks
to MC
M54 C1-C2 synchronous control ON PATH1 and PATH2
⧫ M55 C1-C2 synchronous control OFF wait for each other
Power-driven tool motor for back forward
M56 ×
rotation
Power-driven tool motor for back reverse
M57 ×
rotation
⧫ M58 Power-driven tool motor for back stop ×
CAUTION
▪ Command M codes in gray ( ) in a single block independently.
8-97
◼ M code table 3/3
Response
Code Description PATH1 PATH2 Remarks
to MC
Reference point return of power-driven
M127
tool motor
8-98
CAUTION
▪ Command M codes in gray ( ) in a single block independently.
8-99
▪ M codes that are followed by after “(M code): (Description)” in this
section has “Wait” function between PATH1 and 2 programs.
▪ “Wait” function is valid while both PATH1 and PATH2 keys are pressed
Commanding M0 in the MEMORY mode will stop the program execution after
the current block is completed. Press the START button to resume the
program.
▪ The main spindle rotation will stop after the program stops by M0. However, if
"ROTATE SPINDLE AT M00" on the KEEP RELAY (conversational setting) screen
is set to YES, the main spindle will continue rotating.
When the OPTIONAL STOP key lamp is lit, the program will stop at the
▪ By setting the keep relay K55-bit3 to “1”, the coolant discharge stops when the
cutting room door is open. The coolant discharge will resume when the door is
close again.
▪ Refer to section “6-1 Functions of the Machine Operation Panel” for details.
▪ Refer to section “11-5-3 PMC PARAMETER (KEEP RELAY) Screen” for details on
setting the keep relay.
8-100
◼ Spindle rotation commands
8-101
◼ Collet clamp/unclamp commands
M10: Collet clamp PATH1: PATH2:
Commanding this code on PATH 1 will clamp the main collet, and the MAIN
When the ONE CYCLE key lamp is lit, the program stops at the M20
execution.
▪ Setting the keep relay K55-bit4 to “1” leads the same situation as pressing the
DOOR OPEN button at M20 stop.
▪ Refer to section “6-1 Functions of the Machine Operation Panel” for details.
▪ Refer to section “11-5-3 PMC PARAMETER (KEEP RELAY) Screen” for details on
setting the keep relay.
8-102
◼ Error detect ON/OFF <Ignored on MC operation>
◼ Chamfering commands
M23: Chamfering ON PATH1: PATH2:
Executes diagonal chamfering at the threading-end-position when executing G92
(Threading cycle), G76 (Multiple-thread cutting cycle).
▪ When the chip conveyor which is connected to the terminal block XT930 (wire
No.70, 71) for chip conveyor start/stop signal is used, this M code will transmit the
signal to turn the chip conveyor ON.
▪ To stop the coolant pump motor, command M26 on the PATH where M25 is
commanded.
▪ When the chip conveyor which is connected to the terminal block XT930 (wire
No.70, 71) for chip conveyor start/stop signal is used, this M code will cancel the
signal to turn the chip conveyor ON.
8-103
◼ Workpiece pick-up/ejecting detection commands
M27: Workpiece pick-up detection PATH1: PATH2:
This is commanded while the sub collet is clamped.
If the workpiece pick-up process fails, the machine will enter the feed hold state and
an alarm will be triggered.
alarm will be triggered. After ejecting the parts, press the START button to
resume the operation.
▪ These functions cannot be used when the keep relay “USE PARTS EJECTOR” on
the KEEP RELAY (conversational setting) screen is set to “YES”.
▪ M27 (parts pick-up detection, parts ejection detection) will be ignored while the AIR
◼ Rigid tapping
M29: Rigid tapping PATH1: PATH2:
The rigid tapping mode will be commanded.
<Program format>
▪ Rigid tap rotation speed command (S command) is equal to 1500 min -1 or less.
▪ The value of S F is equal to 10000 mm/min or less.
▪ G99 commands are required in advance.
▪ Command the blocks of M29 and G84 consecutively.
▪ For left-handed tapping on PATH 1, command “Q−1” in the M29 block.
▪ For left-handed tapping on PATH 2, command “Q−2” in the M29 block.
▪ Refer to section “8-14-10 Drilling and Rigid Tapping” for details of the keep relay
setting.
8-104
◼ Power-driven tool motor rotation commands
▪ Command rotation of the power-driven tool motor in the same block, or after the
tool selection command.
▪ On PATH 2, these codes can only be commanded in M172 mode.
▪ Do not issue the Z-axis movement command on PATH2 during M40 (Z1-Z2
synchronous control ON).
▪ In order to carry out waiting on PATH2 with PATH1, be sure to command on both
PATHs.
▪ In M100 mode (high-accuracy machining mode 1 ON), M40 cannot be commanded.
▪ In order to carry out waiting on PATH2 with PATH1, be sure to command on both
PATHs.
8-105
◼ C1-C2 synchronous control commands
M54: C1-C2 synchronous control ON PATH1: PATH2:
With this code, the C2-axis will move in synchronization with the C1-axis when the
C1-axis movement is commanded on PATH1.
▪ Do not issue the C2-axis movement command on PATH2 during M54 (C1-C2
synchronous control ON).
▪ In order to carry out waiting on PATH2 with PATH1, be sure to command on both
PATHs.
▪ In order to carry out waiting on PATH2 with PATH1, be sure to command on both
PATHs.
M56: Power-driven tool motor for back forward rotation PATH1: PATH2:
This code will rotate the power-driven tool in the forward direction.
Command the spindle speed (S command) at the same time.
M57: Power-driven tool motor for back reverse rotation PATH1: PATH2:
This code will rotate the power-driven tool in the reverse direction.
Command the spindle speed (S command) at the same time.
▪ Command rotation of the power-driven tool motor in the same block with, or after
the tool selection command.
8-106
◼ Automatic bar feeder feed torque ON/OFF
M62: Automatic bar feeder feed torque OFF PATH1: PATH2:
This code turns the automatic bar feeder feed torque off.
▪ The machine enters M65 status "Chip conveyor OFF" unconditionally when the
cutting room door is opened or the machine stops by emergency stop.
▪ Do not put the Z-axis movement command in the same block with M68 or M69.
8-107
◼ PATH2 machining block skip commands
M75: PATH2 machining block skip valid PATH1: PATH2:
The slash code "/" blocks until “PATH2 machining block skip cancel” (M76) will be
skipped.
The skip conditions are classified into types in shown in the following table.
They are based on the data inputted into the KEEP RELAY (conversational setting)
screen.
Executes “skip”
AIR CUT key is flashing
Unclamp Executes “skip”
Sub collet
Clamp Does not execute “skip”
Executes “skip”
AIR CUT key is flashing
Sub collet unclamp Executes “skip”
Sub collet clamp + Push rod advance Executes “skip”
Sub collet clamp + Push rod retract Does not execute “skip”
Executes “skip”
AIR CUT key is flashing
Unclamp Executes “skip”
Sub collet
Clamp Does not execute “skip”
▪ While the AIR CUT key is flashing , the blocks with a slash code “/” until
PATH2 machining block skip invalid (M76) will be skipped even when the sub collet
is clamped.
▪ When changing “USE PARTS EJECTOR” on the KEEP RELAY (conversational
setting) screen to “YES”, “SKIP / CODE AT M75-M76 COMMAND” will be set to
“NO”.
▪ While “USE PARTS EJECTOR” is set to “YES”, “SKIP / CODE AT M75-M76
COMMAND” on the KEEP RELAY (conversational setting) screen cannot be
changed to “YES”.
8-108
M76: PATH2 machining block skip invalid PATH1: PATH2:
This code cancels the PATH2 machining block skip valid command (M75).
▪ Do not use a slash code "/" in the block which comes after the M76 block.
If a slash code is used, the block will be skipped.
▪ If there is a succession of slash code "/" blocks, all of them will be skipped.
▪ This command will not stop the operation until the next M78 command even if the
▪ Refer to section “7-11-3 Keep Relay Conversational Setting Screen” for details.
▪ Programs with "/" codes between M80 and M81 will not be executed when the “no
barstock” signal is not transmitted.
8-109
◼ Spindle synchronous rotation control command
M82: Spindle synchronous rotation control ON PATH1: PATH2:
Main and sub spindles are controlled by synchronous rotation or phase
synchronization.
▪ Refer to section “7-11-3 Keep Relay Conversational Setting Screen” for details.
▪ Refer to section “8-14 Program Pattern” for details on the program example.
▪ In order to carry out waiting on PATH2 with PATH1, be sure to command on both
paths.
8-110
◼ Cutting feed override 100% commands
M88: Cutting feed override 100% ON PATH1: PATH2:
This code executes the cutting feed rate with a commanded program value.
The override (0150%) setting will be ignored, and set to 100% instead.
▪ Cutting feed override 100% ON is invalid when the torque limiter of servo monitor
function is ON.
8-111
◼ Sub-collet clamp/unclamp commands
M110: Sub-collet clamp PATH1: PATH2:
This code will clamp the sub collet, and the SUB COLLET key will light up.
This code will unclamp the sub collet, and the SUB COLLET key lamp will
turn off.
▪ These codes are available only when the PATH1 and 2 keys are lit (simultaneous
▪ Following codes (Parts separator A pick up/ejection) cannot be instructed with MDI.
▪ Following codes (Parts separator A pick up/ejection) cannot be instructed in the
program on PATH2.
8-112
◼ Parts ejector advance (adjust) command for the sub spindle PATH1:× PATH2:
8-113
◼ Curved surface machining mode ON/OFF commands
M170 P1: Curved surface machining mode ON PATH1: PATH2:×
Command this code to machine a curved surface using fine segment linear
interpolations (G1).
This function makes smoother machining operation possible and reduces
mechanical shock.
▪ In order to carry out waiting on PATH2 with PATH1, be sure to command on both
PATHs.
▪ Command the tool selection just after M172 command on PATH2.
The coordinate system is canceled once in order to create the coordinate system
for back machining with M172 command. The tool selection command is necessary
in order to create the coordinate system for back machining.
8-114
◼ Stopper selection confirmation command
M190: Stopper selection confirmation PATH1: PATH2: ×
This code confirms that T600 (stopper) is selected at the program beginning when
T600 is used as the stopper.
If T600 is not selected, alarm No. 1722 will be triggered.
CAUTION
▪ Be sure to command this code at the program beginning when using Stopper
[0T498].
Format
M192 G Z (F) ;
G G0 or G1
Z(Absolute command) Coordinate value after movement
(End point coordinate)
F Feed rate (for G1)
▪ This M code is a non modal command. This is valid only in the commanded block.
▪ Command this code at the beginning of the block.
▪ Be sure to command this code together with G0 or G1.
Use
When the tool tip position of each tool mounted on the front drilling unit is not the same,
and the geometry offset of Z direction has been set, collision can occur between the
workpiece and the tool adjacent to the currently selected tool at the time of tool selection.
To prevent this from occurring, the geometry offset is cancelled and the workpiece will be
retracted.
8-115
Sample program
[PATH1]
T1300 ;
:
Machining program
:
M192 G0 Z−1.0 ; ················
T1500 ;
G0 Z−1.0 ;
Difference between the Z1-axis movement with M192 and without M192
▪ The coolant 2 motor will start up with this M code, but coolant will not be
discharged.
8-116
◼ Coolant 2 ON/OFF Commands PATH1: PATH2:
Type No.
(Optional 메모 포함[紅林1]: Refer to
Command
accessory
piping)
M1001: Coolant 2 for oil hole drill ON (T41 use)
M1002: Coolant 2 for oil hole drill OFF (T41 use)
[0T479] 13-21
M1003: Coolant 2 for oil hole drill ON (T42 use)
M1004: Coolant 2 for oil hole drill OFF (T42 use)
M1005: Coolant 2 for sleeve holder ON
[0T482] 13-22
M1006: Coolant 2 for sleeve holder OFF
M1007: Coolant 2 for back 8-spindle unit ON
[0T489] 13-23
M1008: Coolant 2 for back 8-spindle unit OFF
M1009: Coolant 2 for guide bush ON
[0T468] 13-24
M1010: Coolant 2 for guide bush OFF
[0T469] 13-25
M1011: Coolant 2 for back attachment ON
[0T471] 13-48
M1012: Coolant 2 for back attachment OFF
[0T422] 13-27 메모 포함[紅林2]: 35-000T0-0064
M1013: Coolant 2 for thread whirling ON
[0T495] 13-30
M1014: Coolant 2 for thread whirling OFF
M1015: Coolant 2 for tilting head 3-spindle unit
ON
[0T416] 13-20
M1016: Coolant 2 for tilting head 3-spindle unit
OFF
▪ Refer to section “13-16 Coolant Unit 6.9MPa [1A457], Coolant Unit Piping 6.9MPa
[0T432], Coolant Unit Signal Cable [0R448], Coolant Valve 6.9MPa [0T434]” for
details.
8-117
◼ Coolant 2 pump & valves1 4 ON (for adjustment) <This code cannot be optimized>
▪ Refer to section “13-16 Coolant Unit 6.9MPa [1A457], Coolant Unit Piping 6.9MPa
[0T432], Coolant Unit Signal Cable [0R448], Coolant Valve 6.9MPa [0T434]” for
details.
◼ Wait commands
M200M899: Wait commands PATH1: PATH2:
M codes from M200 to M899 can be used as wait commands.
During simultaneous operation between PATH1 and 2, the program will not
advance to the next block until it reaches the same 3-digit M code on PATH2.
▪ If one of the following alarms is triggered during the wait M codes (including M40,
M41, M54, M55, M80, M82, M83, M171, M172), the machine will enter single block
stop status and force those waiting to finish.
In the case when “PROGRAM RE-START” is set to “YES”, cancel the alarm and
check that the wait M codes match each other. Then resume the program operation.
If the wait M codes do not match, move the cursor in EDIT mode to the same
wait M code as the other PATH, and then resume the program.
8-118
8-12 Sub Program Function
In the case of a fixed command sequence or repeat patterns existing in the program, the
program can be simplified by registering them into the CNC memory as a sub program.
◼ Commanding method
M98 P■ ■ ■ ■ □ □ □ □ ;
M99 P□ □ □ □ ;
When this is commanded at the end of the sub program, the program will return to the
sequence number specified with P in the original called-out program.
When this is commanded in the main program, the program will return to the sequence
number specified with P in the main program.
▪ The sub program can only be called in MEMORY mode. It cannot be called in
MDI mode.
▪ Multiplicity (Nesting) of sub program calls can be up to 10 levels.
◼ Program Flow
<Main program> To sub program <Sub program>
O2234 ; O3234 ;
N1; N1 ;
N2; N2 ;
N3 M98 P33234; N3 ;
N4; N4 M99 ;
N5;
N6 M99;
To main program
8-119
8-13 Macro Program (G65G67)
It is possible to store the special programs covering a group of instructions (commands) in the
part program memory. A sequence of programs can be called and executed with G65 or G66.
This special program is called a macro program. Follow the same way as the sub program to
create and record the macro program.
There are differences between the macro program call (G65, G66) and the sub
program call (M98) as shown below.
▪ With a macro program call, an argument (data passed to a macro) can be specified.
However, an argument cannot be specified with a sub program.
▪ In the case when another CNC command is specified in a block of sub program
call, first execute the CNC command then call the sub program. However, call a
macro program in the block of macro program call without executing any program.
▪ In the case when another CNC command is specified in a block of sub program
call, the operation stops by single block execution. However, the operation does not
stop by single block in a block of macro program call.
8-120
◼ Macro program call command
The table below shows five ways to call a macro program.
▪ When an argument is required for the macro program, use argument assignment.
▪ When an argument is required for the macro program, use argument assignment.
8-121
◼ Argument Specification
Argument represents actual value given to the variable used in the macro program. The
argument specification stands for assigning the actual numbers to each variable. This
argument assignment is provided with two types, typeⅠ and Ⅱ.
Argument SpecificationⅠ
Argument specification is possible with all the addresses of 21 except G, L, N, O and P.
Only I, J and K must be specified in an alphabetical order but not the other addresses.
▪ You can mingle and use the argument assignment type I and II.
▪ If the same variables are repeated by mistake, the latter argument will be effective.
▪ Specify I, J or K only, in alphabetical order for both argument specifications I and II.
▪ Signs (plus, minus) and decimal points can be used in the argument specification for all
addresses.
▪ Command G65 or G66 before assigning any arguments in the block with G65 or G66.
Variables
Local variables (#1~#33)
Common variables (#100~#199, #500~#999)
System variables (#1000~#5108)
Operations
Arithmetic operations (+, −, , ・・・・・・)
Function operations (SIN, COS, ROUND,・・・・・・)
Controls
Divergence commands (IF [<Conditional expression>] GOTO n)
Iteration commands (WHILE [<Condition expression>] DO m)
These commands can create macro programs with complex operations or judgments over
a wide range of applications. The macro programs can be made by programming the
CNC functions themselves, such as simple machining cycles similar to sub programs
and complex canned cycles, and they will be stored in the unit.
8-122
◼ Variables
Specify the address with variables instead of numeric values in the macro programs. When
these variables are called during execution, the values stored in the variable area can be
taken out as the address value.
Variables comprise of local variables, common variables and system variables, and can be
distinguished by their respective variable numbers.
Actual numeric values can be put into the local variable by the argument specification on
macro call commanded by G65 or G66.
8-123
Common Variables (#100#199, #500#999)
Common variables can be used commonly for all macros.
You can refer to the results calculated by certain macro in the other macro.
Common variables are classified into the following two types of which clear conditions
differ from each other.
#100~#199: Common variables are <empty> when connecting power to the machine.
However, it will be <empty> even with the reset operation when the
parameter No.6001-bit6=0 is set.
#500~#999: Common variables will not be cleared by the operation above.
▪ Do not use the following macro variables because they are being used as standard
by STAR MICRONICS.
PATH1 side: #33, #144, #147#149, #521#531
PATH2 side: #33, #147#149, #531
▪ To make the common variables (#100~#199) empty with the reset operation, set the
parameter “No.6001-bit6=0”.
System Variables
The variables of which applications are determined with the system are described below.
8-124
◼ Operations
Calculation is possible with operations between variables or variables and constants.
The operation formula is expressed by: #i=<formula>
It is a general arithmetic calculation, which combines variables and constants with
arithmetic operators and/or functions. The following operators and functions can be used, and
constants can be substituted for #j and #k instead, in the following format.
#i = #j Definition, Substitution
#i = #〔#j + #k〕 Indirect specification
Addition Operation
#i = #j + #k Addition
#i = #j – #k Subtraction
#i = #j OR #k Logical sum (at every bit of 32 bits)
#i = #j XOR #k Exclusive OR (at every bit of 32 bits)
Multiplication Operation
#i = #j #K Product
#i = #j / #K Quotient
#i = #j AND #k Logical product (at every bit in 32 bits)
Functions
8-125
◼ Controls
The following two commands are used to control macro program cycle.
Divergence commands: IF [<Conditional expression>] GOTO n;
Iteration commands: WHILE [<Conditional expression>] DO m;
Divergence Commands
8-126
EQ, NE, GT, LT, GE and LE can be used for conditional expressions and are written as
shown in the table below.
Repetition Command
END m;
This command repeats the blocks from [DO m] to [END m] so long as the conditional
expression is correctly formatted.
If the condition is false, the program will jump to the block after [END m].
It repeats the programs from [DO m] to [END m] infinitely when commanding the
program without WHILE [Conditional expression] command.
8-127
◼ Registration of Macro Programs
Registering the Macro Programs
To register and edit the macro programs, use the same method as the usual part program
and sub program.
There is no capacity limit for macro programs. The sum of part programs, sub programs
and macro programs will be stored up to the memory capacity limit of the part program.
▪ Do not use the following program number because they are used as standard.
PATH1 side: O9010, O9011, O9012, O9013, O9021, O9024, O9026
PATH2 side: O9010, O9011, O9013, O9024, O9026, O9821, O9822
8-128
◼ NOTE
With the MDI Operation
The macro call can be also specified in the MDI mode. However, it is impossible to
call a macro program by switching the mode to the MDI during automatic operation.
Multiplicity (Nesting)
Macro calls are up to 5 levels.
Sub program calls with the macro calls are up to 15 levels.
WHILE-DO repeat sequences are up to 3 levels.
Formula [ ] is up to 5 levels.
8-129
8-14 Program Pattern
8-130
◼ Program pattern
The program pattern and the bar replacement program vary depending on the type of the
automatic bar feeder installed onto this machine, and whether Stopper [0T498] is used.
The section numbers of this manual, in which the program example is described, is shown in
the table below.
Bar replacement
Automatic Program pattern
Positioning program
bar feeder (reference details)
(reference details)
8-14-4
Guide
T100 8-14 Bar Replacement
bush Finger type
cut-off tool Program pattern Program
version
O7000 (PROG. 1 or 2)
T100 8-14 8-14-4
cut-off tool Program pattern Bar Replacement
Non Finger type
T600 13-34 Program
guide
Stopper [0T498] Stopper [0T498] O7000 (PROG. 3)
bush
13-34
version Push-pull T600 13-34
Stopper [0T498]
type Stopper [0T498] Stopper [0T498]
O7000
8-131
[PATH1] [PATH2]
O1234 ; O1234 ;
A) G266 A** W** S** X** Z** F** B** ; G130 ;
G125 ; G99 M9 ;
G300 ; M5 ;
G170 ; G0 T0 ;
B)
G40 G97 M9 ; T2000 ;
G99 M3 S500 ; M200 ;
M11 ; M20 ;
G0 Z0 T0 ; G553 ;
M25 ; M75 ;
M200 ; (/G132 ;)
M20 ; / Back machining
B)
M10 ; (/G130 ;)
G171 ; (EJECT) ;
T100 ; /T2900 M5 ;
G0 X[#531+1.0] Z−0.5 ; /G0 Z52.5 ;
M27 ; /M11 ;
G553 ; /G4 U1.0 ;
/M84 ;
E)
/G28 W0 ;
/M27 ;
/M14 ;
Front machining /T2000 ;
/G4 U1.0 ;
/M15 ;
M76 ;
M500 ; M500 ;
(CUT-OFF) ; M4 S**** (Pick-up) ;
T100 M3 S**** ; T2000 ;
G0 X[#531+1.0] Z***.* T1 ; G900 J50 ;
M82 ; M11 ;
C)
M600 ; M82 ;
G1 X#524 F#522 ; G131 ;
M610 ; G0 Z−5.0 ;
M83 ; M68 ;
M80 ; M14 ;
/G0 X[#531+1.0] W−0.5 ; G98 G1 Z**.* F2000.0 ;
/G0 W#528 ; G99 M10 ;
D)
/M98 P7000 ; (G133 ;)
M81 ; M15 ;
M99 ; M69 ;
M600 ;
M610 ;
M68 ;
G0 W−20.0 ;
M69 ;
M83 ;
G0 T0 ;
G28 W0 ;
G130 ;
M5 ;
M27 ;
N50 ;
M99 ;
8-132
▪ Command machining conditions at * section.
▪ M27 on PATH 2 cannot be commanded when Parts ejector with guide tube B
[0T472, 0T473, 0T474] or Parts ejector A [0T422] is used. 메모 포함[紅林1]: 35-000T0-0064
▪ Common variables (#522, #524, #525, #528, #529, #530, #531) set on the
MACHINING DATA screen can be used for cut-off process etc. on PATH 1.
A) :
▪ Refer to section “8-14-1 Setting of Machining Data, Z1-Axis Coordinate System
Setting” for details.
B) :
▪ Refer to section “8-14-2 Program Beginning” for details.
C) :
D) :
E) :
▪ Refer to section “8-14-5 Parts Ejection Process” for details.
8-133
8-14-1 Setting of Machining Data, Z1-axis Coordinate System Setting
◼ · G266 A** W** S** X** Z** F** B** ; ··············Machining data setting
Common
Contents
Variable
A BAR DIAMETER (mm)/(inch) #531
W PART LENGTH (mm)/(inch) #530
S SPINDLE SPEED (min-1) (cut-off spindle speed) #529
X CUT-OFF END POSITION (mm)/(inch) #524
Z Z START POSITION (mm) (Z-axis machining start position) #525
F CUT-OFF FEED RATE (mm/rev) /(inch/rev) #522
B CUT-OFF TOOL WIDTH (mm) #528
Setting example of Z (Z START POSITION #525) for non guide bush version
When using a right-hand cut-off tool Z= 323.5 mm−(overall part length)
When using a left-hand cut-off tool Z= 323.5 mm−(overall part length)−(margin
length 12 mm approx.)
▪ When starting the machining program, set the data on the MACHINING DATA
screen beforehand.
▪ Setting can be carried out by either inputting with the address/data keys or by
inputting with the program.
▪ Specify all arguments.
▪ If an argument is omitted, alarm No. 3686 will be displayed.
▪ Command machining conditions at * sections.
▪ Common variables (#522, #524, #525, #528, #529, #530, #531) set on the
MACHINING DATA screen can be used for cut-off process etc. on PATH1.
▪ For details on the position commands of each axis, refer to sections “8-14 Program
Pattern ◼ Coordinate System“, “Appendix 5 Relational Dimension Drawings of Tool
Holders”.
▪ For details on the MACHINING DATA screen, refer to section “7-11-5 Machining
Data Screen”.
◼ G125 ; ········Z1-axis coordinate system setting (setting of Z1-axis machining zero point)
The Z0 position (machining reference point) in the program will be set to the Z1-axis
machining start position (#525) set on the MACHINING DATA screen from the Z1-axis
machine reference point (left-end of scale).
8-134
8-14-2 Program Beginning
[PATH1]
O1234 ; Program number
G266 A** W** S** X** Z** F** B** ; Machining data setting
G125 ; Z1-axis coordinate system setting
G0 B90.0 M38 ; Power-driven tool motor stop
G300 ; Auto cut-off
G40 G97 M9 ; Tool nose radius compensation cancel, constant
surface speed control OFF,
spindle unclamp, main C-axis OFF
G99 M3 S500 ; Feed per revolution, main spindle forward rotation
500min-1
M11 ; Main collet unclamp
G0 Z0 T0 ; Move to Z0 in rapid traverse, tool wear offset cancel
M25 ; Coolant 1 ON
M200 ; Waiting for M200 on PATH2
M20 ; One cycle stop
M10 ; Main collet clamp
T100 ; Cut-off tool selection
G0 X21.0 Z−0.5 ; Cut-off tool retracts from a material in rapid
traverse
M27 ; Broken cut-off tool detection
G553 ; Heat expansion measurement
(waiting for G553 on PATH2)
:
▪ The program above is an example of the case when a right-handed cut-off tool is
used and machining is not executed at the end face of the workpiece.
▪ In the case when a left-handed cut-off tool is used or machining is executed at the
end face of the workpiece, change the Z value of .
8-135
When installing a chip with a width of 2.0 mm into a 1212
mm left-hand cut-off tool, becomes G0 Z10.0 T0 ;
(Z10.0= 12.0 − 2.0)
▪ Refer to section “13-34 Stopper” for details on the use of Stopper [0T498].
▪ Refer to section “8-9 Broken Cut-off Tool Detector” for details on M27.
[PATH 2]
O1234 ; Program number
G28 W0 ; Z2-axis reference point return
G28 U0 ; X2-axis reference point return
G130 ; Z2-axis coordinate system setting cancel
G40 G99 M9; Tool nose R compensation cancel, feed per revolution, sub C-axis OFF
M5 ; Sub spindle stop
G0 T0 ; Tool wear offset cancel
T2000 ; Select T2000 (sub spindle workpiece pick-up position)
M200 ; Wait for M200 on PATH1
M20 ; One cycle stop
G553 ; Heat expansion measurement (X2-axis)
M75 ; PATH 2 machining block skip available
(Jump to M76)
;
: Codes in gray ( ) are wait codes.
: Command M200 (Wait M code) in the block before M20.
▪ For details on the position commands of each axis, refer to “8-4 Coordinate
System” and “Appendix 5 Relational Dimension Drawings of Tool Holders”.
▪ For details on M75 and M76, refer to section “8-11 Auxiliary Functions (M
Functions)”.
▪ Refer to section “8-10-34 Heat expansion measurement (G553)” for G553.
▪ Refer to section “8-11 Auxiliary Functions (M Functions)” for details on M75 and
M76.
8-136
8-14-3 Workpiece Pick-up Process
Program example
[PATH 1] [PATH 2]
(CUT-OFF) ;
T100 M3 S**** ; Cut-off tool selection M4 S**** ; (Pick-up)
G0 X [#531+1.0] Z***.* T1 ; Cut-off T2000 ;
positioning G900 J50 ; Block skip on PATH2 single
operation
M11 ;
M82 ; M82 ; Spindle synchronous rotation
control ON
G131 ; Setting of Z2 axis coordinate
system for workpiece pick-up
G0 Z−5.0 ; Workpiece pick-up preparatory
position
M68 ; Z2-axis torque limiter ON
M14 ; Air blow ON
G98 G1 Z**.* F2000 ; Workpiece pick-up position
G99 M10 ; Feed per revolution, Sub collet
clamp
(G133 ;) Storage of Z2-axis workpiece
projection length
M15 ; Air blow OFF
M69 ; Z2-axis torque limiter OFF
M600 ; (Wait) M600 ; (Wait)
G1 X#524 F#522 ; (Cut-off process)
M610 ; (Wait) M610 ; (Wait)
M68 ; Z2-axis torque limiter ON
G0 W−20.0 ; Parts pick-up retract position
M69 ; Z2-axis torque limiter OFF
M83 ; M83 ; Spindle synchronous rotation
control OFF
G0 T0 ;
M80 ; G28 W0 ; Z2-axis reference point return
/G0 X[#531+1.0] W−0.5 ; G130 ; Z2-axis coordinate system setting
cancel
/G0 W#528 ; (No bar stock M5 ; Sub spindle stop
/M98 P7000 ; detection) M27 ; Parts pick-up detection ON
M81 ; N50 ; Sequence number
M99 ; End of Program M99 ; End of Program
8-137
: M codes in gray ( ) are wait codes.
: Z2-axis coordinate system is set to make the end face of the workpiece become Z0.
: Z2-axis coordinate system for workpiece pick-up is cancelled and the standard
coordinate system is set.
: During single operation on PATH2, the program will be skipped from block “G900 J50 ;”
to block “N50 ;”.
: Adjust the value of Z***.* according to the part length and cut-off tool.
Z***.*= (part length) + (cut-off tool width) + (shift length of cut-off tool tip in Z-axis
direction)
: Workpiece pick-up position
Adjust the value of Z**.* according to the part length and the workpiece projection
length from the end face of sub spindle.
: Storage of Z2-axis workpiece projection length
The Z2-axis workpiece projection length from sub collet can be stored by commanding
G133 at the time of workpiece pick up.
Command G133 in the case of setting Z2-axis coordinate system for back machining by
G132.
When using G133, command (G133) without brackets( ).
▪ For details on #522, #524, #525, #528, #529, #530, #531, refer to section “8-14-1
Setting of Machining Data, Z1-Axis Coordinate System Setting”.
▪ For details on position commands of each axis, refer to “8-4 Coordinate System”
and “Appendix 5 Relational Dimension Drawings of Tool Holders”.
8-138
Relational diagram of parts pick-up
G131 ;
G0 Z−5.0 ; Refer to the drawing below.
End face of sub spindle (Z2-axis) is positioned to 5 mm from end face of the workpiece.
8-139
8-14-4 Bar Replacement Program
[PATH1]
M80 ;
/G0 X[#531+1.0] W−0.5 ;
/G0 W#528;
/M98 P7000 ;
M81 ;
M99 ;
▪ Always add a “/” (slash code) to the head of the process between M80 and M81.
These blocks will only be executed when the no barstock signal is transmitted from
the bar feeder.
▪ Determine the subprogram O7000 according to the following specifications. Refer
to the program example and register the subprogram into the CNC memory in
advance.
▪ For details on #522, #524, #525, #528, #529, #530, #531, refer to section “8-14-1
Setting of Machining Data, Z1-Axis Coordinate System Setting”.
8-140
Guide Bush version
Automatic bar feeder (PROG.1) Automatic bar feeder (PROG.2)
(Standard version) (Inching version)
[PATH 1] [PATH 1]
O7000 ; O7000 ;
G1 U−2.0 F0.015 ; ··········· G1 U−2.0 F0.015 ; ·········
G0 U2.0 M26 ; ··············· G0 U2.0 M26 ; ··············
G4 U3.0 ; G4 U3.0 ;
M3 S500 ; M3 S500 ;
G1 W−50.0 F3.0 ; ············ G1 W−50.0 F3.0 ; ·········
M5 ; M3 S100 ;
M62 ; M62 ;
M11 ; M11 ;
M0 ; ···························· G0 W50.0 ;
M10 ; M0 ; ··························
M63 ; G0 W−50.0 ;
G4 U3.0 ; M10 ;
M3 S500 ; M63 ;
G1 W50.0 F2.0 M25 ; ······· G4 U3.0 ;
M3 S#529 ; M3 S500 ;
G1 X#524 F#522 ; G1 W50.0 F2.0 M25 ; ····
M99 ; M3 S#529 ;
G1 X#524 F#522 ;
M99 ;
▪ When using the inching version, select “YES” for “ROTATE SPINDLE AT M00” on
the KEEP RELAY (conversational setting) screen.
▪ Change the value U of the deburring process appropriately, according to
the shape of cut-off tool.
▪ Refer to section “7-11-3 Keep Relay Conversational Setting Screen” for details on
the KEEP RELAY (conversational) screen.
8-141
Non Guide Bush version (PROG. 3)
Automatic bar feeder
Push rod is the finger type
[PATH 1]
O7000 ;
G1 U−2.0 F0.015 ; ···········
G0 U2.0 M26 ; ···············
G4 U3.0 ;
M5 ;
M62 ;
M11 ;
M0 ;
M10 ;
M63 ;
G4 U3.0 ;
M25 ;
M3 S#529 ;
G1 X#524 F#522 ;
M99 ;
▪ When using the inching version, select “YES” for “ROTATE SPINDLE AT M00” on
the KEEP RELAY (conversational) screen. In addition, change “M5” to “M3 S300”.
▪ Refer to section “13-34 Stopper” when Stopper [0T498] is used and the push rod of
the automatic bar feeder is push-pull type.
▪ Command the deburring process as necessary.
▪ Change the value U of the deburring process appropriately, according to
the shape of cut-off tool.
8-142
8-14-5 Parts Ejection Process
Parts ejector
▪ Command M5 (sub spindle stop) before parts ejection. Ejecting parts into the chute
may not be impossible during the sub spindle rotation.
▪ Command (/M84) without the brackets ( ) when using Parts Conveyor [0T412].
▪ Command (/M120) without the brackets ( ) when using Parts Ejector A [0T422].
▪ Refer to section “8-4 Coordinate System” for the relational dimensions of the parts
ejection position.
8-143
8-14-6 Spindle Indexing
Program example
[PATH 1]
M8 ; C1-axis ON
G0 C0 ; Main spindle reference point indexing
M6 ; Main spindle clamp
M9 ; C1-axis OFF
;
▪ If the spindle is commanded to rotate 360.0° or more with the address C, the
spindle will rotate within the range of 0 ~ 360.0°. The spindle will not rotate beyond
360.0°.
▪ “M131 C0 ;” includes “M8 ;”.
In “ Program example” of this operation manual, “M8;” is commanded in order to
become the same program as sub spindle indexing.
▪ The direction of positive indexing is equal to the M3 rotation direction of the main
spindle.
▪ The selected direction of rotation will be the direction with the shortest distance to
the angle.
8-144
◼ Sub spindle indexing
Absolute or incremental commands are available for indexing.
▪ If the spindle is commanded to rotate 360.0° or more with the address C, the
spindle will rotate within the range of 0 ~ 360.0°. The spindle will not rotate beyond
360.0°.
Program example
[PATH2]
M8 ; C2-axis ON
G0 C0 ; Sub spindle reference point indexing
M6 ; Sub spindle clamp
M9 ; C2-axis OFF
▪ The direction of positive indexing equals to the M4 direction of sub spindle rotation.
▪ The selected direction of rotation will be the direction with the shortest distance to
the angle.
8-145
8-14-7 Turning
▪ Tools are attached so that the tool tip is positioned to the center of guide bush or
main spindle with X0 command.
▪ Adjust the Z-axis command (Z value) according to the tool tip position and the
workpiece projection length.
▪ Refer to section “10-5-1 Installing Tools and Inputting Geometry Offset Values” for
details on precautions of tooling.
:
▪ When using the “high accuracy machining mode ”,
: “High-accuracy machining mode 1 ON” becomes valid. Command this
before machining.
: “High-accuracy machining mode 1 OFF” becomes valid. Command this
after machining.
8-146
▪ Refer to section “8-11 Auxiliary Functions (M Functions)” for details on M100,
M101.
▪ Refer to section “8-10-3 Circular Interpolation (G2, G3)” for details on circular
interpolation (G2, G3).
▪ Refer to section “8-10-14 Tool Nose Radius Compensation (G40, G41, G42)” for
details on tool nose radius compensation (G40, G41, G42).
▪ Refer to section “10-5-1 Installing Tools and Inputting Geometry Offset Values” for
details on precautions of tooling.
8-147
8-14-8 Circular Interpolation
▪ For the program example, tool is attached so that the tool tip is positioned to the
center of guide bush or main spindle by commanding X0.
▪ Adjust the Z1-axis command (Z value) according to the tool tip position and the
workpiece projection length.
▪ Command the plane selection beforehand in order to execute the circular
interpolation. (G18: Z-X plane is selected when turning the power on).
Machining drawing
[PATH1]
T200 M3 S4500 ;
G0 X11.0 Z−0.5 T2 ;
G0 X6.0 F0.1 ;
G1 Z3.0 F0.03 ;
G3 X10.0 Z5.0 R2.0 F0.02 ;
G1 X11.0 F0.05 ;
G0 T0 ;
[PATH1]
T300 M3 S4500 ;
G0 X11.0 Z6.0 T3 ;
G1 X10.0 F0.03 ;
G2 X6.0 Z8.0 R2.0 F0.02 ;
G1 Z11.5 F0.03 ;
G1 X11.0 F0.1 ;
G0 T0 ;
;
8-148
8-14-9 Threading
▪ For the program example, tool is attached so that the tool tip is positioned to the
center of guide bush or main spindle by commanding X0.
▪ Adjust the Z-axis command (Z value) according to the tool tip position and the
workpiece projection length.
▪ An inaccurate thread will be created at the start and end of threading. Thus, when
determining the start and end positions, the following cautions will be required.
In the drawing above portions 1 at cutting start and 2 at cutting end will have
inaccurate leads. Calculate the approximate value of 1 and 2 with the following
formula.
LS
1 = 4
1800
LS L: Tread lead
2 =
1800 S: Spindle speed
▪ Refer to section “10-5-1 Installing Tools and Inputting the Geometry Offset Values”
for details on precautions of tooling.
8-149
◼ Threading (G32)
(1) Straight threading
Machining drawing
Thread lead: L=0.8 mm
δ1=3.0 mm
δ2=0.8 mm
Cutting depth each time =0.1 mm
<Program example>
[PATH1]
T300 M3 S1000 ;
G0 X8.0 Z8.0 T3 ;
G0 X4.02 ;
G32 W8.8 F0.8 ;
G0 X8.0 ;
G0 Z8.0 ;
;
G0 X3.82 ;
G32 W8.8 F0.8 ;
G0 X8.0 ;
G0 Z8.0 ;
G0 T0 ;
8-150
(2) Taper threading
Machining drawing
Thread lead: L=0.7 mm
δ1=2.4 mm
δ2=0.6 mm
Cutting depth per time =0.2 mm
(Double thread)
<Program example>
[PATH1]
T300 M3 S1200 ;
G0 X8.0 Z8.6 T3 ;
G0 X3.6 ;
G32 U2.0 W8.0 F0.7 Q0 ;
G0 X8.0 ;
G0 Z8.6 ;
;
G0 X3.6 ;
G32 U2.0 W8.0 F0.7 Q180000 ;
G0 X8.0 ;
G0 Z8.6 ;
;
G0 X3.2 ;
G32 U2.0 W8.0 F0.7 Q0 ;
G0 X8.0 ;
G0 Z8.6 ;
;
G0 X3.2 ;
G32 U2.0 W8.0 F0.7 Q180000 ;
G0 X8.0 ;
G0 Z8.6 ;
8-151
(3) Continuous threading
Machining drawing
Thread lead: L=0.75 mm
δ1=2.0 mm
δ2=0.5 mm
Cutting depth each time =0.15 mm
<Program example>
[PATH1]
T300 M3 S1200 ;
G0 X8.0 Z9.0 T3 ;
G0 X3.2 ;
G32 U1.5 W4.0 F0.75 ;
G32 Z17.0 F0.75 ;
G0 X8.0 ;
G0 Z9.0 ;
;
G0 X2.9 ;
G32 U1.5 W4.0 F0.75 ;
G32 Z17.0 F0.75 ;
G0 X8.0 ;
G0 Z9.0 ;
;
8-152
◼ Circular threading (G35, G36)
Circular threading with the specified lead in the direction of the major axis, can be machined
with G35 and/or G36.
G35 : Clockwise Circular threading
G36 : Counter-clockwise circular threading
▪ Single block stop will not work in the G35, G36 command block.
▪ G35, G36 commands cannot perform chamfering.
▪ The following operations are ignored during threading.
Feed override operation ・・・ It is considered to be 100%
Feed hold operation
▪ Threading (G35, G36) can only be commanded in the G99 mode (feed per
revolution).
▪ Do not command constant surface speed control (G96). (The thread lead will be
inaccurate.)
"Threading cycle retract" is not available.
Machining drawing
Thread lead: L=0.7 mm
δ1=2.0 mm
δ2=0.5 mm
Cutting depth per time =0.1 mm
<Program example>
[PATH1]
T300 M3 S900;
G0 X1.0 Z9.0 T3 ;
G35 U7.0 W15.5 R16.0 F0.7 ;
G0 X11.0 ;
G0 Z9.0 ;
;
G0 X0.8 ;
G35 U7.0 W15.5 R16.0 F0.7 ;
G0 X11.0 ;
G0 Z9.0 ;
;
8-153
◼ Multiple-thread cutting cycle (G76)
▪ By pressing the FEED HOLD button during threading, when threading cycle
retract is used, chamfering will be executed immediately and the program will return
to the start point P.
If the START button is pressed again, the threading which is currently being
executed will be restarted from the beginning.
8-154
Machining drawing
<Program example>
[PATH 1]
T300 M3 S1000;
G0 X8.0 Z8.0 T3 ;
G76 P011060 Q50 R0.01 ;
G76 X3.82 W8.8 R0 P540 Q200 F0.8 ;
G0 X8.0 T0 ;
: Adjust the Z1 value (G0 Z ;) according to the tool tip position and the workpiece
projection length.
: Explanation of the above commands is shown below.
8-155
◼ Threading cycle (G92)
▪ The blocks after the G90, G92 or G94 block until the block just before another G
code in 01 group (G0, G1 etc.) is the area where canned cycle is valid.
▪ By pressing the FEED HOLD button during threading, when threading cycle
retract is used, chamfering will be executed immediately and the program will return
to the start point P.
If the START button is pressed again, the threading which is currently being
executed will be restarted from the beginning.
Machining drawing
Thread lead: L=1.25 mm
<Program example>
[PATH1]
T400 M3 S1000 ;
G0 X11.0 Z8.0 T4 M23 ;
G92 X7.37 W8.0 F1.25 ;
X7.02 ;
X6.72 ;
X6.52 ;
X6.37 ;
X6.24 ;
X6.22 ;
G0 T0 ;
8-156
(2) Taper thread cycle
Machining drawing
Thread lead: L=0.8 mm
<Program example>
[PATH1]
T500 M3 S1000 ;
G0 X11.0 Z9.0 T5 M23 ;
G92 X9.0 W9.0 R−1.0 F0.8 ;
X8.6 ;
X8.4 ;
X8.2 ;
G0 T0 ;
;
▪ G92 is a modal code, and the block after G92 will execute the threading cycle just
by a cut- in depth command in the X-axis direction.
▪ If M23 (chamfering ON) is active when G92 is commanded, chamfering will be
performed.
The amount of chamfering can be set into parameter No. 5130, in the range of 0.1
~ 12.7L in the unit of 0.1L.
Parameter No. 5130 is used for “r : Chamfering amount” as well in G76
(Multiple-thread cutting cycle). This command is modal so it is necessary to set
parameter No. 5130 again if the chamfering amount in G76 has changed.
8-157
8-14-10 Drilling and Rigid Tapping
Example 1 ( Z1 )
Machining drawing
8-158
Program example
[PATH 1]
G0 Z−0.5 T0 ; Z1-axis retract
T1300 M3 S2000 ; Centering drill selection, main spindle forward rotation
G0 Z5.0 T13 ; Positioning at machining start position
G1 W4.0 F0.03 ; Center drilling
G4 U0.05 ;
G1 Z5.0 F0.2 ; Workpiece retract
G0 T0 ;
;
T1500 M3 S2500 ; Drill selection, main spindle forward rotation
G0 Z5.0 T14 ; Positioning at machining start position
G1 W8.5 F0.04 ; Pilot hole drilling
G1 Z5.0 F0.2 ; Workpiece retract
G0 T0 ;
;
T1600 M5 ; Rigid tap selection, main spindle stop
G99 G0 Z5.0 T15 ; Positioning at machining start position
M29 S1000 ; Rigid tap rotation command
G84 W6.5 F0.8 ; Rigid tapping
G80 ;
G0 Z−0.5; Workpiece retract
G0 T0 ;
8-159
Example 2 ( Z2 )
▪ For details on precautions of tooling, refer to section “10-5-6 Installing and Adjusting
the Tool Unit on the Back 8-Spindle Unit”.
Machining drawing
8-160
Program example
[PATH 2]
M75 ;
/T2500 M3 S800 ; Centering drill selection, sub spindle forward rotation
/G0 Z38.5 T25 ; Positioning at machining start position
/G1 W5.5 F0.03 ; Center drilling
/G4 U0.05 ;
/G1 Z38.5 ; Workpiece retract
/G0 T0 ;
;
/T2600 M3 S2000 ; Drill selection, sub spindle forward rotation
/G0 Z28.5 T26 ; Positioning at machining start position
/G1 W30.5 F0.07 ; Pilot hole drilling
/G1 Z28.5 ; Workpiece retract
/G0 T0 ;
;
/T2700 M5 ; Rigid tap selection, main spindle stop
/G99 G0 Z28.5 T27 ; Positioning
/M29 S600 Q−2 ; Rigid tap rotation command (left-handed tapping)
/G84 W18.5 F1.25 ; Rigid tapping
/G80 ;
/G0 Z0 T0 ; Workpiece retract
8-161
8-14-11 Boring
▪ Adjust the Z1-axis command (Z value) according to the tool tip position and the
workpiece projection length.
Example 1 ( X1−Z1 )
▪ For details on precautions of tooling, refer to section “10-5-4 Installing and Adjusting
the Sleeve on the 4-Spindle Sleeve Holder”.
Machining drawing
8-162
Program example
[PATH1]
T1600 M3 S2400 ; Boring tool selection, Main spindle forward rotation
G0 X11.0 Z5.0 T16 ; Positioning
G50 X4.0 ; Coordinate system setting, set the diameter of boring tool
G42 G1 U1 W1 F0.03 ; Tool nose radius compensation
G1 X8.4 F0.5 ; Positioning
G1 X7.0 W0.7 F0.03 ;
G4 U0.05 ;
G1 W4.3 F0.04 ;
G2 X6.0 W0.5 R0.5 F0.03 ;
G4 U0.05 ;
G1 Z5.0 F0.5 ; Workpiece retract
G40 U−1 K1 ; Tool nose radius compensation cancel
G0 T0 ;
▪ Refer to section “8-10-3 Circular Interpolation (G2, G3)” for details on circular
interpolation (G2, G3).
▪ For details on tool nose radius compensation (G40, G41, G42), refer to section
“8-10-14 Tool Nose Radius Compensation (G40, G41, G42)”.
8-163
Example 2 ( X2−Z2 )
▪ For details on precautions of tooling, refer to section “10-5-6 Installing and Adjusting
the Tool Unit on the Back 8-Spindle Unit”.
Machining drawing
8-164
Program example
[PATH2]
M75 ;
/T2800 M3 S2400 ; Tool selection, Sub spindle forward rotation
/G50 X4.0 ; Coordinate system setting , set the diameter of boring tool
/G0 X10.0 Z44.5 T28 ; Positioning
/G42 G1 U1 W1 F0.05 ; Tool nose radius compensation
/G1 X8.4 Z44.5 F0.5 ; Positioning
/G1 X7.0 W0.7 F0.03 ;
/G4 U0.05 ;
/G1 W4.3 F0.04 ;
/G2 X6.0 W0.5 R0.5 F0.03 ;
/G1 X5.5 F0.03 ;
/G4 U0.05 ;
/G1 Z44.5 F0.5 ;
/G40 U−1 K1 ; Tool nose radius compensation cancel
/G0 T0 ;
/G28 W0 ;
M76 ;
: The blocks with “/” codes to “M76 ;” will be skipped during sub collet unclamp.
In addition, the blocks with “/” codes to “M76 ;” will be skipped while AIR CUT key
flashes.
8-165
8-14-12 Off-Center Drilling and Off- Center Rigid Tapping
▪ Set the tool unit on the KEEP RELAY (conversational setting) screen.
▪ Adjust the Z-axis command (Z value) according to the tool tip position and the
workpiece projection length.
▪ When Milling Unit 4x Speed Type is installed, the maximum rotation speed of the
other power-driven tool will be fixed at 5000 min-1. So even if S6000 is
commanded, the power-driven tool will rotate at 5000 min-1.
▪ When Milling Unit 4x Speed Type is selected, command the number of rotations
using the following calculation formulas.
<Rotation speed>
Command value = Desired rotation speed /4
E.g.) In the case that the desired rotation speed is 20000min-1, the command value
is S5000 (=20000min-1 /4).
<Feed rate>
Command value = Desired feed rate 4
E.g.) In the case that the desired feed rate is 0.5mm/rev (feed per revolution), the
command value is F2.0 (=0.5mm/rev4).
Example 1 ( Z1 )
Geometry offset
Tool type Tool number Tool unit
X Y Z
Center drill T3221 0 0 0
Cross drill T3222 66151 0 0 0
Tap T3223 0 0 0
8-166
Machining drawing
8-167
Program example
[PATH1]
G0 Z−0.5 T0 ; Z1-axis retract
T3221 M36 S2000 ; Tool selection, power-driven tool forward rotation
M8 ; C1-axis ON
G0 X12.0 Y8.0 Z3.0 C0 T21 ; Positioning, main spindle indexing
M6 ; Main spindle clamp
G1 W3.5 F0.04 ; Center drilling
G4 U0.05 ;
G0 Z3.0 ; Workpiece retract
M7 ; Main spindle unclamp
G0 H180.0 ; Main spindle indexing
M6 ; Main spindle clamp
G1 W3.0 F0.03 ; Center drilling
G4 U0.05 ;
G0 Z3.0 ; Workpiece retract
G0 T0 ;
8-168
Example 2 ( Z2 )
Geometry offset
Tool type Tool number Tool unit
X Y Z
Center drill T2300 0R161 0 0 0
Cross drill T2200 0R161 0 0 0
Tap T2100 0R161 0 0 0
Machining drawing
8-169
Program example
[PATH2]
M75 ;
/T2300 M56 S2000 ; Tool selection, power-driven tool forward rotation
/M8 ; C2-axis ON
/G0 X8.0 Y12.0 Z50.0 C0 T23 ; Positioning, spindle indexing
/M6 ; Sub spindle clamp
/G1 W2.5 F0.04 ; Center drilling
/G4 U0.05 ;
/G0 Z50.0 ; Workpiece retract
/M7 ; Sub spindle unclamp
/G0 H180.0 ; Sub spindle indexing
/M6 ; Sub spindle clamp
/G1 W2.5 F0.03 ; Center drilling
/G4 U0.05 ;
/G0 Z50.0 T0 ; Tool retract
;
/T2200 M56 S3100 ; Tool selection, power-driven tool forward rotation
/G0 X8.0 Y12.0 Z59.0 T22 ; Positioning
/G1 W5.5 F0.03 ; Drilling for preparing hole
/G0 Z59.0 ; Tool retract
/G1 W5.0 F0.2 Positioning
/G1 W2.8 F0.03 ; Drilling for preparing hole
/G4 U0.05 ;
/G0 Z59.0 ; Workpiece retract
/M7 ; Sub spindle unclamp
/G0 H180.0 ; Sub spindle indexing
/M6 ; Sub spindle clamp
/G1 W5.5 F0.03 ; Drilling for preparing hole
/G0 Z59.0 ; Workpiece retract
/G1 W5.0 F0.2 Positioning
/G1 W2.8 F0.03 ; Drilling for preparing hole
/G4 U0.05 ;
/G0 Z59.0 T0 ; Workpiece retract
;
/T2100 M38 ; Tool selection, power-driven tool stop
/G0 X8.0 Y12.0 Z61.0 T21 ; Positioning
/G984 W6.0 F0.5 M56 S1500 ; Rigid tapping
/M7 ; Sub spindle unclamp
/G0 H180.0 ; Sub spindle indexing
/M6 ; Sub spindle clamp
/G984 W6.5 F0.5 M36 S1500 ; Rigid tapping
/G0 T0 ; Power-driven tool stop
/M9 ; C2-axis OFF, sub spindle unclamp
M76 ;
: The blocks with “/” codes to “M76 ;” will be skipped during sub collet unclamp.
In addition, the blocks with “/” codes to “M76 ;” will be skipped while AIR CUT key
flashes.
8-170
Example 3 ( Z2 )
Geometry offset
Tool type Tool number Tool unit
X Y Z
Center drill T3221 0 0 0
67161
Cross drill T3222 0 0 0
0M155
Tap T3223 0 0 0
Machining drawing
Program example
[PATH1] [PATH2]
M172 ; M172 ;
M75 ;
/T3221 M36 S2000 ; Tool selection, power-driven tool
forward rotation
/M8 ; C2-axis ON
/G0 X-8.0 Y12.0 Z110.0 C0 T31 ; Positioning, spindle indexing
/M6 ; Sub spindle clamp
/G1 W2.5 F0.04 ; Center drilling
/G4 U0.05 ;
/G0 Z110.0 ; Workpiece retract
8-171
/M7 ; Sub spindle unclamp
/G0 H180.0 ; Sub spindle indexing
/M6 ; Sub spindle clamp
/G1 W2.5 F0.03 ; Center drilling
/G4 U0.05 ;
/G0 Z110.0 T0 ; Tool retract
;
/T3222 M36 S3100 ; Tool selection, power-driven tool
forward rotation
/G0 X−8.0 Y12.0 Z110.0 T32 ; Positioning
/G0 Z111.0 ; Positioning
/G1 W5.5 F0.03 ; Drilling for preparing hole
/G0 Z111.0 ; Tool retract
/G1 W5.0 F0.2 Positioning
/G1 W2.8 F0.03 ; Drilling for preparing hole
/G4 U0.05 ;
/G0 Z111.0 ; Workpiece retract
/M7 ; Sub spindle unclamp
/G0 H180.0 ; Sub spindle indexing
/M6 ; Sub spindle clamp
/G1 W5.5 F0.03 ; Drilling for preparing hole
/G0 Z111.0 ; Workpiece retract
/G1 W5.0 F0.2 Positioning
/G1 W2.8 F0.03 ; Drilling for preparing hole
/G4 U0.05 ;
/G0 Z110.0 T0 ; Workpiece retract
;
/T3223 M38 ; Tool selection, power-driven tool stop
/G0 X−8.0 Y12.0 Z110.0 T33 ; Positioning
/G0 Z111.0 ; Positioning
/G984 W6.5 F0.5 M36 S1500 ; Rigid tapping
/M7 ; Sub spindle unclamp
/G0 H180.0 ; Sub spindle indexing
/M6 ; Sub spindle clamp
/G984 W6.5 F0.5 M36 S1500 ; Rigid tapping
/G0 Z0 T0 ; Workpiece retract
/M38 ;
/M9 ; C2-axis OFF, sub spindle unclamp
M76 ;
M171 ; M171 ;
: The blocks with “/” codes to “M76 ;” will be skipped during sub collet unclamp.
In addition, the blocks with “/” codes to “M76 ;” will be skipped while AIR CUT key
flashes.
: M codes in gray ( ) are wait codes.
8-172
8-14-13 Cross Drilling and Cross Rigid Tapping
Example 1 ( X1 )
Geometry offset
Tool type Tool number
X Y Z
Center drill T700 −20.0 0 0
Cross drill T800 0 0 0
Tap T900 0 0 0
▪ Tool is attached so that the tool tip is positioned to the center of guide bush or main
spindle by commanding X0.
▪ When Milling Unit 4x Speed Type is installed, the maximum rotation speed of the
other power-driven tool will be fixed at 5000 min-1. So even if S7000 is
commanded, the power-driven tool will rotate at 5000 min-1.
▪ When Milling Unit 4x Speed Type is selected, command the number of rotations
using the following calculation formulas.
<Rotation speed>
Command value = Desired rotation speed /4
E.g.) In the case that the desired rotation speed is 20000min-1, the command value
is S5000 (=20000min-1 /4).
<Feed rate>
Command value = Desired feed rate 4
E.g.) In the case that the desired feed rate is 0.5mm/rev (feed per revolution), the
command value is F2.0 (=0.5mm/rev4).
8-173
Machining drawing
8-174
Program example
[PATH1]
T700 M36 S3000 ; Tool selection, power-driven tool forward rotation
G0 X21.0 Z26.0 T31 ; Positioning
M8 ; C1-axis ON
G0 C0 ; Main spindle indexing
M6 ; Main spindle clamp
G1 U-10.0 F0.02 ; Center drilling
G4 U0.02 ;
G1 X21.0 F0.2 ; Workpiece retract
M7 ; Main spindle unclamp
G0 H180.0 ; Main spindle indexing
M6 ; Main spindle clamp
G1 U−10.0 F0.02 ; Center drilling
G4 U0.02 ;
G1 X21.0 F0.2 ; Tool retract
G0 T0 ;
▪ Refer to section “8-8-2 Tool Function (T Function)” for details on tool geometry
offset.
▪ Refer to section “8-10-35 X Cross Rigid Tapping Cycle (G784)” for details on cross
tapping.
▪ Refer to section “10-5-2 Installing and Adjusting the Tools on the Cross Drilling Unit”
for details on precautions of tooling.
8-175
Example 2 ( Y1 )
Geometry offset
Tool type Tool number Tool unit
X Y Z
Cross drill T3200 57163 0 16.0 0
Tap T3100 33150 0 −15.0 0
▪ Tool is attached so that the tool tip is positioned to the center of guide bush or main
spindle by commanding Y0.
▪ Refer to section “10-5-3 Installing and Adjusting the Power-Driven Tool Unit” for
details on precautions of tooling.
Machining drawing
Program example
[PATH1]
T3200 M36 S2200 ; Pilot drill selection, power-driven tool forward rotation
G0 Y21.0 Z21.0 T32 ; Positioning
M8 ; C1-axis ON
G0 C0 ; Main spindle indexing
M6 ; Main spindle clamp
G1 V−26.0 F0.05 ; Pilot hole drilling
G1 V26.0 F0.2 ; Tool retract
G0 T0 ;
8-176
Example 3 ( Y2 )
Geometry offset
Tool type Tool number Tool unit
X Y Z
Center drill T2200 0R151 0 −10.0 0
Cross drill T2300 0R151 0 6.0 0
Tap T2400 0R151 0 10.0 0
▪ Tool is attached so that the tool tip is positioned to the center of guide bush or main
spindle by commanding Y0.
▪ Adjust the Z2-axis command (Z value) according to the tool tip position and the
workpiece projection length.
▪ Refer to section “10-5-6 Installing and Adjusting the Tool Unit on the Back
8-Spindle Unit” for details on precautions of tooling.
Machining drawing
8-177
Program example
[PATH2]
T2200 M56 S3000 ; Center drill selection, power-driven tool forward rotation
G0 Y21.0 Z52.5 T22 ; Positioning
M8 ; C2-axis ON
G0 C0 ; Sub spindle indexing
M6 ; Sub spindle clamp
G1 V−10.0 F0.02 ; Center drilling
G4 U0.02 ;
G0 Y21.0 ; Tool retract
M7 ; Sub spindle unclamp
G0 H180.0 ; Sub spindle indexing
M6 ; Sub spindle clamp
G1 V−10.0 F0.02 ; Center drilling
G4 U0.02 ;
G1 Y21.0 F0.2 ; Tool retract
G0 T0 ;
T2300 M56 S2200 ; Pilot drill selection, power-driven tool forward rotation
G0 Y21.0 Z21.0 T32 ; Positioning
M7 ; Sub spindle unclamp
G0 C0 ; Sub spindle indexing
M6 ; Sub spindle clamp
G1 V−26.0 F0.05 ; Drilling for preparing hole
G1 V26.0 F0.2 ; Tool retract
G0 T0 ;
8-178
8-14-14 Milling
▪ Tool is attached so that the tool tip is positioned to the center of guide bush or main
spindle by commanding X0 or Y0.
▪ When Milling Unit 4x Speed Type is installed, the maximum rotation speed of the
other power-driven tool will be fixed at 5000 min-1. So even if S7000 is
commanded, the power-driven tool will rotate at 5000 min-1.
▪ When Milling Unit 4x Speed Type is selected, command the number of rotations
using the following calculation formulas.
<Rotation speed>
Command value = Desired rotation speed /4
E.g.) In the case that the desired rotation speed is 20000min-1, the command value
is S5000 (=20000min-1 /4).
<Feed rate>
Command value = Desired feed rate 4
E.g.) In the case that the desired feed rate is 0.5mm/rev (feed per revolution), the
command value is F2.0 (=0.5mm/rev4).
▪ Refer to section “8-8-2 Tool Function (T Function)” for details on Tool geometry
offset (geometry offset).
▪ Refer to section “10-5-2 Installing and Adjusting the Tools on the Cross Drilling Unit”
for details on the precaution of tooling.
Example 1 ( X1 )
Geometry offset
Tool type Tool number
X Y Z
End mill T700 −5.0 0 0
8-179
Machining drawing
Program example
[PATH1]
T700 M36 S2400 ; Milling tool selection, power-driven tool forward rotation
M8 ; C1-axis ON
G0 X21.0 Y32.0 Z19.0 C0 T7 ; Positioning
M6 ; Main spindle clamp
G1 X12.0 F0.2 ; Positioning
G1 Y−32.0 F0.05 ; Milling
G1 X21.0 F0.2 ; Tool retract
M38 ; Power-driven tool stop
M9 ; C1-axis OFF, main spindle unclamp
G0 T0 ;
8-180
8-14-15 Slotting
▪ Adjust the Z-axis command (Z value) according to the tool tip position and the
workpiece projection length, and so that the tool tip does not collide with the
workpiece.
▪ Set the tool unit on the KEEP RELAY (conversational setting) screen.
▪ Be careful of collision between the tool and the bar in positioning at the tool
selection.
▪ Refer to section “7-11-3 Keep Relay Conversational Setting Function” for details on
the KEEP RELAY (conversational setting) screen.
▪ Refer to section “8-8-2 Tool Function (T Function)” for details on Tool geometry
offset (geometry offset).
▪ Refer to section “10-5-3 Installing and Adjusting the Power-driven Tools” for details
on precautions of tooling.
Geometry offset
Tool type Tool number
X Y Z
Slotting T3100 0 0 0
Machining drawing
8-181
Program example
[PATH1]
G0 Z0 T0 ; Z1-axis retract
T3100 M36 S430 ; Tool selection, power-driven tool forward rotation
G0 X52.0 Y0 T31 ; Positioning
M8 ; C1-axis ON
G0 C0 ; C1-axis indexing
M6 ; Main spindle clamp
G0 Z4.0 ; Positioning
G1 X-52.0 F0.06 ; Slotting
G1 Z0 F0.5 ; Workpiece retract
G0 T0 ;
M9 ; C1-axis OFF, main spindle unclamp
M38 ; Power-driven tool stop
8-182
8-14-16 Thread Whirling
▪ Refer to section “7-11-3 Keep Relay Conversational Setting Screen” for details.
▪ Refer to section “8-8-2 Tool Function (T Function)” for details on Tool geometry
offset.
▪ Refer to section “10-5-3 Installing and Adjusting the Power-driven Tool Unit” for
details on the tooling precautions.
Machining drawing
8-183
How to calculate the cutting point coordinate of the tool nose
In the case of “X0, Y0” when T3100 is selected, the cutting point coordinate of the tool
nose is calculated by the following formulas.
X= 2 (W−10.0) sin, Z= (W−10.0) / cos
Therefore, the cutting point coordinate is X = X, Z = 11.0 − Z
8-184
Program example
[PATH1]
G0 Z0 T0 ; Z1-axis retract
T3100 M37 S1600 ; Tool selection, power-driven tool motor stop
G50 Y12.0 ; Coordinate system setting
M8 ; C1-axis ON
GO Y7.0 CO T24 ; X, Z-axes positioning, main spindle indexing
G0 U−0.671 ;
Moving cutting point, positioning to machining start position
G1 Z3.0 F0.2 ;
M1013 ; Coolant 2 for thread whirling ON
G1 H6120.0 W42.5 F0.5 ; Thread whirling: H = W360.0/L
G1 Y12.0 F0.5 ; Cutter retract
M1014 ; Coolant 2 for thread whirling OFF
G0 Z0 ; Z-axis retract
M9 ; C1-axis OFF
M38 ; Power-driven tool motor stop
G0 T0 ;
: Command X for U .
: For the value of Z , command 11− Z −(clearance between the bar and the cutting
point of the tool in Z-axis direction).
: Command the thread core diameter with address Y.
8-185
8-14-17 Polygon Machining
▪ Input shift amounts of tool tip for compensating tool shape and tool installation
position into the geometry offset value X and Y in advance.
Geometry offset
Tool type Tool number
X Y Z
Polygon turning tool T3100 0 60.0 0
▪ Polygon cutter rotation will stop when the RESET key is pressed during
polygon machining.
▪ To stop the rotation of the polygon cutter temporarily while polygon machining is
8-186
Machining drawing
Program example
Install a three-bladed cutter with a diameter of 60 to machine a hexagon with opposite
sides of 14mm.
[PATH1]
T3100 M4 S900 ; T3100 selection, main spindle backward rotation
G25 ; Spindle speed fluctuation detection OFF
M127 ; Reference point return of power-driven tool motor
G50 A0 ; A-axis coordinate system setting (setting the tool phase)
G0 A10.0 ; Shifting the tool phase
G251 P1 Q−2 ; Polygon machining ON
G0 Y18.0 Z5.0 T24 ;
G1 Y10.0 F0.3 ;
G1 Y14.0 W2.0 F0.02 ;
G1 W9.0 F0.03 ;
G1 Y18.0 F0.05 ;
(G26) ; (Spindle speed fluctuation detection ON)
G250 ; Polygon machining OFF
▪ In order to decide the rotating start position of the tool, be sure to perform M127
(reference point return of power-driven tool) for power-driven tool axis
(power-driven tool motor) and G50 A0 (setting the tool phase) before polygon
machining
▪ Tool phase shift is carried out. Perform actual machining once for tool phase
alignment.
▪ Commanding the tool phase shift “G0 A360.0” will rotate the cutter once (360).
Commanding “G0 A1.0” will perform the tool phase shift by 1 degree.
8-187
▪ Commanding the tool phase shift “G0 A+” will shift the machining shape in the main
spindle M4 direction.
▪ When changing the rotation speed, or changing the gear position by attaching or
removing the polygon machining unit, perform actual machining and carry out
adjustment again.
Command of P Q .
8-188
8-14-18 Helical Interpolation
▪ Refer to section “7-11-3 Keep Relay Conversational Setting Screen” for details on
the keep relay conversational setting function.
▪ Refer to section “10-5-3 Installing and Adjusting the Power-driven Tool Unit” for
details on the tooling precautions.
Machining drawing
8-189
Program example
[PATH1]
G0 Z-0.5 T0 ; Z1-axis retract
T3121 M36 S4000 ; Tool selection, power-driven tool motor
forward rotation
G0 X21.0 Z5.5 T21 ;
M8 ; C1-axis ON
G0 C0 ; Main spindle indexing
M6 ; Main spindle clamp
G17 G3 X-21.0 Y0 Z6.0 R10.5 F0.05 ; Helical interpolation on G17(X-Y plane)
G3 X21.0 Y0 Z6.5 R10.5 F0.05 ;
G3 X-21.0 Y0 Z7.0 R10.5 F0.05 ;
G3 X21.0 Y0 Z7.5 R10.5 F0.05 ; G17, F3, F0.05 are modal.
G3 X-21.0 Y0 Z8.0 R10.5 F0.05 ;
G3 X21.0 Y0 Z8.5 R10.5 F0.05 ;
G3 X-21.0 Y0 Z9.0 R10.5 F0.05 ;
G3 X21.0 Y0 Z9.5 R10.5 F0.05 ;
G3 X-21.0 Y0 Z10.0 R10.5 F0.05 ;
G3 X21.0 Y0 Z10.5 R10.5 F0.05 ;
G3 X-21.0 Y0 11.0 R10.5 F0.05 ;
G3 X21.0 Y0 Z11.5 R10.5 F0.05 ;
G3 X-21.0 Y0 Z12.0 R10.5 F0.05 ;
G3 X21.0 Y0 Z12.5 R10.5 F0.05 ;
G3 X-21.0 Y0 Z13.0 R10.5 F0.05 ;
G3 X21.0 Y0 Z13.5 R10.5 F0.05 ;
G3 X-21.0 Y0 Z14.0 R10.5 F0.05 ;
G3 X21.0 Y0 Z14.5 R10.5 F0.05 ;
G3 X-21.0 Y0 Z15.0 R10.5 F0.05 ;
G3 X21.0 Y0 Z15.5 R10.5 F0.05 ;
G3 X-21.0 Y0 Z16.0 R10.5 F0.05 ; Machining length 10mm position
G3 X21.0 Y0 R10.5 F0.05 ; Does not execute Z-axis cutting but executes
flat machining of the end face.
G3 X-21.0 Y0 R10.5 F0.05 ;
G1 X-22.0 Z5.5 F0.2 ; retract
G0 X25.0 ;
G18 ; Return to Z-X plane (G18)
M38 ; Power-driven tool motor stop
M9 ; C1-axis OFF
G0 T0 ;
8-190
8-14-19 Cylindrical Interpolation
▪ Input shift amounts of tool tip for compensating tool shape and tool installation
position into the geometry offset value Y in advance.
Geometry offset
Tool type Tool number
X Y Z
Endmill T3200 0 −28.0 0
8-191
Program example
[PATH1]
T3200 M36 S3000 ; Change F when commanding G98
G98 ;
M8 ;
G0 Y8.0 Z21.0 C0 T32 ;
G1 Y5.0 F0.12 ; F360.0
G1 G18 H0 W0 ;
G107 C2.5 ; Cylindrical interpolation ON
G1 W10.0 F0.2 ; F600.0
G3 W5.5 C49.5 R5.5 F0.15 ; F450.0
G1 C220.5 F0.2 ; F600.0
G2 W5.5 C270.0 R5.5 F0.15 ; X command is invalid F450.0
G1 W5.0 F0.2 ; F600.0
G1 Z52.0 C90.0 F0.2 ; F600.0
G107 C0; Cylindrical interpolation OFF
G18 ;
F1500.0
G1 Y8.0 F0.5 ;
M9 ;
M38 ;
G0 T0 ;
: The tool shift amount (11 mm) is added to the value of Z beforehand.
: It is necessary to command G18 H0 W0 (Z-C plane) beforehand.
: For the value of G107 C ; , command a cylindrical radial value.
: Command G18 (Z-X plane) after cylindrical interpolation OFF.
▪ The feed rate commanded during cylindrical interpolation mode is the feed rate on
the developed cylindrical surface.
▪ Workpiece coordinate system setting (G50) cannot be commanded during
cylindrical interpolation.
▪ Rapid traverse positioning (G0, G28, etc) cannot be commanded during cylindrical
interpolation mode.
▪ Do not command cylindrical interpolation ON/OFF during cylindrical interpolation
mode.
Tool nose radius compensation is available during cylindrical interpolation mode.
▪ Command G107 (cylindrical interpolation ON) in G1 mode.
▪ Refer to section “8-8-2 Tool Function (T Function)” for details on the tool geometry
offset.
▪ Refer to section “8-14 Program Patten, ◼ Coordinate system” for details on the
relational dimensions.
▪ Refer to section “10-5-3 Installing and Adjusting Power-Driven Tool Unit” for details
on precautions of tooling.
8-192
8-14-20 Polar Coordinate Interpolation
▪ Refer to section “7-11-3 Keep Relay Conversational Setting Screen” for details on
the keep relay conversational setting function.
▪ Refer to section “10-5-3 Installing and Adjusting the Power-driven Tool Unit” for
details on the tooling precautions.
8-193
Program example1
[PATH1]
G0 Z-0.5 T0 ; Z1-axis retract
T3111 M36 S2000 ; Tool selection, power-driven tool motor forward rotation
M8 ; C1-axis ON
G0 X14.0 Z9.5 C0 T31 ; P1
G112 ; Polar coordinate interpolation ON
G42 G1 X4.0 C2.0 F0.1 ; P2
G1 X−4.0 F0.04 ; P3
G3 U−1.0 H−0.5 R0.5 F0.04 ; P4
G1 C0 F0.04 ; P5
G3 X0 C−2.5 R2.5 F0.05 ; P6
G1 X4.0 F0.08 ; P7
G1 C2.0 ; P8
G40 G1 X14.0 F0.1 ;
G113 ; Polar coordinate interpolation OFF
G18 ;
G0 Z-0.5 T0 ; Z1-axis retract
M9 ; C1-axis OFF
M38 ; Power-driven tool motor stop
Program example2
[PATH1]
G0 Z-0.5 T0 ; Z1-axis retract
T1700 B0 M36 S2000 ; Tool selection, power-driven tool motor forward rotation
M8 ; C1-axis ON
G0 X14.0 Z9.5 C0 T31 ; P1
G112 ; Polar coordinate interpolation ON
G42 G1 X4.0 C2.0 F0.1 ; P2
G1 X−4.0 F0.04 ; P3
G3 U−1.0 H−0.5 R0.5 F0.04 ; P4
G1 C0 F0.04 ; P5
G3 X0 C−2.5 R2.5 F0.05 ; P6
G1 X4.0 F0.08 ; P7
G1 C2.0 ; P8
G40 G1 X14.0 F0.1 ;
G113 ; Polar coordinate interpolation OFF
G18 ;
G0 Z-0.5 T0 ; Z1-axis retract
M9 ; C1-axis OFF
G28 B90.0 B1-axis reference point return
M38 ; Power-driven tool motor stop
8-194
8-14-21 Skewed Hole Drilling and Tapping
▪ Installing tools and inputting the geometry offsets must be carried out correctly.
Refer to section “10-5-5 Installing and Adjusting the Tool on the Tilting Head
3-Spindle Unit.”
Example 1 ( X1−Z1 )
Geometry offset
Tool type Tool number Tool unit
X Y Z
Center drill T1700 10.0 0 0
Tilting head
Cross drill T1800 10.0 0 0
3-spindle unit
Tap T1900 10.0 0 0
Machining drawing
8-195
Program example
PATH 1
T1700 B30.0 M36 S2000 ; Tool selection, B1-axis tilting,
power-driven tool forward rotation
G910 X9.196 Z1.5 B30.0 ; 3D coordinate conversion mode ON
( G68.1 X9.196 Z1.5 I0 J1 K0 R30.0 ;) (When commanding by G68.1)
M8 ; C1-axis ON
G0 X0 Z-1.0 C0 T17 ; Positioning
M6 ; Spindle clamp
G1 W4.0 F0.03 ; Center drilling
G4 U0.05 ;
G0 Z-1.0 T0 ;
G69.1 ; 3D coordinate conversion mode OFF
;
T1800 M36 S3100 ; Tool selection, power-driven tool forward
rotation
G910 X9.196 Z1.5 B30.0 ; 3D coordinate conversion mode ON
( G68.1 X9.196 Z1.5 I0 J1 K0 R30.0 ;) (When commanding by G68.1)
M8 ; C1-axis ON
G0 X0 Z-1.0 T18 ; Positioning
M6 ; Spindle clamp
G1 W7.0 F0.03 ; Drilling for Preparing hole
G4 U0.05 ;
G0 Z-1.0 ;
G1 W8.3 F0.03 ; Drilling for Preparing hole
G4 U0.05 ;
G0 Z-1.0 T0;
G69.1 ; 3D coordinate conversion mode OFF
;
T1900 M38 ; Tool selection, power-driven tool forward
rotation
G910 X9.196 Z1.5 B30.0 ; 3D coordinate conversion mode ON
( G68.1 X9.196 Z1.5 I0 J1 K0 R30.0 ;) (When commanding by G68.1)
G0 X0 Z-1.0 T19 ; Positioning
G984 W6.0 F0.5 M36 S1500 ; Rigid tapping
G0 T0 ;
G28 B90.0 ; B1-axis reference point return
G69.1 ; 3D coordinate conversion mode OFF
:
(X1, Y1, Z1) = (9.196, 0, 1.5) becomes the new reference point of workpiece coordinate.
The coordinate system tilts 30 degrees.
▪ Refer to section “8-10-38 B1-Axis Tilting (G910, G920)” for details on B-axis tilting
command (G910).
▪ Refer to section “8-10-18 3D Coordinate Conversion Mode (G68.1, G69.1)” for
details on 3D coordinate conversion mode.
▪ Refer to section “10-5-5 Installing and Adjusting the Tool on the Tilting Head
3-Spindle Unit” for details on installing the tools on the Tilting head 3-spindle unit.
▪ When commanding G68.1 instead of G910, command the block instead of
block . At this time, remove the brackets () of block .
8-196
Example 2 ( X1−Z2 )
▪ To command G910 or G920 for the back tool of T1700 T1900, it is required to set
the workpiece projection length with G133 beforehand.
▪ Always command the tool selection just after M172 command on PATH2.
The coordinate system is canceled once, so the coordinate system for back
machining is set with M172. To set the coordinate system for back machining, tool
selection command is required.
▪ To perform back machining with the tilting head 3-spindle unit, command G132 after
commanding tool selection and perform machining on the coordinate system in
which the tool tip is Z=0.
Geometry offset
Tool type Tool number Tool unit
X Y Z
Center drill T1700 0 0 103.5
Tilting head
Cross drill T1800 0 0 98.5
3-spindle unit
Tap T1900 0 0 98.5
Machining drawing
8-197
Program example
PATH 1 PATH 2
M75 ;
M171 ; M171 ;
T1700 ; /T2000 ;
G0 X70.0 ; /M8 ;
M172 ; /G0 X70.0 C0 ;
M171 ; /M6 ;
G28 B0 M172 ;
/T1700 M36 S2000 ;
( /T1700 B−30.0 M36 S2000 ;)
/G132 ;
/G910 X9.196 Z1.5 B−30.0 ;
( /G68.1 X9.196 Z1.5 I0 J1 K0 R−30.0 ;)
/G0 X0 Z−1.0 T17 ;
/G1 W4.0 F0.03 ;
/G4 U0.05 ;
/G0 Z−10.0 T0 ;
/G69.1 ;
/G130 ;
;
/T1800 M36 S3100 ;
( /T1800 B−30.0 M36 S3100 ;)
/G132 ;
/G910 X9.196 Z1.5 B-30.0 ;
( /G68.1 X9.196 Z1.5 I0 J1 K0 R−30.0 ;)
/G0 X0 Z−1.0 T18 ;
/G1 W7.5 F0.03 ;
/G4 U0.05 ;
/G0 Z−1.0 ;
/G1 W7.0 F1.0 ;
/G1 W2.8 F0.03 ;
/G4 U0.05
/G0 Z−5.0 T0 ;
/G69.1 ;
/G130 ;
;
/T1900 M38 ;
( /T1900 B−30.0 M38 ;)
/G132 ;
/G910 X9.196 Z1.5 B−30.0 ;
( /G68.1 X9.196 Z1.5 I0 J1 K0 R−30.0 ;)
/G0 X0 Z−1.0 T19 ;
/G984 W6.0 F0.5 M36 S1500 ;
/G0 T0 ;
/M9 ;
/G69.1 ;
/G130 ;
/G28 W0 ;
M171 ;
M76 ;
8-198
: M codes in gray ( ) are wait codes.
: Tool post (X1, Y1 and power-driven tool axes) is controled on PATH1.
: Tool post (X1, Y1 and power-driven tool axes) is controled on PATH1.
: The tilting head 3-spindle unit moves to the tilting position.
: Sub spindle (X2-axis) moves to the machining position during M171 mode.
*Commands in brackets ( ) caused by G68.1.
Relational dimension drawing of tilting head 3-spindle unit and sub spindle
▪ Determine X2-axis machining position at back machining with the tilting head
3-spindle unit with reference to the table below.
X2-axis recommended
machining point
−15 0 0
−30 −15 70.0
−40 −30 120.0
−45 −40 150.0
: The new coordinate system for back machining is set by the tool selection command
after M172.
: Z2-axis coordinate system at the time of back machining is set. Tool tip position of the
selected tool becomes Z=0.
:
(X1, Y1, Z1) = (9.196, 0, 1.5) becomes the new reference point of the workpiece
coordinate.
The coordinate system tilts 30 degrees.
: 3D coordinate conversion mode is canceled.
: Z2-axis coordinate system setting is canceled.
8-199
▪ Refer to section “8-10-27 Z2-Axis Coordinate System Setting (G130, G131, G132,
G133) for details on the Z2-axis coordinate system setting.
▪ Refer to section “8-10-38 B1-Axis Tilting (G910, G920)” for details on B1-axis tilting
(G910).
▪ Refer to section “8-10-18 3D Coordinate Conversion Mode (G68.1, G69.1)” for
details on 3D coordinate conversion mode.
▪ Refer to section “10-5-5 Installing and Adjusting the Tool on the Tilting Head
3-Spindle Unit” for details on installing the tools onto the tilting head 3-spindle unit.
8-200
8-14-22 Skewed Helical Interpolation
( X1−Y1−Z1)
Geometry offset
Tool type Tool number
X Y Z
End mill T1800 14.0 0 0
Machining drawing
8-201
Program example
PATH 1
T1800 M36 S800 ; Tool selection, power-driven tool forward rotation
G910 X15.743 Z2.129 B45.0 ; 3D coordinate conversion mode ON
M8 ; C1-axis ON
G0 X20.0 Y0 Z0 C0 T18 ; Positioning
M6 ; Spindle clamp
G1 X-20.0 F0.05 ; End face machining of the shape with 6
G0 Z-10.0 ;
G0 X18.0 Y18.0 ;
G1 Z3.0 F0.5 ;
G1 Y0 F0.05 ;
G17 G2 I-9.0 F0.04 ; Rough cutting of the shape with 6
G1 Z0 F0.05 ;
G1 X14.0 F0.05 ;
G2 W1.0 I-7.0 F0.04 ;
G2 W1.0 I-7.0 F0.04 ; Helical interpolation
G2 W1.0 I-7.0 F0.04 ;
G2 I-7.0 F0.04 ; Finishing
G1 Y-18.0 F0.05 ;
G0 Z-10.0 T0 ;
G18 ;
G69.1 ; 3D coordinate conversion mode OFF
:
(X1, Y1, Z1) = (15.743, 0, 2.129) becomes the new reference point of workpiece
coordinate.
The coordinate system tilts 45 degrees.
▪ Refer to section “8-10-38 B1-Axis Tilting (G910, G920)” for details on B1-axis tilting
command (G910).
▪ Refer to section “8-10-18 3D Coordinate Conversion Mode (G68.1, G69.1)” for
details on 3D coordinate conversion mode.
▪ Refer to section “10-5-5 Installing and Adjusting the Tool on the Tilting Head
3-Spindle Unit” for details on installing the tools on the Tilting head 3-spindle unit.
8-202
8-14-23 Machining of Z1-Z2 Axes Synchronous Control (M40/M41)
Using the command on PATH1, the Z1 and Z2 axes move in synchrony. It is effective to use
this function to prevent vibration of the workpiece by synchronously rotating the sub
spindle and clamping the collet.
▪ Refer to section “10-5-1 Installing Tools and Inputting Geometry Offset Values” for
details on the precautions of tooling.
Machining drawing
Program example
PATH 1 PATH 2
T200 M3 S3000 ; T2000 M4 S3000 ;
G0 X11.0 Z30.192 T2 ; M82 ;
M82 ; G131 ;
M40 ; G0 Z−5.0 ;
G3 X6.0 W8.291 R15.0 F0.04 ; M11 ;
G1 W41.517 F0.05 ; M68 ;
G3 X11.0 W6.614 R10.0 F0.04 ; M14 ;
M41 ; G98 G1 Z8.0 F2000 ;
G0 T0 ; M69 ;
G99 ;
M15 ;
M10 ;
M40 ;
M41 ;
G0 T0 ;
8-203
Codes in grey are wait commands.
Z2-axis on PATH2 moves by synchronizing with the Z1-axis command on PATH1.
By commanding while the Z1 and Z2 axes have stopped, the Z2-axis coordinate system
will be Z=0 at the end face of the workpiece.
The value of Z__ includes the tool shift amount (6mm).
▪ M40 (Z1-Z2 axis synchronous control ON) is only available during simultaneous
▪ The advance possible ranges vary depending on the selected tools. Refer to
section “8-5 Soft OT Function by Tool ◼ The Second soft OT”, and pay careful
attention to tooling.
8-204
8-14-24 Front Deep Hole Drilling
▪ Refer to section “7-11-3 Keep Relay Conversational Setting Screen” for details on
the KEEP RELAY (conversational setting) screen.
▪ Refer to section “10-5-1 Installing Tools and Inputting Geometry Offset Values” for
details on precautions of tooling.
Machining drawing
8-205
Program example
CAUTION
▪ The geometry offset values of X2 and Z2 are set to zero (0).
[PATH 1] [PATH 2]
G0 Z-0.5 T0 ; G900 J40 ;
T1300 M3 S1000 ; Center drilling M500 ;
G0 Z5.0 T13 ; T4100 ; Tool selection
G1 W5.5 F0.06 ; G0 Z268.0 ; Positioning
G4 U0.05 ; M510 ;
G1 Z5.0 F0.2 ; M520 ;
G0 T0 ; G0 Z255.0 T0 ;
T100 ; M530 ;
G0 X158.0 ; M540 ;
M500 ; T4200 ; Reaming
G0 Z13.5 M3 S1000 T41 ; Positioning G0 Z268.0 T42 ; Positioning
M510 ; M550 ;
G83 W80.0 R0 Q15000 P0 F0.08 ; M560 ;
G80 ; G28 W0 ;
G0 T0 ; G0 T0 ;
M520 ; T2000 ;
M530 ; N40 ;
G0 X208.0 ;
M540 ;
G0 Z13.5 M3 S1500 T42 ; Positioning
M550 ;
G1 W73.5 F0.1 ; Reaming
G1 Z5.0 F0.2 ;
M560 ;
G0 T0 ;
8-206
8-14-25 Re-clamp Machining
The main collet re-clamps the bar material in the middle of a program if the whole length of
the work-piece is longer than the Z axis stroke.
Machining drawing
Program example
1) When executing re-clamp by clamping workpiece outer diameter with sub collet
[PATH 1] [PATH 2]
O1234 ; O1234 ;
G266 A10.0 W280.0 S2000 B2.0 X-1.0 Z50.0 F0.03; G130 ;
G125 ; G99 ;
G300 ; M5 ;
G170 ; G0 T0 ;
G40 G97 M9 ; T2000 ;
G99 M3 S500 ; M200 ;
M11 ; M20 ;
G0 T0 Z0 ; M75 ;
M200 ;
M20 ;
M10 ;
G171 ;
T100 ;
M27 ;
G0 Z21.0 Z−0.5 M25 ;
8-207
(Front Machining)
T200 M3 S4000 ; (Back Machining)
G0 X11.0 Z−0.5 T2 ;
G1 X4.6 F0.2 ;
G1 X6.0 Z0.2 F0.03 ;
G1 Z8.0 F0.04 ;
G4 U0.05 ;
G1 X9.6 F0.05 ;
G1 X10.6 W0.5 F0.03 ;
G0 X11.0 T0 ; M76 ;
M500 ; M500 ;
T100 M3 S500 ;
G0 X[#531+1.0] Z10.5 T1 ;
M82 ; M82 ;
G900 J30 ;
G131 ;
M11 ;
M68 ;
Pick-up Positon 1 G0 Z−30.0 ;
M69 ;
G130 ;
N30 ;
M600 ; M600 ;
M68 ;
G98 G1 Z150.0 F2000.0;
G99 ;
M69 ;
M610 ; M610 ;
G900 J40 ;
M80 ; M80 ;
/M98 P7001 ; Subprogram of /M98 P7001 ;
/M81 ; intermediate bar /M81 ;
/M99 ; absence check (No /M99 ;
M81 ; bar stock detection) M81 ;
Bar absence check is N40 ;
carried out before
re-clamp.
8-208
M620 ; M620 ;
M110
G4 U0.5 ;
M11 ;
G0 Z0 ; Return to the
G125 Z150.0 starting position of
M10 ; Z-axis machining.
G4 U0.5 ; Absolute Pos is
M111 ; commanded at the
G4 U0.5 ; time of re-clamp.
T100 M3 S2000 ;
M68 ;
G98 G1 X[#531+1.0] Z282.0 F2000.0 T1 ;
G99 ;
M69 ;
M630 ; M630 ;
G900 J50 ;
G131 ;
M68 ;
M14 ;
Pick-up Position 2 G98 G1 Z255.0 F2000.0 ;
G99 M10 ;
M15;
M69 ;
M40 ; M40 ;
G1 X9.0 F#522 ;
G1 X11.0 F#522 ;
G1 Z281.3 F0.3 ;
G1 X9.6 Z282.0 F0.02 ;
G1 X#524 F#522 ;
M41 ; M41 ;
G4 ;
M68 ;
G0 W−20.0 ;
M69;
M83 ; M83 ;
M80 ; G0 T0 ;
/G0 X[#531+1.0] W−0.5 ; G28 W0 ;
/G0 W#528 ; G130 ;
/M98 P7000 ; M5 ;
M81 ; N50 ;
M99 ; M99 ;
8-209
: Codes in gray are wait codes.
: Z-axis machining start position
Adjust the value of Z__ ; according to Z-axis effective stroke and the specified value in
Z__ .
In this example:
Z = 205mm (Z-axis effective stroke) − 150mm ( Z__ ) − 5mm (margin approx. 5.0 20.0)
= 50.0
: The value of Z__; is Z-axis coordinate + cut-off tool width.
In this example:
Z = 8.5mm ( Z-axis coordinate) + 2mm (cut-off tool width) =10.5
: Workpiece pick-up position 1
Adjust the value of Z__ ; according to the part projection length from the end face of sub
spindle (set in Pick-up position 2) and the clearance between the workpiece at front
machining and the workpiece at the sub spindle.
In the example:
Z = − 25mm (workpiece projection length) − 5mm (clearance) = −30.0
: Adjust the value of Z__ ; according to Z-axis net stroke.
: Enter the value of Z__ into Z__ ; .
: Adjust the value of Z__ ; according to the part length and the cut-off tool.
In this example:
Z = 280mm (Part length)+ 2mm (cut-off tool width) + 0mm (shift amount of cut-off tool tip)
= 282.0
: Workpiece pick-up position 2
Adjust the value of Z__ ; according to the part length and the workpiece projection length
from the end face of sub spindle.
In this example:
Z = 280mm (Part length) − 25mm (Workpiece projection length) = 255.0
▪ The maximum pick-up part projection amount from the end face of the sub spindle is
30mm.
8-210
2) When executing re-clamp by using Barstock Gripping Unit [57418]
8-211
Subprogram example of intermediate bar absence check (No bar stock detection)
[PATH 1] [PATH 2]
O7001 ; O7001 ;
M9 ; M11 ;
T100 ; M82 ;
G99 G0 X[#531+1.0] M3 S#529 T1 ; M68 ;
M82 ; G0 Z65.0 ;
M800 ; M69 ;
G1 X#524 F#522 ; M10 ;
M810 ; M800 ;
M83 ; M810 ;
G0 X[#531+1.0] W−0.5 ; M68 ;
G0 W#528 ; G0 W−20.0 ;
M98 P7000 ; M69 ;
M99 ; M83 ;
G28 W0 M5 ;
M99 ;
▪ The common variables (#522, #524, #525, #528, #529, #530, #531) set on the
MACHINING DATA screen can be used for cut-off process etc. on PATH1.
8-212
8-14-26 Chamfering and Corner R
A chamfer and corner can be inserted between two blocks which intersect at a right angle.
Format
Z-X plane
(G18 ;)
G1 Zb Ii F ;
Chamfering Z → X
G1 X F ;
Moves as a → d → c
(G18 ;)
G1 Xb Kk F ;
Chamfering X → Z
G1 Z F ;
Moves as a → d → c
(G18 ;)
G1 Zb Rr F ;
Corner R Z → X
G1 X F ;
Moves as a → d → c
(G18 ;)-+
G1 Xb Rr F ;
Corner R X → Z
G1 Z F ;
Moves as a → d → c
8-213
Y-Z plane
(G19 ;)
G1 Yb Kk F ;
Chamfering Y → Z
G1 Z F ;
Moves as a → d → c
(G19 ;)
G1 Zb Jj F ;
Chamfering Z → Y
G1 Y F ;
Moves as a → d → c
(G19 ;)
G1 Yb Rr F ;
Corner R Y → Z
G1 Z F ;
Moves as a → d → c
(G19 ;)
G1 Zb Rr F ;
Corner R Z → Y
G1 Y F ;
Moves as a → d → c
8-214
Machining drawing
Program example
▪ This function cannot be used with the direct drawing dimension programming
function.
8-215
8-14-27 Direct Drawing Dimension Programming
Angles of straight lines, chamfering values, corner R values, and other dimensional values on
machining drawings can be programmed by directly inputting these values. In addition, the
chamfering and corner R can be inserted between straight lines with an optional angle.
To instruct angles of straight lines, chamfering values or corner R values, command with a
comma (,).
,A : Angles of straight line
,C : Chamfering value
,R : Corner R values
G18 ;
G1 X Z F ;
G1 Z F ;
G1 Z ,Aa1 F ;
G1 X F ;
G1 X ,Aa2 ,Cc F ;
G1 Z ,Rr F ;
G1 X F ;
G1 Z F ;
8-216
Format of Y-Z plane (G19)
G19 ;
G1 Y Z F ;
G1 Z F ;
G1 Z ,Aa1 F ;
G1 Y F ;
G1 Y ,Aa2 ,Cc F ;
G1 Z ,Rr F ;
G1 Y F ;
G1 Z F ;
8-217
Machining drawing
Program example
▪ This function cannot be used with chamfering and corner R machining function.
8-218
8-15 Program Example for the Test Piece
◼ Machining drawing
G266 A W S X Z F B ;
8-219
◼ Geometry offset input
In this test piece program example, the following geometry offsets are used.
Input the data according to the tool shapes and adjust the tool tip positions.
▪ Input the tool tip shift amount according to the tool shape and the tool installation
position into the tool geometry offset Y in advance.
▪ Refer to section “8-8-2 Tool Function (T Function)” for details on the tool geometry
offset.
▪ Refer to section “7-10-2 Tool Geometry Offset (Geometry Offset) Screen” for details
on how to input the offset.
8-220
◼ Wear offset input
In this test piece program example, the following wear offsets are used.
Input the data according to the tool shapes.
▪ To command the tool nose radius compensation, set the tool nose dimension and
the imaginary tool nose number beforehand.
▪ Refer to section “8-8-2 Tool Function (T Function)” for details on the tool wear
offset.
▪ Refer to section “7-10-1 Tool Wear Offset (Wear Offset) Screen” for details on how
to input the offset.
8-221
◼ Keep relay setting
In this test piece program example:
The phase synchronous control of the main spindle and the sub spindle is used.
▪ Set the keep relay “PHASE SYNCHRONIZATION AT M82” on the KEEP RELAY
(conversational setting) screen.
▪ Refer to section “7-11-3 Keep Relay Conversational Setting Screen” for details on
the KEEP RELAY (conversational setting) screen.
8-222
◼ Tooling sheet
8-223
▪ The values of Z in this test piece program example are determined according to
the tool tip positions in the Z-axis direction.
It is required to adjust the Z-axis command (Z value) according to the tool tip
positions of the tools which are attached actually.
▪ Refer to section “7-13-4 Mode Reset Screen” for details on the MODE RESET
screen.
8-224
[PATH 1] [PATH 2]
O1234 ; O1234 ;
8-225
(TURNING) /G0 Z49.0 ;
T1100 M3 S2300 ; /G0 C0 ;
G0 X21.0 Z-0.5 T11 ; /M6 ;
G1 X12.6 F0.2 ;
G41 G1 X14.0 Z0.2 F0.03 ; (CENTERING)
G1 Z2.0 F0.03 ; /M56 S1600 ;
G4 U0.1 ; /G1 X0 F0.2 ;
G1 X17.6 F0.03 ; /G1 Z52.5 F0.05 ;
G1 X18.0 Z2.2 F0.03 ; /G4 U0.1 ;
G1 Z15.0 F0.03 ; /G1 Z49.0 F0.1 ;
G40 G1 X21.0 F0.03 ; /G0 T0 ;
G0 T0 ; /M9 ;
/M58 ;
(BACK TURNING) /G28 W0 ;
T1200 M3 S2300 ;
G0 X21.0 Z15.3 T12 ; (DRILLING 4.0)
G41 G1 X17.6 Z16.0 F0.03 ; /T2600 M3 S2000 ;
G1 X14.0 F0.03 ; /G0 Z39.0 T26 ;
G1 Z26.0 F0.03 ; /G1 Z49.1 F0.04 ;
G40 G1 X21.0 F0.5 ; /G4 U0.1 ;
G0 T0 ; /G1 Z39.0 F0.1 ;
/G0 T0 ;
(GROOVING) /G28 W0 ;
T300 M3 S1900 ;
G0 X21.0 Z18.5 T3 ; (ECCENTRIC CENTERING)
G1 X17.0 F0.03 ; /T2200 M56 S2650 ;
G4 U0.1 ; /M8 ;
G1 X21.0 F0.03 ; (C45.0)
/G0 X10.0 Z39.0 C45.0 T22 ;
G1 Z22.5 F1.0 ; /M6 ;
/G1 Z41.5 F0.03 ;
G1 X17.0 F0.03 ; /G4 U0.1 ;
G4 U0.1 ; /G1 Z39.0 F0.1 ;
G1 X21.0 F0.1 ;
G0 T0 ;
(TURNING) (C135.0)
T1100 M3 S2300 ; /M7 ;
G0 X21.0 Z12.0 T11 ; /G0 C135.0 ;
G1 X14.0 F0.1 ; /M6 ;
G41 G1 Z15.0 F0.03 ; /G1 Z41.5 F0.03 ;
G1 X21.0 Z28.06 F0.03 ; /G4 U0.1 ;
G40 U1 K1 ; /G1 Z39.0 F0.1 ;
M5
G0 T0 ; (C225.0)
/M7 ;
(ANGLE CENTERING) /G0 C225.0 ;
T1700 M36 S2650 ; /M6 ;
G0 X40.0 Z-0.5; /G1 Z41.5 F0.03 ;
M8 ; /G4 U0.1 ;
G910 X16.68 Z20.0 B75.0 ; /G1 Z39.0 F0.1 ;
G0 X0 Z7.0 C0 T17 ;
G1 Z10.0 F0.2 ; (C315.0)
M6 ; /M7 ;
G1 Z12.5 F0.03 ; /G0 C315.0 ;
G4 U0.1 ; /M6 ;
8-226
G1 Z10.0 F0.1 ; /G1 Z41.5 F0.03 ;
/G4 U0.1 ;
M7 ; /G1 Z39.0 F0.1 ;
G0 C180.0 ; /G0 T0 ;
M6 ; /G28 W0 ;
8-227
G4 U0.1 ; /M15 ;
G1 X21.0 F0.1 ; M76 ;
G0 T0 ;
M500 ;
(CROSS CENTER) M4 S1600 ;
T800 M36 S2650 ; T2000 ;
G0 X21.0 Z41.0 C90.0 T8 ; G900 J50 ;
G1 X19.0 F0.2 ; M11 ;
G1 X15.0 F0.03 ; M82 ;
G4 U0.1 ; G131 ;
G1 X19.0 F0.1 ; G0 Z-5.0 ;
M68 ;
G1 Z36.0 F0.1 ; M14 ;
G98 G1 Z34.0 F2000.0 ;
G1 X15.0 F0.03 ; G99 ;
G4 U0.1 ; M10 ;
G1 X19.0 F0.1 ; (G133 ;)
G0 X21.0 ; M15 ;
G0 T0 ; M69 ;
M600 ;
(CROSS DRILLING 2.0) M610 ;
T700 M36 S4000 ; M68 ;
G0 X21.0 Z36.0 C90.0 T7 ; G0 W-20.0 ;
G1 X19.0 F0.2 ; M69 ;
G1 X8.8 F0.02 ; M83 ;
G4 U0.1 ; G0 T0 ;
G1 X19.0 F0.1 ; G28 W0 ;
G130 ;
G1 Z41.0 F0.1 ; M5 ;
M27 ;
G1 X8.8 F0.02 ; N50 ;
G4 U0.1 ; M99 ;
G1 X19.0 F0.1 ;
G0 X21.0 ;
G0 T0 ;
M38 ;
M9 ;
(GROOVING)
T500 M3 S1800 ;
G0 X21.0 Z37.0 T5 ;
G1 X19.0 F0.03 ;
G1 X21.0 F0.1 ;
G1 Z36.3 F0.1 ;
G1 X19.6 F0.03 ;
G1 X21.0 F0.1 ;
G1 Z37.7 F0.1 ;
G1 X19.6 Z37.0 F0.03 ;
G1 X16.0 F0.03 ;
G4 U0.1 ;
G1 X21.0 F0.1 ;
G1 Z41.0 F0.5 ;
G1 X19.0 F0.03 ;
G1 X21.0 F0.1 ;
8-228
G1 Z40.3 F0.1 ;
G1 X19.6 Z41.0 F0.03 ;
G1 X21.0 F0.1 ;
G1 Z41.7 F0.1 ;
G1 X19.6 Z41.0 F0.03 ;
G1 X16.0 F0.03 ;
G1 X21.0 F0.1 ;
G0 T0 ;
(BACK TURNING)
(Z-SHIFT=12.0)
T1200 M3 S2300 ;
G0 X21.0 Z54.3 T12 ;
G41 G1 X19.6 Z55.0 F0.03 ;
G1 X17.0 F0.03 ;
G1 Z58.5 F0.03 ;
G40 G1 X21.0 F0.5 ;
G0 T0 ;
M500 ;
(CUT OFF)
T100 M3 S1600 ;
G0 X[#531+1.0] Z51.0 T1 ;
M82 ;
M600 ;
G1 X#524 F#522 ;
M610 ;
M83 ;
M80 ;
/G0 X[#531+1.0] W-0.5 ;
/G0 W#528 ;
/M98 P7000 ;
M81 ;
M99 ;
8-229
8-16 Program Reference Data
8-230
Standard feed rate
A= Carbide tip
B= Insert tip (mm/rev)
Material
BsBM SUM S45C SUS
Machining process
A 0.05 0.15 0.03 0.07 0.03 0.05 0.02 0.03
Side turning
B 0.1 0.4 0.05 0.3 0.05 0.25 0.05 0.1
A 0.02 0.05 0.02 0.04 0.02 0.03 0.01 0.02
Cutting in
B 0.04 0.08 0.03 0.06 0.02 0.05 0.02 0.04
A 0.03 0.05 0.02 0.04 0.02 0.03 0.01 0.02
Grooving
B 0.05 0.08 0.05 0.15 0.05 0.1 0.03 0.05
A 0.02 0.04 0.02 0.03 0.02 0.03 0.01 0.02
Chamfering
B 0.05 0.2 0.05 0.1 0.05 0.1 0.03 0.05
A 0.03 0.05 0.02 0.04 0.015 0.03 0.01 0.02
Boring
B 0.05 0.15 0.05 0.1 0.05 0.07 0.03 0.05
SKH
Drilling 0.05 0.15 0.03 0.15 0.02 0.1 0.02 0.07
Drill
A 0.02 0.04 0.01 0.03 0.01 0.02 0.0070.012
Cutting-off
B 0.05 0.1 0.05 0.07 0.03 0.05 0.03 0.05
8-231
Main spindle speed for tapping
Steel Brass
M3 P0.5 500 min-1 600 min-1
M4 P0.7 500 min-1 550 min-1
M5 P0.8 450 min-1 500 min-1
M6 P1.0 400 min-1 500 min-1
M8 P1.25 350 min-1 450 min-1
M10 P1.5 300 min-1 400 min-1
M12 P1.75 300 min-1 350 min-1
8-232
Single point thread data (JISISO Torelance grade: 6H)
Insert tip
Thread Outer Root
Pitch Nose R
diameter diameter diameter
P R
D d1
* M 3.0 0.50 2.93 2.28 0.05
M 3.0 0.35 2.94
* M 3.5 0.60 3.42 2.63 0.05
M 3.5 0.35 3.44
* M 4.0 0.70 3.91 2.97 0.05
M 4.0 0.50 3.93 3.28 0.05
* M 4.5 0.75 4.41 3.40 0.05
M 4.5 0.50 4.43 3.78 0.05
* M 5.0 0.80 4.90 3.82 0.05
M 5.0 0.50 4.93 4.28 0.05
M 5.5 0.50 5.43 4.78 0.05
* M 6.0 1.00 5.88 4.60 0.10
M 6.0 0.75 5.91 4.89 0.05
* M 7.0 1.00 6.88 5.60 0.10
M 7.0 0.75 6.91 5.89 0.05
* M 8.0 1.25 7.87 6.22 0.10
M 8.0 1.00 7.88 6.60 0.10
M 8.0 0.75 7.91 6.89 0.05
* M 9.0 1.25 8.87 7.22 0.10
M 9.0 1.00 8.88 7.60 0.10
M 9.0 0.75 8.91 7.89 0.05
* M 10.0 1.50 9.85 7.83 0.10
M 10.0 1.25 9.87 8.22 0.10
M 10.0 1.00 9.88 8.60 0.10
M 10.0 0.75 9.91 8.89 0.05
* M 11.0 1.50 10.85 8.83 0.10
M 11.0 1.00 10.88 9.60 0.10
M 11.0 0.75 10.91 9.89 0.05
* M 12.0 1.75 11.83 9.44 0.10
M 12.0 1.50 11.85 9.82 0.10
M 12.0 1.25 11.87 10.21 0.10
M 12.0 1.00 11.88 10.60 0.10
* M 14.0 2.00 13.82 11.25 0.20
M 14.0 1.50 13.85 11.83 0.10
M 14.0 1.00 13.88 12.60 0.10
M 15.0 1.50 14.85 12.83 0.10
M 15.0 1.00 14.88 13.60 0.10
* M 16.0 2.00 15.82 13.25 0.20
M 16.0 1.50 15.85 13.83 0.10
M 16.0 1.00 15.88 14.60 0.10
M 17.0 1.50 16.85 14.83 0.10
M 17.0 1.00 16.88 15.60 0.10
* M 18.0 2.50 17.79 14.48 0.20
M 18.0 2.00 17.82 15.25 0.20
8-233
Insert tip
Thread Outer Root
Pitch Nose R
diameter diameter diameter
P R
D d1
M 18.0 1.50 17.85 15.83 0.10
M 18.0 1.00 17.88 16.60 0.10
* M 20.0 2.50 19.79 16.48 0.20
M 20.0 2.00 19.82 17.25 0.20
M 20.0 1.50 19.85 17.83 0.10
M 20.0 1.00 19.88 18.60 0.10
8-234
Prepared hole diameter for tapping (JISISO Torelance grade: 6H)
Recommended Recommended
Thread dia.×Pitch Thread dia.×Pitch
prepared hole dia. prepared hole dia.
1.0×0.25 0.75 9.0×1.25 7.75
1.0×0.2 0.80 9.0×1.0 8.00
1.1×0.25 0.85 9.0×0.75 8.25
1.1×0.2 0.90 10.0×1.5 8.50
1.2×0.25 0.95 10.0×1.25 8.75
1.2×0.2 1.00 10.0×1.0 9.00
1.4×0.3 1.10 10.0×0.75 9.25
1.4×0.2 1.20
1.6×0.35 1.25
1.6×0.2 1.40
1.7×0.35 1.40
1.7×0.2 1.50
1.8×0.35 1.45
1.8×0.2 1.60
2.0×0.4 1.60
2.0×0.25 1.75
2.2×0.45 1.75
2.2×0.25 1.95
2.3×0.4 1.90
2.5×0.45 2.05
2.5×0.35 2.15
2.6×0.45 2.15
3.0×0.5 2.50
3.0×0.35 2.65
3.5×0.6 2.90
3.5×0.35 3.15
4.0×0.7 3.30
4.0×0.5 3.50
4.5×0.75 3.75
4.5×0.5 4.00
5.0×0.8 4.20
5.0×0.5 4.50
5.5×0.5 5.00
6.0×1.0 5.00
6.0×0.75 5.25
7.0×1.0 6.00
7.0×0.75 6.25
8.0×1.25 6.75
8.0×1.0 7.00
8.0×0.75 7.25
8-235
8-236
9. Automatic and Manual Operations
This chapter explains the procedures for automatic and manual operations.
There are two methods of automatic operation - MDI operation and MEMORY operation.
WARNING
▪ Always close all doors and turn the CONTROL MODE key switch to
MACHINING .
▪ Never machine beyond the machine specifications.
▪ Never put your hand(s) into the machine.
▪ Check the status of operation as needed, and be careful of the status of the
cutting chips, the coolant amount and discharge, tool damage and wear, and
guide bush seizure.
▪ Major accidents can occur if any trouble is neglected.
▪ Stop the machine and remove the cutting chips regularly.
▪ If cutting chips become entangled or clogged in the material or tools, the
effectiveness of the coolant will decline considerably and can be the cause of
fire.
▪ Keep away from the cover mounted on the guide tube of the parts ejector with
guide tube. This cover is exposed on the lower part, so parts of your body can
easily be caught by the guide tube.
9-1
9-1 MDI Operation
▪ If the PATH at which MDI was inputted and the PATH selected by the PATH
(2) Press either the PATH1 key or PATH2 key to select a PATH in which
programs are to be registered.
9-2