GSK-980TDi-CNC Lathe-User Manual _programming, Operation, Installation and Connection
GSK-980TDi-CNC Lathe-User Manual _programming, Operation, Installation and Connection
GSK CNC Equipment Co., Ltd. reserves the right to ascertain their
legal liability.
GSK980TDi Turning CNC System User Manual
PREFACE
Your Excellency:
system in details.
WARNING
Special caution:
The power supply fixed on/in the cabinet is exclusively used for the
danger!
II
Cautions
CAUTIONS
■ Open-package inspection
● Confirm that the products are the required ones.
● Check whether the products are damaged in transit.
● Confirm that the parts in packing box are in accordance with the packing list.
● Contact us in time if any inconsistence, shortage or damage is found.
■ Connection
● Only qualified personnel can connect the system or check the connection.
● The system must be earthed, and the earth resistance must be less than 0.1Ω.
The earth wire cannot be replaced by zero wire.
● The connection must be correct and firm to avoid any fault or unexpected
consequence.
● Connect with surge diode in the specified direction to avoid damage to the
system.
● Switch off power supply before plugging out or opening electric cabinet.
■ Troubleshooting
● Switch off power supply before troubleshooting or changing components.
● Check the fault when short circuit or overload occurs. Restart can only be done
after troubleshooting.
● Frequent switching on/off of the power is forbidden, and the interval time should
be at least 1 min.
III
GSK980TDi Turning CNC System User Manual
Announcement
This manual describes various possibilities as much as possible. However,
operations allowable or unallowable cannot be explained one by one due to so
many possibilities that may involve with, so the contents that are not specially
stated in this manual shall be considered as unallowable.
Warning!
Before installing, connecting, programming and operating, please carefully read
the product user manual and the manual from the machine tool manufacturer and
strictly operate accordance with the regulations in the manual; otherwise, the
product or the machine tool may be damaged, the workpiece may get rejected,
even the personal injury may occur.
Caution!
Functions, technical indexes (such as precision and speed) described in this user
manual are only for this system. Actual function deployment and technical
performance of the machine tool are designed by the machine tool manufacturer,
so function configuration and technical indexes are subject to the user manual
from the machine tool manufacturer.
The system is with the standard machine operation panel, but the function of each
button on the machine panel is defined by the PLC program (ladder diagram).
Please pay attention to that the function of the buttons in the manual is described
based on the standard PLC programs!
Refer to the user manual from the machine tool manufacturer for function and
meaning of each button on the machine panel.
IV
Cautions
All specifications and designs herein are subject to change without notice.
Section Ⅰ Programming
Section Ⅱ Operation
Introduce the operation of CNC system of GSK980TDi
turning machine.
Appendix
Introduce the overall installation dimensions of CNC
system of GSK980TDi turning machine and those of its
accessories and the alarm information list, etc.
V
GSK980TDi Turning CNC System User Manual
SAFETY RESPONSIBILITY
Manufacturer’s Responsibility
——Be responsible for the danger which should be eliminated and/or controlled on
design and configuration of the provided CNC systems and accessories.
——Be responsible for the safety of the provided CNC systems and accessories.
——Be responsible for the provided message and advice for the users.
User’s Responsibility
——Be responsible for being familiar with and mastering the safety operation
procedures through training with the safety operation of the CNC system.
——Be responsible for the dangers caused by adding, changing or altering the original
CNC systems and the accessories.
——Be responsible for the dangers caused by failing to observe the provisions in the
manual for operation, adjustment, maintenance, installation and storage.
VI
Contents
CONTENTS
CHAPTER 1 PROGRAMMING .........................................................................................................3
1.1 GSK980TDi Introduction..........................................................................................................3
1.1.1 Product Introduction ..........................................................................................................3
1.1.2 Technical Specification ......................................................................................................4
1.1.3 Environment & Conditions ................................................................................................7
1.1.4 Power Supply ....................................................................................................................7
1.1.5 Guard ................................................................................................................................7
1.2 CNC System of Machine Tools & CNC Machine Tools ............................................................7
1.3 Programming Fundamentals ...................................................................................................9
1.3.1 Coordinates Definition .......................................................................................................9
1.3.2 Machine Coordinate System, Machine Zero & Machine Reference Point.......................10
1.3.3 Workpiece Coordinate System & Program Zero .............................................................10
1.3.4 Interpolation Function ..................................................................................................... 11
1.3.5 Absolute Programming & Incremental Programming ......................................................12
1.3.6 Diameter Programming & Radius Programming .............................................................13
1.4 Structure of an NC Program ..................................................................................................13
1.4.1 General Structure of Program .........................................................................................14
1.4.2 Main Program & Subprogram .........................................................................................17
1.5 Program Run .........................................................................................................................18
1.5.1 Sequence of Program Run .............................................................................................18
1.5.2 Execution Sequence of Word..........................................................................................19
1.6 Basic Axis Incremental System..............................................................................................19
1.6.1 Incremental system speed of basic axis .........................................................................20
1.6.2 Incremental System Unit of Basic Axis ............................................................................20
1.6.3 Incremental System Data Range of Basic Axis ...............................................................20
1.6.4 Incremental System Data Range & Unit of Basic Axis ....................................................21
1.6.5 Program Address Value Unit & Range of Incremental System of Basic Axis ..................23
1.7 Additional Axis Incremental System.......................................................................................23
1.7.1 Additional Axis of Current Incremental System ...............................................................24
1.7.2 Additional Axis of IS-A Incremental System ....................................................................24
CHAPTER 2 MSTF COMMAND .....................................................................................................25
2.1 M (Miscellaneous Function) ...................................................................................................25
2.1.1 End of Program M02 ....................................................................................................25
2.1.2 End of Program run M30 ..............................................................................................25
2.1.3 Subprogram Call M98 ..................................................................................................26
2.1.4 Return From Subprogram M99.....................................................................................26
2.1.5 Macro Program Call M9000~M9999 ...........................................................................27
2.1.6 M commands Defined by Standard PLC Ladder Diagram ..............................................27
2.1.7 Program Stop M00 .......................................................................................................28
2.1.8 Program Optional Stop M01 ............................................................................................29
2.1.9 Spindle CW, CCW & Stop Control M03, M04, M05 .........................................................29
2.1.10 Cooling Control M08, M09 ..........................................................................................29
2.1.11 Tailstock Control M10, M11 .........................................................................................29
2.1.12 Chuck Control M12, M13 ............................................................................................29
2.1.13 Spindle Position/Speed Control Switch M14, M15 ........................................................30
2.1.14 Spindle Clamped/Released M20, M21 ..........................................................................30
2.1.15 The 2nd Spindle Position/Speed Switch M24, M25 ........................................................30
2.1.16 Lubricating Control M32, M33 .......................................................................................30
2.1.17 Spindle Automatic Gear Change M41, M42, M43, M44 ................................................30
2.1.18 Spindle 8-point Orientation M50~M58 .........................................................................31
2.1.19 The 2nd Spindle Rotation CCW/CW, Stop M63, M64, M65 ............................................31
2.2 Spindle Function ....................................................................................................................31
2.2.1 Spindle Speed Switching Value Control ..........................................................................31
2.2.2 Spindle Speed Analog Voltage Control ............................................................................32
2.2.3 Spindle Speed Series Control .........................................................................................32
VII
GSK980TDi Turning CNC System User Manual
2.2.4 Constant Surface Speed Control G96, Constant Rotational Speed Control G97 ............ 33
2.2.5 Spindle Override ............................................................................................................. 35
2.2.6 Multiple Spindle Control Function ................................................................................... 35
2.2.7 Cs Contour Control Funciton .......................................................................................... 37
2.2.8 Spindle Positioning Function ........................................................................................... 37
2.3 Tool Function ......................................................................................................................... 37
2.3.1 Tool Control..................................................................................................................... 37
2.3.2 Tool Life Management .................................................................................................... 41
CHAPTER 3 G COMMANDS .......................................................................................................... 51
3.1 Commands ............................................................................................................................ 51
3.1.1 Modal, One-Shot & Initial Mode ...................................................................................... 53
3.1.2 Omitting Words ............................................................................................................... 53
3.1.3 Related Definitions.......................................................................................................... 55
3.2 Rapid Traverse Movement G00 .......................................................................................... 55
3.3 Linear Interpolation G01 ..................................................................................................... 56
3.4 Circular Interpolation G02, G03 .......................................................................................... 57
3.5 Three-point Circular Interpolation G05, G05.1 .................................................................... 60
3.6 Ellipse Interpolation G6.2, G6.3............................................................................................. 62
3.7 Parabola Interpolation G7.2, G7.3 ...................................................................................... 66
3.8 Plane Selection G17~G19 ................................................................................................... 70
3.9 Polar Coordinate Interpolation G12.1, G13.1 ........................................................................ 71
3.10 Cylindrical Interpolation G7.1 .............................................................................................. 74
3.11 Chamfering Function ........................................................................................................... 79
3.11.1 Linear Chamfering ........................................................................................................ 79
3.11.2 Circular Chamfering ...................................................................................................... 81
3.11.3 Special Cases ............................................................................................................... 83
3.12 Exact Stop Function Between Blocks .................................................................................. 84
3.13 Function of Directly Inputting Graphic Dimension................................................................ 86
3.14 Dwell G04 ......................................................................................................................... 89
3.15 Machine Zero Function ........................................................................................................ 90
3.15.1 Machine 1st Reference Point G28 ............................................................................... 90
3.15.2 Machine 2nd, 3rd, 4th Reference Point G30.................................................................. 91
3.16 Skip Interpolation G31 ...................................................................................................... 92
3.16.1 Following Block Execution After Skip ............................................................................ 93
3.16.2 Signals Relevant to G31 ............................................................................................... 94
3.16.3 Parameters Relevant to G31: Refer to Ⅲ INSTALLATION & CONNECTION, Section
3.2.15. ........................................................................................................................................ 94
3.17 Automatic Tool Offset G36, G37 ....................................................................................... 94
3.17.1 Signals Relevant to G36, G37 Automatic Tool Offset: ................................................... 94
3.17.2 Parameters Relevant to G36, G37: Refer to INSTALLATION, Section 3.2.16. ............. 95
3.17.3 G36, G37 Automatic Tool Offset Command Use ........................................................... 95
3.18 Workpiece Coordinate System G50 .................................................................................. 96
3.19 Local Coordinate System .................................................................................................... 97
3.20 Workpiece Coordinate System G54~G59 .......................................................................... 99
3.21 Fixed Cycle Command ...................................................................................................... 101
3.21.1 Axial Cutting Cycle G90 ........................................................................................... 101
3.21.2 Radial Cutting Cycle G94 ......................................................................................... 104
3.21.3 Caution of Fixed Cycle Commands ............................................................................ 106
3.22 Multiple Cycle Commands ................................................................................................. 106
3.22.1 Axial Roughing Cycle G71 .......................................................................................... 107
3.22.2 Radial Roughing Cycle G72........................................................................................ 114
3.22.3 Closed Cutting Cycle G73 ........................................................................................ 118
3.22.4 Finishing Cycle G70 .................................................................................................... 123
3.22.5 Axial Grooving Multiple Cycle G74 ........................................................................... 124
3.22.6 Radial Grooving Multiple Cycle G75 ........................................................................... 127
3.22.7 Drilling Cycle G83 or G87 ........................................................................................... 130
3.23 Thread Cutting Commands ............................................................................................... 133
3.23.1 Thread Cutting with Constant Lead G32 ..................................................................... 133
VIII
Contents
IX
GSK980TDi Turning CNC System User Manual
X
Contents
XI
GSK980TDi Turning CNC System User Manual
XII
Contents
XIII
GSK980TDi Turning CNC System User Manual
XV
GSK980TDi Turning CNC System User Manual
XVI
Ⅰ Programming
I Programming
1
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
2
Chapter 1 Programming
CHAPTER 1 PROGRAMMING
Ⅰ Programming
Being upgraded product of GSK980TDi, GSK980TDi CNC turning is the better choice.
The updated development GSK980TDi Turning Machine CNC System made by GSK CNC
EQUIPMENT CO., LTD. is the new product based upon the GSK980TDi updated software/hardware,
which owns the vertical and horizontal structures. GSK980TDi uses the GSKLINK bus technology,
matches with the 17bit absolute encoder, carries out the automatic recovery of the system power-on,
no-block mechanical zero return, servo parameter on-line modification or servo state on-line
diagnosis, etc.
.
GSK980TDi GSK980TDi-V
5 feed axes,2 analogy spindle
control precision 0.1μm,Max. speed 120m/min
GSK980TDi standard configuration with GS2000T-LA1 series strong overloading servo unit, it
is used the GSKLINK bus technology, matched with 17Bit absolute encoder
The spindle orientation can be carried out by adapting the servo spindle, Rigid tapping,
Cylindrical Interpolation or Polar Coordinate Interpolation.
Used the GSKLINK bus technology , carried out the functions such as the power-on
automatically recover of the coordinate system, Non-block mechanical zero return, Servo
parameter on-line modification and servo state on-line diagnosis, etc.
Built-in multi PLC programs,PLC ladder on-line display and real time monitor, as well the
series I/O unit.
It owns the MPG trial cutting, Teachine, MPG interruption functions.
It owns the functions, such as the on-line machine tool debugging guide, miscellaneous
programming, diagram dimension directly input and polygon turning, etc.
MDI multi-block performance
64M program store space, 10000 components program, and support the U disk program
3
GSK980TDi Turning CNC System User Manual
machining.
6-level operation Authorization Management,Multi-level Timed stop
8.4 inch true-color LCD supports multi-language display, such as Chinese, English and
Russian, etc.
Controllable axes
Controllable axes: 5(X, Z, Y , 4th,5th)
Link axes:3
PLC controllable axes:5(X, Z, Y, 4th,5th)
Feed axis function
Least input increment: 0.001mm(0.0001inch)and 0.0001mm(0.00001inch)
Least command increment:0.001mm(0.0001inch)and 0.0001mm(0.00001inch)
Position command range: ±99999999× least command unit
Rapid traverse speed:120m/min
Rapid override: F0, 25%, 50%, 100%
Feedrate override: 0~150% 16 grades to tune
Interpolation mode: linear interpolation, arc interpolation(three-point arc interpolation),
thread interpolation, ellipse interpolation, parabola interpolation,Cylindrical
Interpolation、Polar Coordinate Interpolation and rigid tapping
Automatic chamfer function
Thread function
General thread(following spindle)/rigid thread
Single/multi metric, inch straight thread, taper thread, end face thread, constant pitch
thread and variable pitch thread
Thread run-out length, angle, speed characteristics can be set
Thread pitch: 0.01mm~500mm or 0.06 tooth/inch~2540 tooth/inch
Acceleration/deceleration function
Cutting feed: linear
Rapid traverse: linear, S
Thread cutting: linear, exponential
Initial speed, termination speed, time of acceleration/deceleration can be set by
parameters
Spindle function
The Max. spindle controllable number is 3, the top series spindle number is 3, the
upmost analog spindle number is 2; support the multi-spindle control.
2-channel spindle encoder feedback, spindle encoder line can be set(100p/r~5000p/r)
Transmission ratio between encoder and spindle:(1~255):(1~255)
Spindle speed: it is set by S or PLC, and speed range: 0r/min~9999r/min
Spindle override: 50%~120% 8 grades tune
Spindle constant surface speed control
Rigid tapping
4
Chapter 1 Programming
Tool function
Tool length compensation
Tool nose radius compensation(C)
Tool wear compensation
Tool life management
Toolsetting mode: fixed-point toolsetting, trial-cut toolsetting, reference point return
Ⅰ Programming
toolsetting, automatic toolsetting
Tool offset execution mode: modifying coordinate mode, tool traverse mode
Precision compensation
Backlash compensation
Memory pitch error compensation
PLC function
Two-level PLC program,up to 5000 steps,the 1st program refresh period 8ms
PLC program communication download
PLC warning and PLC alarm
Many PLC programs(up to 16PCS), the PLC program currently running can be
selected
Basic I/O:48 input signals /38 output signals
Man-machine interface
8.4″ wide screen LCD,resolution: 800×600
Chinese, English display
Planar tool path display
Real-time clock
Programming miscellaneous
Aided programming
Grammar check
Two-dimensional tool path
Path preview
Operation management
Operation mode: edit, auto, MDI, machine zero return, MPG/single, manual, program
zero return
Multi-level operation privilege management
Alarm record
Program edit
Program capacity: 64MB , 10000 programs ( including subprograms and macro
programs)
Edit function: program/block word search, modification, deletion
Program format: ISO command, statement macro command programming, relative
coordinate, absolute coordinate and compound coordinate programming
Program call: macro program call with parameter, 4-level program built-in
Communication function
RS232:two-way transmitting part programs and parameters, PLC program, system
software serial upgrade
RJ45 access: File dual-direction transportation, such as the Component program,
5
GSK980TDi Turning CNC System User Manual
Safety function
Emergency stop
Ⅰ Programming
G command table
Command Function Command Function Command Function
Rapid traverse Macro program modal
G00 G28 Reference point return G66
(positioning) call
2nd, 3rd, 4th reference point Macro program modal
G01 Linear interpolation G30 G67
return call cancel
Axial roughing cycle
G02 CW arc interpolation G31 Skip function G71
(flute cycle)
G03 CCW arc interpolation G32 Constant pitch thread cutting G72 Radial roughing cycle
G04 Dwell, exact stop G32.1 Rigid thread cutting G73 Closed cutting cycle
Three-point arc
G05 G33 Z tapping cycle G70 Finishing cycle
interpolation
Ellipse interpolation Thread cutting with variable
G6.2 G34 G74 Axial grooving cycle
(CW) lead
Ellipse interpolation
G6.3 G36 Automatic tool compensation X G75 Radial grooving cycle
(CCW)
Parabola interpolation Multiple thread cutting
G7.2 G37 Automatic tool compensation Z G76
(CW) cycle
Parabola interpolation Tool nose radius compensation Rigid tapping state
G7.3 G40 G80
(CCW) cancel cancel
Polar coordinate Tool nose radius compensation
G12.1 G41 G83 Axial drilling cycle
interpolation left
Tool nose radius compensation
G7.1 Cylinder interpolation G42 G84 Axial rigid tapping
right
Polar coordinate Workpiece coordinate system
G15 G50 G87 Radial drilling cycle
command cancel setting
Polar coordinate Local workpiece coordinate
G16 G52 G88 Radial rigid tapping
command system
Plane selection
G17 G54 Workpiece coordinate system 1 G90 Axial cutting cycle
command
Plane selection
G18 G55 Workpiece coordinate system 2 G92 Thread cutting cycle
command
Plane selection Rigid thread cutting
G19 G56 Workpiece coordinate system 3 G92.1
command cycle
G10 Data input ON G57 Workpiece coordinate system 4 G94 Radial cutting cycle
Constant surface speed
G11 Data input OFF G58 Workpiece coordinate system 5 G96
control
Constant surface speed
G20 Input in inch G59 Workpiece coordinate system 6 G97
control cancel
6
Chapter 1 Programming
Ⅰ Programming
1.1.3 Environment & Conditions
GSK980TDi storage delivery, working environment as follows:
1.1.5 Guard
GSK980TDi guard level is not less than IP20.
7
GSK980TDi Turning CNC System User Manual
Fig. 1-1
8
Chapter 1 Programming
Φ3.76
machining processing
1.28 O0001;
3.92
G00 X3.76 Z0;
Edit part programs and record into CNC G01 Z-1.28
Ⅰ Programming
F50;
…
M30;
%
Test part programs and execute trial run
Fig. 1-2
Fig. 1-3
9
GSK980TDi Turning CNC System User Manual
Z
Z
Fig.1-4 Front tool post coordinate system Fig.1-5 Rear tool post coordinate system
10
Chapter 1 Programming
coordinate system.
The current position of workpiece coordinate system set by G50 is the program zero.
Note: Do not execute the machine reference point return without using G50 to set the workpiece coordinate
system after power on, otherwise, the alarm occurs.
Workpiece Rod
Ⅰ Programming
O2 O1 Z1 (Z2)
x1/2 (x2/2)
z1
z2
(x,z)
(x1,z1) X/2
X2 X1 (x2,z2)
Z
(0,0)
Z
X
Fig. 1-6
In the above figure, XOZ is the coordinate system of machine tool, X1O1Z1 is the workpiece
coordinate system of X axis located at the heading of workpiece, X2O2Z2 is the one of X axis located
at the ending of workpiece, O point is the machine reference point, A point is the tool nose and
coordinates of A point in the above-mentioned coordinate systems is as follows:
A point in the machine tool coordinate system: (x, z);
A point in X1O1Z1 coordinate system: (x1, z1);
A point in X2O2Z2 coordinate system: (x2, z2).
11
GSK980TDi Turning CNC System User Manual
thread cutting. For thread interpolation, the feed axis rotates along with the
spindle, the long axis moves one pitch when the spindle rotates one rev,
and the short axis and the long axis directly interpolate.
Example:
Ⅰ Programming
Fig. 1-7
…
G32 W-27 F3; (B→C; thread interpolation)
G1 X50 Z-30 F100;
G1 X80 Z-50; (D→E; linear interpolation)
G3 X100 W-10 R10; (E→F; circular interpolation)
…
M30;
12
Chapter 1 Programming
Ⅰ Programming
Fig.1-8
Diameter Radius
Address Explanation
programming programming
X coordinate
X In diameter In radius
G50 setting X coordinate
X increment In diameter In radius
U
X finishing allowance in G71, G72, G73 In diameter In radius
Moving distance of tool retraction when
R In diameter In radius
cutting to the end point in G74
Except for addresses and data in Table 1-1, others (arc radius, taper in G90) are unrelated to
diameter or radius programming, and their input values in X direction are defined by the radius.
Note: The diameter programming is used except for the special description in the following explanation.
13
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
Fig. 1-9
O0001 ; (Program name)
N0005 G0 X100 Z50; (Rapidly positioning to A point)
N0010 M12; (Clamping workpiece)
N0015 T0101; (Changing No.1 tool and executing its offset)
N0020 M3 S600; (Starting the spindle with 600 r/min)
N0025 M8 (Cooling ON)
N0030 G1 X50 Z0 F600; (Approaching B point with 600mm/min)
N0040 W-30 F200; (Cutting from B point to C point)
N0050 X80 W-20 F150; (Cutting from C point to D point)
N0060 G0 X100 Z50; (Rapidly retracting to A point)
N0070 T0100; (Canceling the tool offset)
N0080 M5 S0; (Stopping the spindle)
N0090 M9; (Cooling OFF)
N0100 M13; (Releasing workpiece)
N0110 M30; (End of program, spindle stopping and Cooling OFF)
The tool leaves the path of A→B→C→D→A after the above-mentioned programs are executed.
14
Chapter 1 Programming
command and there may be different meaning in the same command address when the different
words are combined together. All words of GSK980TDi are in Table 1-2.
Ⅰ Programming
Table 1-2 Word table
15
GSK980TDi Turning CNC System User Manual
Block
A block which is basic unit of CNC program consists of a sequence of words, ending with “;” or
“*” . There is the character “;” or “*” between blocks. “;” is used to separate blocks in the manual as
follows:
16
Chapter 1 Programming
End of block
Block number
Block skip
One block may be with a number of words or only with “; ”ending character(EOB) instead of
Ⅰ Programming
words. There must be one or more blank space between many words.
There is only one for other addresses except for N, G, S, T, H, L in one block, otherwise the
system alarms. The last word in the same address is valid when there are more N, G, S, T, H, L in the
same block. The last G code is valid when there are more G codes which are in the same group in
one block.
Block number
A block number consists of an address N and its following 4-digit: N0000~N9999, and the
leading zero can be omitted. The block number must be at the beginning of block, otherwise the block
is invalid.
The block number can be omitted, but there must be the block number when the program
calls/skips the target block. The increment of block number is at will and it better to increase or
decrease the sequence of block number in order to conveniently search and analyze programs.
When “Automatic number” in the switch window is set to “ON”, block numbers will be
automatically created incrementally and their increment is defined by No.42.
Character for block skip
Insert “/” in the front of block and startup when some block cannot be executed (cannot be
deleted), and the system skips the block and executes the next one. The block with “/” in the front of it
is executed if the block skip switch is not started.
17
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
mode, the program starts to run by the cycle start signal ( is pressed or external cycle start
signal)from a block pointed by current cursor, usually blocks are executed one by one according to
their programming sequence, the program stops running till executing M02 or M30. The cursor moves
along with program running and is located at the heading of the current block. Sequence and state of
program running are changed in the followings:
after the system switches into Auto mode, is pressed or external cycle start signal is
switched on;
The program stops running in Manual(Jog), Handwheel (MPG), Single Block, Program
Reference Point Return, Machine Reference Point Return mode and it continuously runs
from current position after the system is switched into Auto mode and is pressed or
the external cycle start signal is switched on;
The program pauses after pressing or the external cycle start signal is switched off,
and it continuously runs from current position after pressing or the external cycle
start signal is switched on;
When Single Block is ON, the program pauses after every block is executed completely, and
18
Chapter 1 Programming
then it continuously runs from the next block after is pressed or the external cycle
start signal is switched on;
Block with “/” in the front of it is not executed when the block skipping switch is ON;
The system skips to the target block to run after executing G65;
Please see I Programming, Section Three G Commands about execution sequence of
Ⅰ Programming
G70~73;
Call corresponding subprograms or macro program to run when executing M98 or
M9000~M9999; the system returns to main program to call the next block when executing
M99(if M99 specifies a target block number, the system returns to it to run) after the
subprograms or macro programs run completely;
The system return to the first block to run and the current program is executed repetitively
when M99 is executed in a main program.
19
GSK980TDi Turning CNC System User Manual
20
Chapter 1 Programming
Ⅰ Programming
1.6.4 Incremental System Data Range & Unit of Basic Axis
Speed parameter
Linear axis speed parameter unit is determined by the machine type. i.e.: metric machine speed
unit: mm/min, inch machine is: 0.1inch/min.
Linear axis speed parameter range is determined by the machine type and incremental system
type.
Data parameter No. 027(cutting upper speed):
Machine type Incremental system Linear axis speed unit Parameter range Rotary axis speed unit
μ level(IS-B) 10~ 15000
Metric machine mm/min
0.1μ level(IS-C) 10~ 15000
deg/min
μ level(IS-B) 5~58000
Inch machine 0.1inch/min
0.1μ level(IS-C) 5~5800
Rotary axis does not execute the metric/inch conversion, the rotary axis speed unit is deg/min;
the parameter range is the same that of metric machine.
The different incremental system switch may cause the set max. run speed in the data parameter
exceeding max. range permitted by the system, so, the operator should modify the speed parameter
to avoid the unexpected when the first power-on after switch.
Incremental parameter
The unit and range of linear axis incremental parameter are determined by the machine type and
incremental system type as follows:
Machine type Incremental system Linear axis incremental unit Linear axis parameter range
μ level(IS-B) 0.001mm -99, 999.999~ 99,999.999
Metric machine
0.1μ level(IS-C) 0.0001 mm -9, 999.9999~ 9,999.9999
μ level(IS-B) 0.0001inch -9, 999.9999~ 9,999.9999
Inch machine
0.1μ level(IS-C) 0.00001 inch -999.99999~ 999.99999
The rotary axis does not execute the metric/inch switch, the unit of rotary axis incremental
parameter is determined by the incremental system type. The range of rotary axis incremental
parameter is the same that of the metric machine.
Machine type Incremental system Rotary axis speed unit Rotary axis parameter range
Metric, Inch μ level(IS-B) 0.001° 0~ 99999.999
machine 0.1 μ level(IS-C) 0.0001° 0~ 9999.9999
21
GSK980TDi Turning CNC System User Manual
Offset data
Offset data unit is determined by metric/inch input system. i.e. metric input is mm; inch input is
inch.
Offset data range is limited to 9999999 and is determined by the metric/inch input system and
incremental system as follows:
Input type Incremental system Offset data unit Offset data range
μ level(IS-B) ±9999.999
Metric input(G21) mm
0.1μ level(IS-C) ±999.9999
μ level(IS-B) ±999.9999
Inch input (G20) inch
0.1μ level(IS-C) ±99.99999
22
Chapter 1 Programming
Ⅰ Programming
F 0.001~500.000 0.0001~500.00 mm/tooth[lead]
Metric input (G21)
I 0.06~25400 0.06~2540 tooth[lead]/inch
F 0.0001~50.00 0.00001~50.0 inch/tooth[lead]
Inch input(G20)
I 0.06~2540 0.06~254 tooth[lead]/inch
Speed F definition
G98 m/min: feed per minute: F unit: mm/min
G99 feed per rev: F definition and range are as follows:
23
GSK980TDi Turning CNC System User Manual
24
Chapter 2 MSTF Command
Ⅰ Programming
controlling the flow of executed program or outputting M commands to PLC.
M □□□□
Command value (00~99, 9000~9999, the leading zero can be omitted)
Command address
M98, M99, M9000~M9999 is executed by NC separately and NC does not output M commands
to PLC.
M02, M03 are for ending of programs defined by NC, and NC outputs M commands to PLC
which can control spindle OFF, cooling OFF and so on.
M98, M99, M9000~M9999 are for calling programs, M02, M30 are for ending of program which
are not changed by PLC. Other M commands output to PLC and their function are defined by PLC.
Please refer to User Manual from machine manufacturer.
There is only one M command in one block, otherwise the system alarms.
Table 2-1 M commands to control program execution
Commands Functions
M02 End of program
M30 End of program
M98 Call subprograms
Return from a subprogram; it is executed repeatedly when the program
M99
ends in M99(the current program is not called by other programs)
M9000~M9999 Call macro programs(their program numbers are more than 9000)
returns immediately after the program is executed completely when No.005 Bit 4 is set to 1.
Except for the above-mentioned function executed by NC, M30 function is also defined by PLC
ladder diagram as follows: the system closes M03, M04 or M08 signal output and outputs M05 signal
after M30 is executed.
Command format:
M98 P○○○○□□□□
Called subprogram number ( 0000 ~ 9999 ) . The leading zero of
subprogram number can be omitted when the calling times is not input; the
subprogram number must be with 4 digits when the calling times is input..
Call times: 1~9999. The calling times cannot be input when it is 1.
Command function: In Auto mode, after other commands are executed in M98, CNC calls
subprograms specified by P, and subprograms are executed 9999 times at
most. M98 is invalid in MDI mode.
Fig. 2-1
26
Chapter 2 MSTF Command
Ⅰ Programming
Fig. 2-2
Subprogram calls can be nested up to four levels as shown in Fig. 2-3.
M a in p ro g ra m S ub p ro g ra m S u b p ro gr a m S u bp ro g ra m S u b pr og ra m
L ev el 1 L ev el 2 L ev el 3 Le ve l 4
Fig. 2-3 Subprogram nesting
27
GSK980TDi Turning CNC System User Manual
28
Chapter 2 MSTF Command
Command function: in AUTO, MDI mode, it is valid. Press and its indicator lights and the
system enters the optional stop state, at the moment, the program stops run
Ⅰ Programming
and the system displays “PAUSE” after M01 is executed, after the cycle start
key is pressed, the program continuously runs. When the program optional
stop switch is not open, the program does not pause even if M01 runs.
2.1.9 Spindle CW, CCW & Stop Control M03, M04, M05
Command format: M03 or M3
M04 or M4;
M05 or M5.
Command function: M03: Spindle CW rotation;
M04: Spindle CCW rotation;
M05: Spindle stop.
Note: Refer to time sequence of output defined by standard PLC ladder in
Ⅲ INSTALLATION & CONNECTION.
29
GSK980TDi Turning CNC System User Manual
Note: Refer to time sequence and logic of M14, M15 defined by standard PLC ladder in
Ⅲ INSTALLATION & CONNECTION.
30
Chapter 2 MSTF Command
Ⅰ Programming
Ⅲ INSTALLATION & CONNECTION.
2.1.19 The 2nd Spindle Rotation CCW/CW, Stop M63, M64, M65
Command format: M63;
M64;
M65;
Command function:
M63: spindle rotation CCW;
M64: spindle rotation CW;
M65: spindle stop.
Note 1: The sequence of M63, M64, M65 defined by the standard PLC is the same that of M03, M04, M05.
Note 2: The function is enabled when the 2nd spindle function is valid.
31
GSK980TDi Turning CNC System User Manual
Dwell time
Start to execute S command Start to execute the following word or block
S01, S02, S03, S04 output are reserved when resetting CNC.
S1~S4 output are invalid when CNC is switched on. The corresponding S signal output is valid
Ⅰ Programming
and reserved, and others are cancelled at the same time when executing one of S01, S02, S03, S04.
When executing S00, S1~S4 output are cancelled and only one of S1~S4 is valid at the same time.
32
Chapter 2 MSTF Command
of the spindle. S command value is not reserved, and it is 0 after the system is
switched on.
When the spindle speed analog voltage control is valid, there are 2 methods to input the spindle
speed: the spindle fixed speed is defined by S command( r/min), and is invariant without changing S
command value, which is called constant speed control(G97 modal); other is the tangent speed of
tool relative to the outer circle of workpiece defined by S command, which is called constant surface
Ⅰ Programming
speed control (G96 modal), and the spindle speed is changed along with the absolute coordinates
value of X absolute coordinates in programming path when cutting feed is executed in the constant
surface speed.
Please refer to Section 2.2.4.
The system can execute 4 gears spindle speed. Count the analog voltage value corresponding
to the specified speed according to setting value(corresponding to No.037~No.040) of max. spindle
speed (analog voltage is 10V)of current gear, and then output to spindle servo or converter to ensure
that the spindle actual speed and the requirement are the same.
33
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
Fig. 2-4
In G96, the spindle speed is changed along with the absolute value of X absolute coordinates
value of programming path in cutting feed (interpolation), but it is not changed in G00 because there
is no actual cutting and is counted based on the surface speed of end point in the program block.
In G96 (constant surface speed control), Z coordinates axis of workpiece system must consist
with the axes of spindle (rotary axis of workpiece), otherwise, there is different between the actual
surface speed and the defined one.
G96 control is valid, G50 S_ can limit max. spindle speed (r/min). The spindle actual speed is the
limit value of max. speed when the spindle speed counted by the surface speed and X coordinates
value is more than the max. spindle speed set by G50 S_. After the system powers on, max. spindle
speed limit value is not defined and its function is invalid. Max. spindle speed limit value defined by
G50 S_ is reserved before it is defined again and its function is valid in G96. Max. spindle speed
defined by G50 S_ is invalid in G97 but its limit value is reserved.
Note: When NO.043 (lowest spindle speed in constant surface speed control) is set to 0 and G50 S0 is
executed, the spindle speed is limited to 0 r/min (the spindle does not rotate).
When the constant surface speed is controlled by the system parameter No.043, the spindle
speed is lower limit, which is higher than one counted by the surface speed and X axis coordinates
value.
Example:
Fig. 2-5
O0001 ; (Program name)
34
Chapter 2 MSTF Command
N0010 M3 G96 S300; (Spindle rotates clockwise, the constant surface speed control is
valid and the surface speed is 300 m/min)
N0020 G0 X100 Z100; (Rapid traverse to A point with spindle speed 955 r/min)
N0030 G0 X50 Z0; (Rapid traverse to B point with spindle speed 1910 r/min)
N0040 G1 W-30 F200; (Cut from B to C with spindle speed 1910 r/min)
N0050 X80 W-20 F150; (Cut from C to D with spindle speed 1910 r/min and surface speed
Ⅰ Programming
1194 r/min)
N0060 G0 X100 Z100; (Rapid retract to A point with spindle speed 955 r/min)
N0110 M30; (End of program, spindle stopping and cooling OFF)
N0120 %
Note 1: S value commanded in G96 is also reserved in G97. Its value is resumed when the system is in G96
again; Example:
G96 S50; (Cutting surface speed 50m/min)
G97 S1000; (Spindle speed 1000 r/min)
G96 X3000; (Cutting surface speed 50m/min)
Note 2: The constant surface speed control is valid when the machine tool is locked (X, Z do not move when
their motion command are executed);
Note 3: To gain the precise thread machining, it should not be adopted with the constant surface speed
control but the constant rotational speed (G97) in the course of thread cutting;
Note 4: From G96 to G97, if none of S command (r/min) is commanded in the program block in G97, the last
spindle speed in G96 is taken as S command in G97, namely, the spindle speed is not changed at this
time;
Note 5: In G96, when the spindle speed counted by the cutting surface speed is more than max. speed of
current spindle gear (system parameter No.037~No.040), at this time, the spindle speed is limited to
max. one of current spindle gear.
35
GSK980TDi Turning CNC System User Manual
spindle has not received the spindle selection signal, it rotates with the previous speed, which makes
the spindle rotates with different speed in different time. Each spindle has its own stop signal and
enabling signal.
When №001#4 is set to 1, setting MSEN(№196#4)to 1 can start the multiple spindle control
function.
The spindle control has several methods which are set by MSI(№196#7)as follows:
Ⅰ Programming
36
Chapter 2 MSTF Command
Ⅰ Programming
2.2.8 Spindle Positioning Function
In the turning machining, the spindle rotates at one certain speed, therefore, the workpiece
installed on the spindle revolved and machined. In this case, the spindle control state is called
“Spindle Rotation Mode”. Compare to the others, moves one angle for the spindle, so that the
workpiece installed on the spindle positions at one angle, which is regarded as “Spindle Positioning
Function”. In this case, the controllable state of the spindle is called “Spindle Positioning Mode”.
Generally, the spindle positioning axis is mechanically clamped to use after the positioning operation
is performed, and therefore, the relation operations between the spindle clamping and releasing may
be performed before/after the positioning.
The spindle positioning function can be devided into 3 steps based upon the operation:
Release the spindle rotation method, shift to the spindle positioning mode
Shift the spindle to its positioning method by executing the specific M code (Parameter
setting), and then set up a reference position.
The positioning spindle operation in the spindle positioning method.
Spindle positioning can be performed the position of arbitrary angle by axis address, which
can be used the absolute and relative commands. It is better not to perform with the shared
block other than the G00 or G50 command.
For example, suppose the controllable axis is C axis:
G00 C45.000
G00 H-60.000
Release the spindle positioning method, shift to the operation of the spindle rotation
method.
Shift the spindle to the spindle rotation method by performing the specific M code (Parameter
Setting).
Compare the spindle positioning function with the Cs axis contour controllable function,
regardless of the linkage interpolation with other axes; generally, the mechanical equipment clamping
can be used when the position is completed.
Especially note, the spindle positioning function and Cs axis contour controllable function can not
be simultaneously used.
37
GSK980TDi Turning CNC System User Manual
T□□ ○○
numbers. After executing tool offset and then T□□00, the system reversely offset the current tool
offset and the system its operation mode from the executed tool length compensation into the
non-compensation, which course is called the canceling tool offset, called canceling tool
compensation. When the system is switched on, the tool offset number and the tool offset number
displayed by T command is the state before the system is switched off.
Only one T command is in a block, otherwise the system alarms.
Toolsetting is executed to gain the position offset data before machining (called tool offset), and
the system automatically executes the tool offset after executing T command when programs are
running. Only edit programs for each tool according to part drawing instead of relative position of
each tool in the machine coordinate system. If there is error caused by the wearing of tool, directly
modify the tool offset according to the dimension offset.
38
Chapter 2 MSTF Command
Ⅰ Programming
Table 2-4
Tool offset number X Z
00 0.000 0.000
01 0.000 0.000
02 12.000 -23.000
03 24.560 13.452
39
GSK980TDi Turning CNC System User Manual
In Edit and Auto mode, a sole T word in executing tool offset (it is not with the motion command
in the same block) is relative to No.004 BIT3 setting (as Fig.2-6 and Fig.2-7). When No.003 Bit4=1
and a sole T command is executed, the tool offset number is displayed in poor, which is cleared
out(tool offset number is still displayed in poor when tool offset is not executed for one axis, the
previous bit of tool offset number is for X axis tool compensation and the next one is for Z axis tool
compensation) after executing tool offset.
Example: When No.003 Bit4 is 1 and a sole T0101 is executed, the system displays after
executing Z axis as follows:
Executing a sole T0101 and tool offsets of two axes are not executed
40
Chapter 2 MSTF Command
Ⅰ Programming
Executing W0 after T0101, X tool offset is not executed but that of Z is done
When T command and the motion command are in the same block and execute tool offset by
modifying coordinates, the motion command and T command are executed at the same time, the
system executes by adding the current tool offset to coordinates of motion command and whether the
traverse speed is employed the cutting feedrate or the rapid traverse speed defined by the motion
command.
When T command and the motion command are in the same block and execute tool offset by
traversing tool, the motion command or T command is executed separately. Firstly tool change is
executed and then the motion command is executed. The tool offset is executed at current rapid
traverse speed.
The tool offset is cancelled after one of the following operations is executed:
1. Execute T□□00 command;
2. Execute G28 or manual machine reference point return (only the tool offset of coordinate
axis which is executed machine reference point return is cancelled, and another one which is
not executed machine reference point return is not cancelled);
When No.084 is not 1 (2~32) and target tool number is not equal to current display tool number,
the control sequence and logic of tool post is defined by PLC ladder diagram after commanding T
command, please see User Manual of machine tool manufacturer. GSK980TDi standard PLC ladder
diagram defines as follows: clockwise rotation for selecting tool, counterclockwise rotation for tool
post clamping, directly inputting tool selection signal for tool change. Please refer to Ⅲ
INSTALLATION & CONNECTION.
When the system is employed with line-up tool post, No.084 should be set to 1 and different tool
number is executed by different tool offset as T0101, T0102, T0103.
41
GSK980TDi Turning CNC System User Manual
Current tool state: display the current used tool life management data;
Tool number: current used tool and tool compensation number;
Group: the group where the tool is;
Life: tool life data, the specified value can be time or number of times according to the different
Press to change the tool state to skip when the tool is not used in the current window.
Defined group: It only display defined group number and the undefined group number is not
displayed. The displayed group back lighted means that all tool life in this group is
over.
2) Creating and displaying tool group number
A. In tool group state display window, press , group number, and the system
display the tool group life data, and when the group does not exist, it is defined to the new
group number( the parameter switch is ON in MDI mode).
Note: After the new group is defined, GSK980TDi will automatically define the first tool, for
example, the new defined group number is 01, the display is as follows:
42
Chapter 2 MSTF Command
Ⅰ Programming
B. Press to move the cursor to Defined Group Number.
T0303 L200 N0; L_: tool life data, the specified value
can be time or number of times
T0304 L300 N0;
according to the different count
G11; Cancel the tool life management data N value
input mode
M30;
Note 1: The tool group numbers specified by P may not be the continuous, but it is better to gradually
increase the sequence number to easily search the tool group number.
Note 2: The tool life is 0 when the life data L_ is omitted, and the tool mode is 0 (minute) when the specified
43
GSK980TDi Turning CNC System User Manual
mode N_ is omitted, at the time, the system only counts and doest not alarm for the output.
Note 3: Other commands between G10 L3 and G11 are ignored.
Note 4: Running the tool life preset program (such as O0020) completely clear all previous life data and
preset the life data according to the program requirements.
Note 5: Prevent the life data from being modified manually when the part programs are running until the run
state stops (except for running the tool life preset programs).
Note 6: All tool life data is stored when power-down.
Ⅰ Programming
2) Input tool life management data in the tool life management window
Input directly the tool life management data in tool compensation- >tool life window in MDI
mode, parameter switch ON and 3-level operation limit.
A. alter data:
In tool compensation -> tool life window, press to move the tool to the life position, input
B. Inserting data:
Insert any serial number in the current page, press ――>[01~08]――> , insert
a new line, and the initial value definition is as follows:
Serial number Tool offset Life Used Mode State
N 0000 0 0 0 Over
a) Insert the front and the previous serial number moves backward.
44
Chapter 2 MSTF Command
b) Insert the middle and the previous sequence number moves backward.
Ⅰ Programming
c) Insert behind
C. Delete data:
a) Delete data in all groups.
In tool compensation-> tool life window, press to delete all defined data.
Before operation
45
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
After operation
b) Delete data in any group
Before operation
After deletion
c) Delete any serial number in the current page(the parameter switch is ON)
46
Chapter 2 MSTF Command
Ⅰ Programming
Before deletion
After deletion
4. Tool life function use
Command format:
Txx99: end of current used tool group, start the tool and execute the life management in XX
group.
Txx88: cancel the tool offset in XX group
Two examples are as follows:
Application example:
O0000 (O0000)
…
T0199; End of previous tool group, and start the tool in 01 group
…
T0188; Cancel tool offset in 01 group(current used tool offset)
…
T0508; Use No.05 tool and 08 tool offset without life management
…
T0500; Cancel No.05 tool offset
…
T0299; End of No.05 tool and start the tools in 02 group
…
End of tools in No.02 group, start tools in No.02 group, and start the
T0199;
next tool when there are many tools in No.01 group.
…
47
GSK980TDi Turning CNC System User Manual
002 LIFC
LIFC=0 Tool life management count mode 1
Execute the tool select (Txx99) to change the tool number, execute the count in the cutting
feed mode (except for machine lock, auxiliary lock, dry run state). The count is not executed
when the tool number is changed and the system is not in the cutting feed mode.
Application example:
… …
T0199 1st times T0199
… …
T0299 T0199
… …
T0199 2nd times T0199
… …
T0299
…
T0199 3rd times
…
48
Chapter 2 MSTF Command
life ends.
2)New tool selection signal TLNW(F064#1)
[Type] output signal
[Function] inform a new tool in some tool group has been selected
[Output condition] the signal is set to 1 and a new tool in some tool group has been
selected.
Ⅰ Programming
3)Tool change reset signal TLRST(G048#7)
[Type] input signal
[Function] clear all execution data
[Operation] when the signal is set to 1, the control unit clears the used tool life data of in
all groups; The tool state is reset to the unused.
Note: when the automatic operation signal OP is “0”, the tool change reset signal TLRST is valid.
4)Tool skip signal TLSKP(G048#5)
[Type] input signal
[Function]use the following two methods to change the tools which have not reached the
life:
a) When LIFJ(NO.2#4)is set to 1,the selection signals of the tool group number
(G47#0~#4)specify the tool group number, then, the tool skip signal TLSKP
becomes “1”,the next T command skips the tool which is being used of the
current group, and the tool which life has not reach in the group specified by
G47#0~#4 is used.
b)When LIFJ(NO.2#4)is set to 0,the group numbers specified by the tool group
number signal(G47#0~#4)are invalid, the tool skip signal TLSKP becomes “1”,
the machine skips to the next tool in the current used tool group.
[Operation]when the signal is set to 1, the operation described in [Function] is executed.
Note: When cycle start light signal(STL) and feed pause light signal(SPL) must be “0”, inputting TLSKP signal
is valid.
5)Tool group number selection signal TL01~TL16(G47#0~#4)
[Type] input signal
[Function] when TLSKP is input, using the tool group selection signal TL01~TL16
specifies the tool group number with the binary system. The specified tool
group number = G47#4~#0+1.
[Operation] specify the selected tool group
49
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
50
Chapter 3 G Commands
CHAPTER 3 G COMMANDS
3.1 Commands
G command consists of command address G and its following 1~2 bits command value, used
Ⅰ Programming
for defining the motion mode of tool relative to the workpiece, defining the coordinates and so on.
Refer to G commands as Fig. 3-1.
G □□
G words are divided into 9 groups (00, 01, 02, 03, 06,07,12,14,16,21). Except that commands
in the group 01 and 00 are not in the same block, G words in the different groups can be input to the
same block and the last one is valid when two or more G words in the same group are input. The
words in the different groups without the same parameter (word) can be in the same block and their
functions are valid without sequence at the same time. The system alarms when G words do not
belong to Table 3-1 or they are optional functions without being supplied.
51
GSK980TDi Turning CNC System User Manual
52
Chapter 3 G Commands
Ⅰ Programming
G commands are divided into group 00, 01, 02, 03, 06, 07, 16, 21.
After G commands are executed, their defined functions and states are valid until they are
changed by others in the same group, which commands are called modal G commands. After the
modal G words are executed, and before their defined functions and states are changed, the G
command cannot be input again when they are executed by the following block.
The defined function and state are valid one time after G command is executed, and the G word
must be input again when it is executed every time, which command is called one-shot G command.
After the system is switched on, the valid modal G commands which are not executed their
functions or states are called initial mode G command. Take it as the initial mode G command to be
executed when it is not be input after the system is switched on.
Table 3-2
53
GSK980TDi Turning CNC System User Manual
Command
Function Initial value when power-on
address
U Cutting depth in G71 No.51 parameter value
U Move distance of X tool retraction in G73 No.53 parameter value
W Cutting depth in G72 No.51 parameter value
W Move distance of X tool retraction in G73 No.54 parameter value
Ⅰ Programming
Note 1: For the command addresses with functions (such as F, used for feedrate per minute, feedrate per
revolution and metric pitch and so on), they can be omitted not to input when executing the same
function to definite words after the words are executed. For example, after executing G98 F_ without
executing the thread command, the pitch must be input with F word when machining metric thread.
Note 2: They can be omitted not to input when the address characters X(U) , Z(W) are the coordinates of end
point of block and the system defaults the current absolute coordinates in X or Z direction to the
coordinate value of end point of block.
Note 3: The corresponding words must be input when the command addresses which are not in Table 3-2
are used.
Example 1:
O0001;
G0 X100 Z100; (rapid traverse to X100 Z100; the modal G0 is valid)
X20 Z30; (rapid traverse to X20 Z30; the modal G0 is not input)
G1 X50 Z50 F300; (linear interpolation to X50 Z50, feedrate 300mm/min; the modal G1 is
valid)
X100; (linear interpolation to X100 Z50, feedrate 300mm/min; Z coordinate is
not input and is the current coordinates Z50; F300 is kept, G1 is modal
and is not input)
G0 X0 Z0; (rapid traverse to X0 Z0 and the modal G0 is valid)
M30;
Example 2:
O0002;
54
Chapter 3 G Commands
Ⅰ Programming
G98 F500 G01 X100 Z100; (Feedrate per minute 500mm/min in G98)
G92 X50 W-20 F2 ; (F value is a pitch and must be input in thread cutting)
G99 G01 U10 F0.01 (Feedrate per revolution in G99 must be input again)
G00 X80 Z50 M30;
55
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
Fig. 3-1
The respective rapid traverse speed of X, Z is defined by the system parameter No.022, No.023,
and their traverse speed can changed by rapid override key on the machine control panel.
Example: The tool rapidly traverses to B from A as Fig. 3-2.
Fig. 3-2
56
Chapter 3 G Commands
Ⅰ Programming
new one is executed. Do not repeat it when the following G
commands adopt functions of F word. Its range is referred to Table
1-2 of Section 1.4.1.
Note: In G98, F max. value cannot exceed the value set by the data parameter No.027(upper speed of cutting
feed), otherwise, the system alarms.
Command path:
Fig. 3-3
Fig. 3-4
post coordinate system) arc from starting point to end point as Fig. 3-5.
G03 movement path is counterclockwise (rear tool post coordinate system/clockwise (front tool
post coordinate system) arc from starting point to end point as Fig. 3-6.
Command path:
X Z axis
B
U/2
A R
I
K
X axis
G03 path
Fig. 3-5 G02 path Fig.3-6 G03 path
Command specification:
G02, G03 are modal,
R is arc radius, range: ±99999999× least input increment;
I: X difference value between circle center and starting point of arc in radius;
K: Z difference value between circle center and starting point of arc;
Center point of arc is specified by address I, K which separately corresponds to X, Z, I, K expresses
the vector (it is the increment value) from starting point to center point of arc as the following figure;
I=Coordinates of center point-that of starting point in X direction; K= Coordinates of center
point-that of starting point in Z direction;
I, K are with sign symbol. When directions of I, K are the same as those of X, Z, they are positive,
otherwise, they are negative.
X, U, Z, W, R, I, K range is referred to Table 1-2 of Section 1.4.1, unit: mm/inch.
Fig. 3-7
Arc direction: G02/G03 direction (clockwise/counterclockwise) is opposite on the front tool post
coordinate system and the rear one as Fig.3-8:
58
Chapter 3 G Commands
Ⅰ Programming
Fig. 3-8
Notes:
When I = 0 or K = 0, they can be omitted; one of I, K or R must be input, otherwise the system
alarms.
R is valid and I, K are invalid when they are input at the same time.
R value must be equal to or more than half distance from starting point to end point, and the
system alarms if the end point is not on the arc defined by R command;
Omit all or one of X(U), Z(W); coordinates of starting point and end point of this axis are the same
when omitting ones, the path is a full circle(360°) in G02/G03 when center point are specified
by I,K; the path is 0(0°) when center point is specified by R.
R should be used for programming. The system executes in R= I 2 K 2 to ensure starting
point and end point of arc path are the specified ones in I, K programming.
When the distance from center point to end point is not equal to R(R= I 2 K 2 ) in I,K
programming, the system automatically adjusts position of center point to ensure starting point
and end point of arc path are the specified ones; When the distance from center point to end
point is more than 2R, and the system alarms.
Arc is less than 360° when R is commanded, the arc is more than 180° when R is negative, and it
is less than or equal to 180° when R is positive.
Example: Arc cutting path from Φ45.25 to Φ63.06 shown in Fig. 3-9.
59
GSK980TDi Turning CNC System User Manual
φ 63.060
Z
Ⅰ Programming
S tarting point
E nd point
C ircle center
X
Fig. 3-9
Compound programming in G02/G03:
60
Chapter 3 G Commands
Ⅰ Programming
increment;
X, U, Z, W, R, I, K range is referred to Table 1-2 of Section 1.4.1, unit: mm/inch.
Fig. 3-11 G05 code Middle point Fig.3-12 G05.1 code Middle point
Notes:
1) Middle point: any one point except for the starting point and end point on the arc;
2) The system alarms when the three points are in the same line;
3) I=0 when it is omitted, K=0 when it is omitted; the system alarm when they are omitted
simultaneously;
4) The meanings of I, K I are similar to their displacement values of the circle center coordinates
corresponding to starting point ones in G02/G03;
5) G05 does not execute the whole circle machining;
Example: (machining semi-circle)
Z Z
K=5
X X (20,15)
61
GSK980TDi Turning CNC System User Manual
Fig. 3-15 G6.2 path sketch map Fig. 3-16 G6.3 path sketch map
Explanation:
A: Length of ellipse’s long radius (0<A<= 99999.999mm, no sign )
B: Length of ellipse’s short radius (0<B<= 99999.999mm, no sign )
Q: angle between the long axis and Z coordinate system of ellipse (CCW 0-99999999,
unit: 0.001°)
Ellipse direction: defined by that of G6.2/G6.3, they are the reverse in the front and rear tool
post coordinates.
X
Z Z
X
Fig. 3-17 Front tool post coordinate system Fig. 3-18 Rear tool post coordinate system
62
Chapter 3 G Commands
Q value:
1) In the G18 plane, Q value is the gained viewing XZ plane along with the positive direction of Y
axis in the Cartesian right-hand coordinate system, as well, it is an angle when the Z axis
positively rotates to the the overlapping with the ellispse long axis along with the CW; refer to the
following figure:
Z X
Ⅰ Programming
End Starting
point point
Starting End
point a X Z point a Z
a X a Starting End
point point
Starting End
point point
Z X
As for the above-mentioned four coordinates (Front tool-post), angle a is the symmetry
axis based upon that it rotates to ellipse along with the Z axis CCW.
X Z
X Starting End
point point
End a
a Starting
point X
Z point
X
a End Z Starting
point a point
Starting End
point point
X Z
As for the above-mentioned four coordinates (Back tool-post), angle a is the symmetry axis
based upon that it rotates to ellipse along with the Z axis CW.
Fig. 3-19
2) In the G17 panel, refer to the following figure:
63
GSK980TDi Turning CNC System User Manual
X Y
End
point Starting
End point
Starting
point a point a X
Y X a Y a Starting End
point point
End
Starting
Ⅰ Programming
point
point
X Y
Y X
Starting End
point point
End Starting a
point
a point Y
X Y
a End X Starting
point a point
End
Starting point
point
Y X
Fig. 3-20
3) In the G19 plane, refer to the following figure:
Y Z
End Starting
point point
Starting End End
point point point a Y
a
Z Y a Z a Starting End
point point
End
Starting point
point
Y Z
Z Y
Starting End
point point
End
a Starting a
Y point point Z
End Y Z
a Starting
point a point
Starting End
point point
Z Y
Fig. 3-21
Notes:
1) A, B are not modal parameter. They are 0 when they are not input. When A=0 or B=0, the system
64
Chapter 3 G Commands
Ⅰ Programming
G19, an angle along X axis in G17.
5) When the distance between the starting point and end point is longer than the long axis, the
system alarms;
6) One or both of X(U), Z(W) can be omitted; omitting one of them indicates that the starting point
and the end point of the axis are consistent; omitting the both indicates they are the same one;
7) Only machines the ellipse which is less than 180°(including 180°);
8) G6.2/G6.3 are used to the compound cycle G70—G73, and their notes are the same those of
G02, G03;
9) G6.2, G6.3 are used to C tool compensation.
Example: machine from Φ43.14 to Φ63.82:
Z A:48
B:25
Q:0
Program:
G6.2 X63.82 Z-50.0 A48 B25 Q0 ;or
Z
G6.2 U20.68 W-50.0 A48 B25 ;
Starting point
End point
X
Fig. 3-22
Example: machine from Φ43.14 to Φ63.82:
Q:60
Z
Program:
Starting point G6.2 X63.82 Z-50.0 A48 B25 Q60000;or
End point
G6.2 U20.68 W-50.0 A48 B25 Q60000;
Fig. 3-23
65
GSK980TDi Turning CNC System User Manual
Fig. 3-24
Program: O0001
N001 G0 X60 Z5; (rapidly position)
N002 M03 S200; (spindle ON)
N003 G01 X24.24 Z0 F100; (approach the workpiece)
N005 G6.3 X40 W-35 A44 B20; (cutting A44 B20 ellipse block)
N006 G01 X32 Z-60;
N007 Z-79;
N008 G0 X60
N009 Z5; (return to the starting point)
N0010 M30; (end of program)
66
Chapter 3 G Commands
Z Z
Ⅰ Programming
Starting of parabola
抛 线
X 物 终 X
线 点
起
点
Fig. 3-25 G7.2 path sketch map Fig. 3-26 G7.3 path sketch map
Explanation:
G7.2, G7.3 are modal;
P is in the parabola standard equation Y2=2PX, its range: 1 ~ 9999999(unit:
0.001mm, without sign);
Q is the angle between the symmetrical axis of parabola and Z, and its range: 0~
99999999 (unit: 0.001°) .
Parabola direction: G7.2/7.3 interpolation directions in the front tool post coordinate system and
the rear are reverse.
X
Z Z
X
Fig. 3-27 Front tool post coordinate system Fig. 3-28 Rear tool post coordinate system
Q value:
1) In the G18 plane, Q value is the gained viewing XZ plane along with the positive direction
of Y axis in the Cartesian right-hand coordinate system, as well, it is an angle when the Z
axis positively rotates to the the parabola with the ellispse long axis along with the CW; refer
to the following figure:
67
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
Fig. 3-29
2) In the G17 plane, Q value is the gained viewing XY plane along with the positive direction
of Z axis in the Cartesian right-hand coordinate system, as well, it is an angle when the X
axis positively rotates to the the parabola with the ellispse long axis along with the CW; refer
to the following figure:
Fig. 3-30
3) In the G17 plane, Q value is the gained viewing ZY plane along with the positive direction
68
Chapter 3 G Commands
of X axis in the Cartesian right-hand coordinate system, as well, it is an angle when the Y
axis positively rotates to the the parabola with the ellispse long axis along with the CW; refer
to the following figure:
Y Z
Ⅰ Programming
End Starting
point point
Starting End Y
point a Z Y point Z a
a a Starting End
point point
Starting End
point point
Y Z
As for the above-mentioned four coordinates (Front tool-post), angle a is the
symmetry axis based upon that it rotates to parabola along with the Y axis CCW.
Z
Y
End
Starting
point
point
End
a
Starting
Z Z a
Y Y point point
Starting
a End
Starting
point a End
point
point point
Z
Y
As for the above-mentioned four coordinates ( B a c k tool-post), angle a is the
symmetry axis based upon that it rotates to parabola along with the Y axis CW.
Fig. 3-31
Notes:
1) P cannot be 0 or omitted, otherwise the system alarms;
2) P has no sign. If it has the negative sign, its absolute value is executed;
3) Q can be omitted, at the time; the symmetrical axis of the parabola is parallel with or
coincident with Z;
4) The system alarms when the straight line on which the starting point and the end point is
parallel with the symmetrical axis of the parabola;
5) G7.2, G7.3 can be used to the compound cycle G70~G73, and their notes are the same
those of G02, G03;
Example: when the parabola P=100(the least increment is 0.0001mm), its symmetrical axis is
parallel with Z. Its machining sketch map and programming are as follows:
69
GSK980TDi Turning CNC System User Manual
Program:
O0001(O0001)
G00 X120 Z100 T0101 M03 S800;
G00 X10 Z10;
G00 X0;
Ⅰ Programming
70
Chapter 3 G Commands
Ⅰ Programming
G04 X
G41/G42 G1 X C
G6.2/G6.3 X C A B Q
G7.2/G7.3 X C A B Q --- ⑵ available command
G05 X C I
G02/G03 X C R
G40 G1 X C
G65/G66/G67
G13.1----cancel polar coordinate interpolation method-(can be written to G113)--- ⑶
Command function: Polar coordinate interpolation is a function that exercises contour control in
converting a command programmed in a Cartesian coordinate system to
the movement of a linear axis (movement of a tool) and the movement of a
rotary axis (rotation of a workpiece). This method is useful in cutting a front
surface and grinding a cam shaft on the machine.
Command explanation: G12.1, G13.1 are non-modal
Linear axis: X or Z, Y or 4th or 5th axis
Rotary axis: axes except for feed axis(Y or 4th or 5th axis)
Before starting the polar coordinate, set the linear axis and the rotary axis by No.235
and No.236.
Taking example of the linear axis X and the rotary axis 5th .
Polar coordinate interpolation plane: G12.1 starts the polar coordinate interpolation mode and
selects a polar coordinate interpolation plane(below), and the polar coordinates are completed in
the plane.
Note1: After G12.1 is used, the previous plane is cancelled and the system enters the polar coordinate
interpolation plane, and after G13.1 is used, the plane is cancelled and the previous is recovered;
Note 2:After the system resets, it cancels the polar coordinate interpolation and recovers the previous plane,
and the cursor returns to the beginning of the program.
Programming format: create the rectangular coordinate system in the polar coordinate interpolation
plane below:
71
GSK980TDi Turning CNC System User Manual
The polar coordinates in the polar coordinate interpolation plane is prepared below:
X: length between current tool and the origin, its unit: mm/inch;
Specified position
C:angle unit of current rotary axis: deg;
G16 is the polar coordinates of current coordinates being complied,
and G15 is to cancel it. The Cartesian coordinate system is used
Radius
without G16. G16/G15 is valid in the only polar coordinate
Angle Current position
interpolation.
The radius programming is applied to the linear axis and the rotary
axis below:
●Length compensation: the length compensation is not applied to the rotary axis, and the length
offset should be command before G12.1 mode, and cannot be changed in the polar coordinate
interpolation.
●Tool radius compensation: the tool nose direction is 0.
●Machine motion:the linear axis is vertical to the rotary axis.
●Circular interpolation in the interpolation plane: the address of the arc radius is determined by
the 1st axis(linear axis) in the interpolation
plane.
• When the linear axis is X or its parallel axis, I and J are used in Xp-Yp plane
• When the linear axis is Y or its parallel axis, J and K are used in Xp-Zp plane
• When the linear axis is Z or its parallel axis, K and I are used in Zp-Xp plane
The arc radius can also use R command.
●Command speed: tangential speed in the polar coordinate plane.
When the tool approaches the center of the workpiece, the speed component of C axis
exceeds its maximum cutting federate (set by No.27). F value is calculated by the followings:
L:the distance (mm) between the center of the tool and that of the workpiece
R:maximum cutting feedrate of C axis(deg/min)
Conclusion:F<L×R×π /180(mm/min)
It is suggested that the workpiece should not be machined near the polar because the
feedate override must be changed in some occasion to avoid the overload of the rotary axis.
● Movement along the axis in the non polar coordinate interpolation plane in the polar
coordinate interpolation mode: The tool traverses normally along these axes and is not relevant
to the polar coordinate interpolation, the parameter specifies one
axis to execute the polar coordinate interpolation before
executing the polar coordinate interpolation, the axis which does
not specify the polar coordinate can moves along the normal
path in G00 or G01, but the axis which polar coordinate is not
specified is disabled (i.e. the block is ignored and the axis does
72
Chapter 3 G Commands
Ⅰ Programming
Note 1: G12.1,G13.1 are in Group 21, G12.1,G13.1,G16,G15 are in a separate line.
Note 2: The tool change cannot be executed in G12.1-G13.1, the tool change operation and the positioning
followed by the tool change must be performed before G12.1.
Note 3: The system cannot start the polar coordinate interpolation during C tool compensation or in G99,
otherwise, it alarms.
Note 4: When G12.1 is commanded, the tool position of the polar coordinate interpolation is at the angle of 0.
5) It is necessary to firstly perform the length offset value before starting it; otherwise, the alarm may
occur.
Example:
Fig.3-34
O0000 (O0000)
T0101
G0 X80 C0 W0
G12.1
G6.3 X0 C20 A40 B20 F1000
G16----the followings are the length and the angle
programming
G2 X-10 C15 R5 replace to G2 X15.8114 C108.435 R5
G3 X-10 C-15 R15 G3 X15.8114 C251.565 R15
G15-----cancel the above programming mode and the
followings are Cartesian coordinate programming
G2 X0 C-20 R5
G1 X40 C-20
G7.3 X80 C0 P10000 Q60000
G13.1
M30
73
GSK980TDi Turning CNC System User Manual
Spread
Fig.3-35
Command format:
Type I
G07.1 C(c); (1) starting the cylindrical interpolation
…
… (2)
…
G7.1 C0; (3) cancel the cylindrical interpolation
Type II
G07.1 C(c) J(Δi) L(d) R(Δd) K(Δu); (1) starting the cylindrical interpolation
…
… (2)
…
G7.1 C0; (3) cancel the cylindrical interpolation
Code meaning:Code devides into 3 sections:
(1): Provide a column radius, the column interpolation begins;
(2): Provide the block of the its section of the defined finish-turning path or the
finish-turning residual;
(3): Cancel the column interpolation
There are two programming types of cylinder interpolation, J(Δi), L(d) , R(Δd) and
K(Δu) settings are not desired for the type I; the system operates based upon the
block of the finish-turning path. Type II is the circular interpolation cycle; System is
automatically calculated the rough-turning offset value, single feed value and path
based upon the data such as the finih-turning allowance, total cutting value and
cutting times, etc. The path of each cutting is the offset of the finishing-turning path,
the cutting path is gradually closed to the path of the finish-turning, the last cutting
path is the finish-turning one.
Command explanation:
74
Chapter 3 G Commands
Ⅰ Programming
infeeds along with the positive direction; when the symbol is negative, X axis infeeds
along with the negative direction), type I setting does not desire;
R(Δd):Tool-retraction value along X axis in the rough-turning,its range:±99999999×least
input increment(unit:mm/inch,diameter,without sign symbol) ,type I setting does
not desire;
K(Δu) : Finish-turning allowance along X axis, its range:-99999.999~99999.999(IS_B)
/-9999.9999~9999.9999(IS_C) (unit:mm/inch,diameter,without sign symbol), the
last rough-turning path offsets related to the X axis coordinate of the finish-turning,
type I setting does not desire;
L(d):Cutting times(without including the finish-turning path),its range:1~9999 (unit:
times), L5 means that the rough cutting cycle is completed for 5 times, the 6th times is finish
turning cycle. If the cutting times is 1, the system will complete the rough cutting cycle based
upon 2 times. Type I setting does not desire.
Code path explanation: (Type II)
1) X axis rapidly moves to cycle start G from start point F;
2) X axis is performed the feedrate to An point, in-feed value is Δd+n×Δu, which is
performed the circular interpolation along with the path of the An->Bn->Cn->Dn
(Note: n is the nth times cycle, the resolution n=1, 2, 3…)
3) X axis rapidly retreats to point E along Dn->E path
4) Tool returns to the cycle start G along E->G path (Note: X, Z and C axes are
returned to the cycle start);
5) Repeated steps 2), till to the machining allowance along X axis is 0;
Fig.3-36
Note:
1) G7.1 is non-modal;
75
GSK980TDi Turning CNC System User Manual
Fig.3-37
② The rotary axis is set to X or its parallel axis in the cylindrical interpolation mode:
Fig.3-38
③ The rotary axis is set to Y or its parallel axis in the cylindrical interpolation mode:
76
Chapter 3 G Commands
Ⅰ Programming
Fig.3-39
④The rotary axis is set to Z or its parallel axis in the cylindrical interpolation mode:
Fig.3-40
Relative parameters:
Only rotary axis is specified in the cylindrical interpolation, and it can be a basic axis or an axis
parallel to the basic axis. The axis name of three additional axes are set by NO.225, NO.226, NO.227
(Y:89,A:65,B:66,C:67), the attribute of an axis is set by NO.230, NO.231, NO.232 (see the
following table).
Setting value Meaning
0 It is not three basic axes and their parallel axis
1 X of three basic axes
2 Y of three basic axes
3 Z of three basic axes
5 An axis parallel to X axis
6 An axis parallel to Y axis
7 An axis parallel to Z axis
Example:
No. 224 is set to 5, the cylindrical interpolation is executed in G18 plane, and the rotary axis of
the cylindrical interpolation is set to the 5th axis (state parameter P187). The axis name of the 5th is C
(data parameter No. 225), the axis is one parallel to X axis (NO.230). The radius of the cylinder is
57.299mm, and the developed cylindrical surface is shown below:
O0071(taking example of the cylindrical interpolation G7.1)
77
GSK980TDi Turning CNC System User Manual
Type I:
O0071 (Cylinder interpolation G7.1
application example)
G18;
G98;
C(deg) G00 X150 Z105 C0;
G01 X114.598 Z105 F200;
360
Ⅰ Programming
G07.1 C57.299;
G41 G01 Z120;
N10 G01 C30.0;
N20 G03 Z90 C60 R30;
N90 N30 G01 Z70;
N40 G02 Z60 C70 R10;
N50 G01 C150;
N60 G02 Z70 C190 R75;
270 N70 G01 Z110 C230;
N80 G03 Z120 C270 R75;
N90 G01 C360;
N80 G40 G01 Z105;
230 G07.1 C0;
M30;
Type II:
N70 O0071 (Cylinder interpolation G7.1
190
application example)
G18;
N60 G98;
G00 X150 Z105 C0;
150
T0101
G01 X114.598 Z105 F200;
G07.1 C57.299 J-10 K0.25 R2 L4;
G41 G01 Z120;
N50
N10 G01 C30.0;
N20 G03 Z90 C60 R30;
tool N30 G01 Z70;
N40 G02 Z60 C70 R10;
70 N40 N50 G01 C150;
60 N20
N30 N60 G02 Z70 C190 R75;
N70 G01 Z110 C230;
N80 G03 Z120 C270 R75;
30
N90 G01 C360;
N10 G40 G01 Z105;
G07.1 C0;
0 60 70 90 110 120 Z(mm) M30;
Fig.3-41
Note: In the progrmming example of the type II, the overall cutting value is 10mm, the finish machining
residual is 0.25mm, tool is 2mm distant from the workpiece along with X direction, the rough-turning
cycle times is 4, finish-turning cycle times is 1; tool retreats from the start position (116.598,105,0) after
the rough-tuning cutting is performed each time.
78
Chapter 3 G Commands
Ⅰ Programming
3.11.1 Linear Chamfering
Linear chamfering: insert one straight line in the linear contours, arc contours, linear contour and
arc contour. The command address of linear chamfering is L, behind which data is the length of
chamfering straight line. The linear chamfering must be used in G01, G02 or G03 command.
Linear chamfering divides into two types, two types are mainly distinguished from the different
definitions of the command value L in the program, one is L chamfering length, the other is length
between the chamfering point and intersection point, which can be selected by state parameter
No.181.0. In the following explanation, type I represents that L is chamfering length; type II is the
length between the chamfering point and intersection point.
1). Linear to linear
Command format: G01 X(U)_ Z(W)_ L_ ;
G01 X(U)_ Z(W)_ ;
Command format: Insert a section of linear block between two straight line interpolation.
Command function: insert one straight line between two linear interpolation blocks.
typeⅠ type Ⅱ
79
GSK980TDi Turning CNC System User Manual
L
Ⅰ Programming
typeⅠ type Ⅱ
R2
L
R1
typeⅠ type Ⅱ
4). Circular to linear
Command format: G02/G03 X(U)_ Z(W)_ R_ L_;
G01 X(U)_ Z(W)_;
Or
G02/G03 X(U)_ Z(W)_ I_ K_ L_;
G01 X(U)_ Z(W)_;
Command function: insert one straight line block between circular and linear interpolation
block.
80
Chapter 3 G Commands
R R
L
L
Ⅰ Programming
L
typeⅠ type Ⅱ
Tangential point
Tangential point
81
GSK980TDi Turning CNC System User Manual
Tangential point
Ⅰ Programming
Tangential point
Command function: insert one circular between two circular blocks, the inserted circular is
tangent to the two circular blocks, and the radius is the data behind
the command address D.
Tangential point
Tangential point
82
Chapter 3 G Commands
Tangential point
Ⅰ Programming
Tangential point
1) Linear chamfering
Case 1. The chamfering function is invalid when two interpolation straight lines are in the same
linear.
typeⅠ type Ⅱ
2) Circular chamfering
Case 1. The circular chamfering function is invalid when two interpolation straight lines are in the
same block.
83
GSK980TDi Turning CNC System User Manual
Case 2. CNC alarms when the chamfering circular radius is too big.
CNC alarms when the chamfering circular radius is D, max. circular radius of the tangential
linear lines is Rmax which is less than D as follows.
Ⅰ Programming
D Rmax
Case 3. The circular chamfering function is invalid when the linear and the circular, or the circular
and the linear are tangential.
Case 4. The circular chamfering function is invalid when one circular and another one are
tangential.
The circular chamfering function is valid when the circular tangency is as follows:
R2
D
R1
84
Chapter 3 G Commands
The blocks included the overall motions between the current block and the G64
G61
are exactly performed, and then execute the next block, modal command.
G64 Cancel the G61 modal.
Note:
1) G09, G61/G64 are disabled in the G71, G72 and G73 cycle procedure;
2) G09 is only enabled to the current block, if the cutting command generates in the block of
Ⅰ Programming
the G09, execute the next block after this block is exactly stopped; if the cutting command
does not generate in this block, the next block will not perform the exact stop;
3) When the current parameter №0007.5 sets to "1", modal information column is fixedly
displayed as G61, and the G64 shows disabling;
4) When the current parameter №0007.5 sets to "1", the G61/G64 position in modal
information column is immediately displayed as G61; when the current parameter
№0007.5 sets to "0", the G61/G64 position in modal information column is immediately
displayed as G64, and then enters to the smooth state between the blocks.
5) When G64 are shared a block with cutting command, the G64 locates at the block which
is cancelled the exact-stop in-position;
6) When G09, G64 and G61 are shared with a same block, the last G code is enabled;
7) Perform G64 code or power-on again, G61 modal is being cancelled.
G09 code application example:
After the motion command of the block of the G09 command is performed, the next block
command is then performed. The N2 block of the program 1 does not add the G09 command,
smoothly transit between N2 block and N3 block; refer to the path in the Fig. 3-42. The N2 block of
the program 2 adds G09 command. The command of N3 can be performed till the motion command
of the N2 block is performed; refer to the path in Fig. 3-43.
Program 1: Program path is shown in the Fig. 3-42.
N1 G00 X0 Z0
N2 G01 Z50
N3 X100
N4 Z100
N5 M30
F
Fig. 3-42
85
GSK980TDi Turning CNC System User Manual
N1 G00 X0 Z0
N2 G01 Z50
N3 X100
N4 Z120
N5 X200
N6 M30
F
Fig. 3-44
Program 4: Program path is shown as Fig. 3-45.
N1 G00 X0 Z0
N2 G61;
N3 G01 Z50
N4 X100
N5 Z120
N6 X200
N7 G64
N8M30
Fig. 3-45
86
Chapter 3 G Commands
Ⅰ Programming
G01 Q1_
2
G01 X3_ Z3_ Q2_
G01 Q1_ L_
3
G01 X3_ Z3_ Q2_
X L2
(X3,Z3)
Q2
G01 Q1_ L1_
5 G01 X3_ Z3_ Q2_ L2_
G01 X4_ Z4_ (X2,Z2)
Q1
L1
(X1,Z1)
Z
87
GSK980TDi Turning CNC System User Manual
Z
Q
(X ,Z)
Fig. 3-46 Rear tool post coordinate system Fig. 3-47 Front tool post coordinate system
Note:
1) G00 and G01 commands are used for the drawing dimension direct input function; however,
G00 only performs the positioning when using drawing dimension direction input function of
the G00;
88
Chapter 3 G Commands
2) Prevent the excessive distance from calculating, in the command format 1, the angle tolerance
value of the calculation intersection is ±1° (Q value converts into 0°~360°).
3) X_ Q_ (If the angle Q (0° or 180°) value is within (0° or 180°) ±1°, the alarm may occur.)
4) Z_ Q_ (If the angle Q (90° or 270°) value is within (0° or 180°) ±1°, the alarm may occur.)
5) When the intersection is calculated, the alarm may generate if the angle difference composes
of two straight lines between ±1.
6) In a movement block following with the block which only specifies an angle command of which
Ⅰ Programming
the coordinate (absolute command) and angle command values should be specified.
(Example):
N1 X_ Q_
N2 Q_
N3 X_ Z_ Q_
An absolute command value and angle command Q along the X or Z axis should be specified in
N3 block; otherwsie, the alarm may occur.
7) In the consecutive drawing dimension direct input command, the G04 and the M, S and T
blocks can be inserted, however, if there are 2 or more blocks are inserted, the alarm may
occur.
8) In the copound canned cycle, use the program of the drawing dimension direct input between
the sequence numbers specified by P or Q; however, the block specified by Q sequence
number can not be stopped in the middle of consecutive drawing dimension direct input
command.
89
GSK980TDi Turning CNC System User Manual
Command specifications:
G28 is non-modal.
X, Z, Y: absolute coordinates of middle point;
U, W, V: Z absolute coordinates of middle point;
W: Difference value of absolute coordinates between middle point and starting point in Z
direction.
Omit all or one of X(U), Z(W) as follows:
Table 3-4
Command Function
G28 X(U) X returns to machine zero and Z axis remains in the previous position
G28 Z(W) Z returns to machine zero and X axis remains in the previous position
G28 in the previous positions and continuously execute the next block
G28 X(U) Z(W) X, Z return to machine zero simultaneously
Starting
point A
Middle point
B(X,Z)
X
Machine zero R
Fig.3-48
Note 1: Do not execute G28 and machine zero return without the zero switch on the machine.
Note 2: Machine zero returns in Jog mode and in G28 are the same and their deceleration signals and the
signal every rotation must be detected;
Note 3: X and Z move at the respectively rapid traverse speed from A to B and from B to R, and so the path is
not always a straight line;
Note 4: The system cancels the tool length compensation after executing G28 to perform the machine zero
return;
90
Chapter 3 G Commands
Ⅰ Programming
Executing machine zero return is considered to executing the machine reference point return.
GSK980TDi has machine 2nd, 3rd, 4th reference point functions. Use separately No.122~No.127
to set X, Z machine coordinates of the machine 2nd, 3rd, 4th reference point.
The relationship between the machine zero, machine reference point, machine 2nd, 3rd, 4th
reference point is as follows:
X
Fig.3-49
Command format:
G30 P2 X(U) __ Z(W) __;
G30 P3 X(U) __ Z(W) __;
G30 P4 X(U) Z(W) ;
Command function: the tool rapidly traverses with the rapid traverse speed to the middle point
specified by X(U) , Z(W)
Command specifications: G30 is non-modal.
X: X absolute coordinate of the middle point;
U: difference value of X absolute coordinate value between the middle point and starting
point;
Z: Z absolute coordinate of the middle point;
W: difference point of Z absolute coordinate between the middle point and starting point.
Omit one or all of X (U) , Z(W) as follows:
Command Function
G30 Pn X(U) X returns to the machine nth reference point, Z axis retains
G30 Pn Z(W) Z return to the nth machine reference point, X axis retains
G30 X and Z retain, go on executing the next program block
G30 Pn X(U) Z(W) X and Z return to the machine nth reference point simultaneously
91
GSK980TDi Turning CNC System User Manual
Command operations: (taking example of returning to machine 2nd reference point as follows):
(1) Rapidly traverse to the middle position of command axis from the current position (A point
→B point);
(2) Traverse from the middle point with the speed set by No.113 to the 2nd reference point set by
No.122 and No.123 (B point →R2 point);
(3) When CNC is not in the machine lock state, the completion signal of reference point return
ZP21 Bit0, Bit1 is high.
Ⅰ Programming
Starting point A
Middle point
B(X,Z)
X The machine 2nd
reference point R2
Note 1: Execute the machine 2nd, 3rd, 4th reference point return after you manually execute the machine
reference point return or G28 (machine reference point return).
Note 2: A→B and B0→R2, two axes separately traverse, and so their trails are linear or not.
Note 3: CNC cancels the tool length compensation after you execute G30 to return 2nd, 3rd, and 4th
reference point.
Note 4: Must not execute G30 (machine 2nd, 3rd, 4th reference point return) when the zero switch is not
installed on the machine.
Note 5: Do not set the workpiece coordinate system when you execute the 2nd, 3rd, and the machine 4th
reference point return.
92
Chapter 3 G Commands
Ⅰ Programming
Fig. 3-51
2. The next block of G31 is the absolute coordinate programming of one axis as Fig. 3-14:
Fig. 3-14
3. The next block of G31 is the absolute coordinate programming of two axes shown in Fig. 3-15:
Program: G31 Z200 F100
G01 X100 Z300
Fig. 3-15
93
GSK980TDi Turning CNC System User Manual
separately corresponds to X, Z, Y)
Operation: when the skip signal becomes “0”, CNC executes as follows:
When the block is executing G31, CNC stores the current absolute coordinates of
each axis. CNC stops G31 to execute the next block, the skip signal detects its state
instead of its RISING EDGE. So when the skip signal is “1”, it meets the skip
conditions.
Note: If G31 is not used, X3.5 input interface is used to the common input interface. The skip signal is valid,
CNC immediately stops the feed axis (without acceleration/deceleration execution), and G31 feedrate
should be as low as possible below 1000 mm/min to get the precise stop position.
94
Chapter 3 G Commands
position measured by the command, and decelerates and temporarily stop the position before the
measured position, and then, reaches to the measured position at the speed set by No.141. When
the measured position arrival signal corresponding to G command becomes “1”, and the tool is in the
measured position range ±ε, CNC updates the offset compensation value and ends the block. When
the measured position arrival signal does not become “1”, and after the tool reaches the measured
position distance ε, the CNC alarms, ends the block and does not update the offset compensation
Ⅰ Programming
value.
Example:
G50 X760 Z1100; create the workpiece coordinate system
T0101; define No. 1 tool and execute its tool compensation
95
GSK980TDi Turning CNC System User Manual
Tool No.
Note: Measure position arrival signal is enabled, the feed of CNC stop axis is immediately stopped
(regardless of the acceleration or deceleration treatment). Therefore, in order to guarantee the accuracy of the
stop position, the measure speed of the G36 or G37 should be set as low as possible; it is clamped at the
speed when the federate exceeds 200mm/min.
96
Chapter 3 G Commands
Ⅰ Programming
Before setting coordinate system with G50 After setting coordinate system with G50
Fig.3-54
As Fig.3-54, create the above-mentioned workpiece coordinate system and set (X100 Z150) to
the reference point of program after executing “G50 X100 Z150”.
Note: When No.003 Bit4 is 1(executing tool compensation by coordinates offset), T function is executed,
motion command is not executed and the system creates workpiece coordinate system with G50, the
displayed coordinate value are ones which are defined by G50 adding or subtracting tool compensation
value which is not executed.
Current tool Executing motion Coordinate value after No. 01 tool
compensation state command executing G50 X20 Z20 compensation value
G0 X Z X: 20 Z: 20
Motion command Coordinate value after
T0100
not executed executing G50 X20 Z20 X: 12
or
X: 8 Z: -3 Z: 23
T0101
※※※ or
X: 32 Z: 43
97
GSK980TDi Turning CNC System User Manual
X′
X
Z system X′
G54 workpiece coordinate X
Ⅰ Programming
Explanation: G52 is in Group 00, and is simple. X(U) Z(W) is the position of origin of the
specified local coordinate system in the current workpiece coordinate system.
Results in absolute or incremental execution are the same.
Notes:
1. Setting of local coordinate system does not change a workpiece coordinate system and a
machine
coordinate system.
2. Temporarily cancel tool nose radius compensation when G52 is executed.
3. After G52 is specified, the local coordinate system does not remain valid until the next G52 is
specified. G52 does not perform movement when it is specified.
4. When a local coordinate system is cancelled, its zero and that of workpiece coordinate system
are
consistent, i.e., command G52 X0 Z0 or G52 U0 W0.
5. When G50 sets a workpiece coordinate system, local coordinate systems of all workpiece
coordinate
systems which axes are specified are cancelled. The local coordinate systems which
coordinate axes are not specified are not cancelled when not all axes’ coordinate value are
specified.
6. Whether the local coordinate system is cancelled is determined by a parameter when reset,
machine zero return or end of program.
Example: X
G54 G55
N6
N1 G28 X0 Z0; 300 X 0 100
Z 0 100
N2 G55 G00 X50 Z50; N4
250
N3 G52 X100 Z100; N5
N3
N4 G00 X50 Z50; 200
N7 Local coordinate system
N5 G01 Z100 F100; N2 created by G52
150
N6 X100;
N7 G52 X0 Z0; 100
N8 G55 workpiece coordinate system
N8 G00 X0 Z0;
50
N9 M30;
98
Chapter 3 G Commands
In N3 block, a local coordinate system is created according to G55 workpiece coordinate system,
and it is cancelled in the block N7.
Ⅰ Programming
G55 workpiece coordinate system 2
G56 workpiece coordinate system 3
G57 workpiece coordinate system 4
G58 workpiece coordinate system 5
G59 workpiece coordinate system 6
Command function: one of G54~G59 is specified, one of workpiece coordinate system 1~6 is
selected. After a workpiece coordinate system is specified, the specified
point is in the specified workpiece coordinate system till a new workpiece
coordinate system is set.
Explanation: G54~G59 are modal.
In the system, each coordinate system should correspond to ZOFS1~ ZOFS6 of zero offset
value of one workpiece coordinate system, relation between ZOFS1~ ZOFS6 and previous
workpiece is shown below:
Workpiece
Workpiece coordinate Workpiece
coordinate system 3 G56 coordinate
system 2 G55 system 4 G57
Workpiece
coordinate
system 1 G54 Workpiece
coordinate
ZOFS3 system 5
ZOFS4
G58
ZOFS2
ZOFS5 Workpiece
ZOFS1 coordinate
system 6 G59
ZOFS6
EXOFS
EXOFS:external workpiece coordinate zero(it is added to zero offset value of each workpiece
coordinate system, its value is a part of tool compensation->setting in the workpiece coordinate
system)
ZOFSn:zero offset value of each workpiece coordinate system ZOFS1~ZOFS6(its value is a
part of tool compensation->setting in the workpiece coordinate system)
When №11.7(APRS)is set to 1, an absolute coordinate system is set after machine zero return,
and then EXOFS and ZOFSn setting values are offset. Current workpiece coordinate setting after
zero return is shown: new workpiece coordinates=current absolute coordinates-(ZOFSn + EXOFS).
G54~G59 workpiece coordinate system switch
Specifying G54~G59 can switch 6 workpiece coordinate systems to make the system work in
99
GSK980TDi Turning CNC System User Manual
different workpiece systems. Absolute coordinate variation of current position is the origin offset value
between the new workpiece coordinate system and the old. Namely:new absolute coordinates
=current absolute coordinates -(ZOFS new – ZOFS old)
Example:
Example 1:
Absolute coordinates after zero return is(0,0);EXOF=(0,0) ; ZOFS1=(-10,-10);
Ⅰ Programming
Offset value A are all workpiece coordinate systems, which are shown below:
100
Chapter 3 G Commands
Ⅰ Programming
ZOFS1
ZOFS2
101
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
Fig. 3-55
Fig. 3-56
Cutting path: Relative position between cutting end point and starting point with U, W, R, and tool path
of U, W, R with different signs are shown in Fig. 3-19:
1) U>0,W<0,R>0 2) U<0,W<0,R<0
Z Z
W
④
R
②
U/2 ③
①
U/2 ①
③
②
R
W ④
X X
102
Chapter 3 G Commands
Z W Z
R
②
④
① ③ ③
U/2 U/2
①
Ⅰ Programming
② ④
R
X X
Fig. 3-57
Fig. 3-58
Program : O0002;
M3 S300 G0 X130 Z3;
G90 X120 Z-110 F200; (A→D, cut Φ120)
X110 Z-30;
X100;
X90;
(A→B,6 times cutting cycle Φ60, increment of 10mm)
X80;
X70;
X60;
G0 X120 Z-30;
G90 X120 Z-44 R-7.5 F150;
Z-56 R-15
Z-68 R-22.5 (B→C,4 times taper cutting)
Z-80 R-30
M30;
103
GSK980TDi Turning CNC System User Manual
G94 is modal;
Starting point of cutting: starting position of linear interpolation (cutting feed). Unit: mm;
End point of cutting: end position of linear interpolation (cutting feed). Unit: mm;
X: X absolute coordinate of end point of cutting. Unit: mm;
U: Different value of absolute coordinate from end point to starting point of cutting in X
direction .Unit: mm;
Z: Z absolute coordinates of end point of cutting, Unit: mm;
W: Different value of X absolute coordinate 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 as that of U, R, │R│≤│W│.
Radial linear cutting is shown in Fig. 3-21, radial taper cutting is as Fig. 3-60.
Ranges of X, U, Z, W,R are referred to Table 1-2 of Section 1.4.1, unit: mm/inch.
Cycle process:
① Z rapidly traverses from starting point to cutting starting point;
② Cutting feed (linear interpolation) from the cutting starting point to cutting end point;
③ Z executes the tool retraction at the cutting feedrate (opposite direction to the
above-mentioned ①), and returns to the position which the absolute coordinates and
the starting point are the same;
④ The tool rapidly traverses to return to the starting point and the cycle is completed.
Z axis
Rapid traverse
D X/2 Cutting feed
C 3(F)
2(F) 4(R) U/2 A:Starting point(End point)
B:Cutting starting point
B 1(R) A C:Cutting end point
X axis W
Z
Fig. 3-59
104
Chapter 3 G Commands
Ⅰ Programming
Fig. 3-60
Cutting path: Relative position between cutting end point and starting point with U, W is shown in
Fig.3-61:
Z Z
W
R
③
①
U/2 ② ④
U/2 ② ④
①
③
W X R
X
U/2 ④ ②
② U/2
④
③ ①
X W X
Fig. 3-61
Example: Fig. 3-62, rod Φ125×112
105
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
Fig. 3-62
Program: O0003;
G00 X130 Z5 M3 S1;
G94 X0 Z0 F200 End face cutting
X120 Z-110 F300;
(Outer cutting Φ120)
G00 X120 Z0
G94 X108 Z-30 R-10
X96 R-20
X84 R-30 (C→B→A,cutting Φ60)
X72 R-40
X60 R-50;
M30;
106
Chapter 3 G Commands
Ⅰ Programming
........; ........;
....F; ....F;
....S; ⑶Type I ....S; ⑶Type II
.... ..
N(nf).....; N(nf).....;
Roughing path: The finishing path is the one after offsetting the finishing allowance(Δu,Δw) and
is the path contour formed by executing G71. A, B, C point of finishing path
after offset corresponds separately to A’, B’, C’ point of roughing path, and the
final continuous cutting path of G71 is B’→C’ point.
Δd: It is each travel of X tool infeed in roughing, its value: 0.001~99.999(IS_B)/0.0001~99.9999
(IS_C)(unit: mm/inch,radius value) without sign, and the direction of tool infeed is defined
by move direction of ns block. The command value Δd is reserved after executing U(Δd).
The value of system parameter No.051 is regarded as the travel of tool infeed when U(Δd) is
not input.
e: It is travel of X tool retraction in roughing its value: 0~99.999(IS_B)/0~99.9999(IS_C)(unit:
mm/inch,radius value) without sign, and the direction of tool retraction is opposite to that of tool
infeed, the command value e is reserved after R(e) is executed. The value of system
parameter No.052 is regarded as the travel of tool retraction when R(e) is not input.
ns: Block number of the first block of finishing path.
107
GSK980TDi Turning CNC System User Manual
108
Chapter 3 G Commands
Ⅰ Programming
Fig. 3-63 G71 cycle path
Fig.3-64
Type II:
The type II is different from the type I as follows:
1)Relative definition: More one parameter than the type I.
J:When J is not input or J is not 1, the system does not execute the run along the roughing
contour; J=1: the system executes the run along the roughing contour.
109
GSK980TDi Turning CNC System User Manual
2)The system does not execute the monotonous increasing or the monotonous decreasing
along X external contour, and the workpiece can be up to 10 grooves as follows:
Ⅰ Programming
Fig. 3-65(type Ⅱ)
But, the Z external contour must be the monotonous increasing or the monotonous
decreasing, and the following contour cannot be machined:
Fig. 3-66(type Ⅱ)
3)The first tool cutting need not the vertical: The machining can be executed when Z is the
monotonous change shape as follows:
Fig. 3-67
4)After the turning, the system should execute the tool retraction, the retraction travel is
specified by R(e)or No. 52 as follows:
Fig. 3-68(typeⅡ)
5)Command execution process:roughing path A->H
110
Chapter 3 G Commands
C B
24
G F 25
39 23
19
40 20
38 22 18
34 14
35 15 26 21
Ⅰ Programming
37 33 17 13
29 7
36 E D 8 16
30 41 28
32 9 12 6
27
10 2
3 31 11
5 1
H 4
A
42
Fig. 3-69(typeⅡ)
Notes:
1. ns block is only G00, G01. When the workpiece is type II, the system must specify the
two axes X(U) and Z(W), and W0 must be specified when Z does not move;
2. For type II, only X finishing allowance can be specified; when Z finishing allowance is
specified, the whole machining path offsets, and it can be specified to 0;
3. For type II, after the current grooving is completed to execute the next, the tool
approaches the workpiece(remark 25 and 26) in the remainder tool retraction distance
at G1 speed; when the tool retraction is 0 or the remainder distance is less than the tool
retraction, and the tool approaches the workpiece at G1 speed;
4. Some workpiece without remarking the type I or the type II adapts the both;
5. For the finishing path(ns~nf block),Z dimension must be monotonous change(always
increasing or decreasing), X dimension in the type I must be monotonous change and
does not need in the type II;
6. ns~nf blocks in programming must be followed G71 blocks. If they are in front of G71
blocks, the system automatically searches and executes ns~nf blocks, and then
executes the next program following nf block after they are executed, which causes the
system executes ns~nf blocks repetitively;
7. ns~nf blocks are used for counting the roughing path and the blocks are not executed
when G71 is executed. F, S, T commands of ns~nf blocks are invalid when G71 is
executed, at the moment, F, S, T commands of G71 blocks are valid. F, S, T of ns~nf
blocks are valid when executing ns~nf to command G70 finishing cycle;
8. In ns~nf blocks, there are only G commands: G00, G01, G02, G03, G04, G05, G6.2,
G6.3, G7.2, G7.3, G96, G97, G98, G99, G40, G41, G42 and the system cannot call
subprograms (M98/M99);
9. In ns~nf ,the program block quantity cannot exceed 100;
10. G96, G97, G98, G99, G40, G41, G42 are invalid when G71 is executed, and are valid
when G70 is executed;
11. When G71 is executed, the system can stop the automatic run and manual traverse, but
return to the position before manual traversing when G71 is executed again, otherwise,
the following path will be wrong;
111
GSK980TDi Turning CNC System User Manual
12. When the system is executing the feed hold or single block, the program pauses after
the system has executed end point of current path;
13. ᇞd,ᇞu are specified by the same U and different with or without being specified P, Q
commands;
14. There are no the same block number in ns~nf when compound cycle commands are
executed repetitively in one program;
15. The tool retraction point should be high or low as possible to avoid crashing the
Ⅰ Programming
workpiece.
Cutter radius compensation:
When the cutter radius compensation should be used in the compound cycle code (G70,
G71, G72 or G73), the G41/G42 code should be specified at the 1st block (ns block) of the
finish-turning path; otherwise, the cutter compensation will not be used in the compound cycle; it
is not necessary to specify the G40 in the finish-turning path. The cutter radius compensation will
authomatically cancel when the compound cycle is completed. Actually, when the cutter radius
compensation is used in the compound cycle code, the CNC system is performed the cutter nose
radius offset for the finish-turning path instead of entering the state of the cutter radius
compensation. Therefore, the cutter radius compensation state on the position interface will not
change.
The cutter radius compensation genterates before entering the compound cycle, temporarily
cancel the cutter radius compensation; restore the cutter radius compensation when the cycle
end tool leaves from the cycle start; refer to the following schematic:
Fig. 3-70
When the compound the cycle is performed in the rough machining, perform the infeed
along with the cycle start and 1st point offset vector point of the finish-turing path, and its feed
value is ᇞd; refer to the following figure:
112
Chapter 3 G Commands
B B
Z Z
X X
Ⅰ Programming
C C
A A
Fig. 3-71 G71 cycle I start-up
Z
X
C A
Fig 3-72 G71 cycle II start-up
Example:Fig. 3-73(Type I)
Fig. 3-73
Program: O0004;
G00 X200 Z10 M3 S800; (Spindle clockwise with 800 r/min)
113
GSK980TDi Turning CNC System User Manual
G71 U2 R1 F200; (Cutting depth each time 4mm, tool retraction 2mm [in
diameter])
G71 P80 Q120 U0.5 W0.2; (roughing a---e, machining allowance: X, 1mm;Z, 2mm)
N80 G00 X40 S1200; (Positioning)
G01 Z-30 F100 ; (a→b)
X60 W-30; (b→c) a→b→c→d→e blocks for finishing path
W-20; (c→d)
Ⅰ Programming
114
Chapter 3 G Commands
traverse direction. The value of system parameter No.051 is regarded as the tool infeed
clearance when W(Δd) is not input.
e: it is Z tool retraction clearance in roughing, its value: 0~99.999(IS_B)/0~99.9999(IS_C)
(unit: mm) without sign symbol, and the direction of tool retraction is opposite to that of tool
infeed, the specified value e is reserved after R(e) is executed. The value of system
parameter No.052 is regarded as the tool retraction clearance when R(e) is not input.
Ⅰ Programming
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 in roughing, its range: -99999.999~99999.999(IS_B )
/-9999.9999~9999.9999(IS_C) (X coordinate offset of roughing contour corresponding to
the finishing path, i.e. X absolute coordinate difference between A’ and A.(diameter, unit:
mm/inch, with sign symbol).
Δw : it is Z finishing allowance in roughing, its range: -99999.999~99999.999(IS_B )
/-9999.9999~9999.9999(IS_C) (Z coordinate offset of roughing contour corresponding to
the finishing path, i.e. Z absolute coordinate difference between A’ and A.(diameter, unit:
mm/inch, with sign symbol).
When K is not input or is not 1, the system does not check the program monotonicity except
that the Z value of starting point and end point of the arc or ellipse or parabola or the arc
is more than 180 degree; K=1, the system checks the program monotonicity.
F: Cutting feedrate; S: Spindle speed; T: Tool number, tool offset number.
M, S, T, F: They can be specified in the first G72 or the second ones or program ns~nf. M, S, T,
F functions of M, S, T, F blocks are invalid in G72, and they are valid in G70 finishing blocks.
Execution process:
①X rapidly traverses to A’ from A point, X travel is Δu, and Z travel is Δw;
②X moves from A’ is Δd( tool infeed), ns block is for tool infeed at rapid traverse speed
with G0, is for tool infeed at G72 feedrate F in G1, and its direction of tool infeed is
that of A→B point;
③X executes the cutting feeds to the roughing path, and its direction is the same that of
X coordinate B→C point;
④X, Z execute the tool retraction e (45°straight line)at feedrate, the directions of tool
retraction is opposite to that of tool infeed ;
⑤X rapidly retracts at rapid traverse speed to the position which is the same that of Z
coordinate;
⑥After Z tool infeed (Δd+e)again is executed, the end point of traversing tool is still on
the middle point of straight line between A’ and B’(the tool does not reach or exceed
B’), and after Z executes the tool infeed (Δd+e)again, ③ is executed; after the tool
infeed (Δd+e) is executed again, the end point of tool traversing reaches B’ point or
exceeds the straight line between A’→B’ point and Z executes the tool infeed to B’
point, and then the next step ⑦ is executed;
⑦Cutting feed from B’ to C’ point along the roughing path;
⑧Rapidly traverse to A from C’ point and the program jumps to the next clock following
nf block after G71 cycle is completed.
115
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
Fig. 3-74
Command specifications:
1. ns~nf blocks in programming must be followed G72 blocks. If they are in the front of
G72 blocks, the system automatically searches and executes ns~nf blocks, and then
executes the next program following nf block after they are executed, which causes the
system executes ns~nf blocks repetitively;
2. ns~nf blocks are used for counting the roughing path and the blocks are not executed
when G72 is executed. F, S, T commands of ns~nf blocks are invalid when G72 is
executed, at the moment, F, S, T commands of G72 blocks are valid. F, S, T of ns~nf
blocks are valid when executing ns~nf to command G70 finishing cycle;
3. The dimensions in X, Z direction must be changed monotonously (always increasing or
reducing) for the finishing path;
4. In ns~nf blocks, there are only G commands: G01, G02, G03, G04, G05, G6.2, G6.3,
G7.2, G7.3, G96, G97, G98, G99, G40, G41, G42 and the system cannot call
subprograms (M98/M99);
5. G96, G97, G98, G99, G40, G41, G42 are invalid when G72 is executed, and are valid
when G70 is done;
6. In the ns~nf, the program block quantity cannot exceed 100;
7. When G72 is executed, the system can stop the automatic run and manual traverse, but
return to the position before manual traversing when G72 is executed again, otherwise,
the following path will be wrong;
8. When the system is executing the feed hold or single block, the program pauses after
the system has executed end point of current path;
9. ᇞd, ᇞw are specified by the same W and different with or without being specified P, Q
commands;
10. There are no the same block number in ns~nf when compound cycle commands are
executed repetitively in one program;
11. The tool retraction point should be high or low as possible to avoid crashing the
workpiece.
Coordinate offset direction with finishing allowance:
116
Chapter 3 G Commands
Δu, Δw define the coordinate offset and its direction of cut-in in finishing, and their sign symbol
are as follows Fig. 3-29: B→C for finishing path, B’→C’ for roughing path and A is the tool start-up
point.
ΔU>0、ΔW>0 ΔU>0、ΔW<0
C Z C Z
C' C'
Ⅰ Programming
B A A B
A' A'
X B' X
ΔU<0、ΔW>0 ΔU<0、ΔW<0
A' Z A' Z
B A A B
C' C'
X C X C
Fig.3-75
The selection both type I and II
G72 owns type I and II. It is necessary to use the type II when the slot in the finish-turining
shape.
The tool-retraction operation of the type I and II machining are different after the
rough-turning is performed towards to the 2nd axis of the panel (It is the X axis on the ZX
panel). Type I executes the tool-retraction along with the 45°, and the type II is performed
the cutting along with the finish-turning. When there is no slot in the finish-turing shape,
flexibly use based upon the tool-retraction method.
Select the type I or II in the 1st block (Block number is ns) of the finish-turning path.
1) Type I selection
Only specify the command of the 1st axis of the panel (It is the Z axis on the ZX panel). There
is no command of the 2nd axis (It is the X axis on the ZX panel) of the panel.
2) Type II selection
Specify the command of the 2nd axis (It is X axis on the ZX panel) and 1st axis (It is Z axis on
the ZX panel) on the panel. If the movement does not on the 2nd axis of the panel instead of using
the type II, the increment code specified the movement value is 0, which is programmed (It is U0
on the ZX panel).
The distinction between the G72 type II and G71 type II:
The differences from the G71 are shown below:
1) G72 moves the cutting workpiece by the 2nd axis paralleled with the panel (It is the X axis
on the ZX panel).
2) It is not necessary that the shape is simply added or reduced of the 1st axis (It is the Z axis
on the ZX panel) on the panel; the sunken part (slot) can be set. However, there is not
alternative other than the simply change along with the 2nd axis (It is X axis on the ZX panel)
direction on the panel.
3) In the finish-turning, the block parallels with the 2nd axis on the panel which is regarded as
botton of the slot.
4) Tool is temporarily returned to the start after the overall rough machining cuttings of the
2nd axis on the panel are performed, and then the rough machining cutting is executed.
G72 code cutter radius compensation function:
117
GSK980TDi Turning CNC System User Manual
Refer to the partial description of the G71 code cutter radius compensation function.
G72 code machining example (Type I):
Ⅰ Programming
Fig.3-76
Program:
O0005;
G00 X176 Z10 M03 S500 (Change No.2 tool and execute its compensation, spindle
CW rotation with 500 r/min)
G72 W2.0 R0.5 F300; (Tool infeed 2mm, tool retraction 0.5mm)
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 Q020 M30; (Finishing a—d)
118
Chapter 3 G Commands
⑶ Blocks for some continuous finishing path, counting the roughing path without being
executed actually when executing G73.
According to the finishing allowance, the travel of tool retraction and the cutting times, the system
automatically counts the travel of roughing offset, the travel of each tool infeed and the path of
roughing, the path of each cutting is the offset travel of finishing path, the cutting path
approaches gradually the finishing one, and last cutting path is the finishing one according to the
Ⅰ Programming
finishing allowance. The starting point and end point of G73 are the same one, and G73 is
applied to roughing for the formed rod. G73 is non-modal and its path is shown in Fig.3-77.
Relevant definitions:
Finishing path: The above-mentioned Part 3 of G73 (ns~nf block)defines the finishing path,
and the starting point of finishing path (start point of ns block)is the same these
of starting point and end point of G73, called A point; the end point of the first
block of finishing path(ns block)is called B point; the end point of finishing
path(end point of nf block) is called C point. The finishing path is A→B→C.
Roughing path: It is one group of offset path of finishing one, and the roughing path times are
the same that of cutting. After the coordinates offset, A, B, C of finishing path
separately corresponds to An, Bn , Cn of roughing path(n is the cutting times,
the first cutting path is A1, B1, C1 and the last one is Ad, Bd, Cd). The
coordinates offset value of the first cutting compared to finishing path is
(Δi×2+Δu, Δw+Δk) (diameter programming) , the coordinates offset value of
the last cutting compared to finishing path is(Δu, Δw) , the coordinates offset
value of each cutting compared to the previous one is as follows:
i 2 k
( , )
d 1 d 1
Δi: It is X tool retraction clearance in roughing, and its range is ±99999999× least input
increment (radius, unit: mm/inch, with sign symbol) , Δi is equal to X coordinate offset
value (radius value) of A1 point compared to Ad point. The X total cutting travel(radius
value) is equal to |Δi| in roughing, and X cutting direction is opposite to the sign of Δi: Δi
>0, the system executes X negative cutting in roughing.The No.053 value is regarded
as X tool retraction clearance in roughing when U(Δi) is not input.
Δk: It is Z tool retraction clearance in roughing, and its range is -99999.999 ~
99999.999(IS_B ) /-9999.9999 ~ 9999.9999(IS_C) (radius, unit: mm/inch, with sign
symbol) , Δk is equal to Z coordinate offset value (radius value) of A1 point compared to
Ad point. Z total cutting travel(radius value) is equal to |Δk| in roughing, and Z cutting
direction is opposite to the sign of Δk: Δk>0, the system executes Z negative cutting in
roughing.The No.054 value is regarded as Z tool retraction clearance in roughing when
W(Δk) is not input.
d: It is the cutting times 1~9999 (unit: times). R5 means the closed cutting cycle is completed
by 5 times cutting.No.055 value is regarded as the cutting times when R(d) is not input.
When the cutting times is 1, the system completes the closed cutting cycle based on 2
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 and its range is -99999.999~99999.999(IS_B )
/-9999.9999~9999.9999(IS_C) (diameter, unit: mm/inch, with sign symbol) and is the X
coordinate offset of roughing path compared to finishing path, i.e. the different value of
119
GSK980TDi Turning CNC System User Manual
120
Chapter 3 G Commands
Ⅰ Programming
Fig. 3-77 G73 path
Command specifications:
1. ns~nf blocks in programming must be followed G73 blocks. If they are in the front of
G73 blocks, the system automatically searches and executes ns~nf blocks, and then
executes the next program following nf block after they are executed, which causes the
system executes ns~nf blocks repetitively.
2. ns~nf blocks are used for counting the roughing path and the blocks are not executed
when G73 is executed. F, S, T commands of ns~nf blocks are invalid when G71 is
executed, at the moment, F, S, T commands of G73 blocks are valid. F, S, T of ns~nf
blocks are valid when executing ns~nf to command G70 finishing cycle.
3. There are only G00, G01 in ns block.
4. In ns~nf blocks, there are only G commands: G00, G01, G02, G03, G04, G05, G6.2,
G6.3, G7.2, G7.3, G96, G97, G98, G99, G40, G41, G42 and the system cannot call
subprograms (M98/M99) .
5. In ns~nf, the program block quantity cannot exceed 100;
6. G96, G97, G98, G99, G40, G41, G42 are invalid when G73 is executed, and are valid
when G70 is executed.
7. When G73 is executed, the system can stop the automatic run and manual traverse, but
return to the position before manual traversing when G73 is executed again, otherwise,
the following path will be wrong.
8. When the system is executing the feed hold or single block, the program pauses after
the system has executed end point of current path.
9. ᇞi, ᇞu are specified by the same U and Δk, Δw are specified by the same U, and they
are different with or without being specified P,Q commands.
10. G73 cannot be executed in MDI, otherwise, the system alarms.
11. There are no the same block number in ns~nf when compound cycle commands are
executed repetitively in one program.
12. The tool retraction point should be high or low as possible to avoid crashing the
workpiece.
Coordinate offset direction with finishing allowance:
121
GSK980TDi Turning CNC System User Manual
Δi, Δk define the coordinates offset and its direction of roughing; Δu, Δw define the coordinate
offset and the cut-in direction in finishing, and their sign symbols are as follows Fig. 3-32: A is tool
start-up point, B→C for workpiece contour, B’→C’ for roughing contour and B’’→C’’ for finishing path.
Z Z
B ’’
Ⅰ Programming
A B’
C A’
C’ B
A ’’
C ’’
C ’’
B C’ A ’’
B’ C A’
B ’’ A
X X
Z B’’ Z
B’
A B
A’ C
A’’ C’
C’’
C’’
A’’ C’
A’
C
A
B
B’
B’’
X X
0.3
0.5/2
0.5/2
starting point
(200,10)
0.3
Fig.3-78
122
Chapter 3 G Commands
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.3mm)
N14 G00 X80 W-40 ;
Ⅰ Programming
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)
Command specifications:
1. ns~nf blocks in programming must be followed G70 blocks.
2. F, S, T in ns~nf blocks are valid when executing ns~nf to command G70 finishing
cycle.
3. G96, G97, G98, G99, G40, G41, G42 are valid in G70;
4. When G70 is executed, the system can stop the automatic run and manual traverse, but
return to the position before manual traversing when G70 is executed again, otherwise,
the following path will be wrong.
5. When the system is executing the feed hold or single block, the program pauses after
the system has executed end point of current path.
123
GSK980TDi Turning CNC System User Manual
6. There are no the same block number in ns~nf when compound cycle commands are
executed repetitively in one program.
7. In ns~nf, the program block quantity cannot exceed 100;
8. The tool retraction point should be high or low as possible to avoid crashing the
workpiece.
9.
Ⅰ Programming
124
Chapter 3 G Commands
value is reserved validly after R(e) is executed. The NO.056 value is regarded as the
tool retraction clearance when R(e) is not input.
X: X absolute coordinate value of cutting end point Bf (unit: mm).
U: Different value of X absolute coordinate 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.
Ⅰ Programming
P(Δi) :radial(X) cutting for each axial cutting cycle , range: 0<Δi≤9999999(IS_B)/0<Δi≤
99999999(IS_C) (unit: least input increment, diameter value, without sign symbol).
Q(Δk):radial(Z) cutting for each axial cutting cycle, range: 0<Δk≤ 9999999(IS_B)/0<Δk
≤99999999(IS_C)(unit: least input increment, diameter value, without sign symbol).
R(Δd) : radial (X) tool retraction after cutting to end point of axial cutting, range: 0~99999999×
least input increment (unit: mm/inch, diameter value, without sign symbol).. The radial (X)
tool retraction clearance is 0 when the system defaults the axial cutting end point. The
system defaults the tool retraction is executed in positive direction when X(U) and P(Δi)
are omitted.
Execution process: (Fig. 3-79)
① Axial (Z) cutting feed ᇞk from the starting point of axial cutting cycle, feed in Z
negative direction when the coordinates of cutting end point is less than that of
starting point in Z direction, otherwise, feed in Z positive direction;
② Axial (Z) rapid tool retraction e and its direction is opposite to the feed direction of
①;
③ X executes the cutting feed (Δk+e) again, the end point of cutting feed is still in it
between starting point An of axial cutting cycle and end point of axial tool infeed, Z
executes the cutting feed (Δk+e)again and execute ②; after Z executing the cutting
feed (Δk+e)again, the end point of cutting feed is on Bn or is not on it between An and
Bn cutting feed to Bn in Z direction and then execute ④;
④ Radial(X) rapid tool retraction ᇞd/2 to Cn , when X coordinate of Bf (cutting end point)
is less than that of A (starting point), retract tool in X positive, otherwise, retract tool
in X negative direction;
⑤ Axial(Z axial) rapid retract tool to Dn, No. n axial cutting cycle is completed. If the
current axial cutting cycle is not the last one, execute ⑥ ; if it is the previous one
before the last axial cutting cycle, execute ⑦;
⑥ Radial(X axial)rapid tool infeed, and it direction is opposite to ④ retract tool. If the
end point of tool infeed is still on it between A and Af (starting point of last axial
cutting cycle) after X executes the tool infeed (ᇞd/2+ᇞi/2) , i.e. Dn→An+1 and then
execute ① (start the next axial cutting cycle); if X end point of tool infeed is not on it
between Dn and Af after tool infeed (ᇞd/2+ᇞi/2), rapidly traverse to Af and execute
① to start the first axial cutting cycle;
⑦ X rapidly traverse to return to A, and G74 is completed.
125
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
126
Chapter 3 G Commands
Ⅰ Programming
Fig.3-80
Program (suppose that the grooving tool width is 4mm, system least increment is 0.0001mm):
O0007;
G0 X36 Z5 M3 S500; (Start spindle and position to starting point of machining)
G74 R0.5 ; (Machining cycle)
G74 X20 Z-20 P30000 Q50000 F50; (Z tool infeed 5mm and tool retraction 0.5mm each time;
rapid return to starting point (Z5) after cutting feed to end point
(Z-20), X tool infeed 3mm and cycle the above-mentioned
steps)
M30; (End of program)
End point of radial tool infeed: Starting position of radial tool infeed for each radial cutting
cycle, defined by Bn (n=1, 2, 3……), X coordinates of Bn is
the same that of cutting end point, Z coordinates of Bn is the
same that of An, and the end point (Bf ) of the last radial tool
infeed is the same that of cutting end point.
End point of axial tool retraction: End position of axial tool infeed (travel of tool infeed is Δd)
after each axial cutting cycle reaches the end point of axial
Ⅰ Programming
128
Chapter 3 G Commands
Ⅰ Programming
Fig. 3-81 G75 path
Execution process: (Fig. 3-81)
① Radial (X) cutting feed ᇞi from the starting point of radial cutting cycle, feed in X
negative direction when the coordinates of cutting end point is less than that of
starting point in X direction, otherwise, feed in X positive direction;
② Radial(X) rapid tool retraction e and its direction is opposite to the feed direction of
①;
③ X executes the cutting feed (Δi+e) again, the end point of cutting feed is still in it
between starting point An of radial cutting cycle and end point of radial tool infeed, X
executes the cutting feed (Δi+e) again and executes ②; after X cutting feed (Δi+e) is
executed again, the end point of X cutting feed is on Bn or is not on it between An and
Bn cutting feed to Bn and then execute○4 ;
④ Axial(Z) rapid tool retraction ᇞd to Cn , when Z coordinate of Bf (cutting end point) is
less than that of A (starting point), retract tool in Z positive, otherwise, retract tool in Z
negative direction;
⑤ Radial (X) rapid retract tool to Dn, No. n radial cutting cycle is completed. The current
radial cutting cycle is not the last one, execute ⑥; if it is the previous one before the
last radial cutting cycle, execute ⑦;
⑥ Axial(X) rapid tool infeed, and it direction is opposite to ④ retract tool. If the end
point of tool infeed is still on it between A and Af (starting point of last radial cutting
cycle) after Z tool infeed (ᇞd+ᇞk), i.e. Dn→An+1 and then execute ① (start the next
radial cutting cycle); if the end point of tool infeed is not on it between Dn and Af after
Z tool infeed (ᇞd+ᇞk), rapidly traverse to Af and execute ① to start the first radial
129
GSK980TDi Turning CNC System User Manual
cutting cycle;
⑦ Z rapidly traverses to A, and G75 is completed.
Explanation:
1. The cycle movement is executed by X(W) and P(Δi) blocks of G75, and the movement
is not executed if only “G75 R(e) ; ” block is executed;
2. Δd and e are specified by the same address R and whether there are X(U) and P(Δi)
Ⅰ Programming
Program (suppose the grooving tool width is 4mm, the system least increment is 0.001mm):
O0008;
G00 X150 Z50 M3 S500; (Start spindle with 500 r/min)
G0 X125 Z-24; (Position to starting point of machining)
G75 R0.5 F150; (Machining cycle)
G75 X40 Z-50 P60000 Q30000; (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 continuously run programs)
G0 X150 Z50; (Return to starting point of machining)
M30; (End of program)
130
Chapter 3 G Commands
the drilling position after the last drilling operation is performed, the drilling cycle is
then completed. The drilling cycle divides into axial drilling G83 and radial drilling G87,
which is used in the axial drilling (Z axis) and radial drilling (X axis) separately.
Relevant definition: G83, G87 is modle G code
G83: Axial drilling cycle G code, axial (Z axis) drilling;
G87: Radial drilling cycle G code, axial (X axis) drilling;
Ⅰ Programming
(X, C): Drilling position; ------G83
Z: at the bottom of a hole; ------G83
(Z, C); Drilling position; ------G87
X: at the bottom of a hole; ------G87
P: It is pause time at the bottom, modal data, initial default value is 0 (Unit: ms), its
resolution is shown in the table 1-2 of Section 1.4.1.
Q: In-feed value each time, its range:-9999999~9999999 (IS_B) /
-99999999~99999999 (IS_C) (unit : least input increment, radius value);
Evaluate its absolute value when inputting the negative value, modal data; the
initial default value is 0. When the Q value is 0, directly feed to the botton of the
hole.
R: In-feed value after the in-feed for each time, its range:0~9999.999 (IS_B)/
0~999.9999 (IS_C) (unit:mm/inch,radius value); Evaluate its absolute value
when inputting the negative value, modal data; the initial default value is 1.
F: Cutting feddrate, refer to the table 1-2 in the Section 1.4.1 for its resolution.
K: Drilling repeated times can be omitted; it is regarded as 1 by default when
ignores; refer to the table 1-2 in the Section 1.4.4 for its resolution. If the the
drilling position is regarded as the relevant coordinate programming, drilling is
performed at difference positions.
M: The M code is used for clamping the indexing spindle; its code value is set by
data parameter No.170, which can be omitted; it does not use the spindle
clamping by default when it ignores.
J: 0:High speed peck drilling cycle;1:Peck drilling cycle, modal data. Its initial
value regardes as 0 by default.
Code performance procedure:
I:High speed deep hole drilling cycle(J=0):
① Rapidly position to the drilling start position(G83:X,C; G87:Z,C;),if the M
code with clamping spindle exists, output Mα after the positioning is completed;
② Cutting feed Q distance: P specification time dwells and then perform ⑥ if it
reaches to the bottom of a hole;
③ Rapid tool-retraction R distance: If it reaches to the drilling start position during the
tool-retraction, it is then retreated to the drilling start position;
④ Cutting feed (Q+R) distance: If it retracts to the drilling start position at the last time,
and then cut the feed distance (Q+tool-retraction amount at last time);
⑤ Cycle ③④ till to the bottom of a hole, dwell the P specification time;
⑥ Rapid return to the drilling start position, if it executes the M code of spindle
clamping,output the Mβ after the positioning is completed;
⑦ If the cycle does not end instead of returning to the ①, the next machining cycle is
then started;
II:Deep hole drilling cycle(J=1):
131
GSK980TDi Turning CNC System User Manual
④ Rapid positioning to the R position distance from the last feeding depth (Point C in
the drawing);
⑤ Cutting feed (Q+R) distance
⑥ Cycle ③⑤ till to the bottom of a hole
⑦ Rapid return to the drilling start position, if it executes the M code of spindle
clamping, output the Mβ after the positioning is completed;
⑧ If the cycle does not end instead of returning to the ①, the next machining cycle is
then started;
Note: α value is set in the data parameter No. 170, β=α+1; therefore, the M codes in the PLC should be
treated.
Common drilling Peck drilling
G83
G87
Precautions:
1) G83 or G87 is the modal G command of the group 01, which can be cancelled by the G
command of group 01. The rest of the command words are the modal data other than the
positioning place, cycle times and the M code of the clamping index spindle.
2) Do not use the cutter compensation C in G83 or G87 command, the cutter
compensation may automatically retract when entering the drilling cycle, it may
132
Chapter 3 G Commands
Ⅰ Programming
6) When the in-feed amount Q of each time is 0, perform the common drilling cycle. The
drillingmachining will directly feed to the botton of a hole, and then moves to the start
position at the rapid traverse rate.
133
GSK980TDi Turning CNC System User Manual
Execute the end face thread cutting when X coordinates of starting point and end point are the
same one(not input Z or W);
Execute the cutting taper thread when X and Z coordinates of starting point and end point are
different;
Related definitions:
F: Metric pitch is moving distance of long axis when the spindle rotates one rev: 0.001 mm~500
Ⅰ Programming
mm. After F is executed, it is valid until F with specified pitch is executed again.
I: Teeth per inch. It is ones per inch(25.4 mm) in long axis, and also is circles of spindle rotation
when the long axis traverses one inch(25.4 mm) :0.06tooth/inch~25400tooth/inch. After I is
executed, it is valid until I with specified pitch is executed again. The metric, inch input both
express the teeth per inch thread.
J: Movement in the short axis in thread run-out, its range:(-99999999~99999999)× least input
increment with negative sign; if the short axis is X, its value is specified with the radius; J value
is the modal parameter.
K: Length in the long axis in thread run-out, its range: 0~99999999× least input increment. If the
long axis is X, its value is in radius without direction; K is modal parameter.
Q: Initial angle(offset angle)between spindle rotation one rev and starting point of thread cutting:
0~360000 (unit: 0.001 degree). Q is non-modal parameter, must be defined every time,
otherwise it is 00.
Q rules:
1. Its initial angle is 0° if Q is not specified;
2. For continuous thread cutting, Q specified by its following thread cutting block except for the
first block is invalid, namely Q is omitted even if it is specified;
3. Multi threads formed by initial angle is not more than 65535;
4. Q unit : 0.0010 . Q180000 is input in program if it offsets 1800 with spindle one-turn; if Q180 or
Q180.0, it is 0.18°.
Difference between long axis and short axis is shown in Fig. 3-82.
Fz
Fx
Z axis K
X
End point
a Current point
Tool path
U/2
X axis
Fig. 3-82 G32 path
134
Chapter 3 G Commands
Notes:
1. J, K are modal. The thread run-out is previous J, K value when they are omitted in the
next block in continuous thread cutting. Their mode are cancelled when no thread
cutting are executed;
2. There is no thread run-out when J, or K are omitted; K=J is the thread run-out value
when K is omitted;
Ⅰ Programming
3. There is no thread run-out when J=0 or J=0, K=0;
4. The thread run-out value J=K when J≠0,K=0;
5. There is no thread run-out when J=0 or K≠0;
6. When parameter No.107 set to 0, its tail-retraction angle is matched with the J or K ratio.
When the parameter No.107 does not set to 0, the tail-retraction speed of the short axis is
set by parameter value, and the tail-retraction angle is determined by thread cutting speed
and short axis tail-retraction speed;
6. If the current block is for thread and the next block is the same, the system does not test
the spindle encoder signal per rev at starting the next block to execute the direct thread
cutting, which function is called as continuous thread machining;
7. After the feed hold is executed, the system displays “Pause” and the thread cutting
continuously executes not to stop until the current block is executed completely; if the
continuous thread cutting is executed, the program run pauses after thread cutting
blocks are executed completely;
8. In Single block, the program stops run after the current block is executed. The program
stops running after all blocks for thread cutting are executed;
9. The thread cutting decelerates to stop when the system resets, emergently stop or its
drive unit alarms.
Example: Pitch: 2mm. δ1 = 3mm,δ2 = 2mm,total cutting depth 2mm divided into two times cut-in.
Starting point
End point
Fig.3-83
Program:
O0009;
G00 X27.4286 Z3; (First cut-in 1mm)
G32 X48.8571 W-75 F2.0; (First taper cutting)
G00 X55; (Tool retraction)
W75; (Z returns to the starting point)
X26.4286; (Second tool infeed 0.5mm)
G32 X47.4286 W-75 F2.0; (Second taper thread cutting )
G00 X55; (Tool retraction)
W75 ; (Z returns to the starting point)
M30;
135
GSK980TDi Turning CNC System User Manual
installed on the spindle, which can realize the feed axis to follow the thread
interpolation mode of the spindle. Its disadvantages are that there is a big error in the
thread lead in acceleration/deceleration. In the rigid thread interpolation mode, the
working of the spindle motor is the same that of the servo motor, and the
interpolations between the feed axis and the spindle execute the thread interpolation
to get the thread with high precision.
Command explanation:
G32.1 :Rigid thread interpolation command;
C :Start angle of thread interpolation;
(X,Z) :End point coordinates of thread interpolation;
F(I) :Thread lead, F(I)> 0 right-hand thread, F(I)< 0 left-hand thread;
J: Movement in the short axis in thread run-out, its range:(-99999999~99999999)× least input
increment with negative sign; If the short axis is X, its value is specified with the radius; J value
is the modal parameter.
K: Length in the long axis in thread run-out, its range: 0~99999999× least input increment. If the
long axis is X, its value is in radius without direction; K is modal parameter.
S:spindle speed;
Explanations:
1) G32.1 is in Group 01;
2) When there is the C movement command in a block, the spindle firstly positions the
start point of C axis before turning the thread;
3) Start points of X, Z, C axis must be the same one in the repetitive machining;
4) G32.1 cannot specify the thread run-out, and the feed axis and the spindle stops
simultaneously at the end point of the thread;
5) The input range of the programmed address value in G32.1 is the same that of the
general thread turning command(G32);
6)
When G32.1 is executed, the pause signal is disabled temporarily and the spindle
override is fixed to be 100%.
Command path is shown below:
136
Chapter 3 G Commands
Fz
Fx
Z
Ⅰ Programming
a Current point
U/2
Z W
End point
X
Fig. 3-40 G32.1 path
Notes:
1) The spindle must be in the position control mode when it works;
2) In multiple spindle control function, G32.1 is used only between the 1st spindle and the
feed axis, and their uses and the related parameter settings are the same those of the
rigid tapping;
3) In G32.1, CNC does not check whether the current spindle is the position control mode
or the speed control mode. So, the servo control axis of the 1st spindle is set to Cs
working mode to avoid the coordinate overflow;
4) Absolute coordinates of C axis are set to the cycle mode to avoid the coordinate
overflow;
5) The speed control mode is switched to the position control mode in the spindle control
mode. Please execute that the spindle returns to the reference point or use G50 to set
the start point of the current C axis;
Example: Supposing M14: the spindle is switched to the position control mode; M15: the spindle is
switched to the speed control mode.
The thread is the right-hand, its lead is 2mm, the spindle speed is 500 r/m in thread cutting,
thread cutting length is 20mm, and its programming format is shown below:
O0132(0132);
G00 X100 Z100;//position to the safe position to change the tool
T0101; //change a thread tool(supposing No. 01 is the thread tool)
G00 X25 Z2; //position to the thread starting point(supposing the shape has been made at
the last tool)
。
M14; //switch the spindle from speed control mode to position control mode(it is 0
position after switch)
G50 C0; // set the zero of the rotary axis(it is important to set it because the operation is
relevant to the start angle of the following thread turning)
G32.1 Z-20 F2 S500 M08;//thread turning; the speeds of the spindle and the feed axis are0 in
end point
G00 X100; //tool retraction
Z100; //return to tool change position
137
GSK980TDi Turning CNC System User Manual
M15; //switch the spindle from position control mode to speed control mode
..
..; //execution the 2nd machining procedure
..
..;
M30; //end of program
138
Chapter 3 G Commands
A
A:Center
B:Start point
C:End point
R
I
Ⅰ Programming
Z
C B
K
X F
Precautions:
1) R value is enabled when R is simultaneously specified with I or K;
2) The specified arc block by arc thread must be performed within the certain area (The area
of which the X or Z axis is separately regarded as long axis); refer to the following figure:
End point
45° Z Z
45°
End point Start point Start point
X X
3) The arc specified by arc thread, if its long axis changes, the alarm may occur; refer to the
following figure:
45° Z
Start point
139
GSK980TDi Turning CNC System User Manual
specified value per rev and one spiral grooving with variable lead on the
surface of workpiece to realize thread cutting with variable lead. Tool
retraction can be set in thread cutting.
F, I are specified separately to metric, inch pitch. Executing G34 can machine metric or inch
straight, taper, end face thread with variable pitch.
Command specifications:
G34 is modal;
Ⅰ Programming
The system alarms when R exceeds the above-mentioned range or the pitch exceeds
permissive value or is negative owing to R increases or decreases.
Starting point of
machining
70
50 Z
δ2 δ1
X
Fig. 3-42 Variable pitch 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; first tool infeed 0.8mm, gradual decreasing
cutting every time 0.2mm, min. infeed 0.2mm.
Program:O0010;
G00 X60 Z4 M03 S500;
G65 H01 P#102 Q800; First tool infeed: assignment #102=0.8mm
G65 H01 P#103 Q0; Cycle count: assignment #103=0
N10 G65 H02 P#104 Q#103 Cycle count starting: #104=#103+1
R1; #103=#104
G65 H01 P#103 Q#104; Total cutting cycle times: #104=15,jump to block
140
Chapter 3 G Commands
Ⅰ Programming
G65 H03 P#101 Q#100 R0.2; Decreasing of cutting feed again: #101=#100-0.2
G65 H01 P#102 Q#101; Assignment again #102=#101
G65 H86 P20 Q#102 R0.2; Infeed: Jump to block N20 when #102≦0.2mm
G65 H80 P10; Unconditionally jump to block N10
N20 G65 H01 P#102 R0.2; Min. infeed: #102=0.2
G65 H80 P10; Unconditionally jump to block N10
N30 ;
Fig.3-87
Program:
141
GSK980TDi Turning CNC System User Manual
O0011;
G00 Z90 X0 M03; Start spindle
G33 Z50 F1.5; Tap cycle
M03 Start spindle again
G00 X60 Z100; Machine continuously
M30
Note 1: Before tapping, define rotation direction of spindle according to tool rotating. The spindle stops
Ⅰ Programming
rotation after the tapping is completed and the spindle is started again when machining thread
continuously.
Note 2: G33 is for rigid tapping. The spindle decelerates to stop after its stop signal is valid, at the moment,
Z executes continuously infeeds along with the spindle rotating, and so the actual cutting bottom
hole is deeper than requirement and the length is defined by the spindle speed and its brake in
tapping.
Note 3: Z rapid traverse speed in tapping is defined by spindle speed and pitch is not relevant to cutting
feedrate override.
Note 4: In Single block to feed hold, the tapping cycle continuously executes not to stop until the tool
returns to starting point when the system displays “Pause”.
Note 5: The thread cutting decelerates to stop when the system resets, emergently stop or its driver alarms.
142
Chapter 3 G Commands
2) The axis movement command cannot be use between M29 and G84/G88;
3) M29 cannot be specified repetitively in rigid tapping;
4) In multiple spindle rigiding tapping, a spindle used to the rigid tapping must be selected before M29, and
it cannot be switched before the rigid tapping state is cancelled;
Operations is shown below:
Ⅰ Programming
S p in d le s to p
Mα
S p in d le s to p Mβ
O p e ra tio n 1
O p e ra tio n 4
O p e ra tio n 2
P
O p e ra tio n 3
Execution explanations:
1) Operation 1:positioning to the hole position(starting point of rigid tapping);
2) Before starting operation 2, the system outputs Mα when it has M code used to clamp the
spindle;
3) Operation 2:start the rigid tapping;
4) Operation 3:pause time P in rigid tapping in hole bottom;
5) Operation 4:the rigid tapping returns to the hole bottom(starting point of rigid tapping;
6) When the block for rigid tapping specifies M code used to clamp the spindle, Mβ is output.
Note: α value is set in №170, β=α+1, so, these corresponding M codes in PLC are executed.
Rigid tapping sequence
Taking example of G84 right-hand tapping, explain the creation, execution and cancellation of
rigid tapping.
Creation and execution of rigid tapping
The spindle rotation operation is defined that the rotary axis is switched to the position control
mode(i.e. send the position mode switch signal to the servo spindle), and the system checks the
position mode arrival signal of the servo spindle.
Rigid tapping cancellation
The cancellation methods of rigid tapping are shown below:
1) G80 cancels the rigid tapping mode;
143
GSK980TDi Turning CNC System User Manual
Output S command
RGTA(G61.0)
Notes:
1) In rigid tapping, when the tapping direction is changed(i.e. G84 and G88 are switched)
,the
system specifies again the hole bottom position of the tapping, otherwise, the unexpected
result rises;
2) The rigid tapping G command is in Group 01, it is cancelled temporarily in the rigid tapping
state, and then is recovered it after the tapping is done;
3) The dry run function is disabled in rigid tapping;
4) In the rigid tapping, the machine lock function is valid; the tapping axis and the spindle do not
move when the machine lock function is enabled;
5) When the reset is executed in the rigid tapping, the rigid tapping state is released and the
spindle returns to the previous state before the rigid tapping;
6) In rigid tapping, when the tapping block is executed and the tapping returns, the feed
hold/single block run function is disabled temporarily till the tapping return completes;
7) In rigid tapping mode, the backlash compensation is performed to compensate the dry run of
the spindle rotation(CW, CCW). It is set in parameters №34. The backlash compensation
along the tapping axis is performed in general method;
8) In multiple spindle tapping, the 1st spindle is used to the graduation and the 2nd to the tapping.
After the 1st spindle graduation is completed, the spindle must be clamped on the machine
144
Chapter 3 G Commands
and the machine clamping/releasing M code can be specified in the rigid tapping. M code
used to clamp the spindle is added in G84/G88, i.e. the system can output two kinds of M
code. M code used to clamp the spindle is set in the data parameter (№170). M code used to
the releasing is the setting value +1 of №170;
9) Setting RTORI(state parameter №186#7)to 1 can execute the reference point return of the
spindle before the system starts the rigid tapping.
Ⅰ Programming
3.23.7 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 function: Tool infeeds in radial(X) direction and cuts in axial(Z or X, Z) direction from
starting point of cutting to realize straight thread, taper thread cutting cycle with
constant thread pitch. Thread run-out in G92: at the fixed distance from end
point of thread cutting, Z executes thread interpolation and X retracts with
exponential or linear acceleration, and X retracts at rapidly traverse speed after
Z reaches to end point of cutting as Fig. 3-88.
Command specifications:
G92 is modal;
Starting point of cutting: starting position of thread interpolation;
End point of cutting: end position of thread interpolation;
X: X absolute coordinate of end point of cutting, unit: mm;
U: different value of X absolute coordinate from end point to starting point of cutting, unit: mm;
Z: Z absolute coordinate of end point of cutting, unit: mm;
W: Different value of X absolute coordinate from end point to starting point of cutting, unit: mm;
R: Different value(radius value) of X absolute coordinate 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: Thread lead, its range: 0< F ≤500 mm. After F value is executed, it is reserved and can be
omitted;
I: Thread teeth per inch, its range: 0.06tooth/inch~25400tooth/inch , it is reserved and it can be
omitted not to input after I specified value is executed;
J: Movement in the short axis in thread run-out, its range 0~99999999× least input increment ,
unit: mm/inch, without direction ( automatically define its direction according to starting position
of program), and it is modal parameter. If the short axis is X, its value is specified by radius;
K: Movement in the long axis in thread run-out, its range: 0~99999999× least input increment ,
unit: mm/inch, without direction ( automatically define its direction according to starting position
of program), and it is modal parameter. If the long axis is X, its value is specified by radius;
L: Multi threads: 1~99 and it is modal parameter. (The system defaults it is single thread when L
is omitted).
145
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
Fig. 3-88
Fig. 3-89
The system can machine one thread with many tool infeed in G92, but cannot do continuous two
thread and end face thread. Definition of thread pitch in G92 is the same that of G32, and a pitch is
defined that it is a moving distance of long axis(X in radius) when the spindle rotates one rev.
Pitch of taper thread is defined that it is a moving distance of long axis(X in radius). When
absolute value of Z coordinate difference between B point and C point is more than that of X (in
radius), Z is long axis; and vice versa.
Cycle process: straight thread as Fig.3-88 and taper thread as Fig.3-89.
① X traverses from starting point to cutting starting point;
② Thread interpolates (linear interpolation) from the cutting starting point to cutting end point;
③ X retracts the tool at the cutting feedrate (opposite direction to the above-mentioned ①), and
return to the position which X absolute coordinate and the starting point are the same;
④ Z rapidly traverses to return to the starting point and the cycle is completed.
Notes:
1) Length of thread run-out is specified by №019 when J, K are omitted;
2) Length of thread run-out is K in the long direction and is specified by №019 when J is omitted;
146
Chapter 3 G Commands
Ⅰ Programming
parameter setting value, and the tail-retraction angle is determined by thread cutting speed
and short axis tail-retraction speed;
8) After executing the feed hold in thread cutting, the system does not stop cutting until the
thread cutting is completed with Pause on screen;
9) After executing single block in thread cutting, the program run stops after the system returns
to starting point(one thread cutting cycle is completed);
10) They are executed as the positive values when J, K negative values are input;
11) Thread cutting decelerates to stop when the system resets, emergently stops or its driver
alarms.
Command path: relative position between thread cutting end point and starting point with U, W, R
and tool path and thread run-out direction with different U, W, R signs below:
1) U>0,W<0,R>0 2) U<0,W<0,R<0
Z Z
④ W
U/2 ③
②
K R
①
J
② J
①
K R
U/2 ③
④
W
X X
3) U>0,W>0,R<0 、│R│≤│U/2│ 4) U<0,W>0,R>0、│R│≤│U/2│
Z Z
W
④
K
① J
R
③
U/2 ②
② ③ U/2
R
U/2 ①
J
K
④
W
X X
Fig.3-90
Example:Fig.3-91
147
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
Fig.3-91
Program:
O0012;
M3 S300 G0 X150 Z50 T0101; (Thread tool)
G0 X65 Z5; (Rapid traverse)
G92 X58.7 Z-28 F3 J3 K1; (Machine thread with 4 times cutting, the first tool infeed
1.3mm)
X57.7 ; (The second tool infeed 1mm)
X57; (The third tool infeed 0.7mm)
X56.9; (The fourth tool infeed 0.1mm)
M30;
148
Chapter 3 G Commands
F: Thread lead,. After F value is executed, it is reserved and can be omitted; F(I)> 0
right-hand thread,F(I)< 0 left-hand thread;
L: Multi threads: 1~99 and it is modal parameter. (The system defaults it is single
thread when L is omitted)
S: The speed of thread cutting and modal value can be specified the spindle speed
before this block;
Ⅰ Programming
F
Z
X/2
C ② B
③ ① U/2
④
D
A
Z
W
X
Fig. 3-92
F
B Z
X/2 ②
R
C
①
U/2 ③
④
A
D Z
W
X
Fig. 3-93
The system can machine one thread with many tool infeed in G92.1, but cannot do continuous
two thread and end face thread. Definition of thread pitch in G92.1 is the same that of G32, and a
pitch is defined that it is a moving distance of long axis(X in radius) when the spindle rotates one rev.
Pitch of taper thread is defined that it is a moving distance of long axis(X in radius). When
absolute value of Z coordinate difference between B point and C point is more than that of X (in
radius), Z is long axis; and vice versa.
Cycle process: straight thread as Fig.3-92 and taper thread as Fig.3-93.
① X axis rapidly moves to the cutting start B from the cycle start A. Spindle positions to
the start angle if it is the multi-head thread. Refer to the motion ① in the Fig. 3-92 or
3-93;
② The feed axis is interpolated to end C with the spindle thread from the cutting start B,
149
GSK980TDi Turning CNC System User Manual
the feed axis and spindle are entirely stopped at the end C.Refer to the motion ② in
the Fig. 3-92 or 3-93;
③ X axis retracts to the point D from C at the rapid traverse rate, refer to motion ③ in
the Fig. 1 or 3-93;
④ Z axis retreats to A from point D at the rapid traverse rate, simultaneously, the spindle
positions to the initial angle of the cycle machining, and then the cycle is ended, refer
Ⅰ Programming
150
Chapter 3 G Commands
Z Z
④ W
U/2 ③
②
K R
①
J
② J
①
K R
Ⅰ Programming
U/2 ③
④
W
X X
3)U>0,W>0,R<0,|R|≤|U/2| 4)U<0,W>0,R>0,|R|≤|U/2|
Z Z
W
④
K
① J
R
③
U/2 ②
② ③ U/2
R
J
U/2 ①
K
④
W
X X
Example:
110
30 30
Z
M60X3
Φ120
B A
D
C
X
Program:
O0012;
G0 X150 Z50; (Tool-change performs after positioning at a safety place)
T0101; (Thread tool)
M14; (Shift the spindle to the position controllable method)
G0 X65 Z5; (Rapid traverse)
G92.1 X58.7 Z-28 F3 S600; (Machine thread with 4 times cutting, the first tool
infeed 1.3mm)
X57.7; (The second tool infeed 1mm)
X57; (The third tool infeed 0.7mm)
X56.9; (The fourth tool infeed 0.1mm)
M15; (Shift the spindle to the speed controllable method)
M30;
151
GSK980TDi Turning CNC System User Manual
When the machine tool matches with the servo spindle, the damaged thread can be
recovered using the G92.1 P1 code, and the thread interpolation can be performed by
the interpolation between the feed axis and spindle, its motion procedure is identical
with the G92.1.
Code explanations:
Modal command;
Starting point of cutting: starting position of thread interpolation;
End point of cutting: end position of thread interpolation;
X: X absolute coordinate of end point of cutting, unit: mm;
U: Different value of X absolute coordinate from end point to starting point of cutting,
unit: mm;
Z: Z absolute coordinate of end point of cutting, unit: mm;
W: Different value of X absolute coordinate from end point to starting point of cutting,
unit: mm;
R: Different value (radius value) of X absolute coordinate 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: Thread lead. After F value is executed, it is reserved and can be omitted; F(I)> 0
right-hand thread,F(I)< 0 eft-hand thread;
L: Multi threads: 1~99 and it is modal parameter. (The system defaults it is single
thread when L is omitted)
P: Thread recovery mark: 0:Do not perform the reparation function, 1:Perform the
reparation function;
S: The revolving speed of the thread cutting and the modal value can be specified the
spindle speed before this block;
Operation methods:
1) Thread reparation function usage: Before using the thread recovery, set the Bit 4 of
state parameter No.174 to "1", the function is then performed; the setting of Bit 5 of
state parameter No.174 can be recovered the mode of the thread.
2) Thread reparation position record: In the Manual, MPG or single-step mode, shift the
spindle into the position controllable method (Do not use this controllable method when
using follow thread reparation), move the tool to the measure position by the X, Z axis
or spindle; cutter nose should be coincided with the tooth cavity as much as possible by
moving the tool, refer to the following figure:
152
Chapter 3 G Commands
Ⅰ Programming
In this case, enter to the position interface by , to the absolute coordinate page by
soft function button; press the soft function button, the system is then automatically
recorded the coordinate information of this position and the angle of the spindle. The recorded
position information is performed the M30 code in the program, alternatively, when the main program
is ended with M99 code; here, the recorded position is regarded as already used by the system, the
recorded value is then cleared; if the thread needs recover again, it is necessary to record the
position again. This operation will directly affect the accuracy of the thread recovery, therefore, it is
better to overlap the cutter nose of the tool and the thread slot as much as possible.
3) Thread recovery performance: Perform the thread recovery operation by using the G92.1
or G92 code; the system may automatically perform the thread recovery operation based
upon the recorded position previously.
Precautions:
1) When the thread reparation function is disabled, P1 parameter is specified in G92,
G92.1 code, the system is then automatically ignored;
2) When the thread reparation function is enabled, P1 does not specify in the G92, G92.1
code or the value of other Non-1, the system will not perform the reparation function;
3) When the thread recovery function is enabled, as well the P1 parameter is specified in
G92 or G92.1 code; the system alarm may occur when the thread recovery position
record does not prform in the Manual, MPG or Single-step mode;
4) When the multi-block G92, G92.1 code is used to repair the thread, the P1 parameter
only should be specified in the G92, G92.1 code of the 1st block, the thread machining
start angle calculated by system may be succeeded to the subsequent G92, G92.1
thread block;
5) When the coordinate of the measure position long axis does not between the start and
end points of which the thread block long axis is specified by P1, the alarm is then
generated.
6) When the thread is recovered by G92 P1, the Bit 5 of state parameter No.174 should be
set to 1; when the thread is recovered by G92.1 P1, the Bit 5 of state parameter No.174
should be set to 0.
7) When the thread reparation is performed, the numerical value of the data parameter
No.191 should be calibrated (This value is the tolerance value (EPO) at the stable
153
GSK980TDi Turning CNC System User Manual
position where the axis operation speed of servo drive along each axis is 1m/min);
otherwise, the recovered thread may be generated an offset;
99999( IS-B),(unit: least input increment, radius value). When ( n n 1 ) ×ᇞd<ᇞdmin, ᇞdmin is
regarded as the cutting travel of current roughing and the subsequent rough-machining cutting value
and the in-feed depth will not calculate based upon the formula any more. Setting ᇞdmin is to avoid
the too small of roughing amount and too many roughing times caused by the cutting amount
deceleration in thread roughing. When Q (ᇞdmin) is not input, the system data parameter NO.059
value is taken as the least cutting amount;
R(d): It is the cutting amount in thread finishing, range: 00~99.999(IS_B)/00~99.9999(IS_C) (unit:
mm/inch, radius value without sign symbols), the radius value is equal to X absolute coordinates
between cut-in point Be of thread finishing and Bf of thread roughing.. The value of system parameter
№060 is regarded as the cutting travel of thread finishing when R(d) is not input;
R(i): It is thread taper and is the different value of X absolute coordinate between thread starting point
and end point, rang: -99999.999~99999.999(IS_B)/-9999.9999~9999.9999(IS_C) (unit::mm/inch,
radius value). The system defaults R(i)=0(straight thread) when R(i) is not input;
154
Chapter 3 G Commands
P(k): Depth of thread tooth, the total cutting depth of thread, range: 1~99999999(unit: least input
increment, radius value, without sign symbols). The system alarms when P(k) is not input;
Q(ᇞd): Depth of the 1st thread cutting, range: 1~99999999 unit: Least input increment, radius value,
without sign symbols). The system alarms when ᇞd is not input;
F: metric thread pitch, its range is referred to Table 1-2;
I: thread teeth per inch for inch thread, its range is referred to Table 1-2.
Ⅰ Programming
J:Movement amount (run-out amount) (unit: mm/inch, without direction) in the short axis when thread
run-out; when the short axis is X, its value is designated by radius and is simple parameter;
K:Movement amount (run-out amount) (unit: mm/inch, without direction) in the long axis when thread
run-out; when the long axis is X, its value is designated by radius and is simple parameter.
Note: J, K are not compiled in G76, its thread run-out method is the same that of the previous, i.e. the thread
run-out is executed according to P® or No.19; when J or, K, or J, K are compiled, the thread run-out
method is the same those of G32, G92.
Fig. 3-94
Cut-in method as follows: Fig. 3-95:
Fig. 3-95
155
GSK980TDi Turning CNC System User Manual
Pitch is defined to moving distance ( X radius value) of long axis when the spindle rotates one rev.
Z is long when absolute value of coordinate difference between C point and D point in Z direction is
more than that of X direction ( radius value, be equal to absolute value of i); and vice versa
Execution process:
① The tool rapidly traverses to B1, and the thread cutting depth is ᇞd. The tool only
traverses in X direction when a=0; the tool traverses in X and Z direction and its
Ⅰ Programming
156
Chapter 3 G Commands
68
60.64
Ⅰ Programming
Cutting point
zooming in
62
Fig.3-96
Program:
O0013; (system least input increment is 0.0001mm)
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 Q1500 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 P36800 Q18000 F6; (Tooth height 3.68, the first cutting depth 1.8)
G00 X100 Z50 ; (Return to starting point of program)
M30; (End of program)
157
GSK980TDi Turning CNC System User Manual
each time of the decreasing in-feed is ( n - n 1 )×ᇞd (n is the cutting times). The
specified value m reservation is enabled after the P(m) is executed, and then write the m
value to the data parameter No. 061.
P(r): Cutting method 0: Blade cuts in along with the netrual line of the thread theeth; 1:
Blade cuts in along with the left of the thread theeth;
2: Blade cuts in along with the right of the thread theeth; 3: Blade cuts in
Ⅰ Programming
158
Chapter 3 G Commands
radius value, without sign symbols). The system alarms when ᇞd is not input;
F: metric thread pitch, its range is referred to 1.4.1 Table 1-2;
I: thread teeth per inch for inch thread, its range is referred to 1.4.1 Table 1-2.
Command path:
P(r)=0: Cut in from the middle of the teeth
Ⅰ Programming
Cut-in method as follows:
159
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
160
Chapter 3 G Commands
Ⅰ Programming
Cut-in method as follows:
161
GSK980TDi Turning CNC System User Manual
Finish-turning residual
Cutter nose
162
Chapter 3 G Commands
Z
α /2
C
Be d
Bf
Bn
B1 k
Ⅰ Programming
d △ d n
i △
r T h r e a d c u ttin g
B
E Ae
D Af R a p id tra v e rs e
An
A1 A :S ta r tin g p o in t ( E n d p o in t )
B :R e fe r e n c e p o in t o f th r e a d c u ttin g d e p th
u /2 C :S ta r tin g p o in t o f th re a d c u ttin g
D :E n d p o in t o f th r e a d c u ttin g
A
E A 1 ,A n , A f , A e :S ta r t p o s itio n
w
X
emergently stops. The feedrate override is reserved when the system is turned off.
Note: In G99 modal, there is the uneven cutting feed rate when the spindle speed is lower than 1 r/min; there
is the follow error in the actual cutting feed rate when there is the swing in the spindle speed. To gain
the high machining quality, it is recommended that the selected spindle speed should be not lower
than min. speed of spindle servo or converter.
Cutting feed: The system can control the motions in X, Z direction contributed that the motion path of
Ⅰ Programming
tool and the defined path by commands (line straight, arc ) is consistent, and also
instantaneous speed on the tangent of motion path and F word is consistent, which
motion control is called cutting feed or interpolation. The cutting feedrate is specified by
F, the system divides the cutting feedrate specified by F according to the programming
path into vector in X, Z direction, also controls the instantaneous speed in X, Z direction
to contribute that the combined speed of vector in X, Z direction is equal to F command
value.
Example: In Fig. 2-97, the data in the brackets are the coordinates for each point (it is the
diameter in X axis), the system parameter No.022 is 3800, the system parameter
No.023 is 7600, the rapid override and feedrate override are 100%.
fz
fx
A Starting point
Fig. 3-97
Program as follows:
G50 X160 Z80; (Create a workpiece coordinate system)
G0 G98 X50 Z0; (Rapid traverse from A to B through M point. A→M: X-axis rapid traverse
speed 7600mm/min, Z-axis 7600mm/min in Z direction, M→B: X-axis
rapid traverse
speed 0mm/min, Z-axis 7600mm/min in Z direction
G1 W-30 F100; (B→C, X-axis rapid traverse speed 0mm/min, Z-axis 100mm/min)
X100 W-20; (C→D, X-axis rapid traverse speed 156mm/min, Z-axis 62mm/min)
X140; (D→E, X-axis rapid traverse speed 200mm/min, Z-axis 0mm/min)
G3 W-40 R20; (EFG circular interpolation, E point: X axis instantaneous speed 200mm/min,
Z axis 0mm/min
F point: X-axis instantaneous speed 0mm/min,
Z axis 100mm/min)
164
Chapter 3 G Commands
Ⅰ Programming
The cutting feedrate can be tuned real time by the feedrate override key on the operator panel or
the external override switch, and the actual cutting feedrate is tuned at 16 steps in 0~150%
(increment of 10%) but it is invalid for thread cutting to tune the feedrate override. Refer to Ⅱ
OPERATION about cutting feedrate override.
Related parameters:
System parameter No.027: the upper limit value of cutting feedrate(they are the same in X, Z
direction, diameter/min in X direction);
System parameter No.029: exponential function for time constant of acceleration/deceleration
when cutting feed and manual feed;
System parameter No.030: initial (ultimate) speed of acceleration/deceleration in exponential
function when cutting feed and manual feed.
165
GSK980TDi Turning CNC System User Manual
166
Chapter 3 G Commands
Ⅰ Programming
The command function of X#9100 is the same as X500;
The command function of X-#9100 is the same as X-500
Note 1: If macro variables values exceed the maximum rang of command values, they cannot be used. For
example: #130 = 120, M#130 exceeds the maximum command value.
Null variable
When the variable value is not defined, it is null, the variable #0 is always null and only is read
instead of writing.
1). Reference
When an undefined variable (null variable) is referred, the address is ignored.
#1=<null> #1=0
G00 X100 Z#1 is equal to G00 X100 G00 X100 Z#1 is equal to G00 X100 Z0
2). Operation
Except for using <null variable > to value, the <null variable> used to operation in other
conditions is the same as that of “0”.
#1=<null> #1=0
#2=#1 #2=#1
↓(execution result) ↓(execution result)
#2=<null> #2=0
#2=#1﹡5 #2=#1﹡5
↓(execution result) ↓(execution result)
#2=0 #2=0
#2=#1+#1 #2=#1+#1
↓(execution result) ↓(execution result)
#2=0 #2=0
3). Condition expression
<null>s in EQ(=) & NE(≠) are different to “0”.
#1=<null> #1=0
#1 EQ #0 #1 EQ #0
↓ ↓
Valid Invalid
#1 NE #0 #1 NE #0
↓ ↓
Invalid Invalid
#1 GE #0 #1 GE #0
↓ ↓
Valid Invalid
#1 GT #0 #1 GT #0
↓ ↓
Invalid Invalid
167
GSK980TDi Turning CNC System User Manual
Variable display
Ⅰ Programming
(1) In macro window, the variable being displayed to the null means it is null, i.e. it is not
defined.
(2) The share variable (#100~#199, #500~#999) values are displayed in the macro variable
window, and is also displayed the window, the data is input directly to value the share
variable.
System variable
(1)Interface signal: CNC only executes G and F signals. Whether there are I/O to correspond
to it is defined by PLC.
Variable No. Function
#1000~#1015 Correspond G54.0~G54.7, G55.0~G55.7 signal states
#1032 Correspond G54, G55 signal states
#1100~#1115 Correspond F54.0~G54.7, F55.0~F55.7 signal states
#1132 Correspond F54, F55 signal states
#1133 Correspond F56, F57, F58, F59 signal states
168
Chapter 3 G Commands
Ⅰ Programming
#4012 G66, G67 No. 12 group
#4013 G54,G55,G56,G57,G58,G59 No. 14 group
#4016 G17,G18,G19 No. 16 group
#4109 F command
#4113 M command
#4114 Serial No.
#4115 Program No.
#4119 S command
#4120 T command
Note: The position listed in the above table separately corresponds orderly to X, Y, Z, 4th, 5th axis. For example:
#5001 meanings to be X position information, #5002 meanings to be Y position information, #5003
meanings to be Z position information and #5004 meanings to 4th position information and #5005
th
meanings to 5 position information.
169
GSK980TDi Turning CNC System User Manual
(8) Application:
O0100; (#100 is the machined workpiece number, its O9580;
initial value=0) G65 H23 P#101 Q#4120 R100; (obtain the
G00 X100 Z100; tool offset No.)
T0101; IF[#101==0]GOTO10; (Do not modify the
IF[#100<100]GOTO10; (has continuously machined wear value when the tool offset is
100?) regarded as 0)
G65 P9580 U-0.01 W-0.01; (call the macro program #102=2000+#101; (X wear macro
compensation tool wear) variable)
N10 G00 X50 Z50; #103=2100+#101; (Z wear macro
……; variable)
……; #9102=#9102+#21; (modify X wear)
……; #9103=#9103+#23; (modify Z wear)
Machine program; T#4120; (call a new tool offset value)
……; N10 M99;
T0202;
IF[#100<100]GOTO20; (has continuously machined
100?)
G65 P9580 U-0.01 W-0.01; (call the macro program
compensation tool wear)
N20 ……;
……;
……;
#100=#100+1; (machined workpiece number +1)
IF[#100==101]THEN #100=0;
M30;
170
Chapter 3 G Commands
Ⅰ Programming
G65 H11 P#i Q#j R#k; Binary addition # i = # j OR # k
G65 H12 P#i Q#j R#k; Binary multiplication(operation) # i = # j AND # k
G65 H13 P#i Q#j R#k; Binary exclusive or # i = # j XOR # k
G65 H21 P#i Q#j; Decimal square root #i= #j
G65 H22 P#i Q#j; Decimal absolute value # i = |# j |
G65 H23 P#i Q#j R#k; Decimal remainder Remainder of # i = (#j÷# k)
G65 H24 P#i Q#j; Decimal into binary # i = BIN(# j )
G65 H25 P#i Q#j; Binary into decimal # i = DEC(# j )
Decimal multiplication/division # i = # i×# j÷# k
G65 H26 P#i Q#j R#k;
operation
G65 H27 P#i Q#j R#k; Compound square root # i = # j 2 # k 2
G65 H31 P#i Q#j R#k; Sine # i = # j×sin(# k)
G65 H32 P#i Q#j R#k; Cosine # i = # j×cos(# k)
G65 H33 P#i Q#j R#k; Tangent # i = # j×tan(# k)
G65 H34 P#i Q#j R#k; Arc tangent # i = ATAN(# j / # k)
G65 H80 Pn; Unconditional jump Jump to block n
Jump to block n if # j = # k,otherwise
G65 H81 Pn Q#j R#k; Conditional jump 1
the system executes in order
Jump to block n if # j ≠ # k, otherwise
G65 H82 Pn Q#j R#k; Conditional jump 2
the system executes in order
Jump to block n if # j ﹥ # k,
G65 H83 Pn Q#j R#k; Conditional jump 3 otherwise the system executes in
order
Jump to block n if # j ﹤ # k,
G65 H84 Pn Q#j R#k; Conditional jump 4 otherwise the system executes in
order
Jump to block n if # j ≥ # k, otherwise
G65 H85 Pn Q#j R#k; Conditional jump 5
the system executes in order
Jump to block n if # j ≤# k, otherwise
G65 H86 Pn Q#j R#k; Conditional jump 6
the system executes in order
G65 H99 Pn; P/S alarm (500+n) alarms
Operation commands
1) Assignment of macro variables: # I = # J
G65 H01 P#I Q#J
(Example) G65 H01 P# 101 Q1005; (#101 = 1005)
G65 H01 P#101 Q#110; (#101 = #110)
G65 H01 P#101 Q-#102; (#101 = -#102)
2) Decimal add operation: # I = # J+# K
171
GSK980TDi Turning CNC System User Manual
172
Chapter 3 G Commands
Ⅰ Programming
G65 H34 P#I Q#J R# k
(Example) G65 H34 P#101 Q#102 R#103; (#101 =ATAN(#102/#103) )
Jump commands
1) Unconditional jump
G65 H80 Pn; n: Block number
(Example) G65 H80 P120; (jump to N120)
2) Conditional jump 1 #J.EQ.# K ( = )
G65 H81 Pn Q#J R# K; n: Block number
(Example) G65 H81 P1000 Q#101 R#102;
The program jumps N1000 when # 101= #102 and executes in order when #101 ≠#102.
3) Conditional jump 2 #J.NE.# K ( ≠ )
G65 H82 Pn Q#J R# K; n: Block number
(Example) G65 H82 P1000 Q#101 R#102;
The program jumps N1000 when # 101 ≠ #102 and executes in order when #101 = #102.
4) Conditional jump 3 #J.GT.# K ( > )
G65 H83 Pn Q#J R# K; n: Block number
(Example) G65 H83 P1000 Q#101 R#102;
The program jumps N1000 when # 101 > #202 and executes in order when #101 ≤
#102.
5) Conditional jump 4 #J.LT.# K ( < =)
G65 H84 Pn Q#J R# K; n: Block number
(Example) G65 H84 P1000 Q#101 R#102;
The program jumps N1000 when # 101<#102 and executes in order when #101≥#102.
6) Conditional jump 5 #J.GE.# K ( ≥ )
G65 H85 Pn Q#J R# K; n: Block number
(Example) G65 H85 P1000 Q#101 R#102;
The program jumps N1000 when # 101 ≤ #1 and executes in order when #101 < #102.
7) Conditional jump 6 #J.LE.# K ( ≤ )
G65 H86 Pn Q#J R# K; n: Block number
(Example) G65 H86 P1000 Q#101 R#102;
8) P/S alarm
G65 H99 Pi; i: alarm number +500
(Example) G65 H99 P15;
P/S alarm 515.
Note 1: The alarm content (/***) can be omitted. When this alarm content is omitted, only the alarm occurs, and
the alarm content is null.
Note 2: Block number can be specified by variables. Such as: G65 H81 P#100 Q#101 R#102;
The program jumps to block that its block number is specified by #100.
173
GSK980TDi Turning CNC System User Manual
174
Chapter 3 G Commands
Method II: Use A, B, C and li, Ji, Ki (I is 1~10), the used letter and executed times (I, J, K)
automatically decides the corresponding variable number of argument. The argument in the method
specifies A, B, C one time for each and I, J, K up to 10 times ( 10 times replacing the more).
Argument address and corresponding variable No. table in method II
Address Variable No. Address Variable No. Address Variable No.
A #1 K3 #12 J7 #23
Ⅰ Programming
B #2 I4 #13 K7 #24
C #3 J4 #14 I8 #25
I1 #4 K4 #15 J8 #26
J1 #5 I5 #16 K8 #27
K1 #6 J5 #17 I9 #28
I2 #7 K5 #18 J9 #29
J2 #8 I6 #19 K9 #30
K2 #9 J6 #20 I10 #31
I3 #10 K6 #21 J10 #32
J3 #11 I7 #22 K10 #33
Note 1: The subscripts of I, J, K are used to confirming the specified sequence of argument, and are not
written in the actual programming.
Note 2: The system can identify the variable number according to the present sequence and times of I, J, K in
the method.
Note 3: CNC internal can automatically identify the argument specifying mode I and II. When the two modes
are specified, the later specified is valid.
175
GSK980TDi Turning CNC System User Manual
176
Chapter 3 G Commands
ii. When #j exceeds the range from -1 to 1, the system alarms P/S.
iii. The constant replaces the variables #j.
4. Arc tangent #i=ATAN[#j]/[#k]
Specify the lengths of two sides and separate them with a slash “/”.
i. Result output range:
When No.180#7 NAT is set to 1: 90°~ 270°;
Ⅰ Programming
[For example] #1=ATAN[-1]/[-1]: #1=225°;
When No.180#7 NAT is set to 0 -90°~ 90°;
[For example]#1=ATAN[-1]/[-1]: #1=45.0°;
ii. The constant replaces the variables #j.
5. Natural logarithm #i=LN[#j]
The constant replaces the variables #j
6. Exponential function #i=EXP[#j]
The constant replaces the variables #j
7. ROUND function
When arithmetical operation or logic operation IF or WHILE includes ROUND, ROUND rounds in
the first decimal place.
For example: #1=ROUND[#2]: #2=1.2345, the variables 1 is 1.0.
8. FUP FIX
After CNC executes the operation, the result integer absolute value is bigger the previous
absolute value, which is called FUP; the result integer absolute value is less than the one, which is
call FIX. Pay more attention to the negative execution.
Example:
Hypothetically, #1=1.2, #2= -1.2
When #3=FUP[#1] is executed, 2.0 is assigned to #3.
When #3=FIX[#1] is executed, 1.0 is assigned to #3.
When #3=FUP[#2] is executed, -2.0 is assigned to #3.
When #3=FIX[#2] is executed, -1.0 is assigned to #3.
177
GSK980TDi Turning CNC System User Manual
When the variable #1 is more than 10, the system transfers to the block which serial
number is N2.
IF [#1GT10] GOTO2;
N2 G00 X10.0;
Conditional expression: the conditional expression must include the conditional operator, two
sides of conditional operator can be variable, constant or expression, and it must be closed with the
brackets ‘[’ ‘]’.
Conditional operator: the system uses the conditional operators listed in the following table.
178
Chapter 3 G Commands
Program
When the condition When the
is not met. condition is met.
END m;
Ⅰ Programming
Explanation: when the specified condition is valid, the system executes the block between DO
and END; otherwise, executes the block after END. The two tabs after DO and END are consistent,
and the tab value can be 1, 2 or 3, otherwise, the system alarms.
Nest: the tab (1~3) in DO, END can be used many times. But the system alarms when there is
the intercross repetitive cycle in the program.
179
GSK980TDi Turning CNC System User Manual
Notes
⑴ No.001#0(INI) input increment unit change
After the input increment unit is changed (inch/metric input), the following unit system is
changed: (i.e.: mm<>inch; mm/min<>inch/min):
F specifies the feedrate (mm/min<>inch/min), thread lead (mm <>inch)
position command (mm<>inch)
Ⅰ Programming
180
Chapter 3 G Commands
Ⅰ Programming
value along the positive direction based upon the stored stroke limit
detection.
I_J_K_: The limit coordinate value along negative direction, after the command is
performed, this data is then converted into the corresponding value to
save in the data parameter No.101. When the data does not input, the
value of the data parameter No.101 is regarded as the limit coordinate
value along the negative direction based upon the stored stroke limit
detection.
Precautions:
1) The limit coordinate values of the stored stroke limit detection 2 are the coordinate
values of the machine tool coordinates;
2) When the Bit 4 of state parameter No. 172 sets to 0, the limit function is disabled, the
modal is fixed as G23; the alarm may issue by using the G22/G23 command;
3) The initial modal is G23 when the system power is turned on;
4) The inner/outer prohibition of the setting range is set by bit 2 of parameter No. 172;
5) When the bit 1 of state parameter No. 172 sets to 1, if the stored stroke limit detection 2
sets as inner limit, the limit function is then enabled after the overall axes are returned to
zero following with the system power is turned on; if it sets as the outer limit, after the
system ON, the limit function of an axis is enabled after this axis returns to zero;
6) G22/G23 coe can not be shared a same block with other G and MST codes; otherwise,
the alarm issues.
7) G22 code only can be changed the limit area of the X, Z or Y axis, if the limit area of the
rest of the axes should be altered, which can be set by the data parameter No. 100 or
No.101;
8) When the prohibition area of the stored stroke limit detection 2 is set, as well when the
positive stroke is less than or equals to the negative one and the external prohibition is
selected, the overall areas are the forbidden areas;
9) When the prohibition area of the stored stroke limit detection 2 is set, as well when the
positive stroke is less than or equals to the negative one and the internal prohibition is
selected, the overall areas are the movable areas;
10) Set whether an axis is performed the stored stroke detection 2 by the bit 2 of parameter
No.190.
181
GSK980TDi Turning CNC System User Manual
<Argument>: The data converted to the macro program, its value is assigned to the
corresponding local variable, it is same that the G65 calls macro program.
Code value and the setting of program number call:
Data parameter No.86~No.95 set the used G code in the macro command call, use
the set G code, that is, the macro program call using G code can be defined. If the
data parameters No.86~No.95 are set to 0, this function will be then disabled. The
callable macro programs are O9010~O9019, the corresponding relationships
Ⅰ Programming
182
Chapter 3 G Commands
Max. channel number) can be used for reading the axis, spindle or channel
parameter;
Precautions:
1) In the parameter write/read method, simultaneously, when two or more command words
(including the repeated display for a same command word) of N_/K_/D_/DT_/DC_ are
displayed at the same line, system alarm is then shown: 178 alarm, parameter
Ⅰ Programming
(N_/K_/D_/DT_/DC_) (including the inexistent specified parameter) does not specify in
the parametr read/write mode or the parameter is repeatedly specified;
2) In the parameter write/read method, when block specifies the operation command
(R/W), but it does not exist any one command word of the N_/K_/D_/DT_/DC_,
alternatively, there is the command word without data, system alarm is then shown: 178
alarm, parameter (N_/K_/D_/DT_/DC_) (including the inexistent specified parameter)
does not specify in the parametr read/write mode or the parameter is repeatedly
specified;
3) In the parameter write/read method, when the block specifies the parameter number,
but it does not exist in R/W operation command or R, W exist at the same time, system
alam is then shown: 177 alarm; the read/write method does not specify or the read/write
method is repeatedly specified in the parameter read/write method;
4) In the parameter write/read method, if there are command words other than the
_/P_/K_/D_/DT_/DC_ R_/W_, ignore it, the command operations except from the
parameter reading/writing will not be performed;
5) Specify P value in the block, if the axis corresponding set parameter does not exist,
igore it;
6) When reading or writing the axis parameter or spindle parameter, if the P value does not
occur, the system alarm is then displayed: 178 alarm; the axis number does not specify
when reading/writing the axis parameter;
7) The system can not set the parameter with 2 authority levels or above if it is under the 3
or less authories. If the program exists the block to be modified the parameter with 2 or
more authority levels, the system alarm is then displayed: 174 alarm, the current
authority prohibits to be modified the parameter;
8) In the parameter write/read method, R_ can only be accompanied with macro variable,
otherwise, the alarm occurs: 180 alarm, as well, R only can be specified the marco
variable in this method;
9) When writing the bit parameter, if the W_ is followed with the operation number other
than the binary constant and macro variable, the system alarm is then displayed: 176
alarm. The W value or the macro variable value followed with the W are not the enabled
binary value;
10) When writing the bit parameter, when the value followed with the W exceeds the
corresponding parameter range, the system alarm is then displayed: 175 alarm; The W
value or the macro variable value followed with the W are not the enabled binary value;
11) The dual-channel system forbids other channels to perform the machining procedure in
the parameter read/writing state; otherwise, the system alarm is then displayed: 186
alarm; the other channels can not performed the machining procedure during the
parameter is read or written;
12) The parameter read/write function+n can not be used together with the tool life span
administration function.
183
GSK980TDi Turning CNC System User Manual
Programming example:
184
Chapter 3 G Commands
No.22 as 8000.
th
N23 P5 W#104; Set the 5 axis of the axle type data parameter No.23 to the
value of the macro variable #104
N37 P1 R#102; Read the 1st axis parameter value of the axle type data
parameter No.37 to the macro variable #102.
rd
N37 P3 W8000; Set the 3 axis parameter of the spindle data parameter No.37
Ⅰ Programming
as 8000.
th
N38 P2 W#105; Set the 5 axis of the spindle data parameter No.38 to the
value of the macro variable #105
G11; Cacnel the read or write method of the parameter.
Note: The read/write programming method of the K parameter is consistent with the one of the
system state parameter; The read/write programming method of the D/DT/DC parameters are
coincident with the one of the system data parameter.
185
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
186
Chapter 4 Tool Nose Radius Compensation(G41,G42)
4.1 Application
Ⅰ Programming
4.1.1 Overview
Part program is compiled generally for one point of tool according to a workpiece contour. The
point is generally regarded as the tool nose A point in an imaginary state (there is no imaginary tool
nose point in fact and the tool nose radius can be omitted when using the imaginary tool nose point to
program) or as the center point of tool nose arc ( as Fig. 4-1). Its nose of turning tool is not the
imaginary point but one arc owing to the processing and other requirement in the practical machining.
There is an error between the actual cutting point and the desired cutting point, which will cause the
over- or under-cutting affecting the part precision. So a tool nose radius compensation is needed in
machining to improve the part precision.
Workpiece
Tool nose center path with C compensation
Error
187
GSK980TDi Turning CNC System User Manual
Starting point
Starting point
Ⅰ Programming
Fig. 4-3 Programming with tool nose Fig. 4-4 Programming with imaginary tool nose
Tool path is shown in Fig.4-5 when the tool nose center programming is executed.
Tool nose
Tool nose center path Start compensation
center path
Programmed path
Programmed path
Fig. 4-5-1 the tool nose center path is Fig. 4-5-2 precise cutting with tool
the same that of programmed path without radius compensation
tool radius compensation
The tool path is shown in Fig. 4-6 when imaginary tool nose programming is executed
Fig. 4-6-1 the imaginary tool nose path is Fig. 4-6-2 precise cutting with tool
the same that of programmed path without radius compensation
tool radius compensation
The tool is supposed to one point in programming but the actual cutting blade is not one ideal
point owing to machining technology. Because the cutting blade is not one point but one circular,
machining error is caused which can be deleted by tool nose circular radius compensation. In actual
machining, suppose that there are different position relationship between tool nose point and tool
nose circular center point, and so it must create correct its direction of imaginary tool nose.
From tool nose center to imaginary tool nose, set imaginary tool nose numbers according to tool
direction in cutting. Suppose there are 10 kinds of tool nose setting and 9 directions for position
relationship. The tool nose directions are different in different coordinate system (rear tool post
coordinate system and front tool post coordinate system) even if they are the same tool nose
direction numbers as the following figures. In figures, it represents relationships between tool nose
and starting point, and end point of arrowhead is the imaginary tool nose; T1~T8 in rear tool post
188
Chapter 4 Tool Nose Radius Compensation(G41,G42)
coordinate system is as Fig. 4-7; T1~T8 in front tool post coordinate system is as Fig. 4-8. The tool
nose center and starting point for T0 and T9 are shown in Fig. 4-9.
X axis
Ⅰ Programming
Z axis
Imaginary tool
nose No.5 Imaginary tool
nose No.6
Imaginary tool
nose No.7 Imaginary tool
nose No. 8
Fig. 4-7 Imaginary tool nose number in rear tool post coordinate system
189
GSK980TDi Turning CNC System User Manual
Z axis
Front tool post coordinate system
X axis
Ⅰ Programming
Imaginary tool
Imaginary tool
nose No.2
nose No. 1
Imaginary tool
nose No.5
Imaginary tool
nose No.6
Imaginary tool
nose No.7
Imaginary tool
nose No.8
Fig. 4-8 Imaginary tool nose number in front tool post coordinate system
190
Chapter 4 Tool Nose Radius Compensation(G41,G42)
Ⅰ Programming
4.1.3 Compensation Value Setting
Preset imaginary tool nose number and tool nose radius value for each tool before executing
tool nose radius compensation. Set the tool nose radius compensation value in OFFSET window (as
Fig. 4-1), R is tool nose radius compensation value and T is imaginary tool nose number.
Table 4-1 CNC tool nose radius compensation value display window
number X Z R T
000 0.000 0.000 0.000 0
001 0.020 0.030 0.020 2
002 1.020 20.123 0.180 3
… … … … …
032 0.050 0.038 0.300 6
Note: X tool offset value can be specified in diameter or radius, set by No.004 Bit4 ORC, offset value is in
radius when ORC=1 and is in diameter when ORC=0.
In toolsetting, the tool nose is also imaginary tool nose point of Tn (n=0~9) when taking
Tn(n=0~9) as imaginary tool nose. For the same tool, offset value from standard point to tool nose
radius center (imaginary tool nose is T3) is different with that of ones from standard point to imaginary
tool nose(imaginary tool nose is T3) when T0 and T3 tool nose points are selected to toolsetting in
rear tool post coordinate system, taking tool post center as standard point. It is easier to measure
distances from the standard point to the tool nose radius center than from the standard point to the
imaginary tool nose, and so set the tool offset value by measuring distance from the standard point to
the imaginary tool nose(tool nose direction of T3).
191
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
192
Chapter 4 Tool Nose Radius Compensation(G41,G42)
Z
Tool
Ⅰ Programming
workpiece from its workpiece from its
movement direction movement direction
Workpiece
X axis X axis
Z axis Z axis
193
GSK980TDi Turning CNC System User Manual
Z
X
Tool
Workpiece
Z axis Z axis
X axis X axis
4.1.6 Notes
In tool nose radius compensation mode, the system will alarm when it executes 7 block or more
than blocks without motion Command.
Tool nose radius R is without negative value, otherwise there is a mistake running path.
Tool nose radius compensation is created and cancelled in G00 or G01 instead of G02 or G03,
otherwise, the system alarms.
RESET
The system cancels the tool nose radius compensation mode when pressing key or
execute M30
G40 must be specified to cancel offset mode before the program is ended, otherwise the tool
path offsets one tool nose radius.
The system executes the tool nose radius compensation in main program and subprogram but
must cancel it before calling subprogram (before execute M98) and then create it again in the
subprogram.
The system does not execute the tool nose radius compensation in G74, G75, G76 and cancel it
temporarily.
The system executes the tool nose radius compensation in G90, G94, it offsets one tool nose
radius (based upon the imagine cutter nose No.0) for G41 or G42.
194
Chapter 4 Tool Nose Radius Compensation(G41,G42)
The compensation mode will be automatically retreated by performing the G71, G72 or G73, if
the tool nose compensation should be used in the G71, G72 or G73 code, it can be rebuilt at the
1st part of the finish machining block.
4.1.7 Application
Ⅰ Programming
Machine a workpiece in the front tool post coordinate system as Fig. 4-13. Tool
number: T0101, tool nose radius R=2, imaginary tool nose number T=3.
R6
X
Fig. 4-13
For toolsetting in Offset Cancel mode, after toolsetting, Z axis offsets one tool nose
radius and its direction is relative to that of imaginary tool nose and toolsetting point,
otherwise the system excessively cuts tool nose radius when it starts to cut.
Set the tool nose radius R and imaginary tool nose direction in “TOOL OFFSET&WEAR”
window as following:
Table 4-3
No. X Z R T
001 2.000 3
002 … … … …
… … … … …
007 … … … …
008 … … … …
Program:
G00 X100 Z50 M3 T0101 S600; (Position, start spindle, tool change and execute
tool compensation)
G42 G00 X0 Z3; (Set tool nose radius compensation)
G01 Z0 F300; (Start cutting)
X16;
Z-14 F200;
G02 X28 W-6 R6;
G01 W-7;
195
GSK980TDi Turning CNC System User Manual
X32;
Z-35;
G40 G00 X90 Z40; (Cancel tool nose radius compensation)
G00 X100 Z50 T0100;
M30;
Ⅰ Programming
Inner
Programmed path
Programmed path
Outer
Outer
Workpiece side
3 steps to execute tool nose radius compensation: tool compensation creation, tool
compensation execution and tool compensation canceling.
Tool traverse is called tool compensation creation (starting tool) from offset canceling to G41 or
G42 execution.
Note1: Meanings of S, L, C in the following figures are as follows: S――Stop point of single block;
L――linear; C――circular.
Note2: Tool movement path is marked with the tool nose direction 0 in the following figures.
Note3: Tool path is described in rear tool post coordinate system and tool compensation direction G41 in the
following figures.
196
Chapter 4 Tool Nose Radius Compensation(G41,G42)
α Workpiece r Workpiece
Programmed path
S
C
L
L
Ⅰ Programming
S Tool nose center path
L Tool nose center path Programmed path
α Workpiece
r Programmed path
r
L
r
α
L
L r
L
r L S W orkpiece
α C
Programmed path
L r
L L Tool nose center path Tool nose center path Program m ed path
197
GSK980TDi Turning CNC System User Manual
(d) Tool traversing outside along corner , linear →linear (α≤ angle set by No. 237)
r
Ⅰ Programming
L
Programmed path
Workpiece
Workpiece
C S
C C
Tool nose center path Programmed path
5)Inner side machining and scaling up compensation valid for acute angled being less than α(α:
set by No. 237).
198
Chapter 4 Tool Nose Radius Compensation(G41,G42)
Ⅰ Programming
(b) Tool traversing outside along corner(180°>α≥90°)
1)Linear→ linear 2) Linear→circular
L r
Workpiece
α S
L Workpiece L
C
Programmed path
Programmed path
S L Tool nose center path Tool nose center path
3)Circular→Linear 4)Circular→Circular
α
C
Workpiece
α Workpiece
L
C
Programmed path
L
L C
Tool nose center path Programmed path
L Tool nose center path
199
GSK980TDi Turning CNC System User Manual
L
r
α
L
Workpiece
L r
Ⅰ Programming
L S
Workpiece L
α
C
Programmed path
L
S L L Tool nose center path Tool nose center path Programmed path
3)Circular→linear 4)Circular→circular
C L
α
L α Workpiece
L Workpiece
Programmed path
L L C
L L Tool nose center path Tool nose center path Programmed path
There is an intersection P
Tool nose radius is small(r1):
between arc and arc
compensation path when
the tool radius is small;
Programmed path none when the radius is
r2 big, and the system
alarms.
r2
r1 r1
200
Chapter 4 Tool Nose Radius Compensation(G41,G42)
1)Linear→linear 2)Linear→circular
S
Workpiece L
G41 G42 r
r
Programmed path
L Workpiece
Ⅰ Programming
Tool center path
C
r
Workpiece
G42
Programmed path G41 Workpiece
r
L S
Tool center path
3)Circular→linear 4)Circular→circular
Workpiece
G41
Programmed path
r
C L
Tool center path
S r
Workpiece G42
Workpice
G41 C
Programmed path
r r
C G42
Tool center path
Workpiece
S
201
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
G42
G41
G42 C
Programmed path
C
Tool nose center path
L
L
C
G42
202
Chapter 4 Tool Nose Radius Compensation(G41,G42)
Ⅰ Programming
when single block is ON. The system executes the next one but does not read its following one
when pressing CYCLE START button again.
(a) Tool traversing inside along corner(α≥180°)
1)Linear→linear 2)Circular→linear
α
Workpiece α
α
L
G40 ece
r
α L
r
Workpiece
Programmed path
S
r
r L
L Intersection
S
Tool center path L Intersection C
L
(d)Move along outer side of acute angle being less than α, linear→linear(α≦angle set
by No. 237)
203
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
Programmed path
204
Chapter 4 Tool Nose Radius Compensation(G41,G42)
Ⅰ Programming
Fig. 4-17 Executing interference (1)
Directions of block B and tool nose radius compensation path are opposite without interference,
the tools stops and the system alarms.
2) Concave channel less than compensation value
205
GSK980TDi Turning CNC System User Manual
Ⅰ Programming
N8 S
L S
Programmed path
206
Chapter 4 Tool Nose Radius Compensation(G41,G42)
Ⅰ Programming
C. The paths 2, 3 in the following figure are the radius compensation cutting;
D. The path 4 in the following figure can cancel the radius compensation, and the tool returns to
the cycle starting point; there is G00,G01 in the following block, and the CNC automatically
recovers the compensation mode.
Tool nose center path
Programmed path
3
Programmed path
2
2 4
3 1
Fig. 4-22 Offset direction of G90 tool nose Fig. 4-23 Offset direction of G94 tool nose
radius compensation radius compensation
207
GSK980TDi Turning CNC System User Manual
Ⅱ Operation
II Operation
208
Ⅱ Operation
209
Chapter 1 Operation Mode and Display Interface
State indicator
LCD
Edit keyboard
Display menu
Soft function key
Ⅱ Operation
Machine panel
LCD
State indicator
Machine panel
173
GSK980TDi Turning CNC System User Manual
Three-color light
Address input
Address key
Ⅱ Operation
Decimal
Decimal point input
point
Input key Parameter, compensation value and other data input
Edit key
EDIT working mode( compound key, switching
them by pressing it repetitively)
EOB key Inputting the end character of block
Cursor move
controlling cursor move
keys
174
Chapter 1 Operation Mode and Display Interface
Ⅱ Operation
coordinates;
“INTEGRATED POS” can display current coordinate information; the
reference position along each axis can be set under the 2nd level authority;
The input/output equivelant amount along each axis can be displayed based
upon the MPG interruption on its MPG interruption page, which can be
eliminated the interruption amount along each axis.
To enter Program interface including program content, program list, Marco variable
note, program state page
Edit/search current open programs in program content page;
Edit MDI programs, display coordinates, override and modal state in MDI
page;
Display, preview, open, copy machining programs in CNC in local catalog
page;
The noted macro variable note name can be viewed on the macro variable
note page;
Display, preview, open and copy machining programs in U disk in U disk
catalog page
Enter tool offset interface including offset setting, macro variables, workpiece
coordinate system and tool life page
Set/search tool offset value and wear value in tool offset setting page;
Set/search CNC macro variables in macro variable page;
Set/search G54~G59 coordinate system and zero offset value in workpiece
coordinate system page;
Set/search use information of current tool life
Enter alarm interface including alarm information, alarm log page
Search CNC alarm, CNC warning, PLC alarm, PLC warning, servo alrm, in
alarm information page; the caused reason and troubleshootings can be
viewed by selecting some one alarm or precaution;
Display alarm/warning history record in alarm log page
175
GSK980TDi Turning CNC System User Manual
Enter Setting interface including CNC setting, system clock, file management,
machine tool debugging, GSKLink, setting IP page
Set switch, level and parameters in CNC setting page;
Set system clock, data in system clock page;
Search/management files in CNC/U disk, copy/resume files in file
management page
Rapid grouping can be performed in the machine tool debugging page, so that
the each functions for the machine tool can be easily debugged;
Each controllable axis of the system corresponding the drive and motor can be
set in GSKLink page;
Set the IP page for using the relevant parameter setting of the RJ45 internet
access communication
Enter Parameter interface including state parameters, data parameter, often-used
parameters, servo parameters, and pitch compensation page.
Search/set state parameters in the state parameter page;
Search/set data parameters in the data parameter page;
Search/set user’s customized parameters in the often used parameter page;
Ⅱ Operation
Entering to the system help page can be captured the helf information, such as
the programming, operation and installation.
176
Chapter 1 Operation Mode and Display Interface
Ⅱ Operation
override (spindle analog control return, Manual, Step, MPG,
keys active) Program zero return mode
177
GSK980TDi Turning CNC System User Manual
X feed key
Z feed key
Positive/negative Machine zero return, Step,
Y feed key movement of each axis in Manual, Program zero return
The 4th feed Manual, Step mode mode
key
Cs feed key
MPG axis
Each axis selection in
selection MPG mode
MPG mode
key
MPG/Step Move amount per MPG
increment scale 0.001/0.01/0.1 mm
Auto, MDI, Machine zero return,
and Rapid Move amount per step
Ⅱ Operation
178
Chapter 1 Operation Mode and Display Interface
Ⅱ Operation
Program Auto, MDI, Edit, Machine zero
To enter Program zero
zero return return, Step, MPG, Manual
return mode
mode key mode
Auto, MDI, Edit, Machine zero
MPG trial-cut To enter MPG trial-cut
return, Step, MPG, Manual,
selection key mode
MPG trial-cut mode
179
GSK980TDi Turning CNC System User Manual
In this mode, rotating the MPG can control program’s execution speed, which can check whether
the machining program is correct.
and , and these pages can be viewed by corresponding soft function key or
Ⅱ Operation
repetitively press .
180
Chapter 1 Operation Mode and Display Interface
Ⅱ Operation
Displayed U, W coordinates are the current position relative to the reference point, and they are
held on when power on. They can be cleared at any time. When No.005 Bit1=1, and the absolute
coordinates are set by G50, the relative coordinates are set simultaneously.
181
GSK980TDi Turning CNC System User Manual
function menu can be displayed when USB device is connected to the system). Press
repetitively or press the corresponding soft function keys to switch interfaces. The following
descriptions are aimed to program page set of the connected USB equipment of the GSK980TDi
system.
1) PRG CONTENT page
In the page, the program content including current block can be displayed. In Edit mode, the
182
Chapter 1 Operation Mode and Display Interface
In MDI mode, the page can be displayed, and is value when the corresponding soft function key is
pressed as follows:
Ⅱ Operation
3) Local directory page
183
GSK980TDi Turning CNC System User Manual
, (it enters the interface when No. 002 Bit0 is set to 1). Press repetitively or
corresponding keys to switch pages.
2) MACRO interface
The macro variable divides into 5 sub-pages: Common variable, Local variable, System variable,
Note list and Customized macro variable. There are 19 pages in this interface, which can be shown
by pressing or key. In Macro window there are 600 (No.100~No.199 and No.500~
No.999) macro variables which can be specified by macro command or set directly by keypad. The
public variable page is shown below:
184
Chapter 1 Operation Mode and Display Interface
Ⅱ Operation
The system variable page is shown below:
Note: The local variable and the system local are specified by macro codes instead of directly set by the
keyboard in the page.
3) Workpiec coordinate system setting
185
GSK980TDi Turning CNC System User Manual
186
Chapter 1 Operation Mode and Display Interface
Ⅱ Operation
1.3.5 Setting Interface
187
GSK980TDi Turning CNC System User Manual
188
Chapter 1 Operation Mode and Display Interface
6) IP page setting
Ⅱ Operation
1.3.6 Parameter Interfaces
189
GSK980TDi Turning CNC System User Manual
Note: When the system axis number is more than 2, pitch compensation parameter page will not display the
“Coordinate information” window.
5) Servo parameter interface
190
Chapter 1 Operation Mode and Display Interface
Ⅱ Operation
which can be switched by pressing repetitively or the corresponding soft keys.
The page is used to detect CNC interface signal and its inner run state.
2) System information page
191
GSK980TDi Turning CNC System User Manual
192
Chapter 1 Operation Mode and Display Interface
Ⅱ Operation
The page can display PLC I/O state information.
2) PLC data page
PLC data includes K, D, DT, DC, which can be set in the page.
3) Ladder monitor page
193
GSK980TDi Turning CNC System User Manual
The monitor page can view states of current contact, coil ON/OFF state, values of timer and
counter. They are displayed with a green background when they are ON, otherwise, they are the
same those of the page background. means the contact X0.5 is ON, means Y25.2 is
OFF.
1. Page program view
In MONITOR page, the system can monitor simultaneously three windows, the ladder blocks
(2)Press to select the window program. At the moment, the display page is shown below:
Ⅱ Operation
(4)Press ,and then return the previous menu, press to cancel the selection operation
to return to the previous menu.
3. Find parameters, commands and network
(1)Select the required block window for finding commands, parameters and network, make the
corresponding block display in the window, and find the command, parameters and network
in the window.
(3)Press 、 to locate the cursor to the home or end of the current block.
194
Chapter 1 Operation Mode and Display Interface
The ladder file list page displays all ladders and their relevant information included in the current
system, and the new ladder can run in the page. The program name marked with is the current
running ladder.
Ⅱ Operation
Note: The file list page is displayed when the above 2-level privilege is executed.
195
GSK980TDi Turning CNC System User Manual
The current position (ABSOLUTE POS) page is displayed after GSK980TDi automatic detection and
initiation are finished.
196
Chapter 2 Power ON/OFF And Protection
Ⅱ Operation
When the hardware overtravel occurs, there will be an “overtravel stop” alarm in GSK980TDi.
The steps to eliminate this alarm are: In the Manual or MPG mode, move the table reversely to detach
the stroke switch (for positive overtravel, move negatively; vice versa).
2.3.2 Software Overtravel Protection
GSK980TDi sets the software overtravel protection of the machine tool by the stored stroke limit
function.There are 3 stored stroke limit areas can be set in GSK980TDi. The oblique area is the
forbidden one.
1) Open the limit function: Set the state parameter Bit 4 of No.172 to 0, and then open the
limit detection function.
2) Stored stroke limit detection 1: The limit area boundary is set by parameter (No.045,
No.046), the external side of the setting range is limit area. Usually, this area is regarded as
the Max. stroke range of the machine tool.
3) Stored stroke limit detection 2 (G22 G23): The limit area boundary is set by parameter
197
GSK980TDi Turning CNC System User Manual
(No.100, No.101) or G22; the inner prohibition/outer forhibition of the setting range are set
by Bit 2 of parameter No.172. This limit is enabled when the G22 is at the current modal, and
the limit is disabled when the modal is G23. Refer to the program help G22/G23 command.
4) Stored stroke limit detection 3: The limit area boundary is set by parameter (No.102,
No.103); the inner side of the setting range is limit area.
5) Whether the axis is performed the limit inspection: Bit 2 of parameter No.190 and Bit 3 of
parameter No.190 can be set an axis whether it performs the stored stroke inspection 2 or 3.
The stored stroke inspectin 2 or 3 is only judged the axis from the inspection. For example:
When X or Z axis performs the judgement, and the Y axis does not, only detect whether the
X or Z axis enters to the limit area.
6) Zero return enabled: When the state parameter Bit 1 of No. 172 sets to 1, it needs to return
the reference position by manual or G28 after the power is turned on, the function is then
enabled accordingly. After an axis is performed the zero return for the external limit area,
and the limit area of this axis is immediately enabled; it is disabled of the axis that does not
perform the zero return. For the inner limit area, the limit function is enabled after the overall
axes executed the detection are performed the zero return.
7) Limit deceleration: State parameter Bit 0 of No.172 can be set a stop method when it
Ⅱ Operation
reaches to the limit boundary. Deceleration stop near the forbidden area or immediately stop
after entering to the forbidden area can be selected.
Note 1:If the positive stroke is less than or equals to the negative one in the setting forbidden area, the area is
shown below:
1)When the forbidden area is the stored stroke inspection 1 or the 2 from the external prohibition, the
overall areas are treated as the forbidden area.
2)When the forbidden area is the stored stroke inspection 3 or the 2 from the internal prohibition, the
overall areas are regarded as the moveable areas.
Note 2:An alarm may occur if the reference position locates within the limit area when returning the reference
position.
2.4.1 Reset
Press key to reset GSK980TDi system when there are abnormal output and axis
operations:
1 All axes motion stops;
2 M, S function output is inactive (the parameter sets whether the system automatically cuts off
signals of spindle rotation, lubricating, cooling by pressing key, defined by PLC ladder);
3 Automatic run ends, modal function and state remain.
198
Chapter 2 Power ON/OFF And Protection
2.4.2 ESP
During machine running, if the ESP button is pressed under the dangerous or emergent situation
(external SP signal active), the CNC system enters into emergency status and the machine
movement is stopped immediately. All the outputs such as the spindle running, cooling are cut off. If
the emergency button is released, the emergency alarm is cancelled and the CNC resets.
Note 1: The ESP alarm generates during the operation of the machine tool, Re-perform the machine zero
return to get the correct position coordinate after the emergency alarm is cancelled (machine zero
return is forbidden if there is no machine zero on the machine.).
Note 2: Only Bit3 of the bit parameter No.172 is set to 0, is the external emergency stop active.
Press key during the machine running to make the running pause. However, in threading
cutting, tapping cycle state, the function cannot stop the running immediately.
Ⅱ Operation
2.4.4 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.
199
GSK980TDi Turning CNC System User Manual
Ⅱ Operation
200
Chapter 3 Manual Operation
Note!
The key functions of this GSK980TDi machine panel are defined by PLC
program (ladders), please refer to the manual from the machine builder for their
function significance.
Please note that the following functions for the machine panel keys are
described based on the GSK980TDi standard PLC programs!
Press key, it enters Manual mode. In the mode, the system can perform the manual feed,
spindle control, override adjustment, tool change etc..
Ⅱ Operation
3.1 Coordinate Axis Move
In Manual mode, 2 coordinate axes can perform manual feeding and rapid traverse.
feeding stops if the key is released; press or and Z axis feeds negatively or positively,
and its feeding stops if the key is released; press or , and Y feeds negatively or
positively, and its feeding stops if the key is released; press or and the 4th axis feeds
negatively or positively, and its feeding stops if the key is released; press or and the 5th
axis feeds negatively or positively, and its feeding stops if the key is released.
In Manual mode, press key to make the indicator enter the manual rapid traverse mode.
201
GSK980TDi Turning CNC System User Manual
feeds negatively or positively, and its feeding stops if the key is released; press or and Z
axis feeds negatively or positively, and its feeding stops if the key is released; press or ,
and Y feeds negatively or positively, and its feeding stops if the key is released; press or
and the 4th axis feeds negatively or positively, and its feeding stops if the key is released;
press or and the 5th axis feeds negatively or positively, and its feeding stops if the key
is released. The rapid override time-tuning is enabled.
Ⅱ Operation
In Manual mode, press key to make the indicator OFF, and the rapid traverse is disabled
and manual feed is executed.
Note 1: If no reference point return is performed after power on, as the rapid traverse switch is turned on
(rapid indicator ON), the manual feedrate or rapid rate for the traverse is defined by the Bit0 of the bit
parameter No.012 of this GSK980TDi system.
In Manual mode, press , , to alter the manual feed override which is divided
into 16 steps. The relation of the override and the feedrate are as follows table when data parameter
No.031 is set to 1260:
Feedrate override (%) Feedrate (mm/min)
0 0
10 126
20 252
30 378
40 504
50 630
60 756
70 882
80 1008
90 1134
100 1260
110 1386
120 1512
130 1638
202
Chapter 3 Manual Operation
Note : There is about 2% error for the data in the above table.
In the manual rapid traverse, it can press key to alter the rapid override,
and there are 4 steps of F0, 25%, 50%,100% for the override.(F0 is set by data parameter No.032)
The rapid override is active under the following conditions:
(1) G00 rapid traverse (2) Rapid traverse in canned cycle
(3) Rapid traverse in G28 (4) Manual rapid traverse
Ⅱ Operation
: In Manual mode, the spindle rotates counterclockwise if pressing this key;
Press to enter JOG mode, and the spindle JOG function ON/OFF is executed only when
the spindle is in the state of stop.
In spindle JOG mode, by pressing key, the spindle rotates counterclockwise for jogging;
by pressing key, the spindle rotates clockwise for jogging. The jog time and speed are set by
data parameter No.108 and No.109 respectively.
When the spindle JOG rotates, is pressed to stop the spindle JOG rotation, the spindle
brake signal is not output when the JOG rotation stops.
K10.4 is set to 1, the spindle JOG is valid in any mode. In Auto or MDI mode, the spindle is in the
JOG rotation state, the program closes the spindle JOG rotation and the JOG function.
Parameter setting:
PLC parameter K104 1/0: the spindle JOG is valid in any mode/Manual, MPG, Zero return mode.
Data parameter No.108: spindle JOG time
Data parameter No.109: rotary speed in spindle JOG.
203
GSK980TDi Turning CNC System User Manual
When PLC DT013=0, it is the lubricating turn output. Pressing the can execute the
output. And the lubricating is cancelled by pressing it again. M32 is to execute lubricating output, and
M33 is to cancel lubricating output.
When PLC DT013 >1, it is timing lubricating output. Pressing the can execute the output.
Ⅱ Operation
And it is cancelled after a setting time by data parameter DT013; M32 is to execute lubricating output
and the output is cancelled after a time set by DT013. If the setting time is not yet up, M33 is executed
to cancel the lubricating output.
2. Automatic lubricating (DT017>0)
For automatic lubricating, the system executes the lubricating in the time set by DT017 and the
stops the output. After lubricating interval time set by DT016, the output is done again, it does
repetitively like this. During the automatic lubricating, M32, M33 codes as well as the key are
all active.
Parameter setting:
PLC parameter: K10.1 1/0: the spindle lubricating/cooling output remains/closes in reset;
PLC parameter:K16.2 1/0: whether the lubricating outputs in power-on when the automatic
lubricating is valid;
PLC data DT005: M execution duration(ms);
PLC data DT013: lubricating start time (0-60000ms)(0:lubricating time is not limited);
PLC data: DT016 automatic lubricating interval time (ms);
PLC data: DT017: automatic lubricating output time (ms).
204
Chapter 3 Manual Operation
PLC parameter: K12.1 1/0: do not check/check the chuck clamping before the spindle start;
PLC parameter: K12.2 1/0: chuck outer/inner control mode;
PLC parameter: K12.3 1/0: check/not chuck in-position signal;
PLC data: DT018: chuck pulse output width(ms);
PLC data: DT021: spindle stops, chuck operation enabling delays(ms).
Ⅱ Operation
PLC parameter:K13.1 1/0:the spindle rotation and the tailstock forward/backward are/not
interlocked
PLC parameter K13.2: 1/0: External tailstock control is enabled/disabled when the program is
being operated.
When the hydraulic control function is valid, is pressed to control HPST output to start the
hydraulic motor.
When the system is in non-run, the spindle stops and the speed is zero, is pressed to
close HPST output.
Parameter setting:
PLC parameter: K14.7 1/0: hydraulic control function valid/invalid
: In Manual mode, pressing the key can manually change tools in sequence (if current tool
is No.1, it is changed for No.2 tool by pressing it; if current tool is No.4, it is changed for No.1 tool by
pressing it.
205
GSK980TDi Turning CNC System User Manual
Pressing , can change the spindle speed in real-time to adjust 8 steps of 50%~
120% of the spindle override.
Ⅱ Operation
206
Chapter 4 MPG/Step Operation
Note!
The key functions of this GSK980TDi machine panel are defined by PLC
program (ladders), please refer to the manuals by the machine builder for their
significance.
Please note that the following description for the key functions in this chapter
is based on the GSK980TDi standard PLC program!
Ⅱ Operation
Set the system parameter No.001 Bit3 to 0, and press key to enter the STEP working
mode, it displays as follows:
Press to select the move increment, the increment will be shown in the
page. When the BIT7(SINC) of K016 is 1, step width value is inactive; when the BIT7 is 0,
are all active. For example, to press key, the window is shown as
follows:
207
GSK980TDi Turning CNC System User Manual
pressing or key once can move Z negatively or positively by a step increment; pressing
Set the BIT3 of the system parameter No.001 to 1, and press key to enter the MPG mode,
it displays as follows:
208
Chapter 4 MPG/Step Operation
Press key to select the move increment, the increment will be shown in the
window. When the BIT7(SINC) of PLC K016 is 1, step is inactive; when BIT7 is 0,
are all active. For example, to press key, the window is shown as
follows:
Ⅱ Operation
4.2.2 Moving Axis & Direction Selection
selected. For example, press key and the window is shown below:
The MPG feed direction is defined by its rotation direction. Generally, the MPG CW is for positive
feed, and CCW for negative feed. In case of that MPG CW is for negative feed, CCW for positive feed,
it may exchange the A, B signals of the MPG terminals. Bit0~Bit4 of NO. 013 selects the feed
direction of MPG rotation.
209
GSK980TDi Turning CNC System User Manual
In spindle JOG mode, pressing can rotate counterclockwise for jogging; pressing
can rotate clockwise for jog. The jogging time and speed are set by DT12 and No.109 respectively.
Referred to Section 3.2.2.
3) Cooling control
Refer to OPERATION, Section 3.2.3
4) Lubricating control
Refer to OPERATION, Section 3.2.4
5) Chuck control
Refer to OPERATION, Section 3.2.5
6) Tailstock control
Refer to OPERATION, Section 3.2.6
7) Hydraulic control
Refer to II OPERATION, Section 3.2.7
8) Manual tool change
Pressing , can change the spindle speed in real-time to adjust 8 steps of 50%~
120% of the spindle override
210
Chapter 4 MPG/Step Operation
Note 1: The MPG increment is related to the system’s current metric/inch input state and the system’s least
input increment.
Note 2: The MPG speed cannot be more than 5r/s, otherwise, the scale value is inconsistent with the
movement amount.
Ⅱ Operation
211
GSK980TDi Turning CNC System User Manual
Ⅱ Operation
212
Chapter 5 MDI Operation
Note!
The key functions of this GSK980TDi machine panel are defined by PLC
program (ladders), please refer to the manuals by the machine builder for their
significance.
Please note that the following description for the key functions in this chapter is
based on the GSK980TDi standard PLC program!
Ⅱ Operation
Select MDI mode to enter PROGRAM->MDI page, to input an block G50 X50 Z100, the steps
are shown below:
213
GSK980TDi Turning CNC System User Manual
After the code words are input and is pressed to display the block, key is pressed
to execute the input block. During the execution, , and Emergency Stop button may be
pressed to terminate these code words execution.
214
Chapter 5 MDI Operation
In the MDI mode, press the , then soft key, and then enter to the MDI program
page.
soft button: Clear the overall contents of the MDI program input frame;
Ⅱ Operation
soft button: The movement cursor can be selected the block for the program after pressing
this button, which uses matching with other function soft buttons;
soft button: Copy the block that locates at the cursor; it can be used matching with the
soft button;
: Delete the block of which the cursor locates, which can be used matching with the
soft button;
soft button: Retract the previous edit operation of the MDI program, up to 10 times can be
performed;
soft button, Cancel the retract operation happed just last step;
soft button: Spring out the macro command list, insert the selected macro command at the
cursor position;
Pressing , can adjust the spindle override to change the spindle speed, which can
realize the 8 steps adjustment in real-time from 50%~120%.
2.Adjusting rapid override
215
GSK980TDi Turning CNC System User Manual
Pressing can execute the rapid traverse, which can realize the 4 steps
adjustment in real-time.
3. Adjusting feedrate
In MDI mode, pressing , , can adjust the federate override to change the
federate, which can realize 16 steps adjustment from 0~150%.
4. Feedrate override is available.
Ⅱ Operation
216
Chapter 6 Program Edit & Management
Ⅱ Operation
number automatically, but the blocks may be numbered manually.
When the “AUTO SEG” switch in SWITCH SETTING window is ON, CNC generates the block
Press to enter the Edit mode. Press to enter the Program interface, create a
machining program before inputting a machining program. The creating method is shown below:
Method 1:
217
GSK980TDi Turning CNC System User Manual
Method 2:
1) Pres to enter the local directory page. The display is shown below:
218
Chapter 6 Program Edit & Management
3) Press ( or ) to create the new program. The current page is automatically switched
into the program content page. Its display is shown below:
Ⅱ Operation
Note: When a program is needed to create, the input program name exists, the system opens the file,
otherwise, it automatically create a new one.
Input the edited part program one by one, the character will be displayed on the screen
immediately as it is input(as for compound key, press this key repeatedly for alternate input),
1) Press key to enter the Edit mode, then press key to enter the PRG CONTENT
window;
2) Press key, the cursor shifts a row upward; if the number of the column where the
cursor locates is over the total columns of the previous row, the cursor moves to the previous block
3) Press key, the cursor shifts a row downward; if the number of the column where the
219
GSK980TDi Turning CNC System User Manual
cursor locates is over the total columns of the next row, the cursor moves to the next block end (at “;”
4) Press key, the cursor shifts a column to the right; if the cursor locates at the row end,
it moves to the head of the next block;
5) Press key, the cursor shifts a column to the left; if the cursor locates at the row head,
it moves to the end of the next block;
6) Press key to window upward, the cursor moves to the 1st row and 1st column of the
previous window, if it windows to the head of the program, the cursor moves to the 2nd row and 1st
column;
7) Press key to window downward, the cursor moves to the 1st row and 1st column of
the next window, if it windows to the end of the program, the cursor moves to the last row and 1st
column of the program;
2. Finding: To search for the specified character upward or downward from the cursor
Ⅱ Operation
current location
The steps of finding is as follows:
1) Press to enter Edit mode, and press key to enter the PRG CONTENT window;
2) Press , and input the required characters to be searched(can input one block). For
example, finding “G00” page is shown below:
220
Chapter 6 Program Edit & Management
4) After the finding, the CNC system is still in FIND state, press or key again, the
next character can be found. Or press key to exit the FIND state.
5) If the character is not found, the prompt of “Search fail” will be displayed.
Ⅱ Operation
Note : During the searching, it doesn’t search the characters in the called subprogram, and the character in
subprogram is searched in subprogram.
3. Positioning the cursor to the specified line
1) Press to enter Edit mode, and press to enter the PRG CONTENT page.
2) Press , and input the line number (the line number of block is the left of one row label).
For example, the cursor positions to the 10th line, the display is shown below:
221
GSK980TDi Turning CNC System User Manual
1) In Program interface of the Edit mode, press key, the cursor returns to the program
head;
2) Search the program head character by the methods in OPERATION, Section 6.1.3.
Ⅱ Operation
2) Press key to enter the INS mode (the cursor is an underline, and the “Insertion” shows
at the title column), the window is as follows:
3) Input the character to be inserted (to insert G98 code before G50 in the above figure,
222
Chapter 6 Program Edit & Management
Note 1: In the Insert mode, if the cursor is not located at the row head, a space will be automatically
generated when inserting the code address; if the cursor is located at the row head, the space will
not be generated, and it should be inserted manually.
Note 2: In the Insert mode, if the previous bit before the cursor is a decimal point and the cursor is not
Ⅱ Operation
located at the row end, input an address word, the “space” will be added automatically following the
decimal point.
2) Press key to delete the character before the cursor; press key to delete the
character where the cursor locates.
2) Press key to enter the ALT state (the cursor is a backlight rectangle, and the
“Modification” shows at the tile column), the display page is as follows:
223
GSK980TDi Turning CNC System User Manual
3) Input the modified character(as the above figure, alter X300 to X250, input , ,
), it displays as follows:
Ⅱ Operation
Note : In ALTER state, the current character where the cursor locates is altered for the input one, and the
cursor moves a byte forward;
1) Press in Edit mode to enter program interface, and switch program content page.
2) Move the cursor to the head of the block to be deleted, then press key.
Multi-block deletion:
1) Select the edit operation mode, enter to the program page set by button, and then shift
to the program content page;
2) Move the cursor to the beginning of the block to be deleted, press the soft button, and
then move the selected block by cursor, the page is as follows:
224
Chapter 6 Program Edit & Management
Ⅱ Operation
Single block copy/paste
Steps:
1) Select Edit mode, enter to the program page set by and then shift to the program
content page;
2) Move the cursor to the required copy block, press and , and the current block is
copied;
3) Move the cursor to the required paste position, press , and the copied block is pasted.
Single block copy/paste
Steps:
1) Select the Edit mode, enter to the program page set by and then shift to the program
content page;
2) Move the cursor to the beginning of the block to be copied, press the soft button, and
then move the selected block by cursor;
4) Move the cursor to the required paste position, press , and the copied block is pasted.
1) Select Edit mode, enter to the program page set by and then shift to the program
content page, which is shown below::
225
GSK980TDi Turning CNC System User Manual
4) Recover and cancel are matched. Press , to cancel the previous operation.
Note: Up to 10 previous steps can be retreated by using the retraction function;
1)Press soft key enter to edit mode,press soft key, enter to the program page set and
then shift to the program content page, so that the cursor does not the line of that the cycle
command locates, which is shown below:
226
Chapter 6 Program Edit & Management
2)Open the program content sub-page by soft button, which is shown below:
Ⅱ Operation
3 ) Enter to the miscellaneous programming page by controlling the soft function
button.,which is shown below:
, ( or ), and then enter to the next page by soft button; refer to the
following figure:
227
GSK980TDi Turning CNC System User Manual
4) Perform the cutting-in direction selection on this page (Partial commands are regardless of the
cutting-in direction selection, but enter to the next page directly); enter to the next page by soft
button; refer to the following figure:
Ⅱ Operation
5) Input the parameter numerical value in this page, the figure at the left is the machining schematic;
the command parameter input frame is at the upper right coner; the command parameter to be input
numerical value to the input frame by . The input frame (Only the G71, G72 or G73 owns the
accuracy-machining block input frame) at the lower right corner is the one for inputting the
accuracy-machining block. The cursor can be shifted between the command parameter input frame
and the one of the accuracy-machining block by or soft button. A new program is then
created by soft button after inputting data; refer to the following figure:
228
Chapter 6 Program Edit & Management
Method 2:
1) Enter to the Edit operation mode by ; enter to the program page set by and the
shift to the program content page, and then open the program content sub-page by , put the
Ⅱ Operation
cursor on the cycle command line, which is shown below:
2) System may automatically identify that the cycle command type enters to the corresponding
programming help interface by , and then record the stored data, which is shown below:
3) A new program is created by soft button after inputting the data, which is shown below:
229
GSK980TDi Turning CNC System User Manual
Select the edit operation mode, enter to the program page set by and then shift to the
program content page; enter to the macro edit state consecutively pressing the ; refer to the
following figure:
Method 2:
Edit operation method selection, enter to the program page set by and then shift to the
230
Chapter 6 Program Edit & Management
program content page,press soft key,enter to the program content page,press soft
button to open the macro edit function menu, which is shown below:
In this case, automatically enter to the macro edit state, some special characters, such as ([,], =,
>,<, + and *) can be input. The macro program command can be inserted by the function button
Ⅱ Operation
at the right side, so that the macro edit is more simple and enabled
Note: In the macro program edit state, program index or scan operation is unavailable.
1) Select Edit mode, press to enter program interface and switch enter the program
content page;
2) Press and the CNC automatically insert “( )” into the end of line where the cursor
is, and the display page is shown below:
3) Input annotation character into “( ). For example, input “KUAI” character string, and the
display page is shown below:
231
GSK980TDi Turning CNC System User Manual
1) Select Edit mode, press to enter program interface and switch enter the program
content page;
232
Chapter 6 Program Edit & Management
4) Press and O0001 program is deleted; press and the deletion is cancelled.
Method 2:
1) Select Edit mode, press to enter program interface, press to enter the local program
Ⅱ Operation
page;
2) Press or to select the required deleted program. For example, select O0001
program and the display is shown below:
233
GSK980TDi Turning CNC System User Manual
4) Press and O0001 program is deleted; press and the deletion is cancelled.
2) Press to enter the next menu and the display is shown below:
Ⅱ Operation
6.3.1 Searching
1) Select Edit or Auto mode,enter to the program page set by and then shift to the
program content page;
234
Chapter 6 Program Edit & Management
3) Input the program number in the pop-up dialogue box. For example, search O0001 program
(the leading zero can be omitted when the program name is input) and the display is shown
below:
Ⅱ Operation
4) Press (or , , ), the searched program will be displayed. If the program
does not exist, the CNC prompts “File does not exist”.
Note: Press or to search programs in Edit mode. When there is no program, the CNC
automatically creates programs; press or to execute the search, and the CNC prompts
“The file does not exist” when there is not the program.
6.3.2 Scanning
1) Select Edit or Auto mode;
3) Press ;
235
GSK980TDi Turning CNC System User Manual
2) Press to enter the program interface. When the system is not in “Local Directory” ,
4) Press (or ), and the selected program is opened and the CNC skips to “PRG.
CONTENT” page.
Note: when the CNC is connected with the U disk, the above similar method is referred to open the program in
the U disk.
the Auto mode, then press key (or external cycle start key), the program will be executed
automatically.
1) Select Edit mode, press to enter the program interface, and in necessity press
236
Chapter 6 Program Edit & Management
3) Press .
Method 2:
Ⅱ Operation
1) Select Edit mode, press to enter the program interface, and in necessity press
2) Move the cursor to the program which is to be modified, press and input a new
1) Select Edit mode, press to enter the program interface, and in necessity press
237
GSK980TDi Turning CNC System User Manual
3) Press .
Method 2:
Ⅱ Operation
1) Select Edit mode, press to enter the program interface, and in necessity press
2) Move the cursor to the program which is to be modified, press and input a new
Press ,and then press to enter the local program display page. In the page, it
lists the program names saved in CNC system, and it can display up to 15 names in a page. When
the saved exceed 15 programs, it may press or to display the next page.
238
Chapter 6 Program Edit & Management
Area 1
Area 2 Area 3
Area 4
Explanations:
1) The area 1 is used to display the saved programs, the total memory capacity, the used
capacity and the left;
2) The area is used to display the current program list;
3) The area 3 is used to preview the content of program where the current cursor is in the area
Ⅱ Operation
2;
4) The area 4 belongs to the soft function menu position. Pressing , can display in
order programs located at the area 2.
2、Spring out the counter window by soft button; Alternatively, directly press the at
the program content page, the calculator may appear, refer to the following figure:
3. Control the corresponding button function on the MDI panel to perform the number input and
calculation based upon the content of the calculator. The calculated result can be transmitted to the
program cursor on the MDI panel based upon the displayed from calculator, and then retreat
from the calculation function.
239
GSK980TDi Turning CNC System User Manual
a) Press the to retreat from the calculation function, alternatively, it can be carried out
by soft button.
Enter to the program page set by ; enter to the program content page by soft
button (It can not be entered in the MDI mode) if necessary, refer to the following figure:
Ⅱ Operation
Open the next level optional menu by pressing the soft button again; refer to the
following figure:
Open the font scaling function optional menu by soft button; refer to the following
figure:
240
Chapter 6 Program Edit & Management
The font size can be adjusted by 、 ,this function is only enabled to the displayed
machining program on the program content page.
Ⅱ Operation
6.10 Program Preview Function
In order to reduce the alarm error in the operation program and improve the safety of component
program performance, GSK980TDi adds the [Path Preview] function, also displayed the direction of
the programming path, so that it is convenient to confirm whether the program is correct.
Select the Edit mode, on the program -> local program interface; press the soft button
after the program is compiled; refer to the following figure:
Alternatively, the program path can be shown by soft button (or button) on the path
preview page, refer to the following figure:
241
GSK980TDi Turning CNC System User Manual
The drawing can be temporarily stopped by soft button (or button) during the
diagram;
In the process of the path preview, when the path exceeds its range, the diagram can be
Ⅱ Operation
Enter to the next soft function menu by ; the drawing speed can be controlled by ,
performed by soft button (or ), soft button (or ). The diagram path can be
zoomed in 2 times by the ; the diagram path can be zoomed out 1 / 2 times by , as
well the current scaling shows at its corresponding prompt column.
4) The displayed movement of diagram path
The diagram path movement can be carried out by cursor movement button in the path display
page. The movement interval can be adjusted by soft button (or ); the current movement
interval is then displayed at its corresponding prompt column.
5) Mirror image path
In the path preview page, the programming path and symmetric line of the programming path
242
Chapter 6 Program Edit & Management
The will be cancelled by soft button, only the programming path is then drawn.
Ⅱ Operation
If the program in the cutter compensation C, and press the soft button; the programming
path and the cutter compensation C path will display, and the cutter compensation C shows with red,
refer to the following figure:
The will be cancelled by soft button; only the programming path is drawn.
243
GSK980TDi Turning CNC System User Manual
(2) G50, G52-59 are denoted with coordinate systems, color: Green;
(3) M, S and T commands are shown by Yellow dot; the M30, M99, M00, M01 and M02 are not
displayed near the note M, S, T and M codes;
(4) G31/G36/G37 are treated as G01;
(5) The path at the G17, G19 plane can not be regarded as the path preview;
(6) The writ of the system variable in the macro program does not register to the cutter
compensation file; the read for the system variable, is the state, before entering to the program
preview;
(7) Enter to the polar coordinate, cylinder interpolation, the graph is shown be Red;
If the polar coordinate and cylinder command are programmed in the G17 and G19 planes, at
last, the graph is shown in the X, Z planes。
The difference between the displayed graph and the actual one of the programmed path are 90
degrees (The coordinate system of drawing can be consistent with the one of the programming by
adjusting the data parameter No. 175 and pressing the [SHIFT] soft button). The example program
(G17 panel) of the polar coordinate interpolation in this Manual can be illustrated as follows:
Ⅱ Operation
If the polar coordinate and the cylinder command are programmed in the G18 plane, but the
eventual graph displays in the X, Y plane。
The displayed graph and the programmed one are symmetric (The coordinate system and
programming system based upon drawing can be consistent by adjusting the data parameter 175) to
Z axis to describe the example program (G18 plane) in the cylinder interpolation; refer to the following
figure:
244
Chapter 6 Program Edit & Management
6.10.4 Precautions
(1) The figure in the path preview is a schematic of the programming path, which is not absolutely
equal that of actual workpiece;
(2) Path preview is mainly inspected whether the programming path is correct, regardless of the
correction of the miscellaneous commands M, S and T.
Select the Manual or MPG operation method and press the to enter the program page set,
and then enter to the program content page by pressing if necessary; the display is shown
below:
Ⅱ Operation
Open the next optional menu by pressing the again, refer to the following figure:
245
GSK980TDi Turning CNC System User Manual
、 : Insert the current absolute coordinate (original value input state) or the sum (offset
input state) of the absolute coordinate and offset value input for the corresponding axis at
the cursor position.
Ⅱ Operation
: Shift the system to the retyping offset value when the absolute coordinate value along
: Shift the system to state that only the absolute coordinate along each axis can be inserted;
, or ;
5) The data transmission
6) Refer to II OPERATION, Chapter 12
7) Cooling control
Refer to II Operation, Section 3.2.3
8) Lubricating control
246
Chapter 6 Program Edit & Management
Ⅱ Operation
247
GSK980TDi Turning CNC System User Manual
Ⅱ Operation
248
Chapter 7 Tool Offset & Setting
Ⅱ Operation
Z
Fig. A Fig. B
1. Firstly determine if the offset values are zero in X, Z, if not, clear all the tool number offset
values;
2. Set the offset No. for 00 (i.e. T0100,T0300), as for the offset value: (method: execute a move
code or perform the machine zero return in T0100 state, then clear the offset value
automatically as returning to the machine zero);
3. Select a tool by random (usually the 1st tool, this tool will be used as the reference tool);
4. Position the tool nose of the reference tool to a point (tool-setting point), as shown in Fig. A;
5. In PRG STATE page of the MDI mode, set up the workpiece coordinate system by the
command G50 X__ Z__;
6. Clear the relative coordinate (U, W), see details in APPENDIX;
7. After the tool is moved to a safety height, select another tool and move it to the setting point,
as shown in Fig. B;
8. Press key and move the cursor by , key to select the corresponding offset
number of that tool;
9. Press address key , then press key to input the tool offset value of X axis into the
corresponding offset number;
10. Press address key , then press key to input the tool offset value of Z axis into the
corresponding offset number;
11. Repeat the steps from 7 to 10 to perform the tool-setting operation for other tools.
249
GSK980TDi Turning CNC System User Manual
Note: For the fixed tool-setting, the original system tool offset should be cleared, input the new offset one
time instead of many times by pressing , . Refer to II OPERATION, Section 7.5.4 about the
tool compensation clearing method.
Surface B
Surface A
α Z
Ⅱ Operation
2) Retract the tool along X axis without Z axis moving and stop the spindle; directly press
and , and the CNC records the absolute values of the position, at the moment, directly
move the tool;
Press key to enter the Offset interface, select the TOOL OFFSET page, then move
press and , and the CNC records the absolute values of the position, at the
moment, directly move the tool;
7) Measure the diameter "α" (supposing α=15) ;
8) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
250
Chapter 7 Tool Offset & Setting
Surface
表面 B1 B1
Surface
表面 A1A1
αˊ Z
βˊ
Ⅱ Operation
14) Press key to enter the Offset interface, select the TOOL OFFSET page, then move the
15) Key in by sequence the address key , sign key , number key , and
key;
16) Make the tool to cut on Surface B1;
17) Retract the tool along Z axis without the movement of X axis, and stop the spindle;
18) Measure the distance "α’ " (supposing α’=10);
19) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
20) Press orderly the address key , number key , and key;
21) Repeat the execution from Step 10 to Step 20 to perform the tool-setting operation for other
tools.
Note: The offset value may be large by this tool-setting method, so the tool compensation should be done by
the coordinate offset by the CNC system. (set the BIT4 of the CNC parameter No.003 to 1). Moreover,
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.
251
GSK980TDi Turning CNC System User Manual
B B
Surface
表面
表面 A
Surface A
α Z
1) Press key to enter Machine Zero mode, move axes to machine zero;
2) Select a tool by random and set the offset number of the tool to 00 (e.g. T0100, T0300) ;
3) Make the tool to cut on Surface A;
4) Retract the tool along X axis without the movement of Z axis, and stop the spindle; directly
Ⅱ Operation
press and , and the CNC records the absolute values of the position, at the
moment, directly move the tool;
5) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
6) Key in by sequence the address key , number key and key to set the
offset value of Z axis;
7) Make the tool cut along Surface B;
8) Retract the tool along Z axis without the movement of X axis, and stop the spindle;
9) Measure the distance "α"(supposing α=15);
10) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
11) Key in by sequence the address key , number key , and key to set
the offset value of X axis;
12) Move the tool to a safety height for tool change;
13) Change for another tool, and set the tool offset number to 00 (i.e. T0100, T0300);
Surface
表面 B1 B1
表面 A1A1
Surface
α1 Z
β1
252 X
Chapter 7 Tool Offset & Setting
16) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
17) Key in by sequence the address key , sign key , number key , and
key to set Z offset value;
18) Make the tool to cut on Surface B1;
19) Retract the tool along Z axis without the movement of X axis, and stop the spindle;
20) Measure the distance "α1" (supposing α1=10);
21) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
Ⅱ Operation
22) Key in by sequence the address key , number key , and key to set
X offset value;
23) Move the tool to a safety position;
24) Repeat the execution from Step 12 to Step 23 to perform the tool-setting operation for other
tools.
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 system
parameter No.003 Bit4 is 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 follows:
Bit7=0 of the system parameter No.004;
Bit5=1 of the system parameter No.012;
Bit7=1 of the system parameter No.012.
Note 5: The setting values of the system parameter No.047 should be close to the absolute coordinate
values of machine zero in workpiece coordinate system XOZ, as is shown in the following figure:
As shown below:
253
GSK980TDi Turning CNC System User Manual
Example: After machine zero returning, when the absolute coordinate of the tool in workpiece
coordinate system is (a,b), the setting value of system parameter No.047 should be close
to a,b.
1) Press to enter the tool offset interface, and then press to enter the tool
offset page as follows:
Ⅱ Operation
2) Press and , absolute corrdinates of X and Z(without including current tool offset
values)are recorded in the CNC. After the absolute values are recorded correctly, there is a
flash “Record coordinates” in the upper of the screen, and there is a prompt “Current X、Z
Absolute coordinates have been recorded” in the bottom of the screen as follows:
3) Retract the tool to the safety position, and stop the spindle. When the diameter is measured
for the outer circle and the distance from the reference plane to it is done, the measured
254
Chapter 7 Tool Offset & Setting
value is input in the tool offset page; the system counts the new tool offset value and sets it
to the selected tool offset number according to the input value and the previous recorded
absolute coordinates.
Use the following methods to clear the recorded coordinates when the above methods are used
to execute the tool-setting:
1) In the tool offset page, after the absolute coordinates are input in some tool offset(for
example: Z0 is input in the No.01 tool offset number) and then the axis moves, the recorded
coordinates are cleared;
2) Press or or in the tool offset page and the recorded coordinates are
cleared.
3)
Ⅱ Operation
7.5.1 Offset Setting
1) Press key to enter the offset setting page, select the desired window by pressing the
, ;
2) Move the cursor to the location of the tool offset, wear number to be input.
pop-up dialogue box, press and the cursor directly positions the target offset
number.
3) Numerical value input.
Method 1: Input number after pressing the address button (the corresponding axis name
3) Press and the CNC calculates the offset value automatically and displays the result in
the window. Its range:-9999.999~9999.999(IS_B)/-9999.9999~9999.9999(IS_C)(unit:
mm)
255
GSK980TDi Turning CNC System User Manual
2) If the offset value of X axis is to be altered, key in U; as for that of Z axis, key in W;
4) Press to add the current offset value to the value keyed in, the operation result will be
displayed as a new offset value.
from the original offset value for the oversize workpiece, add the error to the original offset value for
the undersize workpiece.
Example: The external diameter of the workpiece to be machined is Ф55.382, and the No.01 offset
value is applied in the machining. Before machining, the values in No.01 are shown as
follows table:
No. X Z T R
00 0 0 0 0
01 16.380 -24.562 0 0
In machining, the actual external diameter measured of workpiece is Ф55.561, so the offset
value of No.01 can be altered as follows table:
No. X Z T R
00 0 0 0 0
01 16.201 -24.562 0 0
16.380-(55.561-55.382)
Note: To backup and restore the tool offset values, the relevant operations may be performed on PC via
communication.
2) When the offset value of X axis is to be cleared, is pressed, then is done, the
offset will be cleared. Other axis clearing is done like that;
Note: The offset clearing in the tool offset page doesn’t mean that the system in under the state with no
offsetting, if the system is needed to be in this state, the offsetting is required to be executed, which is
shown as follows:
Execute a positioning command in T0100 state or perform a machine zero return. After the offsetting is
finished, the “□□”in “T○○□□” shown at the right bottom of the screen will not be backlighted.
256
Chapter 7 Tool Offset & Setting
Ⅱ Operation
1) Move the cursor to the location of the offset number to be locked;
2) Press the or key, the current offset value will be backlighted for locking, which
is forbidden to alter, press the or key again, the locking may be cancelled.
No.1 tool offset is locked as follows:
257
GSK980TDi Turning CNC System User Manual
258
Chapter 7 Tool Offset & Setting
A(Px,Pz)
Ⅱ Operation
Z
The coordinate of point A in the figure is (Px, Pz), the tool-change safety area is X > Px or Z > Pz;
the tool will not collide with workpiece as long as the tool-change is performed in this safety area. To
carry out the high-efficiency tool-change in the actual machining, the machine operator should be
performed within the safety area setting based upon the following steps:
1) In the absolute coordinate page, press soft key, refer to the following figure:
2) Press the soft key, the tool-change safety point setting information window is shown
and covered the integrated information window. It will show a unset state when X or Z axis does
not set; it will show the coordinate value of setting when X or Z is set. The initial state is as
follows:
259
GSK980TDi Turning CNC System User Manual
3) Manually move the tool-post at the side of + X of the workpiece, and the optimized position of
the impact will not occur when the tool-change executes at this side; record the X axis coordinate
4) Manually move the tool-post at the side of + Z on the surface of the workpiece, and the
optimized position of the impact will not occur when the tool-change executes at this side; record
the Z axis coordinate at this position by pressing the ; refer to the following figure:
In the above-mentioned interface, shift the interface or press the , automatically conceal
the small window of “Tool-change safety point setting”, this area recovers and displays the small
260
Chapter 7 Tool Offset & Setting
1) The set data along with the X or Z can be eliminated by soft button or after the
tool-change safety point setting window is shown;
Ⅱ Operation
2) The setting data set by X or Z axis on the tool-change safety area will be automatically eliminated
after the G50 command sets the coordinate system;
3) The setting data set by X or Z axis on the tool-change safety area will be automatically eliminated
after the machine zero return is operated;
4) On the tool offset page, if the tool-setting operation is performed by the measure input method or
trial cutting tool-setting method; the current tool is regarded as to be changed; the setting data set by
its corresponding data on the tool-change safety area will be automatically eliminated.
261
GSK980TDi Turning CNC System User Manual
the tool-change
the plate safety area
moves
the tool-change
strobe signal TF
the tool-change
allowable signal
CEN
the tool-change
operation
When T code does not share a same block with the movement code, simultaneously output tool
strobe signal TF and tool-change allowable signal TCEN when T code is performed.
Firstly, set the tool-change safety area before using this function. If the tool is installed again or
the raw-material dimension is changed during using this function, the safety area should be set again.
For example:
…
G00 X100 Z100 T0404;
…
The tool-change motion and carriage plate positioning are performed as follows:
1
4
4
1
the tool-change
position A(100,100)
Z
The plate moves and the tool-change
operation can synchronously execute
262
Chapter 7 Tool Offset & Setting
3) When the high-efficiency tool-change is performed, It is necessary to prevent the tool rotation from
impacting to other machine components during that the plate moves to the tool-change point
within the tool-change safety area;;
4) High-efficiency tool-change function is suitable for the tool-change safety detection within the XZ
panel, if additional axes are placed at the machine tool, it is necessary to confirm that tool-change
will not interfere to other additional axes when programming.
Note: The high-efficiency tool-change function will disable after performing G50 command or
mechanical zero point return, as well the tool-setting operation in measure input method is
performed; the high-efficiency tool-change function can be enabled after resetting the
tool-change safety area operation.
Ⅱ Operation
263
GSK980TDi Turning CNC System User Manual
Ⅱ Operation
264
Chapter 8 Coordiate System
Ⅱ Operation
8.1.1 Directly Input
Enter to the workpiece coordinate system page, press 、 Move the cursor to the
inputted position, input the numerical value by the number buttons, and then directly input the
265
GSK980TDi Turning CNC System User Manual
Method 1: Press or Move the cursor to the inputted position, input the coordinate
value after pressing the soft button,the CNC will automatically calculate to input the data by
Method 2: Move the cursor to the selected coordinate system by pressing or , key
the coordinate value by address button or ; CNC automatically calculates and then inputs
the data by ;
Ⅱ Operation
Note: The input data from measure will become the absolute coordinate of which the current point locates at
the setting coordinate system, for example:
System executes G54 command, input X100; Z100 in G54 coordinate system by measure input method.
CNC automatically calculates the G54 offset value, so that the absolute coordinate at the current position will
become X100; Z100.
Enter to the workpiece coordinate system setting page,press 、 ,move the cursor to the
data position to be modified; input the incremental value by the soft button ,press ,
add the current workpiece coordinate system offset value and the inputted incremental value, and its
result will show as a new workpiece coordinate system offset value.
266
Chapter 8 Coordiate System
Ⅱ Operation
values will clear after the confirmation by pressing the soft button; alternatively, Use the
directly input method of the workpiece coordinate system in this chapter to set the axis offset value of
any coordinate system as "0".
267
GSK980TDi Turning CNC System User Manual
Ⅱ Operation
268
Chapter 9 AUTO Operation
Note!
The key functions of GSK980TDi machine panel are defined by PLC program
(ladders), please refer to the materials by the machine builder for their
significance.
Please note that the following description for the keys function in this chapter
is based on GSK980TDi standard PLC program!
Ⅱ Operation
Refer to Section 6.3.
state are all reserved. Press the or the external run key, the program execution continues.
2. M01
Press and the optional stop indicator is ON and the function is valid. After the block with
M01 is executed, the system stops the automatic run, the modal function and the state are saved.
Press or the external run key, and the program continuously runs.
Stop by a relevant key
1. In Auto run, by pressing or external pause key, the machine keeps the following state:
(1) The machine feed slows down to stop;
(2) The modal function and state are reserved;
269
GSK980TDi Turning CNC System User Manual
current block “dwells” immediately; when the Auto mode is switched to the Edit, MDI mode in Auto
mode, the “dwell” is not displayed till the current block is executed.
Note 1: Ensure that the fault has been resolved before cancelling the emergency alarm.
Note 2: The electric shock to the device may be decreased by pressing the Emergency button before power
on and off.
Note 3: The Machine zero return operation should be performed again after the emergency alarm is
cancelled to ensure the correctness of the position coordinates (but this operation is forbidden if
there is no machine zero in the machine).
Note 4: Only the BIT3 (MESP) of the bit parameter No.172 is set to 0, could the external emergency stop be
active.
Press key to enter the Edit mode, press key to enter the program content page;
1) Move the cursor to the block to be executed (for example, move the cursor to the 3rd row head if
it executes from the 3rd row);
2) If the mode (G, M, T, F code) of the current block where the cursor locates is defaulted and
inconsistent with the running mode of this block, the corresponding modal function should be
270
Chapter 9 AUTO Operation
3) Press key to enter the Auto mode, then press key to start the execution.
pressing , , , .
Ⅱ Operation
Note 1: The rapid traverse speeds of X, Z axis are set by the system parameter No.022, No.023
X axis actual rapid traverse rate = value set by parameter No.022X×rapid override
Z axis actual rapid traverse rate = value set by parameter No.022Z×rapid override
Note 2: When the rapid override is F0, the min. rapid traverse rate is set by bit parameter No.032.
Press , to adjust the spindle override for the spindle speed, it can realize 8-level
real-time override adjustment between 50%~120%.
Note : The actual output analog voltage = analog voltage by parameter × spindle override.
Press to select the single block run function in Auto mode; in single block mode, after the
current block is executed, the CNC stops run; press to execute the next block. Such repetition
is executed till the program is done.
Note 1: The single block stops at the mid point of G28 code.
Note 2: For the single block state in the execution of canned cycle codes G90, G92, G94, G70~G76, refer to
the 1st part PROGRAMMING.
Note 3: While the subprogram calling (M98_ ), or subprogram calling return (M99)is being executed, the
single block is inactive. But it is active except for N, O, P addresses in the block that contains M98 or
M99 code.
271
GSK980TDi Turning CNC System User Manual
In Auto mode, press to enter the dry run state; in Dry run state, the machine feed and
miscellaneous functions are both active (as machine lock, MST lock are both OFF), that means the
dry run switch has nothing to do with the machine feeding, MST functions, so the feedrate by program
is inactive and the CNC system runs at the speed described in the following table:
Program command
Rapid traverse Cutting feed
Rapid traverse switch ON Rapid traverse Max. manual feedrate
Manual feedrate or rapid
Rapid traverse switch OFF Manual feedrate
traverse(see note)
Note 1: The rate by manual feedrate or rapid rate is set by the BIT6 of the CNC system parameter No.004.
Note 2: The shift of rapid switch in Dry run mode doesn’t affect the rate of the current block being executed,
but that of the next block.
Note 3: The switch operation of Dry run is inactive if the ladder of this GSK980TDi is defined to be in auto
Ⅱ Operation
In Auto mode, press to enter the machine lock; the machine lock and MST lock are usually
used together to check the program. While the machine is in the lock run state:
1. The machine carriage doesn’t move, the “MACHINE” in the INTEGRATED POS window of the
Position interface doesn’t vary too. The RELATIVE POS and ABSOLUTE POS, DIST TO GO
are refreshed continuously, which is the same as that the machine lock switch is OFF.
2. M, S, T commands can be executed normally.
3. Press the on the system operation panel to close the machine lock; the system is then
automatically recovered the absolute coordinate value along each axis; that is, the coordinate
system automatically restores.
Precautions:
1) The machine lock open/close system automatically restores the absolute/relative coordinate
along each axis;
2) The tool state is regardless of the automatic recovery of the workpiece coordinate system
before/after the machine lock. For example, the tool state before the machine lock is T0101;
after is T0202;
3) The state of the cutter compensation C is regardless of the automatic recovery of the
workpiece coordinate system before/after the machine lock. For example, the state of the
cutter compensation C before the machine lock is G40; after is G42;
4) The system ON-OFF state is regardless of the automatic recovery of the workpiece coordinate
before/after the machine lock. For example, the machine is locked before the power-off; the
system can be automatically restored the workpiece coordinate system after the power is
turned on again.
272
Chapter 9 AUTO Operation
5) To avoid the tool interval motion during the automatic operation, it is better not to change the
state of the machine tool after starting the program;
In Auto mode, press to enter the miscellaneous function lock state; The machine carriage
moves without the M, S, T code being executed. The machine lock and MST lock are usually used
together to check the program.
Note: When the MST lock is active, it takes no effect to the execution of M00, M29, M30, M98, M99.
Ⅱ Operation
mode, press to enter the state that the program skip is valid.
Note: While the block skip switch is off, the blocks headed with “/” signs are executed normally in Auto
mode.
Press to enter the MPG trial-cut mode after a machinig program is selected as follows:
273
GSK980TDi Turning CNC System User Manual
At the moment, rotating MPG makes the program start running. When the execution speed of
program is proportional to MPG speed, execution speed of program fastens as soon as the MPG
rapidly rotates; the execution speed slows down as soon as the MPG slowly rotates. Movement
amount of one pulse can be adjusted by rapid override.
Ⅱ Operation
When the system is in the MPG trial-cut mode, it returns to Auto mode after is pressed. All
operations in MPG trial-cut mode are the same those of Auto mode.
1) Press in Auto mode and the CNC does not switch to MPG trial-cut mode; when the
CNC is in MPG trial-cut mode, it escapes the MPG trial-cut mode from the next block by
274
Chapter 9 AUTO Operation
Ⅱ Operation
100%, and is valid in the next block again. The MPG control is invalid when the screw cutting is
executed actually, and it is valid in others.
2) Executing from the middle point to machine zero
In the course of executing the block (G28, G30) from the middle point to machine, the MPG
trial cutting function is enabled from the start to intermediate point, and the MPG trial cutting is
temporarily disabled from intermediate point to mechanical zero. The block is executed with the
speed under the override 100%, and the next block is valid again.
3) Measuring related G commands execution with the override 100%
When the system measures the related G commands, the MPG trial-cut is invalid
temporarily, is executed with the speed under the override 100%, at the moment, execution of
the next block is valid again. The related G commands include:
G31, G36, G37
275
GSK980TDi Turning CNC System User Manual
machine coordinate is renewed instead of the absolute coordinate. Therefore, machine moves after
the MPG interrupts, and the machine coordinate system holds, but the workpiece coordinate system
will offset.
Absolute coordinate → Absolute coordinate value will not change due to the MPG
interruption.
Relative coordinate → Due to the MPG interruption, Interrupted amount change.
Mechanical coordinate → Due to the MPG interruption, interrupted amount change.
When automatically returning the reference point (G28), although the end (reference point) does
not affect by MPG interruption, the intermediate point may generate the offset of interruption value by
the MPG interruption at the workpiece coordinate system
276
Chapter 9 AUTO Operation
Ⅱ Operation
The workpiece coordinate system recovers to the state before interruption after the MPG
interruption is cancelled, however, the actual position is invariable, refer to the following figure:
Machine tool
coordinate system
The interruption value can be cancelled base upon the following situations:
Reset, EMS (Set whether it is cancelled by parameter).
Perform G28 or Manual return reference point operation. (When the absolute coordinate
system is set after returning to the reference position, the interruption value will be directly
eliminated regardless of the new-created absolute coordinate system. When the absolute
coordinate system does not set after returning to the reference position, the workpiece
system will recover to the previous state of the interruption, simultaneously, the interruption
value is then eliminated).
277
GSK980TDi Turning CNC System User Manual
When the non-block reference point set is performed. (The treatment is consistent with the
manual reference point return)
When performing the G50 workpiece coordinate system setting. (In this case, the workpiece
coordinate is one by G50, simultaneously, the interruption value is eliminated)
System restarts. The MPG interruption value will be also cleared after the system is power off,
but the workpiece coordinate system holds, and therefore, the system is turned off after the
MPG interrupt, the workpiece coordinate offset generated in the MPG interruption will always
enabled, and it can not recover to the previous state of interruption.)
Press the soft function button to enter its corresponding page after controlling the
The following 4 data can be simultaneously displayed at the MPG interruption display page:
1) Input unit:
The MPG interruption movement value in the input unit means the specified movement
value of MPG interruption based upon its least input command unit.
2) Output unit:
The MPG interruption movement value in the output unit means the specified movement
value of MPG interruption based upon its least output movement unit.
3) Relative coordinate:
The position at the relative coordinate system and the position of the current relative
coordinate system may generate the change of the interruption value due to the interruption of
the MPG.
4) Residual movement value:
The residual movement value at the current block is irrelevant to the MPG interruption.
The MPG interruption movement value is cleared when the manual reference point end return is
performed along each axis.
Note 1: In the MPG interruption page, the letters of the coordinate axis name should be marked by in
the MPG interruption axis.
Note 2:Manually clear the MPG interruption value by the soft button of the MPG interruption page; the
278
Chapter 9 AUTO Operation
workpiece coordinate system will not renew; that is, the coordinate system position before the MPG
interruption will not recover, the workpiece coordinate offset generated in the MPG interruption will
always enabled, and then can not be recover again.
Ⅱ Operation
9.5 Other Operations
279
GSK980TDi Turning CNC System User Manual
Ⅱ Operation
280
Chapter 10 Zero Return Operation
Note!
The key functions of this GSK980TDi machine panel are defined by PLC
program (ladders), please refer to the manuals by the machine builder for their
significance.
Please note that the following description for the panel key functions in this
chapter is based on the GSK980TDi standard PLC program!
Ⅱ Operation
10.1.1 Program Zero
While the part is fixed on the machine, absolute coordinate of current tool position may be set by
G50 code according to the relative position between the tool and the part, so a workpiece coordinate
system is setup. The tool current position is called program zero, and this is the program zero return
position.
1. Press key, it enters the Program zero return mode, the bottom line of the window
displays “P. ZERO”:
2. Press the direction key of X, Z , Y, 4th, C axis, it returns to the program zero of X, Z , Y, 4th or C
axis;
3. The machine axis moves toward the program zero return, and the axis stops with the program
zero return completion indicator ON after the axis returns to the program zero.
Note 1: The tool offset is not changed for the program zero return operation, if there is offset, the return
position is the point set by G50.
281
GSK980TDi Turning CNC System User Manual
Note 2: Whether the key is held on at program zero return is defined by the bit parameter No.011 BIT2 (zero
return is locked automatically).
1. Press key, it enters the Machine zero mode, the bottom line of the window displays
“REF”:
Ⅱ Operation
282
Chapter 10 Zero Return Operation
Ⅱ Operation
283
GSK980TDi Turning CNC System User Manual
Ⅱ Operation
284
Chapter 11 Data Setting
Press and then to enter the CNC setting page which includes the switch setting,
level setting and parameter operation function as follows:
Ⅱ Operation
11.1.1 Switch Setting
When the cursor is in the switch set column, the system can set parameters, programs,
automatic sequence number ON/OFF state.
1) Switch explanation:
Parameter switch: parameters can be modified when the parameter switch is ON; they are
forbidden to alter when it is OFF.
Program switch: programs can be edited when the program switch is ON; they are forbidden to
edit when it is OFF.
Automatic block number: the block number is automatically generated when the automatic
sequence number switch is ON and a program is edited; when the switch is OFF, the
block number is input manually instead of being automatically generated.
2) Switch setting method:
a) Move the cursor to the setting item;
b) Directly press the , or soft button to open the switch, if it is ON, press
alarm can be cancelled by pressing . If the PARM SWT is shifted again, no alarm is issued. For
security it should set the PARM SWT for “OFF” after the parameter alteration is finished.
285
GSK980TDi Turning CNC System User Manual
2nd grade:it is for the machine manufacturer, which permits the machine manufacturer to alter the
state parameters, data parameters, pitch compensation data, tool compensation data, to edit
programs, to transmit PLC and so on.
rd
3 grade: it permits to alter state parameters, data parameters, tool compensation data and to edit
programs.
th
4 grade: it permits to alter tool compensation data (tool-setting operation), macro variables, to edit
programs, but not to alter state parameters, data parameters and pitch compensation data.
th
5 grade: it permits to alter tool compensation data, not to select and edit programs, and not to alter
state programs, data programs and pitch compensation data.
Ⅱ Operation
6th grade: it has no level to operate only the machine operation panel, not to alter tool compensation
data, not select and edit programs, not to alter state parameters, data parameter and pitch
compensation data.
1) Operation grade entry
a) Move the cursor to the line “INPUT PASSWORD” in the CNC setting page;
b) Input the operation password(the system displays one “*” as soon as a number is input;
c) Press and the operator can enter the corresponding grade operation;
d) After the operator enters the corresponding operation grade page, the prompt column
prompts the system’s current grade, and the corresponding operations as follows:
Note 1: The defined password length corresponds to the operation grade, and the user cannot increase
or reduce the length at will, which is shown below:
Operation Initial
Length
grade password
3rd grade 5 digits 12345
4th grade 4 digits 1234
5th grade 3 digits 123
th
6 grade None None
286
Chapter 11 Data Setting
Note 2: When the operation level is less than or equal to the 3rd grade ( 3rd, 4th, 5th or 6th grade) and the
system is turned on again, the operation level does not change. When the level is the 2nd grade and the
system is turned on again, the operation level defaults to the 3rd grade.
2) Password modification
Steps:
a) The operator enters the grade to alter the password according to the method “Operation
grade entry” after the system enters the setting page;
b) Press the soft button or manually move the cursor; Move the cursor to the line
“ALATER PASSWORD”;
e) Input the new password again and then press . When the two input passwords are
identical, the CNC prompts “Password has been altered, please save the new
password.” The password alteration is done successfully.
Note: The system prompts, “The new password is not identical with the confirmation” when the two
Ⅱ Operation
input passwords are not identical. At the moment, input the new password again.
3) Operation grade degradation
The degradation is to degrade from the high to the low, and its steps are shown below:
a) Input the password according the method of “Operation grade entry” after the system
enters the setting page;
b) Press soft key, Move the cursor to the line “CURRENT LEVEL” and the system
pops up as follows:
c) Press (or ), and the CNC prompts “Password degrades one grade” as
follows:
287
GSK980TDi Turning CNC System User Manual
Note 1: The degradation operation cannot be executed when the current level is the 6th grade.
Note 2: The current password can be altered after degradation. When the system is in the high level, the
degradation can be executed to set to the low-level password.
The parameter data (state parameter, data parameter) can be backup (stored) and recovered
(read). Programs can be stored in the CNC when the backup or recovery is executed. The display is
shown below:
1) Option explanation:
Backup current parameters (user): the user to backup the CNC data (store)
Resume backup parameters(user): the user resumes the backup data (read)
Resume parameter (servo 1u level): the user reads the original parameter data matched
with the servo drive with the precision 1um
Resume parameter (servo 0.1u level): the user reads the original parameter data matched
with the servo drive with the precision 0.1um
Note: When the level is the 2nd grade, the backuping current parameters (user ) and resuming backup
parameters (user) become backuping current parameters (machine manufacturer) and resuming backup
parameters (machine manufacturer), which is used to backup and resume the manufacturer’s data.
2) Operation methods:
a) Open the parameter switch;
b) Press to enter the MDI mode, move the cursor the required item;
288
Chapter 11 Data Setting
c) Press , and the system prompts whether to confirm the current operation.
d) Press , and the system prompts the backup or resume is done successfully. When
the recovery is done, the system prompts power-on again.
Note: Don’t turn off the system and execute other operations when the backup or resuming is executed.
Press and then to enter the system clock page. The operator can alter the
current data and time as follows:
Ⅱ Operation
Press or to enter the alteration mode, press , to move the cursor to the
289
GSK980TDi Turning CNC System User Manual
In the path display page, press the (or ) and the system starts the drawing; press
(or ) , it stops drawing; press (or ), it clears the current graphic path.
Ⅱ Operation
When the path exceeds the display range during automatic graph, the system regulate the
graphic center following the tool nose position in real time. Press (or ) and the
display area is locked, the system does not regulate the graphic center on when the path
exceeds the display area. Press (or ) and the system releases the lock.
2) Scaling up and down
In the path display page, press (or ), (or ), the system scales up/down
the path in real time. Press (or ) each time, the graphic path is scaled up 2 fold, press
In the graph display page, press the cursor movement key to move the graphic path. Press
In the path display page, press (or ) to display the graphic attribution window, including
the current coordinate system, translation position, scaling and mobile interval. It is shown below:
290
Chapter 11 Data Setting
Ⅱ Operation
follows: (switch X, Z axis by pressing or )
Bit parameter No.175
Graphic path coordinate display
Bit1 Bit0
0 0
0 1
291
GSK980TDi Turning CNC System User Manual
1 0
Ⅱ Operation
1 1
, as follows:
292
Chapter 11 Data Setting
Method 1: Press or to enter the page containing the parameter to be set, press
Method 2: Press (or ) , and input the parameter number in the pop-up
Ⅱ Operation
6)For security, the PARM SWT needs to be set to OFF after all parameter settings are
finished.
Example:
Set the bit parameter No.001 Bit 3(STEP/MPG) to 1, and the other bits remain unchanged.
Move the cursor to No.001, input 00011000 by sequence according to the above steps. The
display is shown below:
293
GSK980TDi Turning CNC System User Manual
2) Alteration by bit:
a) Turn on the parameter switch;
b) Enter the MDI mode;
c) Move the cursor to the parameter number to be set(the method is referred to Section
10.4.1 Step c);
Ⅱ Operation
d) Press to enter the bit alteration mode, at the moment, some bit of the parameter
is backlighted. Press or to move the cursor to the bit to be altered, then key in 0 or
1;
e) After all parameters setting is finished, the PARM SWT needs to be set to OFF for
security.
Note: After the system enters some bit of the parameter, or is pressed to escape from the
alteration mode, and the cursor stops the parameter number .
Example:
Set the Bit3 of the bit parameter No.001 to 1, and the other bits remains unchanged.
Move the cursor to No.001 according to the above steps, press to skip to some bit of the
parameter, and move the cursor to Bit3. The display is shown below:
294
Chapter 11 Data Setting
Ⅱ Operation
2) Enter the MDI mode;
3) Move the cursor to the No. of the parameter to be set;
4) Key in the new parameter value;
295
GSK980TDi Turning CNC System User Manual
Press soft button to enter its page after controlling the button,The display is shown below:
In the classification parameter, the parameter can be displayed based upon its function, it is
convenient to check or modification. The current displayed classification parameter can be shifted by
its corresponding soft button; for example, press the soft button, the following figure is shown
below:
296
Chapter 11 Data Setting
Press to enter parameter interface, and press to enter the often used parameter page.
The page is shown below:
Ⅱ Operation
The user can add the often used state parameter, data parameters to the often used parameters
to get the convenient search and alteration.
1) Adding often used parameters
In the state, data or classification parameter page, move the cursor to the parameter number
where is desired to add as the common parameter; press the soft button, the current
parameter is then add as the common one.
2) Sorting often used parameters
In the common parameter page, enter to the next menu of the common parameter by pressing
Pressing , can move the parameter where the current cursor is. Pressing sorts all often
used parameter in sequence number.
3) Removing often used parameters
Move the cursor to the required parameter in the often used parameter page. Press and
the current often used parameter is removed. Press and all often used parameters are removed.
297
GSK980TDi Turning CNC System User Manual
Press the soft button to enter its corresponding customization page ,after entering the
cutter compensation page by controlling the button, The page is shown below:
Ⅱ Operation
The overloaded file data can be set on the “Custom macro variable” page, only 4 and above
operation authorities can be performed.
Press the button to enter the macro variable note list after entering the macro variable
note page.
298
Chapter 11 Data Setting
soft button: The file can be renamed for the current file, the note file at current
Ⅱ Operation
loading can not bealtered;
soft button: Modify or add the remark information, the note file at current loading can
not bealtered;
soft button: Delete the file at the cursor’s position; (2 or above authorities are
desired)
soft button:The "EXT files" under the MAROEXT list of the U-disk are led to the
system note list;
soft button: The overall files in the note list are led out to the MACROEXT list of
the U-disk; if there are files are shared with a same name, the same
files will be replaced;
Note 1: The can be performed in any authority, the or should be operated with
2 or above levels authorities; other functions should be performed with 3 or more
authorities.
Note 2: The can be performed in any method, other functions should be operated in the
Edit method.
299
GSK980TDi Turning CNC System User Manual
soft button; if the note file name is same as the system list under the U disk
MACROEXT; the same name note file will be covered under the systme root list.
300
Chapter 12 U Operation Function
In any states, press to select the setting interface, press to enter the file
management page. Insert U disk and the system automatically identifies it. The system displays the
icon at the lower right bottom of the system after it sucessfully identifies the icon as follows:
Ⅱ Operation
pitch window
compensation,
PLC programs,
part program and
so on in the CNC
catalog window
Press the soft key (or ) to select the CNC catalog or the U disk catalog, and press
1) Move the cursor to the required extension file, press to extend it as follows:
301
GSK980TDi Turning CNC System User Manual
2) Move the cursor to the target file, press to return the previous catalog of the current
file as follow:
302
Chapter 12 U Operation Function
Ⅱ Operation
12.2.3 File Copy
Refer to Section 11.2.2 to select the file. When the cursor is in the U disk catalog window, is
pressed and the the files in the U disk is copied to the CNC; when the cursor is in the CNC catalog
window, is pressed and the file in the CNC is copied to the U disk.
After the system identifies the U disk, it enters the file management page. Press to enter
the backup/resume page as follows:
303
GSK980TDi Turning CNC System User Manual
3) Press (or ) to cancel the selection when the cursor has been in the selected
option;
Note 3: Pressing executes operations only in the column where the cursor is. When the cursor is in
“BACKUP OPTION” column, the resume operation is executed. The backup, resume cannot be
executed simultaneously.
304
Chapter 12 U Operation Function
Ⅱ Operation
Press and appear the dialog box of operation path selection, and then select the
operation path by , when the cursor is in the resume column. Taking an example of
selecting the default path, the display is shown below:
305
GSK980TDi Turning CNC System User Manual
password
PLC programs More than 5 grade(including the 5th grade)
th
password
Part programs More than 5 grade(including the 5th grade)
th
password
Ⅱ Operation
parameters password
Tool
More than 5th grade(including the 5th grade)
compensation
password
data
Pitch More than 2nd grade(including the 2nd grade)
Resume
compensation password
operation
PLC programs More than 5 grade(including the 5th grade)
th
password
PLC More than 2 grade(including the 2nd grade)
nd
parameters password
Part programs More than 4th grade(including the 4th grade)
password
306
Chapter 12 U Operation Function
Select the update system by soft button, and confirm the update state by .
Note: Page update can be entered above the 2-level authorities.
Ⅱ Operation
12.5 Notes
The user should pay more attention to the followings during executing the data backup/resume
operation:
1) Need more than the 2nd grade password(including the 2nd grade) to resume more than
(including be equal to) 9000 part programs;
2) It is necessary to connect the GSKLINK bus normally when the back up/recovery of the servo
parameter is performed;
3) Backup/resume operation must be in MDI mode;
4) When the user executes the data backup operation, the system automatically replaces all files
in “U:\gsk980TDi_backup\user”, the user should save them as when they cannot be replaced;
5) Stop part programs running before data backup/resume;
6) They must not stop unless the data backup/resume operation is completed;
7) The system is turned on again after the data resume is done.
307
GSK980TDi Turning CNC System User Manual
Ⅱ Operation
308
Chapter 13 Communication
CHAPTER 13 COMMUNICATION
Ⅱ Operation
13.1.2 Software Interface
Interface after GSKComm’s initial run:
309
GSK980TDi Turning CNC System User Manual
At the mode, the user can receive the files from the CNC to the current project or send files in the
current project to the CNC.
Click the option [Receive files from CNC] in [Communication] and GSKComm can receive files
from the CNC after the current project is selected as follows:
After [Receive Files ] is clicked, a dialog box about receiving files from the CNC, the required files
from the CNC including part programs, tool compensation (TOFF. CMP), pitch compensation
(WOFF.WMP), parameters (PARAM.PAR).
After the user selects the required file, [ Start Receiving ] is pressed and the system pops up a
310
Chapter 13 Communication
Select the save path, start to receive the file from CNC to PC by pressing [确定, i.e. Confirm] as
follows:
Ⅱ Operation
After the receiving is done, the system displays below:
311
GSK980TDi Turning CNC System User Manual
Hereby, the user can select the required receiving files from CNC including part programs, tool
compensation (TOFF.CMP), pitch compensation (WOFF.WMP), parameters (PARA.PAR). The part
programs which can be altered are saved to the file name of the CNC. Move the cursor to the part
program required to alter its program name, double-click the left key to pop up a dialog box as Fig. A,
and the file which can be altered is saved the file name of the CNC (as Fig. B).
Ⅱ Operation
Fig. A Fig. B
Select the required file to the CNC and confirm the saved file name, then press [start sending],
and the file is started to send to the CNC as follows:
When a file name in the CNC is the same that of the transmitting, a dialog box is popped up to
select the covering, skipping the file or cancelling transmission as follows:
312
Chapter 13 Communication
When the part program name is the same that of the transmitted file, the covering cannot be
done, otherwise, the system pops up the wrong prompt as follows:
Ⅱ Operation
13.1.5 Part Program Management
Select the current project file, then click [Manage Part Programs] in the menu [Communication] ,
and the part programs in the CNC are managed. The system pops up a dialog box to manage part
programs in the CNC as follows:
Press [Delete File] and the selected part programs are deleted in the CNC after the required
programs are selected.
Note: The program being used in the CNC cannot be deleted.
313
GSK980TDi Turning CNC System User Manual
Set the serial port and baud rate. The baud rate should be not less than 4800 when the data is
transmitted between CNC and PC, the factory setting is :115200.
The IP setting of the GSK980TDi is as follows: -> and then set the IP address
and sub-net mask, etc. after entering the system IP setting page, refer to the following figure:
314
Chapter 13 Communication
Wherein, the IP address can not be identical with the other PC computer in the network or CNC.
The subnet mask should be same with the PC computer or the subnet mask of the router; it is not
necessary to alter the default subnet.
Ⅱ Operation
In the GSKComm, click the [Communication Setting] in the [Communication] menu, its
corresponding dialog frame is shown below, refer to the following figure:
Network selection of communication equipment, write the IP address set to CNC in the network
setting.
Note 1: Stop machining when the machining is being done to get the stable communication.
Note 2: Must not turn off during the data transmission, otherwise, it causes the mistaken data transmission.
315
GSK980TDi Turning CNC System User Manual
Ⅱ Operation
316
Chapter 14 Machining Examples
Ⅱ Operation
4
Fig. 13-1
Machine it with 4 tools as follows:
Tool number Tool shape Explanation
317
GSK980TDi Turning CNC System User Manual
14.1 Programming
Set up the workpiece coordinate system as Fig.13-1 according to the machining process and the
codes introduced in this manual. The programming steps are as follows:
O0001; Name of the part program
N0000 G0 X150 Z50; Position to the safety height for tool change
N0050 G71 U0.5 R0.5 F200; Cut depth 2mm and retract 1mm
318
Chapter 14 Machining Examples
N0260 G1 X40 ;
N0268 G1 X16;
Ⅱ Operation
N0300 G0 X42 Z-20; Approach the part
Press to enter program interface , and press to enter the local catalog page as
follows:
319
GSK980TDi Turning CNC System User Manual
In above window the names of the programs saved can be viewed for renaming the new
program.
Enter the local catalog page in Edit mode, press address key , choose a name that is not
same with the ones in this window (i.e. 0001), key in the number key , , , and
Input the characters of the above edit program one by one and the editing program is done.
320
Chapter 14 Machining Examples
Ⅱ Operation
Press to enter graph display page. Press to enter Auto mode, press , ,
to make the auxiliary function lock indicator , machine lock indicator , and dry run
indicator to enter the corresponding state. Press to start the drawing, press to
automatically run programs, check the program accuracy by displaying the tool motion path, and the
display page is the following after the run is completed:
When there is error in the program path, analysize the error and alter the part program, make
another checkout for the program by the method above till the error is eliminated.
321
GSK980TDi Turning CNC System User Manual
Φ 135
3) Release the tool along X when Z does not move, and stop the spindle, execute G50 Z0 in
PROGRAM->MDI page in MDI mode to set the coordinate of Z axis;
5) Move the tool and make it to cut along the outer circle of the part;
6) Release the tool along Z when X does not move, and stop the spindle, measure the
dimensions of the outer circle of the part (e.g. The measuring value is 135mm);
7) Execute G50 X135 command in PROGRAM>MDI page in MDI mode to set the coordinate
of X axis;
9) Move the tool to a safe position, and change No. 002 tool;
10) Start the spindle and move the tool to the tool-setting point, as A point in the following
figure;
322
Chapter 14 Machining Examples
11) Switch to TOOL OFFSET window, move the cursor to No.002 offset and input X135 Z0;
12) Move the tool to a safe position, and change the No. 003 tool ;
Ⅱ Operation
13) Start the spindle and move the tool to the tool-setting point, as A point in the following
figure;
14) Switch to TOOL OFFSET window, move the cursor to No.003 offset and input X135 Z0;
15) Move the tool to a safe position, and to change the No. 004 tool;
16) Move the tool to the tool-setting point, as point A in the following figure;
323
GSK980TDi Turning CNC System User Manual
17) Switch to tool offset, move the cursor to No.004 offset and input X135 Z0;
18) Move the tool to a safe position after the tool-setting is finished;
Ⅱ Operation
20) If there is any error between the designed and the actual dimensions, the tool offset may be
Note: Press key to make the auto running to pause if dwell is needed during the machining. Also if
emergency occurs, the user presses the key, Emergency stop button to cut off the power to
terminate the program running.
324
III Connection
Ⅲ
Connection
307
GSK980TDi Turning CNC System User Manual
Ⅲ
Connection
308
Chapter 1 Insrallation Layout
Y9.1 +5V FG
Y9.0 0V 0V
0V HB
X9.3 HA 24V
X9.2 24VCOM
X9.1
X9.0 CN32 CN1
24V 手脉2 电源
CN21 CN22 CN31 MPG 2
CN78
编码器1 编码器2 手脉1 I/O接口 CN5
ENCODER 1 ENCODER 2 MPG 1 I/O INTERFACE
CN61 CN62
输入 输出
INPUT OUTPUT
Ⅲ
1.1.2 Interface Explanation
Connection
CN1: power supply interface
CN4, CN5:GSKLINK bus connection interface B,A are connected with the servo unit and IO
unit
CN15:Analogy spindle 1,male socket of 9-cord in type D,connect with analogy spindle 1
CN16:Analogy spindle 2,male socket of 9-cord in type D,connect with analogy spindle 2
CN21: encoder, pin15 D male,connect with spindle encoder 1
CN22: encoder, pin15 D male,connect with spindle encoder 2
CN31: MPG, pin26 D male, connect with MPG
CN51: communication, pin9 D female, connect PC RS232 interface
CN54:Ethernet interface, plug are connected with the PC to transmit data
CN61: input, pin44 D male, connect with machine input
CN62: output, pin44 D female, connect with machine output
CN66:the spindle override input signal, 4 input interfaces are connected with the additional
panel
CN67:the feedrate override input signal, 5 input interfaces are connected with the additional
panel
CN78:4 input/2 output interfaces, 8 connection terminals, machine input,output
307
GSK980TDi Turning CNC System User Manual
3. To inhibit interference: connect parallel RC circuit at both ends of AC winding (Fig. 1-3a), RC
circuit should approach to inductive loading as close as possible; reversely connect parallel
freewheeling diode at both ends of DC winding (Fig. 1-3b); connect parallel surge absorber at
the ends of AC motor winding (Fig. 1-3c);
a) b) c)
Fig. 1-3
4. The CNC leadout cables use the twisted shield cable or shield cable, the cable shield tier is
grounded by an terminal at CNC side, signal cable should be as short as possible;
5. To reduce the mutual interference among the CNC signal cables, and among the strong
current, the wiring should follow the following:
308
Chapter 1 Installation Layout
Ⅲ
Connection
309
GSK980TDi Turning CNC System User Manual
Ⅲ
Connection
310
Chapter 2 Definition and Connection of Interface Signal
2 TX- 2 TX-
1 TX+ 1 TX+
6 RX- 6 RX-
3 RX+ 3 RX+
Outmost layer Outmost layer
shielding cable shielding cable
Ⅲ
Connection
8: PAS
7: *PAS 15: 0V Name Explanation
6: PBS 14: 0V *PAS/PAS Encoder A phase pulse
5: *PBS 13: +5V *PBS/PBS Encoder B phase pulse
4: PCS 12: 5V
11: 0V *PCS/PCS Encoder C phase pulse
3: *PCS
311
GSK980TDi Turning CNC System User Manual
PAS 1
7
*PAS 2
PBS 4
6
*PBS 3
312
Chapter 2 Definition and Connection of Interface Signal
HA
HB
GND Signal Explanation
VCC HA MPG A phase signal input
Ⅲ
HB MPG B phase signal input
Fig. 2-5B CN32 MPG interface
Connection
GND 0V
(4-point wiring terminal)
VCC 5V
D47
1N4148
2
XHA+ R94
GND
1K
R96 470R U57
XHB- TLP181
VCC
1
D49
1N4148
2
XHB+ R98
GND
1K
313
GSK980TDi Turning CNC System User Manual
CN31 MPG
A
HA+
3 HB+ B
0
V
11 0V
+
5
V
14 +5V
2 HA- 空
4 HB-
Metal shell
A
+A
HA+
-+-5
2 HA-
3 HB+ B
4 HB- B
+
V
14 +5V
0
V
11 0V
Metal shell 空
2 B B
0
V
3 0V
+
5
V
Ⅲ
4 +5V
Connection
314
Chapter 2 Definition and Connection of Interface Signal
Signal Explanation
5:SVC 6:Y5.0 SVC 0~10V Analog voltage
4:GND 7:Y5.1 GND Signal grounding
3:Y5.2 8:X5.0
2:0V 9:X5.1
1:+24V Standard PLC Definition
1
6 Address Function
X5.0 Spindle 1 alarm signal
X5.1
Fig.2-9 CN15 analogy spindle series spindle 1 rotation
Y5.0
interface(male socket of signal CW(positive)
9-cord in type D) series spindle 1 rotation
Y5.1
signal CCW(negative)
Y5.2
5:SVC 6:Y8.0
4:GND 7:Y8.1 X8.0 Spindle 2 alarm signal
3:Y8.2 8:X8.0 X8.1
2:0V 9:X8.1
1:+24V series spindle 2 rotation
Y8.0
1
6 signal CW(positive)
series spindle 2 rotation
Y8.1
signal CCW(negative)
Fig.2-10 CN16 analogy Y8.2
spindle interface(male
Ⅲ
socket of 9-cord in type D)
Connection
2.4.2 Inverter Connection
The analog spindle interface SVC may output 0~10V voltage, its interior signal circuit is shown in
Fig. 2-20:
SVC
315
GSK980TDi Turning CNC System User Manual
GSK980TDi INVERTER
CN15 U11
CN62/4 M03 L1 U
KA24 V11 L2 V
W11
L3 W
PE
CN62/5 M04 KA25
CN62/23 +24V
KA24
M03 FWD
KA25
M04 REV
DCM
PE
CN15/5 SVC AVI
CN15/4 GND ACM
CN15/8 SALM RB
CN15/2 0V RC
B1 B2
Brake
resistance
Fig. 2-12 GSK980TDi is connected with the inverter
1: 6: Signal Explanation
2: RXD 7: RXD Receiving data
3: TXD 8:
4: 9: TXD Transmitting data
5: GND GND Signal grounding
316
Chapter 2 Definition and Connection of Interface Signal
Note: TXD+ and TXD- are difference signal, as well the RXD+ 和 RXD-, which are required to connect
with twisted-pair.
FG
0V
24V
24VCOM
CN1
POWER
Ⅲ
POWER UPPLY
Connection
Fig. 2-15 system power interface CN1
24VOM is connected with the output interface CN62 24V. When GSK980TDi's power supply box
supplies power supply for an external electron device, the supply box's +V is connected with
24VCOM. When an external power supply is used, its 24V is connected with 24VCOM and its 0V
must be connected with the system's supply box's-V.
317
GSK980TDi Turning CNC System User Manual
Note!
The I/O function significances of the unlabelled fixed addresses of this
GSK980TDi/GSK980TDi-V turning machine CNC system are defined by PLC
programs (ladders), and they are defined by the machine builder when matching
with a machine, please refer to the manual by the machine builder.
The fixed address I/O function not be marked are described for GSK980TDi
PLC. The described contents without other special explanation are also applied to
GSK980TDi-V.
Ⅲ
Connection
318
Chapter 2 Definition and Connection of Interface Signal
Ⅲ
of 44-cord in 29 X2.0 T02
Post )
type D)
Connection
Tool signal / Sensor C ( LIO_SHING Tool
30 X2.1 T03
Post )
Tool signal / Sensor D ( LIO_SHING Tool
31 X2.2 T04
Post )
32 X2.3 DECY(DEC2) Y deceleration signal(fixed address )
4th deceleration signal(fixed
33 X2.4 DEC4/LUBS
address )/lubricating oil detection
34 X2.5 DEC5 5th deceleration signal(fixed address )/
35 X2.6 TCP Tool post clamping signal
36 X2.7 EXHP external hydraulic control input
37 X3.0 LMIX X overtravel
38 X3.1 LMIY Y overtravel
39 X3.2 LMIZ Z overtravel
40 X3.3 WQPJ/VPO2 Chuck releasing in-position signal
41 X3.4 NQPJ/SALM2 Chuck clamping in-position signal
42 X3.5 SKIP G31 skip signal
43 X3.6 AEX X tool measure position arrival signal (G36)
44 X3.7 AEZ Z tool measure position arrival signal(G37)
Note: Partial input interface is the fixed address for some functions, for example: the signal of ESP, DECX,
DECZ or SKIP, etc. If this function does not use, it will be redefined in PLC.
319
GSK980TDi Turning CNC System User Manual
320
Chapter 2 Definition and Connection of Interface Signal
Fig.2-18 CN78
Ⅲ
Spindle override wave-band switch
6 1 X29.0 BAUD2_A
signal 0
5
Connection
Spindle override wave-band switch
4 2 X29.2 BAUD2_B
signal 2
3 3 Floating Floating Floating
2 4 +24V 24V Power supply 24V
1
Spindle override wave-band switch
5 X29.3 BAUD2_E
signal 3
Spindle override wave-band switch
Fig.2-20 CN67 6 X29.1 BAUD2_F
signal 1
7 INH BAUD2_INH INH
Note 1: Various functions can be defined to some of the input and output interfaces, and they are indicated
by “/”sign in the table above.
Note 2: If output function is active, the output signal is through on to 0V. If output function is inactive, the
output signal is cut off by high impedance.
Note 3: If input function is active, the input signal is through on to +24V. If input function is inactive, the
input signal is cut off with it.
Note 4: The effectiveness of +24V, COM terminals are equivalent to those of the GSK980TDi/GSK980TDi
power box terminals that have the same names.
321
GSK980TDi Turning CNC System User Manual
Fig. 2-27
The other type is input by switch with no contacts (transistor) as shown in Fig. 2-21B, 2-21C:
Ⅲ
Connection
322
Chapter 2 Definition and Connection of Interface Signal
The input interface signals defined by PLC of GSK980TDi/GSK980TDi-V system involve XDEC,
ZDEC, ESP, ST, SP/SAGT, PRES, DITW, DIQP, T01~T08, TCP and so on.
Ⅲ
Its typical application is as follows:
To drive LED
Connection
A serial resistance is needed to limit the current (usually 10mA) that goes through the LED by
using output to drive LED, which is shown in Fig. 2-30:
Fig. 2-30
To drive filament indicator
An external preheat resistance is needed to decrease the current impact at power on by using
output to drive filament indicator, and this resistance value should be within a range that the indicator
cannot be lighted up as shown in Fig. 2-31:
323
GSK980TDi Turning CNC System User Manual
+24V
CNC Machine
side side
Output Y address
Note!
The I/O function significance of this GSK980TDi / GSK980TDi-V turning
machine CNC system is defined by PLC programs (ladders), and they are defined by
the machine builder when matching with a machine, please refer to the manual by
the machine builder.
The fixed address I/O function not be marked are described for GSK980TDi
Ⅲ
PLC. The described contents without other special explanation are also applied to
GSK980TDi-V.
Connection
Signal diagnosis
Signal ESP EXESP LMIX LMIY LMIZ
Diagnosis address X0.5 X9.3 X3.0 X3.1 X3.2
Interface pin CN61.6 CN78.4 CN61.37 CN61.38 CN61.39
324
Chapter 2 Definition and Connection of Interface Signal
Control parameter
Bit parameter
1 7 2 ESP
ESP =0: Check ESP signal
=1: Do not check ESP signal
PLC bit parameter
K 1 0 LMIT LMIS EXESP
LMIT =1: Travel limit check function of each axis is valid.
=0: Travel limit check function of each axis is invalid
LMIS =1: The system alarms for overtravel when the travel limit check signal is not connected
with +24V.
=0: The system alarms for overtravel when the travel limit check signal is connected with
+24V
EXESP =1:External emergency stop signa is valid。
=0:External emergency stop signa is invalid。
Signal connection
The ESP signal circuit is shown in Fig.2-33:
Ⅲ
Connection
Fig. 2-33 ESP signal circuit
(2) The separate connection between the emergency stop and travel switch is shown in Fig.
2-34B:
325
GSK980TDi Turning CNC System User Manual
Fig. 2-28 Separate connection between the emergency stop and travel switch
Control logic
(1) Series connection between the emergency stop and travel switch
When the contact of the emergency stop switch is cut off, the ESP signal is off to +24V, and CNC
makes an emergency alarm. Meanwhile the CNC turns off the enable (EN) signal to stop the pulse
output. Except the functions processed by NC, other functions can also be defined by PLC program
when the emergency alarm is issued. The function defined by standard PLC program is: when
emergency alarm is issued, it turns off the signal output of M03, M04, M08, and outputs M05 signal at
the same time.
(2) Separate connection between the emergency stop and travel switch
1. Each axis has only one overtravel contact, and the system judges the overtravel alarm
based on the axis movement direction.
2. When the system alarms for the overtravel, the axis moves reversely, the reset key is
pressed to clear the alarm after the axis exceeds the limit position.
Note: Before the overtravel limit function is enabled, the slider must be between the positive and the negative
limit; otherwise, the prompted alarm will not be consistent with actual situation.
Ⅲ
326
Chapter 2 Definition and Connection of Interface Signal
D T 0 4 TLMAXT
The maximum time limit for tool change
D T 0 7 T1TIME
Tool change time T1: Tool post delay time from CCW stop to CW output (ms)
D T 0 8 TCPCKT
Tool post lock signal detection time (ms)
D T 0 9 TCPTIME
Tool change time T2: tool post CW rotation locking time
0 0 8 4 TMAX
Total tools selection
Signal connection
1. The T01~T08, TCP signals input are employed with photocoupler, its interior circuit is shown
in Fig. 2-35:
Ⅲ
Connection
Fig. 2-29
2. TL+, TL- are tool post CCW/CW output signal, its interior circuit is shown in Fig.2-36:
CNC side Machine side
Output signal
Fig. 2-30
3. The external circuit of the tool number signal is shown in Fig. 2-37, when the tool number
signal is low level active, it requires an external pull-up resistor.
327
GSK980TDi Turning CNC System User Manual
Hall switch
·
Fig. 2-31
Function description (defined by standard PLC program)
The control sequence and control logic of the tool change are defined by PLC program. There
are 4 tool change modes defined as follows by standard PLC program:
1. CHTB (K11.1)=0, CHTA (K11.0)=0: tool change mode B
1.1 Signal specification
Signal type Code Interface Address Function Remark
CN61.16 X1.7 T01 tool signal
328
Chapter 2 Definition and Connection of Interface Signal
DT07
TL+
T1~T8
TL- DT08
TCP DT09
Ⅲ
Normally-closed
tool post released
CN61.10 X1.1 TUCP contactor (Low
Connection
signal
LEVEL enabled)
CN62.15 Y1.6 TL+ tool post CW rotation
tool post CCW
CN62.16 Y1.7 TL-
Output rotation
signal tool post released
CN62.29 Y2.0 TRLS
outout
CN62.30 Y2.1 TCLP tool post locked
outout
Notice: The cutter-head clamping signal and releasing signal are normally-closed
contactor, which are enabled in low LEVEL.
2.2 Tool-change schedule
① Cutter-head relases and waits for that the cutter-head releasing signal is low LEVEL.
② The system judges the shortest path based upon the destination tool number and current
tool number; select the output rotation direction in terms of the principle of the
approximated tool-selection regardless of the positive signal (TL+) or negative one (TL-),
the tool starts to rotate and perform the tool-selection.
③ In the rotation process, the system performs the coding based upon the cutter position
encoder signals T1~T4 to identify the current tool number. When rotating to the previous
329
GSK980TDi Turning CNC System User Manual
station of the destination tool number, detect the skip of the cutter-head strobe signal.
System closes the cutter-head releasing signal and outputs the cutter-head clamping
signal at the falling-edge of the previous state strobe signal of the destination tool number.
④ When the cutter-head clamping input signal in detecting is low LEVEL, close the
cutter-head rotation output signal (TL+ or TL-), the motor is then stopped.
⑤ Confirm whether the current tool position code signal is consistent with the detstination tool
number, confirm whether the cutter-head clamping signal is Low LEVEL again.
⑥ The tool-change is absolutely performed if the above-mentioned steps are correct.
330
Chapter 2 Definition and Connection of Interface Signal
Ⅲ
⑶.During the rotation, the system decodes to identify the current tool no. based on the tool
Connection
encoding signal T1~T4 input. When it rotates to the previous tool before the target tool no., it checks
the skip of the tool post strobe signal. The strobe signal of the previous signal before the target tool no.
executes the falling edge, the system outputs pregraduation electromagnetic signal of the tool post,
and the electromagnet is turned on.
⑷.When the input signal of the pregraduation proximity input signal of the tool post is HIGH, the
system closes the tool post rotation output signal (TL+ or TL-), and the motor stops.
⑸.After the system delays 50ms, it outputs the signal(TL- or TL+) which is reverse to the
previous rotation direction and the tool post rotates reversely.
⑹.When the proximity input signal of the tool post locked is HIGH, the system closes the rotation
signal (TL-, TL+), and the motor stops. Then the system outputs the tool post brake signal TZD, and
the motor brake is turned on.
⑺.When the system delays 200ms,it closes the pregraduation electromagnetic output signal,
and then the electromagnet is turned off.
⑻.The system checks the current tool no. again and confirms whether the encoding signal of the
current tool is consistent with the target tool no..
⑼.The system confirms again whether the locked proximity switch signal is HIGH.
⑽.When the above steps are correct, the system closes the tool post brake signal TZD, and so
the tool change is completed.
331
GSK980TDi Turning CNC System User Manual
⑾.In the course of the tool change, when the system has found the motor overheat signal, it
alarms and closes output of all signals.
332
Chapter 2 Definition and Connection of Interface Signal
Ⅲ
the time, the tool pot is started to rotate. When it is not inductive, the tool pot is locked,
Connection
i.e. the tool change is completed.
Sol A: control the tool pot releasing/locking
Sol B: control the tool pot rotation(CW/CCW)
333
GSK980TDi Turning CNC System User Manual
E ● ● ● ● ● ● ● ● ● ●
12-tool:
1 2 3 4 5 6 7 8 9 10 11 12
A ● ● ● ● ● ●
B ● ● ● ● ● ●
C ● ● ● ● ● ●
D ● ● ● ● ● ●
E ● ● ● ● ● ● ● ● ● ● ● ●
Notice
When the feed axis matches with the absolute encoder, set the
arbitrary point as the machine reference point by the [n axis reference point
setting] on the page of the “Position -> Integral Coordinate”. It will directly
Ⅲ
position to the reference point when zero return after the reference position
Connection
is set.
Mainly, the following relevant description is about the adaptive
incremental encoder and the zero return procedure of the rotation axis.
Relative signal
DECX: X deceleration signal;
DECY: Y deceleration signal;
DECZ: Z deceleration signal;
DEC4: 4th deceleration signal;
DEC5: 5th deceleration signal;
PCX: X zero signal;
PCY: Y zero signal;
PCZ: Z zero signal;
PC4: 4th zero signal;
PC5: 5th zero signal;
334
Chapter 2 Definition and Connection of Interface Signal
Diagnosis data
0 0 0 DEC5 DEC4 DECZ DECY DECX
Interface pin CN61.34 CN61.33 CN61.12 CN61.32 CN61.4
0 0 8 PC5 PC4 PCY PCZ PCX
Interface pin CN15.10 CN14.3 CN13.3 CN12.3 CN11.3
Controlling parameter
Status parameters
0 0 4 DECI
Bit 5 1: During machine zero return, the deceleration signal is at high level;
0: During machine zero return, the deceleration signal is at low level;
0 0 5 PPD
Bit 1: 1: G50 sets relative coordinate system value;
0: G50 does not set relative coordinate system value;
Ⅲ
0: 4th axis zero point return method B
Bit2 1:Y axis zero point return method C
Connection
0:Y axis zero point return method B
Bit1 1:Y axis zero point return method C
0:Y axis zero point return method B
Bit0 1:X axis zero point return method C
0:X axis zero point return method B
335
GSK980TDi Turning CNC System User Manual
0: The direction key is not self-locked during machine zero return; press down the direction key;
Bit1 1:Ref.C mode,the feeding slowdown when machine press down switch, it is reversed after
decelerating to zero.
0:Ref.C mode,the feeding slowdown when machine release switch, it is reversed after
decelerating to zero.
0 1 2 APRS ISOT
Bit 7 1: CNC sets the absolute coordinate system automatically after reference point return;
0: CNC does not set absolute coordinate system automatically after reference point return;
Bit 0 1: Manual rapid traverse is valid after system power-on and before machine zero return;
0: Manual rapid traverse is invalid after system power-on and before machine zero return;
336
Chapter 2 Definition and Connection of Interface Signal
Data parameters
0 3 3 ZRNFLn
The low speed of machine zero return;
1 1 3 REF_SPDn
The high speed of machine zero return;
0 4 7 PRSn
Setting value of absolute coordinate after machine zero return;
Signal connection
The interior circuit of deceleration signal is shown in Fig. 2-38:
Ⅲ
Connection
Fig. 2-32
Machine zero return by regarding servo motor one-turn signal as the zero signal
①Its sketch map is shown below:
Fig. 2-39
② The circuit of deceleration signal
337
GSK980TDi Turning CNC System User Manual
Fig. 2-40
③ Sequence of machine zero return
When the BIT0 (ZMX) of the bit parameter No.006 is set to 0, and the BIT5(DECI) of the bit
parameter No.004 is set to 0, the system chooses the machine zero return mode B, and the
deceleration signal low level is active.
So the sequence of machine zero return mode B is shown as follows:
Ⅲ
Fig. 2-41-a
Connection
338
Chapter 2 Definition and Connection of Interface Signal
H
i
g
he
r
e
t
u
r
n
Do
e
ce
De c
l
s
p
e
d
e
r
High return speed
a
Z
e
r
o
r
e
t
u
r
n
s
p
e
e
d
to s elerat
t
Zero return
st
e
o
s
p
speed t op es
R
e
v
e
r
s
e
l
y
Reversely
Ls
op
we
r
e
t
u
r
n
Rf
tn
e
u
r
n
Low return
e
d
i Return
i
s
h
speed
finish
n
P
C
nPC
V
e
l
o
c
i
t
y
v
( ) Velocity(v)
T
i
m
e
t
(︶
Time(t)
Fig. 2-36 (Out-of-block deceleration) Fig. 2-37 (Push the block deceleration)
Return process of machine zero mode C
A: Select Machine zero mode, press the manual positive or negative feed key (return direction
set by bit parameter No.183), the corresponding axis moves to the machine zero by a rapid
traverse speed (No.113). As the axis press down the deceleration switch to cut off
deceleration signal, if the pushing block begins deceleration (Bit 1 of status parameter
No.011), the operation speed is then decelerated to zero. The feeding keeps rapid rate and
depart from the deceleration switch, when the DEC signal contact is closed, the feeding
slows down to zero, then run reversely to return to machine zero in a low speed.
B: In the reverse running, it presses down the deceleration switch to cut off the DEC signal
contact and continues returning; as it departs from the deceleration switch, the deceleration
signal contact is closed again. And CNC begins to detect the encoder one-turn signal (PC), if
this signal level skips, the motion will be halted. And the corresponding axis zero return
indicator on the operation panel lights up for zero return completion.
Ⅲ
Machine zero return by a proximity switch taken as both deceleration and zero signals
Connection
① Its sketch map is as follows:
Sketch map of zero tongue for machine zero return mode B:
Fig. 2-42-a
339
GSK980TDi Turning CNC System User Manual
Fig. 2-42-b
② Circuit of the deceleration signal
Machine side CNC side
+24V
nDECCn
*DE
nPC
Fig. 2-43
③Sequence of machine zero return (taking example of X)
When the BIT0 (ZMX) of the bit parameter No.006 are all set to 0, and the BIT5 (DECI) of the bit
parameter No.004 is 0, it chooses the machine zero return mode B.
The sequence of machine zero return is as follows:
Ⅲ
Connection
Fig. 2-44-a
B type machine zero return process
A: Select the Machine Zero mode, press manual positive or negative (zero return direction set
by bit parameter No.183) feed key, the corresponding axis will move to the zero at a high
speed(set by parameter No.113).
B: As the proximity switch touches the tongue for the first time, the deceleration signal is active
and speed immediately slows down and it runs in a fixed low speed (set by parameter
No.33 ).
C: As the proximity switch detaches the tongue, the deceleration signal is inactive; it moves at a
fixed low speed after deceleration and starts to detect zero signal (PC).
340
Chapter 2 Definition and Connection of Interface Signal
D: As the proximity switch touches the tongue for the second time, the zero signal is active and
the movement stops. The zero return indicator on the panel lights up for machine zero return
completion.
When the BIT0 (ZMX) of the bit parameter No.006 are all set to 1, and the BIT5(DECI) of the bit
parameter No.004 is 0, it chooses the machine zero return mode C.
The sequence of machine zero return mode C is shown as follows:
D
e
c
e
l
e
r
a
t
i
o
n
s
w
i
t
c
h
Deceleration switch
Do
e
ce
l
e
t
r
H
i
g
h
r
e
t
u
r
n
s
p
e
e
d
a
t
s
e
t
High return speed
s
o
p
Zs
e
oe
r
r
e
t
u
r
n
to s elerat
top es
R
e
v
e
r
s
e
l
y
Return Reversely
Rf
e
t
us
r
n
Ls
op
we
r
e
t
u
r
n
finish
i
n
i
h
( ) Velocity(v)
T
i
m
e
t
(︶ Time(t)
Fig.2-42(the feeding slowdown release switch) Fig.2-43(the feeding slowdown press down switch)
Ref.C mode,the feeding slowdown when 0:release switch 1:press down switch
C type machine zero return process
A: Select the Machine Zero mode, press manual positive or negative (zero return direction set
by bit parameter No.183) feed key, the corresponding axis will move to the zero at a high
speed(set by parameter No.113).
B: As the proximity switch touches the tongue for the first time, the deceleration signal is active.
Ⅲ
If the pushing block deceleration begins (The Bit 1of the status parameter equals to 1), the
feed speed decelerates to zero, then it runs reversely by low return speed.
Connection
C: If the setting block begins to decelerate (The Bit 1 of the status parameter No.011 sets to 0), it
is still operated with same speed when its speed descends. When the deceleration signal
contactor is closed, the operation speed decelerates to zero till leaving the deceleration
switch, and then it reversely operates with low speed based upon the machine tool zero.
D: As the proximity switch touches the deceleration switch for the second time in reverse running,
deceleration signal contact is cut off, it still runs by low return speed; as it detaches the
deceleration switch, deceleration signal contact is closed again, so the movement stops. The
zero return indicator for the corresponding axis on the panel lights up for zero return
completion.
The machine zero return (zero-return method D) of deceleration signal or zero signal by
using the servo motor one-turn signal
There are four zero return methods for rotation axis, which are separately divided into: A, B, C
and D. Wherein, zero return method A, B and C are identical with the one of the linear axis. Only the
D is a special zero return method of the rotation axis.
When the controllable axis is rotation one, and the Bit 6 of status parameter No.188 sets to 1,
select the machine zero return method D.
The time-sequency figure of the machine zero operation in method D is as follows:
341
GSK980TDi Turning CNC System User Manual
Sequence of
machine zero
Ignore
PC
PC signal
Velocity (V)
High return
speed
Low
return
speed
Time (T)
342
Chapter 2 Definition and Connection of Interface Signal
Bit parameter
K 1 0 RSJG
RSJG =1: CNC not turn off M03, M04, M08, M32 output signals when pressing key;
=0: CNC turns off M03, M04, M08, M32 output signals when pressing key.
K 1 7 SALM SSTP
SALM =1: The system alarms when the spindle abnormal detection input signal is LOW (it is
turned off with 0V);
=0: The system alarms when the spindle abnormal detection input signal is HIGH (it is
turned on with 0V) .
SSTP =1: The analog voltage is closed when the spindle stops;
=0: The analog voltage is not closed when the spindle stops.
1 7 5 SAR
Bit6 1: The spindle SAR signal is checked before cutting;
0: The spindle SAR signal is not checked before cutting.
Data parameter
0 7 2 SAR_DELEY
Delay check time (ms) of the spindle speed arrival.
D T 0 5 MTIME
Execution time of M code (ms)
D T 1 0 SPDDLT
Ⅲ
Spindle braking delay output time after spindle stop (M05) is output
Connection
D T 1 1 SPZDTIME
Spindle braking output time (ms)
D T 2 3 SVF_DELEY
Delay time before spindle motor torque decrease to 0 when spindle starts clamping;
D T 2 0 SCLPTIME
Spindle clamping/releasing command performance time (ms).
D C 0 0 SPZERO
Spindle zero speed output range (m/min);
Signal connection
M03, M04, M05, SPZD signal output circuit is shown in Fig. 2-45A:
343
GSK980TDi Turning CNC System User Manual
Output signal
Fig. 2-45A
SAR, SALM signal input circuit is shown in Fig.2-45B:
Machine CNC
side side
Intput
signal
Fig.2-45
Operation sequence (defined by standard PLC program)
Spindle operation sequence is show in Fig 2-46:
Stop signal
CW/CCW
Stop
T2 T3
Ⅲ
Brake
Connection
344
Chapter 2 Definition and Connection of Interface Signal
Ⅲ
Relevant signal (defined by standard PLC program)
Connection
M41~M44: Spindle automatic gear shifting output signals. It supports 4-gear spindle automatic
gear shifting control when the system selects the spindle analog value control(0~
10V analog voltage output)
M41I, M42I: spindle automatic gear shifting No.1, 2 gear in-position signals to support gear
shifting in-position check function
Signal diagnosis
Signal M42I M41I M44 M43 M42 M41
Diagnosis address X1.6 X1.5 Y1.3 Y1.2 Y1.1 Y1.0
Interface pin CN61.15 CN61.14 CN62.12 CN62.11 CN62.10 CN62.09
Signal connection
The circuit for M41~M44 is shown in Fig.2-47:
Fig. 2-47
345
GSK980TDi Turning CNC System User Manual
Control parameter
Bit parameter
0 0 1 ACS
Bit4 =1: Spindle analog volume control, set to 1 if using spindle automatic gearing
=0: Spindle switching volume control
1 9 5 PLCS
Bit6 =1: PLC spindle rotation speed function of each axis enabled;
=0: PLC spindle rotation speed function of each axis disabled。
K 1 5 SHT AGIM AGIN AGER
AGER =1: Spindle automatic gearing active
=0: Spindle automatic gearing inactive
AGIN =1: Detect M41I, M42I signal when shifting to gear 1, 2
=0: Not detect M41I, M42I signal when shifting to gear 1, 2
AGIM =1: Active when M41I, M42I signals disconnecting to +24V
=0: Active when M41I, M42I signals connecting to +24V
SHT =1: spindle gear power-down executes the memory
=0: spindle gear power-down does not execute the memory
Data parameter
0 3 7 GRMAX1
0 3 8 GRMAX2
0 3 9 GRMAX3
0 4 0 GRMAX4
GRMAX1, GRMAX2, GRMAX3, GRMAX4: The respective max. speeds of spindle gear 1, 2, 3, 4
when analog voltage output is 10V. Spindle speeds for M41, M42, M43, M44 when spindle automatic
Ⅲ
gearing is active.
0 6 7 SFTREV
Connection
D T 0 0 SFT1TME
Time for original gear disable during spindle gear shift (ms),refer to function description for
details.
D T 0 1 SFT2TME
Delay time after spindle gear shift (ms), refer to function description for details.
Function description (defined by standard PLC program)
The spindle automatic gearing is active only under the spindle analog voltage control (BIT4 of the
bit parameter No.001 set to 1) and the BIT 7 of the bit parameter No.164 is set to 1; if the spindle auto
gearing is inactive, alarm will be issued when M41~M44 is being executed and only one of them is
active at a time.
When spindle auto gearing is used to control automatic spindle mechanical gear switching, as
CNC executes S□□□□ code, it calculates the analog voltage output to spindle servo or frequency
inverter based on the parameter of the current gear by M4n (M41 ~ M44 to data parameters
No.037~No.040 respectively) to make the actual speed to be consistent with the S code.
346
Chapter 2 Definition and Connection of Interface Signal
When CNC is powered on, the spindle gear memorizing is set by the BIT1 of bit parameter
No.168.
If the BIT4 of bit parameter No.001 is 0, the spindle gear is not memorized at repowering after
power down, and the gear 1 will be defaulted, M41~M44 are not output. If BIT4 of bit parameter
No.001 is 1, the spindle gear is memorized at repowering after power down.
No gearing is done if the specified gear is consistent with the current gear. If not, gearing will be
performed, and the process defined by standard ladders is shown in the following:
① Execute any of M41, M42, M43, M44 codes, output analog voltage to spindle servo or
frequency inverter according to a value set by data parameter No.067 (Unit: mV);
②After a delay (gearing time 1) by the DT00, turn off the original gear output signal and output
the new gearing signal;
③If the gear is 1 or 2, and the BIT6 of the bit parameter No.164 is 1, it jumps to ④, or else it
jumps to ⑤;
④Check the gear in-position input signal M41I, M42I, it jumps to ⑤ if the gear in-position is
done; if not, the CNC waits the gear in-position signal;
⑤After a delay (gearing time 2) by DT01, output spindle analog voltage by the current gear
according to a value set by data parameter No.037~No.040 (gear 1~4) and finish the gearing.
Note: The output of M41~M44 is held on when CNC is reset or i emergency stop, which is defined by
standard PLC ladder.
Ⅲ
Control parameter
K 1 5 SPOR
Connection
SPOR =1: The spindle eight-orientation function is valid.
=0: The spindle eight-orientation function is invalid.
Functional description(standard PLC program definition)
1. After the positioning function commands M51 are executed, PLC→CNC executes the
orientation signal.
2. CNC issues an orientation command after reciving the orientation signal; (after the system
delays 100ms, the spindle rotation(CW/CCW) is disabled, at the same time, the system starts to
check the orientation completion signal (COIN).
3. Drive unit starts the orientation.
4. After the drive unit orientation is completed, Drive →CNC→PLC outputs the spindle
completion signal COIN;
5. After PLC receives the spindle orientation completion signal COIN, the spindle orientation is
completed, but the spindle orientation signal STAO keeps the output.
6. When M51 is input again, the spindle oriented to another position.
7. After the orientation is completed and when M50 is executed or the spindle orientation is
operated, PLC closes the spindle orientation signal STAO output and cancels the positioning function.
8. When the system has not received the orientation completion signal after the PLC sends the
orientation completion signal for 10000ms, it alarms “the spindle orientation time being long”.
347
GSK980TDi Turning CNC System User Manual
9. Before the orientation, the spindle can rotate or stop; the spindle stops after the orientation.
Note 1: The drive is for the spindle servo drive unit.
Note 2: The spindle should be the serial-connected when selecting this function; simultaneously, adapt the
GS-L series spindle servo drive unit.
Connected diagram
When GSK980TDi matches with the GS-L series servo drive, it is connected with bus regardless
of the special wiring.
1 8 7 ROS ROT
Bit1, Bit0 : 00: set the additional axis to the linear axis; 01: set the additional axis to the rotary
axis (A-type); 11: set the additional axis to the rotary axis (B-type); 10: set the
additional to be invalid.
Ⅲ
348
Chapter 2 Definition and Connection of Interface Signal
Note 3: The setting is enabled when its setting is less than the 6. The coordinate system will not
be cleared as zero by shifting the CS axis when its value is disabled.
K 1 5 RCS RSCS
RCS =1: Cs function of the spindle is valid.
=0: Cs function of the spindle is invalid.
RSCS =1: The spindle contour control is disabled in emergency stop, reset.
=0: The spindle contour control is enabled in emergency stop, reset.
Note: K15.7 sets whether all Cs functions are valid, №o187.5, №o189.5, №o191.5 set whether Cs functions of
the special axis is valid. When the multiple spindle function is valid, Cs function of only one axis is valid.
Function description(defined by standard PLC program)
1. Control logic
1.1. The PLC sets the spindle contour controllable shifting signal CON (G27.7) to 1 after the M14
is executed;
1.2. CNC controls the drive to shift the controllable method, after the switch is completed,
CNC→PLC outputs the spindle contour controllable shifting end signal FSCSL (F44.1);
1.3. Aafter the PLC detects the spindle contour controllable shifting end signal FSCSL (F44.1),
end the performance of the M14. The spindle controllable shifting method is ended.
2. M15 execute processes are the same those of M14.
3. Only, the M15 cancels the speed/position shifting performed by M14; if the spindle shifts into
the Cs contour control by executing the M29, the performance of the M15 will not be converted into
the speed controllable method.
4. on the panel is equal to the spindle speed/position control mode switch in Manual mode.
Ⅲ
In Manual/MPG mode, press and the CNC starts the spindle speed/position control mode
Connection
switch. After the CNC is switched into the spindle position control mode, the spindle orientation
indicator is ON, at the time, Cs position movement is performed. Press again and the CNC is
switched into the spindle speed control mode and the spindle orientation indicator is OFF.
5. Before switch, the spindle can rotate or stop. After switch, the spindle stops.
6. When the spindle is in Cs contour control mode, the spindle rotation(CW/CCW) output is
invalid.
7. When the spindle is in the external speed control mode, the manual operation of Cs axis is
invalid.
8. When the alarm occurs in the servo or because of the too long switch time or the reset or
emergency stop appears in switch, PLC switches the spindle into the speed control state.
9. When PLC K15.6 is set to 1, the spindle contour control is disabled in emergency stop, reset.
PLC switches the spindle into the speed control state.
10. There is the CS shifting M code (Standard ladder diagram defines as M14) in the setting of
the No.164; the coordinate system can be cleared after the feed CS shifts.
Wiring diagram
349
GSK980TDi Turning CNC System User Manual
When the GSK980TDi matches with the GS-L series servo drive; the bus then can be connected
regardless of the special wiring.
1 9 5 SSPD RCS
Bit0 =1:Cs function of spindle valid ,power on;
=0:Cs function of spindle is:invalid,power on.
Bit7 =1:series spindle controllable function enabled (series spindle The slave ID number of the
spindle 1~3 is 11~13) , it is necessary to restart;
=0:series spindle controllable function disabled (analogy spindle), it is necessary to
restart.
350
Chapter 2 Definition and Connection of Interface Signal
1 9 6 MSEN
Bit4 1: The multiple spindle control function is valid;
0: The multiple spindle control function is invalid;
K 1 5 RCS RSCS
RCS =1: The spindle Cs function is valid;
=0: The spindle Cs function is invalid.
RSCS =1: The spindle contour control is disabled in emergency stop, reset;
=0: The spindle contour control is enabled in emergency stop, reset.
K 1 7 MSEN SALM2
MSEN =1: The multiple spindle control function is valid;
=0: The multiple spindle control function is invalid.
SALM2 =1: The system alarms when the check input signal of the 2nd spindle abnormality is
LOW;
=0: The system alarms when the check input signal of the 2nd spindle abnormality is
HIGH;
Function description(defined by the standard PLC program)
1.1. After the multiple spindle control function setting is valid, the system defaults to the 1st
spindle control after power-on;
1.2. When M03, M04, M05 is executed, the corresponding signal of the 1st spindle outputs, at
that time, the system sets the 1st spindle control, hereafter, the S command being executed
will change the 1st spindle speed. In a similar way, M63, M64, M65 is executed, the
corresponding signal of the 2nd spindle outputs, at the time, the corresponding signal of the
2nd spindle outputs, and is switched into the 2nd spindle control, after that, the executed S
command will change the 2nd spindle speed.
Ⅲ
1.3. The spindle switch is invalid in rigid tapping.
1.4. The manual CW, CCW, STOP, SPINDLE OVRRRIDE keys on the panel are valid only to the
Connection
1st spindle. When the current system is controlled by the 2nd spindle, the manual control key
of the spindle on the panel still controls the 1st spindle.
1.5. The spindle override of the 2nd spindle is fixed to 100%.
1.6. Cs axis control of two spindles can be separately switched and the current used spindle has
no requirements, that is, when the current is the 1st(2nd) spindle, the 2nd (1st) spindle
executes the Cs switch.
Cs control logic of the 2nd spindle
1.1. After M24 is executed, PLC sets the spindle contour controllable signal CON (G127.7) to 1;
1.2. CNC controls the drive to shift the controllable method, after the shifting is performed,
CNC→PLC outputs the spindle contour controllable shifting end signal FSCSL (F144.1);
1.3. After the PLC detects the spindle contour controllable shifting end signal FSCSL (F144.1),
end the performance of the M24. The spindle controllable method is then completed.
2. M25 execute processes are the same those of M24.
3. M25 only cancels M24 executing the speed/position switch. Executing M25 cannot switch the
system into the speed control mode when executing M29 switches the spindle into Cs contour
control.
351
GSK980TDi Turning CNC System User Manual
6. When the spindle is in Cs contour control mode, the spindle rotation(CW/CCW) output is
invalid.
7. When the spindle is in the external speed control mode, the manual operation of Cs axis is
invalid.
8. When the alarm occurs in the servo or because of the too long switch time or the reset or
emergency stop appears in switch, PLC switches the spindle into the speed control state.
9. When PLC K15.6 is set to 1, the spindle contour control is disabled in emergency stop, reset.
PLC switches the spindle into the speed control state.
Wiring
When the GSK980TDi matches with the GS-L series servo drive; the bus then can be connected
regardless of the special cable.
mode. After the rigid tapping return, the tapping spindle returns to the previous control mode.
Connection
④ When the system is in the rigid tapping state, the manual movement tapping spindle cannot be
performed.
⑤ The rigid tapping state is cancelled in reset or emergency stop.
⑥ In M29, when the 1st or the 2nd spindle is currently used, it is switched into the rigid tapping state.
In rigid tapping, a spindle should be selected firstly to execute the rigid tapping interpolation. After
the spindle is switched into the rigid tapping state, the spindle switch is invalid.
⑦ After M29 is execute, M20 and the tapping command in the same block are executed to clamp
the spindle before drilling or tapping.
Relative commands
M20 Spindle clamping output
352
Chapter 2 Definition and Connection of Interface Signal
Control parameters
Status parameters
K 1 7 SCLP
SCLP =1:Spindle clamped function is valid。
=0:Spindle clamped function is invalid
D T 2 0 SCLPTIME
Spindle clamping/releasing command execution time (ms).
D T 2 3 SVF_DELEY
spindle is started to clamp, delay to reduce the spindle servo exciting time (ms).
Ⅲ
Relevant command
M14 Spindle shifts to the positioning control mode
Connection
M15 Spindle shifts back to speed control mode
Note: It is necessary to set the CS function of the spindle, and the spindle clamping equipment is matched with
the machine tool
Control parameters
Status parameters
353
GSK980TDi Turning CNC System User Manual
Signal diagnosis
Signal SP ST
Diagnosis address X9.1 X9.0
Interface pin CN78.6 CN78.7
Signal connection
The interior circuit of SP/ST signal is shown in Fig. 2-48:
354
Chapter 2 Definition and Connection of Interface Signal
Machine System
side side
Input
singnal
Fig. 2-48
Control parameter
Bit parameter
1 7 2 MST MSP
Bit 6 =1: External cycle start signal (ST) is invalid;
=0: External cycle start signal (ST) is valid;
Bit 5 =1: External stop signal (SP) is invalid;
=0: External stop signal (ST) is valid; the external feed hold switch is needed,
otherwise, “Feed hold” is displayed.
Ⅲ
Connection
ST
CN61 socket
Fig. 2-49
Signal connection
Its internal circuit is shown in Fig. 2-50:
355
GSK980TDi Turning CNC System User Manual
M09 is active, i.e. M08 is inactive, after CNC power on. To execute M08, M08 output is active and
cooling is turned on; to execute M09, M08 output is cancelled and cooling is turned off.
Note 1: M08 output is cancelled at CNC emergency stop.
Note 2: Whether M08 is cancelled is set by BIT3 of the bit parameter No.009 when CNC is reset.
When Bit1=0, M08 output is cancelled as CNC is reset;
When Bit1=1, M08 output is not cancelled as CNC is reset;
Note 3: There is no corresponding output signal for M09, and M08 output is cancelled if M09 is executed.
Note 4: The cooling can be controlled by the key on operation panel, see details in OPERATION.
Signal connection
The internal circuit is shown in Fig. 2-51:
Control parameter
PLC state parameter
K 1 0 RSJG
RSJG =1: when is pressed, CNC does not close M03, M04, M08, M32 output signal.
=0: when is pressed, CNC closes M03, M04, M08, M32 output signal.
356
Chapter 2 Definition and Connection of Interface Signal
Function description
The lubricating defined by standard PLC program for this GSK980TDi system has two types:
Non-automatic and automatic lubricating, which are set by parameter:
DT17 =0: Non-automatic lubricating (same as version before)
DT17>0: Automatic lubricating, lubricating time DT17 and lubricating interval time DT16
available
Press on the machine operator panel and the system executes the lubricating output,
pressing it again and the system cancels the output. Execute M32 and the system executes the
Ⅲ
output; execute M33 and the system stops it.
Connection
DT13>1: the system executes the timed lubricating output, and the output is executed by
pressing , and is cancelled when the output exceeds the one set by DT13. After the system
executes M32, the lubricating output is executed within the time set by DT13 and it is cancelled.
Execute M33 in the time set by No. 112 and the output is cancelled.
2. Automatic lubricating
When K16.2 is set to 1, the system executes the lubricating in the time set by DT17, and then
stops the output. After it keeps the stop in the time set by DT16, it executes the lubricating again
repetitively, and executes the cycle in turn. In automatic lubricating, M32, M33, on the machine
panel are valid, and the lubricating time is the one set by DT17.
Note 1: The lubricating output is disabled in emergency stop;
Note 2: K No.0.10 Bit1 sets whether the lubricating output is cancelled in reset:
Bit1=0: the lubricating output is disabled in reset;
Bit1=1: the lubricating output remains unchanged in reset.
Note 3: The lubricating position detectiong signal is duplicatedly usable with DEC4, therefore, when the
system uses the DEC4 signal, it is better to set the disabled lubricating position detection.
357
GSK980TDi Turning CNC System User Manual
Note 1: The key on the operation panel of GSK980TDi can replace DIQP input signal, and the
diagnosis address is X0026.6.
Signal diagnosis
Signal DIQP NQPJ WQPJ DOQPJ DOQPS
Diagnosis address X0.2 X3.4 X3.3 Y1.4 Y1.5
Interface pin CN61.3 CN61.40 CN61.41 CN62.13 CN62.14
Control parameter
K 1 2 RCKC CCHU NYQP SLSP SLQP
SLQP =1: Chuck control function is active;
= 0: Chuck control function is inactive;
SLSP =1: Check chuck clamping when the chuck function is active;
0: Does not check chuck clamping when the chuck function is active; if chuck is not
clamping, the spindle is disabled and an alarm is issued.
NYQP =1: Outer chuck mode; NQPJ is outer chuck releasing signal, WQPJ is outer chuck
Ⅲ
clamping signal
=0: Inner chuck mode; NQPJ is inner chuck clamping signal, WQPJ is inner chuck
Connection
releasing signal
CCHU =1: Check chuck in-position signal.
=0: Does not check chuck in-position signal.
RCKC =1: External chuck control is active during program running;
=0: External chuck control is inactive during program running;
D T 1 4
Chuck clamping command (M12) execution time (ms)
D T 1 5
Chuck released command (M13) execution time (ms)
DT0018
DT18 >0: Chuck clamping and releasing signals are pulse output, the pulse width is set by
DT18
=0: Chuck clamping and releasing signals are level output
Signal connection
The circuit of DOQPJ/DOQPS is shown in Fig. 2-52:
358
Chapter 2 Definition and Connection of Interface Signal
Fig. 2-52
Sequence
①When SLQP=1, SLSP=0, NYQP=0, CCHU=1, CNC chooses inner chuck mode, and chuck
in-position signal detecting is active:
DOQPS: chuck releasing output; WQPJ: releasing in-position signal;
DOQPJ: chuck clamping output; NQPJ: clamping in-position signal.
DOQPJ and DOQPS output high resistance at power on, when CNC detects that the chuck input
signal DIQP is active for the 1st time, DOQPJ is connected to 0V and chuck is clamped.
After M12 is executed, DOQPS (pin 14 of CN62) outputs high resistance, DOQPJ(pin 13 of
CN62) outputs 0V, chuck is clamped and CNC waits for NQPJ signal to be in-position.
After M13 is executed, DOQPJ (pin 13 of CN62) outputs high resistance, DOQPS(pin 14 of
CN62) outputs 0V, chuck is released and CNC waits for WQPJ signal to be in-position.
Input signal:
Output signal:
Ⅲ
Input signal:
Connection
Output signal:
Input signal:
359
GSK980TDi Turning CNC System User Manual
detects the chuck clamping in-position signal is active. In spindle running or auto cycle processing,
DIQP input signal is inactive. And DOQPS, DOQPJ is held on at CNC reset and emergency stop.
Connection
Note: For GSK980TDi, can replace DITW input signal, and the diagnosis address is X0026.5.
Signal diagnosis
Signal DITW DOTWJ DOTWS
Diagnosis address X0.4 Y2.5 Y2.6
Interface pin CN61.5 CN61.34 CN61.35
360
Chapter 2 Definition and Connection of Interface Signal
Control parameter
State parameter
K 1 3 RTSC SPTW SLTW
SLTW =1: Tailstock function active.
=0: Tailstock function inactive.
SPTW =1: No interlock between spindle rotation and tailstock advancing and retracting, tailstock
may be moved regardless of the spindle, or spindle may run regardless of tailstock;
=0: Interlock between spindle rotation and tailstock advancing and retracting, tailstock
retraction disabled as spindle is running, spindle disabled if tailstock does not
advance.
RTSC =1: External tailstock control is active when a program runs.
=0: External tailstock control is inactive when a program runs
Signal connection
The tailstock circuit is shown in Fig. 2-55:
Fig. 2-55
Ⅲ
Sequence (defined by standard PLC program)
Connection
The sequence of tailstock is shown in Fig. 2-56:
Tailstock advancing (DOTWJ) and retracting(DOTWS) are both inactive when power on; when
the tailstock input (DITW) is active for the 1st time, tailstock advancing is active; when it is active for
the 2nd time, tailstock retracting is active, so the DOTWJ/ DOTWS signal interlock is output
alternatively, i.e. The output changes each time the DITW signal is active. If M10 is executed, DOTWJ
(CN62.34) outputs 0V and tailstock advances; if M11 is executed, DOTWS (CN62.35) outputs 0V and
tailstock retracts.
DITW signal is inactive as spindle is running. If M11 is executed, alarm will be issued, and its
361
GSK980TDi Turning CNC System User Manual
output are held on. And DOTWS, DOTWJ outputs are held on at CNC reset or emergency stop.
Signal diagnosis
Signal PRES
Diagnosis address X0.6
Interface pin CN61.7
Control parameters
State parameter
K 1 4 SPB3 PB3
PB3 =0: Low pressure detection inactive.
=1: Low pressure detection active.
SPB3 =0: Low pressure alarm issued when PRES is connected with +24V.
=1: Low pressure alarm issued when PRES is connected with 0V.
PLC data parameter
D T 0 2 PEALMTIM
PEALMTIM: Waiting time before low pressure alarm(0~60000ms)
Function description
①When PB3=1 and SPB3=0, PRES is connected to +24V, which is confirmed to be low pressure
alarm by CNC;
Ⅲ
②When PB3=1 and SPB3=1, PRES is connected to 0V, which is confirmed to be low pressure
Connection
alarm by CNC;
③When low pressure alarm detection function is selected, once CNC detects the low pressure
alarm signal PRES to be active, and the signal holding time is over the setting by the data parameter
No.069 alarm is issued by CNC. And the axis feed is held, spindle is stopped, cycle start is disabled,
Signal diagnosis
Signal HPST
Diagnosis address Y3.1
Interface pin CN62.38
362
Chapter 2 Definition and Connection of Interface Signal
Control parameter
PLC state parameter
K 1 4 HPST
PB3 =0: the hydraulic control function is disabled.
=1: the hydraulic control function is enabled.
Function description
① When the hydraulic control function is enabled, pressing can control HPST output to
start the hydraulic motor.
② In non-run, the spindle stop with the speed 0, pressing can disable HPST output.
③ When the hydraulic control function enables and the hydraulic motor is started, the system
alarm, at the time, the spindle cannot rotate.
Signal diagnosis
Signal SAGT SLK
Diagnosis address X0.0 Y2.7
Interface pin CN61.1 CN62.36
Control parameter
Ⅲ
Connection
PLC status parameters
K 1 4 SLK SGSP SPB4 PB4
PB4 =0: Protection door detection function is invalid;
=1: Protection door detection function is valid;
SPB4 =0: When SAGT is at low level (disconnect with +24V), the protection door is closed;
=1: When SAGT is at high level (connected with +24V), the protection door is closed;
SGSP =0: Spindle is disabled when the protection door is open;
=1: Spindle is not disabled when the protection door is open;
SLK =0: (980TDi-H) defense door disabled.
=1: (980TDi-H) defense door enabled.
PLC data parameter
D T 2 8
Delay the controllable time (ms) of the defense door close
363
GSK980TDi Turning CNC System User Manual
③ In Auto mode, if CNC detects the safety door is open, alarm is issued as cycle starts;
④ In Auto running, if CNC detects the safety door is open, the axis feed is held, and alarm is
issued by CNC;
⑤ The safety door detection function is only active in Auto mode;
⑥ When the defense door lock function is enabled, in the Auto/MDI mode, the program should
be at the dwell state by opening the door lock pressing the “safety door” button on the panel.
Firstly close the spindle and cooling pressing the defense door lock button on the panel; the
defense door lock output when detecting that the spindle rotation speed is zero; in this case,
the defense door can be opened. The feed dwells when opening the lock by M18, the others
are consistent with the buttons on the button.
⑦ The spindle or cooling will not be closed in Manual/MPG mode.
⑧ Defense door lock controllable output, close the door lock controllable output after delaying
the DT28 setting time. When the defense door becomes close state from the open state, the
door lock controllable outputs are entirely closed regardless of the DT28 timing is performed
or not.
Signal diagnosis
Connection
364
Chapter 2 Definition and Connection of Interface Signal
Related parameters
PLC state parameter
K 1 6 ROVI SOVI
ROVI =0: External feedrate override does not inverse.
=1: External feedrate override inverses.
SOVI =0: External feedrate override switch is disabled.
=1: External feedrate override switch is enabled.
Function description
1. When the external feedrate override switch is selected, the button on the panel is disabled.
2. When the external feedrate override inverses, the system changes the direction of the
override regulation.
Ⅲ
2.9.22 External MPG
Connection
Related signals
PLC Address
CN31(MPG) Function Remark
address character
5 X6.0 EHDX X MPG
6 X6.1 EHDY Y MPG
8 X6.2 EHDZ Z MPG
Applied
19 X7.0 EHD4 4th MPG
toPSG-100-05E/L,
7 X7.1 EHD5 5th MPG
ZSSY2080 MPG
9 X6.3 EMP0 Increment ×1
22 X6.4 EMP1 Increment ×10
23 X6.5 EMP2 Increment ×100
11, 12, 13 GND
14,15 +5V
17,18 +24V
Related parameters
State parameter
365
GSK980TDi Turning CNC System User Manual
0 0 1 MPG
Bit3 =0: Step working mode.
=1: MPG working mode.
PLC status parameters
K 1 6 SINC
SINC =0: When the system increment is 0.1μ, gear ×1000 in MPG and STEP mode is valid;
=1: When the system increment is 0.1μ, gear ×1000 in MPG and STEP mode is invalid;
K 2 0 DBMPG1 DBMPG0
DBMPG 0 Dual-MPG function selection bit 0; 00: Disabled 01: Enabled, as well the MPG
1 fixes the X axis and the MPG 2 fixes the Z axis, the shared step-length can be selected;
DBMPG 1 Dual-MPG function selection bit 1; 10: It is enabled and its panel button is only
enabled by MPG 1; external MPG input is only enabled by MPG 2.
Function description
① MPG/STEP mode ×1000-gear selection is disabled. When x1000-gearis selected before
modifying the parameter, the system automatically changes into ×100-gear;
② When the external MPG, its axis selection does not lock, that is, the axis selection of MPG is
disabled, the system changes to the non-axis selection state.
③ When the external MPG axis selection and gear selection input are enabled, the axis selection
on the panel and the gear selection keys are disabled; when the external MPG axis selection and
gear selection input are disabled, the axis selection on the panel and the gear selection keys are
enabled and self-locked.
④ When the dual-MPG is enabled, which can be selected the dual-MPG controllable mode by
Ⅲ
axis; the step-length values of two MPGs are identical, which can be adjusted by step-length on
the panel or external step-length input signal.
⑥ When K20.1=1 K20.0=0, the panel MPG axis selection or step-length button only can be
controlled the MPG 1, and the external MPG input signal can be controlled the MPG 2.
366
Chapter 2 Definition and Connection of Interface Signal
Relevant commands
M34 Extended M function signal 1(EMOT1)outputs
M35 Extended M function signal 1(EMOT1)closes output
M36 Extended M function signal 2(EMOT2)outputs
M37 Extended M function signal 2(EMOT2)closes output
Control parameters
PLC parameters
K 1 8 EXTM RSTM
EXTM =0:extended M function is invalid.
=1:extended M function is valid.
RSTM =0:extended M function closes output when emergency stop, reset.
=1:extended M function remains output when emergency stop, reset.
Function explanation
1. When M34 is executed, extended M function 1 (EMOT1) outputs; when M35 is done, its output is
closed.
2. When M36 is executed, extended M function 2 (EMOT2) outputs; when M37 is done, its output is
closed.
3. Whether extended M function output is closed is set by K18.6 when emergency stop, reset.
Ⅲ
2.9.25 HOLD Control
Connection
Relevant signals(standard PLC program)
Signal Address Address Function
interface characters
CN62.03 Y0.2 HOLD HOLD release output
Control parameter
PLC state parameter
K 1 8 HOLD
HOLD =0:HOLD release control is invalid.
=1:HOLD release control is valid.
Function
1. After power-on, there is no emergency stop alarm or servo spindle alarm and the system delays 4S,
HOLD signal is output to release HOLD.
2. HOLD signal is closed when an emergency stop alarm or servo spindle alarm occurs.
367
GSK980TDi Turning CNC System User Manual
MPG
0 1 2
interruption
Bit1 1:Handle interrupt is valid;
0:Handle interrupt is invalid。
Function description
1. When the MPG interruption function is enabled, in the Edit/Auto/MDI mode, enter the MPG
interruption state by the MPG axis number on the selection panel after pressing the once,
the MPG interruption operation is then can be performed. The MPG interruption can be retracted
by pressing this button again.
2. In the Non-Edit/Auto/MDI mode, the MPG interruption state will be retreated.
3. Whether the MPG interruption is enabled that can be set by K19.5 during the operation of the
program.
4. The panel rapid traverse override can not be adjusted at the state of MPG interruption; the indicator
displays the MPG override state when the MPG override adjustment is enabled.
Relative signals
Signal Signal
Connection
Relevant parameters
PLCStatus parameters
K 1 3 CHIPR
CHIPR =1: Chip-removal control enabled.
=0: Chip-removal control disabled.
Function description
1. The reverse rotation of the chip-removal only can be performed the JOG by hand. If the
chip-removal is being rotated, firstly stop the positive rotation when the JOG reverse is performed.
2. When the chip-removal is positively rotated, press the chip-removal positive rotation by hand again,
and then it is closed.
3. Close the chip-removal rotation in the ESP resetting.
368
Chapter 2 Definition and Connection of Interface Signal
Ⅲ
Connection
Function description
① When the tool count is less than 10, the gear and the tool number separately use one LED to
display.
② When the tool count is more than 10, LED 1 displays 10-digit numbers and the LED 0
displays the single digits.
③ When the gear and the tool number are displayed in time-division, that is, the gear instead of
the tool number is firstly display, the tool number instead of the gear is displayed after 1.5S, and the
system executes them like the above cycle.
369
GSK980TDi Turning CNC System User Manual
Motor M Resistant R
Fuse FU
Ⅲ
Connection
370
Chapter 3 Parameters
CHAPTER 3 PARAMETERS
The CNC bit and data parameters are described in this chapter, various functions can be set by
these parameters. The major parameter data type are listed as follows:
Data type Range
(1) Bit
See relevant
(5) Word axis
parameters for
details
(6) Word spindle
Note: if the data type is not specified, the type is bit or word.
Ⅲ
Parameter No. BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
Connection
0 0 1 *** *** *** ACS MPG PROG ISC INI
Bit4 1: Spindle analog voltage control
0: Spindle switching volume control
Bit3 1: MPG mode
0: Step mode
Bit2 1: Programming by radius
0: Programming by diameter
Bit1 1: IS-C incremental system
0: IS-B incremental system
Least input increment,
Increment system Abbreviation
least command increment
0 0.001mm,0.0001inch IS-B
1 0.0001mm, 0.00001inch IS-C
Bit0 1: Inch input
0: Metric input
371
GSK980TDi Turning CNC System User Manual
372
Chapter 3 Parameters
Ⅲ
th th
Bit4~Bit0 1: The motor’s rotation diretion of the 5 , 4 , Y, Z and X axes are positive;
Connection
0: The motor’s rotation diretion of the 5th, 4th, Y, Z and X axes are negative;
Note: The movement direction of the machine tool is inconsistent with the actual direction,
which can be modified by adjusting this parameter.
0 0 9 *** *** *** 5ALM 4ALM YALM ZALM XALM
th th
Bit4~Bit0 1: Servo not ready alarm without detection of the 5 , 4 , Y, Z or X axis.
0: Servo not ready alarm detection of the 5th, 4th, Y, Z or X axis.
373
GSK980TDi Turning CNC System User Manual
0 0 1 0 1 6
0 0 1 1 0 7
0 0 1 1 1 8
0 1 0 0 0 9
0 1 0 0 1 10
0 1 0 1 0 11
0 1 0 1 1 12
0 1 1 0 0 13
0 1 1 0 1 14
0 1 1 1 0 15
0 1 1 1 1 16
1 0 0 0 0 17
1 0 0 0 1 18
1 0 0 1 0 19
1 0 0 1 1 20
1 0 1 0 0 21
1 0 1 0 1 22
1 0 1 1 0 23
1 0 1 1 1 24
1 1 0 0 0 25
1 1 0 0 1 26
1 1 0 1 0 27
1 1 0 1 1 28
1 1 1 0 0 29
1 1 1 0 1 30
1 1 1 1 0 31
Ⅲ
1 1 1 1 1 32
Connection
374
Chapter 3 Parameters
Ⅲ
1: 5th, 4th, Y, Z, X have the machine zeroes. The system needs to check the deceleration signal
and zero signal in executing the machine zero return
Connection
0: 5th, 4th, Y, Z, X have no machine zeroes. The system does not check the deceleration signal
and zero signal till it returns to the zero of machine coordinate in executing the machine zero return
375
GSK980TDi Turning CNC System User Manual
376
Chapter 3 Parameters
Ⅲ
1 8 1 RLC MRC ZCL CLMDI MCL M30&MDI DDP LCNMD
Connection
Bit7 1: G52 local coordinate system is cancelled after reset;
0: G52 local coordinate system is not cancelled after reset;
Bit6 1: G52 local coordinate system is cancelled after the execution of M30, M02;
0: G52 local coordinate system is not cancelled after the execution of M30, M02;
Bit5 1: G52 local coordinate system is cancelled after reference point return;
0: G52 local coordinate system is not cancelled after reference point return;
Bit4 1:When system reset,the program block of MDI are deleted
0:When system reset,the program block of MDI are not deleted
Bit3 1: Blocks edited in MDI mode are deleted after reset;
0: Block edited in MDI mode are not deleted after reset;
Bit2 1:After the execution of M02, M30,the program block of MDI are not deleted
0:After the execution of M02, M30,the program block of MDI are deleted
Bit1 1:The angle in CHF/CNR measurement-programe-inputing function was specified by
Supplementary one
0:The angle in CHF/CNR measurement-programe-inputing function was specified by Nornal
format
Bit0 1: In linear chamfering, L means the length between chamfering point and cross point;
0: In linear chamfering, L means the length of chamfering;
377
GSK980TDi Turning CNC System User Manual
Bit4 1: for 5th, press key to execute the machine zero return
Russian 1 1 0
Connection
378
Chapter 3 Parameters
Bit2 1: In rigid tapping cancel, do not wait for G61.0 to be 0 in executing the next block
0: In rigid tapping cancel, wait for G61.0 to be 0 in executing the next block
Ⅲ
Note: The parameter is invalid to setting of X, Z axis.
Connection
1 8 9 CTS *** APC APZ *** *** *** ***
[Data type]:Bit axis
Bit7 1:Each servo axis didn’t connect servo drive , it is necessary to restart;
0:Each servo axis connected servo drive , it is necessary to restart.
Bit5 1:The used encoder type of each axis is absolute encoder;
0:The used encoder type of each axis is incremental encoder。
Bit4 1:When each axis matches with an absolute encoder, the mechanical position and absolute
one are shown consistent;
0:When each axis matches with an absolute encoder, the mechanical position and absolute
one are shown inconsistent.
379
GSK980TDi Turning CNC System User Manual
Bit3 1:The system resets in the synchronization process reserve the synchronized control
Connection
0:The system resets in the synchronization process cancel the synchronization control
Bit2 1:In the synchronization procedure,in the G99 feed per revolution use the theoretical
revolving speed of workpiece\
0:In the synchronization procedure,in the G99 feed per revolution use the encoder feedback
revolving speed
CTHDN EXTRA
2 0 2 AAC *** *** AOT *** ***
OENC IO
Bit7 1:Circular screw interpolation adopts C axis interpolation mode.
0:Circular screw interpolation adopts follow spindle mode..
Bit6 1:Slope axis control enabled
0:Slope axis control disabled
Bit3 1:The soft-limit parameter of the slope axis sets to 0/1 when its axis control is enabled the
coordinate value under the rectangular coordinate system\
0:The soft-limit parameter of the slope axis sets to 0/1 when its axis control is enabled the
coordinate value under the slope coordinate system.
Bit0 1:Extended I/O unit linked is valid
0:Extended I/O unit linked is invalid\
380
Chapter 3 Parameters
0 1 9 THDCH
Ⅲ
[Data meaning] Run-out length in threading
Connection
[Data range] 0~225
Thread run-out width= THDCH×0.1×screw lead
0 2 1 PSANGNT
[Data type] Word spindle
[Data meaning]Voltage offset value when spindle max. speed analog voltage output is 10V
[Data unit] mV
[Data range] -2000~2000(Unit: mV)
0 2 2 RPDFn
[Data type] Word axis
[Data meaning]Maximum rapid traverse rate of all axes
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 10~99999999
381
GSK980TDi Turning CNC System User Manual
0 2 3 LINTn
[Data type] Word axis
[Data meaning] Acceleration/deceleration time constant of each axis during rapid traverse
[Data unit] ms
[Data range] 0~4000
0 2 6 THRDT
[Data meaning]ACC&DEC time constant of short axis in thread run-out
[Data unit] ms
[Data range] 0~4000
0 2 7 FEDMX
Data meaning] Upper limits of axis cutting feed
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C
Metric machine 10~30000 10~30000
Inch machine 5~11600 10~11600
0 2 8 THDFL
[Data meaning] X, Z initial speed in threading (mm/min)
Ⅲ
[Data unit]
Setting unit Data unit
Connection
0 2 9 FEEDT
[Data meaning] Exponential ACC&DEC time constant of cutting and manual feed
[Data unit] ms
[Data range] 0~4000
0 3 0 FEDFL
[Data meaning] Exponential acceleration start speed and deceleration end speed in cutting
feed
[Data unit]
382
Chapter 3 Parameters
0 3 1 JOGSPEED
[Data meaning] the set speed when the manual feedrate override is 100%
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 10~30000
0 3 2 RPDFLn
[Data type] Word axis
[Data meaning] Rapid traverse rate as axis rapid override is F0
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C
Ⅲ
Metric machine 0~4000 0~4000
Connection
Inch machine 0~1500 0~1500
0 3 3 ZRNFLn
[Data type] Word axis
[Data meaning] Low rate as axes return to machine zero
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C
Metric machine 6~4000 6~4000
Inch machine 3~1500 3~1500
0 3 4 BKLn
[Data type] Word axis
383
GSK980TDi Turning CNC System User Manual
0 3 6 SPDLC
[Data type] Word spindle
[Data meaning]Voltage offset for 0V analog voltage output of spindle min. speed code
[Data unit] mV
[Data range] -1000~1000
0 3 7 GRMAX1
0 3 8 GRMAX2
0 3 9 GRMAX3
0 4 0 GRMAX4
[Data meaning] GRMAX1, GRMAX2, GRMAX3, GRMAX4: Max. speeds of gear 1, 2, 3, 4
respectively when spindle analog voltage output is 10V (the function defined
by GSK980TDi PLC is: if the spindle automatic gearing is active, it uses the
speeds of M41, M42, M43, M44; if the automatic gearing is inactive or CNC is
Ⅲ
0 4 1 JOGFL
[Data meaning] Exponential ac-deceleration start speed and deceleration final speed in
manual feed
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 0~8000
0 4 2 SEQINC
[Data meaning] Block No. increment for auto block No. insertion
[Data range] 1~100
0 4 3 LOWSP
[Data meaning] (G96) Spindle min. speed under the constant surface speed control
384
Chapter 3 Parameters
0 4 4 BRATE0
[Data meaning] Serial communication baud rate,
[Data unit] bit/s
[Data range] 1200,2400,4800,9600,19200,38400 57600 115200
0 4 5 LT1X1
0 4 6 LT1Z1
[Data type] Word axis
[Data meaning] LT1X1(X),LT1Z1(Z)positive max. travel,LT1X2(X),LT1Z2(Z)negative max.
travel
[Data unit]
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
[Data range] -99999999~99999999
Note: If the BIT2 of the parameter No.001 is set for diameter, the X axis value is specified by diameter; if for
radius, the X axis value is specified by radius.
0 4 7 PRSn
[Data type] Word axis
[Data meaning] Setting value of absolute coordinate after machine zero return
[Data unit]
Ⅲ
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Connection
Inch input 0.0001 inch 0.00001 inch
[Data range] -99999999~99999999
0 5 1 MRCCD
[Data meaning] Each feeding for G71, G72 rough turning cycle, which may also be changed by
program code in auto running.
[Data unit]
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range]
IS-B IS-C
Metric input 1~99999 1~999999
Inch input 1~99999 1~999999
0 5 2 MRCDT
385
GSK980TDi Turning CNC System User Manual
[Data meaning] Each retraction for G71, G72 rough turning cycle, which may also be changed
by program code in auto running.
[Data unit]
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range] 0~99999
0 5 3 PECSCX
[Data meaning] X retraction amount in G73, which may be also changed by program code in
auto running.
[Data unit]
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range] -9999999~9999999
0 5 4 PECSCZ
[Data meaning] Z axis rough turning retraction in G73, which may also be changed by program
code in auto running
[Data unit]
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range] -9999999~9999999
Ⅲ
Connection
0 5 5 PATIM
[Data meaning] Cycle times of G73, which may also be changed by program code in auto
running
[Data unit] times
[Data range] 1~9999
0 5 6 GROVE
[Data meaning] Retraction value of Z axis in G74; retraction value of X axis in G75; a specified
value in program during automatic running can also change the setting of this
parameter;
[Data unit]
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range] 0~99999
0 5 7 THRPT
[Data meaning] Repetitions of G76 finish machining, which may also be changed by program
386
Chapter 3 Parameters
0 5 8 THANG
[Data meaning] Tool nose angle of G76 cycle, which may also be changed by program code in
auto running
[Data unit] deg
[Data range] 0~99
0 5 9 THCLM
[Data meaning] Min. cut depth of G76 cycle, which may also be changed by program code in
auto running
[Data unit]
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range]
IS-B IS-C
Metric input 0~99999 0~999999
Inch input 0~99999 0~999999
0 6 0 THDFN
[Data meaning] Finish allowance of G76, which may also be changed by program code in auto
running
Ⅲ
[Data unit]
Connection
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range]
IS-B IS-C
Metric input 0~99999 0~999999
Inch input 0~99999 0~999999
0 6 1 THDCUT
[Data type] Word
[Data meaning]The default cut-in selection in G78 cycle, when the program does not specify, the
parameter value is used for the cut-in selection.
0: Equidistant in-feed; 1: Degressive in-feed.
[Data range] 0~1
0 6 2 THDMOD
[Data type] Word
387
GSK980TDi Turning CNC System User Manual
0: Cutting edge is cut in along with the neutral cable of the thread teeth;
1: Cutting edge is cut in along the left of the thread teeth;
2: Cutting edge is cut in along the right of the thread teeth;
3: Cutting edge is cut in alternatively with left and right of the thread teeth.
[Data range] 0~3
0 6 7 SFTREV
[Data type] Word spindle
[Data meaning] Output voltage of spindle gearing
[Data unit] mV
[Data range] 0~10000
0 6 8 SJOGREV
[Data type] Word spindle
[Data meaning] spindle speed in manual (MPG) mode
[Data unit] r/min
[Data range] 0~3000
0 6 9 ENCODER_CSE
[Data type] Word spindle
[Data meaning]The corresponding spindle encoder number of each spindle.
0: without installing the encoder;
1: Spindle revolving signal comes from the encoder interface 1;
2: Spindle revolving signal comes from the encoder interface 2;
Ⅲ
0 7 0 ENCODER_CNT
[Data type] Word spindle
[Data meaning] Spindle encoder pulses
[Data unit] line/revolution
[Data range] 100~10000
0 7 1 RESET_TIME
[Data meaning] Output time of reset signal
[Data unit] ms
[Data range] 16~4080
0 7 2 SAR_DELEY
[Data meaning] Delay detecting time of SAR signal
[Data unit] ms
388
Chapter 3 Parameters
0 7 3 SPMOTORMAX
[Data type] Word spindle
[Data meaning] Max. spindle motor clamping speed, setting value=(max. spindle motor
clamping speed/max. spindle motor speed) ×4095
[Data unit] r/min
[Data range] 0~4095
Setting value =(max. clamp speed of spindle/max. speed of spindle motor)×4095.
0 7 4 SPMOTORMIN
[Data meaning] Min. spindle motor clamping speed, setting value=(min. spindle motor
clamping speed/max. spindle motor speed) ×4095
[Data unit] r/min
[Data range] 0~4095
Setting value =(min. clamping speed of spindle motor/max. speed of spindle motor)×4095
0 7 5 SPSPEEDLIMIT
[Data type] Word spindle
[Data meaning] Maximum spindle rev speed(0~6000r/min)[0:unlimited]
[Data unit] r/min
[Data range] 0~6000
Ⅲ
Connection
0 7 6 SPDLIMITEXT
[Data type] Word spindle
[Data meaning]The spindle speed limit when speed limit signal is active [Without restriction when it
is set to 0]
[Data unit] r/min
[Data range] 0~9999
0 7 7 FEEDLIMITEXT
[Data meaning]The feedrate limit when speed limit signal is active [Without restriction when it is set
to 0].
389
GSK980TDi Turning CNC System User Manual
[Data unit]
Setting unit Data unit
Machine in metric system mm/min
Machine in inch system 0.1inch/min
[Data range] 0~15000
IS-B IS-C
Machine in metric system 0~15000 0~15000
Machine in inch system 0~5800 0~5800
0 8 4 TMAX
[Data meaning] Total tools number selection
[Data unit] piece
[Data range] 1~32
0 8 6 MACALL_GVAL1
0 8 7 MACALL_GVAL2
0 8 8 MACALL_GVAL3
0 8 9 MACALL_GVAL4
0 9 0 MACALL_GVAL5
0 9 1 MACALL_GVAL6
0 9 2 MACALL_GVAL7
0 9 3 MACALL_GVAL8
0 9 4 MACALL_GVAL9
0 9 5 MACALL_GVAL10
Ⅲ
0 9 6 PECMINn
[Data type] Word axis
[Data meaning] Minimum pitch error compensation position number
[Data range] 0~1199
0 9 7 PECMAXn
[Data type] Word axis
[Data meaning] Maximum pitch error compensation position number
[Data range] 0~1199
0 9 8 PECORGn
[Data type] Word axis
[Data meaning] Pitch error compensation position numbers corresponding to machine zero
points
[Data range] 0~1199
390
Chapter 3 Parameters
0 9 9 PECINTn
[Data type] Word axis
[Data meaning]Pitch error compensation intervals
[Data unit]
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
[Data range]
IS-B IS-C
Metric machine 1000~999999 10000~9999999
Inch machine 400~999999 4000~9999999
1 0 0 LTMAX_2
1 0 1 LTMIN_2
[Data type] Word axis
[Data meaning]Stored stroke limit 2 of each axis, LTMAX_2 positive maximum stroke position,
LTMIN_2 negative maximum stroke position.
[Data unit]
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
[Data range] -99999999~99999999
1 0 2 LTMAX_3
1 0 3 LTMIN_3
Ⅲ
[Data type] Word axis
Connection
[Data meaning]Stored stroke limit 3 of each axis, LTMAX_3 positive maximum stroke position,
LTMIN_3 negative maximum stroke position.
[Data unit]
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
[Data range] -99999999~99999999
1 0 6 THD_SPD_VAR
[Data meaning] Spindle fluctuation alarm limit in threading (not detect spindle fluctuation alarm
if set to 0)
[Data unit] %
[Data range] 0~100
Formula=|current speed - previous period speed|×200/(current speed+previous period speed)
1 0 7 THD_TAIL_SPD
[Data meaning] Short axis speed in threading run-out (run-out by threading feedrate if set to 0)
391
GSK980TDi Turning CNC System User Manual
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 0~8000
1 0 9 SPL_REV_SPD
[Data meaning] Spindle jog speed (r/min)
[Data unit] r/min
[Data range] 1~8000
1 1 0 MGR
[Data type] Word spindle
[Data meaning] Gear ratio of encoder to spindle: spindle gear teeth number
[Data range] 1~255
1 1 1 SGR
[Data type] Word axis
[Data meaning] Gear ratio of encoder to spindle: encoder gear teeth number
[Data range] 1~255
1 1 3 REF_SPDn
[Data type] Word axis
[Data meaning] Axes rapid traverse rates in machine zero return
Ⅲ
[Data unit]
Setting unit Data unit
Connection
1 1 4 REF_OFFSETn
[Data type] Word axis
[Data meaning] Offset of each axis machine zero
[Data unit]
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range]
IS-B IS-C
Metric input -99999~99999 -999999~
999999
Inch input -99999~99999 -999999~
999999
392
Chapter 3 Parameters
1 1 9 KEY_P_NUM
[Data meaning] Number of active keys at a time
[Data unit] piece
[Data range] 2~5
1 2 0 REF1_COORDn
1 2 1 REF1_COORDn
1 2 2 REF2_COORDn
1 2 3 REF2_COORDn
[Data type] Word axis
[Data meaning] REF1_COORDn 1st reference point machine coordinates;
REF2_COORDn 2nd reference point machine coordinates;
REF3_COORDn 3rd reference point machine coordinates;
REF4_COORDn 4th reference point machine coordinates
[Data unit]
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range] -99999999~99999999
1 3 6 FPGA_JMP_XPL
[Data type] Word
[Data meaning]Tool offset testing input in method B, X plus direction test signal add
(0:invalid;20~27,30~37:add X2.0~X3.7)
Ⅲ
[Data range] 0, 20~27, 30~37
Connection
1 3 7 FPGA_JMP_XML
[Data type] Word
[Data meaning]Tool offset testing input in method B, X minus direction test signal add
(0:invalid;20~27,30~37:add X2.0~X3.7)
[Data range] 0, 20~27, 30~37
1 3 8 FPGA_JMP_ZPL
[Data type] Word
[Data meaning]Tool offset testing input in method B, Z plus direction test signal add
(0:invalid;20~27,30~37:add X2.0~X3.7)
[Data range] 0, 20~27, 30~37
1 3 9 FPGA_JMP_ZML
[Data type] Word
[Data meaning]Tool offset testing input in method B, Z minus direction test signal add
(0:invalid;20~27,30~37:add X2.0~X3.7)
393
GSK980TDi Turning CNC System User Manual
1 4 0 TWEAR_MAX
[Data meaning] + or – limit of each input wear in TOOL OFFSET&WEAR interface
[Data unit]
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range]
IS-B IS-C
Metric input 1~99999 1~999999
Inch input 1~99999 1~999999
1 4 1 AUTO_OFFSET_FEED
[Data meaning] Feedrate in automatic tool offset measure
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C
Metric machine 15~1000 15~1000
Inch machine 7~375 7~375
1 4 2 AUTO_OFFSET_Y_X
Ⅲ
1 4 3 AUTO_OFFSET_Y_Z
Connection
1 4 4 AUTO_OFFSET_E_X
1 4 5 AUTO_OFFSET_E_Z
[Data meaning] AUTO_OFFSET_E_X(X),AUTO_OFFSET_E_Z(Z)ε values in automatic tool
offset
[Data unit]
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
394
Chapter 3 Parameters
1 4 8 MULTISTAGE_SKIP1
1 4 9 MULTISTAGE_SKIP2
1 5 0 MULTISTAGE_SKIP3
1 5 1 MULTISTAGE_SKIP4
[Data type] Word
[Data meaning]Multilevel skip G31 P1~P4 or G04 Q1~Q4 signal detect address setting(0:no
effect; 20~27,30~37: address X2.0~X3.7)
[Data range] 0, 20~27, 30~37
1 5 4 RADIUS_ERR_RANGE
[Data meaning] Max. arc radius error
[Data unit]
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
[Data range]
IS-B IS-C
Metric machine 0~1000 0~10000
Inch machine 0~50 0~500
1 6 2 CSACCFL
[Data type] Word spindle
Ⅲ
[Data meaning] initial speed of CS acceleration/deceleration
Connection
[Data unit] deg/min
[Data range] 0~4000
1 6 3 CSACCTIME
[Data type] Word spindle
[Data meaning] acceleration/deceleration time constant of CS
[Data unit] ms
[Data range] 0~4000
1 6 4 CSMCODE
[Data type] Word spindle
[Data meaning]Spindle CS shifts the M code [Setting value +1 is the M code of the function
releasing].
Note 1: When the spindle positioning function is enabled, the M code is regarded as the
spindle positioning method shifint.
Note 2: The setting value should be set by the M code shifted based upon the CS compiled
in the ladder diagram.
395
GSK980TDi Turning CNC System User Manual
Note 3: The setting value is disabled when it is less than 6, the coordinate system will not be
cleared when the CS axis is shifted in the disabled state.
[Data range] 0~96
1 6 6 CAACCFL
[Data type] Word spindle
[Data meaning]initial speed of linear acceleration/deceleration in rigid tapping
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 0~4000
1 6 7 CAACCTIME
[Data meaning]linear acceleration/deceleration time constant in rigid tapping tool in-feed
[Data unit] ms
[Data range] 0~4000
1 6 9 RTAPBACKRATE
[Data meaning]override value in rigid tapping tool retraction (override is 100% when it is set to 0)
[Data unit] %
[Data range] 0~200
1 7 0 CMCODE
[Data meaning] M code used for spindle clamping during rigid tapping
Ⅲ
[Data unit]
[Data range] 3~97
Connection
1 7 3 CALCODE
[Data meaning] Take count of machining piece M code (0:defined M99 & M30)
[Data unit]
[Data range] 0~97
1 9 1 POSERR_SERVO
[Data type] Word axis
[Data meaning]Servo axes position error value when running speed 1m/min
[Data unit]
[Data range] 0~99999999
1 9 7 EGB_MASTERAX
[Data meaning]In the synchronized control, the corresponding system axis number of the master
axis
[Data unit]
[Data range] 0~5
396
Chapter 3 Parameters
1 9 8 EGB_SLAVEAX
[Data meaning]In the sychronized control, the corresponding axis number of the slave axis
[Data unit]
[Data range] 0~5
Setting value meaning
0 disabled
1~5 the 1st feed axis ~ the 5th
axis
2 1 9 PLCDIDOn
[Data type] Word axis
[Data meaning] Select DI/DO according to PLC controlled axes (0 means PLC axis control is
not applied)
[Data unit]
[Data range] 0~4
2 2 0 SP_SERVOn
[Data type] Word spindle
[Data meaning]The corresponding interface number of each spindle output
[Data unit]
[Data range] 0~14
Ⅲ
Setting value meaning
Connection
2 analog spindle interface 2
1 analog spindle interface 1
0 Disabled analog spindle output
11~14 extension IO unit analog output
interface; 1~4
2 2 1 SP_SP_CSAXIS
[Data type] Word spindle
[Data meaning]The functions such as the feed axis number and CS axis, etc. related with each
spindle should be set.
[Data unit]
[Data range] 0~5
Setting value meaning Setting value meaning Setting value meaning
0 Nothing 2 Z axis 4 4th axis
1 X axis 3 3rd axis 5 5th axis
2 2 5 NAME_n
397
GSK980TDi Turning CNC System User Manual
2 3 0 ATTRIB_n
[Data meaning] ATTRIB_n is the additional attribution setting
[Data range] 0~7
Setting value Meaning
0 It is neither the three basic axes and an axis parallel to them
1 X axis of the three basic axes
2 Y axis of the three basic axes
3 Z axis of the three basic axes
5 An axis parallel to X
6 An axis parallel to Y
7 An axis parallel to Z
2 3 5 POLARLINEAXIS
[Data meaning] Linear axis setting of the polar coordinate interpolation
[Data range] 0~4
Setting value Meaning
0 X axis
Ⅲ
1 Z axis
2 Y axis
Connection
3 4th axis
4 5th axis
2 3 6 POLARTOSAXIS
[Data meaning] Rotary axis setting of the polar coordinate interpolation
[Data range] 2~4
Setting value Meaning
2 Y axis
3 4th axis
4 5th axis
2 3 7 ACCEPTANGLEERR
[Data meaning] Maximum fluctuating value when the angle is 0°or 180°for C tool offset C
[Data range]
IS-B IS-C
0~1000 0~10000
398
Chapter 3 Parameters
2 4 0 HWRPDFRATE
[Data meaning] Rapid traverse override of MPG trial cut function
[Data range] 0~100
2 4 1 HWPULSEINC
[Data meaning] Movement amount per pulse during trial cut function
[Data range] 0~100
2 4 3 CNC_MPG_NUM
[Data meaning] Quantity of MPG
[Data range] 1~2
2 4 4 MPG1_INTERFACE
2 4 5 MPG2_INTERFACE
[Data meaning] MPG interface of MPG 1,2
[Data range] 0~1
Setting value Meaning
0 Rear cover MPG interface 1 (CN31)
1 Rear cover MPG interface 2(CN32)
2 4 9 ABSPOSERR
[Data type] Word axis
[Data meaning]When an absolute encoder is equipped with each axis, the Max. position error value
allows when the coordinate system is set up with power-on.
Ⅲ
[Data unit]
Setting unit IS-B IS-C
Connection
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range] 0~999999
399
GSK980TDi Turning CNC System User Manual
400
Chapter 3 Parameters
Ⅲ
Bit6 1: the spindle contour control is disabled in emergency stop, reset;
Connection
0: the spindle contour control is enabled in emergency stop, reset.
Bit5 1: the spindle eight-point orientation function is enabled;
0: the spindle eight-point orientation function is disabled.
Bit3 1: the spindle gear power-down memory;
0: the spindle gear power-down does not execute the memory.
Bit2 1: the gear in-position signal M41I, M42I which are not connected with +24V is enabled;
0: the gear in-position signal M41I, M42I which are connected with +24V is enabled.
Bit1 1: when the spindle automatic gear change is to Gear 1, 2, the system checks the gear
change in-position signal M41I, M42I;
0: when the spindle automatic gear change is to Gear 1, 2, the system does not check the
gear change in-position signal M41I, M42I.
Bit0 1: the spindle automatic gear change function is enabled;
0: the spindle automatic gear change function is disabled
401
GSK980TDi Turning CNC System User Manual
0: When spindle stop command is in the same block with movement command, movement
command comes first to spindle stop command;
Bit4 1: When cooling OFF command and movement command are in the same block, they are
executed at the same time;
0: When cooling OFF command and movement command are in the same block, movement
command comes first to the cooling OFF command;
Bit2 1: the lubricating outputs in power-on when the automatic lubricating is enabled;
0: the lubricating does not output in power-on when the automatic lubricating is enabled.
Bit1 1: the external feedrate override inverses;
0: the external feedrate override does not inverse.
Bit0 1: the external feedrate override switch is enabled
0: the external feedrate override switch is disabled.
402
Chapter 3 Parameters
DBMPG DBMPG
K 2 0 *** *** *** *** *** ***
1 0
Bit 1 Dual-MPG function selection bit 1: 10: It is enabled and only the MPG 1 on the panel button
is enabled, as well only the MPG 2 is enabled of the external MPG input.
Bit 0 Dual-MPG function selection bit 0: 00 Disabled 01: It is enabled and the MPG 1 fixes the X
axis, and the MPG2 fixes the Z axis, and the step-length can be selectecd;
3.1.3.2 DT Parameter
Address Meaning
Time for original gear disabling during spindle automatic
DT000
gear changing (ms)
DT001 Delay time after the changed spindle gear is in position (ms)
DT002 Detection time for low pressure alarm (ms)
DT004 Permit time for tool changing (ms)
DT005 M command execution time (ms)
DT006 S command execution time (ms)
DT007 Delay time for tool post from CW to CCW output (ms)
DT008 Tool post lock signal detection time (ms)
DT009 Tool post CCW rotation lock time (ms)
Ⅲ
DT010 Spindle braking delay output time (ms)
DT011 Spindle braking output time (ms)
Connection
DT012 Spindle JOG time (ms)
DT013 Time for manual lubricating ON (0: time is not limited) (ms)
DT014 Chuck clamping command execution time (ms)
DT015 Chuck unclamping command execution time (ms)
Interval of automatic lubricating (ms) (can be modified
DT016
directly)
Time for automatic lubrication output (ms) (can be modified
DT017
directly)
DT018 Chuck pulse output width (ms) (can be modified directly)
DT020 Spindle clamping/unclamping time (ms)
DT021 Spindle stop, chuck enable delay time (ms)
Delay time before spindle motor torque decreases to 0 after
DT023
spindle starts clamping
DT024 Spindle CS shifting or positioning shifting allowable time (ms)
403
GSK980TDi Turning CNC System User Manual
3.1.3.3 DC Parameters
Address Meaning
DC000 Spindle zero speed output range (r/min)
DC001 Spindle revolving-speed arrival output range (r/min)
0: Alarm detection when servo does not ready of the 5th, 4th, Y, Z or X axis.
Ⅲ
1 7 5 SPFD
Connection
404
Chapter 3 Parameters
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 10~99999999
0 2 3 LINTn
[Data type] Word axis
[Data meaning]Acceleration/deceleration time constant value
[Data unit] ms
[Data range] 10~4000
0 2 7 FEDM
[Data meaning] Upper limit of cutting feedrate
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C
Metric machine 10~30000 10~30000
Inch machine 5~11600 10~11600
0 2 9 FEEDT
[Data meaning] Acceleration/deceleration time constant during cutting feed and manual feed
Ⅲ
[Data unit] ms
Connection
[Data range] 0~4000
0 3 0 FEDFL
[Data meaning] The starting speed of cutting feed
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C
Metric machine 0~8000 0~8000
Inch machine 0~3000 0~3000
0 3 1 JOGSPEED
[Data meaning] Set speed when manual feedrate override is 100%
[Data unit]
Setting unit Data unit
405
GSK980TDi Turning CNC System User Manual
0 3 2 RPDFLn
[Data type] Word axis
[Data meaning] The rapid traverse rate when the override is F0
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C
Metric machine 0~4000 0~4000
Inch machine 0~1500 0~1500
0 4 1 JOGFL
[Data meaning]Exponential ac-deceleration start speed and deceleration final speed in manual feed
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 0~8000
0 7 7 FEEDLIMITEXT
Ⅲ
[Data meaning]The feedrate limit when speed limit signal is active [It is not restricted when setting
Connection
to 0.]
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 0~15000
IS-B IS-C
Metric machine 0~15000 0~15000
Inch machine 0~5800 0~5800
406
Chapter 3 Parameters
CPF6~CPF1: Setting values of backlash offset pulse frequency (by BCD code)
The set frequency =(setting value+1) Kpps
CPF5 CPF4 CPF3 CPF2 CPF1 Set frequency(Kpps)
0 0 0 0 0 1
0 0 0 0 1 2
0 0 0 1 0 3
0 0 0 1 1 4
0 0 1 0 0 5
0 0 1 0 1 6
0 0 1 1 0 7
0 0 1 1 1 8
0 1 0 0 0 9
0 1 0 0 1 10
0 1 0 1 0 11
0 1 0 1 1 12
0 1 1 0 0 13
0 1 1 0 1 14
0 1 1 1 0 15
0 1 1 1 1 16
1 0 0 0 0 17
1 0 0 0 1 18
1 0 0 1 0 19
1 0 0 1 1 20
1 0 1 0 0 21
1 0 1 0 1 22
Ⅲ
1 0 1 1 0 23
1 0 1 1 1 24
Connection
1 1 0 0 0 25
1 1 0 0 1 26
1 1 0 1 0 27
1 1 0 1 1 28
1 1 1 0 0 29
1 1 1 0 1 30
1 1 1 1 0 31
1 1 1 1 1 32
0 1 1 BDEC BD8
BDEC 1: Backlash offset type B, the offset data are output by ascending or
descending type and the set frequency is inactive;
0: Backlash offset type A, the offset data are output by the set frequency (by bit parameter
No.010) or 1/8 of it;
BD8 1: Backlash offset is done by the 1/8 of the set frequency;
0: Backlash offset is done by the set frequency;
407
GSK980TDi Turning CNC System User Manual
0 3 4 BKLn
[Data type] Word axis
[Data meaning] BKLX(X axis),BKLZ(Z axis)backlash compensation.
[Data unit]
Set unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
Data range 2000 20000
0 9 6 PECMINn
[Data type] Word axis
[Data meaning] Minimum pitch error compensation number
[Data range] 0~1023
0 9 7 PECMAXn
[Data type] Word axis
[Data meaning] Maximum pitch error compensation number
[Data range] 0~1023
0 9 8 PECORGn
[Data type] Word axis
[Data meaning] Pitch error compensation number corresponding to machine zero
Ⅲ
0 9 9 PECINTn
[Data type] Word axis
[Data meaning] Pitch error compensation intervals
[Data unit]
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
[Data range]
IS-B IS-C
Metric machine 1000~999999 10000~9999999
Inch machine 400~999999 4000~9999999
408
Chapter 3 Parameters
0 4 5 LT1n1
0 4 6 LT1n2
[Data type] Word axis
[Data meaning] LT1n1: Maximum stroke on positive direction; LT1n2: Maximum stroke on
negative direction
[Data Unit]
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
[Data range] -99999999~99999999
Note: When bit 2 of parameter No. 001 set diameter programming, X axis is set by diameter system; when bit 2 set
radius programming, X axis is set by radius system.
Ⅲ
1 0 0 LTMAX_2
Connection
1 0 1 LTMIN_2
[Data type] Word axis
[Data meaning]Stored stroke limit 2 of each axis, LTMAX_2 top stroke position along with the
positive direction, LTMIN_2 top stroke position along with the negative direction.
[Data unit]
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
[Data range] -99999999~99999999
1 0 2 LTMAX_3
1 0 3 LTMIN_3
[Data type] Word axis
[Data meaning]Stored stroke limit 3 of each axis, LTMAX_3 top stroke position along with the
positive direction, LTMIN_3 top stroke position along with the negative direction.
[Data unit]
409
GSK980TDi Turning CNC System User Manual
PLC parameter
D T 0 2 PEALMTIM
[Data meaning] Under-pressure alarm detection time
[Data unit] ms
[Data range] 0~2147483647
D T 2 1 PSANGNT
[Data meaning] Chuck operation delay time after spindle stop;
[Data unit] ms
[Data range] 0~2147483647
0 0 5 PPD
Bit1 1: Relative and absolute coordinate set together for absolute setting and reference return by
G50
Ⅲ
0: Only absolute coordinate set for absolute setting and reference point by G50
Connection
410
Chapter 3 Parameters
0: Direction key should be held on in zero return with direction key unlocked.
Bit1 1:Ref.C mode,the feeding slowdown when press down switch, it moves negatively after
decelerating.
0:Ref.C mode,the feeding slowdown when release switch, it moves negatively after
decelerating.
Bit4 1: For the 5th axis, press to execute machine zero return;
0: For the 5th axis, press to execute machine zero return(has not defined the press key
in the standard PLC)
Bit3 1: For the 4th axis, press to execute the machine zero return;
Ⅲ
0: For the 4th axis, press to execute the machine zero return.
Connection
Bit2 1: For Y axis, press to execute the machine zero return;
0: when Y, 4th, 5th are rotary axis, the zero return use A, B,C mode( need to power-on again).
411
GSK980TDi Turning CNC System User Manual
0 3 3 ZRNFLn
[Data type] Word axis
[Data meaning] Lowest speed rate of X,Z machine zero return.
[Data unit]
Set unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C
Metric machine 6~4000 6~4000
Inch machine 3~1500 3~1500
0 4 7 PRSn
[Data type] Word axis
[Data meaning] Setting value of absolute coordinate after machine zero return is performed
[Data unit]
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range] -99999999~99999999
1 1 3 REF_SPDn
[Data meaning] high-speed of each axis machine zero return.
[Data unit]
Ⅲ
1 1 4 REF_OFFSETn
[Data type] Word axis
[Data meaning] Offset value of each axis machine zero point
[Data unit]
Set unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range]
IS-B IS-C
Metric input -99999~99999 -999999~999999
Inch input -99999~99999 -999999~999999
1 2 0 REF1_COORDn
1 2 1 REF2_COORDn
412
Chapter 3 Parameters
1 2 2 REF3_COORDn
1 2 3 REF4_COORDn
[Data type] Word axis
[Data meaning]REF1_COORDn machine coordinates of 1st reference point of each axis;
REF2_COORDn machine coordinates of 2nd reference point of each axis;
REF3_COORDn machine coordinates of 3rd reference point of each axis;
REF4_COORDn machine coordinates of 4th reference point of each axis.
[Data unit]
Set unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
[Data range] -99999999~99999999
0 1 9 THDCH
[Data meaning] thread run-out length in thread cutting.
Ⅲ
[Data range] 0~225
Thread run-out width=THDCH×0.1×thread lead
Connection
0 2 6 THRDT
[Data meaning] short acceleration/deceleration time constant in thread run-out.
[Data unit] ms
[Data range] 0~4000
0 2 8 THDFL
[Data meaning] X, Z initial speed in thread cutting.
[Data unit]
Set unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 6~8000
1 0 6 THD_SPD_VAR
[Data meaning]Spindle fluctuation alarm limit in threading (not detect spindle fluctuation alarm if set
to 0)
413
GSK980TDi Turning CNC System User Manual
[Data unit] %
[Data range] 0~100
Formula=|current speed - previous period speed|×200/(current speed+previous period speed)
1 0 7 THD_TAIL_SPD
[Data meaning]Short axis speed in threading run-out (run-out by threading feedrate if set to 0)
[Data unit]
Set unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 0~8000
K 1 0 RSJG
RSJG 1: when the reset is pressed, CNC does not close M03,M04,M08,M32 output signal;
0: when the reset is pressed, CNC closes M03, M04, M08, M32 output signal
0 2 1 PSANGNT
[Data meaning] voltage offset offset value when the analog voltage outputs 10V.
[Data unit] mV
Ⅲ
0 3 6 SPDLC
[Data meaning] voltage offset offset value when the analog voltage outputs 10V.
[Data unit] mV
[Data range] -1000~1000
0 3 7 GRMAX1
0 3 8 GRMAX2
0 3 9 GRMAX3
0 4 0 GRMAX4
[Data meaning] GRMAX1, GRMAX2, GRMAX3, GRMAX4: Max. speeds of spindle gear 1, 2,
3, 4 respectively when analog voltage output is 10V (function defined by
GSK980TDi PLC: if the spindle automatic gearing is active, they are the
speeds of M41, M42, M43, M44; if the automatic gearing is inactive or CNC is
powered on, the gears are memorized by parameter setting or the gear 1 is
defaulted.)
[Data unit] r/min
414
Chapter 3 Parameters
0 6 8 SJOGREV
[Data meaning] spindle rotary axis speed in Manual (MPG) mode.
[Data unit] r/min
[Data range] 0~3000
0 6 9 ENCODER_CSE
[Data type] Word spindle
[Data meaning]The corresponding spindle encoder number of each spindle。
0: without installing the encoder;
1: Spindle revolving signal comes from the encoder interface 1;
2: Spindle revolving signal comes from the encoder interface 2;
3: Spindle revolving signal comes from the GSKLINK bus
[Data range] 0~3
0 7 0 ENCODER_CNT
[Data meaning] spindle encoder lines.
[Data unit] line/r
[Data range] 100~10000
Ⅲ
0 7 2 SAR_DELEY
Connection
[Data meaning] spindle speed arrival signal delay check time.
[Data unit] ms
[Data range] 0~4080
0 7 3 SPMOTORMAX
[Data meaning] max. clamp speed of spindle motor speed.
[Data unit] r/min
[Data range] 0~4095
Setting value=(max. clamp speed of spindle motor/its max. speed)×4095.
0 7 4 SPMOTORMIN
[Data meaning] min. clamp speed of spindle motor speed.
[Data unit] r/min
[Data range] 0~4095
Setting value=(min. clamp speed of spindle motor/its min. speed)×4095.
415
GSK980TDi Turning CNC System User Manual
0 7 5 SPSPEEDLIMIT
[Data meaning] max. spindle speed [0: not limit speed].
[Data unit] r/min
[Data range] 0~6000
0 7 6 SPDLIMITEXT
[Data type] Word spindle
[Data meaning]The spindle speed limit when speed limit signal is active [It is not restricted when
setting to 0]
[Data unit] r/min
[Data range] 0~9999
1 0 9 SPL_REV_SPD
[Data meaning] rotary speed in spindle jog.
Ⅲ
1 1 0 MGR
[Data type] Word spindle
[Data meaning] Gear ratio of encoder to spindle: spindle gear teeth number
[Data range] 1~255
1 1 1 SGR
[Data type] Word axis
[Data meaning] Gear ratio of encoder to spindle: encoder gear teeth number
[Data range] 1~255
416
Chapter 3 Parameters
Ⅲ
0:In the synchronization procedure,in the G99 feed per revolution use the encoder feedback
revolving speed
Connection
2 2 0 SP_SERVOn
[Data type] Word spindle
[Data meaning]The corresponding interface number of each spindle output
[Data unit]
[Data range] 0~14
Setting value meaning
2 analog spindle interface 2
1 analog spindle interface 1
0 Disabled analog spindle output
11~14 extension IO unit analog output
interface; 1~4
2 2 1 SP_SP_CSAXIS
[Data type] Word spindle
[Data meaning]The functions, such as the feed axis number, CS axis related to each axis must be
set.
417
GSK980TDi Turning CNC System User Manual
[Data unit]
[Data range] 0~5
Setting value meaning Setting value meaning Setting value meaning
0 Nothing 2 Z axis 4 4th axis
1 X axis 3 3rd axis 5 5th axis
0 0 4 ORC PROD
ORC 1: Tool offset by radius
0: Tool offset by diameter
PROD 1: Programming position for RELATIVE display
Ⅲ
0 1 2 DOFSI
DOFSI 1: Trial tool setting active
0: Trial tool setting inactive
418
Chapter 3 Parameters
0 1 2 ALM&
PRG
Bit3 1: Program editing allowed during CNC alarming
0: Program editing unallowed during CNC alarming
Ⅲ
0:Boot dispaly if custom page setted to display fault page
Connection
Bit2 1:Display custom page display
0:Display custom page hide
Bit0 1: DIS TO GO displayed in POS&PRG page
0: RELATIVE POS displayed in POS&PRG page
419
GSK980TDi Turning CNC System User Manual
Portugal 0 1 0
Spanish 0 1 1
Russian 1 1 0
2 4 3 CNC_MPG_NUM
[Data meaning] Quantity of MPG
[Data range] 1~2
2 4 4 MPG1_INTERFACE
2 4 5 MPG2_INTERFACE
[Data meaning] MPG interface of MPG 1,2
[Data range] 0~1
Setting value Meaning
0 Rear cover MPG interface 1 (CN31)
1 Rear cover MPG interface 2(CN32)
420
Chapter 3 Parameters
2 1 9 PLCDIDOn
[Data type] Word axis
[Data meaning] Select DI/DO in PLC axis control PLC
[Data unit]
[Data range] 0~4
Ⅲ
1 5 0 MULTISTAGE_SKIP3
1 5 1 MULTISTAGE_SKIP4
Connection
[Data type] Word
[Data meaning]Multilevel skip G31 P1~P4 or G04 Q1~Q4 signal detect address setting(0:no
effect; 20~27,30~37: address X2.0~X3.7)
[Data range] 0、20~27, 30~37
1 4 1 AUTO_OFFSET_FEED
[Data meaning] feedrate in automatic tool compensation measure.
[Data unit]
Set unit Data unit
Metric machine mm/min
421
GSK980TDi Turning CNC System User Manual
1 4 4 AUTO_OFFSET_E_X
1 4 5 AUTO_OFFSET_E_Z
[Data meaning] AUTO_OFFSET_E_X(X),AUTO_OFFSET_E_Z(Z)ε value in automatic tool
offset.
Note: The function needs the automatic tool setting device.
422
Chapter 3 Parameters
IS-B IS-C
Metric machine 0~1000 0~10000
Inch machine 0~50 0~500
Ⅲ
Bit0 1: When the additional axis is rotary, cycle function of the absolute coordinate is valid;
Connection
0: When the additional axis is rotary, cycle function of the absolute coordinate is invalid
(power-on again).
Note: This parameter is invalid to axes X and Z.
2 2 5 NAME_n
[Data type] Word axis
[Data meaning]axis name definitions
[Data range] 65, 66, 67, 88, 89, 90
Axis name Setting value Axis name Setting value Axis name Setting value
X 88 A 65 C 67
Z 90 B 66 Y 89
2 3 0 ATTRIB_n
[Data type] Word axis
[Data meaning] The properties of each axis in coordinate system
[Data range] 0~7
Setting value Meaning
0 Neither the basic three axes nor the parallel axis
423
GSK980TDi Turning CNC System User Manual
1 9 5 SSPD
Bit7 1:series spindle controllable function enabled (series spindle The slave ID number of the
spindle 1~3 is 11~13) , it is necessary to restart;
0:series spindle controllable function disabled (analogy spindle), it is necessary to restart.
2 4 9 ABSPOSERR
[Data type] Word axis
Ⅲ
[Data meaning]When an absolute encoder is equipped with each axis, the Max. position error value
Connection
424
Chapter 4 Machine Debugging methods and Modes
Fig. 4-1
So the BIT3 (ESP) of bit parameter No.172 should be set to 0.
Ⅲ
The diagnostic message DGN000.7 monitors the emergency stop input signal.
In Manual or MPG mode, slowly move the axes to testify the validity of stroke limit switch,
Connection
correctness of alarm display, validity of overtravel release button. When the overtravel occurs or
Emergency Stop button is pressed, “ESP” alarm will be issued by CNC system. The alarm can be
cancelled by pressing down the OVERTRAVEL key for reverse moving.
+24V
LIMX
CNC
LIMZ
LIMY
ESP
Fig. 4-2
The Bit 3 of status parameters №172 equals to 0: ESP function is enabled;
425
GSK980TDi Turning CNC System User Manual
The Bit 7 of PLC parameter K10 equals to 1: The overtravel function along each axis is enabled;
The Bit6 of PLC parameter K10: High/Low LEVEL selection of overtravel signal
In the Manual or MPG mode, slowly move the effectiveness of the overtravel limit swith of each
axis verification or the correction of alarm display; the CNC ESP alarm may occur when pressing the
ESP button is controlled; when the overtravel alarm occurs, it will moves towards to the negative
direction; after moving out the limit position, the resetting clear alarm then can be pressed.
Under the 2-level or more authorities, enter to the setting page by , and then to the
Select the servo drive by or button, set the selected corresponding axis of the servo
drive by : When the connection sequence of the servo drive is: X axis, Z axis, Y axis, the 4th axis,
the 5th axis, spindle 1, spindle 2 or spindle 3 (regardless of the unavailable axis), the overall servo
426
Chapter 4 Machine Debugging methods and Modes
Ⅲ
Z electronic gear ratio:
Connection
CMR C* δ Z M 131072 * 0.0001 1 2048
* *
CMD L ZD 4 1 625
Then, the parameter data №015X(CMRX)=1024, №016X(CMDX)=625;№015Z(CMRZ)
=2048, №016Z(CMDZ)=625。
If the electronic gear ratio numerator is more than the denominator, the allowed CNC max. speed
will decrease. For example: the data parameter No.015Z (CMRZ) =2, No.016Z (CMDZ) =1, so the
allowed Z axis max. speed is 30000mm/min.
If the electronic gear ratio numerator is not equal to the denominator, the allowed CNC
positioning precision may decrease. For example: the data parameter No.015Z(CMRZ) =1,
No.016Z(CMDZ) =5, so the pulse is not output as the input increment is 0.0004, but a pulse is output
when the input increment is 0.0005.
In order to ensure the CNC positioning precision and speed index, it is suggested that the CNC
electronic gear ratio is set to 1:1 and the electronic gear ratio calculated is set to the digital servo
when matching with digital servo.
When matching with the step drive, choose the drive unit with step division function as possible
as it can, and properly select mechanical transmission ratio. The 1:1 electronic gear ratio should be
ensured to avoid the excessive difference between the numerator and the denominator of this CNC
electronic gear ratio.
427
GSK980TDi Turning CNC System User Manual
always drop to the start speed when the previous path is finished and a circular transition
(non-accurate positioning) will be formed at the path intersection. The machining surface by this path
Connection
transition has a good finish and a higher machining efficiency. When the stepper motor drive unit is
applied, the BIT5 of the bit parameter No.007 should be set to 1 to avoid the out-of-step.
If AC servo drive unit is applied to this system, the machining efficiency can be improved by a
larger start speed and a smaller ACC&DEC time constant setting. If optimum acc/dec characteristics
are required, the ACC&DEC time constant may be set to 0 which can be gotten by adjusting the AC
servo acc/dec parameters. The suggested settings for these parameters are as follows(electronic
gear ratio is 1:1):
Data parameter No.022 X=5000 Data parameter No.022 Z=10000
Data parameter No.023 X≤60 Data parameter No.023 Z≤60
Data parameter No.029≤50 Data parameter No.028≤500
Data parameter No.026≤50 Data parameter No.030≤400
The parameter settings above are recommended for use, please refer to the actual conditions of
the drive unit, motor characteristic and motor load for their proper setting.
428
Chapter 4 Machine Debugging methods and Modes
1. When the adapated absolute encoder and the servo axis is linear one.
When the bus connection is normal, as well the debugging of the electric gear ratio of servo axis
or the movement direction is normal, the position from movement axis to preset value on machine tool
is regarded as the machine zero, directly set the current position on the machine as the machine
reference point by the [n axis reference point setting] soft button on the page of the “Position->
Integrated coordinate”. The machine will directly position to the reference point when it returns to zero
after the reference point is set.
2. When the adapted incremental encoder or servo axis is rotation axis.
Adjust the relevant parameters based on the active level of the connection signal, zero return
type and direction applied:
BIT5 (DECI) of the bit parameter No.004: active level of deceleration signal in machine zero
return.
BIT0, BIT1, BIT2,BIT3,BIT4 (ZMX, ZMZ, ZMY,ZM4, ZM5) of the bit parameter No.006: X, Z,
Y, 4th, 5th axis machine zero return mode B or C selection.
BIT0, BIT1, BIT2, BIT3, BIT4 (ZCX, ZCZ, ZCY, ZC4, ZC5) of the bit parameter No.007: whether a
proximity switch is taken as both deceleration and zero signals.
BIT2(ZNLK) of the bit parameter No.011: whether the direction key in zero return is self-locked.
BIT0, BIT1, BIT2, BIT3, BIT4 (ZRSCX, ZRSCZ, ZRSCY, ZRSC4, ZRSC5) of the bit parameter
No.014: have/not the machine zero(zero turn mode BC/A)setting bit.
Data parameter No.033: low deceleration speeds of each axis in machine zero return.
Data parameter No.113: high speed of each axis in machine zero return.
BIT0, BIT1, BIT2, BIT3, BIT4 (MZRX, MZRZ, MZRY, MZR4, MZR5) of the bit parameter No.183:
each axis zero return direction: negative or positive.
Only the stroke limit switch validity is confirmed, can the machine zero return be performed.
The machine zero is usually fixed at the max. travel point, and the effective stroke of the zero
return touch block should be more than 25mm to ensure a sufficient deceleration distance for
accurate zero return. The more rapid the machine zero return is, the longer the zero return touch
Ⅲ
block should be. Or the moving carriage will rush over the block and it may affect the zero return
Connection
precision because of the insufficient deceleration distance.
The connection to AC servo motor: using a travel switch and servo motor one-turn signal
separately
Fig. 4-2
By this connection, when the deceleration switch is released in machine zero return, the one-turn
signal of encoder should be avoided to be at a critical point after the travel switch is released. In order
to improve the zero return precision, and it should ensure the motor reaches the one-turn signal of
encoder after it rotates half circle.
The parameter setting is as follows:
Bit parameter No.004 BIT5(DECI) =0
Bit parameter No.006 BIT0(ZMX) , BIT1(ZMZ) , BIT2(ZMY), BIT3(ZM4), BIT4(ZM5) =0
Bit parameter No.007 BIT0(ZCX) , BIT1(ZCZ) , BIT2(ZCY) , BIT3(ZC4), BIT4(ZC5)=0
429
GSK980TDi Turning CNC System User Manual
430
Chapter 4 Machine Debugging methods and Modes
Ⅲ
The Bit 7 of the status parameter №195 equals to 1: Select the spindle speed as the series
Connection
control;
Data parameters №037~№040: The top speed of each step;
When the revolving speed specified by programming is inconsistent with the one of the encoder
detection, the specified speed becomes consistent with the actual one by adjusting the data
parameters №037~№040.
Revolving speed adjustment method: Firstly, shift the spindle to the corresponding gears and
ensure that the corresponding gear data parameter for the system is 9999, adjust the spindle override
as 100%; Input the spindle operation command on the MDI interface and operate the M03/M04
S9999; secondly, observe the spindle speed on the right corner of the screen; lastly, input the
displayed revolving speed value to the corresponding data parameter of the gear.
When the machine tool does not install the encoder, it can be detected the spindle speed by
revolving speed sensor; MDI code inputs the S9999; Set the displayed revolving speed on its sensor
to the corresponding gear data parameters №037~№040.
the backlash offset can improve the machining precision only by accurate compensation, it is not
recommended to measure it in MPG or Step mode, but the following method is suggested:
Program editing (taking example of Z):
O0001;
N10 G01 W10 F800 ;
N20 W15;
N30 W1;
N40 W-1;
N50 M30.
Set the backlash error offset to 0 before measuring:
Run the program by single blocks, search the measuring benchmark after 2 positioning
operations, record the current data, move 1mm in the same direction, then move 1mm to
point B reversely, read the current data.
Reverse
position
Data reading
position
B
Backlash error offset value= | data of point A –data of point B |; then input its outcome to the
Ⅲ
data parameter No.034(BKLn) (for X axis, multiply 2 and then input the outcome to data
Connection
parameter No.034).
Data A: dial-indicator data at point A
Data B: dial-indicator data at point B
Note 1: The backlash offset mode can be set by Bit7 of CNC parameter No.011; the backlash frequency can
be set by Bit6 of parameter No.011 and Bit4, Bit3, Bit2, Bit1, Bit0 of bit parameter No.010.
Note 2: Check the machine backlash every 3 months.
432
Chapter 4 Machine Debugging methods and Modes
Ⅲ
4.9 Step/MPG Adjustment
Connection
The key on the panel can be used to select the Step mode or MPG mode, which is set by
the BIT3 of bit parameter No.001.
Bit3 =1: MPG mode active, Step mode inactive;
=0: Step mode active, MPG mode inactive;
433
GSK980TDi Turning CNC System User Manual
Ⅲ
Connection
434
Chapter 5 Diagnosis Message
DECX, DECY, DECZ, DEC4, DEC5: machine zero return signal of X, Y, Z, 4th, 5th
ESP: emergency stop signal
0 0 1 *** *** *** *** *** *** *** SKIP
Pin CN61.42
Ⅲ
5.1.2 CNC Motion State & Data Diagnosis Message
Connection
0 0 4 *** *** *** EN5 EN4 ENZ ENY ENX
th th
EN5~ENX: X, Z, Y, 4 , 5 enabling signal
435
GSK980TDi Turning CNC System User Manual
436
Chapter 5 Diagnosis Message
0 1 7 VF2 X Z U W 4 5 6
key
key
key
key
Ⅲ
key
Connection
0 2 2 VF7 CRU RIGHT POS RPG OFT ALM SET
key
key
0 2 4 F1 F2 F3 F4 F5 F6 F7 F8
key
437
GSK980TDi Turning CNC System User Manual
438
Chapter 5 Diagnosis Message
ZHAN: Z selection(external)
YHAN: Y selection(external)
XHAN: X selection(external)
Ⅲ
DOQPJ: chuck clamp
Connection
S4/M44: spindle mechanical 4-gear
S3/M43: spindle mechanical 3-gear
S2/M42: spindle mechanical 2-gear
S1/M41: spindle mechanical 1-gear
Y0002 *** VP2 DOTWS DOTWJ CLPR CLPG CLPY INDXS/TCLP TZD/TLS
DOTWS: tailstock going backward
DOTWJ: tailstock going forward
CLPR: three-color lamp-red
CLPG: three-color lamp-green
CLPY: three-color lamp-yellow
INDXS/TCLP: Yantai Tool post worktable pregraduation coil /LIO_SHING Tool Post locked
TZD/TLS: Yantai Tool post worktable brake /LIO_SHING Tool Post releasing
439
GSK980TDi Turning CNC System User Manual
440
Y22.7 Y22.6 Y22.5 Y22.4 Y22.3 Y22.2 Y22.1 Y22.0
X24.0
5.2.3 Machine Panel
Chapter 5
X18.0 X18.1 X18.2 X18.3 X18.4 X18.5 X26.3 X20.2 X20.3 X21.0 X20.1 X26.6 X21.4 X24.6 X21.7 X22.1 X22.3 X23.0
Y23.7 Y23.6 Y23.5 Y23.4 Y23.3 Y23.2 Y26.3 Y19.3 Y19.4 Y21.4 Y21.6 Y26.6 Y23.0 Y24.6 Y19.1 Y20.6 Y20.4 Y20.0
X18.6 X18.7 X19.0 X19.1 X19.2 X20.0 X19.3 X20.5 X20.6 X20.7 X25.7 X26.5 X21.6 X24.7 X21.5 X25.5 X26.7
Y18.7 Y18.6 Y18.5 Y18.4 Y18.3 Y21.7 Y18.2 Y19.2 Y18.1 Y28.2 Y21.3 Y26.5 Y20.7 Y24.7 Y18.0 Y21.1 Y26.7
X24.1 X24.2 X26.0 X19.4 X19.5 X19.6 X19.7 X20.4 X21.1 X21.2 X25.6 X26.4 X22.0 X21.3 X22.4 X22.6 X22.7
Y24.1 Y24.2 Y26.0 Y19.7 Y19.6 Y19.5 Y21.5 Y28.3 Y28.0 Y28.1 Y28.4 Y26.4 Y19.0 Y25 Y23.1 Y20.3 Y20.1 Y21.0
441
Connection Ⅲ
GSK980TDi Turning CNC System User Manual
X24.0
Y25 X18.0 X18.1 X18.2 X18.3 X18.4 X18.5 X19.3 X26.3 X24.2
Y23.7 Y23.6 Y23.5 Y23.4 Y23.3 Y23.2 Y18.2 Y26.3 Y24.2
X18.6 X18.7 X19.0 X19.1 X19.2 X20.0 X24.1 X19.4 X19.5 X19.6 X19.7
Y18.7 Y18.6 Y18.5 Y18.4 Y18.3 Y21.7 Y24.1 Y19.7 Y19.6 Y19.5 Y21.5
X20.2 X20.3 X21.0 X20.1 X26.6 X21.4 X26.0 X21.7 X22.1 X22.3 X23.0
Y19.3 Y19.4 Y21.4 Y21.6 Y26.6 Y23.0 Y26.0 Y19.1 Y20.6 Y20.4 Y20.0
Ⅲ
Connection
X20.5 X20.6 X20.7 X25.7 X26.5 X21.6 X24.6 X21.5 X25.5 X26.7
Y19.2 Y18.1 Y28.2 Y21.3 Y26.5 Y20.7 Y24.6 Y18.0 Y21.1 Y26.7
X20.4 X21.1 X21.2 X25.6 X26.4 X22.0 X24.7 X21.3 X22.4 X22.6 X22.7
Y28.3 Y28.0 Y28.1 Y28.4 Y26.4 Y19.0 Y24.7 Y23.1 Y20.3 Y20.1 Y21.0
5.2.4 F Address(CNC→PLC)
F0000 OP SA STL SPL *** *** *** RWD
OP: Auto run signal
SA: Servo ready signal
STL: Cycle start indicator signal
SPL: Feed hold indicator signal
442
Chapter 5 Diagnosis Message
Ⅲ
MAFL: MST lock detection signal
MSBK: Single block detection signal
Connection
MABSM: JOG absolute detection signal
MMLK: All machine axes lock detection signal
MBDT1: Optional block skip detection signal
443
GSK980TDi Turning CNC System User Manual
444
Chapter 5 Diagnosis Message
Ⅲ
RTAP: rigid tapping method signal
Connection
F0091 *** *** *** *** MMMOD *** *** ***
MMMOD: Mode signal; it informs system of the manual trial cut mode;
445
GSK980TDi Turning CNC System User Manual
446
Chapter 5 Diagnosis Message
Ⅲ
F0151 EM48D EM44D EM42D EM41D EM38D EM34D EM32D EM31D
PLC axis control group D auxiliary function code EM31D~EM48D
Connection
F0182 *** *** *** EACNT5 EACNT4 EACNT3 EACNT2 EACNT1
EACNT5: PLC axis control 5th axis control signal
EACNT4: PLC axis control 4th axis control signal
EACNT3: PLC axis control Y axis control signal
EACNT2: PLC axis control Z axis control signal
EACNT1: PLC axis control X axis control signal
447
GSK980TDi Turning CNC System User Manual
448
Chapter 5 Diagnosis Message
Ⅲ
G0012 FV07 FV06 FV05 FV04 FV03 FV02 FV01 FV00
Feedrate override signal FV00~FV07
Connection
G0014 *** *** *** *** *** *** RV2 RV1
RV2: Rapid feedrate override signal RV2
RV1: Rapid feedrate override signal RV1
449
GSK980TDi Turning CNC System User Manual
450
Chapter 5 Diagnosis Message
Ⅲ
Tool group number select signal TL01~TL128
Connection
G0048 TLRST *** TLSKP *** *** *** *** ***
TLRST: tool change reset signal
TLSKP: tool skip signal
451
GSK980TDi Turning CNC System User Manual
452
Chapter 5 Diagnosis Message
Ⅲ
G0143 EC7A EC6A EC5A EC4A EC3A EC2A EC1A EC0A
Connection
Control instruction signal of PLC control group A
453
GSK980TDi Turning CNC System User Manual
454
Chapter 5 Diagnosis Message
Ⅲ
NT03: Current tool No. NT03
NT04: Current tool No. NT04
Connection
NT05: Current tool No. NT05
NT06: Current tool No. NT06
NT07: Current tool No. NT07
455
GSK980TDi Turning CNC System User Manual
A0001.0 1008 M10 and M11 codes disabled for tailstock function inactive
A0001.1 1009 Run-out disabled in spindle running
A0001.3 1011 Spindle start unallowed as tailstock advancing not detected
A0001.4 1012 Cycle unallowed for cycle start disabled
A0001.5 1013 Spindle start unallowed for spindle enable off
A0001.6 1014 Confirm the tools of tool post (8, 10, 12 tools)
A0002.0 1014 Please reset BIT1, BIT0 of parameter 168 for tool post model
A0002.1 1016 Alarm of safe door not closed
A0002.3 1017 Alarm of chuck low pressure
A0002.4 1019 Chuck released unallowed in spindle running
A0002.5 1020 Clamping in-position signal inactive alarm in spindle running
Spindle start unallowed if chuck clamping in-position signal
A0002.6 1021
inactive
A0003.0 1022 Spindle start unallowed for chuck releasing
A0003.0 1024 M12/M13 code disabled as chuck inactive
A0003.1 1025 Has not checked the chuck clamped/released start signal
A0003.3 1027 The tool pot is not released
A0003.4 1028 Has not found the target tool
456
Chapter 5 Diagnosis Message
Ⅲ
A0008.3 2011 Machining numbers are reached to the setting one.
Connection
457
GSK980TDi Turning CNC System User Manual
Ⅲ
Connection
458
Chapter 6 Memorizing Pitch Error Compensation
6.2 Specification
1) The set offset amount is concerned with the offset origin, offset intervals etc.;
2) Pitch error offset value is get by searching the table about machine coordinates and pitch
error compensation origin;
3) Points to be compensated: 1200 points for 5 axes, each axis confirms point range by
parameter setting;
4) Axis compensated: X, Y, Z ,4th,5th axis
5) Compensation range: -2550~2550×least input increment;
6) Compensation interval: 10000~9999999××least input increment;
7) Compensation amount of compensation point N(N=0,1,2,3,…1023) is determined by the
mechanical error between point N and point N-1;
8) The setting is the same as the CNC parameters input, see Ⅱ Operation.
Ⅲ
6.3.1 Pitch Compensation
Connection
Bit parameter
0 0 3 PCOMP
Bit5=1: Pitch error offset active;
Bit5=0: Pitch error offset inactive;
Data parameter
0 9 6 PECMINn
The maximum pitch error compensation number
0 9 7 PECMAXn
459
GSK980TDi Turning CNC System User Manual
002 -3 0202 4
Connection
… … … …
… … … …
460
Chapter 6 Memorizing Pitch Error Compensation
The machine zero is regarded as the reference point of pitch error origin, it begins to compensate
the position No.001 in the offset table from the machine zero. So the pitch error offset can only be
done in the positive moving direction of the machine coordinate system.
The position No.000 in the offset table corresponds to the reference point (i.e. pitch error origin
0), the offset point 1 corresponds to a point of positive 10.000 moving from this reference point, and
So there is a offset point every 10.000 mm. l. At offset point N, set an offset value which is the
compensation amount by moving from (N-1) × (offset interval) to N×(offset interval).
The following table content is resulted from the above:
Machine coordinate Offset Offset Drive unit current code Drive unit current command
system parameter No. value pulses before compensating pulses after compensating
Reference point 0 000 000 00000 00000
10.000 001 7 10000 10007
20.000 002 -6 20000 20001
30.000 003 4 30000 30005
…… 004 …
Actually the machine moves from the reference point to the point of +30.000, the pitch error offset
is: (+7) + (-6) + (+4) =+5
Ⅲ
②Data parameter No.098 (pitch error origin) =60, No.099 (offset interval) =10.000
Connection
When the pitch error origin is set to 60:
For the positive moving, the 1st segment error offset is set by position No.061 in the offset table,
the 2nd segment by position No.062. The Nth segment error offset is set by position No.060+N in the
offset table.
For the negative moving, the 1st segment error offset is set by position No.060 in the offset table,
the 2nd segment by position No.059. The Nth segment error offset is set by position No.060-N in the
offset table.
The machine zero is taken as the reference point of the pitch error origin, when moving from the
positive of machine coordinate system, it begins to compensate by the corresponding position
No.061 in the offset table; when moving from the negative of the machine coordinate system, it
begins to compensate by the position No.060. Therefore the pitch offset can be done when moving in
the positive or the negative axis of machine coordinate system.
461
GSK980TDi Turning CNC System User Manual
The position No.060 in the offset table corresponds to the reference point, No.061value in the
compensation table is a compensation amount by executing a positive movement 10.000mm from
origin. So there is an offset point every 10.000. No.061value in the compensation table is a
compensation amount by executing a negative movement 10.000mm from origin. So there is an
offset point every -10.000. No.59 is a compensation amount at -10.000~-20.000mm. Therefore the
point N is set by an offset of move from (N-61) × (offset interval) to (N-60) × (offset interval).
The following table content is resulted from the above:
Actually as the machine moves from point -30.000 to the point +10.000, the pitch error offset is:
(-7)+(-7)+(+6)+(+4)=(-4)
③Data parameter No.098 (pitch error origin) =127, No.099 (offset interval) =10.000
When the pitch error origin is set to 255:
The offset value for the 1st segment is set by the position No.255 in the offset table, the offset
value for the 2nd segment is set by the position No.254 in the offset table, and the offset value for the
Nth segment is set by the position No.256-N in the offset table.
Ⅲ
The machine zero is regarded as the reference point of pitch error origin, the system
compensates the compensate amount set by No.255 in the offset table from the machine zero to the
Connection
negative direction. So the pitch error compensation can be executed when the machine coordinates
are less than 0.
The position No.255 is an offset value from reference point to -10.000mm, No.254 value in the
table is the one from -10.000mm to -20.000mm, so there is an offset point every -10.000. Therefore
the point N is set by an offset of move from (N-256)×(offset interval) to (N-255)×(offset interval).
Above is the example of the following offset interval error.
462
Chapter 6 Memorizing Pitch Error Compensation
Machine Offset Offset value Drive unit current Drive unit current
coordinate parameter code pulses before code pulses after
system number compensating compensating
Reference point 0 0 0
-10.000 127 2 10000 10002
-20.000 126 0 20000 20002
-30.000 125 -7 30000 29995
-40.000 124 3 40000 39998
Actually the machine moves from the point -40.000 to the reference point, the pitch error offset is:
(+3) + (-7) + (0) + (+2) = (-2).
Ⅲ
The corresponding relationships between the machine coordinate and compensation position
number are shown below:
Connection
463