Beruflich Dokumente
Kultur Dokumente
This user manual is the property of GSK CNC Equipment Co., Ltd. All
rights are reserved. It is against the law for any organization or individual to
publish or reprint this manual without the express written permission of GSK
and the latter reserves the right to ascertain their legal liability.
2
PREFACE
Your excellency,
It’s our pleasure for your patronage and purchase of this GSK980TDa CNC system
made by GSK CNC Equipment Co., Ltd.
This book is the concise user manual of GSK980TDa Turning CNC System.
Warning
Special tips:
The system power fixed on the cabinet is special for the CNC system made
by our company.
All specifications and designs herein are subject to change without further notice.
We are full of heartfelt gratitude to you for supporting us in the use of GSK’s products.
Contents
Contents
Chapter 1 Programming Fundamentals..................................................................................... 1
1.1 Technology Flow of CNC Machining........................................................................................................1
1.2 Axis and Coordinate System......................................................................................................................1
1.3 Structure of an NC Program......................................................................................................................2
1.4 Absolute Programming and Incremental Programming ........................................................................3
1.5 Diameter programming and Radius programming.................................................................................4
Chapter 2 Programming ................................................................................................................. 6
2.1 S Command .................................................................................................................................................6
2.2 M Command ...............................................................................................................................................6
2.3 T Command.................................................................................................................................................7
2.4 F Command .................................................................................................................................................7
2.5 G Command ................................................................................................................................................7
2.5.1 Rapid Traverse (Positioning) G00 ....................................................................................................................7
2.5.2 Linear Interpolation G01 ....................................................................................................................................8
2.5.3 Circular Interpolation G02/G03 .........................................................................................................................8
2.5.4 Dwell G04.............................................................................................................................................................9
2.5.5 Workpiece Coordinate System G50.................................................................................................................9
2.5.6 Axial Cutting Cycle G90 ...................................................................................................................................10
2.5.7 Radial Cutting Cycle G94 ................................................................................................................................ 11
2.5.8 Axial Roughing Cycle G71...............................................................................................................................12
2.5.9 Radial Roughing Cycle G72............................................................................................................................14
2.5.10 Closed Cutting Cycle G73 .............................................................................................................................16
2.5.11 Finishing Cycle G70 .......................................................................................................................................17
2.5.12 Axial Grooving Multiple Cycle G74 ..............................................................................................................18
2.5.13 Radial Grooving Multiple Cycle G75............................................................................................................19
2.5.14 Thread Cutting with Constant Lead G32.....................................................................................................21
2.5.15 Thread Cutting with Variable Lead G34 .................................................................................................22
2.5.16 Z Tapping Cycle G33......................................................................................................................................23
2.5.17 Thread Cutting Cycle G92.............................................................................................................................24
2.5.18 Multiple Thread Cutting Cycle G76 ..............................................................................................................25
2.6 Compound Program Example.................................................................................................................27
Chapter 3 Operation ...................................................................................................................... 28
3.1 Operation Mode and Display Interface ..................................................................................................28
3.1.1 GSK980TDa Panel Introduction .....................................................................................................................28
3.1.2 Machine Panel Keys.........................................................................................................................................29
3.1.3 Display Menu.....................................................................................................................................................30
3.1.4 Summary of Interface and Operation.............................................................................................................31
3.1.4.1 Position Interface...........................................................................................................................................31
3.1.4.2 Program Interface..........................................................................................................................................33
3.1.4.3 TOOL OFFSET&WEAR, MACRO Interface...............................................................................................35
3.1.4.4 Alarm Interface .............................................................................................................................................35
3.1.4.5 Setting Interface ............................................................................................................................................37
3.1.4.6 BIT PARAMETER, DATA PARAMETER, SCREW-PITCH COMP Interface............................................40
3.1.4.7 CNC DIAGNOSIS, PLC STATE, PLC VALUE, machine soft panel, VERSION MESSAGE Interface .....42
3.2 Program Edit.............................................................................................................................................44
3.2.1 Program Creation..............................................................................................................................................44
3.2.2 Input of the Program.........................................................................................................................................45
3.2.3 Deletion and Insertion of the Character.........................................................................................................45
3.2.4 Selection of the Program .................................................................................................................................46
3.2.5 Execution of the Program ................................................................................................................................46
I
GSK980TDa Turning CNC System
II
Chapter 1 Programming Fundamentals
O0001;
G00 X3.76 Z0;
Edit part programs and record into CNC
G01 Z- 1.28 F50;
…
M30;
Test part programs and execute trial run %
Fig. 1-1
GSK980TDa uses a rectangular coordinate system composed of X, Z axis. X axis is perpendicular with
axes of spindle and Z axis is parallel with axes of spindle; negative directions of them approach to the
workpiece and positive ones are away from it. GSK980TDa uses a rectangular coordinate system composed
of X and Z axis, and the coordinate system plane is the motion plane of tool post. Fig. 1-2 is the front tool
post coordinate sketch map of a vertical turning machine.
1
GSK980TDa Turning CNC System
Fig. 1-2
After the coordinate system plane is established, we need to establish the coordinate system.
GSK980TDa uses G50 to establish the workpiece, and the established workpiece is valid till it is replaced by
a new one. Generally, Z axis of the workpiece coordinate system coincides with the spindle axis.
Fig. 1-3
There are a front tool post and a rear tool post of NC turning machine according to their relative position
between the tool post and the spindle, Fig. 1-4 is a coordinate system of the front tool post and Fig. 1-5 is a
rear toolpost one. It shows exactly the opposite of X axis, but the same of Z axis from figures. In the manual,
it will introduce programming application with the front tool post coordinate system in the following figures
and examples.
Fig.1-4 Front tool post coordinate system Fig. 1-5 Rear tool post coordinate system
A program consists of a sequence of blocks, beginning with “OXXXX”(program name)and ending with
“%”; a block begins with block number (omitted) and ends with “;” or “*”. See the general structure of program
as Fig.1-6:
2
Chapter 1 Programming Fundamentals
Program name
Word
Block
Program
Program name To identify it, each program has only one program name (there is no the same
program name), beginning with command address O and the following 4-bit digits.
Word A word is the basic command unit to command CNC system to complete the control function,
composed of an English letter (called command address) and the following number (operation
command with/without sign). The command address describes the meaning of its following
operation command. The common words include G, M, F, S, T and so on.
Block number A block number consists of an address N and its following 4-bit digits: N0000~N9999.
The block number must be at the beginning of block, otherwise the block is invalid. In
programming, the block number is generally omitted.
Character for end of block “;” marking the block is completed.
Meanings as follows:
Block number is N0001, G 01 is the linear interpolation, X100 Z100 is the position of absolute
coordinate of end point. G98 is the feed per minute, F200 is the cutting speed 200mm/min. The
block indicates the tool cuts linearly with the cutting speed 200mm/min from the current point to the
one which absolute position is X100, Z100.
Character for end of program “%” is an ending character of program. “%” is a mark of
communication ended when the program is transmitted. The
system will automatically insert “%” at the end of program.
Describing the position of target point uses the absolute value and incremental value methods in CNC
programming.
3
GSK980TDa Turning CNC System
Fig. 1-7
Absolute value method uses the absolute position of target position in the workpiece coordinate system
to describe the target point; as Fig. 1-7, A absolute coordinates: X100, Z100; B absolute coordinates: Z200,
Z50.
Programming with absolute value to program (X, Z) is defined to be the absolute programming;
Incremental value method uses the offset of target point compared to the coordinates of starting point to
describe the target point; In the figure, A coordinates compared to those of B point are U100, W-50. U100 is
the X positive offset 100 of B compared to A point; W-50 is Z negative offset 50 of B compared to A point.
In GSK980TDa, X, Z axis separately uses the absolute programming and incremental program, which is
called the compound programming.
Example: A→B linear interpolation. As Fig.1-7, use three methods to execute the linear
interpolation from the starting point of A to B point. G01 is the linear interpolation.
Programming methods of X coordinates are divided into: diameter programming and radius
programming.
Diameter programming: When X input command value is by diameter and X coordinates are shown
in diameter at the moment;
Radius programming: When X input command value is by diameter and X coordinates are shown in
radius at the moment
Whether the diameter programming or the radius programming is determined by the system parameter,
generally, we use the diameter programming.
4
Chapter 1 Programming Fundamentals
Note: The diameter programming is used except for the special description in the following
explanation.
Example: As Fig.1-8, X axis of workpiece coordinate system is right end face of workpiece,
Diameter programming: A coordinates X50 Z0;
B coordinates X50 Z-30
C coordinates X80 Z-50
Fig. 1-8
5
GSK980TDa Turning CNC System
Chapter 2 Programming
Automatic machining process of CNC machine is defined to the automatic run course of part programs
which have been edit in advance. Programming is that we use commands (words) which are exclusive to
CNC system to describe the drawings and technology to compile the machining programs of parts.
The chapter mainly introduces the common commands of programs.
2.1 S Command
S command is used for controlling spindle speed and GSK980TD has two modes to control it, Spindle
speed switching value control: spindle speed gear control and spindle speed frequency conversion control.
One of them used by GSK980TDa is determined by the system parameter (after delivery, the spindle
control mode is determined by the machine manufacturer), and can be judged by the display windows.
Spindle speed gear control mode Spindle speed frequency conversion mode
Spindle speed gear control mode: S□□□□(01~04)specifies the spindle gear and controls the spindle
speed.
Example: S01 specifies the first gear of spindle speed, and the actual speed is determined by
the machine.
Spindle speed frequency conversion control mode: S□□□□(0~9999)specifies the actual speed of
spindle. Unit: rev/min.
Example: S300 specifies the spindle speed to be 300 rev//min; S1260 specifies the spindle
speed to be 1260 rev/min.
2.2 M Command
M command consists of command address M and its following 1~2 digits, used for controlling the
operations ON/OFF of the machine and run sequence of machining program, and the common M
commands are as follows:
6
Chapter 2 Programming
Common M commands
Command Function Remark
M03 Spindle CCW M03 and M04 control the spindle direction, and the actual speed is
specified by S command, so, M03/M04 and S command should be
M04 Spindle CW
matched in machining. “M03, S500” is the CCW spindle 500
M05 Spindle stop rev/min.
M08 Cooling ON
M09 Cooling OFF
M30 End of program
2.3 T Command
Machining one workpiece needs several different tools which coordinates are different coordinates of
cutting position because their installation and tool length are different. So, the system must automatically
execute the tool change to eliminate the influence caused by the above difference, otherwise, which causes
the difficult programming and large calculation. T command of GSK980TDa can execute the automatic tool
change and tool compensation.
Command format:
T □□ 〇〇
Tool offset number (00-32)
Target tool number (01-32)
Command function: The automatic tool post rotates to the target tool number and the tool offset of tool
offset number commanded is executed. After tool offset is executed, the system
can execute T□□00 to cancel the tool offset, and there is only one T command in
one block.
Example: T0202 indicates that the system executes the No. 2 tool change and the No. 2 tool offset.
2.4 F Command
FEEDRATE
OVERRIDE
FEEDRATE
override key OVERRIDE or on the machine panel.
2.5 G Command
G command consists of command address G and its following 1~2 bits command value, used for
defining the motion mode of tool relative to the workpiece, defining the coordinates and so on.
2.5.1 Rapid Traverse (Positioning) G00
Example: The program is realized by the tool rapidly traversing from A (60, 23) to B (40, 0) as
follows:
Program:
G00 X40 Z0 (absolute programming)
Φ40
X
Fig. 2-1
Example: The program is realized by the tool executing the linear cutting with 500mm/min from
A (40, 0) to B (60, -25) as follows:
Program:
G01 X60 Z-25 F500; (Absolute programming)
G01 U20 W-25 F500;(Incremental programming)
Φ40
Φ
Starting point A
Z G01 X60 W-25 F500; (Compound programming)
G01 U20 Z-25 F500; (Compound programming)
End
point B
X
Fig.2-2
图 2-2
Fig. 2-3.
X axis
Z axis
Z axis
X axis
Fig. 2-3
Command specification: R is the circular radius;
Example: The program is realized by the tool executing the circular interpolation with
30mm/min from A (0, 0) to C (34,-17) as follows:
A Program:
G03 X20 Z-10 R10 F300 (A→B)
B Z G02 X34 Z-17 R7 (B→C) (Absolute program)
C Or
G03 U20 W-10 R10 F300 (A→B)
G02 U14 W-7 R7 (B→C) (Incremental programming)
X
Fig. 2-4
Table 3-3
Command address P U X
Unit 0.001 second Second Second
9
GSK980TDa Turning CNC System
Command specifications:
G50 is non-modal;
X: X new absolute coordinates of current position;
Z: Z new absolute coordinates of current position;
Example:
Z
A(200,90)
A(100,50)
X X
Previous workpiece cooridnate system New workpiece corridnate system set by G50
Fig. 2-5
As Fig. 2-5, before the coordinate system is set by G50, the absolute coordinates of A point are (200,
90). After “G50 X100 Z50;” is executed, the absolute coordinates of A become (100,50), and the origin of
coordinate system is also changed to the right figure in Fig.2-5.
Note: Before the coordinate system is set by G50, the system must be without (with) tool offset
value, and the tool offset value must have been executed. T display on the panel can display
whether the current tool offset value exists, i.e., when the T offset number is displayed without the
highlight at the bottom right on the panel (such as the display is T0100), the tool offset value has
been executed, and the new coordinate system can be set by G50; when it is displayed with the
highlight, (the display is T0100), the tool offset value has not been executed, at the time, the
coordinate system is set correctly till the tool offset value has been executed, otherwise, the new
set coordinate value is less one tool offset value than the input value. Executing the tool offset
value is as follows:
(1) Executing tool change function. After the target tool is changed, the slide traverses to the middle of
two guides;
(2) The system is switched to “PROGRAM” window in MDI mode, G01 G98 U0 W0 F50 is input and the
CYCLE START is pressed; when the slide is traversing, the RESET stops. At the same time, the offset
number in T command is no more displayed reversely; the tool offset value has been executed.
Rapid traverse
Cutting feed
10
Chapter 2 Programming
Z axis Z axis
X
X
R
B
B C
C
U/2
U/2
D A D A
Z W Z W
X axis X axis
Fig. 2-5 Fig. 2-6
Command specifications: X (U): X coordinate of column/taper end point(C), unit: mm;
Z (W): Z coordinate of column/taper end point(C), unit: mm;
R: difference value (radius value) of X absolute coordinates between the (B)
and end point (C) with sign symbols, when R and U have the different sign
symbols, │R│≤│U/2│; R=0 or the input is defaulted, the column cutting is
executed as Fig. 2-5, otherwise, the taper cutting is done as Fig. 2-6; unit:
mm.
cutting cycle
X80;
Φ60,increment of
X70;
10mm)
X60;
X axis G0 X120 Z-30;
Fig. 2-7 G90 X120 Z-44 R-7.5 F150;
Z-56 R-15; (B→C,4
Z-68 R-22.5; times taper
Z-80 R-30; cutting)
M30;
Command path:A→B→C→D→A
A→B, D→A are the rapid traverse speed,B→C, C→D are the cutting feed.
Rapid traverse
Cutting feed
11
GSK980TDa Turning CNC System
R
Z axis
X
Z axis
X
C D D
C
U/2
U/2
B A
B A
Z W
Z W
X axis
X axis
Fig. 2-8 Fig. 2-9
Command specifications: X (U): X coordinate of end point, unit: mm;
Z (W): Z coordinate of end point, unit: mm;
R: different value of Z absolute coordinates from end point to starting point.
When the sign symbols of R is not the same that of U, R, │R│≤│W│, the
radial linear cutting is as Fig.2-8, the radial taper cutting is as Fig. 2-9, unit:
mm.
Program:O0003;
G00 X130 Z5 M3 S1;
Z axis G94 X0 Z0 F200;
X120 Z-110 F300;
Φ60
N(nf).....;
12
Chapter 2 Programming
Fig. 2-11
Command specifications:
Δd:it is each travel(unit:mm,radius value)of X tool infeed in roughing, its value: 0.001~99.999(unit:
mm,radius value)without sign symbols.
e: it is travel(unit:mm,radius value)of X tool retraction in roughing its value: 0.001~99.999(unit:
mm,radius value)without sign symbols.
ns: Block number of the first block of finishing path.
nf: Block number of the last block of finishing path.
Δu: X finishing allowance is -9999.999~9999.999 (unit: mm, in diameter) with sign symbol, i.e. the
different value of X absolute coordinates between A’ and A.
Δw: Z finishing allowance is -9999.999~9999.999 with sign symbol (unit: mm in diameter). i.e. the
different value of Z absolute coordinates between A’ and A.
F: Feedrate; S: Spindle speed; T: Tool number, tool offset number.
b a
c
d
e
0.5
S tarting 2
point
(200,10)
13
GSK980TDa Turning CNC System
Program:O0004;
G00 X200 Z10 M3 S800; (Spindle clockwise with 800 rev/min)
G71 U2 R1 F200; (Cutting depth each time 4mm,tool retraction 2mm,[diameter])
G71 P80 Q120 U1 W2; (Roughing a---e,X machining allowance 0.5mm , Z 2mm)
N80 G00 X40 S1200; (Position)
G01 Z-30 F100 ; (a→b)
X60 W-30; (b→c) a→b→c→d→e blocks for finishing path
W-20; (c→d)
N120 X100 W-10; (d→e)
G70 P80 Q120; (a---e blocks for finishing path)
M30; (End of program)
Finishing path
Rapid traverse
Cutting feed
Fig. 2-13
14
Chapter 2 Programming
Command specifications:
Δd: it is each travel(unit:mm,)of Z tool infeed in roughing, its value: 0.001~99.999(unit:mm,without
sign symbols).
e: it is each travel(unit:mm)of Z tool infeed in roughing, its value: 0.001~99.999(unit:mm, without
sign symbols).
ns: Block number of the first block of finishing path.
Nf: Block number of the last block of finishing path.
Δu: X finishing allowance in roughing, its value: -9999.999~9999.999 (unit: mm, with sign symbol, in
diameter), i.e. the different value of X absolute coordinates between A’ and A.
Δu: Z finishing allowance in roughing, its value: -9999.999~9999.999 (unit: mm, with sign symbol, in
diameter), i.e. the different value of X absolute coordinates between A’ and A.
F: Cutting feedrate; S: Spindle speed; T : Tool number, tool offset number.
φ φ φ
S ta rtin g
p o in t
( 176, 10)
Fig.2-14
Program:O0005;
G00 X176 Z10 M03 S500 (Change No.2 tool and execute its compensation, spindle rotation
with 500 rev/min)
G72 W2.0 R0.5 F300; (Tool infeed 2mm, tool retraction 2mm)
G72 P10 Q20 U0.2 W0.1; (Roughing a--d,X roughing allowance 0.2mm and Z 0.1mm)
N10 G00 Z-55 S800 ; (Rapid traverse)
G01 X160 F120; (Infeed to a point)
X80 W20; (Machining a—b) Blocks for finishing path
W15; (Machining b—c)
N20 X40 W20 ; (Machining c—d)
G70 P050 Q090 M30; (Finishing a—d)
15
GSK980TDa Turning CNC System
2.5.10 Closed Cutting Cycle G73
Finishing path
Rapid traverse
Cutting feed
Fig. 2-15
Command specifications
Δi:Travel of X tool retraction for roughing is -9999.999~9999.999(unit:mm,radius value with sign
symbol), Δi is equal to X coordinate offset value of A1 point compared to Ad point.
Δk:Travel of Z tool retraction for roughing is -9999.999~9999.999(unit:mm,radius value with sign
symbol), Δi is equal to Z coordinate offset value of A1 point compared to Ad point.
d: It is the cutting times 1~9999 (unit: times). R5 means the closed cutting cycle is completed by 5
times cutting.
ns: Block number of the first block of finishing path.
nf: Block number of the last block of finishing path.
Δu: It is X finishing allowance -99.999~99.999 (unit: mm, diameter value with sign symbol), i.e. the
16
Chapter 2 Programming
ax is
16
Starting point
(200,10) axi s
Fig. 2-16
Program:O0006;
G99 G00 X200 Z10 M03 S500; (Specify feedrate per rev and position starting point and start
spindle)
G73 U1.0 W1.0 R3 ; (X tool retraction with 2mm, Z 1mm)
G73 P14 Q19 U0.5 W0.3 F0.3 ; (X roughing with 0.5 allowance and Z 0.mm)
N14 G00 X80 W-40;
G01 W-20 F0.15 S600 ;
X120 W-10;
W-20 ; Blocks for finishing
G02 X160 W-20 R20;
N19 G01 X180 W-10;
G70 P14 Q19 M30; (Finishing)
Rapid traverse
Cutting feed
Fig. 2-17
18
Chapter 2 Programming
Command specifications:
R(e): it is the travel(0~99.999,unit:mm, without sign symbols) of tool retraction after each axial(Z) tool
infeed.
X (U): X coordinate of cutting end point Bf (unit: mm).
Z (W): Z coordinate of cutting end point Bf (unit: mm).
P(Δi) : travel of radial(X) cutting for each axial cutting cycle, range 0~9999999(unit:0.001mm,
diameter value, without sign symbols)
Q(Δk): travel of Z discontinuous tool infeed without sign symbols in axial(Z) cutting, range 0~
9999999(unit:0.001mm, diameter value, without sign symbols)
R(Δd): travel of radial (X) tool retraction after cutting to end point of axial cutting. range 0~9999999
(unit:0.001mm, diameter value, without sign symbols)
19
GSK980TDa Turning CNC System
Rapid traverse
Cutting feed
Fig. 2-19
Command specifications:
X(U): X coordinate value of cutting end point Bf (unit:mm)
Z(W): Z coordinate value of cutting end point Bf (unit:mm)
R(e): It is the travel(0~99.999, unit: mm) of tool retraction after each radial(X) tool infeed without sign
symbols.
X absolute coordinate value of cutting end point Bf (unit:mm).
U: Different value of X absolute coordinates between cutting end point Bf and starting point.
Z: Z absolute coordinate value of cutting end point Bf (unit:mm).
W: Different value of Z absolute coordinates between cutting end point Bf and starting point.
P(Δi): travel(0<Δi≤ 9999999 without sign symbols, diameter value) of radial(X) discontinuous tool
infeed for each axial cutting cycle .
Q(Δk): travel (0<Δk≤ 9999999 without sign symbols) of Z tool infeed without sign symbols of axial(Z)
cutting.
R(Δd): travel (0~99.999 without sign symbols, unit: mm) of axial (Z) tool retraction after cutting to end
point of radial cutting.
20
Chapter 2 Programming
Example:Fig. 2-20
Program (supposing that the grooving tool width is 4mm):
Program:O0008;
G00 X150 Z50 M3 S500; (Start spindle with 500 rev/min)
G0 X125 Z-20; (Position to starting point of machining, add the tool
width to Z)
G75 R0.5 F150; (Machining cycle)
G75 X40 Z-50 P6000 Q3000;(X tool infeed 6mm every time, tool
retraction 0.5mm, rapid returning to
starting point (X125) after infeeding to
end point (X40), Z tool infeed 3mm and
cycle the above-mentioned steps to
Fig. 2-20
continuously run programs)
G0 X150 Z50; (Return to starting point of machining)
M30; (End of program)
Example: thread pitch F = 2mm,δ1 = 3mm,δ2 = 2mm, total cut depth 1.5mm (radius value)
by two times cutting.
21
GSK980TDa Turning CNC System
Program:O0009;
G00 X28 Z3; (First radial cut-in 1mm)
G32 W-45 F2.0; (First thread cutting)
G00 X35; (Tool retraction)
δ2 Z W45; (Z returns to the starting point)
δ1
Starting piont X27; (Second tool radial infeed 0.5mm)
End point
G32 W-45 F2.0; (Second thread cutting )
Example: the first pitch of starting point, increment per rev is 0.2.
70
50 Z
δ2 δ1
X
Fig. 2-22 Variable thread machining
Use macro variables to simplify programming when G34 is used many times. δ1 = 4mm,δ2 = 4mm,
total cutting depth 4mm, total cutting cycle 15 times; the first tool infeed 0.8mm, gradual decreasing
cutting every time 0.2mm, and min. infeed 0.2 mm.
22
Chapter 2 Programming
Program: O0010;
G00 X60 Z4 M03 S500;
G65 H01 P#202 Q800; First tool infeed:: evaluation #202=0.8mm
G65 H01 P#203 Q0; Cycle count:evaluation #203=0
N10 G65 H02 P#204 Q#203 R1; Cycle count starting:#204=#203+1
G65 H01 P#203 Q#204; #203=#204
G65 H81 P30 Q#204 R15; Total cutting cycle times:#204=15,jump to block
G00 U-10; N30
G65 H01 P#200 Q#202; Tool infeed to Ф50
G00 U-#200; Cutting infeed:#200=#202
G34 W-78 F3.8 J5 K2 R0.2; Tool infeed
G00 U10; Variable pitch cutting
Z4; Tool retraction
G65 H03 P#201 Q#200 R200; Return to starting point in Z direction
G65 H01 P#202 Q#201; Decreasing of cutting feed again:
G65 H86 P20 Q#202 R200; #201=#200—0.2
G65 H80 P10; Evaluation again #202=#201
N20 G65 H01 P#202 R200; Infeed:Jump to block N20 when #202≦0.2mm
G65 H80 P10; Unconditionally jump to block N10
N30 M30; Min. infeed:#202=0.2
Unconditionally jump to block N10
Command function: Tool path is from starting point to end point and then from end point to starting
point in the tapping cycle.
Command specifications:
Z(W): when Z or W is not input and starting point and end point of Z axis are the same one, the thread
cutting must not be executed;
F: metric thread pitch 0.001~500 mm;
I: teeth per inch thread 0.06~25400 teeth/inch;
L: multi threads 1~99. It is single thread when L is omitted.
Program example: Fig. 2-23, thread M10×1.5
Program:O0011;
G00 Z90 X0 M03; Start spindle
G33 Z50 F1.5; Tap cycle
M03 Start spindle again
G00 X60 Z100; Machine continuously
M30
Fig. 2-23
23
GSK980TDa Turning CNC System
2.5.17 Thread Cutting Cycle G92
Command format:
G92 X(U)_ Z(W)_ F_ J_ K_ L ; (Metric straight thread cutting cycle)
G92 X(U)_ Z(W)_ I_ J_ K_ L ; (Inch straight thread cutting cycle)
G92 X(U)_ Z(W)_ R_ F_ J_ K_ L ; (Metric taper thread cutting cycle)
G92 X(U)_ Z(W)_ R_ I_ J_ K_ L ; (Metric taper thread cutting cycle)
Command path:A→B→C→D→A
A→B, D→A are the rapid traverse,B→C, C→D is the cutting feed.
Rapid traverse
Cutting feed
Z axis
X Z axis
X
R
B
C B C
U/2
U/2
D A D A
Z W Z W
X axis X axis
Command specifications:
X: X absolute coordinates of end point of cutting, unit: mm;
U: different value of X absolute coordinates from end point to starting point of cutting, unit: mm;
R: different value(R value) of X absolute coordinates from end point to starting point of cutting. When
the sign of R is not the same that of U, R│≤│U/2│, unit: mm.
F: metric thread pitch, range: 0< F ≤500 mm;
I: inch thread teeth per inch, range: 0.06~25400 tooth/inch;
J: travel in the short axis in thread run-out, range:0~9999.999 (unit:mm, without sign symbols). If the
short axis is X, its value is in radius;
K: Travel in the long axis in thread run-out, range: 0~9999.999 (unit:without sign symbols). If the long
axis is X, its value is in radius;
L: Multi threads: 1~99.Single thread is defaulted under the system when L is omitted).
1.3mm)
X57.7 ; (The second tool infeed 1mm)
24
Chapter 2 Programming
2.5.18 Multiple Thread Cutting Cycle G76
Thread cutting
Rapid traverse
X
Fig. 2-27(a)
Cut-in method as follows: Fig. 2-27(b)
Fig. 2-27(b)
Command specifications:
X(U): X absolute coordinate of thread end point (D point), unit: mm;
Z(W): Z absolute coordinate of thread end point (D point), unit: mm;
P(m): Times of thread finishing: 00~99 (unit: times)
P(r): Width of thread run-out 00~99(unit: 0.1×L,L is the thread pitch);
P(a): Angles at taper of neighboring two tooth Angles at taper of neighboring two tooth, range: 00~99,
unit: degree (°);
Q(△dmin):Minimum cutting travel of thread roughing, range: 00~99999 (unit: 0.001mm, radius
value without sign symbols).
R(d): It is the cutting travel of thread finishing, range: 00~99.999(unit:mm, radius value without sign
symbols), and is the different value of X absolute coordinates between cut-in point Be of thread finishing and
25
GSK980TDa Turning CNC System
Bf of thread roughing.
R(i): It is thread taper and is the different value of X absolute coordinates between thread starting
point(C point) and end point(D point), range: -9999.999~9999.999 (unit:mm, radius value). The system
defaults i=0(straight thread) when i is not input;
P(k): It is the depth of thread tooth and is also the total cutting depth of thread, range: 1~999999999 ,
(unit: 001mm, radius value without sign symbols);
Q(△d): It is the first depth of thread cutting, range: 1~999999999 (unit: 0.001mm, radius value without
sign symbols).
F: metric thread pitch, 0< F ≤500 mm.
I: 0.06~25400 tooth/inch, thread teeth per inch for inch thread.
68
60.64
Fig. 2-28
Program: O0013;
G50 X100 Z50 M3 S300; (Set workpiece coordinate system, start spindle and specify
spindle speed)
G00 X80 Z10; (Rapid traverse to starting point of machining)
G76 P020560 Q150 R0.1; (Finishing 2 times, chamfering width 0.5mm, tool angle 60°, min.
cutting depth 0.15, finishing allowance 0.1)
G76 X60.64 Z-62 P3680 Q1800 F6; (Tooth height 3.68, the first cutting depth1.8)
G00 X100 Z50 ; (Return to starting point of program)
M30; (End of program)
26
Chapter 2 Programming
Z
B A
D C
F E
G
X
Fig. 2-29
Program:
O0001; (Program name)
N0010 G0 X100 Z50; (Rapidly traverse to G point)
N0020 T0101; (Execute No. 1 tool change and its tool offset)
N0030 M3 S500; (Start the spindle to 500 rev/min)
N0040 M8; (Cooling ON)
N0050 G0 X30 Z2; (Rapidly traverse to A point)
N0060 G1 Z-30 F150; (Execute the linear cutting to B point)
N0070 G3 X70 Z-50 R20; (Execute the circular cutting from B to C point)
N0080 G1 W-30; (Execute the linear cutting from C to D point)
N0090 X80 W-10; (Execute the linear cutting from D to E point)
N0100 W-15; (Execute the linear cutting from E to F point)
N0110 X92; (X moves to execute the tool retraction and Z retains )
N0120 G0 X100 Z50; (Rapidly returns to G point)
N0130 T0100; (Cancel the tool offset)
N0140 M5 S0; (Stop the spindle)
N0150 M9; (Cooling OFF)
N0160 M30; (End of program)
%
The tool executes the cutting along A→B→C→D→E→F when the above program is executed
Note: The above program is for finishing the shaped rod.
27
GSK980TDa Turning CNC System
Chapter 3 Operation
This GSK980TDa CNC system is employed with an integrated panel, which is divided as following:
MST
State indication
RESET INPUT
OUTPUT
INSERT
EOB DELETE CANCEL
ALTER
EDIT AUTO MDI MACHINE ZERO MPG MANUAL CW COOLING CYCLE START
JOG
Machine panel
SINGLE BLOCK BLOCK SKIP MACHINE LOCK M. S. T. LOCK DRY RUN PROGRAM ZERO RAPID STOP LUB. SPINDLE RAPID FEEDRATE
OVERRIDE OVERRIDE OVERRIDE
28
Chapter 3 Operation
Screen
X Y Z
MST
State indication
RESET INPUT
OUTPUT
Edit keypad
CHANGE
INSERT
EOB DELETE CANCEL
ALTER
%
Machine panel
SAFETY DOOR CHUCK ORIENTATION CCW S.OVERRIDE F.OVERRIDE CYCLE START
100%
RAPID LUBRICATING TAILSTOCK JOG STOP S.OVERRIDE F.OVERRIDE
%
COOLING HYDRAULIC TOOL CHANGE CCW S.OVERRIDE F.OVERRIDE FEED HOLD
State indication: for current state indication, the relevant function active if indicator lights up, inactive if
indicator is gone out
Screen: human-machine interact window, for page and message display
Edit keypad: for codes addresses, data input etc.
Display menu: for interface switching-over
Machine panel: for mode switchover, machine actions etc.
29
GSK980TDa Turning CNC System
Manual tool
For manual tool change
TOOL CHANGE change key
RAPID
Manual feed keys For +/- move of X, Y, Z axes in Manual mode
There are 7 display menu keys which are used for interface switching in this GSK980TDa system, and
there are multiple pages in each display interfaces which are irrelevant to the working mode and they can
be switched over in any mode. By pressing a display menu, it enters the corresponding display interface
and the page under this interface can be paged up or down by or keys.
30
Chapter 3 Operation
ALARM To enter Alarm interface. There are CNC, PLC ALARM pages in this interface.
31
GSK980TDa Turning CNC System
The parts counting and the cut time are memorized at power-down, the clearing ways for them are as
following:
CANCEL
PART CNT clearing: press key then press key.
CANCEL
CUT TIME clearing: press key then press key.
S0000: Feedback spindle speed of spindle encoder, and spindle encoder is a must.
T0100: Current tool No. and tool offset No.
CANCEL
In RELATIVE POS page, press and hold key till the “U” in the page blinks, press
key to clear U coordinate;
CANCEL
In RELATIVE POS page, press and hold key till the “W” in the page blinks, press
key to clear W coordinate.
32
Chapter 3 Operation
The displayed value of machine coordinate is the current position in the machine coordinate system
which is set up according to the machine zero.
The DIST TO GO is the difference of the target position by block or MDI command to the current
position.
The display page is as following:
Press to enter Program interface, which has three pages such as PRG CONTENT, PRG
STATE, PRG LIST in non-Edit modes, and they can be viewed by or keys. There is only
PRG CONTENT page in Edit mode, all the blocks of the current program can be shown by pressing
or keys.
1) PRG CONTENT page
In this page, the program content including current block can be displayed. In Edit mode, the program
33
GSK980TDa Turning CNC System
34
Chapter 3 Operation
3.1.4.3 TOOL OFFSET&WEAR, MACRO Interface
OFFSET OFFSET
is a compound key, press key once in other page, it enters the TOOL OFFSET page,
OFFSET
press key again, it enters the MACRO interface.
1 TOOL OFFSET&WEAR interface
There are 7 pages and 33 offset&wear No. (No.000~No.032) available for user in this interface, which
2 MACRO interface
There are 25 pages in this interface, which can be shown by pressing or keys. In
Macro page there are 600 (No.100~No.199 and No.500~No.999)macro variables which can be specified
by macro command or set by keypad.
ALARM
Press key to enter Alarm interface, there are CNC ALARM, PLC ALARM pages in this
35
GSK980TDa Turning CNC System
2) CNC ALARM: It displays the number of CNC alarms, PLC alarms, and the current CNC alarm No.. It
may display 24 CNC alarm No. together. The details for the respective alarm No. may be viewed by moving
the cursor.
36
Chapter 3 Operation
3) Alarm clearing: If multiple alarms are issued simultaneously, only one alarm where the cursor locates
RESET CANCEL
could be cleared each time (In alarm interface, it may clear all alarms by pressing and
keys). The current alarm page is as following:
Current page
RESET
Page after pressing key
SETTING SETTING
is a compound key, press key in other page, it enters the Setting interface, press it
SETTING
again, it enters the Graphic interface. Press key repeatedly, it switches between Setting and
Graphic interfaces.
37
GSK980TDa Turning CNC System
1 Setting interface
There are 3 pages in this interface, which can be viewed by and keys.
1) Switch setting: It is used for the parameter, program, auto sequence No. SWITCH state.
PARM SWT: when it is turned for ON, the parameters are allowed to be altered; it is turned for OFF, the
parameters are unallowed to be altered.
PROG SWT: when it is turned for ON, the programs are allowed to be edited; it is turned for OFF, the
programs are unallowed to be edited.
AUTO SEG: when it is turned for ON, the block No. is created automatically; it is turned for OFF, the
block No. is not created automatically, but manually if needed.
2) PARM OPERATION: In this page, the CNC data (such as bit parameter, data parameter,
screw-pitch parameter, tool offset) can be backup and restored.
Backup PAR. (User): For CNC data backup by user (save)
Resume PAR. (User): For backup data restore by user (read)
Resume Default PAR. 1 (Test): For original parameter data reading of CNC test by user
Resume Default PAR. 2 (Step): For original parameter data reading of suited step drive by user.
Resume Default PAR. 3 (Servo): For original parameter data reading of suited servo drive by user.
38
Chapter 3 Operation
2 Graph interface
There are GRAPH SET, GRAPH TRACK pages in this interface, which can be viewed by and
39
GSK980TDa Turning CNC System
Press key, it enters BIT PARAMETER interface, there are 30 bit parameters which are
displayed by 2 pages in this interface, and they can be viewed or altered by pressing or key
to enter the corresponding page. It is shown as following:
As is shown in this page, there are 2 parameter rows at the page bottom, the 1st row shows the
meaning of a bit of a parameter where the cursor locates, the bit to be displayed can be positioned by
pressing or key. The 2nd row shows the abbreviation of all the bits of a parameter where
the cursor locates.
40
Chapter 3 Operation
they can be viewed or altered by pressing or key to enter the corresponding page. It is
shown as following:
As is shown in this page, there is a cue line at the page bottom, it displays the meaning of the
parameter where the cursor locates.
Press key repeatedly, it enters SCREW-PITCH COMP interface, there are 256 screw-pitch
parameters which are displayed by 16 pages in this interface, and they can be viewed by pressing
or key.
41
GSK980TDa Turning CNC System
3.1.4.7 CNC DIAGNOSIS, PLC STATE, PLC VALUE, machine soft panel, VERSION MESSAGE
Interface
is a compound key, it enters CNC DIAGNOSIS, PLC STATE, PLC VALUE, machine soft panel,
VERSION MESSAGE interfaces by pressing this key repeatedly.
1 CNC DIAGNOSIS interface
The input/output signal state between CNC and machine, the transmission signal state between CNC
and PLC, PLC internal data and CNC internal state can all be displayed via diagnosis. Press key it
enters CNC DIAGNOSIS interface, the keypad diagnosis, state diagnosis and miscellaneous function
parameters etc. can be shown in this interface, which can be viewed by pressing or key.
In CNC DIAGNOSIS page, there are 2 diagnosis No. rows at the page bottom, the 1st row shows the
meaning of a diagnosis No. bit where the cursor locates, the bit to be displayed can be positioned by
pressing or key. The 2nd row shows the abbreviation of all the diagnosis No. bits where the
cursor locates.
STATE interface by pressing key repeatedly. The signal state of PLC addresses can be viewed by
pressing or key.
In PLC STATE page, there are 2 rows at the page bottom, the 1st row shows the meaning of a bit of an
address where the cursor locates, the bit to be displayed can be positioned by pressing or
key. The 2nd row shows the abbreviation of all the bits of an address where the cursor locates.
42
Chapter 3 Operation
PLC VALUE interface. The data values of PLC can be viewed by pressing or key and they
INPUT
can also be viewed by inputting , address (T, DT, DC), sequence No. and key orderly. It is
shown as following figure:
By pressing key repeatedly, it enters the TOOL PANEL interface, the machine can be
controlled by the soft keys in this interface, its page is shown in the following:
43
GSK980TDa Turning CNC System
Explanation:
By repeatedly pressing numerical key , the machine lock function is switched on or off, it is the
By repeatedly pressing numerical key , the MST lock function is switched on or off, it is the
MST
By repeatedly pressing numerical key , the single block function is switched on or off, it is same
By repeatedly pressing numerical key , the dry run function is switched on or off, it is the same
By repeatedly pressing numerical key , the block skip function is switched on or off, it’s function
BLOCK SKIP
is the same as that of key.
It enters VERSION MESSAGE interface by pressing key repeatedly. The software, hardware,
and PLC version message can be shown in this interface. As is shown in the following figure:
44
Chapter 3 Operation
1) Select Edit mode, press key to enter the PRG CONTENT page;
Note: If the program name exists in the CNC system, this program will be opened, so it needs to
reinput a new program number by the steps above to setup the new program.
After the part program is created in Edit mode, then input the program word by word. Each time a word
is entered, the word will be shown immediately on the screen (for alternate input by pressing a compound
EOB
key repeatedly). If a block is finished, press key for next line. Then input other blocks by sequence
RESET
till the whole program is entered. As the program is completed, press key to return the cursor to
the program beginning.
CANCEL
If there is an error in the inputting, the wrong character may be deleted. Press key to delete a
DELETE
character before the cursor; press key to delete a character where the cursor locates.
(1) Insertion of character:
If new codes are required to be inserted into the blocks of the program edited, it may do by the
following steps:
INSERT
1) Press ALTER key to enter the Insert mode, move the cursor to the location to be inserted, while the
cursor is an underline (e.g. ), it means that the current character is to be inserted. (If the cursor is
INSERT
backlighted for a rectangle, e.g. , it means the current character is to be altered; by pressing ALTER
key repeatedly it may make the character to switch between insertion and alteration.)
2) Key in the character to be inserted. To insert code G98 before G00 in the following figure, move the
45
GSK980TDa Turning CNC System
CANCEL DELETE
2) Press key to delete the character before the cursor; press key to delete the
character where the cursor locates.
(3) Alteration of the character:
Inserting alteration: delete the character to be altered, then insert the new character.
Direct alteration:
1) Select the PRG CONTENT page in Edit mode
INSERT
2) Press ALTER key to enter the alteration mode (the cursor is a backlight rectangle, e.g. ).
3) Key in the new character. Under the alteration mode, the current character where the cursor locates
is altered for the new one, and the cursor backward a bit.
3.2.4 Selection of the Program
If there are multiple programs in CNC system, a program can be selected by the following 3 methods:
1) Select Edit or Auto mode, press key to enter the PRG CONTENT page;
3) Press or key to display the program retrieved. If the program does not exist, a
message “File not exist” will be issued.
3.2.5 Execution of the Program
After the program to be executed is selected and the tool setting is done, select the Auto mode, then
46
Chapter 3 Operation
FEED HOLD
press key, the program will be executed automatically. It may press the key to stop the
program execution. Special attention should be paid that in threading the feed hold function can’t stop the
action immediately.
Note: The program execution begins at the line where the cursor locates, so check whether the
1. Press MANUAL key, the indicator lights up, and it enters Manual mode.
RAPID
, the X axis can move negatively or positively, and the X axis moving stops if
releasing the key; press and hold Z axis direction key or , the Z axis can move negatively
or positively, and the Z axis moving stops if releasing the key; also the 2 direction keys of X, Z axes can be
pressed and held on at a time to make the 2 axes to move simultaneously. The real-time feedrate overriding
is effective in moving.
RAPID
3. In Manual mode, press key, it enters the Manual rapid traverse mode with the indicator
lighting up. Move the axis by the step 2, the axis will move by a traverse rate, and the real time
rapid overriding is active in the moving.
3.3.2 Handwheel feed
MPG
1. Press the key to select the MPG mode, it enters the MPG mode with the indicator for
handwheel lighting up;
2. Press the , or key to select the move increment, it will be displayed in the
RELATIVE POS and ABSOLUTE POS page;
47
GSK980TDa Turning CNC System
3.3.3 Manual Tool Change
TOOL CHANGE
: In Manual/MPG mode, by pressing this key, the tools are changed manually by sequence.
Note: Move the toolpost to a safe position before tool change, or tool collision may appear.
3.3.4 Spindle Control
CCW
: In Manual /MPG mode, the spindle rotates forward if pressing this key (S code needed);
STOP
: In Manual/MPG mode, the spindle stops if pressing this key;
CW
: In Manual/MPG mode, the spindle rotates backward if pressing this key (S code needed).
Note: If there is a workpiece in the chuck, make sure the chuck is clamped before spindle rotation.
3.3.5 Coolant Control
COOLING
: In any of the control mode, press this key repeatedly, the coolant is switched on/off.
3.3.6 Emergency Operation
During the machining, some unexpected incidents may occur because of the user programming,
operation and product fault etc. So this GSK980TDa should be stopped immediately for these incidents.
The resolutions under the emergency situation are available by this GSK980TDa CNC system. Please see
the relative explanation on these resolutions by machine builder.
z Feed hold
key can be pressed during the machine running to make the running pause. But in threading,
cycle running, this function can not stop the running immediately.
z Reset
RESET
Press key to reset this GSK980TDa system if there are abnormal output and axis action
during the system running. In resetting state, all axes movement stops, M, S, T functions are inactive, and
automatic running stops.
z Emergency stop
During machine running, if the emergency button is pressed under the dangerous or emergent
situation (external ESP signal active), the CNC system enters into emergency status and the machine
movement is stopped immediately. All the outputs such as the spindle running, coolant are cut off and
emergency stop alarm is issued. If the emergency button is released, the emergency alarm is cancelled.
Note 1: Ensure the fault is eliminated before the emergency alarm is cancelled.
Note 2: Pressing down the Emergency button prior to power on or off may alleviate the electric
shock to the machine system.
z Power off
Under the dangerous or emergency situations during the machine running, the machine power should
be cut off immediately to avoid the accidents. But it should be noted that there may be a large error between
the CNC coordinates displayed and the actual position. So the tool setting operation should be performed
again.
48
Chapter 3 Operation
In MDI mode, the operations of code words input and execution can be performed.
3.4.1 Code words input
Select MDI mode to enter the PRG STATE page, to input an block “G50 X50 Z100” ,the steps are as
follows:
1. Press MDI
key to enter MDI mode;
INPUT
3. Key in address key , numerical key , and key by sequence, the
page is shown as following:
INPUT
4. Key in address key , numerical key , , and key by
sequence;
INPUT
5. Key in address key , numerical key , and key by sequence;
The page is shown as following after above operations are completed:
49
GSK980TDa Turning CNC System
After the code words are input, these code words are executed after the key is pressed.
RESET
FEED HOLD
During the execution, , and Emergency Stop button may be pressed to terminate the code
words execution.
The actual location of tool can be overlooked in programming for simplifying programming. The tool
offset data can be obtained by this tool setting operation.
3.5.1 Tool Setting Operation (Trial Tool Setting)
1. Execute T0100 to cancel the offset of No.1 tool (if BIT4 of No.3 parameter is equal to 1, move code
execution is needed to cancel the offset. The move operation is: input block“G01 U0 W0 F50” under the
RESET
MDI mode, then press key. As soon as the carriage moves, press the key to reset it, and
the tool offset is cancelled too.)
2. Select No.1 tool and make it cut on Surface A;
Surface B
Surface A
α Z
3. Retract the tool along X axis and stop the spindle with the Z axis not moving;
4. Execute “G50 Z 0”under the PRG STATE page of MDI mode, and set the coordinate of Z axis;
5. Switch to the Offset interface, and input “Z0” to the No.001 offset;
6. Move the tool and make the tool cut along Surface B;
50
Chapter 3 Operation
7. Retract the tool along Z axis with the X axis not moving, and stop the spindle, measure the part
diameter "α" of the external circle (supposing α=15);
8. Execute “G50 X 50”under the PRG STATE page of MDI mode, and set the coordinate of X axis;
9. Switch to the Offset interface, and input “X50” to the No.001 offset;
10. Move the tool to a safety height to change for another tool manually;
11. Start the spindle, and move the tool to the tool setting point, like the point C in following figure:
OFFSET
12. Press key to enter the Offset interface, select the TOOL OFFSET page, then move the
cursor by pressing , key to select the corresponding offset number to the tool;
INPUT
13. Key in by sequence the address key , numerical key and key, as well as
INPUT
address key , numerical key , and key;
14. Repeat the steps from 10 to 13 to perform the tool setting operation for other tools.
15. Move the tool to a safety height after tool setting, switch off the spindle, and the operation for tool
setting finishes.
3.5.2 Tool Setting Operation (Tool Setting by machine zero return, machine zero switch needed)
There is no reference tool in this tool setting method, when the tool is worn or to be adjusted, it only
needs to be set again, and a machine zero return should be done before the tool setting. The machining
could be continued by performing a machine zero return at power on after power-down, which is very
convenient for the operation.
Steps (workpiece coordinate system by part end surface):
1. Press key to enter Machine Zero mode, move two axes to machine zero;
2. Select a tool by random and set the offset number of the tool for 00(e.g. T0100,T0300);
3. Make the tool to cut on Surface A;
51
GSK980TDa Turning CNC System
4. Retract the tool along X axis with the Z axis not moving, and stop the spindle;
OFFSET
5. Press key to enter the Offset interface, select the TOOL OFFSET page, then move the
Surface B1
Surface A1
α1 Z
β1
OFFSET
16. Press key to enter the Offset interface, select the TOOL OFFSET page, then move the
INPUT
17. Key in by sequence the address key , sign key , numerical key , and
key;
18. Make the tool to cut on Surface B1;
19. Retract the tool along Z axis with the X axis not move, and stop the spindle;
20. Measure the distance "α1"(supposing α1=10);
52
Chapter 3 Operation
OFFSET
21. Press key to enter the Offset interface, select the TOOL OFFSET page, then move the
Note 1: Machine zero switch must be fixed for the tool setting operation by machine zero return.
Note 2: The workpiece coordinate system setting can’t be done by G50 code after tool setting by
machine zero return.
Note 3: The tool compensation should be done by coordinate offset by the CNC system (the Bit 4
of the system parameter No.003 set to 1), further more, the tool lengths compensation should be
performed by using the T code in the 1st block, or the 1st move block should contain the T code for
the tool length compensation.
Note 4: The corresponding parameters should be set as following:
The Bit7=0 of the system parameter No.004;
The Bit5=1 of the system parameter No.012;
The Bit7=1 of the system parameter No.012.
Note 5: The setting values of the system parameter No.049, No.050 should be close to the absolute
coordinate values of machine zero in workpiece coordinate system XOZ, as is shown in the
following:
Example: After machine zero returning, if the absolute coordinate of the tool in workpiece
coordinate system is (a,b), the setting value of system parameter No.049 should be
close to a, and that of system parameter No.050 to b respectively.
OFFSET
1. Move the cursor to the offset number that is to be altered (press key to enter the TOOL
2. If the offset value of X axis is to be altered, key in ; as for that of Z axis, key in ;
3. Then key in the incremental value;
INPUT
4. Press the key to add the current offset value to the value keyed in, the operation result will
be displayed as a new offset value.
Example: The original X axis offset value is 5.678
The increment keyed in is U 1.5
Then the new offset value is 7.178(=5.678+1.5)
3.5.4 Clearing of the Offset Values
Machine the following part by a bar stock with a diameter Φ25 mm, the material of the stock is PVC.
1. To decide the processing of the part according to the part drawing and part stock
Steps:
1) End surface turning;
2) Rough turning of the φ22mm outer circle, 0.2mm allowance for each side(φ22.4mm), 2 turnings,
0.8mm for first single side turning, 0.5mm for second single side turning;
3) Rough turning of the φ16mm outer circle, 0.2mm allowance for each side(φ16.4mm), 4 turnings,
1mm for the 1st single side turning, 0.8mm for the 2nd single side turning, 0.7mm for the 3rd single
side turning, 0.5mm for the 4th single side turning;
4) Finish turning of the outer circle and chamfering;
5) Grooving;
6) Thread cutting;
54
Chapter 3 Operation
7) Parting.
2. Programming
To program by the coordinate system in the figure according to the part features:
O0002; (Name of the part program)
N0010 G00 X100 Z50; (Rapidly position to the safety height for tool change)
N0020 T0101; (Change for the rough turning tool and execute the
No.1 offset)
N0030 M3 S500; (Start the spindle with speed 500 r/min)
N0040 M8; (Turn on the coolant)
N0050 G00 X26 Z0; (Rapidly position to the start point of the end surface)
N0060 G01 X0 F150; (Cut the end face)
N0070 G00 X23.4 Z2; (Rapidly position to the start point of the outer circle)
N0080 G01 Z-35 F150; (1st rough turning of the φ22mm outer circle, 0.8mm
allowance for each side)
N0090 U1; (Retract the tool in X axis)
55
GSK980TDa Turning CNC System
56
Chapter 3 Operation
5. Program running
RESET
1) Switch to the PRG CONTENT page of the Edit mode, press the key to return the cursor to
the program beginning;
2) Switch to the Auto mode;
57
GSK980TDa Turning CNC System
Chapter 4 Appendix
Operation List
X
screw-pitch , offset MDI SCREW-PITCH
COMP 2nd level ON
parameter mode
input INPUT
value,
Z
screw-pitch ,offset MDI SCREW-PITCH
COMP 2nd level ON
parameter mode
input INPUT
value,
Macro Macro variable 2nd level,
variable MACRO 3rd level,
INPUT
input value, 4th level
58
Chapter 4 Appendix
Search of bit
parameter,
data , parameter
parameter Corresponding
or INPUT data page
screw-pitch No.,
parameter
59
GSK980TDa Turning CNC System
2nd level,
Deletion of a , program PRG
Edit mode 3rd level, ON
program CONTENT
DELETE 4th level
name,
2nd level,
Deletion of , PRG
Edit mode 3rd level, ON
all programs CONTENT
DELETE 4th level
999,
2nd level,
Copy of a , program PRG
Copy Edit mode 3rd level, ON
program CONTENT
CHANGE 4th level
name,
Parameter SWITCH 2nd level,
switch ON SETTING 3rd level
2nd level,
Program SWITCH
3rd level,
switch ON SETTING
4th level
Auto
sequence SWITCH
No. switch SETTING
Switch ON
setting
Parameter SWITCH 2nd level,
switch OFF SETTING 3rd level
2nd level,
Program SWITCH
3rd level,
switch OFF SETTING
4th level
Auto
sequence SWITCH
No. switch SETTING
OFF
Explanation: In the Operation column, “,”sign between two adjacent keys means the operation is
performed by sequence; “+” sign between two adjacent keys means the operations
are performed simultaneously.
60
Chapter 4 Appendix
CANCEL CANCEL
Example: , means to press key first, then to press key;
CANCEL
+ means to press two keys simultaneously.
61
Add: No.52, 1st Street, Luoyong North Road, Luochongwei, Guangzhou, 510165, China
Website: http://www.gsk.com.cn E-mail: gsk@gsk.com.cn
Tel: (00) 86-20-81796410/81797922 Fax: (00) 86-20-81993683
All specifications and designs are subject to change without notice. May. 2008/Edition 1
Jul. 2008/Printing 1