You are on page 1of 300

 INITIAL-CUTTING-ANGLE OF THREAD ON MC DATA

▪ For details on “INITIAL-CUTTING-ANGLE OF THREAD ON MC DATA” (unit:


degree), refer to section “14-4-3 Adjustment of the Threading Start Angle”.

 PART LENGTH FROM SUB SPINDLE END Workpiece projection length form sub
spindle

▪ A value which is calculated by the CNC is displayed, therefore values cannot be


entered.

◼ Setting of machining data


There are two methods: inputting with the numerical keys, and inputting into the program.

 Inputting with the numerical keys

(1) Press the cursor keys , to move the cursor to the data to alter.
(2) Press the numerical keys to input a setting value.

(3) Press the INPUT key .


Press the [INPUT] soft key or the [+INPUT] soft key.

 Inputting into the program

(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 ;

G266: Machining data setting


A: Bar diameter
W: Part length
S: Spindle speed (cut-off)
X: Cut-off end position
Z: Z1 machining start position
F: Cut-off feed rate
B: Cut-off tool width

◼ 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.

◼ Setting of torque limiter


Pressing the [ON/OFF] soft key switches ON and OFF of TORQUE LIMITER. When the
TORQUE LIMITER is ON, the rapid override (rapid traverse) is automatically limited to 15%
or less (0%, 1% and 5% are available. 15% is set even when 100% is selected).
If a current larger than the preset limit data is applied for a certain time due to collision,
alarms SV0411 and No.1143 will be displayed at the same time.

▪ 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.

◼ Standard setting values of limit data


The limit data is set in PMC PARAM (DATA TABLE). The standard setting values are as
listed below.

PMC PARAM (DATA TABLE)


PMC PRM No. Axis Setting value
D624 X1 97 (38%)
D626 Z1 125 (49%)
D628 Y1 219 (85%)
D630 B1 255 (19%)
D632 X2 156 (55%)
D634 Z2 120 (47%)
D636 Y2 64 (25%)

▪ 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.

◼ Soft key functions


 [EDIT1] : Setting of COUNTER ON/OFF, NON-STOP TIME PERIOD
SETTING ON/OFF, inputting the TIME PERIOD, and COUNT
ATTAINMENT NOTICE ON/OFF are possible.
 [EDIT2] : Setting of tool number counter ON/OFF, inputting the PRESET
and COUNT values are possible.
 [ON/OFF] : Setting of COUNTER ON/OFF, NON-STOP TIME PERIOD
SETTING ON/OFF, COUNT ATTAINMENT NOTICE ON/OFF,
and tool number counter ON/OFF are possible.
 [AUTO SELECT] : All counters with tool numbers displayed become effective.
 [PRESET ALLSET] : All PRESET values are set to the same value.
 [COUNT ALLCLR] : All counter values are set to “0”.
 [INPUT] : Used for the setting value of TIME PERIOD, and inputting
PRESET and COUNT values.

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.

 SETTING OF NON-STOP TIME PERIOD ON


• Setting of TIME PERIOD becomes effective.
• TIME PERIOD display in black.

▪ 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.

 COUNT ATTAINMENT NOTICE ON


• In the case when one of the COUNT values is expected to reach its PRESET value in the
non-stop time period, operator message No.2047 will be displayed.
This operator message displays when the predicted time is within the next 24 hours.]

 COUNT PREDICTED TIME


• The first time a COUNT value reaches its PRESET value is displayed as the predicted
time.
The predicted time displays when it is predicted to occur within 24 hours.

 Display of PATH1/ PATH2


• PATH1/ PATH2 is displayed at the bottom-left part of the screen.
• A PATH with the tool number counter currently displayed is highlighted with a yellow
background.
• A PATH with a tool number counter which is set to “PRESET COUNT” changes to a
flashing red.

7-99
◼ Setting of tool number counter effective/ineffective
Follow the procedure below to change the setting of tool number counter effective/ineffective.

 Setting all counters with displayed tool numbers to effective


(1) Press the [EDIT1] soft key.

(2) Press the cursor keys , , , to move the cursor to OFF of


COUNTER.
(3) Press the [ON/OFF] soft key to display COUNTER ON.
(4) Press the [AUTO SELECT] soft key.
• All counters with tool numbers displayed become effective.

 Setting an individual tool number counter to effective/ineffective


(1) Press the [EDIT1] soft key.

(2) Press the cursor keys , , , to move the cursor to OFF of


COUNTER.
(3) Press the [ON/OFF] soft key to display COUNTER ON.
(4) Press the [EDIT2] soft key.

(5) Press the PAGE keys , or the cursor keys , , , to move


the cursor to a PRESET value or a COUNT value of an individual tool number counter
to set.
(6) Press the [ON/OFF] soft key.
• ON : The PRESET and COUNT values become effective and change to black.
• OFF : The PRESET and COUNT values become ineffective and change to grey.

◼ Altering the PRESET/COUNT values and canceling the count up state


Carry out the following procedure to alter the PRESET/COUNT values and cancel the count
up state.

(1) Press the CUSTOM1 key to display the TOOL LIFE MANAGEMENT screen.
(2) Press the [EDIT2] soft key.

(3) Press the PAGE keys , or the cursor keys , , , to move


the cursor to a PRESET value or a COUNT value to alter.
(4) Input a setting value with the numerical keys.

(5) Press the INPUT key or the [INPUT] soft key.


• The setting value is inputted.

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.

◼ Setting of non-stop time period

(1) Press the [EDIT1] soft key.

(2) Press the cursor keys , , , to move the cursor to SETTING OF


NON-STOP TIME PERIOD.
(3) Press the [ON/OFF] soft key to set the SETTING OF NON-STOP TIME PERIOD to
ON.

(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).

(6) Press the INPUT key or the [INPUT] soft key.


• The setting value is inputted.

(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).

(9) Press the INPUT key or the [INPUT] soft key.


• The setting value is inputted.

7-101
◼ Setting of count attainment notice

(1) Press the [EDIT1] soft key.

(2) Press the cursor keys , , , to move the cursor to COUNT


ATTAINMENT NOTICE.
(3) Press the [ON/OFF] soft key to set COUNT ATTAINMENT NOTICE to ON.
• In the case when one of the COUNT values is expected to reach its PRESET value,
operator message No.2047 will be displayed.

The following operations are performed according to the ON/OFF state of the SETTING OF
NON-STOP TIME PERIOD and COUNT ATTAINMENT NOTICE.

In the non-stop time Outside the non-stop


Mode
period time period
SETTING OF COUNT
Machine Attainment Machine Attainment
NON-STOP ATTAINMENT
operation message operation message
TIME PERIOD NOTICE
ON ON Operation 2) No display Stop Display 1)
ON OFF Operation 2) No display Stop No display
OFF ON Stop Display 1) Stop Display 1)
OFF OFF Stop No display Stop No display

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.

(1) Press the PROGRAM key to display the PROGRAM screen.

▪ 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.”

(2) Press the EDIT key to light up the lamp.

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.

(1) Press the PROGRAM key to display the PROGRAM 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.

▪ In EDIT mode, the program check can be executed.


▪ The screen cannot be switched during the program check.

▪ During the program check, “CHECKING PROGRAM…” is displayed on the screen.


▪ To stop the program check, press the [CAN] soft key.

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.

(8) Press the help key to display the HELP screen.

7-106
▪ When the help contents are spread across a multiple number of pages, press the

PAGE keys , to switch between the pages.


▪ If the help contents cannot be displayed in full on the screen, press the cursor

keys , to scroll the screen up and down.

▪ When the HELP key is pressed while HELP screen displays, HELP screen
will disappear.

(9) Modify the program in order to solve the displayed alarm.


To modify the block of which an alarm has been detected, there are the following ways
to edit.
I. Press the [JUMP] soft key to edit it on the PROGRAM screen.
II. Press the [EDIT BLOCK] soft key to edit it on the PROGRAM CHECK screen.

▪ 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.

 Editing on the PROGRAM screen (the [JUMP] soft key)

1. Press the PAGE keys , or the CURSOR keys , to move the


cursor to an alarm No. to solve.

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.

3. Modify the program on the PROGRAM screen.


4. If more than one alarm is detected, repeat 1~3 on the PROGRAM CHECK
screen.

7-108
 Editing on the PROGRAM CHECK screen (the [EDIT BLOCK] soft key)

1. Press the PAGE keys , or the CURSOR keys , to move


the cursor to an alarm No. to solve.

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.

3. Modify the program in the key input line.


4. Press the [OVERWRITE] soft key to display the [YES], [NO] soft keys.

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

key to display the PROGRAM screen.

7-111
7-13 Macro Screen

7-13-1 Tool Selection 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.

▪ The values of APPROACH POSITION show absolute coordinate values of X-axis


or Y-axis.
▪ The cursor is at the APPROACH POSITION when turning the main power ON.
▪ Set “YES” for the tool unit to use on the KEEP RELAY (conversational) screen
before selecting the tool.

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

key to select the TOOL SELECT screen again.

 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

selection) is complete, the START button will flash.

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

START button will go out.

When the positioning is completed, release the DOOR OPEN button .

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:

(1) Turn the CONTROL MODE key switch to SETTING .

(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 positioning is completed, release the DOOR OPEN button .

 When the back 8-spindle unit (T2100 ~T2800) is selected, only the tool selection will be
executed.

(1) Turn the CONTROL MODE key switch to SETTING .

(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 positioning is completed, release the DOOR OPEN button .

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.

Cutting-off the end of the bar material can be executed.


Follow the procedure below to execute auto cut off.

(1) Input the setting values on the MACHINING DATA screen.

▪ Setting values cannot be inputted on the AUTO CUT OFF screen.


The setting values of the MACHINING DATA screen will be displayed.
▪ When executing the cut-off process with the AUTO CUT OFF screen, positioning of
the cut-off tool (tool tip) will be G0 X24.0.

▪ 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.

▪ Setting of the OVERRIDE and RAPID OVERRIDE switches are


effective.

(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.

(7) Press the RESET key to cancel the alarm.

▪ 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

button is pressed, an alarm will be displayed and automatic adjustment will


not start.
▪ SINGLE BLOCK operation cannot be executed.

7-118
 Setting

(1) Press the cursor keys , , , to move the cursor to a SETTING


value to adjust.
(2) Press the [(OPRT)] soft key. Press the [+1] or [−1] soft key, or press the numerical keys
to input a setting value. Then press the [INPUT] soft key, the [+INPUT] soft key or the

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).

 Switching over of EXECUTION

(1) Press the cursor keys , , , to move the cursor to an EXECUTION


setting to adjust.
(2) Press the [(OPRT)] soft key to display the [EXEC ON/OFF] soft key.
(3) Press the [EXEC ON/OFF] soft key to switch the execution on the screen.

▪ Please refer to chapter “10. Setting and Adjustment” for details.

7-119
 Offset

(1) Press the cursor keys , , , to move the cursor to an OFFSET


setting to adjust.
(2) Press the [(OPRT)] soft key. Press the [+1] or [−1] soft key, or press the numerical keys
to input a setting value. Then press the [INPUT] soft key, the [+INPUT] soft key or the

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).

▪ Please refer to chapter “10. Setting and Adjustment” for details.

7-120
7-13-4 Mode Reset Screen

Press the MACRO key and the [MODE RESET] soft key respectively to display the
following screen.

◼ When the current state (screen display) is M172 mode:

(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.

The Z1-axis machine position is displayed on the screen.

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.

 Guide bush → Non guide bush


(1) After completing the works for removing the guide bush body and attaching the non
guide bush cover etc., move the cursor to “REMOVE G.B. BODY / ADD N.G.B
COVER”, and then press the [FINISH] soft key.
(2) After completing the works for removing Z1-axis ball screw cover, move the cursor to
“REMOVE Z1-AXIS BALL SCREW COVER”, and then press the [FINISH] soft key.
(3) If you wish to move the Z1-axis to the Non guide bush position, move the cursor to
“HEADSTOCK WILL MOVE TO Z=0 OF N.G.B VERSION. IF IT IS 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).

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”.

 Non guide bush → Guide bush


(1) Make sure that the Z1-axis does not collide with the automatic bar feeder after
moving to Z=0 of Guide bush version, move the cursor to “CHECK PUSH ROD
POSITION OF BAR FEEDER”, and then press the [FINISH] soft key.
(2) Move the cursor to “HEADSTOCK WILL MOVE TO Z=0 OF G.B. VERSION. IF IT IS

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.

(2) Press the EDIT key of MODE to light up the lamp.

(3) Press the PROGRAM key .


(4) Press the [MULTI LIST] soft key to display the following screen.

▪ 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”).

◼ Switching to the SINGLE-PATH display

(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).

▪ Currently displayed program (SINGLE-PATH or MULTI-PATH) is displayed at the


top left 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.

▪ Currently displayed program (SINGLE-PATH or MULTI-PATH) is displayed at the


top left part of the screen.

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.

◼ Switching to the DETAIL ON 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.

 The [DETAIL ON] soft key changes to [DETAIL OFF].

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.

 The [DETAIL OFF] soft key changes to [DETAIL ON].

7-131
7-14-3 Program Input/Output

▪ Set the following I/O interface.


RS232C: I/O Channel=0/1
Memory card: I/O Channel=4
USB memory: I/O Channel=17
▪ Do not use characters other than those shown below when inputting a file name:
Alphabetical (upper/lower case), numerical, +, −, _, . (full stop)
Full stop alone cannot be used as a file name.
▪ For memory cards, when the file name and an extension use more than 12
characters, operation will not be ensured.
▪ For USB memory sticks, when the file name and an extension use more than 32
characters, operation will not be ensured.

▪ Files with the following extensions will be registered in each PATH.


- PATH1: [.P1], [. P-1], [. M]
- PATH2: [.P2], [. P-2], [. S]
Programs with any other extension will be registered in the currently active PATH
(displayed at the bottom right part of the screen).
▪ RS232C interface version [72801] or RS232C interface version (with cover) [72803]
is required for using RS232C.

▪ For details on setting the input/output interface, please refer to section “7-2-1
Setting Screen  Input/output interface setting change”.

◼ Inputting the multi-path program into the CNC


 When inputting from a memory card / USB memory stick
The multi-path program, which has the same program number (name) on all the PATHs
and compiled as one file, can be inputted.
Extension [.PA] is suffixed to the multi-path program.
The file format of the multi-path program is as follows:
%
&F=/ Program number (name) /
 Program number (name) . P1 ······················PATH1 program
;
|
 Program number (name) . P2 ·····················PATH2 program
;
|
%

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.

(1) Turn the MEMORY INPUT key switch to ON ( ).

(2) Press the EDIT key of MODE to light up the lamp.

(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.

▪ This function is only available when the MULTI-PATH program is displayed.


▪ When a multi path program including a program of PATH3 is inputted, an error will
be triggered after the programs of PATH1 and PATH2 is inputted.

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.

(2) Turn the MEMORY INPUT key switch to ON ( ).

(3) Press the EDIT key of MODE to light up the lamp.

(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.

▪ This function is only available when the MULTI-PATH program is displayed.


▪ The program name to be registered is the same as the program number (name) in
the MULTI-PATH program.
▪ When the MULTI PATH program containing a program of PATH3 is inputted, an
error occurs after the programs of PATH1 and PATH2 are inputted.

7-134
◼ Inputting one program into the CNC
 When inputting from a memory card / USB memory stick

(1) Turn the MEMORY INPUT key switch to ON ( ).

(2) Press the EDIT key of MODE to light up the lamp.


(3) The program with a proper extension will automatically be registered in the
appropriate PATH. However, other programs will be registered in the currently active
PATH. Therefore, it is necessary to select the PATH for inputting the program by

pressing the change key .

(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.

(2) Turn the MEMORY INPUT key switch to ON ( ).

(3) Press the EDIT key of MODE to light up the lamp.


(4) The program with a proper extension will automatically be registered in the
appropriate PATH. However, other programs will be registered in the currently active
PATH. Therefore, it is necessary to select the PATH for inputting the program by

pressing the CHANGE key .

(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

(1) Press the EDIT 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. 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.

(6) 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.

▪ This function is only available when the MULTI-PATH program is displayed.


▪ Even the file name to output is changed, the program number (or program name) in
the file will not be changed.

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.

(2) Press the EDIT key of MODE to light up the lamp.

(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.

▪ This function is only available when the MULTI-PATH program is displayed.


▪ Even the file name to output is changed, the program number (or program name) in
the file will not be changed.

7-138
◼ Outputting one program from the CNC
 When outputting to a memory card / USB memory stick

(1) Press the EDIT key of MODE to light up the lamp.

(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) 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.

▪ This function is only available when the SINGLE-PATH program is displayed.


▪ Even the file name to output is changed, the program number (name) in the file will
not be changed.

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.

(2) Press the EDIT key of MODE to light up the lamp.

(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.

▪ This function is only available when the MULTI-PATH program is displayed.


▪ Even the file name to output is changed, the program number (or program name) in
the file will not be changed.

7-140
7-14-4 Creating a New Program

New programs can be created.


The program format to create is as follows.
%
Program number (name)
;
M20;
;
M99;
%

 Creating a multi-path program

(1) Turn the MEMORY INPUT key switch to ON ( ).

(2) Press the EDIT key of MODE to light up the lamp.

(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).

▪ This function is only available when the MULTI-PATH program is displayed.

7-141
 Creating one program

(1) Turn the MEMORY INPUT key switch to ON ( ).

(2) Press the EDIT key of MODE to light up the lamp.

(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.

▪ This function is only available when the SINGLE-PATH program is displayed.

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.

◼ Program number (name) search


Search for the main program number by following either Method A or Method B below.

 Method A

(1) Input the program number or name to search.

(2) Press the cursor keys , .


 The program is searched and the cursor will move to the corresponding program.

 Method B

(1) Press the [PROGRM SEARCH] soft key to display the following screen.

(2) Input the program number (or name) to be searched.


(3) Press the [PROGRM NAME] soft key.
 The program is searched and the cursor will move to the corresponding program.

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.

(3) Press the [MAIN SRCH] soft key.


 The main program is searched and the cursor moves to the corresponding program.

▪ This function is only available when the MULTI-PATH program is displayed.

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.

◼ Altering the program number (name) of the multi-path program

(1) Turn the MEMORY INPUT key switch to ON ( ).

(2) Press the EDIT key of MODE to light up the lamp.

(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.

▪ This function is only available when the MULTI-PATH program is displayed.

7-147
◼ Altering the program number (name) of one program

(1) Turn the MEMORY INPUT key switch to ON ( ).

(2) Press the EDIT key of MODE to light up the lamp.

(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.

▪ This function is only available when the SINGLE-PATH program is displayed.

7-148
7-14-8 Program Deletion

Programs registered in the memory can be deleted by following the procedure below.

◼ Deletion of the multi-path programs

(1) Turn the MEMORY INPUT key switch to ON ( ).

(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.

▪ This function is only available when the MULTI-PATH program is displayed.

◼ Deletion of one program

(1) Turn the MEMORY INPUT key switch to ON ( ).

(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.

▪ This function is only available when SINGLE-PATH program is displayed.

7-149
7-14-9 Program Copy

Follow the procedure below to copy the program registered in the CNC.

◼ Copying the multi-path program

(1) Turn the MEMORY INPUT key switch to ON ( ).

(2) Press the EDIT key of MODE to light up the lamp.

(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.

▪ This function is only available when the MULTI-PATH program is displayed.

7-150
◼ Copying one program

(1) Turn the MEMORY INPUT key switch to ON ( ).

(2) Press the EDIT key of MODE to light up the lamp.

(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.

▪ This function is only available when SINGLE-PATH program is displayed.

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.

◼ Disabling the program editing of the multi-path program

(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 [CHANGE ATTR] 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 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.

▪ 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” display)

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.

▪ This function is only available when SINGLE-PATH program is displayed.


▪ [EDIT DISABL] soft key is displayed only when the display is “DETAIL ON”.
( Not displayed during “DETAIL OFF” display)

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.

▪ This function is only available when SINGLE-PATH program is displayed.

7-156
8. Programming

WARNING
▪ Read section "9. Automatic and Manual Operations" thoroughly beforehand, and

execute operation in MEMORY mode or MDI mode.


▪ Refer to section "11-5 How to Check the Parameters" when changing the
parameter settings as shown in the following explanations.

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.

Drawing of parts to be machined


Check the material to be cut
Check the dimensional tolerance
Check the surface roughness

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

◼ Meaning and command unit of addresses


Address Meaning Command unit
O Program number 4 digits (19999)
N Sequence number 5 digits (199999)
G Preparatory function 3 digits (0999)
0.001mm 0.0001inch unit
X・U X-axis movement command
(diameter )
0.001mm 0.0001inch unit
Y・V Y-axis movement command
(diameter)
Z・W Z-axis movement command 0.001mm 0.0001inch unit
B B-axis movement command 0.001 unit
C・H Spindle angle indexing command 0.001 unit
R Arc radius designation 0.001mm 0.0001inch unit
I・J・K Arc center element 0.001mm 0.0001inch unit
Feed per rev.
0.001mm/rev  0.0001inch/rev
F Feed rate designation
Feed per min
0.001mm/min  0.0001inch/min
S Spindle speed command 5 digits min-1 unit
T Tool selection number & Tool offset number 4 digits, 2 digits
M Auxiliary function 4 digits
U・P・X Dwell time command 0.0001s99999.9999s (U X)
Subprogram number command Low-order 4 digits (19999)
P
Subprogram repetition command High-order 3 digits (1999)
P・Q Sequence number command 5 digits (199999)
Angle of direct drawing dimension
,A 0.001 unit
programming
Chamfering of direct drawing dimension
,C 0.001mm unit
programming
Corner rounding of direct drawing dimension
,R 0.001mm unit
programming

◼ 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) XYZUVWIJKR,C,R
Speed (mm/rev, mm/min)
F
(inch/rev, inch/min)
Time (s) UX
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.

▪ A file name can be used under the conditions stated below.


- A maximum of 32 characters
- Alphabet (upper/lower case)
- Numeric characters
- “−” (minus sign), “+” (plus sign), “_”

▪ 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.

Diameter Length Angle


X1, X2 axes Y1, Y2 axes Z1,Z2 axes B1-axis C1, C2-axes
X Y B C
Absolute command Z
(Diameter) (Diameter) (Angle) (Angle)
U V H
(Diameter (Diameter
Incremental command W − (Angle
difference) difference)
difference)

Point Absolute command Incremental command


1 X8.0 − Z0 − − − − − − −
2 (X8.0) − Z8.0 − − (U0) − (W8.0) − −
3 X10.0 − (Z8.0) − − U2.0 − (W0) − −
4 (X10.0) − Z20.0 − − (U0) − W12.0 − −
5 X9.0 − (Z20.0) − − U−1.0 − (W0) − −
6 (X9.0) − Z30.0 − − (U0) − W10.0 − −

7 X9.54 Y3.0 Z5.0 − C0 − − − − −


8 (X9.54) (Y−3.0) (Z5.0) − C180.0 (U0) (V-6.0) (W0) − H180.0

9 X6.0 Y0 Z3.0 B60.0 C0 − − − − −


10 (X6.0) (Y0) Z7.0 B75.0 (C0) (U0) (V0) W4.0 − (H0)

▪ If the amount of movement is 0, just as the commands in brackets in the table


shown above, it is not necessary to command.
▪ B1-axis incremental command is invalid.

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.

◼ Tool post (front side)

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

E.g.2 T1700 B45.0; G0 X21.0 Z0 ;

E.g.3 T1700 B0; G0 X0 Z0 ;

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

Example of improper command


Tool selection command Movement command
T1700 ; G0 X21.0 B45.0 ;

▪ 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

 When machining at B1= 0


The tool tip will become Z=0 when G132 is commanded.
The reference point will become Z=0 when G132 is not commanded.

▪ To command G132, the G133 command (Storage of Z2-axis workpiece projection


length) and the geometry offset setting are required.
▪ When G132 is not commanded, create a program considering the workpiece
projection length and the tool projection length

When G132 is commanded When G132 is not commanded

 When machining at −45 B1  0


The tool tip will become Z=0 by commanding G910 or G920.

▪ 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.

Without 3D coordinate conversion With 3D coordinate conversion


G910 B−45.0 ; G910 X20.0 Z0 B−45.0 ;
G0 X0 Z0 ; G0 X0 Z0 ;

8-13
8-5 Soft OT Function by Tool

▪ How to release the alarm

Move the alarm axis out from the prohibition area in HANDLE mode , and then

press the RESET key to cancel the alarm.

The following table shows the stroke for each axis.

◼ Effective stroke and the first soft OT

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)

◼ The second soft OT

▪ Read “10-6 Precautions of Tooling” thoroughly in order to prevent collision.


▪ Contents stated in the “Condition” column of the below table are same as the
contents displayed on the KEEP RELAY (conversational setting) screen. The
content in the “Condition” column indicates that the same keep relay is set to
“YES”.

▪ 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”

 Z2-axis soft OT when the tool for tool post is selected

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

▪ Absolute coordinate values are described in the table above.


▪ Alarm display (“” is the axis concerned.)
502: () +OVER TRAVEL (SOFT 2)
503: () −OVER TRAVEL (SOFT 2)

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)

Axis movement in the range of X112.0, Y1−443.0 is not possible.

▪ Alarm display (“” is the axis concerned.)


504: ()+OVER TRAVEL (SOFT 3)
505: ()−OVER TRAVEL (SOFT 3)

8-17
8-6 Feed Function

◼ Rapid Feed Speed


 The respective axis moves in constant high speed with G0 command in the program.

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)

◼ Cutting feed rate


 Address "F" commands the feed rate of each axis.
 The feed rate consists of the feed per revolution and the feed per minute; both are specified
with the G code.

Type G code Unit Program Datum spindle


mm/min ゚/min
Feed per minute G98 PATH12 ――
inch/min ゚/min
Main spindle
PATH1 Power-driven tool motor
mm/rev of PATH1
Feed per revolution G99
inch/ rev Sub spindle
PATH2 Power-driven tool motor
of PATH2

▪ 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.

 The feed rate for each axis is shown below.

Axis Feed per revolution Feed per minute


X1, X2-axis
0.001 mm/rev 0.00110000mm/min
Y1, Y2-axis
0.0001 inch/rev 0.0001 ~ 393.7 inch/min
Z1, Z2-axis
B1-axis 0.00110000/min
C1, C2-axis 0.001550000/min

8-18
8-7 Spindle Function (S Function)

The respective spindle speed can be controlled directly with address “S”.

Spindle name Command range


Main spindle max.10000min-1
Sub spindle max.10000min-1
PATH1 Power-driven tool
max.8000min-1
PATH2 Power-driven tool

 Rotation command M code


Each spindle can rotate forwards, in reverse and stop with just the M codes.
Command on PATH1 Command on PATH2
Main spindle Power-driven tool Sub spindle Power-driven tool
Forward
M3 M36 M3 M56
direction
Reverse
M4 M37 M4 M57
direction
Stop M5 M38 M5 M58

▪ 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)

8-8-1 Tool Numbers

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.

◼ Tool selection function


 When selecting a tool

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

T100 Cut-off tool


T200
T300
Tools
T400
T500
T600 Stopper (Option)
T700
T800 Power-driven tool (Cross)
T900
T1100
Tools
T1200
T1300
T1400
Stationary tools
T1500
T1600
T1700
T1800 Power-driven tool for tilting head 3-spindle unit
T1900
T3100
T3200 Power-driven tool (Cartridge type)

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.”

Name Type No.


2-spindle Front Drilling Unit ER16 54151
3-spindle Front Drilling Unit ER16 66151
3-spindle Counter-face Drilling Unit 67161/0M155
Slotting Unit 54153/54154
Thread Whirling Unit 68172
Polygon Machining Unit 0T191
Slotting Unit 0R165
Cross Drilling Unit 0R151

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.

E.g.) T1700 B45.0 ;

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.

Tool selection Workpiece coordinate


Drawing
command X Y

T100  T500 40.0 0

T600 38.0 0

T700  T900 30.0 0

T1100  T1200 40.0 0

T1300  T1600 0 0

8-25
Tool selection Workpiece coordinate
Drawing
command X Y

T1700  T1900 70.0 0

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”.

 Tool wear offset

This is used for size adjustment of the machining part.


When the size of the machining part is to be increased, input a positive offset value. When
it is to be decreased, input a negative offset value.
The offset value will be increased or decreased at each block end of the program.

▪ Refer to section “7-10-1 Tool Wear Offset Screen” for details on inputting offset
values.

 Commanding method for offset number

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.

Offset number example:


[PATH1]
Tool select command Tool wear offset number Offset address
T100 T01 or T1 X, Y, Z
T200 T02 or T2 X, Y, Z

[PATH2]
Tool select command Tool wear offset number Offset address
T2100 T21 X, Y, Z
T2200 T22 X, Y, Z

 Tool geometry offset

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

G0 X(U)Y(V) Z(W) C(H) B ;

X, Y, Z, C and B Coordinate of the position after movement (the end point


Absolute command coordinate)

U, V, W and H Direction and distance of the movement based on the


Incremental command current position

(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

G1 X(U) Y(V) Z(W) C(H) B F ;

X, Y, Z, C and B Coordinate of the position after movement (the end point


Absolute command coordinate)

U, V, W and H Direction and distance of the movement based on the


Incremental command current position

F Feed rate

▪ Refer to “8-14-7 Turning” for details.

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.

▪ Command the plane (selection) to machine before commanding these codes.


▪ G18 (Z-X plane) will be selected when turning ON the main power.
▪ When R (arc radius) is specified with a positive value, the arc should be less than
180. When commanding an arc exceeding 180, specify R (arc radius) with a
negative value, or command with dividing the arc in two blocks.

 Format for PATH1

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 ;

 Format for PATH2

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)

G18; G18; G18;


G2 G2 G2
X(U) Z(W) R F ; X(U) Z(W) R F ; X(U) Z(W) R F ;
G3 G3 G3

Z-X plane
(G18)

*Selected
when
turning the
power on

G19 ; G19; G19;


G2 G2 G2
Y(V) Z(W) R F ; Y(V) Z(W) R F ; Y(V) Z(W) R F ;
G3 G3 G3

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 ;

G17 X-Y plain, Z cutting axis


G18 Z-X plain, Y cutting axis
G19 Y-Z plain, X cutting axis
I X axis distance from the start point to the center of an arc (with sign, radius value)
J Y axis distance from the start point to the center of an arc (with sign, radius value)
K Z axis distance from the start point to the center of an arc (with sign, radius value)
R Arc radius (without sign)

▪ IF I, J, K, and R addresses are specified simultaneously, the arc specified by


address R takes precedence and the others (I, J, K) are ignored.

▪ 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.

By setting parameter No.1403-bit 5, Figure-1


a tangential velocity of the arc in a specified
plane or a tangential velocity including the
linear axis can be specified as the feed rate.
When parameter No.1403-bit 5 = 0, an F
command specifies a feed rate along
a circular arc. Therefore, the feed rate of
the linear axis is as follows:

Length of linear axis


F
Length of circular arc

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

The velocity along the linear axis is


expressed as follows:

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

G4 U ; or G4 X ; or G4 P ;

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.

(Example): To command a dwell of 0.5 seconds, command G4 U0.5; or G4 X0.5; or G4 P500;.

▪ 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

G10 PX(U) Y (V) Z(W) R(C) Q ;

P Tool wear offset number


Absolute input:
X, Y and Z
The tool wear offset amount will change to the new commanded value.
Incremental input:
U, V and W The tool wear offset amount will be added/taken to/from the previous
value.
Tool nose radius compensation amount will change to the new
R
commanded value. (Absolute input)
The commanded value will be added/taken to/from the previous tool
C
nose radius compensation amount. (Incremental input)
Changes the imaginary tool nose position during the tool nose radius
Q
compensation.

(Example): G10 P2 X0.1 W-0.035 ;

It subtracts 0.035mm from the Z offset.


It sets the X offset to 0.1mm.
It sets the tool wear offset number to “02”.

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)

▪ G18 (Z-X plane) is selected when turning the power on.

▪ Refer to “8-10-3 Circular Interpolation (G2, G3)” for details.


▪ For details on G17, G18, G19, please refer to “OPERATOR'S MANUAL” published
by CNC manufacturer (FANUC).

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

G26 PQRI ; Spindle speed fluctuation detection ON


G25 ; Spindle speed fluctuation detection OFF

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

G28 U(X) V(Y) W(Z)  ;

U(X)
V(Y) Coordinate of the halfway point
W(Z)

▪ Command this after offset cancellation.


If offset cancellation is executed after reference point return, an OT alarm may be
triggered.

▪ For further details, please refer to OPERATOR'S MANUAL published by CNC


manufacturer (FANUC).

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

G30 U(X) V(Y) W(Z)  ;

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.

▪ For further details, please refer to OPERATOR'S MANUAL published by CNC


manufacturer (FANUC).

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

G32 X(U) Z(W) FQ;

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.

▪ Refer to section "8-14-9 Threading" for details on the example of use.

8-46
8-10-12 Variable Lead Threading (G34)

This is used to perform variable lead threading.

▪ 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

G34 X(U) Z(W) FKQ;

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.

▪ For further details, please refer to OPERATOR'S MANUAL published by CNC


manufacturer (FANUC).

8-47
8-10-13 Circular Threading (G35, G36)

This is used to cut a circular thread.


G35 : Clockwise circular threading
G36 : Counter-clockwise circular threading

 Format

G35 (G36) X(U) Z(W) RFQ;

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

Example of front machining

 Data registration necessary for machine operation

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

The G40 block is called "cancellation block"


Command U and K as instructed below.

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 G71G76 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)

The tool center point control ON/OFF will be switched.


With the tool center point control, tool tip moves along the specified path and performs
machining while changing the posture of the tool.
In order to control the tool posture, specify the tool posture at the block end point by using B
and C-axes in G43.4, or using vector I, J and K in G43.5.
A coordinate system used for programing the tool center point control is called the
programming coordinate system. For this machine, the coordinate system fixed on the
workpiece (the coordinate system rotates with the rotation of C-axis) is referred to as the
programming coordinate system.

 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

X, Y, Z, B, C End point of each axis movement


I, J, K Tool axis direction at the end point of movement
Tool wear offset number
(Offset amount inputted in Z is applied to the longitudinal
D
direction of the tool)
Specify D followed by one or two digit number.

 Preparation process for the tool center point control ON

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

T____ ; Next tool selection

▪ 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)

◼ Coordinate system setting


 Format
G50 X(U) Y(V) Z(W)  C(H)  ;

X, Y, Z and C Currently displayed absolute position will be changed to the


Absolute command commanded value.

U, V, W and H Currently displayed absolute position will shift by the


Incremental command commanded value.

▪ 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.

◼ Maximum spindle speed clamp


When using the constant surface speed control, the maximum spindle speed can be fixed.

 Format
G50 S  ;

Setting of maximum spindle speed


S The maximum spindle speed will be fixed at this upper limit value during
constant surface speed control (G96).

(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)

◼ Macro simple call


 Format
G65 P L <argument specification> ;

Program number to call


P
This calls a macro program of a program number specified with the address P.
Repetition count
L
Macro program is executed “L” times. If “L” is omitted, 1 time is assumed.

▪ When an argument is required for the macro program, use argument specification.

▪ Refer to section “8-13 Macro Program (G65  G67)” for details.

◼ Macro modal call


 Format
G66 P L <argument specification> ;
G0 (Axis movement command)

Program number to call


P
This calls a macro program of a program number specified with the address P.
Repetition count
L Macro program is executed “L” times every time axis movement command is
instructed. If “L” is omitted, 1 time is assumed.

▪ When an argument is required for the macro program, use argument specification.

▪ Refer to section “8-13 Macro Program (G65  G67)” for details.

G67: Cancellation of macro modal call

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

X, Y, Z Absolute coordinates of rotation center


I, J, K Direction of the axis of rotation center (cannot be omitted)
R Angular displacement (can be commanded in units of 0.001).(cannot be omitted)

▪ G910 and G920 commands include G68.1.

▪ 3D coordinate conversion mode is not canceled by pressing the RESET key .


To cancel this, command G69.1, or carry out MODE RESET function.
▪ Command X, Y and Z in the G68.1 block as absolute values.
The coordinate of rotation center position commanded by X, Y and Z becomes the
new reference point of the workpiece coordinate.
▪ Do not command any other G codes in the same blocks as G68.1 and G69.1
▪ Do not change the workpiece coordinate system during 3D coordinate conversion
mode.
▪ When performing manual reference point return, command G69.1 or carry out
MODE RESET function to cancel the 3D coordinate conversion mode beforehand.
▪ Make sure that G41, G42, all canned cycles and tool wear offset ON/OFF are
commanded in between G68.1 and G69.1.
▪ The following G codes can be commanded in 3D coordinate conversion mode:
G0, G1, G2, G3, G4, G10, G17, G18, G19
G28, G30, G40, G41, G42, G65, G66, G67, G73, G74, G76, G784, G984
G80~G89, G98, G99

▪ 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.

G code Name Remarks


G70 Finishing cycle
G71 Outer diameter rough cutting cycle
These codes cannot be optimized.
G72 End face rough cutting cycle
G73 Pattern repeating cycle
G74 End face peck drilling cycle
G75 Outer diameter cut-off cycle
G76 Multiple-thread cutting cycle

▪ 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.

▪ For further details, please refer to OPERATOR'S MANUAL published by CNC


manufacturer (FANUC).

◼ End face peck drilling cycle (G74)


Cutting chip disposal is possible in the cycle shown below. Omitting the address X (U) and P
will move the Z-axis only and it is possible to execute the deep hole drilling cycle.

(R): Rapid traverse, (F): Cutting feed

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 ;

◼ Multiple-thread cutting cycle (G76)


This code performs the threading cycle shown in the drawing.

(R): Rapid traverse, (F): Cutting feed

8-61
 Format

G76 P(m)(r)(a) Q(dmin) R(d) ;


G76 X(U) Z(W) R(i) P(k) Q(d) F(L) ;

Repetitive count in finishing (199)


This command is modal and is valid until another value is commanded.
m
It can also be set by parameter (No.5142), although the parameter value will be
changed by a program command.
Thread chamfering amount 00~99
Regard the lead as L, command with a 2-digit numerical value 00~99 in the unit
r of 0.1L, within the range of 0.0L~9.9L. This command is modal and is valid until
another value is commanded. It can also be set by parameter (No.5130),
although the parameter value will be changed by the program command.
Angle of tool nose (angle of thread ridge)
One of six kinds of angles can be selected: 80, 60, 55, 30, 29 and 0.
Specify this angle value as a 2-digit number. This command is modal and is valid
a until another value is commanded. Also, it can be set by parameter (No.5143),
although the parameter value will be changed by the program command.
“m”, “r” and “a” are all commanded together by address P.
Example) Command P021260 when m=2, r=1.2 and a=60.
Minimum cutting depth
If the one-time cutting depth (dn – dn–1) becomes smaller than dmin, it
dmin will be clamped to dmin. This command is modal and is valid until another
value is commanded. It can also be set by parameter (No. 5140), although the
parameter value will be changed by the program command.
Finishing allowance
This command is modal and is valid until another value is commanded. It can
d
also be set by parameter (No.5141), although the parameter value will be
changed by the program command.
Taper amount (difference of thread radius)
i
If i=0, straight threading will be performed.
Height of thread (Distance in X-axis direction is specified as a radial value).

d Cutting depth of 1st cut (radial value)


L Thread lead (same as G32)

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.

메모 포함[紅林2]: ▪ If the threading cycle retract has


not been added to the function, and the FEED HOLD

button is pressed during threading, the


threading cycle will continue until point C, where
retraction is complete.
35-000T0-0066

▪ 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.

▪ Command these codes on the Z-X plane (G18).


▪ Command G87 and G89 independently in a single block.

to operations will be executed as one


cycle.
: Rapid feed traverse to point “R”.
: Hole machining to bottom of hole
: Dwell time at bottom of hole
: Return to the R point or initial point

▪ For further details, please refer to OPERATOR'S MANUAL published by CNC


manufacturer (FANUC).

◼ Canned cycle for drilling cancel (G80)


Commanding G80 will cancel the canned cycle drilling (G83G85, G87, G89) and will execute
normal operation.

◼ Front drilling cycle (G83)


 Format

G83 Z(W) RQPF ;

Z(W) Coordinate command at the bottom of hole


R Distance from the initial point to point R commanded by incremental value
Cutting depth for each cutting feed, commanded as a radial value
Q
(command Q1000 when 1mm)
P Dwell time at the bottom of hole (Command P1000 for a 1 second dwell)
F Cutting feed rate

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.

(1) If there is no Q command

(2) If there is a Q command


 When parameter No. 5101-bit2=0

Set amount “d” into parameter No.5114.

 When parameter No. 5101-bit2=1

Set amount “d” into parameter No.5115.

8-65
◼ Front tapping cycle (G84)
 Format

G84 Z(W) RPF ;

Z(W) Coordinate command at the bottom of hole


R Distance from the initial point to point R commanded by incremental value
P Dwell time at the bottom of hole (Command P1000 for a 1 second dwell)
F Thread pitch

 Movement pattern

◼ Front boring cycle (G85)


 Format

G85 Z(W) RPF ;

Z(W) Coordinate command at the bottom of hole


R Distance from the initial point to point R commanded by incremental value
P Dwell time at the bottom of hole (Command P1000 for a 1 second dwell)
F Cutting feed rate

 Movement pattern

8-66
◼ Side drilling cycle (G87)
 Format

G87 X(U) RQPF ;


G87 Y(V) RQPF ;
X(U)
Position at the bottom of hole
Y(V)
R Distance from the initial point to point R
Q Cutting depth for each cutting feed (command Q1000 when 1mm.)
P Dwell time at the bottom of hole (Command P1000 for a 1 second dwell)
F Cutting feed rate

 Movement pattern

◼ Side boring cycle (G89)


 Format

G89 X(U) RPF ;


G89 Y(V) RPF ;
X(U) Coordinate command at the bottom of hole
Y(V)
R Distance from the initial point to point R commanded by incremental value
P Dwell time at the bottom of hole (Command P1000 for a 1 second dwell)
F Cutting feed rate

 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.

▪ As a principle, the M, S and T command as cutting conditions shall be commanded in


the block before the blocks of G90, G92 and G94.
▪ The blocks after the G90, G92 and G94 block until the block just before another G
code in 01 group (G0, G1 etc.) is the area where canned cycle is valid. To cancel,

command G0. (Pay attention when in MDI mode.)


▪ The program will stop after completing “cutting in → turning (threading) → retract →

return” while the SINGLE BLOCK key is lit.


▪ Single canned cycle (G90, G94) cannot be commanded on G117, G118 or G119.
▪ Threading cycle (G92) cannot be commanded on G117 or G118.
▪ When commanding threading cycle (G92) on G119 plane, threading will be
performed on the Z-Y plane.

◼ Canned cycle table

(R): Rapid traverse, (F): Cutting feed

8-68
◼ Threading cycle (G92)

▪ Tool nose radius compensation cannot be used.


▪ 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. Use the following formula to calculate the approximate value of
1 and 2.
LS L: Tread lead
1 = 4
1800 S: Spindle speed
LS
2 =
1800
▪ There are limits related to the spindle speed and thread lead.
LS 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.

(a) Straight thread cycle

 Format
G92 X(U) Z(W) FQ ;

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.

The following cycle to will be executed.

▪ 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) RFQ ;

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.

The following cycle to will be executed.

▪ For X, command the B absolute position data.


▪ The sign of address R is specified by the direction viewing from point B to the line
reaching to A’.

▪ For details on the example of use, refer to section "8-14-9 Threading”.


▪ For further details, please refer to OPERATOR'S MANUAL published by CNC
manufacturer (FANUC).

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 control ON command


 Format
G96 S  ;

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.

▪ Do not command another G code in the same block.


Alarm No. PS0127 will be displayed.
▪ Constant surface speed control cannot be used in a threading process.

▪ Maximum spindle speed clamp (G50) is available during execution of constant


surface speed control ON (G96).
In addition, the S value will be memorized during constant surface speed control
OFF (G97), and will be effective when the program returns to G96.

(However, if CNC POWER OFF is pressed, this memory will be deleted).


▪ Constant surface speed control regulates the surface speed in correspondence
with the command position of the X-axis movement, and no offset amount will be
added.

◼ Constant surface speed control OFF command


 Format
G97 S ;

Spindle speed. (min-1)


S If S is not specified, the spindle speed will be set to the speed of the G96
command just before command of G97.

▪ Do not command another G code in the same block.


Alarm No. PS0127 will be displayed.

▪ 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.

◼ Feed per minute (G98)


 Commanding G98 will execute the following F command in “feed per minute”.
 If G98 is commanded on PATH1, the feed unit of X1, Y1 and Z1-axis will be “feed per
minute”.
 If G98 is commanded on PATH2, the feed unit of X2-axis and Z2-axis will be “feed per
minute”.

▪ For “mm” input, “mm/min” will be used.


For “inch” input, “inch/min” will be used.

◼ Feed per revolution (G99)


 Commanding G99 will execute the following F command by “mm/rev” or “inch/rev”
according to the datum spindle.

▪ 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.

▪ Refer to section “8-6 Feed Function” for details.

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)

G1 G18 H0 W0 ; ·························Linear interpolation, plane selection for cylindrical


interpolation
G107 C ; ·······························Cylindrical interpolation ON, radial value command
(Set the C-axis as a linear axis parallel to the X-axis.)
G2 (G3) Z(W) C(H) R F ;
G107 C0 ; ·································Cylindrical interpolation OFF
G18 ; ·········································Z-X plane selection
;

▪ Command cylindrical interpolation in a single block independently.


▪ It is necessary to command G18 H0 W0 (Z-C plane) beforehand.
▪ Command G18 (Z-X plane) after commanding G107 C0 (Cylindrical interpolation
OFF).
▪ Cylindrical interpolation (G107) cannot be commanded during positioning mode
(G0).
Command G107 (Cylindrical interpolation ON) in G1 mode.

▪ Refer to section "8-14-19 Cylindrical Interpolation" for details.


▪ For further details, please refer to OPERATOR'S MANUAL published by CNC
manufacturer (FANUC).

8-74
8-10-25 Polar Coordinate Interpolation (G112, G113)

◼ G112 (Polar coordinate interpolation ON)


This function assumes that rotary movement of C1-axis is linear movement of the Y-axis
(hypothetical Y-axis).
When machining by the polar coordinate interpolation, the contour of the workpiece looks as
if it was machined with X1 and Y1-axes, by commanding movement for Y1-axis and C-axis
(hypothetical X-axis).

 Format (Command independently in a single block.)

G112 : Polar coordinate interpolation ON


G113 : Polar coordinate interpolation OFF

G112 ; ·······································Polar coordinate interpolation ON


G2 (G3) X(U) C(H) R F ;
G113 ; ······································Polar coordinate interpolation OFF
;

▪ Command polar coordinate interpolation in a single block independently.

▪ Refer to section "8-14-20 Polar Coordinate Interpolation" for details.


▪ For further details, please refer to OPERATOR'S MANUAL published by CNC
manufacturer (FANUC).

8-75
8-10-26 Z1-axis Coordinate System Setting (G125)

◼ Z1-axis coordinate system setting (G125) [Command on PATH1]


 Format
G125 ; ·······The machining zero point is set by the Z-axis machining start position set on
the MACHINING DATA screen (Z START POSITION).
G125 Z ···The current position of the Z-axis is set to the commanded absolute position.
G125 Z0 ····The point where Z0 is commanded (bar end position at the time of the cut-off
process) becomes the absolute zero point.

▪ Command in a single block independently.


▪ When only commanding G125, command after setting the data of the Z1-axis
machining start position (Z START POSITION).
▪ When G125 is set, do not command G50 for the Z-axis.
▪ Before commanding G125, cancel the Z1-axis wear offset and tool nose radius
compensation.

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

▪ Command these codes in single blocks independently.


▪ Command Z1-axis coordinate system setting (G125) on PATH1 beforehand.
▪ G131 B : Collet boss length difference (B = Long boss collet − Standard collet)
collet)
▪ Command G131 while the Z-axis has stopped and while the wear offset on PATH2
is cancelled.
▪ After commanding G131, the Z-axis movement will not reflect on the absolute
position of the Z2-axis. To reflect the movement, command G131 again.
▪ Command G131 and G133 while Z1-axis on PATH1 is stopped.

 G131: Z2-axis coordinate system setting for workpiece pick-up


It makes the Z2-axis coordinate system match the Z1-axis coordinate system

 G132: Z2-axis coordinate system setting for workpiece pick-up


By commanding G132 at the time of back machining, Z2-axis coordinate system is set to
make the end face of the workpiece become Z=0 at the tip of the selected tool.

▪ When commanding G132, the following requirements are necessary.


1. Execute G133 (storage of Z2-axis workpiece projection length).
2. Set the Z2-axis geometry offset
E.g.) Z2-axis geometry offset= 149 mm − 100 mm (tool tip position) = 49 mm

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

G171, G172 or G173 in MEMORY mode.

◼ Tool selection path cancel command (G170) [command on PATH 1]


This code cancels G171 (Tool selection path command (direct)) or G172 (Tool selection path
command (indirect)). In addition, when T100  T500, T1100 or T1200 is selected, X-axis will
move to 40.0 regardless of the value of BAR DIAMETER [#531] on the MACHINING DATA
screen and then Y-axis will move.
However, if the current X-axis position is more than POS. 40 (X40) when the tool selection is
commanded, only Y-axis will move.

▪ G170 is a modal code.


▪ Command G170 independently in a single block.

◼ Tool selection path command (direct) (G171) [command on PATH 1]


This code will execute positioning to the tool selection position via the position considering the
maximum value of the tool geometry offset of T100  T600 when the next tool selection is
commanded.

 Format

G171: Tool selection path command (direct)

 Tool selection path

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

G172 X__ ; X__ : Tool retracting amount

 Tool selection path

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

▪ Command this code independently in a single block.


▪ Retract the currently selected tool to the safe position to avoid collisions after
checking the dimension of the next selected tool.
▪ G173 is a non-modal code.
▪ Command the retracting position for T2000  T2900 with an address Z.
▪ If the X (Z) value of “G173 X (Z)__ ;” is omitted, the tool selection will be executed
at the position where G173 is commanded, without retracting.
▪ If the X (Z) retracting position commanded with G173 is closer to the workpiece
than the position where G173 is commanded, the tool selection will be executed at
the position where G173 is commanded without retracting.
▪ When changing the tool from T3100 to T3200, or from T3200 to T3100, G173
cannot be commanded. If G173 is commanded, Alarm No.3614 is triggered.

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

G250 ; Polygon machining OFF


G251 P Q ; Polygon machining ON

Rotation ratio of P (Main spindle speed) and Q (Rotation speed of


Y power driven tool)
 For the rotation ratio 1:2, command “P1 Q2”.
Machining two planes (180) with one blade of the three-blade cutter, a
P, Q hexagon will be formed. The machined surface will be slightly convex.
 For the rotation ratio 1:3, command “P1 Q3”.
Machining three planes (120) with one blade of the three-blade cutter, a
nine-sided shape will be formed. The machined surface will be slightly
concave.

 Polygon machining 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

Example: G265 T500 X10.0 Y5.0 Z11.0 Q1 ;

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.

▪ Command this function in a single block independently.


▪ After commanding tool selection or performing tool selection operation, the offset
amounts inputted into the GEOMETRY OFFSET screen become effective.

▪ This function can be commanded from all PATHs.


▪ The offset values of the omitted geometry offset addresses will not be replaced.
E.g. In the case of G265 T100 X0.5 Q1; , the offsets of Y and Z will not be
replaced.

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 ;

Address word Contents Macro variable


A Bar diameter (mm) #531
W Part length (mm) #530
S Cut-off spindle speed (min-1) #529
X Cut-off end position (mm) #524
Z Z1-axis machining start position (mm) #525
F Cut-off feed rate (mm/rev) #522
B Cut-off tool width (mm) #528

Example: G266 A20.0 W55.0 S1600 X−2.0 Z150.0 F0.04 B2.0 ;

The following values will be set.

Address word Contents Macro variable


A Bar diameter #531 20.0 (mm)
W Part length #530 55.0 (mm)
S Cut-off spindle speed #529 1600 (min-1)
X Cut-off end position #524 −2.0 (mm)
Z Z1-axis machining start position #525 150.0 (mm)
F Cut-off feed rate #522 0.04 (mm/rev)
B Cut-off tool width #528 2.0 (mm)

▪ Command this function in a single block independently.


▪ When starting operation of the machining program, set the data on the
MACHINING DATA screen in advance.
▪ Command all arguments.
If an argument is omitted, alarm No. 3686 will be displayed.

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 ;

Address word Contents


T Tool number
D D0: OFF (invalid) D1: ON (valid)
P Preset value
C Counter value
Q Q1: PATH1, Q2: PATH2

Example: G267 T500 D1 P30000 C1000 Q1 ;

The counter of T500 will be valid, 30000 will be inputted into the preset value and 1000 will
be inputted into the counter value.

▪ Command this code in a single block independently.


▪ T and Q cannot be omitted.
If omitted, alarm No. 3689 will be displayed.
▪ On the KEEP RELAY (conversational setting) screen, set the keep relay for the
tool unit to be used to “YES”, before inputting tool life management data.

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.

▪ Refer to section “8-14-2 Program Beginning” for details on the commanding


method.

8-86
8-10-34 Heat Expansion Measurement (G553)

This function compensates changes in measurements caused by heat during continuous


machining.

◼ Heat expansion compensation command


 Format

G553 ; Heat expansion measurement

▪ Heat expansion measurement will only be executed in MACHINING mode .


▪ Master position is set in the first MEMORY operation after turning ON the CNC
power.
▪ Command in a single block independently.
▪ In order to carry out waiting, it is necessary to command G553 from all programs on
PATH1 and 2.
▪ Command G553 right after M20 (one-cycle stop) in the program.
▪ The result of the measurement will be reflected on the X2-axis of the selected tool
number after the measurement.
▪ The measurement result will be cancelled when the CNC power is turned off.

▪ 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)

A sequence operation of tapping can be carried out.


Machining → Reverse revolution, retract

 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)

▪ Command a cutting depth of G784 with address U (incremental value).


▪ G18 plane will be selected during execution of G784.
After completing a sequence operation of tapping, the work plane will return to the
plane selected before G784. However, if the sequence operation is suspended, the
G18 plane will still be selected.

▪ 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)

A sequence operation of tapping can be carried out.


Machining → Reverse revolution, retract

 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)

▪ Command a cutting depth of G884 with address V (incremental value).


▪ G17 plane will be selected during execution of G884.
After completing a sequence operation of tapping, the work plane will return to the
plane selected before G884. However, if the sequence operation is suspended, the
G17 plane will still be selected.

▪ 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 ;

▪ Command G900 in a single block independently.

8-90
8-10-38 B1-Axis Tilting 1, 2 (G910, G920)

◼ B1-axis tilting 1,2 (G910, G920)


By commanding these codes, the tool turns around the center of B-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. In addition, X, Y and Z-axes will not move with these commands.

 Format

G910 B ; Single B1-axis tilting command


G910 X___ Z___ B___ ; B1-axis tilting and Z-axis feed commands
(3D coordinate conversion command at the same time as B1-axis
tilting command)

 Format

G920 B ; Single B1-axis tilting command


G920 X Z B ; B1-axis tilting and X-axis feed commands
(3D coordinate conversion command at the same time as B1-axis
tilting command)

B B1-axis angle
X, Z Rotation center coordinate in 3D coordinate system conversion

▪ G910, G920 codes include G68.1.


▪ Command G910 or G920 in a single block independently.
▪ When commanding G910 or G920 on PATH1, command G125 (Z1-axis coordinate
system setting) beforehand. Otherwise alarm No. 3646 will be triggered.
▪ When commanding G910 or G920 on PATH2, command G133 (Storage of Z2-axis
workpiece projection length) beforehand. Otherwise alarm No. 3631 will be
triggered.
▪ Set the geometry offset for the tool length of the attached tool correctly.
▪ The tool turns around the center of the B-axis tilting. In order to prevent the collision
between the tool and the bar, command this code after retracting the tool in the
X1-axis direction sufficiently.
▪ The coordinate system and the operation of single B1-axis tilting commands are
common to G910 and G920.
▪ Command the 3D coordinate conversion at the same time as commanding the
B1-axis tilting in the case of machining with the tool tilting against the workpiece.
The rotation center coordinate in 3D coordinate conversion, which is commanded
with X and Z of G910 (G920), becomes the new reference point of the workpiece
coordinate.
▪ Command G910 or G920 while T1700  T1900 is selected. If G910 or G920 is
commanded while other tool is selected, alarm No. 3233 will be triggered.

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.

PATH1: G910 (G920) B PATH2: G910 (G920) B


Pos. (X, Z) → (X+X, Z −Z) Pos. (X, Z) → (X−X, Z+Z)

8-92
 Format

PATH1 PATH2 (M172 mode)

8-93
8-10-39 Front/Back Off-Center Rigid Tapping Cycle (G984)

A sequence operation of tapping can be carried out.


Machining → Reverse revolution, retract

 Format

G984 W F M36 (M56) S ;

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)

▪ Command a cutting depth with address W (incremental value).


▪ G18 plane is selected during G984 command.
After completing a sequence operation of tapping, the work plane will return to the
plane selected before G984. However, if the sequence operation is suspended, the
G18 plane will still be selected.

▪ 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.

 G990 coordinate system

 Format
G990: Coordinate system setting for simultaneous 5-axis machining
G991: Coordinate system setting for simultaneous 5-axis machining OFF

▪ Command G990 independently in a single block.


▪ G990 can be commanded only while T1700 (T1900 is selected).

▪ 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)

◼ M code table 1/3


Response
Code Description PATH1 PATH2 Remarks
to MC
M0 Program stop   Ignored
M1 Optional stop   Ignored

M3 Spindle forward rotation    PATH1: Main spindle


M4 Spindle reverse rotation    PATH2: Sub spindle
⧫ M5 Spindle stop   
M6 Spindle clamp   
⧫ M7 Spindle unclamp   
M8 C-axis ON    PATH1: C1-axis
⧫ M9 C-axis OFF    PATH2: C2-axis
PATH1: Main collet
M10 Collet clamp    PATH2: Sub collet
Note) Sub collet
maintains the
⧫ M11 Collet unclamp    condition of turning
the power OFF

M14 Air blow ON ×  


⧫ M15 Air blow OFF ×  

M20 One cycle stop   


M21 Error detect ON   Ignored
⧫ M22 Error detect OFF   Ignored
M23 Chamfering ON   
⧫ M24 Chamfering OFF   
Invalid when AIR
M25 Coolant 1 ON   
CUT key is ON
⧫ M26 Coolant 1 OFF   
M27 Broken cut-off tool detection ON  × 
Workpiece pick-up/ parts ejecting
M27 ×  
detection
M29 Rigid tapping   

M36 Power-driven tool motor forward rotation    PATH2:


M37 Power-driven tool motor reverse rotation    Available only in
⧫ M38 Power-driven tool motor stop    M172 mode

M40 Z1-Z2 synchronous control ON    PATH1 and PATH2


⧫ M41 Z1-Z2 synchronous control OFF    wait for each other
Codes with the ⧫ mark are automatically selected when the power is turned on.

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 ×  

M62 Automatic bar feeder feed torque OFF  × 


⧫ M63 Automatic bar feeder feed torque ON  × 
M64 Chip conveyor ON   
⧫ M65 Chip conveyor OFF   

M68 Z-axis torque limiter ON    PATH1: Z1-axis


⧫ M69 Z-axis torque limiter OFF    PATH2: Z2-axis

M75 PATH2 machining block skip valid ×  


M76 PATH2 machining block skip invalid ×  
M77 Single block stop invalid   Ignored
⧫ M78 Single block stop valid   Ignored

M80 No barstock detection ON   


M81 No barstock detection OFF   
M82 Spindle synchr. rotation control ON    PATH1 and PATH2
⧫ M83 Spindle synchr. rotation control OFF    wait for each other
M84 Parts conveyor ON   
⧫ M85 Parts conveyor OFF   

M88 Cutting feed override 100% ON   


⧫ M89 Cutting feed override 100% OFF   

M98 Subprogram call   


M99 End of program   
M100 High-accuracy machining mode ON   
⧫ M101 High-accuracy machining mode OFF   

M110 Sub collet clamp  × 


M111 Sub collet unclamp  × 

M116 Parts separator type A pick-up  × ×


M117 Parts separator type A ejection  × ×

M120 Parts ejection advance/retract ×  


M121 Parts ejection advance (adjust) ×  ×
Codes with the ⧫ mark are automatically selected when the power is turned on.

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

M150 Rotary Magic Guide Bush ON  × 


M151 Rotary Magic Guide Bush OFF  × 
M152 Spare M code 1 ON   
⧫ M153 Spare M code 1 OFF   
M154 Spare M code 2 ON   
⧫ M155 Spare M code 2 OFF   
M156 Spare M code 3 ON   
⧫ M157 Spare M code 3 OFF   
M158 Spare M code 4 ON   
⧫ M159 Spare M code 4 OFF   

M170 Curved surface machining mode ON/OFF  × 


M171 Tool post control on PATH 1   
M172 Tool post control on PATH 2   

M190 Stopper selection confirmation  × 

M192 One block geometry offset cancel   

M1000 Coolant 2 motor ON (adjust)   ×


M1001 Coolant 2 for oil hole drill ON (T41 use)   
M1002 Coolant 2 for oil hole drill OFF (T41 use)   
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   
⧫ M1006 Coolant 2 for sleeve holder OFF   
M1007 Coolant 2 for back 8 spindle unit ON   
⧫ M1008 Coolant 2 for back 8 spindle unit OFF   
M1009 Coolant 2 for guide bush ON   
⧫ M1010 Coolant 2 for guide bush OFF    Ignored with AIR
Coolant 2 for back attachment coolant CUT key ON
M1011   
discharge ON
Coolant 2 for back attachment coolant
⧫ M1012   
discharge OFF
M1013 Coolant 2 for thread whirling ON   
⧫ M1014 Coolant 2 for thread whirling OFF   
Coolant 2 for tilting head 3 spindle unit
M1015   
ON
Coolant 2 for tilting head 3 spindle unit
⧫ M1016   
OFF

M1019 Initial coolant supply (adjust)   ×


M1020 Coolant 2 pump & valves 1  4 (adjust)   ×
M200  M899 Waiting   
Codes with the ⧫ mark are automatically selected when the power is turned on.

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 (M code) can be cancelled by pressing the RESET key .

▪ “Wait” function is valid while both PATH1 and PATH2 keys are pressed

(with the lamps lit) in MEMORY mode.

▪ In the case of when PATH1 or PATH2 is selected (single operation), the


“Wait” function is ignored and the M code immediately finishes in the program
operation.

◼ Program stop command


 M0: Program stop <Ignored on MC operation> PATH1:  PATH2:

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.

◼ Optional stop command <Ignored on MC operation>


 M1: Optional stop PATH1:  PATH2:

When the OPTIONAL STOP key lamp is lit, the program will stop at the

position executed M1 in the MEMORY mode . Press the START button to


resume the program operation.

▪ 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

▪ This cannot be commanded during C-axis ON (M8), spindle clamp ON (M6)


commands. (Command M9 for M3 execution.)
▪ Command spindle rotation after the tool selection command.

 M3: Spindle forward rotation PATH1:  PATH2:


This code will rotate the spindle in the forward direction.

 M4: Spindle reverse rotation PATH1:  PATH2:


This code will rotate the spindle in the reverse direction.

 M5: Spindle stop PATH1:  PATH2:


This code will stop the spindle rotation.

◼ Spindle clamp/unclamp commands


 M6: Spindle clamp PATH1:  PATH2:
This code will clamp the main spindle.

▪ This cannot be commanded during the spindle rotation. (Command M5 for M6


execution.)

 M7: Spindle unclamp PATH1:  PATH2:


This code will unclamp the spindle.

◼ C-axis control ON/OFF commands


 M8: C-axis ON PATH1:  PATH2:
This code turns the C-axis control on.

 M9: C-axis OFF PATH1:  PATH2:


This code turns the C-axis control off.

▪ M5 operation is executed at the same time as M8 automatically.


▪ M7 operation is executed at the same time as M9 automatically.

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

COLLET key lamp will light up.


Commanding this code on PATH 2 will clamp the sub collet, and the SUB COLLET

key lamp will light up.

 M11: Collet unclamp PATH1:  PATH2:


Commanding this code on PATH 1 will unclamp the main collet, and the MAIN

COLLET key lamp will turn off.


Commanding this code on PATH 2 will unclamp the main collet, and the SUB

COLLET key lamp will turn off.

◼ Air blow ON/OFF


 M14: Air blow ON PATH1:× PATH2:
This code starts blowing air from the sub-spindle air blow unit.

 M15: Air blow OFF PATH1:× PATH2:


This code stops blowing air from the sub-spindle air blow unit.

◼ One cycle stop command


 M20: One cycle stop PATH1: PATH2:
In every M20 execution, it adds a counter value by 1.

When the ONE CYCLE key lamp is lit, the program stops at the M20
execution.

Pressing the START button will resume the automatic operation.

▪ 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>

 M21: Error detect ON PATH1: PATH2:


This code is used to avoid corner roundness.

 M22: Error detect OFF PATH1: PATH2:


This code is used to smoothly connect the blocks.

◼ 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).

 M24: Chamfering OFF PATH1: PATH2:


Does not execute diagonal chamfering at the threading-end-position when executing
G92 (Threading cycle), G76 (Multiple-thread cutting cycle). Command when there is
a relief groove for thread.

◼ Coolant ON/OFF commands


 M25: Coolant 1 ON PATH1:  PATH2:
Starts up the coolant motor, and coolant will be discharged.

The coolant will be discharged when the COOLANT1 switch is ON ( ), and


will not be discharged when the switch is OFF ( ).

▪ 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.

 M26: Coolant 1 OFF PATH1:  PATH2:


It stops the coolant motor.

▪ 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.

◼ Broken cut-off tool detection command


 M27: Broken cut-off tool detection PATH1: PATH2: 
This code executes broken cut-off tool detection after the parts pick-up process.

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.

M27: Parts ejecting detection PATH1:  PATH2: 


This is commanded while the sub collet is unclamped.
If the workpiece ejection fails, the machine will enter the feed hold state and an

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

CUT key lamp is flashing.

◼ Rigid tapping
 M29: Rigid tapping PATH1: PATH2:
The rigid tapping mode will be commanded.
<Program format>

G99 M5 ; Feed/rev. spindle stop


M29 S_ (Q_ ) ; S: Rigid tap rotation speed (Q: Threading direction)
G84 W_ F_ ; W : Rigid tap machining length, F : Thread pitch
G80 ; Rigid tap mode cancel

▪ 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

 M36: Power-driven tool motor forward rotation PATH1: PATH2:


The power driven tool will rotate in the forward direction.
Command the speed S at the same time.

 M37: Power-driven tool motor reverse rotation PATH1: PATH2:


The power driven tool will rotate in the reverse direction.
Command the speed S at the same time.

 M38: Power-driven tool motor stop PATH1: PATH2:


The power driven tool will stop.

▪ 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.

▪ Command rotation of power-driven tool motor on PATH 2 in M172 mode when


using the counter face unit and execute back machining.
These codes are not used when machining with T2100  T2800.

◼ Z1-Z2 synchronous control commands


 M40: Z1-Z2 synchronous control ON PATH1:  PATH2:
With this code, the Z2-axis will move in synchronization with the Z1-axis when the
Z1-axis movement is commanded on PATH1.

▪ 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.

▪ This code can be cancelled by pressing the RESET key .


▪ This code is only valid when the PATH1 and 2 keys are lit (Simultaneous operation

between PATH1 and 2) in MEMORY mode .

 M41: Z1-Z2 synchronous control OFF PATH1:  PATH2:


This command will cancel the M40.

▪ 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.

▪ This code can be cancelled by pressing the RESET key .


▪ This code is available only when the PATH1 and 2 keys are lit (Simultaneous

operation between PATH1 and 2) in MEMORY mode .

 M55: C1-C2 synchronous control OFF PATH1:  PATH2:


This code will cancel M54.

▪ In order to carry out waiting on PATH2 with PATH1, be sure to command on both
PATHs.

◼ Power-driven tool motor for back machining commands

 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.

 M58: Power-driven tool motor for back stop PATH1: PATH2:


The power-driven tool will stop.

▪ 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.

 M63: Automatic bar feeder feed torque ON PATH1: PATH2:


This code turns the automatic bar feeder feed torque on.

◼ Chip Conveyor ON/OFF commands


These codes are valid for the chip conveyor connected to the terminal block XT930 (wire
numbers 70, 71) for the start/stop signal.

 M64: Chip conveyor ON PATH1: PATH2:


This will transmit the signal to turn on the chip conveyor.

 M65: Chip conveyor OFF PATH1: PATH2:


This will cancel the signal transmitted to turn on the chip conveyor.
The machine is in the M65 state "Chip conveyor OFF" when turning the power on.

▪ The machine enters M65 status "Chip conveyor OFF" unconditionally when the
cutting room door is opened or the machine stops by emergency stop.

◼ Z-axis torque limiter commands


 M68: Z-axis torque limiter ON PATH1: PATH2:
When commanded on PATH1, this code will limit the Z1-axis servo motor torque.
When commanded on PATH2, this code will limit the Z2-axis servo motor torque.
At this time, the rapid traverse rate of all axes will decelerate to 25 % or less.

If an alarm is triggered, it can be cancelled by turning the CNC POWER OFF .

▪ The torque limit can be cancelled by pressing the RESET key .

 M69: Z-axis torque limiter OFF PATH1: PATH2:


When this code is commanded on PATH1, it will cancel the limit for the Z1-axis
servo motor torque.
When this code is commanded on PATH2, it will cancel the limit for the Z2-axis
servo motor torque.

▪ 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.

NO SKIP / CODE AT M75-M76 COMMAND


NO USE PARTS EJECTOR

Executes “skip”
AIR CUT key is flashing
Unclamp Executes “skip”
Sub collet
Clamp Does not execute “skip”

YES SKIP / CODE AT M75-M76 COMMAND


NO USE PARTS EJECTOR

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”

NO SKIP / CODE AT M75-M76 COMMAND


YES USE PARTS EJECTOR

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.

◼ SINGLE BLOCK commands <Ignored on MC operation>

 M77: Single block stop invalid PATH1:  PATH2:

▪ This command will not stop the operation until the next M78 command even if the

SINGLE BLOCK key lamp is lit.

 M78: Single block stop valid PATH1:  PATH2:


This code will cancel the single block unavailable (M77).

◼ No barstock detection command


 M80: No barstock detection ON PATH1:  PATH2:
When the “no barstock” signal is transmitted, this code executes the programs with
slash codes "/" until M81 “no barstock detection OFF”.
When the “no barstock” signal is not transmitted, this code skips the programs with
slash codes "/" until M81 “no barstock detection OFF”.

▪ In the initial setting, M80 is not a “Wait” command.


To use M80 as a “Wait” command, set “USE M80 AS WAITING CODE” on the
KEEP RELAY (conversational setting) screen to “YES”.

▪ Refer to section “7-11-3 Keep Relay Conversational Setting Screen” for details.

 M81: No barstock detection OFF PATH1:  PATH2:


When the “no barstock” signal is transmitted, this code executes the programs with
slash codes "/" from M80. During “no barstock”, add the slash codes "/" to the
necessary programs between M80 and M81.

▪ 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.

▪ Command M82 during main and sub spindle rotation.


▪ Be sure to put both the main and sub spindles into the G25 state when
commanding M82.
▪ When the spindle speed fluctuation detection is necessary during spindle
synchronous rotation control or phase synchronization control, execute G26 after
commanding M82.
▪ To use phase synchronization control with M82, set “PHASE SYNCHRONIZATION
AT M82” on the KEEP RELAY (conversational setting) screen to “YES”.
▪ This code is only valid when the PATH1 and PATH2 keys are lit (simultaneous

operation between PATH1 and PATH2) in MEMORY mode .

▪ 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.

 M83: Spindle synchronous rotation control OFF PATH1:  PATH2:


This code cancels synchronous rotation control or phase synchronization control of
the main and sub spindles.

▪ In order to carry out waiting on PATH2 with PATH1, be sure to command on both
paths.

◼ Parts Conveyor Command


 M84: Parts conveyor ON PATH1:  PATH2:
This will start up the parts conveyor.

▪ If the operation is not interrupted, it will stop automatically in approximately 10


seconds (Set in the PMC TIMER No.6).

 M85: Parts conveyor OFF PATH1:  PATH2:


This will stop the parts conveyor.

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 (0150%) 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.

 M89: Cutting feed override 100% OFF PATH1:  PATH2:


The cutting feed rate will be the speed obtained by multiplying the override
(0150%) by the commanded program value, and override setting will be available.

◼ Sub program call command


 M98: Subprogram call PATH1:  PATH2:
e.g.) M98 P51234; will call the program O1234 and repeat it five times.

◼ End of program command


 M99: End of program PATH1:  PATH2:
This is commanded at the ends of the main and sub programs on PATH1.
When this is commanded in the main program on PATH1, the program will return
to the head of the main program on PATH1. When commanded in the sub program
on PATH1, the program will also return to the main program on PATH1.

◼ High-accuracy machining mode ON/OFF

▪ “Optimization of move speed” in the optimization functions becomes invalid.

 M100: High-accuracy machining mode ON PATH1:  PATH2:


This is used to make the movement smooth on the PATH(s) which are not
performing machining. This will prevent influence of the movement on the
machining surface.

▪ This code can be cancelled by pressing the RESET key .

 M101: High-accuracy machining mode OFF PATH1:  PATH2:


This code turns off “High-accuracy machining mode” and selects standard mode.

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.

 M111: Sub-collet unclamp PATH1: PATH2:

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

operation between PATH1 and 2) in MEMORY mode .

◼ Parts separator type A pick up/ejection commands


▪ These codes cannot be commanded in the same block as T code.
If these codes are commanded in the same block as T code, alarm P/S 3800 will be
triggered.

▪ 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.

 M116: Parts separator type A pick up PATH1: PATH2:


1) T2000 is selected.
2) The chute moves into position.
3) Z2-axis advances to parts pick–up position (the position of macro variable #531
on PATH2).

 M117: Parts separator type A ejection PATH1:  PATH2:


1) The chute moves into position.
2) Z2-axis retracts.
3) The chute turn in the ejecting direction while Z2-axis moves to parts ejecting
position
4) After 1.0 second, the chute turns back.
5) The chute turns to 45 degrees position while X2-axis moves.

◼ Parts ejector advance/retract command

 M120: Parts ejector advance/retract PATH1: PATH2:


The push rod of the parts ejector retracts after it advances with this code.
Command this code at T2000 or T2900 position during the sub spindle stop and
unclamp to eject the part.

8-112
◼ Parts ejector advance (adjust) command for the sub spindle PATH1:× PATH2:

 M121: Parts ejector advance (adjust)


The push rod of the parts ejector advances with this code.
Command this when replacing the ejector pin (the push rod will retract with
M120). Command this code at T2000 or T2900 position during the sub spindle stop
and unclamp.

◼ Reference point return of power-driven tool PATH1: PATH2:

 M127: Reference point return of power-driven tool


Executes reference point return of power-driven tool

◼ Rotary magic guide bush unit ON/OFF commands PATH1: PATH2: ×

 M150: Rotary magic guide bush unit ON


The guide bush closes

 M151: Rotary magic guide bush unit OFF PATH1: PATH2: ×


The guide bush opens

◼ Spare M code output commands


 M152: Spare M code 1 ON PATH1: PATH2:
This code turns on the contact signal of the spare M code output 1. (It closes)

 M153: Spare M code 1 OFF PATH1: PATH2:


This code turns off the contact signal of the spare M code output 1. (It opens)

 M154: Spare M code 2 ON PATH1:  PATH2:


This code turns on the contact signal of the spare M code output 2. (It closes)

 M155: Spare M code 2 OFF PATH1: PATH2:


This code turns off the contact signal of the spare M code output 2. (It opens)

 M156: Spare M code 3 ON PATH1: PATH2:


This code turns on the contact signal of the spare M code output 3. (It closes)

 M157: Spare M code 3 OFF PATH1: PATH2:


This code turns off the contact signal of the spare M code output 3. (It opens)

 M158: Spare M code 4 ON PATH1: PATH2:


This code turns on the contact signal of the spare M code output 4. (It closes)

 M159: Spare M code 4 OFF PATH1: PATH2:


This code turns off the contact signal of the spare M code output 4. (It opens)

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.

 M170: Curved surface machining mode OFF PATH1: PATH2:×


Curve surface machining mode will be canceled.

▪ Command independently in a single block.


▪ This function is exclusive for the machining with fine segment linear interpolations
(G1). For other machining processes, cancel the curved surface machining mode.
▪ When the tool selection is carried out during the curved surface machining mode,
alarm No. 3616 will be triggered. Cancel curved surface machining mode before the
tool selection.

▪ Press the RESET key to cancel the M170 mode.

◼ Tool post control on PATH 2 commands


 M171: Tool post control on PATH 1 PATH1:  PATH2:
This code controls the tool post (X1, Y1 and power-driven tool axis) on PATH1.

 M172: Tool post control on PATH 2 PATH1:  PATH2:


This code controls the tool post (X1, Y1 and power-driven tool axis) on PATH2.

▪ 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.

▪ M171 is selected when the main power turns ON.


▪ When M171/M172 is commanded during single operation on PATH1 or PATH2,
alarm No. 3702 will be displayed.

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].

◼ One block geometry offset cancel command


 M192: One block geometry offset cancel PATH1: PATH2:
This makes geometry offset invalid in G0 and G1 commanded in the same block as
M192.

 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

◼ Coolant 2 pump motor ON (for adjustment) <This code cannot be optimized.>

 M1000: Coolant 2 pump motor ON (adjust) PATH1:  PATH2:


Adjust the discharge pressure of coolant 2 motor of Coolant unit 6.9MPa [1A457].

▪ The coolant 2 motor will start up with this M code, but coolant will not be
discharged.

▪ Press the RESET key to cancel this M code.

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

▪ Coolant 2 ON/OFF should be commanded on the same PATH.


▪ The standard coolant 1 pump motor will also start up with the coolant 2 ON
command.
▪ This M code does not stop the coolant 1 pump motor.

▪ The coolant will be discharged when the COOLANT 2 switch is turned ON


( ), and will not be discharged when turned OFF ( ).

◼ Initial coolant supply (for adjustment) <This code cannot be optimized>

 M1019: Initial coolant supply (adjust) PATH1:  PATH2:


This is to be commanded when carrying out initial coolant supply of Coolant unit
6.9MPa [1A457].

▪ 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>

 M1020: Coolant 2 pump & valves1 4 ON (adjust) PATH1:  PATH2:


This is for commanding when refilling coolant for Coolant unit 6.9MPa [1A457].

▪ 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
 M200M899: 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.

- Alarm No. 2071 ··············· Low level of coolant oil


- Alarm No. 2075 ··············· All bars finished in the automatic bar feeder
- Alarm No. 2077 ··············· Part eject error

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■ ■ ■ ■ □ □ □ □ ;

Sub program number (4-digit integral number)


Repeating times (4-digit available) ··········Can be omitted when single call.
Sub program call

 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.

▪ To call a sub program with 5 or more digit program number,


M98 P□ □ □ □ □ □ □ □ L■ ■ ■ ■ ■ ■ ■ ■

Sub program number Repeating times


(5 or more digit integral number)
▪ To call a file name,
M98 <□ □ □ □ □ □ □ □> L■ ■ ■ ■ ■ ■ ■ ■

File name of a sub program Repeating times

◼ 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 (G65G67)

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.

No. Calls Code Remarks


1 Simple call G65
2 Modal call G66 G67: Cancel
3 Optional G code call G
4 M code call M
5 T code call T Up to 4-digit

 Macro simple call (G65)

G65 PL <argument specification> ;

Program number to call


P This calls a macro program of a program number specified with the address
P.
Repetition count
L
Macro program is executed “L” times. If “L” is omitted, 1 time is assumed.

▪ When an argument is required for the macro program, use argument assignment.

 Macro Modal Call (G66, G67)

G66 PL <argument specification> ;


G0 (Axis movement command)

Program number to call


P This calls a macro program of a program number specified with the address
P.
Repetition count
L Macro program is executed “L” times every time axis movement command is
instructed. If “L” is omitted, 1 time is assumed.

▪ When an argument is required for the macro program, use argument assignment.

G67: Cancellation of macro modal call

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.

 Argument Specification II <Optimization not possible>


10 sets of arguments composed of A, B, C and I, J, K as 1 set can be assigned. In this case,
it is necessary to specify the arguments of I, J and K in order.

▪ 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.

◼ Macro Program Summary


Combining the following command groups creates a macro program.

 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.

 Local Variables (#1#33)


The local variable is used locally in each individual macro.
This means that the variable area (#1#33) is maintained independently every time macro
call is carried out. Certain values and/or calculation results in the macro can be stored by
argument specification.
Thus, the variables #1, #2, #3, … are different values if the time you call is different even
they are in the same macro.
These local variables will be reset and recorded by argument specification every macro
calls. However, unspecified variables will become <empty> (vacant). When connecting
power to and resetting the machine, all local variables will be <empty> (vacant).

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.

 Interface input signal : #1000#1031


#1032#1035

 Interface output signal : #1100~#1131


#1132~#1135

▪ #4001~# 4030, #5001~#5060 are system variables that can be optimized.

▪ For details on system variables, please refer to OPERATOR’S MANUAL published


by CNC manufacturer (FANUC).

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.

 Constants Definition and Substitution

#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

#i = SIN〔#j〕 Sine (degree)


#i = COS〔#j〕 Cosine (degree)
#i = TAN〔#j〕 Tangent (degree)
#i = ATAN〔#j〕/〔#k〕 Arc Tangent
#i = SQRT〔#j〕 Square root
#i = ABS〔#j〕 Absolute
#i = BIN〔#j〕 Conversion from BCD to BIN <optimization not possible>
#i = BCD〔#j〕 Conversion from BIN to BCD <optimization not possible>
#i = ROUND〔#j〕 Round off
#i = FIX〔#j〕 Truncation of decimal portion
#i = FUP〔#j〕 Rounding up of decimal

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

 IF [<Conditional expression>] GOTO n;


The program will jump to the block with sequence No. n in the same program when the
<conditional expression> above is correctly formatted.
 The variables or expressions instead of n can also change the block to which the
program jumps.
 If a condition is false, the program will not jump but go to the next block.

 Simple jump command is possible by omitting IF [<Conditional expression>].

8-126
EQ, NE, GT, LT, GE and LE can be used for conditional expressions and are written as
shown in the table below.

Conditional expressions Meaning


#i EQ #j (#i = #j)
#i NE #j (#i≠#j)
#i GT #j (#i > #j)
#i LT #j (#i < #j)
#i GE #j (#i≧#j)
#i LE #j (#i≦#j)
Constants or <Expressions> can be used in place of #i and #j.

 Repetition Command

 WHILE [<Conditional expression>] DO m; (m=1, 2 and 3)

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.

 Usage Classification of the Program Numbers


The table below expresses the use classified by program numbers. Select and use them if
necessary.

▪ 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

Program number Classification


O0001O7999 Free recording, deleting and editing
Setting the parameter No.3202-bit0=1 cannot execute deleting and
O8000O8999
editing the program.
Setting the parameter No.3202-bit4=1 cannot execute deleting and
O9000O9999
editing the program.

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.

 With Address Search


Sequence No. search in the macro program by address search is unavailable.

 With the SINGLE BLOCK


Even while a macro program is being executed, the blocks other than the ones with macro
call, arithmetic calculations and control command can stop by the single block. The block
with macro call (G65, G66, G67) does not stop even when the single block mode is on. The
blocks with arithmetic calculation and control command can stop by the single block when
setting the parameter (No.6000-bit5=1).
Note that when the program stops by the single block at the macro statement, the block is
regarded as the one without movement during tool radius compensation mode. In this case,
proper compensation may not be performed correctly.

 With the Optional Block Skip


"/" used on the right side of arithmetic calculations or used in the brackets [ ] is regarded
as the division operator, but not regarded as the optional block skip code.

 With the Feed Hold


When feed hold is activated during macro statement execution, the program will stop after
executing that macro program. (The machine also stops by reset and/or alarm on.)

 With the Multiple Canned Cycle


Macro cannot be used in the multiple repetitive canned cycles (G71, G72 and G73).

 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

◼ Control axis and spindle control


The control axes and the spindles of each PATH are allocated as shown in the drawing below.
By commanding X, Y, Z, B, S, C on each PATH, the axes of each PATH can be controlled.

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.

▪ Refer to chapter “14. Optimization of the Control Data” for details.


▪ Refer to section “7-13-4 Mode Reset Screen” for details on the MODE RESET
screen.

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) :

▪ Refer to section “8-14-3 Workpiece Pick-up Process” for details.

D) :

▪ Refer to section “8-14-4 Bar Replacement Program” for details.

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 guide bush version


When using a right-hand cut-off tool Z= 205 mm−(overall part length)−(margin
length 5~20 mm approx.)
When using a left-hand cut-off tool Z= 205 mm−(overall part length)−(margin
length 20~30 mm approx.)

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)

: G and M codes in gray ( ) are wait codes.


:
▪ Be sure to set the data on the MACHINING DATA screen before commanding
(Auto cut-off).
▪ When the X-axis workpiece coordinate is at a position less than the cut-off end
position, auto cut-off at will not be executed.
▪ Command machining conditions at * sections.

:
▪ 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 1212
mm left-hand cut-off tool, becomes G0 Z10.0 T0 ;
(Z10.0= 12.0 − 2.0)

 When performing machining of 0.1 mm on the end face of


the workpiece with a right-hand cut-off tool, becomes
G0 Z−0.1 T0 ;

 When installing a chip with a width of 2.0 mm into a 1212


mm left-hand cut-off tool, and performing machining of 0.1
mm on the end face of the workpiece becomes
G0 Z9.9 T0 ; (Z9.9= 12.0 − 2.0 − 0.1)

: Command M200 (Wait M code) in the block before M20.

▪ 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

▪ Command G130 or G131 in a single block independently.


▪ Be sure to command G125 (Z-axis coordinate system setting) on PATH1 before
commanding G131.
▪ Command G131 when the Z-axis has stopped and when a wear offset on PATH2 is
in the cancelled state.
▪ After commanding G131, Z-axis movement will not reflect on the absolute position
of Z2-axis. To reflect the movement, command G131 once again.
▪ Command machining conditions at * sections.

 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

▪ Maximum part (workpiece) length for pick-up is 80 mm.


▪ Maximum part (workpiece) projection length from end face of sub spindle for
pick-up is 30 mm.
▪ Maximum part (workpiece) insertion length from end face of sub spindle for pick-up
is 75 mm.

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”.

Bar feeder specifications Guide bush specifications Program example


Standard version Revolving guide bush PROG.1
Guide Bush Revolving guide bush
Automatic Inching version version (profile barstock PROG.2
bar feeder machining)
Standard version
Non Guide Bush version PROG.3
Inching version

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

/T2900 M5 ; Sub spindle parts ejection position/sub spindle stop


/G130 ; Z2-axis coordinate system setting cancel
/G0 Z52.5 ; Z2-axis part ejection position
/M14 ; Air blow ON
/M11 ; Sub collet unclamp
(/M120 ;) Ejection command when Parts ejector A [0T422] is used
(/M84 ;) Parts conveyor ON
/G4 U1.0 ; Dwell 1.0 second
/M15 ; Air blow OFF
/M27 ; Part ejection detection
/T2000 ; Part pick-up position selection

▪ 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

◼ Main spindle indexing


Absolute or incremental commands are available for indexing.

 Address of angle command

Command method Address


Absolute Command the angle of the end point C
Incremental Command the angle difference to the end point H

 Codes related to C-axis indexing

M6Main spindle clamp


M7Main spindle unclamp
M8C1-axis ON
M9C1-axis OFF (M7 is processed at the same time.)
G0 C ; or G0 H ; ···· Angle indexing

 Program example

[PATH 1]
M8 ; C1-axis ON
G0 C0 ; Main spindle reference point indexing
M6 ; Main spindle clamp

M7 ; Main spindle unclamp


G0 C90.0 ; Indexing to 90 position from the reference point
M6 ; Main spindle clamp

M7 ; Main spindle unclamp


G0 H180.0 ; Indexing to +180 position from the currrent position
(Indexing to 270 position from the reference point)
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°.

 Address of angle command

Command method Address


Absolute Command the angle of the end point C
Incremental Command the angle difference to the end point H

 Command code related to C-axis

M6Sub spindle clamp


M7Sub spindle unclamp
M8C2-axis ON
M9C2-axis OFF (M7 is processed at the same time.)
G0 C ; or G0 H ; ········ Angle indexing

 Program example

[PATH2]
M8 ; C2-axis ON
G0 C0 ; Sub spindle reference point indexing
M6 ; Sub spindle clamp

M7 ; Sub spindle unclamp


G0 C90.0 ; Indexing to 90 position from the reference point
M6 ; Sub spindle clamp

M7 ; Sub spindle unclamp


G0 H180.0 ; Indexing to +180 position from the currrent position
(Indexing to 270 position from the reference point)
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.

 Machining drawing  Program example


<E.g.1> [PATH1]
T200 M3 S2000 ; E.g.1
(T1100 M3 S2000) ; E.g.2
M100 ;
G0 X16.0 Z−0.5 T2 ;
G1 X8.0 F0.1 ;
G41 G1 U−1 W1 F0.05 ;
G1 X10.0 Z0.5 F0.02 ;
G1 Z15.0 F0.03 ;
G4 U0.03 ;
G1 X10.8 F0.02 ;
G2 X14.0 W1.6 R1.6 F0.02 ;
G1 Z25.0 F0.03 ;
<E.g.2> G4 U0.05 ;
G1 X16.0 W1.0 F0.02 ;
G40 U1 K1 ;
G0 T0 ;
M101 ;

:
▪ 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).

▪ Refer to section “8-10-3 Circular Interpolation (G2,G3)” for details.


▪ Refer to section “10-5-1 Installing Tools and Inputting Geometry Offset Values” for
details on precautions of tooling.

 Machining drawing

(1) Program example

[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 ;

(2) Program example

[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 ;
;

:Z above includes tool width (2mm).

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.
LS
1 = 4
1800
LS 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 ;

▪ LZ/LX of taper thread

a  45 ·····················Lead is LZ.


a  45 ·····················Lead is LX.

▪ Use the Q when machining a multiple thread.


The Q is not required when machining a single thread.
With the Q180000, initial angle of threading shifts 180 degrees.

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.

(1) Circular threading

 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)

▪ Tool nose radius compensation is unavailable.


▪ The program will stop after completing “cutting in → turning (threading) → retract →

return” while the SINGLE BLOCK key is lit.

▪ 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

Thread lead: L=0.8 mm


δ1=3.0 mm
δ2=0.8 mm

<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.

Minimum cutting depth 0.05mm (radius value)


Finishing allowance 0.01mm (radius value)
G76 P01 10 60 Q50 R0.01 ;
Angle of tool nose 60
Thread finishing (chamfering) amount 1pitch
Repetitive count in finishing 1 time

G76 X3.82 W8.8 R0 P540 Q200 F0.8 ;


Thread lead 0.8mm
End point coordinate Cutting depth of 1st cut 0.2mm (radius value)
Height of thread 0.54mm (radius value)
Taper amount 0 (difference of thread radius)

W=8.8mm (Z1-axis shift amount at the time of threading)

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.

To cancel, command G0. (Pay attention when in MDI mode.)


▪ Tool nose radius compensation cannot be used.
▪ The program will stop after completing “cutting in → turning (threading) → retract →

return” while the SINGLE BLOCK key is lit.

▪ 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.

(1) Straight thread cycle

 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

▪ Command G99 M5 ; before M29.


▪ Command the M29 block and G84 block consecutively.
▪ “Example 1” shows machining of right-handed tapping.
“Example 2” shows machining of left-handed tapping.
▪ 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.
▪ The maximum spindle speed during rigid tapping is 1500 min-1.
▪ Adjust the Z1-axis command (Z value) according to the tool tip position and the
workpiece projection length.

Example 1 ( Z1 )

▪ For details on M29, refer to section “8-11 Auxiliary Functions (M Functions)”.


▪ For details on precautions of tooling, refer to section “10-5-4 Installing and Adjusting
the Sleeve on the 4-Spindle Sleeve Holder”

Tool type Tool number Sleeve Geometry offset


Center T1300 30124 −
Drill T1500 30124 −
Tap T1600 30124 −

 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”.

Tool type Tool number Sleeve Geometry offset


X Y Z
Center drill T2500 0R122 0 0 0
Cross drill T2600 0R122 0 0 0
Tap T2700 0R122 0 0 0

 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”.

Tool Geometry offset


Tool type Sleeve Remarks
number X Y Z
Boring T1600 30141 0 0 0 Machining on Z−X plane

 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”.

Tool Geometry offset


Tool type Sleeve Remarks
number X Y Z
Boring T2800 0R141 0 0 0 Machining on Z−X plane

 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/rev4).

▪ For details on KEEP RELAY (conversational setting) screen, refer to section


“7-11-3 Keep Relay Conversational Setting Screen”.
▪ For details on precautions of tooling, refer to section “10-5-3 Installing and Adjusting
the Power-Driven Tool Unit”.

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 ;

T3222 M36 S3100 ; Tool selection, power-driven tool forward rotation


G0 X12.0 Y8.0 Z3.0 T22 ; Positioning
G1 W7.8 F0.03 ; Drilling for preparing hole
G4 U0.05 ;
G1 Z3.0 ; Workpiece retract
M7 ; Main spindle unclamp
G0 H180.0 ; Main spindle indexing
M6 ; Main spindle clamp
G1 W7.8 F0.03 ; Drilling for preparing hole
G4 U0.05 ;
G0 Z3.0 ; Workpiece retract
G0 T0 ;

T3223 M38 ; Tool selection, power-driven tool forward rotation


G0 X12.0 Y8.0 Z3.0 T23 ; Positioning
G984 W6.0 F0.5 M36 S1500 ; Rigid tapping
M7 ; Main spindle unclamp
G0 H180.0 ; Main spindle indexing
M6 ; Main spindle clamp
G984 W6.5 F0.5 M36 S1500 ; Rigid tapping
G0 Z−0.5 ; Workpiece retract
M9 ; C1-axis OFF
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.

▪ Refer to section “8-11 Auxiliary Functions (M Functions)” for details on M171/M172.

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/rev4).

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 ;

T800 M36 S2200 ; Tool selection, power-driven tool forward rotation


G0 X21.0 Z26.0 T32 ; Positioning
G1 U−26.0 F0.05 ; Drilling for preparing hole
G1 U26.0 F0.2 ; Tool retract
G0 T0 ;

T900 M38 ; Tool selection, power-driven tool forward rotation


G0 X21.0 Z26.0 T33 ; Positioning
G784 U−30.0 F0.8 M36 S1000 ; Rigid tapping
M9 ; C1-axis OFF, main spindle unclamp
G0 X25.0 T0 ; Tool retract

▪ Command the cutting depth of G784 with the address U (incremantal).


▪ Command M38 before G784.
▪ The program example shows machinig of right-hand tapping.
▪ For left-hand tapping, change M36 to M37 in the above program example.

▪ 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 ;

T3100 M38 ; Tap selection, power-driven tool stop


G0 Y21.0 Z21.0 T31 ; Positioning
G884 V−15.0 F0.8 M36 S1000 ; Rigid tapping
M9 ; C1-axis OFF, main spindle unclamp
G0 Y25.0 T0 ; Tool retract ;

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 ;

T2400 M58 ; Tap selection, power-driven tool stop


G0 Y21.0 Z21.0 T31 ; Positioning
G884 V−10.0 F0.8 M56 S1000 ; Rigid tapping
M9 ; C2-axis OFF, sub spindle unclamp
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/rev4).

▪ 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

▪ Set the unit on the KEEP RELAY (conversational setting) screen.


▪ Be sure to use Coolant unit 2.5MPa [0T418] or Coolant unit 6.9MPa [1A457] when
using this unit.

▪ 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 = W360.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.

 The calculation method of a tooth lead angle

▪ An example of the calculation method is indicated below for reference. Please


calculate the tooth lead angle according to the product shape.

(A tooth lead angle of outer diameter of thread) 1=tan−1 (L/ D1)


(A tooth lead angle of core diameter) 2=tan −1 (L/ D2)
(A tooth lead angle) = (1+2)/2

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

▪ Set the unit on the KEEP RELAY (Conversational setting) screen.


▪ The mounting position of the polygon machining unit [0T191] is T3100. When
mounting the unit on T3100, T3200 cannot be used.
▪ Execute polygon machining in the state of spindle speed fluctuation detection OFF
(G25).

▪ 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

commanded, use the MAIN SPINDLE ON and OFF keys


(the POWER-DRIVEN TOOLS ON/OFF keys are invalid).
▪ The main spindle and the cutter will rotate in the same direction and perform
machining.
▪ The installing nut of the cutter is a right-hand screw, therefore command M4
(reverse rotation) for the main spindle on PATH 1.

▪ Refer to “7-11-3 Keep Relay Conversational Setting Screen” for details.


▪ Refer to “8-8-2 Tool Function (T Function)” for details on Tool geometry offset.
▪ Refer to “10-5-3 Installing and Adjusting the Power-driven Tool Unit” for details on
the precautions of tooling.

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 .

Rotation ratio of P (Main spindle speed) and Q (Rotation speed of


Y-power driven tool)
 Command “P1 Q2” or “P1 −Q2” under the rotation ratio 1:2.
Machining two planes (180 degrees) with one blade of the three-blade
P, Q cutter, a hexagon will be formed. The machined surface will be slightly
convex.
 Command “P1 Q3” or “P1 −Q3” when the rotation ratio is 1:3.
Machining three planes (120 degrees) with one blade of the three-blade
cutter, a nine-sided shape will be formed. The machined surface will be
slightly concave.
Q (plus) for commanding Main spindle M3
Q
Q− (minus) for commanding Main spindle M4

8-188
8-14-18 Helical Interpolation

▪ Set the unit on the KEEP RELAY (conversational setting) screen.


▪ Adjust the Z-axis position command (Z value) according to the tool tip position and
the workpiece projection length.

▪ 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

Cutting depth in Z= 180 / Z=0.5mm

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 ;

▪ Refer to section “8-10 Preparatory Functions (G Functions)” for details on modal.

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

 Machining drawing (development diagram)

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

▪ Set the 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.

▪ 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 (End face view)

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

▪ Pressing the RESET key will change to the G113 mode.


▪ G codes that can be commanded in G112 mode are G1G4, G40G42, G65, G98,
and G99. G0 cannot be commanded.

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.

▪ Carry out tool installation and geometry offset input correctly.


Refer to section “10-5-5 Installing and Adjusting the Tool on the Tilting Head
3-Spindle Unit” for details.

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).

▪ If work coordinate system shift commands, or geometry offset commands that do


not move the machine components and only change the work coordinate system
are executed on PATH1, there will be no effect on the Z2-axis work coordinate
system.
▪ When commanding tool wear offset and tool nose radius compensation on PATH1,
the Z2-axis movement path shifts by the offset amount only, but will not be set as
an offset amount.
▪ Be careful of tool collision between the tool units and the sub-spindle.

▪ M40 (Z1-Z2 axis synchronous control ON) is only available during simultaneous

operation of PATH1 and 2 in MEMORY mode .


▪ During the Z1-Z2 axis synchronous control, Z2-axis movement cannot be
commanded.
In addition, the synchronous command is kept valid even if the mode is switched to

HANDLE mode. The Z2-axis moves synchronously with the Z1-axis


movement.

▪ When the RESET key is pressed, the synchronization will be cancelled.

▪ 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

▪ Set the unit on the KEEP RELAY (conversational setting) screen.


▪ Confirm that the tool on T2100 does not project from the side surface of the back
8-spindle unit to the sub spindle side when using T4100 or T4200 (see the drawing
below.)
▪ When using coolant unit piping for oil hole drill [0T463], use sealing discs DR/ER16
for Drill Sleeve ER16 [0T121].
▪ Adjust the Z1-axis command (Z value) according to the tool tip position and the
workpiece projection length.
▪ The tool tip positions of T2100, T2500 must be 85 mm or less from the installation
face of the tool unit.

▪ 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 ;

M codes in gray ( ) are wait codes.


This will retract the front machining tool to avoid collision between the tool and the sub
spindle.
When the PATH2 single operation is complete, the program will be skipped from the
“G900 J40” block to the sequence number “N40” block.

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.

The following units are required.


Parts Ejector with Guide Tube B [0G472, 0G473, 0G474, 0G475, 0G481]
Accessory for Parts Ejector (Guide Tube) [0H476]
Parts Stopper Unit [0G478]

 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.

▪ Refer to section “8-14-1 Setting of Machining Data, Z1-Axis Coordinate System


Setting” for details on #522, #524, #525, #528, #529, #530, #531.
▪ Refer to section “8-5 Soft OT Function by Tool” for detail on effective stroke.
▪ Refer to section “Appendix 5 Relational Dimension Drawings of Tool Holders” and
“8-4 Coordinate Systems” for detail on the position command of each axis.

8-210
2) When executing re-clamp by using Barstock Gripping Unit [57418]

▪ Refer to section “13-1 Barstock Gripping Unit [57418]” for details.

T400 M5 ; Change part in the above program O1234 to the left


program
G0 X11.0 Y14.0
G98 G1 X6.0 F500.0 ;
M62 ;
G99 ;
M11 ;
G0 Z0 ;
G125 Z150.0 ;
M10 ;
G4 U0.5 ;
M63 ;
G0 X18.0 ;

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 ;

: Codes in gray are wait commands.


: Standard bar replacement program (O7000) is called.

▪ 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.

▪ Refer to section “8-14-1 Setting of Machining Data, Z1-Axis Coordinate System


Setting” for details on #522, #524, #525, #528, #529, #530, #531.
▪ Refer to section “Appendix 5 Relational Dimension Drawings of Tool Holders” and
“8-4 Coordinate Systems” for detail on the position command of each axis.
▪ Refer to section “8-14-4 Bar Replacement Program” for details on standard bar
replacement program.

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

Format Tool movement

(G18 ;)
G1 Zb Ii F ;
Chamfering Z → X
G1 X F ;

Moves as a → d → c

(G18 ;)
G1 Xb Kk F ;
Chamfering X → Z
G1 Z F ;

Moves as a → d → c

(G18 ;)
G1 Zb Rr F ;
Corner R Z → X
G1 X F ;

Moves as a → d → c

(G18 ;)-+
G1 Xb Rr F ;
Corner R X → Z
G1 Z F ;

Moves as a → d → c

8-213
 Y-Z plane

Format Tool movement

(G19 ;)
G1 Yb Kk F ;
Chamfering Y → Z
G1 Z F ;

Moves as a → d → c

(G19 ;)
G1 Zb Jj F ;
Chamfering Z → Y
G1 Y F ;

Moves as a → d → c

(G19 ;)
G1 Yb Rr F ;
Corner R Y → Z
G1 Z F ;

Moves as a → d → c

(G19 ;)
G1 Zb Rr F ;
Corner R Z → Y
G1 Y F ;

Moves as a → d → c

8-214
 Machining drawing

 Program example

 Standard program  Program with chamfering and corner R


T200 M3 S3200 ; T200 M3 S2000 ;
G0 X17.0 Z−0.5 T2 ; G0 X17.0 Z−0.5 T2 ;
G1 X8.0 F0.2 ; G1 X8.0 F0.2 ;
G1 Z8.0 F0.03 ; G1 Z8.0 F0.03 ;
G1 X11.6 F0.04 ; G1 X12.0 K0.2 F0.04 ;
G1 X12.0 W0.2 F0.04 ;
G1 Z13.5 F0.05 ; G1 Z14.0 R0.5 F0.05 ;
G3 X13.0 Z14.0 R0.5 F0.05 ;
G1 X17.0 F0.05 ; G1 X17.0 F0.05 ;
G0 T0 ; G0 T0 ;

▪ This function cannot be used with the direct drawing dimension programming
function.

▪ For details on how to set, refer to section “7-2-1 Setting Screen”.

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

 Format of Z-X plane (G18)

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

 Standard program  Program with direct drawing


dimension programming
T200 M3 S3200 ; T200 M3 S3200 ;
(G18 ;) (G18 ;)
G0 X17.0 Z−0.5 T2 ; G0 X17.0 Z−0.5 T2 ;
G1 X5.002 F0.2 ; G1 X5.002 F0.2 ;
G1 X7.709 Z7.174 F0.04 ; G1 Z8.0 ,A10.0 ,R0.5 F0.04 ;
G3 X9.678 Z8.0 R0.5 F0.04 ;
G1 X11.0 F0.05 ; G1 X12.0 ,C0.5 F0.05 ;
G1 X12.0 Z8.5 F0.05 ;
G1 Z13.5 F0.06 ; G1 Z14.0 ,R0.5 F0.06 ;
G3 X13.0 Z14.0 R0.5 F0.06 ;
G1 X17.0 F0.06 ; G1 X17.0 F0.06 ;
G0 T0 ; G0 T0 ;
; ;

▪ This function cannot be used with chamfering and corner R machining function.

▪ For details on how to set, refer to section “7-2-1 Setting Screen”.

8-218
8-15 Program Example for the Test Piece

◼ Machining drawing

◼ Machining data setting


Set the data on the MACHINING DATA screen before starting a machining program.
The setting values can be inputted by either pressing the numerical keys or by inputting with
the program.

G266 A W S X Z F B ;

G266 : [Machining data setting]


A: [BAR DIAMETER] [#531]
W: [PART LENGTH] [#530]
S: [SPINDLE SPEED] [#529]
X: [CUT OFF END POSITION] [#524]
Z: [Z1 START POSITION] (Z1-axis machining start point) [#525]
F: [CUT−OFF FEED RATE] [#522]
B: [CUT-OFF TOOL WIDTH] [#528]

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.

 Wear offset setting screen

▪ 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

Tool Application Tool holder/sleeve Tool type


Width:
T100 Cut-off
2.0 mm
T200
Width:
3.0 mm
T300 Grooving
(R1.5)
left-hand
T400
Width:
T500 Grooving
2.0 mm
T700 Milling
Cross
T800 4.0
centering
Cross
T900 2.0
drilling
Front
T1100
turning
Back
T1200 Left-hand
turning
T1300 Centering Drill sleeve ER16 [30124] 10.0
T1400 Drilling Drill sleeve ER16 [30124] 6.85
T1500 Tapping Drill sleeve ER16 [30124] M8*P1.25
T1600
Skewed
T1700 hole 4.0
centering
Skewed
T1800 hole 1.65
drilling
T1900 Tapping M2*P0.4
T3100
T3200
T2100 Milling Milling unit ER16 [0R161] 6.0
Off-
T2200 Milling unit ER16 [0R161] 4.0
centering
Off-center
T2300 Milling unit ER16 [0R161] 2.0
drilling
T2400
Chamfering
T2500 & Milling unit ER16 [0R161] 6.0
Centering
T2600 Drilling Drill sleeve ER16 [0R122] 4.0
T2700
T2800

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.

▪ Carry out the deburring process as necessary.

▪ Refer to section “7-13-4 Mode Reset Screen” for details on the MODE RESET
screen.

8-224
[PATH 1] [PATH 2]
O1234 ; O1234 ;

G266 A20.0 W49.0 S1600 X-1.0 F0.03 G130 ;


Z100.0 B2.0 ; G99 M9 ;
G125 ; M5 ;
G0 B90.0 M38 ; G0 T0 ;
G300 ; T2000 ;
G170 ; M200 ;
G40 G97 M9 ; M20 ;
G99 M3 S500 ; G553 ;
M11 ;
G0 Z-0.2 T0 ; M75 ;
M200 ; (MILLING)
M20 ; /T2100 M56 S1600 ;
G553 ; /M8 ;
M10 ; /G0 X27.0 Z49.0 C0 T21 ;
G171 ; /G1 Z54.0 F0.1 ;
T100 ; /G112 ;
G0 X21.0 Z-0.5 M25 ; /G41 G1 X16.0 C5.94 F0.1 ;
M27 ; /G3 X12.84 C-2.72 R10.0 F0.03 ;
/G2 X5.44 C-6.42 R3.0 F0.03 ;
(FACING) /G3 X-5.44 C-6.42 R10.0 F0.03 ;
T1100 M3 S2300 ; /G2 X-12.84 C-2.72 R3.0 F0.03 ;
G0 X21.0 Z0 T11 ; /G3 X-12.84 C2.72 R10.0 F0.03 ;
G1 X-1.0 F0.03 ; /G2 X-5.44 C6.42 R3.0 F0.03 ;
G1 Z-1.0 F0.1 ; /G3 X5.44 C6.42 R10.0 F0.03 ;
G0 X21.0 ; /G2 X12.84 C2.72 R3.0 F0.03 ;
G0 T0 ; /G3 X16.0 C-5.94 R10.0 F0.03 ;
/G40 G1 X27.0 F0.1 ;
(CENTERING) /G113 ;
T1300 M3 S1000 ; /M9 ;
G0 Z-1.0 T13 ; /G0 Z-1.0 ;
G1 Z4.0 F0.08 ; /G0 T0 ;
G4 U0.2 ; /G28 W0 ;
G1 Z-1.0 F1.0 ;
G0 T0 ; (CHAMFERING)
/T2500 M56 S2650 ;
(DRILLING 6.85) /M8 ;
T1400 M3 S1200 ; /G0 X27.0 Z49.0 C0 T25 ;
G0 Z-1.0 T14 ; /G1 Z51.5 F0.1 ;
G1 Z17.0 F0.06 ; /G112 ;
G4 U0.2 ; /G41 G1 X16.0 C5.94 F0.1 ;
G1 Z-1.0 F1.0 ; /G3 X12.84 C-2.72 R10.0 F0.03 ;
G0 T0 ; /G2 X5.44 C-6.42 R3.0 F0.03 ;
/G3 X-5.44 C-6.42 R10.0 F0.03 ;
(TAPPING M8P1.25) /G2 X-12.84 C-2.72 R3.0 F0.03 ;
T1500 ; /G3 X-12.84 C2.72 R10.0 F0.03 ;
G0 Z-2.5 T15 ; /G2 X-5.44 C6.42 R3.0 F0.03 ;
M29 S600 ; /G3 X5.44 C6.42 R10.0 F0.03 ;
G84 W14.5 F1.25 ; /G2 X12.84 C2.72 R3.0 F0.03 ;
G80 ; /G3 X16.0 C-5.94 R10.0 F0.03 ;
G0 T0 ; /G40 G1 X27.0 F0.1 ;
/G113 ;

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 ;

G1 Z12.5 F0.03 ; (ECCENTRIC DRILLING)


G4 U0.1 ; /T2300 M56 S4000 ;
G1 Z7.0 F0.1 ; /M7 ;
G0 T0 ; (C315.0)
G69.1 ; /G0 X10.0 Z39.0 C315.0 T22 ;
/M6 ;
(ANGLE DRILLING 1.65) /G1 Z44.6 F0.02 ;
T1800 M36S4850 ; /G4 U0.1 ;
/G1 Z39.0 F0.1 ;
G910 X16.68 Z20.0 B75.0 ;
G0 X0 Z7.0 T18 ; (C225.0)
G1 Z10.0 F0.2 ; /M7 ;
G1 Z15.5 F0.01 ; /G0 C225.0 ;
G4 U0.1 ; /M6 ;
G1 Z10.0 F0.1 ; /G1 Z44.6 F0.02 ;
/G4 U0.1 ;
M7 ; /G1 Z39.0 F0.1 ;
G0 C0 ;
M6 ; (C135.0)
/M7 ;
G1 Z15.5 F0.01 ; /G0 C135.0 ;
G4 U0.1 ; /M6 ;
G1 Z7.0 F0.1 ; /G1 Z44.6 F0.02 ;
G0 T0 ; /G4 U0.1 ;
G69.1 ; /G1 Z39.0 F0.1 ;

(ANGLE TAPPING M2P0.4) (C45.0)


T1900 M36 S1500 ; /M7 ;
G910 X16.68 Z20.0 B75.0 ; /G0 C45.0 ;
G0 X0 Z7.0 T19 ; /M6 ;
G1 Z10.0 F0.2 ; /G1 Z44.6 F0.02 ;
G984 W4.0 F0.4 M36 S1500 ; /G4 U0.1 ;
/G1 Z39.0 F0.1 ;
M7 ; /G0 T0 ;
G0 C0 ; /M58 ;
M6 ; /M9 ;
/G28 W0 ;
G984 W4.0 F0.4 M36 S1500 ;
G0 Z7.0 ; (PART EJECTION)
G0 T0 ; /T2900 M5 ;
G69.1 ; /G0 Z53.0 ;
/M11 ;
(CROSS MILLING) /G4 U1.0 ;
T900 M36 S1600 ; /M84 ;
M7 ; /G28 W0 ;
G0 X21.0 Z30.0 C90.0 T9 ; /M27 ;
M6 ; /M14 ;
G1 X18.0 F0.2 ; /T2000 ;
G1 Z41.0 F0.03 ; /G4 U1.0 ;

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.0070.012
Cutting-off
B 0.05  0.1 0.05  0.07 0.03  0.05 0.03  0.05

 Cutting speed (m/min)

Turning Inside turning Drilling


(Carbide) (Carbide) (HSS)
Feed cutting steel SUM 100  150 50  100 20  50
Brass BsBM 120  250 60  120 40  90
Aluminum Al 100  200 50  120 60  100
Carbon steel S45C 60  120 40  80 15  25
Stainless SUS 40  100 30  70 5  20

Cutting speed (m/min)  1000


Main spindle speed(min-1) =
Diameter dimension (mm)  

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

 Main spindle speed for end mill

Brass Steel Stainless steel


Cutting speed m/min 1540 1030 520
Feeding speed mm/brade 0.030.05 0.020.04 0.010.02

 Main spindle speed for slotting

Brass Steel Stainless steel


Cutting speed m/min 2550 1530 1015
Feeding speed mm/brade 0.0040.006 0.0010.003 0.0010.002

8-232
 Single point thread data (JISISO 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

 Give priority to the JIS standard for the size of screws.


 Threading of thin screws may not always be possible because the bar stock may bend
due to threading resistance.
 Screws with the * mark are coarse screws.
 The nose R sizes vary depending on the type of insert tip.
When using an insert tip of nose R which differs from the threading dimensions list,
root diameter d’1 can be calculated with the following formula.
R’ : nose R of insert tip to be used
d’1 = d1 + (R’ − R)  2

8-234
 Prepared hole diameter for tapping (JISISO 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

Execute MDI operation by following the procedure below.

(1) Press the MDI key of MODE to light up the lamp.

▪ If the PATH at which MDI was inputted and the PATH selected by the PATH

keys , are different, the MDI command will not be executed.


▪ The PATH selected by the PATH keys will operate simultaneously.
Pay attention to the operation.

▪ It is also possible to select multiple PATHs and command in MDI mode.

(2) Press either the PATH1 key or PATH2 key to select a PATH in which
programs are to be registered.

(3) Press the PROGRAM key .


(4) Press the [PROGRAM] soft key to display the PROGRAM screen.
Screen 1

▪ The program number “O0000” is automatically inserted.


▪ A maximum of 250 (including O0000) characters in a program can be created and
executed.

9-2

You might also like