GSK980TD T
GSK980TD T
GSK980TD T
User Manual
Warning
Please read the user manual and a user manual from machine manufacturer
completely before installation, programming and operation, and operate the
system and machine according to user manuals, otherwise which may damage the
system and machine, workpiece and even injure the operator.
Notice
Functions, technical indexes described in the user manual are for the
tool with the system are defined by machine manufacturer, and refer
Functions of press keys in the user manual are for standard PLC
Notice
Connection
Only qualified persons can connect the system or check the connection.
The system must be earthed, its resistance must be less than 4 and the ground wire cannot be replaced
by zero wire
Connection must be correct and firm to avoid the product to be damaged or other unexpected result
Connect with surge diode in the specified direction to avoid to damage the system
Switch off power supply before pulling out plug or opening electric box
Troubleshooting
Switch off power supply before troubleshooting or changing components
Troubleshoot and then startup the system when there is short circuit or overload
Do not switch off it and a meantime is 1 minute at least after it is switched on again.
Book 1 Programming Fundamentals
BOOK1 PROGRAMMING
BOOK2 OPERATION
Book2 Operation
Introduce the operation method of GSK980TD.
Book3 Connection
BOOK3 CONNECTION
APPENDIX
Appendix
Book
ok 1 Programming Fundamentals
PROGRAMMING
Chapter1Programming Fundamentals
Chapter2M.S.F.T Instructions
Chapter3G Instructions
I
GSK980TD Turning Machine CNC System
3.1.1 Modal, Non-modal and Initial Mode ........................................................................... -2
3.1.2 Omit a Word................................................................................................................. -2
3.1.3 Related Definitions ...................................................................................................... -4
Book 1 Programming Fundamentals
III
Chapter 1 Programming Fundamentals
With 32-bit high performance CPU and super-large-scale programmable FPGA, the new generation widespread
GSK980TD Turning Machine CNC System developed by us (GSK CNC Equipment Co., Ltd.) is the upgraded
product of GSK980TA, applying the real time multitasking control and hardware interpolation technology to
Technical characteristics:
Link axes (X, Z), m-level interpolation precision and max. rapid traverse speed 16 m/min(option:
30m/min)
Embedded PLC to control various of automatic toolposts and spindle automatic shifting gear, edit, transmit
Pitch error compensation, backlash compensation, tool length compensation and tool nose radius
compensation
S, exponential acceleration/deceleration control to meet high speed and high precision machining
Tapping to machine metric/inch single/multiple straight, taper thread, end face thread, variable pitch thread,
high speed thread run out with set retraction distance, angle and speed
Large memory capacity( 6144KB,384 part programs) with full screen edit
-1
GSK980TD Turning Machine CNC System
Bidirectional communication between CNC and PC, CNC and CNC; communication upgrading CNC
Book 1 Programming Fundamentals
Installing dimension, electric interfaces, instruction system and operating windows being compatible with
-2
Chapter 1 Programming Fundamentals
Speed switching value control: S instruction is defined and executed by PLC
programs, direct output of S1, S2, S3, S4 is controlled by the standard PLC programs and
Spindle speed S0 is used for stopping output of S1, S2, S3, S4
G instructions
Instructions Functions Instructions Functions
G00 Rapid traverse movement G70 Finishing cycle
G01 Linear interpolation G71 Axial roughing cycle
G02 Circular interpolation CW G72 Radial roughing cycle
G03 Circular interpolation CCW G73 Closed cutting cycle
G04 Dwell time preset G74 Axial grooving cycle
G28 Machine reference point automatic return G75 Radial grooving cycle
G32 Thread cutting with constant lead G76 Multiple thread cutting cycle
G33 Tapping cycle in Z direction G90 Axial cutting cycle
G34 Thread cutting with variable lead G92 Thread cutting cycle
G40 Canceling tool nose radius compensation G94 Radial cutting cycle
G41 Tool nose radius compensation left of G96
Constant surface speed ON
contour
G42 Tool nose radius compensation right of G97
Constant surface speed OFF
contour
G50 Setting workpiece coordinate system G98 Feed per minute
G65 Macro instruction G99 Feed per rev
-3
GSK980TD Turning Machine CNC System
PLC instruction list
Elementary Functions Function Functions
instructions instructions
Book 1 Programming Fundamentals
-4
Chapter 1 Programming Fundamentals
Type significations
GSK 980TD
Type Specification
GSK980TD 420260mm aluminium alloy solid operator panel
GSK980TD-B GSK980TD matching with AP01445mm345mm182mm
Standard functions
All optional functions without being remarketed in the provided technical specifications are as follows:
Max. rapid traverse speed 16m/min, max. feedrate 8m/min, pitch error compensation, tool nose radius
compensation, spindle analog voltage control(converter spindle),communication, 16 input points, 16 output
points, standard PLC ladder, I/O interfaces being compatible with GSK980TA CNC system, 4-gear spindle
automatic shifting gear(only test 1st and 2nd gear), hydraulic chuck, hydraulic tailstock, 48 tool selections
toolpost(unidirectional selecting tool), safeguard, low pressure alarm etc.
Note 1: Modify or redesign PLC ladder diagram when other functions including executing the bidirectional tool
change or testing 4-gear spindle are incompatible with 980TA CNC System.
Note 2: Please remark the detailed control requirements in order lists when special PLC ladder diagram (I/O
interfaces are incompatible with GSK 980TA CNC System) is required.
Optional functions
1. Max. rapid traverse speed 30m/min and max. feedrate 15m/min;
2. I/O expansion: 16 input points (XS41 interface) and 16 output points (XS42 interface);
Standard accessories
Power switch: GSK-PB(assembled)
Connector: CNC interfaces are connected by one set of plug( DB9 female3, DB15 male3, DB25 female
1,DB25 male1)
Note: Corresponding plugs along with cables are supplied when they along with other components including
driver are delivered.
Accessory cables: 10-chip shield cable with 12m (3m for each X axis, Z axis, input interface XS40, output
interface XS39);
8-chip shield cable with 9m (3m for spindle encoder, input interface XS40, output interface
XS39);
4-chip shield cable with 3m(inverter interface);
-5
GSK980TD Turning Machine CNC System
Note: The above-mentioned cables as wires are supplied. Signal cables with welded plugs are supplied when a
whole set of driver and toolpost controller is delivered. The requirements for cable length and welding
should be remarked in the order list.
Book 1 Programming Fundamentals
Optional accessories
Communication components: one piece of 5m communication cable and one installation diskette of
communication software TDComm2;
Power filterFN2060-6-06
Handwheel: Dongxin RE45T1SO5B1(option: AP01) or Changchun LGF-001-100(option: AP02);
Additional panelAP01aluminum alloy 42071 can be assembled under of GSK980TD operator panel;
AP02aluminum alloy 100260 can be assembled at the side of GSK980TD operator
panel;
Emergent stop button: LAY3-02ZS/1( it has been installed when GSK980TD-B is delivered);
No self-locking button: KH-516-B11(blue or red);
Self-locking button: KH-516-B21(blue or red);
GSK980TD PLC User Manual
Ladder diagram programming software: one GSKCC installation diskette
Note 1: Communication functions are standard ones but communication components are optional accessories;
Note 2: Optional accessories as product ones (without being installed and connected) are supplied and it should
be remarked in the order list when they are required to install and connect.
Operational principles of CNC machine tools: according to requirements of machining technology, edit user
programs and input them to CNC, then CNC outputs motion control instructions to the servo (stepper) motor
drive devices, and last the servo (or stepper) motor completes the cutting feed of machine tool by mechanical
driving device; logic control instructions in user programs to control spindle start/stop, tool selections, coolant
ON/OFF, lubricant ON/OFF are output to electric control systems of machine tools from CNC, and then the
electric control systems control output components including buttons, switches, indicators, relays, contactors
and so on. Presently, the electric control systems are employed with Programmable Logic Controller (PLC)
with characteristics of compact, convenience and high reliance. Thereof, the motion control systems and logic
control systems are the main of CNC machine tools
GSK980TD Turning Machine CNC system has simultaneously motion control and logic control function to
control two axes of CNC machine tool to move, and has embedded PLC function. Edit PLC programs (ladder
diagram) according to requirements of input and output control of machine tool and then download them to
GSK980TD Turning Machine CNC system, which realizes electric control requirements of required machine
-6
Chapter 1 Programming Fundamentals
tool, is convenient to electric design of machine tool and reduces lost of CNC machine tool.
Software used for controlling GSK980TD Turning Machine CNC system is divided into system software (NC
Standard PLC programs are loaded(except for the special order) when GSK980TD Turning Machine CNC
System is delivered, concerned PLC control functions in following functions and operations are described
according to control logics of standard PLC programs, marking with Standard PLC functions in GSK980TD
Turning Machine CNC System User Manual. Refer to Operation Manual from machine manufacturer about
functions and operations of PLC control because the machine manufacturer may modify or edit PLC programs
again.
Fig. 1-1
Programming is a course of workpiece contours, machining technologies, technology parameters and tool
parameters being edit into part programs according to special CNC programming instructions. CNC machining
is a course of CNC controlling a machine tool to complete machining of workpiece according requirements of
part programs. Technology flow of CNC machining is as Fig. 1-2.
-7
GSK980TD Turning Machine CNC System
Book 1 Programming Fundamentals
O0001
G00 X3.76 Z0
Edit part programs and record into G01 Z-1.28 F50
CNC
M30
Fig. 1-2
-8
Chapter 1 Programming Fundamentals
Fig. 1-3
The system is employed with a rectangular coordinate system composed of X, Z axis. X axis is perpendicular
with axes of spindle and Z axis is parallel with axes of spindle; negative directions of them approach to the
workpiece and positive ones are away from it.
There are a front toolpost and a rear toolpost of NC turning machine according to their relative position between
the toolpost and the spindle, Fig. 1-4 is a coordinate system of the front toolpost and Fig. 1-5 is a rear toolppost
one. It shows exactly the opposite direction in X direction but the same direction in Z direction from figures. In
the manual, it will introduce programming application employed with the front toolpost coordinate system in
following figures and examples.
Z
Z
Fig.1-4 Front toolpost coordinate system Fig. 1-5 Rear toolpost coordinate system
-9
GSK980TD Turning Machine CNC System
1.3.2 Machine Coordinate System and Machine Reference Point
Machine tool coordinate system is a benchmark one used for CNC counting coordinates and a fixed one on the
Book
machine tool. Machine tool origin is named machine reference point or machine zero. The position of
k 1 Programming Fundamentals
machine reference point is specified by a reference point return switch on the machine tool. Usually, the
reference point return switch is installed on max. stroke in X, Z positive direction. The system considers the
current coordinates of machine tool as zeroes and sets the machine tool coordinate system according to the
current position as the coordinate origin after having executed the machine reference point return.
Note: Do not execute the machine reference point return without the reference point switch installed on the
machine tool.
1.3.3
1.3.3 Workpiece Coordinate System and Program Reference Point
Workpiece coordinate system is set to a rectangular coordinate system according to part drawings named
floating coordinate system. After the workpiece is clamped on the machine tool, G50 is executed to set an
absolute coordinates of tools current position according to the relative position of tool and workpiece, and so
the workpiece system has been created. The current position of tool is named program reference point and the
tool returns to the position after executing the program reference point return. Usually, Z axis is consistent with
the axes of spindle and X axis is placed on the heading or the ending of workpiece. The workpiece will be valid
until it is replaced by a new one.
The current position of workpiece coordinate system set by G50 is named the program reference point and the
system returns to it after executing the program reference point return.
Note: Do not execute the machine reference point return without using G50 to set the workpiece coordinate
system after power on.
Workpiece Rod
O2 O1 Z1 (Z2)
x1/2 (x2/2)
z1
z2
(x,z)
(x1,z1) x/2
X2 X1
(x2,z2)
z
z O 0,0
Fig.1-6 x
In the above figure, XOZ is the coordinate system of machine toolX1O1Z1 is the workpiece coordinate system
-10
Chapter 1 Programming Fundamentals
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:
X and Z in the system are link axes and 2 axes link CNC system. The system possesses linear, circular and thread
interpolation function.
Linear interpolation: Complex motion path in X, Z direction is a straight line from starting point to end point.
Circular interpolation: Complex motion path in X, Z direction is arc radius defined by R or the circle center (I, K)
from starting point to end point.
Thread interpolation: Moving distance in X or Z direction or X and Z direction is defined by rotation angle of
spindle to form spiral cutting path on the workpiece surface to realize the 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:
Fig. 1-7
-11
GSK980TD Turning Machine CNC System
G32 W-27 F3 BCthread interpolation
G1 X50 Z-30 F100
G1 X80 Z-50 DElinear interpolation
Book
M30
1.3.5
1.3.5 Absolute Programming and Incremental Programming
Specify coordinate values of paths end point or target position in programming and there are 3 kinds of
programming method according to coordinate values in programming: absolute programming, incremental
programming and compound programming
Fig. 1-8
Absolute programmingG01 X200. Z50.
Incremental programmingG01 U100. W-50.
Compound programmingG01 X200. W-50.or G01 U100. Z50.
Note: When there are instruction address X, U or Z, W simultaneously, X,Z are valid.
-12
Chapter 1 Programming Fundamentals
Table 1-1: Address, data related to diameter or radius programming
Address, data Explanation Diameter Radius
programming programming
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.
It is employed with the diameter programming except for the special indication in the following explanation.
User needs to compile part programs (called program) according to instruction formats of CNC system. CNC
system executes programs to control the machine tool movement, the spindle starting/stopping, the coolant and
the lubricant ON/OFF to complete the machine of workpiece.
Program example:
Fig. 1-9
O0001 Program name
N0005 G0 X100 Z100 Rapid positioning to A point
N0010 M12 Workpiece clamped
N0015 T0101 Changing No.1 tool and execute its offset
N0020 M3 S600 Starting the spindle with 600 rev/min
N0025 M8 Coolant ON
-13
GSK980TD Turning Machine CNC System
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
Book
The tool leaves the path of ABCDA after the above-mentioned programs are executed.
1.4.1
1.4.1 General Structure of Program
A program consists of a sequence of blocks, beginning withOXXXX program nameand ending with%;
a block begins with block number (omitted) and ends with ; or *. See the general structure of program as
follows:
Explanation
of program
Program name
Jumping character Word
of block
Block
Block Number
Ending character
Ending character of program
of program
Program
Fig. 1-10 General structure of program
Program name
There are most 384 programs stored in the system. To identify it, each program has only one program
name(there is no the same program name)beginning with instruction address O and the following 4-bit digits.
Program number00009999the leading zero can be omitted
Instruction address O
Word
A word is the basic instruction unit to command CNC system to complete the control function, composed of an
English letter (called instruction address) and the following number (operation instruction with/without sign).
The instruction address describes the meaning of its following operation instruction and there may be different
meaning in the same instruction address when the different words are combined together. See Table 1-2 words in
the system.
-14
Chapter 1 Programming Fundamentals
X 1000
W ord
-15
GSK980TD Turning Machine CNC System
Instruction
Range of instruction value Function
address
08000mm/min Feedrate per minute
Book
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 employed to separate blocks in the manual as follows:
/ N0030 G0 X20 Z30
Block number
One block may be with a number of words or only with(ending character) instead of words. There must be
one or more blank space between 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
instruction is valid when there are more G instructions which are in the same group in one block.
-16
Chapter 1 Programming Fundamentals
Block number
A block number consists of an address N and its following 4-bit digit as N0000N9999,and the leading zero
The block number can be omitted, but there must be the block number when the program calls/jumps 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 Block number is set to ON, block numbers will be automatically created incrementally and their
increment is defined by 42.
Insert / in the front of block and startup when some block cannot be executed (cannot be deleted),
and the system jumps the block and executes the next one. The block with / in the front of it will be executed
if is not started.
Program annotation
A program annotation has less than 20 characters (10 Chinese characters) for each program, lies in a bracket
following its program name and is expressed only in English and digitals in CNC system; it can be edit in
Chinese in PC and displayed in Chinese in CNC system after being downloaded.
-17
GSK980TD Turning Machine CNC System
0001; 1006;
G50 X100 Z100; G1 X50 Z50;
Book
1.5
1.5 PROGRAM RUN
The program stops in Auto mode and starts run after the cycle start signal is pressed or external cycle
start signalstartups the program to run from a block pointed by current cursor, usually blocks are executed one
by one according to programming sequence, the program stops run after executing M02 or M30. The cursor
moves along with program and is located at the heading of current block. Sequence and state of program run are
changed in the followings:
The program stops run 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 completelyand then it
continuously runs from the next block after is pressed or the external cycle start signal is
switched on;
-18
Chapter 1 Programming Fundamentals
Block with / in the front of it is not executed when the block jumping switch is ON;
The system jumps to the target block to run after executing G65;
-19
Chapter 2 M.S.F.T Instruction
Book
ok 1 Programming Fundamentals
2.1 M INSTRUCTIONAUXILIARY FUNCTION
M instruction consists of instruction address M and its following 12 or 4 bit digits, used for controlling the
flow of executed program or outputting M instructions to PLC.
M
Instruction value00~99, 9000~9999the leading zero can be omitted
Instruction address
M98, M99, M9000M9999 is executed by NC separately and NC does not output M instructions to PLC.
Nc defines M02, M03 end of programs and outputs M instructions to PLC which can control spindle, coolant
and so on.
M98, M99, M9000M9999 are defined to call programs, M02, M30 are defined as end of program which are
not changed by PLC. Other M instructions output to PLC and their functions are defined by PLC. Please refer to
User Manual from machine manufacturer.
There is only one M instruction in one block, otherwise the system alarms.
-1
GSK980TD Turning Machine CNC System
Instruction function: In Auto mode, after other instructions of current block are executed in M30, the automatic
run stops, the amount of workpiece is added 1, the tool nose radius compensation is
Book
cancelled and the cursor returns to the start of program (whether the cursor return to the
start of program or not is defined by parameters).
k 1 Programming Fundamentals
If NO.005 Bit 4 is set to 0, the cursor does not return to the start of program, and the cursor 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, the function of M30 is also defined by PLC ladder
diagram as follows: the system closes M03, M04 or M08 signal output and outputs M05 signal after executing
M30.
Instruction function: In Auto mode, after other instructions are executed in M98, CNC calls subprograms
specified by P, and subprograms are executed 9999 times at most. M98 is invalid in MDI mode.
-2
Chapter 2 M.S.F.T Instruction
Main program Subprogram
O1009 O1010
Book
N0010 ; N1020;
ok 1 Programming Fundamentals
N0020.; N1030;
N0030.;
N0040 M98 P1010;
N0050.; N1100 M99 P0070;
N0060.; %
N0070.;
..
Fig.2-1
0001; 1006;
G50 X100 Z100; G1 X50 Z50;
M3 S1 T0101; Call U100 W200;
G0 X0 Z0; U30 W-15 R15 F250;
G1 U200 Z200 F200; M99;
M98 P21006; %
G0 X100 Z100; Return
M5 S0 T0100;
M30;
%
The system can call fourfold-embedded subprograms, namely can call other subprograms in another
subprogram as Fig. 2-3.
M a in p ro g ra m S u b p ro g ram S u b p ro g ra m S u b p ro g ra m S u b p ro g ra m
O n e -e m b e d d e d T w o -e m b e d d e d T h ree -e m b ed d e d F o u r-e m b e d d e d
b dd d
Fig. 2-3 Subprogram embedding
-3
GSK980TD Turning Machine CNC System
manufacturer)when editing O9000O9999, and macro programs calling instructions are executed to call with
35 grades operation legal. M9000M9999 are invalid in MDI mode.
Book 1 Programming Fundamentals
Note: Instructions with * defined by standard PLC is valid when power on.
Note: Refer to time sequence of output defined by standard PLC ladder in Installation and Connection.
-4
Chapter 2 M.S.F.T Instruction
Note: Refer to time sequence and logic of M08, M09 defined by standard PLC ladder in Installation and
Connection.
Note: Refer to time sequence and logic of M10, M11 defined by standard PLC ladder in Installation and
Connection.
Note: Refer to time sequence and logic of M10, M11 defined by standard PLC ladder in Installation and
Connection.
Note: Refer to time sequence and logic of M32, M33 defined by standard PLC ladder in Installation and
Connection.
-5
GSK980TD Turning Machine CNC System
Note: Refer to time sequence and logic of M41, M42, M44 defined by standard PLC ladder in Installation and
Book
Connection.
k 1 Programming Fundamentals
2.2
2.2 SPINDLE FUNCTIONS FUNCTION
S instruction is used for controlling spindle speed and there are two methods to control that of GSK980TD:
Spindle speed switching value control: S2-bit digits instruction valueis executed by PLC, and PLC
outputs switching value signal to machine tool to change spindle speed with grades
Spindle speed analog voltage control: S4-bit digits instruction valuespecifies actual speed of
spindle and NC outputs 0~10V analog voltage signal to spindle servo or inverter to realize stepless spindle
speed
When spindle speed is control led by switching value, GSK980TD Turning CNC system is used for machine
tool and the time sequence and logic of executing S instruction is according to User Manual from machine
manufacturer. Refer to S instruction defined by standard PLC of GSK980TD as follows:
Instruction format S
0004the leading zero can be omittedNo.14 gear of spindle
speed is controlled by switching value.
In spindle speed switching value control mode, after S signal transmits to PLC, the system dwells time defined
by NO.081, then return FIN signal, and the dwell time is called runtime of S instruction.
Dwell time
Start to execute S instruction
Start to execute the following
word or block
S01, S02, S03, S04 output are reserved when resetting CNC.
S1S4 output are invalid when CNC is switched on. The corresponding S signal output is valid 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 S1S4 is valid at the same time.
-6
Chapter 2 M.S.F.T Instruction
Book
Spindle speed is controlled by analog voltage when NO.001 BIT4 is set to 1.
ok 1 Programming Fundamentals
Instruction formatS OOOO
00009999the leading zero can be omitted.Spindle speed
analog voltage control
Instruction function: the spindle speed is defined, and the system outputs 010V analog voltage to control
spindle servo or inverter to realize the stepless timing. S instruction 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 instruction( rev/min), and is invariant without changing S instruction 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 instruction, which is called constant surface 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.3.
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.037NO.040) of max. spindle speed (analog voltage is
10V)of current gear, and then output to spindle servo or inverter to ensure that the spindle actual speed and the
requirement are the same.
After the system is switched on, the analog output voltage is 0V. The analog output voltage is reserved (except
that the system is in cutting feed in the surface speed control mode and the absolute value of X absolute
coordinates is changed) after S instruction is executed. The analog output voltage is 0V after S0 is executed. The
analog output voltage is reserved when the system resets and emergently stops.
Parameters relative to the analog voltage control of spindle speed:
System parameter NO.21: offset value of output voltage with max. spindle speed (the analog output voltage is
10V);
System parameter NO.36: offset value of output voltage with spindle speed 0 (the analog output
voltage is 10V);
System parameter NO.037NO.040: max. spindle speed (the analog output voltage is 10V) with spindle 14
gears.
2.2.3 Constant Surface Speed Control G96, Constant Rotational Speed Control G97
Instruction formatG96 S__S0000S9999the leading zero can be omitted.
Instruction functionthe constant surface speed control is valid, the cutting surface speed is defined (m/min)
and the constant rotational speed control is cancelled. G96 is modal G instruction. If the
current modal is G96, G96 cannot be input.
Instruction formatG97 S__S0000S9999the leading zero can be omitted.
Instruction functionthe constant surface speed control is cancelled, the constant rotational speed control is
-7
GSK980TD Turning Machine CNC System
valid and the spindle speed is defined(rev/min). G96 is modal G instruction. If the
current modal is G97, G97 cannot be input.
Book
When the spindle speed controlled by the analog voltage is valid, the constant surface control is valid. The
spindle speed is changed along with the absolute value of X absolute coordinates of programming path in
the constant speed control. If the absolute value of X absolute coordinates adds, the spindle speed reduces, and
vice verse, which make the cutting surface speed as S instruction value. The constant speed control to cut the
workpiece makes sure all smooth finish on the surface of workpiece with diameter changing.
Surface speed=spindle speed |X| 1000 (m/min)
Spindle speed: rev/min
|X|absolute value of X absolute coordinates value (diameter value), mm
3.14
n
3000
2800
2600
2400
2200
2000
1800
1600
1400
1200
1000
S
800
4 0 6 00 m
600 30 0 min
2 0
400 10 00
50 0
200
0
40 80 120 160 200240280320360400440480520560600 Unitmmdiameter
0
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, 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.
In G96, G50 S_ can limit max. spindle speed (rev/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
-8
Chapter 2 M.S.F.T Instruction
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.
Book
Note: In G96, the spindle speed is limited to 0 rev/min (the spindle does not rotate) if G50, S0 are executed; G50
ok 1 Programming Fundamentals
S_ is executed to set max. spindle speed limit value of constant surface speed and also set the current
position to the program reference point at the same time, and the tool returns to the current position after
the program reference point return is executed.
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
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 S1000Spindle speed 1000 rev/min
G96 X3000Cutting surface speed 50m/min
Note 2: The constant surface speed control is valid when the machine tool is locked (X, Z axis do not move when
their motion instruction 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;
-9
GSK980TD Turning Machine CNC System
Note 4: From G96 to G97, if none of S instruction (rev/min) is commanded in the program block in G97, the last
spindle speed in G96 is taken as S instruction in G97, namely, the spindle speed is not changed at this time;
Book
Note 5: In G96, when the spindle speed counted by the cutting surface speed is more than max. speed of current
Note
spindle gear (system parameter NO.037NO.040), at this time, the spindle speed is limited to max. one of
k 1 Programming Fundamentals
2.2.4
2.2.4 Spindle Override
When the spindle speed analog voltage control is valid, the spindle actual speed can be tuned real time by the
spindle override and is limited by max spindle speed of current gear after the spindle override is tuned, and it
also limited by limited values of max. and min. spindle speed in constant surface speed control mode.
The system supplies 8 steps for spindle override 50%120% increment of 10%. The actual steps and tune
of spindle override are defined by PLC ladder and introductions from machine manufacturer is referred when
using it. Refer to the following functions of GSK980TD standard PLC ladder.
The spindle actual speed specified by GSK980TD standard PLC ladder can be tuned real time by the spindle
override tune key at 8 steps in 50%120% and it is not reserved when the spindle override is switched off.
Refer to the operations of spindle override in Operation.
T functions of GSK980TD: automatic tool change and executing tool offset. Control logic of automatic tool
change is executed by PLC and tool offset is executed by NC.
Instruction format
T
Tool offset number00-32the leading zero cannot be omitted
Instruction function: The automatic toolpost rotates to the target tool number and the tool offset of tool offset
number commanded is executed. The tool offset number can be the same as the tool
number, and also cannot be the same as it, namely, one tool can corresponds to many tool
offset numbers. After executing tool offset and then T00, 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 instruction is the state before the system
is switched off.
Only one T instruction 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 instruction when programs are running. Only edit
programs for each tool according to part drawing instead of relative position of each tool in the machine
-10
Chapter 2 M.S.F.T Instruction
coordinate system. If there is error caused by the wearing of tool, directly modify the tool offset according to the
dimension offset.
Book
ok 1 Programming Fundamentals
Fig. 2-4 Tool offset
The tool offset is used for the programming. The offset corresponding to the tool offset number in T instruction
is added or subtracted on the end point of each block. Tool offset in X direction in diameter or radius is set by
NO.004 Bit4. For tool offset in diameter or radius in X direction, The external diameter is changed along with
diameter or radius when the tool length compensation is changed.
Example:
Course of creation, execution and cancellation of tool offset by movement is as Fig. 2-5.
Programmed path
-11
GSK980TD Turning Machine CNC System
Coordinates
k 1 Programming Fundamentals
Coordinates Coordinates
displaying displaying displaying
(Incremental (Incremental (Incremental
coordinates) coordinates) coordinates)
U0.000 U12.000 U24.560
W0.000 W-23.000 W13.452
-12
Chapter 2 M.S.F.T Instruction
In Edit and Auto mode, a sole T word in executing tool offset (it is not with the motion instruction 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
Book
instruction is executed, the tool offset number is displayed in poor, which is cleared out(tool offset number is
ok 1 Programming Fundamentals
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 Bit is 1 and a sole T0102 is executed, the system displays after executing Z axis as
follows:
MDI MDI
When T instruction and the motion instruction are in the same block and execute tool offset by traversing tool,
the motion instruction or T instruction is executed separately. Firstly tool change is executed and then the
motion instruction 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 T00 instruction;
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 232 and target tool number is not equal to current display tool number, the control
sequence and logic of toolpost is defined by PLC ladder diagram after commanding T instruction, please see
User Manual of machine tool manufacturer. GSK980TD standard PLC ladder diagram defines as follows:
clockwise rotation for selecting tool, counterclockwise rotation for toolpost clamping, directly inputting tool
selection signal for tool change. Please refer to Connection.
When the system is employed with line-up toolpost, NO.084 should be set to 1 and different tool
number is executed by different tool offset as T0101T0102T0103.
-13
GSK980TD Turning Machine CNC System
After the system is switched on, the feedrate is 0 and F value is reserved after F is commanded. The feedrate is 0
after F0 is executed. F value is reserved when the system resets and emergently stops.
Note: In G99 modal, there is the uneven cutting feedrate when the spindle speed is lower than 1 rev/min; there is
the follow error in the actual cutting feedrate 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 inverter.
Cutting feed: The system can control the motions in X, Z direction contributed that the motion path of tool and
the defined path by instructions (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 contributed that the combined speed of vector in X, Z
direction is equal to F instruction value.
-14
Chapter 2 M.S.F.T Instruction
Book
dx
fx = F speed in X, Z direction
ok 1 Programming Fundamentals
dx2 + dz2 dx is the instantaneous(dt) increment in X direction
dz fx is the instantaneous speed in X direction;
fz = F
dx + dz2
2 dz is the instantaneous(dt) increment in Z axisfz
is the instantaneous speed in Z direction
Example: In Fig. 2-8, the data in the brackets are the coordinates for each point (it is the diameter in X
direction), the system parameter NO.022 is 3800, the system parameter NO.023 is 7600, the
rapid override and feedrate override are 100%.
fz
fx
Starting point
Fig. 2-8
Program as follows
G50 X160 Z80Create a workpeice coordinates system
G0 G98 X50 Z0Rapid traverse from A to B through M point. AM: rapid traverse speed
7600mm/min in X direction, 7600mm/min in Z direction, MB: rapid traverse
speed 0mm/min in X direction, 7600mm/min in Z direction)
G1 W-30 F100BCrapid traverse speed 0mm/min in X direction, 100mm/min in Z direction
X100 W-20 CDrapid traverse speed 156mm/min in X direction, 62mm/min in Z direction
X140 DErapid traverse speed 200mm/min in X direction, 0mm/min in Z direction
G3 W-100 R20EFG circular interpolation E point: instantaneous speed 200mm/min in X direction,
0mm/min in Z direction
F point: instantaneous speed 0mm/min in X direction,
100mm/min in Z direction
W-10 GHrapid traverse speed 0mm/min in X direction , 100mm/min in Z direction
M30
The system supplies 16 steps for spindle override 0%150%, with increment of 10%.PLC ladder defines
tune ways of spindle override and whether the actual feedrate override steps is reserved or not after the system is
switched off, which is referred to User Manual from machine manufacturer when using the system. Refer to the
following functions of GSK980TD standard PLC ladder.
The cutting feedrate can be tuned real time by the feedrate override key on the operator panel or the external
-15
GSK980TD Turning Machine CNC System
override switch, and the actual cutting feedrate is tuned at 16 steps in 0150% (increment of 10%) but it is
invalid for thread cutting to tune the feedrate override.
Refer to Operation about cutting feedrate override.
Book 1 Programming Fundamentals
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.
-16
Chapter 2 M.S.F.T Instruction
Table 2-2
Feedrate
0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150
(mm/min)
Note: The manual feedrate is in diameter per minute in X direction; the feedrate override defined by GSK980TD
PLC ladder is not reserved when the system is switch off.
Parameters
System parameter NO.029: Exponential acceleration/ deceleration time constant in manual feed;
System parameter NO.041: the initial (terminate) speed (diameter per minute in X direction) of acceleration/
deceleration in manual feed.
Step feed: the tool traverses in X or Z positive/negative direction at the current increment in Step mode but
does not traverse in X, Z direction at the same time.
One of Handwheel mode and Step mode is valid, which is defined by NO.001 Bit3.
The system supplies 4 steps(0.001mm, 0.01mm, 0.1mm, 1mm) for Handwheel mode and Step increment. PLC
ladder defines actual handwheel/step increment steps, increment selection and current valid axis selection,
which are referred to instructions from machine manufacturer when using the system.
Parameters:
System parameter NO.029: Exponential acceleration/ deceleration time constant in cutting feed and manual
feed;
System parameter NO.041:the initial (terminate) speed (diameter per minute in X direction) of acceleration/
deceleration in manual feed.
Aceleration/deceler
Driver control Motor in X direction
CNC Pulse distribution ation control
Fig. 2-9
Rapid traverse speed
Time
Fig. 2-10 Curve of rapid traverse speed
Feedrate
FCFeedrate
TC Acceleration/deceleration time
constant in cutting feed
system parameter NO.029
Time
The system is employed with exponential acceleration/deceleration, a transitive arc, which is not positioned
exactly at the intersection of two path and there is contour error between actual path and programming path, is
-18
Chapter 2 M.S.F.T Instruction
formed at a path intersection of neighboring two blocks in cutting feed caused by acceleration/ deceleration
when the system parameter NO.007 Bit3 is 0. To avoid the contour error, execute G04 in two blocks or set
NO.007 Bit3 to 1. At this moment, the previous block runs and positions exactly to its end point with zero
Book
mm/min and then the system starts to execute the next block, which increases programs running time and
ok 1 Programming Fundamentals
reduces machining efficiency.
The system executes the transition of program as Table 2-3 between neighboring blocks.
Table 2-3
Previous block
Next block Rapid positioning Cutting feed No traversing
Rapid positioning X X X
Cutting feed X O X
No traversing X X X
Note: X: The next block can be executed after the previous block is exactly positioned on its end point.
O: Acceleration/deceleration is employed for each axis between the neighboring blocks and there is a
transitive arc (it is not exactly positioned)in the intersection path.
Example(NO.007 Bit3=0):
G01 U-100Traverse in X negative direction
W-200 Traverse in Z negative direction
Programmed path
Actual motion path
X
Fig 2-12
-19
Chapter 3 G instructions
Chapter 3 G INSTRCUTIONS
Book 11 Programming
Book
3.1 INTRODUCTION
Programmingfundamentals
G instruction consists of instruction address G and its following 12 bits instruction value, used for defining the
motion mode of tool relative to the workpiece, defining the coordinates and so on. Refer to G instructions as Fig. 3-1
G
Fundamentals
Instruction address G
G words are divided into 5 groups (00, 01, 02, 03). 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.
Table 3-1 G function list
Function
Word Group Remark
-1
GSK980TD Turning Machine CNC System
G instructions are divided into 5 groups (00, 01, 02, 03, 04). The instructions in the 00 group are non-modal and
ones in other groups are modal, and G00, G97, G98, G40 are initial mode.
After G instructions are executed, their defined functions and states are valid until they are changed by others in
the same group, which instructions are called modal G instructions. After the modal G words are executed, and
before their defined functions and states are changed, the G instruction cannot be input again when they are
executed by the following block.
The defined function and state are valid one time after G instruction is executed, and the G word must be input
again when it is executed every time, which instruction is called non-modal G instruction.
After the system is switched on, the valid modal G instructions which are not executed their functions or states
are called initial mode G instruction. Take it as the initial mode G instruction to be executed when it is not be
input after the system is switched on. The initial words of the system include G00, G40, G97, G98.
Table 3-2
Instruction Function Initial value when power on
address
U Cutting depth in G71 NO.51 parameter value
Move distance of tool retraction in X NO.53 parameter value
U
direction in G73
W Cutting depth in G72 NO.51 parameter value
Move distance of tool retraction in Z direction in NO.54 parameter value
W
G73
Move distance of tool retraction in G71, G72 NO.52 parameter value
R
cycle
Cycle times of stock removal in turning in NO.55 parameter value
R
G73
Move distance of tool retraction after NO.56 parameter value
R
cutting in G74G75
R Allowance of finishing in G76 NO.60 parameter value
R Taper in G90G92G94G96 0
G98F Feed rate per minuteG98 NO.030 parameter value
G99F Feedrate per rev G99 0
F Metric pitchG32G92G76 0
I Inch pitchG32G92 0
S Spindle speed specifiedG97 0
S Spindle surface speed specifiedG96 0
S Spindle speed switching value output 0
-2
Chapter 3 G instructions
Instruction Function Initial value when power on
address
Finishing times of thread cutting in NO.57 parameter value NO.19
Book 11 Programming
Book
G76 parameter value NO.58
P Tool retraction width of thread cutting in parameter value
Programmingfundamentals
G76
Angle of tool nose of thread cutting in G76
Q Min. cutting value in G76 NO.59 parameter value
Note 1: For the instruction addresses with functions (such as F, used for feedrate per minute, feedrate per rev and
Fundamentals
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 instruction,
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 XU, ZWare 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 instruction 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 coordinates 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
G0 X50 Z5 rapid traverse to X50 Z5
G04 X4 dwell 4 seconds
G04 X5 dwell 5 seconds again, G04 is non-modal and is needed to input again
M30
-3
GSK980TD Turning Machine CNC System
In the user manual, the definitions of Word are as follows except for the especial explanations:
Starting point: position before the current block runs;
k 1 Programming Fundamentals
3.2
3.2 RAPID TRAVERSE MOVEMENT G00
Instruction formatG00 XU ZW
Instruction functionX, Z axis rapidly traverses at the respective traverse speed to the end points from their
starting point. G00 is initial instruction as Fig.3-1.
X, Z axis traverses at the respective traverse speed, the short axis arrives the end
point and the length axis continuously moves to the end point and the compound path
maybe be not linear.
Instruction path
Z axis
X axis
Fig. 3-1
The respective rapid traverse speed of X,Z axis 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.
-4
Chapter 3 G instructions
Z axis
Book 11 Programming
Book Programmingfundamentals
B
11
25
18
A
X axis
Fundamentals
Fig. 3-2
-5
GSK980TD Turning Machine CNC System
Book
k 1 Programming Fundamentals
Starting point
End point
Fig. 3-3
Program
G01 X60 Z7 F500Absolute programming
G01 U20 W-25 Incremental programming
G01 X60 W-25 Compound programming
End point
G01 U20 Z7 Compound programming
Starting point
Fi.g 3-4
-6
Chapter 3 G instructions
Instruction path
Book 11 Programming
Book
Z
W
Z
W
Programmingfundamentals
Z axis
X Z axis
X
U/2 I U/2 R
I
Fundamentals
K
End point of arc
K
X axis
X axis
Center point of arc is specified by address I, K which separately corresponds to amount(increment) of vector from
starting point to center point of arc in X, Z direction as Fig. 3-6-1.
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, directions of I, K are the same those of X, Z axis.
End point
Starting point
Fig. 3-6-1
Arc direction: G02/G03 direction (clockwise/counterclockwise)is opposite on the front toolpost coordinate
system and the rear one as Fig.3-7:
-7
GSK980TD Turning Machine CNC System
X
Z
Book
k 1 Programming Fundamentals
X X Z
Z Z
Fig. 3-7
Cautions
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 instruction;
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 circle360 in G02/G03 when center point are specified by I,K; the path is 0
0when 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
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 path can be more than and less than 180when R is commanded, the arc is more than180when R is
negative, and it is less than or equal to 180when R is positive.
-8
Chapter 3 G instructions
Book 11 Programming
Book
Program
G02 X63.06 Z-20.0 R19.26 F300 or
G02 U17.81 W-20.0 R19.26 F300 or
Programmingfundamentals
63.06 G02 X63.06 Z-20.0 I17.68 K-6.37 or
Z G02 U17.81 W-20.0 I17.68 K-6.37 F300
Starting point
End point
Fundamentals
Center point
X
Fig.3-8
Compound programming in G02/G03
ProgramO0001
N001 G0 X40 Z5 Rapid position
N002 M03 S200 Start spindle
N003 G01 X0 Z0 F900 Approach workpiece)
N005 G03 U24 W-24 R15 Cut R15 arc
N006 G02 X26 Z-31 R5 Cut R5 arc
N007 G01 Z-40 Cut26
N008 X40 Z5 Return to starting point)
N009 M30 End of program
-9
GSK980TD Turning Machine CNC System
G04 X__ or
G04 U__ or
G04
Book 1 Programming Fundamentals
Instruction function: X and Z axis stop, the modal of G instructions and the reserved data, state are not
changed, and execute the next block after dwelling the defined time.
Cautions:
The system exactly stop a block when P, X, U are not input or P, X , U specify negative values.
P is valid when P, X, U are in the same block; X is valid when X, U are in the same block.
When the system executes the feed hold in G04, dwell can be executed after the current delay time.
Instruction formatG28 XU ZW
Instruction function: the tool rapid traverses to the middle point defined by X(U), Z(W) from starting point and
then return to reference point of machine.
Instruction specifications:
G28 is no-modal.
Xabsolute coordinates of middle point in X direction
UDifference value of absolute coordinates between middle point and starting point in X direction
Zabsolute coordinates of middle point in Z direction
WDifference value of absolute coordinates between middle point and starting point in Z direction.
-10
Chapter 3 G instructions
Instruction Function
G28 X, Z axis are in the previous positions and
Book 11 Programming
Book
continuously execute nest block
G28 XU ZW Return to machine reference point in X, Z
direction
Programmingfundamentals
Running pathas Fig. 3-10
1Rapid traverse to middle point of specified axis from current positionA pointB point
2Rapid traverse to reference point from the middle pointB pointR point
Fundamentals
(3) If the machine is not locked, LED is ON when the machine reference point return is completed.
Starting
point A
Middle point
BXZ
X
Machine reference
point R
Fig.3-10
Note 1: Machine reference point returns in Jog mode and in G28 are the same and their deceleration signals and
signals per rev must be detected;
Note 2: X and Z axis 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 3: The system cancels the tool length compensation after executing G28 to perform the reference point
return of machine;
Note 4: Do not execute G28 and machine reference point return without the reference point signal on the
machine.
Instruction formatG50 XU ZW
Instruction function: define the absolute coordinates of current position and create the workpiece coordinates
system(called floating coordinates system) by setting the absolute coordinates of
current position in the system. After executing G50, the system takes the current
position as reference point of program (program reference point) and returns to the
reference point after executing the reference point return of program. After the
workpiece coordinate system is created, input the coordinate values in the coordinate
system until the next workpiece coordinate system is created again when executing the
-11
GSK980TD Turning Machine CNC System
absolute coordinates programming.
Instruction specifications:
Book
G50 is non-modal;
X: New absolute coordinates of current position in X direction;
k 1 Programming Fundamentals
U: Different value between the new absolute coordinates of current position in X direction and the absolute
coordinates before executing instructions;
Z: New absolute coordinates of current position in Z direction;
W: Different value between the new absolute coordinates of current position in X direction and the absolute
coordinates before executing instructions;
In G50, XUor ZWare not input, the system does not change current coordinates position as program
reference point; when XUand ZWare not input, the system takes the previous setting position as
program reference point.
Example
Z Z
250
100
150 50 150
Program reference
X 25050
point 100150
X X
As Fig.3-11, 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
instruction 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.
-12
Chapter 3 G instructions
X8 Z-3
or
Book 11 Programming
Book
X32 Z43
Programmingfundamentals
3.8 FIXED CYCLE INSTRUCTIONS
To simplify programming, the system defines G instruction of single machining cycle with one block to complete the
rapid traverse to position, linear/thread cutting and rapid traverse to return to the starting point:
Fundamentals
G90: axial cutting cycle;
G92: thread cutting cycle;
G94: radial cutting cycle;
G92 will be introduced in Section Thread Function
Instruction specifications:
G90 is modal;
Starting point of cuttingstarting position of linear interpolation(cutting feed)
End point of cutting end position of linear interpolation(cutting feed)
Xabsolute coordinates of cutting end point in X direction
Udifferent value of absolute coordinates between end point and starting point of cutting in X direction
Zdifferent value of absolute coordinates between end point and starting point of cutting in Z direction
Wdifferent value of absolute coordinates between end point and starting point of cutting in Z direction
Rdifferent value (radius value) of absolute coordinates between end point and start point of cutting in X
direction. When the signs of R is not the same that of U,RU/2
Cycle process:
The tool rapidly traverses from starting point to cutting starting point in X direction;
Cutting feed(linear interpolation) from the cutting starting point to cutting end point;
Retract the tool at feedrate in X direction (opposite direction to the above-mentioned ), and return 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.
-13
GSK980TD Turning Machine CNC System
Book 1 Programming Fundamentals
Fig.3-12
Z axis
X/2
R
2(F)
3(F)
U/2
1(R)
4(R)
Z W
X axis
Fig.3-13
-14
Chapter 3 G instructions
Cutting path: Relative position between cutting end point and starting point with U,W is as Fig.3-14:
1 U>0W<0R>0 2 U<0W<0R<0
Book 11 Programming
Book
Z Z
W
Programmingfundamentals
R
U/2
U/2
R
Fundamentals
W
X X
Z W Z
U/2
U/2
X X
Fig. 3-14
axis
Fig.3-15
-15
GSK980TD Turning Machine CNC System
Program O0002
M3 S300 G0 X130 Z3
G90 X120 Z-110 F200 ADcut 120
Book
X110 Z-30
k 1 Programming Fundamentals
X100
X90
A B 6 times cutting cycle
X80
60,increment of 10mm
X70
X60
G0 X120 Z-30
G90 X120 Z-44 R-7.5 F150
Z-56 R-15
BC4 times taper cutting
Z-68 R-22.5
Z-80 R-30
M30
Cycle process:
The tool rapidly traverses from starting point to cutting starting point in Z direction;
Cutting feed (linear interpolation) from the cutting starting point to cutting end point;
Retract the tool at the cutting feedrate in Z direction (opposite direction to the above-mentioned ), and
return 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.
-16
Chapter 3 G instructions
Book 11 Programming
Book Programmingfundamentals
Rapid traverse
Cutting feed
Fundamentals
AStarting pointend point
BCutting starting point
CCutting end point
Fig.3-16
Fig.3-17
-17
GSK980TD Turning Machine CNC System
Cutting path: Relative position between cutting end point and starting point with U,W is as Fig.3-18:
1 U>0 W<0 R<0 2 U<0 W<0 R<0
Book
Z Z
W
k 1 Programming Fundamentals
U/2
U/2
W X R
X
U/2
U/2
X W X
Fig. 3-18
axis
60
120
axis
Fig.3-19
-18
Chapter 3 G instructions
ProgramO0003
G00 X130 Z5 M3 S1
Book 11 Programming
Book
G94 X0 Z0 F200 Face cutting
X120 Z-110 F300 Outer cutting 120
Programmingfundamentals
G00 X120 Z0
G94 X108 Z-30 R-10
X96 R-20
X84 R-30 CBAcutting 60
Fundamentals
X72 R-40
X60 R-50
M30
Multiple cycle instructions of the system includes axial roughing cycle G71, radial roughing cycle G72, closed
cutting cycle G73, finishing cycle G70, axial grooving multiple cycle G74, axial grooving multiple cycle G75 and
multiple thread cutting cycle G76. When the system executes these instructions, it automatically counts the cutting
times and the cutting path according to the programmed path, travels of tool infeed and tool retraction, executes
multiple machining cycletool infeed cuttingretract tooltool infeed , automatically completes the roughing,
finishing workpiece and the starting point and the end point of instruction are the same one.
-19
GSK980TD Turning Machine CNC System
Nns
F
Book
S
k 1 Programming Fundamentals
Nnf
Instruction function: G71 is divided into three parts:
1st blocks for defining the travels of tool infeed and retract tool, the cutting feedrate, the spindle speed and
the tool function when roughing;
2nd blocks for defining the block interval, finishing allowance;
3rd blocks for some continuous finishing path, counting the roughing path without being executed actually
when executing G71.
According to the finishing path, the finishing allowance, the path of tool infeed and tool retract, the system
automatically counts the path of roughingthe tool cuts the workpiece in paralleling with Z axis, and the
roughing is completed by multiple executing the cutting cycle tool infeedcuttingtool retraction. The starting
point and the end point are the same one. The instruction is applied to the formed roughing of non-formed rod.
Relevant definitions:
Finishing path: the above-mentioned Part 3 of G71(nsnf block)defines the finishing path, and the starting
point of finishing path (starting point of ns block)is the same these of starting point and end
point of G71, called A point; the first block of finishing path(ns block)is used for X rapid
traversing or tool infeed, and the end point of finishing path is called to B point; the end point
of finishing path(end point of nf block)is called to C point. The finishing path is ABC.
Roughing path: The finishing path is the one after offsetting the finishing allowanceuwand is the path
contour formed by executing G71. A, B, C point of finishing path after offset corresponds
separately to ABC point of roughing path, and the final continuous cutting path of G71 is
BCpoint.
dit is each travelunitmmradius valueof tool infeed without in X direction when roughing, and the
direction of tool infeed is defined by move direction of ns block. The instruction value d is reserved
after executing Udand the value of system parameter NO.051 is rewritten to d1000unit0.001
mm. The value of system parameter NO.051 is regarded as the travel of tool infeed when Udis not
input.
e: it is each travelunitmmradius valueof tool infeed without in X direction when roughing, and the
direction of tool retraction is opposite to that of tool infeed, the instruction value e is reserved and the value
of system parameter NO.052 is rewritten to e1000unit0.001 mmafter Reis executed. The value of
system parameter NO.052 is regarded as the travel of tool retraction when Reis not input.
-20
Chapter 3 G instructions
Book 11 Programming
Book
nf: Block number of the last block of finishing path.
Programmingfundamentals
ufinishing allowance in X direction is -99.999~99.999 (unit: mm in diameter). the coordinates offset in X
direction of roughing path compared to finishing path, i.e. the different value of absolute coordinates in X
direction between Aand A. The system defaults u=0 when Uu is not input, i.e. there is no finishing
allowance in X direction for roughing cycle.
Fundamentals
wfinishing allowance in Z direction is -99.999~99.999 with sign symbol (unit: mm in diameter). the
coordinates offset in Z direction of roughing path compared to finishing path, i.e. the different value of
absolute coordinates in Z direction between Aand A. The system defaults w=0 when Ww is not
input, i.e. there is no finishing allowance in Z direction for roughing cycle.
M, S, T, F: They can be specified in the first G71 or the second ones or program nsnf. M, S, T, F functions of M, S,
T, F blocks are invalid in G71, and they are valid in G70 finishing blocks.
-21
GSK980TD Turning Machine CNC System
Book 1 Programming Fundamentals
Finishing path
Rapid traverse
Cutting feed
Instruction specifications
nsnf blocks in programming must be followed G71 blocks. If they are in the front of G71 blocks, the
system automatically searches and executes nsnf blocks, and then executes the next program following nf
block after they are executed, which causes the system executes nsnf blocks repetitively;
nsnf blocks are used for counting the roughing path and the blocks are not executed when G71 is executed.
F, S, T instructions of nsnf blocks are invalid when G71 is executed, at the moment, F, S, T instructions of
G71 blocks are valid. F, S, T of nsnf blocks are valid when executing nsnf to command G70 finishing
cycle;
There are G00,G01 without the word Z(W) in ns block, otherwise the system alarms ;
The dimensions in X, Z direction must be changed monotonously (always increasing or reducing) for the
finishing path;
In nsnf blocks, there are only G instructions: G01, G02, G03, G04, G96, G97, G98, G99, G40, G41,G42
and the system cannot call subprograms(M98/M99);
G96, G97, G98, G99, G40, G41, G42 are invalid in G71 and valid in G70. G96G97G98
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;
When the system is executing the feed hold or single block, the program pauses after the system has executed
end point of current path;
du are specified by the same U and different with or without being specified P,Q instructions;
G71 cannot be executed in MDI, otherwise, the system alarms;
There are no the same block number in ns~nf when compound cycle instructions are executed repetitively in
one program.
Coordinate offset direction with finishing allowance:
-22
Chapter 3 G instructions
u,w define the coordinates offset and its direction of finishing, and their sign symbols are as follows Fig. 3-21:
BC for finishing path, BCfor roughing path and A is the starting point.
Book 11 Programming
Book Programmingfundamentals
E
Fundamentals
Fig.3-21
ExampleFig.3-22
b a
c
d
e
0.5
Starting point 2
(200,10)
Fig.3-22
ProgramO0004
G00 X200 Z10 M3 S800 Spindle clockwise with 800 rev/min
G71 U2 R1 F200 Cutting depth each time 4mmtool retraction [in diameter]
G71 P80 Q120 U0.5 W0.2 roughing a---emachining allowance 0.5mm in X direction,
-23
GSK980TD Turning Machine CNC System
0.2mm in Z direction
N80 G00 X40 S1200 Positioning
G01 Z-30 F100 ab
Book
W-20 cd
N120 X100 W-10 de
G70 P80 Q120 a---e blocks for finishing path
M30 End of block
3.9.2
3.9.2 Radial Roughing Cycle G72
Instruction format G72 Wd Re F S T
G72 Pns Qnf Uu Ww
N ns
F
S
N nf
According to the finishing path, the finishing allowance, the path of tool infeed and retract tool, the system
automatically counts the path of roughingthe tool cuts the workpiece in paralleling with Z axis, and the
roughing is completed by multiple executing the cutting cycle tool infeedcutting feedtool retraction. The
starting point and the end point of G72 are the same one. The instruction is applied to the formed roughing of
non-formed rod.
Relevant definitions:
Finishing path: the above-mentioned Part of G71(nsnf block)defines the finishing path, and the starting
point of finishing path (i.e. starting point of ns block)is the same these of starting point and
end point of G72, called A point; the first block of finishing path(ns block)is used for Z rapid
traversing or cutting feed, and the end point of finishing path is called to B point; the end
point of finishing path(end point of nf block)is called to C point. The finishing path is AB
C.
Roughing path: The finishing path is the one after offsetting the finishing allowanceuwand is the path
contour formed by executing G72. A, B, C point of finishing path after offset corresponds
-24
Chapter 3 G instructions
separately to ABCpoint of roughing path, and the final continuous cutting path of G72 is
BCpoint.
dit is each travelunitmmof tool infeed without in Z direction when roughing, and the direction of tool infeed
Book 11 Programming
Book
is defined by move direction of ns block. The instruction value d is reserved after executing Udand the
value of system parameter NO.051 is rewritten to d1000unit0.001 mm. The value of system parameter
Programmingfundamentals
NO.051 is regarded as the travel of tool infeed when Udis not input.
e: it is each travelunitmmof tool infeed without in Z direction when roughing, and the direction of tool
retraction is opposite to that of tool infeed, the instruction value e is reserved and the value of system parameter
NO.052 is rewritten to e1000unit0.001 mmafter Reis executed. The value of system parameter NO.052
Fundamentals
is regarded as the travel of tool retraction when Reis not input.
ns: Block number of the first block of finishing path.
nf: Block number of the last block of finishing path.
ufinishing allowance in X direction when roughing( the coordinates offset in X direction of roughing path
compared to finishing path, i.e. the different value of absolute coordinates in X direction between Aand A,
unit: mm).
wfinishing allowance in Z direction when roughing( the coordinates offset in Z direction of roughing path
compared to finishing path, i.e. the different value of absolute coordinates in X direction between Aand A,
unit: mm).
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 nsnf. M, S, T, F functions of M,
S, T, F blocks are invalid in G72, and they are valid in G70 finishing blocks.
-25
GSK980TD Turning Machine CNC System
8 Rapidly traverse to A from Cpoint and the program jumps to the next clock following nf block after
G71 cycle is completed.
Book
k 1 Programming Fundamentals
Finishing path
Rapid traverse
Cutting feed
Fig. 3-23
Instruction specifications:
nsnf blocks in programming must be followed G72 blocks. If they are in the front of G72 blocks, the
system automatically searches and executes nsnf blocks, and then executes the next program following nf
block after they are executed, which causes the system executes nsnf blocks repetitively.
nsnf blocks are used for counting the roughing path and the blocks are not executed when G72 is executed.
F, S, T instructions of nsnf blocks are invalid when G72 is executed, at the moment, F, S, T instructions of
G72 blocks are valid. F, S, T of nsnf blocks are valid when executing nsnf to command G70 finishing
cycle;
There are G00,G01 without the word X(U) in ns block, otherwise the system alarms.
The dimensions in X, Z direction must be changed monotonously (always increasing or reducing) for the
finishing path;
In nsnf blocks, there are only G instructions: G01, G02, G03, G04, G96, G97, G98, G99, G40, G41,G42
and the system cannot call subprograms(M98/M99);
G96, G97, G98, G99, G40, G41, G42 are invalid in G71 and valid in G70;G96G97G98
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;
When the system is executing the feed hold or single block, the program pauses after the system has executed
end point of current path;
du are specified by the same U and different with or without being specified P,Q instructions;
There are no the same block number in ns~nf when compound cycle instructions are executed repetitively in
one program;
-26
Chapter 3 G instructions
G72 cannot be executed in MDI, otherwise, the system alarms.
Coordinate offset direction with finishing allowance:
Book 11 Programming
Book
Coordinate offset direction with finishing allowance:
u,w define the coordinates offset and its direction of finishing, and their sign symbols are as follows Fig.
Programmingfundamentals
3-24: BC for finishing path, BCfor roughing path and A is the starting point.
Fundamentals
Fig.3-24
ExampleFig.3-25
Starting
point
176 10
Fig.3-25
ProgramO0005
G00 X176 Z10 M03 S500 Change No.2 tool and execute its compensation,
spindle rotation with 500 rev/min
G72 W2.0 R0.5 F300 Tool infeed 2mm, tool retraction 2mm
G72 P10 Q20 U0.2 W0.1 Roughing a--droughing allowance 0.2mm in X
direction and 0.1mm in Z direction
-27
GSK980TD Turning Machine CNC System
N10 G00 Z-55 S800 Rapid traverse
G01 X160 F120 Infeed to a point
X80 W20 Machining ab Blocks for finishing path
Book
W15 Machining bc
k 1 Programming Fundamentals
3.9.3
3.9.3 Closed Cutting Cycle G73
Instruction formatG73 U
Ui
i W k R d F S T
G73 Pns Qnf Uu Ww
N ns
F
S
N nf
Instruction functions: G73 is divided into three parts:
blocks for defining the travels of tool infeed and tool retraction, the cutting speed, the spindle speed and the
tool function when roughing;
blocks for defining the block interval, finishing allowance;
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 offsetthe 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 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 as Fig.3-26.
Relevant definitions:
Finishing path: the above-mentioned Part 3 of G73(nsnf 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 ABC.
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, ABC of finishing path separately corresponds to AnBn
-28
Chapter 3 G instructions
Cn of roughing path(n is the cutting times, the first cutting path is A1B1C1 and the last one is
AdBdCd). The coordinates offset value of the first cutting compared to finishing path is i
2+uw+kdiameter programming, the coordinates offset value of the last cutting
Book 11 Programming
Book
compared to finishing path isuwthe coordinates offset value of each cutting compared
to the previous one is as follows:
Programmingfundamentals
i 2 k
( , )
1000 d 1 1000 d 1
Fundamentals
iTravel of tool retraction for roughing is -9999.999~9999.999unitmmradius value with sign symbolin
X direction , i is equal to the coordinates offset value radius valueof A1 point in X direction compared
to Ad point. The total cutting travel(radius value)in X direction is equal to |i|when roughing, and the cutting
direction in X direction is opposite to the sign of i: i0, cut in X negative direction when roughing. It is
reserved afteri instruction value is executed and the value of system parameter NO.053 is rewritten to i
1000unit0.001 mm. The value of system parameter NO.053 is regarded as the travel of tool retraction of
roughing in X direction when Uiis not input.
kIt is travel of tool retraction for roughing -9999.999~9999.999 unitmmradius value with sign symbol
in Z direction , k is equal to the coordinates offset value radius valueof A1 point in Z direction
compared to Ad point. The total cutting travel(radius value)in Z direction is equal to |k|when roughing, and
the cutting direction in Z direction is opposite to the sign of k: k0, cut in Z negative direction when
roughing. It is reserved afterk instruction value is executed and the value of system parameter NO.054 is
rewritten to k1000unit0.001 mm. The value of system parameter NO.054 is regarded as the travel of
tool retraction of roughing in Z direction when Wkis not input.
d: It is the cutting times 1~9999 (unit: times). R5 means the closed cutting cycle is completed by 5 times
cutting. R dis reserved after it is executed and the value of system parameter NO.055 is rewritten to d
(unit: times). The value of system parameter NO.055 is regarded as the cutting times when R dis not
input.
uIt is the finishing allowance -99.999~99.999 (unit: mm, diameter value with sign symbol)in X direction and is
the coordinates offset in X direction of roughing contour compared to finishing path, i.e. the different value of
absolute coordinates of A1 compared to A in X direction. u0it is the offset of the last roughing path
compared to finishing path in X positive direction The system defaults u=0 when Uu is not input, i.e.
there is no finishing allowance in X direction for roughing cycle.
wIt is the finishing allowance -99.999~99.999 (unit: mm )in Z direction and is the coordinates offset in Z
-29
GSK980TD Turning Machine CNC System
direction of roughing contour compared to finishing path, i.e. the different value of absolute coordinates
of A1 compared to A in Z direction. w0it is the offset of the last roughing path compared to finishing
path in Z positive direction The system defaults w=0 when Uw is not input, i.e. there is no
Book 1 Programming Fundamentals
-30
Chapter 3 G instructions
Book 11 Programming
Book Programmingfundamentals
Finishing path
Rapid traverse
Cutting feed
Fundamentals
Starting point(end point)
Roughing path
-31
GSK980TD Turning Machine CNC System
BC for workpiece contour, BCfor roughing contour and BC for finishing path.
1i<0 k>0 u<0 w>0 2i>0 k>0 u>0 w>0
Z Z
B
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
Fig.3-27
ExampleFig.3-28
ax is
16
Starting point
(200,10) axi s
Fig. 3-28
-32
Chapter 3 G instructions
ProgramO0006
G99 G00 X200 Z10 M03 S500; Specify feedrate per rev and position starting point and start
spindle
Book 11 Programming
Book
G73 U1.0 W1.0 R3 ; Tool retraction with 2mm in X direction, 1mm in Z direction
G73 P14 Q19 U0.5 W0.3 F0.3 ; Roughing with 0.5 allowance in X direction and 0.mm in Z
Programmingfundamentals
direction
N14 G00 X80 W-40 ;
G01 W-20 F0.15 S600 ;
X120 W-10 ;
Fundamentals
W-20 ; Blocks for finishing
G02 X160 W-20 R20 ;
N19 G01 X180 W-10 ;
G70 P14 Q19 M30; Finishing
Instruction specifications:
nsnf blocks in programming must be followed G70 blocks. If they are in the front of G71 blocks, the
system automatically searches and executes nsnf blocks, and then executes the next program following nf
-33
GSK980TD Turning Machine CNC System
block after they are executed, which causes the system executes nsnf blocks repetitively.
F, S, T in nsnf blocks are valid when executing nsnf to command G70 finishing cycle.
Book 1 Programming Fundamentals
G96, G97, G98, G99, G40, G41, G42 are valid in G70;
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.
When the system is executing the feed hold or single block, the program pauses after the system has executed
end point of current path.
G70 cannot be executed in MDI, otherwise, the system alarms.
There are no the same block number in ns~nf when compound cycle instructions are executed repetitively in
one program.
Instruction formatG74 Re
G74 XU ZW Pi Qk Rd F
Instruction function: Axial (X ) tool infeed cycle compounds radial discontinuous cutting cycle: Tool infeeds
from starting point in radial direction( Z ), retracts, infeeds again, and again and again,
and last tool retracts in axial direction, and retracts to position in Z direction in radial
direction, which is called one radial cutting cycle; tool infeeds in axial direction and
execute the next radial cutting cycle; cut to end point of cutting, and then return to
starting point (starting point and end point are the same one in G74), which is called
one radial grooving compound cycle. Directions of axial tool infeed and radial tool
infeed are defined by relative position between end point XUZW and starting
point of cutting. G75 is used for machining radial loop groove or column surface by
radial discontinuously cutting, breaking stock and stock removal.
Relevant definitions
Starting point of axial cutting cycle: starting position of axial tool infeed for each axial cutting cycle, defining
with An(n=1,2,3), the coordinates of An in Z direction is the same
that of starting point A, the different value of coordinates between An
and An-1 in X direction is i. The starting point A1 of the first axial
cutting cycle is the same as the starting point A, and the starting point
(Af ) of the last axial cutting cycle in X direction is the same that of
cutting end point.
End point of axial tool infeed: starting position of axial tool infeed for each axial cutting cycle, defining with
Bn(n=1,2,3), the coordinates of Bn in Z direction is the same that of
cutting end point, the coordinates of Bn in X direction is the same that of An ,
and the end point (Bf ) of the last axial tool infeed is the same that of cutting
end point.
End point of radius tool retraction: end position of radius tool infeed(travel of tool infeed is d) after each
axial cutting cycle reaches the end point of axial tool infeed, defining with
-34
Chapter 3 G instructions
Cn(n=1,2,3), the coordinates of Cn in Z direction is the same that of
cutting end point, and the different value of coordinates between Cn and An
Book 11 Programming
Book
in X direction is d
End point of axial cutting cycle: end position of axial tool retraction from the end point of radius tool retraction,
defining with Dn(n=1,2,3), the coordinates of Dn in Z direction is the
Programmingfundamentals
same that of starting point, the coordinates of Dn in X direction is the same
that of Cn (the different value of coordinates in X direction between it and An
is d)
Cutting end point: it is defined by XU ZW ,and is defined with Bf of the last axial tool infeed.
Fundamentals
Re it is the travel0~99.999unit:mm of tool retraction after each axial(Z axis) tool infeed without signs.
The instruction value is reserved after executing Reand the value of system parameter NO.056 is
rewritten to e1000unit0.001 mm. The value of system parameter NO.056 is regarded as the travel
of tool retraction when Reis not input.
X: Absolute coordinate value of cutting end point Bf in X direction (unit:mm)
U: Different value of absolute coordinates in X direction between cutting end point Bf and starting point.
Z: Absolute coordinate value of cutting end point Bf in Z direction (unit:mm).
W: Different value of absolute coordinates in Z direction between cutting end point Bf and starting point.
Pi travel of radial(X axis) cutting for each axial cutting cycle without signs.
Qi travel of discontinuous tool infeed in Z direction without signs when axial(Z axis) cutting.
Rdtravel (unit: mm, radius value)of radial (X axis) tool retraction after cutting to end point of axial cutting.
The radial tool retraction is 0 when the system defaults the axial cutting end point. The system defaults
the tool retraction is executed in positive direction when XUand Pi are omitted.
-35
GSK980TD Turning Machine CNC System
(d+i) (radius value) in X direction, i.e. DnAn+1 and then execute (start the next axial
cutting cycle); if the end point of tool infeed is not on it between Dn and Af after tool infeed (d+
Book
i) (radius value) in X direction, rapidly traverse to Af and execute to start the first axial
cutting cycle;
k 1 Programming Fundamentals
Rapid traverse
Fig. 3-29 G74 path Cutting feed
Instruction specifications
The cycle movement is executed by ZWand Pkblocks of G74, and the movement is not executed if
only G74 Re block is executed;
d and e are specified by the same address and whether there are ZWand Pkword or not in blocks
to distinguish them;
The tool can stop in Auto mode and traverse in Manual mode when G74 is executed, but the tool must return
to the position before executing in Manual mode when G74 is executed in G74 again, otherwise the
following path will be wrong.
When the single block is running, programs dwell after each axial cutting cycle is completed.
Rdmust be omitted in blind hole cutting .and so there is no distance of tool retraction when the tool cuts
to axial end point of cutting.
-36
Chapter 3 G instructions
Example
Book 11 Programming
Book Programmingfundamentals
Fundamentals
Fig. 3-30
ProgramO0007
G0 X40 Z5 M3 S500 Start spindle and position to starting point of machining
G74 R0.5 Machining cycle
G74 X20 Z60 P3000 Q5000 F50 (Tool infeed 5mm in Z axis and tool retraction 0.5mm each time;
rapid return to starting point(Z5) after cutting feed to end
point(Z60), tool infeed 3mm in X direction and cycle the
above-mentioned steps)
M30 End of program
Relevant definitions
Starting point of radial cutting cycle: starting position of axial tool infeed for each radial cutting cycle,
defined by An(n=1,2,3), the coordinates of An in X direction is the
same that of starting point A, the different value of coordinates
between An and An-1 in X direction is k. The starting point A1 of
the first radial cutting cycle is the same as the starting point A, and the
-37
GSK980TD Turning Machine CNC System
starting point (Af ) of the last axial cutting cycle in Z direction is the
same that of cutting end point.
Book 1 Programming Fundamentals
End point of radial tool infeed: starting position of radial tool infeed for each radial cutting cycle, defined
by Bn(n=1,2,3), the coordinates of Bn in X direction is the same that
of cutting end point, the coordinates of Bn in Z direction 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 tool infeed, defining
with Cn(n=1,2,3), the coordinates of Cn in X direction is the same
that of cutting end point, and the different value of coordinates
between Cn and An in Z direction is d
End point of radial cutting cycle: end position of radial tool retraction from the end point of axial tool
retraction, defined by Dn(n=1,2,3), the coordinates of Dn in X
direction is the same that of starting point, the coordinates of Dn in Z
direction is the same that of Cn (the different value of coordinates in Z
direction between it and An is d)
Cutting end point: it is defined by XU ZW ,and is defined with Bf of the last radial tool infeed.
Re it is the travel(unit: mm) of tool retraction after each radial(X axis) tool infeed without signs. The
instruction value is reserved after executing Reand the value of system parameter NO.056 is
rewritten to e1000unit0.001 mm. The value of system parameter NO.056 is regarded as the
travel of tool retraction when Reis not input.
X: Absolute coordinate value of cutting end point Bf in X direction (unit:mm)
U: Different value of absolute coordinates in X direction between cutting end point Bf and starting point.
Z: Absolute coordinate value of cutting end point Bf in Z direction (unit:mm).
W: Different value of absolute coordinates in Z direction between cutting end point Bf and starting point.
Pi travel(0~9999999) of radial(X axis) discontinuous tool infeed for each axial cutting cycle without
signs.
Qktravel of discontinuous tool infeed in Z direction without signs when axial(Z axis) cutting.
Rdtravel (unit: mm, radius value)of axial (Z axis) tool retraction after cutting to end point of radial
cutting. The system defaults the tool retraction is executed in positive direction when ZWand
Qk are omitted.
Travel of axial(Z axis) tool retraction is 0 after the system defaults radial cutting end point when
Rd is omitted.
The system defaults the tool retraction is executed in positive direction when ZWand Q
k are omitted.
-38
Chapter 3 G instructions
Book 11 Programming
Book Programmingfundamentals
Rapid traverse
Cutting feed
Fundamentals
An: Starting point of radial cutting
N=1, 2, 3..
Z
W
-39
GSK980TD Turning Machine CNC System
Explanation
The cycle movement is executed by XWand Piblocks
Pi of G75, and the movement is not executed if
Book
to distinguish them;
The tool can stop in Auto mode and traverse in Manual mode when G75 is executed, but the tool must return
to the position before executing in Manual mode when G75 is executed again, otherwise the following path
will be wrong;
When the system is executing the feed hold or single block, the program pauses after the system has executed
end point of current path;
Rdmust be omitted in grooving, and so there is no travel of tool retraction when the tool cuts to radial
cutting end point.
ExampleFig. 3-32
ProgramO0008
G00 X150 Z50 M3 S500 Start spindle with 500 rev/min
G0 X125 Z-20 Position to starting point of machining
G75 R0.5 F150 Machining cycle
G75 X40 Z-50 P6000 Q3000 Tool infeed 6mm every time in X direction, tool retraction 0.5mm,
rapid returning to starting point (X125) after infeeding to end point
(X40), tool infeed 3mm in Z direction and cycle the
above-mentioned steps to continuously run programs
G0 X150 Z50 Return to starting point of machining
M30 End of program
-40
Chapter 3 G instructions
Book 11 Programming
Book
GSK980TD CNC system can machine many kinds of thread cutting, including metric/inch single, multi threads,
Programmingfundamentals
thread with variable lead and tapping cycle. Length and angle of thread run-out can be changed, multiple cycle thread
is machined by single sided to protect tool and improve smooth finish of its surface. Thread cutting includes:
continuous thread cutting G32, thread cutting with variable lead G34, Thread cutting in Z direction G33, Thread
cutting cycle G92, Multiple thread cutting cycle G76
Fundamentals
The machine used for thread cutting must be installed with spindle encoder which lines are set by NO.070m. Drive
ratio between spindle and encoder is set by NO.110 and NO.111. X or Z axis traverses to start machine after the
system receives spindle signal per rev in thread cutting, and so one thread is machined by multiple roughing,
finishing without changing spindle speed.
The system can machine many kinds of thread cutting, such as thread cutting without tool retraction groove. There is
a big error in the thread pitch because there are the acceleration and the deceleration at the starting and ending of
thread cutting in X, Z direction, and so there is length of thread lead-in and distance of tool retraction at the actual
starting and ending of thread cutting
The traverse speed of tool in X, Z direction is defined by spindle speed instead of cutting feedrate override in thread
cutting when the pitch is defined. The spindle override control is valid in thread cutting. When the spindle speed is
changed, there is error in pitch caused by acceleration/deceleration in X, Z direction, and so the spindle speed cannot
be changed and the spindle cannot be stopped in thread cutting, which will cause tool and workpiece to be damaged.
longer moving distance from starting point to end point(radius value in X direction) is called as
the long axis and another is called as the short axis. In course of motion, the long axis traverses
one lead when the spindle rotates one rev, and the short axis and the long axis execute the
linear interpolation. Form one spiral grooving with variable lead on the surface of workpiece to
realize thread cutting with constant lead. Metric pitch and inch pitch are defined respectively
by F, I. Metric or inch straight, taper, end face thread and continuous multi-section thread can
by machined in G32:
Instruction specification:
G32 is modal;
Pitch is defined to moving distance when the spindle rotates one rev(X axis in radius);
Cutting straight thread when starting point and end point in X direction are the same one(not to input X or U);
Cutting end face thread when starting point and end point in X direction are the same one(not to input Z or W);
Cutting taper thread when starting point and end point in X,Z direction are not the same one;
F: Metric pitch is moving distance of long axis when the spindle rotates one rev: 0.001500 mm. After F is executed,
it is valid until F with specified pitch is executed again.
-41
GSK980TD Turning Machine CNC System
I: Teeth per inch. It is ones per inch25.4 mm in long axis, and also is circles of spindle rotation when the long
axis traverses one inch25.4 mm:0.0625400 tooth/inch. After I is executed, it is valid until I with specified
pitch is executed again.
Book
K: Length in long axis when thread run-out: 09999.999(unitmm). If the long axis is X, its value is in radius
k 1 Programming Fundamentals
Starting point
Z axis is long axis when LzLx(45)
X axis is long axis when LxLz (45)
Skew thread
End point
Fz
Fx
Z axis
X
End point
K
a Current point
U/2
Tool path
J
Z W End point of G32 program
X axis
Fig.3-33 G32 path
Cautions
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;
There is no thread run-out when J, or J, K are omitted; K=J is the thread run-out value when K is omitted;
-42
Chapter 3 G instructions
There is no thread run-out when J=0 or J=0K=0;
The thread run-out value J=K when J0K=0;
Book 11 Programming
Book
There is no thread run-out when J=0 or K0;
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
Programmingfundamentals
continuous thread machining.
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.
Fundamentals
In Single block, the program stops run after the current block is executed. The program stops run after all
blocks for thread cutting are executed.
The thread cutting decelerates to stop when the system resets, emergently stop or its driver alarms.
ExamplePitch2mm1 = 3mm2 = 2mmtotal cutting depth 2mm with two times cut-in.
Starting point
End point
Fig. 3-34
ProgramO0009
G00 X28 Z3 First cut-in 1mm
G32 X51 W-75 F2.0 First taper cutting
G00 X55 Tool retraction
W75 Return to starting point in Z direction
X27 Second tool infeed 0.5mm
G32 X50 W-75 F2.0 Second taper thread cutting
G00 X55 Tool retraction
W75 Return to starting point in Z direction
M30
Instruction functionThe path of tool traversing is a straight line from starting point to end point in X, Z
direction, the longer moving distance from starting point to end point(radius value in X
-43
GSK980TD Turning Machine CNC System
direction) is called as the long axis and another is called as the short axis. In course of
motion, the long axis traverses one lead when the spindle rotates one rev, the pitch
Book
increases or decreases a specified value per rev and one spiral grooving with variable
k 1 Programming Fundamentals
lead on the surface of workpiece to realize thread cutting with variable lead. Tool
F, I are specified separately to metric, inch pitch. Machine metric or inch straight, taper, end face
Instruction specifications:
G34 is modal;
R: Increment or decrement of pitch per rev, R=F1-F2, with direction; F1>F2, pitch decreases when R is negative;
The system alarms when R exceeds the above-mentioned range or the pitch exceeds permissive value or is negative
Caution
It is the same that of G32.
-44
Chapter 3 G instructions
Book 11 Programming
Book
70
Programmingfundamentals
50 Z
2 1
Fundamentals
X
Fig. 3-36 Variable thread machining
When G34 is used many times, use macro variables to simplify programming. 1 = 4mm2 = 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#202 Q800 First tool infeed: evaluation #202=0.8mm
G65 H01 P#203 Q0 Cycle countevaluation #203=0
N10 G65 H02 P#204 Q#203 R1 Cycle count starting#204=#203+1
G65 H01 P#203 Q#204 #203=#204
G65 H81 P30 Q#204 R15 Total cutting cycle times#204=15jump to block N30
G00 U-10 Tool infeed to 50
G65 H01 P#200 Q#202 Cutting infeed#200=#202
G00 U-#200 Tool infeed
G34 W-78 F3.8 J5 K2 R0.2 Variable pitch cutting
G00 U10 Tool retraction
Z4 Return to starting point in Z direction
G65 H03 P#201 Q#200 R200 Decreasing of cutting feed again#201=#2000.2
G65 H01 P#202 Q#201 Evaluation again #202=#201
G65 H86 P20 Q#202 R200 InfeedJump to block N20 when #2020.2mm
G65 H80 P10 Unconditionally jump to block N10
N20 G65 H01 P#202 R200 Min. infeed#202=0.2
G65 H80 P10 Unconditionally jump to block N10
N30 M30
Instruction function: Tool path is from starting point to end point and then from end point to starting point. The
tool traverses one pitch when the spindle rotates one rev, the pitch is consistent with
-45
GSK980TD Turning Machine CNC System
pitch of tool and there is spiral grooving in internal hole of workpiece and the
internal machining can be completed one time.
Instruction specification: G33 is modal instruction;
Book
Z(W): starting point and end point in Z direction are the same one not to execute the thread
k 1 Programming Fundamentals
Cycle process
Tool infeed in Z direction (start spindle before G33 is executed)
M05 signal outputs after the tool reaches the specified end point in Z direction in progamming
Test spindle after completely stopping
Spindle rotation (CCW) signal outputs
The tool retracts to starting point in Z direction
M05 signal outputs and the spindle stops
Repeat the steps if multi threads are machined.
ExampleFig.3-37thread M101.5
Fig. 3-37
ProgramO0011
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 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, the
tool continuously infeeds in Z direction 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: Rapid traverse speed in tapping in Z direction is defined by spindle speed and pitch is not related 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.
Note5: The thread cutting decelerates to stop when the system resets, emergently stop or its driver alarms.
-46
Chapter 3 G instructions
Book 11 Programming
Book
Instruction formatG92 XU_ ZW_ F_ J_ K_ L Metric straight thread cutting cycle
G92 XU_ ZW_ I_ J_ K_ L Inch straight thread cutting cycle
Programmingfundamentals
G92 XU_ ZW_ R_ F_ J_ K_ L Metric taper thread cutting cycle
G92 XU_ ZW_ R_ I_ J_ K_ L Metric taper thread cutting cycle
Instruction function: Tool infeeds in radial(X axis) direction and cuts in axial(Z axis or X, Z axis) direction
from starting point of cutting to realize straight thread, taper thread cutting cycle with
Fundamentals
constant thread pitch. Thread run-out in G92: at the fixed distance from end point of
thread cutting, the tool executes thread interpolation in Z direction and retracts with
exponential or linear acceleration in X direction, and retracts at rapidly traverse speed
in X direction after it reaches to end point of cutting in Z direction as Fig. 3-41.
Instruction specifications:
G92 is modal;
Starting point of cutting: starting position of thread interpolation;
End point of cutting: end position of thread interpolation;
X: absolute coordinate of end point of cutting in X direction, unit:mm;
U: different value of absolute coordinate from end point to starting point of cutting in X direction, unit:mm;
Z: absolute coordinate of end point of cutting in Z direction, unit:mm;
W: different value of absolute coordinate from end point to starting point of cutting in X direction, unit:mm;
R: different value(R value) of absolute coordinate from end point to starting point of cutting in X direction.
When the sign of R is not the same that of U,RU/2, unit:mm.
F=0.001500 mm, metric thread pitch. After F value is executed, it is reserved and can be omitted;
I=0.0625400 tooth/inch, metric thread teeth per inch, After F value is executed, it is
not reserved and can be not omitted;
J: Moving distance in the short axis in thread run-out is 0~9999.999 (unitmm) 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: Moving distance in the long axis in thread run-out is 0~9999.999 (unitmm) without direction ( automatically
define its direction according to starting position of program), and it is modal parameter. If the long axis is X, its
L: Multi threads: 199 and it is modal parameter. ( the system defaults it is single thread when L is omitted)
F
-47
GSK980TD Turning Machine CNC System
Book 1 Programming Fundamentals
Rapid traverse
C B
Thread cutting
2 AStarting pointend point
3
1
4 BStarting point of cutting
D
CEnd point of cutting
Fig.3-39 Tool
B Z Rapid traverse
Thread cutting
X/2 C
AStarting pointend point
2
1
BStarting point of cutting
CEnd point of cutting
3
D
4
A
X Tool
Fig. 3-40
The system can machine one thread with many tool infeeds 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(it is in radius in X direction) when the spindle rotates one rev.
Pitch of taper thread is defined that it is a moving distance of long axis(it is in radius in X direction). When
absolute value of coordinate difference between B point and C point in Z direction is more than that of X
( in radius), Z axis is long axis; and vice versa.
Book 11 Programming
Book
Length of thread run-out is K in the long direction and is specified by NO.019 when J is omitted;
Length of thread run-out is J=K when K is omitted;
Programmingfundamentals
There is no thread run-out when J=0 or J=0, K=0;
Length of thread run-out is J=K when J0K=0;
There is no thread run-out when J=0K0;
After executing the feed hold in thread cutting, the system does not stop cutting until the thread cutting
is completed with Pause on screen;
Fundamentals
After executing single block in thread cutting, the program run stops after the system returns to starting
point(one thread cutting cycle is completed).
Thread cutting decelerates to stop when the system resets, emergently stop or its driver alarms.
Instruction 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 as Fig. 3-41:
1 U>0W<0R>0 2 U<0W<0R<0
Z Z
W
K
R
U/2 J
U/2
J
K R
X X
Z W Z
K
J
R
U/2
U/2
R
J
K
W
X X
Fig. 3-41
ExampleFig.3-42
-49
GSK980TD Turning Machine CNC System
Book 1 Programming Fundamentals
axis
axis
Fig. 3-42
ProgramO0012
M3 S300 G0 X150 Z50 T0101 Thread tool
G0 X65 Z5 (Rapid positioning)
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
Relevant definitions
Starting point(end point): position before block runs and behind blocks run, defined by A point;
End point of thread(D point): end point of thread cutting defined by XU ZW ,.
The tool will not reach the point in cutting if there is the thread run-out path;
Starting point of thread(C point): its absolute coordinates is the same that of A point and the different
value of absolute coordinates between C and D in X direction is i(thread taper with radius value). The tool
cannot reach C point in cutting when the defined angle of thread is not 0;
Reference point of thread cutting depthB point: its absolute coordinates is the same that of A point
and the different value of absolute coordinates between B and C in X direction is k(thread taper with
radius value).The cutting depth of thread at B point is 0 which is the reference point used for
-50
Chapter 3 G instructions
counting each thread cutting depth by the system;
Thread cutting depth: it is the cutting depth for each thread cutting cycle. It is the different value
Book 11 Programming
Book
(radius value, without signs) of absolute coordinates in X direction between B and intersection of
reversal extension line for each thread cutting path and straight line BC. The cutting depth for each
roughing is n d , n is the current roughing cycle times, d is the thread cutting depth of
Programmingfundamentals
first roughing;
Travel of thread cutting: different value between the current thread current depth and the previous
one: n - n 1 d
End point of tool retraction: it is the end position of radial (X axis) tool retraction after the thread
Fundamentals
cutting in each thread roughing, finishing cycle is completed, defining with E point;
Run-in path of thread:
X: Absolute coordinates (unit: mm) of thread end point in X direction;
U: Different value (unit: mm) of absolute coordinates between thread end point and starting point in X
direction;
Z: Absolute coordinates (unit: mm) of thread end point in Z direction;
W: Different value (unit: mm) of absolute coordinates between thread end point and starting point in Z
direction;
P(m)Times of thread finishing: 0099 (unittimes) with 2-digit digital. It is valid after m instruction
value is executed, and the value of system parameter NO.057 is rewritten to m. The value of system
parameter No.057 is regarded as finishing times when m is not input. The thread is finished
according to the programmed thread path, the first finishing cutting travel is d and the following
one is 0,
P(r)Width of thread run-out 0099(unit: 0.1LL is the thread pitch) with 2-digit digital. It is valid
after r instruction value is executed and the value of system parameter NO.019 is rewritten to r. The
value of system parameter NO.019 is the width of thread run-out when r is not input. The thread
run-out function can be applied to thread machining without tool retraction groove and the width of
thread run-out defined by system parameter NO.019 is valid for G92;
P(a)Angles at taper of neighboring two tooth are 00, 29, 30, 55, 60, 80, unit: degreewith 2-digit
digital. It is valid after a instruction value is executed and the value of system parameter NO.058 is
rewritten to a. The value of system parameter NO.058 is regarded as angle of thread tooth. The actual
angle of thread in defined by tool ones and so a should be the same as the tool angle;
Q(dmin)Minimum cutting travel of thread roughing(unit: 0.001mm, radius value without signs).
When n - n 1 ddmin, dmin is regarded as the cutting travel of current roughing,
i.e. depth of current thread cutting is n 1 d+dmin.
dmin is applied because the cutting travel of roughing is undersize and the times of roughing is
excessive, which is caused the cutting travel of thread roughing gradually decreases. After Qdmin
is executed, the instruction value dmin is value and the value of system parameter NO.059 is
rewritten to minimum cutting travel;
R(d): It is the cutting travel of thread finishing, and is the different value(unit:mm, radius value without
signs) of absolute coordinates in X direction between cut-in point Be of thread finishing and Bf of
thread roughing. After Rdis executed, the instruction value d is value and the value of system
-51
GSK980TD Turning Machine CNC System
parameter NO.060 is rewritten to d1000unit0.001 mm. The value of system parameter NO.060
is regarded as the cutting travel of thread finishing when Rdis not input.
Book
R(i)It is thread taper and is the different value of absolute coordinates between thread starting point and
end point in X direction(unit:mm, radius value). The system defaults i=0(straight thread) when i is not
k 1 Programming Fundamentals
input;
P(k)It is the depth of thread tooth and is also the total cutting depth of thread(unit: 001mm, radius value
without signs);
Q(d)It is the first depth of thread cutting (unit: 0.001mm, radius value without signs).The system
alarms when d is not input;
F: 0.001500 mmmetric thread pitch.
I: 0.0625400 tooth/inch, thread teeth per inch for inch thread.
Thread cutting
Rapid traverse
X Fig.3-43(a)
-52
Chapter 3 G instructions
Book 11 Programming
Book Programmingfundamentals
Fundamentals
Fig. 3-43(b)
Pitch is defined to moving distance ( radius value in X direction) of long axis when the spindle rotates one
rev. Z axis 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 direction is the same that of AD
when a0
The tool cuts threads paralleling with CD to the intersection of DE (r0: thread run-out)
The tool rapidly traverses to E point in X direction
The tool rapidly traverses to A point in Z direction and the single roughing cycle is completed
The tool rapidly traverses again to tool infeed to Bn ( is the roughing times), the cutting depth is the
bigger value of n d
n 1 d+dmin, and execute if the cutting depth is less
thank-d; if the cutting depth is more than or equal tok-d, the tool infeedsk-dto Bf ,and then,
execute to complete the last thread roughing
The tool cuts threads paralleling with CD to the intersection of DE (r0: thread run-out)
The tool rapidly traverses to E point in X direction
The tool rapidly traverses to A point in Z direction and the thread roughing cycle is completed to
execute the finishing
After the tool rapidly traverses to B(the cutting depth is k and the cutting travel is d), execute the
thread finishing, at last the tool returns to A point and so the thread finishing cycle is completed
If the finishing cycle times is less than m, execute to perform the finishing cycle, the thread
cutting depth is k and the cutting travel is 0; if the finishing cycle times is equal to m, G76 compound
thread machining cycle is completed.
Cautions
In thread cutting, execute the feed hold, the system displays Pause after the thread cutting is executed
completely, and then the program run pauses;
Execute single block in thread cutting, the program run stops after returning to starting point(one thread
cutting cycle is completed);
-53
GSK980TD Turning Machine CNC System
The thread cutting decelerates to stop when the system resets and emergently stop or the driver alarms;
Omit all or some of G76 Pm a Qdmin Rd. The omitted address runs according to
r
Book
NO.57, 19, 58 when m, r, a are all omitted; Setting value is a when address P is input with 1 or 2-bit
digits; setting values are r, a when address P is input with 3 or 4-bit digits;
The direction of ACDE is defined by signs of U,W , and the direction of CD is defined by the
sign of Ri. There are four kinds of sign composition of U, W corresponding to four kinds of
machining path as Fig. 3-44.
ExampleFig. 3-44thread M686.
68
60.64
Cutting point
Zooming out
62
Fig. 3-44
ProgramO0013
G50 X100 Z50 M3 S300 Set workpiece coordinate system, start spindle and specify
spindle speed
G00 X80 Z10 Rapid traverse to starting point of machining
G76 P020560 Q150 R0.1 Finishing 2 times, chamfering width 0.5mm, tool angle 60,
min. cutting depth 0.15, finishing allowance 0.1
G76 X60.64 Z-62 P3680 Q1800 F6 (Tooth height 3.68, the first cutting depth1.8)
G00 X100 Z50 Return to starting point of program
M30 End of program
-54
Chapter 3 G instructions
Instruction formatG97 SxxxxS0000S9999the
Sxxxx leading zero can be omitted.
Instruction functionthe constant surface speed control is cancelled, the constant rotational speed control is valid
Book 11 Programming
Book
and the spindle speed is defined(rev/min). G96 is modal G instruction. If the current modal
is G97, G97 cannot be input.
Instruction formatG50 SxxxxS0000S9999the leading zero can be omitted.
Programmingfundamentals
Instruction function: define max. spindle speed limit (rev/min) in the constant surface speed control and take the
current position as the program reference point.
G96, G97 are the modal word in the same group but one of them is valid. G97 is the initial word and the system
Fundamentals
defaults G97 is valid when the system turns on.
When the machine tool cuts it, the workpiece rotates based on the axes of spindle as the center line, the cutting
point of tool cutting workpiece is a circle motion around the axes of spindle, and the instantaneous speed in the
circle tangent direction is called the cutting surface(for short surface speed). There are different surface speed for
the different workpiece and tool with different material.
When the spindle speed controlled by the analog voltage is valid, the constant surface control is valid. The
spindle speed is changed along with the absolute value of X absolute coordinates of programming path in the
constant speed control. If the absolute value of X absolute coordinates adds, the spindle speed reduces, and vice
verse, which make the cutting surface speed as S instruction value. The constant speed control to cut the
workpiece makes sure all smooth finish on the surface of workpiece with diameter changing.
Surface speed=spindle speed |X| 1000 (m/min)
Spindle speed: rev/min
|X|absolute value of X absolute coordinate value (diameter value), mm
3.14
n
3000
2800
2600
2400
2200
2000
1800
1600
1400
1200
1000
S
800
40 6 0 m
600 30 0 min
2 0
400 10 00
50 0
200
0
40 80 120 160 200240280320360400440480520560600 Unitmmdiameter
0
Fig.2-45
In G96, the spindle speed is changed along with the absolute value of programming path X absolute coordinate
value in the course of cutting feed (interpolation), but it is not changed in G00 because there is no actual cutting
-55
GSK980TD Turning Machine CNC System
and is counted based on the surface speed of end point in the program block.
In G96, Z coordinates axis of workpiece system must consist with the axes of spindle (rotary axis of workpiece),
Book
otherwise, there is different between the actual surface speed and the defined one.
k 1 Programming Fundamentals
In G96, G50 S_ can limit max. spindle speed (rev/min). The actual spindle speed is the limit value of max. speed
when the spindle speed counted by the surface speed and X coordinate 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: In G96, the spindle speed is limited to 99 rev/min (set by NO.043) if G50, S0 are executed.
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 coordinate value
Example
ProgramO0014
M3 G96 S300 Spindle rotates clockwise, the constant surface speed control is valid and
the surface speed is 300m/min
G0 X100 Z100 Rapid traverse to A point with spindle speed 955 rev/min
G0 X50 Z0 Rapid traverse to B point with spindle speed 1910 rev/min
G1 W-30 F200 Cut from B to C with spindle speed 1910 rev/min
X80 W-20 F150 Cut from C to D with spindle speed 1910 rev/min and surface
speed 1194 rev/min
G0 X100 Z100 Rapid retract to A point with spindle speed 955 rev/min
M30 End of program, spindle stop and coolant OFF
Note 1: In G96, S value commanded is reserved in g97. Its value is resumed after it returns to G96. Example:
G96 S50 Cutting surface speed 50m/min
G97 S1000 Spindle speed 1000 rev/min
G96 G01 X200Cutting surface speed 50m/min
Note 2: The constant surface speed control is valid when the machine tool is locked (X, Z axis do not move when
-56
Chapter 3 G instructions
Book 11 Programming
Book
but the constant rotational speed (G97) in the course of thread cutting;
Note 4: From G96 to G97, if none of S instruction (rev/min) is commanded in the program block in G97, the last
Programmingfundamentals
spindle speed in G96 is taken as S instruction 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.037NO.040), at this time, the spindle speed is limited to max. one of
current spindle gear.
Fundamentals
3.12 FEEDRATE per MINUTE G98, FEEDRATE per REV G99
Instruction format:G98 FxxxxF0001F8000the leading zero can be omitted, feed rate per minute is
specified, mm/min
Instruction function: cutting feed rate is specified as mm/min, G98 is the modal G instruction. G98 cannot be
input if the current instruction is G98 modal.
Instruction format:G99 FxxxxF0.0001F500the leading zero can be omitted
Instruction function: cutting feed rate is specified as mm/min, G99 is the modal G instruction. G99 cannot be
input if the current instruction is G98 modal.
The cutting feed per rev specified by G99 F_ is contributed to the equable cutting line on the
surface of workpiece. In G99, the machine tool must be adopted with the spindle encoder to machine
the workpiece on the machine tool
G98, G99 are the modal G instruction in the same group and only one is valid. G98 is the initial state G
instruction and the system defaults G98 is valid when the system turns on.
Reduction formula of feed between per rev and per min:
Fm = FrS
Fmfeed per min mm/min
Frfeed per revmm/r
Sspindle speed r/min.
After the system turns on, the feedrate is ones set by NO.030 and F value is reserved after F is commanded. The
feed rate is 0 after F0 is executed. F value is reserved when the system resets and emergently stops.
Parameters
System parameter NO.027: the upper limit value of cutting feed rate(they are the same in X, Z axis
diameter/min in X axis);
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.
-57
GSK980TD Turning Machine CNC System
Note: In G99 modal, there is the uneven cutting feed rate when the spindle speed is lower than 1 rev/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
Book 1 Programming Fundamentals
machining quality, it is recommended that the selected spindle speed should be not lower than min. speed of
spindle servo or inverter
The system provides the macro instruction which similar to the high language, and can realize the variable
evaluation, add and subtract operation, logic decision and conditional jump by user macro instruction,
contributed to compiling part program for special workpiece, reduce the fussy counting and simplify the user
program
Book 11 Programming
Book
macro variables.
Programmingfundamentals
Common macro variables
Common macro variables(#200#231#500#515) are common in all user programs, i.e. Macro
variables defined in the program 1 can be applied to the program 2 or program 3.
Fundamentals
The values of common variables( #200#231,#500#515) are reserved after power off
System macro variables
Use of system macro variables are fixed in the system with interface input signals #1000#1015 and
interface output signals #1100#1107,
Interface input/output signal of system variables and other function interface signals share one
interface which is valid set by parameters, and the interface input signal of system variables is valid
when the corresponding interface signal is valid.
The system judges and executes other operations including jumping after it reads value of interface
input signal #10001015values of #1005#1015corresponds to 0/1
Interface signals of system variables #1000#1015 are defined as follows:
Bit No.7 6 5 4 3 2 1 0
Diagnostic No.00 *TCP DIQP *DECX BDT T04 T03 T02 T01
DITW
Macro variable No. #1007 #1006 #1005 #1004 #1003 #1002 #1001 #1000
XS6:49 XS6:47 XS40:1 XS40:2 XS40:3 XS40:4 XS40:5 XS40:6
Socket pin No.
Evaluation of #11001105 is 1 or 0, and output state of its interface signals can be changed.
Interface signals of system variables #1100#1105 are defined as follows:
-59
GSK980TD Turning Machine CNC System
Diagnostic No.005 M13 M11 S04 S03 S02 S01
3.13.2
3.13.2 Operation and Jump Instruction G65
Instruction format
Instruction
G65 Hm P# i Q# j R# k
m: operation or jump instruction, range 0199.
# I: macro variables name for storing values.
# j: macro variables name 1 for operation, can be constant.
# k: macro variables name 2 for operation, can be constant.
Instruction functions: # i = #j O # k
-60
Chapter 3 G instructions
Instruction format Functions Definitions
# i = # j +# k
2 2
G65 H27 P#i Q#j R#k Compound square root
Book 11 Programming
Book
G65 H31 P#i Q#j R#k Sine # i = # jsin(# k)
G65 H32 P#i Q#j R#k Cosine # i = # jcos(# k)
Programmingfundamentals
G65 H33 P#i Q#j R#k Tangent # i = # jtan(# k)
G65 H34 P#i Q#j R#k Arc tangent # i = ATAN(# j / # k)
G65 H80 Pn Unconditional jump Jump to block n
Conditional jump 1 Jump to block n if # j = # k
G65 H81 Pn Q#j R#k otherwise the system executes in
Fundamentals
order
Conditional jump 2 Jump to block n if # j # k
G65 H82 Pn Q#j R#k otherwise the system executes in
order
Conditional jump 3 Jump to block n if # j # k
G65 H83 Pn Q#j R#k otherwise the system executes in
order
Conditional jump 4 Jump to block n if # j # k
G65 H84 Pn Q#j R#k otherwise the system executes in
order
Conditional jump 5 Jump to block n if # j # k
G65 H85 Pn Q#j R#k otherwise the system executes in
order
Conditional jump 6 Jump to block n if # j # k
G65 H86 Pn Q#j R#k otherwise the system executes in
order
G65 H99 Pn P/S alarm 500+nalarms
1 Operation instructions
Evaluation of macro variables# I = # J
G65 H01 P#I Q#J
ExampleG65 H01 P# 201 Q1005 #201 = 1005
G65 H01 P#201 Q#210 #201 = #210
G65 H01 P#201 Q-#202 #201 = -#202
2Decimal add operation# I = # J+# K
G65 H02 P#I Q#J R#K
ExampleG65 H02 P#201 Q#202 R15 #201 = #202+15
3Decimal subtract operation# I = # J# K
G65 H03 P#I Q#J R# K
ExampleG65 H03 P#201 Q#202 R#203 #201 = #202#203
4Decimal multiplication operation# I = # J# K
G65 H04 P#I Q#J R#K
ExampleG65 H04 P#201 Q#202 R#203 #201 = #202#203
-61
GSK980TD Turning Machine CNC System
5Decimal division operation# I = # J# K
G65 H05 P#I Q#J R#K
Book 1 Programming Fundamentals
-62
Chapter 3 G instructions
17Cosine# I = # JCOS# KUnit
G65 H32 P#I Q#J R# k
Book 11 Programming
Book
ExampleG65 H32 P#201 Q#202 R#203 #201 =#202COS#203
18Tangent# I = # JTAM# KUnit
G65 H33 P#I Q#J R# K
Programmingfundamentals
ExampleG65 H33 P#201 Q#202 R#203 #201 = #202TAM#203
19Cosine# I = ATAN# J /# KUnit
G65 H34 P#I Q#J R# k
Fundamentals
ExampleG65 H34 P#201 Q#202 R#203 #201 =ATAN#202/#203
Note 1: Unit ofPS: degree, 1 degree;
Note 2: Variable value is integer, and decimal is omitted. Unit: m
Note 3: Variable value displays correctly -99999999999999 in -232+232-1, otherwise the system displays
*******.
2 Jump instruction
1 Unconditional jump
G65 H80 Pn nBlock number
ExampleG65 H80 P120jump to N120
2Conditional jump 1 #J.EQ.# K ( = )
G65 H81 Pn Q#J R# K nBlock number
(Example) G65 H81 P1000 Q#201 R#202
The program jumps N1000 when # 201= #202 and executes in order when #201 #202.
3Conditional jump 2 #J.NE.# K ( )
G65 H82 Pn Q#J R# K nBlock number
(Example) G65 H82 P1000 Q#201 R#202
The program jumps N1000 when # 201 #202 and executes in order when #201 = #202.
4Conditional jump 3 #J.GT.# K ( )
G65 H83 Pn Q#J R# K nBlock number
(Example) G65 H83 P1000 Q#201 R#202
The program jumps N1000 when # 201 #202 and executes in order when #201 #202.
5Conditional jump 4 #J.LT.# K ( )
G65 H84 Pn Q#J R# K nBlock number (example) G65 H84 P1000 Q#201 R#202
The program jumps N1000 when # 201 #202 and executes in order when #201#202.
6Conditional jump 5 #J.GE.# K ( )
G65 H85 Pn Q#J R# K nBlock number (example) G65 H85 P1000 Q#201 R#202
The program jumps N1000 when # 201 #202 and executes in order when #201 #202.
7Conditional jump 6 #J.LE.# K ( )
G65 H86 Pn Q#J R# K nBlock number
(Example) G65 H86 P1000 Q#201 R#202
-63
GSK980TD Turning Machine CNC System
8P/S alarm
G65 H99 Pi ialarm number +500
Book 1 Programming Fundamentals
Note: Block number can be specified by variables. Such as: G65 H81 P#200 Q#201 R#202; program jump to
block of its the block number specified by #200
-64
Chapter 4 Tool nose radius compensation
4.1.1 Overview
Part program is compiled generally for one point of tool according to a workpiece contour. The point is
regarded generally as the tool nose A point in an imaginary state(there is no the 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. 3-41). Its nose of turning tool is not the imaginary point but one arc owing
to the technology and other requirement in the actual machining. There is the warp between the actual cutting
point and the cutting point in imaginary state, which will cause the excessive or less cutting to not to gain the
perfect precision.
To avoid of the above-mentioned ones, the system is employed with C type tool compensation method
(namely, tool nose radius compensation). The system will read next block instead of executing it immediately
after reading a block in C type tool compensation method, and count corresponding motion path according to
intersection of blocks. Contour can be compensated precisely because of pretreatment of reading two blocks as.
-1
GSK980TD Turning Machine CNC System
4.1.2 Imaginary Tool Nose Direction
Suppose that it is generally difficult to set the tool nose radius center on the initial position as Fig. 4-3;suppose
that it is easily set the tool nose on it as Fig. 4-4; The tool nose radius can be omitted in programming. Fig. 4-5
Book 1 Programming Fundamentals
and Fig.4-6 correspond separately to the tool paths of tool nose center programming and imaginary tool nose
programming when tool nose radius is executed or not.
Starting point
Starting point
Programming with tool nose center Programming with imaginary tool nose
Fig. 4-3
Tool nose path is the same as programming Finishing when using tool nose radius
path without using tool nose radius compensation compensation
Tool nose
Tool nose
center path Start compensation
center path
Program path
Program path
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 arc, machining error is caused which
can be deleted by tool nose arc radius compensation. In actual machining, suppose that there are different
position relationship between tool nose point and tool nose arc center point, and so it must create correct its
direction of imaginary tool nose.
-2
Chapter 4 Tool nose radius compensation
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
X axis
Imaginary tool
Imaginary tool
nose No.1
nose No. 2
Imaginary tool
Imaginary tool
nose No.3
nose No.4
Imaginary tool
nose No.5 Imaginary tool
nose No.6
-3
GSK980TD Turning Machine CNC System
Book 1 Programming Fundamentals
Fig. 4-5 Imaginary tool nose number in rear toolpost coordinate system
Z axis
Imaginary tool
Imaginary tool
nose No.2
nose No. 1
Imaginary tool
nose No.5
Imaginary tool
nose No.6
-4
Chapter 4 Tool nose radius compensation
Fig. 4-6 Imaginary tool nose number in front toolpost coordinate system
Table 4-1 Display window of system tool nose radius compensation value
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: Tool offset value can be specified in diameter or radius in X direction, 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 toolpost coordinate system, taking toolpost 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).
-5
GSK980TD Turning Machine CNC System
X
Book 1 Programming Fundamentals
Define distance from standard point to Define distance from standard point
center of tool nose for compensation to tool nose for compensation value
Starting point on center of tool nose Starting point on imaginary tool nose
G40
G00
G41 X Z T
G01
G42
-6
Chapter 4 Tool nose radius compensation
Workpiece
Fig. 4-9
-7
GSK980TD Turning Machine CNC System
Book 1 Programming Fundamentals
Z
X
Tool
Workpiece
4.1.6 Cautious
The system is in tool nose radius compensation mode at initial state, and starts to create tool nose radius
compensation offset mode when executing G41 or G42. When the system starts to execute compensation, it
pre-read two blocks, and the next block is saved to storage for tool nose radius compensation when executing
one of them. The system reads two blocks in Single mode and stops after executing end point of the first
block.
In tool nose radius compensation mode, the tool nose center moves to end point of previous block and is
vertical to its path when the system executes two block or more than blocks without motion instruction.
The system cannot create and cancel tool nose radius compensation
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.
The system cancels the tool nose radius compensation mode when pressing PESET key.
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 and then create it again in the subprogram.
The system does not execute the tool nose radius compensation in G71, G72, G73, G74, G75, G76 and cancel
it temporarily.
-8
Chapter 4 Tool nose radius compensation
The system executes the tool nose radius compensation in G90, G94, it offsets one tool nose radius for G41 or
G42.
R6
X
Fig. 4-11
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 Offset window as Fig.
Table 4-2
Number 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
-9
GSK980TD Turning Machine CNC System
G01 W-7
X32
Z-35
Book
4.2
4.2 TOOL NOSE RADIUS COMPENSATION OFFSET PATH
4.2.1
4.2.1 Inner and Outer Side
Inside is defined that an angle at intersection of two motion blocks is more than or equal to 180; Outside is
0~180.
Workpiece side
Inside
Programmed path
Programmed path
Outside
Workpiece side
-10
Chapter 4 Tool nose radius compensation
Programmed path
r r
G42 L G42
S S
Tool nose center path Programmed path
L L C
Tool nose center path
Fig.4-12a Straight line straight linestarting tool inside Fig. 4-12b Straight line arcstarting tool inside
-11
GSK980TD Turning Machine CNC System
G42
G42
Programmed path
L L r r
r
Tool nose center path
S S
L C
Fig.4-13a Straight line straight linestarting tool outside Fig.4-13b Straight linearcstarting tool outside
S C
S L Tool nose center path
Tool nose center path Programmed path
L
Tool nose center path
S
L
r Programmed path
G41
Fig. 4-15a Straight linestraight line1, starting tool outside
-12
Chapter 4 Tool nose radius compensation
4.2.3 Tool Traversing in Offset Mode
Offset mode is called to ones after creating tool nose radius compensation and before canceling it.
r r
G42
G42 S Tool nose center path
S
C Programmed path
L L
Tool nose center path
Fig 4-16a Straight line straight linemoving inside Fig.4-16b Straight linearc moving inside
Programmed path
L
S S
Tool nose center path
C C C
Programmed path
Tool nose center path
-13
GSK980TD Turning Machine CNC System
r
Programmed path
1
L
L
Programmed path
Programmed path
L r
L
S
C
S Tool nose center path
Tool nose center path
4Arcarc
3Straight line straight line
Programmed path
C r
r
C r Programmed path
L
L S
S Tool nose center path C
Tool nose center path
-14
Chapter 4 Tool nose radius compensation
G42 G42
L r
L r
Programmed path
r
r
L S
L S Tool nose center path C
Tool nose center path Programmed path
r
r L
L
Programmed path r
r
L S
L S Tool nose center path
Tool nose center path C
() Special cutting
1Without intersection
2Center point and starting point of arc being the same one
-15
GSK980TD Turning Machine CNC System
previous block
G41
Programmed path
B56 G01 W20;
N6 GO2 W10 I K0;
N7 G03 U-10 I-10;
Fig. 4-20 Center point and starting point of arc being the same one
Table 4-3
L
G42 r C r
r Programmed path G42 G41
G41
L
r
Programmed path L S
Tool nose center path
-16
Chapter 4 Tool nose radius compensation
S L
r
G42 G41
Programmed path
r L
Tool nose center path
L S
G42
Programmed path
G41 r
-17
GSK980TD Turning Machine CNC System
G42
Book 1 Programming Fundamentals
Programmed path
G41
L
C
O
Fig. 4-22b Straight linearc without intersectionchanging compensation direction
O2
G41
C C
O1
When the system is still in compensation canceling mode, the next block without others to be executed is read
into buffer register for tool nose radius compensation.
-18
Chapter 4 Tool nose radius compensation
Fig. 4-23a Arc straight linemoving Fig. 4-23b Arc straight linemoving
G40 G40
L L
Programmed path r r
r
L S
C Intersection
Tool nose center path Intersection
Programmed path Tool nose center path
Fig. 4-25a Straight linestraight line90 Fig. 4-25b Straight linestraight line( 90
cutting outside and canceling offset) cutting outside and canceling offset)
-19
GSK980TD Turning Machine CNC System
L
Tool nose center path
S
Book
L
k 1 Programming Fundamentals
Programmed path
r G42
1
G40
Fig. 4-26 Straight linestraight line 1cutting outside and canceling offset
Programmed path
Directions of two paths180
r r
Programmed path
A C
B
Fig. 4-28a Executing interference1
Directions of block B and tool nose radius compensation path are opposite without interference, the tools
stops and the system alarms.
A C
B
Directions of block B and tool nose radius compensation path are opposite without interference, the tools
stops and the system alarms.
-21
GSK980TD Turning Machine CNC System
S S
Tool nose center path
L
L L
Book 1 Programming Fundamentals
r r
L
N5 N6 SS N8 N9
Programmed path N7
G50 blocks
r S
r
S G00
G42
L
L
When executing G71G76 , G32, G33, G34 , the system does not execute the tool nose radius compensation
and cancel it temporarily, and executes it in the next blocks of G00, G01, G02, G03, G70.
N8
S
S
r Tool nose center path
G71~G76 N6
G32G33 N5
N7
Programmed path
Fig. 4-31 Cancel compensation vector temporarily in G71G76
-22
Chapter 4 Tool nose radius compensation
G90, G94
Fig. 4-32 Offset direction of tool nose Fig.4-33 Offset direction of tool nose
radius compensation in G90 radius compensation in G94
4.2.7 Particular
At the moment, the tool inside offset causes an excessive cutting. The tool stops and the system alarms ( P/S41)
when starting the previous block or chamfer moving. But the tool stops the end point of previous block when
Single Block is ON.
There is an excessive cutting when the tool nose center path is opposite to program path caused by tool nose
radius compensation. At the moment, the tool stops and the system alarms when starting the previous block or
chamfer moving.
The tool center path can be opposite to program path when the sidestep is less than tool nose radius and is an arc
-23
GSK980TD Turning Machine CNC System
in program. At the moment, the system automatically ignores the first vector and directly moves end point of
second vector linearly. The program stops at the end point in single block and otherwise the cycle machining is
Book 1 Programming Fundamentals
continuously executed. If the sidestep is a straight line, compensation is executed correctly and the system does
not alarm(but the not-cutting is still reserved).
Subprograms in G instructions
The system must be in canceling compensation mode before calling subprograms. After calling subprograms, the
offset is executed and the system must be in canceling compensation mode before returning to main programs,
otherwise the system alarms.
(a) Change compensation value in canceling tool change mode. New compensation value is valid after tool
change when the compensation value is changed in compensation mode.
(b) Compensation value sign symbol and tool nose center path
G41 and G42 are exchanged each other if the compensation value is negative(-). The tool moves along
inside when its center moves along outside of workpiece, and vice versa.
Generally, the compensation value is positive(+) in programming. The compensation value is negative(-) when
the tool path is as the above-mentioned (a), and vice versa.
Besides, direction of tool nose offset changes when offset value sign symbol is changed, but we suppose the
direction of tool nose is not changed. Generally, the offset value sign symbol is not changed.
The tool stops and the system alarms and displays End point of arc is not on arc when the end point of arc is
not on arc in programs.
-24
BOOK 2
OPERATION
Chapter1Operation and Display
Book2 Operation
Chapter2Power on/off and Safety Operation
Chapter3Manual Operation
ration
Chapter4Handwheel/ Single Step Operation
Chapter5MDI Operation
Chapter8Automatic Operation
Chapter11Communication
Chapter12Process Examples
Contents
Book2 Operation
1.3.8 LCD Brightness Adjusting......................................................................................................... -21
1.4 COMMON OPERATION TABLE .................................................................................. -21
Chapter 2 POWER on/off and SAFETY OPERATION ..................................................................... -1
2.1 POWER on......................................................................................................................... -1
2.2 POWER off ........................................................................................................................ -1
2.3 OVERRIDE PROTECTION ............................................................................................. -1
2.3.1 Override Protection for Hardware ................................................................................................. -1
2.3.2 Override Protection for Software................................................................................................... -2
2.4 EMERGENCY OPERATION............................................................................................ -2
2.4.1 Reset .............................................................................................................................................. -3
2.4.2 Emergency Stop............................................................................................................................. -3
2.4.3 Feed Hold ...................................................................................................................................... -3
2.4.4 Cutting off the Power..................................................................................................................... -3
Chapter 3 MANUAL OPERATION ................................................................................................... -1
3.1 MOVEMENT of AXIES.................................................................................................... -1
3.1.1 Manual Feed .................................................................................................................................. -1
3.1.2 Manual Rapid Traverse.................................................................................................................. -1
3.1.3 Speed Adjusting ............................................................................................................................. -2
3.1.4 Reset for Relative Coordinates Value ............................................................................................ -3
3.2 Other MANUAL OPERATIONS....................................................................................... -4
3.2.1 Spindle Rotation forward/reverse and Stop Control ...................................................................... -4
3.2.2 Spindle Step Feed .......................................................................................................................... -4
3.2.3 Coolant Control ............................................................................................................................. -4
3.2.4 Lubrication Control ....................................................................................................................... -4
3.2.5 Manual Tool Change...................................................................................................................... -5
3.2.6 Spindle Override Adjusting ........................................................................................................... -5
Chapter 4 HANDWHEEL/ SINGLE STEP OPERATION................................................................. -1
4.1 SINGLE STEP FEED ........................................................................................................ -1
4.1.1 Increment Selecting ....................................................................................................................... -1
I
GSK980TD Turning Machine CNC System
4.1.2 Moving Direction Selecting ........................................................................................................... -2
4.2 HANDWHEEL FEED ...........................................................................................................-2
4.2.1 Increasement Selecting................................................................................................................... -2
4.2.2 The axis to be Moved and Direction Selecting .............................................................................. -3
4.2.3 Other Operations ............................................................................................................................ -3
4.2.4 Notes .............................................................................................................................................. -4
Chapter 5 MDI OPERATION..............................................................................................................-1
5.1 DICTATE INPUT ...............................................................................................................-1
5.2 DICTATE PERFORMING .................................................................................................-2
5.3 PARAMETER SETTING...................................................................................................-2
5.4 DATA MODIFYING ..........................................................................................................-2
5.5 OTHER OPERATION........................................................................................................-3
Chapter 6 PROGRAM EDIT and MANAGEMENT ..........................................................................-1
6.1 SET up PROGRAM............................................................................................................-1
6.1.1 Generation of Program Sequence................................................................................................... -1
6.1.2 Input of Program Content............................................................................................................... -1
6.1.3 Searches of Characters ................................................................................................................... -2
Book2 Operation
Book2 Operation
8.2.4 Auxiliary Lock Run ....................................................................................................................... -7
8.2.5 Part Program Skipping................................................................................................................... -8
8.3 Other OPERATION ........................................................................................................... -8
Chapter 9 ZERO POINT RETURN.................................................................................................... -1
9.1 PROGRAM ZERO POINT RETURN............................................................................... -1
9.1.1 Program Zero Point........................................................................................................................ -1
9.1.2 The Steps of Program Zero Point Return....................................................................................... -1
9.2 MACHINE ZERO POINT RETURN................................................................................ -1
9.2.1 Machine Zero Point ....................................................................................................................... -1
9.2.2 The Steps of Machine Zero Point Return....................................................................................... -2
9.3 Other OPERATION under ZERO POINT RETURN ........................................................ -2
Chapter 10 SETTING, BACKUP and RESUMING of DATA ........................................................... -1
10.1 DATA SETTING.............................................................................................................. -1
10.1.1 Switch Setting.............................................................................................................................. -1
10.1.2 Graph Setting ............................................................................................................................... -1
10.1.3 Parameter Setting......................................................................................................................... -4
10.2 RESUMING and BACKUP DATA.................................................................................. -9
10.3 PASSWORD SETTING and MODIFYING.................................................................. -10
10.3.1 Enter Operation Level................................................................................................................ -10
10.3.2 Password Change........................................................................................................................-11
10.3.3 Set Lower Level......................................................................................................................... -12
Chapter 11 COMMUNICATION..................................................................................................... -1
11.1 Introdcution of the GSK980TD communication software, TDComm2a......................... -1
11.1.1 File DownloadingPCCNC................................................................................................ -2
11.1.2 File Uploading CNCPC .................................................................................................. -6
11.1.3 Setting Option .............................................................................................................................. -8
11.1.4 Preparations before communication............................................................................................. -8
11.3 DATA INPUTPCCNC.......................................................................................... -9
11.3.1 Program Input .............................................................................................................................. -9
III
GSK980TD Turning Machine CNC System
11.3.2 Tool Offset Input ........................................................................................................................ -11
11.3.3 Parameter Input .......................................................................................................................... -12
11.4 DATA OUTPUTCNCPC ....................................................................................-13
11.4.1 Single Program Output............................................................................................................... -13
11.4.2 All Program Output.................................................................................................................... -16
11.4.3 Tool Offset Output...................................................................................................................... -16
11.4.4 Parameter Output........................................................................................................................ -17
11.5 COMMUNICATION betweent CNC and CNC .............................................................-18
Chapter 12 PROCESS EXAMPLE .....................................................................................................-1
12.1 PROGRAM EDIT ............................................................................................................-1
12.2 PROGRAM INPUT..........................................................................................................-3
12.2.1 Look over the Preserve Programs ................................................................................................ -3
12.2.2 Set up a New Program.................................................................................................................. -3
12.3 PROGRAM TEST ............................................................................................................-4
12.3.1 Graph Setting ............................................................................................................................... -4
12.3.2 Program Test ................................................................................................................................ -5
12.4 TOOL ADJUSTING and RUN.........................................................................................-6
Book2 Operation
IV
Chapter 1 Chapter 1 Operation and Display
Book2 Operation
ration
1.1 PANEL COMPARTMENT
GSK980TD adopts integrated operation panel, and it is compartmentalized as follows:
-1
GSK980TD Turning Machine CNC System
Reset key CNC reset, stop of the feeding and moving, etc.
Book2 Operation
Address input
Address key
Radix point
Radix point input
key
-2
Chapter 1 Chapter 1 Operation and Display
Keys Name Description
Insert, modify or delete the part program or field In
Edit key
editing. can switch between inserting and
modifying by repeated press
EOB key End prompt of block input
cursor move
key Move the cursor in different directions.
Page
up/down Page up/down on display
key
Book2 Operation
Menu keys comment
Enter the position interface. There are four display models including relative
coordinate, absolute coordinate, integrated coordinate, coordinate & program.
Enter the program interface. There are three display models including the content of
program, the list of program, the program status.
Enter the tool offset interface, macro variable interface (two interfaces can be switched
by repeated press). Tool offset interface displays the tool offset value; macro variable
interface displays the macros variable of the CNC.
Enter the alarm interface. There are two display models including CNC alarm and PLC
alarm.
Enter the setup interface, graph interface (two interfaces can be switched by repeated
press). There are switchs setup, data backup, and password setup; And there are graph
setup interface and graph display interface in graph interface.
Enter the interfaces of status parameter.datas parameter and screw compensation
parameter interface (interfaces can be switched by repeated press)
Enter the interfaces of diagnosis, PLC status, PLC datas, machine soft panel, version
information (interfaces can be switched by repeated press). The interfaces of diagnosis,
PLC status, PLC data, the internal signal status of CNC and the status of the PLC
addresses and the data. It can be operated on the machine soft panel; The version of the
CNC software, hardware and PLC are displayed in the version information interface.
Feedhold key Program, MDI dictates pause Auto and MDI modes
-3
GSK980TD Turning Machine CNC System
Keys Name Description Available operation mode
-4
Chapter 1 Chapter 1 Operation and Display
Keys Name Description Available operation mode
Book2 Operation
Single block key single block running indicator LED Auto, MDI modes
is on if single block running status
is available
When segment skip indicator LED
Segment skip
is on, the segment with front / Auto, MDI modes
key
will be skipped.
Auto, MDI, Edit, Machine
The machine lock indicator LED is zero point return,
Machine lock
on when the machine is locked, X,Y Handwheel (MPG), Single
key
axis outputs are unavailable block, Manual, Program
zero point return modes
The auxiliary functions lock
Auxiliary
indicator LED is on when it is
functions lock Auto, MDI modes
locked, M, S, T functions are
key
unavailable.
The try running indicator LED is on
when it is under dry running mode,
Dry running key user program/MDI dictates are run Auto, MDI modes
key Program zero point return
modes
Auto, MDI, Edit, Machine
Program zero Enter program zero point return zero point return,
point return key mode handwheel, Single step,
manual modes
There are seven operation modes including edit, automatic, MDI, machine zero point return, single
step/handwheel, manual operation, program zero point return.
Edit mode
Under the edit mode, the programs can be set up or deleted or modified, etc.
Automatic mode
MDI mode
Under the MDI mode, the parameters and the dictates can be input and performed.
Under the machine zero point return mode, the zero point return for X or Z axis can be performed separately.
-6
Chapter 1 Chapter 1 Operation and Display
Under the handwheel/single block mode, the selected axes moves according to the selected increasement.
Manual mode
Under the manual mode, the manual feed, munual rapid move, feedreate adjustment, rapid override adjustment
and spindle on/off, lubrication on/off, coolant on/off, spindle jog, manual toolchange, etc can be performed.
Under the program zero point return mode, the zero point return for X or Z axis can be performed separately.
1.3 DISPLAY
There are nine kinds of displays such as position interface, program interface, etc, and there are several pages
(screens) in each interface. Each interfacee is nothing to do with the operation mode. Display menu, page and
hiberarchy are as follows:
Book2 Operation
Keys Interfaces Display pages
Position
interface
Program
interface
Tool offset
interface
Macro
variable
interface
Alarm
interface
-7
GSK980TD Turning Machine CNC System
Keys Interfaces Display pages
Setup
interface
Graphic
interface
Status
parameter
Datas
parameter
Book2
ok2 Operation
Worm offset
value
parameter
CNC
diagnosis
PLC status
PLC datas
Tool panel
Version
infomation
Enter the position interface by pressing the key, there are four pages including absolute coordinate,
-8
Chapter 1 Chapter 1 Operation and Display
relative coordinate, integrated coordinate and coordinate/program, which can be turned over by pressing key
or key.
The displaying coordinates of X and Z axises are absolute positions in current workpieces coordinate, and the
coordinates are kept when the power returns on; the coordinate of workpiece is defined by G50.
Book2 Operation
Programming speed: defined by F code in the user program.
Note: Programming speed can be displayed under automatic and MDI modes; under the machine zero point
return, program zero point return, and manual mode, the manual feedrate will be displayed; under the
handwheel mode, the handwheel increasement will be displayed; and under the single blcok mode, the
single block increasement will be displayed.
Actual speed: the transformed speed by the feedrate override during the actual running.
G code:The modal values of G codes in group 01 and group 03. (the group 01 and 03 values of G code in
the running segment?)
Part count: When the M30 (or M99 in the main program) is finished once, the workpice number will be
added one accordingly.
Cut time: Count from the automatic running start, the time units take turns as hour, minute and second.
Part count and cut time memory reset after power off.
Part count reset: Press and hold the key, and then press the key.
Cut time reset: Press and hold the key, and then press the key.
-9
GSK980TD Turning Machine CNC System
S0000: Spindle rev is feedbacked by the spindle encoder; a spindle encoder must be fixed if the actual rev
display is required.
T0100: Current tool number and tool offset number.
2) Relative coordinates page
The displaying coordinated values of U and W axises are relative positions of reference point, and the
coordinates can be kept when the power returns on. The U and W can be reset at any time. After reset, the
current position is the new reference point. When the Bit1 of parameter No.005 is 1 in this controller, the
coordinate of U and W are the same with the absolute coordinate when the absolute coordinate is defined by
G50.
Relative coordinates reset:
Press the key until the letter U glints on relative coordinate display page, then press the key
U will be reset.
Press the key until the W glints on relative coordinate display page, then press the key
U will be reset.
Book2 Operation
-10
Chapter 1 Chapter 1 Operation and Display
On the coordinate & program page, the absolute and relative coordinates are displayed at the same time for
the current position (If the Bit0 of parameter No.180 is 1, the absolute coordinate and distances to go for current
position will be displayed), as well as the 5 segments of current program, during the processing, the displaying
programs are updating momentarily, the cursor falls at the running block.
Book2 Operation
Enter the porgram interface by pressing the key, under the non-edit modes, there are three pages
including program content, program status and program list. Switch them by pressing the key or
key. Under the edit mode, there is only program contents pageby pressing the key or
key to display all the contents of current program
On the program contents page, program contents including current block are displayed. The program
-11
GSK980TD Turning Machine CNC System
be displayed.
(d) Program list: Display the names of user program orderly.
key is a compound keythe display will come into tool offset interface under other display by pressing
(No.000No.032) are available for users, by pressing key or key to change pages, details are listed as
follows:
-12
Chapter 1 Chapter 1 Operation and Display
There are three pages under macro variable interface, each page can be displayed by pressing the key
or key, 48 groups of macro variableNo.200No.231 and No.500No.515will be displayed on the page, the
macro variable value can be set directly by macro dictates or keyboard. The macro variable would be hold in case of
Book2 Operation
power off.
Enter the alarm interface by pressing the key, there are two pages including CNC alarm page and PLC
-13
GSK980TD Turning Machine CNC System
The showing page when the cursor falls at No.1000 alarm The showing page when the cursor is moved
to No.1022 alarm
2) CNC alarm: Display the amount of CNC alarms and PLC alarms, and current alarm number of CNC, it can
be displayed 24 pieces of CNC alarms at the same time, detail corresponding infomations of each alarm can be check
out by moving the cursor.
Book2 Operation
The showing page when the cursor falls at No.301 alarm The showing page when the cursor is moved to
No.044 alarm
3) Alarms clear: If there are several alarms occur at the same time, only the alarmpointed by cursor can be
cleared each time (under the alarm interface, all alarms can be cleared by pressing both key and key
synchronously). The alarm page is shown as follows:
key is a compound keyit will come into setting interface under any other interface by pressing
once. Press again, it will come into graphic interface, and it will be switched over between two interfaces by
1Setting interface
-14
Chapter 1 Chapter 1 Operation and Display
There are three pages under setting interface, each page can be displayed by pressing the key
or key,
1) Switchs setting: Displaying parameter, program, and automatic number on/off.
Parameter switch: when the parameter switch is on, the parameter can be modified; otherwise, it cannot be
modified.
Program switch: when the program switch is on, the program can be edited; otherwise, it cannot be edited.
Automatic number switch: when the Automatic number switch is on, the number of programs can be generated
automatically; otherwise, it only can be input manually when it is needed.
Book2 Operation
2) Datas backup: on this page, it can be backuped or resumed for CNC datas (including status parameter, data
parameter, worm offset, tool offset, etc.).
Datas backup (user): for users to backup the CNC datas (preserve)
Datas resume (user): for users to resume the CNC datas (read)
Resume default parameter 1 (test): for users to read the original parameter datas for CNC testing.
Resume default parameter 2 (step): for users to read the original parameter datas for matching step driver.
Resume default parameter 3 (servo): for users to read the original parameter datas for matching servo driver.
The displaying page for users of 3,4,5 level The displaying page for users of 2 level
3) Password setting: display , setting users level
There are four password levels of GSK980TD, from high to low they are machine builder (2 level), equiment
administrator (3 level), technician (4 level), operator (5 level)
Machine builder level: be able to modify the status parameter, datas parameter, worm offset values, programs
editing (including variable macros), PLC ladderlike graph edit and modify, download the ladderlike graphs of CNC.
-15
GSK980TD Turning Machine CNC System
Equiment administrator level: the original password is 12345,be able to modify the status parameter, datas
parameter, worm offset values, programs editing.
Technician level: the original password is 1234, be able to modify the tool offset value (for tool position
correcting), variable macros, programs editing.
Book2 Operation
2Graphic interface
There are two pages including graph setting and graph display under graphic interface, each page can be
-16
Chapter 1 Chapter 1 Operation and Display
1.3.6 Status Parametr, Data Parameter, Pitch Error Compensation Parameter Interfaces
key is a compound key, it can be enter several interfaces such as status parameter, data parameter and
worm offset, etc, by repeated pressing this key.
1 Status parameter interface
Book2 Operation
Enter the status parameter interfaces by pressing the key. There are 30 status parameters listed by two
pages, each page can be displayed or to modify the parameters on them by pressing the key or key,
details are as follows:
It can be learnt from the status parameter page, there are two rows of parameter contents under the page, the
first row displays the Chinese meaning of which the cursor falls at currently, the displaying parameter can be
changed by pressing the key or key; The second row displays the abbreviations of all the English
which the cursor falls at currently.
Enter the data parameter interface by pressing the key (pressing the key under the status
parameter page), there are 110 pieces of parameters listed by seven pages, each page can be displayed or to modify
the related parameters on them by pressing the key or key, details are as follows:
It can be learnt from the parameter page that, there is Chinese words under the page, displays the parameter
meaning which the cursor falls at currently.
-17
GSK980TD Turning Machine CNC System
Enter the worm offset value interface by pressing the key, there are 256 pieces of worm offset value
parameters listed by 32 pages, each page can be displayed by pressing the key or key:
Book2 Operation
1.3.7 CNC Diagnosis, PLC Status, PLC Data, Tool Panel, Version Information Interfaces
key is a compound key, it can be enter CNC diagnosis, PLC status, PLC datas, Tool panel, version
information interfaces by repeated pressing this key.
1CNC diagnosis interface
The status of input/output between CNC and machine, the signals transmiting between CNC and PLC, the
inside datas of PLC and the inside status of CNC, all these infomations can be displayed by the diagnosis. Enter the
CNC diagnosis page by pressing the key, there are keyboad diagnosis, status diagnosis and auxiliary
parameters, etc, can be displayed.and they can be check out by pressing key or key
On the CNC diagnosis page, there are two rows of Chinese words under the page, the first row displays the
Chinese meaning of which the cursor falls at currently, the displaying parameter can be changed by pressing the
key or key; The second row displays the abbreviations of all the English which the cursor falls at
currently.
-18
Chapter 1 Chapter 1 Operation and Display
interface by repeated pressing the key. The singnal status for each PLC addresses can be checked out by
Book2 Operation
pressing the key or key.
On the PLC status page, there are two rows of words under the page, the first row displays the Chinese meaning
of which the cursor falls at currently, the displaying parameter can be changed by pressing the key or
key; The second row displays the abbreviations of all the English which the cursor falls at currently.
pressing the key. The singnal status for each PLC addresses can be checked out by pressing the key
or key.
On the PLC data page, there is a row of Chinese words under the page, shows the meaning of the parameter that
the cursor falls at currently.
-19
GSK980TD Turning Machine CNC System
4 Tool panel
Enter the tool panel by repeated pressing the key, the machine can be controlled by the panel on this
page, the page of tool panel are displayed as follows:
Book2 Operation
Manual:
By repeated pressing the key, the function of machine lock can be switched between on and off,
By repeated pressing the key, the function of auxiliary lock can be switched between on and off,
By repeated pressing the key, the function of single step can be switched between on and off, function
By repeated pressing the key, the function of try running can be switched between on and off, function
By repeated pressing the key, the function of block skip can be switched between on and off, function
-20
Chapter 1 Chapter 1 Operation and Display
5 Version infomation
Enter the version information interface by repeated pressing the key, there are software, hard ware, PLC
version infomations of current CNC system displaying on the version information page. Displaying page are as
follows:
Book2 Operation
Enter the relative coordinate displaying page by pressing the keyAlso pressing the key or
key if necessarypressing the key or key until the LED of the key start to glitterand then
press the keythe contrast of LCD will be lowerdarkerpress the keythe contrast of LCD will
be higherbrighter
Displaying
Class Function Operation Operation Password Program Parameter
page Comment
modes level switch switch
Relative coordinate
Relative
Reset value of X axis Chapter 2
coordinates
reset 1.3.1
-21
GSK980TD Turning Machine CNC System
Displaying
Class Function Operation Operation Password Program Parameter
page Comment
modes level switch switch
+
Part count reset
Relative or
absolute
+ coordinate
Cut time reset
Book2 Operation
Parameter
Status
Data Status parameter MDI mode Level 2,3 On
parameter
setting value Chapter 2
Parameter Data 7.4.3
Data parameter MDI mode parameter Level 2,3 On
value
Worm
Worm offset value Chapter 2
MDI mode offset value Level 2 On
of X axis input offset value 10.1.3
parameter
Macro variable
Macro Level
Macro variable
variable 2,3,4
value
-22
Chapter 1 Chapter 1 Operation and Display
Displaying
Class Function Operation Operation Password Program Parameter
page Comment
modes level switch switch
Tool offset
Level Chapter 2
increment of X axis Tool offset
Offset 2,3,4 7.4.2
input
increasement
Tool offset
Level Chapter 2
increment of Z axis Tool offset
Offset 2,3,4 7.4.2
input
increasement
Letter
Search down from
Program Level Chapter 2
current cursor Edit mode On
contents 2,3,4 6.1.3
position
Letter
Book2 Operation
Search up from
Program Level 2, Chapter 2
current cursor Edit mode On
contents 3,4 6.1.3
position
Searching for
the status
parameter, data Number of Related pages Chapter 2
parameter or worm parameter of data 10.1.3
offset value
parameter
Searching for the Address PLC status &
PLC status and data number data
-23
GSK980TD Turning Machine CNC System
Displaying
Class Function Operation Operation Password Program Parameter
page Comment
modes level switch switch
Program Level
The letter with Edit mode On
contents 2,3,4 Chapter 2
cursor will be
Program Level 6.1.6
deleted Edit mode On
contents 2,3,4
Move the The block
cursor to the has its
Single block Program Level
head of row Edit mode On number
detecting contents 2,3,4
Chapter 2
6.1.7
Blocks
Book2 Operation
Delete
Single name of Edit Program Level Chapter 2
On
program delecting program mode contents 2,3,4 6.3.1
All programs Edit Program Level Chapter 2
On
delecting 999 mode contents 2,3,4 6.3.2
-24
Chapter 1 Chapter 1 Operation and Display
Displaying
Class Function Operation Operation Password Program Parameter
page Comment
modes level switch switch
When the
program
number is
larger
than
Rename for name of Program Level
Rename Edit mode On 9000,
programs program contents 2,3,4
password
of level 2
is needed.
Chapter 2
6.6
When the
program
Book2 Operation
number is
larger
than
Program Level
Copy Copy program name of Edit mode On 9000,
contents 2,3,4
program password
of level 2
is needed.
Chapter 2
6.7
CNC Chapter2
Tool offset Edit mode Tool offset Level 2,3 On
CNC 11.6
Send Status Status
Edit mode Level 2,3 On
parameters parameter
Data Data
Edit mode Level 2,3 On
parameters parameters
Worm offset
Worm offset value value
Edit mode Level 2 On
parameter parameter
Transmitting name of Program Level
Edit mode On
for single program program contents 2,3,4
-25
GSK980TD Turning Machine CNC System
Displaying
Class Function Operation Operation Password Program Parameter
page Comment
modes level switch switch
Transmitting for all Program Level
Edit mode On
programs 999 contents 2,3,4
Level
Tool offset Edit mode On
2,3,4
Status
Edit mode Level 2,3 On
parameter
CNC
Chapter 2
CNC Data parameter Edit mode Level 2,3 On
11.6
(receive)
Worm offset
Book2 Operation
Transmitting Level Chapter 2
Edit mode On
for all program 999 2,3,4 11.5.2
PC Cha
CNC Level pter two
Tool offset Edit mode On
(Downlor 2,3,4 11.4.
ad) 2
Status parameter Edit mode Level 2,3 On Chapter 2
Data parameter Edit mode Level 2,3 On 11.4.3
-26
Chapter 1 Chapter 1 Operation and Display
Displaying
Class Function Operation Operation Password Program Parameter
page Comment
modes level switch switch
Chapter 2
11.4.3
Worm offset value
Edit mode Level 2 On level 2
parameter
password
is needed
Chapter 2
11.4.1
When the
program
number is
larger
Program of Level than
Edit mode On
workpiece 2,3,4 9000,
Book2 Operation
password
of level 2
is needed.
Chapter 2
6.7
Chapter 2
LCD )
1.3.8
contrast
(
Contrast become
)or( Relative
lower (darker) Edit mode
coordinate
)
Switch Turn on the Chapter 2
Switch setting Level 2,3
setting parameter switch 10.1.1
Turn on the Level
Switch setting
program switch 2,3,4
Turn on the
Switch setting
automatic number
Turn on/off the
Switch setting Level 2,3
parameter switch
-27
GSK980TD Turning Machine CNC System
Displaying
Class Function Operation Operation Password Program Parameter
page Comment
modes level switch switch
Note:Symbol in the operation table means there is distance between pressing the two keys, Symbol + in
the operation table means there is no distance between pressing two keys, the keys have to be pressed at the same
time.
For example: means to press the key firstand then press the key
-28
Chapter 2 Power on/off and safety operation
2.1 POWER on
Book2 Operation
At the moment the system is processing the self-inspect and initialization. And after that, the screen will show
the page of current position (relative coordinates).
To avoid damage of the machine due to the overrides of X and Z axies, the machine has to take steps of override
protection.
-1
GSK980TD Turning Machine CNC System
chart, at this moment the bit3 (MESP) of No.172 status parameter must set as 0. When the tool moves beyond the
stroke end set, the stroke limit inhibition switches start to works, GSK980TD will be stopped and the emergency stop
alarm will be displayed.
+24V +X -X +Z -Z
emergency stop
overtravel switch
*ESP
When the override of hardware occurs, the emergency stop alarm will be displayed. To clear the alarm please
follow below steps: depress the override releasing button, move the worktable in a reverse direction (if the override
occurs in a positive direction, reverse it to the negative way; otherwise, reverse it to the positive way) to divorce
from the stroke limit inhibition switche.
When the bit4 of No.172 status parameter is set as 0, the stroke limit inhibition of software is effective.
The journey range of software is set by NO.045NO.046 NO.047NO.048 data parameters, which take the
ok2 Operation
machine coordinate value as reference.Displaying as below chart, X and Z are the axies in the machine coordinate,
NO.045 and NO.047 are the maximum journeys in positive and negative directions of X axies, NO.046 and NO.048
are the maximum journeys in positive and negative directions of Z axies, the area inside the broken lines is the
journey range of software.
If the tool position (machine coordinate) exceeds the area inside of the broken lines, the override alarm will
occurs. To clear the alarm please follow below steps: Press the reset key to clear the alarm, move the worktable in a
reverse direction (if the override occurs in a positive direction, reverse it to the negative way; otherwise, reverse it to
the positive way) to divorce from the override alarm.
-2
Chapter 2 Power on/off and safety operation
2.4.1 Reset
When the output and the axies are abnomal, GSK980TD will be reset by pressing the key.
1All axies are stopped.
2Output of M and S functions are unavailable (Whether shut down the spindle rotates forward/reverse,
lubrication, coolant signalm, or PLC ladderlike chart define automatically can be set by the parameter by
Book2 Operation
Note1: Please confirm all failure is settled before releasing the emergency stop alarms.
Note2: Depress the emergency stop button before power on/off may reduce the electricity impact of the equipment.
Note3: In order to ensure the correctness of coordinate position, machine zero point return needs to be performed
again after clearing the emergency stop alarm (If there is no zero point installed, please do not perform this
action).
Note4: The outer emergency stop will only be in effect based on the Bit3MESPis set as 0 of No.172 parameter.
Depress the key can hold the running during the process. It must be especially reminded that during the
threading cutting and cycle running dictates, this function can not stop the running immediately.
-3
Chapter 3 Manual operation
Enter the manual operation mode by pressing the key, manual feed, spindle control, override adjusting,
tool change, etc, can be performed under the manual operation mode.
Attention!
The function of each key on the operation panel of 980TD is defined by PLC programs (ladderlike chart),
for the detail functions please refer to the manual which is offered by the machine builder.
The following mentioned functions are described according to the standard PLC program of 980TD,
please take note!
Under the manual operation mode, manual feeding, manual rapid feeding of two axies can be performed.
Book2 Operation
Depress and hold the or of can move the X axies forward or reverse, the
axies will be stopped by releasing the keysDepress and hold the or can move the Z axies forward
or reverse, the axies will be stopped by releasing the keys. User can also depress the two keys of X and Z directions
to realize the moving together. The federate override adjusting of real time is effective.
During the manual feed operation, depress the key, the LED of in the status indicating area will
be turned on and the machine is on manual rapid feeding status.
Depress the key of and hold it until the LED of rapid traverse in the status
indicating area is turned on, then depress the or key can move the X axies rapidly forward or reverse,
the axies will be stopped by releasing the keysDepress and hold the or can move the Z axies
rapidly forward or reverse, the axies will be stopped by releasing the keys. User can also depress the two keys of X
and Z directions to realize the moving together. The federate override adjusting of real time is effective.
During the manual rapid feeding operation, depress the key, the LED of in the status
indicating area will be turned off, the rapid traverse is unavailable, please use manual feeding.
Note1: After the power on or release the emergency stop, if the reference point has not been returned, and when
the rapid traverse switch is on (namely,the indicating LED of rapid traverse is on),the rapid moving speed is
whether manual feeding speed or rapid traverse speed is decided by the Bit0 (ISOT) of No.012 status
-1
GSK980TD Turning Machine CNC System
parameter in GSK980TD.
Under the manual mode, the manual feed override can be modified by pressing the or key in
, there are 16 levels. The connections between feed override and feedrate are as follows.
0 0
10 2.0
Book2 Operation
20 3.2
30 5.0
40 7.9
50 12.6
60 20
70 32
80 50
90 79
100 126
110 200
120 320
130 500
140 790
150 1260
Under the manual rapid traverse, manual rapid traverse override can be modified by pressing the or
-2
Chapter 3 Manual operation
overrides are Fo50%100% ), there are four levels including Fo2550100 of speed override of manual
rapid traverse. (The speed of Fo is set by the No.032 data parameter)
The selection of rapid traverse is effective under below status.
(1) G00 rapid traverse (2) Rapid traverse during the fixed cycle. (3) The rapid traverse under G28 (4)
Manual rapid traverse
1) Enter the position interface by pressing the key , and then select the relative coordinate page by
Book2 Operation
2) Depress and hold the key until the LED of letter U in the page start to glitter, and then press the
key.
3) Depress and hold the key until the LED of letter W in the page start to glitter, and then press the
key.
-3
GSK980TD Turning Machine CNC System
: Under the manual operation, the spindle rotates forward by pressing this key.
Book2 Operation
: Under the manual operation, the spindle stops by pressing this key.
: Under the manual operation, the spindle rotates reverse by pressing this key.
When the Bit7 of No.175 status parameter is set as 1,depress the
key to turn on the
indicating LED, at this moment the spindle is under step feeding mode.
Under the spindle step feeding mode, depress the key, the spindle rotates forward on step feeding.The
time and the speed of are set by No.108 and No.109 status parameters separately.
If the Bit7 of No.175 status parameter is set as 0 (at this moment the dey is lubrication switch) or when
the LED of is off, the spindle step feeding is unavailable.
: Under the manual operation, the coolant can be switched on/off by pressing this key.
When the status parameter NO.175.7 =1, the key in the panel is for spindle step feeding.
-4
Chapter 3 Manual operation
=0, the key in the panel is for lubricating.
When the No.112 of status parameter is set as 0, it is exchangeable output of lubrication, depress the
key on the panel, the lubrication will be output, press it again the lubrication will be cancelled. When the M32 is
running, the lubrication is on, and then run the M33, it will be cancelled.
When the data parameter No.112>1, it is lubrication time-lapse output , depress the key on the panel,
the lubrication is on, when the time which is set by the data parameter No.112 pass through, the lubrication will be
cancelled; When the M32 is running, lubrication is on, when the time which is set by the data parameter No.112 pass
through, the lubrication will be cancelled. If the time is not yet up, if the M33 is performed, then the lubrication will
be cancelled.
2) Automatic lubrication
DT17>0Automatic lubrication, the lubrication time and interval can be set by DT17 and DT16
separately.
Book2 Operation
The lubrication will be on during the time which was set by DT17 when the power on of GSK980TD,after that
the lubrication output will be stopped, and then after the interval which was set by DT16, the lubrication will be on
again, the rest may be deduced by analogy. During the automatic lubrication, the M32, M33 dictates and the
key on the panel are all unavailable.
: Under the manual operation, depress this key, the tool will be changed by manual (if the current tool is
the No.1, depress this key, the tool will be changed to No. 2, if the current tool is the No.4, depress this key, the tool
will be changed to No. 1 ).
Depress the spindle override key or of , the speed can be changed by adjusting the
spindle override, there are 8 levels of real time adjusting whose range is from 50 to 120 of spindle override
can be realized.
-5
Chapter 4 Handwheel/ Single step operation
Attention
The function of each key on the operation panel of 980TD is defined by PLC programs (ladderlike chart),
for the detail functions please refer to the manual which is offered by the machine builder.
The following mentioned functions are described according to the standard PLC program of 980TD,
please take note!
Set the Bit3 of system parameter as 0, enter the single operation mode by pressing the key, the page
will be shown as below:
Book2 Operation
4.1.1 Increment Selecting
Press the or key to select the moving increment, the moving increment will be displayed
on the page. When the Bit1 SINC of No.173 status parameter is set as 1, the step length value of is not
Note: Under other operation modes besides from Edit and handwheel/single step, the rapid traverse can be
-1
GSK980TD Turning Machine CNC System
By pressing the or key, the X axis will be moved forward or reverse according to the single
increasement; By pressing the or key, the Z axis will be moved forward or reverse according to the
single increasement.
Set the Bit3 of system parameter as 1, enter the handwheel operation mode by pressing the key, the
page will be shown as below:
Book2 Operation
Select the increasement by pressing the or key, the moving increasement will be shown on
the page. When the Bit1 SINCof No.173 status parameter is set as 1, the step length value of is not
effective; when the Bit1 is set as 0, are all effective. The page will be displayed as below if
the is pressed:
-2
Chapter 4 Handwheel/ Single step operation
Select the corresponding axises by pressing or key under the manual operation mode. The page
Book2 Operation
this, the A and B signals of the handwheel can be exchanged.
: Under the handwheel/single step operation, the spindle rotates forward by pressing this key.
: Under the handwheel/single step operation, the spindle stops by pressing this key.
: Under the handwheel/single step operation, the spindle rotates reverse by pressing this key.
2)Spindle step feeding
When the Bit7 of No.175 status parameter is set as 1,depress the key to turn on the
indicating LED, at this moment the spindle is under step feeding mode.
Under the spindle step feeding mode, depress the key, the spindle rotates forward on step
feeding.The time and the speed of are set by No.108 and No.109 status parameters separately.
If the Bit7 of No.175 status parameter is set as 0 (at this moment the dey is lubrication switch) or
: Under the handwheel/single step operation, the coolant can be switched on/off by pressing this key.
4)Lubrication control
a) Non-automatic lubrication
DT17 =0Non-automatic lubrication
When the status parameter NO.175.7 =1, the key in the panel is for spindle step feeding.
-3
GSK980TD Turning Machine CNC System
When the No.112 of status parameter is set as 0, it is exchangeable output of lubrication, depress the
key on the panel, the lubrication will be output, press it again the lubrication will be cancelled. When the M32 is
running, the lubrication is on, and then run the M33, it will be cancelled.
When the data parameter No.112>1, it is lubrication time-lapse output , depress the key on the panel,
the lubrication is on, when the time which is set by the data parameter No.112 pass through, the lubrication will be
cancelled; When the M32 is running, lubrication is on, when the time which is set by the data parameter No.112 pass
through, the lubrication will be cancelled. If the time is not yet up, if the M33 is performed, then the lubrication will
be cancelled.
b) Automatic lubrication
DT17>0Automatic lubrication, the lubrication time and interval can be set by DT17 and DT16
separately.
The lubrication will be on during the time which was set by DT17 when the power on of the CNC,after that the
lubrication output will be stopped, and then after the interval which was set by DT16, the lubrication will be on again,
Book2 Operation
the rest may be deduced by analogy. During the automatic lubrication, the M32, M33 dictates and the key on
the panel are all unavailable.
4)Manual tool change
: Under the handwheel/single step operation,, depress this key, the tool will be changed according to the
sequence.
5)Spindle override adjusting
Under the handwheel/single step operation, when the simulative voltage output is selected to control the
spindle speed, the spindle speed can be adjusted.
Depress the spindle override key or of , the speed can be changed by adjusting the
spindle override, there are 8 levels of real time adjusting whose range is from 50 to 120 of spindle override
can be realized.
4.2.4 Notes
1)The connections between the handwheel graduations and the machine moving distances are list as follows:
The moving distance per graduation of handwheel
Increasement of 0.001 0.01 0.1
handwheel
The appointed 0.001mm 0.01mm 0.1mm
coordinate value
2)The rotating speed of handwheel can not exceed 5 rounds per second, if it exceeds, the graduations and the
distance may not matched.
3)The and key are only effective under the handwheel operation.
-4
Chapter 5 MDI Operation
Attention
The function of each key on the operation panel of 980TD is defined by PLC programs (ladderlike chart),
for the detail functions please refer to the manual which is offered by the machine builder.
The following mentioned functions are described according to the standard PLC program of 980TD,
please take note!
Select the MDI operation, then enter the program status page, and input a part program of G50 X50 Z100, the
operation steps are as follows:
Book2 Operation
2) Enter the program status page by pressing the keyand press the or key if
necessary:
3) Input the address key and numerical key and key in sequencethe page will
be displayed as follows
-1
GSK980TD Turning Machine CNC System
4) Input the address key and numerical key and key in sequence.
5) Input the address key and numerical key and key in sequence.
After all above operations are performed the page will be displayed as follows:
Book2 Operation
After the dictates input, the MDI dictates can be performed by pressing the key. During the
processingthe MDI dictates can be stopped by pressing the key or key or emergency stop button.
Note: The transferred dictates of subprograms (M98 P___; etc.), and the compound cutting cycle dictates (such as
G70, G71, G72, G73, G74, G75, G76, etc.) will not be effective under the MDI mode.
Under the program status page of MDI mode, if there is something wrong during the dictates input before
performing the input datas, all contents can be cleared by pressing the key, and then input the correct datas
again; Or input the correct one instead of the error again.Take the error input of X50 in section 5.1 of this chapter for
example, if the correct one X100 needs to be input, then please press the address key , and numeric keys
and key, instead of the error input of X50, the page will be displayed as below after
all set:
-2
Chapter 5 MDI Operation
1) Perform the MDI dictates by pressing the key: when the Bit2 (DCS) of No.004 system parameter is
set as 1, the current input dictates can be performed by pressing the key.
Book2 Operation
2) Coolant control: Under the MDI operation, the coolant can be switched on/off by pressing key.
Depress the spindle override key or of , the speed can be changed by adjusting the
spindle override, there are 8 levels of real time adjusting whose range is from 50 to 120 of spindle override
can be realized.
4) Adjustable rapid traverse.
5) Adjustable feeding traverse.
Under the operation mode, Depress the or key of , the speed can be changed by
adjusting the feeding traverse, there are 16 levels of real time adjusting whose range is from 0 to 150 of
actual speed which appointed by F dictates can be realized.
6) Machine lock, auxiliary lock and dry running can be operated.
7) Automatic lubrication function (details please refer to chapter 3 ).
-3
Chapter 6 Program Edit and Management
Book2 Operation
sequence automatically, but the sequence can be added by hand during the program editing.
When the automatic sequence switch on the switch setting page is on, CNC generates the program sequence
automatically, the sequence of next program will be generated automatically by pressing the key, the increase
value of the program sequence is set by the No.042 data parameter (the setting of automatic sequence please refer to
section 10.1.1)
2) Enter the program interface by pressing the key, select the program contents displaying page by
-1
GSK980TD Turning Machine CNC System
5) Input the fixed programs one by one, the characters will be displayed on the screen immediately when they
are input (For the compound key, please press it repeatedly to realize the alternate input), depress the
key to terminate a part program when it is finished.
6) The input of program or other part program can be performed according to step 5.
6.1.3 Searches of Characters
1) Scan: Scan the characters one by one with the cursor
Enter the editing operation mode by pressing the key, select the program contents displaying page by
-2
Chapter 6 Program Edit and Management
a) The cursor will be moved up a row by pressing the key; If the current row is longer than the
previous one, the cursor will be moved to the end of previous part program by pressing the key
(under the ;).
b) The cursor will be moved down a row by pressing the key; If the current row is longer than the
previous one, the cursor will be moved to the end of next part program by pressing the key
(under the ;).
c) The cursor will be moved to right for a character by pressing the key; If the cursor is locating at
the end of current row, it will be moved down to the head of next part program.
d) The cursor will be moved to left for a character by pressing the key; If the cursor is locating at the
Book2 Operation
head of current row, it will be moved up to the end of previous part program.
e) Turn over the previous page by pressing the key, the cursor will be moved to the first character of
previous page;If turn over to the first page of the program contents, the cursor will be moved the first
character of the second row.
f) Turn over the next page by pressing the key, the cursor will be moved to the first character of
next page;If turn over to the last page of the program contents, the cursor will be moved the first character
of the last row.
2) Search: Search over or down for the desired character from the current position of the cursor.
The operation steps are as follows:
c) Enter the searching by pressing the key, and input the desired characters with the max. 10 digits,
the excess character will take place of the tenth character. For example, moves the cursor to G2, the page
will be shown as below:
-3
GSK980TD Turning Machine CNC System
d) The page will be shown as below by pressing the key (according to the ubiety between the desired
e) After the searching, the CNC is still on the seaching mode, press key or key again, it is
Book2 Operation
available to search another character, or exit the searching by pressing the key.
f) Search failure will be displayed if there is no desired character.
Note: The character in the subprogram will not be searched during the searching.
3) Return to the head of program
a) The cursor will return to the head of program by pressing the key on the program displaying page
under the editing operation mode.
b) Look up the first character of the program according to the method which described in section 6.1.3.
2) Enter the insert mode by pressing the key (the underline is the cursor) , the page is as follows:
3) Insert the character (take above page as a example, insert the G98 dictate in front of the G2, input
), the page will be shown as below;
-4
Chapter 6 Program Edit and Management
Note1: Under the insert mode, the blank will be generated automatically when the dictate address is input
provided the cursor is not at the head of the row, if the cursor is at the head of the row, the blank must be
inserted by hand as it will not be generated automatically.
Note2: Under the insert mode, the 0 will be added automatically when inputing the address provided there is a
decimal infront of the cursor and the cursor is not at the end of the row.
Book2 Operation
Note3: Under the insert mode, the 0 will be added automatically follows the decimal by pressing the key
provided there is a decimal infront of the cursor and the cursor is not at the end of the row.
2) Delete the character in front of the cursor by pressing the key; delete the character on the cursor by
2) Enter the modifying by pressing the key (the cursor is an ashy rectangle), the page
will be displayed as follows:
-5
GSK980TD Turning Machine CNC System
3) Input the desired characters (take above page as a example, modify the X100 to U898 by input the
)
Book2 Operation
Note1: Under the modifying, the current character will be modified as input one when inputing the character, and
the cursor will be moved forward accordingly.
Note2: Under the modifying,if the cursor is on the ,the input character will take place of , the next part
program will be moved up to previous row. For example, the page will be displayed as below if input the
0.
2) Move the cursor to the head of row where the block to be deleted (the first character), and press the
key.
Note: If there is no sequence number for this block, input an N at the head of the row, and then move the cursor
Book2 Operation
Operation steps are as follows:
1) Select the program contents displaying page under the editing operation mode;
2) Enter the searching mode by pressing the key, and then enter the part program sequence number;
-7
GSK980TD Turning Machine CNC System
6.1.9 Block deleting
From the current character with the cursor, delete the appointed dictates.
2) Enter the searching mode by pressing the key, and then input the character;
Note1: If there is no desired character or the desired character is in front of the cursor, the search failure will be
displayed. If there are several the same desired character below, then the nearest one is the default.
Note2: If only input the dictate address, the following dictates will be deleted together.
-8
Chapter 6 Program Edit and Management
Book2 Operation
3) Input the program remark (20 characters is the max.besides the brackets can be input), then the page will be
displayed as below:
4) The remark is set up by pressing the key, the page will be displayed as below:
Note1: If there is no remark added after set up the program, the default program name of CNC is the remark.
Note2: Only English remarks can be added in CNC, but the Chinese remark is also can be displayed (Chinese
-9
GSK980TD Turning Machine CNC System
decimal is an exception). Adding Chinese remark can be realized as below: Download the Chinese
remark which is edited in PC from the PC via communication software.
2) Input the address key and numeric keys in sequence (Take program
00001 as an example);
2) Input the address key and symbol key and numeric keys in
sequence;
When there are several programs existing, there are three ways to select the program.
6.4.1 Searching
1) Select the editing or automatic operation mode;
3) Press the address key , and then input the program sequence number;
4) The desired program will be displayed on the screen by pressing the key or key, if the
program does not exist,CNC alarm will occurs.
Note: In the step 4, If the program does not exist, CNC will set up a new program by pressing the key.
6.4.2 Scaning
1) Select the editing or automatic operation mode;
Book2 Operation
3) Move the cursor to the desired program name by pressing the or key (When
the cursor is moving,program size and remark will be changed accordingly)
ration
4) Press the key.
-11
GSK980TD Turning Machine CNC System
1) Select the program contents displaying page under the editing operation mode;
2) Press the address key of , and then input a new program sequence number.
Enter the program contents displaying page by pressing the key under the non-editing operation
modes.on this page, the programs will be displayed as a directory list and the max. is 36 pieces in one page, if the
quantity exceeds 36 pieces, the balance will be displayed on next page and they can be turned over by pressing the
key.
-12
Chapter 6 Program Edit and Management
6.8.4 Memory Size and Used Size
The total memory size of CNC (total 6144KB) and used size will be displayed for this item.
The panel operation could be defined by PLC program (Ladderlike chart) under the editing operation of
GSK980TD, details please refer to the operation manual from the machine builder.
Please kindly note the functions described below are only for the standard PLC program of GSK980TD.
Book2 Operation
3, Feeding override adjusting, can be realized by pressing the or key of .
4, CNC reset, can be realized by pressing the key.
5, Operations switching can be realized by pressing any key of
or .
-13
Chapter 7 Tool Offset and Tool Adjusting
Z Z
Book2 Operation
X
A B
1Please confirm if the tool offset of X and Z axises are zero, if not, please reset all of them.
2Set the offset number as 00 (such as T0100T0300)
3Select a tool (normally this tool should be the first tool in process,select it as the standard tool)
4Move the tool to a point (fixed point), please refer to chart A;
5Set the workpiece coordinate by G50 X__ Z__ under the MDI operation,program status page;
6Reset the related coordinate values U and W to 0;
7Move the tool to a safe position and then select another tool, move this tool to the fixed point, Please refer to
chart B;
8Press the key, and then select the corresponding tool offset number by pressing the or
key.
9Press the key, and then press key, the offset value of X direction will be set to the
corresponding offset number;
10Press the address key , and then press the key, the offset value of Z direction will be set to
the corresponding offset number;
11Other tools can be adjusted by repeat the step7 to step 10.
It is effective or not for the trial cutting depends on the bit5 setting of No.012 CNC parameter.
The operation steps are as follows (Set up a workpiece coordinate on the cross section) :
-1
GSK980TD Turning Machine CNC System
Surface B
Surface A
X
1Select a tool and cut the surface A ;
2Draw back the tool along the X axis and remain the Z zxis, and then stop the spindle;
3Enter the offset interface by pressing the key, select the tool offset page, and then select the
Book2 Operation
8Enter the offset interface by pressing the key, select the tool offset page, and then select the
X
11Cutting along surface A
12Draw back the tool along the X axis and remain the Z zxis, and then stop the spindle;
13Measure the distance "" between surface A and the reference point of workpiece coordinate (suppose
= 1)
14Enter the offset interface by pressing the key, select the tool offset page, and then select the
-2
Chapter 7 Tool Offset and Tool Adjusting
15Input the address key , symbol key and numeric key and key in sequence;
16Cut along surface B;
17Draw back the tool along the Z axis and remain the X zxis, and then stop the spindle;
18Measure the distance "" (suppose =10)
19Enter the offset interface by pressing the key, select the tool offset page, and then select the
Note: The offset value would be large by this way, so the tool compensation of CNC should be set based on the
coordinate offset mode (The Bit4 of No.003 CNC parameter is set as 1), also, the tool length compensation of
Book2 Operation
the first part program should be executed by dictate T, or dictate T is included in the first part program.
There is no standard tool by this way, the tool can be re-adjusted when it is attrited or any tool needs to be
re-adjusted. Before the tool adjusting please retun the tool to the machine zero point. In case of power off the process
can be carried on after returning the machine zero point, it is easy to operated.
surface B
surface A
1Enter the machine zero point return mode by pressing the key, reset two axises to the machine
reference point.
2Select a tool and set the offset number as 00 (such as T0100T0300)
3Cut along surface A.
4Draw back the tool along the X axis and remain the Z zxis, and then stop the spindle;
5Enter the offset interface by pressing the key, select the tool offset page, and then select the
-3
GSK980TD Turning Machine CNC System
6Input the address key , numeric key and key in sequence, the offset value of Z axis is
set.
7Cut along surface B.
8Draw back the tool along the Z axis and remain the X zxis, and then stop the spindle;
9Measure the distance "" (suppose =15)
10Enter the offset interface by pressing the key, select the tool offset page, and then select the
11Input the address key , numeric key and key in sequence, the offset value of X
axis is set.
12Move the tool to a safe position and then change another tool;
13Select another tool and set the offset number as 00 (such as T0100T0300)
surface B1
Surface A1
Book2
ok2 Operation
1 Z
16Enter the offset interface by pressing the key, select the tool offset page, and then select an offset
17Input the address key , the symbol key and numeric key and key in sequence,
the offset value of Z axis is set.
18Cut along surface B1.
19Draw back the tool along the Z axis and remain the X zxis, and then stop the spindle;
20Measure the distance "1" (suppose 1= 1)
21Enter the offset interface by pressing the key, select the tool offset page, and then select an offset
22Input the address key and numeric key and key in sequence, the offset value
of X axis is set.
23Move the tool to a safe position;
-4
Chapter 7 Tool Offset and Tool Adjusting
24All tools can be adjusted by repeat the step 15 to step 23.
Note1: The tool adjusting by returning to the machine zero point is only available based on the machine zero point
is installed.
Note2: The workpiece coordinate could not be performed by G50 after the tool adjusting by returning to the
machine zero point.
Note3: The tool compensation of CNC should be set based on the coordinate offset mode (The Bit4 of No.003 CNC
parameter is set as 1), also, the tool length compensation of the first part program should be executed by
dictate T, or dictate T is included in the first part program.
Note4: The corresponding parameters should be set as below:
The Bit7 of No.004 CNC parameter should be set as 0;
The Bit5 of No.012 CNC parameter should be set as 1;
The Bit7 of No.012 CNC parameter should be set as 1;
Note5: No.049 and 050 of CNC parameter should be set similar to the absolute coordinate values in the workpiece
coordinate X0Z of the machine zero point, details please find below:
Book2 Operation
For example: After the machine zero point return, the absolute coordinate value is (a, b) for the
tool in the workpiece coordinate, then the No.049 of CNC parameter should be similar to a, and
the 050 of CNC parameter should be similar to b.
Enter the offset interface by pressing the key, display the No. 000No.032 offset number by pressing
the or key.
-5
GSK980TD Turning Machine CNC System
1Enter the offset interface by pressing the key, display the desired page by pressing the or
key.
Book2 Operation
2Move the cursor to the position where the tool offset number should be input.
+ Position number +
Searching: The cursor can be move to the desired position directly by pressing below key in sequence.
+offset number+
3After pressing the address key or , in put the number (Decimal can also be input)
4The tool offset value can be calculated automatically by CNC after pressing the key, and the result
will be displayed on the page.
4Add the current tool offset value and the increasement by pressing the key, the result will be
displayed as a new tool offset value.
For example: The tool offset value of X axis is 5.678
Input the increasement (U 1.5) by the keyboard
Then the new tool offset value of X axis is 7.178(=5.678+1.5).
Note1: The new tool offset value will be effective when the T code is executed after the tool offset value change.
-6
Chapter 7 Tool Offset and Tool Adjusting
Note2: When the actual dimensions are not matched with the desired designed ones, if the actual one is bigger
then please add the error value based on the original offset value,otherwise please reduce the error value.
For example: The desired diameter of the workpiece is55.382, and the number 01 tool offset is effective, the
tool offset are as follows before the process:
Sequence X Z T R
00 0 0 0 0
01 16.380 -24.562 0 0
After the process, the actual diameter is55.561, then the number 01 tool offset can be modified as follows:
sequence X Z T R
00 0 0 0 0
01 16.559 -24.562 0 0
16.380+55.561-55.382
Book2 Operation
To reset the tool offset value of X axis, please press the and key in sequence, the value will be
reset.
To reset the tool offset value of Z axis, please press the and key in sequence, the value will be
reset.
Method 2:
If the current tool offset value in X direction is , input the U- and then press the , the value of X
axis will be reset to 0.
If the current tool offset value in Z direction is , input the W- and then press the , the value of Z
axis will be reset to 0.
-7
Chapter 8 Automatic Operation
3) Press the address key , and then input the program number;
Book2 Operation
4) The result programs will be displayed on the screen by pressing the or key.If the program
does not exist,CNC alarm will be occurred.
Note: At the step 4, if the program does not exist, a new program will be set up by CNC by pressing the
key.
2Scan
1) Select the editing or automatic running operation;
2) Enter the program content lisplaying page by pressing the key (Press the or key if
necessary), (Details please refer to section 8.2.1)
3) Move the cursor to the desired program name by pressing the key.
2Start the process by pressing the key, the program will be run automatically.
-1
GSK980TD Turning Machine CNC System
Note: The process will be started from the row which the cursor located in, so please check and confirm the
whether the cursor locates in the desired part program before pressing the key, and if the whole
program has to be run and the cursor is not in the first row please move the cursor back to the first row.
The program will be resumed by pressing the key or outer running key.
Stop by pressing related keys
1Press the the key or outer pause key during the auto running, the machine will:
1) The machine feeding will be stop gradually;
2) When the pause dictat is executing (dictate G04), the machine will be paused after the execution.
2) M, S functions output are of no effect (whether shut off the spindle rotates forward/reverse, lubrication and
coolant signals automatically by pressing the key can be set by the the parameter);
3) When the automatic running is finished, the modal functions and status remain.
3Emergency button
Depress the emergency button (when the outer emergency signal is effective) under the dangerous or emergency
situations during the machine running, the CNC will come into emergency stop status, the moving of machine will be
stopped immediately, all outputs (such as spindle rotates, coolant, etc.) will be shut off. CNC will come into
reposition status by releasing the emergency button to release the alarm.
4Operations switching
When the automatic running operation is switched to machine zero point return, handwheel/single step, manual
or program zero point return,etc, the current part program will be paused immediately; when it is switched to
editing and MDI modes, the part program will be remain running till end and then the pause will be displayed.
Note1: Please confirm all failures are settled before clearing the emergency stop alarm;
Note2: Depressing the emergency stop button before power on/off may reduce the power impacts to the equipment;
Note3: The machine zero point return should be re-done after the emergency stop alarm releasing, to make sure
the correctness of the coordinate position (If the machine zero point is not installed, the operation can not
be performed)
Note4: The outer emergency stop will only be effective based on the Bit3 (MESP) of No.172 status parameter is set
as 0.
-2
Chapter 8 Automatic Operation
8.1.4 Automatic Run from any Part Program
1Enter the editing operation mode by pressing the key, enter the program interface by pressing the
key, then select the program content page by pressing the or key;
2Move the cursor to the part program which is to be run (if start from row 4 then please move the cursor to the
head of row 4);
Book2 Operation
3If the modalsDictate GMTFare default in the part program which the cursor located at, and they are
not matched with the desire of current part program, then the related modal functions must be executed
before next step;
4Enter the automatic operation mode by pressing the key, and then start the program by pressing the
key.
Depress the or key of , there are 16 levels of real time adjusting of feeding override
can be realized.
The feeding override will be added one step by pressing the key once, until 150
The feeding override will be reduced one step by pressing the key once, until 0
-3
GSK980TD Turning Machine CNC System
Depress the or key of , there are 4 levels of real time adjusting whose range with FO25
50100 of rapid traverse can be realized.
The feeding override will be added one step by pressing the key once, until 100
The feeding override will be reduced one step by pressing the key once, until 0.
Note1The rapid traverses of X and Z axises are set by CNC parameter No.022 and No.023 separately;
Actual rapid traverse of X axis= Value of No.022*rapid traverse
Actual rapid traverse of Z axis= Value of No.023*rapid traverse
Note2: When the rapid traverse is F0, the lowest speed of the rapid traverse is set by No.032.
Book2 Operation
Depress the or key of , the speed can be changed by adjusting the spindle override,
there are 8 levels of real time adjusting whose range is from 50 to 120 of spindle override can be realized.
The feeding override will be added one step by pressing the key once, until 120
The feeding override will be reduced one step by pressing the key once, until 50.
Note1: Actual output of simulated voltage value= simulated voltage value which calculated by parameter*spindle
override
For example:When the No.037 CNC parameter is set as 9999, and No.021 is set as 645, to execute the dictate
S9999, and select the spindle override 70%, then the actual output simulated voltage is 10*70%=7V approximately.
Note2: The change of spindle override will be displayed under the left corner, the rapid override and spindle
-4
Chapter 8 Automatic Operation
Book2 Operation
Method1: To light the single running indicator LED by pressing the key in the status
indicating area, the single running is selected;
Method2: Enter the machine soft panel page by pressing the key, the symbol* will be turned into
During the single running, CNC will be stopped when the current part program is executed; to run the next part
-5
GSK980TD Turning Machine CNC System
8.2.2 Dry running
To prevent the program error occurs at the auto running, the dry running can be selected to test the program
before automatic running.
Under the automatic operation mode, the dry running can be turned on as follows:
Method1: To light the dry running indicator LED by pressing the key in the status indicating area, the
dry running is selected;
Method2: Enter the machine soft panel page by pressing the key, the symbol* will be turned into
Under the dry running, machine feeding and auxiliary functions are available (providing the machine lock and
auxiliary lock are off), namely, there is no impact to execute the machine feeding and auxiliary under the dry running,
the appointed speed by the program is not effective,CNC will be run according to below table.
Program dictates
Rapid traverse Cutting
Rapid traverse on Rapid traverse The highest speed of
manual feeding
Rapid traverse off Manual feeding or rapid traverse Manual feeding speed
(note1)
Note1: Manual feeding speed or rapid traverse can be set by the Bit6 of No.004 CNC parameter.
Note2: Under the dry running, the rapid switching would not effect the current part program, it will be effective in
next part program.
Method1: To light the machine lock running indicator LED by pressing the key in the status
indicating area, the machine lock running is selected;
Method2: Enter the machine soft panel page by pressing the key, the symbol* will be turned into
-6
Chapter 8 Automatic Operation
Usually the machine lock running is processed with the auxiliary lock to test the program. Under the machine
lock running:
1The machine would not be moved, the machine coordinate in the integrated coordinate page of position
Book2 Operation
interface remains, but the relative coordinate, absolute coordinate and distance to go will change at all times
just as the same with the machine lock is off.
2Ditates M, S, and T can be performed normally
MST
Method1: To light the auxiliary lock running indicator LED by pressing the key in the status
indicating area, the auxiliary lock running is selected;
Method2: Enter the machine soft panel page by pressing the key, the symbol* will be turned into
At the moment dictates M,S and T would not be performed, the machine moves. Usually the machine lock
running is processed with the auxiliary lock to test the program.
Note: There is no impact for M00M30M98M99 executing when the auxiliary lock is on.
-7
GSK980TD Turning Machine CNC System
8.2.5 Part Program Skipping
If there is a part program wont be executed or deleted, the part program skipping can be selected.The program
with a symbol / on its head will be skipped under the automatic running if the part program switch is on (when the
keys of machine panel or the outer input of part program skipping is effective)
Under the automatic operation, the part program skipping switch can be turned on as follows:
Method1: To light the part program skipping indicator LED by pressing the key in the status
indicating area, the part program skipping running is selected;
Method2: Enter the machine soft panel page by pressing the key, the symbol* will be turned into
Note: When the part program skipping switch is off, The program with a symbol / on its head will not be
skipped under the automatic running.
1Under the automatic operation, the coolant on/off will be switched by pressing the key.
2By pressing any key among
or , operations can be
switched.
3CNC can be reset by pressing the key.
4Automatic lubrication function (details please refer to Chapter 3)
-8
Chapter 9 Zero Point Return
1Enter the program zero point return operation by pressing the key,
Book2 Operation
2Select the program zero point return for X or Z zxis by pressing the or key.
3The axis moves towards the program zero point, when it arrives, the axis will stops and the zero point return
finish indicating LET will be on.
Note: After the zero point return operation, the current tool offset status would not be changed, the returned point
is set by G50 and the tool offect is included if the tool offset is effective.
-1
GSK980TD Turning Machine CNC System
9.2.2 The Steps of Machine Zero Point Return
1Enter the machine zero point return operation by pressing the key, there will be machine zero point
return displayed under the screen as follows:
Book2 Operation
2Select the machine zero point return for X or Z zxis by pressing the or key.
3The machine moves towards the machine zero point, it will be returned to the zero point after the inspectings
of slow down and zero point signal, the zxis stops at the moment, the LED of letter [X][Z]or [U][W] start
to glitter, then the LED of zero point return is on.
Note1: The machine zero point return can not be performed if the machine zero point is not installed.
Note2: The zero point return finish indicating LED will be off under below situations:
1) Moving from the zero point;
2) CNC power off;
Note3: The tool length compensation will be cancelled by CNC after the machine zero point return operation.
Note4: The related parameter of machine zero point return please refer to Chapter 4 <Connection>.
-2
Chapter 9 Zero Point Return
When the status parameter NO.175.7 =1, the key in the panel is for spindle step feeding.
When the No.112 of status parameter is set as 0, it is exchangeable output of lubrication, depress the
key on the panel, the lubrication will be output, press it again the lubrication will be cancelled. When the M32 is
running, the lubrication is on, and then run the M33, it will be cancelled.
When the data parameter No.112>1, it is lubrication time-lapse output , depress the key on the panel,
the lubrication is on, when the time which is set by the data parameter No.112 pass through, the lubrication will be
cancelled; When the M32 is running, lubrication is on, when the time which is set by the data parameter No.112 pass
through, the lubrication will be cancelled. If the time is not yet up, if the M33 is performed, then the lubrication will
be cancelled.
2) Automatic lubrication
DT17>0Automatic lubrication, the lubrication time and interval can be set by DT17 and DT16 separately.
The lubrication will be on during the time which was set by DT17 when the power on of GSK980TD,after that
Book2 Operation
the lubrication output will be stopped, and then after the interval which was set by DT16, the lubrication will be on
again, the rest may be deduced by analogy. During the automatic lubrication, the M32, M33 dictates and the
key on the panel are all unavailable.
-3
Chapter 10 Setting, Backup and Resuming of Data
Book2 Operation
1Enter the setting interface by pressing the key, then enter the switch setting page by pressing the
or key;
3The swithch staus can be switched by pressing the or key, the symbol * will be moved to
left by pressing the key,and the switch is turned off, the symbol * will be moved to right by
and simultaneously, no alarm will be occurred if the parameter is switched again. For the sake
of safety, please turn off the parameter switch after modifying.
Enter the graph interface by pressing the key, then enter the graph parameter setting page by pressing the
or key;
-1
GSK980TD Turning Machine CNC System
1Under the MDI operation, Move the cursor to the desired item by pressing the or key;
2Input the value;
Book2 Operation
0 0 0
0 0 1
-2
Chapter 10 Setting, Backup and Resuming of Data
Status parameter Graph
No.175 parameter
Graph of graph track coordinate
Bit1 Bit0 Coordinate
selecting
0 1 0
0 1 1
Book2 Operation
1 0 0
1 0 1
1 1 0
-3
GSK980TD Turning Machine CNC System
Status parameter Graph
No.175 parameter
Graph of graph track coordinate
Bit1 Bit0 Coordinate
selecting
1 1 1
the or .the graph will be zoom in at times by pressing key once; and .the graph
Under the graph displaying page, start the plot by pressing the key, the symbol * will be moved in
front of the character S; stop the plot by pressing the key, the symbol * will be moved in front of the
character T; the current graph track will be cleared by pressing the key.
10.1.3 Parameter Setting
The related characteristic of the driver, machine, etc, can be adjusted by parameter setting. Parameter details
please refer to appendix 1.
Enter the parameter interface by pressing the key, the parameter pages can be switched by pressing the
-4
Chapter 10 Setting, Backup and Resuming of Data
Book2 Operation
Method1: Enter the the page of the parameter to be set by pressing the or key, Move the
5) The parameter value will be input and displayed by pressing the key;
6) For the sake of safety, the parameter switch needs to be turned off after all parameters are set.
For example:
Set the Bit5DECIof No.004 status parameter as 1, others remain.
Move the cursor to 004 according to above steps, input the 01100000 in sequence as follows:
The parameter modifying will be finished by pressing the key. The page is as follows:
-5
GSK980TD Turning Machine CNC System
2Modifying by digits:
1) Turn on the parameter switch;
2) Select the MDI mode;
3) Move the cursor to the parameter number to be set;
Method1: Enter the the page of the parameter to be set by pressing the or key, Move the
Book2 Operation
4) Press the hold the for 2 seconds or enter a parameter by pressing the key, the cursor will
located at the parameter, move the cursor to the one needs to be modified by pressing the or
key, input 0 or 1 as requested;
5) For the sake of safety, the parameter switch needs to be turned off after all parameters are set.
Note: Enter a digit of a parameter, it is able to exit to the parameter number by pressing and holding key
For example:
Set the Bit5DECIof No.004 status parameter as 1, others remain.
Move the cursor to 004 according to above steps, Press the hold the for 2 seconds or enter a
-6
Chapter 10 Setting, Backup and Resuming of Data
Move the cursor to Bit5 by pressing the or key, details are as follows:
Book2 Operation
BData parameter,worm offset data modifying setting
1Data parameter modifying
1) Turn on the parameter switch;
2) Select the MDI mode;
3) Move the cursor to the parameter number to be set;
4) Input new parameter values
5) The parameter values will be input and displayed by pressing the key;
6) For the sake of safety, the parameter switch needs to be turned off after all parameters are set.
Example1: Set the 022 data parameter as 4000.
Move the cursor to 022 according to above steps, input 4000 in sequence as follows:
The parameter modifying will be done by pressing the key. The page is as follows:
-7
GSK980TD Turning Machine CNC System
Example2: Set the X axis value of 000 worm offset data as 12, and 30 for Z axis.
Move the cursor to 000 worm offset data according to above steps, input X12 in sequence, detaisl are as
follows:
Book2 Operation
The data modifying is done by pressing the key, the page will be shown as follows:
The same, input Z30 in sequence and then press the key, the data modifying will be done, and the page
will be shown as follows:
-8
Chapter 10 Setting, Backup and Resuming of Data
Book2 Operation
1Turn on the parameter switch;
2Enter the MDI operation by pressing the key, then enter the data backup page by pressing the
Note1: Avoid the power off during the data backup and resume, and donot proceed other operations before the
operations are done;
Note2: The datas can be backuped and resumed are not the same among the current code level: user of 3,4,5
levels can proceed the status and data parameter backup and resume,but not change the worm offset
parameter; User of 2 level can proceed the status,datas and worm offset parameter backup and resume.
For example: To resume the CNC parameter as servo standard parameter, the operation steps are as follows:
Turn on the parameter switch, and enter the MDI operation, data backup pages according to above steps, move
the cursor to Resume Default PAR.2 (step),details as follows:
-9
GSK980TD Turning Machine CNC System
Press the and key simultaneously, servo parameter resume successfully will be
displayed,(please restart ).
To prevent the programs and parameters be modified by others, GSK980TD offers password function,there are 4
levels falls as level 2 (machine builder),level 3 (equipment administrator), level 4 (technician) and level 5 (operator),
the current level can be displayed on current operation level__ under the password setting page.
Level 2: Machine builder, CNC status parameter,data parameter, worm offset data,tool offset data,program
editing and PLC ladderlike chart transmission, etc, can be modified.
Level 3: The original password is 12345, CNC status parameter, data parameter, tool offset data and program
editing can be modified.
Level 4: The original password is 1234, tool offset data (tool offset operation), macro veriable and program
editing can be modified, CNC status parameter, data parameter and worm offset data cannot be
modified.
Book2 Operation
Level 5: No password, only machine panel can be operated, tool offset data modifying, program selecting and
program editing are unavailable, and CNC status parameter, data parameter and worm offset data
cannot be modified.
Enter the password setting page, the cursor will stay at the row of input password.Move the cursor to the
a) The cursor will moves up a row by pressing key once.If current cursor located at the row of SET
LOW LEVE (The first row), By pressing the key once, the cursor will be moved to UPDATE
PASSWORD (last row).
b) The cursor will moves up a row by pressing key once. If current cursor located at the last row, By
pressing the key once, the cursor will be moved to the first row.
3Press the key after all set, then enter the corresponding operation level.
Note: The password digits of GSK980TD are corresponding to the operation level, users can not increase or
reduce the digits, details please refer to below:
Operation Original
Password digits
level password
Level 3 5 digits 12345
Level 4 4 digits 1234
Level 5 None None
For example: The current operation level is 4, the page is as follows. Password of level 3 is 12345, please
change the operation level to 3.
Book2 Operation
Move the cursor to the row of INPUT PASSWORD, press the key after inputing 12345, parameter
modifying and program editing are available password is correct will be displayed, then the current will be
change to level 3. the page will be displayed as follows:
Note: The level will remain when the power return on if the current operation level are lower than level 3
(including level 3, namely, level 3, 4, 5). If the level of last operation is higher than level 3 (level 0, 1, 2), then
the default is level 3 when the power return on.
-11
GSK980TD Turning Machine CNC System
2Move the cursor to the row of UPDATE PASSWORD;
4Please input the new password again will be displayed,details please find below:
Book2 Operation
5Press the key again after re-input the new password, if both input passwords are matched, the
6If the input passwords are not matched, Password unmatched, please input again will be displayed:
-12
Chapter 10 Setting, Backup and Resuming of Data
3Set current level to level 4, confirm? will be displayed by pressing the key, the page will be
shown as follows:
Book2 Operation
4The set lower level setting will be done by pressing again, the page will be shown as follows:
Note: Set lower level can not be done if level 5 is the current level.
-13
Chapter 11 Communication
Chapter 11 COMMUNICATION
TDComm2a can realize the file uploading and downloading between PC and CNC, it is easy to operate, and is
efficacious in communication and relierable.
System (PC) requirement for TDComm2a
Hardware: PC with RS232 serial-port interface, serial communication cable, (3 wires)
Operation System: Microsoft Windows 98/2000/XP/2003
Software Interface
The software interface of TDComm2a is simple, the following picture is the interface of the software when
running.
Book2 Operation
Pic 11-1 File downloading interface (PCCNC)
-1
GSK980TD Turning Machine CNC System
Book2 Operation
Pic 11-4
As shown in Pic 11-4, on the left is the disply box of the file list, on the right are the five buttons Load to List,
Save List, Add File, Check Source File, Start Downloading,and the option for overwrite the file with the
same file name
File list display box: When downloading files, it is the list box of the to-transfer file to CNC, listing the
information such as file path, file name on CNC, file length, save area on CNC. You can save the list into files, so
that the next time you use the programme to transfer the same file, you can open the list file, you dont need to
-2
Chapter 11 Communication
reselect the file.
Load to List: Load the download list file saved on the harddisk.
Save List: Save the current file list to harddisk as file.
Add File Add a file to the to-transfer file list from harddisk
Start Downloading: Start the file transferring after selecting the to-transfer files.
Check Source File: Open the selected file in text mood.
Overwrite the file with the same file name: Overwrite the file without asking if there are files with the same
names on the CNC during the file transferring.
Select File Dialog Box
Press the Add File botton as shown at the mouse pointer in Pic11-4, appears the dialog box Please select the
file to send, choose the to-transfer files in the dialog box, (can be multi-select) press botton All CNC File, you
can select all the CNC files under the directory to the file list at a time. The default file names saved to the CNC from
the file list are the same as the original file names, the file names will cut to 8 characters automatically when the file
name lengths are over 8 characters.
Book2 Operation
Pic 11-5
Annotate: The file names saved in the CNC cant be Chinese Charactors, double click the file list item in
the file list to modify and save the file name.
When selecting a single file, we can get the preview of the file content in the bottom of the dialog box, as shown
in Pic 11-6.
-3
GSK980TD Turning Machine CNC System
Pic 11-6
Book2 Operation
Pic 11-7
Suppose we need to modify the saved file name of the highlighting item in the list to O0001, we can perform
the following operation.
Move the mouse point to the row of the file list item, as shown in Pic 11-7, double click left botton and appears
the setting dialog box as Pic 11-8, we can modify the file path and the file name (Pic 11-9).
-4
Chapter 11 Communication
Press OK and the file list is set OK. As shown in Pic 11-10.
Book2 Operation
Pic 11-10
We can add to-transfer file to the file list like this one by one.
Moreover, we can double click left mouse button on the item in the file list, appears the file setting dialog box
as Pic 11-7, change file name, saved area and such settings, select the list item and right click on the list tem, appears
a menu, we can perform the delete the item or empty the list operation as the following Pic 11-11.
Pic 11-11
-5
GSK980TD Turning Machine CNC System
When finished the file adding, we can press the Save list botton to save the list as a file, so that next time we
can add to-transfer files by Load list directly, no need to set the file list one by one again, as Pic 11-12.
Book2 Operation
Pic 11-12
Annotation: The file name in CNC can just be 8.3 format (8 letter or digit character as file name, 3 letter or
digit character as extended name), cant be Chinese charactors or other charactors. Obey this
rule when downloading files, modifying the file names or setting CNC file names. If the file name
is not accord with the rule, the item will be shown in red in the file list, modify it to this rule.
after the file list is done, we can press the Start Download button, download the files and appears the dialog
box of communication statues, in the dialog box, we can check the information of the transferring file, process and
communication statue. ( Pic 11-13 ).
Pic 11-13
If there are files with the same file names on the CNC, the dialog box will shows, we can choose to overwrite
the files or skip the files and transfer, and perform corresponding operation. (Pic 11-14).
-6
Chapter 11 Communication
Book2 Operation
Pic 11-14
11-15
Click Save to Directory botton after selected, select the directory to store and start to receive the files
transferred from CNC. The communication statue box as Pic 11-13 will shows during the transferring process, and
disappears after the transferring.
2. Operation on CNC
-7
GSK980TD Turning Machine CNC System
After connected to the CNC, in idle staute, the software can receive files sent initiatively by CNC. When the
CNC starts to transfer files, the program starts to receive datas immediately, and ask the user to save the files after the
receiving is finished.
Book2 Operation
Pic 11-16
3. Delete Files on CNC
When selecting File upload perperty page in Dialog box, after selecting the to-delete files in the file list,
press the button Delete File to delete the selected files. (select more than one file to delete at a time is OK too).
Pic 11-17
-8
Chapter 11 Communication
11.1.3 Setting Option
Book2 Operation
1. Communication setting box
Port select: choose PC COM port as the the communication port, COM1COM4 for option.
Baud rate: choose the baud rate of the communication, 4800115200 for option.
2. The auto load selection box when the program starts
The previous file sending list: When the progrom starts again, load or not for the file list which have been
loaded as the file load interface (Pic 11-1) by last time.
The previous communication setting: When the progrom starts again, load or not for the communication settings
as previous.
1, Connect the PC and CNC with the communication cable when both powers are off.
Connections between PC and CNC: Insert the DB9 pin connector plugs into the XS36 communication jack
of CNC, insert the bore connectore plugs into serial port with 9 pins (COM orCOM1) of PC;
Connections between CNC and CNC: Insert the DB9 pin connector plugs into XS36 communication jacks of
both CNC.
2, Set the Bit5RS232of CNC status parameter as 1 (details please see appendix one).
3, Set the baund rates of communication, to realize the baund rates are consistent between PC and CNC,or CNC
and CNC.
Baund rate setting of CNC:
The communication baund rate of CNC serial port for GSK980TD is set by No.044 data parameter, range
from 50~115200 (unit: bps), the set value should not under 4800 during transmission between CNC and PC.
And the default is 115200.
Baund rate setting in PC:
Run the communication software, the interface will be displayed as below by selecting the option setting
and clicking the left key of mouse.
-9
GSK980TD Turning Machine CNC System
Note1: Turn on the program switch if program transmission is needed; Turn on the parameter switch if parameter
and tool offset,etc, transmission is needed; If alarm occurs when turning on the switch,the alarm can be
cleared by pressing the and key simultaneously.
Note2: To ensure the steady and reliable communication, please stop processing if it is running. If data sending
from CNC is needed, please switch to the edit operation first.
The appointed data file can be transferred to CNC by performing the input function, such as
program,parameter,tool offset and worm offset,etc.
-10
Chapter 11 Communication
4Click the Add file button under the software interface as shown in above chart, A dialogue box for adding
file will appears, the screen will be shown as below after selecting the edited program.
Book2 Operation
5Under the software interface as shown in above chart, the program name can be changed by double clicking
it:
-11
GSK980TD Turning Machine CNC System
7After the transmission, it will be displayed as below by clicking the confirm button on the arisen box.
-12
Chapter 11 Communication
Note: The operation at CNC side requires level 3 or above.
Book2 Operation
3Other operations are avalilabe by clicking the confirm after the transmission.
-13
GSK980TD Turning Machine CNC System
1Set a corresponding level in CNC (level 2 is required for worm offset setting), turn on the parameter switch
and then select the edit operation;
2Run the communication software in PC, select the file download option and then click the add file button
to add the parameter file which is to be transferred (the file postfix should be .par, such tool offset file can be
transferred from CNC if there isnt ), it will be displayed as below by clicking the start to download:
3Other operations are avalilabe by clicking the confirm after the transmission.
-14
Chapter 11 Communication
Note1: Parameter files including status parameter,data parameter and worm offset parameter, users can select the
Book2 Operation
operation based on the requirements.
Note2 The displaying sequence numbers in PC are counted from 0 for the status and data parameter,
corresponding to the parameter sequence in CNC.
Note3User want to transfer the status and data parameter from PC requires CNC operation level 3 or above.
Note4Transferring the worm offset parameter requires CNC operation level 2 or above
The CNC datas of GSK980TD can be transferred to PC by performing the output function, the datas can be
received by PC including program, parameter,tool offset or worm offset, etc.
-15
GSK980TD Turning Machine CNC System
3Press the key and input the program name at CNC side (this step can be omitted if transferring
Book2 Operation
current program);
4Output starts by pressing the key, The character output under the CNC screen will be glitter, and
the screen at PC will be displayed as follows after the transmission:
5Click the no savebutton if no need to save; if need to save it, please click thesavebutton and then select
the saving route on the save route dialogue box, the file will be saved by click the savebutton:
-16
Chapter 11 Communication
Book2 Operation
3Select the program to be save, and then click the save to folder, details are as follows (select the tenth
program to save):
-17
GSK980TD Turning Machine CNC System
3Input the address key ,symbol key and other address keys
4Press the key, the output begins, the character Output under CNC screen will be displayed and
glitter, when the output is done, the screen of PC will be displayed as follows:
5Save the programs one by one according to Section 11.5.2.
Note: It also can be done in PC according to method 2 described in section 11.5.1, select all programs, and save
them at the desired route. The page will be displayed as below:
-18
Chapter 11 Communication
11.4.3 Tool Offset Output
1Enter the tool offset page under the edit operation mode;
2Process the communication software in PC, switch toDocument uploadpage;
3Press the key on CNC, the output begins, the character Output under CNC screen will be displayed,
the screen of PC will be displayed as follows:
Book2 Operation
4When the output is done, the screen of PC will be displayed as follows (default name: Tcomp.cmp):
6Press the key on CNC, the output begins, the character Output under CNC screen will be
displayed, the screen of PC will be displayed as follows:
7During the transmission, the file names dispayed in PC are different for different types of datas, detaisl are as
follows (The default names are marked in ellipses):
-20
Chapter 11 Communication
5Save the parameter datas to the desired rote according to section 11.5.2.
Book2 Operation
11.5 COMMUNICATION betweent CNC and CNC
To simplify the operation, transmission between two CNCs is allowed, the sending CNC is so-called sender;
and the receiving CNC is so-called receiver.Detaisl are as follows:
CNC CNC
Sender Receiver
Please take note of below when transferring datas:
1The communication functions are both available for sender and receiver, namely, the Bit5RS232of No.002
of CNC status parameters are both set as 1;
2The baud rates are the same between two sides, namely the No.044 CNC data parameters are the same;
3Both side must under the edit operation;
4The sender must under the page which is ready for data transferring (For example, it must under status
parameter page if status parameter is to be transferred)
5The receiver must under the related levels and all related switches must have been turned on (parameter
switch,program switch)
-21
GSK980TD Turning Machine CNC System
6The operation steps are the same with Data output (CNCPC) on CNC which is described in Section 11.5.
Book2 Operation
-22
Chapter 12 Process Example
4
Z
Book2 Operation
ration
workpiece
Chart 12-1
To fabricate with below four tools:
According to the machining technics and the operation manual, set up a workpiece coordinate as chart 12-1, the
program are as follows:
-1
GSK980TD Turning Machine CNC System
Program name
G0 X150 Z50 Move to a safe position for tool change
M12 Clamp the chuck
M3 S800 Turn on the motor with 800 r/min
M8 Coolant on
T0101 Change the first toll
G0 X136 Z2 Move the tool close to the workpiece
G71 U0.5 R0.5 F200 Cut the workpiece with 1 mm deep and drow
it back with 1 mm
G71 P0060 Q0150 U0.25 W0.5 Reserve 0.5 mm for both X and Z axises
G0 X16 Get close to the section of workpiece
G1 Z-23 Cut for 16
X39.98 Cut for the section
W-33 Cut for39.98
X40 Cut for the section
W-30 Cut for40
Book2 Operation
-2
Chapter 12 Process Example
T0100 Change back to No. 1 tool
M5 Turn off the spindle
M9 Coolant off
M13 Release the chuck
M30 Program over
Under non-edit operation, enter the program interface by pressing the key, select the program contents
Book2 Operation
The preserve program names can be looked over on above page, then it is ready to set up a new program name.
Under the edit operation, enter the program contents page by pressing the key, the page will be
displayed as follows:
Press the address key , select a nonexistent program (such as 0001), input the numeric keys
, set up a new program by pressing the key, the page will be displayed as follows:
-3
GSK980TD Turning Machine CNC System
Input the program as above mentioned, the program edit will be done and after that the first page will be
displayed as below:
Book2 Operation
Enter the graph interface by pressing the key, select the graph setting page by pressing the
or key, then enter the MDI operation by pressing the key, the page will be displayed as below:
-4
Chapter 12 Process Example
Move the cursor by pressing the or key to set the coordinate selecting, max. value of X, max.
value of Z, min. value of X and min. value of Z (the scaling and graph center in the graph setting will be
adjusted automatically according to the max. value of X, max. value of Z, min. value of X and min. value of
Z .) Here is the setting of max. value of X will be set as an example of graph parameter setting :
1Move the cursor to the parameter ofmax. value of X by pressing the or key.
2The dimension of the roughcast is 135 mm, then the input value should be bigger than 136 mm, here 150 mm
3The page will be displayed after setting and pressing the key:
Book2 Operation
To set other datas according above method, in this example the page will be displayed as below after setting:
Enter the graph displaying page by pressing the or key, enter the automatic operation by
pressing the key, Enter the auxiliary lock, machine lock and dry running by pressing the
MST
keys, at the moment the LEDs of , and are turned on.Start to plot by pressing the
key, and then press the key to run program automatically,the tool moving track will be displayed and
the correctness of program can be tested,the page will be displayed as follows after all set.
-5
GSK980TD Turning Machine CNC System
If there is something wrong, please analyse the error and modify the program, then test it again until there is
nothing unusual.
1Move the tool to a safe positon,run the T0100 U0 W0 under the MDI mode, program status page, and then
Book2 Operation
3Release the tool along the X axis and remain the Z axis, stop the spindle, perform the G50 Z0 under the
program status page of MDI operation, then set the coordinate of Z axis;
4Switch to tool offset page and input Z0 into No.001 offset;
5Move the tool close to the workpiece and cut along the outer surface;
6Release the tool along the Z axis and remain the X axis, stop the spindle, then measure the dimension of the
outer column (suppose the value is 135 mm)
7Perform the G50 X135 under the program status page of MDI operation, then set the coordinate of X axis
8Switch to tool offset page and input X135 into No.001 offset;
9Move the tool to a safe positon,select the No.2 tool by pressing the tool change key under the manual
-6
Chapter 12 Process Example
operation;
10Start the spindle, move the tool to the fixed point, A point as follows;
11Switch to tool offset page, move the cursor to No.2 offset and then input X135Z0
12Move the tool to a safe positon, select the No.3 tool by pressing the tool change key under the manual
operation;
13Start the spindle, move the tool to the fixed point, A point as follows;
Book2 Operation
14Switch to tool offset page, move the cursor to No.3 offset and then input X135Z0
15Move the tool to a safe positon, select the No.4 tool by pressing the tool change key under the manual
operation;
16Move the tool to the fixed point, A point as follows;
17Switch to tool offset page, move the cursor to No.4 offset and then input X135Z0
18 Tool adjusting is done, move the tool to a safe position;
19Start the automatic process by pressing the key under the automatic operation;
20If there is any error between the designed and actual dimension, the tool offset can be modified until the
dimension under the tolerance.
-7
GSK980TD Turning Machine CNC System
Note: Press the to pause the automatic running if needed.If any emergency occurs, the key,
emergency button can be pressed or the power can be shut off to terminate the program running.
Book2 Operation
-8
BOOK 3
CONNECTION
Chapter 1Fixing and Layout
Book3 connection
Contents
Book3 connection
2.3.2 Signal Description..................................................................................................... -6
2.4 CONNECTION to FREQUENCY CHANGER ................................................................. -7
2.4.1 Analog Spindle Interface .......................................................................................... -7
2.4.2 Signal Description..................................................................................................... -7
2.4.3 Connection of Frequency Changer ........................................................................... -7
2.5 CONNECTION between GSK980TD and PC ................................................................... -8
2.5.1 Communication Interface.......................................................................................... -8
2.5.2 Connection of Communication Interface.................................................................. -8
2.6 POWER SUPPLY CONNECTION .................................................................................... -9
2.7 STANDARD and EXPANDED I/O INTERFACE ........................................................... -10
2.7.1 Input Signal ............................................................................................................. -12
2.7.2 Output Signal .......................................................................................................... -13
2.8 FUNCTION and CONNECTION of I/O INTERFACE ................................................... -15
2.8.1 Overtravel and Emergency Stop ............................................................................. -15
2.8.2 Tool Changing Control............................................................................................ -16
2.8.3 Reference Point Return ........................................................................................... -19
2.8.4 Spindle Positive or Negative Rotation Control....................................................... -24
2.8.5 Spindle Speed Controlled by On-off Variable ........................................................ -25
2.8.6 Automatic Gearing Control for Spindle.................................................................. -26
2.8.7 Outside Cycle Start and Cycle Stop ........................................................................ -27
I
GSK980TD Turning Machine CNC System
2.8.8 Coolant Control .......................................................................................................-28
2.8.9 Lubrication Control .................................................................................................-29
2.8.10 Chuck Control........................................................................................................-31
2.8.11 Tailstock Control....................................................................................................-33
2.8.12 Low Pressure Detection .........................................................................................-34
2.8.13 Defence Gate Detection.........................................................................................-35
2.8.14 Spindle Rotation Permission..................................................................................-35
2.8.15 Program Segment Skipping ...................................................................................-36
2.8.16 Macro Variable.......................................................................................................-37
2.9 ELECTRIC CONNECTION for I/O SIGNAL.............................................................-38
CHAPTER3: PARAMETER SPECIFICATION .................................................................................-1
3.1 PARAMETER SPECIFICATIONwith sequence............................................................-1
3.1.1 State Parameter ..........................................................................................................-1
3.1.2 Data Parameter..............................................................................................................-6
3.2 PARAMETER SPECIFICATIONwith function...........................................................-12
3.2.1 Control Logic for X and Z Axes .................................................................................-12
3.2.2 Acceleration and Deceleration Control.......................................................................-12
3.2.3 Safeguard for Machine ...............................................................................................-13
3.2.4 Reference Point Return...............................................................................................-14
3.2.5 Thread Function..........................................................................................................-15
3.2.6 Spindle Control...........................................................................................................-16
3.2.7 Chuck Control.............................................................................................................-17
3.2.8 Tailstock Control.........................................................................................................-18
3.2.9 Tool Nose Radius Compensation................................................................................-18
3.2.10 Toolpost Control .......................................................................................................-19
3.2.11 Edit and Display........................................................................................................-19
3.2.12 Accuracy Compensation ...........................................................................................-20
Book3 connection
Book3 connection
III
Chapter 1 Fixing and Layou
Book3 Connection
Fig.1-1 Interface layout of GSK980TD
NOTE: XS41 and XS42 are optional interfaces
Power boxAdopt GSK-PB power box and provide the voltage of +5V+24V+12V-12VGND
FilteroptionalInput port connects to 220VAC powerPE port grounds and output port connects to
LN port of GSK-PB power box
XS3015-slot D-type female connectorconnect to X driver
XS3115-slot D-type female connectorconnect to Z driver
XS3215-slot D-type female connectorconnect to spindle encoder
XS369-slot D-type female connectorconnect to RS232 interface of PC
XS379-pin D-type male connectorconnect to frequency changer.
XS389-pin D-type male connectorconnect to manual pulse generatorMPG
XS3925-slot D-type female connectorthe interface from CNC to machine
XS4025-pin D-type male connectorthe interface from machine to CNC
XS4125-pin D-type male connectorthe expanding input interface
XS4225-slot D-type female connectorthe expanding output interface
-1
GSK980TD Turning Machine CNC System
encoder
MPG
to frequency changer
to machine
Book3
ok3 Connection
-2
Chapter 1 Fixing and Layou
MST
Book3 Connection
Fig.1-3 Outline dimensions of GSK980TD
-3
GSK980TD Turning Machine CNC System
MST
distributed
evenly
The cabinet must be fully closed and designed to prevent the entry of airborne dustcoolantand organic solvent.
The cabinet must be designed to maintain a difference in temperature of 10 or less between the air in the
cabinet and the outside air when the temperature in the cabinet increases.The distance between back cover of
CNC and surface of cabinet isnt less than 20cm.
A closed cabinet must be equipped with a fan to circulate the air within.
The display panel must be installed in a location where coolant cannot be poured directly on it.
Cabinet design to minimize noise generation and to prevent it from being transmitted to the CNC is necessary.
-4
Chapter 1 Fixing and Layou
The CNC has been designed to be protected from external noise.Howeverit is difficult to measure the lever and
frequency of noise quantitativelyand noise has many uncertain factors.In order to improve the stability of the CNC
guard against noise in the machine as following
1, CNC should be apart from the units which generating noisesuch as frequency inverterAC contactorstatic
generatorhigh voltage generator etc.
2, Provide the CNC with power supply by isolated transformermachine tool fixed with CNC must be grounded
and the independent grounding cables are required for CNC and servo driver.
3, Noise suppressorParallel connect RC-type loop with AC coilas fig.1-5and RC-type loop must be as near
as possible to inductance load.Conversely parallel connect diode with DC coilas fig.1-6.Parallel connect
surge absorber with coil of AC motor.
0V
220V
+24V
Fig.1-5 Fig.1-6
KM
Surge
absorber
Book3 Connection
M
3
Fig.1-7
4, The intertwist shielding or shielding cables as short as possible are absolutely necessary for the CNC
shielding layer of which is single-port grounding in CNC side.
5, Process the cables in each group as described in the action column.
Group Signal line Action
AC power lines Bind the cables in group A separately from groups
AC solenoid B and C the groups must be 10cm or more apart
A
AC relay from one another or cover group A with an
electromagnetic shield
DC solenoid24VDC Bind the cables in group B separately from group
DC relay24VDC Aor cover group B with an electromagnetic
B Cable between the CNC and power shield.Separate group B as far from group C as
magnetics cabinet possible
Cable between the CNC and machine
-5
GSK980TD Turning Machine CNC System
Cable between the CNC and servo driver Bind the cables in group C separately from group
Cable for position feedback Aor cover group C with an electromagnetic
C Cable for the position encoder shield.Separate group C as far from group B as
Cable for the manual pulse generator possible.cables apply twisted-pair
Other cables to be covered with the shield
Book3 Connection
-6
Chapter 2 Definition and Connection of Interface
1nCP+ 9 nCP-
2nDIR+ 10nDIR-
3nPC 110V
4+24V 12+5V Signal Name Description
5nALM 13+5V nCP+nCP-
6nSET 140V Pulse signal
7nEN 150V nDIR+nDIR- Direction signal
8 nPC Zero signal
nALM Driver alarm signal
nEN Axis enabling signal
Fig.2-1 Interface of XS30XS31 nSET Pulse forbidden signal
15-slot D-type female connector
Noten means X or Zthe same as following.
nCP+nCP- are pulse signal and nDIR+nDIR- are direction signalwhich output in the difference mode
Book3 Connection
AM26LS31.Advise to receive these signal outside by AM26LS32and the inside circuit of which as fig.2-2
Driver alarm voltage can be specified to high or low level by Bit0 and Bit1 of No.009 parameter of the CNC.
The inside circuit of nALM as fig.2-3
-1
GSK980TD Turning Machine CNC System
+5V
+24V
nALM
nEN is validbeing 0Vin normal operation and is invalid not being 0Vat driver alarm or emergency
stop.The inside circuit as fig.2-5
ULN2803
EN nEN
Book3
ok3 Connection
nSET is to control servo driver input and increase the ability of eliminating noise between the CNC and driver
which is low voltage when outputting the pulse signal and is high impedance otherwise. The inside circuit as fig.2-6
ULN2803
SET nSET
-2
Chapter 2 Definition and Connection of Interface
In reference point returnzero signal is the encoder phase C signal or is the approach switch signal. The inside
circuit as fig.2-7
+5V
nPC
PC
*DECn signal
reference point
Fig.2-8
Book3 Connection
NoteIn reference point returnthe reference point position is specified by detecting skip of nPCrising or
descending edge is validafter decelerating switch coming away.
b Connection mode as fig.2-9 when both decelerating signal and zero signal are rooted in one NPN type
HALL component. NPN +24V
DECn
nDEC
nPC
-3
GSK980TD Turning Machine CNC System
c Connection mode as fig.2-9 when both decelerating signal and zero signal are rooted in one PNP type
HALL component .
+24V
PNP
DECn
nDEC
nPC
and DA98(A)
GSK980TD(XZ interface
axisXS30XS31 of DA98
n
Cn
P
+P
PP S S
U
LU
S
+- + -
1
1
8
C
-
LI
S
9 6
G
N
2 nDIR 19
IA
G
N O
10 nDIR- 7
n
A
Ln
MP
LZ
M
5 15
C
CS
M
C
3 5
OD
N
2
13
Book3
1
1
0+
V2
GC
4
ZM
ok3 Connection
4 2
CRDDF
OSGGS
+T
20
P
metal shell 10
41
72
T
P
2
metal shell
C
P
+P
1
C
+P
P
1
1
CD
-I
CD
-I
9 nCP- 9
n
D
I
R
+
R
+-2 Y
9 nCP- 2
n
D
I
R
+
+R
R
2 2
D
I
R
2 3
D
I
-
10 nDIR- 10
V+
0
R
D
Y
10 nDIR- 4
0
V
O
U
T
.
C
O
ME
11 14
V MV
5
11 9
E
N
+
F
R
E
12 3 12 +5V 8
n
A
L0
R
DE
1-
A
L
M
.
C
O
ME
5 nALM 7
0
V
6
F
R
E
5
N
14 11 14 5
metal shell metal shell metal shell metal shell
-4
Chapter 2 Definition and Connection of Interface
8PAS
7*PAS 150V
6PBS 140V Signal Name Description
5*PBS 13+5V
4PCS 125V *PAS/PAS Encoder phase A signals
3*PCS 110V *PBS/PBS Encoder phase B signals
*PBS/PBS Encoder phase C signals
*PCS/PCS*PBS/PBS and *PAS/PAS are the encoder phase CB and A difference signals separatelywhich are
received by 26LS32. *PAS/PAS*PBS/PBS are square wave with 90phase differencethe highest frequency of
which is less than 1MHz.Encoder lines of GSK980TD can be specified at will from 1005000 by the parameter.
The inside circuit as fig.2-13nABC
PnS
*PnS
Book3 Connection
AM26LS32
Connection between GSK980TD and spindle encoder as fig.2-14 and the twisted-pair is in needtake
Changchunyiguang ZLF-12-102.4BM-C05D encoder as example
1024-line encoder of
GSK980TDXS32
*
P
C
S
ZZBB
3
Changchunyiguang
4 PCS 2
*
P
B
S
5 6
AA
6 PBS 3
*
P
A
S
7 7
P
A
S
8 5
0
V5
0
V+
4
+
V
11
5
V
12 11
metal shell
-5
GSK980TD Turning Machine CNC System
5HB
4+5V 90V
3 8
7 Signal Name Description
2+5V
60V HA
1
HA and HB are the phase AB input signal of manual pulse generator separately.
The inside circuit as fig.2-16
TLP521
VCC 5V
GND HA
VCC
GND HB
0V
Book3 Connection
GSK980TDXS38 MPG
H
A
1
5 HB B
+
5
V
2 +5V
0
V
6 0V
metal shell empty
-6
Chapter 2 Definition and Connection of Interface
5SVC
40V
3 Signal Name Description
2 SVC 010V analog voltage
1
1 6
0V Signal ground
SVC
Book3 Connection
Connection between GSK980TD and frequency changer as fig.2-20
4 0V port
5 SVC input port
metal shell
-7
GSK980TD Turning Machine CNC System
1 6
2RXD 7 Signal Name Description
3TXD 8 RXD Receive data
4 9
5GND TXD Send data
GND Signal ground
-8
Chapter 2 Definition and Connection of Interface
Book3 Connection
(power supply)
Fig.2-23
-9
GSK980TD Turning Machine CNC System
Note
Generallythe I/O interface of GSK980TD can be defined
8ST 19T08/M42I/NQPJ/*OV8
9ZDEC 20T07/M41I/WQPJ/*OV4 Positive rotationnegative rotation signal for
ok3 Connection
-10
Chapter 2 Definition and Connection of Interface
Book3 Connection
24V 24VDC output
COM Common
1(X2.0) 14COM
2(X2.7) 15COM X2.0 Extended input
3(X3.0) 16COM X2.1 Extended input
4(X3.7) 17COM
5(X3.5) 18COM X2.2 Extended input
6(X3.6) 19(X3.4) X2.3 Extended input
7(X3.3) 20(X3.2)
8(X3.1) 21(X2.6) X2.4 Extended input
9(X2.5) 22(X2.4)
10(X2.3) 23+24V X2.5 Extended input
11+24V 24COM X2.6 Extended input
12(X2.2) 25COM
13(X2.1) X2.7 Extended input
X3.0 Extended input
X3.1 Extended input
X3.2 Extended input
X3.3 Extended input
Fig.2-26 Extended input interface of XS41 X3.4 Extended input
25-pin D-type male connector X3.5 Extended input
X3.6 Extended input
X3.7 Extended input
-11
GSK980TD Turning Machine CNC System
Input signal is the signal from machine to CNCwhich is valid when connecting to24Votherwiseis invalid.
The signal conditions as following is necessary
Book3
Contact capabilityvoltage more than 30VDC and current more than 16mA
ok3 Connection
Two input modes are suitable for external input signalone is to adopt the contact switchin which the input
signal comes from the keytravel-limit switch and relay contact etc.
The connection as fig.2-28
Fig.2-28
The other is to adopt the non-contact switchtransistor.The connection as fig.2-29fig.2-30
-12
Chapter 2 Definition and Connection of Interface
+24V +5V
Input signal
NPN type
NPN
+24V +5V
PNP type
PNP
Book3 Connection
OV1OV8T01T08 etc.
Output signal is to drive the relay or indicator lamp from machine sidewhich is valid when connecting to 0V
otherwiseis invalid.I/O interface contains 36 digital output signal with the same circuit as fig.2-31.
ULN2803
OUTx nOUTx
-13
GSK980TD Turning Machine CNC System
Drive LBD
A resistor in series is in need to drive LBD by ULN2803 as fig.2-32which limits the current of LBD
general being about 10 mA.
ULN2803 output
Fig.2-32
Drive filament-type indicator lamp
When driving the filament indicator lamp by ULN2803a warm-up resistor is in need to reduce the current
concussion as fig.2-33the impedance of which is on principle that the indicator lamp isnt light.
+24V
CNC side machine side
ULN2803 output
Book3
Fig.2-33
ok3 Connection
ULN2803 output
relay
Fig.2-34
-14
Chapter 2 Definition and Connection of Interface
Note
Generallythe I/O interface of GSK980TD can be defined
Relative signal
ESPemergency stop signalESP alarm is given when disconnecting with 24V .
Book3 Connection
Diagnosis data
0 0 1 ESP
Interface pins XS40.10
Control parameter
State parameter
1 7 2 ESP
ESP0 Emergency stop function is valid
=1 Emergency stop function is invalid
Signal connection
The circuit of ESP as fig.2-35
machine side CNC
CNCside
*ESP
ESP
Fig.2-35
-15
GSK980TD Turning Machine CNC System
Machine connection
The connection of emergency stop switch and overtravel canceling switch as fig.2-36
+24V +X -X +Z -Z
Fig.2-36
Control logic
In the standard PLC programM03 or M04M08enabling signalENand pulse signal are closedand M05
is outputted when ESP alarmwhich caused by that ESP signal disconnects with 24Vis given.
Diagnosis data
1 input signalT01~T08 signal
Book3
Control parameter
State parameter
0 1 1 TSGN TCPS
TSGN0T01T08 are valid when connecting to +24V
=1T01T08 are valid when disconnecting with 24V
TCPS0TCP signal is valid when connecting to 24V
1TCP signal is valid when disconnecting with 24V
1 8 2 PB6 PB5
PB50tool changing mode A
1tool changing mode B
-16
Chapter 2 Definition and Connection of Interface
PB6=0dont detect T01T08 signal when tool changing is over
1detect T01T08 signal when tool changing is over
Data parameter
0 7 6 TIMAXT
Time upper limit for changing one tool
0 7 8 TLMAXT
Time upper limit for changing the most tools
0 8 2 T1TIME
Tool changing time 1delay time from closing TL+ to outputting TL-
0 8 4 TMAX
Total tool number
0 8 5 TCPTIME
Tool changing time 2time from outputting TL- to receiving TCP
Signal connection
1The optocoupler is used for T01T08 and TCPthe inside circuit as fig.2-37
machine side CNC
side
T0n/*TCP
Book3 Connection
Fig.2-37
2TL+ and TL- are positive/negative rotation signalsthe inside circuit as fig.2-38
CNC
CNC side machine side
output
TL+/TL- signal
ULN2803
+24V
Fig.2-38
-17
GSK980TD Turning Machine CNC System
3The connection of T01T08 as fig.2-39in which a pull-up resistor is needed when valid T01T08 in low
voltage.
CNC side machine side
HALL switch
Fig.2-39
Function descriptiondefined by standard PLC program
In the standard PLC programfour modes for tool changing are defined as following.
1PB5=0PB6=0mode B
During the tool changing processCNC outputs TL+ signal firstly until the tool signalT01~T08
being detectedthen CNC outputs TL- signal after the time specified by No.82 parameter from
TL+ being closedafterwards CNC detects TCP signal and closes TL- signal after the time
specified by No.85 parameter from TCP being detectedand tool changing process is over.
CNC will give alarms and close TL- signal when not detecting TCP signal during the time
specified by No.83 parameter after outputting TL- signal.
Set bit0TCPSof No.11 parameter to 0 if TCP signal doesnt exist.
Book3
ok3 Connection
or
-18
Chapter 2 Definition and Connection of Interface
3PB5=1PB6=0mode A
During the tool changing processCNC outputs TL+ signal firstly until the tool signalT01~T08being
detectedthen CNC outputs TL- signal when skip of the tool signal being detectedafterwards CNC detects TCP
signal and closes TL- signal after the time specified by No.85 parameter from TCP being detectedand tool changing
process is over.
Note 1No.82 parameter is invalidthat is to sayCNC dont check the delay time from closing TL+ to outputting
TL-.
Note 2Except No.82 parameterthe parameters and function for toolpost control are still valid.
4PB5=1PB6=1mode Awith to-position detecting
The tool changing process is same as the mode Aexcept for the added step of confirming tool positionin which
CNC will detect the tool signal at the moment of closing TL-if the current tool position is in accordance with the
current tool numberthe tool changing process is overotherwise CNC will give unfinished tool changingalarm.
Notetool changing time is too longalarm will be given when Ta is more than the time specified by No.78 Book3 Connection
parameter.
Relative signal
XDECdecelerating signal of X axis
ZDECdecelerating signal of Z axis
XPCzero signal of X axis
ZPCzero signal of Z axis
-19
GSK980TD Turning Machine CNC System
Diagnosis data
0 0 0 XDEC
interface pins XS40.1
0 0 1 ZDEC
interface pins XS40.9
0 0 8 PCZ PCX
interface pins XS31.3 XS30.3
Control parameter
State parameter
0 0 4 DECI
DECI1nDEC signal is valid when connecting to24V
0nDEC signal is valid when disconnecting with 24V
0 0 5 PPD
PPD1G50 can set the relative coordinate
0G50 cant set the relative coordinate
0 0 6 ZMZ ZMX
ZMZ=1reference point return mode C of Z axis
0reference point return mode B of Z axis
ZMX=1reference point return mode C of X axis
0reference point return mode B of X axis
0 0 7 ZCZ ZCX
Book3 Connection
ZCZ1In reference point returnZDEC signal is in parallel connection with PCZ signalZDEC and PCZ
all come from one approach switch
0In reference point returnZDEC signal and PCZ signal are connected independently
ZCX1In reference point returnXDEC signal is in parallel connection with PCX signalXDEC and
PCX all come from one approach switch
0In reference point returnXDEC signal and PCX signal are connected independently
0 1 1 ZNLK
ZNLK1In reference point returnonce the corresponding direction key is pressedthe axis keeps
moving until the reference point return completed.To halt the movementpressRESETkey
0In reference point returnthe axis movement will stop once the corresponding direction key is
released
0 1 2 APRS ISOT
APRS1Automatically set the absolute coordinate system after reference point return completedthe
coordinate value is specified by No.49 and No.50 parameter
0Dont set the absolute coordinate system automatically after reference point return completed
-20
Chapter 2 Definition and Connection of Interface
0 1 4 ZRSZ ZRSX
ZRSZZRSX1Reference point exists for ZX axisdecelerating signal and zero signal need to be detected
in reference point return
0Reference point doesnt exist for ZX axisdecelerating signal and zero signal dont need to
be detected in reference point return
1 8 3 MZRZ MZRX
MZRXMZRZ =1The direction of reference point return is negative for XZ axis
0The direction of reference point return is positive for XZ axis
Data parameter
0 3 3 ZRNFL
ZRNFLThe low speed in reference point return for XZ axis
0 4 9 PRSX
0 5 0 PRSZ
PRSXPRSZThe absolute coordinate setting value of XZ axis after reference point return being completed
Signal connection
The inside circuit of nDEC signal as fig.2-40
Book3 Connection
Fig.2-41
Reference point return of taking the phase C signal of servo motor encoder as the zero signal
overtravel switch
-21
GSK980TD Turning Machine CNC System
The connection circuit of nDEC signals
+24V
ZDEC
control unit
Fig.2-42
The action logic for reference point return
The action logic for reference point return as fig.2-43under the condition of setting BIT0ZMX
BIT1
ZMZof No.6 parameter and BIT5DECIof No.4 parameter to0in which initial backlash direction is
positive and nDEC signal is valid in low voltage.
reference point return path
*DECn signal
omitted
nPC signal
high speed
decelerating
speed(V)
finished
start decelerating reference point
low speed
time(t)
Fig.2-43
Reference point return process
Book3
A In REF modewhen pressing the corresponding move keythe direction specified by No.183 parameter
ok3 Connection
the axis moves to the reference point with the rapid traverse speed until pressing the decelerating switch
then keeps moving with the definite low feed speed.
B After releasing the decelerating switchCNC detects the encoder phase C signalPCuntil PC signal
skipping then the axis stops moving and the corresponding indicator lamp for reference point return
ending lightsand the reference point return process is over.
-22
Chapter 2 Definition and Connection of Interface
Reference point return when taking a approach switch as decelerating signal and zero signal simultaneously
generally,L1 1.5~2
approaching switch widthL2
approaching switch width
Fig.2-44
The connection circuit of nDEC signals
+24V
*DE
nDECCn
Book3 Connection
nPC
Fig.2-45
The action logic for reference point return
The action logic for reference point return as fig.2-46under the condition of setting BIT0ZMX
BIT1
ZMZof No.6 parameter and BIT5DECIof No.4 parameter to0in which initial backlash direction is
positive and nDEC signal is valid in low voltage.
-23
GSK980TD Turning Machine CNC System
reference point return path
*NnDEC/nPC
DEC /n PC
speed(V)
high speed
decelerating
finished
start decelerating
reference point
low speed
time(t)
Fig.2-46
Reference point return process
A In REF modethe axis moves to the reference point with the rapid traverse speed when pressing the
corresponding move keythe direction specified by No.183 parameter.
B The axis moves with the definited low speed and nDEC signal is valid when the approach switch
inducing the stopper firstly.
C The axis keeps moving and CNC begins to detect nPC signal when the approach switch departing away
from the stopper.
D The axis stops moving and the indicator lamp for reference point return ending lights when the
approach switch inducing the stopper secondlyand the reference point return process is over.
M05spindle stopping
SPZDspindle braking
Diagnosis data
diagnosis data
0 0 4 SPZD M05 M04 M03
interface pins XS39.17 XS39.16 XS39.3 XS39.7
Control parameter
control parameter
0 0 9 RSJG
RSJG1not close M03M04M08M32 signals when pressing RESETkey
= 0close M03M04M08M32 signals when pressing RESETkey
data parameter
0 8 0 MTIME
Duration for M code
0 8 7 SPDDLT
Delay time for from executing M05 to outputting SPZD
-24
Chapter 2 Definition and Connection of Interface
0 8 9 SPZDTIME
Duration for SPZD signal
Signal connection
The output circuit of M03M04M05SPZD as fig.2-47
CNC CNC
side machine side
M03/M04/M05/SPZD
ULN2803
+24V
Fig.2-47
Action logicdefined by the standard PLC program
Spindle action logic as fig.2-48
spindle stop
spindle stop
T2 T3
Spindle brake
Fig.2-48
NoteT2 is the delay time for from executing M05 to outputting SPZD and T3 is duration for SPZD signal
Book3 Connection
Control logicdefined by the standard PLC program
M05 is valid when powering on until executing M03 or M04then M03 or M04 is valid until executing
M05.The corresponding time is specified by No.87 and No.89 parameters.M03 and M04 cant be valid
simultaneously.
Note3Spindle rotation can be controlled by keysplease read book2 of the manual for
details.
Diagnosis data
-25
GSK980TD Turning Machine CNC System
0 0 5 S4 S3 S2 S1
interface pins XS39.8 XS39.14 XS39.1 XS39.5
Control parameter
State parameter
0 0 1 analog spindle
Bit41spindle speed controlled by analog voltage
0spindle speed controlled by on-off variable
1 7 3 SOUS
SOUS= 0S1S2S3S4 are valid when spindle speed controlled by on-off variable
1only S1S2 are valid when spindle speed controlled by on-off variable S3 and S4 are
corresponding to UO2 and UO3.
NoteS1S4 are invalid when spindle speed controlled by analog voltageand M41~M44 or UO0~UO3 are valid
Control logic
when powering on or executing S0S1S4 are invalid until executing any one of themwhats moreonly
one of S1S4 is valid at one time.
Diagnosis data
0 0 5 M44 M43 M42 M41
interface pins XS39.8 XS39.14 XS39.1 XS39.5
0 0 2 M42I M41I
interface pins XS40.19 XS40.20
Signal connection
CNC CNC
side machine side
M03/M04/M05/SPZD
M41~M44
ULN2803
Fig.2-49
+24V
-26
Chapter 2 Definition and Connection of Interface
Control parameter
State parameter
0 0 1 analog spindle
Bit41spindle speed controlled by analog voltage
0spindle speed controlled by on-off variable
Bit4 must be 1 under spindle auto gearing control.
1 6 4 AGER AGIN AGIM
AGER1spindle auto gearing control is valid
0spindle auto gearing control is invalid
AGIN1detect M41IM42I signals when gearing to 12 gears
0not detect M41IM42I signals when gearing to 12 gears
AGIM1M41IM42I signals are valid when disconnecting with24V
0M41IM42I signals are valid when connecting to24V
Data parameter
0 3 7 GRMAX1
0 3 8 GRMAX2
0 3 9 GRMAX3
0 4 0 GRMAX4
GRMAX1 GRMAX2 GRMAX3 GRMAX4the highest speed of gear1234 under analog spindle
control or the spindle speed for M41M42M43M44 respectively under spindle auto gearing controlthe gear 1
speed is in default when powering on or invalid spindle auto gearing control.
0 6 5 SFT1TME
The delay time 1 for auto gearing signal outputting
0 6 6
Book3 Connection
SFT2TME
The delay time 2 for auto gearing signal outputting
0 6 7 SFTREV
The output voltage010000unit:mvunder auto gearing control
Diagnosis data
0 0 1 SP ST
interface pins XS40.7 XS40.8
-27
GSK980TD Turning Machine CNC System
Signal connection
The interface circuit of ST/SP as fig2-50
machine side CN
CNC NC
C side
SP/ST
*SP/ST
Fig.2-50
Control parameter
State parameter
1 7 2 MST MSP
MST=1outside cycle start signalSTis invaliddefined by the macro program#1014
=0outside cycle start signalSTis valid
MSP1outside cycle stop signalSPis invaliddefined by the macro program1015
0outside cycle stop signalSPis valid
Connection circuit
The connection circuit of ST/SP as fig.2-51
+24V
long-closed contact
GSK980TD
*SP
SP
ST
Book3 Connection
XS40
XS40 socket
Fig.2-51
Diagnosis data
0 0 4 M08
interface pins XS39.15
-28
Chapter 2 Definition and Connection of Interface
Signal connection
The inside circuit as fig.2-52
CNC side
CNC machine side
M03/M04/M05/SPZD
M08
ULN2803
+24V
Note4 in the operation panel can control coolant on or offplease read the BOOK 2 of manual for details
Book3 Connection
Relative signaldefined by the standard PLC program
M32lubrication on
Diagnosis data
0 0 4 M32
interface pins XS39.6
Signal connection
The inside circuit as fig.2-53
CNCsid
CNC machine side
M03/M04/M05/SPZD
M32
ULN2803
-29
GSK980TD Turning Machine CNC System
Control parameter
State parameter
1 7 5 SPHD
0 is lubrication function
Data parameter
1 1 2
Lubrication open time in non-automation mode065535ms0no time limit
PLC data
D T 0 1 6
Lubrication time in automation mode02147483647ms
D T 0 1 7
Lubrication interval time in automation mode02147483647ms
Function description
There are two mode of automatic and non-automatic lubrication for the standard PLC programwhich can be
specified by the parameter.
DT170non-automatic lubricationsame as the former version
0automatic lubrication
1Non-automatic lubrication
When No.112 data parameter is 0lubrication outputs when press or commanding M32 code
parameter when press or commanding M32 codelubrication output is cancelled before the time
specified by No.112 parameter when commanding M33 code.
2Automatic lubrication
With the interval time specified by D16lubrication outputs for the duration time specified by D17
-30
Chapter 2 Definition and Connection of Interface
Diagnosis data
0 0 0 DIQP
interface pins XS39.11
0 0 2 NQPJ WQPJ
interface pins XS40.19 XS40.20
0 0 4 DOQPJ
interface pins XS39.4
0 0 5 DOQPS
interface pins XS39.10
Control parameter
Sate parameter
Book3 Connection
1 6 4 SLSP SLQP
SLSP1dont detect whether the chuck is clamping when chuck function is valid
0detect whether the chuck is clamping when chuck function is valid
SLQP1chuck function is valid
0chuck function is invalid
1 6 8 PB2 PB1
PB11outer chuck modein which NQPJ is outer chuck loosening signal and WQPJ is outer chuck clamping
signal
0inner chuck modein which NQPJ is inner chuck loosening signal and WQPJ is inner chuck clamping
signal
PB21detect chuck to-position signalin which bit7 of No.002 diagnosis parameter is NQPJ and bit6
is WQPJM41I and M42I are invalid
0dont detect chuck to-position signal
D T 0 1 8
DT180chuck clamping and loosening signals are pulsewidth of which is specified by DT18
0chuck clamping and loosening signals are voltage.
-31
GSK980TD Turning Machine CNC System
Signal connection
circuit of DOQPJ/DOQPS as fig.2-54
CNC side
CNC machine side
M03/M04/M05/SPZD
DOQPJ/DOQPS
ULN2803
Fig.2-54
+24V
Action
when SLQP is 1SLSP is 0PB1 is 0 and PB2 is 1inner chuck mode and to-position detecting
DOQPSchuck loosening WQPJto-position signal for chuck loosening
DOQPJchuck clamping NQPJto-position signal for chuck clamping
When powering onDOQPS and DOQPJ are high impedance until DIQP is valid at the first timeat which
DOQPJ connects to 0V and the chuck is clamped.
After executing M12DOQPS is high impedance and DOQPJ is 0Vin which the chuck is clamped and
CNC waits for NQPJ.
After executing M13DOQPJ is high impedance and DOQPS is 0Vin which the chuck is loosened and
CNC waits for WQPJ.
When powering onDOQPS and DOQPJ are high impedance until DIQP is valid at the first timeat which
DOQPS connects to 0V and the chuck is clamped.
After executing M12DOQPJ is high impedance and DOQPS is 0Vin which the chuck is clamped and
CNC waits for WQPJ.
After executing M13 DOQPS is high impedance and DOQPJ is 0Vin which the chuck is loosened and
CNC waits for NQPJ.
-32
Chapter 2 Definition and Connection of Interface
Book3 Connection
DOTWJtailstock advancing outputting signal
DOTWStailstock withdrawing outputting signal
DITWtailstock control input signal
Diagnosis data
0 0 0 DITW
interface pins XS40.2
0 0 5 DOTWS
interface pins XS39.9
Control parameter
State parameter
1 6 4 SLTW
SLTW1tailstock control function is valid
0tailstock control function is invalid
-33
GSK980TD Turning Machine CNC System
Signal connection
Circuit of DOTWJ/ DOTWS as fig.2-57
CNC CNC
side machine side
DOTWJ/DOTWS
M03/M04/M05/SPZD
ULN2803
Fig.2-57
+24V
DITW
DOTWJ
DOTWS
DOTWJ and DOTWS are high impedance when powering on.DOTWJ connects to 0Vvalid state when
DITW is valid at the first time or executing M10and DOTWS connects to 0Vvalid state when DITW is valid at
the second time or executing M11that is to sayDOTWJ and DOTWS connect to 0 V alternately.
During the spindle rotatingalarm will be given after executing M11 and DITW is invalidand DOTWS
DOTWJ are kept at reset or in emergency stop.
Book3
2.8.12
2.8.12 Low Pressure Detection
ok3 Connection
Diagnosis data
0 0 5 PB3
interface pins XS39.12
Control parameter
sate parameter
1 6 8 SPB3 PB3
PB30low pressure detection function is invalidbit7 of No.000 diagnosis data is TCP
1low pressure detection function is validbit7 of No.000 diagnosis data is PRES
SPB30low pressure is alarmed when PRES connecting to 24V
1low pressure is alarmed when PRES connecting to 0V
data parameter
0 6 9 0 0 0 0 1 0 0 0
Alarm waiting time for low pressure detection
-34
Chapter 2 Definition and Connection of Interface
Function description
when PB3 is 1 and SPB3 is 0low pressure is alarmed when PRES connecting to 24V.
when PB3 is 1 and SPB3 is 1low pressure is alarmed when PRES connecting to 0V.
when PB3 is 1No.14 alarm will be given when holding time of valid PRES signal exceeding the value
specified by No.069 parameterat which feed is pausedspindle is stopped and cycle is cancelleduntil
pressing RESETkey or powering off.
When PB3 is 1TCP is invalid.
Diagnosis data
0 0 1 PB4
interface pins XS40.7
Control parameter
state parameter
1 6 8 SPB4 PB4
PB40protection gate detection function is invalid
1protection gate detection function is valid and SP is invalid
SPB40protection gate is closed when SAGT connecting to 0V
1protection gate is closed when SAGT connecting to 24V
Function description
Book3 Connection
When PB4 is 1and SPB4 is 0protection gate is closed when SAGT connecting to 0V
When PB4 is 1and SPB4 is 1protection gate is closed when SAGT connecting to 24V
Alarms will be given at cycle start when protection gate being open
Feed being pausedspindle being stoppedcoolant being closed and CNC alarm will appear when protection
gate is open in auto machining cycle
Protection gate detection function is valid only in AUTO mode
SAGT and SP have the same portthat is to sayMSPbit5 of No.172 state parametershould be 1 when
PB4 is 1 and MSP should be 0 when PB4 is 0
Diagnosis data
0 0 2 SPEN
interface pins XS40.22
-35
GSK980TD Turning Machine CNC System
Control parameter
state parameter
1 6 4 SPEN
SPEN0spindle rotation permission signal is invalid
1spindle rotation permission signal is valid
Program segment skipping function is selected when one segment is embarrassedin which the segment with
/at head will be skipped and not be executed when PRG SEG SWITCH is on or EDT signal is valid.
Diagnosis data
0 0 0 BDT
interface pins XS40.2
Control parameter
state parameter
0 6 4 SLTW
SLTW0program segment skipping function is invalid
1program segment skipping function is valid and DITW is invalid
Book3
ok3 Connection
Signal connection
circuit of BDT/DITW as fig.2-59
Fig.2-58
Function description
The segment with /at head will be skipped and not be executed when PRG SEG SWITCH in machine
panel is on or EDT signal is valid.
-36
Chapter 2 Definition and Connection of Interface
Relative signal
macro output signalUO0UO5 are valid when spindle speed being controlled by analog voltage and spindle auto
gearing being invalid.
macro input signalUI0UI15 are valid when the signals with the same ports as UI0UI15 are invalid.
Diagnosis data
0 0 5 UO05 UO04 UO03 UO02 UO01 UO00
interfaces pins XS39.10 XS39.9 XS39.8 XS39.14 XS39.1 XS39.5
variable number #1105 #1104 #1103 #1102 #1101 #1100
Book3 Connection
-37
Book3 Connection
-38
name symbol graph
contactor
coil and
KM
auxiliary
air breaker QF contact
fuse relay
FR
and contact
component symbol as following
transformer TC
capacity C
bridge
VC
rectifier
register R
HALL
motor M component
ELECTRIC CONNECTION for I/O SIGNAL
journey
SQ
switch
diode VD
veneer jack
Electromagn
etic valve YV
coil kick switch SA
relay coil
KA Fuse FV
and contact
GSK980TD Turning Machine CNC System
DC24V power of GSK980TD must be separate from that of the electromagnetism valve with large currentthe
L+
L1
L2 GSK980TD
L3
Tailstock connection
13
2
9
2
FU
QF1
24V
DITW
DOTWS/M11
DOTWJ/M10
Chapter 2
TC1
RC absorbor
24V
The following electric connection diagrams are only for reference
U1 V1 W1
M1
3~
Definition and Connection of Interface
tailstock tailstock
motor tailstock going tailstock tailstock
going going
forward
retreat forward and retreat
retreat forward
-39
Book3 Connection
Book3 Connection
-40
13
11
10
14
Chuck connection
24V
DIQP
DIQPS/M13
DIQPJ/M12
RC absorbor
chuck chuck
chuck chuck chuck
clamping clamping and
unclamping clamping unclamping
unclamping
KA5 KA6
XS40/12
XS40/13
TL+
TL-
T1
T2
T3
T4
+24V
0V
XS40/6
XS40/5
XS40/4
XS40/3
XS40/25
XS40/23
Chapter 2
R1 R2 R3 R4
2K 2K 2K 2K
C1 C2
R5 R6
RC absorbor
U3 V3 W3
VD10 VD9
3
toolpost toolpost
clockwise toolpost toolpost
unclockwise clockwise unclockwise
rotation rotation rotation rotation
-41
Book3 Connection
ok3 Connection
Book3
-42
D
XS40/20
XS40/19
XS40/11
XS39/13
XS39/7
M3
XS39/3
M4
XS39/5
M41
XS39/1
M42
+24V
frequency
KA10 KA9 converter
FWD REV COM
Connection of spindle auto gear shifting
gear2
in-position
signal
SQ1 SQ2
KA7 KA8 gear1
spindle in-position
spindle
positive signal
negative
rotation rotation
VD1 VD2 VD3 VD4
YV5 YV6
spindle gear1 spindle gear2
frequency-
converting
motor KA7 KA8 KA9 KA10
spindle spindle
positive negative spindle spindle
rotation rotation gear1 gear2
-43
Book3 Connection
Chapter 3 Parameter Specification
is 0STEP mode
Bit4 is 1analog spindle
is 0switching control spindle
Book3 Connection
Bit1 is 1tool nose radius compensation is valid
is 0tool nose radius compensation is invalid
Bit5 is 1RS232 communication is valid
is 0RS232 communication is invalid
-1
GSK980TD Turning Machine CNC System
-2
Chapter 3 Parameter Specification
0 0 9 *** *** *** *** RSJG *** ZALM XALM
Book3 Connection
1 1 0 0 13
1 1 0 1 14
1 1 1 0 15
1 1 1 1 16
-4
Chapter 3 Parameter Specification
Book3 Connection
0 1 0 REF
0 1 1 EDIT
1 0 0 HW
1 0 1 JOG
Bit3 is 0program switch is on when powering on
is 1program switch is off when powering on
-5
GSK980TD Turning Machine CNC System
0 1 5 CMRX
0 1 6 CMRZ
CMRX and CMRZ are instruction multipliersthe range of which is from 1 to 255.
0 1 7 CMDX
0 1 8 CMDZ
CMDX and CMDZ are instruction denominatorsthe range of which is from 1 to 255.
Formula
CM R 360 ZM
=
CM D L Z D
driver rotation angle for receiving one pulse
Lscrew leader
the minimum input unit of CNC0.001mm for X0.05mm for Z of GSK980TD
ZMgear number from screw side
-6
Chapter 3 Parameter Specification
ZDgear number from machine side
0 1 9 THDCH
THDCH is length of thread run-outthe range of which is from 1 to 255.
Width of thread run-outTHDCH0.1screw leader
0 2 1 VCV
Its voltage compensation value when spindle speed instruction is 10Vthe range of which is from 2000 to 2000
unit is mV
0 2 2 RPDFX
RPDFX is the max. rapid traverse speed for X axisradius valuethe range of which is from 10 to 3825000unit is
mV/min
0 2 3 RPDFZ
RPDFZ is the max. rapid traverse speed for Z axisthe range of which is from 10 to 7650000unit is mV/min
0 2 4 LINTX
0 2 5 LINTZ
LINTX and LINTZ are linear acceleration/deceleration time constants for X and Z axes in rapid traversethe range of
which is from 0 to 4000unit is mS
0 2 6 THRDT
THRDT is acceleration/deceleration time constant for the short axis in thread run-outthe range of which is from 0 to
4000unit is mS
Book3 Connection
0 2 7 FEDMX
Its upper limit feedrate for X and Z axesthe range of which is from 10 to 8000unit is mm/min
0 2 8 THDFL
Its initial speed for X and Z axis in thread cuttingthe range of which is from 6 to 8000unit is mm/min
0 2 9 FEEDT
Its exponential acceleration/deceleration time constant for X and Z axes in cutting and manual feedthe range of
which is from 0 to 4000unit is mS
0 3 0 FEDFL
Its start speed in acceleration and end speed in deceleration in cuttingthe range of which is from 0 to 8000unit is
mm/min
0 3 2 RPDFL
Its rapid traverse speed when rapid traverse override is F0the range of which is from 6 to 4000unit is mm/min
0 3 3 ZRNFL
Its low speed for X and Z axes in reference point returnthe range of which is from 6 to 4000unit is mm/min
-7
GSK980TD Turning Machine CNC System
0 3 4 BKLX
Its backlash compensation value of X axisthe range of which is from 0 to 2000unit is 0.001mm
0 3 5 BKLZ
Its backlash compensation value of Z axisthe range of which is from 0 to 2000unit is 0.001mm
0 3 6 SPDLC
SPDLC is voltage compensation value when SVC is 10Vthe range of which is from 1000 to 1000unit is
mV
0 3 7 GRMAX1
0 3 8 GRMAX2
0 3 9 GRMAX3
0 4 0 GRMAX4
GRMAX1 GRMAX2GRMAX3GRMAX4 are the max. spindle speeds in gear 1 to 4 when SVC is 10V
or for instruction M41 to M44 when automatic gear shifting is valid. Speed of gear1 is default value when
powering on or automatic gear shifting is invalid.
The range is from 10 to 9999unit is rpm.
0 4 1 JOGFL
JOGFL is start speed of exponential acceleration and end speed of deceleration in JOGthe range of which is
from 0 to 8000unit is mm/min.
0 4 2 SEQINC
Book3 Connection
SEQINC is increment value of block sequence numberthe range of which is from 1 to 100.
0 4 3 LOWSP
LOWSP is the min. spindle speed in G96the range of which is from 0 to 9999(unit is rpm).
0 4 4 BRATE0
BRATE0 is serial communication ratewhich is valid when bit5 of No.2 parameter is 1.The range is 1200
2400480096001920038400 57600 115200 (unit is bit/s)
0 4 5 LT1X1
0 4 6 LT1Z1
0 4 7 LT1X2
0 4 8 LT1Z2
LT1X1 and LT1Z1 are software overtravel in positive direction for X and Z axes separatelyLT1X2 and
LT1Z2 are software overtravel in negative direction for X and Z axes separately.The range is from 0 to
9999999unit is mm.
NoteValue type of LT1X1 and LT1X2 is specified by bit2 of No.1 parameter.
0 5 1 MRCCD
-8
Chapter 3 Parameter Specification
MRCCD is each infeed value in roughing(G71,G72)which can also be specified in program instruction.The range is
from 1 to 99999unit is 0.001mm.
0 5 2 MRCDT
MRCDT is each retraction value in roughing(G71,G72)which can also be specified in program instruction.The
range is from 1 to 99999unit is 0.001mm.
0 5 3 PECSCX
PECSCX is retraction value in roughing of X axis in G73which can also be specified in program instruction.The
range is from -99999 to 99999unit is 0.001mm.
0 5 4 PECSCZ
PECSCZ is retraction value in roughing of Z axis in G73which can also be specified in program instruction.The
range is from -99999 to 99999unit is 0.001mm.
0 5 5 PATIM
PATIM is cutting times of G73which can also be specified in program instruction.The range is from 1 to 99999unit
is times.
0 5 6 GROVE
GROVE is retraction value of Z axis in G74 or X axis in G75which can also be specified in program instruction.The
range is from 0 to 99999unit is 0.001mm.
0 5 7 THRPT
THRPT is finishing times in G76which can also be specified in program instruction.The range is from 1 to 99unit
Book3 Connection
is times.
0 5 8 THANG
TFANG is tool angle in G76which can also be specified in program instruction.The range is from 0 to 99unit is
degree.
0 5 9 THCLM
THCLM is least cutting depth in G76which can also be specified in program instruction.The range is from 0 to
99999unit is 0.001mm.
0 6 0 THDFN
THDFN is remaining cutting depth of finishing in G76which can also be specified in program instruction.The range
is from 0 to 99999unit is 0.001mm.
0 6 5 SFT1TME
SFT1IME is gear shifting time 1 of spindlethe range is from 0 to 60000unit is ms.
0 6 6 SFT2TME
SFT2IME is gear shifting time 2 of spindlethe range is from 0 to 60000unit is ms.
-9
GSK980TD Turning Machine CNC System
0 6 7 SFTREV
SFTREV is spindle voltage as gear shiftingthe range is from 0 to 10000unit is mV.
0 6 9 PEALMTIM
PEALTIM is low pressure alarm timethe range is from 0 to 60000unit is ms.
0 7 0 ENCODER_CNT
ENCODER_CNT is spindle encoder line numberthe range is 100 to 5000unit is lpr.
0 7 1 RESET_TIME
RESET_TIME is output time for reset signalthe range is from 16 to 4080unit is ms.
0 7 2 SAR_DELEY
SAR_DELEY is delay time of detecting SAR signalthe range is form 0 to 4080unit is ms.
0 7 6 T1MAXT
T1MAXT is upper limit time for changing one toolthe range is form 100 to 5000unit is ms.
0 7 8 TLMAXT
TLMAXT is upper limit time for changing total toolsthe range is form 1000 to 60000unit is ms.
0 8 0 MTIME
MTIME is duration for M code being executedthe range is form 100 to 5000unit is ms.
0 8 1 STIME
STIME is duration for S code being executedthe range is form 100 to 5000unit is ms.
Book3 Connection
0 8 2 T1TIME
T1TIME is delay time from TL+ ceased to TL- outputthe range is from 0 to 4000unit is ms.
0 8 3 TCPWRN
TCPWRN is alarm time for not receiving *TCP signalthe range is from 0 to 4000unit is ms.
0 8 4 TMAX
TMAX is total tool number selectionthe range is from 1 to 32.
0 8 5 TCPTIME
TCPTIME is time .from TL- output to receive TCPthe range is from 0 to 4000unit is ms.
0 8 7 SPDDLT
SPDDLT is delay time for M05 and SPZD outputtingthe range is from 0 to 10000unit is ms.
0 8 9 SPZDTIME
SPZDTIME is SPZD output timethe range is from 0 to 60000unit is ms.
-10
Chapter 3 Parameter Specification
0 9 8
Its position number of pitch error compensation for X machine reference pointthe range is from 0 to 255.
0 9 9
Its position number of pitch error compensation for Z machine reference pointthe range is from 0 to 255.
1 0 2
Its distance between each pitch error compensation of X axisthe range is from 10000 to 999999unit is ms.
1 0 3
Its distance between each pitch error compensation of Z axisthe range is from 10000 to 999999unit is ms.
1 0 6 THD_SPD_VAR
THD_SPD_VAR is spindle speed fluctuating limit in thread cuttingthe range is from 0 to 100unit is.
1 0 7 THD_TAIL_SPD
THD_TAIL_SPD is speed of short axis in thread tailingthe range is from 0 to 8000unit mm/min.
1 0 8 SPL_REV_TIME
SPL_REV_TIME is spindle jogging timethe range is from 0 to 60000unit is ms.
1 0 9 SPL_REV_SPD
SPL_REV_SPD is spindle jogging speedthe range is from 1 to 8000unit is rpm.
1 1 0 MGR
Book3 Connection
MGR is spindle gear teeth number in driving ratiothe range is from 1 to 255.
1 1 1 SGR
SGR is encoder gear teeth number in driving ratiothe range is from 1 to 255.
1 1 2 LUBRICATE_TIME
LUBRICATE_TIME is lubricating timethe range is from 0 to 60000unit is ms.
1 1 3 REF_SPD
REF_SPD is rapid traverse speed of each axis in reference point returnthe range is from 10 to 7650000unit is
mm/min.
1 1 4
Its offset in X machine reference pointthe range is from 99999 to 99999unit is 0.001mm.
1 1 5
Its offset in Z machine reference pointthe range is from 99999 to 99999unit is 0.001mm.
-11
GSK980TD Turning Machine CNC System
1 1 9
Its valid key numberwhich can be pressed simultaneously.The range is from 2 to 5.
0 0 5 PCMD
PCMD is 1output CP signal with square wave
is 0output CP signal with pulse
0 0 8 DIRZ DIRX
DIRZ is 1DIRZ signal is high level when moving in positive direction
is 0DIRZ signal is low level when moving in negative direction
DIRX is 1DIRX signal is high level when moving in positive direction
is 0DIRX signal is low level when moving in negative direction
0 0 9 ZALM XALM
ZALM is 1ZALM signal at low level is valid
Book3 Connection
1 7 5 SPFD
SPFD is 1cutting is stopped when spindle stopping during machining
is 0cutting isnt stopped when spindle stopping during machining
0 2 2 RPDFX
0 2 3 RPDFZ
RPDFX and RPDFZ are the max. rapid traverse speedradius valuefor X and Z axesthe range is from 10 to
3825000 for X axis and is from 10 to 7650000 for Z axisunit is mm/min.
GenerallyRPDFX is recommended to be 3800 for servo motor and be 3000 for step motorthen RPDFZ is
recommended to be 7600 for servo motor and be 6000 for step motor.
0 2 4 LINTX
0 2 5 LINTZ
-12
Chapter 3 Parameter Specification
LINTX and LINTZ are linear acceleration/deceleration time constants for X and Z axes in rapid traversethe range of
which is from 0 to 4000unit is mS.
GenerallyLINTX and LINTZ are recommended to be 100 for servo motor and be 350 for step motor.
0 2 7 FEDMX
FEDMX is upper limit feedrate for X and Z axesthe range of which is from 10 to 8000unit is mm/min.
0 2 9 FEEDT
FEEDT is exponential acceleration/deceleration time constant for X and Z axes in cutting and manual feedthe range
of which is from 0 to 4000unit is mS.
0 3 0 FEDFL
FEDFL is start speed in acceleration and end speed in deceleration during cuttingthe range of which is from 0 to
8000unit is mm/min.
0 3 2 RPDFL
RPDFL is rapid traverse speed when rapid traverse override is F0the range of which is from 6 to 4000unit is
mm/min.
1 6 4 SPEN
SPEN is 1spindle rotation permitting input is valid
is 0spindle rotation permitting input is invalid
Book3 Connection
1 6 8 SPB4 PB4 SPB3 PB3 *** *** *** ***
SPB4 is 0safeguard is closed when SGAT signal connecting to 0V
is 1safeguard is closed when SGAT signal connecting to 24V
PB4 is 0safeguard is invalid
is 1safeguard is valid and *SP signal is invalid
SPB3 is 0low pressure alarms when PRES signal connecting to 0V
is 1low pressure alarms when PRES signal connecting to 24V
PB3 is 0low pressure detection is invalid
is 1low pressure detection is valid
-13
GSK980TD Turning Machine CNC System
0 6 9 PEALMTIM
PEALTIM is low pressure alarm timethe range is from 0 to 60000unit is ms.
0 0 4 RDRN DECI
RDRN is 1G00 in dry run at rapid traverse speed
is 0G00 in dry run at feed speed
DECI is 1decelerating signal at high level is valid in reference point return
is 0decelerating signal at low level is valid in reference point return
0 0 5 PPD
PPD is 1relative coordinate is set by G50
is 0relative coordinate isnt set by G50
0 0 6 ZMZ ZMX
ZMZ is 1reference point return mode C for Z axis
is 0reference point return mode B for Z axis
ZMX is 1reference point return mode C for X axis
is 0reference point return mode B for X axis
Book3 Connection
0 0 7 ZCZ ZCX
ZCZ is 1ZDEC connects to ZPC in parallel
is 0ZDEC connects to ZPC independently
ZCX is 1XDEC connects to XPC in parallel
is 0XDEC connects to XPC independently
0 1 1 ZNLK
ZNLK is 1keep moving once pressing direction key in reference point return
is 0stop moving once releasing direction key in reference point return
0 1 2 APRS ISOT
APRS is 1set absolute coordinate-system specified by No.49 and No.50 parameter automatically after
reference point return
is 0dont set absolute coordinate-system automatically after reference point return
ISOT is 1rapid traverse in JOG mode is valid when powering on or before reference point return
is 0rapid traverse in JOG mode is invalid when powering on or before reference point return
-14
Chapter 3 Parameter Specification
0 1 4 ZRSZ ZRSX
ZRSZ and ZRSX are 1PC signal and DEC signal are needed in reference point return
are 0PC signal and DEC signal arent needed in reference point return
0 3 3 ZRNFL
ZRNFL is low speed for X and Z axes in reference point returnthe range of which is from 6 to 4000unit is
mm/min
0 4 9 PRSX
0 5 0 PRSZ
PRSX and PRSZ are absolute coordinates value for X and Z axes after reference point returnthe range is from 0 to
9999999.
1 1 3 REF_SPD
REF_SPD is rapid traverse speed of each axis in reference point returnthe range is from 10 to 7650000unit is
mm/min.
1 1 4
Its offset in X machine reference pointthe range is from 99999 to 99999unit is 0.001mm.
Book3 Connection
1 1 5
Its offset in Z machine reference pointthe range is from 99999 to 99999unit is 0.001mm.
1 7 5 THDA
THDA is 1exponential deceleration/acceleration in thread cutting
is 0linear deceleration/acceleration in thread cutting
0 1 9 THDCH
THDCH is length of thread run-out in thread cuttingthe range of which is from 1 to 255.
Width of thread run-outTHDCH0.1screw leader
0 2 6 THRDT
THRDT is acceleration/deceleration time constant for the short axis in thread cuttingthe range of which is from 0 to
4000unit is mS
0 2 8 THDFL
THDFL is initial speed for X and Z axis in thread cuttingthe range of which is from 6 to 8000unit is mm/min
-15
GSK980TD Turning Machine CNC System
0 7 0 ENCODER_CNT
ENCODER_CNT is spindle encoder line numberthe range is 100 to 5000unit is lpr.
1 1 0 MGR
MGR is spindle gear teeth number in driving ratiothe range is from 1 to 255.
1 1 1 SGR
SGR is encoder gear teeth number in driving ratiothe range is from 1 to 255.
0 0 1 SPIN
Bit4 is 1analog spindle
is 0switching control spindle
0 0 9 RSJG
AGIN is 1detect M41I and M42I signals in automatic spindle gear1 and gear2
is 0dont detect M41I and M42I signals in automatic spindle gear1 and gear2
AGIM is 1M41I and M42I signals are valid when disconnecting with 24V
is 0M41I and M42I signals are valid when connecting to 24V
1 7 5 SPHD
0 2 1 VCV
Its voltage compensation value when spindle speed instruction is 10Vthe range of which is from 2000 to
2000unit is mV
0 3 6 SPDLC
SPDLC is voltage compensation value when SVC is 10Vthe range of which is from 1000 to 1000unit is
mV
-16
Chapter 3 Parameter Specification
0 3 7 GRMAX1
0 3 8 GRMAX2
0 3 9 GRMAX3
0 4 0 GRMAX4
GRMAX1 GRMAX2 GRMAX3 GRMAX4 are the max. spindle speeds in gear 1 to 4 when SVC is 10V or for
instruction M41 to M44 when automatic gear shifting is valid. Speed of gear1 is default value when powering on or
automatic gear shifting is invalid.
The range is from 10 to 9999unit is rpm.
0 6 5 SFT1TME
SFT1IME is gear shifting time 1 of spindlethe range is from 0 to 60000unit is ms.
0 6 6 SFT2TME
SFT2IME is gear shifting time 2 of spindlethe range is from 0 to 60000unit is ms.
0 6 7 SFTREV
SFTREV is spindle voltage as gear shiftingthe range is from 0 to 10000unit is mV.
0 8 0 MTIME
MTIME is duration for M code being executedthe range is form 100 to 5000unit is ms.
0 8 1 STIME
STIME is duration for S code being executedthe range is form 100 to 5000unit is ms.
Book3 Connection
0 8 7 SPDDLT
SPDDLT is delay time for M05 and SPZD outputtingthe range is from 0 to 10000unit is ms.
0 8 9 SPZDTIME
SPZDTIME is SPZD output timethe range is from 0 to 60000unit is ms.
1 0 8 SPL_REV_TIME
SPL_REV_TIME is spindle jogging timethe range is from 0 to 60000unit is ms.
1 0 9 SPL_REV_SPD
SPL_REV_SPD is spindle jogging speedthe range is from 1 to 8000unit is rpm.
1 6 4 SLSP SLQP
SLSP is 1dont detect whether spindle is clamped under chuck control
is 0detect whether spindle is clamped under chuck controlotherwisespindle cant be started
SLQP is 1chuck control is valid
is 0chuck control is invalid
-17
GSK980TD Turning Machine CNC System
0 6 9 PEALMTIM
PEALTIM is low pressure alarm timethe range is from 0 to 60000unit is ms.
1 6 4 SLTW
SLTW is 1tailstock control is valid
is 0tailstock control is invalid
0 0 2 C
Bit1 is 1tool nose radius compensation is valid
is 0tool nose radius compensation is invalid
0 0 3 TLC
Bit4 is 1compensate tool length with coordinates
is 0compensate tool length with tool moving
-18
Chapter 3 Parameter Specification
0 1 2 DOFSI
DOFSL is 1toolsetting with trail cutting is valid
is 0toolsetting with trail cutting is invalid
0 1 1 TSGN TCPS
TSGN is 1T01~T08 signals are valid when disconnecting with 24V
is 0T01~T08 signals are valid when connecting to 24V
TCPS is 1TCP signal is valid when disconnecting with 24V
is 0TCP signal is valid when connecting to 24V
1 8 2 PB6 PB5
PB6 is 1check tool signal at the end of tool change
is 0dont check tool signal at the end of tool change
PB5 is 1tool change mode A
is 0tool change mode B
0 7 6 T1MAXT
T1MAXT is upper limit time for changing one toolthe range is form 100 to 5000unit is ms.
0 7 8 TLMAXT
TLMAXT is upper limit time for changing total toolsthe range is form 1000 to 60000unit is ms.
0 8 2 T1TIME
T1TIME is delay time from TL+ ceased to TL- outputthe range is from 0 to 4000unit is ms.
Book3 Connection
0 8 3 TCPWRN
TCPWRN is alarm time for not receiving *TCP signalthe range is from 0 to 4000unit is ms.
0 8 4 TMAX
TMAX is most tool number selectionthe range is from 1 to 32.
0 8 5 TCPTIME
TCPTIME is time .from TL- output to receive TCPthe range is from 0 to 4000unit is ms
0 0 5 M30
M30 is 1cursor returns after M30
is 0cursor doesnt return after M30
0 1 2 EAL EBCL
EAL is 1program can be edited at alarm
is 0program cant be edited at alarm
-19
GSK980TD Turning Machine CNC System
EBCL is 1end symbol EOB in part program is with
is 0end symbol EOB in part programs is with*
1 8 0 SPOS
SPOS is 1remaining coordinates in POS and PROG windows
is 0incremental coordinates in POS and PROG windows
1 8 4 LANG
LANG is 1English display interface
is 0Chinese display interface
0 0 3 PEC
Bit5 is 1pitch error compensation is valid
is 0pitch error compensation is invalid
0 1 0 0 5
0 1 0 1 6
0 1 1 0 7
0 1 1 1 8
1 0 0 0 9
1 0 0 1 10
1 0 1 0 11
1 0 1 1 12
1 1 0 0 13
1 1 0 1 14
1 1 1 0 15
1 1 1 1 16
0 1 1 BDEC BD8
BDEC is 1backlash compensation mode Bwith deceleration/acceleration for compensation and setting
frequency is invalid
is 0backlash compensation mode Awith fixed frequency for compensation
BD8 is 1compensate backlash with one setting frequency
is 0compensate backlash with eighth setting frequency
-20
Chapter 3 Parameter Specification
0 3 4 BKLX
BKLX is backlash compensation value of X axisthe range of which is from 0 to 2000unit is 0.001mm
0 3 5 BKLZ
BKLZ is backlash compensation value of Z axisthe range of which is from 0 to 2000unit is 0.001mm
0 9 8
Its position number of pitch error compensation for X machine reference pointthe range is from 0 to 255.
0 9 9
Its position number of pitch error compensation for Z machine reference pointthe range is from 0 to 255.
1 0 2
Its distance between each pitch error compensation of X axisthe range is from 10000 to 999999unit is ms.
1 0 3
Its distance between each pitch error compensation of Z axisthe range is from 10000 to 999999unit is ms.
Pitch error compensation table
X Z
0 0 0 0 0
2 5 5 0 0
Book3 Connection
3.2.13 Communication Setting
0 0 2 RS232
RS232 is 1RS232 communication is valid
is 0RS232 communication is invalid
0 4 4 BRATE0
BRATE0 is serial communication ratewhich is valid when bit5 of No.2 parameter is 1.The range is 12002400
480096001920038400 57600 115200 (unit is bit/s).
-21
Chapter 4 Machine Debugging
Only debugging the machine when first powering on as following methodwhich will be introduced in detail in
this chaptercan users operate the machine.
For safetyhardware overtravel measure is recommended for GSK980TDin which the travel-limit switch is
fixed in positive and negative direction for each axis.The connection diagram as following
+24V
Fig.4-1
In this connectionbit2 of No.172 state parameter should be specified to 0.
Slowly moving for axis in MANUAL or HANDWHEEL mode can verify the validity of overtravel canceling
switchtravel-limit switch and alarm display.When overtravel in presence or pushing the emergency stop switchESP
alarm will be givenwhich can be cancelled by pushing the overtravel canceling switch and moving in the negative
direction.
Book3 Connection
4.2 DRIVER SETTING
Specify bit1bit0 of No.9 state parameter according to the driver alarm voltagewhich should be specified to 1
to fit our own driver.
Bit1bit0 of No.8 state parameter can be modified when the machine moving direction isnt consistent with the
dictate desired direction.
When the machine moving distance isnt consistent with the distance displayadjust the gear ratio by specifying
No.015No.018 parameter to fit the different machine transmission ratio.
Formula
CM R 360 ZM
=
CM D L Z D
CMRdictate multiple coefficientNo.15No.16 data parameter
CMDdictate divisor coefficientNo.17No.18 data parameter
driver rotation angle for receiving one pulse
Lscrew leader
-1
GSK980TD Turning Machine CNC System
the minimum input unit of CNC0.001mm for X0.05mm for Z of GSK980TD
ZMgear number from screw side
ZDgear number from machine side
Adjust the relative parameters according to the factors of drivermotor characteristic and machine load etc
No.22No.23 data parameterrapid traverse speed of XZ.
Book3
-2
Chapter 4 Machine Debugging
Recommend to specify the parameters as following when adopting servo driversgear ratio is 11
No.0225000 No.02310000
No.02460 No.02560
No.02950 No.028500
No.02650 No.030400
Factually parameter setting must keep the motordriver characteristic and machine load for reference.
Book3 Connection
Generallythere are two connection methods for reference point return
1 matching the servo driverthe diagram of using a travel-limit switch and motor phase C signal as following
direction of machine zero return
overtravel switch
2 matching the step driverthe diagram of using one approaching switch as following
generally,L1 1.5~2
approaching switch widthL2
approaching switch width
To avoid lost step in high speedrapid override had better be specified to 50.The parameter specification as
following
Bit5 of No.4 parameter is 0
Bit01 of No.6 parameter are 0
Bit01 of No.7 parameter are 1
Bit2 of No.11 parameter are 0
Bit01 of No.14 parameter are 1
Book3
Encoder is in need for thread machiningwhich line number is from 100 to 5000 specified by No.70
parameter.The transmission ratio between encoder and spindle is from 1/255 to 255in which the spindle gear number
is specified by No.110 parameter and the encoder gear number is specified by No.111 parameter. Only
synchronization strap transmission mode is in needno glide transmission.
Bit2 of DGN.008 diagnosis indicates whether the encoder phase C signal is valid.
DGN.11 and DGN.12 diagnosis indicate whether the encoder phase A/B signal is valid.
-4
Chapter 4 Machine Debugging
For improving efficiencyproper spindle brake time must be specified to stop spindle rapidlyand too long brake
time will cause spindle burnout.
No.87 parametertime for from commanding M05 to spindle braking
No.89 parameterspindle brake time
Speed dictate is S01S04 when machine controlled by multi-speed motorthe relative parameters as following
Bit4 of No.1 parameter is 0spindle controlled by on-off variable
Bit0 of No.3 parameter is 0four-gear spindle
Spindle speed controlled by analog voltage can be realized by specifying the parametersin which 010V
voltage will be outputted to control frequency convertor.The relative parameters as following
Bit4 of No.1 parameter is 1spindle speed controlled by analog voltage
No.21 parameterthe compensation voltage when spindle speed dictate is 10V
No.36 parameterthe compensation voltage when spindle speed dictate is 0V
No.37No.40 parametersthe highest spindle speed for gear1gear4gear1 is default when powering on
Book3 Connection
No.37No.40 parameters can be specified to let the commanded speed be consistent with the real speed
detected by encoder.The method is to select gear1 and command S9999 in MDI modethen specified No.37
parameter with the real spindle speed valuewhich is displayed in the screen. The same methods as other gears.
The voltage should be 0V at S0 when the voltage is 10V at S9999and the bias voltage can be cancelled by
specifying No.21 and No.36 parameterswhich have been adjusted correctly before leaving factory.
If the voltage is more than 10V at S9999No.21 parameter should be diminished.If the voltage is more than 0V
at S0No.36 parameter should be diminished.
That command S9999 in MDI mode and specified No.37 parameter with the speed valuewhich be displayed in
the speed induction instrumentis feasible without encoders.
reverse position
Note 1backlash compensation mode and frequency can be specified by bit7 and bit6 of No.11 parameter.
Note 2measure the backlash compensation value every three months for machine.
Book3
4.8
4.8 TOOLPOST ADJUSTING
ok3 Connection
All kinds of toolposts suit for GSK980TDplease read machine manuals for details.The relative parameters as
followings
followings
Bit1 of No.11 parametervalid voltage level of tool position signal.A pull-up resistor is needed when the voltage
level is low.
No.76 parametertime for moving one tool.
No.78 parameterupper limit time for changing one tool.
No.82 parametertotal tools number.
No.85 parameter lock-up time in negative rotation direction for toolpost
Incorrect phase sequence connection for three-phase power will lead to striking toolpostwhen need to press
RESET key and check connection.
To avoid damaging motor or not locking toolpost upNo.85 parameter should be specified properly.The method
for inspect whether the toolpost is locked-up is that take centi-meter close to the toolpost and turn the toolpost
artificiallyand the index float should be less than 0.01mm.
Bit7 and bit6 of DGN.005 diagnosis indicate whether TL+ and TL- signals are valid.
Bit03 of DGN.000 diagnosis indicate whether T01~T04 signals are valid.
To insure correctness of tool changing and proper time characteristiceach tool and max. tools must be changed
in adjusting.
-6
Chapter 4 Machine Debugging
whether key is STEP or MPG mode can be specified by bit3 of No.11 parameter.
Book3 Connection
SLTW is 1tailstock control is valid
is 0tailstock control is invalid
SLSP is 1dont detect whether the chuck is clamping
is 0detect whether the chuck is clamping
SLQP is 1chuck control is valid
is 0chuck control is invalid
-7
GSK980TD Turning Machine CNC System
1 7 2 MST MSP MOT SOVI
MST is 0ST signal is valid
is 1ST signal is invalidwhich can be defined by macro program1014
MSP is 0SP signal is valid
is 1SP signal is invalidwhich can be defined by macro program1015
MOT is 0check soft travel-limit
is 1dont check soft travel-limit
SOVI is 1T01T08 signals are valid
is 0T01T08 signals are invalidand *0V1*0V2*0V4*0V8 signals are valid
1 7 3 SINC SOUS
SINC is 0the increment of 0.0010.010.1 is valid in STEP/MPG mode.
is 1the increment of 0.0010.01 is valid in STEP/MPG mode.
SOUS is 0S1S4 signals are valid when spindle controlled by on-off variable
is 1S1S2 signals are valid when spindle controlled by on-off variableS3 and S4 are defined by
macro program11021103
Book3 Connection
-8
Chapter 5 Diagnosis Information
Book3 Connection
ZDECdeceleration signal for reference point return in Z directionmachine to PLC
ESPESP signalmachine to PLC
0 0 5 TL- TL+
pins XS40.13 XS40.12
TL-toolpost CCW rotation signalPLC to machine
TL+toolpost CW rotation signalPLC to machine
0 0 9 ZALM XALM
pins XS31.5 XS30.5
ZALMalarm signal of Z axismachine to CNC
XALMalarm signal of X axismachine to CNC
0 1 0
Handwheel speed datarelative bit will be changed under valid input
0 1 1
0 1 2
Spindle feedback datarelative bit will be changed under valid spindle encoder input
Book3 Connection
0 1 3
0 1 4
Spindle analog voltage outputrelative bit will be changed under spindle analog voltage output
DGN.016DGN.022 is for keys on edit panel and DGN.024DGN.029 is for keys on machine control panel
the relative bit of which is 1 for being pressed and is 0 for being releasedotherwisethe panel circuit is in fault.
0 1 6 RST O N G P/Q 7 8 9
keys
0 1 7 PGU X Z U W 4 5 6
keys
-2
Chapter 5 Diagnosis Information
0 1 8 PGD H/Y F/E R/V D/L 1 2 3
keys
keys
keys
keys
keys
keys
Book3 Connection
0 2 6 *** HZ *** X *** Z RT Z
keys
keys
keys
keys
-3
GSK980TD Turning Machine CNC System
These signals between PLC and CNC are for user to check inner work state of CNC.
0 3 2 HX/RV1 *** XDEC *** -X +X *** ***
HX/RV1X handwheel/rapid override signalPLC to CNC
XDECdeceleration signal of X axis
-Xnegative movement key for X axisCNC to PLC
+Xpositive movement key for X axisCNC to PLC
-4
Chapter 5 Diagnosis Information
0 3 8 PN8 PN4 PN2 PN1 KEY1 MD4 MD2 MD1
PN8external program number selecting signal PN8PLC to CNC
PN4external program number selecting signal PN4PLC to CNC
PN2external program number selecting signal PN2PLC to CNC
PN1external program number selecting signal PN1PLC to CNC
KEY1program switch signalPLC to CNC
MD4mode selectingPLC to CNC
MD2mode selectingPLC to CNC
MD1mode selectingPLC to CNC
Book3 Connection
0 4 2 CDZ SMZ AFL OVC *** SOV2 SOV1 SOV0
CDZchamfering signalPLC to CNC
SMZerror detecting signalPLC to CNC
AFLauxiliary function locking signalPLC to CNC
OVCfeedrate override canceling signalPLC to CNC
SOV2spindle override signalPLC to CNC
SOV1spindle override signalPLC to CNC
SOV0spindle override signalPLC to CNC
-5
GSK980TD Turning Machine CNC System
UI01macro input signal UI1PLC to CNC
UI00macro input signal UI0PLC to CNC
0 5 0 DST TF SF MF
DSTstart in MDI modeCNC to PLC
TFtool function selecting signalCNC to PLC
SFspindle speed selecting signalCNC to PLC
MFauxiliary function selecting signalCNC to PLC
-6
Chapter 5 Diagnosis Information
0 5 7 EX08 EX07 EX06 EX05 EX04 EX03 EX02 EX01
EX08~EX01external information bit
0 6 0 R08O
R07O R06O R05O R04O R03O R02O R01O
R08OR01O12-bit S code signalCNC to PLC
0 6 2 UO07
UO06 UO05 UO04 UO03 UO02 UO01 UO00
UO07~UO00macro output signalCNC to PLC
0 6 3 UO15
UO14 UO13 UO12 UO11 UO10 UO09 UO08
UO15~UO08macro output signalCNC to PLC
Book3 Connection
0 6 5
Bit 0bit7 of gear shifting time 1
0 6 6
Bit 0bit7 of gear shifting time 2
0 6 7
Bit0bit7 of spindle gear shifting speed
0 7 1 MZRZ MZRX
MZRZdirection selecting of reference point return in Z direction
MZRXdirection selecting of reference point return in X direction
-7
GSK980TD Turning Machine CNC System
0 7 2 MST MSP MOT MESP SOVI
MSTshield external cycle start signal
MSPshield external pause signal
MOTno detecting software overtravel
MESPshield external emergency stop signal
SOVIT05~T08 is external override switch
0 7 6
Bit0bit7 of the max .time of changing one tool16ms
Book3 Connection
0 7 7
Bit8bit15 of the max .time of changing one tool16ms
0 7 8
Bit0bit7 of the max .time of changing total tools16ms
0 7 9
Bit8bit15 of the max .time of changing total tools16ms
0 8 0
Bit0bit7 of M code waiting time/pulse width128ms
0 8 1
Bit0bit7 of S code waiting time/pulse width128ms
0 8 2
Bit0bit7 of time from TL+ cease to TL- output16ms
0 8 3
Bit0bit7 of alarm time for not receiving *TCP64ms
-8
Chapter 5 Diagnosis Information
0 8 4
Bit0bit7 of total tool numbers
0 8 5
Bit0bit7 of time from TL- output to receiving *TCP16ms
0 8 7
Bit0bit7 of time from M05 to SPZD output16ms
0 8 8
Bit0bit7 of time from M05 to SPZD output16ms
0 8 9
Bit0bit7 of SPZD output time 16ms
0 9 0
Bit7bit15 of SPZD output time 16ms
DGN.096 and DGN.097 are for user to check current work state of CNC under the condition of no alarm and no
movement in AUTO mode .
Book3 Connection
COVLoverride is 0%
CINPdetecting bit
CDWLG04 being executed
CMTNmove instruction being executed
CFINM.S.T instruction being executed
1 0 1
Bit0bit7 of X track error
-9
GSK980TD Turning Machine CNC System
1 0 2
Bit0bit7 of Z track error
1 0 3
PLC execution timems
1 0 4
Error times of hardware test
1 0 5
Spindle encoder counter value
1 0 6
Handwheel counter value
This section is to detect the signal state between CNC and machine or between CNC and PLC or of alarm
address Awhich cant be modified.
X0001 T2 T1 T8 SP ZDEC T6 ST T7
T2Tool signal T02
T1Tool signal T01
T8Tool signal T08
SPExternal pause signal(SP)/safeguard signal
ZDECDeceleration signal in Z direction
T6Tool signal T06
STExternal signal for cycle starting(ST)
T7Tool signal T07
X0008 ESP
ESPEmergency stop signal
-10
Chapter 5 Diagnosis Information
X0009 ZDEC XDEC
ZDECDeceleration signal in Z direction
XDECDeceleration signal in X direction
Book3 Connection
0.0010.001 increment key
PRTProgram reference point return mode key
DYRDry run mode key
M.S.TAuxiliary function locked key
MLKMachine locked key
X0025 ST
STCycle start key
X0026 RST
RSTReset key
S3S3/M43/UO2
S2S2/M42/UO1
Y0004
Lamp in machine control panel
-12
Chapter 5 Diagnosis Information
Bit7Lamp for machine reference point return or program reference point return ended in X direction
Bit5Lamp for machine reference point return or program reference point return ended in Z direction
Bit4Rapid traverse lamp
Bit3Single block running lamp
Bit2Optional block jumping lamp
Bit1Lamp for machine locked
Bit0Lamp for auxiliary function locked
Y0005
Lamp in machine control panel
Bit7EDIT mode lamp
Bit6AUTO mode lamp
Bit5MDI mode lamp
Bit4Reference point return mode lamp
Bit3Handwheel/increment mode lamp
Bit2JOG mode lamp
Bit1Spindle CW rotation lamp
Bit0Coolant lamp
Y0006
Lamp in machine control panel
Bit7Single block mode lamp
Bit6Optional block jumping mode lamp
Bit5Lamp for machine locked
Bit4Lamp for auxiliary function locked
Bit3Dry run lamp
Book3 Connection
Bit2Program reference point return mode lamp
Bit1Rapid feed lamp
Bit0Spindle stopping lamp
Y0007
Lamp in machine control panel
Bit7Single block mode lamp
Bit6Optional block jumping mode lamp
Bit5Lamp for machine locked
Bit4Lamp for auxiliary function locked
Bit3Dry run lamp
Bit2Program reference point return mode lamp
Bit1Rapid feed lamp
Bit0Spindle stopping lamp
Y0008
Lamp in machine control panel
Bit7Spindle jogging lamp
Bit6Max. spindle override lamp
Bit5Min. rapid traverse override lamp
Bit4Max. feedrate override lamp
-13
GSK980TD Turning Machine CNC System
Bit3Min. spindle override lamp
Bit2Max. rapid traverse override lamp
Bit1Min. feedrate override lamp
Bit0Cycle start lamp
-14
Chapter 5 Diagnosis Information
STLSignal of cycle starting lamp
SPLSignal of feedrate pausing lamp
Book3 Connection
F0004 *** MPST MREF MAFL MSBK MABSM MMLK MBDT1
MPSTDetection signal of Program reference point return
MREFDetection signal of machine reference point return in JOG mode
MAFLDetection signal of auxiliary function locked
MSBKDetection signal of single Block mode
MABSMDetection signal of absolute value in JOG mode
MMLKDetection signal of machine locked
MBDT1Detection signal of optional block jumping
-15
GSK980TD Turning Machine CNC System
F0010 M7 M6 M5 M4 M3 M2 M1 M0
M7M function code M07
M6M function code M06
M5M function code M05
M4M function code M04
M3M function code M03
M2M function code M02
M1M function code M01
M0M function code M00
F0022 S7 S6 S5 S4 S3 S2 S1 S0
S7: spindle speed code signal S07
S6: spindle speed code signal S06
S5: spindle speed code signal S05
S4: spindle speed code signal S04
S3: spindle speed code signal S03
S2: spindle speed code signal S02
-16
Chapter 5 Diagnosis Information
S1: spindle speed code signal S01
S0: spindle speed code signal S00
Book3 Connection
S29: spindle speed code signal S29
S28: spindle speed code signal S28
S27: spindle speed code signal S27
S26: spindle speed code signal S26
S25: spindle speed code signal S25
S24: spindle speed code signal S24
F0026 T7 T6 T5 T4 T3 T2 T1 T0
T7: T function code T07
T6: T function code T06
T5: T function code T05
T4: T function code T04
T3: T function code T03
T2: T function code T02
T1: T function code T01
T0: T function code T00
-17
GSK980TD Turning Machine CNC System
T12: T function code T12
T11: T function code T11
T10: T function code T10
T9: T function code T09
T8: T function code T08
Book3 Connection
F0057 U115 U114 U113 U112 U111 U110 U109 U108
U115: Custom macro output signal UO115
U114: Custom macro output signal UO114
U113: Custom macro output signal UO113
U112: Custom macro output signal UO112
U111: Custom macro output signal UO111
U110: Custom macro output signal UO110
U109: Custom macro output signal UO109
U108: Custom macro output signal UO108
-19
GSK980TD Turning Machine CNC System
Book3 Connection
MSPHDDetection signal of spindle jogging
-21
GSK980TD Turning Machine CNC System
F0207 *** *** *** *** *** *** *** ***
Total tool numbers
Bit0: Bit 0 of tool number
Bit1: Bit 1 of tool number
Bit2: Bit 2 of tool number
Bit3: Bit 3 of tool number
Bit4: Bit 4 of tool number
Bit5: Bit 5 of tool number
Bit6: Bit 6 of tool number
Bit7: Bit 7 of tool number
F0208 *** AGER AGIN AGIM *** SPEN SLTW SLSP SLQP
SLQP: Chuck control is valid/invalid
SLSP: Whether chuck clamped is detected or not
SLTW: Tailstock control is valid/invalid
SPEN: Input signal of spindle rotation
AGIM: Valid level for M41I,M42I
AGIN: Detect gear shifting in-position signal
AGER: Spindle gears automatically
F0209 *** SPB4 PB4 SPB3 PB3 *** PB2 *** PB1
PB1: Select chuck mode
PB2: Detect chuck in-position signal
PB3: Valid function of checking low pressure
SPB3: Alarm level for low pressure
PB4: Safeguard is valid
Book3 Connection
G0004 FIN
FINSignal of auxiliary function ended
G0005 AFL
AFLSignal of auxiliary function locked
Book3 Connection
ESP: Emergency stop signal
SP: Feedrate pausing signal
ERS: External reset signal
-23
GSK980TD Turning Machine CNC System
G0011 JV15 JV14 JV13 JV12 JV11 JV10 JV09 JV08
JV15: JOG override signal JV15
JV14: JOG override signal JV14
JV13: JOG override signal JV13
JV12: JOG override signal JV12
JV11: JOG override signal JV11
JV10: JOG override signal JV10
JV09: JOG override signal JV09
JV08: JOG override signal JV08
G0018 * * * * * * HZ HX
HX: X handwheel selecting signal
Book3 Connection
Book3 Connection
MD3: Current operating mode selection
DNC1DNC mode selecting signal
ZRN: Current operating mode selection
G0070 MRDYA * * * * * * *
MRDYA: Machine ready signal
Book3 Connection
G0200 * * * * * * * SPD
SPD:Spindle jogging signal
Book3 Connection
NT17: Current tool number NT17
NT18: Current tool number NT18
NT19: Current tool number NT19
NT20: Current tool number NT20
NT21: Current tool number NT21
NT22: Current tool number NT22
NT23: Current tool number NT23
-27
GSK980TD Turning Machine CNC System
A0000.0 Tool change time is too long
A0000.1 Alarm of tool being not in-position at the end of tool change
A0000.2 Alarm of unfinished tool change
A0001.0 Tailstock function is invalid and M10M11 cant be executed
A0001.1 Tailstock cant be receded under spindle rotating
A0001.4 Cycle start enabling is closed and cycle cant be started
A0001.5 Spindle start enabling is closed and spindle cant be started
A0002.0 Safeguard opening alarm
A0002.1 Low pressure alarm of chuck
A0002.3 Chuck cant be unclamped under spindle rotating
A0002.4 Alarm of invalid clamping in-position signal under spindle
rotation
A0002.5 Spindle cant be started when clamping in-position signal of
chuck is invalid
A0002.6 Spindle cant be started when chuck is unclamped
A0003.0 Chuck function is invalid and M12M13 cant be executed
A0004.0 Illegal M code
A0004.1 Spindle jogging is invalid under non-analogous spindle
A0004.2 Setting error for M03 and M04
A0005.0 Setting error for No.164168172 parameters
Address Meaning
T0002 Timing for M3458910113233 executed
T0003 Timing for liberation/jogging output
T0004 Timing for from TL+ ceased to TL- output
T0005 Timing for TL- output
T0006 Timing for S code executed
T0007 Timing for M010230executed
T0020 Timing for tool change
T0021 Delay for M05 output
T0022 Timing for M05 ceased to SPZD output
T0023 Timing for SPZD output
T0025 Timing for closing former gear-shift time
T0026 Timing for new gear-shift output to FIN output
T0027 Timing for spindle CW jogging
T0028 Timing for spindle CCW jogging
T0040 Timing for low pressure alarm
-28
Chapter 5 Diagnosis Information
Address Meaning
T0050 Timing for M12M13 executed
C0001 Counting for rapid override in MDI panel decreased
C0002 Counting for rapid override in MDI panel increased
C0003 Counting turn for coolant input signal
C0004 Counting for feedrate override in MDI panel decreased
C0005 Counting for feedrate override in MDI panel increased
C0006 Counting for spindle override in MDI panel decreased
C0007 Counting for spindle override in MDI panel increased
C0008 Counting turn for lubrication input signal
C009 Counting turn for manual rapid traverse input signal
C0010 Counting turn for auxiliary function locked input signal
C0011 Counting turn for machine locked input signal
C0012 Counting turn for dry run input signal
C0013 Counting turn for single block input signal
C0014 Counting turn for optional block jumping input signal
C0015 Counting turn for spindle jogging input signal
C0016 Counting for manual feed in MDI panel decreased
C0017 Counting for manual feed in MDI panel increased
C0018 Counting turn for chuck control input signal
C0019 Counting turn for tailstock control input signal
Book3 Connection
C0020 Counting for two time reset under alarm of unfinished tool change
Address Meaning
DT000 Occupied by CNC and modified by No.65 data parameter
DT001 Occupied by CNC and modified by No.66 data parameter
DT002 Occupied by CNC and modified by No.69 data parameter
DT003 Occupied by CNC and modified by No.76 data parameter
DT004 Occupied by CNC and modified by No.78 data parameter
DT005 Occupied by CNC and modified by No.80 data parameter
DT006 Occupied by CNC and modified by No.81 data parameter
DT007 Occupied by CNC and modified by No.82 data parameter
DT008 Occupied by CNC and modified by No.83 data parameter
DT009 Occupied by CNC and modified by No.85 data parameter
DT010 Occupied by CNC and modified by No.87 data parameter
DT011 Occupied by CNC and modified by No.89 data parameter
DT012 Occupied by CNC and modified by No.108 data parameter
DT013 Occupied by CNC and modified by No.112 data parameter
DT021 Spindle stopped and chuck enabling delayed
-29
GSK980TD Turning Machine CNC System
unused
Book3 Connection
-30
Chapter 6 Stored Pitch Error Compensation
Stored pitch error compensation function of GSK980TD can reduce the accuracy error caused by the error screw
pitch.
6.2 SPECIFICATION
1, The compensation value is related with compensation origincompensation intervalcompensation point and
moving direction etc.
2, Take the reference point as compensation origin and specify the parameters with compensation value on each
interval of each axis.
3, Compensation point number is 256.
4, Compensation range of each point is from 0 to255um.
5, Compensation interval is from 1000 to 9999999um.
6, Compensation value of point N is decided by the machine error between point N and point N-1.
7, Factual compensation interval is decided by the max. compensation range and machine travel.
8, The setting method is same as the parameters setting of CNCplease read OPERATION MANUAL for
details.
Book3 Connection
6.3.1 Pitch Error Compensation
state parameter
0 0 3 PEC
Bit5 is 1pitch error compensation is valid
is 0pitch error compensation is invalid
Compensation origin is the compensation starting position at reference point specified by No.98No.99
parameter and 255 position points can be set for each axis at most.
data parameter
0 9 8 Position No. of pitch error compensation(X)
-1
GSK980TD Turning Machine CNC System
Each compensation value is diameter input and input unit is 0.001mm.Please set compensation value as the
following table.
Sequence Number X Z
000
001 5 -2
002 -3 4
255
1, Pitch error compensation can be specified only in the second level authority.
2, No compensation for zero compensation interval.
3, When specifying the parameterscompensation can be realized correctly only after returning reference point.
Book3
In factthe compensation value for from the origin to +30.000 is that (+7)+(-6)+(+4).
2, when No.099 parameter is 60 and No.103 parameter is 10.000
Under this conditionthe compensation value of N segment can be set in the No.060N position in moving
positive direction and the compensation value of N segment can be set in the No.061N position in moving negative
direction. Thereforepitch error compensation can be realized in two directions.
58 59 60 61 127
setting point
(+0) (-7) (-7) (+6) (+4) (+1)
machine
coordinates
-60.000 -20.000 -10.000 0 +10.000 +670.000
reference point
In above diagramNo.060 position is compensation origin and No.061 position is the point 10.000 away from
the origin in positive moving directionand No.059 position is the point 10.000 away from the origin in negative
moving direction.That is to saycompensation value at N point is set for moving fromN-61compensation
interval toN60compensation interval.
Book3 Connection
Example as following
compensation range compensation value
010.000 +4
10.0000 +6
20.00010.000 7
30.00020.000 7
-3
GSK980TD Turning Machine CNC System
In above diagramNo.127 position is compensation origin and No.126 position is the point 10.000 away from
the origin in negative moving directionand the rest may be deduced by analogy.That is to saycompensation value at
N point is set for moving fromN-128compensation interval toN-127compensation interval.
Example as following
compensation range compensation value
010.000 +2
20.00010.000 0
30.00020.000 7
40.00030.000 +3
machine coordinates compensation value current pulse no. current pulse no.
Book3
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
In factthe compensation value for from 40.000 to the origin is that (+3)+(-7)+(0)+(+2).
-4
BOOK APPENDIX
APPENDIX
Appendix
contents
Appendix
I
Appendix
MST
Appendix
ppendix
appendix-1
GSK980TD Turning Machine CNC System
MST
distributed
evenly
Appendix
pendix
appendix-2
Appendix
distributed evenly
presetting
installing holes for presetting
Changchun MPG button holes
appendix-3
GSK980TD Turning Machine CNC System
019 10 5 5
020 0 0 0
021 0 0 0
022 3800 2500 3800
023 7600 5000 7600
*024 200 240 100
*025 200 240 100
*026 100 200 100
*027 8000 8000 8000
*028 500 50 200
appendix-4
Appendix
Data par. Par.1test Par.2step Par.3servo User par.backup
*029 100 160 100
*030 10 10 10
031 0 0 0
032 400 400 400
033 200 200 200
034 0 0 0
035 0 0 0
036 0 0 0
037 9999 9999 9999
038 9999 9999 9999
039 9999 9999 9999
040 9999 9999 9999
*041 300 200 400
042 10 10 10
043 99 99 99
044 115200 115200 115200
045 9999999 9999999 9999999
046 9999999 9999999 9999999
047 -9999999 -9999999 -9999999
048 -9999999 -9999999 -9999999
049 0 0 0
050 0 0 0
051 0 0 0
052 0 0 0
053 0 0 0
054 0 0 0
055 0 0 0
056 0 0 0
057 0 0 0
058 0 0 0
059 0 0 0
060 0 0 0
061 0 0 0
062 0 0 0
063 0 0 0
064 0 0 0
065 1000 1000 1000
066 1000 1000 1000
067 100 100 100
068 0 0 0
069 0 0 0
Appendix
121 0 0 0
122 0 0 0
123 0 0 0
124 0 0 0
Note the para meters with * will infect acceleration and deceleration characteristic and
user needs to adjust them according to system configuration and load characteristic.
appendix-6
Appendix
1CNC alarm
032
033 Absolute value of R is more than that of W in G94 Press Reset key and modify programs
034 There are more than 100 blocks in G70~G73 Press Reset key and modify programs
035 Ns and Nf are reversed each other in G70~G73 Press Reset key and modify programs
There is no Ns or Nf or they exceed their allowed range
036 Press Reset key and modify programs
in G70~G73
037 There is no Ns or Nf in G70~G73 Press Reset key and modify programs
038 Single infeed exceeds its allowed range in G71 or G72 Press Reset key and modify programs
appendix-7
GSK980TD Turning Machine CNC System
Number Content Troubleshooting
Single tool retraction exceeds its allowed range in G71 or
039 Press Reset key and modify programs
G72
040 Total cutting travel exceeds its allowed range in G73 Press Reset key and modify programs
041 Cycle times is less than 1 or more than 99999 in G73 Press Reset key and modify programs
Single tool retraction R(e) exceeds its allowed range inPress Reset key and modify programs
042
G74 or G75
The tool retraction is negative at the end of cutting inPress Reset key and modify programs
043
G74 or G75
Single cutting value exceeds its allowed range in X or Z
044 Press Reset key and modify programs
direction in G74 or G75
Starting point of cutting taper thread is between thread
045 Press Reset key and modify programs
starting point and its end point in G76
046 Min. cutting value exceeds its allowed range in G76 Press Reset key and modify programs
047 Finishing allowance exceeds its allowed range in G76 Press Reset key and modify programs
048 Tooth height is less than finishing allowance or 0 in G76 Press Reset key and modify programs
049 Cycle times exceeds its allowed range in G76 Press Reset key and modify programs
050 Chamfer exceeds its allowed range in G76 Press Reset key and modify programs
051 Angle of tool nose exceeds its allowed range in G76 Press Reset key and modify programs
052 Movement distance in X, Z direction in G76 is zero Press Reset key and modify programs
053 There is no specified tooth height P in G76 Press Reset key and modify programs
There is no the first cutting depth Q or Q is 0 or Q is notPress Reset key and modify programs
054
input
055 Call subprograms in G70~G73 Press Reset key and modify programs
056 Ns does not command G00 or G01 in G70~G73 Press Reset key and modify programs
X value is not specified in the first block or the
057 Press Reset key and modify programs
movement is 0 in G71
Z value is not specified in the first block or the
058 Press Reset key and modify programs
movement is 0 in G72
059 Z value is not specified in G74 Press Reset key and modify programs
060 Q value is 0 or is not input in G74 Press Reset key and modify programs
061 X value is not specified in G75 Press Reset key and modify programs
062 P value is 0 or is not input in G75 Press Reset key and modify programs
Initial blocks are employed with the forbidden G
063 Press Reset key and modify programs
instructions in G70~G73
End blocks are employed with the forbidden G
064 Press Reset key and modify programs
instructions in G70~G73
G70~G73 cant be executed in MDI mode
Appendix
appendix-8
Appendix
Number Content Troubleshooting
Operation values of H11, H12, H13, H25 are not binary
101 Press Reset key and modify programs
in G65
102 Operation value of H24 is more than 1023 in G65 Press Reset key and modify programs
103 Denominator is 0 for division operation in G65 Press Reset key and modify programs
104 G65 commands illegal H instruction Press Reset key and modify programs
105 Macro variable number of G65 is illegal(error) Press Reset key and modify programs
Macro variable P is not commanded or P value is zero in
106 Press Reset key and modify programs
G65
Variable Q is not commanded or Q value is zero when
107 Press Reset key and modify programs
H instructions except for H80 or H99 are commanded
108 Do not command variable R or R is illegal Press Reset key and modify programs
109 P instruction value isnt variable in G65 Press Reset key and modify programs
110 Number with H21 in G65 is negative Press Reset key and modify programs
111 H99 user alarm number in G65 exceeds its range Press Reset key and modify programs
Block number of macro instruction (G65)jumping or
112 Press Reset key and modify programs
M99 returning exceeds their range
There is no block number for block jumping or
113 Press Reset key and modify programs
subprogram returning
appendix-9
GSK980TD Turning Machine CNC System
Number Content Troubleshooting
There is excessive cutting as checking tool nose radius
260 Press Reset key and modify programs
compensation
Mistake in programming causes there is not
intersection between straight line and arc of
261 Press Reset key and modify programs
current tool radius in the course of tool nose radius
compensation
Mistake in programming causes there is not
intersection between arc and straight line of
262 Press Reset key and modify programs
current tool radius in the course of tool nose radius
compensation
PressResetandCancelkey simultaneously
301 Parameter switch has been on
or close parameter switch
302 CNC initialization is failure Power off and restart
303 Cannot open part programs Reset or power on again
304 Fail to save part programs Reset or power on again
305 Total lines of part program exceed its range(69993) Reset
306 Illegal dictates have been input Reset and input correct dictates
307 Memory capacity is not enough Reset and delete excrescent part programs
308 Program numbers exceed the range Reset or power on again
Editing macro program is forbidden under its current
309 Reset and modify operation password
operation authority
310 Cannot open PLC programs (ladder) Download PLC programs again(ladder)
Edit software version of PLC programs (ladder) is
311 Update software version of GSKCC
inconsistent
312 First-grade PLC program is too long Modify PLC programs(ladder)
313 The edit keyboard or operator panel is failure PressResetorCancelkey
PressResetkey, check it and power on
314 The memorizer is failure, check it or power on again
again
2Operation prompt
Content Operation with prompt Remark
Program number exceeds 384 or total memory capacity exceeds
Memory full
6144KB
Error data Input data is out of range
Block exceeding Input block exceeds 255 characters
Unallowed input Input data includes unrecognizable characters
All prompts
Serial interface not
will be
connected Doing communication under unconnected serial interface
displayed in
Communication error Error data transferring
bottom left
Fail to delete blocks Not find object characters during deleting blocks
corner of
Fail to search Not find object characters in cursor searching up or down
display
Limit to the max. lines 69993of part programs and forbid to add
Line exceeding interface
lines
Illegal G Illegal dictates have been input
File not existed Not search object part program
File existed Files with same name exist when saving or renaming file
Modify in parameter pageWhen modifying parameters in diagnosis page
Appendix
appendix-12
GSK CNC EQUIPMENT CO.,LTD.
http://www.gsk.com.cn E-mail: sale1@gsk.com.cn Switchboard02081789477
ADD: No.52 1st Street Luochongwei North Road, Guangzhou China PC510165
Sale Dept. Tel 02081993293 81992395 81990819 81993683Fax
Service Dept. Tel02081986247 81986826 81997083Fax
Technology Dept. Tel: 02081798010 Train Dept. Tel02081995822
All specification and designs are subject to change without notice Mar. 2006/Edition 1