You are on page 1of 27

8.Programming

WARNING

 Read the section "7. Operation" thoroughly before executing MEMORY operation

and MDI operation.


 Refer to the section "7-24. Parameter Display and Change Method" before changing the
settings of the parameters in the explanations.

8-1 Programming
The CNC automatic lathe will work exactly as instructed by the program in memory. 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 is called programming.
Discuss the tooling when the drawings of parts to be machined have been determined.

8-1
8-2 Program Structure
 Meaning and command unit of address
Address Meaning Command unit
O (Note1) Program number 4 digits (19999)
N Sequence number 5 digits (199999)
G Preparatory function 3 digits (0999)
X・U X-axis movement command 0.001mm unit (diameter)
Y・V Y-axis movement command 0.001mm unit (diameter)
Z1-axis movement command,
Z・W 0.001mm unit
Z2-axis movement command
A A-axis movement command 0.001mm unit (radius)
B B-axis movement command 0.001mm unit (radius)
E E-axis movement command 0.001mm unit (radius)
Main spindle angle indexing command 0.001 unit
C・H
Sub spindle angle indexing command 0.001 unit
R Arc radius designation 0.001mm unit
I・K Arc center element 0.001mm unit
,Q Notch signal output coordinate 0.001mm unit
Feed per revolution 0.0001mm/rev
F Feed rate designation
Feed per minute 1mm/min
S Main spindle speed command 5 digits min-1 unit
T Tool selection number & Tool offset number 4 digits
M Auxiliary function 3 digits
U・P・X Dwell time command 0.001s99999.999s
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)
Gang tool side: 3 digits
,A Approach command designation (X, Y-axis)
Turret side: 4 digits
,E Approach command designation (E-axis) 0.001mm unit

NOTICE
 (Note1) For ISO code, ":" can be used as the program number address.

 Block
 A 1-line unit in the program is called a block.
 1 block is terminated by the end-of-block code ";".
 1 block can hold a maximum of 128 characters.

 Word
 Blocks are made up of words.
 Words are made up of addresses (alphabet letters) plus following data (numerical values).
(“+” or ”–“ code may be added in front of the data.)

8-2
 Decimal input
 Although there are some restrictions depending on the address, address that having a unit
such as distance, speed or time can be written with decimal value.
 Following table shows that the decimal inputting unit and their usable address.

Unit Address
Distance (mm) X・Y・Z・U・V・W・A・B・E・,E・I・K・,Q・R
Speed (mm/rev, mm/min) F
Time (s) U・X
Angle (/degree) C・H

 Program number
 Program has a maximum 4-digit number at their head to distinguish each other.
 Maximum 63 programs can be registered in the memory of HEAD1 and HEAD2
independently.

 Sequence number
 A block in program can add the maximum 5-integer at their head.

 Block skip
 The block containing a slash code "/" on their head will be ignored while the BLOCK SKIP

key is on.
 If a slash code "/" does not place at the head of the block, the contents from the slash code "/"
to the end of block "; " will be ignored.
 The block with the slash "/" code in the program will be inputted or outputted regardless of

the condition of BLOCK SKIP key when inputting or outputting the program.

NOTICE
 There is BLOCK SKIP key for each HEAD1 and HEAD2.

 Reading zero
 When data (numeric value) other than "0" is specified, following "0" 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 can not be omitted.)

8-3
8-3 Dimension Word
The dimension word is a command that executes movement for any axis, and it consists of the
address that specifies the axis and the data that commands the direction and amount of
movement.
There are two commanding methods: absolute commands and incremental commands.

Diameter dimension Length dimension Vertical dimension


X-axis Y-axis Z-axis E-axis A-axis B-axis
Absolute X Y A B
(Absolute value (Diameter (Diameter Z E (Radius (Radius
command) dimension ) dimension ) dimension) dimension)
U V
Incremental
(Diameter (Diameter
(Incremental W ––– ––– –––
difference difference
value command)
dimension ) dimension )

Point Absolute command Incremental command


1 X 6.0 Z0  
2 (X 6.0) Z12.0 (U 0 ) W12.0
3 X10.0 (Z12.0) U 4.0 (W 0 )
4 (X10.0) Z25.0 (U 0 ) W13.0
5 X 8.0 (Z25.0) U2.0 (W 0 )
6 (X 8.0) Z40.0 (U 0 ) W15.0

NOTICE
 If the amount of movement is 0, as mentioned in above ( ), it is not necessary to command.

8-4
8-4 Coordinate System
The X, Y, A and B-axis take the center of the bar as the zero point (X0, Y0, A0 and B0). The bar
end surface of the Z1-axis will be considered as "zero point" after cut-off process. And the
reference point of the E and Z2-axis will be considered as their zero point (E0, Z0). The
reference point is a mechanical fixed point, and moves with the reference point return operation
or command.

8-5
8-6
8-5 Soft OT Function by Tool
Refer to the section “8-4. Coordinate system”.
 How to release the alarm

In the JOG mode , move the alarm axis out from the prohibition area, and then press

the RESET key to release the alarm.

 Effective stroke and the first soft OT (No. …Parameter number)

First soft OT
Effective stroke mm
Machine position Absolute position
X-axis 72.0 145.0  +1.0 X 5.0  X 141.0
Y-axis 147.0 –295.0 ~ +1.0 Y–35.0 ~ Y261.0
A-axis 235.0 233.5  +2.5 A 233.5  A 2.5
B-axis 57.0 –26.0  +32.0 B–26.0  32.0
310.0 1.0  +311.0
Z 1.0  Z 311.0
standard No.1321 No. 1320 (HEAD1…Z)
300.0
1.0  +301.0
Bar stock gripping unit Z 1.0  Z 301.0
Z1-axis No.1321 No.1320 (HEAD1…Z)
[42418]
291.0
1.0  +292.0
Rotary magic guide Z 1.0  Z 292.0
No.1321 No.1326 (HEAD1…Z)
bush unit [43341]
E-axis 157.0 –140.5  +17.5 E –140.5  E17.5
–0.5  +335.5
Z2-axis 335.0 No. 1321 No. 1320 Z –0.5  Z335.5
(HEAD2・・・・Z)
 Z1-axis stroke ············· 310 st. Standard
300 st. Bar stock gripping unit [42418]
291 st. Rotary magic guide bush unit [42341]
 Z2-axis stroke ············· 335 st.

NOTICE
 Always A-axis position will be considered as "A0" after tool selection of the gang tool post.
 Always B-axis position will be considered as "B0" after tool selection of the turret.

8-7
 Second soft OT

CAUTION

 The second soft OT is available in the MDI and MEMORY modes , not in the

JOG mode . Therefore pay attention to tool collision.

 Interlock for the gang tool post and Z2-axis


(1) When five tool are used
Alarm No. Condition
Selecting T200T400, Z2=300000 or more (set on the parameter No.9284)
502
Selecting T600T800, Z2=325000 or more (set on the parameter No.9285)
Z2=300000 or more (set on the parameter No.9284) when commanding
T200T400
3801
Z2=325000 or more (set on the parameter No.9285) when commanding
T600T800

 Interlock for the gang tool post and A-axis


Alarm No. Condition
When the absolute coordinate of A-axis exceeds ±16500 (set on the parameter
3804
No. 9287) after tool selection of T600T800.

 Interlock for the turret and B-axis


Alarm No. Condition
When the absolute coordinate of B-axis exceeds ±16500 (set on the parameter
3804
No. 9288) after tool selection of ID No. 4148.

8-8
8-6 Feed Function
 Rapid feed speed
 The respective axis moves in a constant high speed with "G00" command in the program.
Axis Rapid traverse feed rate
X-axis
Y-axis
15000mm/min
A-axis
B-axis
C1-axis 90000/min
Z1-axis
E-axis 18000mm/min
Z2-axis
C2-axis 90000/min

 Cutting feed rate


 Address "F" commands the feed rate of each axis.
 The feed rate are "feed per revolution" and "feed per minute"; they are specified with the G
code.
Type G code Unit Program Standard spindle
Feed per minute G98 1mm/min・1/min HEAD12 Main・Sub
G99 HEAD12 Main・Sub
Feed per revolution G101 0.0001mm/rev HEAD1 X-axis power-driven tool
G103 HEAD12 Y-axis power-driven tool

NOTICE
 To change the G code, command new “F”.
 Do not command 0 or minus values.
 The command value of the X-axis and Y-axis are a speed along the radial value.
 In the simultaneous interpolation with 2 or more axes, the speed will be a tangential
speed.

 The feed rate for each axis is shown below.


Axis Feed per revolution Feed per minute
X-axis
Y-axis
0.000120.0mm/rev 110000mm/min
A-axis
B-axis
C-axis ––– 110000/min (28min–1)
Z1-axis
E-axis
0.000120.0mm/rev 110000mm/min
Z2-axis
C2-axis

8-9
8-7 Spindle Function (S Function)
Address “S” can directly command the spindle speed.
Power-driven attachment Command range
Main spindle
5007000min–1
Sub spindle
X-axis power-driven tool 6000min–1 max.
Y-axis power-driven tool 5700min–1 max.

NOTICE
 When the X power-driven tool is rotating in 4500 min–1 or more, the permissible
continuous time is 5 minutes.
 In power-driven tools shown below differs in the spindle speed.
 For the turret power-drive tool unit, the specified spindle speed becomes the actual
spindle speed by entering 5 digit code of the power-driven tool at TOOL UNIT NUMBER
on the INPUT OF TOOL UNIT NUMBER screen.

 Set the keep relay as k15-bit7=1


 To display the “INPUT OF TOOL UNIT NUMBER” screen
MENU2 OFFSET (GEOMETRY)DISP.2ID NO.SETING“INPUT OF TOOL UNIT
NUMBER” screen
 For the power-driven tool unit on the turret, the specified spindle speed combines the actual
spindle speed by inputting the power-driven tool unit 5-digit No. into “TOOL UNIT
NUMBER” on “INPUT OF TOOL UNIT NUMBER” screen.
Use the numbers listed in Chapter 6, “6-3-2 Turret” section.
(The 5-digit No. excepts alphabet e.g. : 22155H should be 22155)
 When inputting the power-driven tool unit 5-digit No. given on the “INPUT OF TOOL
UNIT NUMBER” screen into “TOOL UNIT NUMBER”, ID No. will be set in the last 2-digit of
the tool No., then the specified spindle speed will combine the actual spindle speed.
The tool number with ID No. given will be shown on the “GEOMETRY OFFSET 2” screen.

8-10
Power-driven tool unit Commanding method (commanding range)
Slotting unit 60B [43153] Desired spindle speed=Specified spindle speed0.3
Specified spindle speed=Desired spindle speed/0.3
Slotting unit 60A [43154]
Specified Y power-driven tool feed per revolution (G103)
=Desired Y power-driven tool feed per revolution (G103)0.3
Desired spindle speed=Specified spindle speed1.7
Specified spindle speed=Desired spindle speed/1.7
High speed 2-spindle closs
drilling unit ER11 [43152]
Specified Y power-driven tool feed per revolution (G103)
=Desired Y power-driven tool feed per revolution (G103)1.7
Slotting unit 60B [20155]
Desired spindle speed=Specified spindle speed0.39
Slotting unit 60A [20155H]
Specified spindle speed=Desired spindle speed/0.39
Adjustable slotting unit 60B
[20159]
Specified Y power-driven tool feed per revolution (G103)
Adjustable slotting unit 60A
=Desired Y power-driven tool feed per revolution (G103)×0.39
[20159H]
Desired spindle speed=Specified spindle speed0.528
Specified spindle speed=Desired spindle speed/0.528
Thread whirling unit/outer
Specified Y power-driven tool feed per revolution (G103)
=Desired Y power-driven tool feed per revolution (G103)×0.528

 Rotation command M code


Commanding only M code will stop or rotate each axis in forward/reverse rotation.
HEAD1 side command HEAD2 side command
X-axis
Y-power Y-power
Main spindle power-driven Sub spindle
driven tool driven tool
tool
Forward rotation M03 M36 M46 M03 M46
Reverse rotation M04 M37 M47 M04 M47
Stop M05 M38 M48 M05 M48

NOTICE
 The main spindle forward rotation takes the same direction as the sub spindle reverse
rotation.
 When executing the power-driven tool spindle speed "S" command, command M36 (M46)
or M37 (M47) in the same block.
 For the power-driven tool unit on the turret, the rotating direction will be set up by
inputting the power-driven tool unit 5-digit No. into “TOOL UNIT NUMBER” on
“INPUT OF TOOL NUMBER” screen.
However, in case of executing back machining with Counter face drilling unit ER11
[20156], Counter face 2-spindle drilling unit [43159], the rotating direction with the
right-handed blade tool requires M47 command.
In case of executing back rigid-tap machining with Counter face drilling unit ER11
[20156], Counter face 2-spindle drilling unit [43159], the rotating direction with
the right-handed blade tool requires M46 command.
For details, refer to the followings.

8-11
 Set the keep relay as k15-bit7=1
 To display the “INPUT OF TOOL UNIT NUMBER” screen.
MENU2 OFFSET (GEOMETRY)DISP.2ID NO.SETING“INPUT OF TOOL UNIT
NUMBER” screen
 For the power-driven tool unit on the turret, the rotating direction will be set up by inputting
the power-driven tool unit 5-digit No. into “TOOL UNIT NUMBER” on “INPUT OF TOOL
UNIT NUMBER” screen.
Use the numbers listed in Chapter 6, “6-3-2 Turret” section.
(The 5-digit No. excepts alphabet e.g. : 22155H should be 22155)
 When inputting the power-driven tool unit 5-digit No. shown on the “INPUT OF TOOL
UNIT NUMBER” screen into “TOOL UNIT NUMBER”, ID No. will be set in the last 2-digit of
the tool number, then the rotating direction of each tool number will be set up.
The tool number with ID No. given will be shown on “GEOMETRY OFFSET 2 “ screen.
e.g. : When using the right-handed blade tool on drilling, the rotating direction requires M46
command.
However, in case of executing back machining with Counter face drilling unit ER11
[20156], Counter face 2-spindle drilling unit [43159], the rotating direction
with the right-handed blade tool requires M47 command.
In case of executing back rigid-tap machining with Counter face drilling unit ER11
[20156], Counter face 2-spindle drilling unit [43159], the rotating direction
with the right-handed blade tool requires M46 command.

8-12
 Rotating direction

8-13
8-8 Tool Function
8-8-1 Tool Number
Tool numbers are expressed by T plus 3-digit/4-digit in accordance with the tool position.

 Gang tool post

 Turret

8-14
8-8-2 Tool Function (T Function)
The tool function has function of the tool selection and the tool position offset, and these are
commanded with address "T".
Function Command digit Commanding method
T3 or T4 digit HEAD1 side tool…T100T400, T600T800,
command T1100T2000
T4 digit command HEAD2 side tool…T1100T2000
Tool selection function When the 2-station tool holder, 2-spindle cross drilling unit, triple
sleeve holder or double sleeve holder are installed on T1100 to
T2000, command the ID number shown in the table 1 into the last
2-digit of the tool number. E.g.) T1131, T1132
T1 or T2 digit
Tool offset position T0T32 (T0T64 are option)
command

 Table-1
Tool holder ID number
(31, 32) (33, 34) (35, 36) (37, 38)

2-station tool holder


[43102]
[43103]

(41, 42) (43, 44) (45, 46) (47, 48)

2-spindle cross drilling unit


[43151]
[43152]

(51, 52, 53) (54, 55, 56) (57, 58, 59)

Triple sleeve holder


[43111]
[43112]

(61, 62) (63, 64) (65, 66) (67, 68)

Double sleeve holder


[78113]
* Counter-face 2-spindle drilling unit
[43159] does not have ID number.

8-15
NOTICE
 The tool selection T code must be commanded in single block independently.
 Tool wear offset can be cancelled by commanding the T00; or T00; of tool selection.
 The "G" code of the tool function under M05 G01 G99 conditions should be G00 or G98.
 After tool selection command, the geometry offset will function with a movement
command of Z1-axis of HEAD1 side and Z2-axis of HEAD2 side. Always input the Z-axis
absolute coordinate value in the G00 positioning block after tool selection command.
 When using the turret on the HEAD1 side, command M131 in a block before tool
selection. When using the turret on the HEAD2 side, command M132 in a block before
tool selection.

 Tool selection function


 Tool selection function
T00 ; HEAD 1 T00 ; HEAD 2
Tool number120 Tool number1120
 Any axes do not move when identical tool number is selected (The command will be completed.)
 The RAPID TRAVERSE OVERRIDE switch can change the turret indexing speed.
 Commanding the T100~T800 will move the X-axis to the reference point and will position the
selected tool horizontal at the center of the guide bush, and will set as “A0”.
 Commanding T11T20 on HEAD1 side will move the Y-axis to the reference point after
E-axis reference point return. And then, the B-axis will move to the specified tool position and
will be set as B0 by indexing the tool number. However, the tool selection when ",E" is
commanded will move the E-axis to the reference point (E,0) and after Y-axis reference point
return, the B-axis will move to the specified tool position and will be set as B0 by indexing the
tool number.
 Commanding T11T20 on HEAD2 side will move the Y-axis to the reference point and then
the B-axis will move to the specified tool position and will change to B0 by indexing the tool
number.
 Only the B-axis will move to the specified tool position when executing a tool selection from
identical tool holder, such as 2-station tool holder, 2-spindle cross drilling unit and triple sleeve
holder. However, the tool selection when “,E” is commanded will move the E-axis to the reference
point (E,0) return and then the B-axis will move to the specified tool position.
 The axes do not move when selecting tool within the identical tool holder of double sleeve holder.
 Input 1~20 of tool numver in the first two digit of the T command and 00 will follow the tool
number normally.
 When the 2-station tool holder, 2-spindle cross drilling unit, triple sleeve holder or double
sleeve holder are installed on T1100 to T2000, input the ID number in last 2digit.
Refer to the table1 of the clause “8-8-2. Tool function (T function)” for the position of the ID
number.
Example: When 2-station tool holder is installed on the tool number 11
・・・・・T1131, T1132
2-station tool holder (31, 32,) (33, 34) (35, 36)(37, 38)
2-spindle cross drilling unit (41, 42) (43, 44) (45, 46) (47, 48)
Triple sleeve holder (51, 52, 53) (54, 55, 56) (57, 58, 59)
Double sleeve holder (61, 62) (63, 64) (65, 66) (67, 68)

8-16
 Tool position offset function
This function is called "tool offset" or "offset".
In tool position offset, there are tool wear offset and tools geometry offset.

 Tool wear offset


This is used for size adjustment of machining part.
To increase the size of work pieces, input a plus offset value and to decreased it, input a
minus offset value.
Offset value should be added to or reduced from the programmed each block end.
Refer to the section "7-11. Tool Wear Offset Input" for input method of offset value
・Commanding method for offset number
T□□
Tool offset number 00 to 32
T00 is cancellation of tool offset function
・There are 32 pairs of offset numbers for each HEAD 1 and HEAD 2.
For easy offset input, use the tool number. Use any number within 20~32 for the offset
numbers of ID No.

[HEAD1 side]
Tool No. Tool wear offset number Offset address
T100 T01 X, Z
T200 T02 X, Z
T300 T03 X, Z
T400 T04 X, Z
T600 T06 X, Z
T700 T07 X, Z
T800 T08 X, Z
T1100 T11 Y, Z
T1200 T12 Y, Z
T1300 T13 Y, Z
T1400 T14 Y, Z
T1500 T15 Y, Z
T1600 T16 Y, Z
T1700 T17 Y, Z
T1800 T18 Y, Z Z: Z1-axis
T1900 T19 Y, Z
T2000 T20 Y, Z

8-17
[HEAD2 side]
Tool No. Tool wear offset number Offset address
T1100 T11 Y, Z, E
T1200 T12 Y, Z, E
T1300 T13 Y, Z, E
T1400 T14 Y, Z, E
T1500 T15 Y, Z, E
T1600 T16 Y, Z, E
T1700 T17 Y, Z, E
T1800 T18 Y, Z, E Z: Z2-axis
T1900 T19 Y, Z, E
T2000 T20 Y, Z, E

T00 will cancel the currently commanded tool wear offset function.
Cancel the tool wear offset with T00 or T0 commands.
When T code is commanded together with any address other than "O" or "N", it will be
considered as a tool wear offset and the first or second digit will be ignored.
(Example) G00 X10.0 Z20.0 T201 ;  this case T code will be considered as T01.

 Tool geometry offset


Tool shape and mounting position will be compensated.
With input the offset, it will be unnecessary to consider a tool shift amount.
(Example)
When the tool length which is longer or shorter than the standard tool length is installed
in the X, Y-axis, input the difference as the plus or minus value.
2  (installed tool length - standard tool length) = the value of tool geometry offset
Standard tool length: Tool length up to the center of the guide bush during upon zero point
positioning.

Tool geometry offset will shift the work coordinate (ABSOLUTE). This means that position
after tool selection is shifted in plus or minus direction by tool geometry offset.

8-18
NOTICE
 To work the Z-axis geometry offset, command the Z-axis coordinate value (absolute) in a
block for G00 positioning after tool selection.
 Be sure to note down each setting data.

 Commanding method
Tool geometry offset can be inputted by automatic measurement with tool setter or key entry
from CNC operation panel.
For automatic measurement with tool setter, please refer to "10-6. Handling the Tool Setter".
<Geometry offset key input>
Use the following procedure to enter the geometry offset for each tool by key.

(1) Press CUSTOM key to display the menu screen.

(2) Press 2 and INPUT key to display the tool geometry offset1 screen for gang tool
post.
Press the soft-key [screen 2] on tool geometry offset1 screen so that the tool geometry
offset2 for turret will appear.
(3) Move the cursor on the axis data of the tool number to be input. The cursor will move by

pressing the CURSOR key , , or .


(4) Input the [offset data] and the press the soft key [INPUT] so that the tool geometry
offset l can be set.
(5) And input the [fluctuation value] and then press the soft key [+INPUT], the data will
increase or decrease.

8-19
8-9 Approach Function
There are two kinds of approach functions in this machine. One of the approach function (,A)
makes X-axis or Y-axis, which is used for next procedure, approach to machining prepared
position for preparation of next procedure. Another approach function (,E) command the E-axis
position on HEAD1 side.
Using this function can shorten the tool replacement time.
This function is used for the HEAD1 side tools.

8-9-1 ,A Approach Function

NOTICE
 Do not command this function during the tool nose radius compensation, or it will execute
the approach function in former block of the command.
 Command the next approach function after the former approach operation is completed.
 Do not execute the approach operation for the turret during the X-cross rigid tapping
(G784).
 Do not execute the approach operation for the gang tool post during the Y-cross rigid
tapping (G884).

 Commanding method
, A100 ,A800 commands are available in the T11~T20 machining.
And , A11~,A20 commands are available in the T100~T800 machining.
Even if the tool is called with an approach command, the tool selection with T code cannot be
omitted.
ID number  is normally 00.
2-station tool holder (31, 32) (33, 34) (35, 36) (37, 38)
2-spindle cross drilling unit (41, 42) (43, 44) (45, 46) (47, 48)
Triple sleeve holder (51, 52, 53) (54, 55, 56) (57, 58, 59)
Double sleeve holder (61, 62) (63, 64) (65, 66) (67, 68)

[Gang tool post]


G170 X ; Approach position command
,A 00 ; This address is read as a “comma A”.

:Tool No.18

[Turret]
G170 Y ;
,A  ;
:Tool No. 1120
:ID No

8-20
 Operation
(1) This function will select the tool number which is specified with the ,A00 or ,A
command
 For the gang tool post, the A-axis will move to the specified tool position after the
completion of X-axis reference point return.
 For the turret, the Y-axis will return to the reference point and then B-axis will move to
the specified tool position. After that the turret will index the specified tool number.
(2) The axes will move to the machining stand-by position quickly.
 The “machining stand-by position” means a position commanded with G170 X; or G170
Y ; in the program.
 Normally the X or Y setting is "bar diameter + 1.0mm".
 Commanded value of X or Y with G170 will be valid only in the initial approach after
commanding G170.
 Commanded value of X or Y with G170 can be cleared by reset
 Although an approach function can be commanded in a movement block, it is better to be
inputted in a cutting process command. (The alarm will occur if the tool selection is
commanded while the tool commanded in the approach function moves. In a cutting
process, the probability of an alarm occasion becomes small.)
Example)
In a cutting process of T200 from "b" to "c" shown in a drawing below, commanding the
G170 Y21.0;
,A1600 ;
will select the T1600 and will move it to the machining stand-by (bar diameter+1.0mm)
position.

8-21
8-9-2 , E Approach Function

NOTICE
 Pay attention tool collision when commanding “,E” because the E-axis will return to the
reference point when commanding a tool selection T11  T20 on HEAD1.
 Command ",E" into the HEAD 1 side program.
 ",E" cannot be commanded in a macro program.
 When an alarm occurs during the execution of ",E", set the E-axis coordinate system
again.
 G00, G01 of the gang tool post side and M, S, T codes can be commanded in the same
block with ",E" approach command.
 ",E" command does not synchronize with the block command. It means that the program
progresses without waiting the completion of ",E".

 Commanding method
Program example
E-axis positioning from HEAD1 E-axis positioning from HEAD2
",E" command ",E" command
[HEAD1] [HEAD1] [HEAD2]
・ ・ ・
T1100 ; T1100 ; ・
,E –10.0 ; M132 ; M132 ;
・ ・ G00 E–10.0 ;
・ M131 ; M131 ;
・ ・

 Alarm
An alarm will occur when the following command overlaps with the operation of ",E"
command.
 Tool selection command from HEAD1 and HEAD2
 ",A" approach command
 G140, G141 command

 Operation of the turret advance , retract , turret CW , turret CCW


 E-axis command with M132

8-22
8-10 Heat Expansion Compensation Function
Use this function when performing the heat expansion compensation of Y-axis.

 Command (G codes for heat expansion compensation)


G210: Heat expansion compensation cancel
······· does not shift the coordinate system of heat expansion compensation
G211: Heat expansion compensation 1
······· The coordinate system shift that considers the heat expansion coefficient 1
G212: Heat expansion compensation 2
······· The coordinate system shift that considers the heat expansion coefficient 2
G213: Heat expansion compensation 3
······· The coordinate system shift that considers the heat expansion coefficient 3
G551: Heat expansion measurement
······· Selects the tools number T1600 and then measure the heat expansion.
Command G551 both on HEAD1 and HEAD2. (Waiting each other.)

CAUTION
 It’s at Y0~Y0.5, E17.0 position after G551 completion. Therefore pay attention to the tool
collision. If there is fear of collision, execute reference point return of Y and E axes after
G551 command..

 Operation
(1) Check the data on the heat expansion compensation screen.
(2) Set the G code for heat expansion compensation into an execution program.
G551 is commanded after M20 on both HEAD1 and HEAD2.
G212 is inputted just before the tool selection that executes the heat expansion
compensation on HEAD1.
G211 is inputted just before the tool selection that executes the heat expansion
compensation on HEAD2.
 Use (1.0) for the heat expansion coefficient 2 on HEAD1 and (0.7) for the heat expansion
coefficient 1 on the HEAD2 normally. For the other data, use the initial setting data.
 When the Y-axis heat expansion value is changed with circumstances or machining
condition, change the heat expansion compensation coefficient 13.
E.g.) when the machining outer diameter of Y-axis has displacement in positive direction,
command the G code with biggest coefficient.
G212 (Heat expansion compensation 2 : compensated magnification 1.0)
 G213 (Heat expansion 3 : compensated magnification 1.3)
 Heat expansion compensation data can be changed to any value when it’s required to
use other than initial setting data..
(3) Press the soft key [MASTER SET] on the counter screen and switch the HEAT
COMPENSATION MATER SET “ON”.

(4) Press the SIMUL key to turn the light on, and press the START button to

8-23
execute the execution program in MEMORY mode . This function will work with
execution of G code of Heat expansion compensation in the program.

NOTICE
 The heat expansion compensation is available only in the SIMUL mode .

 Program example
HEAD1 HEAD2
O1234 ; O1234 ;
G130 ;
G140
M131 ; M131 ;
G99 G40 G97 M09 ; G99 G40 G97 M09;
M03 S500 ; M05 ;
M11 ; T00 ;
G00 Z0 T00 ; G28 W0 ;
G28 V0 ; G50 Z0 ;
M200 ; M200 ;
M20 ; M20 ;
T1700 ; Command other than T1600 M25 ;
M10 ;
T100 ;
M27 ;<option>
G00 Z-0.5 T00 M25 ;
G28 U0 ;
G551 ; G551 ; Measuring of the heat expansion
M132 ; M132 ;
G211 ; The coordinate system shift that
considers the heat expansion
coefficient 1
T ;Tool selection
G00 Y Z T ;

M131 ; M131 ;
G212 ; The coordinate system shift that
considers the heat expansion
coefficient 2
T ; Tool selection
G00 Y Z T ;

M99 ; M99 ;

8-24
 Alarm
3025 SKIP MACRO ERROR 1
The heat expansion switch did not work in the heat expansion measurement or the wire of
heat expansion switch was broken.

3026 SKIP MACRO ERROR 2


Checking range A, B or C on data screen is not being set, or the difference between the former
measurement data and current data exceeds the checking range C.
When running MEMORY operation once again after it stop, this may cause the alarm No.

3026. If this occurs, press the RESET key to release the alarm state, press the soft key
[MASTER SET] to display ON at the “master position registration” and resume the MEMORY
operation.
3027 SKIP MACRO ERROR 3
The heat expansion switch is pressed before starting the heat expansion measurement, or
wire of the heat expansion switch is short circuit.

 Setting
 A registration function of the heat compensation
Master setting is required before starting the machining when using the heat compensation
function. (HEAT COMPENSATION MASTER SET is displayed on the counter screen.)

(1) Press the soft key [MASTER SET] on the counter screen, and display "ON" at the HEAT
COMPENSATION MATER SET.

(2) Pressing the SIMUL key to turn the light on, executing the program operation
(G551) will set the master position, and the HEAT COMPENSATION MASTER SET will
switch to
"OFF".

8-25
 Heat expansion compensation data function

(1) Display the heat expansion compensation data screen by pressing 8, INPUT key on
the menu screen.

(2) Select the data by pressing CURSOR key , .

(3) Pressing [data] INPUT key could change the initial setting data.
E. g.) When using a data other than initial setting data of the heat compensation coefficient
13
Initial data of the heat compensation coefficient 1 = 0.7
Desired data of the heat compensation coefficient 1 = 0.5
Commanding G code for the heat expansion compensation coefficient 1 is G211.
Thus, commanding G211 will use the compensation magnification 0.5.

NOTICE
 The checking range A to C is displayed as . INCH for the inch version.

The data on this screen will be required when using the heat expansion compensation of the
Y-axis.

8-26
Function Initial setting Contents
Heat expansion Compensates with a setting magnification of the heat
0.7
coefficient 1 expansion coefficient 1 when commanding G211
Heat expansion Compensates with a setting magnification of the heat
1.0
coefficient 2 expansion coefficient 2 when commanding G212
Heat expansion Compensates with a setting magnification of the heat
coefficient 3 1.3
expansion coefficient 3 when commanding G213
0.003MM ・A case of the measured data≦Checking range A
Checking range A
(0.0001 INCH) measures every setting value in the checking cycle A.
0.005MM ・A case of the checking range A< Measured data
Checking range B
(0.0002 INCH) ≦Checking range B
0.015MM measures every setting value of the checking cycle B.
Checking range C ・A case of the checking range B< Measured data
(0.0006 INCH)
≦Checking range C
Checking cycle A 5 Measure every setting value of the checking cycle C.
Checking cycle B 3
・A case of the measured data> Checking range C
1 (It measures
displays alarm No. 3026 on the screen.
Checking cycle C each cycle time.) (Measured data = former data – current data)

 Setting unit and range


Setting unit Setting range
Heat expansion coefficient 0.1 times 0.19.9
0.001 MM 0.0019.999
Checking range
0.0001 INCH 0.00019.9999
Checking cycle 1 time 19999
 Commanding G551 will measure the heat expansion compensation, and will compare the
result with the setting range to determine the checking cycles. After the program cycle
reaches to the specified checking cycle times, it will measure the heat expansion
measurement again.

 Precaution when using tool number T1600


 The heat expansion compensation unit is installed on the tool number T1600 of the turret.
Therefore, tool holders, which can be installed in T1600 is limited. Also when the tool
number T1600 is used, there is unmovable area.
[Installable tool holder]
Type No. Name
22150 Cross drilling unit ER16
22151 Cross tapping unit ER11
43103 2-station tool holder □16mm for back reverse working
78171 Tool holder wedge-free type for back working □16mm
 In order to avoid the tool collision, do not install tool holder other than aforementioned, to
the tool number T1600.
 The measuring position of the heat expansion compensation is Y0, B0, Y17.0 (absolute
coordinate).

8-27

You might also like