Beruflich Dokumente
Kultur Dokumente
8-114
Coordinate System Diagram
Z1-axis stroke ············· 310 st. Standard
300 st. Bar stock gripping unit [42418]
291 st. Rotary magic guide bush unit [43341]
Z2-axis stroke ············· 335 st. Standard
8-115
Program Pattern
Command the wait M code (M200) in the block before M20.
The E-axis command is available only on HEAD2.
When executing HEAD2 single operation, command M25 (coolant on) and G900Jj ; Nj ;
(HEAD2 single operation block jump) in the HEAD2 side program.
Example: G900Jj ; Nj ; ……..G900 J50 ; N50 ;
[HEAD1] [HEAD2]
O1234 ; O1234 ;
G130 ;
G140 ;
M131 ; M131 ;
G99 G40 G97 M09 ; G99 G40 G97 M9 ;
M03 S500 ; M05 ;
M11 ; G00 T00 ;
G00 Z0 T00 ; G28 W0 ;
G28 V0 ; G50 Z0 ;
M200 ; M200 ;
M20 ; M20 ;
M10 ; M25 ;
T100 ;
M27 ;
G00 Z-0.5 T00 M25 ;
G28 U0 ;
M132 ; M132 ;
:Z1-axis is limited during back machining :Back machining
(Machining with the gang tool post) (Machining with turret)
Parts ejection
G900 J50 ;
(HEAD2 single operation block jump)
M131 ; M131 ;
: (Machining with the gang tool post and
turret)
M82 ; M82 ;
Positioning for parts pickup
M500 ; M500 ;
Cut-off
M510 ; M510 ;
Parts pickup
M83 ; M83 ;
No bar stock detection N50 ;
M99 ; M99 ;
8-116
8-16-1 Program Pattern for the HEAD1 Machining
For a positioning command of each axis, refer to the section “6-4. Tool holder tables” and “8-4.
Coordinate system”.
⑤ Press the Z1-AXIS STROKE CHECK key to turn the light on.
(The program will be automatically one cycle stop available state.)
⑦ After one cycle stop, press the HEAD key SIMUL and the MODE key MACRO
to turn the light on.
⑨ Press the START button . This moves the absolute zero point and X-axis to the
cut-off complete position, and will move the other axis to the reference point. Also G120
Z0 setting for Z1-axis will be performed.
Setting method 2.
① Press either of the MODE key MDI or JOG to turn the light on, and move
the Z1-axis to the absolute zero point.
8-117
Setting method 3.
Set the absolute zero point for Z1-axis in the MEMORY operation.
G120 Z0 ;
M99 ;
Program Beginning
[HEAD1]
O1234 ; Program number
G131 ; The turret is used by the HEAD1 side (waiting for the HEAD2 side.)
G99 G40 G97 M09; Feed per revolution, tool nose radius compensation cancel, constant
surface speed control cancel, main C-axis control OFF
M03 S500 ; The main spindle forward rotation, 500min-1
M11 ; Main collet unclamp
G00 Z0 T00 ; Move to Z0 in rapid traverse, tool offset cancel
G28 V0 ; The Y-axis moves to the reference point
M200 ; Waiting for M200 on HEAD2
M20 ; One cycle stop
M10 ; Main collet clamp
T100 ; Cut-off tool selection (T100 is exclusive use for cut-off tool)
M27 ; Broken cut-off tool detection ON
G00 Z-0.5 T00 M25 ; A material retracts from the cut-off tool in rapid traverse, coolant1
ON
G28 U0 ; The X-axis moves to the reference point
8-118
No Bar Stock Detection Program
[HEAD1]
M80 ;
/G00 X (material diameter+1.0)W-0.5 ;
/G00 W (cut-off tool width) ;
/M98 P7000 ;
M81 ;
M99 ;
Always add a "/" (slash code) to the head of programs between M80and M81.The program
executes these blocks only when the no barstock signal outputs.
Determine the subprogram O7000 according to the following specifications. Refer to the next
example and register into the CNC memory.
8-119
Automatic bar feeder, standard ◇ Automatic bar feeder, inching movement
Stationary guide bush
Revolving guide bush Revolving guide bush
[HEAD1] [HEAD1]
O7000 ; O7000 ;
N1 G01 U-2.0 F0.015 ; N1 G01 U-2.0 F0.015 ;
N2 G00 U2.0 M26 ; N2 G00 U2.0 M26 ;
N3 G04 U3.0 ; N3 G04 U3.0 ;
N4 M03 S500 ; N4 M03 S500 ;
N5 G01 W-50.0 F3.0 ;・・・・・・・ N5 G01 W-50.0 F3.0 ;
N6 M05 ; N6 M05 ;
N7 M62 ; N7 M62 ;
N8 M11 ; N8 M11 ;
N9 M00 ;・・・・・・・・・・・・・・・・・・・・・ N9 G00 W50.0 ;
N10 M10 ; N10 M00 ;
N11 M63 ; N11 M03 S300 ;
N12 G04 U3.0 ; N12 G04 U10.0 ;
N13 M03 S500 ; N13 M00 ;
N14 G01 W50.0 F2.0 M25 ;・・ N14 G00 W-50.0 ;
N15 M03 S1500 ; N15 M10 ;
N16 G01 X-2.5 F0.01 ; N16 M63 ;
N17 M99 ; N17 G04 U3.0 ;
N18 M03 S500 ;
N19 G01 W50.0 F2.0 M25 ;
N20 M03 S1500 ;
N21 G01 X-2.5 F0.01 ;
N22 M99 ;
8-120
Turning
Machining drawing
Program example
Gang tool post
[HEAD1]
T200 ;
G00 X16.0 Z-0.5 T02 M03 S2500 ;
G01 X8.0 F0.1 ;
G01 X10.0 Z0.5 F0.02 ;
G01 Z15.0 F0.03 ;
G04 U0.05 ;
G01 X10.8 F0.02 ;
G02 X14.0 W1.6 R1.6 F0.02 ;
G01 Z25.0 F0.04 ;
G04 U0.03 ;
G01 X16.0 W1.0 F0.02 ;
For machining on the turret side, change the X to the Y in the above program
example.
8-121
Circular Interpolation
This command will move a tool from the current position to the specified position with an arc of
the commanded radius.
The radius command is set within 180. To set a circular arc that is exceeding 180゚, divide the
value into two blocks and command it.
8-122
X, A, Y, B, Z : End point coordinates of arc. (X and Y is diameter value)
Address X, T and Z can be input with the incremental command.
R: The radius value of arc.
F: The feed rate along the arc
(2) Turret
16mm standard wedge type [78101]
[HEAD1]
M131 ;
T1300 ;
G00 Y11.0 Z6.0 T13 ;
G01 Y10.0 F0.03 ;
G02 Y6.0 Z 8.0 R2.0 F0.02 ;
G01 Z11.5 F0.03 ;
G01 Y11.0 F0.1 ;
G00 T00 ;
The tool width (2mm) is being added to the Z dimension.
8-123
Single Point Threading
Machining drawing
Program example
17 mm-overhang tool wedge type □
16mm [33101] is for the 4-station tool holder of the gang
tool post.
[HEAD1]
T300 ;
M03 S2000 ;
G00 X17.0 Z29.0 T03 ; The Z-axis command value includes a tool nose shifting amount
(17+2) mm.
G00 X11.0 M24 ; Chamfering OFF
G01 X8.73 F0.03 ; Under cut machining (minor diameter)–(0.020.1)
G00 X13.0 ; The start point of X is greater than the tread diameter+2P
M03 S1000 ;
G04 U1.0 ; Rotation waiting time
G92 X9.58 W9.0 F1.0 ;
X9.26 ;
X9.03 ; Single point threading
X8.93 ;
X8.83 ;
G00 X17.0 S ;
G00 T00 ;
8-124
Turret
Standard wedge type □
16mm [78101]
[HEAD1] [HEAD2]
G140 ;
M131 ; M131 ;
T1400 ;
,E –17.0 ; ,E approach command (E-axis positioning from HEAD1)
G00 Y17.0 Z29.0 M03 S2000 T14 ;
G00 Y11.0 M24 ;
G01 Y8.73 F0.03 ;
G00 Y13.0 ;
M03 S1000 ;
G04 U1.0 ;
G92 Y9.58 W9.0 F1.0 ;
Y9.26 ;
Y9.03 ;
Y8.93 ;
Y8.83 ;
G00 Y17.0 S ;
G00 T00 ;
8-125
Drilling
Machining drawing
Program example
Turret Turret
Single sleeve holder/deep Triple sleeve holder main/back
[78111] [43111,43112]
Center T1100 Center T1351 Y36.0
Drilling T1200 Drilling T1352 Y–34.0
[HEAD1] [HEAD1]
M131 ; M131 ;
T1100 ; T1351 ;
M03 S2000 ; G00 Y90.0 Z-0.5 M03 S2000 T31 ;
G00 Y90.0 Z-0.5 T11 ; G00 Y36.0 ;
G00 Y0 ; G00 Z10.0 ;
G00 Z10.0 ; G01 W2.2 F0.03 ;
G01 W2.2 F0.03 ; G04 U0.1 ;
G04 U0.1 ; G00 Z-0.5 ;
G00 Z-0.5 ; G00 T00 ;
G00 Y90.0 ; T1352 ;
G00 T00 ; G00 Y-34.0 M03 S2500 T32 ;
G28 V0 ; G00 Z10.0 ;
T1200 ; G01 W8.5 F0.04 ;
G00 Y90.0 Z-0.5 S2500 T12 ; G04 U0.1 ;
G00 Y0 ; G00 Z-0.5;
G00 Z10.0 ; G00 T00 ;
G01 W8.5 F0.04 ; G28 V0 ;
G04 U0.1 ;
G00 Z-0.5 ;
G00 T00 ;
G28 V0 ;
G00 Z ; Adjust the value according to the length of tool installation length.
8-126
Tap and Die Machining
Machining drawing
Program example
Turret
Triple sleeve holder main/back [43112]
Die sleeve T1353 Y36.0
[HEAD1] [HEAD2]
G140 ;
M131 ; M131 ;
T1353 ;
,E–0.8 ; ,E approach command(E-axis positioning from HEAD1)
G00 Y90.0 Z-0.5 M03 S500 T23 ;
G00 Y36.0 ;
G00 Z10.0 ;
G99 ;
G25 ;
G184 W5.0 F1.0 ;・・・・Front threading, W=Part thread length, F=Thread pitch
G26 ;
G00 Z–0.5 ;
G00 T00 ;
G28 V0 ;
8-127
Front Rigid Tapping
Machining drawing
Program example
Turret
Triple sleeve holder main/back [43111, 43112]
Drill sleeve T1353 Y36.0
[HEAD1]
M131 ;
T1353 ;
G28 W0 ;
G00 Y90.0 Z-0.5 T30 ;
G00 Y36.0 ;
G00 Z10.0 ;
G150 ;
G99 M05 ; Feed/rev, main spindle stop
M29 S500 ; RIgid tapping rotation command
G84 W5.0 F0.8 ; ··················· Front threading, W=Part thead length, F=thread pitch
G80 ; Rigid tapping cancel
G00 Z-0.5 ;
G00 T00 ;
G28 V0 ;
G154 ;
Command G150; and G99 M05 ; before M29.
Command M29 block and G84 block continuously.
The program example shows machining of a right-handed screw.
When machining a left-handed threading, set the keep relays K07-bit6 (front rigid tapping)
and K07-bit7 (back rigid tapping) to "1".
Maximum spindle speed at rigid tapping is1500min-1.
G00 Z : Adjust the value of Z ; according the tool installation length.
Adjust the value of G84W5.0 after actual machining.
8-128
Main Spindle Indexing (C-axis control)
C-axis reference point (C0) positioning should be commanded as an initial indexing.
A direction of positive indexing equals to M03 direction of main spindle rotation.
Commanding method
When indexing the position of 90 degree from the machining position of the gang tool
post.
Machining by the gang tool post ········ Command G00 C90.0 ; or G00 H90.0 ;
Machining by the turret ··················· Command G203 C90.0 ; ,G00H–90.0 ; or G00 C270 ;
Program example
[HEAD1]
M08 ; Main C-axis control ON
G00 C0 ; Main spindle reference point return
M06 ; Main spindle clamp ON
8-129
Cross Drilling and Cross Tapping
NOTICE
During the cross drilling and cross tapping, be sure to input a Z-axis coordinate command
(absolute value) to the G00 (positioning) block after the tool selection.
Machining drawing
8-130
Use the X cross-rigid tap cycle (G784) for tapping when using the milling unit ER16 [33150]
installed on the gang tool post.
Command a pitch amount of G784 with the address U (incremental).
Command G784 (X cross rigid tapping cycle) after commanding M38.
Alarm may occur if M38 is commanded just before G784. In this case, input dwell between
M38 and G784, or command M code other than M38.
Program example shows a right-handed machining.
For the left-handed machining, change “M36” to ”M37”.
Do not command the approach function for the turret during the X cross-rigid execution. If it
is commanded, the approach function may not work.
The feed function designation will be G98 (mm/min) by execution of G784.
Program example
[HEAD1]
T700 ; Tool selection
M08 ; C-axis control ON
G101 ; Gang tool post feed/rev
M36 S2000 ; X power-driven tool forward rotation 2000min-1
G00 X43.0 Z23.0 C0 T07; Positioning: X20(0.52)[(3625)2]43.0 Z101323
X power-driven tool shifts 13mm in Z direction
G06 ; Main spindle clamp ON
G01 U-29.0 F0.04 ; ……………・ Drilling
G01 X43.0 F0.1 ; Drill retracts
M38 ; X power-driven tool stops
G00 T00 ; Offset cancel
T800 ; Tool selection
G00 X44.0 Z23.0 T08 ; Positioning: X20(1.02)[(3625)2]44.0
Z101323.0 Be sure to command after tool selection
G784 U–20.0 F1.0 M36 S500 ; Threading: U= screw length on drawing2
M38 ; X power-driven tool stops
M09 ; C-axis control OFF
G00 T00 ; Offset cancel
G28 U0 ; X-axis reference point return
G99 ; Feed per revolution
Positioning:
X = Bar diameter +(allowance2)+[(tool length–standard tool length)2]
Standard tool length・・・・The tool length to the center of guide bush at X0 positioning.
Z = Machining position on drawing + shift amount of tool in Z direction
8-131
Use the Y cross-thread cycle (G484) for tapping when using the cross tapping unit ER11
[20151] installed on the turret.
Machining drawing
Program example
[HEAD1]
M07 ; Main spindle clamp OFF
G00 H180.0 ; 180 indexing
M06 ; Main spindle clamp ON
T1200 ; Tool selection
G103 ; Feed/rev for turret power-driven tool
M46 S500 ; Y power-driven tool forward rotaion 500 min-1
G00 Y46.0 Z40.0 T12 ; Positioning Y=20+(12)+[(33-21)2]=46.0
Z=10+30=10
Be sure to commnad the positioning after tool selection
G484 V-20.0 F1.0 ; Threading V=thread length in a drawing 2
M48 ; Y power-driven tool stop
M09 ; C-axis control OFF
G00 T00 ; Offset cancel
G28 V0 ; Y-axis reference point return
G99 ; Feed per revolution
Positioning:
Y = Bar diameter +(allowance2)+[(tool length–standard tool length)2]
Standard tool length・・・・The tool length to the center of guide bush at Y0 positioning.
Z = machining position on drawing + shift amount of tool in the Z direction
8-132
Use the Y cross-rigid tap cycle (G884) for tapping when using the cross-drilling unit ER16
[20150] installed on the turret.
Command a pitch amount of G884 with the address V (incremental).
Program example shows a right-handed machining.
For the left-handed machining, change “M46” to ”M47”.
Do not command the approach function of gang tool post in the Y cross-rigid execution. If it is
commanded, the approach function may not work.
Machining drawing
Program example
[HEAD1]
M07 ; Main spindle clamp OFF
G00 H180.0 ; 180 indexing
M06 ; Main spindle clamp ON
M48 ; Y power-driven tool stop
T1200 ; Tool selection
G00 Y48.0 Z40.0 T12 ; Positioning Y=20+(12)+[(33–20)2]=48.0
Z=10+30=40
Be sure to commnad the positioning after tool selection
G884 V-20.0 F1.0 M46 S500 ; Threading V=thread length in a drawing 2
M48 ; Y power-driven tool stop
M09 ; C-axis control OFF
G00 T00 ; Offset cancel
G28 V0 ; Y-axis reference point return
G99 ; Feed per revolution
Positioning:
Y = Bar diameter +(allowance2)+[(tool length–standard tool length)2]
Standard tool length・・・・The tool length to the center of guide bush at Y0 positioning.
Z = machining position on drawing + a shift amount of tool in the Z direction
8-133
Milling
Machining drawing
Program example
When the cross drilling unit ER16 [20150] is mounted and machining with the B-axis.
[HEAD1]
T1700 ;
M08 ;
G103 ;
M46 S1000 ;
G00 B15.5 Z50.0 C0 T17 ; B=(D+d)/2+α=(20+10)/2+0.5=15.5
M06 ; Z=machining position on drawing + shift amount of tool in
the Z direction =20+30=50
G00 Y12.0 ; Y=(A+H-20)2=(20+6-20)2=12
G01 B-10.0 F0.03 ;
G00 Y50.0 ;
G00 T00 ;
G28 V0 ;
M48 ;
M09 ;
G99 ;
8-134
Slotting
The rotation speed of cutter is 0.3 times the command value for the slotting unit [43153,43154].
Therefore command spindle speed = desired spindle speed /0.3
Y power-driven tool feed/rev. (G103) = desired Y power-driven tool feed/rev. (G103) 0.3
Machining drawing
Program example
When the slotting unit [43153 or 43154] is mounted and machining with the B-axis.
[HEAD1]
T1800 ;
M08 ;
G103 ;
M46 S500 ; Y power-driven tool forward rotation S500=1500.3
G00 B22.0 Z-0.5 C0 T18 ; Positioning (Cutter is shifted 6mm in B-axis direction).
M06 ;
G00 Y17.0 ; Material center when one cutter use
G01 W5.5 F0.5 ;
G01 B-17.0 F0.08 ; Slotting
G01 Z-0.5 F0.5 ; Y power-driven tool feed per minute F0.08=0.270.3
M48 ;
M09 ;
G00 T0 ;
G28 V0 ;
G99 ;
8-135
■ X-Y (Y-X) Synchronous Control Function
Commanding the X (Y) axis movement will synchronize another axis movement (Y or X) as
same as its movement amount. Also this function moves the X (Y) axis in the same direction as
another axis movement. E.g. if the Y-axis moves in the positive (+) direction, the X-axis moves
in the positive (+) direction too.
Circular interpolation, tool nose R compensation and canned cycle are also possible.
M code commands
Y synchronizes X synchronizes
M50 M52
by X-axis control by Y-axis control
M51 X-Y synchronous control OFF M53 Y-X synchronous control OFF
Program example
[HEAD1] [HEAD2]
G140 ;
M131 ; M131 ;
T500 ;
T1400 ;
,E -0.2 ; ,E approach command (E-axis positioning from HEAD1 side)
G00 X21.0 Y21.0 Z-1.0 M03 S2500 T05 ;
G00 X13.0 Y9.0 ; ◇ Machining drawing
M52 ;
G01 Z10.2 F0.1 ;
G01 Y10.0 F0.1 ; X command is impossible
G01 Z18.2 F0.15 ;
G01 Y21.0 W5.5 F0.2 ;
M53 ;
G04 ; X-axis movement command is
G04 ; impossible after commanding M53.
G00 X25.0 Y25.0 ;
G00 T00 ;
G28 U0 V0 ;
8-136