GSK980TC3 Series Bus Turning CNCsystem Programming and Operation User Manual
GSK980TC3 Series Bus Turning CNCsystem Programming and Operation User Manual
limitation and product specific applications. Therefore, the matters not specially
This user manual is the property of GSK CNC Equipment Co., Ltd. All
reprint this manual. GSK CNC Equipment Co., Ltd. reserves the right to ascertain
Preface
Dear users,
It is our pleasure for your patronage and purchase of this machining center
CNC system of GSK980TC3 Series Bus Turning CNC system produced by GSK
To ensure the product works in a safe and efficient state, please read this
Warnings
Special notes: The power supply fixed on/in the cabinet is exclusively used for the
CNC system made by GSK.
It cannot be applied for other purposes, or else it may cause serious
danger.
II
Preface and Precautions
Declaration!
z We try to describe all the various matters as much as possible in this
警告、注意和注释的说明
manual. However, it is impossible to give detailed descriptions to all
the unnecessary or unallowable operations because there are too
many possibilities. Therefore, the matters not specially described
herein should be considered as “impossible” or “unallowable”.
Warning!
z Before installing, connecting, programming and operating the product,
please read this manual and the manual provided by the machine tool
Caution!
z The functions and specifications (e.g., precision and speed) described
in this manual are only for this product itself. For those CNC machine
tools installing this product, the actual function configuration and
specifications depend on the designs of the machine tool builders.
Moreover, the function configuration and specifications of the CNC
machine tool are subject to the manual provided by the machine tool
builder.
All specifications and designs in this manual are subject to change without
notice.
III
Preface and Precautions
Safety responsibility
Manufacturer Responsibility
——Be responsible for the danger which should be eliminated on the design
and configuration of the provided CNC systems.
——Be responsible for the safety of the provided CNC and its accessories
——Be responsible for the provided information and advice.
User Responsibility
——Be trained with the safety operation of CNC system operation
procedures and familiar with the safety operation.
——Be responsible for the dangers caused by adding, changing or
modifying the original CNC systems and accessories.
——Be responsible for the danger caused by failing to observe the
operation, maintenance, installation and storage in the manual.
Thank you for your kind support when you are using the products of GSK
CNC Equipment Co., Ltd.
V
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Safety notes
IV
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Ⅰ Programming
Ⅱ Operation
Appendix
This part gives an introduction to the delivery standard
parameters and alarm list of GSK980TC3 Series Bus Turning
CNC System.
VI
Contents
Contents
Ⅰ PROGRAMMING .................................................................................. 1
CHAPTER 1 OVERVIEW ............................................................................................................. 3
1 Introduction ................................................................................................................................... 3
1.2 Technical Specifications........................................................................................................... 4
1.3 Product Module Definition ....................................................................................................... 5
CHAPTER 2 PROGRAMMING FUNDAMENTALS ......................................................................... 7
2.1 Controllable Axis ....................................................................................................................... 7
2.2 Axis Name ................................................................................................................................. 7
2.3 Axis Display ............................................................................................................................... 8
2.4 Machine Zero and Machine Coordinate System ................................................................. 8
2.5 Workpiece Coordinate System ............................................................................................... 9
2.6 Absolute Value Programming and Incremental Value Programming ............................. 10
2. 7 Diameter and Raduis Method to Programming .................................................................11
2. 8 Mode, Non-Mode and Initial State .......................................................................................11
CHAPTER 3 STRUCTURE OF AN PART PROGRAM.................................................................... 13
3.1 Structure of a Program........................................................................................................... 13
3.1.1 Program Name ............................................................................................................... 13
3.1.2 Sequence Number and Blocks ....................................................................................... 14
3.1.3 Word ............................................................................................................................... 14
3.2 General Structure of a Program ........................................................................................... 16
3.2.1 Subprogram Writing ....................................................................................................... 17
3.2.2 Subprogram Call ............................................................................................................ 17
3.2.3 Program End .................................................................................................................. 18
CHAPTER 4 PREPARATORY FUNCTION : G CODE ................................................................... 19
4.1 Categories of Preparatory Function G Code ...................................................................... 19
4.2 G code ...................................................................................................................................... 20
4.2.1 Rapid Positioning G00 ................................................................................................... 20
4.2.2 Linear Interpolation G01 ................................................................................................ 22
4.2.3 Circular (Helical) Interpolation G02/G03 ...................................................................... 23
4.2.4 Dwell (G04) ................................................................................................................... 27
4.2.6 Workpiece Coordinate System Selection G54~G59 .................................................... 28
4.2.7 Setting a Workpiece Coordinate System G50 ................................................................ 30
4.2.8 Plane Selection G17/G18/G19 ....................................................................................... 31
4.2.9 Skip Function(G31) .................................................................................................. 32
4.2.10 Inch/Metric Conversion G20/G21................................................................................ 33
4.2.11 Optional Angle Chamfering/Corner Rounding ............................................................ 34
4.2.12 Constant Pitch Thread Cutting(G32) ...................................................................... 35
4.2.13 Variable Pitch Thread Cutting(G34) ....................................................................... 39
4.3 Reference Point G Code ....................................................................................................... 44
4.3.1 Automatic Return to Machine Zero(G28)................................................................. 45
4.4 Simple Canned Cycle G Code.............................................................................................. 46
4.4.1 Axial Cutting Cycle(G90) ......................................................................................... 46
4.4.2 Radial Cutting Cycle(G94) ....................................................................................... 49
4.4.3 Thread Cutting Cycle(G92) ...................................................................................... 51
4.4.4 Notes of Single Fixed Cycle Codes ............................................................................... 54
4.5 Compound Fixed Cycle Code ............................................................................................... 54
4.5.1 Axial Roughing Cycle(G71 type Ⅰ) ....................................................................... 54
4.5.2 Grooving Cycle Machining(G71 type Ⅱ) ............................................................... 58
VII
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
VIII
Contents
IX
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
X
Contents
XI
Ⅰ Programming
Ⅰ Programming
1
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Programming
Appendix
2
Chapter 1 Overview
Chapter 1 Overview
1 Introduction
With GSK-Link Ethernet bus, MPG trial-cut, Cs axis control, GSK980TC3 Series
Bus Turning CNC System is a new CNC system developed by GSK CNC Equipment Co.,
Ltd., which greatly improves machining speed, precision, surface roughness. Its
band-new designed human-machine interface characterizes friendly beauty and easily
use; its connection is convenient, which can meet the applied requirements of
popularized CNC turning.
3
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Display * Using a color 8.4 inch LCD with resolution ratio 800×600
interface * Displaying all machining path
* Using G code system A including 39 G codes with a fixed cycle code and compound cycle code
G
* Supporting a statement macro program(macro B)
Function
* Supporting 5-level subprogram call, and using a user macro program to call
* Adaptive tool post: set up to 16-cutter spacing electric tool post, LIO SHING company’s tool post
(12-cutter spacing), DIAMOND company’s tool post (encoder or count type)
T
* Toolsetting mode: MDI/automatic absolute tool change or manually relative too change, cutter spacing
Tool
function CW, locking CCW
* Toolsetting mode: fixed point toolsetting, trial-cut toolseting, machine zero return toolsetting
* Cutter spacing signal input mode: direct input
* S2 digit(I/O gears control)/ S5 digit(analog output)
S * Spindle encoder: encoder lines can be set(100 p/r~5000p/r)
Spindle * Drive ratio between encoder and spindle:(1~255):(1~255)
function * Spindle override:50%~120% divided into 8 levels to real-time tuning
* 2-channel 0V~10V analog voltage output, supporting double-spindle control
* Specify with M and 2-digit. M function can be customized
M * System’s interior M codes( they cannot be defined again): end of program M02, M30;program stop
Miscellane
M00;optional stop M01;subprogram call M98;end of subprogram M99
ous
function *Cooling ON/OFF * lubricating ON/OFF * chuck clamping/releasing in MDI/Auto mode, tailstock
forward/backward
* Program capacity:57MB, 400 subprograms
Program * Format:relative/absolute compound programming
edit * Subprogram:can be edited, supporting 5-layer subprogram nesting
* Program preview *background edit
4
Chapter 1 Overview
*Mode selection: Edit, Auto, MDI, Zero return, JOG, Single step, MPG
Operation *Motion control: Single block, skip, dry run, miscellaneous lock, program restart, MPG interrupt, single
function step interrupt, MPG interference, machine lock, interlock, feed hold, cycle start, emergency stop, external
reset signal, external power supply ON/OFF
* PLC processing speed:1us/step;up to 8000 steps;10 basic code,35 functional codes;
PLC
function * I/O input/output:32/32,extensible IO
*Select 1~4 PMC axis
z Emergency stop
Safety
z Hardware stroke limit
function
z Data backup and recover
Communic z RS232:two-way transmission of part programs and parameters, supporting PLC programs
ation z USB:U-disk file operation, U-disk file’s direct machining, supporting PLC programs, system software
function U-disk upgrade
* Switching power supply:RS-PB2(provided with a whole set, and installed)
Adaptive
* Drive unit:GSK GE series(including incremental and absolute)
一
component
* Tool post’ controller:GSK TB tool post controller
Programming
1.3 Product Module Definition
GSK980 T ( C ) ( a ) ( H ) ( 1 ) ( 1 )
1 2 3 4 5 6
No Code explanation
Example:
5
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Programming
Appendix
6
Chapter 2 Programming Fundamentals
Table 2-1-1
Item GSK990MC
Basic controllable axes 3(X, Y, Z)
Total extended controllable axes Up to 5 (including Cs axis)
一
2.2 Axis Name
Programming
Name of 3 basic axes is defaulted to X, Z, C.
P005 sets the controllable axis quantity and P175-P179 sets each additional axis’ name, such as
A, B, C’s axis name.
The system uses a rectangular coordinate system composed of X, Z axis to execute the
positioning and interpolation motion. X axis is the level plane’s front and back direction and Z axis is
its left and right direction; negative directions of them approach to the workpiece and positive ones
are away from it, which is shown in Fig 2-2-1.
The system supports the front tool post and rear tool post function. From the front of machine,
the too post in front of the workpiece is called front tool post, and the too post behind of the workpiece
is called rear tool post. Fig. 2-2-2 is a coordinate system of the front tool post and Fig. 2-2-3 is a rear
toolpost one. they show exactly the opposite of X axes, but the same of Z axes from figures. In the
manual, it introduces programming application with the front tool post coordinate system in the
following figures and examples.
7
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
X
X
Fig.2-2-2 Front tool post coordinate system Fig.2-2-3 Rear tool post coordinate system
GSK980TC3 can set each axis’ linear axis or rotary axis by No.8#0~No.8#4; set each axis’
Programming
Appendix
Fig. 2-3-1
A special point used to the machining reference on the machine is called a machine zero. The
machine tool manufacturers have set a machine zero on each machine. Generally, it is located at the
max. stroke of X, Z’s positive direction. After it is set, it is not moved or changed. A coordinate system
using the machine zero as an origin setting is called machine coordinate system.
The machine zero’s position cannot be confirmed when the CNC is turned on. Generally,
automatic or manual machine zero return is executed to create a machine coordinate system. After
the machine returns to the machine zero, the CNC automatically creates a machine coordinate
8
Chapter 2 Programming Fundamentals
When the system machines a workpiece, the used coordinate system is called a workpiece
coordinate system(called a part coordinate system). A workpiece coordinate system is set in advance
by the CNC (set a workpiece coordinate system).
Generally, a part’s all machining programs set one public workpiece coordinate system(select a
workpiece coordinate system).
Changing the workpiece coordinate system is executed by moving its origin (changing the
workpiece coordinate system’s position).
一
A workpiece coordinate system’s reference position should meet conditions as possible, such as
easy programming, few dimension conversion, few machining errors. In general conditions, the
Programming
reference point should be on the dimension marking’s reference or positioning’s reference. For the
turning machine programming, the reference point is on the intersection point between the
workpiece axis and chuck’s end (Fig. 2-5-1) or the workpiece’s end (Fig. 2-5-1).
9
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
3.Use G54Pn to set a workpiece coordinate system, and refer toⅡ 3.4.2.2
A code axis’ movement amount method is divided into two: an absolute value code and relative
value code. The absolute value code is to use an end point’s coordinate value of the axis movement
to perform a programming is called an absolute coordinate programming. The incremental coordinate
code is to use an axis movement value to directly program, which is called an incremental coordinate
programming. In the system, the absolute coordinate programming uses X, Z and the incremental
value programming uses U, W.
Table 2-6-1
一
X U X movement code
Z W Z movement code
Example: separately use the absolute value, incremental value, absolute value and incremental
value programming mode to compile A→B programs in Fig. 2-6-1.
Appendix
Fig. 2-6-1
Table 2-6-2
10
Chapter 2 Programming Fundamentals
Note: an alarm occurs when X/Z and U/W are in one block.
Example: G50 X10 Z20;
The outer appearance of the workpiece which is machined by CNC turning machine is rotating
body and X dimension can be specified by two methods: diameter and radius methods. It can be set
by bit parameter NO: 39#2.
When NO: 39#2 is 0, it is specified by the radius to programming.
一
Specified by the diameter
Item Specified by the radius value
vaue
Programming
Z axis code Be irrelevant with the diameter value, radius value
X axis code Specified by Specified by
the diameter value the radius value
Increment codes Specified by Specified by
of address U the diameter value the radius value
Setting coordinate system (G50) Specified by Specified by
the diameter value the radius value
Tool offset X axis value It is consistent with X axis dimension method and is set by
NO:39#2
Radius code of circular Specified by Specified by
interpolation (R, I , K ) the radius value the radius value
Feedrate of X axis direction Radius change (mm/min, mm/r)
Display X axis position Display the diameter
Display the radius value
value
Note 1: In the following content, it is normally specified by the diameter without special explanation.
Note 2: The meaning of the tool offset value using the diameter/radius is the outer diameter of the work piece
changes through the diameter or the radius value when the tool offset value changes. For example: if
the diameter specifies and compensation amount is 10mm, then the outer diameter value of cutting
work piece changes into 10mm; and if the radius specifies and compensation amount is 10mm, then
diameter value of cutting work piece diameter changes into 20mm.
The mode means once the function and status of corresponding fields are executed, it will be
valid until the new function and status are executed again. That is to say, the following blocks use the
same function and status, and then the fields are not required to input again.
Example:
G0 X100 Z100;(Rapid position to X100 Z100)
X120 Z30;(Rapid position to X120 Z30,G0 is a modal code and can be omitted not to
11
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
input)
G1 X50 Z50 F300;(Linear interpolation to X50 Z50,feedrate: 300mm/min G0→G1)
X100;(Linear interpolation to X100 Z50,feedrate 300 mm/min, G1, Z50, F300 are modal
codes and can be omitted not to input)
G0 X0 Z0;(Rapid position to X0 Z0 G1→G0)
Non-mode means once the function and status of corresponding fields are executed, it will be
valid for one time. If the same function and status are required to use again, they should be executed,
again. That is to say, the following blocks use the same function and status, and then the fields should
be input again.
The initial state is the default function and status after the system is turned on, that is to say, if the
corresponding function and state are not specified after power on, it will execute the function in initial
mode and status. The initial states are G00, G18,G21, G40, G54, G97,G98.
一
Example:
Programming
O0001;
G0 X100 Z100; (Rapid position in X 100 Z100, G0 is the initial state of the system. When
the system does not code other mode, the system executes movement
in the initial state G00 mode)
G1 X0 Z0 F100; (Linear interpolation to X0 Z0 at the feedrate 100mm/min. Because G98
is the feed per minute mode and G98 is the system initial state when
power on.)
Appendix
12
Chapter 3 Structure of an Part Program
A program consists of many blocks, and a block is composed of words. Each block is separated
by a code for end of block (ISO uses LF, EIA uses CR). Using a character “;” means a code for end
of block.
Program
name
Word
一
Programming
Sequence Block end code
number
Block
Program end
A group of codes for controlling the CNC machine to finish workpiece machining is called a
program. After the compiled program is input to the CNC system, the system makes the tool move
along a straight line or an arc, or rotate or stop the spindle. Please edit these codes according to the
actual movement sequence of the machine tool in the program. Structure of the program is shown in
Fig. 3-1-1.
In the system, the system’s memory can store many programs. In order to mutually differentiate
these programs, each program begins with an address O followed by a five-digit number, which is
shown in Fig. 3-1-1-1.
13
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
A program is composed of many codes and one code unit is called a block (see Fig. 3-1-1). The
block is separated through end code (see Fig.3-1-1), it adopts the field “;” as the end code.
Address N with a 4-digit sequence number behind it can be used at the beginning of the block
(see Fig. 3-1-1), and the leading zero can be omitted. Sequence numbers (whether the sequence
number is inserted is set by Parameter NO: 0 # 5, or set the number in the setting page directly. See
Section 3.3.1 in Operation) can be specified in a random order, and the intervals between them can
be unequal (set by Data Parameter P210). They can be specified in all blocks, or just in some
important blocks. However, the numbers should be arranged in ascending order according to general
machining sequence.
Note: The N code is not taken as a line number when it and G10 are in the same block.
一
3.1.3 Word
Programming
A word (See 3-1-3-1) is an element that composes a block. It consists of an address and its following
digits (with sign +or - before the digits sometimes).
X 1000 Z -500
An address is one of the English letters(A~Z). It specifies the meaning of its following digits.
In the system, the used addresses and their meanings as well as their ranges are shown in Fig.
3-1-3-1.
Appendix
Sometimes, an address may have different meanings based on different preparatory functions.
An address is used more than one time in the same code, and whether an alarm is issued is set
by bit parameter N0:32#6.
Table 3-1-3-1
Address Range Meaning
A, B, C Set by P175~179 Address of axis name
0.001~99999.999(mm/min) Feedrate per minute
F
0.001~500(mm/r) Federate per turn
G 00~99 Preparation function
H 01~99 Operator in G65
-9999.9999~9999.9999(mm) X vector between arc center and start point
I
0.06~25400(tooth/inch) Inch thread tooth quantity
K -9999.9999~9999.9999(mm) Z vector between arc center and start point
L 1~9999 Times of recalling a subprogram
,L -999999.99~999999.99(mm) Chamfering
M Miscellaneous function output, program executed flow,
Set by P204
subprogram call
N 0~99999 Serial number
O 0~99999 Program name
14
Chapter 3 Structure of an Part Program
一
0~99999.999(mm) Finishing allowance in G76
-999999.99~999999.99(mm) Taper in G90, G92, G94
Programming
Set by P205 Specify the spindle speed
S
00~04 Multi-gear output
T Set by P206 Tool function
Set by P175~179 Address of axis name
-999999.99~999999.99(mm) X increment
U -999999.99~999999.99(mm) X finishing allowance in G71, G72, G73
0.0001~99999.999 (mm) cutting depth in G71
-999999.99~999999.99(mm) X tool retraction distance in G73
Set by P175~179 Address of axis name
V
-999999.9~999999.99(mm) Y increment
Set by P175~179 Address of axis name
-999999.99~999999.99(mm) Z relative coordinate address
W 0~99999.999(mm) cutting depth in G72
-999999.99~999999.99(mm) Z finishing allowance in G71, G72, G73
-999999.99~999999.99(mm) Z tool retraction distance in G73
Set by P175~179 Address of axis name
X -999999.99~999999.99(mm) X coordinate address
0~9999.999(S) Specify pause time
Set by P175~179 Address of axis name
Y
-999999.99~999999.99(mm) Y coordinate address
Set by P175~179 Address of axis name
Z
-999999.99~999999.99(mm) Z coordinate address
All described in Table 3-1-3-1 are limited values for the CNC device, but the limit for the machine
tool is not described here. Therefore, users are required to refer to the manual provided by the
machine tool builder besides this one, in order to get a good understanding of the programming
limits before programming.
Note 1: Each word should not exceed 79 characters.
Note 2:The setting unit: ISC=0: maximum value, minimum value in MDI mode is +999999.99mm; ISC=1:
maximum value, minimum value in MDI mode is +99999.999mm.
15
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
The program is divided into main program and subprogram. In general, the CNC system is
actuated by the main program. If a code for calling the subprogram is executed in the main program,
the CNC system acts by the subprogram. When a code for returning to the main program is executed
in the subprogram, the CNC system will return to the main program and execute the following blocks.
The program execution sequence is shown in Fig.3-2-1.
M ain program S ubprogram
C om m and 1 C om m and 1
C om m and 2
一
C om m and 2
Programming
…… ……
C alling subprogram
……
C om m and N
…… ……
M 30 M 99 R eturning to
m ain program
Fig. 3-2-1
another subprogram. The subprogram called from the main program is called the one-level
subprogram. Up to 4 levels subprogram can be called in a program (Fig.3-2-2). The last block of a
subprogram is the Code M99 used for returning to the main program. After the return, the blocks
following the subprogram calling block are executed. (If the last block of a subprogram is ended with
M02 or M03, the system will also return to the main program and proceed to the next block, just as
ended with M99.)
When a main program is ended with M99, its execution will be repeated.
Main program Subprogram Subprogram Subprogram Subprogram
One call nest Two calls nest Three calls nest Four calls nest
Fig. 3-2-2 Quadruple subprogram nesting
16
Chapter 3 Structure of an Part Program
The Code can be called with a subprogram. The same subprogram can be called up to 9999
times consecutively or repeatedly.
O ; Subprogram number
……
…… Subprogram
……
一
M99;
Programming
Subprogram end
Fig. 3-2-1-1
Write the subprogram number behind the address O at the beginning of the subprogram, and
end the subprogram with Code M99 (M99 format as above).
The subprogram is called by the call code of the main program or subprogram. The format of the
subprogram is as follows:
M98 P L
N0020 …… ; N1020…… ;
N0040 …… ; N1040…… ;
Fig. 3-2-2-2
17
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
A subprogram can call another subprogram in the same way as a main program calls a
subprogram.
Note 1: An alarm is given when no subprogram number specified with address P is detected.
Note 2: Subprograms with number 90000~99999 are the system reserved programs. When users call such
kind of subprograms, the system can execute them but not display them.
Note 3: A subprogram can nest a quadruple.
The program begins with a program name, and ends with M02, M30 or M99 (see Fig. 3-2-2-2).
For the end code M02, M30 or M99 detected in program execution: If M02 or M03 is executed in a
program, the program is terminated, and the reset state is entered; M30 can be set by bit parameter
一
N0.33#4 to return to the program beginning, and M02 can be set by bit parameter N0.33#2 to return
to the program beginning. If M99 is executed in a program, the control returns to the beginning of the
Programming
program, and then executes the program repeatedly; if M99, M02 or M30 is at the end of the
subprogram, the control returns to the program that calls the subprogram and goes on executing the
following blocks.
Appendix
18
Chapter 4 Preparatory Function : G Code
Preparatory function is represented with G code and its following two digits, and describes its
belonging block’s meanings. G code is divided into two types:
Table 4-1-1
Classification Meaning
Non-modal G code It is valid only in the specified block
Modal G code It is valid till other code in the same group is commanded
一
(Example) G01 and G00 are G codes in the same group
G01 X _ ;
Programming
Z ___ ; G01 is valid
X ___ ; G01 is valid
G00 Z__; G00 is valid
Note 1: If modal Codes and non-modal Codes are in the same block, the non-modal codes take precedence. At
the same time, the corresponding modes are changed according to the other modal Codes in the same
block, but not executed.
19
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Note 2: For the G code with sign *, when the power is switched on, the system is in the state of this G code
(some G codes are determined by bit parameter NO:31#0~7).
Note 3: G codes in group 00 are non-modal.
Note 4: An alarm occurs if G codes not listed in this table are used or G codes that cannot be selected are
specified.
Note 5: G codes from different groups can be specified in a block, but 2 or more G codes from the same group
can not be specified in a block by principle. If no alarm occurs when two or more G codes in the same
group are in a block after parameter setting, the latter G code functions.
Note 6: G codes are represented by group numbers respectively based on their types. Whether the G codes of
each group are cleared after reset or emergency stop is determined by bit parameter NO:35#0~7 and
NO:36#0~7.
4.2 G code
一
2.Nonlinear interpolation positioning: The tool is positioned at the rapid traverse speed of each
axis respectively. The tool path is usually not straight.
End position
End position
Fig. 4-2-1-1
Explanation:
1. After G00 is executed, the system changes the current tool movement mode for
G00 mode. Whether the default mode is G00 (parameter value is 0) or G01
(parameter value is 1) after power-on is set by bit parameter No.031#0.
20
Chapter 4 Preparatory Function : G Code
2. With no positioning parameter specified, the tool does not move and the system
only changes the mode of the current tool movement for G00.
3. G00 is the same as G0.
4. The G0 speed of axes X, Y, Z, C and 4th is set by data parameters P88~P92.
Limitations:
The rapid traverse speed is set by parameter. The speed F specified in the G0 Code is the
cutting speed of the following machining blocks.
Example:
G0 X0 Z10 F800; Feeding at the speed set by system parameter
G1 X20 Z50; Using the feedrate of F800
The rapid positioning speed is adjusted by the keys F0%, 25%, 50%, 100% on the operation
panel (see fig. 4-2-1-2 ). The speed to which F0 corresponds is set by data parameter P93 and it is
一
common to all axes.
Programming
Fig. 4-2-1-2 Keys for rapid feedrate override
Note: Note the position of the worktable and workpiece to prevent tool collision.
Example: the tool rapidly positions to point B from point A, which relevant dimension is shown in
Fig.4-2-1-3.
Fig. 4-2-1-3
Programming:
G0 X20 Z0;(absolute value programming, diameter programming)
G0 U-22 W-18;(incremental value programming, diameter programming)
G0 U-22 Z0;(hybrid programming,diameter programming)
21
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1. X_ Y_ Z_ are the coordinates of the end point. Because they are related to the
一
Code path:
Appendix
Fig. 4-2-2-1
22
Chapter 4 Preparatory Function : G Code
一
Programming
X speed:
Z speed:
L=
Fig. 4-2-2-2
Note:
1. All code parameters are positioning parameters except for F code. The upper limit of federate F is set by
data parameter P96. If the actual cutting federate (after using federate override) exceeds the upper limit, it
is clamped to the upper limit (unit: mm/min). The lower limit of the federate F is set by data parameter P97.
If the actual cutting federate (after using federate override) exceeds the lower limit, it is clamped to the
lower limit (unit: mm/min).
2. The tool does not move when no positioning parameter is specified behind G01, and the system only
changes the mode of the current tool movement mode for G01. By altering the system bit parameter
NO:31#0, the system default mode at power-on can be set to G00 (value is 0) or G01 (value is 1).
The plane circular interpolation means that the arc path is finished according to the specified
rotation direction and radius (or circle center) from the start point to end point in the specified plane.
Since the arc path can not be determined only by the start point and the end point, other conditions
are required:
¾ Arc rotation direction(G02,G03)
¾ Circular interpolation plane(G17、G18、G19)
¾ Circle center coordinate or radius, which thus leads to two Command formats: Circle
center coordinate I, J ,K or radius R programming.
23
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Only the three points above are all determined, could the interpolation operation be done in
coordinate system.
The circular interpolation can be done by the following Codes to make the tool move along an arc,
as is shown below:
Arc in XY plane
G02 R_
G17 X(U)_Y(V)_ F_;
G03 I_J_
Arc in ZX plane
G02 R_
G18 X(U)_Z(W)_ F_;
G03 I_K_
Arc in YZ plane
一
G02 R_
G19 Y(V)_Z(W)_ F_;
G03 J_K_
Programming
Code path:
Appendix
Table 4-2-3-1
Item Content Code Meaning
G17 Arc specification on XY plane
1 Plane specification G18 Arc specification on ZX plane
G19 Arc specification on YZ plane
G02 CW rotation
2 Rotation direction
G03 CCW rotation
Two axes of X,Y End point coordinate in
Absolute value and Z axes workpiece coordinate system
3
End point’s position Two axes of X,Y Coordinate of end point
and Z axes relative to start point
Two axes of I,J and
Vector from start point Coordinate of circle center
K
4 to circle center relative to start point
axes
Arc radius R Arc radius
5 Feedrate F Arc tangential speed
24
Chapter 4 Preparatory Function : G Code
CW and CCW on XY plane (ZX plane or YZ plane) refer to the directions viewed in the
positive-to-negative direction of the Z axis (Y axis or X axis) in the right-hand Cartesian coordinate
system, as is shown in Fig. 4-2-3-3.
Y X Z
X Z Y
G17 G18 G19
一
X Z Y
Programming
G02 G02 G02
Y X Z
G17 G18 G19
Fig. 4-2-3-3
The default plane mode at power-on can be set by bit parameters NO:31#1 and #2.
The end point of an arc can be specified by parameter words X, Y and Z. It is expressed as
absolute values in G90, and incremental values in G91. The incremental values are the coordinates
of the end point relative to the start point. The arc center is specified by parameter words I, J, K,
corresponding to X, Y, Z respectively. Either in absolute mode G90, or in incremental mode G91,
parameter values of I, J, K are the coordinates of the circle center relative to the arc start point (for
simplicity, the circle center coordinates with the start point taken as the origin temporarily). They are
the incremental values with signs. See Fig. 4-2-3-4.
Note: the system supports X, Y, Z axis. But, it defaults to be G18 plane and X, Z axis after power on, its
command explanations are described based on the system supporting modes, and the user
executes operations according to a machine structure.
25
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
I, J, K are assigned with a sign according to the direction of the circle center relative to the start
point. The circle center can also be specified by radius R besides I, J and K.
G02 X_ Z_ R_ ;
G03 X_ Z_ R_ ;
1. Two arcs can be drawn as follows; one arc is more than 180°, and the other one is less
than 180°. For the arc more than 180°, its radius is specified by a negative value.
R=50
一
End point
Programming
2
Start point R=50
Fig. 4-2-3-5
3. For the arc equal to 360°, only I, J and K can be used for programming.
Appendix
26
Chapter 4 Preparatory Function : G Code
一
Fig. 4-2-3-6
Programming
The programs are shown below: the tool’s current point is at start point):
G02 X63.06 Z-20 R19.26 F300 ; or
G02 U17.81 W-20.0 R19.26 F300 ; or
G02 X63.06 Z-20 I18.929 K-3.554 F300 ; or
G02 U17.81 W-20.0 I18.929 K-3.554 F300 ;
Restrictions:
1. If addresses I, J, K and R are specified simultaneously in a program, the arc specified by R
takes precedence, and others are ignored.
2. If neither arc radius parameter nor the parameter from the start point to the circle center is
specified, an alarm is issued in the system.
3. A full circle can only be interpolated by parameters I, J, K from start point to circle center
rather than parameter R.
4. Pay attention to the setting for selecting the coordinate plane when the circular interpolation is
being done.
5. If X, Y, Z are all omitted (i.e., the start point and the final point coincides), and R is specified
(e.g. G02R50), the tool does not move.
Function: G40 is for dwell operation. The dwell per revolution in Feed per Revolution mode G99 can
be specified by bit parameter No.34#0.
27
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Explanation:
1. G04 is non-modal code, which is only effective in the current block.
2. If parameters X and P appear simultaneously, parameter X is effective.
3. An alarm occurs when the values of X and P are negative.
4. Dwell is not executed when neither X nor P is specified.
Function: for specifying the current workpiece coordinate system. The workpiece coordinate system
一
Explanation:
4. When different workpiece coordinate systems are called in a block, the axis to move is
positioned to the coordinate of the new coordinate system; for the axis not to move, its
coordinate shifts to the corresponding coordinate in the new coordinate system, with its actual
position on the machine tool unchanged.
Example: The corresponding machine tool coordinate for G54 coordinate system origin is (10,
10)
The corresponding machine coordinate for G55 coordinate system origin is (30,30)
When the program is executed in order, the absolute coordinates and machine coordinates of
the end point l are displayed as follows:
Table 4-2-6-1
28
Chapter 4 Preparatory Function : G Code
Workpiece
Workpiece Workpiece Workpiece
system 1
system 2 system 3 system 4
(G54)
(G55) (G56) (G57)
Workpiece
system 5
(G58)
一
Machine reference point
Programming
Fig. 4-2-6-1
As shown in Fig. 4-2-6-1, after power-on, the machine returns to machine zero by manual zero
return. The machine coordinate system is set up by the machine zero, which thus generates the
machine reference point and determines the workpiece coordinate system. The origins of these
workpiece coordinate systems can be specified by inputting the coordinate offset in MDI mode or by
setting data parameters P15~P44. These 6 workpiece coordinate systems are set up by the
distances from machine zero to their respective coordinate system origins.
Z
X
Workpiece zero offset
X
Machine zero
Fig. 4-2-6-2
In the above example, when block N10 is executed, the tool traverses rapidly to the position in
workpiece coordinate system G55 (X=100,Y=20). When block N20 is executed , the tool traverses
29
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
rapidly to the position in workpiece coordinate system G56, and the absolute coordinates shifts to the
coordinates (X=80.5,Z=25.5) in workpiece coordinate system G55 automatically.
Z: Z absolute coordinate which current tool nose is at the work piece coordinate system;
1. Once the coordinate system has been created, the positions of the following absolute
Programming
value codes all represent those on the coordinate system until G50 code is used again to
set the new coordinate system.
2. X direction is specified by diameter when the parameter is set to diameter programming,
X is specified by radius when the parameter is set to radius programming.
50
Appendix
Fig. 4-2-7-1
As shown in Fig. 4-2-7-1, after executing G50 X100 Z100 code, the work piece coordinate
system is set as the figure and the position of the tool nose at the current work piece coordinate
system is set. About the detailed coordinate setting methods, refer to the tool-setting operation,
Section 4.1.5.
Note 1: G50 setting a coordinate system is executed at state of the tool offset cancel. The absolute
coordinates after setting are G50’s setting value; the tool offset cancel is performed at the tool
offset cancel state: “T0100 G00 U0 W0” . Suppose that the current tool offset state is T0101.
An absolute coordinate display is divided into two conditions when G50 setting a coordinate
system is done at state of tool offset:
A. When a tool offset is executed (a movement command exists after tool offset), absolute
coordinates after setting are G50’s setting values as follows:
Table 4-2-7-1
30
Chapter 4 Preparatory Function : G Code
B. When a tool offset is not executed (without a movement command after tool offset) including tool
offset cancel and tool offset setting, absolute coordinates mirrors a tool offset value after
setting as follows:
Table 4-2-7-2
一
Program(executing the tool compensation by Absolute coordinate’s No. 01 tool compensation
coordinate offset mode displayed value value
Programming
G0 X0 Z0 X:0 Z:0
T0101 X:12 Z:23
X:-12
G0 X50 Z50 X:50 Z:50
Z:-23
T0100 X:38 Z:27
G50 X20 Z20 X:8 Z:-3
Table 4-2-7-3
G0 X0 Z0 X:0 Z:0
X:-12
T0101 X:12 Z:23
Z:-23
G50 X20 Z20 X:32 Z:43
Format:G17/G18/G19
Function: Select planes for circular interpolation, tool radius compensation, drilling or boring with
G17/G18/G19.
Explanation: It has no code parameter. G17 is the default plane at Power On. The default plane at
Power On can also be determined by bit parameters N0:31#1, and #2. The relation between
code and plane is as follows:
31
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
G17-------------XY plane
G18-------------ZX plane
G19-------------YZ plane
The plane keeps unchanged in the block in which G17,G18 or G19 is not specified.
Function: Linear interpolation can be specified after G31 in the same way as after G01. During the
execution of this code, if an external skip signal is input, the execution of the code is
Programming
interrupted and the next block is executed. When the machining end point is not
programmed, but it is specified using a signal from the machine, use the skip function. For
example, use it for grinding. The function is used for measuring the dimension of a
workpiece as well.
Explanation:
1. G31 is a non-modal G code only effective in the block in which it is specified.
2. When tool radius compensation is being executed, if G31 is specified, an alarm will occur.
Therefore, the tool radius compensation should be cancelled before G31.
Example:
The block after G31 is a single axis movement specified by incremental values, which is shown
in Fig. 4-2-9-1 :
Appendix
50
Skip signal is input here
Y
100
Actual motion
X Motion without skip signal
Fig. 4-2-9-1 The next block is the single-axis movement specified by incremental values
The next block after G31 is a single-axis movement specified by absolute values, which is shown
in Fig. 4-2-9-2:
32
Chapter 4 Preparatory Function : G Code
Y100
X200
Actual motion
X
Motion without skip signal
一
Fig. 4-2-9-2 The next block is a single-axis movement specified by absolute values
Programming
The next block after G31 is two-axis movement specified by absolute values, which is shown in
Fig. 4-2-9-3::
Y
Actual motion
X
100 200 300
Fig. 4-2-9-3 The next block is two-axis movement specified by absolute value
Note: The setting can be done by bit parameter NO:02#7 [skip signal SKIP, (0:1, 1:0)].
Note:
1. When the inch input is converted to metric input or vice versa, the tool compensation value must be
33
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
L
Appendix
Fig. 4-2-11-1
2. Corner R: after R, specify the radius for the corner rounding, which is shown below:
34
Chapter 4 Preparatory Function : G Code
Fig. 4-2-11-2
一
Restrictions:
1. Chamfering and corner rounding can only be performed in a specified plane, and these
Programming
functions cannot be performed for parallel axes.
2. If the inserted chamfering or corner rounding block causes the tool to go beyond the
original interpolation move range, an alarm is issued.
3. Corner rounding cannot be specified in a threading block.
4. When the values of chamfering and corner rounding are negative, their absolute values
are used in the system.
Code function: two axes simultaneously execute the thread cutting (their path is shown in Fig.
4-2-12-1) from the start point (the position before G32 runs) to the end point
specified by X(U), Z(W), Y(V). The code can execute the constant pitch straight
thread and taper thread, and end thread.
Explanation:
X(U):X absolute(U is an incremental programming code and is the tool movement
distance) coordinate value of thread cutting end point;
Z(W):Z absolute (W is an incremental programming code and is the tool movement
distance) coordinate value of thread cutting end point;
F:Metric pitch. Namely it is movement amount of the tool opposite to the workpiece when
the spindle rotates one rev, and its range: 0.001 ~ 500 mm, and it is a modal
parameter;
I :The tooth quantity/inch in the inch system, its range is 0.06 teeth/inch~~25400
teeth/inch, and it is a modal parameter;
J::Stroke in the short axis in thread run-out , its range(-99999999~99999999)x the least
input increment, its unit: mm with negative sign; if the short axis is X, its value is
specified with the radius; J value is a modal parameter.
K:Length in the long axis in thread run-out, its range: 0~99999999x the least input
35
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
increment, and its unit: mm./inch. If the long axis is X, its value is in radius without
direction; K is a modal parameter.
Q:it is an initial angle defined to an offset angle between the spindle rotation one rev and
starting point of thread cutting: 0~360 (unit: degree). Q is a non-modal parameter,
must be defined, otherwise it is 00.
Q rules:
1. Its initial angle is 0 if Q is not specified;
2. For continuous thread cutting, Q specified by its following thread cutting block except
for the first block is invalid, namely Q is omitted even if it is specified;
3. Multi threads formed by initial angle is not more than 65535;
4. Unit : 10 . Q180 is input in program if it offsets 1800 with spindle one rev. it can be used
to multi-head thread cutting. The system automatically counts the thread initial angle
一
Appendix
Fig. 4-2-12-1
The system uses long-short axis and its calculation method is shown below in Fig. 4-2-12-2.
36
Chapter 4 Preparatory Function : G Code
Fig. 4-2-12-2
一
Notes:
Programming
1. At the beginning and ending part of thread cutting, it will result in the incorrect lead due to
the lifting speed. Considering the factor, the length of commanded thread is longer than
that of the required thread, which is shown in Fig. 4-2-12-3.
2. During thread cutting, the feedrate override is not valid, and keeps at 100%.
3. During thread cutting, the spindle override is not valid, because once the spindle override is
changed, it will result in the incorrect thread due to lifting speed.
4. After the feed hold is executed, the system displays “Feed hold” and the thread cutting
continuously executes not to stop until the current block is executed completely; when the
continuous thread cutting is executed, the program run pauses after thread cutting blocks
are executed completely.
5. 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.
6. When the previous block is for thread cutting and the current block is the same, the system
does not test the spindle encoder signal per rev at starting when the thread is started.
7. The spindle speed must be constant. Thread errors occur when the spindle speed
changes.
8. An alarm occurs when F, I are in the same block.
9. J, K are modal. T J, K must not be specified in the block and is done in the last block in
continuous thread cutting. Their mode are cancelled when no thread cutting is executed;
10. There is no thread run-out when J, or J, K is omitted; K=J: a thread run-out is executed
when K is omitted;
11. There is no thread run-out when J=0 or J=0, K=0;
12. When K=0 or it is omitted, J=K: a thread run-out is executed.
Example 1:using G32 compiles a program shown in Fig. 4-2-12-3,and the thread pitch:
4mm.
37
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Fig. 4-2-12-3
Programming
Example: d1 = 3mm,d2 = 1.5mm, total cutting depth 1mm with two times cut-in.
G0 X100 Z50;(rapid positioning)
M03 S200;(start the spindle, the speed 200)
T0101; (call the thread tool)
G0 X49 Z3;(rapid positioning, the 1st time cut-in 1mm)
G32 W-74.5 F4.0;
G00 X55;
W74.5;
X48; (rapid positioning, the 2nd time cut-in 1mm)
G32 W-74.5 F4.0;
G00 X55
W74.5;
G0 X100 Z50 M05;
Appendix
M30;
Example: Use G32 code to program shown as Fig. 4-2-12-4. The long axis is Z axis, and
the thread lead is 3mm.
38
Chapter 4 Preparatory Function : G Code
一
Fig. 4-2-12-4
Programming
Example: d1 = 2mm,d2 = 1mm, total cutting depth 1mm(one-sided) with two times cut-in.
G0 X100 Z50;(rapid positioning)
M03 S200;(start the spindle, the speed 200)
T0101; (call the thread tool)
G00 X19 Z2; (rapid positioning, the 1st time cut-in 1mm)
G32 X49 Z-41 F3;
G00 X55;
Z2;
G0 X18; (rapid positioning, the 2nd time cut-in 1mm)
G32 X48 Z-41 F3;
G0 X55;
Z2;
G0 X100 Z50 M05;
M30;
39
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
F:Metric pitch. It is a pitch of the thread start point, its range: 0.001~500 mm, and it is a
modal parameter;
I :The tooth quantity/inch in the inch system, its range is 0.06 teeth/inch~~25400
teeth/inch, and it is a modal parameter;
J::Stroke in the short axis in thread run-out, with negative sign; if the short axis is X, its
value is specified with the radius; J value is a modal parameter.
K:Length in the long axis in thread run-out, its range: 0~99999999x the least input
increment, and its unit: mm./inch. If the long axis is X, its value is in radius without
direction; K is a modal parameter.
R:When R value’s increasing or reducing makes the pitch exceed its permissive value
or the pitch reduces to 0 or a negative value, an alarm occurs; simultaneously, when
the pitch change is big, acceleration/deceleration is slow during thread machining
maybe cause an mistaken pitch.
一
Q:it is an initial angle defined to an offset angle between the spindle rotation one rev and
starting point of thread cutting: 0~360 (unit: 1 degree). Q is a non-modal parameter,
Programming
40
Chapter 4 Preparatory Function : G Code
一
Programming
Fig. 4-2-13-1
Fig. 4-2-13-2
Notes:
1. At the beginning and ending part of thread cutting, it will result in the incorrect lead due to the
lifting speed. Considering the factor, the length of commanded thread is longer than that of the
41
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
thread cutting. Their modes are cancelled when no thread cutting is executed;
10. There is no thread run-out when J, or J, R is omitted; R=J: a thread run-out is executed when K is
omitted;
Programming
Example 1:using G34 compiles a program shown in Fig. 4-2-13-3,and the thread pitch:4mm.
Appendix
Fig. 4-2-13-3
Example: d1 = 3mm,d2 = 1.5mm, total cutting depth 1mm (one-sided) with two times cut-in.
G0 X100 Z50;(rapid positioning)
M03 S200;(start the spindle, the speed 200)
T0101; (call the thread tool)
G0 X49 Z3;(rapid positioning, the 1st time cut-in 1mm)
G34 W-74.5 F4.0;
G00 X55;
W74.5;
X48; (rapid positioning, the 2nd time cut-in 1mm)
G34 W-74.5 F4.0;
42
Chapter 4 Preparatory Function : G Code
G00 X55
W74.5;
G0 X100 Z50 M05;
M30;
Example: Use G34 code to program shown as Fig. 4-2-13-4. The long axis is Z axis, the thread lead
is 3mm.
一
Programming
Fig. 4-2-13-4
Example: d1 = 2mm,d2 = 1mm, total cutting depth 1mm with two times cut-in.
G0 X100 Z50;(rapid positioning)
M03 S200;(start the spindle, the speed 200)
T0101; (call the thread tool)
G00 X19 Z2; (rapid positioning, the 1st time cut-in 1mm)
G34 X49 Z-41 F3;
G00 X55;
Z2;
G0 X18; (rapid positioning, the 2nd time cut-in 1mm)
G34 X48 Z-41 F3;
G0 X55;
Z2;
G0 X100 Z50 M05;
M30;
Example: Use G34 code to compile 2-head thread shown programs as Fig. 4-2-13-5 and the
thread lead is 2mm.
43
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Fig. 4-2-13-5
Programming
Example: d1 = 3mm,d2 = 1.5mm, total cutting depth(one-sided) 1mm with two times cut-in.
G0 X100 Z50;(rapid positioning)
M03 S200;(start the spindle, the speed 200)
T0101; (call the thread tool)
G0 X49 Z3;(rapid positioning, the 1st head’s 1st time cut-in 1mm)
G34 W-74.5 F4.0Q0;
G00 X55;
W74.5;
G0 X49 Z3;(rapid positioning, the 2nd head’s 1st time cut-in 1mm)
G34 W-74.5 F4.0Q180;
G00 X55;
W74.5;
X48; (rapid positioning, the 1st head’s 2nd time cut-in 1mm)
Appendix
The reference point is a fixed point on the machine tool to which the tool can easily be moved by
the reference point return function.
There are 3 codes for the reference point, as is shown in Fig. 4-3-1. The tool can be
automatically moved to the reference point via an intermediate point along a specified axis by G28; or
44
Chapter 4 Preparatory Function : G Code
be moved automatically from the reference point to a specified point via an intermediate point along a
specified axis by G28.
(3 ) R ( R eferen ce p o in t)
(2 ) (4 )
(1 ) (5 )
B
( In term ed iate p o in t)
A C
( S tart p o in t fo r referen ce ( T arg et p o in t o f retu rn fro m
p o in t retu rn ) referen ce p o in t )
一
Fig. 4-3-1
Programming
Command format::G28 X(U)_ Z(W)_ ;
Function: the axis specified by the code moves to the middle point defined by X(U), Z(W) from start
point and then return to the machine zero. One or two axes can be commanded in the
code.
Table 4-3-1-1
Code Function
G28 X(U) X returns to machine zero and Z remains in the previous position
G28 Z(W) Z returns to machine zero and X remains in the previous position
G28 Remain in previous position(No. 166 alarm occurs)
G28 X(U) Z(W) X,Z simultaneously returns to the machine zero
Fig. 4-3-1-1
45
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Note 1: After the power supply is turned on, when the manual machine zero is not executed one time, and
G28 is code, the motion from the middle point to the machine zero is the same as the manual
Note 2: The two axes position at the respectively rapid traverse speed from A to B and from B to R, and so
Note 3: Do not use the function and the machine zero is not installed on the machine.
In some special roughing, due to the large cutting amount, the same machining path should be
repeated for many times. Then, the fixed cycle function can be used, that is one block can realize the
一
machining which is normally commanded by many blocks. Moreover, during repeated cutting, just the
corresponding numerical value is rewritten, which is very useful to simplify the program. The single
Programming
cycle codes include the outer/inter circle cutting cycle G90, thread cutting cycle G92 and end face
cutting cycle G94.
In the following explanatory figure, it is specified by diameter. When the radius specifies, replace
U with U/2, and X with X/2.
direction of path 2.
Explanation:
X, Z: Absolute coordinate value of cycle end point, unit: mm;
U, W: Coordinate of the cycle end point corresponding to the cycle start point, unit: mm;
R: Radius difference between the conical face cutting’s start point and its end point, unit:
mm;
F: The compound feedrate of X and Z axes in cycle, and it is a modal code.
46
Chapter 4 Preparatory Function : G Code
一
Fig. 4-4-1-1
47
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Programming
Fig. 4-4-1-4
Program:
O0001;
M3 S300;
G0 X130 Z5;
48
Chapter 4 Preparatory Function : G Code
一
R means rapid traverse and F means cutting feed in Fig. 4-4-2-1 and 4-4-2-2. In
Programming
increment programming, signs of numerical value after address U depend on X direction
of path 2, signs after address W by Z direction of path 1.
Explanation:
X , Z: Absolute coordinate value of cycle end point, unit: mm;
U, W: Coordinate of cycle end point corresponding to cycle start point, unit: mm;
R: Z coordinate vector of the end face cutting from start point to end point, unit: mm;
F: Compound feedrate of X and Z axes in cycle, a modal code
1(R)
U/2 2(F)
4(R)
3(F)
X/2 W
Fig. 4-4-2-1
49
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Programming
Fig. 4-4-2-2
According to the different tool start-up positions, there are four paths in G94 code, which is shown
in Fig. 4-4-2-3:
1) U<0,W<0,R<0 2) U<0,W<0,R>0(│R│≤│W│)
X X
W
R W
R
B
A B A
U/2
U/2
Appendix
C C D
D
Z Z
X X
W R W
R
C D C D
U/2 U/2
B A B A
Z Z
Fig. 4-4-2-3 G94 code path
50
Chapter 4 Preparatory Function : G Code
一
Format:
Programming
G92X(U)__ Z(W)__ J__K__ F__ L__ ; (Metric thread)
51
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Programming
Fig. 4-4-3-1
W Tool
4(R)
U/2 3(R)
1(R)
2(F)
X/2
Lx
Appendix
Lz
Fig. 4-4-3-2
Note:
1. Notes of thread cutting are the same as those of G32 thread cutting, refer to Section 4.2.13;
2. If the feed hold signal (dwell) is input in thread cutting cycle, the cycle continues until the
movement 3 completes, and then it stops;
3. The thread lead range and spindle speed limitation are same as those of G32 thread cutting;
4. When G92 processes the straight thread, the tool start-up point of G92 is same as the
thread end point in X direction, it will alarm because the inner or outer thread can not be
differed;
5. About the range of R value in G92, refer to Fig. 4-4-1-3;
6. When one of J, K is set to 0, or they are not specified, 45°thread run-out is performed;
7. In MDI mode, I address value can be input but its relevant value is not displayed. Do not run
G92 in MDI mode.
52
Chapter 4 Preparatory Function : G Code
Example: Firstly, the part program is edited by G90 code shown in Fig. 4-4-3-3, and G92
machines a thread.
一
Programming
Fig. 4-4-3-3
Program:
O0001;
M3 S300;
G0 X150 Z50;
T0101; (Outer turning tool)
G0 X130 Z5;
G90 X120 Z-110 F200; (C→D)
X60 Z-30;(A→B)
G0 X130 Z-30;
G90 X120 Z-80 R-30 F150;(B→C)
G0 X150 Z150;
T0202; (Thread tool)
G0 X65 Z5;
G92 X58.5 Z-25 F3; (Machining thread, cutting divided into 4 times)
X57.5 Z-25;
X56.5 Z-25;
X56 Z-25;
M5 S0;
M30;
53
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1) In the single fixed cycle, data X (U), Z (W) and R are modal values. When new X (U), Z (W)
and R are not specified , the previous code data are valid;
2)In the single fixed cycle, X (U), Z(W) and R are cleared when the system specifies the
non-modal G code besides G04 or other codes in Group 01 besides G90, G92 or G94;
3)There is only the block without motion codes after G90, G92 or G94, the system does not
repeatedly execute the fixed cycle.
(Example) N003 M3;
…
…
N010 G90 X20.0 Z10.0 F2000;
一
…
4) In the fixed cycle state, if M, S and T are commanded, then, the fixed cycle can process
with M, S and T functions at the same time. Like the following examples, when the fixed
cycle is cancelled by accident due to the codes of G00 and G01 after codeing M, S and T,
please code the fixed cycle again.
(Example) N003 T0101;
…
N010 G90 X20.0 Z10.0 F2000;
N011 G00 T0202;
N012 G90 X20.5 Z10.0;
To simplify programming, multiple cycle codes of the system includes axial roughing cycle G71,
Appendix
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 finishing path
and the cutting depth of roughing are specified , the system automatically counts the cutting path and
machining times.
Command format:G71u(Δd)R(e);
G71 P(NS) Q(NF) U(Δu) W(Δw)F S T ;
N(NS)G0/G1 X(U) .....;
........;
....F;
....S; blocks for finishing path
....T;
·
N(NF).....;
54
Chapter 4 Preparatory Function : G Code
Function: According to the finishing path, cutting depth, tool infeed and tool retraction amount
given by blocks NS~NF , the system automatically counts the path of roughing, which is
shown in 4-5-1-1. the tool cuts the workpiece in paralleling with Z. The code is applied to
the formed roughing of non-formed rod.
Explanation:
Δd: Cut depth every time without sign. Cut-in direction is determined by AA'(specified by
radius),its range: 0.001mm~99999.999 mm. It is a modal code and is valid till it is
specified next time. P463 can set it. The parameter value can be changed according to
the program code.
e:Tool retraction amount (specified by radius), unit: mm. Its value: 0mm~99999.999mm. it
is a modal code and is valid till it is specified next time. P464 can set it. The parameter
value can be changed according to the program code.
NS:Block number of the first block of finishing path.
一
NF:Block number of the last block of finishing path.
Programming
Δu : X finishing allowance’s distance and direction. Its value range: -999999.999 ~
999999.999mm.
Δw : Z finishing allowance’s distance and direction. Its value range: -999999.999 ~
999999.999mm.
F:cutting feedrate,its range: feed per minute 1mm/min~6000mm/min,feed per rev
0.001mm/r~500mm/r.
S:Spindle speed.
T:Tool, tool offset number.
ΔD
1. △d,△u are specified by the same U and different with or without being specified P, Q
codes.
2. A cycle movement is performed by G71 code specified by P and Q.
3. In G71 cycle, F, S and T functions are invalid among the sequence number NS~~NF
blocks, which can be ignored. However, F, S and T which are commanded before or in
55
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
G71 block are valid. F, S and T are only valid for G70 code cycle among sequence
number NS~~NF blocks.
4. With constant surface speed control selection function, G96 or G97 is invalid among
sequence number NS~~NF blocks, the codes before or in G71 are valid.
5. According to the different cutting direction, the G71 code path has the following four
situations (Fig. 4-5-1-2). Anyway, the tool cuts parallel with Z axis, signs of Δu and Δw are
shown below:
B A A B
U(+)..W(+) U(+)..W(-)
X
一
Z A' A'
Linear, arc
Programming
U(-)..W(+) U(-)..W(-)
B A A B
Fig. 4-5-1-2
6. The blocks of NS sequence number between A and A’ can include G00 or G01 code, but Z
coordinates of A and A' must be consistent.
7. X and Z axis must be monotone increasing or decreasing between A’ and B
8. In the blocks of sequence number from NS to NF, the subprograms can not be called.
9. Up to 100 blocks between NS and NF can be compiled. ERR137 alarm occurs when the
block quantity exceeds 100.
Appendix
Example: Use the compound fixed cycle G71 to edit the part program shown in Fig.4-5-1-3.
56
Chapter 4 Preparatory Function : G Code
一
Programming
Fig. 4-5-1-3
Program:
O0001;
N010 G0 X220.0 Z50; (Position to a safety position)
N020 M3 S300; (Spindle rotation CCW,speed: 300r/min)
N030 M8; (Cooling ON)
N040 T0101; (Import a roughing tool)
N050 G00 X200.0 Z10.0; (Rapid position, approach the workpiece)
N060 G71 U0.5 R0.5; (Cut depth 1 mm [diameter]; tool retraction[diameter] each
time)
N070 G71 P080 Q120 U1 W2.0 F100 S200; (Roughing a---d,X allowance 1mm,Z 2mm)
N080 G00 X40.0; (Position to X40)
N090 G01 Z-30.0 F100 S200;(a→b)
N100 X60.0 W-30.0;(b→c) Finishing path block a→b→c→d→e
N110 W-20.0;(c→d)
N120 X100.0 W-10.0;(d→e)
N130 G00 X220.0 Z50.0; (Rapid retract to the safety position)
N140 T0202; (Change No. 2 finishing tool,and execute its tool offset)
N150 G00 X200.0 Z10.0; (Position to the cycle start point commanded by G70)
N160 G70 P80 Q120; (Finishing a--- e)
N170 M05 S0; (Stop the spindle, speed)
N180 M09; (Stop cooling)
N190 G00 X220.0 Z50.0 T0100; (Rapid retract to the safety position, retrieve the reference tool,
clear tool offset)
N200 M30; (End of program)
57
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
G71 type II:the type Ⅱ is different from type 1, the outline contour along X axis does not need
monontonely increase or decrease. The contour can be machined, up to 20 groovings
when its shape along Z monontonely changes.
The first tool needs to be vertical, and Z axis can perform machining when Z direction is a
monotonous change’s shape.
一
Programming
Fig. 4-5-2-1
Because Z is the non-monotonously change, an alarm occurs, which is shown in Fig.
4-5-2-2.
Fig. 4-5-2-2
Command format: G71 U Δd R e
( ) ( );
G71 P(NS) Q(NF) U(Δu) W(Δw)F S T ;
N(NS) G0/G1 X(U) Z(W).;
........;
Appendix
....F;
....S; blocks for finishing path
....T;
·
N(NF).....;
58
Chapter 4 Preparatory Function : G Code
一
Fig. 4-5-2-3(G71 type Ⅱ machining path)
Programming
After the turning, the system should execute the tool retraction, the retraction amount is specified
by R(e)or No. 464 as Fig. 4-5-2-4.
Fig. 4-5-2-4
Note:
1. ns block is only G00, G01. When the workpiece is type II, the system must specify the two
axes X(U) and Z(W), and W0 must be specified when Z does not move.
2. The tool retraction point should be high or low as possible to avoid crashing the workpiece.
3. For type II, only X finishing allowance can be specified; when Z finishing allowance is specified,
the whole machining path offsets, and it can be specified to 0.
4. Other notes are consistent with those of G71 type I.
5. P0461 compound turning cycle G71,G72 are non-monotone allowable value (the plane 1st
axis), roughing direction’s axis of type I, type II is non-monotone change, an alarm occurs.
Sometime, a tiny non-monotone change’s shape is formed at case of automatically creating
programs, the parameter without a negative sign is set as a allowable value. So, even if a
non-monotone change’s shape is contained, G71, G72 can be executed.
6. P0462 compound turning cycle G71,G72 are non-monotone allowable value (the plane 2nd
axis), roughing direction’s axis of type I, type II is non-monotone change, an alarm occurs.
Sometime, a tiny non-monotone change’s shape is formed at case of automatically creating
programs, the parameter without a negative sign is set as a allowable value. So, even if a
non-monotone change’s shape is contained, G71, G72 can be executed.
7. P0477 compound turning fixed cycle G71, G72 start position’s idle stroke amount of cutting
feed, cutting feed distance of rapidly traverse to tool infeed points.
59
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Function: According to the finishing path, the finishing allowance, the path of tool infeed and retract
tool, the system automatically counts the path of roughing, the tool cuts the workpiece in
paralleling with X. The code is applied to the formed roughing of non-formed rod.
Explanation:
一
Δd:cutting depth every time, no sign. The cutting direction is depended on AB, the range is
0.001 mm~99999.999mm. It is a modal code, and it will be valid until it is commanded
Programming
next time. Moreover, according to program codes, P463 can also specify it and the
parameter value can also be rewritten according to the program code.
e: tool retraction amount, its unit: mm,its range: 0mm~99999.999mm. It is a modal code,
and it will be valid until it is commanded next time. Moreover, according to program
codes, P464 can also specify it and the parameter value can also be rewritten according
to the program code.
NS:the sequence number of the first block among the block group of finishing path.
NF:the sequence number of the last block among the block group of finishing path.
Δu : X finishing allowance distance and direction, and its range is -999999.999mm ~
999999.999mm.
Δw: Z finishing allowance distance and direction, and its range is -999999.999mm ~
999999.999mm。
F:cutting feedrate, its range is feed per minute 1mm/min~6000mm/min,feed per rev
0.001mm/r~500mm/r.
Appendix
S:spindle speed.
T:tool, tool offset number. ΔD
ΔU/2
ΔW
60
Chapter 4 Preparatory Function : G Code
Fig. 4-5-3-1
Explanation:
1. △d, △u are specified by the same W and different with or without being specified P, Q
codes.
2. A cycle movement is performed by G72 code specified by P and Q.
3. In G72 cycle, F, S and T functions are invalid among the sequence number NS~~NF blocks,
which can be ignored. However, F, S and T which are commanded before or in G71 block
are valid. F, S and T are only valid for G70 code cycle among sequence number NS~~NF
blocks.
4. With constant surface speed control selection function, G96 or G97 is invalid among
sequence number NS~~NF blocks, the codes before or in G72 are valid.
一
5. According to the different cutting direction, the G72 code path has the following four
situations (Fig. 4-5-3-2). Anyway, the tool cuts parallel with X axis, signs of Δu and Δw are
Programming
shown below:
6. The blocks of NS sequence number between A and A’ can include G00 or G01 code, but X
coordinates of A and B must be consistent.
7. X and Z axis must be monotone increasing or decreasing between B and C
8. In the blocks of sequence number from NS to NF, the subprograms can not be called.
9. Up to 128 blocks between NS and NF can be compiled. ERR137 alarm occurs when the
block quantity exceeds 128.
C C
U(+)..W(+).. U(+)..W(-).. Z
B B X
B A A B 直线和圆弧插补都可以
A
A
U(-)..W(+).. U(-)..W(-)..
C C
Example: Use the compound fixed cycle G72 to edit the part program shown in Fig. 4-5-3-3
61
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Programming
Fig. 4-5-3-3
Program:
PO0002;
N010 G0 X220.0 Z50.0; (Position to a safety position)
N015 T0202; (Change No. 2 tool and execute its tool offset)
N017 M03 S200; (Spindle rotation CCW,speed: 200)
N020 G00 X176.0 Z10.0;(Rapid position, approach the workpiece)
N030 G72 W2.0 R1.0; (Tool infeed 2mm,tool retraction 1mm)
N040 G72 P050 Q090 U1.0 W1.0 F100 S200; (Roughing a---d,X allowance 1mm,Z 2mm)
N050 G00 Z-55.0 S200 ;(Rapid position)
N060 G01 X160.0 F120; (Tool infeed to a)
Appendix
62
Chapter 4 Preparatory Function : G Code
一
Programming
Fig. 4-5-4-1
But, X external contour must be the monotonous increasing or the monotonous decreasing, and
the following contour cannot be machined:
Fig. 4-5-4-2
1) The first tool cutting need not the vertical: the machining can be executed when Z is the
monotonous change shape as follows:
63
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 4-5-4-3
2) After the turning, the system should execute the tool retraction, the retraction travel is specified by
R(e)or No. 464 as follows:
一
Fig. 4-5-4-4
Programming
3) The finishing allowance specifies only Z direction. When X is specified, the whole machining path
offsets and it is better to specified it to 0.
64
Chapter 4 Preparatory Function : G Code
一
Programming
Fig. 4-5-4-5(G72 type machining path)
Function: Use the cycle code, it can cut repeatedly along the path specified by NS~~NF blocks, and
the tool moves forward one time after cutting for each time. About the semi-finished
products of forging, molding and roughing, it can improve the high-efficiency machining.
Explanation:
Δi:X retraction distance and direction (radius value), unit: mm; modal codes are valid until
it is specified next time. Moreover, the parameter P467 can also set it and the
parameter value can be rewritten according to the program codes.
Δk:Z retraction distance and direction (radius value), unit:mm; modal codes are valid until
it is speicified next time. Moreover, the parameter P466 can also set it and the
parameter value can be rewritten according to the program codes.
D:Times of closed cutting, unit: time; mode codes are valid until it is speicified next time.
Moreover, the parameter P468 can also set it, and the parameter value can also be
rewritten according to the program codes.
NS:The sequence number of the first block which forms the finishing shape in block
group;
NF:The sequence number of the last block which forms the finishing shape in block
group;
65
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1. F, S and T functions in any blocks of NS~NF are invalid, but they are only valid when specified
in G73.
2. Δi,Δk,Δu and Δw are specified by address U and W, and the difference is whether it includes
specified P and Q.
3.Blocks between NS and NF in G73 can not call subprograms.
4. Use NS~NF blocks to realize cycle machining, please pay attention to codes of Δu, Δw, Δi and
Δk during programming. After the cycle completes, the tool returns to point A.
5. Δi orΔk is 0 in program, input U0 or W0; or set parameters P73 and P74 as 0; otherwise, it will
Appendix
Example: Use the closed cutting cycle G73 code to edit the machining program of the part
shown in Fig.4-5-5-2.
66
Chapter 4 Preparatory Function : G Code
一
Programming
Fig. 4-5-5-2 G73 code example
Programs are as below: (diameter specification, metric input, least blank dimension Ø86)
67
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Function: When the code is executed, the tool begins finishing from the start position along with the
finishing path of the work piece which is specified by NS~NF blocks. After roughing
commanded by G71, G72 and G73, G70 code can execute finishing.
Explanation:
NS: The sequence number of the first block which forms the finishing shape in block group;
NF: The sequence number of the last block which forms the finishing shape in block group;
G70 code path is decided by programming path of NS~~NF blocks. The corresponding
一
..
......
G71/G72/G73 P(NS) Q(NF) U(Δu) W(Δw) F S T ;
N(NS) .. ....
........
·F
·S
·T
·
·
·
N(NF)... ...
·
G70 P(NS) Q(NF) ;
·
Appendix
1. F, S and T functions are invalid which is specified by “NS” and “NF” in blocks G71, G72 and
G73; however, during executing G70, F, S and T are valid, which are specified by the
sequence number between “NS” and “NF” blocks.
2. When G70 cycle machining completes, the tool returns to the start point and reads the next
block.
3. In G70, the blocks between NS and NF can not call subprogram.
Example: see G71, G72 code examples.
Function: When the code is executed, the system can determine the running path of tool according
to the cutting end point set by the block (the point is determined by the coordinate value of
X and Z axes in the block), and by the values of e, Δi, Δk and Δd. In the cycle, the chips of
outer shape cutting can be processed; moreover, if X (U) and P are omitted, only Z axis
movement is deep hole cycle. About the path, it is shown in figure 4-5-7-1.
68
Chapter 4 Preparatory Function : G Code
Explanation:
e: The retraction amount range after cutting Δk along Z direction is 0~9999.999 mm;the
mode code is valid until the next specification. Moreover, P469 can also set it,
according to the program codes, the parameter value can also be rewritten, the radius
code;
X: X absolute coordinate value of the cutting end point B2, unit: mm;
U: X total movement amount from the cutting end point B2 to the start point A, unit: mm;
Z: Z absolute coordinate value of cutting end point B2, unit: mm;
W:Z total movement amount from the cutting end point B2 to the start point A, unit: mm;;
Δi: X cycle movement amount every time (without sign and radius value), unit: mm;
Δk:Z cutting movement amount every time (without sign), unit: mm;
Δd:X tool retraction of cutting to the end point(radius value, unit:mm;
一
F: Cutting feedrate. Its range: feed per minute 1mm/min~8000mm/min,feed per rev
0.001mm/r~500mm/r”.
Programming
Fig. 4-5-7-1
1. e and Δd are specified by address R, their difference is whether there is specified X (U),
that is to say, if X (U) is commanded, it is Δd, otherwise, it is e;
2. The cycle movement adopts G75 code specified by X (U). When only “G74 R(e)” is
executed, the cycle operation is not performed.
Example: Use G74 code to edit the part program shown in Fig.4-5-7-2.
69
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Programming
Fig. 4-5-7-2
Program:
O0001; (Program name)
G0 X100 Z50; (Rapid position)
T0101; (tool width 2mm)
M3 S500 G97; (Start the spindle, set speed to 500)
G0 X36 Z5; (Position at the start point of machining,X adds the tool width)
G74 R1 ; (code Z tool retraction amount)
G74 X20 Z-20 P2 Q3.5 F50;(X cycle movement amount every time 4mm,Z cycle
Appendix
Function: When the code is executed, the system determines the running path of the tool based on
the cutting end point set by blocks (the point is determined by X and Z coordinate values)
and by the values of e, Δi, Δk and Δd. Equivalent to G74, it interchanges X and Z, and the
chips of end face cutting can be performed in the cycle, and the external diameter can be
executed channel and cutting machining (Z, W and Q can be omitted). The path is shown
in Fig. 4-5-8-1.
70
Chapter 4 Preparatory Function : G Code
Explanation:
e: The retraction amount range after cutting Δi along X direction is 0~9999.999 mm;the
mode code is valid until the next specification. Moreover, P76 can also set it, according
to the program codes, the parameter value can also be rewritten, the radius code;
X: X absolute coordinate value of the cutting end point B2, unit: mm;
U: X total movement amount from the cutting end point B2 to the start point A, unit: mm
Z: Z absolute coordinate value of the cutting end point B2, unit: mm;
W: Z total movement amount from the cutting end point B2 to the start point A, unit: mm;
Δi:X cycle movement amount every time (without sign and radius value), unit: mm;
Δk:Z cutting movement amount every time (without sign), unit: mm;
Δd:Retraction amount of cutting to the end point, unit: mm;
F: Cutting feedrate.
G74 and G75 all can be used for cutting, grooving or hole machining and the tool can
一
automatically retract.
Programming
Fig. 4-5-8-1
1. e and Δd are specified by address R, their difference is whether there is specified X (U),
that is to say, if X (U) is commanded, it is Δd, otherwise, it is e;
2. The cycle movement adopts G75 code specified by X (U).
Example: Use G75 code to edit the part program shown in Fig.4-5-8-2.
71
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Program:
Programming
Function: The system can automatically calculate and perform the thread cutting cycle for many
times based on the data which are specified by the code address, and the code path is
shown as Fig. 4-5-9-1.
Explanation:
X, Z: The coordinate value of thread end point (thread bottom), unit: mm;
U, W: The coordinate value which the thread end point corresponding to the start point
of machining, unit: mm;
m: The repeated times 1~~99 for final finishing, the code value is mode. It is valid before
the next specification. Moreover, P472 can also set it, and the parameter value can
also be rewritten based on the program code. Finally, the finishing repeated times can
be 1~99;
r: Thread chamfering value. If take L as lead among the range of 0.1L~~9.9L, and 0.1L is
72
Chapter 4 Preparatory Function : G Code
taken as one level, then the two digits can be specified by 00~~99. If the code is
mode, it will be valid till the next specification. Moreover, P474 can also set it, and the
parameter value can be rewritten based on the program code. In G76 program, the
thread chamfering value can be set, then the cycle of thread cutting in G92 also
function.
a:The angle of tool nose, also the screw thread, can be selected from the 6 angles of
80°,60°,55°,30°, 29°and 0°.The original angel value is specified by two digits. The
code is mode, and it will be valid until the next specification. Moreover, parameter P78
can also be set, and the parameter value can also be rewritten according to the
program codes. The angels of tool nose can be selected from the 6 angles: 80°, 60°,
55°, 30°, 29° and 0°;
△ dmin : Minimum cutting amount, unit: mm, When one time cutting amount
(△D× N -△D× N − 1 )is less than △ dmin, △ dmin is taken as the cutting amount
一
of one time. The code is mode, and it will be valid until the next specification.
Programming
Moreover, it can also be set by P470, and the parameter value can be rewritten by the
program code. The setting range of the minimum cutting is 0 ~ 9999999, unit:
0.001mm;
d : Finishing allowance, unit: mm. The code is mode, and it is valid until the next
specification. It can also be set by P471, and the parameter value can be rewritten by
the program code. The setting range of finishing allowance is 0~~9999.999, unit:
0.001mm;
i: Radius difference of threading parts, unit: mm, i=0 is the straight thread of cutting;
k: Height of screw thread (distance in X direction is commanded by the radius value), unit:
mm;
△d:Cutting depth at the first time, radius value, unit: mm.
F: Thread lead, unit: mm;
I: Tooth quantity each inch.
Fig. 4-5-9-1
73
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 4-5-9-2
一
1. Use the data specified by P, Q and R, it can differ whether there is address X (U) and Z (W) or
not.
2. The cycle movement is commanded by G76, which is specified by address X (U) and Z (W).
Programming
3. In cycle machining, the tool is one-sided tool edge for machining, the load of tool nose can be
reduced.
4. The cutting amount at the first time is △d, and the N times is △D× N , and the cutting
amount is same in each time
5. Considering the code of each address, there are four figures of machining, which can also
process the internal thread. In the thread cutting shown in figure 4-5-8-1, only the feedrate is
specified by F code between B and C, the others are rapid feedrate.
In the cycle, the code of the increment is determined by the following methods:
U: It is determined by the path from direction A to C;
W: It is determined by the path from direction C to D;
R (I): It is determined by the path from direction A to C;
P (K): Positive;
Q(△D): Positive.
6. About the precautions of cutting thread, they are same as those of G32 cutting thread.
7. The specified thread chamfering value is also valid for G92 thread cutting cycle.
Appendix
68
60.64
Cutting point
62 zooming in
Fig. 4-5-9-3
74
Chapter 4 Preparatory Function : G Code
Program:
G00 X100 Z50; (position to the safety position)
M03 S300; (Start the spindle, specify the speed)
G00 X80 Z10; (Rapid position to the start point of machining)
G76 P011060 Q0.1 R0.2; (execute the thread cutting)
G76 X60.64 Z-62 P3.68 Q1.8 F6.0;
G00 X100 Z50; (return to the program’s start point)
M5 S0; (the spindle stop)
M30; (Program end)
一
1. The necessary parameters P, Q, X, Z, U, W and R must be commanded correctly in the specified
compound fixed cycle blocks
Programming
2. In the blocks of G71, G72 and G73, when P codes the sequence number, the sequence number
corresponding to the block must code G00 or G01 of G codes in group 01, otherwise, P/S
alarm occurs.
3. In MDI mode, G70,G71,G72,G73,G74,G75 and G76 codes can not be executed; even if
it is commanded, it can not be executed.
4. In blocks of G70, G71, G72 and G73, the range of the sequence number specified by P and Q
codes, the following codes can not be included.
★Group 01 codes except for G00,G01,G02 and G03;
★ M98/M99;
★G04 is valid in the finishing and the last tool of roughing.
5. During executing the compound fixed cycle (G70~~G76), the movement can be stopped and the
manual operation can be performed. However, when the fixed cycle in compound type should be
performed again, it must return to the position before the manual operation. If it restarts without
return, the manual movement amount can not be added in the absolute value, the following
movements will misplace, and the absolute value is same as the manual movement value.
6. During executing G70,G71,G72 and G73, the sequence number specified by P and Q can not
coincide in the program.
7. About the precautions of thread cutting specified by G76, the G32 thread cutting is same as G92
thread cutting cycle, and the specified chamfering value is also valid for G92 thread cutting cycle.
The actual tool nose is not one point, but a section of circular. Because the circular of tool nose,
there exist the errors between the actual machining result and the work piece program; the tool
compensation function C can compensate the tool radius to eliminate the above errors.
75
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 4-6-1
一
In the following Fig. 4-6-1-1-1, the tool nose A is a imaginary point, so it does not exist actually.
Therefore, it is called the imaginary tool nose (or the ideal tool nose). The actual tool nose radius
center is very difficult to set at the start position while it is very easy for the imaginary one, which is
shown in the following figure. It is same as the tool nose center; it does not need to consider the tool
nose radius when using the imaginary tool nose programming.
Appendix
Fig. 4-6-1-1-1 Tool nose radius center and imaginary tool nose
Note: About the machine with zero point, a standard point, such as the tool post center, can be taken as the
start point. The distance from the standard point to the center of tool nose radius or the distance of
imaginary tool nose is set to the tool offset value.
Set the distance from the standard point to the center of tool nose radius as the offset value, like
setting the radius center of tool nose as the start point; set the distance from the standard point to
the imaginary tool nose as the offset value, like setting the imaginary tool nose as the start point. To
set the offset value of tool, normally, measuring the distance from the standard point to the imaginary
tool nose is easier than measuring the distance from the standard point to the tool nose radius
center. Therefore, generally, the distance from the standard point to the imaginary tool nose is to set
the tool offset value.
When the center of tool post is taken as the start point, the tool offset value is shown in Fig.
4-6-1-1-2:
76
Chapter 4 Preparatory Function : G Code
OFX OFX
X tool X tool compensation
compensation
OFZ OFZ
Z tool compensation Z tool compensation
Set the distance between the standard point and Set the distance between the standard point and the
the tool nose center to the compensation value tool nose center to the compensation value
一
Programming
The start point is at the tool nose center The start point is at the imaginary tool nose center
Fig. 4-6-1-1-2 Setting the tool offset value under condition of the center of tool post as the standard point
Fig. 4-6-1-1-3 and Fig. 4-6-1-1- 4 respectively take the tool paths programmed by the tool nose
center and the imaginary tool nose. The left figure is without the tool nose radius compensation,
and the right figure is with the tool nose radius compensation.
If the tool nose radius compensation is not used, If the tool nose radius compensation is used,
the tool nose center path is same as the it achieves the cutting precisely.
programmed path.
Without the tool nose radius compensation, Use the tool nose radius compensation,
the imaginary tool nose path is same as and achieve the cutting precisely.
the programmed path.
77
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 4-6-1-1-4 Tool path during the imaginary tool nose programming
In the actual machining, due to the machining requirement of the work piece, the different
一
positional relations exist between the tool and the work piece. From the center of the tool nose, the
direction of the assumed tool nose is determined by that of the tool during cutting.
Programming
The assumed tool nose number defines the positional relation between the assumed tool nose
point and the tool nose circular center. Number of assumed tool nose totally has 10 (0~~9), and
represents 9 directions of the positional relations. Before the tool nose radius compensation, the
number of assumed tool nose must set with the compensation amount in the tool nose radius
compensation memorizer. The direction of assumed tool nose can be selected from the eight
specifications in the following figures. These figures illustrate the relation between the tool and the
start point, and the end point of arrow is the assumed tool nose.
Appendix
78
Chapter 4 Preparatory Function : G Code
一
Programming
Fig. 4-6-1-2-1 imaginary tool nose number of rear tool post coordinate system
79
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Programming
Appendix
Fig. 4-6-1-2-2 imaginary tool nose number of front tool post coordinate system
When the tool nose center complies with the start point, the tool nose number to 0 or 9 is set.
Correspond to the compensation number of each tool and T sets the assumed tool nose number
of each tool.
80
Chapter 4 Preparatory Function : G Code
Fig. 4-6-1-2-3 Tool nose center consistent with the start point
一
Programming
Fig. 4-6-1-3-1 Compensation value of tool nose radius
Before compensating the tool nose radius, the following compensation values should be set: X, Z,
R and T. Among them, X and Z respectively is the tool offset value from the tool post center to the
tool nose in X and Z axis; R is the radius compensation value of assumed tool nose; T is the
assumed tool nose number. Value of each group corresponds to one tool compensation number,
and set in the interface of tool compensation. About the details, refer to Section Operation,
Rewriting and Setting the Tool Compensation Values.
The details are shown in the following table 4-6-1-3-1:
Table 4-6-1-3-1 Display page of the system tool nose radius compensation values
No. X Z R T
001 0.020 0.030 0.020 2
002 0.060 0.060 0.016 3
.. .. .. .. ..
.. .. .. .. ..
.. .. .. .. ..
015 0.030 0.026 0.18 9
064 0.050 0.038 0.20 1
When the tool nose radius compensates, the relative position of tool and work piece should be
specified. In the coordinate system of rear tool post, when the tool center path is at the right side of
81
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
the programmed path (part path) forward direction, which is called as the right tool compensation,
which can be realized by G42 code; when the tool center path at the left side of the programmed path
(part path) forward direction, it is called as the left tool compensation, which can be realized by G41
code; and the front tool post is opposite. About the relative position of the tool and the work piece in
the codes G40, G41 and G42, refer to the table 4-6-1-4-1:
Table 4-6-1-4-1
Code Function Note
4-6-1-4-2
G42 coordinate system, the tool nose radius compensation (left) in the
front tool post coordinate system
Programming
Z
Tool
G42:Look along G41:Look along
the tool the tool
movement movement
direction, the direction, the
tool is at the tool is at the
right side of left side of
work piece work piece.
Work piece
X axis X axis
Appendix
G 42 G 41
G 42
G 42 G 41 G 41
Z axis Z axis
G 42 G 42 G 41
G 41
G 42 G 41
Fig. 4-6-1-4-1 Tool nose radius compensation in rear tool post coordinate system
82
Chapter 4 Preparatory Function : G Code
Z
X
Tool
Workpiece
一
Programming
Fig. 4-6-1-4-2 Tool nose radius compensation in front tool post coordinate system
Compensate the tool nose radius; the corners of the former and the latter programmed path are
different, and the tool compensation paths are different. Therefore, the point of intersection of two
movement blocks at the side of work piece is greater or is just 180°, it is called as “inside”. And the
angle is between 0~180°, it is “outside”.
W o rk p ie c e s id e
Inside α
P ro g ra m m e d p a t h
α ≥ 1 80°
α
W orkpiec e side
0 °≤α<180 °
83
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Command format:
Note 2: After setting the tool compensation, G02 or G03 code can follow G41/G42.
Generally, realizing the tool radius compensation requires three steps: setting, executing and
cancelling the tool compensation.
α
Appendix
r
G42
C
S
L
Tool center path Programmed
path
84
Chapter 4 Preparatory Function : G Code
一
Programming
(c) Tool movement around the outside of an acute angle (α<90°)
L r
L r α
α
Programmed path
S L
S L Tool nose
center path Tool
nose center path Programmed path
(d) Tool movement around the outside linear→linear at an acute angle less than 1 degree(α<1°)
L
r
Less than 1°
85
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
After setting the tool compensation, the offset path before cancelling the tool compensation is
called executing the tool compensation.
About the details of the tool compensation, it is shown in Fig.4-6-2-1-2 and 4-6-2-1-3:
Programmed path
一
S
L
S Programmed
C
Tool center
Programming
intersection
path
L path L Intersection
Tool center path
α α
Programmed path
86
Chapter 4 Preparatory Function : G Code
s
Tool center path
r
Compensation vector
Programmed path
r
s
Consider the following
situations through the
一
same method:
(ii)Arc--- straight line
Programming
(iii)Straight line---Arc
(iv)Arc---Arc
(b) Tool movement around the outside corner at an obtuse angle (180°>α≥90°)
a
a
C Programmed path C r
r
r
r L
Tool nose center path Programmed path
L S L
S L
Tool nose center path
87
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
L
L
S G42 S G42
L L
a Programmed path a
r L r
L
Tool nose center path
S L
S L Programmed
Tool nose
path
一
center path
Programming
(d)Special situations
Appendix
88
Chapter 4 Preparatory Function : G Code
2) The center of arc is identical with the start position or the end position
一
Fig. 4-6-2-1-3 executing tool compensation ②
Programming
3. Cancelling the tool compensation
In the compensation mode, the block can satisfy any conditions as below, the system enters the
compensation cancel mode, and the movement of block is called cancelling tool compensation.
(a) Use code G40, C tool compensation is cancelled, and during the execution of tool compensation
cancel, the circular codes (G02 and G03) are not allowed to use; otherwise, it alarms (NO.34)
and the tool stops.
(b) The tool radius compensation number is specified to 0.
The details of tool compensation cancel are shown in the following figures:
α α
Programmed path
r:Compensation value r
Tool center path G40 G40
C
L S S
L L
Programmed path
89
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
L G42 S
G42 S L
L r
r α
α
Programmed path L
L
L
Tool nose center path L Programmed
path Tool center path
(d)Tool movement around the outside linear→linear at an acute angle less than 1 degree
(α<1°).
L
S To ol cen te r pa th
Appendix
L
r P r og ra mm e d p a th
G4 2
α >1°
G 40
Tool radius compensation G codes (G41 and G42) determine the direction of compensation;
signs of compensation amount are as below:
Table 4-6-2-2-1
Sign
+ -
G code
G41 Left side compensation Right side compensation
G42 Right side compensation Left side compensation
90
Chapter 4 Preparatory Function : G Code
In the special situation, the direction can be changed in the compensation mode, but it’s not allowed
to change at the block beginning. Once the compensation direction changes, the concept of inside
and outside doesn’t exit. Assume the following compensation amount as the positive.
L S
Tool center path
Tool center path
一
(iii)Arc---straight line (iv)Arc---arc
G42
Programming
Tool center path G 42 Tool center path
r L C
G41 r
r
C r
C Programmed
Programmed path G41
S path
S
If compensation is executed normally without an intersection, G41 and G42 change the offset
direction from block A to B. If the intersection of offset path is not required, the start point of block B
is vertical to the vector of block B.
i ) Linear----linear
91
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
ii ) Linear----circular
In the compensation mode, if the following codes are specified, the compensation vector will be
cancelled temporarily. Then, the compensation vector will automatically recover. Then, it is
different from the compensation cancel mode, the tool can directly move from the intersection to
the code point of cancelling compensation vector. After the compensation mode recovers, the tool
moves to the intersection directly.
1. Setting a coordinate system(G50)
N1 T0101;
N2 G42 G00 X0 Z0;
N3 G01 U-30 W30;
N4 U30 W30;
N5 G50 X0 Z60;
N6 G01 U-30 W30;
N7 G01 U30 W30;
Appendix
N8 G00 X0 Z0;
N8 M30;
S(Intersection)
S (Intersection)
r L
r
L L
N9
Tool center path N5 N6 SS N8
Note: SS represents the point which the tool stops two times in a single block
2. G90, G92 and G94 fixed cycle, G71~G76 fixed cycle, thread codes G32/G33/G34.
92
Chapter 4 Preparatory Function : G Code
N1 T0101
一
N2 G0 X100 Z100
N3 G0 X0 Z0
Programming
N4 G42 G90 X-20 W-50 F500 (Cancel the tool compensation temporarily)
N5 G0 X50 Z50 (Recover the tool compensation)
N6 G0 X100 Z100
N7 M30
Note: G90/G94 tool compensation cancel temporarily will realize only when G41/G42 shares with the
same block of G90/G94; otherwise, the system will automatically process G90/G94 as the normal
tool offset compensation. About the details, refer to G90/G94 tool nose radius compensation.
N1 T0101;
N2 G0 X0 Z0;
N3 G01 U-30 W20 F500;
N4 G42 U0;
N5 U30;
N6 U20 W20;
N7 G40 G0 X100 Z100;
N8 M30;
93
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
N3 T0101;
N4 G0 X100 Z100;
N5 G41 G01 X0 Z0;
N6 U-30 W20;
N7 G04 X5;
N8 W30;
N9 G40 G0 X100 Z100;
N10 M30;
Fig. 4-6-2-4-2 Non-movement codes during tool compensation
the vector of the movement direction in the former block, and the vector will be cancelled in
the next movement code.
Programming
N3 T0101;
N4 G0 X100 Z100;
N5 G41 G01 X0 Z0 F500;
N6 U-30 W20;
N7 G04;
N8 G0 X100 Z100;
N9 M30;
Fig. 4-6-2-4-3 Non-movement codes during cancelling tool compensation
The tool overcut is called as “interference”. The interference check of tool compensation can
check the situation of tool overcut in advance, that is to say, even if the overcut does not occur, the
Appendix
94
Chapter 4 Preparatory Function : G Code
一
(1) One smaller depth is less than compensation amount.
Programming
Fig. 4-6-2-5-3 Tool compensation interference example ①
Program:
N1 T0101; (R<=10)
N2 G0 X0 Z30;
N3 G42 G01 X50 Z0 F500;
N4 U50;
N5 W20;
N6 U10;
N7 W20;
N8 U-10;
N9 W20;
N10 G40 G0 X0 Z30;
N11 M30;
In the above programs, the tool nose radius compensation value of #01 tool is R<=10; when
R>10, the system will alarm the interference because the program direction in block B is
opposite with that of the tool radius compensation.
95
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Program :
N1 T0101; (R<=25)
一
N2 G0 X0 Z30;
N3 G42 G01 X50 Z0 F500;
Programming
N4 U50;
N5 W20;
N6 U10 W10;
N7 U-10 W10;
N8 W20;
N9 G40 G0 X0 Z30;
N10 M30;
In the above programs, the tool nose radius compensation value of #01 tool is R<=25; when
R>25, the system will alarm the interference because the program direction of block c is
opposite with that of the tool radius compensation path.
1. About each cycle path, the tool nose center path is generally parallel with the programmed
Appendix
path.
① G90
② G94
96
Chapter 4 Preparatory Function : G Code
一
Fig. 4-6-2-6-2 G94 tool nose radius compensation
Programming
(b) G41 or G42 mode is used, and the offset direction is shown below.
In the finishing cycle (G70), the system can realize the tool nose radius compensation, and the tool
center path moves along with the finishing path and automatically offsets one compensation value. To
realize G70 tool nose radius compensation, G70 can share with G41/G42 for execution or specify
G41/G42 in finishing cycle block.
97
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
used rather than the circular codes (G02 or G03); otherwise, it will alarm (NO.34).
5. Before calling the subprogram, namely, before executing M98, the system must be in the
Programming
compensation cancel mode. After entering the subprogram, the offset can start, but it must be
in the compensation cancel mode before returning the main program (before M99); otherwise,
an alarm occurs.
6. If the compensation value (R) is negative, G41 and G42 interchange in the program. If the tool
center moves along the outside of work piece, the tool compensation will move along with the
inside, vise versa. Because the compensation value code changes, the tool nose offset
direction also changes, but the assumed tool nose direction remains unchanged. Do not
change at random.
7. Generally, in compensation cancel mode or tool change, the compensation value should be
changed. If the value is rewritten in the compensation mode, only new compensation value is
valid after tool change.
8. When the tool compensation programs are executed, mistake or alarm occurs due to some
Appendix
reasons; while G codes remain same, for example, G41 is still G41, G42 is G42; if it requires
cancelling the tool compensation, it can input G40 to run in MDI mode, then the tool
compensation can be cancelled.
Machine the parts shown in the following Fig. 4-6-4-1, the part dimension is shown in the figure,
the radius of tool nose R=1, and it is the first tool.
98
Chapter 4 Preparatory Function : G Code
一
Programming
Fig. 4-6-4-1 Tool compensation C example ①
Program:
O0001;
N010 G0 X100.0 Z100.0; (Position to a safety position)
N020 M3 S300; (Spindle rotates CCW, speed:300r/min)
N030 M8; (Cooling ON)
N040 T0101; (Change No.1 tool and execute its tool compensation)
N050 G00 X10.0 Z10.0; (Rapid position, approach to the work piece)
N060 G42 G1 Z0 F80; (Start to execute the tool nose radius compensation)
N070 G3 X30 Z-10 R10;
N080 G1 Z-17.639;
N090 G2 X32.111 Z-22.111 R10;
N100 G1 X33.803 Z-23.803;
N110 G3 X35.914 Z-28.275 R14;
N120 G1 Z-35;
N130 X50;
N140 G40 G0 X80 Z80; (Cancel the tool nose radius compensation)
N150 M09; (Cooling OFF)
N160 G00 X100.0 Z100.0 T0200; (Rapid return to the safety position, change the referebce
tool and clear the tool offset)
N170 M30; (Program end)
Machine the parts which are shown in Fig. 4-6-4- 2, the part dimension is shown in the figure, the
radius of tool nose R=1, and it is the first tool.
99
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Programming
O0002
NI G0 X100 Z100;
N2 M3 S800;
N3 M8;
N4 T0202;
N5 G0 X70 Z10;
N6 G71 U3 R1;
N7 G71 P8 Q14 U0 W0 F120;
Appendix
N8 G0 X10;
N9 G1 Z-10 F80;
N10 G02 X30 W-10 R10;
N11 G1 X38;
N12 Z-30;
N13 G02 X48 W-5 R5;
N14 G1 X60;
N15 G0 X100 Z80;
N16 M3 S300;
N17 T0101;
N18 G0 X70 Z10;
N19 G42 G70 P8 Q14; (G42 and G70 share the same block to execute the tool nose radius
compensation)
N20 G40 G0 X80 Z50; (Cancel the tool nose radius compensation)
N21 G0 X100 Z100 T0200;
N22 M30;
100
Chapter 4 Preparatory Function : G Code
Machine the parts shown in Fig. 4-6-4-3 , the part dimension is shown in Fig. 4-6-4-3, the radius of
tool nose R=1, and it is the first tool.
一
Programming
Fig. 4-6-4-3 Tool compensation C example ③
O0003
N1 G0 X100 Z100;
N2 M3 S800;
N3 M8;
N4 T0101;
N5 G42 G0 X70 Z10; (Start to execute tool nose radius compensation)
N6 G90 X45 Z-30 R-5 F80;
N7 G40 G0 X80 Z80; (Cancel tool nose radius compensation)
N8 G0 X100 Z100 T0100;
N9 M30;
Some function which is achieved by one group of codes can store in the memorizer in advance,
and one code represents these functions. In the programs, as long as the representative codes are
written, these functions can be realized. This group of codes is called as the user macro body, and
the representative codes are called as “the user macro code”. The user macro body sometimes is
abbreviated as the macro. And the user macro code is also called as the macro calling code.
101
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 4-7-1-1
Variables can be used in custom macro body. Operation can be performed between them and
they can be assigned values by macro codes.
一
In the user macro, the normal CNC codes can be used, and the variable, calculation and transfer
codes can also be used.
The user macro the program starts with a program, and ends with M99.
Appendix
The variable can code the parameter value of the user macro body. The variable value can be
set by the main program assignment or by LCD/MDI , or assign the count value during executing the
user macro body.
Many variables can be used and they are differed by variable numbers.
(1) Expression of variables
The variable number behind # can indicate the variable, the format is shown below:
#i (i = 1, 2, 3, 4 ……)
(Example) #5, #109, #1005
(2) Quotation of variables
102
Chapter 4 Preparatory Function : G Code
2. Variable types
According to the different variable numbers, the variables can be differed from the common and
the system variables, and their purposes and characteristics are different.
(1)Null variable#0: (the variable is always null and no value is assigned to the variable)
一
(2)Local variables #1~#50:They can only be used for data storage in a macro, such as the
results of operations. whether the local variables are cleared or not after reset is set by bit
Programming
parameter NO:52#7. When a macro program is called, arguments are assigned to local
variables.
(3)Common variable #100~#199,#500~#999:whether to clear the common variables
#100~#199 is set by NO:52#6 after reset or emergency stop.
The common variable is common in the main program and in each user macro called by the main
program, that is to say, variable #i used by some user macro and #i used by other macro programs
are same. Therefore, the common variable #i of calculation result in some macro can be also used in
other macro programs.
The purpose of the common variable, which is not stipulated in the system, can be freely used by
the user.
Table 4-7-2-1
(4)System variables: They are used for reading and writing a variety of CNC data, which are
shown below:
1) Interface input signal #1000 --- #1015 (read signal input to system from PLC by bit, i.e. G
signal)
#1032 (read signal input to system from PLC by byte, i.e., G signal)
2) Interface output signal #1100 --- #1115 (write signal output to PLC from the system by bit,
i.e. F signal)
#1132 (write signal output to PLC from the system by byte, i.e. F
signal)
3) Tool length compensation value #1500 --- #1755 (read-write)
4) Length wear compensation value #1800 --- #2055 (read-write)
5) Tool radius compensation value #2100 --- #2355 (read-write)
103
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1)Modal message
Table 4-7-2-2
Note 1: P code indicates the current selected additional workpiece coordinate system.
Note 2: When G#4002 code is being executed, the value obtained in #4002 is 17, 18 or 19.
Note 3: The modal message can be read but not written.
一
coordinate
#5016 X block end position (ABSKP)
system
#5017 Y block end position (ABSKP)
allowed
Programming
#5018 Z block end position (ABSKP)
#5019 The 4th axis block end position (ABSKP)
#5021 X tool length compensation value
#5022 Y tool length compensation value
#5023 Z tool length compensation value
#5024 The 4th axis block end position
unallowed
#5026 X servo position compensation
#5027 Y servo position compensation
#5028 Z servo position compensation
#5029 The 4th axis servo position compensation
Note 1: ABSIO: The end point coordinates of the last block in workpiece coordinate system.
Note 2: ABSMT:The current machine coordinate system position in machine coordinate system.
Note 3: ABSOT:The current coordinate position in workpiece coordinate system.
Note 4: ABSKP:The effective position of the skip signal of block G31 in workpiece coordinate system.
105
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
… …
#5234 G59 workpiece zero offset value of 4th axis
#7001 G54 P1 workpiece zero offset value of 1st axis
… …
#7004 G54 P1 workpiece zero offset value of 4th axis
#7006 G54 P2 workpiece zero offset value of 1st axis
… …
#7009 G54 P2 workpiece zero offset value of 4th axis
#7246 G54 P50 workpiece zero offset value of 1st axis
… …
#7249 G54 P50 workpiece zero offset value of 4th axis
4.Local variables
Table 4-7-2-5
Argument Local variable
Programming
Note 1: The assignment is done by an English letter followed by a numerical value. Except letters G, L, O, N,
H and P, all the other 20 letters can assign values for arguments. Each letter from A-B-C-D… to X-Y-
Z can assign a value once and the assignment needs not to be performed in alphabetical order. The
addresses that assign no values can be omitted.
Note 2: G65 must be specified before any argument is used.
Appendix
106
Chapter 4 Preparatory Function : G Code
一
#2=#1 #2=#1
↓ ↓
Programming
#2=<空> #2=0
#2=#1*5 #2=#1*5
↓ ↓
#2=0 #2=0
#2=#1+#1 #2=#1+#1
↓ ↓
#2=0 #2=0
c. Conditional expression
<Null > in EQ and NE are different from 0.
Table 4-7-2-7
#1=< vacant > #1=0
#1 EQ #0 #1 EQ #0
↓ ↓
Established Not established
#1 NE #0 #1 NE #0
↓ ↓
Not established Established
#1 GE #0 #1 GE #0
↓ ↓
Established Established
#1 GT #0 #1 GT #0
↓ ↓
Not established Not established
107
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Fig. 4-7-2-2
Programming
When G65 is specified, the user macro specified by address P is called, and the data is transferred to
the user macro body by arguments.
Format:
Behind G65 code, P is used to specify custom macro number, L is used to specify custom macro
Appendix
calling times, and the arguments are used to transfer data to custom macro.
If repetition is needed, specify the number of repeats behind L code from 1-9999; if L is omitted,
the default time is 1.
If it is specified by arguments, the values will be assigned to the corresponding local variables.
Note 1: If the subprogram number specified by address P is not retrieved, an alarm (PS 078) is issued.
Note 2: No. 90000~99999 subprograms are the system reserved programs, if such subprograms are called,
they can be executed, but the cursor will keep staying at block N65 and the program page displays
the main program all the time. (The subprogram can be displayed by setting bit parameter No: 27#4)
Note 3: Up to five macro calls are nested.
1.General format:
G65 Hm P#i Q#j R#k ;
m: 01~99 indicate functions of operation code or transfer code
#i: Variable name for saving the operation result.
#j: Variable name 1 for operation, or a constant which is expressed directly without #.
#k: Variable name 2 for operation,or a constant.
108
Chapter 4 Preparatory Function : G Code
Meaning: #i = #j ○ #k
└───────Operation sign, specified by Hm
一
G65 H11 Logic addition (OR) #i = #j OR #k
Logic multiplication
G65 H12 #i = #j AND #k
Programming
(AND)
G65 H13 Exclusive OR #i = #j XOR #k
G65 H21 Square root #i = # j
2.Operation code:
1)Variable assignment:# I = # J
G65 H01 P#I Q#J;
(Example)G65 H01 P#101 Q1005; (#101 = 1005)
G65 H01 P#101 Q#110; (#101 = #110)
G65 H01 P#101 Q-#102; (#101 = -#102)
109
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
3)Subtraction operation:# I = # J- #K
G65 H03 P#I Q#J R# K;
(Example)G65 H03 P#101 Q#102 R#103; (#101 = #102-#103)
10)Absolute value:# I = | # J |
G65 H22 P#I Q#J ;
(Example)G65 H22 P#101 Q#102 ; (#101 = | #102 |)
110
Chapter 4 Preparatory Function : G Code
一
Note 1: The unit of angular variable is degree.
Note 2: If the required Q and R are not specified in operations above, their values are 0 by default.
Note 3: trunc: rounding operation, the decimal portion is abandoned.
Programming
3.Jump code
1)Unconditional jump
G65 H80 Pn; n:Sequence number
(Example)G65 H80 P120;(jump to N120)
111
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Note: The sequence number can be specified by variables. Such as G65 H81 P#100 Q#101 R#102;if the
conditions are satisfied, it goes to the block of which the number is specified by #100.
Example:
G65 H01 P#101 Q3;
G65 H01 P#102 Q5;
一
Example:
G65 H99 P1; Macro variable 3001 alarm
G65 H99 P124; Macro variable 3124 alarm
The operations listed in the following table can be executed on variables. The expressions on the
right of the operation characters can contain constants and/or variables constituted by functions or
Appendix
operation characters. The variables #j and #k in the expression can be replaced by constants. The
values of the variables on the left can also be assigned by an expression.
Table 4-7-5-1 Arithmetic and logic operation
Function Format Remarks
Definition #i = #j
Addition #i = #j + #k;
Subtraction #i = #j - #k;
Multiplication #i = #j * #k;
Division #i = #j / #k;
Sine #i = SIN[#j];
Arcsine #i = ASIN[#j];
Cosine #i = COS[#j]; The angle is specified by degree.
Arc cosine #i = ACOS[#j]; 90°30’ indicates an angle of 90.5°.
Tangent #i = TAN[#j];
Arc tangent #i = ATAN[#j] / [#k];
Square root #i = SQRT[#j];
Absolute value #i = ABS[#j];
Rounding-off #i = ROUND[#j];
Rounding up to an #i = FUP[#j];
112
Chapter 4 Preparatory Function : G Code
integer
Rounding down to #i = FIX [#j j];
an integer
Natural logarithm #i = LN[#j];
Exponential #i = EXP[#j];
function
OR #i = #j OR #k;
Logic operation is executed by the
Exclusive OR #i = #j XOR #k;
binary system.
AND #i = #j AND #k;
BCD to BIN #i = BIN[#j];
Used for switching with PMC signal
Bin to BCD #i = BCD[#j];
Explanation:
(1) Angle unit
The angle unit of functions SIN,COS,ASIN,ACOS,TAN and ATAN is degree, e.g., 90°30ˊ
一
indicates an angle of 90.5°.
Programming
(2) ARCSIN #i = ASIN [ #j ]
Ranging from -90° to 90°.
When #j is beyond the range from -1 to 1, an alarm occurs.
(3)ARCCOS #i = ACOS [ #j ]
Ranging from 180° to 0°.
When #j is beyond the range from -1 to 1, an alarm occurs.
Variable #j can be replaced by constants.
(4)ARCTAN #i = ATAN [ #j ] / [ #k ]
Specify the lengths of two sides, separated by a slash(/).
Ranging from 0° to 360°.
[Example] When #1 = ATAN [ -1 ] / [ -1 ]; is executed, #1=225°.
Variable #j can be replaced by constants.
(5)Natural logarithm #i = LN [ #j ]
When antilog (# j) is 0 or smaller, an alarm occurs.
Variable #j can be replaced by constants.
(6)Exponential function #i = EXP [ #j ]
When the operation result exceeds 99997.453535 (j is about 11.5129), an overflow occurs
and an alarm is issued.
(7) ROUND(rounding-off)function
The round function rounds off at the first decimal place.
Example:
When #1=ROUND[#2]; is executed where #2 holds 1.2345, the value of variable #1 is 1.0.
When the value operation is processed by CNC, if the absolute value of the integer
produced by an operation on a number is greater than the absolute value of the original number,
such an operation is referred to as rounding up to an integer. If the absolute value of the integer
produced by an operation on a number is smaller than the absolute value of the original number,
such an operation is referred to as rounding down to an integer. Please be careful when handling
negative numbers.
Example:
113
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
When a function is specified in a program, the first two characters of the function name can
be used to specify the function. (See Table 4-10-5-1)
Example:
ROUND→RO
FIX→FI
一
(10)Operation sequence
① Function
Programming
3
1 , 2 and 3 indicate the operation sequence.
(11)Restrictions
IF statement(conditional jump:
IF…THEN…)
WHILE statement(When… loop is
performed)
2)Unconditional jump
¾ GOTO statement
Jump to the block with sequence number n. The sequence number can be specified by an
expression.
114
Chapter 4 Preparatory Function : G Code
Example:
GOTO 1;
GOTO #10;
If the specified conditional expression is satisfied, the system transfers to the block with
sequence number n; if the specified conditional expression is not satisfied, the next block is executed.
一
If the condition is
Program satisfied,
Programming
N2 G00 G91 X10.0 ;
:
IF[<conditional expression>]THEN
Explanation:
¾ Conditional expression
A conditional expression must include an operator, which is inserted between two variables or
between a variable and a constant, and must be enclosed with brackets ([ ,]). An expression can
replace a variable.
¾ Operator
Operators each consists of two letters are used to compare two values to determine whether
they are equal or one is greater or smaller than the other one.
¾ Typical program
The program below calculates the sum of numerical value 1 to 10.
115
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
O9500;
#1=0;
Initial value of the variable to hold the sum
#2=1;
Initial value of the variable as an addend
N1 IF[#1 GE 10]GOTO 2;
Jump to N2 when the addend is greater than or equal to 10
#1=#1+#2;
#1=#2+1; Calculation to find the sum
GOTO 1; The next addend
N2 M30; Traverse to N1
Program end
Program
If the condition is not satisfied
END m ;
:
当 When the specified condition is satisfied, the program from DO to END is executed. Otherwise,
program execution proceeds to the block after END. This kind of command format is applicable to IF
statement. A number after DO and a number after END are the identification numbers for specifying
the range of execution. The identification numbers are 1, 2 and 3. If numbers other than 1, 2 and 3
are used, an alarm occurs.
Explanation:
¾ Nestling
The identification numbers (1 to 3) in the loop from D0 to END can be used repeatedly as
Appendix
required. However, when a program includes crossing repetition loop (overlapped DO ranges), an
alarm occurs.
116
Chapter 4 Preparatory Function : G Code
WHILE[ … ] DO 2;
Program :
WHILE[ … ] DO 3;
END 1 ;
: Program
WHILE[ … ] DO 1;
一
Processing END 3 ;
Programming
END 2 ;
END 1 ;
: END 1 ;
WHILE[ … ] DO 1; WHILE[ … ] DO 1;
IF[…] GOTO n ;
Program
WHILE[ … ] DO 2;
END 1 ;
:
END 1 ; Nn
END 2 ;
IF […] GOTO n ;
:
WHILE […] DO 1 ;
Nn… ;
END 1 ;
Explanation:
¾ Infinite loop
When DO is specified without specifying WHILE statement, an infinite loop from DO to END is
produced.
¾ Processing time
When a transfer to a sequence number in GOTO statement occurs, the sequence number is
117
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
searched for. Processing in the reverse direction is longer than the one in the forward direction. The
processing time can be reduced by using WHILE statement for repetition.
¾ Undefined variables
In the conditional expression using EQ or NE, <vacant> and zero have different affects. In the
other conditional expressions, <vacant> is taken as 0.
¾ Typical program
The program below calculates the sum of numbers 1 to 10.
O0001 ;
#1=0;
#2=1;
W HILE [#2 LE 10] DO 1;
#1=#1+#2;
#2=#2+1;
END 1;
一
M30;
Notes:
Programming
z When a macro program is called by G65, and F is used for transferring variables. The system
performs call according to the variable value.
z A GOTO statement starts searching at the beginning of the program and searches from the start
again when the corresponding line number is not retrieved. Try not to use the same N code in
one program.
z When the variable number is expressed by a decimal fraction, the system will remove the
decimal part with carry ignored.
z The values of local variables are retained before the main program ends. They are common to
each subprogram.
Appendix
118
Chapter 5 Miscellaneous Function M Code
The M codes of this machine available for users are listed as follows:
Table 5-1
M code Function
The program ends and returns to the program beginning, the machining
M30
number increases by 1.
M codes The program ends and returns to the program beginning, the machining
M02
used for number increases by 1.
control M98 Subprogram calling
program M99 Subprogram ends and returns/execution is repeated
M00 Program dwell
M01 Program optional dwell
M03 Spindle CCW
一
M04 Spindle CW
M05 Spindle stop
M08 Tool change
Programming
M09 Cooling ON
M10 Cooling OFF
M11 Tailstock retreat
M12 Chuck clamp
M13 Chuck release
M14 Spindle switched from speed control mode into position control mode
M15 Spindle switched from position control mode into speed control mode
M18 Spindle orientation cancel
M codes M19 Spindle orientation
controlled M20 C axis release
by PLC M21 C axis clamp
M26 M26 output(custom)
M27 Close M26 output
M28 Cancel rigid tapping
M29 Code rigid tapping
M35 M35 output(custom)
M36 Close M35 output
M41 Spindle 1st gear
M42 Spindle 2nd gear
M43 Spindle 3rd gear
M44 M44 output(custom)
M45 Close M44 output
When a movement code and miscellaneous function are specified in the same block, they are
simultaneously executed.
When a numerical value is specified behind address M, code signal and strobe signal are sent to
the machine. The machine uses these signals to turn on/off these functions. Usually only one M code
can be specified in a block. In some cases, up to three M codes can be specified in a block by setting
bit parameter No.33#7. Some M codes cannot be specified simultaneously because of the
restrictions of the mechanical operation. See the machine manual provided by the tool builder for the
mechanical operation restrictions on simultaneous specification for M codes in one block.
When an M code controlled by PLC is in the same block with a movement code, they are
simultaneously executed.
119
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Code :M03(M04) Sx x x;
Explanation:
M03:Spindle rotation CCW,
M04:Spindle rotation CW
Sx x x specifies the spindle speed, or the current gear in gear control mode.
Unit: revolution per minute (r/min)
When it is controlled by a frequency converter, Sx x x specifies the actual speed. e.g. S1000
specifies the spindle to rotate at a speed of 1000r/min.
Code: M05. When M05 is executed in auto mode, the spindle is stopped, but the speed specified by
S code is retained. The deceleration at spindle stop is set by the machine builder. It is
Programming
Code:M08,control the cooling ON. M09,control the cooling OFF. When the miscellaneous function
is locked in auto mode, the code is not executed.
Code:M14,the spindle is switched from speed control mode into position control mode.
M15,the spindle is switched from position control mode into speed control mode.
Code: M18,cancel the spindle orientation. M19,the spindle performs orientation, which is used to the
tool change orientation.
Code: M41,the spindle’s 1st gear. M42,the spindle’s 2nd gear. M43,the spindle 3rd.
120
Chapter 5 Miscellaneous Function M Code
M codes used by a program are divided into a main program type and macro type. When an M
code used by a program and a movement code are in the same block, the movement code is
executed prior to the M code.
Note
1: M00, M01, M02, M06, M30, M98 and M99 cannot be specified together with other M codes, or an alarm is
issued. When these codes are in the same block with other non-M codes, the non-M codes are executed
prior to the M codes.
2: This kind of M codes include the codes that direct the CNC to perform the internal operation in addition to
sending the M codes themselves to the machine, e.g. the M code to disable the block prereading function.
Moreover, the codes to send the M codes themselves to the machine (without performing the internal
operation) can be specified in the same block.
一
5.2.1 Program End and Return(M30, M02)
Programming
When M30(M02)in the program is executed in auto mode, the auto mode is cancelled. The
blocks following them are not executed and the spindle and cooling are stopped. Meanwhile, the
workpiece machined number increases by 1. Whether the control returns to the beginning of the
program after M30 is executed is set by bit parameter N0:33#4; whether the control returns to the
beginning of the program after M02 is executed is set by bit parameter N0:33#2. If M02 and M03 are
in a subprogram, then the control returns to the program calling the subprogram after they are
executed and proceeds to the following blocks.
In Auto running, the automatic operation pauses after a block containing M00 is executed.
Meanwhile, the previous modal information will be saved. The automatic operation is continued by
pressing Cycle Start key, which is equivalent to pressing down key Feed Hold.
Automatic operation is stopped optionally after a block containing M01 is executed. If the
“Optional Stop” switch is set to ON, M01 is equivalent to M00; if the “Optional Stop” switch is set to
OFF, M01 is ineffective. See OPERATION.
M98 P L
Number of called times
Subprogram number
Fig. 5-2-4-1
121
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Command format:
M99 P
Function: After other codes in the current block (in the subprogram) are executed, the system
returns to the main program, and executes the block specified by P. When P is not input, the system
returns to the main program to call the next block following the current subprogram’s M98. When M99
is used to end the main program, the current program is repetitively executed.
1.In auto mode, if M99 is executed at the end of the main program, the control returns to the
一
program beginning to continue automatic operation. Meanwhile, the following blocks are not
to be executed, and the number of the machined workpieces is not accumulated.
Programming
2.If M99 is executed at the end of a subprogram, the control returns to the main program and
proceeds to the next block following the subprogram block.
Appendix
122
Chapter 6 Spindle Function S Code
By using an S code and the numerical values behind it, the code signal can be converted to the
analog signal and then sent to the machine, for controlling the machine spindle. S is a modal value.
When the bit parameter NO.1#2 SPT=0, the spindle speed is controlled by the analog voltage which
is specified by address S and the numerical values behind. See OPERATION in the manual for details.
Command format:S_
Explanation:
一
1. Only one S code can be specified in a block.
2. The spindle speed is specified directly by address S and a numerical value behind it. Unit: r/min.
Programming
e.g. For M3 S300, it means the spindle is rotated at a speed of 300 r/min.
3. If a move code and an S code are specified in the same block, they are executed simultaneously.
4. The spindle speed is controlled by an S code followed by a numerical value.
When the bit parameter NO.1#2 SPT=1, the spindle speed is controlled by the switch value,
which consists of an address S and a two-digit number behind it.
Three mechanical gears for the spindle are provided when the spindle speed is controlled by the
switch value. For the correspondence between S codes and spindle speed as well as the number of
spindle gears, please see the manual provided by the machine tool builder.
Command format:S01(S1);
S02(S2);
S03(S3);
Explanation:
There are 8 gears in the software at present, and 3 gears in the ladder diagram. When S
codes beyond the codes above are specified, the system displays “Miscellaneous function
being executed”.
Command format:
Constant surface speed control: G96 S_ Surface speed(m/min or inch/min)
Constant surface speed control cancel: G97 S_ Spindle speed(r/min)
Constant surface speed controlled axis G96 P_ P1 X;P2 Y;P3 Z;P4 4th axis
Function: The number following S is used to specify the surface speed (relative speed between tool
and workpiece). The spindle is rotated so that the surface speed is constant regardless of the
tool position.
Explanation:
123
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1. G96 is modal. After it is specified, the program enters the constant surface speed control
mode and the specified S value is assumed as a surface speed.
2. G96 code must specify the axis along which constant surface speed control is applied. It
can be cancelled by G97 code.
3. To execute the constant surface speed control, it is necessary to set a workpiece
coordinate system, then the coordinate value at the center of the rotary axis becomes zero.
Z
0
一
Fig. 6-3-1 workpiece coordinate system controlled by constant surface cutting speed
Programming
4. When constant surface speed control is applied, if a spindle speed higher than the value
specified in G 92 S_, it is clamped at the maximum spindle speed. When the power is
switched on, and the maximum spindle speed is not yet set, in G96, S=0 till M3 or M4 appears
in the program.
Spindle speed(rpm)
n
The spindle speed almost coincides
3000
with the surface speed at approx
2800
2600
160mm(radius)
2400
2200
2000
1800
1600
1400
Appendix
1200
1000
Surface speed S is
800 600mm/min
600
400
200
0 Radius(mm)
0 20 40 60 80 100120140 160180 200 220240 260 280300
Fig. 6-3-2 Relation between workpiece radius, spindle speed and surface speed
124
Chapter 6 Spindle Function S Code
G97 instruction
一
Specified
Programming
Specify
the The specified
spindle spindle speed
speed is used(rpm)
Not specified
G96 instruction
Specified
The
specified Specify the
surface surface
speed is speed
used
Not specified
Fig. 6-3-3
6. G96 relevant parameter setting: bit parameter No.37#2 sets a reference coordinates (0: end
point, 1: current point) to count G96 spindle speed when G0 rapidly positions, bit parameter
No.37#3 sets G96 spindle speed clamped(0:before the spindle override,1:after the spindle
override),bit parameter No.61#0 sets whether to use the constant surface speed control.
Restrictions:
125
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1. Because the response problem in the servo system may not be considered when the spindle
speed changes, and the constant surface speed is also effective during threading, it is
recommended to cancel the constant surface speed by G97 before threading.
2. In a rapid traverse block specified by G00, the constant surface speed control is not made by
calculating the surface speed by a transient change of the tool position, but is made by
calculating the surface speed based on the position at the end point of the rapid traverse
block, on the condition that cutting is not performed during rapid traverse. Therefore, the
constant surface cutting speed is not used.
3. In flexible tapping, rigid tapping or deep hole rigid tapping, use G97 to cancel the constant
surface cutting speed, otherwise, random teeth or broken screw tap exists.
一
Programming
Appendix
126
Chapter 7 Feed Function F Code
The feed functions are used to control the feedrate of the tool. The functions and control modes
are as follows:
一
Programming
Fig. 7-1-1 Keys for rapid traverse override
The acceleration of rapid positioning (G0) can be set by data parameters P105~123. It can be
properly set depending on the machine and the motor response characteristics.
Note: G00 block, the feedrate code F is invalid even if it is specified. The system performs positioning at the
speed specified by G0 instead.
127
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1. After G98 is specified (in feed per minute mode), the feed amount of the tool per minute is
directly specified by a number after F.
2. G98 is a modal code. Once specified, it remains effective till G99 is specified. The default
at power-on is feed per minute mode.
3. An override from 0% to 200% can be applied to feed per minute with the override keys or
band switch on the operator panel.
Note 1:When the spindle speed is low, feedrate fluctuation may occur. The lower the spindle speed is, the
more frequently the feedrate fluctuation occurs.
Note 2:For G99 feed per rev, the system executes its max. speed F500,an alarm occurs when it exceeds
the max. speed.
The cutting feed usually controls the speed in the tangential direction of the contour path to make
Appendix
Y Y
Start point
FX
End point F
FY
F End point
Start point FY
FX
X X
Linear interpolation Circular interpolation
Fig. 7-3-1
128
Chapter 7 Feed Function F Code
The feedrate in MANUAL mode and AUTO mode can be overridden by the override keys on the
operator panel. The override ranges from 0~200%(21 gears with 10% per gear). In AUTO mode, if
the feedrate override is adjusted to zero, the feeding is stopped by the system with 0 cutting override
displayed. The execution is continued if the override is readjusted.
The system enables the motor to perform acceleration/deceleration control at the beginning and
the end of the movement, which thus obtains a stable start and stop. In addition, the automatic
acceleration/deceleration can also be applied when the moving speed is changed, the speed thus
一
can be changed steadily. Therefore, the acceleration/deceleration needs not to be considered during
programming.
Programming
Rapid traverse: Pre-acceleration/deceleration ( 0 : linear type ; 1 : S type )
Post acceleration/deceleration(0:linear type;1:exponential type)
Cutting feed: Pre-acceleration/deceleration ( 0 : linear type ; 1 : S type )
Post acceleration/deceleration(0:linear type;1:exponential type)
MANUAL feed: Post acceleration/deceleration(0:linear type;1:exponential type)
(Set the common time constant for each axis by parameters)
Speed
Time
Speed
TR: Acceleration/deceleration time constant for
rapid feed
(data parameter 105-124)
Time
TR TR
Rapid feed
speed
Time
TC TC
Cutting feed/manual feed
Fig. 7-5-1
129
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Programmed path
Actual tool path
(1)
一
X
Programming
Fig. 7-6-1
If an exact stop code is inserted, the tool is moved along the real line as in the above figure by the
program, otherwise the bigger the cutting feedrate is, or the longer the time constant of the
acceleration/deceleration is, the bigger the arc at the corner is. For circular code, the actual arc radius
of the tool path is smaller than the arc radius specified by the program. The mechanical system
permitting, reduce the acceleration/deceleration time constant as far as possible to minimize the error
at the corner.
Appendix
130
Chapter 8 Tool Function
By specifying a numerical value (up to 4 digits) following address T, the tools on the machine can
be selected.
Two or more than T codes cannot be in the same block. If no alarm occurs when codes in the
same group are in the same block, the last T code takes effect. Refer to the manual provided by the
tool machine builder for the digits after address T and the corresponding machine operation of T
code.
T code represents the following meanings:
一
T
Programming
Tool offset number
It is used to select an offset value relative to an offset number. An offset value is input by
keyboard unit. A corresponding offset number has two offset amount, one of which is used to X and
another of which is used to Z. Refer to Operation, Tool Compensation Display, Modification and
Setting.
Table 8-1-1
Offset amount
Offset number X offset amount Z offset amount
01 0.040 0.020
02 0.060 0.030
03 0 0
.. . .
.. . .
.. . .
When a T code is specified and its offset number is not 00, the tool offset is valid.
When an offset number is 00, the tool offset function is cancelled.
The offset value range is set below:
mm input:-9999.999 mm~9999.999mm
Offsetting X, Z is for a programmed path. T code specifies an offset number’s offset value which is
added or subtracted at the end of each block.
131
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Programmed path
Fig. 8-2-1
a)Offset vector
一
In the above figure, a vector which offsets X, Z is called an offset vector. A compensation
Programming
When T code’s offset number selects 00, the offset is called. When the cancel is performed at
the end of a block, the offset vector is zero.
N1 G01 U50.0 W100.0 T0202;
N2 W100.0:
N3 U0.0 W50.0 T0200;
Offset path
Path after offset
N3
(Suppose an offset value is given in
Appendix
N2
Programmed path
N1
Fig. 8-2-2
132
Chapter 8 Tool Function
No.2 tool offset value’s path No.1 tool offset value’s path
一
(Programming example 1)
Programming
G00 X280.0 Z240.0;
G00 X120.0 Z200.0 T0101;
G01 Z140.0 F30;
X160.0 Z80.0;
G03 X227.7 Z30.0 R53.81;
G00 X280.0 T0100;
#1 tool nose is the same as the program’s programmed path.
(Programming example 2)
Rewrite the example 1 to the #2 tool’s tool nose path is the same as the programmed path.
133
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
一
Programming
Appendix
134
Ⅱ OPERATION
Ⅱ
Operation
135
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Ⅱ
Operation
Appendix
136
Chapter 1 Operation Panel
Edit keyboard
LCD display area
area
Machine control
area
Ⅱ
Operation
Soft key
functional area
Edit keyboard
area
Soft key
functional area
Machine control
area
137
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
GSK 980TC3-H, GSK980TC3-V use a color 8.4 inch LCD with resolution 800×600.
The functions of the keys on the editing keyboard area are divided into 10 small areas, which are
138
Chapter 1 Operation Panel
explained as follows:
Ⅱ
There are 8 display keys for operation pages and 1 display key for the help page on the panel in this
system. See the figure below:
Operation
Graphic page Alarm page Help page PLC page Diagnosis page
139
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
page
Press this key Subpages for tool offsets, parameters, macro variables and screw
System
to enter pitch can be displayed by switching corresponding soft keys
page
system page
Press this key Subpages for relative coordinates, absolute coordinates and all
Position
to enter coordinates of the current point and PLC can be displayed by
page
position page switching corresponding soft keys
Subpages for programs, MDI, current/mode, current/time, and
Press this key program directory can be displayed by switching corresponding soft
Pgrogram
to enter keys. Program names in different pages can be viewed by pressing
page
program page page keys in directory subpage.
Note: The page switch above can also be done by pressing corresponding function keys repeatedly after bit
parameters NO:25#0~25#7, NO:26#6~26#7 are set. Refer to CHAPTER 3 in this manual for the
explanation for each page.
The use and function definition of the basic keys for the machine control area of GSK980TC3-H and
140
Chapter 1 Operation Panel
Auto mode key To enter auto mode In this mode, program in internal
memory is selected
Switching to MDI mode in Auto
MDI mode key To enter MDI mode mode, system decelerates to stop
after current block is executed
Ⅱ
Switching to MPG mode in Auto
To enter MPG mode, system immediately
MPG mode key
mode
Operation
decelerates to stop
141
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Valid in Manual
Tool change Tool change
mode, Step mode,
switch key switch
MPG mode
USER1 single block runs,
Bus switch Bus switch press the mode during running
key a program, the program is
executed by block by block
Appendix
142
Chapter 1 Operation Panel
Note 1:A block with more than 1 “/” sign at its beginning is skipped by the system even if the skip function
is OFF.
Note 2:In Manual mode, the manual federate override is regulated by the federate override switch without
pressing the rapid traverse key.
Note 3:Keys in <> are on the panel; keys in【 】are soft keys at the bottom of the screen;【 】is a page
corresponded to the current soft key; means there is a submenu in the menu.
Note 4:There is an user defined key USER1.
Ⅱ
Operation
143
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Ⅱ
Operation
Appendix
144
Chapter 2 System Power on/off and Safety Operation
The current position (relative coordinates) is displayed after system self-check and initialization.
Ⅱ
Operation
Fig. 2-1-1
Note: See the manual provided by the machine tool builder for the machine power cut-off.
145
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
If the Emergency Stop button is pressed during machine running, the system enters into
Operation
emergency state and the machine movement is stopped immediately. Release the button (usually
rotate the button towards left) to exit the state.
Note 1: Confirm the faults have been removed before releasing the Emergency Stop button;
Note 2: Perform Reference Point Return again after releasing the Emergency Stop button to ensure the
coordinate position is correct.
Appendix
In general, the emergency stop signal is a normal closed signal. When the contact point is open,
the system immediately enters into the emergency stop state and emergently stops the machine. The
connection for the emergency stop signal is as follows:
+24V
Emergency stop switch
ESP
Fig. 2-3-2-1
146
Chapter 2 System Power on/off and Safety Operation
Users can suspend the execution pressing key during the machine running. Please
note that the execution is not suspended in rigid tapping codes and cycle codes until the current code
is executed.
The keys and are used for the program start and dwell operations in Auto
mode, MDI mode and DNC modes. Whether the external start and dwell is used is set by PLC
address K5.1.
Note 1:Switch Auto/MDI mode. Before the current block is executed, the cycle start is valid, <Feed hold> key
is pressed, the feed hold is invalid.
Note 2:Switch Auto/MDI mode into Edit mode. Before the current block is executed, the cycle start is invalid,
<Feed hold> key is pressed, the feed hold is invalid.
Note 3:Switch Auto/MDI mode into the Machine Zero Return, Step, Manual, MPG mode. Press the feed hold
key and the feed hold function is invalid.
Ⅱ
Note 4:When the cycle start key is valid, the Auto/MDI mode is switched into the Edit mode, and the feed hold
key is pressed before the current block is executed, the feed hold function is invalid.
Operation
2.5 Overtravel Protection
Overtravel protection must be employed to prevent the damage to the machine due to the
overtravel of the X, Y, or Z axis.
The overtravel limit switches are fixed at the positive and negative maximum stroke of the
machine X, Y and Z axes respectively. If the overtravel occurs, the moving axis decelerates and
stops after it touches the limit switch. Meanwhile, the overtravel alarm is issued.
Explanation:
Overtravel in auto mode
In Auto mode, if the tool hits the stroke limit switch during the movement along an axis, all the
axis movements are decelerated to stop with the overtravel alarm being issued. The program
execution is stopped at the block where the overtravel occurs.
The software stroke ranges are set by the data parameters P66~P73, with the machine
147
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
coordinates taken as the reference values. Overtravel alarm occurs if the moving axis exceeds the
setting software stroke. Whether the stroke check is performed after power-on and before manual
reference point return is determined by bit parameter N0:11#6 (0: No, 1: Yes). Whether the overtravel
alarm is issued before or after the overtravel when the software limit overtravel occurs is set by bit
parameter N0:11#7 (0: before, 1: after). After the overtravel occurs, move the axis out of the
overtravel range in the reverse direction in Manual mode to release the alarm.
Method to release the hardware overtravel alarm: In manual or MPG mode, press key
on the panel, then move the axis in the reverse direction (for positive overtravel, move negatively; for
negative overtravel, move positively).
Ⅱ
Operation
Appendix
148
Chapter 3 Page Display and Data Modification and Setting
Press key to enter position page, which consists of 【REL】, 【ABS】, 【All】and
【PMONI】. The four subpages can be viewed using corresponding soft keys, as is shown below:
1) Relative coordinate: It displays the position of the current tool in the relative coordinate
system by pressing soft key【REL】. (See fig. 3-1-1-1):
Ⅱ
Operation
Fig. 3-1-1-1
2) Absolute coordinate: It displays the current position of the tool in absolute coordinate system
by pressing soft key【ABS】(see Fig.3-1-1-2).
Fig. 3-1-1-2
149
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-1-1-3
Operation
Fig. 3-1-1-4
5)Monitor mode
It enters 【PMONI】 page by pressing soft key 【PMONI】. In this mode, the absolute
coordinates, relative coordinates of the current position as well as the modal message and blocks
of the program being executed can be displayed (See Fig. 3-1-1-5):
150
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-1-1-5
Note 1: Whether the modes are displayed in 【PMONI】page can be set by parameter NO:23#6. When BIT6=0,
the machine coordinates are displayed in the position where the modal codes are displayed.
Note 2: In <MACHINE ZERO>, <STEP>, <MANUAL>, <MPG>, <MACHINE ZERO>, <EDIT>modes, the
intermediate coordinate system is a relative one; while in <AUTO>, <MDI> modes, it is the distance to
go.
3.1.2 Display of Cut Time, Part Count, Programming Speed, Override and Actual
Ⅱ
Speed
Operation
The programmed speed, actual speed, feedrate and rapid override, G codes, tool offset, part
number, cut time, spindle override, spindle speed, tools etc. can be displayed on the subpages【REL】
and【ABS】of page <POSITION> (see Fig.3-1-2-1) :
Fig. 3-1-2-1
151
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Cut time: Time counting starts after Auto run starts, with a unit of “hour: minute: second”.
S00000: Specify the speed. Press key in Page ACT POS(RELATIVE), locate the
cursor to “S 0000”: in this way S value can be changed (range:0~value set by data
parameter P258).
Tool offset: A tool number specified T code in program.
2)Press key to locate the cursor to the PRT CNT item, input data and press key
for confirmation; if key is pressed directly, the part count will be cleared.
3)Shift to CUT TIME by keys Up and Down.
Appendix
Note 1: To display the actual spindle speed, an encoder must be applied to the spindle.
Note 2: The actual speed= the programming speed F × override; The speed of each axis is set by data
parameters P88~P92 in G00 mode and it can be overridden by rapid override; the dry run speed is
set by P86.
Note 3: The programming speed for feed per revolution is displayed when the block involving feed per
revolution is being executed.
152
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-1-3-1
2) Clearing operation: Press and hold key “X” till X in the page flickers, then press key
Ⅱ
Operation
Fig. 3-1-3-2
3)Halving operation: Press and hold key “X” till “X” in the page flickers, then press key
to halve the relative coordinate in X axis. (The relative coordinate of the axis is
divided by 2);
4)Coordinate setting: Press X” and “U”, and “X” in the page flickers, input the data to be set
and press key for confirmation, then the data will be input into the coordinate
system.
5)Z clearing method is the same as the above.
153
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
When the system uses the Ethernet bus communication mode, is pressed to enter the
position page. Press【 】 to enter 【PMONI】page. In the page, the system simultaneously
displays the current position’s machine coordinates, multi-coil position, single-coil position, grating
position, motor speed, motor load(% is a percentage of rated load). The page is convient to debug
the machine and monitor the servo’s current run state. (See Fig. 3-1-5)
Ⅱ
Operation
Fig. 3-1-4
Press key to enter program display page which consists of 5 subpages: 【 PRG】,
Appendix
【MDI】and 【DIR】. They can be viewed and modified by corresponding soft keys (See Fig.3-2-1).
1) Program display
Press soft key【 PRG】 to enter program page. In this page, a page of blocks being executed
in the memory can be displayed (See Fig. 3-2-1).
154
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-2-1
Press soft key 【 PRG】 again, and the program EDIT and modification page is entered (see
Fig.3-2-2):
Ⅱ
Operation
Fig. 3-2-2
【B. EDIT】and 【B. END】are used only in AUTO and DNC mode (background edit function).
Functions of 【B.EDIT】are the same as the program edited in <EDIT> mode (See Chapter Ten
“Program Edit”). Save the editing by 【B. END】or exit the background EDIT page by 【RETURN】
after editing.
155
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Press soft key 【MDI】 to enter MDI page. In this mode, multiple blocks can be edited and
executed. The program format is the same as that of the editing program. MDI mode is applicable to
simple program testing operation (see Fig. 3-2-3) .
Fig. 3-2-3
Ⅰ. Press soft key【DIR】to enter program (DIR) page, the contents of which are displayed as
follows (Fig.3-2-4):
Operation
(a) PRG USED: The saved programs (including subprograms) /maximum number of the
programs that can be saved.
(b) MEM USED: The capacity occupied by the saved programs /the total capacity for
program storage.
(c) PROGRAM DIR: The sequence numbers of the saved programs are displayed in
sequence.
(d) Previewing the program where the cursor is located
Appendix
Fig. 3-2-4
Note: The program numbers in memory can be displayed by the page keys. The program names with more
than 6 digits or irregular formats cannot be previewed.
156
Chapter 3 Page Display and Data Modification and Setting
Press key to enter system page, which consists of four subpages: 【CNC SETTING】,
【 PARA】, 【PITCH】,【 DATA】, 【 BUS】,【 TIME LIMIT STOP】, which can be displayed
by pressing the corresponding soft key.
To avoid of machining programs and CNC parameters being modified viciously, GSK980TC3
provodies authority setting function, and its password level is divided into 5, including 1 level
(end-user level), 2 level (the system debugging level), 3 level (machine manufacture level), 4 level
(system manufacture level) and 5 level (machining operation level). The system defaults the lowest
level after power on (see Fig. 3-3-1-1-1).
1 level:modity some of the CNC’s state parameters, data parameters.
2 level:modify the CNC’s state parameters, data parameters, tool offset data and pitch.
3 level, 4 level:modify the CNC’s state parameters, data parameters, offset data and
transmitting PLC ladder diagram.
Ⅱ
5 level:No password. Modify offset data, macro variables, executing operations by machine
Operation
the operation panel. Must not modify the CNC’s state parametes, data parameters
and pitch data.
Fig. 3-3-1-1-1
1)After the system enters the page in <MDI MODE>, the cursor positions to the target position.
2)Input the corresponding password and press . When the input password is correct,
157
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
3)When the password needs to modify, 0~6 digits or letters are input. Press to confirm
the input.
4)After modification, press ,and the cursor moves to “Cancel(END)” button, and the
1)Bit parameter page. Press soft key【 PARA】to enter parameter page.(See 3-3-2-1-1):
Ⅱ
Operation
Appendix
Fig. 3-3-2-1-1
Refer to APPENDIX 1 PARAMETERS for details.
2)Number parameter page Press soft key【NUMPAR】to enter this page. (See fig. 3-3-2-1-2):
158
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-3-2-1-2
Refer to APPENDIX 1 PARAMETERS for details.
3) Common parameters
Ⅱ
Operation
Fig. 3-3-2-1-3
In the above 【Common parameter】page, select the required parameter catalog number
toenter the corresponding page. (See Fig. 3-3-2-1-4):
159
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-3-2-1-4
Method 1:press<Input> to enter the selected, press page up/down to display the page
in which the set parameter is; press the direction key to move the cursor and
to position the required parameter position to modification.
Method 2:press the corresponding digit key, and then press <Input> key,press page
up/down to display the page in which the set parameter is; press the
direction key to move the cursor and to position the required parameter
position to modification.
5)Press <HOME> key or press【Return to catalog】to return to the common parameter catalog.
6)Press <G> key to skip the parameter page in which the parameter is selected.
7)Letters in front of the parameter number represent different parameter type.(B: bit parameter,
P: data parameter,K:K parameter,T:T parameter,D:DATA parameter,C:CTR parameter)
8)Modify the maximum/miminum value range of data parameters in the NUMPAR parameter.
Note: Catalog of common parameters and parameter included in the catalog from the CNC’s
correspondingly allocated files can be freely selected by the user.
160
Chapter 3 Page Display and Data Modification and Setting
2) Press key to enter <SETTING> page, turn on the parameter switch. Set the
parameter switch to 1.
6) Press key for confirmation, then the parameter value is input and displayed.
7) Turn off the parameter switch after setting all the parameters.
Ⅱ
Note: There is no search function in【COMPAR】page.
Operation
3.3.3 Display, Modification and Setting for Screw Pitch Offset
Press soft key【PITCH】to enter pitch offset page, which is shown as follows (Fig. 3-3-3-1-1 ):
Fig. 3-3-3-1-1
161
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1) the pitch error compensation number is set by data parameters P226~P230, and the pitch
error offset interval is set by data parameters P226~P230.
2) In <MDI> mode, input the offset value for each point in turn.
Note: Refer to Ⅳ 4 Installtion and Connection of “GSK980TC3 CNC System PLC, Installation and
Connection User Manual” for the setting of pitch offset.
Press soft key【 DATA】to enter SETTING (DATA DEAL) page. The user data (such as ladder,
ladder parameters, system parameter values, tool offset values, pitch offset values, system macro
variables, custom macro programs and CNC part programs) can be backup (saved) and restored
(read); and the data input and output via PC or U disk are also available in this system. The part
programs saved in CNC are not affected during the data backup and restoration.(See Fig.3-3-4-1)
Ⅱ
Operation
Appendix
Fig. 3-3-4-1
Operation:
1. Set the password for a corresponding level in password page pressing soft key
【PASSWORD】. For the corresponding password levels of the data, please see to
3.3.1.1 setting and modification for password authority in this passage:
2. Press soft key【 DATA】twice to enter the DATA DEAL page, as Fig 3-3-4-2 below is
shown:
162
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-3-4-2
The functions of the operations are shown in the table below (table 3-3-4-1):
Table 3-3-4-1
Ⅱ
Item Function explanation
It is available to backup the data saved in the system disk such as
Operation
ladder (PLC), parameters (PLC), system parameter values, tool offset
values, pitch offset values, and system macro variables separately.
Data backup
After the backup, the system will create a backup file with file
extension .bak.
163
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Note:
1) When I/O channel is set to “U Disk”, the functions of soft keys Data Output and Data
Input are the same.
2) When performing data output/input operation, ensure the setting for the I/O channel
is correct. When using a U disk, set the I/O channel to 2; when using transmission
software via PC, set the I/O channel to 0 or 1.
3) The contents of One Key Output/Input are determined by password authorities. See
table 3-3-1-1 for the correspondence between data items and password authorities.
4) Relevant parameters
Bit parameter N0:54#7: for setting whether one key output/input is valid for part
programs in debugging-level authority or above.
Bit parameter N0:27#0: for setting whether the editing for subprograms with program
numbers from 80000-89999 is forbidden.
Bit parameter N0:27#4: for setting whether the editing for subprograms with program
Ⅱ
Table 3-3-4-2
No. Prompt message Cause Handling
Transmission is
1 Once key operation completed Operation succeeded
completed
The input/output
Appendix
File LADCHI**.TXT is invalid after it is transmitted to the system until the power is turned off and
on again.
Press【 Bus Allocation】to enter the bus page. The bus page is shown beow (See Fig. 3-3-5-1):
Ⅱ
Operation
Fig. 3-3-5-1
【 bus allocation】operation explanation:
Press 【 bus allocation】soft key to enter the bus allocation page as Fig. 3-3-5-1 to search or
modify parameters:
1. Enter <MDI> operation mode;
2. Press the move cursor UP, DOWN, LEFT, RIGHT to move it to the required change item;
3. Modify it according to the following explanation:
1) Bus
2) Encoder type
0:incremental 1:absolute
Note: No:20#6 sets to use an absolute encoder or not.
3) Select permissive max. deviation
Note: the system defaults 50.000mm,and P450~P454,P455~P459 can set a deviation.
X, Z simultaneously returns to the machine zero 0:no expansion cards 1:have expansion
cards
Note: No:0#6 can set to use the bus servo card or not.
4) Grating type
0:incremental 1:absolute
Note: No:1#0 can set to use an absolute grating rule or not.
5) Spindel expansion card
0:no expansion cards 1:have expansion cards
Note: No:1#1 sets the spindle driver to be the bus control mode or not.
6) Absolute zero setting
165
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
a) Firstly, set the system terminal’s gear ratio, feed axis’ direction and zero return
direction.
b) In MDI mode, “Bus or not” in the bus allocation page is set to 1, “Encoder Type” is set
to 1, manual moving each axis sets the machine zero position.
c) Move the cursor to . According the prompt, press <INPUT>key twice,and the
zero return indicator lights, the current position record of each axis’ motor absolute
encoder is taken as the machine zero. The system is turned off and then turned on,
the zero return indicator is OFF. The user can manually set negative border and
positive border according to the actual machine’s max. storke, which makes the
current machine’s absolute coordinate offsets forward or backward one value,
No.61#6 is set to 1, and the posititve/negative limit is valid.
Setting range:-99999.9999~99999.9999, P66~P85 sets each axis’ positive/negative
border.
d) Whether to allocate with grating. Each axis is set to allocated with grating or not, 0:
no grating,1:have grating.
Note 1:After the machine zero is set, modifying each axis’ zero return direction, feed axis movement direction,
servo and system gear ratio cause zero missing, the machine zero must be reset.
nd rd
Note 2:After the machine zero is reset, it influences other reference points, the 2 , 3 reference point must
be reset.
Press the soft key【 Bus Allocation】 to enter the servo debugging page, then press【 Servo
Operation
Parameter】to enter the servo parameter page, which is shown below: (see Fig. 3-3-5-1-1).
Appendix
Fig. 3-3-5-1-1
2) Press to enter【CNC Setting】 page, and set the parameter switch to “1”.
166
Chapter 3 Page Display and Data Modification and Setting
3) Press ,and then press【 Buse Allocation】to enter the servo debugging page.
Press【 Servo Parameter】to enter the parameter setting and display page.
4) Move the cursor to the current selected axis parameter #0,input the corresponding
password, press the input key to load the driver parameter to the system, and modify the
servo parameter in【Servo Parameter】page.
5) Move the cursor to the required modified parameter number’s position:
Method 1:press page up/down to display page where the parameter to be set is; or press
the direction key to move the cursor, and position the required modified
parameter’s position.
6) Press to confirm it. The parameter value is loaded into the driver, and the status
bar displays “ Driver parameter load success!”
7) Press to make the servo save the refreshed parameters, and the status bar
displays “ Driver parameter save success!”
Ⅱ
8) After all parameters’ setting compelets, the parameter switch is OFF.
Operation
3.3.5.1.2 Parameter Setting of Servo Matched with Motor model
3) Press , then press【 Buse Allocation】 to enter the servo debugging page, at last
press【 Servo Parameter】to enter the parameter display page.
4) Move the cursor to the current selected axis parameter #0,input the password 385,press
the input key to load the driver parameter to the system, and modify the servo parameter i
【Servo Parameter】page.
5) Move the cursor to the parameter #1,input a number matched with the motor model:
6) Press to confirm it. The parameter value is loaded into the driver, and the status
bar displays “ Driver parameter load success!”
7) Press to make the servo save the refreshed parameters, and the status bar
displays “ Driver parameter save success!”
8) After all parameters’ setting compelets, the parameter switch is OFF.
167
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
4) Press , then press【 Buse Allocation】 to enter the servo debugging page, at last
press【 Servo Parameter】to enter the parameter display page.
5) Select【Backup】key to backup the current selected axis’ parameter into the file DrvParXX.txt.
(XX axis number. Such as: backup X axis, the file name: DrvPar01.txt).
6) After all parameters’ setting compelets, the parameter switch is OFF.
4) Press , then press【 Buse Allocation】 to enter the servo debugging page, at last
press【 Servo Parameter】to enter the parameter display page.
Appendix
5) Select【Restore】key to restore the current selected axis’ backup parameter file DrvParXX.txt
into the servo drive.(XX axis number. Such as:backup X axis, the file name:DrvPar01.txt).
6) Press to make the servo save the refreshed parameters, and the status bar
displays “ Driver parameter save success!”
7) After all parameters’ setting compelets, the parameter switch is OFF.
When the parameters are debugged, the servo parameter’s rigid is too big to cause the machine 当
shake. To avoid a danger, the servo grade zero function can rapidly restore the servo parameter into
0 grade initinal state.
1) Select <MDI> operation mode.
168
Chapter 3 Page Display and Data Modification and Setting
4) Press , then press【 Buse Allocation】 to enter the servo debugging page, at last
press【 Servo Parameter】to enter the parameter display page.
5) Select【Grade Zero】to restore all servo axis parameters into 0 grade parameters.
6) Press to make the servo save the refreshed parameters, and the status bar
displays “ Driver parameter save success!”
To ensure the servo debugging function really responsing the servo performances, cancel the
drive side’s gear ratio and the system side’s all compensations (including pitch error compensation
Ⅱ
and backlash compensation).
Operation
3.3.5.2.1 Page Constitution
Press 【 Servo Debugging】 to enter the servo debugging tool page. The page is shown below
(See Fig. 3-3-5-2-1-1~Fig.3-3-5-2-2).
169
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
The function is to set the servo parameter to the servo performance’s optimal state.
Operation
2. Circular degree
The circular degree tests can simulate a circumference cutting movement circle, and hereby
collect the motor mask position message to judge each servo axis response’s synchronism of
the machine tool.
A. and key: selection axis. (note: once the system enters the
optimizing process, the user cannot use the UP, DOWN direction key to change the
current operating axis. )
B. and key: reduce or increase the current axis’ rigid grade, press
every time the ridig grade to reduce or increase one grade;
C. 【Axis move+】 and 【axis move-】soft key: positively or negatively move at the speed
set by P393 the currect axis to some distance set by P392. Before entering the
optimizing processing, repetitively press【axis move+】 and 【axis move-】soft key
movement axis to view whether the motor vibrates or is abnormal. Must not
continuously press 【axis move+】 and 【axis move-】 to get the motor characteristic
data after entering the optimizing process.
170
Chapter 3 Page Display and Data Modification and Setting
Note 1:After entering the optimizing process, press【axis move+】and【axis move-】soft key
movement axis and sample data.
Note 2:The non-specialized person must not change P392 and P393,otherwise, it maybe cause
optimization unsuccessfully.
F. key: reset the operation and return to the initial operation step;
Ⅱ
Operation
171
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Ⅱ
Operation
Appendix
172
Chapter 3 Page Display and Data Modification and Setting
2. Circular test
Operation key:
A. Number key:input various parameter values;
Ⅱ
D. feedrate:move speed when test;
E. magnification times:the circular degree analysis is a multiple of error magnifying.
Operation
Operation steps:
Step 2: Press to start the circular movement and start sampling data. After
Step 3: Press to the analysis function and output the circular degree data and
draw circular error distribution diagram, which is shown below:
173
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-3-5-2-3-1
Note: After debugging the rigid grad and parameter optimizing function, use the circular degree
test function to test the current feed axis’ synchronism. Each plane’s circular degree test
within 6u is taken as a better synchronism of current each feed axis, and the parameter
debugging basically succeeds.
Press【X】, and then press【Time limit Stop】to enter the time limit stop display page which
is divided into staging authority and password modification function. A new password can be
modified by the staging authority, which is shown below (see Fi.g3-4-6-1):
Appendix
3-3-6-1
174
Chapter 3 Page Display and Data Modification and Setting
1)After entering the page in <MDI mode>, move the cursor to position to the target position.
2)After getting the machine manufacturer’s password, press to input the password, then
press to confirm the password. If the password is correct, the system prompts
“Password correctness”.(the password is vacancy when delivery, and the user directly input
it.)
3)When the authority password is modified, 0~6 digits number or letters are input, and
is pressed to confirm the input.
5) After inputting the new password, press . When the twice inputs are the same, the
system prompts “the password modified, please save the new”. The operation password is
Ⅱ
modified successfully.
Note: When the twice inputs are different, the system prompts “the new password and the confirmation
Operation
password are inconsistent, this moment, please input the new password”.
Press 【Time limit stop】again to enter the time limit stop page which includes【Newly increased
, Delete periods】function, and the concrete contents are shown below: (see Fig. 3-4-6-2):
periods】【
Fig. 3-3-6-2
In the figure, press 【Newly increased periods】page to enter the operation page.(See Fig.
3-4-6-3)
175
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-3-6-3
Concrete operations:
1) After entering the page in <MDI mode>, move the cursor to position to the target position.
2) After getting the machine manufacturer’s authority, set the stop data and password. Set up
to12 periods. Set the password: such as password 1, password 2 …….
Ⅱ
Operation
3) Input the password, press to confirm the input, and the system prompts “Input the
new password again”. When the input is correct, the cursor automatically jumps to
176
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-3-6-4
Operation steps:
1) After entering the page in <MDI mode>, move the cursor to position to the required
deleted period position.
2) Press “Delete periods” and pop-up a dialog of time limit stop period.
Ⅱ
Operation
3) Input the stop limit password, press to confirm the input. When the input is
correct, the cursor automatically jumps to “Confirmation”, press to delete the selected
time limit stop periods. When the password is incorrect, the deletion cannot be done
successfully.
Press to enter the offset message display page which is divided into three subpages
【 Offset】, 【 Workpiece coordinates】, 【 Macro variable】,press the corresponding soft key to
view or modify messages. The concrete content is shown below: (See Fig. 3-4-1):
177
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-4-1
Press【 Offset】to enter the offset display page as follows (See Fig. 3-4-1-1-1):
Ⅱ
Operation
Appendix
Fig. 3-4-1
178
Chapter 3 Page Display and Data Modification and Setting
(1) Absolute axis: press the address keys( , corresponding axis name’s key),
input the digital value, press on the panel or F1【Measure input】soft key
(displayed value=absolute coordinates -input value);the system automatically clears
the current wear value after input.
(2)Relative axis: press press the address keys( , corresponding axis name’s
Ⅱ
(3)Absolute axis: axis: press the address keys( , corresponding axis name’s
Operation
key),press F3【C input】soft key(displayed value=relative value – wear value);
Note 1:Taking example of T:only input on the panel, other letters are invalid.
Note 2:All operations are mistaken for formats except for the above operations in the offset page.
Note 3:Data color becomes after offset modification, the cursor restores after it is moved or the page is
swtiched.
179
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1)Move the cursor to the required changed tool offset number’s position according to the method
described in Section 3.4.2.1.
2)Require to change X tool offset value, input U. For Z, input W; or select the required changed data
position, press the address key( , and other corresponding axis name’s key_ to
input the digital value.
3)Press on the panel or F2【+input】. Add the current tool offset value to the input
incremental value. The result is taken as the new tool offset value to display.
Example: the set X tool offset value is 5.678
Input the increment U1.5 by keyboard
The new set X tool offset value is 7.178(=5.678+1.5)
Note 1:When the tool offset is changed, the new offset amount does not take effect immediately. It becomes
valid till its compensation number T code is executed.
Note 2:The user can modify the tool compensation value during the program running, but the mofication is
done before the tool compensation number runs.
Ⅱ
Operation
Press【 WORK】to enter the coordinate system setting page, and the displayed content is shown
below (See Fig. 3-4-2-1).
Appendix
Fig. 3-4-2-1
Another 50 additional workpiece coordinate systems can be used besides the 6 standard
workpiece coordinate systems (G54~G59 coordinate systems), as is shown in Fig. 3-4-2-2.
Each coordinate system can be viewed or modified by page keys. See section 4.2.7 Additional
180
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-4-2-2
Ⅱ
After entering the workpiece coordinate system page, press , to move the
Operation
cursor to the input position, press the input digital value, press to directly input the digit. (as
Fig. 3-4-3-2)
Method 1: press , to move the cursor the input position, press the address key
Method 2: press , to move the cursor the input position, press the address key
key and the CNC automatically completes count and input the
result data;
181
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1) In any mode, press key to search after inputting a coordinate system, e.g. inputting
“G56”.
2) In any mode, by inputting ”P6” or ”P06” and then pressing key , the cursor will be
located in the additional workpiece coordinate system ”G54 P06”.
After the system entering the workpiece coordinate system page, press , to the
required data position to modiy, input a digit, press F3【+Input】,add the current workpiece coordinate
system’s offset value to the input value’s increment, and its result is taken as a new coordinate
system’s offset value.(Value=current value+input value) as Fig. 3-4-3-3-1.
Ⅱ
Operation
Appendix
Fig.3-4-2-3-1
After the system enters the workpiece coordinate system setting page, the user presses
to clear all workpiece coordinate system’s offset values, and then the system
prompts to require to press , and the deletion is completed. When the deletion is cancelled, 。
<Cancel>key is pressed to cancel the deletion; the user can use the direct input method in this
chapter to set any coordinate system’s axis offset value to 0.
182
Chapter 3 Page Display and Data Modification and Setting
Press soft key【 MACRO】 to enter macro variable page, which consists of two subpages:
【CUSTOM】 and 【SYSTEM】. Both of them are available to be viewed and modified by
corresponding soft keys, which is shown below:
1) Customer variable page Press soft key【CUSTOMER】to enter this page.(See 3-4-3-1-1):
Ⅱ
Operation
Fig. 3-4-3-1-1
2) System variable page Press soft key【SYSTEM】to enter this page(See Fig.3-4-3-1-2):
Fig. 3-4-3-1-2
Refer to Section 4.7.2 in PROGRAMMING for the explanation and use of macro variables.
183
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
2) Press key , then soft key【 MACRO】to enter macro variable page.
3) Move the cursor to the variable number to be modified.
Method 1: Press page keys to display the page where the variable is to be modified; move
the cursor to the variable to be modified.
5) Press key for confirmation, and then the value will be input and displayed.
Press key to enter the graphic page which consists of two subpages:【G. PARA】and
【 GRAPH】. They can be switched between each other by corresponding soft keys. (See Fig.3-5-1)
Ⅱ
Operation
Appendix
Fig. 3-5-1
1) Graphic parameter page: Press soft key【G. PARA】 to enter this page, see Fig.3-5-1.
A. Graphic parameter meaning
AXIS: set drawing plane, with 2 selection modes (0-1), shown in the 2nd line.
Graphic mode: set graphic display mode
Automatic erasion: When it is set to 1, the program graphic is erased automatically at next
cycle start-up after the program is finished.
Scale: set drawing ratio
Graphic center: set the coordinates corresponding to the LCD center in workpiece
coordinate system
The maximum and minimum value: The scaling and the graphic center are automatically
set when the maximum and minimum value of the axis are set.
184
Chapter 3 Page Display and Data Modification and Setting
Ⅱ
Operation
Fig. 3-5-2
The machining path of the program being executed can be monitored in graphic page.
A Press soft key【START】or key to enter the DRAW START mode, then sign ”*“ is
placed in front of “S: START”;
B Press【STOP】soft key or key to enter the DRAW STOP mode, then sign‘*’is
moved ahead of “T: STOP”;
C Press soft key 【SWITCH】 to switch the graph display among coordinates corresponding
to 0~1;
185
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
The state of DI/DO signals between CNC and machine, the signals transferred between CNC
and PLC, PLC internal data and CNC internal state etc. are displayed in the diagnosis page. Refer to
“GSK980TC3 CNC System PLC, Installation and Connection” for the meaning and setting of each
diagnosis number.
The diagnosis of this part is used to detect the running states of the CNC interface signals and
internal signals rather than modifying the states.
Press key to enter the Diagnose page, which consists of 5 subpages: 【 SIGNAL】,
【SYSTEM】, 【BUS】, 【DSP】 and【 WAVE】. All of them can also be viewed by pressing the
soft keys(See Fig. 3-6-1).
Ⅱ
Operation
Appendix
Fig. 3-6-1
Press【SIGNAL】to enter the signal diagnosis page. The page display content is shown below:
(See Fig. 3-6-1-1-1~Fig. 3-6-1-1-4)。
1. F signal page Press soft key 【F SIGNAL】in <DIAGNOSIS> page to enter diagnosis
(NC→PLC) page. See Fig. 3-6-1-1.
186
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-6-1-1-1
This is the signal sent to PLC by CNC system. See “GSK980TC3 CNC System PLC,
Installation and Connection User Manual” for the meaning and setting of each diagnosis number.
2. G signal page In <DIAGNOSE> page, press soft key 【 G SIGNAL 】 to enter diagnosis
(PMC—>CNC) page, which is shown in Fig. 3-6-1-2:
Ⅱ
Operation
Fig. 3-6-1-1-2
This is the signal sent to CNC system by PLC. See “GSK980TC3 CNC System PLC, Installation
and Connection User Manual” for the meaning and setting of each diagnosis number.
3. X signal page Press soft key【X SIGNAL】in <DIAGNOSIS> page to enter diagnosis (MT→PLC)
page, which is shown in Fig. 3-6-1-3:
187
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-6-1-1-3
This is the signal sent to PLC by CNC system. See “GSK980TC3 CNC System PLC, Installation
and Connection User Manual” for the meaning and setting of each diagnosis number.
4. Y signal page Press soft key 【Y SIGNAL】in <DIAGNOSIS> page to enter (PLC→MT)page,
which is shown in Fig. 3-6-1-4:
Ⅱ
Operation
Appendix
Fig. 3-6-1-1-4
This is the signal sent to PLC by CNC system. See “GSK980TC3 CNC System PLC, Installation
and Connection User Manual” for the meaning and setting of each diagnosis number.
Press soft key 【SYSTEM】to enter the system signal diagnosis page, which is shown in Fig.
3-6-1-2-1:
188
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-6-1-2-1
Press soft key 【BUS】to enter the bus signal diagnosis page, which is shown in Fig. 3-6-1-3-1:
Ⅱ
Operation
Fig. 3-6-1-3-1
Press soft key【DSP】to enter the system signal diagnosis page, which is shown in Fig. 3-6-1-4-1:
189
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-6-1-4-1
Press soft key【WAVE】to enter the wave page, which is shown in Fig. 3-6-1-5-1.
Ⅱ
Operation
Appendix
Fig. 3-6-1-5-1
AXIS: select the axis for WAVE diagnosis.
WAVE: select the waveform type.
HOR SCALE: select the graph ratio.
Using key <START> to monitor signals, key <STOP> to stop monitoring signals.
190
Chapter 3 Page Display and Data Modification and Setting
key to search.
4) In【WAVE】page, the feedrate, acceleration and jerk of each axis can be displayed. It is easy
to debug the system and find the optimum suited parameters for the drive and the motor.
When an alarm is issued, “ALARM” is displayed at the lower left corner of the LCD. Press key
to display the alarm page. There are 4 subpages: 【ALARM】, 【USER】, 【HISTORY】
and【OPERATE】, all of which can be viewed by the corresponding soft keys(See Fig.3-7-1 to
Ⅱ
Fig.3-7-4). Whether the page is switched to alarm page when an alarm occurs can also be set by bit
parameter No: 24#6.
Operation
1. Alarm page In <ALARM> page, press soft key【ALARM】to enter this page, which is shown
in Fig.3-7-1.
Fig. 3-7-1
In alarm page, the message of current P/S alarm number is displayed. See details about the
alarm in Appendix 2.
2. User page In <ALARM> page, press soft key 【USER】 to enter external alarm page, which is
shown in Fig. 3-7-2.
191
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-7-2
See “GSK980TC3 CNC System PLC, Installation and Connection User Manual” for the details
about the user alarm.
Note: The external alarm number can be set and edited by users according to the site conditions. The edited
contents of the alarm are input into the system via a transmission software. The external alarm is the A
of edit file LadChi**.txt, and the two digits behind it are set by bit parameters 53.0~53.3. (The default is
01, i.e. the file name is LadChi01.txt )
Ⅱ
3. History page In <ALARM> page, press soft key 【HISTORY】 to enter this page. See Fig. 3-7-3:
Operation
Appendix
Fig. 3-7-3
In this page, the messages are arranged in chronological order for users’ convenience.
4. OPERATE page In <ALARM> page, press soft key【OPERATE】to enter this page, as is shown
in Fig. 3-7-4:
The OPERATE page displays the modification messages applied to the system parameters and
ladders, e.g. content modification and time modification.
192
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-7-4
OPERATE page can display 34 pages, while HISTORY alarm page can display 9 pages. The
alarm time, alarm numbers, alarm messages and page numbers can be viewed using page keys.
The records of the HISTORY and OPERATE can be deleted by pressing key (system
debugging level or above required).
Ⅱ
Operation
3.8 PLC Display
Press the key to display the PLC page. There are 5 subpages, including 【INFO】,
【 PLCGRA 】, 【 PLCPAR】, 【PLCDGN】and【 PLCTRA 】, which can be viewed by the
corresponding soft keys(See Fig.3-8-1~Fig.3-8-5).
Fig. 3-8-1
193
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-8-2
Ⅱ
Operation
Appendix
Fig. 3-8-3
194
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-8-4
Ⅱ
Operation
Fig. 3-8-5
Note: Refer to GSK 980TC3 CNC System PLC Connection and Installation User Manual for the PLC
ladder modification and relevant messages.
Press key to display help page. There are 8 subpages, including 【SYS INFO】,
【OPRT】, 【ALARM】, 【G CODE】, 【PARA】,【MACRO】,【 PLC.AD】and【CALCULA】. All
of them can be viewed by corresponding soft keys(See Fig. 3- 9- 1~3- 9- 12).
1. System information page In <HELP> page, press soft key【SYS INFO】to enter system
information page (See Fig. 3-9-1):
195
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-9-1
2. OPRT page In <HELP> page, press soft key【OPRT】to enter this page, as is shown in Fig. 3-9-2:
Ⅱ
Operation
Appendix
Fig. 3-9-2
The various operation steps on different pages are described in <HELP> (OPRT) page, you can
get help in the HELP page if you are unfamiliar with some operations.
3. ALARM page In <HELP> page, press soft key【ALARM】to enter this page. See Fig. 3-9-3:
196
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-9-3
The meaning and handling for each alarm number is described in this page.
4. G code page In <HELP> page, press soft key【G. CODE】to enter this page. See Fig. 3-9-4:
Ⅱ
Operation
Fig. 3-9-4
The definitions of G codes used in system are shown in G code page. Move the cursor to the G
code to be viewed, then its definition is shown at the lower left corner of the page (Fig. 3-9-4). If you
need to know the format and usage of a G code, press key on the panel after selecting the
197
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-9-5
The formats, functions, explanations and restrictions of codes are introduced in this page. You
can find the corresponding information here if you are unfamiliar with these codes.
5. Parameter page In <HELP> page, press soft key【PARA】to enter this page, as is shown in
Fig.3-10-6:
Ⅱ
Operation
Appendix
Fig. 3-9-6
The parameter setting for each function is described in the page. If you are not familiar with the
setting, you can find corresponding information here.
6. Macro page In <HELP> page, press soft key【MACRO】 to enter this page, as is shown in
Fig.3-10-7:
198
Chapter 3 Page Display and Data Modification and Setting
Fig. 3-9-7
The formats and a variety of operation codes of the macro codes are described in this page, and
the setting ranges for local variable, common variable and system variable are also given. If you are
unfamiliar with the macro code operations, you can get corresponding information here.
7. PLC.AD page In <HELP> page, press soft key【PLC.AD】to enter this page. There are four
subpages, including 【F. ADDR】, 【G. ADDR】, 【X. ADDR】and 【Y. ADDR】, as is shown in figures
Ⅱ
3-9-8~3-9-11:
Operation
Fig. 3-9-8
199
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 3-9-9
Ⅱ
Operation
Fig. 3-9-10
Appendix
Fig. 3-9-11
The PLC addresses, signs, meanings are described in this page, and you may get the
200
Chapter 3 Page Display and Data Modification and Setting
8. CALCULA page In <HELP> page, press soft key【CALCULA】to enter this page. See fig.
3-9-12:
Fig. 3-9-1
Ⅱ
Operation
201
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Ⅱ
Operation
Appendix
202
Chapter 4 Manual Operation
Press key to enter Manual mode, which includes manual feed, spindle control and
machine panel control, etc.
In Manual mode, each axis can be moved at MANUAL feedrate or manual rapid traverse speed
separately.
X axis can be moved in the positive or negative direction by pressing and holding key
or , and the feedrate can be changed by feedrate override. If the key is released, the X axis
Ⅱ
movement is stopped. That of Z axis is the same. The three axes simultaneous moving is not
Operation
available in this system, but the two axes simultaneous zero return is supported by the system.
Note: The manual feedrate of each axis is set by parameter P98.
Press key to enter Rapid Traverse state with its indicator lighting up. Then press
manual feeding keys to move each axis at the rapid traverse speed.
Note 1: The manual rapid speeds are set by the parameter P170~ P173.
Note 2: Whether manual rapid traverse is effective before reference point return is set by the bit parameter
N0:12#0.
The manual feedrate override, which can be selected by the band switch, is divided into 21 gears
(0%--200%) in Manual feed mode .
203
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Example: If the rapid traverse speed is 6m/min and override is 50%, the actual speed is 3m/min.
While a program being executed in Auto, MDI or DNC mode is shifted to MANUAL mode after a
dwell operation, the manual intervention is available. Move the axes manually, then shift the mode to
the previous one after the intervention. When key is pressed to run the program, each axis
returns to the original intervention point rapidly by G00, and the program execution continues.
Explanation:
1. If the single block switch is turned on during return operation, the tool performs single
block stop at the manual intervention point.
2. If an alarm or resetting occurs during the manual intervention or return operation, this
function will be cancelled.
3. Use machine lock, mirror image and scaling functions carefully during manual
intervention.
4. Machining and workpiece shape should be taken into consideration prior to the manual
intervention to prevent tool or machine damage.
The manual intervention operations are shown in the following figure:
Ⅱ
Operation
Appendix
204
Chapter 4 Manual Operation
Tool
N2
Workpiece
N1
Block start point
2. The tool machine is stopped by pressing the feed hold key in the middle of the N 1
block
Tool
N2
Workpiece
N1 A
Ⅱ
Operation
B
Manual intervention
N2
Workpiece
N1 A
4. After automatic return to point A by G00 speed, the remaining moving command
of block N1 is executed.
B
Tool
N2
Workpiece
N1 A
Fig.4-1-4-1
205
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
: Specifies S speed in MDI mode; in Manual/MPG/Step mode, press this key to rotate the
spindle counterclockwise.
: Specifies S speed in MDI mode; in Manual/MPG/Step mode, press this key to rotate the
spindle clockwise.
Whether the spindle is frequency conversion control or gear control is set by bit parameter
No:1#2. If parameter No:1#2=1, the spindle auto gear shift is controlled by PLC. Three gears (gear 1
to gear 3) are available in this system, and the maximum speed of each gear is set by parameters
(P246, P247, P248)respectively. NO:1#2=1: the spindle speed is changed by I/O controlling
automatic gear shift. Presently, the system uses the 3-gear control (S1, S2, S3) , which can modify
the ladder diagram adding the gear output. The system will automatically select the corresponding
Appendix
Max. speed(10V)
Spindle motor
min. clamp speed Spindle rotation
instruction
(S instruction)
Gear 1 Gear 2 Gear 3
Max. speed Max. speed Max. speed
Fig.4-2-4-1
Note: When the spindle auto gear shift is effective, the spindle gear is detected by gear
206
Chapter 4 Manual Operation
: A compound key, used to switch between cooling ON and OFF. ON: the indicator lights up;
OFF: the indicator goes out.
: A compound key, used to switch between lubricant ON and OFF. ON: the indicator lights up;
OFF: the indicator goes out.
:In manual mode, hit the pedal switch and the chuck releases. The chuck state displays
Ⅱ
the release in【POSITION】, and the switch is hit again, the chuck clamps, and the state
displays the clamp.
Operation
4.3.4 Tailstock Control
:switch the machine tailstock forward/backward. The indicator ON means its forward,
and the indicaor OFF means its backward.
: In Manual/MPG/STEP mode, press the key and the tool post rotates to the next tool.
Press <PLC> soft key, and then press【+Ladder Para】 to enter【DATA】 page to view
the total quantity.(Refer to the machine tool manufacturer’s user manual)
Machining a part generally nees several different tools. Because of the tool installation and tool
offset, when each tool rotates to the cutting position, each tool nose’s position does not completely
coincide. Without considering the tools’ offset when programming, the system sets the tool offset’s
automatic creating’s toolsetting method, which is convenient to the toolsetting operation. After
toolsetting operations, the user compiles only programs according to the part drawing and
processing technology when programming without considering the tools’ offset, and calls the
207
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
corresponding tool compensation values in machining programs. The system sets trial cut
toolsetting, machine zero return toolsetting and other toolsetting modes.
When the workpiece coordinate system does not change, the trial cut toolsetting can be executed,
which steps shown below: (set the workpiece coordinate system based on the workpiece end face).
Surface B
Surface A
α Z
X
Fig. 4-4-1-1
rotation;
4. Press to enter the offset page display mode, press , to move the
cursor to select No. 1 offset number as the tool’s offset number;
Appendix
5. Orderly input the address key “Z”, digital key “0” and ;
6. Execute B surface cutting along Z negative direction in Manual mode;
7. Release the tool along Z positive direction when X does not move, and stop the spindle
rotation;
8. Measure the diameter "α’"(suppose α’=30);
9. Press to enter the offset page display mode, press , to move the
cursor to select No.1 offset number;
10. Orderly input the address key “X”, digital key “3”, “0” and ;
11. Move the tool to the safety tool change position;
12. Change another tool(suppose to be No. 2 tool), without tool compensation;
208
Chapter 4 Manual Operation
Surface B1
Surface A1
α’ Z
β’
X
Fig. 4-4-1-2
13. Execute A1 surface cutting along X negative direction in Manual mode;
14. Release the tool along X positive direction when Z does not move, and stop the spindle
rotation;
15. Measure the distance“β”(suppose β=1) between A1 surface and workpice coordinate
system).
16. Press to enter the offset page display mode, press , to move the
cursor to select No. 2 offset number as the tool’s offset number;
Ⅱ
Operation
17. Orderly input the address key “Z”, sign key “-” and ;
19. Release the tool along Z positive direction when X does not move, and stop the spindle
rotation;
20. Measure the diameter "α’"(suppose α’=28);
Press to enter the offset page display mode, press , to move the
cursor to select No.2 offset number;
21. Orderly input the address key “X”, digital key “2”, “8” and ;
22. For other toolsetting method, repeat the above Step 11~22.
Using the toolsetting method does not require a reference tool or not. When the tool wears or any
one tool is regulated, the user executes the tool’s toolsetting again. Before toolsetting, return to the
machine zero one time (see Chapter 9.1 about the machine zero). After power-off, executing the
machine zero return one time can continue the machining, which operation is convenient.
209
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Surface B
Surface A
α Z
X0
Z0 。Machine zero
Fig.4-4-2-1
Operation step:
1) Press to enter the machine zero return operation mode, press X-axis positive key and
Ⅱ
Z-axis positive key to make two return to the machine zero one time;
Surface B
Operation
Surface A
α Z
Appendix
X
Fig. 4-4-2-2
5) Press to enter the offset page display mode, press , to move the
cursor to select No. 1 offset number as the tool’s offset number;
6) Orderly input the address key “Z”, digital key “0” and ;
7) Execute B surface cutting along Z negative direction in Manual mode;
8) Release the tool along Z positive direction when X does not move, and stop the spindle
210
Chapter 4 Manual Operation
rotation;
9) Measure the diameter "α’"(suppose α’=30);
10) Press to enter the offset page display mode, press , to move the
cursor to select No.1 offset number;
11) Orderly input the address key “X”, digital key “3”, “0” and ;
12) Move the tool to the safety tool change position;
13) Change another tool(suppose to be No. 2 tool), without tool compensation;
Surface B1
Surface A1
α’ Z
β’
Ⅱ
X
Fig.4-4-3-3
Operation
14) Execute A1 surface cutting along X negative direction in Manual mode;
15) Release the tool along X positive direction when Z does not move, and stop the spindle
rotation;
16) Measure the distance“β”(suppose β=1) between A1 surface and workpice coordinate
system);
17) Press to enter the offset page display mode, press , to move
the cursor to select No. 2 offset number as the tool’s offset number;
18) Orderly input the address key “Z”, sign key “-”digital key “1” and ;
19) Execute B1 surface cutting along Z negative direction in Manual mode;
20) Release the tool along Z positive direction when X does not move, and stop the spindle
rotation;
21) Measure the diameter "α’"(suppose α’=28);
22) Press to enter the offset page display mode, press , to move
the cursor to select No.2 offset number;
211
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
23) Orderly input the address key “X”, digital key “2”, “8” and ;
24) For other toolsetting method, repeat the above Step 12~23.
Example: X-axis tool compensation value needs to increase 0.010mm. Press to enter
the offset page display mode, press , move the cursor to select 001’s some
offset number, input U0.010, and press to complete the operation, and the system
automatically adds 0.010mm to the previous tool compensation value.
Ⅱ
Operation
Appendix
212
Chapter 5 Step Operation
Press key to switch the MPG mode and STEP mode. Pressing it every time can switch
the two mode. In step feed mode, the machine moves by the selected step each time.
Ⅱ
Operation
Fig. 5-1-1-1
By pressing the moving key each time, the corresponding axis on the machine is moved 0.1 mm.
X axis may be moved in the positive or negative direction by pressing axis and direction key
or . Press the key once, the corresponding axis will be moved for a step distance
defined by system. The operation for Z axis is identical with that of X axis. Simultaneous manual
moving for 2 axes is unavailable in this system, but simultaneous zero return for 2 axes is available.
The step feed max. clamp speed is set by data parameter P155.
213
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
The step feedrate is beyond the control of the feedrate and rapid override.
It is the same as that of Manual mode. See Sections 4.2 and 4.3 in this manual for details.
Ⅱ
Operation
Appendix
214
Chapter 6 MPG Operation
Press key to switch the MPG mode and STEP mode. Pressing it every time can switch
the two mode. In step feed mode, the machine moves by the selected step each time.
Ⅱ
Operation
Fig. 6-1-1
In MPG mode, select the moving axis to be controlled by the MPG, and press the corresponding key
( , , , ), then you can move the axis by the MPG. In MPG mode, if X
axis is to be controlled by the MPG, press key , then you can move the X axis by rotating the
MPG. Generally speaking, the MPG CW rotation is the feed’s positive direction and the MPG CCW
rotation is the feed’s negative direction.
The feed direction is controlled by MPG rotation direction. See the manual provided by the
machine tool builder for details. In general, MPG CW rotation indicates the positive feed, while CCW
rotation indicates the negative feed.
215
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1. The relationship between MPG scale and machine moving amount is as follows:
Table 6-1-2-1
Moving amount per MPG scale
MPG increment (mm) 0.001 0.01 0.1
Machine moving amount (mm) 0.001 0.01 0.1
MPG increment (inch) 0.001 0.01 0.1
Machine moving amount (inch) 0.0001 0.001 0.01
2. The values in the table above vary with the mechanical transmission. See the manual provided by
the machine tool builder for details.
3. No.17#5 is set to 1, the MPG moving amount selects complete run. The rotation speed of the MPG
cannot exceed 5r/s, otherwise, the scale and the moving amount may be inconsistent.
In auto, MDI mode, press 【 ALL 】 soft key in 【 POS 】 page to enter the all page, press
{【OPERATION】and then press【INTERRUPT ON】. Selecting the panel MPG axis number can enter
Ⅱ
the MPG interruption state to execute the MPG interruption operation. Press【INTERRUPT SWITCH】
Operation
than or equal to the upper speed of the axis’ cutting feed. For example, when the MPG’s upper limit
is 2000mm/min, and the current federate is 2000mm/min, the MPG interruption speed range is
4000 ~ 0mm/min (the negative means the MPG interruption direction is opposite to the feed
direction)
(The coordinate system for MPG interruption is shown in Fig.6-2-1-2.)
216
Chapter 6 MPG Operation
Fig. 6-2-1-2
Steps to clear MPG interruption coordinate system: Press , move the cursor upward and
downward till the MPG interruption coordinate X flickers, and press key , then the coordinate
system is cleared. The operations for Y and Z axes are the same as above; when the zero return
Ⅱ
operation is performed, the coordinate system is cleared automatically too.
Operation
Note: When the MPG interruption function is used to adjust the coordinate system, if an alarm or resetting
occurs, the function is cancelled.
When the axis moves by MPG interruption, the actual position of movement axis changes, the
machine coordinates update and the absolute coordinates do not update. So after the MPG
interruption, the slide moves and the machine coordinate system does not change, but the workpiece
coordinate system does not offset.
Table 6-2-2-1
Display Relationship
After machine lock is effective, the machine movement
Machine lock
by using MPG interruption is ineffective.
MPG interruption does not change the absolute
Absolute coordinate value
coordinate values.
MPG interruption does not change the relative
Relative coordinate value
coordinate values.
The change amount of the machine coordinate value is
Machine coordinate value
the displacement amount caused by MPG rotation.
Note: The moving amount of MPG interruption is cleared when the manual reference point return is
performed for each axis.
217
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
The MPG interruption makes the machine coordinate system offset’s workpiece coordinate
system return to the workpiece coordinate system which is prior to the offset, which is called the
interruption amount cancel.
When the interruption amount cancel operation is performed, the workpiece coordinate system
offsets only the MPG interruption amount’s amount, and then the MPG interruption amount is
reflected to the absolute coordinate value.
The workpiece coordinate offset created by MPG interruption is shown below:
Ⅱ
Operation
After the MPG interruption is cancelled, the workpiece coordinate system recovers to the state
which is prior to the interruption, but the actual position does not change, which is shown below:
Appendix
218
Chapter 6 MPG Operation
The auxiliary operation in MPG mode is identical with that in JOG mode. See Sections 4.2 and
4.3 for details.
Manually rotating the MPG controls the part program run, and the user can operate the machine
along the machining program commanding the tool path. The function is mainly used to the
workpiece trail-cut and check machining programs.
Operation method:
In Auto mode, open the MPG trial cut, press to make each axis not to move, at the
moment, rotating the MPG controls the part program run. The faster the MPG rotates, the faster the
program execution speed is, and vice versa. Each pulse’s movement amount can be adjusted by the
rapid override.
When the system is in MPG trial cut mode, is pressed, the system returns to Auto mode.
All operations in MPG trail cut mode are the same as those in Auto mode.
Speed when the system runs the interpolation command in MPG trial cut state:
Ⅱ
G0:current rapid override X MPG override X MPG speed
Operation
G1:cutting override X MPG override X MPG speed
Note 1:After the MPG trial cut function is started, it is valid.
Note 2:Executing the single block pause is valid in single block mode.
219
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Ⅱ
Operation
Appendix
220
Chapter 7 Auto Operation
(b) Press key to enter the 【DIR】page, move the cursor to find the target program;
Ⅱ
Operation
(a) Press key to enter the Edit mode;
(b) Press key to enter the【DIR】page, move the cursor to find the target program;
After selecting the program using the two methods in section 7.1 above, press key to
execute the program automatically. The execution of the program can be viewed by switching to
<POSITION>, <MONI>, <GRAPH> etc. pages.
The program execution is started from the line where the cursor is located, so it is recommended
to check whether the cursor is located at the program to be executed and whether the modal values
are correct before pressing key . If the cursor is not located at the start line from which the
program is started, press key , and then key to run the program automatically
221
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
In Auto run, to stop the program being automatically executed, the system provides five
methods:
1. Program stop (M00)
After the block containing M00 is executed, the auto running pauses and the modal message is
If key is pressed before the program execution, the automatic running pauses and the
modal message is saved when the block containing M01 is executed in the program. After key
3. Pressing key
Operation
If key is pressed during the auto running, the machine states are as follows:
1) Machine feeding slows down and stops;
2) Dwell continues if Dwell (G04 code) is executed;
3) The other modal message is saved;
Appendix
4. Pressing key
See Section 2.3.1 in this manual.
5. Pressing Emergency Stop button
See Section 2.3.2 in this manual.
In addition, if the control is switched to other mode from Auto mode, DNC mode or MDI page of
MDI mode in which the program is being executed, the machine can also be stopped.
The steps are as follows:
1)If the control is switched to Edit, MDI, DNC mode, the machine stops after the current block is
executed.
2)If the control is switched to MANUAL, MPG, Step mode, the machine interruption stops
immediately.
3)If the control is switched to Machine zero interface, the machine slows down to stop.
222
Chapter 7 Auto Operation
This system allows the auto run to start from any block of the current program. The steps are
shown as follows:
1. Press key to enter Manual mode, start spindle and other miscellaneous functions;
2. Execute the modal values of the program in MDI mode, and ensure the modal values are correct;
3. Press key to enter Edit mode, and press key to enter program page, then find
the program to be machined in【DIR】.
4. Open the program, and move the cursor to the block to be executed;
Ⅱ
6. Press key to execute the program automatically.
Operation
Note 1: Before execution, confirm the current coordinate point is the end position of the last block
(confirmation for the current coordinate point is unnecessary if the block to be executed is absolute
programming and contains G00/G01);
Note 2: If the block to be executed is for tool change operation, etc, ensure no interference and collision
occur between the current position and workpiece in a bid to prevent machine damage and personnel
hurt.
Before the machining by a program, use “Dry Run” (usually in combination with “M.S.T. Lock” or
“Machine Lock”) to check the program.
Press key to enter Auto mode, and press key (that the indicator on the key lights
up means Dry Run state is entered).
In rapid feed, the program speed equals to Dry Run speed × rapid feed override.
In cutting feed, the program thread’s actual cutting speed=F*S(S is a programmed value)F/S is the
current mode.
223
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
In Auto, or MDI mode, press key (that the indicator on the key lights up means single
block execution state is entered). In single block execution, the system stops after the execution of a
single block. Press key to execute the next block, and perform the operation like this
repeatedly till the whole program is executed.
Note 1: In G28 mode, the single block stop can be performed at an intermediate point.
Table 7-6-1
G code Tool path Explanation
4 4
Operation 1~4
1 3 1 as one cycle.
G90
3 Stop after
2 operation 4 ends
2
4 4 Operation 1~4
1 as one cycle.
G92 3 1
3 Stop after
Ⅱ
2 2 operation 4 ends
Operation
1 1 Operation 1~4
2 as one cycle.
G94 4 2 4 Stop after
3 3 operation 4 ends
Operation 1~7
as one cycle.
Appendix
G70
Stop after
operation 7 ends
4
3
2 1
21 7
8
Operation 1~4,
6 5
5~8,9~12,
12
G71, 21 11
10
9 13~16,17~20
G72 21 16 as one cycle.
15
13
14
Stop after the
21 20
19
18 17 cycle ends.
21
224
Chapter 7 Auto Operation
6 Operation 1~6
5
4 as one cycle.
G73 3 1
2 Stop after the
cycle ends.
9 1
Operation 1~10
G74, 2 as one cycle.
10
G75 Stop after the
cycle ends.
11 9
10
5 Operation 1~4,
7 6 5~8,9~12 as
G76 3 1 one cycle. Stop
2
after the cycle
Ⅱ
ends.
Operation
4(8/12)
In <AUTO> mode, press key (that the indicator on the key lights up means the current
Machine lock state is entered). In this mode, the axes on the machine do not move, but the position
along each axis changes on the display as if the tool were moving. In addition, M, S and T functions
can be executed. This function is for checking a program.
In <AUTO> mode, press key (that the indicator on the panel lights up means MST
lock state is entered). In this state, M, S and T codes are not executed. This function is used together
with Machine Lock to check a program.
Note: M00, M01, M02, M30, M98, M99 are executed even in MST lock state.
In <AUTO> mode, the ٛ ederate and rapid traverse speed can be overridden by the system.
In auto run, press keys to select the rapid traverse speed with
gears Fo, 25%, 50% and 100%.
225
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
In auto run, the ٛ ederate override, which is divided into 21 gears, can be selected by pressing
keys .
In auto run, the spindle speed can be overridden if it is controlled by analog quantity.
The spindle override, which is classified into 8 gears from 50%~120%, can be adjusted by pressing
The spindle speed override increases by one gear (10%) till 120% by pressing key
each time.
The spindle speed decreases by one gear (10%) by pressing key once. When it
decreases to 50%, the spindle stops.
Appendix
226
Chapter 7 Auto Operation
Fig. 7-11-1
Press soft key【B.EDT】to enter the program background edit page. The program editing
Ⅱ
operation is the same as that in Edit mode (Refer to Chapter 10 Programming Edit Operation). Press
soft key【B.END】to save the edited program and exit this page.
Operation
In Auto mode, press【CHECK】sofy key to check programs.
Note1: It is suggested that the file size in background edit be not more than 3000 lines, otherwise the
processing effect will be affected.
Note2: Foreground program can be opened but can not be edited or deleted in background edit.
Note3: No running foreground program can be edited in background edit.
227
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Ⅱ
Operation
Appendix
228
Chapter 8 MDI Operation
Besides the input and modification for parameters and offsets, the MDI operation function is
also provided in MDI mode. The codes can be input directly using this function. The data input,
parameter and offset modification etc. are described in “CHAPTER 3 PAGE DISPLAY AND DATA
MODIFICATION AND SETTING”. This chapter will describe the MDI operation function in MDI
mode.
Ⅱ
Operation
Fig. 8-1-1
After the codes are input according to the steps in Section 8.1, press key to execute
them in MDI mode. During the execution, the code execution can be stopped by pressing key
.
Note 1: MDI execution must be performed in MDI mode.
Note 2: MDI program editing up to 60 blocks.
229
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
If a mistake occurs during the input, press key to cancel it; if a mistake is detected after
the input, re-input the contents to replace the wrong ones or press key to delete all the
contents and then input them again.
In Auto, MDI mode, when the control is converted to MDI, DNC, Auto or Edit mode during the
program execution, the system stops the execution of the program after the current block is executed.
When the control is switched to Step mode by a dwell during the program execution in Auto, MDI
mode, the step interruption is executed (See section 6.2 Step interruption). If the control is switched
to MANUAL mode by a dwell, the manual intervention is executed (See Section 4.1.4 Manual
Interruption).
When the control is directly switched to Step, MPG, MANUAL or Zero Return mode during the
program execution in Auto, MDI, DNC mode, the system executes deceleration and stop.
Ⅱ
Operation
Appendix
230
Chapter 9 Zero Return Operation
The machine coordinate system is the inherent coordinate system of the machine. The origin of
the machine coordinate system is called machine zero (mechanical zero), which is also called
reference point in this manual. It is usually fixed at the maximum stroke point of X axis, Y axis and Z
axis. This origin is determined as a fixed point after the design, manufacture and adjustment of the
machine. As the machine zero is unknown at power-on, the auto or manual machine zero return is
usually performed.
Ⅱ
Operation
1. Press to enter Machine Zero Return mode, then “machine zero return” is displayed
at the lower right corner of the LCD screen.
the coordinate axis stops move, the zero return indicator is OFF.
Note 1:G50 must be executed after the system is turned on, otherwise, #0097 alarm occurs.
Note 2:The program zero return is executed when the machine lock is valid, the absolute coordinates
return to the position set by G50 but the machine coordinates do not change.
Note 3:After NO:6#5 is set to 0,a program commands G28 zero return because the check stroke block
is equivalent to the manual machine zero return.
There are two zero return methods when the system is allocated with a bus servo: common zero
return, absolute setting zero. The two setting methods are introduced below:
No:0#0=1,the system executes a common zero return, select the zero return mode of signal
per rotaton or the zero return without signal per rotation. The zero return mode is used to the system
matched with GE2000 series incremental mode. Each axis’ zero return is valid in zero return mode.
231
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1. Press to enter Machine Zero Return mode, then “machine zero return” is displayed
at the lower right corner of the LCD screen;
2. Select axis X, or Z for machine zero return, the direction of which is set by bit parameter
No.:7#0~N0:7#4;
3. When it moves towards the machine zero, the machine traverses rapidly (traverse speed set
by data parameter No.100 ~ No.104) before the deceleration point is reached. After the
deceleration switch is touched, P342~P346 sets each axis’ zero return speed. After it is away
from the block, it moves to the machine zero point (i.e. reference point ) at a speed of FL(set
by data parameter P099). As the machine zero is reached, the coordinate axis movement
stops and the Machine Zero indicator lights up.
Set No:0#0=1, No:20#7=1, No:20#6=1: the system is allocated with GE2000 series version.
The user manually moves each axis to its machine zero. Then in MDI mode, No:21#0=1, set the
1st axis’ zero point position; No:21#1=1: set the 2nd axis zero point position; No:21#2=1: set the
3rd axis’ zero point’ position; No:21#3=1: the 4th axis’ zero point’ position; No:21#4=1: the 5th
axis’ zero point’ position. In zero return mode, each axis’ zero return indicator is ON, and the
machine zero setting succeeds.
Note:The method to set zero is complicated. Please set zero in the bus allocation page.
Ⅱ
The zero return mode can be directly set in【 BUS ALLOCATION】. See Section 3.3.5 Bus
Operation
Example:
For the absolute encoder sets the zero, the user can set the zero point position by the motor
feedback’s absolute position. Set #20.7=1, #20.6=1. See Fig. 9-3-2-1.
Appendix
Positive limit
Negative limit
Note 1:The user must not execute the machine zero return when the machine is not installed with a zero return
decelerationswitch or a machine zero.
Note 2:The corresponding axis’ indicator is ON when the machine zero return ends.
Note 3:The zero return indicator is OFF when the correspond axis is not on the machine zero.
Note 4:Refer to the machine manufacturer’s user manual about the machine zero (reference point) direction.
Note 5:The user must not modify each axis’ zero return direction, feed axis direction and gear ratio after the machine
zero is set.
Note 6:Parameters relevant with the machine zero and all machine zero return modes are referred to Section 4.8. .
232
Chapter 10 Edit Operation
The edit for part programs should be operated in Edit mode. Press key to enter Edit
mode; Press key to enter program page, and press soft key 【 PROGRAM】to enter the
program editting and modification page (see Fig. 10-1-1):
Ⅱ
Operation
Press 【X】to enter the next page
Fig. 10-1-1
The replacement, cut, copy, paste, reset operations, etc. can be done by pressing the
corresponding soft keys.
The program switch must be turned on before program editing. See Section 3.3.1 Parameter and
program switch page in this manual for its operation.
233
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Set the “AUTO SEQ” to 1 according to the method described in Section 3.3.1. See fig.
10-1-1-1-1.
Fig. 10-1-1-1-1
Ⅱ
In this way, the sequence number will be automatically inserted into the blocks during program editing.
The incremental amount of the sequence number is set by its corresponding parameter.
Operation
Fig. 10-1-1-2-1
234
Chapter 10 Edit Operation
Fig. 10-1-1-2-2
Ⅱ
Operation
4. Press key to set up the new program name, as is shown in Fig.10-1-1-2-3:
Fig. 10-1-1-2-3
5. Input the written program word by word. After the input, the program will be saved
automatically when the control is switched to other operation modes. However, if the control
needs to be switched to other pages (e.g. page ), first press key to save
the program and then finish the input of the program.
235
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Note 2: If a wrong code word is detected during program inputting, press key to cancel the
code.
Note 3: No more than 65 characters can be input in one block each time.
The sequence number search operation is used to search for a sequence number from which the
program execution and edit are usually started. Those blocks skipped because of the search have no
effect on the CNC state (This means that the data in the skipped blocks such as coordinates, M, S, T
and G codes does not affect the CNC coordinates and modal values).
If the execution is started from a block searched in a program, it is required to check the machine
and CNC states. The execution can only be performed when both the states are consistent with its
corresponding M, S, T codes and coordinate system setting, etc (set in MDI mode).
The word search operation is used to search a specific address word or number, and it is usually
used for editing a program.
Steps for the search of sequence number, word and line number in a program:
Ⅱ
Note 1: The search function is automatically cancelled when the search for sequence number and word is
performed to the end of a program.
Note 2: The searching for sequence number, word and line number can be performed in either【AUTO】or
【EDIT】mode, but in【AUTO】mode, it can only be performed in the background edit page.
a) Press key to move the cursor upward a line, if the column where the cursor is
located exceeds the end column of the last line, the cursor moves to the end of the last
line.
236
Chapter 10 Edit Operation
b) Press key to move the cursor downward a line. If the column where the cursor is
located exceeds the end column of the next line, the cursor moves to the end of the next
line.
c) Press key to move the cursor one column to the right. If it is located at the end
of the line, the cursor moves to the beginning of the next line.
d) Press key to move the cursor one column to the left. If the cursor is at the
beginning of the line, it moves to the end of the last line.
e) Press key to scroll screen upward to move the cursor to the last
screen.
f) Press key to move the screen downward to move the cursor to the next
screen.
g) Press key to move the cursor to the beginning of the line where it is located.
Ⅱ
Operation
h) Press keys + to return the cursor to the beginning of the program.
i) Press key to move the cursor to the end of the line where it is located.
Select <EDIT> mode, press key to display the program, then locate the cursor to the
position to be edited.
1. Word insertion
After inputting the data, press key to insert the data to the left of the cursor.
2.Word deletion
237
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Locate the cursor to the word to be deleted, press key to delete the word where the
cursor is located.
3.Word modification
Move the cursor to the place to be modified, input the new contents, then press key to
replace the old contents by the new ones.
Select <EDIT> mode, then press key to display the program. Locate the cursor to the
beginning of the block to be deleted. Press keys + to delete the block where the
cursor is located.
Ⅱ
Note: Regardless of whether there is a sequence number in the block, the user can press key to
delete it (The cursor should be located at the beginning of the line).
Operation
Blocks deletion from the current displayed word to the block of which the sequence number is
specified.
Appendix
Fig.10-1-1-7-1
Select <EDIT> mode, press key to display the program. Locate the cursor to the
beginning of the target position to be deleted (as the position of word N100 in the figure above), then
key in the last word of the many blocks to be deleted, e.g. S02 (See Fig.10-1-1-7-1), finally press key
238
Chapter 10 Edit Operation
the N+ sequence numbers locate before the first lines of the blocks.
Words deletion from the current displayed word to the one specified.
Fig. 10-1-1-8-1
Select <EDIT> mode, press key to display the program. Locate the cursor to the beginning
of the target position to be deleted (as the position of word N100 in the figure above),then key in
the last word of the words to be deleted, e.g. Y100.0 (See Fig.10-1-1-8-1), finally press key
Ⅱ
Operation
10.1.2 Deletion of a Single Program
1. Key in address key ; key in the program name ( e.g. for program O0002, key in number
2. Select 【DIR】subpage in program page, and select the program name to be deleted by moving the
cursor, then press key . Here, “Delete the current file?” is prompted on the system state
column, press key again, then “Deletion succeeded” is prompted and the program
selected is deleted.
Note: If there is only one program file, by pressing key Delete, its name will be changed to O00001 first and
then the contents be deleted in Edit (DIR) page regardless of whether it is O00001 or not; if there are
multiple program files, the contents of program O00001 as well as its program name are deleted.
239
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
c) Key in address ;
Steps for copying the current program and saving it with a new name:
The copy of a program can also be done in the program edit page (shown in Fig. 10-1-1 ):
c)Press keys + , the blocks from the cursor to the character keyed in will be
copied.
240
Chapter 10 Edit Operation
d)Locate the cursor to the position to be pasted, press keys + or soft key
【PASTE】 to complete the paste.
The copy and paste of the blocks can also be done in the program edit page (see fig. 10-1-1):
1. Locate the cursor to the beginning of the blocks to be copied;
2. Key in the last character of the blocks to be copied;
3. Press soft key【COPY】to finish copying the blocks from the cursor to the character keyed in.
4. Locate the cursor to the position to be pasted, press soft key 【PASTE】to complete the
paste.
Note 1: If the last character keyed in occurs many times in the program, the system will copy the blocks till the
word nearest to the cursor location.
Note 2: If the blocks are copied with method N+sequence number, the blocks from the cursor to the N +
sequence number are copied. The N+sequence number must be at the beginning of the block, or the
copy will fail.
Note 3: 10,000 lines of blocks can be copied at most.
Ⅱ
e) Locate the cursor to the position to be pasted, and press soft key【PASTE】to finish block
pasting.
Operation
Note 1: If the last character keyed in occurs many times in the program, the system will cut the blocks from
the cursor to the word nearest to the cursor.
Note 2: If the blocks are cut with method N+sequence number, the blocks from the cursor to the N sequence
number are cut.
Note 3: in the EDIT, if the program name is in the same block with program content, the system can copy the
words after the program name but can not cut them.
241
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Press key , then press soft key 【DIR 】 to enter the program directory page ( See
Fig.10-2-1-1):
Ⅱ
Operation
Fig. 10-2-1-1
Appendix
1) Open a program
Open a specified program: O+sequence number+ key ENTER (or key EOB), or sequence
number + key ENTER (or key EOB)
In Edit mode, if the sequence number input does not exist, a new program will be created.
2) Deletion of a program:
1. In Edit mode, press key DEL to delete the program where cursor is located.
2. In Edit mode, press O+ sequence number + DEL, or sequence number + DEL
Not more than 400 programs can be stored in this system. The number of the stored programs
can be viewed in the program directory page (program information) in Fig. 10.2.1.
The storage capacity can be viewed in the program directory page in Fig. 10.2.1.
242
Chapter 10 Edit Operation
One program directory page can display 6 CNC program names at most. If there are more than 6
names, it is unavailable to display them all in one page. Here, you can press the PAGE key to display
the remaining names on the next page. If the Page key is pressed repeatedly, all the CNC program
names are displayed circularly on LCD.
The program switch is provided in this system to prevent the user programs from being modified
by unauthorized personnel. After the program editing, turn off the program switch to lock the program,
thus disabling the program edit. See Section 3.3.1 for details.
Ⅱ
Operation
243
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Ⅱ
Operation
Appendix
244
Chapter 11 System Communication
This system supports RS232, USB communication interface, separely communicates with PC or
U disk to realize data transmission.
Appendix
Fig. 11-1-1
11.1.1 Functions
1. File menu
The file menu involves functions of New, Open, Save, Print and Print setting and the latest file
list etc.
2. Edit menu
The edit menu involves functions such as Cut, Copy, Paste, Undo, Find and Replace.
3. View menu
Display the tool bar and status bar.
4. Connect menus
It is mainly used for opening and setting the serial port.
5. Main menu
Include file edit, DNC transmission function, PC—CNC transmission function, CNC—PC
transmission function, software and serial port setting, user management and sum. View
245
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
theses menu contents by pressing the main menu’s black small triangle.
6. Help menu
It is used to view the software version.
Note: DNC transmission function, user management, statistics are not provided.
Click the main menu to enter the file edit interface. The edit operation makes the user
create a new part program file or open the existed part program file to execute edit.
Appendix
Fig.11-1-2-1
Click the main menu to enter the sending file interface. The user clicks the right mouse
button on the shortcut menu at the the right side of “ Sending file” interface or the file display column
in the middle of the interface, selects a corresponding operation or directly selects it to send it after an
environmental menu pops up.
The【Additive…】function can add more files. The user can add one or more files one time. When
the additive file name does not meet rules or the file exceeds 4M, the file’s list item is displayed to
the red, and the 2nd column is displayed to “×”. When the file name and file size is up to
specifications, the 2nd column is displayed to “√”(as shown in Fig. 11-1-3-1).
246
Fig. 11-1-3-1
The user can add the saved file by【Load filelist】;save the current filelist by【Save list】;select
to delete one or more files one time, and delete the selected list item from PC—CNC listed files;
clear the whole PC—CNC file list by【Clear list】; send the selected file to the CNC by【Send】;
terminate the transmission being executed by【Stop】. The user sorts the sent filelist by clicking the
sending filelist’s list head. After sorting, a black small triangle symbol appears on the list head, the
upper triangular symbol means ascending sequence and the lower triangular symbol means
decending sequence (as shown in Fig. 11-1-3-2).
Appendix
Fig. 11-1-3-2
Double click the required list item and a dialog box as shown in Fig. 11-1-3-3 pops up to modify a
file path, a file name stored in the CNC, or a storage area.。
247
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 11-1-3-3
When the file name which file is to be sent by the user is the same as that of some in the CNC
system, a dialog box as shown in Fig11-1-3-4 pops up in the course of sending, the user can press
“Yes” to directly shade it or press “No” to rename the file, or press “Cancel” to jump over the file.
Appendix
Appendix
Fig. 11-1-3-4
Receive the file list from the CNC by【Receiving CNC list】;delete the selected list item from the
received file list by【Delete form only the list】;delete the selected file from the file list and
simultaneously delete from the CNC; a dialog box (as shown in Fig. 11-1-4-1) pops up to select a
position to store the received files by pressing【Receive】;stop the file which is being transmitted by
【Stop】.
248
Fig.11-1-4-1
The user can set some softwares and serial ports and the setting page is shown in Fig.
11-1-5-1.
Appendix
Fig.11-1-5-1
For the program start setting, the user can set whether the system automatically runs the
software when the system is turned on and whether the software automatically minimizes at the lower
right corner of the screen; for the communication setting, the user can select a serial port to set its
baud rate. (after setting, press “Applicatoin”, otherwise, the setting does not take effect.)
Note: when the program runs, automatically starting the server is not provided.
249
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
1. The PC serial port (COM port) is connected with the CNC RS232 interface by a serial port
line.
2. Open the PC’s GSK Comm software.
3、GSK Comm software setting:
(1) Baud rate setting:
Click the software “Setting” to enter the setting page, and then execute the serial port
communication setting;
Port selection: select a port for communication by the drop-down menu “Serial port number”
(the selected PC port is automatically identified by the software);
Baud rate setting: select a baud rate by the drop-down menu “Baud rate” to make the baud
rate of the PC be the same as that of the CNC communication. The delivery
standard setting: the baud rate selects 115200 when the data transmits.
Appendix
Appendix
Fig. 11-2-1-1
(2) Click “Connection” menu,select“Via serial port”. When the serial port is successfully
opened, the status bar displays “Serial port open”, and the small icon at lower right
corner becomes “Green” and “Grey”. But such means the local serial port has been
opened, and does not means it is connected with the CNC system.
Fig. 11-2-1-2
(3) Click “Connection” menu,select “Disconnect” to disconnect the CNC system.
Note: the communication software is connected with the CNC by a serial port.
250
11.2.2 Serial Port Data Transmission
5)Press key【DATA】to enter SETTING (DATA DEAL) page, then press key or
to move the cursor to <CNC Part Program>.
A. Data output(CNC→PC)
1. Press system soft key 【OUTPUT】, then the system prompts “transfer waiting”
2. Click button on GSK Com communication software to enter the “Receive Files”
page.
Appendix
Fig. 11-2-2-1
3. Click button to obtain the CNC file list, which is shown in Fig. 11-2-2-2:
Fig. 11-2-2-2
4. Select the file (or many files) to be received, then press button to start the
file receiving, which is shown is Fig. 11-2-2-3.
251
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig. 11-2-2-3
5. After the file receiving, the status bar of the dialog displays “Received”, which is shown in
Fig. 11-2-2-4.
Fig. 11-2-2-4
A. Data input(PC→CNC)
1. Press system soft key【INPUT】, then the system prompts “input waiting”.
Appendix
Fig. 11-2-2-5
252
3. Click button , and add the required file to send to the CNC, which is shown
in Fig. 11-2-2-6.
Fig. 11-2-2-6
4. Double click the sent file list item, modify the file path, the CNC file name stored in the CNC
or storage area.
Select the user partition when sending CNC part programs and custom macro programs;
select the system partition when sending files such ladder (PLC), parameters (PLC), system
parameter values, tool offset values, pitch offset values and system macro variables.
5. After selecting the partition, select the file (or multiple files) to be sent, and click button
Appendix
Fig. 11-2-2-7
6. After sending the file/files, “Sent” is displayed in the dialog, which is shown in Fig. 11-2-2-8.
Fig. 11-2-2-8
Note 1: The other function’s use instructions in the sending file page are referred to Section 11.1.4
PC—CNC sending files, and The other function’s use instructions in the receiving file page are
referred to Section 11.1.4 CNC—PC receiving files.
Note 2:Make sure the baudrate is correctly set and the serial line is reliably connected before data
transmission.
253
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Note 3:It is forbidden to switch operation modes or pages during data transmission, or critical errors will
occur.
Note 4:File LADCHI**.TXT is ineffective when transferred to the system unless the power is turned off.
Precautions:
1. Set I/O channel to 2 in <SETTING> page.
2. The CNC programs should be stored in the root directory of the U disk with file extension .txt, .nc
or .CNC, or they cannot be read by the system.
3. Do not pull out USB when it is communicating with system to avoid product damage and
unexpected results.
4. After the USB communication is finished, pull out the U disk when its indicator does not flicker
(or after a moment is waited for) to ensure the completion of the data transmission.
In <MDI> mode, enter the SETTING (DATA DEAL) page, press direction key or
to move the cursor to “PART PRGR”. Press soft key 【OUTPUT】or【INPUT】to enter the
page shown as follows (Fig. 11-3-2-1):
Appendix
Appendix
Fig. 11-3-2-1
254
b. Press key or to move the cursor to select the CNC program files to be
copied in the system disk.
c. Press soft key 【COPY】, then the systems prompts “COPY TO USB DISC? New Name”, as
is shown in fig. 11-3-2-2.
Fig.11-3-2-2
d. If renaming for CNC program files is not required, press key <INPUT> to copy the CNC
program files directly.
Renaming required, press key <CANCEL> to input the new program number (e.g. O10 or
O100), and then press key <INPUT> to copy the CNC program files.
When the program name already exists in the U disk, the system prompts “Please rename
the file”. Here, input the new program number (e.g. O10 or O100) .
Then press key <INPUT> to copy the CNC program files.
Appendix
1. To copy CNC program files to system disk from U disk:
a. Press soft key【USB】to switch to USB file directory page;
c. Press key or to move the cursor to select the CNC program files to be
copied in the U disk.
Press soft key 【COPY】, then the system prompts “COPY TO CNC DISC? New Name”, which is
shown in fig. 11-3-2-3:)
255
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Fig.11-3-2-3
d. If renaming for CNC program files is not required, press key <INPUT> to copy the CNC
program files directly.
Renaming required, press key <CANCEL> to input the new program number (e.g. O10 or
O100), and then press key <INPUT> to copy the program files.
If the same program name already exists in the system disk, the system prompts “Please
rename the file” . Here, input the new program number (e.g. O10 or O100) and then press
key <INPUT> to copy the CNC program files.
Note: File LADCHI**.TXT is ineffective after transmitted to the system unless the power is turned off.
a. Press key or to move the cursor to select the CNC program files to be
deleted in the system disk/U disk.
Appendix
b. Press soft key【DEL】, then “DELETE CURRENT FILE?” is prompted at the bottom of the
page. Press key <CANCEL> to cancel the file deletion; press key <ENTER> to delete the file.
256
Appendix
Appendix
257
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Appendix
Appendix
258
Appendix
259
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Parameter Explanation:
The parameters are classified into following patterns according to the data type:
Data
BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
number
0 2 1
Data number Data
Appendix
Note 1: The blank bits in the parameter explanation and the parameter numbers that are displayed on screen
but not in parameter list are reserved for further expansion. They must be set to 0.
Note 2: If 0 or 1 of the parameter is not specified with a meaning. It is assumed that: 1 for enable; 0 for disable.
Note 3: If INI is set to 0, in metric input, the parameter setting unit for linear axis is mm, mm/min; that for rotary
axis is deg, deg/min.
If INI is set to 1, in inch input, the parameter setting unit for linear axis is inch, inch/min; that for rotary
axis is deg, deg/min.
1. Bit Parameter
260
Appendix 1 GSK980TC3 Serial Parameter List
录
SPOM =1: the spindle speed control signal output selects a pulse train
=0: the spindle speed control signal output selects an analog voltage
Appendix
=1: when the bus spindle is used, the spindle encoder feedback interface
SPEP
selects: XS32 encoder interface
=0: when the bus spindle is used, the spindle encoder feedback interface
selects: the interface is the same as that of output
SPPT =1: the spindle pulse output mode selects: AB-phase output
=0: the spindle pulse output mode selects: pulse+direction
Standard setting:0 0 0 0 0000
=1: Decelerate when the 1st axis reference point returns and the deceleration
DEC1
signal is 1.
=0: Decelerate when the 1st axis reference point returns and the deceleration
signal is 0.
=1: Decelerate when the 2nd axis reference point returns and the deceleration signal
DEC2
is 1.
=0: Decelerate when the 1st axis reference point returns and the deceleration
signal is 0.
=1: Decelerate when the 3rd axis reference point returns and the deceleration
DEC3
signal is 1.
261
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
=0: Decelerate when the 3rd axis reference point returns and the deceleration
signal is 0.
=1: Decelerate when the 4th axis reference point returns and the deceleration
DEC4
signal is 1.
=0: Decelerate when the 4th axis reference point returns and the deceleration
signal is 0.
=1: Decelerate when the 5th axis reference point returns and the deceleration
DEC5
signal is 1.
=0: Decelerate when the 5th axis reference point returns and the deceleration
signal is 0.
Standard setting:0 0 0 0 0000
SK0 =1: it is taken as a signal to input when the skip signal SKIP is 0
=0: it is taken as a signal to input when the skip signal SKIP is 1
Appendix
=1: when a reference point is not established, and other codes except form
ZRN
G28 in Auto run mode, an alarm occurs.
=0: when a reference point is not established, and other codes except form
G28 in Auto run mode, no alarms occurs.
262
Appendix 1 GSK980TC3 Serial Parameter List
ZMI1 =1: Set the 1st axis direction of reference point return: negative
=0: Set the 1st axis direction of reference point return: positive
ZMI2 =1: Set the 2nd axis direction of reference point return: negative
=0: Set the 2nd axis direction of reference point return: positive
Set the 3rd axis direction of reference point return: negative
录
ZMI3 =1:
=0: Set the 3rd axis direction of reference point return: positive
ZMI4 =1: Set the 4th axis direction of reference point return: negative
Appendix
=0: Set the 4th axis direction of reference point return: positive
ZMI5 =1: Set the 5th axis direction of reference point return: negative
=0: Set the 5th axis direction of reference point return: positive
Standard setting:0 0 0 0 0000
263
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
0 0 9 A4TP RAB
OUT2 =1: forbide entering into the 2nd stroke limit’s outerside area.
=0: forbide entering into the 2nd stroke limit’s inside area.
=1: perform the stroke check after the power supply is turned on and before
LZR
the manual refernce point return is performed.
=0: do not perform the stroke check after the power supply is turned on and
before the manual refernce point return is performed.
BFA =1: when an overtravel code is sent, an alarm occurs after overtravel.
=0: when an overtravel code is sent, an alarm occurs before overtravel. (the
system alarm range is 5MM in the front of the set’s forbidden area’s each
board).
Standard setting:0 0 0 0 0001
RPD =1: manual rapid effective before reference point return after power-on
264
Appendix 1 GSK980TC3 Serial Parameter List
=0: manual rapid ineffective before reference point return after power-on
LRP =1: the positioning (G00) interpolation type is linear
=0: the positioning (G00) interpolation type is non-linear
RFO =1: rapid feed stop when override is F0
=0: rapid feed does not stop when override is F0
TDR =1: dry run effective during tapping
=0: dry run ineffective during tapping
FDR =1: dry run effective during cutting feeding
=0: dy run ineffective during cutting feeding
RDR =1: dry run effective during rapid positioning
=0: dry run ineffective during rapid positioning
Standard setting:0 0 0 0 0010
=1: reference point return by manual feed after reference point is setup and
DLF
memorized
录
=0: reference point return by rapid traverse after reference point is setup and
memorized
Appendix
ROVT =1: the rapid override uses 6-gear
=0: the rapid override uses 4-gear
Standard setting:0 0 0 0 0000
265
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
ALM1 =1: an alarm occurs when the 1st axis driver’s alarm signal is 1.
=0: an alarm occurs when the 1st axis driver’s alarm signal is 0.
266
Appendix 1 GSK980TC3 Serial Parameter List
ALM2 =1: an alarm occurs when the 2nd axis river’s alarm signal is 1.
=0: an alarm occurs when the 2nd axis river’s alarm signal is 0.
ALM3 =1: an alarm occurs when the 3rd axis driver’s alarm signal is 1.
=0: an alarm occurs when the 3rd axis driver’s alarm signal is 0.
ALM4 =1: an alarm occurs when the 4th axis driver’s alarm signal is 1.
=0: an alarm occurs when the 4th axis driver’s alarm signal is 0.
ALM5 =1: an alarm occurs when the 5th axis driver’s alarm signal is 1.
=0: an alarm occurs when the 5th axis driver’s alarm signal is 0.
ALS1 =1: an alarm occurs when the 1st spindle driver’s alarm signal is 1.
=0: an alarm occurs when the 1st spindle driver’s alarm signal is 0.
ALS2 =1: an alarm occurs when the 2nd spindle driver’s alarm signal is 1.
=0: an alarm occurs when the 2nd spindle driver’s alarm signal is 0.
Standard setting:0 0 1 0 0000
录
Standard setting:0 1 0 0 0000
Appendix
0 2 1 APC5 APC4 APC3 APC2 APC1
APC1 =1: the 1st axis servo encoder type selection: absolute.
=0: the 1st axis servo encoder type selection: incremental.
APC2 =1: the 2nd axis servo encoder type selection: absolute.
=0: the 2nd axis servo encoder type selection: incremental.
APC3 =1:the 3rd axis servo encoder type selection: absolute.
=0:the 3rd axis servo encoder type selection: incremental.
APC4 =1:the 4th axis servo encoder type selection: absolute.
=0:the 4th axis servo encoder type selection: incremental.
APC5 =1:the 5th axis servo encoder type selection: absolute.
=0:the 4th axis servo encoder type selection: incremental.
Standard setting:0 1 0 0 0000
DAL =1: the absolute position display considers the tool length compensation.
=0: the absolute position display does not consider the tool length
compensation.
267
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
=1: in tool offset compensation amount, PRC signal is used in the workpiece
PRC
coordinate system’s offset input.
=0: in tool offset compensation amount, PRC signal is not used in the
workpiece coordinate system’s offset input.
Standard setting:0 0 0 0 0000
POS =1: To switch over page by pressing POSITION key in position page
=0: Not switch over page by pressing POSITION key in position page
PRG =1: To switch over page by repressing POSITION key in program page
=0: Not switch over page by repressing POSITION key in program page
SYS =1: To switch over page by repressing PARAMETER key in program page
=0: Not switch over page by repressing PARAMETER key in program page
SET =1: To switch over page by repressing SET key in set page
Appendix
=0: Not switch over page by repressing SET key in set page
GRA =1: To switch over page by repressing GRAPHIC key in graphic page
=0: Not switch over page by repressing GRAPHIC key in graphic page
Appendix
DGN =1: To switch over page by repressing DIAGNOSE key in diagnosis page
=0: Not switchover page by repressing DIAGNOSE key in diagnosis page
ALM =1: To switch over page by repressing ALARM key in alarm page
=0: Not switch over page by repressing ALARM key in alarm page
Standard setting:1 1 1 1 0111
268
Appendix 1 GSK980TC3 Serial Parameter List
PLC =1: To switch over page by repressing PLC key in PLC page
=0: Not switch over page by repressing PLC key in PLC page
HELP =1: To switch over page by repressing HELP key in help page
=0: Not switch over page by repressing HELP key in help page
Standard setting:1 1 0 1 0101
录
0 2 9 IWZ WZO MCV GOF WOF
Appendix
=0: Tool wear offset input by MDI enabled
GOF =1: Geometric tool offset input by MDI disabled
=0: Geometric tool offset input by MDI enabled
MCV =1: Macro variables input by MDI disabled
=0: Macro variables input by MDI enabled
WZO =1: Workpiece origin offset input by MDI disabled
=0: Workpiece origin offset input by MDI enabled
IWZ =1: Workpiece origin offset input by MDI during dwell disabled
=0: Workpiece origin offset input by MDI during dwell enabled
Standard setting:0 0 0 0 0000
269
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
AD2 =1: an alarm occurs if two or more same addresses are specified in a block
=0: no alarm if two or more same addresses are specified in a block
Standard setting:0 1 0 0 0000
DWL =1: G04 for dwell per revolution in per revolution feed mode
=0: G04 not for dwell per revolution in per revolution feed mode
CFH =1: To clear F, H, D codes at reset or emergency stop
=0: To reserve F, H, D codes at reset or emergency stop
Standard setting:0 0 0 0 0000
270
Appendix 1 GSK980TC3 Serial Parameter List
录
C14 =1: To clear G codes of 14 group at reset or emergency stop
=0: To reserve G codes of 14 group at reset or emergency stop
Appendix
C15 =1: To clear G codes of 15 group at reset or emergency stop
=0: To reserve G codes of 15 group at reset or emergency stop
Standard setting:0 0 0 0 0001
271
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
272
Appendix 1 GSK980TC3 Serial Parameter List
PUIT =1: Data parameter input and display are decided by 0#2 INI.
=0: Data parameter input and display are metric units
G39 =1: Corner rounding effective in radius compensation
=0: Corner rounding ineffective in radius compensation
CNI =1: Interference check enabled in radius compensation
=0: Interference check disabled in radius compensation
Standard setting:0 1 1 0 0000
录
RD1 =1: To set the retraction direction of G76,G87: negative
Appendix
=0: To set the retraction direction of G76,G87: positive
RD2 =1: To set the retraction axis of G76,G87: the 2nd axis
=0: To set the retraction axis of G76,G87: the 1st axis
Standard setting:0 0 0 0 0000
=1: the plane’s 2nd aixs specified by diameter is used in polar coordinate
PDI
interpolation mode.
=0: the plane’s 2nd aixs specified by radius is used in polar coordinate
interpolation mode.
RD2 =1: use the polar coordinate interpolation offset function.
=0: do not use the polar coordinate interpolation offset function.
Standard setting:0 0 0 0 0010
273
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
SSOG =1: For servo spindle control at the beginning of rigid tapping
=0: For following spindle control at the beginning of rigid tapping
ORI =1: To perform spindle dwell when rigid tapping starts
=0: Not perform spindle dwell when rigid tapping starts
Standard setting:0 0 0 0 0010
RPST =1: movement in G01 mode in the course of the program restart.
=0: movement at dry run speed in G00 mode in the course of the program
Appendix
restart.
Standard setting:0 0 0 0 0000
REL =1: Relative position display setting of indexing table: within 360°
=0: Relative position display setting of indexing table: beyond 360°
SIM =1: alarm if indexing code and other axes codes are in the same block
=0: Do not make alarm if indexing code and other axes codes are in the
same block
Standard setting:0 1 0 0 0000
274
Appendix 1 GSK980TC3 Serial Parameter List
CCV =1: Macro common variables #100 - #199 clearing after reset
=0: Macro common variables #100 - #199 not clearing after reset
CLV =1: Macro local variables #1 - #50 clearing after reset
=0: Macro local variables #1 - #50 not clearing after reset
Standard setting:0 0 0 0 0000
LAD0~LAD3 They are binary combination parameters. If they are 0, it uses No. 0
ladder, if they are 1~15, it uses 0~15 ladder diagram.
PLCV =1: Read and display PLC software version number.
=0: Do not read but display PLC software version number
Standard setting:1 0 0 0 0011
录
workpiece program
=0: Debugging and above authorities, one key input/output is ineffective for
Appendix
workpiece program
Standard setting:0 1 0 0 0000
275
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
PLW1 =1:the 1st axis pulse width changes along with speed.
=0:the 1st axis pulse width is fixed to 1usec.
PLW2 =1:the 2nd axis pulse width changes along with speed.
=0:the 2nd axis pulse width is fixed to 1usec.
PLW3 =1:the 3rd axis pulse width changes along with speed.
=0:the 3rd axis pulse width is fixed to 1usec.
PLW4 =1:the 4th axis pulse width changes along with speed.
=0:the 4th axis pulse width is fixed to 1usec.
PLW5 =1:the 5th axis pulse width changes along with speed.
=0:the 5th axis pulse width is fixed to 1usec.
Standard setting:0 0 0 0 0000
0 5 9 LEDT LOPT
276
Appendix 1 GSK980TC3 Serial Parameter List
2. Data Parameters
No. definition Default
0000 I/O channel, input and output device selection 2
( 1:RS232 2:USB)
录
Setting range:1~2
It is set to 0 or 1 for communication between CNC and PC via RS232 interface, and set to 2 when
Appendix
CNC is connected with U disk.
277
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
0015 Offset amount of the 1st axis’ workpiece origin in G54 0.0000
Setting range:-19999.9998~19999.9998(mm)
0016 Offset amount of the 2nd axis’ workpiece origin in G54 0.0000
Setting range:-9999.9999~9999.9999(mm)
0017 Offset amount of the 3rd axis’ workpiece origin in G54 0.0000
Setting range:-9999.9999~9999.9999(mm)
0018 Offset amount of the 4th axis’ workpiece origin in G54 0.0000
Setting range:-9999.9999~9999.9999(mm)
0019 Offset amount of the 5th axis’ workpiece origin in G54 0.0000
Setting range:-9999.9999~9999.9999(mm)
0020 Offset amount of the 1st axis’ workpiece origin in G55 0.0000
Appendix
Setting range:-19999.9998~19999.9998(mm)
0021 Offset amount of the 2nd axis’ workpiece origin in G55 0.0000
Appendix
Setting range:-19999.9999~19999.9999(mm)
0022 Offset amount of the 3rd axis’ workpiece origin in G55 0.0000
Setting range:-9999.9999~9999.9999(mm)
0023 Offset amount of the 4th axis’ workpiece origin in G55 0.0000
Setting range:-9999.9999~9999.9999(mm)
0024 Offset amount of the 5th axis’ workpiece origin in G55 0.0000
Setting range:-9999.9999~9999.9999(mm)
0025 Offset amount of the 1st axis’ workpiece origin in G56 0.0000
Setting range:-19999.9998~19999.9998(mm)
0026 Offset amount of the 2nd axis’ workpiece origin in G56 0.0000
Setting range:-9999.9999~9999.9999(mm)
278
Appendix 1 GSK980TC3 Serial Parameter List
0027 Offset amount of the 3rd axis’ workpiece origin in G56 0.0000
Setting range:-9999.9999~9999.9999(mm)
0028 Offset amount of the 4th axis’ workpiece origin in G56 0.0000
Setting range:-9999.9999~9999.9999(mm)
0029 Offset amount of the 5th axis’ workpiece origin in G56 0.0000
Setting range:-9999.9999~9999.9999(mm)
0030 Offset amount of the 1st axis’ workpiece origin in G57 0.0000
Setting range:-19999.9998~19999.9998(mm)
0031 Offset amount of the 2nd axis’ workpiece origin in G57 0.0000
Setting range:-9999.9999~9999.9999(mm)
0032 Offset amount of the 3rd axis’ workpiece origin in G57 0.0000
Setting range:-9999.9999~9999.9999(mm)
0033 Offset amount of the 4th axis’ workpiece origin in G57 0.0000
Setting range:-9999.9999~9999.9999(mm)
0034 Offset amount of the 5th axis’ workpiece origin in G57 0.0000
Setting range:-9999.9999~9999.9999(mm)
录
0035 Offset amount of the 1st axis’ workpiece origin in G58 0.0000
Appendix
Setting range:-19999.9998~19999.9998(mm)
0036 Offset amount of the 2nd axis’ workpiece origin in G58 0.0000
Setting range:-9999.9999~9999.9999(mm)
0037 Offset amount of the 3rd axis’ workpiece origin in G58 0.0000
Setting range:-9999.9999~9999.9999(mm)
0038 Offset amount of the 4th axis’ workpiece origin in G58 0.0000
Setting range:-9999.9999~9999.9999(mm)
0039 Offset amount of the 5th axis’ workpiece origin in G58 0.0000
Setting range:-9999.9999~9999.9999(mm)
0040 Offset amount of the 1st axis’ workpiece origin in G59 0.0000
Setting range:-19999.9998~19999.9998(mm)
0041 Offset amount of the 2nd axis’ workpiece origin in G59 0.0000
Setting range:-9999.9999~9999.9999(mm)
279
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
0042 Offset amount of the 3rd axis’ workpiece origin in G59 0.0000
Setting range:-9999.9999~9999.9999(mm)
0043 Offset amount of the 4th axis’ workpiece origin in G59 0.0000
Setting range:-9999.9999~9999.9999(mm)
0044 Offset amount of the 5th axis’ workpiece origin in G59 0.0000
Setting range:-9999.9999~9999.9999(mm)
0045 The 1st reference point’s 1st axis coordinate value on 0.0000
the machine coordinate system
Setting range:-19999.9998~19999.9998(mm)
0046 The 1st reference point’s 2nd axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0047 The 1st reference point’s 3rd axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0048 The 1st reference point’s 4th axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0049 The 1st reference point’s 5th axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
Appendix
0050 The 2nd reference point’s 1st axis coordinate value on 0.0000
the machine coordinate system
Setting range:-19999.9998~19999.9998(mm)
Appendix
0051 The 2nd reference point’s 2nd axis coordinate value 0.0000
on the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0052 The 2nd reference point’s 3rd axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0053 The 2nd reference point’s 4th axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0054 The 2nd reference point’s 5th axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0055 The 3rd reference point’s 1st axis coordinate value on 0.0000
the machine coordinate system
Setting range:-19999.9998~19999.9998(mm)
280
Appendix 1 GSK980TC3 Serial Parameter List
0056 The 3rd reference point’s 2nd axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0057 The 3rd reference point’s 3rd axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0058 The 3rd reference point’s 4th axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0059 The 3rd reference point’s 5th axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0060 The 4th reference point’s 1st axis coordinate value on 0.0000
the machine coordinate system
Setting range:-19999.9998~19999.9998(mm)
0061 The 4th reference point’s 2nd axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0062 The 4th reference point’s 3rd axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
录
0063 The 4th reference point’s 4th axis coordinate value on 0.0000
the machine coordinate system
Appendix
Setting range:-9999.9999~9999.9999(mm)
0064 The 4th reference point’s 5th axis coordinate value on 0.0000
the machine coordinate system
Setting range:-9999.9999~9999.9999(mm)
0066 Stored stroke check 1’s 1st axis negative border’s -19998
coordinate value
Setting range:-19999.9998~19999.9998(mm)
0067 Stored stroke check 1’s 1st axis positive border’s 19998
coordinate value
Setting range:-19999.9998~19999.9998(mm)
0068 Stored stroke check 1’s 2nd axis negative border’s -9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0069 Stored stroke check 1’s 2nd axis positive border’s 9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
281
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
0070 Stored stroke check 1’s 3rd axis negative border’s -9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0071 Stored stroke check 1’s 3rd axis positive border’s 9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0072 Stored stroke check 1’s 4th axis negative border’s -9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0073 Stored stroke check 1’s 4th axis positive border’s 9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0074 Stored stroke check 1’s 5th axis negative border’s -9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0075 Stored stroke check 1’s 5th axis positive border’s 9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0076 Stored stroke check 2’s 1st axis negative border’s -19998
coordinate value
Setting range:-19999.9989~19999.9998(mm)
0077 Stored stroke check 2’s 1st axis positive border’s 19998
coordinate value
Setting range:-1999.9998~19999.9998(mm)
Appendix
0078 Stored stroke check 2’s 2nd axis negative border’s -9999
coordinate value
Appendix
Setting range:-9999.9999~9999.9999(mm)
0079 Stored stroke check 2’s 2nd axis positive border’s 9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0080 Stored stroke check 2’s 3rd axis negative border’s -9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0081 Stored stroke check 2’s 3rd axis positive border’s 9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0082 Stored stroke check 2’s 4th axis negative border’s -9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0083 Stored stroke check 2’s 4th axis positive border’s 9999
coordinate value
282
Appendix 1 GSK980TC3 Serial Parameter List
Setting range:-9999.9999~9999.9999(mm)
0084 Stored stroke check 2’s 5th axis negative border’s -9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
0085 Stored stroke check 2’s 5th axis positive border’s 9999
coordinate value
Setting range:-9999.9999~9999.9999(mm)
录
Rotary axis:0~30000(deg/min)
0090 G0 rapid traverse speed of the 3rd axis 8000
Appendix
Setting range:
Metric :0~30000 (mm/min)
Inch :0~30000/ 25.4(inch/min)
Rotary axis :0~30000(deg/min)
283
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
0096 Maximum control speed in cutting feed (for all axes) 8000
Setting range:300~30000(mm/min)
0103 4000
Setting range:0~9999 (mm/min)
284
Appendix 1 GSK980TC3 Serial Parameter List
录
0116 L type time constant of post-acceleration/ 80
deceleration of rapid 2nd axis
Appendix
Setting range:0~400 (ms)
285
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
286
Appendix 1 GSK980TC3 Serial Parameter List
录
0144 Critical angle of two blocks during automatic corner 5
deceleration in forecasting control
Appendix
Setting range:2~178 (degree)
287
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Setting range:0~1000(ms)
Setting range:0~3000(mm/min)
0159 The 5th gear’s override value in MPG feed(least code 1000
Appendix
288
Appendix 1 GSK980TC3 Serial Parameter List
录
0173 The 4th axis manual rapid positioning speed 8000
Appendix
Setting range:0~30000
0175 The 1st axis’ program name(0:X 1:Y 2:Z 3:A 4:B 5:C ) 0
Setting range:0~5
0176 The 2nd axis’ program name (0:X 1:Y 2:Z 3:A 4:B 1
5:C )
Setting range:0~5
0177 The 3rd axis’ program name (0:X 1:Y 2:Z 3:A 4:B 5:C ) 2
Setting range:0~5
0178 The 4th axis’ program name (0:X 1:Y 2:Z 3:A 4:B 5:C ) 4
Setting range:0~5
0179 The 5th axis’ program name (0:X 1:Y 2:Z 3:A 4:B 5:C ) 5
Setting range:0~5
289
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
distance(default:0.02)
Setting range:0~0.5
Appendix
290
Appendix 1 GSK980TC3 Serial Parameter List
录
0196 0.0030
by fixed frequency
Setting range:0~0.5 (mm)
Appendix
0197 Compensation step width of the 3rd axis clearance by 0.0030
fixed frequency
Setting range:0~0.5 (mm)
291
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
292
Appendix 1 GSK980TC3 Serial Parameter List
录
Setting range:0~9999.9999
Appendix
0228 Pitch error compensation interval of the 3rd axis 5
Setting range:0~9999.9999
293
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
294
Appendix 1 GSK980TC3 Serial Parameter List
Setting range:0~9999
录
0270 Retraction amount of high-speed peck drilling cycle 2.0000
G73
Appendix
Setting range:0~999.9999 (mm)
295
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Setting range:1~999
0294 Maximum spindle speed in rigid tapping (the 1st gear) 6000
Appendix
Setting range:0~9999
0297 Maximum spindle speed in rigid tapping (the 4th gear) 6000
Setting range:0~9999
296
Appendix 1 GSK980TC3 Serial Parameter List
Setting range:0~9999
录
0311 Do not send the spindle speed change check alarm’s 5
Appendix
spindle change rate (r)
Setting range: 0~1000
0313 Time from codeing the spindle change to starting the 1000
spindle speed change check (p)ms
Setting range: 0~99999
297
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
gear)
Setting range:0~9999
Setting range:0~1000
0343 200
Setting range:0~1000
298
Appendix 1 GSK980TC3 Serial Parameter List
录
0371 The 1st axis’ reverse positioning allowance 0.0150
Setting range:0~99.9999 (mm)
Appendix
0372 The 2nd axis’ reverse positioning allowance 0.0150
Setting range:0~99.9999 (mm)
299
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
0380 Set the axis which is synchronous with the 4th axis 0
0:is not synchronous 1:X 2:Y 3:Z
Setting range:0~3
300
Appendix 1 GSK980TC3 Serial Parameter List
408 Max. motor speed when the 2nd spindle gear shifting 6000
Setting range: 0~99999
录
413 Gear’s teeth number at side of the 2nd spindle(the 3rd 1
Appendix
gear)
Setting range: 1~999
301
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
419 Spindle motor speed at the 2nd spindle’s switch point 6000
between gear 1 and gear 2
Setting range: 0~99999(r/min)
420 Spindle motor speed at the 2nd spindle’s switch point 6000
between gear 2 and gear 3
Setting range: 0~99999(r/min)
421 Spindle motor speed at the 2nd spindle’s switch point 6000
between gear 3 and gear 4
Setting range: 0~99999(r/min)
Setting range:0.0000~10.0000
0450 Position offset limit value when the 1st axis moving 10
(mm)
Setting range:0.0000~99.9999
0451 Position offset limit value when the 2nd axis moving 10
(mm)
Setting range:0.0000~99.9999
0452 Position offset limit value when the 3rd axis moving 10
(mm)
Setting range:0.0000~99.9999
0453 Position offset limit value when the 4th axis moving 10
(mm)
Setting range:0.0000~99.9999
0454 Position offset limit value when the 5th axis moving 10
(mm)
302
Appendix 1 GSK980TC3 Serial Parameter List
Setting range:0.0000~99.9999
0455 Position offset limit value when the 1st axis stopping 0.5
(mm)
Setting range:0.0000~9.9999
0456 Position offset limit value when the 2nd axis stopping 0.5
(mm)
Setting range:0.0000~9.9999
0457 Position offset limit value when the 3rd axis stopping 0.5
(mm)
Setting range:0.0000~9.9999
0458 Position offset limit value when the 4th axis stopping 0.5
(mm)
Setting range:0.0000~9.9999
0459 Position offset limit value when the 5th axis stopping 0.5
(mm)
Setting range:0.0000~9.9999
录
0462 Feed amount of compound turning fixed cycle G71, 0
Appendix
G72
Setting range:-9999.0000~9999.9999
303
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Setting range:0~5
304
Appendix 1 GSK980TC3 Serial Parameter List
录
Setting range:-9999.9999~9999.9999
Appendix
0495 Max. value of No. 06 position switch operation range 0.0000
Setting range:-9999.9999~9999.9999
305
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
306
Appendix 1 GSK980TC3 Serial Parameter List
录
Appendix
307
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
Appendix
Appendix
308
Appendix 2 Alarm List
Appendix
Dummy variable and local variable are not allowed to modify. G10 only to
0018
modify parameter of user grade
In circular interpolation (G02 or G03), the distance between the start point and
0020 the circle center is not equal to the distance between the end point and the
circle center. The value beyond the one specified by parameter 214
In circular interpolation, axes which are not in the selected planes (G17, G18,
0021
G19) are specified. Modify the program.
In circular interpolation, R (radius), I, J and k (distance from the start point to
0022
the center) are not be specified
0023 In circular interpolation, I, J, K and R are specified together
0026 Unsupported file format. It is too large or with above 1024 bytes
In plane selection codes, two or more axes are specified at the same direction.
0028
Modify the program
When G10 sets an offset amount, a workpiece coordinate system and an
0031
external workpiece coordinate system, P value is too big or is not specified
When G10 sets the offset amount or the system variable writes an offset
0032
amount, the offset amount is too big or is not specified. Modify the program
The intersecting point of offset C or chamfer is not confirmed. Modify the
0033
program
Set-up or offset cancel are not allowed in circular command. Modify the
0034
program
In tool compensation mode, have commanded the skip cutting ( G31 )。
0036
Modify the program
309
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
editting
Specified sequence number is not found in retrieving. Check sequence
0060
number
Appendix
310
Appendix 2 Alarm List
Appendix
0106 Drive unit is not consistent with gear ratio of servo parameter
0107 Drive unit parameter is not consistent with servo unit parameter
0108 Please insert U-disk
0110 Position data exceeds the allowed range. Please reset
Calculated result exceeds the allowed range (-1047 to -10-29,0 and 10-29 to
0111
1047 )
0112 Zero (including tan900) is specified as a divisor
Unusable functional code is specified in user macro program. Modify the
0113
program
0114 G39 format error. Modify the program
Variable value can not be specified. O, N can not be specified as variables in
0115
user macro program
A variable is on the left of the assignment statement, while value assignment
0116
to it is not allowed. Modify the program
G10 online modification is not supported by this parameter. Please modify the
0117
program
0118 Nest exceeds the upper limit (5). Modify the program
Codes M00,M01,M02,M30,M98,M99,M06 can not in a same block with other
0119
M codes
0120 Part of setting is restored
311
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
0121 Machine coordinates and encoder feedback values exceed setting value of
error
0122 Called nests of macro program exceed 5 layers. Modify the program
0124 Program end illegally, without M30, M02, M99 or end sign. Modify the program
0125 Macro program format error. Modify the program
0126 Program cycle failure. Modify the program
0127 NC coexists with user macro code statement. Modify the program
Sequence number in branch code is not at the range 0-99999, or the number
0128
is not found. Modify the program
0129 The address of argument assignment. Modify the program
PLC axis control code is input to the axis controlled by CNC, or opposite.
0130
Modify the program
0131 5 or more external alarm signals occur. Check the ladder diagram
0132 The alarm of the external alarm signal does not exist. Check PLC
0133 The system does not support axis code. Modify the program
The index angle of index table is not an ange unit’s multiple. Modify the
0135
program
In index table’s indexing, it with B axis commands another axis. Modify the
0136
program
Sequence number to be transferred by skip code is in loop body. Modify the
0137
program
0138 Cycle statement is wrong or skip code enters loop body. Modify the program
0139 PLC axis change disabled. Modify the program
0140 Sequence number does not exist
The proportion scaling override exceeding 1-999999 is commanded. Correct
0142
the proportion scaling setting
0145 G28 is commanded when a reference point is not established
Appendix
The automatic corner deceleration speed exceeds the the judgement angle
0148
range’s setting value. Modify the parameter
0150 Mistaken modal command
Appendix
312
Appendix 2 Alarm List
Appendix
0213 Tool changing macro program does not support G31 skip. Modify the program
0214 Tool changing macro program does not support skip operation
Tool changing macro program does not support modifying coordinate system
0215
and tool compensation dynamically
M06 Tool magazine is not used (parameter is not opened). Tool changing code
0219
can not be used
Metric/inch switching is not supported by scaling, revolution and polar
0220
coordinate mode
0221 Metric/inch switching is not supported by tool changing macro program
0224 Reference return is not performed before auto run started
There are following errors in the parameter input’s specified format error:
1) N or R is not input
2) Parameter number is not defined
0231 3) Address P is not defined in bit parameter input L50
4) N,P,R exceed the range
313
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
0237 The command’s decimal point which must be specified is not specified
The same address in one block exists many times or two or more G codes in
0238
the same group are in one block
An illegal G code is specified in pre-reading control mode. In pre-reading
control mode, dividing spindle is specified, max. cutting feeding parameter is
0239
set to 0 and interpolation pro-acceleration/deceleration parameter is set to 0.
Set the parameter correctly
0241 MPG pulse is abnormal
0242 Bus connection error
0250 Axis name repeated, please modify parameter NO.175~179
0251 Emergency stop alarm, perform zero return again after canceling the alarm
Program ends illegally (CNC transmission speed is low, please reduce
0252
feedrate)
Pulse code of DSP interpolation axis is too big. Perform zero return again after
0261
reset
0262 DSP is not started. Please power on again
0263 DSP parameter setting error
0264 DSP alarm. Data is too big
0265 DSP alarm. The bus can not be connected or bus initialization failure
Speed of DSP interpolation axis exceeds 200M/MIN. Perform zero return
0266
again after reset
0267 DSP initial sign (5555) is abnormal. Perform zero return again after reset
DSP pulse output volume per revolution is too big. Perform zero return again
0268
after reset
0269 DSP internal alarm. Perform zero return again after reset
0270 Length of DSP equally distributed interpolation point is too small
DSP received interpolation data is too small. Perform zero return again after
0271
Appendix
reset
0272 DSP received undistinguishable G code
0273 DSP hardware data interchange is abnormal (codes)
Appendix
0280 Perform axes zero return before using tool setting function
0281 Switch to [SET] [Halving] interface before using tool setting function
0282 Please check whether toolsetting gauge is installed or parameter 1.6 is set
Z axis exceeds safety position, please check toolsetting gauge or tool length
0283
setting
0286 Automatic tool length measurement is wrong. Please measure it again
0401 The drive alarm 01:the servo motor speed exceeds its setting value
0402 The drive alarm 02:the main circuit’s power supply voltage is too high
0403 The drive alarm 03:the main circuit’s power supply voltage is too low
The drive alarm 04:the numerical value of position deviation counter exceeds
0404
its setting value
0405 The drive alarm 05:the motor’s temperature is too high
0406 The drive alarm 06:the speed regulator satyrates for long time
314
Appendix 2 Alarm List
0407 The drive alarm 07:CCW, CW drive inhibiting input are OFF
The drive alarm 08:the numerical value’s absolute value of position deviation
0408
counter exceeds 230
0409 The drive alarm 09:the encoder signal is mistaken
0410 The drive alarm 10:control power supply ±15V is low
0411 The drive alarm 11:IPM faults
0412 The drive alarm 12:the motor’s current is too big
The drive alarm 13:the servo driver and motor are overload(instantaneous
0413
overheat)
0414 The drive alarm 14:the braking circuit fault
0415 The drive alarm 15:encoder counter fault
0420 The drive alarm 20:EEPROM error
0430 The drive alarm 30:encoder Z pulse error
0431 The drive alarm 31:encoder UVW signal error or it does not match encoder
0432 The drive alarm 32:UVW with all high level or with all low level
0433 The drive alarm 33:communication interrupted
0434 The drive alarm 34:encoder speed is abnormal
0435 The drive alarm 35:encoder state is abnormal
0436 The drive alarm 36:encoder counter is abnormal
0437 The drive alarm 37:single circle number of encoder overflow
0438 The drive alarm 38:encoder counter overflow
0439 The drive alarm 39:encoder battery alarm
0440 The drive alarm 40:encoder battery’s power shortage
Appendix
0441 The drive alarm 41:motor model dismatched
0442 The drive alarm 42:absolute position data abnormal alarm
0443 The drive alarm 43:encoder EPPROM check alarm
0449 Ethernet initialization failure. Please check hardware
Drive unit is disconnected. Please check whether connection of hardware is
0450
correct
0451 The 1st axis driver alarm
0452 The 2nd axis driver alarm
0453 The 3rd axis driver alarm
0454 The 4th axis driver alarm
0455 The 5th axis driver alarm
0456 Spindle driver alarm
Exceed the machining cycle processed by G71, G72, G73, G76, G90, G92,
0460
G94
0466 The path is non-monotonous:X direction
0467 The path is non-monotonous:Z direction
The 1st axis soft limit - direction overtravel:(manual or MPG +direction
0500
movement release).
0501 The 1st axis soft limit - direction overtravel:(manual or MPG -direction
315
GSK980TC3 Series Bus Turning CNC system Programming and Operation User Manual
movement release).
The 2nd axis soft limit - direction overtravel:(manual or MPG +direction
0502
movement release).
The 2nd axis soft limit - direction overtravel:(manual or MPG -direction
0503
movement release).
The 3rd axis soft limit - direction overtravel:(manual or MPG +direction
0504
movement release).
The 3rd axis soft limit - direction overtravel:(manual or MPG -direction
0505
movement release).
The 4th axis soft limit - direction overtravel:(manual or MPG +direction
0506
movement release).
The 4th axis soft limit - direction overtravel:(manual or MPG -direction
0507
movement release).
The 5th axis soft limit - direction overtravel:(manual or MPG +direction
0508
movement release).
The 5th axis soft limit - direction overtravel:(manual or MPG -direction
0509
movement release).
The 1st axis hard limit - direction overtravel:(manual or MPG +direction
0510
movement release).
The 1st axis hard limit - direction overtravel:(manual or MPG -direction
0511
movement release).
The 2nd axis hard limit - direction overtravel:(manual or MPG +direction
0512
movement release).
The 2nd axis hard limit - direction overtravel:(manual or MPG -direction
0513
movement release).
The 3rd axis hard limit - direction overtravel:(manual or MPG +direction
0514
movement release).
The 3rd axis hard limit - direction overtravel:(manual or MPG -direction
0515
movement release).
The 4th axis hard limit - direction overtravel:(manual or MPG +direction
0516
movement release).
The 4th axis hard limit - direction overtravel:(manual or MPG -direction
0517
Appendix
movement release).
The 5th axis hard limit - direction overtravel:(manual or MPG +direction
0518
movement release).
The 5th axis hard limit-direction overtravel: (manual or MPG -direction
Appendix
0519
movement release).
0600 The operation keyboard is not connected. Please check its connection cable
1001 Address of relay or coil is not set
1002 Function code of input code does not exist
Function code COM is not used correctly. Corresponding relationship between
1003
COM and COME is wrong, or function code is used between COM and COME
User ladder beyond the maximum permissible linage or step number. Reduce
1004
NET number
Function commands END1,END2 do not exist;errors in END1,END2;or
1005
END1,END2’s sequence is not correct
1006 Illegal output in the network. Please check the output format
PLC communication failure due to hardware failure or system interruption.
1007
Please contact with the system device manufacture
1008 Functional code is not linked correctly
1009 Network horizontal line is not linked
1010 Editing NET losses due to power-off in ladder editting
316
Appendix 2 Alarm List
1011 Address or data format is not the one specified by this function. Input it again
1012 Address or data is wrongly input. Input it again
1013 Illegal character or data defined
1014 CTR address repeated. Reselect other unused TMR addresses
Functional code is wrongly used. Correspondence between JMP and LBL is
1015
wrong. JMP is used again between JMP and LBL
1016 Incomplete network structure. Change the ladder diagram
1017 Unsupported network exists. Change the ladder diagram
1019 TMR address repeated. Reselect other unused TMR addresses
1020 No parameter in functional code. Input the legal parameters
PLC stops automatically by CNC when the PLC executes overtime. Please
1021 check the ladder logic and resolve the endless loop or the overmuch repetitive
calls
1022 Names of functional code missing. Please input the name of functional codes
1023 Address or constant of functional code parameter is out of range
1024 Unnecessary relay or coil exists. Delete the unnecessary connection
1025 Functional code output wrongly
1026 NET link linage beyond the supported range. Change the ladder diagram
The same output address is used in another place. Reselect the unused
1027
output address
1028 File format wrong
1029 File losses from ladder diagram being used
1030 False vertical line in network. Delete the vertical line
1031 Message data area is full. Please reduce COD code data list capacity
The first level of ladder diagram is too large to complete execution on time.
Appendix
1032
Reduce the first level of ladder diagram
1033 SFT codes beyond the max. allowed number. Please reduce the usageamount
1034 Functional code DIFU/DIFD address is repeated. Please reselect the address
1039 Code or network beyond executable area. Please clear them
Functional code CALL or SP is wrongly used. Correspondence between CALL
1040 and SP or between SP and SPE is wrong. SP functional code is used again
between SP and SPE or SP is set before using END2
1041 Level conducting line in parallel with node network
1042 PLC system parameter file is not loaded
317