M3 Programming
5.1 NC Program Structure
Field Code Changed
A program consists of a program body and program data. A program body is a list of machine operation commands in the sequence of machining processes. general, it is called a program. Program data is a list of prerequisites for operating the program. Program data is necessary for machine operation, and it is also useful as a means of operational communication between operators.
Program
Tool set data
In
Program body
............... Specification Specification of machine operation commands
Machining data
............... S ettings of requirement for machining
.................................................... Compensation for errors of mounted tool center, diameter, and longitudinal position
5.1.1 Program number (O number) To distinguish between programs, a program number is assigned to each program (program body and machining data). A program number can can have up to eight digits. Note that you you cannot use the numbers 8000 to 9999 because they are used with machine manufacturer's custom programs.
5.1.2 Explanation of machining data Comment [y1]: M3procE1.bmp
5-5
M3 Programming
Bar Stock O.D. Enter the dimension of the outer diameter of the material to be machined. Tool Positioning Point (DIA) Enter a clearance from the material outer diameter at the position to which a tool (T01 to T09) is moved when it is selected. selected. When another tool is selected, the currently selected tool is moved to this position. In other words, a tool (T01 to T09) i s moved to the tool positio ning point when it is selected, and the tool is moved to the tool positioning point when another tool is selected.
Cut-Off Tool T01 is automatically entered.
Cut-Off Speed The tip of a material is cut at the spindle speed in the Preparation mode.
Cut-Off Feed The tip of a material is cut at the feed rate in the Preparation mode.
Cut-Off End (DIA) The X axis is at the end position where cutting the tip of a material is completed in the Preparation mode. The end position is also the start position on the X axis axis from which the program starts.
Machining Length Enter the maximum move distance of the main spindle required for machining a workpiece. a. Workpiece length + cut-off tool width or rear turning tool width b. Workpiece length + tool shift amount for secondary machining Enter the value a or b that is necessary for the program. Pieces/1Chuck Enter the number of product to be machined in the program. Tubing Bar Stock I.D. When a pipe material is to be machined, enter the dimension of the pipe inner diameter. The entered value is used for cut-off cut-off machining machining in the Preparation mode. The tool moves to the position defined b y (pipe inner diameter – a a mm) at the cutting feed rate, and then it moves at the rapid feed rate until reaching the specified cut-off end position.
a
M12
M16
M20
M32
3.0
3.0
4.0
4.0
Example: When the pipe inner diameter is 10.0 mm and and the cut-off end position is X – 3.0: 3.0: The tool moves to the position X6.0 at the cutting feed rate, and then it moves at the rapid feed rate until reaching the end position X – 3.0. 3.0.
Back Spindle Chuck POS Enter the value of workpiece protruding from the back spindle.
5-6
M3 Programming
Work Receiver No. Enter the tool number of the turret tool post on which the workpiece separator is mounted.
Front Mach Holder Name Enter the name of the gang tool holder mounted on the machine.
Back Drill Holder Name Enter the name of the back drilling holder mounted on the machine.
Back Spindle Enter the type type of the back spindle mounted on the machine. machine. Support".
Select either "Standard" or "With
For M1216 type V, the setting shown below is required.
CAUTION When mounting the double cross spindle (MSC407) of turretholder for M1216 type V, MSC407 interferes with guide bushing if the turret X2 axis is operated at full stroke ( – side). To avoid interference, open the machining data screen and put a checkmark on the tool number to which MSC407 is to be mounted. The checked tool number is selected and the stroke area is changed. Be sure to provide this setting. X2 stroke Normal
98.0
After changed
80.0
Comment [u2]: M3procE3
(This screen shows the machine of type V of M1216 model.)
5-7
M3 Programming
5.2 Drive Axes and Multi-axis Control 5.2.1 Drive axes Comment [y3]: M3B11_5_1.wmf
X1 Y1
Z1
X3
Z3
Y2
Z2
Axis
X1
Type
Type
Model III
Model V
Gang tool post
Gang tool post
Z1
Headstock
Headstock
S1 = Main spindle
Y1
Gang tool post
Gang tool post
S2 = Back spindle
C1
Main spindle C axis
Main spindle C axis
S3 = Tool spindle of the gang tool post
X2
Turret
Turret
S4 = Tool spindle of the turret
Z2
Turret
Turret
S5 = Rotary guide bushing
Y2
–
Turret
C2
Back spindle C axis
Back spindle C axis
X3
Back spindle
Back spindle
Z3
Back spindle
Back spindle
Notes
The above photograph shows M32. Y2 axis is available for type V onl y.
5-8
X2
(S6 = Tool spindle of the back 3-spindle tool post)
M3 Programming
5.2.2 Coordinate values and signs The figure below shows the signs used for operation. For the X1, X2, X3, Y1, and Y2 axes, specify a coordinate value with the diameter that is equivalent to the distance from the center of the material. For the Z1, Z2, and Z3 axes, specify a coordinate value with the distance. Comment [y4]: C082x2-1.wmf Y1
X3
X1 e k o r t s 3 X
Z3
e k o r t s 1 X
c
Z3 stroke
b a
Z1 stroke with a rotary guide bushing Z1 stroke with a stationary guide bushing
Z2 stroke e k o r t s 2 X
Z1 X2
Z2
2 9 8 2
20 3 0
3 9
8 3
3 1 3 2
7 3
7 2
2 1
6 3
5 3
3 4
6 2 5 2
3 3
2 4
2 2
2 3
Y2
5-9
M3 Programming
CAUTION The gang tool post Y1 axis of the M31216/M32032 complies with diameter specifi cation. If you want to use machining programs for the M21216/M22032 when machining workpieces with the M32032, change the Y1-axis setting complying with the diameter specification, and then start running the machine. If you run the machine with the Y-axis setting complying with radius specification for the M22032, the tool and workpiece may interfere with each other.
X1 stroke Z1 stroke (Fixed guide bushing) Z1 stroke (Rotary guide bushing) Y1 stroke
M12 59.0
225.0 205.0 208.0
M16 59.0
215.0 205.0 208.0
M20 96.0
325.0 325.0
M32 96.0
325.0 325.0
275.0
275.0
Type III: 135.0
Type III: 135.0
Type V: 120.0
Type V: 120.0
X2 stroke
98.0
98.0
Z2 stroke
133.0
133.0
202.0
202.0
Y2 stroke
33.0
35.0
45.0
45.0
X3 stroke
195.0
195.0
235.0
235.0
Z3 stroke
280.0
280.0
410.0
410.0
78.0
88.0
135.0
135.0
a b c
Note Y2 axis is available for type V only.
5-10
98.0 10.0
98.0 10.0
135.0
135.0
10.0
10.0
M3 Programming
5.2.3 Coordinate values and signs for secondary machining The same concept as for turning applies to coordinate values and signs for secondary machining. Be sure to specify an X coordinate value with the diameter. As for signs, specify X coordinates as X on the side on which the tool exists, and specify Z coordinates as Z on the side on which the workpiece exists. X
Comment [ER5]: m2-08.wmf 0 . 1
6
Z
0 . 6
X-14.0 Z25.0 Through-hole position
2 1
Z+
5 . 6
Program zero point X0, Z0
15.0
10.0
X13.0 Z25.0 Positioning
X+
5-11
M3 Programming
5.2.4 Coordinate values and signs for back machining The following figure shows the positional relation among the back spindle, the back machining tools, and the workpiece chucked by the back chuck. a (Z3 return position)
Comment [ER6]: m2pro-009ax.wmf
T43 T42 T41
b
Tools on the back 3-spindle tool post
Back spindle
A
d
Maximum workpiece protruding length Enter the value for the "Back Spindle Chuck POS" in the machining data.
c
(Z2 return position)
Turret
M12
A
Maximum workpiece protruding length length
M16
M20
M32
25.0
25.0
65.0
65.0
a
290.0
290.0
420.0
420.0
b
35.0 (25.0)
35.0 (25.0)
80.0 (70.0)
80.0 (70.0)
c
133.0
133.0
202.0
202.0
d
5.0
5.0
5.0
5.0
Note: Values for the machine with the optional tool spindle of back 3-spindle too l post, S6, are enclosed in parentheses on Line b. Specify the coordinate values in the program assuming that the workpiece is fixed. Comment [ER7]: m2pro-009b.wmf
+Z +X
5-12
M3 Programming
Notes
The maximum workpiece protruding length from the en d face of the back spindl e are listed in row A of the table on the previous page. If the external external length of a workpiece exceeds exceeds the maximum maximum value, the workpiece interferes with another tool during tool selection. For the "Back Spindle Chuck POS" in the machining data, enter the workpiece protruding length from the back spindle. (workpiece protruding length = entire workpiece workpiece length – back back chuck position specified in the program) If the above value is not entered, the distance between the end face of the back spindle and the back machining tool becomes zero. Consequently, the back machining machining tool interferes with the workpiece protruding from the back spindle when b ack machining is performed.
5-13
M3 Programming
5.3 Machining Patterns To simplify a program used with a multi-axis machine, operations (machining) are grouped by purpose. An operational (machining) group is called a machining machining pattern. The following following six machining patterns are available:
Machining pattern cancel (G600) G600 cancels the machining patterns G610, G620, G630, G635, G640, and G650. In general, you do not have to use G600 during automatic operation.
(Power-on state)
Alternate machining (G610) This machining machining pattern is the standard machining pattern that is most frequently frequently used. The machining machining pattern is useful when the front machining in $1 to perform machining by alternately using a tool on the gang tool post and a tool on the turret tool post. The machining pattern also enables the back machining in $3 to perform machining with a tool on the back 3-spindle tool post.
Two-saddle machining (G620) Use this machining pattern for the front machining in $1 and $2 to perform simultaneous machining such as rough/finish machining and simultaneous thread cutting (different pitches permitted). The machining pattern can assign the spindle C axis (C1) to perform machining ($1) with a tool on the gang tool post or machining machining ($2) with a tool on the turret tool post. The machining pattern also enables the back machining in $3 to perform machining with a tool o n the back 3-spindle too l post.
Front/back parallel machining (G630) Use this machining pattern to perform front machining and back machining independently. This machining pattern permits you to perform back machining by alternately using a tool on the turret tool post and a tool o n the back 3-spindle too l post.
Front/back parallel machining (G635) Use this machining pattern to perform front machining and back machining independently. This machining pattern permits you to perform back machining by alternately using a tool on the turret tool post and a tool o n the back 3-spindle too l post. The specification in the back-machining program is different between G630 and G635: With G630, specify the turret for $2 and the 3-spindle for back machining for $3 in the program. program. With G635, specify specify both the turret and the 3-spindle for back machining for $2 in the program.
Simultaneous 3-lines machining (G640) This machining pattern permits you to perform the machining of three processes (e.g., outer diameter machining, front front center machining (drilling), and back center machining machining (drilling)). You cannot use this machining pattern for machining with tools on the back 3-spindle tool post.
Pick-off, Center-support (G650) Specify this machining pattern after alternate machining (G610), two-saddle machining (G620), and front/back parallel machining (G630, G635). This machining machining pattern enables the back spindle to pick-off the workpiece and support the long workpiece.
5-14
Formatted: Indent: Left: 0 cm, Hanging: 0,4 cm, Bulleted + Level: 1 + Aligned at: 1 cm + Tab after: 1,63 cm + Indent at: 1,3 cm, Tab stops: Not at 1,63 cm
M3 Programming
Notes You can use the machining pattern of a G code in the G700's. manual> for details on the use of G codes in the G700's.
See the M21216/2032
Axis control groups The axes of a multi-axis machine are grouped by operational purpose. The axis groups are called axis control groups. Create a program for each axis control group. The programs of the axis control groups are executed when the machine is started.
Superimpose control If the superimpose control function (G620, G640, or G650 machining pattern) is specified to an axis control group, its member axes that have been operating with different coordinate systems will operate synchronizing with the superimposed coordinate system. Example: With Z1-Z2 superimposed by G620, Z1 is the reference axis and Z2 is the superimposed axis. In a program, you can specify Z2 coordinate values on the coordinate system of Z1.
5-15
M3 Programming
5.3.1 Machining patterns, axes of axis control groups, and superimpose axes The table below shows axis assignment to axis control groups in the machining patterns. According to the table, you can select the axis control group that corresponds to the axis you want to move. Machining pattern
Machining pattern cancel
Command code
G600
Alternate machining
G610
Two-saddle machining
G620
Front/back parallel machining
G630
Front /back parallel machining
G635
Axes of axis control groups $1 X1, Z1, Y1, C1
$2 X2, Z2, Y2
$3 X3, Z3, C2
X1, Z1, Y1, C1
G612
X2, Z1, Y2, C1
G621
X1, Z1, Y1, C1
X2, Z2, Y2
X3, Z3, C2
Z1-Z2
G622
X1, Z1, Y1
X2, Z2, Y2, C1
X3, Z3, C2
Z1-Z2
X2, Z2, Y2, C2
– –
G632
X1, Z1, Y1, C1
G633
X1, Z1, Y1, C1
G637
X1, Z1, Y1, C1
X2, Z2, Y2, C2
G638
–
X3, Z3, C2
– – –
X3, Z3, C2
X1, Z1, Y1, C1
X2, Z2, Y2
Pick-off, center support
G650
Depending on the previous machining pattern
Depending on the X3, Z3, C2 previous machining pattern
M2
X3, Z3, C2
Axes of axis control groups $1 X1, Z1, Y1, C1
$2 X2, Z2, Y2
– – – –
X3, Z3, C2
X1, Z1, Y1, C1
Command code
– –
X3, Z3, C2
G640
1-cycle stop
–
G611
Simultaneous 3-lines machining
Machining pattern
Superimpose axis
$3 X3, Z3, C2
Z1-Z2, Z2-Z3 Z1-Z3
Superimpose axis
–
Notes
Use the machining pattern cancel G600 as the command to cancel the machining patterns G610 to G650. In general, you do not have to use the G600 command. Specify the machining patterns G610 to G650 for automatic operation. Use the G611 and G612 commands to select tools on the gang tool post and turret tool post. Use the G621 and G622 commands to select the axis control groups of the main spindle C axis. Use the G632, G633, G637, and G638 commands to select tools on the turret tool post and back 3-spindle tool post. Do not execute the machining pattern commands G600 to G650 in the MDI mode. Y2 axis is available for type V onl y.
5-16
M3 Programming
5.3.2 Machining pattern transition The machining pattern commands enable machining pattern transition. Only the alternate machining pattern (G610), two-saddle machining pattern (G620), and front/back parallel machining pattern (G630, G635) can be switched to th e pick-off machining pattern (G650). However, the pick-off machining pattern (G650) can be switched to all the other machining patterns. Comment [ER8]: word
Alternate machining G610
Machining pattern
Two-saddle
cancel
machining
Pick-off,
G620
Center-support
G600
G650
Simultaneous 3-lines machining G640
Front/back parallel machining G630 G635
Can be switched to all the other machining patterns.
5-17
M3 Programming
5.3.3 Machining pattern flow The machining pattern commands should be specified for all the three axis control groups. If you specify the U0 and W0 arguments in the block of the machining pattern command, each axis does not move to the fixed point when the machining pattern is switched.
Arguments (U0, W0 and V0) for the machining patterns U0 specifies that the X axis does not move to the fixed point, W0 specifies that the Z axis does not move to the fixed point, and V0 specifies that the Y axis does not move to the fixed point. The axis that moves varies depending on the specified axis control group. $2 moves the turret tool post (X2, Z2 and Y2 axes) and $3 moves the back headstock (X3 and Z3 axes). Axis control group
Argument
$2 U0, W0, V0
$3 U0, W0
Mobile section
Turret tool post (X2, Z2, Y2 axes)
Back headstock (X3, Z3 axes)
The fixed point varies depending on the machining pattern. U0 of $2 does not move the turret tool post to the return position. W0 of $2 does not move the turret tool post to the machining reference point. V0 of $2 does not move the turret tool post (Y axis) to the center of the main spindle. This argument is enabled only in the machine of type V. U0 of $3 does not move the back headstock to the center of the guide bushing. W0 of $3 does not move the back headstock to the return position or the back machining reference point.
5-18
M3 Programming
Program sample $1 G610 .................. Alternate machining (G611) : G612 : M41 .................. Backward movement of turret Z2 axis G611 : : G630 ..................Front/back parallel machining : : :
$2 $3 G610...................Alternate machining G610 .................. Alternate machining : : : : :
: : : G630..................... Front/back parallel G630 .................. Front/back s parallel machining machining G632 G632 : M40 ...................... Forward movement of turret Z2 axis : G633 G633 : : G610 .................. Alternate machining G610...................Alternate machining G610 .................. Alternate machining (G611) : : : G612 : : : G650 ..................................... Pick-off G650......................................Pick-off G650 .....................................P ick-off : : G610 .................. Alternate machining G610...................Alternate machining G610 .................. Alternate machining : : M56 G999 G999 G999 N999 N999 N999 M02 M02 M02 M99 M99 M99 % % %
Notes Be sure to cancel the coordinate system shift command and compensation command before switching the machining pattern. However, you do not have to cancel the compensation command when switching to G650.
5-19
M3 Programming
5.3.4 Alternate machining (G610) This machining pattern is the standard machining pattern that is most frequently used. The machining pattern is useful when the front machining in $1 t o perform machining by alternately using a tool on the gang tool post and a tool on the turret tool post. The machining pattern also enables the back machining in $3 to perform back machining with a tool on the back 3-spindle tool post. Command format $1 G610
$2 G610 U0 V0 Z
$3 G610 W0
Axis control group Specify this command for all the axis control groups $1, $2, and $3. Arguments
$2 U0:
$2 V0:
$2 Z
$3 W0:
The turret tool post (X2 axis) does not move. If the argument is not specified, the turret tool post moves to the return position. The turret tool post (Y2 axis) does not move. If the argument is not specified, the turret tool post moves to the center of the main spindle. This argument is enabled only in the machine of type V. : Specify this argument to change the point to which the turret tool post (Z2 axis) moves. For example, when Z-5.0 is specified, the turret tool post (Z2 axis) moves to the position 5.0 mm away from the forward end position. If the argument is not specified, the turret tool post (Z2 axis) moves to the forward end position (the position opposite to the gang tool post). The back headstock (Z3 axis) does not move. If the argument is not specified, the back headstock moves to the return position.
This machining pattern automatically enters the queuing state. Cancel the coordinate system shift command and compensation command before executing the machining pattern command. If you specify the U0, W0 and V0 arguments in the block of the machining pattern command, each axis does not move to the fixed point when the machining pattern is switched. The axes automatically move to the positions shown in the figure below when the alternate machining pattern command is executed. The following commands are necessary for machining that is performed by alternately usin g a tool on two tool posts. G611 is initially set when the G610 commands is specified. .......... Gang tool post select (Selection of a tool on the gang tool post) G611 .......... Turret select (Selection of a tool on the turret tool post) G612 Specify G611 or G612 for $1.
5-20
M3 Programming
Pre-selection of a tool A tool on the gang tool post and a tool on the turret tool post can be pre-selected in the G610 mode. In G611 mode (gang tool post select), you can specify a tool (T2000's) on the turret tool post for selecting the tool while a tool on the gang tool post is machining. Conversely, in G612 mode (turret select), you can specify a tool (T0100's) on the gang tool post for selecting the tool while a tool on the turret tool post is machining. To use the pre-selected tool on the gang tool post, switch the G612 mode to the G611 mode. To use the pre-selected tool on the turret tool post, switch the G611 mode to the G612 mode.
CAUTION To pre-select a turret tool using G611, the distance between the gang tool and the turret tool must be at least 20.0 mm in radius to prevent interference.
5-21
M3 Programming
Operation sample (1) The turret tool post (X2 axis) moves to its return position at the rapid feed rate. (2) The turret tool post (Y2 axis) moves to th e center of the main spin dle at the rapid feed rate. The turret tool post (Z2 axis) moves to the position opposite to the gang tool post at the rapid feed rate. The back headstock (Z3 axis) moves to the return position at the rapid feed rate. Comment [y9]: 05-14x1-1.wmf
X1
X1 axis Does not move. (2) Z3 axis Z3 axis Return position X3 axis Does not move.
b Z1 Z3
(1) X2 axis (2) Y2 axis (3) Z2 axis c
Z3 machine zero point
M12
M16
(1) to (3) indicate the operation sequence.
M20
M32
b
80.0
80.0
90.0
90.0
c
290.0
290.0
420.0
420.0
5-22
X2 axis Return position of the tool on the turret tool post Z2 axis Position opposite to the gang tool X2 Y2 axis Center of the main spindle
M3 Programming
Macro specification Command code Name
G610 Alternate machining
$1
Axis control group Axes of axis control group
G611
X1, Z1, Y1, C1
G612
X2, Z1, Y2, C1
Superimpose Coordinate system
– X1-X2 switching and Y1-Y2 switching by G611 and G612 commands
Argument
$2
– – –
$3 X3, Z3, C2
–
Z2: Alignment with the front Z3: Alignment with the machining reference machine coordinate point U0: The turret tool post (X2) W0: T he back spindle (Z3) does not move. If the does not move. If the argument is not argument is not specified, the X2 axis specified, the Z3 axis moves to the return moves to the return position. position. V0: The turret tool post (Y2) does not move. If the argument is not specified, the Y2 axis moves to the center of the main spindle. Z : Specify this argument to change the point to which the turret tool post (Z2) moves.
Spindle with which synchronous feed is enabled
Main spindle
–
Back spindle
Spindle with which constant surface speed control is enabled
Main spindle
–
Back spindle
Cutting block interlock
Main spindle
T command
Gang tool post and turret tool post
Others
–
– – –
Back spindle Back 3-spindle tool post and back spindle
–
5-23
M3 Programming
Program sample $1 $2 G610 .................. Alternate machining G610 ................. Alternate machining (G611)..................... Gang tool select T2100........... Pre-selection of the tool : : G612 ...............................Turret select T0200........... Pre-selection of the tool G00 Z–0.5 Machining with G01 Z5.6 F0.1 T21 T2100 G00 Z–0.5 T00 G611 ......................... Gang tool select T2500 X17.0 ............. Pre-selection of the tool G00 X9.0 Z–0.5 T02 G01 X12.0 Z1.0 F0.08 Machining with Z17.8 T0200 X15.2
$3 G610 .................. Alternate machining T4100 G00 Z–0.5 G01 Z3.0 F0.1 T41 G00 Z–0.5 T00 : : T4000 ............................ Back spindle
X17.0 Z18.7 : :
Notes
Each axis control group should hold the feed per rotation command and feed per minute command as modal functions. Specify the main spindle speed command for $1, and specify the back spindle speed command for $3. You can create a $1 program similar to a twin-turret lathe program assuming the end face of the workpiece on the front side to be the reference point. You can create a $3 program similar to a 2-axis lathe p rogram assuming the end face of the workpiece on the back side to be the reference point. G610 is a modal G code that is enabled until another machining pattern command is executed. The turret Z2 axis moves to the position (the forward end position) opposite to the gang tool post. If you want to change the position of the turret Z2 axis during G610 execution, specify M40 Z . See . Y2 axis is available for type V onl y.
5-24
M3 Programming
5.3.5 Two-saddle machining (G620) Use this machining pattern for the front machining in $1 and $2 to perform simultaneous machining such as rough/finish machining and simultaneous thread cutting (different pitches permitted). The machining pattern can assign the main spindle C axis (C1) to perform machining in $1 with a to ol on the gang tool post or machining in $2 with a tool on the turret to ol post. The machining pattern also enables the back machining in $3 to perform back machining with a tool on the back 3-spindle tool post. Command format $1
$2
$3
G620
G620 U0 W0 V0
G620 W0
Axis control groups Specify this command for all the axis control groups $1, $2, and $3. Arguments
$2 U0:
The turret tool post (X2 axis) does not move. If the argument is not specified, the turret tool post moves to the return position. $2 W0: The turret tool post (Z2 axis) does not move. If the argument is not specified, the turret tool post moves to the position 5.0 mm away from the end face of the workpiece on the front side. $2 V0: The turret tool post (Y2 axis) does not move. If the argument is not specified, the turret tool post moves to the center of the main spindle. This argument is enabled only in the machine of type V. $3 W0: The back headstock (Z3 axis) does not move. If the argument is not specified, the back headstock moves to the return position.
This machining pattern automatically enters the queuing state. Cancel the coordinate system shift command and compensation command before executing the machining pattern command. If you specify the U0, W0 and V0 arguments in the block of the machining pattern command, each axis does not move to the fixed point when the machining pattern is switched. The axes automatically move to the positions shown in the figure below when the two-saddle machining pattern command is executed. The following commands are necessary for assigning the main spindle C axis. G621 is initially set when the G620 command is specified. .......... Main spindle C axis (C1) at $1 side enabled G621 .......... Main spindle C axis (C1) at $2 side enabled G622 Specify G621 or G622 for both $1 and $2. The commands are disabled when optional main spindle C axis is not mounted.
Main spindle C axis (C1)
M12
M16
M20
M32
Optional
Optional
Standard
Standard
5-25
M3 Programming
Operation sample (1) The turret tool post (X2 axis) moves to its return position at the rapid feed rate. (2) The turret tool post (Y2 axis) moves to the center of the main spind le at the rapid feed rate. The turret tool post (Z2 axis) moves to th e position 5.0 mm away from the end face of the workpiece on the front side at the rapid feed rate. The back headstock (Z3 axis) moves to the return position at the rapid feed rate. Comment [y10]: 05-18x1-1.wmf
X1
X1 axis Does not move. (2) Z3 axis Z3 axis Return position X3 axis Does not move.
b
5.0 Z1
External workpiece length from the end face of the workpiece on the front side
Z3
(1) X2 axis (2) Y2 axis
X2
(3) Z2 axis Z2
c
Z3 machine zero point
b c
5-26
M12 80.0
290.0
M16 80.0
290.0
X2 axis Return position of the tool on the turret tool post Z2 axis The position 5.0 mm away from the end face of the workpiece on the front side Y2 axis Center of the main spindle
(1) to (3) indicate the operation sequence.
M20 90.0
420.0
M32 90.0
420.0
M3 Programming
Macro specification Command code Name
G620 Two-saddle machining
$2
$3
G621
X1, Z1, Y1, C1
$1 G621
X2, Z2, Y2
X3, Z3, C2
G622
X1, Z1, Y1
G622
X2, Z2, Y2, C1
Axis control group Axes of axis control group Superimpose Coordinate system
– C1 switching by G621 and G622 commands
Z2 superimposed on Z1 Z2: Alignment of the front tool nose of the tool (on the turret tool post) with the end face of the workpiece on the front side. C1 switching by G621 and G622 commands
– Z3: Alignment with the machine coordinate
U0: The turret tool post (X2) W0: T he back spindle (Z3) does not move. If the does not move. If the argument is not argument is not specified, the X2 axis specified, the Z3 axis moves to the return moves to the return position. position. W0: The turret tool post (Z2) does not move. If the argument is not specified, the Z2 axis moves to the return position. V0: The turret tool post (Y2) does not move. If the argument is not specified, the Y2 axis moves to the center of the main spindle.
Argument
Spindle with which synchronous feed is enabled
Main spindle
Main spindle
Back spindle
Spindle with which constant surface speed control is enabled
Main spindle
Main spindle
Back spindle
Cutting block interlock
Main spindle
Main spindle
Back spindle
T command
Gang tool post
Turret tool post
Back 3-spindle tool post and back spindle
Others
–
–
–
5-27
M3 Programming
Program sample $1 : : G620 ................................Two-saddle T0200 G00 X16.0 Z–1.0 T02 G01 X6.0 F0.1 Z39.9 F0.08 X9.0Z39.9 F0.08 :X9.0 : :
$2 : : G620................................ Two-saddle T2100 G00 X16.0 Z–1.0 T21 G01 X5.0 F0.1 Z40.0 F0.04 X7.5 : :
$3 : : G620 ................................Two-saddle T4100 G00 Z–0.5 G01 Z3.0 F0.1 T41 G00 Z–0.5 T00 : : T4000 ............................ Back spindle
Notes
Each axis control group should hold the feed per rotation command and feed per minute command as modal functions. Specify the main spindle speed command for $1 or $2. The constant surface speed control command is enabled with axis control groups for which the speed command is specified. Specify the back spindle speed command for $3. You can create a $1 program similar to a 2-axis lathe p rogram assuming the end face of the workpiece on the front side to be the reference point. You can create a $2 program in the same manner as for the $1 program, regardless of the movement of the Z1 axis. You can create a $3 program with the same X and Z as for a 2-axis lathe program assuming the end face of the workpiece on the back side to be the reference point. G620 is a modal G code that is enabled until another machining pattern command is executed. Y2 axis is available for type V onl y.
5-28
M3 Programming
5.3.6 Front/back parallel machining (G630) Use this machining pattern to perform front machining and back machining independently. This machining pattern permits you to perform back machining by alternately using a tool on the turret tool post and a tool on the back 3-spindle too l post. Command format $1
$2
G630
$3
G630 U0 W0 V0 G630 U0 W0 I
Axis control groups Specify this command for all the axis control groups $1, $2, and $3. Arguments
$2 U0:
$2 W0:
$2 V0:
$3 U0:
$3 W0:
$3 I
The turret tool post (X2 axis) does not move. If the argument is not specified, the turret tool post moves to the return position. The turret tool post (Z2 axis) does not move. If the argument is not specified, the turret tool post moves to the position 5.0 mm away from the end face of the workpiece on the back side. The turret tool post (Y2 axis) does not move. If the argument is not specified, the turret tool post moves to the center of the main spindle. This argument is enabled only in the machine of type V. The back headstock (X3 axis) does not move. If the argument is not specified, the back headstock moves to the center of the guide bushing. The back headstock (Z3 axis) does not move. If the argument is not specified, the back headstock moves to the retract position. : Specifies the amount of shift from the zero point for back machining with the Z3 axis. Specify the I argument when the Z2 axis stroke is too short for drilling with the tool on the turret tool post for back machining. The Z2 and Z3 axes shift by I argument.
This machining pattern automatically enters the queuing state. Cancel the coordinate system shift command and compensation command before executing the machining pattern command. If you specify the U0, W0 and V0 arguments in the block of the machining pattern command, each axis does not move to the fixed point when the machining pattern is switched. The axes automatically move to the positions shown in the figure below when the front/back parallel machining pattern command is executed. The axes for back machining move when the G632 or G633 command is executed. The same commands are necessary for machining that is performed by alternately using two types of tools.
5-29
M3 Programming
Back turret select (G632) Use this command to perform back machining with a tool on the turret tool post. machining program for $2.
Specify the back
Command format $2 G632 U0 W0
$3 G632 I
Axis control groups Specify this command for both $2 and $3. Arguments
$2 U0:
$2 W0:
$3 I
5-30
The turret tool post (X2 axis) does not move. If the argument is not specified, the turret tool post moves to the return position. The turret tool post (Z2 axis) does not move. If the argument is not specified, the turret tool post moves to the position 5.0 mm away from the end face of the workpiece on the back side. : Specifies the amount of shift from the zero point for back machining with the Z3 axis. Specify the I argument when the Z2 axis stroke is too short for drilling with the tool on the turret tool post for back machining. The Z2 and Z3 axes shift by I argument.
M3 Programming
Back 3-spindle select (G633) Use this command to perform back machining with a tool on the back 3-spindle tool post. back machining program for $3
Specify the
Command format $2 G633 U0 W0
$3 G633 W1 I
Axis control groups Specify this command for both $2 and $3. Argument
$2 U0:
$2 W0:
$3 W0:
$3 I
The turret tool post (X2 axis) does not move. If the argument is not specified, the turret tool post moves to the return position. The turret tool post (Z2 axis) does not move. If the argument is not specified, the turret tool post moves to the position 5.0 mm away from the end face of the workpiece on the back side. The back headstock (Z3 axis) does not move. If the argument is not specified, the back headstock moves to the return position. : Specifies the amount of shift from the zero point for back machining with the Z3 axis. Specify the I argument when the Z2 axis stroke is too short for drilling with the tool on the turret tool post for back machining. The Z2 and Z3 axes shift by I argument. If the I argument is specified in the G633 command, the Z3 axis is not shifted the amount specified by the argument.
Pre-selection of a tool A tool on the turret tool post can be pre-selected in the G630 mode. In G633 mode (back 3-spindle select), you can specify a tool (T2000's) on the turret tool post for selecting the tool while a tool on the back 3-spindle tool post is machining. To use the pre-selected tool on the turret tool post, switch the G633 mode to the G632 mode.
5-31
M3 Programming
Operation sample
Back turret select (G632) (1) The turret tool post (X2 axis) moves to its return position at the rapid feed rate. (2) The back headstock (Z3 axis) moves to the return position at the rapid feed rate. The turret tool post (Z2 axis) moves to the p osition 5.0 mm away from the end face of the workpiece o n the back side at the rapid feed rate. (3) The back headstock (X3 axis) moves to the center of the guide bushing and the back headstock (Z3 axis) moves to the zero point for back machining at the rapid feed rate. Comment [y11]: 05-23x2-1.wmf
X1
(2) Z3 axis (3) X3 axis (3) Z3 axis X3 axis Center of guide bushing Z3 axis Zero point for back machining
X2
a
5.0
(2) Z2 axis
X2 axis Return position of the tool on the turret tool post Z2 axis The position 5.0 mm away from the end face of the workpiece on the back side
(1) to (3) indicate the operation sequence. Z2
Distance between zero points on the Z2 an d Z3 axes (d) + Return position on the Z2 axis (c)
a b
M12 80.0
256.0
M16 80.0
256.0
M20 90.0
346.0
b
Return position on the Z2 axis (c) (machining data) + 5mm
M32 90.0
346.0
c
4.0
4.0
4.0
4.0
d
30.0
30.0
70.0
70.0
5-32
Z1
(1) X2 axis
Back spindle chuck position (machining data)
+
Back spindle chuck position
M3 Programming
Back 3-spindle select (G633) (1) The turret tool post (X2 axis) moves to its return position at the rapid feed rate. (2) The back headstock (Z3 axis) moves to the return position at the rapid feed rate. The turret tool post (Z2 axis) moves to the po sition 5.0 mm away from the end face of the workpiece on the back side at the rapid feed rate. The back headstock moves toward the back 3-spindle tool post when the command for the tools T4000's is executed. Comment [y12]: 05-24x2-1.wmf
X1
(2) Z3 axis
Z3 axis Return position X3 axis Does not move. Back-end face of the workpiece when G632 (selection of tool on the turret tool post) is s ecified for 3
X3
a
5.0
Z3
(2) Z2 axis
X2 axis Return position of the tool on the turret tool post Z2 axis The position 5.0 mm away from the end face of the workpiece on the back side
(1) and (2) indicate the operation sequence. b
Return position on the Z2 axis (c) position (machining data) + 5mm
Z3 machine zero point
a
M12 80.0
M16 80.0
Z1
(1) X2 axis
M20 90.0
+
Back spindle chuck
M32 90.0
b
290.0
290.0
420.0
420.0
c
4.0
4.0
4.0
4.0
5-33
M3 Programming
Macro specification Command code Name
G630 Front/back parallel machining
Axis control group
$1
$2
$3
Axes of axis control group
X1, Z1, Y1, C1
–
–
Superimpose
–
Cancel of Z2 superimposition
Cancel of Z3 superimposition
Coordinate system
–
–
–
U0: The turret tool post (X2) U0: T he back spindle (X3) does not move. If the does not move. If the argument is not argument is not specified, the X2 axis specified, the X3 axis moves to the return moves to the return position. position. W0: The turret tool post (Z2) W0: T he back spindle (Z3) does not move. If the does not move. If the argument is not argument is not specified, the Z2 axis specified, the Z3 axis moves to the return moves to the return position. position. V0: The turret tool post (Y2) I : Specifies the amount does not move. If the of shift from the zero argument is not point for back specified, the Y2 axis machining with the Z3 moves to the center of axis. the main spindle.
Argument
Spindle with which synchronous feed is enabled
Main spindle
Back spindle
Back spindle
Spindle with which constant surface speed control is enabled
Main spindle
Back spindle
Back spindle
Cutting block interlock
Main spindle
Back spindle
Back spindle
T command
Gang tool post
Others
5-34
–
– –
– –
M3 Programming
Back turret select (G632) Command code
G632
Name
Front/back parallel machining – Back turret select
Axis control group
$2
$3
Axes of axis control group
X2, Z2, Y2, C2
–
Coordinate system
Z2: Alignment of the back tool nose of the X3: Alignment with the machine coordinate tool (on the turret tool post) the end face Z3: Alignment with the zero point for back of the workpiece on the back side. machining
Argument
U0: The turret tool post (X2) does not move. I If the argument is not specified, the X2 axis moves to the return position. W0: The turret tool post (Z2) does not move. If the argument is not specified, the Z2 axis moves to the position 5.0 mm away from the end face of the workpiece on the back side.
T command
Turret tool post
: Specifies the amount of shift from the zero point for back machining with the Z3 axis.
Alarm
Back 3-spindle select (G633) Command code Name
G633 Front/back parallel machining – Back 3-spindle select $2 $3
Axis control group Axes of axis control group
–
X3, Z3, C2
Coordinate system
–
Z3: Alignment with the machine coordinate
Argument
U0: The turret tool post (X2) does not move. W0: The back spindle (Z3) does not move. If the argument is not specified, the X2 If the argument is not specified, the Z3 axis moves to the return position. axis moves to the return position. W0: The turret tool post (Z2) does not move. I : Specifies the amount of shift from If the argument is not specified, the Z2 the zero point for back machining with axis moves to the position 5.0 mm away the Z3 axis. from the end face of the workpiece on the back side.
T command
Alarm
Turret tool post, back 3-spindle tool post, and back spindle
5-35
M3 Programming
Program sample
When machining a workpiece with a tool on the turret tool post before a tool on the back 3-spindle tool post: $1
: G630 ........... Front/back parallel machining T0200
G00 X12.0 Z–0.5 T02 G01 Z15.0 F0.1 : :
$2
: G630.......... Front/back parallel machining G632.......... Front/back parallel machining – Back turret select T2100 G00 X9.0 Z–0.5 T21 G01 X12.0 Z1.0 F0.03 Z30.0 : G633.......... Front/back parallel machining – Back 3-SP. select
$3
: G630 .......... Front/back parallel machining G632 .......... Front/back parallel machining – Back turret select
G633 ........Front/back parallel machining – Back 3-SP. select T4100 :
When machining a workpiece with a tool on the back 3-spindle tool post before a tool on the turret tool post: $1
: G630 ......... Front/back parallel machining T0200
$2
: G630......... Front/back parallel machining G633 ........Front/back parallel machining – Back 3-SP. select
G00 X12.0 Z–0.5 T02 G01 Z15.0 F0.1 : :
G632......... Front/back parallel machining – Back turret select G00 X9.0 Z–0.5 T21 Machining by T2100 :
5-36
$3
: G630 .......... Front/back parallel machining G633 .......... Front/back parallel machining – Back 3-SP. select T2100........ Pre-selection of the tool T4100 G00 Z–0.5 G01 Z3.0 F0.1 T41 G00 Z–0.5 T00 : G632 .......... Front/back parallel machining – Back turret select
M3 Programming
Notes
Each axis control group should hold the feed per rotation command and feed per minute command as modal functions. Specify the main spindle speed command for $1. Specify the back spindle speed command for $2 or $3. You can create a $1 program similar to a 2-axis lathe p rogram assuming the end face of the workpiece on the front side to be the reference point. Likewise, you can create $2 and $ 3 programs similar to a 2-axis lath e program assuming the end face of the workpiece on the back side to be the reference point. G630 is a modal G code that is enabled until another machining pattern command is executed. Be sure to execute the G632 or G633 command for both $2 and $3 after executing the G630 command. With the G632 command, specify the back machining program for $2. With the G633 command, specify the back machining program for $3. Y2 axis is available for type V onl y.
5-37
M3 Programming
5.3.7 Front/back parallel machining (G635) Use this machining pattern to perform front machining and back machining independently. This machining pattern permits you to perform back machining by alternately using a tool on the turret tool post and a tool on the back 3-spindle too l post. The specification in the back-machining program is different between G630 and G635: With G630, specify the turret for $2 and the 3-spindle for back machining for $3 in the program. With G635, specify both the turret and the 3-spindle for back machining for $2 in the program. Command format $1 G635
$2 $3 G635 U0 W0 V0 G635 U0 W0 I
Axis control groups Specify this command for all the axis control groups $1, $2, and $3. Arguments
$2 U0:
$2 W0:
$2 V0:
$3 U0:
$3 W0:
$3 I
The turret tool post (X2 axis) does not move. If the argument is not specified, the turret tool post moves to the return position. The turret tool post (Z2 axis) does not move. If the argument is not specified, the turret tool post moves to the position 5.0 mm away from the end face of the workpiece on the back side. The turret tool post (Y2 axis) does not move. If the argument is not specified, the turret tool post moves to the center of the main spindle. This argument is enabled only in the machine of type V. The back headstock (X3 axis) does not move. If the argument is not specified, the back headstock moves to the center of the guide bushing. The back headstock (Z3 axis) does not move. If the argument is not specified, the back headstock moves to the return position. : Specifies the amount of shift from the zero point for back machining with the Z3 axis. Specify the I argument when the Z2 axis stroke is too short for drilling with the tool on the turret tool post for back machining. The Z2 and Z3 axes shift by I argument.
This machining pattern automatically enters the queuing state. Cancel the coordinate system shift command and compensation command before executing the machining pattern command. If you specify the U0, W0 and V0 arguments in the block of the machining pattern command, each axis does not move to the fixed point when the machining pattern is switched. The axes automatically move to the positions shown in the figure below when the front/back parallel machining pattern command is executed. The axes for back machining move when the G637 or G638 command is executed. The same commands are necessary for machining that is performed by alternately using two types of tools.
5-38
M3 Programming
Back turret select (G637) Use this command to perform back machining with a tool on the turret tool post. machining program for $2.
Specify the back
Command format $2 G637 U0 W0
$3 G637 I
Axis control groups Specify this command for both $2 and $3. Arguments
$2 U0:
$2 W0:
$3 I
The turret tool post (X2 axis) does not move. If the argument is not specified, the turret tool post moves to the return position. The turret tool post (Z2 axis) does not move. If the argument is not specified, the turret tool post moves to the position 5.0 mm away from the end face of the workpiece on the back side. : Specifies the amount of shift from the zero point for back machining with the Z3 axis. Specify the I argument when the Z2 axis stroke is too short for drilling with the tool on the turret tool post for back machining. The Z2 and Z3 axes shift by I argument.
5-39
M3 Programming
Back 3-spindle select (G638) Use this command to perform back machining with a tool on the back 3-spindle tool post. back machining program for $2
Specify the
Command format $2 G638 U0 W0
$3 G638 W0 I
Axis control groups Specify this command for both $2 and $3. Argument
$2 U0:
$2 W0:
$3 W0:
$3 I
The turret tool post (X2 axis) does not move. If the argument is not specified, the turret tool post moves to the return position. The turret tool post (Z2 axis) does not move. If the argument is not specified, the turret tool post moves to the position 5.0 mm away from the end face of the workpiece on the back side. The back headstock (Z3 axis) does not move. If the argument is not specified, the back headstock moves to the return position. : Specifies the amount of shift from the zero point for back machining with the Z3 axis. Specify the I argument when the Z2 axis stroke is too short for drilling with the tool on the turret tool post for back machining. The Z2 and Z3 axes shift by I argument. If the I argument is specified in the G638 command, the Z3 axis is not shifted the amount specified by the argument.
Pre-selection of a tool A tool on the turret tool post can be pre-selected in the G635 mode. In G638 mode (back 3-spindle select), you can specify a tool (T2000's) on the turret tool post for selecting the tool while a tool on the back 3-spindle tool post is machining. To use the pre-selected tool on the turret tool post, switch the G638 mode to the G637 mode.
5-40
M3 Programming
Operation sample
Back turret select (G637) (1) The turret tool post (X2 axis) moves to its return position at the rapid feed rate. (2) The back headstock (Z3 axis) moves to t he return position at the rapid feed rate. The turret tool post (Z2 axis) moves to the position 5.0 mm away from the end face of the workpiece on the back side at the rapid feed rate. (3) The back headstock (X3 axis) moves to the center of the guide bushing and the back headstock (Z3 axis) moves to the zero point for back machining at the rapid feed rate. Comment [y13]: 05-23x2-1.wmf
X1
(2) Z3 axis (3) X3 axis (3) Z3 axis X3 axis Center of guide bushing Z3 axis Zero point for back machining
X2
Back spindle chuck pos ition (machining data)
5.0
X2 axis Return position of the tool on the turret tool post Z2 axis The position 5.0 mm away from the end face of the workpiece on the back side
b
M12 80.0
256.0
Z1
(1) X2 axis (2) Z2 axis
(1) to (3) indicate the operation sequence. Z2
Distance between zero points on the Z2 and Z3 axes (d) + Return position on the Z2 axis (c)
a
a
M16 80.0
256.0
M20 90.0
346.0
b
Return position on the Z2 axis (c) (machining data) + 5.0mm
+
Back spindle chuck position
M32 90.0
346.0
c
4.0
4.0
4.0
4.0
d
30.0
30.0
70.0
70.0
5-41
M3 Programming
Back 3-spindle select (G638) (1) The turret tool post (X2 axis) moves to its return position at the rapid feed rate. (2) The back headstock (Z3 axis) moves to t he return position at the rapid feed rate. The turret tool post (Z2 axis) moves to th e position 5.0 mm away from the end face of the workpiece on the back side at the rapid feed rate. The back headstock moves toward the back 3-spindle tool post when the command for the tools T4000 's is executed. Comment [y14]: 05-24x2-1.wmf
X1
Z3 axis Return position X3 axis Does not move.
(2) Z3 axis
Back-end face of the workpiece when G637 (selection of tool on the turret tool post) is specified for $3
X3
a
5.0
Z3
b
M16 80.0
M20 90.0
M32 90.0
b
290.0
290.0
420.0
420.0
c
4.0
4.0
4.0
4.0
5-42
(1) and (2) indicate the operation sequence.
Return position on the Z2 axis (c) + Back spindle chuck position (machining data) + 5.0mm
Z3 machine zero point
M12 80.0
Z1
(2) Z2 axis
X2 axis Return position of the tool on the turret tool post Z2 axis The position 5.0 mm away from the end face of the workpiece on the back side
a
(1) X2 axis
M3 Programming
Macro specification Command code Name
G635 Front/back parallel machining
Axis control group
$1
$2
$3
Axes of axis control group
X1, Z1, Y1, C1
–
–
Superimpose
–
Cancel of Z2 superimposition
Cancel of Z3 superimposition
Coordinate system
–
–
–
U0: The turret tool post (X2) U0: T he back spindle (X3) does not move. If the does not move. If the argument is not argument is not specified, the X2 axis specified, the X3 axis moves to the return moves to the return position. position. W0: The turret tool post (Z2) W0: T he back spindle (Z3) does not move. If the does not move. If the argument is not argument is not specified, the Z2 axis specified, the Z3 axis moves to the return moves to the return position. position. V0: The turret tool post (Y2) I : Specifies the amount does not move. If the of shift from the zero argument is not point for back specified, the Y2 axis machining with the Z3 moves to the center of axis. the main spindle.
Argument
Spindle with which synchronous feed is enabled
Main spindle
Back spindle
Back spindle
Spindle with which constant surface speed control is enabled
Main spindle
Back spindle
Back spindle
Cutting block interlock
Main spindle
Back spindle
Back spindle
T command
Gang tool post
Others
–
– –
– –
5-43
M3 Programming
Back turret select (G637) Command code
G637
Name
Front/back parallel machining – Back turret select
Axis control group
$2
$3
Axes of axis control group
X2, Z2, Y2, C2
–
Coordinate system
Z2: Alignment of the back tool nose of the tool (on the turret tool post) with the end face of the workpiece on the back side.
X3: Alignment with the machine coordinate Z3: Alignment with the zero point for back machining
Argument
U0: The turret tool post (X2) does not move. I If the argument is not specified, the X2 axis moves to the return position. W0: The turret tool post (Z2) does not move. If the argument is not specified, the Z2 axis moves to the position 5.0 mm away from the end face of the workpiece on the back side.
T command
Turret tool post
: Specifies the amount of shift from the zero point for back machining with the Z3 axis.
Alarm
Back 3-spindle select (G638) Command code
Name Axis control group Axes of axis control group Coordinate system
G638
Front/back parallel machining – Back 3-spindle select $2 $3 X3, Z3, C2
–
–
Z3: Alignment with the machine coordinate
Argument
U0: The turret tool post (X2) does not move. W0: The back spindle (Z3) does not move. If the argument is not specified, the X2 If the argument is not specified, the Z3 axis moves to the retract position. axis moves to the return position. W0: The turret tool post (Z2) does not move. I : Specifies the amount of shift from If the argument is not specified, the Z2 the zero point for back machining with axis moves to the position 5.0 mm away the Z3 axis. from the end face of the workpiece on the back side.
T command
Turret, back 3-spindle tool post, and back spindle
5-44
Alarm
M3 Programming
Program sample
When machining a workpiece with a tool on the turret tool post before a tool on the back 3-spindle tool post: $1
: G635 ......... Front/back parallel machining T0200
G00 X12.0 Z–0.5 T02 G01 Z15.0 F0.1 : :
$2
: G635......... Front/back parallel machining G637......... Front/back parallel machining – Back turret select T2100 G00 X9.0 Z–0.5 T21 G01 X12.0 Z1.0 F0.03 Z30.0 : G638......... Front/back parallel machining – Back 3-SP. Select T4100 :
$3
: G635 ........ Front/back parallel machining G637 ........ Front/back parallel machining – Back turret select
G638 ........ Front/back parallel machining – Back 3-SP. select
When machining a workpiece with a tool on the back 3-spindle tool post before a tool on the turret tool post: $1
: G635 ......... Front/back parallel machining T0200
G00 X12.0 Z–0.5 T02 G01 Z15.0 F0.1 : :
$2
: G635......... Front/back parallel machining G638 ........Front/back parallel machining – Back 3-SP. select T2100 ...... Pre-selection of the tool T4100 G00 Z–0.5 G01 Z3.0 F0.1 T31 G00 Z–0.5 T00 : G637......... Front/back parallel machining – Back turret select G00 X9.0 Z–0.5 T21 Machining by T2100 :
$3
: G635 ........ Front/back parallel machining G638 ........ Front/back parallel machining – Back 3-SP. select
: G637 ........ Front/back parallel machining – Back turret select
5-45
M3 Programming
Notes
Each axis control group should hold the feed per rotation command and feed per minute command as modal functions. Specify the main spindle speed command for $1. Specify the back spindle speed command for $2. You can create a $1 program similar to a 2-axis lathe p rogram assuming the end face of the workpiece on the front side to be the reference point. Likewise, you can create $2 programs similar to a 2 -axis lathe program assuming the end face of the workpiece on the back side to be the reference point. G635 is a modal G code that is enabled until another machining pattern command is executed. Be sure to specify G637 or G638 for $2 and $3 after G635 specification. With G637 and G638, specify $2 in the back-machining program. Y2 axis is available for type V onl y.
5-46
M3 Programming
5.3.8 Simultaneous 3-lines machining (G640) This machining pattern permits you to perform the machining of three processes (e.g., outer diameter machining, front center machining (drilling), and back center machining (drilling)). You cannot use this machining pattern for machining with tools on the back 3-spindle tool post. Command format $1
$2
$3
G640
G640 U0 W0 V0
G640 W0
Axis control groups Specify this command for all the axis control groups $1, $2, and $3. Arguments
$2 U0:
The turret tool post (X2 axis) does not move. If the argument is not specified, the turret tool post moves to the return position. $2 W0: The turret tool post (Z2 axis) does not move. If the argument is not specified, the turret tool post moves to the position 5.0 mm away from the end face of the workpiece on the front side. $2 V0: The turret tool post (Y2 axis) does not move. If the argument is not specified, the turret tool post moves to the center of the main spindle. This argument is enabled only in the machine of type V. $3 W0: The back headstock (Z3 axis) does not move. If the argument is not specified, the turret tool post moves to the position 5.0 mm away from the end face of the workpiece on the back side.
This machining pattern automatically enters the queuing state. Cancel the coordinate system shift command and compensation command before executing the machining pattern command. If you specify the U0, W0 and V0 arguments in the block of the machining pattern command, each axis does not move to the fixed point when the machining pattern is switched. The axes automatically move to the positions shown in the figure below when the simultaneous 3-lines machining pattern command is executed.
5-47
M3 Programming
Operation sample (1) The turret tool post (X2 axis) moves to its return position at the rapid feed rate. (2) The turret tool post (Y2 axis) moves to the center of the main spind le at the rapid feed rate. The turret tool post (Z2 axis) moves to th e position 5.0 mm away from the end face of the workpiece on the front side at the rapid feed rate. The back headstock (Z3 axis) moves to the return position at the rapid feed rate. The back headstock (X3 axis) moves to the center of the guide bushing at the rapid feed rate. (3) The back headstock (Z3 axis) moves to t he position 5.0 mm away from the end face of the workpiece on the back side at the rapid feed rate. Comment [y15]: 05-30x1-1.wmf
X1 (2) Z3 axis (2) X3 axis (3) Z3 axis
X3 axis Center of guide bushing Z3 axis The position 5.0 mm away from the end face of the workpiece on the back side
X1 axis Does not move.
(1) X2 axis (3) Z2 axis (2) Y2 axis Z3
5.0
5.0
X2
Z2
5-48
Z1
X2 axis Return position of the tool on the turret tool post Z2 axis The position 5.0 mm away from the end face of the workpiece on the front side Y2 axis Center of the main spindle of the tool on the turret tool post Y axis (1) to (3) indicate the operation sequence.
M3 Programming
Macro specification Command code Name Axis control group Axes of axis control group Superimpose Coordinate system
Main spindle
G640 Simultaneous 3-lines machining $2 $3 X2, Z2, Y2 X3, Z3, C2 Z2 superimposed on Z1 Z3 superimposed on Z2 Z2: Alignment of the front X3: Alignment with the machine tool nose of the tool coordinate (on the turret tool post) Z3: Alignment of the back tool with the end face of the nose of the tool (on the turret workpiece on the front tool post) with the end f ace of side the workpiece on the back side U0: The turret tool post (X2) W0: The back spindle (Z3) does not move. If the argument is not does not move. If the specified, the Z3 axis moves to argument is not specified, the return position. the X2 axis moves to the return position. W0: The turret tool post (Z2) does not move. If the argument is not specified, the Z2 axis moves to the return position. V0: The turret tool post (Y2) does not move. If the argument is not specified, the Y2 axis moves to the center of the main spindle. Main spindle Back spindle
Main spindle
Main spindle
Back spindle
Main spindle Gang tool post
Main spindle Turret tool post
Back spindle Alarm
$1 X1, Z1, Y1, C1
– –
Argument
Spindle with which synchronous feed is enabled Spindle with which constant surface speed control is enabled Cutting block interlock T command Others
–
–
–
Program sample $1
: : G640 ...... Simultaneous 3-lines machining !2!3L1 G01 Z15.0 F0.03 X10.0 Z20.0 : :
$2
: : G640 ................ Simultaneous 3-lines machining G00 X–5.0 Z–1.0 !1!3L1 G01 Z3.5 F0.03 G00 Z–1.0 : :
$3
: : G640 .................. Simultaneous 3-lines machining G00 Z–1.0 !1!2L1 G01 Z3.5 F0.03 G00 Z–1.0 : :
5-49
M3 Programming
Notes
Each axis control group should hold the feed per rotation command and feed per minute command as modal functions. Specify the main spindle speed command for $1 or $2. Specify the back spindle speed command for $3. You can create a $1 program similar to a 2-axis lathe p rogram assuming the end face of the workpiece on the front side to be the reference point. You can also create a $2 program similar to a 2-axis lathe program assuming the end face of the workpiece on the front side to be the reference point. Likewise, you can create a $3 program similar to a 1-axis lathe program assuming the end face of the workpiece on the back side to be the reference point. G640 is a modal G code that is enabled until another machining pattern command is executed. Y2 axis is available for type V onl y.
5-50
M3 Programming
5.3.9 Pick-off, Center support (G650) Specify this machining pattern after alternate machining (G610), two-saddle machining (G620), and front/back parallel machining (G630). This machining pattern enables the back spindle to pick off workpiece and support the long workpiece. Command format $1
$2
$3
G650
G650 U0 V0
G650 W0
Axis control groups Specify this command for all the axis control groups $1, $2, and $3. Argument
$2 U0:
$2 V0:
$3 W0:
The turret tool post (X2 axis) does not move. If the argument is not specified, the turret tool post moves to the return position. The turret tool post (Y2 axis) does not move. If the argument is not specified, the turret tool post moves to the center of the main spindle. This argument is enabled only in the machine of type V. The back headstock (Z3 axis) does not move. If the argument is not specified, the back headstock moves to the return position.
This machining pattern automatically enters the queuing state. Cancel the coordinate system shift command before executing the machining pattern command. If you specify the U0, W0 and V0 arguments in the block of the machining pattern command, each axis does not move to the fixed point when the machining pattern is switched. The axes automatically move to the positions shown in the figure below when the pick-off, center-support command is executed.
5-51
M3 Programming
Operation sample (1) The turret tool post (X2 axis) moves to its return position at the rapid feed rate; and the back headstock (Z3 axis) moves to the return position at the rapid feed rate. (2) The turret tool post (Y2 axis) moves to the center of the main spin dle at the rapid feed rate. The back headstock (X3 axis) moves to the center of the guide bushing at the rapid feed rate. For the Z3 axis, the coordinate system is set with the end face of the workpiece on the front side as 0. Comment [y16]: 05-34x1-1.wmf
(1) Z3 axis X1
(2) X3 axis
X1 and Z1 Does not move.
X3 axis Center of guide bushing Z3 axis The coordinate system is set with the end face of the work iece on the front side as 0
a
(1) X2 axis Z1
Z3
(2) Y2 axis X2
X2 axis Return position of the tool on the turret tool post Z2 axis Does not move. Y2 axis Center of the main spindle of the tool on the turret tool post Y axis
M12
a
5-52
80.0
M16
80.0
M20
90.0
M32
90.0
(1) and (2) indicate the operation sequence.
M3 Programming
Macro specification Command code Name
G650 Pick-off, center support
$1
Axis control group Axes of axis control group
Depending on the previous machining pattern
Superimpose Coordinate system
$2 Depending on the previous machining pattern
– Depending on the previous machining pattern
Argument
–
– Depending on the previous machining pattern
$3 X3, Z3, C2 Z3 superimposed on Z1 X3: Alignment with the machine coordinate Z3: Alignment of the face of the back headstock cap nut with the end face of the workpiece on the front side
U0: The turret tool post (X2) W0: T he back spindle (Z3) does not move. If the does not move. If the argument is not argument is not specified, the X2 axis specified, the Z3 axis moves to the return moves to the return position. position. V0: The turret tool post (Y2) does not move. If the argument is not specified, the Y2 axis moves to the center of the main spindle.
Spindle with which synchronous feed is enabled
Main spindle
Main spindle
Back spindle
Spindle with which constant surface speed control is enabled
Main spindle
Main spindle
Back spindle
Cutting block interlock
Main spindle
Main spindle
Back spindle
T command
Depending on the previous machining pattern
Depending on the previous machining pattern
Back spindle
Others
–
–
–
5-53
M3 Programming
Program sample $1 $2 $3 G610 G610 G610 : : : : G99 M03 S1=1500 : T0100 : G00 Z85.0 T4000 ............................ Back spindle G650 ..................................... Pick-off G650......................................Pick-off G650 .....................................P ick-off G00 Z–2.0 M24 S2=1500 G98 G01 Z50.0 F1000 M15 !3L1 !1L1 G00 X17.0 G01 X–1.0 F0.03 G610 G610 G610 X–3.0 : : : : : :
Notes
Execute the pick-off command (G650) after alternate machining (G610), two-saddle machining (G620), and front/back parallel machining (G630, G635). At this time, the machining patterns of $1 and $2 are held. Since the Z3 axis moves superimposed on the Z1 axis in the G750 mode, executing the axis move command for $3 moves the Z3 axis to the position determined by the Z1 axis workpiece coordinates. Position the Z1 axis at cut-off position before specifying the G650 command. During pick-off operation (G650), you can move the Z2 and Z3 axes to the fixed points of an arbitrary machining pattern by specifying the G231 command. See . Y2 axis is available for type V onl y.
5-54
M3 Programming
5.4 S Functions (S Codes) The S functions specified in the following formats are called speed functions. The S functions are used to specify the speeds of the main spindle, the back spindle, the tool spindle of the gang tool post, and the tool spindle of the turret tool post. Command format S1 = S2 = S3 = S4 = S6 =
Main spindle Back spindle Tool spindle of the gang tool post Tool spindle of the turret tool post Tool spindle of the back 3-spindle tool post
Calculate the spindle speed from the following formula. whole integer.
N =
Error!
× 1000
N: V: D: :
Round the calculation result to the nearest
Speed (min – 1) Cutting speed (m/min) Workpiece diameter (mm) (With drilling:
Hole diameter)
Circular constant ( 3.14)
Command ranges of the S codes Spindle No.
Speed Name
M12
M16 – 1
M20 – 1
M32 – 1
200 to 8000min – 1
S1
Main spindle
200 to 12000min
200 to 10000min
200 to 10000min
S2
Back spindle
200 to 10000min – 1
200 to 10000min – 1 200 to 8000min – 1
200 to 7000min – 1
S3
Tool spindle of gang tool post
200 to 8000min – 1
200 to 8000min – 1 200 to 5000min – 1
200 to 5000min – 1
S4
Tool spindle of turret 200 to 6500min – 1 tool post
200 to 6500min – 1 200 to 5000min – 1
200 to 5000min – 1
S6
Tool spindle of back 3-spindle tool post
200 to 5000min – 1
200 to 5000min – 1 200 to 5000min – 1
200 to 5000min – 1
Note S6 (tool spindle of the back 3-spindle tool post) is optional.
5-55
M3 Programming
5.5 T Functions (T Codes) The T function determines a tool position where the tool can machine the workpiece. T codes for tool selection are as follows. T0100 to T0900 are for tools on the gang tool post. T2000 to T3900 are for tools on the turret tool post. T4100 to T4300 are for tools on the back 3-spindle tool post. T4000 is for the back spindle. A tool is positioned by the "T" command. The queuing position of a tool on the gang tool post can be set arbitrarily as the "Tool Positioning Point (DIA)" in the machining data. To machine thin material, set at least about 0.2 mm for the tool queuing point. Specify the "T" command with a 4-digit number. The first two digits correspond to the tool number. The last two digits correspond to the compensation number. Specify 00 as a compensation number in the compensation cancel state. Command format T Argument :
:
Up to 33 tool numbers can be specified, which is the total of tools (01-09) on the gang tool post, tools (20-3 9) on the turret too l post, tools (41- 43) on the back 3-spin dle tool post, and the back spindle (40). Compensation number of tool nose wear
Pre-selection of a tool with T code Ordinary T code selection calls the tool that is going to machine the workpiece. If the lathe has two or more tool posts, a tool on one tool post can be called while the tool on other tool post is machining the workpiece. This feature is called pre-selection. With the machining pattern G610, to pre-select a tool on the turret tool post (T2000's) in the G611 mode and a tool on the gang tool post (T0100's) in the G612 mode. With the machining pattern G630, to pre-select a tool on the turret tool post (T2000's) in the G633 mode. With the machining pattern G635, to pre-select a tool on the turret tool post (T2000's) in the G638 mode. For the machining patterns, see .
5-56
M3 Programming
Tools on the gang tool post T01
T03 T02
T04
T06
Comment [y17]: c84-1.wmf
T09
T07
T05
T08
Tools on the back 3-spindle tool post T43
T42
T41
Tools on the turret tool post T20 T29 3 9
T28
3 1
8 3
6 3
5 3
Back spindle
T26
T22
3 2
7 3
T27
T21
3 0
3 4
3 3
T23
T24 T25
T40
5-57
M3 Programming
5.5.1 Tool mounting positions and the types of machining The following table shows the tool mounting positions and the types of machining when GTF5216 (standard tool holder for M12) is used:
Mounting position
Tool no.
Outer diameter machining
Gang tool post
01
T0100
02
T0200
03
T0300
04
T0400
05
T0500
06
– – – – – – – – – – – – – – – – – – – – – – – – – – – –
07 08 09 Turret tool post
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
Back spindle
40
Back 3-spindle tool post
41
5-58
42 43
Tool spindle
– – – – – T0600 T0700 T0800 T0900
– – – – – – – – – – – – – – – – – – – – – – – –
Outer/inner diameter machining and Tool spindle
– – – – – – – – – T2000 T2100 T2200 T2300 T2400 T2500 T2600 T2700 T2800 T2900 T3000 T3100 T3200 T3300 T3400 T3500 T3600 T3700 T3800 T3900
– – – –
Pick-off
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – T4000
– – –
Inner diameter machining in back machining
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – T4100 T4200 T4300
M3 Programming
5.5.2 Tools on the gang tool post Command format T Q1 H
X
Z
Y
A
K3 E
Argument Specify this argument to select a tool without moving the currently machining tool to the positioning point. If the Q1 argument is not specified, the machine selects a tool after the currently machining tool moves to the position ("Tool Positioning Point (DIA)" + maximum DIA value of tool set data between current and next tool).
Q1:
H
:
Specify the distance by which the currently machining tool moves from the material outer diameter specified in the machining data. If the H argument is not specified, the tool moves to the position ("Tool Positioning Point (DIA)" + maximum DIA value of tool set data between current and next tool).
X
:
Specify the X1 axis work coordinate after tool selection. the tool moves to the positioning point.
If the X argument is not specified,
Z
:
Specify the Z1 axis work coordinate after tool selection. the Z argument is specified.
The Z axis does not move unless
Y
:
Specify the Y1 axis work coordinate after tool selection. the tool moves to the work zero point.
If the Y argument is not specified,
A
:
This argument is valid for only pre-selection of a tool (T0100's) on the gang tool post when the G612 command is specified. If the X argument is specified, specify the Z1 work coo rdinate effective when the selected tool starts moving to the specified position in the direction of X1 axis. If the A argument is not specified, the machine moves the selected tool to the X1 axis regardless of the Z1 axis work coordinate.
K3:
E
The Z3 axis (back spindle) becomes the target Z axis after tool selection. The default target axis is the Z1 axis. Only a number in the T0100's of the machining pattern G600 or G611 can be selected. The C2 axis (back C axis) is enabled as the target C axis. To change the X axis and C axis back to the original target axes (Z1 and C1), execute G611 and G600. :
Specify this argument to index the main spindle during tool selection. The specification is valid at transition from the turning process to the secondary machining process. If the tool pre-selection argument and the K3 argument are specified together, the specification is invalid.
5-59
M3 Programming
What is a positioning point? Positioning point = value specified for "Bar Stock O.D." in the machining data + value specified for "Tool Positioning Point (DIA)" in the machining data + the DIA value of the tool set data of the specified tool
Positioning point Tool positioning point
Value specified for "Tool Positioning Point (DIA)" in the machining data Diameter value of the tool set data of the specified tool
Value specified for "Bar Stock O.D." in the machining data
Note Setting and calling of tools for secondary machining that are mounted on the gang tool post: Observe the following if a tool for secondary machining mounted on the gang tool post is beyond the tool nose reference position in the diametrical direction (direction of X1 axis):
Set the protrusion length from the tool nose reference position for the DIA value of the tool set data that corresponds to the tool number . In this case, you do not have to set the protrusion length from the tool nose reference position for the "Tool Positioning Point (DIA)" in the machining data. For the tool positioning point in the machining data, generally set about 1.0 mm, or set 1.0 mm or more depending on the tool to be mounted. After calling the tool mounted beyond the tool nose reference position, you do not have to shift the coordinate system of the diametrical direction in the program. The tool is moved to the positioning point when the selection is completed.
5-60
Comment [ER18]: kz5-45.wmf
M3 Programming
Operation sample
T (1) The currently selected tool moves to the position ("Tool Positionin g Point (DIA)" + maximum DIA value of tool set data between current and next tool) at the rapid feed rate. (2) While keeping the X1 axis at the position (1), the machine moves the specified tool to the position (Y1 axis) at the rapid feed rate. (3) The specified tool moves to the positioning point at the rapid feed rate. T0300 T0400
T0300 T0400
Comment [ER19]: word
T0300 T0400
T0300 T0400 Positioning
Material
(1) The currently (2) While keeping the (3) The specified selected tool moves position ("Tool tool moves to to the position Positioning Point the positioning point. ("Tool Positioning (DIA)" + maximum DIA Point (DIA)" + value of tool set data maximum DIA between current and value of tool set next tool), the machine data between moves the specified current and next tool to the position. tool).
Note If an end-face drilling tool is currently selected or specified, the specified tool moves from the current position directly to the p ositioning poin t.
T Q1 (1) The specified tool moves from the current position directly to the positioning point at the rapid feed rate. Comment [ER20]: word
T0300 T0400 T0300 T0400 Positioning point
Material
(1) The specified tool moves from the current position directly to the positioning point.
5-61
M3 Programming
T H (1) The currently selected tool moves to the position ("Bar Stock O.D." in the machining data + value (diameter) specified by the H argument) at the rapid feed rate. (2) While keeping the X1 axis at the position (1), the machine moves the specified tool to the position (Y1 axis) at the rapid feed rate. (3) The specified tool moves to the positioning point at the rapid feed rate. T 03 00 T0 40 0
Comment [ER21]: word
T 03 00 T0 40 0 T0300 T0400
T0300 T0400
H/2
Positioning point
Material (1) The currently selected tool moves to the position ("Bar Stock O.D." + value specified by the H argument).
(2) While keeping the position "Bar Stock O.D." + value specified by the H argument, the machine moves the specified tool to the position.
(3) The specified tool moves to the positioning point.
T X (1) The currently selected tool moves to the position ("Bar Stock O.D."+ "Tool Positioning Point (DIA)" + maximum DIA value of tool set data between current and next tool) at the rap id feed rate. (2) While keeping the X1 axis at the position (1), the machine moves the specified tool to the position (Y1 axis) at the rapid feed rate. (3) The specified tool moves to the position specified by the X argument at the rapid feed rate. T0300 T0400 T0300 T0400 Positioning point
T0300 T0400
Comment [ER22]: word T0300 T0400
Position specified by the X argument
Material (3) The specified tool (1) The currently selected (2) While keeping the position ("Tool Positioning Point moves to the tool moves to the (DIA)" + maximum DIA value position specified position ("Bar Stock of tool set data between by the X argument. O.D."+ "Tool current and next tool), the Positioning Point (DIA)" machine moves the specified + maximum DIA value tool to the position. of tool set data).
5-62
M3 Programming
T Y (1) The currently selected tool moves to the position ("Bar Stock O.D."+ "Tool Positioning Point (DIA)" + maximum DIA value of tool set data between current and next tool) at the rap id feed rate. (2) While keeping the X1 axis at the position (1), the machine moves the specified tool to the position specified by the Y argument (Y1 axis) at the rapid feed rate. (3) The specified tool moves to the positioning point at the rapid feed rate. T0300 T0400
T0300 T0400
T0300 T0400 Positioning point
Position specified by the Y argument
Comment [ER23]: word T0300 T0400
Material (1) The currently selected (2) The specified tool tool moves to the position (Y axis) moves to the ("Bar Stock O.D."+"Tool position specified by the Y argument. Positioning Point (DIA)" + maximum DIA value of tool set data).
(3) The specified tool moves to the positioning point.
T Z (1) The currently selected tool moves to the position ("Bar Stock O.D." + "Tool Positioning Point (DIA)" + maximum DIA value of tool set data between current and next tool) at the rap id feed rate. (2) While keeping the X1 axis at the position (1), the machine moves the specified tool to the position (Y1 axis) at the rapid feed rate. (3) The specified tool moves to the positioning point ("Bar Stock O.D." + "Tool Positioning Point (DIA)" + DIA value of tool set data of the specified to ol), and the Z1 axis moves directly to the position specified by the Z argument at the rapid feed rate.
T0300
T0300 T0400
Comment [ER24]: word T0400
T0300
(1) The currently selected tool moves to the position ("Bar Stock O.D." + "Tool Positioning Point (DIA)" + maximum DIA value of tool set data).
(2) The specified tool (Y axis) moves to the position specified by the Y argument.
(3) The specified tool (X1 axis) moves to the positioning point, and the Z1 axis moves to the position specified by the Z argument.
5-63
M3 Programming
5.5.3 Tools on the turret tool post Command format T X
Y
A
E
Arguments
X
:
Specify the X2 axis work coordinate for positioning after tool selection. If the X argument is not specified, the tool on the turret tool post remains its return position.
Y
:
Specify the Y2 axis work coordinate for positioning after tool selection. If the argument is not specified, the Y2 axis moves to the center of the main spindle. This argument is enabled only in the machine of type V.
A
:
This argument is valid for only pre-selection of a tool (T2000's and T3000's in the G611 command). If the X argument is specified, specify the Z1 work coordinate effective when the selected tool starts moving to the specified position in the direction of X2 axis. If the A argument is not specified, the machine moves the selected tool to the X2 axis regardless of the Z1 axis work coordinate.
E
:
Specify this argument to index the front spindle or back spindle during tool selection. The specification is valid at transition from the turning process to the secondary machining process. If the machining pattern is for machining with the front spindle, the front sp indle (C1 axis) is indexed. If the machining pattern is for machining with the back spindle, the back spindle (C2 axis) is indexed.
5-64
M3 Programming
Operation sample T00 When selection of a tool on the turret tool post is specified, the turret tool post moves to its return position, and th e specified tool is selected. Comment [ER25]: word
T21
Turret
T21
Turret
(1) The turret tool post moves to its return position.
T24
Turret
(2) The specified tool is selected. When the X and Yargument are specified, the X and Y axis are also positioned after tool selection.
Note When the turret tool post is clamped/unclamped, the tool nose on the turret tool post does not usually move because the Z2 axis and TI axis operate under superimpose control in the longitudinal direction: the Z2 axis moves – 4.0 mm and the TI axis moves + 4.0 mm. However, the Z2 axis does not move when it is between the machine zero point and the Z2 axis return position (4.0 mm). Consequently, when the turret tool post is unclamped, the tool nose moves about 4.0 mm (equivalent to the move distance of the TI axis) in the longitudinal direction.
5-65
M3 Programming
5.5.4 Tools on the back 3-spindle tool post Command format
T X
Z
W
Q1 E
Arguments
X
:
Specify the X3 axis work coordinate for positioning after tool selection. is not specified, the tool moves to X0.
Z
:
Specify the distance (Z3 axis) by which the currently machining tool moves from the return position. If the Z argument is not specified, the back spindle Z3 axis moves away 5.0 mm from the tool bit position at the maximum protrusion, and then the machine selects the target tool.
W
:
Specify the distance (Z3 axis) by which the currently machining tool moves from the current position. If the W argument is not specified, the back spindle Z3 axis moves away 5.0 mm from the tool bit position at the maximum protrusion, and then the machine selects the target tool. For the W argument, you can specify only a value up to zero.
Q1
E
5-66
If the X argument
The specified tool is selected without the back spindle Z3 axis (of the currently machining tool) being retracted. If the Q1 argument is not specified, the back spindle Z3 axis moves away 5.0 mm from the tool bit position at the maximum protrusion. :
Specify this argument to index the back spindle (C2 axis) during tool selection. The specification is valid at transition from the turning process to the secondary machining process.
M3 Programming
Operation sample T W When selection of a tool on the back 3-spindle tool post is specified, the back headstock moves only the distance specified by the W argument, and the specified tool is selected. Comment [ER26]: word
Distance specified by the W argument
T43
T42
T41 Workpiece Zero point for back machining Back Spindle Chuck POS a
a
M12 60.0 (50.0)
M16 60.0 (50.0)
M20 M32 145.0 (135.0) 145.0 (135.0)
Note: Values for the machine with the optional tool spindle of back 3-spindle too l post, S6, are enclosed in parentheses. Notes
An alarm is issued if a value specified for the W argument is not up to zero. You cannot specify the Z and W arguments together.
5-67