GSK 980TDHi Program & Operation Manual
GSK 980TDHi Program & Operation Manual
GSK 980TDHi Program & Operation Manual
Preface
Your Excellency,
To ensure safe and effective running, please read this manual carefully
before installation and operation.
II
Preface and Safety Warning
Warning
Note:
The power supply fixed on/in the cabinet is exclusively used for the
danger!
III
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
STATEMENT!
This manual describes various possibilities as much as possible.
However, operations allowable or unallowable cannot be explained one by
one due to so many possibilities that may involve with, so the contents
that are not specially stated in this manual shall be regarded as
unallowable.
WARNING!
Please read this manual and a manual from machine tool builder carefully
before installation, programming and operation, and strictly observe the
requirements. Otherwise, products and machine may be damaged,
workpiece be scrapped or the user be injured.
CAUTION!
Functions, technical indexes (such as precision and speed) described in
this user manual are only for this system. Actual function deployment and
technical performance of the machine tool are designed by the machine
tool manufacturer, so function configuration and technical indexes are
subject to the user manual from the machine tool manufacturer.
It is strongly suggested that PLC should be modified by GSK staff. To
avoid the accident, don’t modify the system on-site.
This manual is subject to change without further notice.
IV
Preface and Safety Warning
Cautions
■ Delivery and storage
● Packing box over 6 layers in pile is unallowed.
● Never climb the packing box, stand on it or place heavy objects on it.
● Do not move or drag the products by the cables connected to it.
● Forbid collision or scratch to the panel and display screen.
● Avoid dampness, insolation and drenching.
■ Open-package inspection
● Confirm that the products are the required ones.
● Check whether the products are damaged in transit.
● Confirm that the parts in packing box are in accordance with the packing list.
● Contact us in time if any inconsistence, shortage or damage is found.
■ Connection
● Only qualified personnel can connect the system or check the connection.
● The system must be earthed, and the earth resistance must be less than 0.1Ω.
The earth wire cannot be replaced by zero wire.
● The connection must be correct and firm to avoid any fault or unexpected
consequence.
● Connect with surge diode in the specified direction to avoid damage to the
system.
● Switch off power supply before plugging out or opening electric cabinet.
■ Troubleshooting
● Switch off power supply before troubleshooting or changing components.
● Check the fault when short circuit or overload occurs. Restart can only be done
after troubleshooting.
● Frequent switching on/off of the power is forbidden, and the interval time should
be at least 1 min.
V
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Safety Responsibility
Manufacturer’s Responsibility
——Be responsible for the danger which should be eliminated and/or controlled on
design and configuration of the provided CNC systems and accessories.
——Be responsible for the safety of the provided CNC systems and accessories.
——Be responsible for the provided information and advice for the users.
User’s Responsibility
——Be responsible for being familiar with and mastering the safety operation
procedures through training with the safety operation of the CNC system.
——Be responsible for the dangers caused by adding, changing or altering the original
CNC systems and the accessories.
——Be responsible for the dangers caused by failing to observe the provisions in the
manual for operation, adjustment, maintenance, installation and storage.
VI
Contents
Contents
VII
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
VIII
Contents
IX
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
X
Contents
XI
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
XII
Part I Programming Introduction
1
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Part One Programming
2
Chapter 1 Overview
Chapter 1 Overview
Standard configured with GE series bus-based servo unit, it supports bus I/O.
It is designed with 8.4’’ TrueColor LCD and supports both Chinese and English.
The maximum control accuracy is 0.1um and the highest movement speed is 60m/min.
Adapted with servo main axis, it has main axis orientation, CS axis control and other
functions.
Functions for single/multi metric/inch, taper and end face threads
Manual pulse trial cutting and manual pulse interruption functions
Support RS232 communication
Provide time limit shutdown setting (12 issues)
Support servo turret, four-work location electric tool carrier and hydraulic tool carrier.
3
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Control axis: X-axis, Z-axis, Y-axis and C-axis; C-axis can serve as Cs axis.
Interpolation mode: Positioning (G00), linear (G01) and arc (G02 and G03)
Position instruction scope: Metric system: -999,999.99 mm-999,999.99mm; min. instruction
unit: 0.0001 mm
Inch system: -9,999.9999 inch-9,999.9999 inch; min. instruction unit: 0.00001 inch
Mov Note: X-axis should be shrunk by a half upon diameter programming.
eme
Highest feed speed: 15,000 mm/min, straight line
nt
Feed magnification: 0-200%, 21-level real-time regulation
Cont
rol Highest rapid traverse: 60,000 mm/min
Fun Rapid traverse magnification: F0, 25%, 50% and 100%, four-level regulation
ctio Feed per revolution: 0.01 mm/r-500 mm/r (required to install 1024P/r or 1,200P/r main axis
n encoder)
Part One Programming
4
Chapter 1 Overview
M
* Designated with the address M and two-digit number; M function can be customized
Auxi
* M instruction in system (redefinition is not allowed): Program end: M02 and M30; program
liary
stop: M00; option stop: M01; subprogram invocation: M98; subprogram end: M99
Fun
* Cooling liquid start/stop * lubrication start/stop * MDI/automatic control chuck
ctio
clamping/loosening; control tailstock entrance/exit
n
Prog * Program capacity: 57MB, 400 programs
ram * Format: Relative/absolute hybrid programming
min * Subprogram: Editable; support five subprograms nesting
g * Program review * background editing
Oper
atin * Mode selection: Edit, automatic, MDI, back to zero, manual, single step, manual pulse
g * Operation control: Single block, skip, dry run, auxiliary lock, program restart, manual pulse
Fun interruption, single step interruption, manual intervention, machine tool lock, interlock, feed
ctio hold, circulation startup, emergency stop, external reset signal, external power ON/OFF
5
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
③ Series continuation: Signify with capital letters. ―None‖ means it is initial version.
Subseries continuation (or improvement No.): Signify with small English letters a, b, c …… or
④
signified with number. ―None‖ means it is initial version.
Structural type Structural type: Respectively signified with capital letters U, H, V and B.
or U-United, H- horizontal, V-vertical and B-box type.
⑤
special machine Special machine type: Signified with capital letter P.
type
LCD size LCD size: Signified with one-digit Arabic Numbers 1-9.
(structure) or 1 means 8.4‘‘, 2 means 10.4‘‘, 3-6 means…
⑥
special machine
code LCD Special machine code: Signified with two-digit Arabic Numbers 01~99.
For example,
6
Chapter 4 Code G of Preparation Function
Item GSK980TDHi
Number of Basic Control Axes 3 axis (X, Z and C), three axes at
most (including Cs-axis)
When the system is relied on rectangular coordinate system composed of X-axis and Z-axis for
positioning and interpolation movement, X-axis is front-rear direction of horizontal plane and Z-axis is
left-right direction of horizontal plane. Direction approaching workpiece is negative direction and
direction going away from workpiece is positive direction, as shown in Fig. 2-2-1.
The system supports front/rear tool carrier function and there is the provision: From the view of front
face of machine tool, tool carrier will be called as front tool carrier if in the front of workpiece and it will
be called as rear tool carrier if behind workpiece. Fig. 2-2-2 is coordinate system of front tool carrier
and Fig. 2-2-3 is coordinate system of rear tool carrier. It thus can be seen from Fig. 2-2-2 and Fig.
2-2-3 that X-axis directions in coordinate systems if front and rear tool carriers are adverse, but Z-axis
directions are the same. The following diagrams and examples in this Manual are about rear tool
carrier; as for coordinate system of front tool carrier, you can get by analogy.
7
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig. 2-2-2 Coordinate System of Front Tool Carrier Fig. 2-2-3 Coordinate System of Rear Tool Carrier
For GSK980TDHi, user can set axes as linear or rotary axis through position parameter
No.8#0~No.8#4; set display or hide of axes through position parameter No.58#0-No.58#4.
After setting additional axis as rotary axis, unit of rotary axis will be displayed into deg. If additional
axis is set as linear axis, the display will be the same with those of the basic three axes (X, Z and Y),
with unit for mm. The following is axis display when X-axis and Z-axis are linear axes and C-axis is
rotary axis.
Fig. 2-3-1
8
Chapter 4 Code G of Preparation Function
Note: Do not use relevant functions of machine zero provided by the system if there is no zero return stopper on
machine tool (e.g. G28).
9
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
directly programmed through axis amount of movement, which is called as increment value
programming. In the system, absolute coordinate programming is implement thorough directives X
and Z and increment programming is implemented through directives U and W.
Table 2-6-1
For example, A→B program in Fig 2-6-1 is programmed respectively through absolute value,
increment value and absolute value and increment value-mixed programming modes.
Part One Programming
Absolute
Relative
Programming Coordinate Mixed Coordinate
Coordinate
Mode Programmi Programming
Programming
ng
Program G1 X200 Z-50 G1 U100 W-50 G1 X200 W-50
Suppose tool is at A point in current workpiece coordinate
Remakes
system, linear interpolation should be adopted for movement.
Note: There will be alarm in case of X/Z and U/W shared segment execution in a program segment.
e.g. G50 X10 Z20;
G1 X20 W30 U20 Z30;
10
Chapter 4 Code G of Preparation Function
specified with two types: diameter and radius types, and be set through position parameter NO: 39#2.
It is diameter specifying programming when position parameter NO:39#2 is 0.
It is radius specifying programming when position parameter NO:39#2 is 1.
Table 2-7-1 Diameter and Radius Specifying Introductions
Item Specified by Diameter Specified by Radius
Z-axis Code Irrelevant to diameter and radius specifying
Specified by diameter
X-axis Code Specified by radius value
value
Specified by diameter
Increment Code of Address U Specified by radius value
value
Coordinate System Setting
Set by diameter value Specified by radius value
(G50)
Consistent with X-axis size; set through position
Note: 1. The following description in this Manual is based on diameter programming, unless
otherwise stated.
2. Diameter/radius application significance for tool offset refers to diameter/radius value
change for workpiece outer diameter. To be specific, upon diameter specifying, diameter value for outer
diameter of cutting workpiece is changed by 10 mm if compensation amo unt is changed by 10mm; upon
radius specifying, diameter value for outer diameter of cutting workpiece is changed by 20 mm if
compensation amount is changed by 10mm.
For example,
Amodal means that the function and state of the corresponding field, once executed, is enabled only
once; once henceforth it is required to apply the same function and state, its execution must be
resumed. That is to say, if the same function and state are applied in subsequent program segments,
it is required to input this field.
Initial state means the default function and state once the system is energized. That is to say, once
energized, the system executes according to the function and state in the case of initial state,
provided that the corresponding function and state are not designated. The initial state of this system
11
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
For example,
O0001;
G0 X100 Z100; (rapid positioning to X100 Z100 part; G0 is initial state, and the system will
moves in the form of the initial state G00 in case of having no
directive for other modals)
G1 X0 Z0 F100; (linear interpolation to X0 Z0 part, with system feed speed for 100 mm/min. Since
G98 is minute feed mode, it is power-on initial state of the system)
Part One Programming
12
Chapter 4 Code G of Preparation Function
The set of code series for CNC machine tool‘s part processing is called as program. After the
completed program is input into CNC system, the system will control tool in moving along line or arc
or make main axis rotate or stop according to codes. In program, these codes should be edited in
accordance with actual movement sequence of machine tool. Program structure is shown in Fig.
3-1-1.
Memorizer of the system can store multiple programs. In order to distinguish these programs,
program name composed of the address O and subsequent five-digit number is placed in the front of
program, as show in Fig. 3-1-1-1.
13
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Program is composed of multiple codes and a code unit is called as program segment, as shown in
Fig. 3-1-1). Program segments are separated by program end code, as shown in Fig. 3-1-1; in this
Manual, program end code is signified with the symbol ―;‖.
There is sequence number composed of the address N and sequent four-digit number at the
beginning of program segment, as shown in Fig. 3-1-1; front leading character ―0‖ can be omitted.
Sequence number can be in random order (position parameter NO: 0 # 5 decides whether to insert
sequence number automatically; for details, please see 3.3.1 in operating part); the interval can be
unequal and the interval size will be set through the parameter P210. Sequence number can be
arranged in all program segments or in those principal program segments; but general processing
sequence should be followed and sequence number should be from the small to the big.
Part One Programming
Note: The code N will not be treated as row number when in the same segment with G10.
As shown in Fig. 3-1-3-1, code word is the element for constituting program segment and composed
of address and subsequent number; sometimes, there will be symbols ―+‖ and ―-‖ before the number.
14
Chapter 4 Code G of Preparation Function
15
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Table 3-1-3-1 is only for limit values for CNC device and limitation for machine tool is excluded.
Please pay particular attention to it. Therefore, upon programming, it is required to consult operation
instruction of tool machine manufacturer, besides referring to this Manual, and program based on
understanding on program limits.
Note: 1. Length of each code does not exceed 79 characters.
2. Set Unit: Where ISC=0, the maximum and minimum are +999,999.99 mm upon manual data input;
Part One Programming
where ISC=1, the maximum and minimum values are +99,999.999 mm.
Set unit (metric): +999999.99mm +99999.999mm
Set unit (inch): +99999.999inch +9999.9999inch
Note: X-axis should be shrunk by a half upon diameter programming.
Fig. 3-2-1
16
Chapter 4 Code G of Preparation Function
ends with the code M02 or M30 in subprogram, the function will return to main program, just as M99,
to continue to invoke next segment of subprogram.
When main program ends with M99, the program will be repeatedly executed.
Fig. 3-2-1-1
At the beginning of subprogram, the address O is followed by subprogram number; subprogram ends
with the code M99.
Subprogram is invoked through main program or subprogram invocation code. Format for invoking
subprogram is as follows:
M98 P L
Repeated invocation times
重复调用次数
被调用的子程序号
Invocated subprogram number
17
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig. 3-2-2-1
Fig. 3-2-2-2
Invoking subprogram in subprogram is the same with invoking subprogram in main program.
Note: 1. There will be alarm in case of failure in retrieving subprogram number specified by the address P.
2. Subprogram with number for 90000-99999 is reserved program of the system; when user invokes this
king of subprogram, the system can execute subprogram content but cannot display the content.
3. For subprogram invocation, there are four levels of nesting at most.
Program starts with program name and ends with M02, M30 or M99, as shown in Fig. 3-2-2-2.
During program execution, the program under execution will end if having end code for M02 or M30,
and the system will be in reset state (for M30, the position parameter N0:33#4 can decide whether to
return to program heading; for M02, the position parameter N0:33#2 can decide whether to return to
program heading). Where end code is M99, program heading will be returned to and the program will
be executed on a circulatory basis. Where M99, M02 or M30 is at the end of subprogram, it is
required to return to the program invoking subprogram and continue executing the subsequent
program segments
18
Chapter 4 Code G of Preparation Function
Table 4-1-1
Type Meaning
Amodal G code Only valid for program segment instructed
For example, G01 and G00 are modal G codes in the same group.
G01 X _
Z ___; G01 valid
X ___; G01 valid
G00 Z__; G00 valid
19
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Note: 1. Where modal and amodal codes are in the same segment, amodal code should be preferred;
meanwhile, it is required to change corresponding modals according to other modal codes in the same
segment but not execute them.
2. For G code with ―*‖ mark, the system will be in state of this G code in case of powering on. (Parts of G
codes are decided by the position parameter NO: 31#0~7).
3. G code in Group 00 is amodal code.
20
Chapter 4 Code G of Preparation Function
4. There will be alarm in case of using G code not listed in List of G Codes or instructing G code without
selection function.
5. It is allowed to instruct G codes in different groups in the same program segment; in principle, more than
two codes in the same group cannot be instructed in identical program segment. It is required to be subject
to subsequent G code if there is setting that there will not be alarm in case that codes in the same group
are the identical segment.
6. G codes are respectively signified with their own group numbers according to different types. The
position parameters NO: 35#0~7 and NO: 36#0~7 will be used to set whether to remove G codes in
various groups upon reset or emergency stop.
Fig. 4-2-1-1
21
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Introductions:
1. After executing G00, the system will change modal for current tool movement mode into G00 mode.
It is relied on modifying system position parameter N0: 31#0 to set system default modal upon
powering on as G00 (parameter value is 0) or G01 (parameter is 1).
2. Whether positional parameter tool moves or not will not be specified; the system only change
modal for current tool movement mode into G00.
3. G00 and G0 are equivalent in format.
4. G0 speed of X, Y, Z and C-axes is set by the parameter P88~P92.
Limits:
Repaid movement speed is set by parameter; to specific, speed of the instruction F in G0 code
program is cutting feed speed for subsequent program segment.
For example,
Part One Programming
For example, as shown in Fig. 4-2-1- 3, tool is rapidly positioned from A point to B point; relevant
dimensions are shown in the figure.
Fig. 4-2-1-3
Programming is as follows:
G0 X20 Z0; (absolute value programming, diameter programming)
G0 U-22 W-18; (increment value programming, diameter programming)
G0 U-22 Z0; (hybrid programming, diameter programming)
22
Chapter 4 Code G of Preparation Function
Fig. 4-2-2-1
23
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig. 4-2-2-2
Note:
1. All code parameters other than F are positioning parameters. The parameter P96 is used to set upper lim it of
cutting feed speed F. Actual cutting speed will be limited to the upper limit value if exceeding this value, with
unit for mm/min. The parameter P97 is used to set lower limit of cutting feed speed F. Actual cutting speed will
be limited at the lower limit value in case of exceeding this value, with unit for mm/min.
2. Tool will not move when there is no specified positional parameter behind G01, and the system only changes
modal of current tool movement mode into G01. It is relied on modifying system position parameter N0: 31#0
to set system default modal upon powering on as G00 (parameter value is 0) or G01 (parameter is 1).
Arc interpolation in plane means finishing arc path moving from starting point to end point along
designated rotation direction and radius (or circle center). Items below are required to be given, as
arc path cannot be determined according to the known starting point and end point:
Rotation direction of arc (G02 and G03)
Arc interpolation plane (G17, G18 and G19)
Circle center coordinate or radius and two code formats from that (circle center
coordinate I, J and K or radius R programming)
Interpolation operation cannot be started until three items above are determined.
Arc interpolation can be implemented with codes below and tool can moves along arc, as shown
24
Chapter 4 Code G of Preparation Function
below‖
G02 R_
G17 X(U)_Y(V)_ F_;
G03 I_J_
Arc on XY plane
G02 R_
G18 X(U)_Z(W)_ F_;
G03 I_K_
Arc on XZ plane
G02 R_
G19 Y(V)_Z(W)_ F_;
G03 J_K_
Arc on YZ plane
A
r
c
s
t
a Ar
r c
t en
i d
n po
g int
p
o
i
n
t
25
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Table 4-2-3-1
Fig. 4-2-3-3
Plane modal information defaulted upon startup can be specified by setting the position parameter N0:
31#1 and #2.
Arc end point can be specified through the parameter characters X, Y or Z. The corresponding X and
Z instructions are signified with absolute value and corresponding U and W instructions are signified
26
Chapter 4 Code G of Preparation Function
with increment value. Increment value is coordinate for end point being relative to starting point. Arc
center is specified by parameter characters I, J and K and they respectively correspond to X, Y and Z.
I, J and K parameter values are coordinates for circle center corresponding to arc starting point;
simply, it is coordinate of circle center by taking starting point as coordinate origin point temporarily
and is increment value with symbol. For details, please see Fig. 4-2-3-4.
Note: The system can support X-axis, Y-axis and Z-axis, but the system default is G18 plane, X-axis and Y-axis
after system powering on. Instruction description is implemented according to mode the system supports
and user is required to operate by combining structure of machine tool.
point. Besides I, J and K, arc center is specified by the radius R. The details are as follows:
Center
G02
Center
X_ Z_ R_; Center
G03 X_ Z_ R_;
1. Draw two arcs below: Circle more than 180°and circle less than 180°. For arc more than 180°, the
radius is specified by negative value.
For example, as shown in Fig. 4-2-3-5, when Arc of ① is less than 180°, it will be G02 U60 W20 R50
F300; when arc of ② is more than 180°, it will be G02 U60 W20 R-50 F300.
Fig. 4-2-3-5
2. Arc equal to 180°can be programmed through I, J and K and R.
For example, G0 X0 Z0; G2 X40 I10 F100;
Equal to G0 X0 Z0; G2 X40 R10 F100
or G0 X0 Z0; G2 X40 R-10 F100
Note: For 180°arc, positive/negative value of R has no influence on arc path.
27
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
X
3.554
圆心
Circle center
18.929
End point 终点
起点
Starting point
F 45.25
Z
F 63.06
Part One Programming
30.0 R 19.26
50.0
Fig. 4-2-3-6
Function: G04 executing pause operating means executing next program segment according to
designated time delay. Specified pause per revolution for feed mode G99 per revolution can
be set by the position parameter No.34#0.
28
Chapter 4 Code G of Preparation Function
Instructions:
1. G04 is amodal code and only valid in current row.
2. X (U) value is valid when X (U) and P parameters appear simultaneously.
3. There will be alarm when X (U) and P are negative values.
Instructions:
29
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Table 4-2-6-1
Machine Tool
Program Absolute Coordinate
Coordinate
G0 G54 X50 Z50 50, 50 60, 60
G55 X100 100, 30 130, 60
X120 Z80 120, 80 150, 110
Part One Programming
Fig. 4-2-6-1
As shown in Fig. 4-2-6-1, it is required to return to machine zero manually after machine tool startup
and enable machine zero to build machine tool coordinate system, so as to generate machine
reference point and determine workpiece coordinate system. Origin points of six workpiece
coordinate systems can be specified by inputting coordinate offset or setting data parameters
P15-P44 under type-in mode; the six coordinate systems are set by distance from machine zero to
zero points of various coordinate systems.
Fig. 4-2-6-2
30
Chapter 4 Code G of Preparation Function
31
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
X
Cutting
Point
100
50
(X0 , Z0)
Z
Fig. 4-2-7-1
As shown in Fig. 4-2-7-1, workpiece coordinate system in the figure is established and position of
tool tip in current workpiece coordinate system is determined after executing the code G50 X100
Z100. For specific coordinate setting method, please see 4.1.5 tool setting in operating part.
Note: 1. G50-based coordinate system setting should be completed under the premise that tool offset has been
cancelled. After setting, the absolute coordinate is setting value of G50; tool offset cancellation can be
executed under MDI mode: ―T0100 G00 U0 W0‖, suppose current tool offset state is T0101.
2. Set coordinate system through G50 under tool offset state and absolute coordinate will display
circumstances below:
A. Tool offset has been executed, i.e. there is movement instruction after tool offset; the absolute coordinate after
setting is setting value of G5, as shown in table below:
32
Chapter 4 Code G of Preparation Function
Table 4-2-7-1
Program (Executing
Tool Compensation Display Value of Compensation Value
in the Form of Absolute Coordinate of No. 01 Tool
Coordinate Offset)
G0 X0 Z0 X:0 Z:0 X:-12
T0101 X:12 Z:23 Z:-23
G0 X0 Z0 X: 0 Z:0
G50 X20 Z20 X:20 Z:20
B. Tool offset has not been executed yet, i.e. there is no movement instruction after tool offset, including
tool offset cancellation and setting. After setting, absolute coordinate after setting reflects tool offset value.
Table 4-2-7-2
Program (Executing
Tool Compensation Display Value of Compensation Value of
in the Form of Absolute Coordinate No. 01 Tool
Coordinate Offset)
G0 X0 Z0 X:0 Z:0 X:-12
T0101 X:12 Z:23 Z:-23
G0 X50 Z50 X:50 Z:50
T0100 X:38 Z:27
G50 X20 Z20 X:8 Z:-3
Table 4-2-7-3
Program (Executing
Tool Compensation Display Value of Compensation Value of
in the Form of Absolute Coordinate No. 01 Tool
Coordinate Offset)
G0 X0 Z0 X:0 Z:0 X:-12
T0101 X:12 Z:23 Z:-23
G50 X20 Z20 X:32 Z:43
Function: Horizontally moving tool tip on tool carrier by one distance designated by parameter in original
coordinate system, i.e. corresponding relation for tool tip new coordinate to position in original
coordinate system is: X+U, Z+W.
Instruction: When parameter is set as diameter programming, X direction will specify diameter;
when parameter is set as radius programming, X direction will specify radius.
33
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Format: G17/G18/G19
Function: Plane selection is required upon arc interpolation, tool radius compensation or drilling and
boring. It can be implemented through G17/G18/G19.
Instructions: Where there is no instruction parameter, system default is G18 plane upon startup.
System default plane after startup can also be determined by setting the position parameters
N0:31#1, #2 and #3.
G17-------------XY plane
G18-------------ZX plane
G19-------------YZ plane
Plane will not change if G17, G18 and G19 are in program segment without instruction.
Part One Programming
34
Chapter 4 Code G of Preparation Function
Fig. 4-2-9-1 Next Program Segment Is Single Axis Movement Instructed by Increment Value
As shown in Fig. 4-2-9-2, next program segment of G31 is single axis movement instructed by
absolute value:
35
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Part One Programming
Fig. 4-2-9-2 Next Program Segment Is Single Axis Movement Instructed by Absolute Value
As shown in Fig. 4-2-9-3, next program segment of G31 is dual-axis movement instructed by absolute
value:
Fig. 4-2-9-3 Next Program Segment Is Dual-axis Movement Instructed by Absolute Value
Note: Setting can be implemented through the position parameter NO: 04#7 (skip signal SKIP, which will serve as
signal input when 0 is 1 and 1 is 0).
36
Chapter 4 Code G of Preparation Function
2. Reference points for operation of the first G28 code from middle center and manual return
are the same when inch system is switched to metric system or metric system is switched
to inch system.
3. The maximum error will be a half of the minimum order unit and this error will not
accumulate when the minimum input increment unit and minimum order increment unit are
different.
4. Program can be set to input inch/metric system through the position parameter N0:00#2.
5. Program can be set to output inch/metric system through the position parameter N0:00#1.
6. It is necessary to specify G20 or G21 in the independent program segment.
7. When inch input is used, parameters of system axes regarding distance and speed will be
displayed in an inch basis and set by the position parameter NO:41#3.
37
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig. 4-2-11-1
2. As shown in figure below, corner arc radius is specified when corner arc transition is
behind R:
Fig. 4-2-11-2
Limitation:
1. Chamfer and corner arcs should be executed only in designated plane; parallel axis is not
available for these functions.
2. There will be alarm if the inserted chamfer or arc transition program segment makes tool
beyond interpolation movement scope.
3. Corner arc transition cannot be specified in thread processing program segment.
38
Chapter 4 Code G of Preparation Function
4. When values for instructing chamfer and corner are negative, the system will select
absolute value of these two values.
There are parts of straight lines marked with angle whose endpoints are not accurate in position in
processing drawing. With the drawing dimension direct input function, user can directly use angle and
chamfer values of straight line in processing drawing to program.
Instruction format: Drawing dimension direct input function is only used in linear interpolation (G01)
and can be specified in G17 plane (YX plane), G18 plane (XZ plane) and G19 plane (ZY pane). The
instruction format below is about G18 plane (XZ plane). Format change is as follows in case of using
G17 and G19 planes: G17 plane: ―Z‖→―X‖ and ―X‖→―Y‖; G19 plane :―Z‖→―Y‖ and ―X‖→―Z‖.
39
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Part One Programming
Precautions:
● Both G00 and G01 instructions can be used in drawing dimension direct input function; but G00 only
has positioning effect in case of using G00 direct drawing dimension input function.
● In Instruction Format 1, angle tolerance for intersection calculation should be ±1°, for fear that
calculated movement distance is too long. (Q value is converted into 0°-360°)
X_ Q_ (there will be alarm if the angle Q is within (0°or 180°) ±1°.
Z_ Q_( there will be alarm if the angle Q is within (0°or 270°) ±1°.
●Upon intersection calculation, there will be alarm if angle difference for the two straight lines is within ±1°.
●It is required to specify coordinate value (absolute instruction) and angle instruction value in movement
program segment behind the program segment only specifying angle instruction.
For example, N1 X_ Q_
N2 Q_
N3 X_ Z_ Q_
(It is necessary to specify absolute instruction value and angle instruction Q of X-axis and Z-axis in N3
program segment; if not, there will be alarm.)
40
Chapter 4 Code G of Preparation Function
●G04 and M, S and T program segments can be inserted in continuous drawing dimension direct input
instruction; but there will be alarm if there are two or more inserting program segments.
●In compound fixed circulation, drawing dimension direct input program can be used in program
segments among sequence numbers specified by P or Q; but program segment specified by Q sequence
number is not allowed to be in the middle of continuous drawing dimension direct input instruction.
Function: Simultaneous thread cutting of two axes from starting point (position before G32 code
operation) to end point specified by X(U), Z(W) and Y(V); the path is shown in Fig.
41
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Part One Programming
Fig. 4-2-12-1
As shown in Fig. 4-2-12-2, the system is designed with long and short axes; calculation
method is as follows:
End point
X 终点
Taper thread
锥螺纹
Z-axis is long axis when LZ≥LX(a≤45°)
LX ≥isLX(a≤45°)时,Z轴为长轴;
X-axis
LZ long axis when LX>LZ(a>45°)
LX > LZ(a>45°)时,X轴为长轴。
Starting point
LZ 起点
Fig. 4-2-12-2
42
Chapter 4 Code G of Preparation Function
d1
d2
50 Z
70
Fig. 4-2-12-3
43
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Program: d1 = 3mm, d2 = 1.5mm, total cutting depth: 1mm (single edge), cutting by two times.
G0 X100 Z50; (rapid positioning)
M03 S200; (start main axis; set speed as 200)
T0101; (invoke thread chaser)
G0 X49 Z3; (rapid positioning; cut by 1mm for the first time)
G32 W-74.5 F4.0;
G00 X55;
W74.5;
X48; (rapid positioning, cut by 1mm for the second time)
G32 W-74.5 F4.0;
G00 X55
W74.5;
G0 X100 Z50 M05;
Part One Programming
M30;
Example 2: Write program in Fig. 4-2-12-4 with G32 code; long axis is Z-axis and thread pitch is
3mm.
X
41
d2 当前点
Current
point
d1
50
20
Fig. 4-2-12-4
Program: d1 = 2mm, d2 = 1mm, total cutting depth: 1mm (single edge), cutting by two times.
G0 X100 Z50; (rapid positioning)
M03 S200; (starting main axis; setting speed as 200)
T0101; (invoking thread chaser))
G00 X19 Z2; (rapid positioning; cut by 1mm for the first time)
G32 X49 Z-41 F3;
G00 X55;
Z2;
G0 X18; (rapid positioning, cut by 1mm for the second time)
G32 X48 Z-41 F3;
G0 X55;
Z2;
G0 X100 Z50 M05;
M30;
44
Chapter 4 Code G of Preparation Function
45
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
980TDHi machine tool system is relied on end face tapping circulation (G84) and side face tapping
circulation to realize tapping function. Tapping is divided into ordinary (flexible) tapping and rigid
tapping. For ordinary (flexile) tapping mode, main axis rotation and tapping axis feed mount are
independently controlled and have synchronization relationship not met well. With respect to rigid
tapping mode, main axis motor has the same control mode with servo motor; main axis revolution has
corresponding relation with feed amount along the direction of main axis direction and main axis
acceleration/deceleration also maintains this relation. Rigid tapping main axis, in which floating clip or
variable screw tap is not required (they are required in ordinary tapping mode), has more rapid and
accurate tapping operating.
In terms of rigid tapping mode, machine tool must enjoy corresponding condition: Using position of
main axis is controlled and used as Cs-axis; if not, the system will not support it.
Part One Programming
With respect to ordinary tapping mode, auxiliary function should be used to control startup and
shutdown of main axis: M03 (main axis positive rotation), M04 (main axis reverse rotation) and M05
(main axis stop); CNC tests main axis rotation through main axis encoder and tapping axis follows
rotation of main axis. Ordinary tapping mode will be a relatively economical tapping mode when
machine tool cannot use rigid tapping function.
Function of rigid tapping code: Rigid tapping circulation can be enabled when main axis motor is
controlled and under rigid mode.
Function of ordinary tapping code: During movement, when main axis rotates once, Z-axis will
move by one pitch and be always consistent with screw tap pitch; with one spiral
notch formed in workpiece, one time of cutting is enough to realize thread
processing in inner hole.
46
Chapter 4 Code G of Preparation Function
Format:
M29 S****; M29 decides rigid tapping; S** is main axis speed.
G84 X (U)_ C (H)_ Z (W)_ R_ P_ Q_F_ K_ M_; end face tapping circulation
G88 Z (W)_ C (H)_ X (U)_ R_ P_ Q_F_ K_ M_; side face tapping circulation
G80; Fixed circulation cancellation
Instructions:
M29 Sxxxx : Rigid tapping mode; Sxxxx is main axis speed.
X_ C_ or Z_ C_: Hole position data, only valid in designated program segment; hole
position data can also specify effective axis of non-X, Z and C axes.
Z(W)_or X(U)_: Specifying coordinate value of hole bottom with absolute value or
specifying distance form R plane to hole bottom with increment value,
only valid in designated program segment.
47
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Motion
Example P Pause
Rapid
movement
Z (X) axis
Tool
Feed
Principal
Hole
axis
position
Start point Initial Plane
point
Action1
Action 2 Action 6
Principal Principal axis
axis rotation R pause
R plane
Action 3 Action 5
Imaginary workpiece
Part One Programming
Hole bottom
Principal plane
P
axis pause
Hole bottom Principal axis
Action 4 pause contrarotation
Format:
G84 X (U)_ C (H)_ Z (W)_ R_ P_ F_ K_ M_;
G88 Z (W)_ C (H)_ X (U)_ R_ P_ F_ K_ M_;
Code execution process:
1. Tool is rapidly positioned to hole position from starting point, a point determined by hole
position data in initial plane; Reserve rotation
48
Chapter 4 Code G of Preparation Function
Example 1: Rigid tapping of Main Axis 1 is used in center hole end face.
For example,
Thread M10×2 in the figure
Example 2: Main Axis 2 is applied in non-center hold end face and side end tapping.
Parameter setting:
Position parameter
NO.0#4=1 Use dual-main axis control or not(0: No 1: Yes)
NO.1#6=1 Speed output selection of Main Axis 2 (0: analog voltage 1: pulse train position)
NO.36#2=1 Eliminate G code in Group 10 or not upon reset or emergency stop (0: No 1: Yes)
Number parameter
NO.424 0 Servo axis number upon position output of speed instruction pulse training for Main
Axis 2 (0: Invalid 1-5: Axis 1-5)
Set corresponding axis according to actual tapping axis; N0.424 is required to be set as 4, if B axis of
Axis 4 serves as tapping axis.
49
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
PLC K parameter:
K7.0=1 Use main axis contour control or not (0: No 1: Yes)
K7.4=1 Switch detection switch or not in main axis position (0: No 1: Yes)
K7.7=1 Use main axis position mode or not (0: No 1: Yes)
PLC T parameter:
T11 4000 Switching time for main axis position mode (M code is completion time if there is no
detection switch)
System parameter:
NO.422 M63 M code for positive rotation of Main Axis 2
NO.423 M64 M code for reverse rotation of Main Axis 2
NO.540 0 System axis number controlled by PMC-axis (0: None 1-5: Axis 1-5)
NO.541 0.0010 Minimum unit of data controlled by PMC-axis (0.0001-360.0)
NO.542 500 Acceleration/deceleration time in speed instruction controlled by PMC-axis
Note: It is not required to set NO.540 when system position parameter NO.60#2=1 (PMC-axis selection is
specified by G signal). NO.540 is required to set corresponding PMC-axis when system position parameter
NO.60#2=0 (PMC-axis selection is not specified by G signal).
50
Chapter 4 Code G of Preparation Function
Example 1: Tap 6 threads on outer circle with diameter for 100 through Main Axis 2; the 6
threads will be uniformly distributed on outer circle.
51
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Example 2
Feed per minute mode
G98; Feed per minute mode
G0 X10 Z-20; Position X-axis and Z-axis to starting point
M65 Specifying sign for Main Axis 2 (it is suggested to write
M65; writing M63 or M64 is also allowed)
M29 S500; Rigid tapping specifying, with speed of Main Axis 2 for 500
RPM; system number parameter N0.424 sets servo axis
controlled by Main Axis 2.
G88X-30R-4P1000F1000; G88 is side face rigid tapping circulation; starting point is
X10 Z-20, R plane position is X6, hole bottom position is
X-30 and hole bottom pause time is 1 s; through F value
and S value instructed, thread pitch is 2.
Part One Programming
Format:
G84 X (U)_ C (H)_ Z (W)_ R_ P_ Q_F_ K_ M_; end face tapping circulation
G88 Z (W)_ C (H)_ X (U)_ R_ P_ Q_F_ K_ M_; side face tapping circulation
G80; Fixed circulation cancellation
Instructions:
X_ C_ or Z_ C_: Hole position data, only valid in designated program segment; hole
position data can also specify effective axis of non-X, Z and C axes.
Z(W)_or X(U)_: Specifying coordinate value of hole bottom with absolute value or
specifying distance form R plane to hole bottom with increment value,
only valid in designated program segment..
R_ : Distance from initial plane to R point; it is the radius value, with direction.
P_ : Pause time at hole bottom, with unit for 1ms.
Q_ : Cutting amount for each time; it is the radius value.
F_ : Cutting feed speed
K_ : Program executing times
52
Chapter 4 Code G of Preparation Function
Note: 1. In general, ordinary tapping mode is only used in tapping on center hold.
2. In case of selecting ordinary tapping, this code is flexible tapping and tapping axis feed follows rotation of
main axis. After hole bottom main axis stop signal M05 is valid, the definite deceleration time is still
required before main axis stops rotation. At this time, Z-axis still feeds by following rotation of main axis
until main axis stops completely. As a result, in actual processing, hole bottom position of thread should be
slightly deeper or shallower than actual programming position. The specific error length is decided by main
axis speed upon tapping and main axis brake device.
Therefore, for safety sake, operator, before G84/G88 tapping, can move trailing plate to safety position and
implement G84/G8 dry running (not no-load operation), so as to observe position distance upon hole
bottom main axis stop in G84/G88 processing - G84/G88 starting point coordinate difference. Based on
that, it is required to modify the program and reserve enough hole depth before G84/G88 processing, for
convenience of G84/G88 processing.
For example,
Thread M10×2 in the figure
53
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Format:
G83 X (U)_ C
G87 Z (W)_ C (H)_ X (U)_ R_ P_Q_ F_ K_ M_; side face drilling circulation
Instructions:
X_ C_ or Z_ C_: Hole position data, only valid in designated program segment; hole
position data can also specify effective axis of non-X, Z and C axes.
Z(W)_ or X(U)_: Specifying coordinate value of hole bottom with absolute value or
specifying distance form R plane to hole bottom with increment value,
only valid in designated program segment..
R_ : Distance from initial plane to R point; it is the radius value, with direction.
P_ : Pause time at hole bottom, with unit for 1ms.
Part One Programming
Parameters concerned
0044 RTR
RTR: Drilling mode of G83 G87
0: Deep hole drilling, returning to starting point for each time
1: High speed drilling, retreating by distance designated by the number parameter P271
for each time
For example,
O00002
G98; Feed per minute mode
G0 X0 Z10; Positioning X-axis and Z-axis to starting point
M03 S500; Main axis speed is 500 RPM
G83 Z-60 P1000 F100; G83 is end face drilling circulation; starting point is X0 Z10,
hole bottom position is X0 Z-60, hole bottom pause time is 1 s
and cutting feed speed is F100.
G80; Fixed circulation cancellation
M30; Program ends
54
Chapter 4 Code G of Preparation Function
Format:
G162 X (U)_ Z (W)_ K_I_Q_ F_; clockwise processing
G163 X (U)_ Z (W)_ K_I_Q_ F_; Anticlockwise processing
Instructions:
X(U) Absolute coordinate of ellipse end point X (relative coordinate for U)
Z(W) Absolute coordinate of ellipse end point Z (relative coordinate for W)
K Long axis of ellipse (signified by absolute coordinate value) (value K>I)
I Short axis of ellipse (signified by absolute coordinate value) (value K>I)
Q Anticlockwise included angle between long axis of ellipse and Z-axis (value scope
-360°≤Q≤360°)
The angle will be 0°if not input.
Z-axis
Ø32.916
Ø24.241
Z轴
Ø40
80
X-axis
X轴
M03 S500
G0 X24.241 Z0 Rapidly positioning to starting point
G163 X32.916 W-60 K44 I20 F500 Processing along ellipse
G1 Z-80
G0 X100 Z50 Error! Hyperlink reference invalid
M30
Function: Two axes simultaneously execute parabolic interpolation specified by P along from
starting point (position before current program segment operation) to end point designated by X(U)
55
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
and Z(W).
G172 Code movement path is clockwise (rear tool carrier coordinate system)/anticlockwise (front
tool carrier coordinate system) parabola from starting point to end point, as shown in Fig. 1.
G173 Code movement path is anticlockwise (rear tool carrier coordinate system)/clockwise (front
tool carrier coordinate system) parabola from starting point to end point, as shown in Fig. 2.
Instructions: X(U) Absolute coordinate of parabola end point X (relative coordinate for U)
Z(W) Absolute coordinate of parabola end point Z (relative coordinate for W)
P Absolute value for coefficient of parabola (y^2 = 2*p*x)
Q Anticlockwise included angle long axis of parabola and Z-axis (value scope
-360°≤Q≤360°)
The angle will be 0°if not input.
F Feed speed; speed variation
Part One Programming
Code path:
Z-axis Z-axis
Whether it is clockwise or anticlockwise path depends on front/rear tool carrier coordinate system.
The system is designed with front tool carrier coordinate system, and subsequent diagrams are
hereby programmed. For details, please see Fig. 3.
Fig. 3
For example, Write program in Fig. 4 with G173 code, suppose ―distance from focus to directrix‖ P is
2;
56
Chapter 4 Code G of Preparation Function
Starting
point
End point
Fig. 4
Function: Polar coordinate interpolation function means converting contour control from
programming instruction in rectangular coordinate system into one straight line axis
movement (tool movement) and one revolving axis movement (workpiece rotation). The
method is used in end face cutting and axial cam grinding of machine tool.
----------;
Instructions:
Polar coordinate interpolation plane
G12 starts polar coordinate interpolation mode and selects a polar coordinate interpolation
plane. Polar coordinate interpolation is finished in this plane. The details are shown in the
figure below:
57
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Axis movement along non-polar coordinate interpolation plane under polar coordinate
interpolation mode
Tool is able to move along these axes, which is not related to polar coordinate interpolation.
Current position display under polar coordinate interpolation mode
Actual coordinate value display. However, remaining distance in program segment is in
accordance with coordinate display in polar coordinate interpolation plane (rectangular
coordinate).
Note:
The first row entering coordinate interpolation mode must specify G01/G02/G03 or current
modal is G01/G02/G03; if not, there will be alarm.
Coordinate system used in polar coordinate interpolation
Before instructing G12, it is required to set a workpiece coordinate system and center of
revolving axis is the origin point of this coordinate system. Under G12 mode, coordinate
system should not be changed absolutely. (G50, G54- G59, etc.)
Tool tip radius compensation instruction
Under tool tip radius compensation mode, it is not allowed to start or cancel polar coordinate
interpolation mode (G12 or G13). Instructing G12 or G13 is required under tool tip radius
compensation cancellation mode.
Program restart
For program segment under G12 mode, program restart is not allowed.
When the code G12 has been instructed, tool position of polar coordinate interpolation mode
58
Chapter 4 Code G of Preparation Function
will move from the angle 0. Therefore, it is necessary to position main axis before polar
coordinate interpolation;
During polar coordinate interpolation, it is not allowed to switch main axis gear. When it is
required to switch gear, the system should be under main axis control mode firstly.
Cutting feed speed of revolving axis
Polar coordinate interpolation means converting tool movement in rectangular coordinate system
into tool movement of revolving axis (C-axis) and straight line axis (X-axis). When tool
approaches workpiece center, C-axis component for feed speed will get larger; there will be
alarm in case of exceeding the maximum cutting feed speed of C-axis (in setting parameter
NO96), as shown in the figure below. It is required to lower feed speed in F address instruction or
program to make tool (tool center upon using tool tip radius compensation) keep away from
workpiece center, for fear that C-axis component exceeds the maximum cutting feed speed of
C-axis.
Radius and radius programming
0039 DIA
DIA: Diameter programming or not
0: Radius programming
1: Diameter programming
For example, X-axis (straight line axis) and C-axis (revolving axis)-based polar coordinate
59
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
O0001;
N10 T0202
……..;
N100 G00 X150. C0 Z0;
N110 G12;
N120 G42 G01 X80. C0 F200;
N130 C20.0;
N140 G03 X40.0 C40.0 R20.0;
N150 G01 X-40.0;
Part One Programming
Fig. 2-12
It is required to covert movement amount of revolving axis specified by angle into distance of straight
line axis along external surface inside, so as to finish linear or arc interpolation together with other
axes. After interpolation, the distance will be converted to movement amount of revolving axis again.
60
Chapter 4 Code G of Preparation Function
Cylinder interpolation can be programmed through unfolded plane of cylinder. Therefore, it is very
easy to make programming for cylinder cam slot, etc.
Format: Specify G07 in different program segments
G07 IP r; Start cylinder interpolation mode
………
G07 IP 0; Cancel cylinder interpolation mode
REV: Movement amount of revolving axis per revolution (setting value of No. 1260
parameter)
R: Workpiece radius
61
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Under cylinder interpolation mode, it is not allowed to specify workpiece coordinate system
G50.
Cylinder interpolation mode setting
Under cylinder interpolation mode, it is not allowed to reset cylinder interpolation mode.
Cylinder interpolation mode must be eliminated before resetting cylinder interpolation mode.
Fixed drilling circulation during cylinder interpolation
It is not allowed to specify fixed drilling circulation G81- G89 during cylinder interpolation.
Relevant parameters
0009 DTO A4TP
A4TP: Four-axis linkage or not (this parameter is also described in the previous V1.5.
0: No
1: Yes
DTO: Rotation axis input type in cylinder interpolation
0: angle
1: unfolded plane distance
62
Chapter 4 Code G of Preparation Function
63
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
The figure above is side face folded diagram in the program example. According to the diagram, after
Part One Programming
movement amount of revolving axis (C-axis) specified by angle is converted into straight line axis
distance of cylinder along surface, interpolation formed through revolving axis and another straight
line axis (Z-axis) can be regarded as interpolation under Z-X plane coordinate system in G18 plane.
Polygon cutting means polygon processing by using workpiece and tool to determine ratio rotation.
Workpiece
Work- Tool
piece
Fig. 4-2-20-1
Square or hexagon workpiece can be processed by changing gyration ratio of workpiece and tool or
number of tool tips. It can reduce processing time, compared with method for processing polygon by
using C-axis and X-axis in polar coordinate. But the shape processed is not accurate polygon.
Polygon cutting is used in processing square or hexagon screw or bolt.
Control axis composition:
Axis 1: X-axis
Axis 2: Z-axis
Axis 3: Y-axis (Tool axis, secondary control axis)
Axis 4: C-axis (Tool axis, main control axis)
Instruction format: Specifying G251 and G250 in different program segments
Instructions:
P, Q: Rotation rate of main axis and Y-axis
Value scope: 1-1, 000 for P and Q, without decimal point
64
Chapter 4 Code G of Preparation Function
Y-axis will have positive rotation when Q is positive value; Y-axis will have reverse
rotation when Q is negative value.
For polygon turning, tool rotation will be controlled by axis controlled by CNC. The rotation axis will be
called as Y-axis in following description.
Controlled by G251 instruction, Y-axis enables rotation speed of workpiece and tool mounted on main
axis (instructed by S) in accordance with designated ratio.
For example, rotation rate of workpiece (main axis) and Y-axis is 1:2 and Y-axis has positive rotation.
G251 P1 Q2
The system will start to detect transfer signal sent by position encoder installed on main axis when
G251 specifies simultaneous startup. After detecting single-transfer signal, Y-axis gyration ratio will
be controlled according to designated gyration ratio (P: Q), i.e. controlling Y-axis rotation to make
main axis and Y-axis gyration have the relationship of P: Q. The relationship will be kept until polygon
cutting cancellation instruction (G250 or reset operating) has been executed. Y-axis rotation direction
depends on code Q and is not affected by rotation direction of position encoder.
Tool
Angle
speedβ
Work-
piece
Fig. 4-2-20-2
Under this circumstance, the time t and rear tool tip position Pt(Xt, Yt) are signified by Formulate 1
below:
65
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Starting point
Fig. 4-2-20-3
Xt=Acosαt-Bcos(β-α)t (Formula 1)
Yt=Asinαt+Bsin(β-α)t
Formula 1 should be modified as follows suppose rotation ratio of workpiece and tool is 1: 2, i.e.
β=2α:
Part One Programming
Xt=Acosαt-Bcosαt=(A-B)cosαt (Formula 2)
Yt=Asinαt+Bsinαt=(A+B)sinαt
Formula 2 means drawing an ellipse with long axis as A+B and short axis as A-B. It is thus can be
seen that square can be processed by using tool shown below, suppose tool is mounted
180°symmetric position.
Fig. 4-2-20-4
Hexagon shown below will be processed if three knifes are installed with 120°spacing.
66
Chapter 4 Code G of Preparation Function
Fig. 4-2-20-4
0009 A4TP
A4TP: Four-axis linkage or not (this parameter is also described in the previous V1.5.
0: No
1: Yes
0384 Control axis number of tool rotation axis for polygon processing
[Number meaning]: Control axis number of tool rotation axis for polygon processing
[Number scope]: 0-5
67
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
0385 peed upper limit of tool rotation axis for polygon processing
[Data meaning]: Speed upper limit of tool rotation axis for polygon processing
[Value scope]: 1-2000
For example,
O00010
T0101
M3 S100 Workpiece rotation speed: 100 revolutions
G0 X50 Z0 Rapid positioning
G0 Y0 Tool rotation axis returns to zero
G251 P1 Q2 Tool rotation axis synchronization starts (rotation speed: 200 revolutions)
G01 Z-10 F100 Z-axis feed
Part One Programming
Fig. 4-3-1
Function: With the code, axis instructed can return to machine zero trough middle point specified by
X (U) and Z (W). In the code, one or two axes can be specified.
68
Chapter 4 Code G of Preparation Function
Table 4-3-1-1
Instruction Function
G28 X(U) X-axis returns to machine zero and Z-axis
keeps at original position.
G28 Z(W) Z-axis returns to machine zero and X-axis
keeps at original position..
G28 Keeping at original position (the system
will give 166 alarm)
G28 X(U) Z(W) X-axis and Z-axis return to machine zero
simultaneously.
Instructions: Instruction process (for action process, please see Fig. 4-3-1-1):
Fig. 4-3-1-1
Note: 1. Upon instructing G28, movement from middle point to machine zero is the same with manual return to
machine zero, if manual return to machine zero has not been performed yet after powering on.
2. During the process from A point→ B point, two axes are positioned respectively at the independent
speed. Therefore, the path is not straight line.
3. This function is unavailable if machine tool is not designed with machine zero.
69
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
F: Resultant feed speed of X-axis and Z-axis during circulation; it is a modal code.
Fig. 4-4-1-1
70
Chapter 4 Code G of Preparation Function
G90 code has four paths according to different tool start points, as shown in Fig. 4-4-1-3.
For example, write program in Fig. 4-4-1-4 through the code G90.
71
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Part One Programming
Fig. 4-4-1-4
Program:
O0001;
M3 S300;
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)
M5 S0;
M30;
72
Chapter 4 Code G of Preparation Function
Fig. 4-4-2-2
G94 code has four paths according to different tool start points, as shown in Fig. 4-4-2-3.
73
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
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
C D C D
Z Z
4)U>0,W<0,R<0
3)U>0,W<0,R>0(|R|≤|W|)
Part One Programming
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
For example, write program in Fig. 4-4-1-4 through the code G904.
Program:
O0002;
M3 S1;
G0 X130 Z5;
G94 X120 Z-110 F100; (D→C)
G0 X120 Z0;
G94 X60 Z-30 R-50; (C→B→A)
M5 S0;
M30;
Format:
Function: Equal pitch straight thread and taper thread single circulation thread processing will be
implemented when this code is executed. After circulation, tool will return to starting point.
74
Chapter 4 Code G of Preparation Function
Retracting groove is not required upon thread cutting. J and k are vanishing length of
X-axis and Z-axis respectively. The imaginary line (R) in Fig. 4-4-3-1 and 4-4-3-2 signifies
rapid movement and real line (F) means cutting feed. The setting values J and K (if have)
will execute vanishing of X-axis and Z-axis; when user is not required for thread vanishing
length set by J and K, the system will execute vanishing length = pitch of setting value X
0.1 X for the parameter P473. When J is omitted, vanishing in long axis direction will be
performed as per K and vanishing in short axis direction will be performed as per setting
value of the parameter NO.473. In case of omitting K, vanishing will be performed as per
K=J. When J=0 or J=0 and K=0, there will not be vanishing; when J≠0 and K=0, vanishing
will be performed as per K=J; when J=0 and K≠0, there will not be vanishing.
Instructions: Coordinate value of circulation end point, with unit for mm;
U, W: Movement mount from circulation end point to circulation starting point, with unit for
mm;
Fig. 4-4-3-1
75
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Part One Programming
Fig. 4-4-3-2
Note:
1. Precautions of thread cutting are the same with G32 thread cutting; please see 4.2.13 in this
Manual.
2. During thread cutting, circulation should not be stopped until Action 3 ends if there is feed hold
signal input.
3. Within thread pitch scope, main axis speed limit and other factors should be the same with
thread cutting of holding signal;
4. While G92 is executing straight thread, there will be alarm if tool starting point of G92 is the
same with thread end point in X direction, because it is unable to recognize whether thread
belongs to inner thread or outer thread.
5. For R value scope in G92, please see Fig. 4-4-1-3.
6. The system will have 45°vanishing when any one of J and K is set as 0 or not specified.
For example, write component program in Fig. 4-4-3-3 through the code G90 firstly and then
process thread with the code G92.
Fig. 4-4-3-3
76
Chapter 4 Code G of Preparation Function
Program:
O0001;
M3 S300;
G0 X150 Z50;
T0101; (Turning tool of outer circle)
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)
1) In single fixed circulation, the data X(U), Z(W) and R are modal values. Where the new X(U),
Z(W) and R are not specified, all data specified before are valid;
2) In single fixed circulation, X(U), Z(W) and R data will be eliminated when non-modal G codes
other than G04 or codes in Group 01 other than G90, G92 or G94 are specified.
3) The fixed circulation will not be repeated when there is only non-moving code program
segment behind G90, G92 or G94 program segment.
(Example) N003 M3;
…
…
N010 G90 X20.0 Z10.0 F2000;
N011 M8; (no repeated G90 execution)
…
…
4) Under fixed circulation state, fixed circulation can be simultaneously performed with M, S and
T functions if M, S and T are specified; please instruct fixed circulation again if fixed
circulation is cancelled after instructing M, S and T resulted from the instructions G00 and
G01.
(Example) N003 T0101;
…
N010 G90 X20.0 Z10.0 F2000;
77
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
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; Program segment of fine processing
. . . . T;
·
N(NF). . . . . ;
Function: The system will calculate rough machining route automatically according to workpiece fine
processing route, depth of cut and tool advancement mount and retreat mount given by
NS-NF program segment, as shown in Fig. 4-5-1-1, so as to realize cutting with action
parallel to Z-axis. Non-molded bars can be shaped at a time.
Instructions: Δd: Depth of cut for each time, without symbol. Cutting direction depends on AA'
direction (radius specifying), with value scope for 0.001 mm – 99,999.999mm. It is a modal
mode and will be valid until next specifying. In addition, it can also be specified by the data
parameter P462 and parameter value can be changed according to program instruction.
e: Retreat amount (radius specifying), with unit for mm and value for 0 mm-99,999.999 mm.
It is a modal code and will be valid until next specifying. It can also be set by the data
parameter P463 and parameter value can be changed in case of using program
instruction.
NS: Sequence number of the first program segment for fine processing route program
segment cluster.
NF: Sequence number of the first program segment for fine processing route program
segment cluster.
Δu: Distance and direction of fine processing allowance in X-axis direction, with value
scope for -999,999.99-999,999.99mm.
Δw: Distance and direction of fine processing allowance in Z-axis direction, with value
scope for -999,999.99-999,999.99mm.
F: Cutting feed speed, with value scope for 1mm/min-6,000mm/min for feed per minute and
78
Chapter 4 Code G of Preparation Function
ΔD
45o
Rapid快速进给
feed
切削进给
Cutting feed
程序指定的轨迹
Path designated by
program
1. Both △d and △u are specified by the same address U; the difference is whether to specified P
or Q according to program segment.
2. Circulation action is implemented through G71 code specified by P and Q.
3. In G71 circulation, F, S and T functions in program segment of the sequence numbers NS-NF are invalid
and should be ignored. G71 program segment or F, S and T specified previously are valid. In program
segments of sequence numbers NS-NF, F, S and T are only open to G70 code circulation.
4. Where there is constant line speed control selection function, G96 or G97 in program segment
of the sequence numbers NS-NF is invalid and those specified by G71 or previous program segment
are valid.
5. G71 code path has four types according to different cutting directions, as shown in Fig. 4-5-1-2.
But cutting is performed according to tool movement parallel to Z-axis no matter which kind of
type it is. Δu and Δw symbols are as follows:
B A A B
U(+)..W(+) U(+)..W(-)
Z A' A'
直线,圆弧插补
Linear and acr interpolations
A' A' 都可以
are allowed
U(-)..W(+) U(-)..W(-)
B A A B
Fig. 4-5-1-2
6. In NS program segment of the sequence number A-A‘, it is only allowed to use G00 or G01 for
specifying and Z-axes of A point and A‘ point should be consistent.
7. In A‘-B, X and Z address values must be of monotonic increasing or decreasing and the path
must be monotonic;
79
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
8. In program segment of the sequence numbers NS-NF, it is not allowed to invoke subprogram.
9. In the sequence numbers NS-NF, 100 program segments can be entered at most; the system
will give alarm ERR137 when number of program segments is beyond 100.
For example, write component program in Fig. 4-5-1-3 through compound fixed circulation G71.
2
(200, 10)
Starting point
0.5
e
d
Part One Programming
c
b a
Z
40
60
100
80 10 20 30 30
Fig. 4-5-1-3
Program:
O0001;
N010 G0 X220.0 Z50; (Positioning to safety position)
N020 M3 S300; (Anticlockwise rotation of main axis, with speed for 300r/min)
N030 M8; (Enable cooling mode)
N040 T0101; (Invoke rough turning tool)
N050 G00 X200.0 Z10.0; (Rapid positioning; approaching workpiece)
N060 G71 U0.5 R0.5; (Depth of cut for each time 1mm [diameter]; retract by 1mm
([diameter])
N070 G71 P080 Q120 U1 W2.0 F100 S200; (For a---d rough turning, allowance in X direction is
1mm and allowance in Z direction is 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) Fine processing route a→b→c→d→program segment
N110 W-20.0; (c→d)
N120 X100.0 W-10.0; (d→e)
N130 G00 X220.0 Z50.0; (Rapidly retreat to safety position)
N140 T0202; (Import No. 2 fine processing tool and execute No. 2 tool offset)
N150 G00 X200.0 Z10.0; (Position to circulation starting point instructed by G70)
N160 G70 P80 Q120; (Fine turning for a--- e)
N170 M05 S0; (Close main axis and stop speed)
N180 M09; (Close cooling)
80
Chapter 4 Code G of Preparation Function
N190 G00 X220.0 Z50.0 T0100; (Return to safety position rapidly; change back into
benchmark tool and eliminate tool offset)
N200 M30; (Program ends)
Type II of G71: Differen from Type I,appearance outline along X-axis has not need for monotonic
increasing or decreasing. Processing can be started only under the premise that Z-axis
is monotonic; besides, there can be 20 grooves at most.
As shown in Fig. 4-5-2-1, the first cutting needn‘t be perpendicular and processing can be started
only under the premise that Z-axis is monotonic.
Not monotonic in
Z-axis direction
Fig. 4-5-2-2
81
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
As shown in Fig. 4-5-2-4, it is required to retract tool after cutting; retreat amount should be specified by
the parameter R(e) or by the data parameter No. 464. Diagram concerned is as follows:
Set by parameter
Fig. 4-5-2-4
Precautions:
1. ns program segment is G00 and G01 codes. For Type II, it is required to specify the two axes X(U) and Z(W);
W0 must be specified when Z-axis has no movement.
2. Retract point should be high or low as much as possible, for fear that treat tool has impact on workpice.
3. For Type II, fine turning allowance can only specify X direction. The whole processing path will have offset if fine
turning allowance in Z direction is specified; 0 had better be set as if so.
4. Other precautions are the same with those of Type I of G71.
5. In P0461 compound turning circulation, there will be alarm if non-monotonic allowable values of G71 and G72
(Axis 1 in the plane) and rough turning direction of Type I and Type II are not monotonic. Under automatic
program building and other circumstances, there may form a tiny non-monotonic shape sometimes. The
parameter should be set without negative sign and serve as allowable value, so that G71 and G72 instructions
can be executed even though non-monotonic shape is included.
6. In P0460 compound turning circulation, there will be alarm if non-monotonic allowable values of G71 and G72
(Axis Z in the plane) and rough turning direction of Type I and Type II are not monotonic. Under automatic
program building and other circumstances, there may form a tiny non-monotonic shape sometimes. The
parameter should be set without negative sign and serve as allowable value, so that G71 and G72 instructions
can be executed even though non-monotonic shape is included.
7. Idle stroke amount of starting position for G71 and G72 cutting feed in P0477 compound turning fixed circulation
rapidly moves to cutting feed distance among tool advancement points.
82
Chapter 4 Code G of Preparation Function
N(NS)G0/G1 Z(W) . . ;
.......;
. . . . F;
. . . . S; Program segment for fine processing
. . . . T;
N(NF). . . . . ;
Function: The system will calculate rough machining route automatically according to workpiece fine
processing route, depth of cut and tool advancement mount and retreat mount given by
83
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
△D
B´
B A´
A
45
º
E
Rapid feed
快速进给
程序指定的轨迹
Path designated by program Cutting
切削进给feed
C´
C △U/2
Part One Programming
△W
Fig. 4-5-3-1
Instructions:
1. Both △d and △u are specified by the same address U; the distinguishing method is whether to
specified P or Q according to program segment.
2. Circulation action is specified by G72 code specified by P and Q.
3. In G72 circulation, F, S and T functions in program segment of the sequence numbers NS-NF
are invalid and should be ignored. G72 program segment or F, S and T specified previously are
valid. In program segments of sequence numbers NS-NF, F, S and T are only open to G70 code
circulation.
4. Where there is constant line speed control selection function, G96 or G97 in program segment
of the sequence numbers NS-NF is invalid and those specified by G71 or previous program
segment are valid.
5. G72 code path has four types according to different cutting directions, as shown in Fig. 4-5-3-2.
But cutting is performed according to tool movement parallel to Z-axis no matter which kind of
type it is. Δu and Δw symbols are shown in Fig. 4-5-3-2.
6. In NS program segment of the sequence number A-B, it is only allowed to use G00 or G01 for
specifying and Z-axes of A point and B point should be consistent.
7. In B-C, X and Z address values must be of monotonic increasing or decreasing.
8. In program segment of the sequence numbers NS-NF, it is not allowed to invoke subprogram.
9. In the sequence numbers NS-NF, 128 program segments can be entered at most; the system
will give alarm ERR137 when number of program segments is beyond 100.
84
Chapter 4 Code G of Preparation Function
C C
X
U(+)..W(+).. U(+)..W(-).. Z
B B X
B A A B 直线和圆弧插补都可以
Both straight line and arc
A interpolations are allowed.
A
U(-)..W(+).. U(-)..W(-)..
C C
(176, 10)
a
起点
b Starting point
c
d
40
80
160
20 15 20
Fig. 4-5-3-3
Program:
PO0002;
N010 G0 X220.0 Z50.0; (position to safety position)
N015 T0202; (Change No. 2 tool and execute tool offset)
N017 M03 S200; (anticlockwise rotation of main axis, with speed for 200)
N020 G00 X176.0 Z10.0; (rapid positioning and approaching workpiece)
N030 G72 W2.0 R1.0; (feed amount: 2mm; retract amount: 1mm)
N040 G72 P050 Q090 U1.0 W1.0 F100 S200; (for a—d rough turning, there should be 1mm
margin respectively on X-axis and Z-axis)
N050 G00 Z-55.0 S200; (rapid positioning)
N060 G01 X160.0 F120; (feed to a point)
N070 X80.0 W20.0; (a—b processing) Program segment for fine processing route
N080 W15.0; (b—c processing)
N090 X40.0 W20.0; (c—d processing)
N100 G0 X220.0 Z50.0; (retract tool to safety position)
85
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
N105 T0303; (change No. 3 tool and execute No. 3 tool offset)
N108 G00 X176.0 Z10.0; (return to G70 location rapidly)
N110 G70 P050 Q090; (a—d fine processing)
N115 G0 X220.0 Z50.0; (move to safety position, for convenience of tool replacement)
N120 M5 S0 T0200; (stop main axis, change No. 2 tool and cancel tool offset)
N130 G0 X220.0 Z50.0; (return to starting point rapidly)
N140 M30; (program ends)
Fg. 4-5-4-1
However, surface outline along X-axis must be of monotonic increasing ro decreasing; outline below
cannot be processed:
E-axis direction is
not monotonic
Fig. 4-5-4-2
1) The first cutting needn‘t be perpendicular and processing can be started only under the
premise that Z-axis is monotonic; diagram concerned is as follows:
86
Chapter 4 Code G of Preparation Function
2) It is required to retract tool after cutting and retract amount is specified by the parameter R (e) or by
setting value of data parameter No. 464; diagram concerned is as follows:
E (specified by
parameter)
Fig. 4-5-4-4
3) Fine turning allowance can only specify Z direction. The whole processing path will have offset if
fine turning allowance in X direction is specified; 0 had better be set as if so.
Format: G72 W(Δd) R (e) F_ S_ T_;
87
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Part One Programming
88
Chapter 4 Code G of Preparation Function
-999,999.99-999,999.99mm;
Δw: Fine processing allowance in Z-axis direction, with value scope for
-999,999.99-999,999.99mm;
F: Cutting feed speed, with value scope form 1 mm/min-6,000mm/min.
S: Speed of main axis;
T: Tool and tool offset number;
K W
W D
i U/2
C U/2
A
B
(d-1) pieces from C to D
C到D段分为(d-1)份
segments
1. In NS-NF, F and S functions in any program segment are invalid; F and S functions specified in G73
are valid.
2.Δi, Δk, Δu and Δw are specified by the addresses U and W; the difference method is whether to
specified P or Q.
3. In A-B, it is only allowed to use G00 or G01 for specifying in program segment of the sequence
number NS.
4. In G73, NS-NF program segment cannot invoke subprogram.
5. Circulation processing is implemented according to NS-NF program segment; upon programming,
please pay attention to symbols of Δu, Δw, Δi and Δk. After circulation, tool will return to A point.
6. If any one of Δi and Δk in the program is 0, it is required to write down U0 or W0 in the program or set
the data parameters as P466 and P467. If not, it may be affected by setting value of the last G73
program.
7. There should be 100 program segment s at most in the sequence numbers NS-NF; the system will
give alarm ERR0460 when number of program segments is beyond 100.
For example, write component processing program in the Fig. 4-5-5-2 through the cutting circulation
code G73
89
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
X
(200, 10)
起点
Starting point 2.5
2.5
1
Z
Ø100 Ø80
Ø120
Ø140
Ø160
R10
10 40 10 20
Part One Programming
91
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
X A:轴向切削循环起点 C:径向退刀终点
A: Axial cutting circulation starting point C: R adial retract end point
B: Axial feed starting point
B:轴向进给终点 D: Axial cutting circulation end point
D:轴向切削循环终点
0<Δ i’≤Δ i 快速移动
Rapid movement
Z W 0<Δ K’≤Δ K Cutting feed
切削进给
B2 A2
Δ i' C2 D2
B1 A1
C1 D1 U/2 X/2
Δi
Δ K+e
Δ K’ ΔK
B A
Δd
e
C D
Part One Programming
Fig. 4-5-7-1
1. Both e and Δd are specified by the address R; the difference is whether to specify Z(W) or not.
That is to say, it will be Δd if X(U) is specified; it will be e if X(U) is specified;
2. Circulation is performed in G74 program segment including Z(W) and Q( △k). Circulation will
not be implemented if only G74 R(e) program segment is executed.
For example, write component program in Fig. 4-5-7-2 through G74 code.
X
80
20
Ø60
Ø40
Ø20 Z
Fig. 4-5-7-2
Program:
O0001; (program name)
G0 X100 Z50; (rapid positioning)
T0101; (tool width: 2mm)
M3 S500 G97; (start main axis and set speed as 500)
G0 X36 Z5; (position to processing starting point; X-axis has been added to tool
width)
G74 R1; (instruct retract amount of Z direction)
G74 X20 Z-20 P2 Q3.5 F50;( movement amount of X-axis for every circulation: 4mm;
movement amount of Z-axis for every circulation: 3.5mm)
92
Chapter 4 Code G of Preparation Function
Z W
Δ k' Δk Δd
A2 D2 A1 D1 A D
Δi
快速移动
Rapid movement
Cutting feed
切削进给
e
A:轴向切削循环起点
A: Axial cutting circulation starting point
Δ i+e
U/2 C:径向退刀终点
0<Δ i’≤Δ i
0<Δ K’≤Δ K
Δ i'
B2 C2 B1 C1 B C
X/2
Z
Fig. 4-5-8-1
93
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
1. Both e and Δd are specified by the address R; the difference is whether to specify X(U).
That is to say, it will be Δd if X(U) is specified; it will be e if X(U) is specified;
2. Circulation is performed in specified G75 code including X(U).
For example, write component program in Fig. 4-5-8-2 through G75 code.
20
X
Ø40
Z
Ø120 Ø120
Part One Programming
50
80
94
Chapter 4 Code G of Preparation Function
scope of 0.1L~9.9L and it can be assigned by 2-digit figure of 00~99. This code is
modal and effective before the next setting. Besides, data parameter P473 is also
settable; parameter can be changed according to program instruction. The
chamfering amount of thread set in Program G76 is also effective in thread cutting
circulation of G92.
a: Angle of tool nose (optional angle of thread tooth includes 80°, 60°, 55°, 30°, 29°and
0°)
The original value of this angle can be assigned by 2-digit figure. This code is modal
and effective before the next setting. Besides, data parameter P472 is also settable;
parameter can be changed according to program instruction. Optional angle of tool
nose includes 80°, 60°, 55°, 30°, 29°and 0°
△dmin: Min. approach; unit: mm. If primary approach (△D× N -△D× N - 1 ) is lower
than △dmin, choose △dmin as primary approach. This code is modal and effective
Z W
E
D
A
U/2
X/2
C
B
Z-axis Z轴
Fig. 4-5-9-1
95
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Tool nose
Fig. 4-5-9-2
1. Distinction should be made using data assigned by P, Q and R and whether there‘s address X
(U) and Z (W).
2. Circulation action should be implemented by Code G76 assigned by Address X (U), Z (W).
3. Load on tool nose should be reduced if single-side blade is used for processing in circular
processing.
4. The approach should be △d in the first time or △D× N in the time N; the amount of each
cutting is fixed.
5. Four processing graphics are available, or internal threads can be processed giving
consideration to the symbol of each address. Feed speed of Instruction F is used only
between B and C in thread cutting shown in Fig. 4-5-8-1; while rapid feed is used by others.
In circulation, the increment symbol should be determined by the following methods:
U: determined by Path A to the Direction C;
W: determined by Path C to the Direction D;
R (I): determined by Path A to the Direction C;
P (K): positive;
Q (△D): positive
6. Notice for thread cutting is the same with G32 thread cutting.
7. Assigned chamfering amount of thread is also effective to G92 thread cutting cycle.
8. Address p should be used for designating m, r and a.
For example, thread cutting compound cycle Code G76 is used for programming the program shown
in Fig. 4-5-9-3; processing thread is M68×6.
96
Chapter 4 Code G of Preparation Function
Fig. 4-5-9-3
97
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
6. While Code G70, G71, G72 and G73 is being executed, the sequence number assigned P and Q
should have no coincidence in this program.
7. Notice for assigned G76 thread cutting is the same with G32 thread cutting and G92 thread cutting
circulation; the assigned chamfering amount of thread is also effective to G92 thread cutting
circulation.
Tool nose
Error
Fig. 4-6-1
Tool nose Point A in Fig. 4-6-1-1-1 below doesn‘t exist and so it is called assumed tool nose (or ideal
tool nose). The tool nose is assumed since it is difficult to set radius center of tool nose at start
position, but easy to set assumed tool nose at start position, as shown in figure below. The same with
tool nose center, it is not needed to consider radius of tool nose if implementing programming using
assumed tool nose.
起点
Start point
起点
Start point
用刀尖中心编程时
Programming via tool nose center 用假想刀尖编程时
Programming via assumed tool nose center
Fig. 4-6-1-1-1 Tool Nose Radius Center and Assumed Tool Nose
Note: A standard point, such as tool rest center, can be used as start point for machine tool which has zero point. The distance
from this standard point to tool nose radius center or assumed tool nose should be set as tool offset value.
The distance from standard point to tool nose radius center should be set as offset value, as if
98
Chapter 4 Code G of Preparation Function
setting tool radius center as start point; the distance from standard point to tool nose should be set
as offset value, as if setting assumed tool nose as start point. To set offset value of tool, it can be
easier to measure the distance from standard point to assumed tool nose than distance from
standard point to tool nose radius center; therefore, the distance from standard point to assumed
tool nose is generally used for setting tool offset value.
If tool nose center is used as start point, tool offset value is as shown in Fig. 4-6-1-1-2:
O FX O FX
X 轴的刀具补偿 X 轴 的 刀 具 at
Tool compensation 补偿X
Tool axis
compensation at
X axis
Fig. 4-6-1-1-2 Setting of Tool Offset Value if Taking Tool Center as Standard Point
Tool path programmed using tool nose center and assumed tool nose is respectively shown in Fig.
4-6-1-1-3 and 4-6-1-1- 4. The left and right figure respectively shows the offset value with and without
tool nose radius compensation.
If tool nose radius compensation is used, the tool nose center path will realize precise cutting and be
the same with programming path.
Compensation
Tool nose center path starts
Tool nose center path
Program
Program path path
Assumed
Compensation
tool nose starts
path
99
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
The tool and workpiece may stay at different positions in actual processing as needed by the
processing of workpiece. The direction of assumed tool nose observed from tool nose center should
be determined by the direction of cutting tool.
Position relationship between assumed tool nose and tool nose arc center is defined by assumed tool
nose number. The assumed tool nose number contains a total of 10 (0~9) settings to represent the
position relationship of 9 directions. Assumed tool nose number must be, before implementation of
tool nose radius compensation, inputted to tool nose radius compensation together with
compensation amount. The direction of assumed tool nose can be selected according to number of
eight specifications shown in figures below. In these figures, relationship between tool and start point
is introduced, and assumed tool nose is taken as arrow end point.
Part One Programming
100
Chapter 4 Code G of Preparation Function
X轴
X axis
Z axis
Z轴
后刀
Rear tool 座 坐coordinates
apron 标系
假想刀尖号码为5
Assumed tool nose number is 5 假想刀尖号码为6
Assumed tool nose number is 6
假想刀尖号码为7
Assumed tool nose number is 7 假想刀尖号码为8
Assumed tool nose number is 8
Fig. 4-6-1-2-1 Assumed Tool Nose Number in Rear Tool Apron Coordinates
101
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Z axis
Z轴
前刀座坐标系
Front tool apron coordinates X axis
X轴
Part One Programming
假想刀尖号码为2
Assumed tool nose number is 2
Assumed tool nose number is 1
假想刀尖号码为1
假想刀尖号码为3
Assumed tool nose number is 3
假想刀尖号码为4
Assumed tool nose number is 4
假想刀尖号码为5
Assumed tool nose number is 5
假想刀尖号码为6
Assumed tool nose number is 6
假想刀尖号码为7
Assumed tool nose number is 7
假想刀尖号码为8
Assumed tool nose number is 8
Fig. 4-6-1-2-2 Assumed Tool Nose Number in Front Tool Apron Coordinates
102
Chapter 4 Code G of Preparation Function
If tool nose center is consistent with start point, tool nose number should be set as 0 or 9. It is needed
to set assumed tool nose number of all tools using Address T according to corresponding tool
compensation number.
Table 4-6-1-3-1 Display Page for Tool Nose Radius Compensation Value of System
S/N 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
103
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Relative position between tool and workpiece must be assigned before implementing tool nose radius
compensation. In rear tool apron coordinate system, it is called right tool compensation if tool center
path stays at the right side of programming path (part path) and it should be realized by Code G42; or
it is called left compensation if tool center path stays at the left side of programming path (part path)
and it should be realized by Code G41; it is contrary to the front door apron. If Code G40, G41 and
G42 are assigned, the detailed introduction to relative position of tool and workpiece is shown in
Table 4-6-1-4-1:
Table 4-6-1-4-1
Instru Remarks
Introduction
ction
G40 Cancel tool nose radius compensation
Part One Programming
Z
刀具
Tool
G42:沿着刀具运
G42: tool stays at G41:G41:沿着刀具运
tool stays at
right side of left side of
动方向看,刀具
workpiece if 动方向看,刀具
workpiece if
在工件的右侧
observed from tool 在工件的左侧
observed from tool
movement direction movement direction
工件
Workpiece
轴axis
XX X轴
X axis
G 42 G 41
G42
G 42 G41 G 41
ZZ轴
axis
ZZ轴axis
G 42 G42 G41
G41
G42 G 41
Fig. 4-6-1-4-1 Tool Nose Radius Compensation in Rear Tool Apron Coordination System
104
Chapter 4 Code G of Preparation Function
Z
X
刀具
Tool
G42: tool stays at left
G41: tool stays at side of workpiece if
G41:沿着刀具运
right side of G42:沿着刀具运
observed from tool
workpiece if
动方向看,刀具 动方向看,刀具
movement direction
observed from tool
在工件的右侧
movement direction 在工件的左侧
工件
Workpiece
G41 G42
G41
G41 G42 G42
G42
G41 G42
XX
轴axis
X axis
X轴
Fig. 4-6-1-4-2 Tool Nose Radius Compensation in Front Tool Apron Coordination System
If front and rear programming paths have different turning corners in tool nose radius compensation,
the tool nose compensation path will become different. Therefore, it is called ―Inner side‖ if included
angle of intersection point between two moving program segments stays at workpiece is equal to or
larger than 180°, or called ―Outer side‖ if angle is 0~180°.
Workpiece side
Inner α
side
Program path
α ≥180°
Program path
Outer
side
α
Workpiece side
0°≤α <180°
105
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Code format:
Generally, tool radius compensation is realized by 3 steps: tool compensation establishment, tool
compensation implementation and tool compensation cancellation.
1. Tool compensation establishment
It is called tool compensation establishment if offset cancelation mode is switched to offset
mode.
Detailed tool compensation establishment is shown in Fig. 4-6-2-1-1 below:
((i) 直线—
i)Straight 直–线straight line (ii) Straight line – arc
line ( ii) 直线—圆弧
α
α
程 序 路path
Program 径
r r::补 偿量
compensation amount
r
G 42
S L G 42
C
L Meaning
在 以 下 图 of S.L and
中 S.L及 C 意C思in如the
下: S
following figures is as follows:
S:单 段 停 止 点
S: stop point of single segment L
:直 线 line
L: Lstraight 刀 具center
Tool 中 心path
路径 程 序 路path
Program 径
:圆 弧
C:Carc
α
L
Program path
r
L
S C
Intersection point Tool center path
106
Chapter 4 Code G of Preparation Function
(c) Move along with outer side of corner (acute angle) (α<90°)
G42 G42
L r L r
α α
程序路径
Program path
S L Tool刀尖中心路径
nose center path L S C
Program path
Tool刀尖中心路径
nose center path 程序路径
S L
刀尖中心路径
Tool nose center path
L
r
Program path
G41 程序路径
Less than 1°
The offset path from tool establishment to tool compensation cancellation is called tool compensation
implementation.
Detailed tool compensation is shown in Fig. 4-6-2-1-2 and 4-6-2-1-3 below:
107
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
(i) Straight
直 线 line
直线 → straight line 直线 line →
Straight 圆弧arc
α
α
编 程 路 path
Program 径
G 42 G42
S L 刀 具center
中 心path
路径 S C
Tool Intersection
交 点
Intersection point point
L Tool center path
Program path
L
圆弧
Arc 直线
→ straight line Arc
圆弧 → arc 圆弧
Part One Programming
α
α
G42 G42
Program path
S
C
S L Tool center path C Intersection
Intersection point point Program path
C Tool center path
(Ⅴ)小于1度内侧加工及补偿向量放大
(V) Inner side processing and enlarged compensation amount for
angle < 1°
(i)直线
(i) Straight line →直线
straight line
程序路径
Program
r
path
(b) Move along with exterior side of corner (obtuse angle) (180°>α≥90°)
108
Chapter 4 Code G of Preparation Function
G 42 G 42
a a
Program path
程序路径
L L r
r
S 刀 尖nose
中 心 路center
径 L S
L Tool
path C
程 序 路path
Program 径
Tool刀 nose
尖中心路 径
center
path
–弧
(c) Move along with outer side of corner (obtuse angle) (α<90°)
109
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
r Program path r
a 程序路径 a
L L
s L L s
Tool刀 nose
尖 中 center
心路径 C
path 程Program
序路径
path
刀 尖中
Tool 心 路center
nose 径
path
Part One Programming
1) 没有交叉点时
1) No intersection point
Alarm报警且停止
and stop
在左图,当刀具半径值小
As shown in the left figure, arc
compensation path may have
G41 时,圆弧的补偿路径有交
intersection point if tool radius is low, but
Center
圆弧 B 的中心of Arc B have no intersection point if radius is
当补偿量大时
If compensation amount is too high
点,但是当半径变大,可能
enlarged and it may give out alarm
(P/S33).
If compensation 圆弧
CenterAof的中心
Arc A 交点不存在。系统产生报警
当补偿量小时
amount is too low
(P/S33)。
程序路径
Program path
r r
P
A B
Arc圆
2)2) 弧 中is心
center 与 起 点with
consistent 或 start
终 点or一 致point
end
刀 具path
Tool 路径
If tool radius is too high, it may lead to coincidence
between arc当start/stop
刀 具 半point径 过and大时 ,导
circle 致 圆and
center, 弧 the
起
点 或out终alarm
system will give 点 位(P/S38)
置与圆心重合。系统
G 41 Program is as follows:
G01 W20; 产 生 报 警 ( P/S38)
G02 U30 W15 程序 如下:
R15;
程 序路径
Program path G01 W20;
G 01 W 20;
G 02 U 30 W 15 R 15;
G 01 W 20;
If any of the following condition is satisfied by program in compensation mode, the system will enter
110
Chapter 4 Code G of Preparation Function
compensation cancellation mode, and the action in this program segment is called tool compensation
cancellation.
(a) Tool compensation is cancelled using Code G40; it is not allowed to use arc code (G02 and
G03) while executing tool compensation cancellation. If arc is assigned, it will give out
alarm (N0.34) and stop tool.
(b) Tool radius compensation number is assigned as 0.
Details about tool compensation cancellation are as shown in figures below:
111
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
(i) (i)直线—直线
Straight line → straight line (i)圆弧—直线
(i) Arc → straight line
α
α
G42
程序路径
Program path r G40
G42
r
r: :补偿量compensation
C S
vector G40
刀具中心路径
Tool center path
L
S Program
程序路径path Tool center path
刀具中心路径
L
L
Part One Programming
(b) Move along with outer side of corner (obtuse angle) (180°>α≥90°)
(i)(i)直线—直线
Straight line → straight line (i)(i)圆弧—直线
Arc → straight line
G40
G40 α
L
α
G42 r
G42
程序路径
Program path L S
C
r
L
Program path 刀具中心路径
Tool center path
S 程序路径
刀具中心路径
Tool center path
(c) Move along with outer side of corner (acute angle) (α<90°)
(i)(i)直线—直线
Straight line → straight line (i)(i)圆弧—直线
Arc → straight line
L
L
G40 S S
r L G40
α r
G42
程序路径
Program path α
L
L
刀具中心路径
Tool center path L G42
C
L
程序路径
Program path 刀具中心路径
Tool nose center
path
112
Chapter 4 Code G of Preparation Function
(d) Move along with outer side of corner (acute angle less than 1°); straight line →
straight line (α<1°)
L
S 刀具中心路径
Tool center path
L
程序路径
Program path
r
G42
αα less
小于 度
1 1°
than
G40
113
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Compensation direction is determined by tool radius compensation Code G (G41and G42). The
symbol of compensation amount is as follows:
Table 4-6-2-2-1
Compensati
on Amount Symbol
+ -
Code G
G41 Left compensation Right compensation
G42 Right compensation Left compensation
Part One Programming
(i)直线→直线
(i) Straight line → straight line (ii)直线→圆弧
(ii) Straight line → arc
S
L C
G42
r
r 程序路径
Program path r G41
G41
Program path
程序路径 L r G42
L 刀具中心路径
Tool center path S
刀具中心路径
Tool center path
程序路径
Program path G41
S
S
If there‘s no intersection point and offset direction from Program Segment A to B is changed by Code
G41 and G42 during normal implementation of compensation, the start point in Program Segment B
should be prepared into vector which is vertical to Program Segment B if there‘s no need for offset of
path intersection.
114
Chapter 4 Code G of Preparation Function
S L
Single单节
segment
A (A) Single单节
segment
B (B)
(G42) (G42) (G41)
程序路径
Program path
L 补偿向量
Compensation
刀具中心路径
Tool center path
vector
L S
Single
单节segment
A (A)
(G42)
Program path
程序路径
补偿向量
Compensation C
vector
Fig. 4-6-2-2-3 Straight Line - Arc, No Intersection Point (Change Compensation Direction)
D2 G42
S C
刀尖中心路径
Tool nose center
path
C
D1
G41
程序路径
Program path
补偿向量
Compensation
vector
115
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
If the following instructions are assigned in compensation mode, the compensation vector will be
temporarily cancelled and followed by automatic recovery.
In such case, the tool will directly move to the instruction point where compensation vector is
cancelled from the intersection point, which is different from the compensation cancellation mode. If
compensation mode is recovered, the tool will be directly moved to the intersection point.
r
N8
s
Part One Programming
s r
N6 刀尖中心路径
Tool nose center
path
N7 N5
程序路径
Program path
N1 T0101
N2 G0 X100 Z100
N3 G0 X0 Z0
N4 G42 G90 X-20 W-50 F500 (Tool compensation is cancelled temporarily here)
N5 G0 X50 Z50 (Tool compensation recovered)
N6 G0 X100 Z100
N7 M30
116
Chapter 4 Code G of Preparation Function
N7 N8
N3 T0101;
SS N4 G0 X100 Z100;
N6 N5 G41 G01 X0 Z0;
N6 U-30 W20;
程序段N7在这
Program segment
里执行
N7 is executed
N7 G04 X5;
here N8 W30;
N9 G40 G0 X100 Z100;
N10 M30;
程序路径
Program path 刀具中心路径
Tool center path
N7 N8
r N3 T0101;
SS N4 G0 X100 Z100;
N6 N5 G41 G01 X0 Z0 F500;
N6 U-30 W20;
N7 G04;
程序路径 N8 G0 X100 Z100;
Program path 刀具中心路径
Tool center path
N9 M30;
The excessive cutting of tool is called "Interference". Check of tool compensation interface, which can
be used for checking the potential excessive cutting of tool, should be implemented even if excessive
cutting is not occurred.
(a) Basic conditions for interface
(1) The path between tool and program is different. (The included angle between paths is
90°-270°).
(2) In arc processing, the included angle between start and end point of tool and program
has great differences (above 180°), except for the conditions.
Case ①
程序路径
Program path 刀具中心路径
Tool center path
117
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
刀具中心路径
Tool center path
Program path
程序路径
Difference
两个路径方向差 between two
path异很大(180°
directions is )
large
(180°)
刀尖中心路径
Tool nose center 停止
Stop
path
程序路径
Program path
A C
B
Program is as follows:
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 aforementioned programs, the tool nose radius compensation value of No. 01 tool is
R<=10, and tool compensation is implemented normally; if R>10, the system will give out
interference alarm, since the direction of Program C in program segment is opposite to the path
of tool radius compensation.
118
Chapter 4 Code G of Preparation Function
刀尖中心路径
Tool nose center
程序路径
Program path path
A B C
Program is as follows:
N1 T0101; (R<=25)
As for circular paths, the tool nose center path is in parallel to the program path in general.
For both of Mode G41 and G42, the offset direction is as shown in figure below.
119
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Tool nose radius compensation can be realized in fine processing circulation (G70). Tool center
path will have automatic offset of one compensation value along with fine processing path. If G70
tool nose radius compensation is realized, G70 can be executed together with G41/G42 in the
same segment, or G41/G42 can be assigned in fine processing circulation segment.
……
N29 G01 U;.............................................Zero movement distance
N30 G9;...................................................Only Code G available.
2. If program segment is executed in input mode (MDI), tool nose radius compensation is
available.
3. The system will immediately enter cancellation mode after startup or in execution of M30. The
program must be ended in cancellation mode; otherwise, the tool may fail to be positioned at
end point, but say at the position which equals to the length of a vector from end point.
4. Tool nose radius compensation can be established or cancelled through Code G00 or G01 only,
instead of arc code (G02 or G03). The system will give out alarm if it is assigned.
5. If compensation amount is negative, G41 and G42 will have mutual exchange on program. If
tool center moves along with exterior side of workpiece, the tool will move along with the inner,
and vice versa, since the tool nose offset direction will be changed along with the variation of
compensation amount symbol, but the assumed tool nose direction maintains unchanged.
Therefore, it should not be changed without permission.
6. Generally, compensation amount should be changed when cancelling mode or switching tool.
New compensation amount is not effective, unless the tool offset is executed again.
7. If tool compensation program is being executed, Code G will be maintained to be G41 or G42
as before if there's error or alarm; in such case, tool compensation state C can be directly
cancelled by pressing rest button.
120
Chapter 4 Code G of Preparation Function
The spare parts shown in Fig. 4-6-4-1 below should be processed. The size of spare parts is shown
in figure; tool nose radius R=1 and it is the first tool.
Program is as follows:
O0001;
N010 G0 X100.0 Z100.0; (Positioned to safe position)
N020 M3 S300; (Spindle rotates anticlockwise, revolving speed: 300r/min)
N030 M8; (Cooling activated)
N040 T0101; (Switched to No. 1 tool for compensation)
N050 G00 X10.0 Z10.0; (Quick positioning and close to workpiece)
N060 G42 G1 Z0 F80; (Start execution of 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 tool nose radius compensation)
N150 M09; (Cooling deactivated)
N160 G00 X100.0 Z100.0 T0200; (Quick return to safe position, switch to basic tool and
reset tool offset)
N170 M30; (Program complete)
The spare parts shown in Fig. 4-6-4- 2 below should be processed. The size of spare parts is
shown in figure; tool nose radius R=1 and it is the first tool.
121
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Part One Programming
The spare parts shown in Fig. 4-6-4-3 below should be processed. The size of spare parts is shown
in figure; tool nose radius R=1 and it is the first tool.
122
Chapter 4 Code G of Preparation Function
Certain functions, which are realized by one group of codes, are pre-saved in memory and these
functions are represented by one code. These functions can be automatically realized if the user
writes out the representative codes. Such group code is called user's macro program body and
representative code is called "User's macro program". The user's macro program body and user's
macro program are respectively called macro program or macro program call code for short.
Body of user‘s
用户宏程序本体
macroprogram
主程序
Main program
macroprogram 完成某功能
of instructions of
用户宏程序命令
User‘s certain functions
instruction 的一组指令
Fig. 4-7-1-1
123
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Variables can be used in user's macro program body. Variables can be calculated and be given
variable assignment by macro program.
General CNC instruction, or variables, can be used in user's macro program for calculation and
transfer of code.
User's macro program should be started from program number and ended by M99.
O0066; 程序号
Program number
……
……
G65 H82 ……; 转移指令
Transfer instruction
……
……
M99; Body
用户宏程序本体结束 of user‘s
macroprogram is completed
The parameter value in user's macro program body can be assigned by variable. Such variable can
be assigned by main program or set through LCD/MDI, or be assigned when user's macro program
body is executed.
Multiple variables can be used and distinguished by variable number:
(1) Expression of variable
Variable is expressed by variable number after # and format is as follows:
#i (i = 1, 2, 3, 4 ……)
(Example) #5, #109, #1005
(2) Quotation of variable
Value after reference value can be exchanged by variable.
(Example) F#103 if #103 = 15, it should be the same with F15 instruction.
G#130 if #130 = 3, it should be the same with G3.
Note: 1. Variable cannot be quoted by parameter word O and N (program and sequence number). O#100 and
N#120 should not be used for programming.
2. It should not be used if exceeding the maximum code specified by parameter code. If #30 = 120,
M#30 exceeds the maximum code.
3. Display and setting of variable: variable can be displayed on LCD picture, or set through MDI
method.
2. Type of Variable
Variables can be divided into null variable, partial variable, public variable and system variable
according to the difference of variables, and they are of difference applications and properties.
(1) Null variable #0; (this variable is null and cannot be assigned)
124
Chapter 4 Code G of Preparation Function
(2) Partial variable #1~#50: Partial variables can be used in macro program for data storage;
position parameter NO; it can be set as elimination after reset or emergency stop through
52#7. Partial variable is assigned by independent variable when macro program is called.
(3) Public variable #100~#199, #500~#999: position reference NO; it can be set as elimination
of public variable after reset or emergency stop through 52#6.
Public variable is common in main program and user's macro program called by main program,
that is to say, the variable #i used in user's macro program is the same with #i used in other
macro programs. Therefore, the public variable #1 in calculation result of certain macro
program can be used in other macro programs.
Application of public variable is not specified in system and can be freely used by user.
Table 4-7-2-1
Variable
Variable Number Function
Type
(4) System variable: system variable is used for reading and writing the variations of data in CNC
running. It is as follows:
1) Interface input signal #1000 --- #1015 (Signal from PLC to system is read by digit, i.e.
Signal G)
#1032 (Signal from PLC to system is read by digit, i.e. Signal G)
2) Interface output signal #1100 --- #1115 (Signal outputted to PLC by digit, i.e. Signal F)
#1132 (Signal outputted to PLC by byte, i.e. Signal F)
3) Tool length compensation value #1500 --- #1799 (read-write supported)
4) Length wear compensation value #2000 --- #2299 (read-write supported)
5) Tool radius compensation value #1800 --- #1899 (read-write supported)
6) Radius wear compensation value #2300 --- #2399 (read-write supported)
7) Assumed tool nose #1900---#1999 (read-write supported)
8) Alarm #3000
9) User data sheet #3500 --- #3755 (read-only)
10) Modal information #4000 --- #4030 (read-only)
11) Position information #5001 --- #5030 (read-only)
12) Workpiece zero point offset #5201 --- #5235 (read-only)
13) Additional workpiece coordination system #7001 --- #7250 (read-write supported)
125
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Table 4-7-2-2
126
Chapter 4 Code G of Preparation Function
127
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Read
Relevant Tool
Variable Operation
Position Information Coordination Compensation
No. in
Systems Value
Movement
#5023 Z-axis tool length
compensation value
#5024 The 4th axis tool length
compensation value
#5026 X-axis servo position
compensation
#5027 Y-axis servo position
compensation
#5028 Z-axis servo position
Part One Programming
compensation
#5029 The 4th axis servo position
compensation
Note 1: ABSIO: end point coordination of previous program segment in workpiece coordination system.
Note 2: ABSMT: machine tool coordination system, position of present machine tool coordination system.
Note 3: ABSOT: workpiece coordination system, position of present coordination.
Note 4: ABSKP: workpiece coordination system, effective position of hopping signals in program segment G31.
128
Chapter 4 Code G of Preparation Function
Variable
Function
No.
#5201 External workpiece zero offset of the 1st axis
… …
#5204 External workpiece zero offset of the 4 th axis
#5206 Zero offset of workpiece G54 of the 1st axis
… …
#5209 Zero offset of workpiece G54 of the 4 th axis
#5211 Zero offset of workpiece G55 of the 1st axis
4. Partial Variable
Corresponding relation between address and partial variable:
129
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Table 4-7-2-5
Address of Address of
Partial Variable
Independent Independent Partial Variable No.
No.
Variable Variable
A #1 Q #17
B #2 R #18
C #3 S #19
I #4 T #20
J #5 U #21
K #6 V #22
D #7 W #23
Part One Programming
E #8 X #24
F #9 Y #25
M #13 Z #26
Note 1: assignment can be made by adding figure after English letters. All English letters, except for G, L, O, N, H
and P can be used for assignment of independent variable; each letter can be used for one assignment
from A-B-C-D… to X-Y-Z; it is not needed to follow the sequence of letter for assignment; address without
assignment can be omitted.
Note 2: G65 must be assigned before using any independent variable.
130
Chapter 4 Code G of Preparation Function
For example:
If variable #1 is 0 and variable #2 is null, the execution result of G00X#1 Y#2 is G00X0;
b. Calculation
<Null> should be the same with 0 in other conditions, except for assignment via <Null>.
Table 4-7-2-6
If #1=<Null> If #1=0
#2=#1 #2=#1
↓ ↓
#2=<Null> #2=0
#2=#1*5 #2=#1*5
↓ ↓
#2=0 #2=0
#2=#1+#1 #2=#1+#1
c. Conditional expression
<Null> in EQ and NE is different from 0.
Table 4-7-2-7
If #1=<Null> If #1=0
#1 EQ #0 #1 EQ #0
↓ ↓
True False
#1 NE #0 #1 NE #0
↓ ↓
True True
#1 GE #0 #1 GE #0
↓ ↓
True True
#1 GT #0 #1 GT #0
↓ ↓
False False
131
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Part One Programming
Fig. 4-7-2-2
If G65 is assigned, the user‘s macroprogram assigned by Address P is called the data are transferred
to user‘s macroprogram body through independent variable.
Format is as follows:
1. General form:
G65 Hm P#i Q#j R#k;
m: 01~99 means the function of code calculation or transfer.
#i: variable name of stored calculation result.
132
Chapter 4 Code G of Preparation Function
#j: variable name 1 of calculation. It can be constant. Constant is directly expressed without #.
#k: variable name 2 of calculation. It can be constant.
Meaning: #i = #j ○ #k
└───────Calculation symbol, assigned by Hm
Fig. 4-7-4-1
2. Operation code:
1) Assignment of variable: # 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)
3) Subtract operation: # I = # J- #K
G65 H03 P#I Q#J R# K;
(Example) G65 H03 P#101 Q#102 R#103; (#101 = #102-#103)
133
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
8) XOR: # I = # J.XOR. # K
Part One Programming
9) Square root:
9)平方根:# I = #j
G65 H21 P#I Q#J;
(例)G65 H21 P#101 Q#102 ;
(Example) (#101= #102 )
134
Chapter 4 Code G of Preparation Function
3. Transfer Instruction
1) Unconditional transfer
G65 H80 Pn; n: sequence number
(Example) G65 H80 P120; (Transferred to Program Segment N120)
135
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
5. Macro-variable Alarm
Example:
G65 H99 P1; Macro-variable 3001alarm
G65 H99 P124; Macro-variable 3124 alarm
The operations in the following table can be executed in variable. The expression at right side of
operational character contains constant and/or the variable composed of functions or operational
character. Variable #j and #k in expression can be replaced by constant. The variable at left side can
be assigned by expression.
Sine #i = SIN[#j];
Arc sine #i = ASIN[#j];
Angle should be
Cosine #i = COS[#j];
assigned by °, 90°30‘
Arc cosine #i = ACOS[#j];
is expressed in 90.5°
Tangent #i = TAN[#j];
Arc tangent #i = ATAN[#j] / [#k];
Square root #i = SQRT[#j];
Absolute value #i = ABS[#j];
Rounding #i = ROUND[#j];
Ceil #i = FUP[#j];
Floor #i = FIX [#j];
Natural #i = LN[#j];
logarithm
Exponential #i = EXP[#j];
function
OR #i = #j OR #k; Logic operation
XOR #i = #j XOR #k; should be executed
AND #i = #j AND #k; according to binary
136
Chapter 4 Code G of Preparation Function
system by byte
Transfer from #i = BIN[#j];
Used for
BCD to BIN
handshaking of
Transfer from #i = BCD[#j];
PMC.
BIN to BCD
Note:
(2)ARCSIN #i = ASIN [ #j ]
If operation result exceeds 99997.453535 (#j is about 11.5129), it may have overflow and
give out alarm.
Variable #j can be replaced by constant.
(7) ROUND (round off) function
ROUND function should be providing with rounding at the 1st decimal place.
For example:
If #1=ROUND [#2]; #2=1.2345, value of variable 1 is 1.0.
(8) Ceil and floor
While numeric operation is handled by CNC, it is needed to take ceil if absolute value of
integral generated from operation is larger than original value; or take floor if it is lower than
original value. The negative number should be handled with much caution.
For example:
If #1=1.2, #2=-1.2.
137
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
If function is assigned in program, the first two characters of function name can be used for assigning
the function. (For details, please see Table 4-10-5-1).
For example:
ROUND→RO
FIX→FI
(10) Operation sequence
Part One Programming
① Function
② Multiply and division operation (* / AND)
③ Add and subtraction operation (+ - OR XOR)
例)#1 = #2 + #3 * SIN[#4] ;
Example
)
1
3
1 ,、 2 和
and 3 表示运算次序。
means calculation
sequence.
(11) Limit
2) Unconditional transfer
GOTO statement
Transfer to program segment marked with sequence number n. Sequence number can be assigned
by expression.
GOTOn; n: sequence number (1 – 99999)
For example:
138
Chapter 4 Code G of Preparation Function
GOTO 1;
GOTO #10;
如果变量#1的值大于10,转移到顺序号N2
If variable #1 is higher than 10, transfer to program
segment with sequence number of N2
的程序段。
If 如果条件不满足
condition not IF [#1 GT 10] GOTO 2 ;
satisfied
如果条件满足
If condition satisfied
程序
Program
IF[<Condition expression>]THEN
If condition expression is satisfied, execute predetermined macroprogram statement. Only one
macroprogram statement is executed.
Note:
Conditional expression
Operational character should be included in conditional expression. Operational character is
inserted between two variables or between variable and constant, and be closed by brackets
([ , ]). Variable can be replaced by conditional expression.
Operational character
Operational character is composed of 2 letters for comparing two values and determining if they are
equal to, smaller or higher than another value.
139
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Typical program
The following program is used for calculating the sum of value 1~10.
O9500;
#1=0; 存储和的变量初值
Variable initial value stored
#2=1; 被加数变量的初值
Initial value of added
variable
N1 IF[#2 GT 10]GOTO 2; 当被加数大于10
Transfer to N2 if added 时转移到N2
amount is higher than 10
#1=#1+#2; 计算和
Calculate sum
#2=#2+1; 下一个被加数
Next added value
GOTO 1; 转到N1
Transfer to N1
N2 M30; 程序结束
Program complete
Part One Programming
如果条件满足
If condition satisfied
程序
Program
如果条件不满足
If condition not
satisfied
END m ;
:
If condition is satisfied, execute the program from DO to END; otherwise, directly transfer to the
program segment behind END. This instruction format is applicable to IF statement. The number
behind DO and END refers to the mark number of program execution scope. Such mark number
should be 1, 2 and 3; otherwise, the system may give out alarm.
Note:
Nest
Mark (1-3) in DO——END circulation can be used for multiple times as needed. But the system will
give out alarm if program has crossed and repeated circulation and overlapping within scope of DO.
Note:
Infinite loop
If only WHITE statement, instead of DO, is assigned, an infinite circulation from DO to END will be
generated.
Handling time
Retrieval of sequence number will be made while handling GOTO statement with mark transfer. The
period of reverse retrieval can be longer than positive retrieval. Handling period can be reduced by
using WHITE statement for realizing circulation.
Undefined variable
<Null> and zero have different effects in conditional expression using EQ or NE. <Null> is seen as
140
Chapter 4 Code G of Preparation Function
O0001 ;
#1=0;
#2=1;
WHILE [#2 LE 10] DO 1;
#1=#1+#2;
#2=#2+1;
END 1;
M30;
Note:
If G65 is used for call of macro program and F for quoting variable, the system should be
141
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Table 5-1
Code M Function
Complete program and returning to program heating, add
M30
Code M workpiece number by 1
for Complete program and returning to program heating, add
M02
controlli workpiece number by 1
ng M98 Call of subprogram
Part One Programming
Mobile code and auxiliary functions can be simultaneously executed if they are assigned in the same
program segment.
142
Chapter 5 Code M of Auxiliary Function
If variables behind Address M are assigned, the code signals and gating signals will be sent to
machine tool to activate or deactivate these functions. Generally, one Code M can be assigned in one
program segment, or at most three M codes can be assigned in the same program segment by
setting positioning parameter N0: 33#7. However, it may fail to assign the Code M simultaneously
due to the restriction of mechanical operation. For detailed about restriction to assignment of multiple
M codes in the same program segment, please refer to operation instructions of machine tool
manufacturer.
Code: M05, spindle rotation will be stopped if Code M05 is automatically executed, but speed of
Code S instruction will be kept. The deceleration mode for spindle stop should be set
according to regulations of machine tool manufacturer. Generally, it should be set as power
consumption brake.
Code: M08 - open cooling water pump. M09 – stop cooling water pump. Water pump control codes
cannot be executed if auxiliary function is blocked in auto mode.
Code: M14, spindle is switched from speed control mode to position control mode.
M15, spindle is switched from position control mode to speed control mode.
Code: M18, cancel spindle orientation. M19 - implement spindle orientation for tool switch and
positioning.
143
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Code: M41, Gear 1 of spindle; M42, Gear 2 of spindle; M43, Gear 3 of spindle; M44, Gear 4 of
spindle
Code M for program control is divided into major program control type and macroprogram control
type. If program Control Code M and mobile code is placed in the same segment, it is needed to
firstly execute mobile code followed by Code M.
Note: 1. Code M00, M01, M02, M30, M98 and M99 should not be assigned together with other M codes; otherwise,
the system may give out alarm. If these M codes are assigned in the same segment together with other
non-M codes, the non-M codes should be executed firstly.
2. The Code M includes the ones to make CNC send Code M to machine tool and execute internal operations,
such as the Code M which deactivates the pre-reading function of program segment. Besides, the Code M
which can make CNC send Code M to machine tool but have no execution of internal operation, can be
assigned in the same program segment.
In auto running mode, the system will stop auto running state when program reaches M30 (M02) and,
if the following programs are not executed, it will stop spindle and cooling and workpiece number is
increased by 1. M30 can be controlled by parameter N0: 33#4 whether to return program header;
M02 can be controlled by parameter N0: 33#2 whether to return program header. If M02 and M30 are
assigned at end of program, they will be returned to subprogram called and keep executing the
following program segments.
In auto running mode, auto running state will be paused when program reaches M00 and in such
case, the previous modal information will be saved. Press circulation key to keep running. Its function
is equal to holding of key.
In auto running mode, auto running state will be paused if program reaches M01. If ―Select off‖ switch
is turned to on position, M01 and M00 have the same effects; if turned to off position, M01 has no
effects. For detailed operation, please refer to operation manual.
Code M98 can be programmed in main program for call and execution of subprogram. Detailed
format:
144
Chapter 5 Code M of Auxiliary Function
M98 P L
重复调用次数
Repeat and call times
被调用的子程序号
Number of subprogram called
Fig. 5-2-4-1
Code format:
M 99 P
Function: (in subprogram) if other codes in present program segment are executed, they will return
to program segment assigned by P in main program; if P is not inputted, it will return to main program
to call the next program segment of Code M98 for continued execution. If Code M99 is completed in
main program, it will have repeated execution of present program.
1. In auto running mode, if M99 is used at end of one program segment, it will return to beginning
of program for auto execution when program reaches M99; if the following program is not
executed, the workpiece amount will not be added.
2. If M99 is used at end of subprogram, it will return to main program when program reaches this
segment and the next program in subprogram segment will be called for continued execution.
145
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Through Code S and subsequent values, code signals are converted into analog signals sent to the
machine for spindle control.
S is a modal value.
Description:
1、 One block can command a S code.
2、 Address S and subsequent data values specify the spindle speed directly, in revolutions /
minute (r/min). For example, M3 S300 means the spindle runs at a speed of 300 r/min.
3、 When movement code and S code occur in the same block, they are executed
simultaneously.
4、 The spindle speed is controlled through Code S and subsequent values.
146
Chapter 6 S Code of Spindle Function
surface speed.
2. G96 code must specify an axis, along which constant-speed control is used. G97 code cancels the
G96 mode.
3. In order for constant surface cutting speed control, it is required to set the workpiece coordinate
system taking the middle of rotating axis as zero point.
4. Linear speed = spindle speed × |X| × π ’ 1000 (m/min)
Spindle speed: r/min
|X|: absolute value of absolute coordinate on X-axis (diameter value), in mm
π≈3.14
Fig.6-3-1 Workpiece Coordinate System under Constant Surface Cutting Speed Control
5. Under constant surface cutting speed control, a value higher than G50 S_ setting is suppressed at
maximum spindle speed. If the maximum spindle speed is not set when the system is powered on, S
in G96 code is regarded to be S=0 until M3 or M4 occurs in the program.
主轴速度(rpm)
Spindle speed (rpm)
n
Spindle speed corresponding to
3000
在160mm(半径处)与表
surface spindle at the point of
2800 160 mm (radius)
面速度对应的主轴速度
2600
2400
2200
2000
1800
1600
1400
1200 Surface speed S is
1000 表面速度S是
600 mm/min
800 600mm/min
600
400
200
0 Radius mm)
半径(mm)
0 20 40 60 80 100 120140 160180 200 220240 260 280 300
Fig.6-3-2 Relationship of Workpiece Radius and Spindle Speed with Surface Speed
147
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
G97 command
Part One Programming
Assign
Comman
d spindle Use assigned
speed spindle speed (rpm)
Not assign
G96 command
Assign
Command
Use assigned surface speed
surface speed
Not assign
Fig.6-3-3
148
Chapter 6 S Code of Spindle Function
7. G96 related parameter setting: When G0 rapid positioning is set through Bit Para No.37#2, it is
required to calculate the datum coordinate of G96 spindle speed (0: end point, 1: current point). G96
spindle speed suppression (0: before spindle magnification; 1: after spindle magnification) is set
through Bit Para No.37#3; whether to use constant cycle speed control or not is set through Bit Para
No.61#0.
Restriction:
1. The response of servo system is not considered in spindle speed variation, and constant surface
cutting speed control is valid all the same during thread cutting. Thus, it is required to cancel the
constant surface cutting speed through G97 before thread machining.
2. In the fast motion block specified by G00, constant surface speed control is realized with a surface
speed calculated according to the end point of block not according to the instantaneous variation in
tool position. Constant surface cutting speed is not used because fast motion does not involve
cutting.
149
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
150
Chapter 7 F Code of Feed Function
x x
Start point
Fz
End point F
Fx
F End point
Fx
Start
point Fz
z z
Linear
Arc interpolation
interpolation
Fig.7-3-1
151
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
gears in total). In automatic mode, the system will stops feeding with the cutting magnification
displayed at 0%, when magnification adjustment keys are set to zero. After magnification adjustment
keys are adjusted, the program will continue running.
Part One Programming
152
Chapter 7 F Code of Feed Function
插补后的速度
Speed after interpolation
加减速控制后的速度
Speed after speed controlling
时间
Time
Speed
速度
TR:快速进给加减速时间常数
Speed controlling time constant in
(数据参数105-124)
rapid feed
(Num Para 105-124)
Time
时间
TR TR
Rapid
快速进给feed
Speed
速度
切削进给及手动进给加减速
TC:Speed controlling time constant in
cutting时间常数
feed / manual feed
(数据参数125-128)
(Num Para 125-128)
Time
时间
TC TC
Cutting feed /
切削进给/手动进给
manual feed
Fig.7-5-1
153
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
程序路径
Program path
Actual
实际刀具路径cutter path
(1)
Part One Programming
Fig.7-6-1
If a quasi-stop code is added, the tool moves according to the linear command (See the real lime
above). Otherwise, a higher cutting feed speed or a longer speed controlling time constant will causes
a larger radian at the corner. In the case of an arc command, the arc radius of actual tool path is
smaller than that given by program. In order to reduce the corner error, the speed controlling time
constant should be minimized if allowed by the mechanical system.
154
Chapter 8 Cutter Functions
T
刀具偏置号
Tool offset number
Tool option number
刀具选择号
a) Tool selection
Tool selection is realized through the specified T code corresponding to tool number.
For the relationship of tool number selected with cutter, please refer to the machine manufacturer‘s
manual.
b) Tool offset number
This is used for selecting the offset value corresponding to offset number. The offset value must be
inputted through keyboard units. An offset number has 2 corresponding offset values, one on X-axis
and other other on Z-axis. See Display, modification, and setting of tool offset in Operating
Instructions for operation details.
Table 8-1-1
Offset Value
Offset No. Offset Value of X
Offset Value of Z Axis
Axis
01 0.040 0.020
02 0.060 0.030
03 0 0
.. . .
.. . .
.. . .
If a T code is assigned and its offset number is not 00, the tool offset is valid.
If the offset number is 00, the tool offset function is canceled.
Setting range of offset value:
mm input: -9999.999 mm ~ 9999.999 mm
An offset X, Z is specific to programming trajectory. A T code assigns the offset value corresponding
155
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
to offset number and is added to or removed from the end point of each block.
偏置后的轨迹
Trajectory after offset
编程轨迹
Programming trajectory
This program segment has T code
该程序段有T代码偏置指令
offset command
Fig.8-2-1
Part One Programming
a) Offset vector
In the figure above, a vector with offset X, Z is called offset vector. Compensation functions as the
offset vector.
b) Offset canceling
When the offset number of T code is 00, the offset is canceled. At the end of block canceled, the
offset vector is zero.
N1 G01 U50.0 W100.0 T0202;
N2 W100.0:
N3 U0.0 W50.0 T0200;
Offset trajectory
Trajectory
偏置后的轨迹 after offset
N3
(假定02号偏置号中已经定了偏置值)
(Suppose that the value of No.02 offset is
set)
N2
编程轨迹 trajectory
Programming
N1
Fig.8-2-2
156
Chapter 8 Cutter Functions
Tool No.
Axis
(Programming example 1)
157
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
158
Chapter 1 Operation Panel
Machine
control area
Softkey
Editing
keyboard
area
Softkey
function
area Machine
control area
159
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
2 3
1
6
10
7
4
Part Two Operations
3
2
1
5
9
6
7
9
8 4
10
160
Chapter 1 Operation Panel
The editing keyboard area is further divided into 10 zones by key function, and the instructions for use
of each zone are given below:
Graphic page Alarm page Help page PLC page Diagnosis page
161
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Function
Name Remarks
Description
Display graph parameter and graph page through corresponding
Graph Enter graph
softkey conversion; set the center, size, and scale of graph through
page page
parameters
Alarm Enter alarm View various alarm message pages through corresponding softkey
page page conversion
Help Enter help View various help messages related to the system through
page page corresponding softkey conversion
Ladder
Enter ladder View the version information on PLC ladder graph and configuration
graph
graph page of system I/O port through corresponding softkey conversion
page
Enter
Diagnosi View the I/O port signal state at each side of system through
diagnosis
s page corresponding softkey conversion
page
Display the CNC setting, parameters, pitch compensation, data, bus
System Enter system
configuration, timed shutdown pages through corresponding softkey
page page
conversion
Display the relative coordinate, absolute coordinate,
Position Enter position
comprehensive coordinate, program monitor pages through
page page
corresponding softkey conversion
Display the program, MDI, catalog display pages through
Program Enter
corresponding softkey conversion; it is allowed to view many pages
page program page
of program name through PgUp PgDn on catalog interface
Part Two Operations
Note: Through the setting of bit parameters NO:25#0 ~ 25#7 and NO:26#6 ~ 26#7, the above softkey conversion can
be realized by continuously pressing corresponding function keys. For details of each page, please refer to Chapter 3
of this operation manual.
162
Chapter 1 Operation Panel
163
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
164
Chapter 1 Operation Panel
Cooling fluid
Cooling fluid ON/OFF Any mode
switch key
Spindle inching Spindle inching status Manual mode, hand wheel mode and
switch ON/OFF single step mode
C/S axis
clockwise and C/S axis clockwise and Valid when the spindle is analog amount
anticlockwise anticlockwise rotation control mode in manual mode
rotation key
User
self-definition User self-definition
key
165
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fast
Fast movement ON/OFF Manual mode
movement key
Fast rate,
manual single Fast rate, manual single Automatic mode, input mode,
step, hand step, hand wheel rate machine zero return, hand wheel
wheel rate option key mode and manual mode
option key
Axis X, Y, Z and C
positive/negative
movement in manual,
Manual Machine zero return, manual
single step operation
feeding key mode, hand wheel mode
Part Two Operations
Note 1: When there are more than 1 ―/‖ at the beginning of a block, the system will skip over that block even if the
hop-by-hop function is not opened.
Note 2: In manual mode, the manual speed ratio is adjusted through feed switch when the fast motion key is not
pressed.
Note 3: In following instructions, keys inside < > are panel keys; keys inside [] are softkeys below screen; [] is the
interface corresponding to current softkey; means the menu has subordinate menus.
Note 4: There is a user defined key USER1.
166
Chapter 2 System Power-On, Shutdown, and Safe Operation
2.2 Shutdown
Before shutdown, it is required to confirm that:
1. The X and Z axes of CNC stay in a stop state;
2. Miscellaneous functions (such as spindle and water pump) are closed;
3. CNC is switched off first, and machine tool second.
Before power cutoff, it is required to confirm that:
1. The LED indicator circulation start-up on operation panel stays in a stop state;
2. All movable components of CNC machine stay in a stop state;
3. The system is shut down by pressing POWER OFF.
Emergency power-off
During operation, the machine tool can be switched off immediately in emergency, in case of accident.
However, it should be noted that the system coordinate may deviate from actual position after
power-off. Thus, zero returning and tool setting are required.
Note: For machine tool power-off, please refer to the manufacturer‘s instructions for use of machine tool.
167
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
10. It can be used in the case of system output exception or motion exception of coordinate axis.
During machine tool operation, press EMERGENCY STOP and the system will enter the emergency
stop state. Immediately, the machine tool stops moving. This state is removed after EMERGENCY
STOP is released. (In spite of different manufacturers, this button will automatically bounce up
generally after left rotation.)
Note 1: Before the release of emergency stop state, it is required to confirm the fault cause has been troubleshot.
Note 2: After the release of emergency stop state, it is required to conduct zero returning again so as to ensure the
correctness of coordinate position.
In most cases, the emergency stop signal is a normally-closed contact signal. When the contact is
disconnected, the system goes into the emergency stop state immediately and the machine tool
stops urgently. The circuit of emergency stop signal is connected as follows:
+24V
急停开关
Emergency stop switch
ESP
Fig.2-3-2-1
168
Chapter 2 System Power-On, Shutdown, and Safe Operation
Machine operation can be paused by pressing (Feed Hold). It should be noted that, during
cyclic code operation, pause follows the present code operation.
On control panel, (Circulation Start-up) and (Feed Hold) are used for starting
and pausing the program in automatic mode and MDI mode. Modify PLC addresses K5.1 and K5.3 to
set whether to use external start and pause or not.
Note 1: Switched between auto and MDI modes. Circulation start-up is valid before the execution of current block
ends. Feed hold is invalid after Feed Hold is pressed.
Note 2: Switched from auto and MDI modes to editing mode. Circulation start-up is invalid before the execution of
current block ends. Feed hold is invalid after Feed Hold is pressed.
Note 3: Switched from auto and MDI modes to zero returning, single-step, manual, and manual pulse modes. Feed
hold is invalid after Feed Hold is pressed.
Note 4: If circulation start-up is valid and the system is switched between auto and MDI modes or switched to editing
Travel limit switches are mounted at the maximum strokes of X-axis and Z-axis in positive & negative
directions. In the case of over-travel, after a limit switch is touched, the operating axis decelerates to
a stop state and the system gives an over-travel alarm.
Specification:
Over-travel in automatic operation
In automatic operation mode, when the tool touches a limit switch on some axis, all axis motions
decelerate to a stop state and the system gives an over-travel alarm. The program stops in the
over-travel block.
Over-travel in manual operation
In manual operation mode, all axis motions decelerate to a stop state as long as any axis touches the
limit switch.
The software stroke is set through parameters P66~P75, taking the coordinate of machine tool as the
reference value. If a moving axis goes beyond the setting of software limiting parameters, the system
will give an over-travel alarm. Whether to conduct stroke detection or not (0: No; 1: Yes) after
power-on before manual returning to the reference point is set through Bit Para N0:11#6. It is set
through Bit Para N0:11#7 to give an alarm (0: before or 1: after) over-travel. In the case of an
169
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
over-travel alarm, the alarm is released if the counter moving axis in <manual> mode goes beyond
the over-travel range.
Method to release a hard over-travel alarm: In manual or manual pulse mode, move the axis out in
the reverse direction (in the case of positive over-travel, move it out in negative direction; in the case
of negative over-travel, move it out in positive direction).
Part Two Operations
170
Chapter 3 Modification & Setting of Interface Display and Data
Press and enter the position page, which has five interfaces: [relative coordinate],
[absolute coordinate], [comprehensive], [program monitor], and [operation]. They can be viewed
through corresponding softkeys, as follows:
1) Relative coordinate: Press [relative coordinate] and display the position of current tool inside
relative coordinate system. (See Fig.3-1-1-1)
Fig.3-1-1-2
3) Comprehensive: Press [comprehensive] to go into the interface and display:
(A) Position inside relative coordinate system;
171
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig.3-1-1-3
4) On [comprehensive] interface, press [operation] to display: (See Fig.3-1-1-4)
Fig.3-1-1-4
5) Program monitoring mode
Press [program monitoring] to go into [program monitoring] interface. On this interface, the absolute
coordinate, relative coordinate, surplus shift of current position and the modal information, operating
block of current operating program can be displayed simultaneously. (See Fig.3-1-1-5)
172
Chapter 3 Modification & Setting of Interface Display and Data
Fig.3-1-1-5
Note 1: Whether to display the model or not on program monitoring interface can be set through parameter NO.: 23#6.
When BIT6=0, the interface does not display modal code but display the coordinate of machine tool at original
position.
Note 2: In 6 modes (<program zero returning>, <single-step>, <manual>, <manual pulse>, <machine zero returning>,
<edit>), a relative coordinate system is displayed at center the top of the page; in 2 modes (<automatic> and <MDI>),
the surplus shift at center the top of the page.
In <position> display mode, the [absolute coordinate] and [relative coordinate] interfaces can display
the programming speed, actual speed, feed magnification, rapid magnification, G function code, tool
offset, number of work pieces, cutting time, spindle speed magnification, spindle speed, chuck state,
machining tool, etc. as shown in Fig.3-1-2-1:
Fig.3-1-2-1
Their concrete meanings are given below:
Speed: actual processing speed after magnification.
Programming speed: speed designated by F code in the program.
Feed magnification: magnification selected by feed magnification switch.
Rapid magnification: system default magnification controlled by the panel, or magnification selected
by the feed magnification band switch
173
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
S00000: command speed. Press below relative coordinate or absolute coordinate page, and
the cursor will be located at ―S 00000‖ (spindle speed). At this time, you can modify S value (range: 0
~ setting of P258).
Tool offset: tool number designated by T code in the program.
Note: number of work pieces power failure memory.
number of work pieces and cutting time clearing methods:
2) Press and the cursor will be located at ―number of work pieces‖ column. Then, you can
Part Two Operations
input a value in the MDI mode. Press and the number of machined parts will be cleared.
3) Switch to cutting time using up and down keys.
174
Chapter 3 Modification & Setting of Interface Display and Data
Fig.3-1-3-1
2) Clearing operation: Press ―X‖ or ―U‖ key, and U on interface will flicker. Press , and the
relative coordinate value in X direction will be cleared (as shown in Fig.3-1-3-2);
3) Halving operation: Press ―X‖ or ―U‖ key, and U on interface will flicker. Press , and the
relative coordinate value in X direction will be halved (i.e., the relative coordinate value is divided by
2);
4) Coordinate setting: Press ―X‖ or ―U‖ key, and U on interface will flicker. Input the data to be set,
and confirm it by pressing . Then, the data will be inputted to the coordinate system.
5) Z-axis clearing method is the same.
175
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
to enter the position page display. Press [ ] to enter the [monitor] interface. This interface can
display the current machine coordinate, multi-turn position, single-turn position, raster position, motor
speed, motor load (%, percentage of rated load) simultaneously. It is convenient for machine
debugging and real-time monitoring of current operating state of servo. (See Fig.3-1-5)
Fig.3-1-4
Press
on panel to enter the program page display. There are 3 sub interfaces: [ program], [MDI] and
[catalog], which can be viewed and modified through corresponding softkeys, as shown in Fig.3-2-1.
Details are given below:
1) Program display
Press [ program] to enter the program display interface. This interface displays the program on the
page where the block being executed in memory is (as shown in Fig.3-2-1).
Fig.3-2-1
Press [ program] again to enter the editing and modification page of program (as shown in
Fig.3-2-2):
176
Chapter 3 Modification & Setting of Interface Display and Data
Fig.3-2-2
Fig.3-2-3
3) Program catalog display
Press [catalog] to enter the program (system catalog) display interface. The display content is shown
177
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig.3-2-4
Part Two Operations
Explanation: Display the number of each program in memory through PgUp PgDn. A program name
that exceeds 6 places or that does not meet specifications cannot be previewed.
Press to enter the system page. This page contains 6 sub- interfaces: [ CNC setting],
[ parameter], [pitch compensation], [ data], [ bus configuration], and [ timed shutdown], which can
be switched through corresponding softkeys.
1. Page access
Press to enter the setting display interface. On this interface, it is allowed to view or modify
settings through corresponding softkeys, as follows (See Fig.3-3-1):
178
Chapter 3 Modification & Setting of Interface Display and Data
Fig.3-3-1
2. [ CNC setting] interface operating instructions
Press [ CNC setting] to enter the setting interface shown in Fig.3-3-1. It is allowed to view and
modify parameters. Concrete operation methods and steps are given below:
(a) Enter <MDI> operation mode;
(b) Move cursor through up and down keys to the item to be modified;
(c) Type 0 or 1 according to the following instructions;
179
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
In order to prevent the machine program or CNC parameters from being modified with malice,
GSK980TDHi system offers the permission setting function. Its password is divided into 5 levels:
Grade 1 (end user level), Grade 2 (system debugging level), Grade 3 (machine manufacturer level),
Grade 4 (system manufacturer level), Grade 5 (machining operation level). After turn-on and
power-on, the system is at the minimum level in default.
Grade 1: It is allowed to modify some of CNC state parameters and number parameters.
Grade 2: It is allowed to modify CNC state parameters, number parameter, offset data, and pitch
compensation.
Grade 3 and Grade 4: It is allowed to modify CNC state parameters, number parameter, offset data,
and transmission PLC ladder graph.
Grade 5: No password. It is allowed to modify offset data, macro-variables; to operate the operation
panel of machine tool. It is not allowed to modify CNC state parameters, number parameters, or pitch
compensation data.
1) In <MDI mode>, enter the interface and move cursor to the target position.
2) Input corresponding password, and press . If the password is correct, the system will give
an prompt ―password is correct‖.
Part Two Operations
3) For modification of system password, input 0~6 numbers or letters, and press for
confirmation.
4) After modification, press and move cursor to ―logout (END)‖ button. The interface will
present: ―Press <MDI> to confirm logout!‖ After confirmation by pressing , the interface will
present: ―logout finished!‖ At the same time, cursor will get back to the password setting column. After
blackout reset, the password will automatically log out, too.
180
Chapter 3 Modification & Setting of Interface Display and Data
Fig.3-3-2-1-1
See Appendix I Parameters for the concrete definitions of various parameters.
2) Number parameter page: Press [number parameter] to enter the number parameter interface.
(See Fig.3-3-2-1-2):
3) Common parameters
Fig.3-3-2-1-3
181
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
On this [common parameter] interface, select the required parameter catalog number to enter the
corresponding interface. (See Fig.3-3-2-1-4):
Fig.3-3-2-1-4
2) Press and [ number parameter] to enter the [common parameter] display page.
Method 1: Press <MDI> to select the block. Press PgUp PgDn to display the page where the
parameter to be set is; through arrow keys, move cursor to the position of parameter to be modified.
Method 2: Press corresponding number key followed by <MDI>. Press PgUp PgDn to display the
page where the parameter to be set is; through arrow keys, move cursor to the position of parameter
to be modified.
6) Press <G> and the interface will jump to the parameter interface of selected parameter.
7) For common parameters, the letter ahead of Parameter No. represents parameter type. (B: bit
parameter; P: number parameter; K: K parameter; T: T parameter; D: DATA parameter; C: CTR
parameter)
182
Chapter 3 Modification & Setting of Interface Display and Data
2) Press to enter the <CNC setting> interface. Set the parameter switch at ―1‖.
Fig.3-3-3-1-1
183
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Press [ data] to enter the setting (data processing) interface. On this interface, it is allowed to back
up (store) and recover (read) user data (ladder graph, ladder graph parameter, system parameter,
offset, pitch compensation, system macro-variable, user macro-program, CNC part program); it is
also allowed to input or output data using U disk or PC. Data backup and recovery do not influence
the part program stored in CNC (See Fig.3-3-4-1).
Fig.3-3-4-1
Part Two Operations
Operation method:
1. Press [CNC setting] to enter the CNC setting interface, and set corresponding password. For
password levels corresponding to data operations, please refer to 3.3.1.1 Setting and modification of
password permission.
2. Press [ data] twice to enter the data processing operation interface (as shown in Fig.3-3-4-2).
Fig.3-3-4-2
184
Chapter 3 Modification & Setting of Interface Display and Data
Table 3-3-4-1
Operation
Function Description
Item
Can back up the data of ladder graph (PLC), parameter (PLC), system parameter,
Data
offset, pitch compensation, or system macro-variable singly in system disk. After data
backup
backup, the system will generate a backup document whose name has a suffix ―.bak‖.
Can recover the data of ladder graph (PLC), parameter (PLC), system parameter,
Data
offset, pitch compensation, or system macro-variable singly in system disk. Data
recovery
recovery is to read and recover the backup document in system.
Data output Can output the data in system disk to an external storage device.
Data input Can input the data in an external storage device to system disk.
One-touch
Can back up multiple data items in system disk simultaneously.
backup
One-touch
Can recover the backup documents of multiple data items simultaneously.
recovery
One-touch Can copy the documents of multiple data items simultaneously from system disk to U
output disk.
One-touch Can copy multiple documents simultaneously from U disk to corresponding data items
input in system disk.
185
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Table 3-3-4-2
Press [ Bus Configuration] to enter the bus interface, which is shown below (See Fig.3-3-5-1):
Part Two Operations
Fig.3-3-5-1
[ Bus Configuration] interface operating instructions
Press [ Bus Configuration] to enter the bus configuration interface shown in Fig.3-3-5-1. It is allowed
to view and modify the parameters here. Concrete operation methods and steps are given below:
1. Enter <MDI> operation mode;
2. Move cursor, through arrow keys, to the item to be modified;
3. Modify parameters according to the following instructions;
1) Bus
2) Encoder type
0: incremental 1: absolute
Note: It is also allowed to set whether to use the absolute encoder or not through Bit Para No: 20#6.
3) Maximum allowable deviation
Note: The system default is 10.000 mm. It can also be set through number parameters P450~P454 and P455~P459.
X and Z axes get back to machine zero at the same time. 0: without expansion card 1: with
expansion card
186
Chapter 3 Modification & Setting of Interface Display and Data
Note: It is also allowed to set whether to use the bus servo card or not through Bit Para No: 0#6.
4) Grating type
0: incremental 1: absolute
Note: It is also allowed to set whether to use the absolute grating or not through Bit Para No: 1#0.
5) Spindle expansion card
0: without expansion card 1: with expansion card
Note: It is also allowed to set whether the spindle drive unit uses bus control mode or not through Bit Para No: 1#1.
6) Absolute zero setting
a) First, set the system-side gear ratio, feed axis direction, and zeroing direction before power-off and
power-on.
b) In MDI mode, set ―bus or not‖ at 1 and ―encoder type‖ at 1 on bus configuration interface; move
axes to manually to set the position of machine zero point.
c) Move cursor to . As instructed, press <MDI> twice and the zeroing indicator gets up.
Record the current position of absolute encoder of each axis motor as the machine tool zero point.
After system power-off and power-on, the zeroing indicator light is out. It is allowed to set negative
boundary and positive boundary manually according to the actual maximum stroke of machine tool so
that the current absolute coordinate of machine tool shifts a value forward or backward. At last, set Bit
Para No.61#6 at 1. Then, the positive and negative limits will be effective.
Setting range: -99999.9999~99999.9999. It is also allowed to set the positive and negative
boundaries of each axis through number parameters P66~P85.
Fig.3-3-5-1-1
187
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
2) Press to enter the [CNC setting] interface. Set parameter switch at ―1‖.
3) Press followed by [ Bus Configuration] to enter the servo debugging interface. Then,
press [ servo parameter] to enter the parameter setting and display page.
4) Move cursor to current axis parameter #0, and input corresponding password. Press ENTER to
download the drive unit parameters to system. It is allowed to modify servo parameters on [servo
parameter] interface.
5) Move cursor to the position of reference number to be modified:
Method 1: Press PgUp PgDn to display the page where the parameter to be set is; or, through arrow
keys, move cursor to the position of parameter to be modified.
6) Press for confirmation. Then, the parameter will be sent to drive unit and the state
column will present ―Drive unit succeeds in parameter downloading!‖.
Part Two Operations
7) Press so that servo can save the updated parameter. The state column will present
―Drive unit succeeds in parameter saving!‖.
8) After the setting of all parameters, turn off parameter switch.
2) Press to enter the [CNC setting] interface. Set parameter switch at ―1‖.
3) Press followed by [ Bus Configuration] to enter the servo debugging interface. Then,
press [ servo parameter] to enter the parameter display page.
4) Move cursor to current axis parameter #0 and input password 385. Press ENTER to download the
drive unit parameter to system. It is allowed to modify servo parameters on [servo parameter]
interface.
5) Move cursor to parameter #1, and input the value matching motor model:
6) Press for confirmation. Then, the parameter will be sent to drive unit and the state
column will present ―Drive unit succeeds in parameter downloading!‖.
7) Press so that servo can save the updated parameter. The state column will present
―Drive unit succeeds in parameter saving!‖.
8) After the setting of all parameters, turn off parameter switch.
188
Chapter 3 Modification & Setting of Interface Display and Data
2) Press to enter the [CNC setting] interface. Set parameter switch at ―1‖.
3) Press to enter the [CNC setting] interface. Input end-user password and higher-level
password.
4) Press followed by [ Bus Configuration] to enter the servo debugging interface. Then,
press [ servo parameter] to enter the parameter display page.
5) Press [backup] and the current axis parameters can be backed up into a file DrvParXX.txt.
(XX-axis number. For example, the filename is DrvPar01.txt for X-axis backup.)
6) After the setting of all parameters, turn off parameter switch.
3) Press to enter the [CNC setting] interface. Input end-user password and higher-level
password.
4) Press followed by [ Bus Configuration] to enter the servo debugging interface. Then,
press [ servo parameter] to enter the parameter display page.
5) Press [recovery] and the parameter backup file of current axis DrvParXX.txt will be recovered to
servo drive. (XX-axis number. For example, the filename is DrvPar01.txt for X-axis backup)
6) Press so that servo can save the updated parameter. The state column will present
―Drive unit succeeds in parameter saving!‖.
7) After the setting of all parameters, turn off parameter switch.
During parameter debugging, the machine tool will shake if servo parameters are too rigid. In order to
avoid dangers, servo parameters can be recovered to Grade 0 initial state parameters through servo
level clearing.
1) Select <MDI> operation mode.
2) Press to enter the [CNC setting] interface. Set parameter switch at ―1‖.
189
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
3) Press to enter the [CNC setting] interface. Input end-user password and higher-level
password.
4) Press followed by [ Bus Configuration] to enter the servo debugging interface. Then,
press [ servo parameter] to enter the parameter display page.
5) Press [level clearing] to recover all servo axis parameters to Grade 0 parameters.
6) Press so that servo can save the updated parameters. The state column will present
―Drive unit succeeds in parameter saving!‖.
7) After the setting of all parameters, turn off parameter switch.
In order to ensure servo debugging can reflect the actual servo performance, please cancel the gear
ratio at drive side and various offsets at system side (including pitch error compensation and
backlash compensation).
Part Two Operations
190
Chapter 3 Modification & Setting of Interface Display and Data
3.3.5.2.2 Functions
A. and : Select the axis. (Note: once entering the optimization procedure, the axis
being operated cannot be changed through arrow keys.)
B. and : Decrease or increase the rigid level of current axis. The rigid level decreases
or increases by one level after once pressing.
C. [Move +] and [Move -]: Move current axis a certain distance, which is set through Num Para P392,
at the speed set through Num Para P393. Before optimization, it is allowed to check whether motor
will vibrate or make an abnormal noise by pressing [Move +] and [Move -] repeatedly to move the
axis. However, once optimization starts, it is not allowed to acquire motor characteristic data by
pressing [Move +] and [Move -] repeatedly to move the axis.
Note 1: Once optimization starts, press [Move +] and [Move -] to move the axis so as to acquire data.
Note 2: Any non-professional person is not allowed to modify Num Para P392 or P393 without permission, or
optimization may fail.
191
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
192
Chapter 3 Modification & Setting of Interface Display and Data
2. Roundness test
Operation keys:
A. Number keys: Input various parameters;
193
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Step 1: Press or to select the acquisition function after the setting of parameters;
Part Two Operations
Step 2: Initiate arc motion and start data acquisition by pressing . After acquisition, press
Fig.3-3-5-2-3-1
Note: After debugging of rigid level and parameter optimization, it is required to test the synchronization of current
feed axes by using roundness test tools.
If the roundness test of each plane is within 6u, it can be regarded that servo axes move in good synchronicity, and
that parameter debugging is basically a success.
194
Chapter 3 Modification & Setting of Interface Display and Data
1. Press [System] on system panel followed by [F1] to enter the following interface.
Fig.3-3-6-1
Fig.3-4-1
195
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Press [ bias] to enter the bias display page, which is shown below (See Fig.3-4-1-1-1):
Fig.3-4-1-1
(1) Press address key ( or corresponding to axis name). Input a number, and then
press on panel or F1 [measuring input] (display value = absolute coordinate -input value);
after input, the current abrasion value will be automatically cleared.
(2) Press address key ( or corresponding to axis name). Input a number, and then
(3) Press address key ( or corresponding to axis name) followed by F3[C input].
(display value =relative coordinate -abrasion value)
(4) Press on panel. Input a number, and then press <MDI>. (Display value =input value)
196
Chapter 3 Modification & Setting of Interface Display and Data
(5) Press on panel. Input a number (an integer within 0~9), and then press on panel.
(display value =input value)
B. Abrasion line:
2. Press address key ( or corresponding to axis name). Input a number, and then
press on panel or F2[+ input]. (display value =current value +input value)
Note 1: T column: It is only allowed to input on panel. Any other letter inputted is invalid.
Note 2: Except the operation above, any operation is wrong in format on bias interface.
Note 3: After modification, bias will change in color. It returns after cursor moving or interface switching.
3) Press on panel or F2 [+ input]. Add the current tool bias value to the increment value
typed. Display the calculation result as new tool bias value.
For example, the tool bias on X-axis set is 5.678, and the increment typed is U1.5. In this case, the
new tool bias on X-axis is 7.178 (=5.678+1.5).
Note 1: During the modification of tool bias, the new bias cannot come into effect immediately. It takes effect after T
code designating its offset number is executed.
Note 2: The user can modify the tool offset value at any time during program operation. However, in order that
modification can take effect in time, the tool offset value must be modified before its offset number is operated.
Press [ Workpiece Coordinate] to enter the coordinate system setting interface, which is shown
below (See Fig.3-4-2-1).
197
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig.3-4-2-1
Except 6 standard workpiece coordinate systems (G54 ~ G59 coordinate systems) shown in
Fig.3-4-2-2, each coordinate system is viewed or modified through PgUp/PgDn. For operations of
additional coordinate system, see Programming—4.2.7 Additional Workpiece Coordinate System.
Part Two Operations
Fig.3-4-2-2
Enter workpiece coordinate system setting page. Move cursor to the position of typing through
and . Input a number, and press . In this way, you input the number directly. (See
Fig.3-4-3-2)
Method 1: Move cursor to the position of typing through and . Press an address key
( , corresponding to axis name), and input a number. Press and CNC will
automatically input the data;
198
Chapter 3 Modification & Setting of Interface Display and Data
Method 2: Move cursor to the position of typing through and .Then, press an address
1) In any mode, input a coordinate system and press for location. For example, input ―G56‖.
2) In any mode, input ―P6‖ or ―P06‖ and press . The cursor will be located at the additional
workpiece coordinate system ―G54 P06‖.
Enter workpiece coordinate system setting page. Move cursor to the position of data to be modified
through and . Input a number, and then press F3[+ input] to add current bias of
workpiece coordinate system to the increment value inputted. The calculation result will be displayed
Fig.3-4-2-3-1
3.4.2.4 Clearing of workpiece coordinate system
Enter workpiece coordinate system setting page, and press . When all bias values of
workpiece coordinate system are cleared, system will display a prompt. In this case, it is required to
press again to delete all bias values. It is allowed to press <cancel> to cancel the deletion
operation; it is also allowed to set any axis bias at 0 with the direct input method stated in this chapter.
199
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Press [ Macro-variable] to enter the macro-variable page. This page contains the following 2 sub-
interfaces: [user variable] and [system variable], which can be viewed or modified through
corresponding softkeys.
1) User variable page: Press [user variable] to enter the user variable interface (See
Fig.3-4-3-1-1):
Part Two Operations
Fig.3-4-3-1-1
2) System variable page: Press [system variable] to enter the system variable interface (See
Fig.3-4-3-1-2):
Fig.3-4-3-1-2
For details of macro-variable instructions and usage, see Programming—4.7.2 Macro-variables.
200
Chapter 3 Modification & Setting of Interface Display and Data
Method 1: Press PgUp/PgDn to display the page where the variable to be set is; move cursor to the
position of variable to be modified, through arrow keys.
Press to enter the following graph page. This page contains 2 display interfaces: [graphical
parameter] and [ Graph], which can be switched through corresponding softkeys. (See Fig.3-5-1):
201
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
tool rest selection: Modify this parameter according to the type of machine tool rest, in order that
graphic display can reflect the actual conditions of machine more intuitively. There are 2 selection
modes (0-1), as shown in second line.
Note: The settings of Xmax and Xmin are radius values.
B、 Graphical parameters setting method
a) Move cursor to the parameter to be set;
b) Type a corresponding value as required;
Fig.3-5-2
Press , , , to move the graphic display area, and the display boundary will
expand 1 time at most.
In graph page, it is allowed to monitor the machining track of program in operation.
A. Press [start] or to start drawing. At this point, ‗*‘ number moves to S: before drawing
starts;
B. Press [Stop] or to stop drawing. At this point, ‗*‘ number moves to T: before drawing
stops;
C. Once [switch] is pressed, the graph switches between coordinates corresponding to 0 ~ 1.
202
Chapter 3 Modification & Setting of Interface Display and Data
Press to enter the diagnosis display interface. This page contains 5 sub- interfaces: [
Signal], [System], [Bus], [DSP], and [ waveform], which can be viewed through corresponding
softkeys (See Fig.3-6-1).
Fig.3-6-1
Fig.3-6-1-1-1
This is the signal system gives to PLC. For the meaning and setting method of each diagnosis
number, please refer to GSK 980TDHi CNC System and PLC Installation & Connection Manual.
b. G signal interface: On <Diagnosis> interface, press [G Signal] to enter the diagnosis
(PLC→NC) interface, as shown in Fig.3-6-1-1-2:
203
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig.3-6-1-1-2
This is the signal PLC gives to system. For the meaning and setting method of each diagnosis
number, please refer to GSK 980TDHi CNC System and PLC Installation & Connection Manual.
c. X signal interface: On <Diagnosis> interface, press [X Signal] to enter the diagnosis (MT→PLC)
interface, as shown in Fig.3-6-1-1-3:
Part Two Operations
Fig.3-6-1-1-3
This is the signal machine tool gives to PLC. For the meaning and setting method of each diagnosis
number, please refer to GSK 980TDHi CNC System and PLC Installation & Connection Manual.
4, Y signal interface: On <Diagnosis> interface, press [Y Signal] to enter the (PLC→MT) interface, as
shown in Fig.3-6-1-1-4:
204
Chapter 3 Modification & Setting of Interface Display and Data
Fig.3-6-1-1-4
This is the signal PLC gives to machine tool. For the meaning and setting method of each diagnosis
number, please refer to GSK 980TDHi CNC System and PLC Installation & Connection Manual.
205
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig.3-6-1-3-1
3.6.1.4 Display of DSP parameters
Press [DSP] to enter the system signal diagnosis interface, which is shown below (See
Fig.3-6-1-4-1).
Part Two Operations
Fig.3-6-1-4-1
3.6.1.5 Display of waveform parameters
Press [Waveform] to enter the waveform interface, as shown in Fig.3-6-1-5-1:
Fig.3-6-1-5-1
206
Chapter 3 Modification & Setting of Interface Display and Data
Data: In any mode, input corresponding data and press for confirmation.
Press <start> to start signal monitoring, and <stop> to stop it.
3) Move cursor or input the parameter address to be searched, and then press . You can
find the target address.
4) [Waveform] interface can display the speed, acceleration, and jerk of each feed axis, in order for
debugging and to obtain the best fitting parameters for drive and motor.
case, press to display alarm page. It contains 4 display interfaces: [alarm], [user], [history],
[resume], which are switched through corresponding softkeys (See Fig.3-7-1 ~ Fig.3-7-4). It is
allowed to set whether to switch to alarm interface or not in the case of an alarm, through Bit Para N0:
24#6.
1. Alarm interface: On <alarm> interface, press [alarm] to enter the alarm interface, as shown in
Fig.3-7-1:
Fig.3-7-1
Alarm display page displays the details of current P/S alarm number. See Appendix II.
2. User interface: On <alarm> interface, press [user] to enter the external alarm interface, as shown
207
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
in Fig.3-7-2:
Fig.3-7-2
For details of each user alarm message, please refer to GSK 980TDHi CNC System and PLC
Installation & Connection Manual.
Note: For external alarms, the user can set and edit the alarm number independently according to actual conditions.
The alarm content after editing is inputted by system transmission software to system. External alarms are to edit A of
file LadChi**.txt, and the latter two digits are set according to the bit parameters 53.0 ~ 53.3. (default is 01, i.e.,
Part Two Operations
filename is LadChi01.txt)
3. History interface: On <alarm> interface, press [history] to enter the historical alarm message
interface, as shown in Fig.3-7-3:
Fig.3-7-3
On this interface, messages are arranged from latest to earliest, for the convenience of user viewing.
4. Resume interface: On <alarm> interface, press [resume] to enter the resume interface, as shown
in Fig.3-7-4:
operation resume interfaces display the information on modification of system parameters and ladder
graph, including modification content and modification time.
208
Chapter 3 Modification & Setting of Interface Display and Data
Fig.3-7-4
An operation resume has 34 pages, including 9 pages of historical alarm messages such as alarm
time, alarm number, alarm message, and page number, which are viewed through PgUp PgDn.
The history and resume records can be deleted through (if the password level is
debugging or higher).
Press to enter the following ladder graph display page, containing 5 display interfaces:
[ladder graph information], [ladder Graph], [ ladder graph parameter], [signal diagnosis ], [ signal
tracking], which can be switched through corresponding softkeys (See Fig.3-8-1 ~ 3-8-5).
Fig.3-8-1
209
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig.3-8-2
Part Two Operations
Fig.3-8-3
Fig.3-8-4
210
Chapter 3 Modification & Setting of Interface Display and Data
Fig.3-8-5
Note: For modification method and information related to PLC ladder graph, please refer to GSK 980TDHi CNC
System and PLC Installation & Connection Manual .
Fig.3-9-1
2. Operation table interface: On <Help> interface, press [Operations] to enter the help information
(operation table) interface, as shown in Fig.3-9-2:
211
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig.3-9-2
Help information (operation table) interface introduces various operation procedures and methods on
different interfaces in detail. One that is unfamiliar with or unclear about operations can search and
check corresponding procedures and methods on help interface.
3. Alarm table interface: On <Help> interface, press [Alarms] to enter the help information (alarm
table) interface, as shown in Fig.3-9-3:
Part Two Operations
Fig.3-9-3
This interface introduces the meaning and treatment method of each alarm number in detail.
4. G code table interface: On <Help> interface, press [G Codes] to enter the help information (G code
table) interface, as shown in Fig.3-9-4:
212
Chapter 3 Modification & Setting of Interface Display and Data
Fig.3-9-4
G code interface introduces the definition of each G code used by system. Select a G code to be
viewed with cursor, and you will see its definition at lower left of interface, as shown in Fig.3-9-4. For
concrete format and usage about G code, select a G code and press on panel. Then,
Fig.3-9-5
This interface introduces the format, function, description, and restriction of code in detail. On this
interface, one that is unfamiliar with or unclear about codes can searched and search and check
them.
5. Parameter list interface: On <Help> interface, press [Parameter List] to enter the help information
(parameter/diagnosis table) interface, as shown in Fig.3-9-6:
213
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig.3-9-6
This interface introduces the parameter setting pf each function in detail. One that unfamiliar with or
unclear about parameter setting can search and check settings on this interface.
6. Macro command interface: Press to enter the [Macro Command] help information
(macro command table) interface, as shown in Fig.3-9-7:
Part Two Operations
Fig.3-9-7
This interface introduces the format and operation codes of macro commands and provides the
setting range of local variable, general variable, and system variable. One that is unfamiliar with or
unclear about macro command mathematical operations can search and check related information
on this interface.
7. PLC.AD interface: On <Help> interface, press [PLC.AD] to enter the help information (PLC
address table) interface. PLC address interface contains 4 sub- interface: [F Signal], [G Signal], [X
Signal], [Y signal], as follows (See Fig.3-9-8 ~ 3-9-11).
214
Chapter 3 Modification & Setting of Interface Display and Data
Fig.3-9-8
Fig.3-9-10
215
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig.3-9-11
PLC address interface introduces PLC address, symbol, significance in detail. One that is unfamiliar
with or unclear about PLC address can search and check related information on this interface.
8. Motor table interface: On <Help> interface, press [Motor Table] to enter the motor table interface,
as shown in Fig.3-9-12:
Part Two Operations
Fig.3-9-12
9. Calculator interface: On <Help> interface, press [Calculator] to enter the calculator interface, as
shown in Fig.3-9-13
216
Chapter 3 Modification & Setting of Interface Display and Data
Fig.3-9-13
On this interface, system gives the operation formats of addition, subtraction, multiplication, division,
sine, cosine, and radication. Input the required value through number keys and press <MDI>. System
will compute the result automatically. If it is required to input data again for computation, press
217
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Press to enter the manual operation mode, including manual feed, spindle control, and
machine tool panel control.
In <manual mode>, hold the feed axis or and corresponding axis starts moving. Its
movement speed may vary with the adjustment of feed magnification. Once the key is released, axis
movement stops. The same goes for Z-axis. This system supports the simultaneous movement of
two axes or the simultaneous zero returning of all axes.
Part Two Operations
Note: The manual feed speed of each axis is set through P98.
Turn on the indicator light by pressing , and system enters manual fast motion state. Then,
press the axis key in feed direction and each axis moves at the speed of fast motion.
Note 1: The speed of manual fast motion is set through P170~ P173.
Note 2: Whether manual fast motion is effective or not before an axis returns to the reference point through Bit Para
N0:12#0.
4.1.3 Speed selection for manual feed and manual fast motion
In the case of manual feed, it is allowed to select the manual feed magnification from 21 levels
(0%--200%), through keys on operation panel.
In the case of manual fast motion, it is allowed to select the magnification of manual fast motion
speed from 4 levels (F0, 25%, 50%, 100%) through . (F0 speed is
set through Num Para P93).
Note: The selection of rapid magnification is valid for the following movement speeds.
(1) G00 rapid feed (2) rapid feed in fixed cycle
(3) G28 rapid feed (4) rapid feed in manual mode
For example, given that the rapid feed speed is 6 m/min, the speed is 3 m/min if magnification is 50%.
If a program operating in automatic mode or in MDI mode is switched to manual mode after feed hold,
manual intervention is allowed. Move all axes, and switch the operation mode to original one. It the
218
Chapter 4 Manual Operation
program movement starts through , each axis returns to original manual intervention
point rapidly in G00 mode before continuous movement.
Detailed explanation:
1. If a single block is connected during returning, the tool will perform single-block pause at manual
intervention point.
2. In the case of an alarm or resetting during manual intervention or returning, this function will be
canceled.
3. In the case of manual intervention, be careful with the functions of machine tool such as lock,
mirror, and scaling.
4. During manual intervention, pay attention to the machining process and workpiece shape, so as to
protect tool or machine tool from being damaged.
1.1、N1程序段切削工件。
Cut the workpiece in N1 program segment.
刀具
Cutter
N2
刀具
Cutter
N2
Workpiece
工件
N1 A
3.3、手动将刀具移动到点B,然后使机床运动重新开始。
Move cutter to B manually, and then restart machine motion.
刀具
Cutter
B
Manual
手动干预
intervention N2
Workpiece
工件
N1 A
4.4、刀具以G00的速度自动返回A点后,执行N1段程序的剩余部分。
After cutter gets back t o A point automatically at G00 speed,
execute the rest part of N1 program segment.
B
刀具
Cutter
N2
Workpiece
工件
N1 A
Fig.4-1-4-1
219
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
: If S speed is given in MDI mode, spindle rotates counterclockwise after this key is
pressed in manual/manual pulse/single-step mode.
: If S speed is given in MDI mode, spindle rotates clockwise after this key is pressed in
manual/manual pulse/single-step mode.
Select variable-frequency control or I/O point control of spindle through Bit Para NO:1#2. When
NO:1#2=0, spindle realizes automatic gear shifting with its speed controlled by S speed command. At
present, system has three gears and corresponding maximum speeds are set through different
parameters (P246, P247, P248) respectively. When NO:1#2=1, the gear of spindle speed is shifted
automatically under I/O point control. At present, system has three gears (S1, S2, S3), and it is
allowed to modify the ladder graph to increase the gear output. After executing S speed according to
the command, system will select corresponding gear automatically.
Spindle
主轴电机速度motor speed
Minimum
主轴电机最
clamping speed
低箝位速度 Spindle revolution
of spindle motor 主轴回转指令
command
(S指令)
(S command)
Gear 1齿轮1 齿轮2
Gear
Gear12 齿轮3Gear 3
最大转速Maximum
Maximum speed 最大转速
Maximum speed 最大转速
speed Maximum speed
Fig.4-2-4-1
Note: If automatic gear shifting control is effective, system detects the spindle gear and executes S code via gear
shifting in-place signal.
220
Chapter 4 Manual Operation
: Coolant switches on and off. It switches on when its indicator light is on; it switches off
when its indicator light is off.
: Lubrication is on when this lubrication key is held or when corresponding indicator light
is on; it is off when this key is released or when corresponding indicator light is off.
: In manual mode, push foot switch to release the chuck. It is displayed on [position]
interface that chuck is released. Push foot switch again to lock chuck. It is displayed on [position]
interface that chuck is locked.
: The machine tool tailstock switches between forward / backward. It goes forward when
corresponding indicator light is on; it goes backward when corresponding indicator light is off.
: In manual/manual pulse/single-step mode, press this key and the tool rest will rotate to
next tool. The total number of tool places can be viewed on [DATA] interface, which is entered
through [+ladder graph parameter] under <ladder graph >. (Refer to the machine manufacturer‘s
specification)
221
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
During bias setting on interface, if only the address key U(or W) is typed before the pressing
of , then current relative coordinate is set as the bias corresponding to that address.
X
X
F 135
F 135
Z Z
178 178
Fig.A Fig.B
Fig.4-4-1-1
Before fixed-point tool setting, it is required to establish a workpiece coordinate system.
1) Select any tool, without an offset (generally the first tool in machining) as the benchmark tool;
2) Locate the nose of benchmark tool at some point on workpiece (tool setting point), as shown in
Fig.A;
3) Clear relative coordinate (U, W) so that its value is zero (See 3.1.1 for details);
4) Press followed by and/or to move cursor. Select a bias number as the bias
number of benchmark tool. First, verify whether the offsets in X and Z directions are zero. If not, clear
them as stated below:
Move cursor to select No.001 ~ 099 tool biases. Input X0 and Z0 to clear the offsets separately.
5) After the tool is moved to a safe position, select another tool and move it to the tool setting point, as
shown in Fig.B;
6) Press and move cursor to select a bias number from 001 ~ 099 as the bias number of that
tool. Verify whether the offsets in X and Z directions are zero. If not, clear them as stated in 4) above;
7) Press the address key followed by , and the offset in X direction will be placed
behind corresponding bias number;
8) Press the address key followed by , and the offset in Z direction will be placed
behind corresponding bias number;
Where the workpiece coordinate system does not change, tool setting can be conducted through trial
222
Chapter 4 Manual Operation
cutting. The operation procedure is given below (workpiece end face taken as coordinate system).
表面 B B
Surface
表面 AA
Surface
α Z
‘;
‘7
77
‘
‘
X
Fig.4-4-2-1
4、 Press to enter the bias display interface. Move cursor through and/or
to select No.1 bias number as the bias number of that tool;
9、 Press to enter the bias display interface. Move cursor through and/or
to select No.1 bias number;
10、 Type address key ―X‖, number keys ―3‖ and ―0‖, and successively;
11、 Move tool to the safe tool changing position;
12、 Replace the tool by another tool (supposing it is No.2 tool), without an offset;
Surface
表面 B1 B1
表面 A1A1
Surface
α ’ Z
‘;
‘7 β ’
77
‘
‘ X
Fig.4-4-2-2
13、 In manual mode, press ―negative X-axis‖ to cut the workpiece along A1 surface.
14、 When Z-axis does not move, press ―positive X-axis‖ to release tool and stop spindle rotation
and stop spindle rotation.
223
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
15、 Measure the distance ―β‖ between A1 surface and workpiece coordinate system ―β‖
supposing β=1).
16、 Press to enter the bias page. Move cursor through and/or to select
No.2 bias number.
17、 Type address key ―Z‖, symbolic key ―-‖, number key ―1‖, and successively.
18、 In manual mode, press ―negative Z-axis‖ to cut the workpiece along B1 surface.
19、 When X-axis does not move, press ―positive Z-axis‖ to take out tool and stop spindle rotation.
20、 The measured diameter "α" is supposed to be α‘=28).
21、 Press to enter the bias page. Move cursor through and/or to select
No.2 bias number.
22、 Type address key ―X‖, number keys ―2‖ and ―8‖, and successively.
23、 For the tool setting of other cutters, repeat 11 ~ 22.
Part Two Operations
With this tool setting method, tools are not all the same, not containing benchmark tool. In the case of
tool abrasion or adjustment of any tool, what the user need is to conduct tool setting again. Tool
setting follows machine tool zeroing (For machine zero point, please see 9.1 of this manual). Once
energized after power-off, the machine is required to return to its zero point before continuous
machining, which is simple and convenient.
X
表面 B B
Surface
表面 A A
Surface
α Z
X0
α
Z0 。机床零点
Machine zero
α
Fig.4-4-3-1
224
Chapter 4 Manual Operation
1) Press to enter the operation mode of machine tool zeroing. Then, press ―positive
X-axis‖ followed by ―positive Z-axis‖ to get these two axes to the machine zero point once;
表面 B B
Surface
表面 AA
Surface
α Z
Fig.4-4-2-2
2) Select any tool (supposing it is No.1 tool), without an offset;
3) In manual mode, press ―negative X-axis‖ to cut the workpiece along A surface;
4) In the situation where Z-axis does not move, release tool along the positive X-axis and stop
5) Press to enter the bias page. Move cursor through and/or to select No.1
bias number as the bias number of that tool;
6) Type the address key ―Z‖, number key ―0‖, and successively;
7) In manual mode, press ―negative Z-axis‖ to cut the workpiece along B surface;
8) In the situation where X-axis does not move, release tool along the positive Z-axis and stop
spindle rotation;
9) The measured diameter "α" is supposed to be α‘=30);
10) Press to enter the bias page. Move cursor through and/or to select No.1
bias number to enter the bias page. Move cursor through and/or to select No.1 bias
number;
11) Type the address key ―X‖, number keys ―3‖ and ―0‖, and successively;
12) Move tool to the safe tool changing position;
13) Replace the tool by another tool (supposing it is No.2 tool), without an offset;
225
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Surface
表面 B1 B1
Surface
表面 A1A1
α ’ Z
‘;
‘7 β ’
77
‘
‘
X
Fig.4-4-3-3
14) In manual mode, press negative X-axis to cut the workpiece along A1 surface;
15) In the situation where Z-axis does not move, release tool along positive X-axis and stop spindle
rotation;
16) Measure the distance between A1 surface and workpiece coordinate system (supposing β‘=1);
17) Press to enter the bias page. Move cursor through and/or to select No.2 bias
number;
Part Two Operations
18) Type the address key ―Z‖, symbolic key ―-‖, number key ―1‖, and successively.
19) In manual mode, press ―negative Z-axis‖ to cut the workpiece along B1 surface;
20) In the situation where X-axis does not move, withdraw tool along positive Z-axis and stop spindle
rotation;
21) Measure the diameter "α‘" (supposing α‘=28);
22) Press to enter the bias page. Move cursor through and/or to select No.2
bias number;
23) Type the address key ―X‖, number keys ―2‖ and ―8‖, and successively.
24) For the tool setting method of other cutters, repeat 12~23.
offset on X-axis need be increased by 0.010mm. Press to enter the bias page. Move cursor
through and/or to select some bias number behind 001. Input U0.010 and then press
226
Chapter 5 Single-Step Operations
When PLC K parameter K017#1 is set to 1(1: single-step mode), press to enter the
single-step mode. In this mode, machine moves a distance equal to the selected step length at a
time.
Press the direction key or of feed axis. Arrow keys of X-axis can make X-axis move
in the positive or negative direction. Every time a key is pressed, corresponding axis moves a
distance that the system defines for a single step; the same goes for Z-axis. This system supports
both simultaneous movement and simultaneous zeroing of two axes.
The maximum clamping speed of single-step feed is set through Num Para P155.
The single-step feed speed is not controlled by feed magnification or rapid magnification.
227
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Part Two Operations
228
Chapter 6 Manual Pulse Operations
When PLC K parameter K017#1 is set to 0 (0: manual pulse mode), press to enter the
manual pulse mode. In this mode, machine tool moves a distance equal to selected step length at a
time.
In manual pulse mode, select the shifting axis to be controlled by manual pulse and press
corresponding key ( , , ,, ). Then, the selected axis will move under manual
pulse control. Taking X-axis under manual pulse control for example, after is pressed, its light
flickers. At this time, the user can move X-axis through manual pulse. Generally speaking, the
clockwise rotation of manual pulse is in the positive direction of feed axis, and counter-clockwise
rotation of manual pulse is in the negative direction.
The feed direction under control of manual pulse (manual pulse generator) is determined by the
manual pulse rotation direction. See the machine manufacturer‘s specification for details. Generally
speaking, clockwise rotation under manual pulse control is the positive feed direction;
counter-clockwise rotation is the negative feed direction.
229
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
1. The relationship of manual pulse scales with machine tool shift is given below:
Table 6-1-2-1
Shift at each scale in manual pulse mode
Manual pulse
0.001 0.01 0.1
increment (mm)
Machine shift
0.001 0.01 0.1
(mm)
Manual pulse
0.001 0.01 0.1
increment (inch)
Machine shift
0.0001 0.001 0.01
(inch)
2. Data listed above vary with different mechanical transmission. See the machine manufacturer‘s
specification for details;
3. When Bit Para No.17#5 is set to 1, the selection of handing-pulse shift starts. The manual pulse
rotating speed cannot exceed 5 r/s. If it exceeds, there might be a phenomenon a scale does not
match the shift.
Part Two Operations
In automatic mode and MDI mode, press [comprehensive] on [position] interface to enter the
comprehensive interface. Press [operation] followed by [interruption switch]. Select the manual pulse
axis number on panel to enter the state of manual pulse interruption for interruption operations. Press
[interruption switch] again to exit manual pulse.
230
Chapter 6 Manual Pulse Operations
Fig.6-2-1-2
Operation procedures for manual pulse interruption and coordinate system zeroing: Press .
Move cursor downwards until the X-axis of coordinate system of manual pulse interruption flickers.
Press to clear the coordinate system. The same goes for Z-axis. While executing zeroing,
When manual pulse interruption makes an axis move, the actual position of shifting axis changes and
the coordinate of machine tool is updated, but its absolute coordinate is not updated. Therefore, after
manual pulse interruption, the trailer moves. Then, the machine coordinate system will keep still,
while the workpiece coordinate system will shift.
Table 6-2-2-1
Display Relationship
Once machine tool latching is
machine tool latching enabled, the moving trailer in manual
pulse interruption is invalid.
The change in absolute coordinate
absolute coordinate value value is the displacement resulting
from manual pulse interruption.
The change in relative coordinate
relative coordinate value value is the displacement resulting
from manual pulse interruption.
The change in machine coordinate
Machine coordinate value value is the displacement resulting
from manual pulse rotation.
Note: When axes return to reference points manually, the shift in manual pulse interruption is cleared.
231
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Cancellation of interruption means that through manual pulse interruption the workpiece coordinate
system shifting from machine coordinate system returns to the position before shifting.
When interruption is canceled, the workpiece coordinate system shifts a distance equal to manual
pulse interruption and reflects manual pulse interruption in absolute coordinate.
The shift of workpiece coordinate system resulting from manual pulse interruption is shown below:
Position before handwheel interruption
手轮中断前的位置
手轮中断量
Handwhe
el
interruptio
n volume
手轮中断后的位置
Position after handhwheel interruption
机床坐标系
Machine tool coordinate system
When manual pulse interruption is canceled, the workpiece coordinate system restores to the state
before interruption, without any change in actual position, which are shown below:
Part Two Operations
Interruption
中断量取消 volume cancelled
手轮中断取消后的 件坐标系
Workpiece coordination system after cancelling handwheel interruption
手轮中断取消前的工件坐标系
Workpiece coordination system before cancelling handwheel interruption
Machine
机床坐标系tool coordinate system
The same as manual operation mode, see 4.2 and 4.3 of operating instructions.
Part programs are controlled through manual turning of manual pulse, and the machine is operated
along the tool path instructed by machine program. Mostly, this function is used for trial cutting of
workpiece and detection of machine program.
232
Chapter 6 Manual Pulse Operations
Operation method:
In automatic mode, open manual pulse trial cutting. After is pressed, any axis of system
stops moving. In this case, turn manual pulses to control the operation of part program. The faster
manual pulses turn, the faster the program executes an command. The slower manual pulses turn,
the slower the program executes an command. The shift of each manual pulse can be adjusted
through rapid magnification.
In manual pulse trial cutting mode, if is pressed again, the operation mode returns to
automatic mode. All operations in manual pulse test cutting mode are the same as in automatic
mode.
Speeds at which the interpolation command is executed in the state of manual pulse trial cutting.
G0: current rapid magnification × manual pulse magnification × manual pulse speed
G1: cutting magnification × manual pulse magnification × manual pulse speed
Note 1: Effective after manual pulse trial cutting is enabled.
Note 2: Effective for single-block pause in single-block mode.
233
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
(b) Press to enter the [catalog] page. Move cursor to find the target program;
(b) Press to enter the [catalog] page. Move cursor to find the target program;
After selection of the program to be initiated with two methods stated in 7.1, press
(circulation start-up) to start automatic running. It is allowed to switch to <position>, <program
monitoring>, or <graph> interface to observe program running.
Since program running starts from the line of cursor, it is better to check whether cursor is located on
the program line or not and whether modal values are correct or not before pressing
(circulation start-up). If automatic running need start from the start line, where cursor is not located, it
234
Chapter 7 Automatic Operations
If is pressed before program running, the program pauses when executing the block
containing M01, with modal information stored. After (circulation start-up) is pressed, the
program continues execution.
During automatic running, after (feed hold) is pressed the machine tool presents the
following states:
1) Machine tool feeding slows down to stop;
2) When execution pauses (G04 code), timing stops and the machine goes into the state of feed
hold;
3) Other modal information is stored;
4. Press .
See 2.3.1 of Operating Instructions.
5. Press EMERGENCY STOP.
See 2.3.2 of Operating Instructions.
In addition, a program running on MDI interface in automatic mode or in MDI mode can also stop if it
is switched to another mode. Particular cases are given below:
1) The machine stops after running current block, if switched to editing or input interface.
2) The machine stops immediately, interrupting current operation, if switched to an interface in
manual, manual pulse, or single-step mode.
3) The machine slows down to stop if switched to the mechanical zero return interfaces.
1、 Press to enter the manual mode. Initiate the spindle and other miscellaneous functions;
2、 Run modal values of the program in MDI mode. It is required to ensure all modal values are
correct;
3、 Press to enter the editing operation mode. Press to enter the program
page. Find the program to be machined in [catalog];
4、 Open the program. Move cursor to the block to be run;
235
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Press to enter the automatic operation mode. Press (That the indicator light is on
this key means the state of dry running).).
: program speed in rapid feed = dry running speed × rapid feed magnification.
: actual cutting speed of program screw thread in cutting feed = F*S (S is a programming value) F/S
is the current mode.
Note 1: The dry running speed is set through Num Para P86;
Part Two Operations
Note 2: Whether dry running is valid or not during cutting feed is set through Bit Para NO:12#6;
Note 3: Whether dry running is valid or not in rapid positioning is set through Bit Para NO:12#7.
In automatic and MDI mode, press (That the indicator light is on this key means the state of
dry running). During single-block running, the system stops running every time it finishes the
execution of one block. Press (circulation start-up) to continue executing next block. Repeat
this process until the program finishes running.
Note 1: In G28, single block stop is all the same at the midpoint.
Note 2: When the single-block program is ON, execute fixed cycles G90, G92, G70—G75 as follows:
236
Chapter 7 Automatic Operations
Table 7-6-1
G
Tool Path Explanation
Code
Actions 1 ~ 4
4 4
form a cycle.
1 1 The program
G90 3 3 stops running at
2 the end of Action
2 4.
4 Actions 1 ~ 4
4
form a cycle.
1 1
3 3 The program
G92
2 stops running at
2
the end of Action
4.
Actions 1 ~ 4
1 1 form a cycle.
2 2 The program
4
1 ~ 4, 5 ~ 8, 9 ~
3
2 1 12, 13 ~ 16, and
8 17 ~ 20 form a
21 7
5
6 cycle. The
11
12 program stops
G71, 21
10
9
running at the
G72 21 16
15
13
end of cycle.
14
21 20
19
17
18
21
Note: This figure shows the case of G71, the same as G72.
6 Actions 1 ~ 6
5
form a cycle.
4
G73 3 2 1 The program
stops runnig at
the end of cycle.
237
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
G
Tool Path Explanation
Code
9 1 Actions 1 ~ 10
form a cycle.
2 The program
G74, 10 stops runnig at
G75 the end of cycle.
Actions 1 ~ 4, 5
11 9 ~ 8, and 9 ~ 12
10 form a cycle.
7 5 The program
6 stops runnig at
G76 3 1 the end of cycle.
2
4(8/12)
In <automatic> mode, press (The indicator lighting up means the machine is locked). Now,
any axis of machine does not move but its position coordinate displayed as if the machine were
moving. Besides, M, S, and T can be executed. This function is used for program checking.
In <automatic> mode, press (The indicator lighting up means the miscellaneous function is
locked). In this case, M, S, or T code is not executed. This function is used for program checking
together with locked running of machine.
Note: M00, M01, M02, M30, M98, and M99 are executed as usual.
In automatic running, the user can also select the feed speed and feed magnification through
to realize the real-time adjustment of 21 levels.
Note 1: F setting in feed magnification adjustment program
238
Chapter 7 Automatic Operations
In automatic running, the user can adjust the spindle magnification, through or , to
change the spindle speed and spindle magnification, so as to realize the real-time adjustment of 8
levels within 50% ~ 120%.
The speed magnification increases by one level every time is pressed, and each level is 10%.
The magnification will not increase any more if it reaches 120%;
The speed magnification decreases by one level every time is pressed, and each level is 10%.
The magnification will not increase any more if it reaches 50%.
Fig.7-11-1
Press [B. Edit] to enter the program back-end editing interface. The program is edited as same as in
editing mode. See Chapter 10 Program Editing Operations for details. Press [B. End] to save the
edited program before exiting.
In automatic mode, press [debugging] to check the program.
Note 1: The file to be edited at back end should have maximum 3,000 lines, or it will influence the processing effect.
Note 2: For back-end editing, a front-end program can be opened but cannot be edited or deleted.
Note 3: For back-end editing, a running front-end program cannot be edited.
239
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
In MDI mode, the system supports input and modification of parameters and biases, and also
provides MDI running function, through which it is allowed to input codes directly. Data input and
modification of parameters and biases are detailed in Chapter 3 Interface Display and Data
Modification & Setting. This chapter introduces the MDI running function among input operations.
Fig.8-1-1
After inputting code segments as stated in 8.1, press (circulation start-up) to start MDI
running. During running, it is allowed to press (feed hold) to stop code segment running.
Note 1: MDI running can only be conducted in MDI mode!
Note 2: It is allowed to input maximum 65 characters once.
Note 3: The maximum block that MDI program can edit is 1W.
If there is a mistake in field input, the user can press to cancel input; if a mistake is found after
input, the user can either replace the wrong character by correct one or delete all characters by
240
Chapter 8 MDI Operations
241
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
1. Press to enter the program zero return mode. At this point, the lower right corner of LCD
screen displays ―program zero return‖.
2. Select X-axis or Z-axis that need return to program zero.
3. The workbench moves towards program zero. When it returns to program zero, the coordinate axis
Set Bit Para No: 0#0=1. The system can return to zero in common mode, with or without one
revolution of signals. This zero return mode can be used for system configuration of GE2000 series
increment mode version. In zero return mode, each axis is valid.
Procedure for mechanical zero return of bus servo:
(1) Press to enter the mechanical zero return mode. At this point, the lower right corner of
LCD screen displays ―mechanical zero return‖.
242
Chapter 9 Zero Return
(2) Select X-axis or Z-axis that need return to program zero. The zero return direction is set through
Bit Para N0:7#0 ~ N0:7#4。
(3) The machine moves towards mechanical zero fast (The movement speed is set through Num
Para P100 ~ P104) before the slowdown point. After it touches the slow-down switch, the movement
speed of each axis is set through Num Para P342~P346. After it gets rid of baffle block, the machine
moves to mechanical zero (namely reference point) at FL (set through Num Para P099) speed. When
the machine returns to mechanical zero, coordinate axes stop moving and the zero return indicator
lights up.
Note: Bit para P6.0 is only valid for incremental zero return.
Absolute zero setting can be conducted on [ Bus Configuration] interface. See 3.3.5 Display,
Modification, and Setting of Bus Servo Parameters for details.
For absolute zero return, select the machine zero return mode and press X-axis and Z-axis. At
machine zero, the indicator lights up.
Examples:
For absolute encoder zero setting, it is allowed to set the zero according to the absolute position
motor feeds back, as shown in Fig.9-3-2-1.
243
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
A part program should be edited in editing mode. Press to enter the editing mode; press
on panel to enter the program interface.Press [ program] softkey to enter the program
editing & modifying interface. (See Fig.10-1-1):
Part Two Operations
Fig.10-1-1
The program can be replaced, cut, copied, pasted, re-started through corresponding softkeys.
Before program editing, it is required to turn on program switch. For operation details, see 3.3.1 in this
part.
Note 1: A program file has maximum 10,000 lines.
Note 2: As shown in Fig.10-1-1, when there are more than one ―/‖ at the beginning of a block, the system can skip this
block even if the skip function is not opened.
Note 3: During debugging, the system cannot switch from automatic mode to another mode. Otherwise, the
consequence will be unexpected.
: Execute debugging in automatic mode. When there is a ―/‖ at the beginning of a block, the program line behind this
character will execute debugging even if the skip function is not opened.
Set ―automatic sequence number‖ to 1 as stated in 3.3.1 of this part (See Fig.10-1-1-1-1).
244
Chapter 10 Editing Operations
Fig.10-1-1-1-1
Then, the system will insert sequence numbers automatically between blocks during program editing.
The increment in sequence number can be set in sequence number increment.
Note: After insertion of a new block, new S/N= current sequence number increment × (line where this block is -1).
Fig.10-1-1-2-1
245
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig.10-1-1-2-2
Fig.10-1-1-2-3
5. After a program is edited and inputted, the program is stored automatically when the system
switches to another mode. Before switching to another interface (for example, interface), it is
Note 2: If a code inputted is wrong during program input, it is allowed to press to cancel the inputting of
wrong code.
Note 3: At a time, the inputted block has maximum 65 characters.
Sequence number retrieving is to retrieve some sequence number in the program, generally used for
executing or editing the program from this number. Blocks that are skipped during retrieval do not
influence CNC state. (The coordinate, M, S, T code, G code, etc. in a block skipped do not influence
the coordinate or mode of CNC.)
If execution starts from some block in retrieved program, it is required to figure out the current
machine state and CNC state. The program cannot run unless it agrees with the setting of M, S, T
246
Chapter 10 Editing Operations
4. Input the word or sequence number for retrieval. Press arrow key or to search
it.
5. For line number searching, input the required line number, and press for
confirmation.
Note 1: Sequence number or word retrieving is canceled automatically when it comes to the end of program.
Note 2: In [automatic] and [edit] modes, it is allowed to conduct retrieval of sequence number, word, and line number.
In [automatic] mode, however, retrieval can only be conducted on back-end editing interface.
a) Press to move cursor upward one line. If the current column is greater than the ending
column of last line, cursor moves to the tail of last line.
b) Press to move cursor downward one line. If the current column is greater than the
ending column of next line, cursor moves to the tail of next line.
c) Press to move cursor right one column. Cursor can move to the head of next line if it
is now at the tail of line.
d) Press to move cursor left one column. Cursor can move to the tail of last line if it is
now at the head of line.
247
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Select <edit> mode and press to display the program page. Locate cursor at the position for
editing;
1. Insertion of words
Input a datum and press . Then, the system will insert this datum to the left side of cursor;
2. Deletion of words
Locate cursor at the position for deletion and press . The system will delete the content where
cursor is.
3. Modification of words
Part Two Operations
Move cursor to the position to be modified. Input new content and press . The system will
replace the content selected by cursor by new input.
Select <edit> mode and press to enter the program page. Move cursor to the line head of
block to be deleted. Press + , and the system will prompt ―Please press <delete> again‖.
The user can delete the block where cursor is by pressing on panel.
Note: A block, whether with a sequence number or not, can be deleted after the inputting of (cursor should be
at the head of line).
Fig.10-1-1-7-1
Select <edit> mode and press to enter the program page. Locate cursor at the home position
of target to be deleted (for example, character N100 above). Then, input the last complete character
in multiple blocks to be deleted, S02 for example (See Fig.10-1-1-7-1). Press and the system
248
Chapter 10 Editing Operations
will prompt ―Please press <delete> again‖. Press on panel to delete the program from cursor
to marked address.
Note 1: The block deleted has maximum 10,000 lines.
Note 2: If many complete characters to be deleted are the same in the program, it is required to delete the program
from first complete character to cursor character in the order of downward searching.
Note 3: When many blocks are deleted using N+ sequence number, the home position of N+ sequence number must
be located at the head of that block.
Delete the program from current code word to specified code word.
Fig.10-1-1-8-1
Select <edit> mode and press to enter the program page. Locate cursor at the home position
of target to be deleted (for example, character N100 above). Then, input the last complete characters
system will prompt ―Please press <delete> again‖. Press on panel to delete the program from
cursor to marked address.
Note: If N+ sequence number is located at the middle of block, the system will process it as a code word.
1. Type the address ; input the program name (Type number keys , , ,
. Taking O0002 program for example). Press to delete the corresponding program in
memory.
2. Select [catalog] interface on program interface. Select the program name to be deleted and press
. The system presents: ―Confirm deletion?‖ Then, press and the state column presents
―deletion success‖. It means the program selected is deleted.
Note: If only one program file exists, after the deletion key is pressed on program (catalog) interface in editing mode,
the program name will become O00001 and the program will be deleted no matter what it is. If many program files
exist, the name and content of No.O00001 program are deleted together.
249
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
c) Press followed by or press [copy] directly, to finish copying the program from cursor
to input character.
d) Move cursor to the position of pasting. Press followed by or press [Paste] directly,
to finish pasting.
Note 1: If many complete characters to be copied are the same in the program, copy the program from the first
complete character to cursor character in downward searching order.
Note 2: If program copying uses N+ sequence number mode, copy the program from cursor beginning to N+sequence
number. The N+sequence number must be located at the head of block, or copying fails.
Note 3: The copied block can have maximum 10,000 lines.
250
Chapter 10 Editing Operations
Press and then press [catalog] on program interface to enter the program catalog page (See
Fig.10-2-1-1):
251
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Program preview
Fig.10-2-1-1
1) Program opening
Open a specified program: O+S/N+input (or EOB) or S/N+input (or EOB).
In editing mode, create a program if the sequence number inputted does not exist.
2) Program deletion: 1. In editing mode: Press DEL to delete the cursor specified program.
2. In editing mode: O+S/N+ DEL or S/N+ DEL.
Part Two Operations
This system can store maximum 400 programs. The current quantity stored is given in the program
number information on program catalog page in 10.2.1.
For details fo storage capacity, please refer to the program catalog page in 10.2.1.
The program catalog page can display maximum 6 CNC program names at a time. If there are more
than 6 CNC program names, they cannot be displayed on one page. In this case, the user can use
PgUp PgDn. LCD will display CNC program names on next page. Repeat pressing PgUp PgDn, and
LCD will display all these names in cycle.
To prevent a user program from being modified or deleted without permission, this system sets a
program switch. After program editing, turn off the program switch to lock the program. Then, the user
cannot edit this locked program. See 3.3.1 for further information.
252
Chapter 11 System Communication
The system supports 2 kinds of communication interfaces, RS232 and USB, communicating with PC
or U disk respectively for data transmission.
1. File menu
This menu includes create, open, save, print, and print setting, list of files opened, etc.
2. Edit menu
This menu includes cancel, cut, copy, paste, select all, search, replace, etc.
3. View menu
This menu includes the display of tool bar and status bar.
4. Connect menu
This menu includes the connection and disconnection of serial port / ethernet port.
5. Main menu
This menu includes file editing, dnc transmission, pc—cnc transmission, cnc—pc
transmission, software and serial port setting, user management, statistics. Press the black
triangle on main menu to view the menu content.
6. Help menu
Version information on this software.
Note: DNC transmission, user management, and statistics are not supported for the time being.
253
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Click the main menu and press to enter the file editing interface. The user can create a new part
program file or open an existing part program file for editing.
Fig.11-1-2-1
Click the main menu and press to enter the file sending interface. Through the shortcut
menu column at the right side of ―send‖ interface, the user can either move cursor to the central file
display bar and right click it before choosing corresponding operation in the popup of environment
menu or select the file directly and press ―send‖.
Through [Add File], the user can add more files. He can choose one or more files to be added at a
time. When the file to be added has an illegal name or when its size exceeds 4 M, that item will
present red and its second column will present ―×‖. If both filename and file size are legal, the second
column of this item will present ―√‖ (as shown in Fig.11-1-3-1).
Fig.11-1-3-1
Press [Load File List] to add a file list saved; press [Save List] to save current file list; press [Delete
from List] to delete one or more files at a time from the PC—CNC file list; press [Clear List] to clear
the whole PC—CNC file list; press [Send] to send a selected file to CNC; press [Stop] to stop
ongoing data transmission. The user can rank the file lists by clicking the head of sending list. After
ranking, a small black triangle symbol will occur at the list head. The upward-pointing triangle
254
Chapter 11 System Communication
represents ascending and the downward-pointing triangle descending (as shown in Fig.11-1-3-2).
Fig.11-1-3-2
To transfer a file to CNC filename or memory area, the user can double click the list item to be
modified and then make modification in the popup of dialog box shown in Fig.11-1-3-3.
Fig.11-1-3-4
255
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Press [get CNC List] to get the file list at CNC system side; press [delete from list only] to delete
the chosen item from the file list; press [delete CNC file] to delete the chosen file from the file list
and from CNC system; press [receive] and the display will pop up a dialog box (as shown in
Fig.11-1-4-1) from which the user can choose where to put the received file; press [Stop] to stop file
tramission.
Fig.11-1-4-1
Part Two Operations
The setting page is shown in Fig.11-1-5-1. Here, the user can set some parameters related to
software and serial port.
Fig.11-1-5-1
For program start setting, the user can set whether to run this software automatically when the
system is powered on and whether to minimize the started software automatically at the lower right
corner of screen; for communication setting, the user can choose a serial port and set its baud rate.
(Press ―apply‖ to implement the setting.)
Note: Automatic start of server during program running is not supported for the time being.
256
Chapter 11 System Communication
1. Connect PC serial port (COM port) to system RS232 interface via serial port line.
2. Open PC-side GSK Comm communication software.
3. Setting of GSK Comm communication software:
(1). Setting of baud rate:
Click ―setting‖ to enter the setting page so as to set the parameters related to serial communication;
Port selection: Choose a port for communication from the ―serial port number‖ pull-down menu
(Available PC ports are automatically recognized by the software);
Setting of baud rate: Make the baud rate of PC agrees with CNC through choices from ―baud rate ‖
pull-down menu. Standard factory setting: The baud rate of data transmission is 115200.
Fig.11-2-1-2
(3). Click ―connect‖ menu, and then choose ―disconnect‖ to disconnect the CNC system.
Note: Communication software can connect to the system via serial port only.
257
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
4) Press [CNC setting] and input corresponding permission password. See 3.3.1.1 Setting and
Modification of Password Permissions for details.
5) Press [data] to enter the setting (data processing) page. Move cursor to <CNC part program>
through or .
1. Press the system softkey [data output] and the system will prompt ―waiting for transmission‖.
Fig.11-2-2-1
Fig.11-2-2-2
4. Select files to be received (Several files can be received simultaneously) and then press
. A dialog box is popped up for the user to choose the place of received files. Then, file
receiving starts, as shown in Fig.11-2-2-3.
Fig.11-2-2-3
258
Chapter 11 System Communication
5. After a file received, its list item status bar presents ―received‖, as shown in Fig.11-2-2-4.
Fig.11-2-2-4
B、 Data input (PC→CNC)
1. Press the system softkey [data input] and the system will prompt ―waiting for transmission‖.
Fig.11-2-2-6
4. Double click the send option to modify the file path, to save the file to CNC filename or memory
area.
When sending CNC part program or user macro-program, the user should choose a user partition;
when sending ladder graph (PLC), parameter (PLC), system parameter, tool compensation, pitch
compensation, system macro-variable, etc., the user should choose a system partition.
5. After the partition is chosen, choose the file to be sent (It is allowed to send many files
259
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Fig.11-2-2-7
7、 After sending, the dialogue status bar shows ―sent‖, as shown in Fig.11-2-2-8
Part Two Operations
Fig.11-2-2-8
Note 1: For descriptions of other function on send page, please refer to 11.1.4 PC—CNC File Sending; for
descriptions of other function on receive page, please refer to 11.1.4 CNC—PC File Receiving.
Note 2: Please ensure that the baud rate is set properly and that the serial port line is connected reliably, before
data transmission.
Note 3: During data transmission, it is forbidden to switch the system operation mode or system page, in order
to avoid data transmission errors.
Note 4: After transmitted to the system, LADCHI**.TXT file is invalid without restart.
Attentions:
1. Set I/O channel to 2 on <CNC setting> interface.
2.A CNC program file must have a suffix .txt, .nc or .CNC, and be saved in the root directory of U disk,
or the system cannot read it.
3. It is forbidden to pull out U disk during USB transmission communication, in order to avoid product
defaults or unexpected consequences.
4. After U disk communication ends, it is required not to pull out U disk before the U disk indicator light
stops flickering (or before a while), in order to ensure data transmission is finished.
In <MDI mode>, enter the system [data] interface, and then move cursor to ―CNC part program ‖
through or . Press [data output] or [data input] to enter the following operation interface
(Fig.11-3-2-1):
260
Chapter 11 System Communication
Fig.11-3-2-1
b. Move cursor through or to select the CNC program file to be copied from
system disk.
c. Press [copy]. The system presents a prompt ―Copy it to U disk? New file name‖, as shown
below (Fig.11-3-2-2).
Fig.11-3-2-2
d. If renaming is not required, press <MDI> to copy the CNC program file directly; if renaming
is necessary, press <cancel> before typing a new program number (such as O10 or O100) and then
press <MDI> to copy the CNC program file. If a file existing in U disk has the same name as this file,
the system will present a prompt ―Copy to U disk? Please rename‖. In this case, type a new program
261
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
number (such as O10 or O100) and press <MDI> again to copy the CNC program file.
2. Copy a CNC program file from U disk to system disk:
a. Press [U disk ] to switch to the file directory table display interface in U disk.
b. Press the arrow key to switch cursor to the file directory table.
c. Move cursor through or to select the CNC program file to be copied from U
disk.
Press [copy]. The system presents a prompt ―Copy it to U disk? New file name‖, as shown below
(Fig.11-3-2-3).
Part Two Operations
Fig.11-3-2-3
d. If renaming is not required, press <MDI> to copy the CNC program file directly; if renaming
is necessary, press <cancel> before typing a new program number (such as O10 or O100) and then
press <MDI> to copy the CNC program file. If a file existing in system disk has the same name as this
file, the system will present a prompt ―Copy to system disk? Please rename‖. In this case, type a new
program number (such as O10 or O100) and press <MDI> again to copy the CNC program file.
Note: After transmitted to the system, LADCHI**.TXT file is invalid without restart.
a. Move cursor through or to select the CNC program file to be deleted from
system disk / U disk.
b. Press [delete] and the interface bottom prompts: ―Confirm deletion?‖ Press <cancel> to
cancel deletion; press <MDI> to delete the file.
262
Appendixes
Appendix
263
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Parameter description
1. For bit parameters, each datum consists of 8 bits. Each bit has its unique meaning.
2. For data types above, their value ranges are generally effective. Specific parameter value ranges
are not the same. Please refer to the specification of parameters.
[Example]
Note 1: The space bits in parameter description and the Parameter No.s displayed but not recorded in parameter list
Appendix
264
Appendix I List of Parameters
1. Position Parameters
Appendix
0 0 1 SPM2 SPPT SPEP SPOM SPT SBUS RASA
265
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
DEC1 =1: When returning to the reference point, the 1st axis slows down if DECX is 1.
=0: When returning to the reference point, the 1st axis slows down if DECX is 0.
=1: When returning to the reference point, the 2 nd axis slows down if DECX is
DEC2
1.
=0: When returning to the reference point, the 2 nd axis slows down if DECX is
0.
DEC3 =1: When returning to the reference point, the 3rd axis slows down if DECX is 1.
=0: When returning to the reference point, the 3rd axis slows down if DECX is 0.
DEC4 =1: When returning to the reference point, the 4th axis slows down if DECX is 1.
=0: When returning to the reference point, the 4th axis slows down if DECX is 0.
DEC5 =1: When returning to the reference point, the 5th axis slows down if DECX is 1.
=0: When returning to the reference point, the 5th axis slows down if DECX is 0.
Standard setting: 0 0 0 0 0 0 0 0
ISC =1: The least command increment is 0.0001 mm° or 0.00001 inch.
=0: The least command increment is 0.001 mm° or 0.0001 inch.
DOUS =1: The double-drive tool uses raster position.
=0: The double-drive tool does not use raster position.
Standard setting: 0 0 0 0 0 0 1 0
266
Appendix I List of Parameters
=1: The reference point has not been established, and the system gives an
ZRN
alarm if a code other than G28 is specified in automatic running.
=0: The reference point has not been established, and the system does not
give an alarm if a code other than G28 is specified in automatic running.
ZMOD =1: Zeroing mode: in front of baffle block.
=0: Zeroing mode: behind baffle block.
JAX =1: Control axis during manual returning to the reference point: single axis.
=0: Control axis during manual returning to the reference point: multi-shaft
AZR =1: G28 command before the reference point is established: alarm
=0: G28 command before the reference point is established: baffle block
SJZ =1: Reference point memorizing
=0: Reference point not memorizing
SIOD =1: Mechanical zeroing DECX: through PLC logical operations.
=0: Mechanical zeroing DECX: read X signal directly.
ZPLS =1: Reset mode: with one turn of signal.
=0: Reset mode: without one turn of signal.
MAOB =1: Reset mode without one turn of signal: B mode.
=0: Reset mode without one turn of signal: A mode.
Standard setting: 1 1 1 0 0 0 0 1
ZMI1 =1: Set the direction from the 1st axis to the reference point: negative.
=0: Set the direction from the 1st axis to the reference point: positive.
Appendix
ZMI2 =1: Set the direction from the 2nd axis to the reference point: negative.
=0: Set the direction from the 2nd axis to the reference point: positive.
ZMI3 =1: Set the direction from the 3rd axis to the reference point: negative.
=0: Set the direction from the 3rd axis to the reference point: positive.
ZMI4 =1: Set the direction from the 4th axis to the reference point: negative.
=0: Set the direction from the 4th axis to the reference point: positive.
ZMI5 =1: Set the direction from the 5th axis to the reference point: negative.
=0: Set the direction from the 5th axis to the reference point: positive.
Standard setting: 0 0 0 0 0 0 0 0
267
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
=1: The rotating axis type of the 1st axis: B type, with a coordinate of linear axis
ROS1
type.
=0: The rotating axis type of the 1st axis: A type, with a coordinate within
3~360.
=1: The rotating axis type of the 2nd axis: B type, with a coordinate of linear axis
ROS2
type.
=0: The rotating axis type of the 2 nd axis: A type, with a coordinate within
3~360.
=1: The rotating axis type of the 3 rd axis: B type, with a coordinate of linear axis
ROS3
type.
Appendix
=0: The rotating axis type of the 3rd axis: A type, with a coordinate within
3~360.
=1: The rotating axis type of the 4th axis: B type, with a coordinate of linear axis
ROS4
type.
=0: The rotating axis type of the 4th axis: A type, with a coordinate within 3~360.
=1: The rotating axis type of the 5th axis: B type, with a coordinate of linear axis
ROS5
type.
=0: The rotating axis type of the 5th axis: A type, with a coordinate within 3~360.
RAB =1: Each axis rotates nearby when acting as the rotating axis.
=0: No one axis rotates nearby when acting as the rotating axis.
=1: Input type of rotating axis in cylindrical interpolation: expand the planar
DTO
distance.
=0: Input type of rotating axis in cylindrical interpolation: angle.
Standard setting: 0 1 0 0 0 0 0 0
268
Appendix I List of Parameters
Appendix
=1: Do stroke testing after power-on before manual returning to the reference
LZR
point.
=0: Do not do stroke testing after power-on before manual returning to the
reference point.
BFA =1: If an over-travel code is sent, the alarm is given after over-travel.
=0: If an over-travel code is sent, the alarm is given before over-travel. (The
scope of system alarm is 5MM in front of each boundary of keepout
areas.)
Standard setting: 0 0 0 0 0 0 0 1
269
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
RPD =1: From power-on to returning to the reference point, manual fast is valid.
=0: From power-on to returning to the reference point, manual fast is invalid.
LRP =1: Determine (G00) interpolation type to be linear.
=0: Determine (G00) interpolation type to be non-linear.
RFO =1: Rapid feed, which stops when feed magnification is Fo.
=0: Rapid feed, which does not stop when feed magnification is Fo.
TDR =1: Dry running is valid during tapping.
=0: Dry running is invalid during tapping.
FDR =1: Dry running is valid during cutting feed.
=0: Dry running is invalid during cutting feed.
RDR =1: Dry running is valid during rapid positioning.
=0: Dry running is invalid during rapid positioning.
Standard setting: 0 0 0 0 0 0 1 0
Sys Para No.
0 1 3 HPC2 HPC NPC
NPC =1: The feed per revolution is valid after the position encoder is installed.
=0: The feed per revolution is invalid before the position encoder is installed.
HPC =1: The system has a position encoder installed.
=0: The system does not have a position encoder installed.
HPC2 =1: The 2nd spindle has a position encoder installed.
=0: The 2nd spindle does not have a position encoder installed.
Standard setting: 0 0 0 0 0 0 1 0
Appendix
=1: After the reference point is established and memorized, manual zeroing is
DLF
located at the reference point at manual fast speed.
=0: After the reference point is established and memorized, manual zeroing is
located at the reference point at rapid positioning speed.
ROVT =1: Rapid magnification adopts 6 gears.
=0: Rapid magnification adopts 4 gears.
Standard setting: 0 0 0 0 0 0 0 0
270
Appendix I List of Parameters
Appendix
PRT =1: Speed controlling type in rapid running: constant acceleration.
=0: Speed controlling type in rapid running: constant time constant.
CRTT =1: Cutting pattern: B.
=0: Cutting pattern: A.
JOG =1: The manual continuous feed speed of each axis is valid.
=0: The manual continuous feed speed of each axis is invalid.
ALS =1: The automatic corner feed function is valid.
=0: The automatic corner feed function is invalid.
Standard setting: 0 0 0 0 0 010
271
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
272
Appendix I List of Parameters
ALM1 =1: Give an alarm when the alarm signal of the 1st axis drive unit is 1.
=0: Give an alarm when the alarm signal of the 1st axis drive unit is 0.
ALM2 =1: Give an alarm when the alarm signal of the 2nd axis drive unit is 1.
=0: Give an alarm when the alarm signal of the 2nd axis drive unit is 0.
ALM3 =1: Give an alarm when the alarm signal of the 3rd axis drive unit is 1.
=0: Give an alarm when the alarm signal of the 3rd axis drive unit is 0.
ALM4 =1: Give an alarm when the alarm signal of the 4th axis drive unit is 1.
=0: Give an alarm when the alarm signal of the 4th axis drive unit is 0.
ALM5 =1: Give an alarm when the alarm signal of the 5th axis drive unit is 1.
=0: Give an alarm when the alarm signal of the 5th axis drive unit is 0.
ALS1 =1: Give an alarm when the alarm signal of the 1st spindle drive unit is 1.
=0: Give an alarm when the alarm signal of the 1st spindle drive unit is 0.
ALS2 =1: Give an alarm when the alarm signal of the 2nd spindle drive unit is 1.
=0: Give an alarm when the alarm signal of the 2nd spindle drive unit is 0.
Standard setting: 0 0 1 0 0 0 0 0
Appendix
=0: The mutual sales signal in each axial direction is invalid.
Standard setting: 0 0 0 0 0 0 0 0
273
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
POS =1: Press ―position‖ again on position interface, to switch the page.
=0: Press ―position‖ again on position interface, not to switch the page.
Appendix
PRG =1: Press "program" again on program interface, to switch the page.
=0: Press "program" again on program interface, not to switch the page.
SYS =1: Press "system" again on system interface, to switch the page.
=0: Press "system" again on system interface, not to switch the page.
OFT =1: Press "offset" again on offset interface, to switch the page.
=0: Press "offset" again on offset interface, not to switch the page.
GRA =1: Press "graph" again on graph interface, to switch the page.
=0: Press "graph" again on graph interface, not to switch the page.
DGN =1: Press "diagnosis" again on diagnosis interface, to switch the page.
=0: Press " alarm" again on alarm interface, not to switch the page.
Standard setting: 1 1 1 1 0 1 1 1
274
Appendix I List of Parameters
=1: Press program menu in editing mode, to jump to the program page
PETP
automatically.
=0: Press program menu in editing mode, not to jump to the program page
automatically.
SMDI =1: Press ―program‖ in MDI mode, to jump to the input interface automatically.
=0: Press ―program‖ in MDI mode, not to jump to the input interface
automatically.
PLC =1: Press ―ladder-shaped‖ again on PLC interface, to switch the page.
=0: Press ―ladder-shaped‖ again on PLC interface, not to switch the page.
HELP =1: Press ―help‖ again on help interface, to switch the page.
=0: Press ―help‖ again on help interface, not to switch the page.
Standard setting: 1 1 0 1 0 1 0 1
Appendix
=1: Clear the prepared program during execution of M02, M30, or % in MDI
MKP
mode.
=0: Do not clear the prepared program during execution of M02, M30, or % in
MDI mode.
MCL =1: Delete the prepared program when pressing ―reset‖ in MDI mode.
=0: Do not delete the prepared program when pressing ―reset‖ in MDI mode.
Standard setting: 0 0 0 1 0 0 0 0
275
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
WOF =1: Forbid inputting the tool abrasion bias by the use of MDI keyboard.
=0: Allow inputting the tool abrasion bias by the use of MDI keyboard.
GOF =1: Forbid inputting the tool geometric bias by the use of MDI keyboard.
=0: Allow inputting the tool geometric bias by the use of MDI keyboard.
MCV =1: Forbid inputting the macro-program variable by the use of MDI keyboard.
=0: Allow inputting the macro-program variable by the use of MDI keyboard.
WZO =1: Forbid inputting the workpiece origin bias by the use of MDI keyboard.
=0: Allow inputting the workpiece origin bias by the use of MDI keyboard.
=1: Forbid inputting the workpiece origin bias by the use of MDI keyboard
IWZ
during pause.
=0: Allow inputting the workpiece origin bias by the use of MDI keyboard during
pause.
Standard setting: 0 0 0 0 0 0 0 0
Standard setting: 0 0 0 0 0 0 1 0
276
Appendix I List of Parameters
=1: The system gives an alarm when the same block has two or more identical
AD2
addresses.
=0: The system does not give an alarm when the same block has two or more
identical addresses.
Standard setting: 0 1 0 0 0 0 0 0
Appendix
DWL =1: G04 is pause per revolution in feed per revolution mode.
=0: G04 is not pause per revolution in feed per revolution mode.
CFH =1: Clear F,H,D codes in the case of reset or emergency stop.
=0: Reserve F,H,D codes in the case of reset or emergency stop.
Standard setting: 0 0 0 0 0 0 0 0
C01 =1: Clear G codes in 01 group in the case of reset or emergency stop.
=0: Reserve G codes in 01 group in the case of reset or emergency stop.
C02 =1: Clear G codes in 02 group in the case of reset or emergency stop.
=0: Reserve G codes in 02 group in the case of reset or emergency stop.
C03 =1: Clear G codes in 03 group in the case of reset or emergency stop.
=0: Reserve G codes in 03 group in the case of reset or emergency stop.
C04 =1: Clear G codes in 04 group in the case of reset or emergency stop.
=0: Reserve G codes in 04 group in the case of reset or emergency stop.
C05 =1: Clear G codes in 05 group in the case of reset or emergency stop.
=0: Reserve G codes in 05 group in the case of reset or emergency stop.
C07 =1: Clear G codes in 07 group in the case of reset or emergency stop.
=0: Reserve G codes in 07 group in the case of reset or emergency stop.
Standard setting: 1 0 0 0 0 0 0 0
277
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
C08 =1: Clear G codes in 08 group in the case of reset or emergency stop.
=0: Reserve G codes in 08 group in the case of reset or emergency stop.
C09 =1: Clear G codes in 09 group in the case of reset or emergency stop.
=0: Reserve G codes in 09 group in the case of reset or emergency stop.
C10 =1: Clear G codes in 10 group in the case of reset or emergency stop.
=0: Reserve G codes in 10 group in the case of reset or emergency stop.
C11 =1: Clear G codes in 11 group in the case of reset or emergency stop.
=0: Reserve G codes in 11 group in the case of reset or emergency stop.
C12 =1: Clear G codes in 12 group in the case of reset or emergency stop.
=0: Reserve G codes in 12 group in the case of reset or emergency stop.
C13 =1: Clear G codes in 13 group in the case of reset or emergency stop.
=0: Reserve G codes in 13 group in the case of reset or emergency stop.
C14 =1: Clear G codes in 14 group in the case of reset or emergency stop.
=0: Reserve G codes in 14 group in the case of reset or emergency stop.
C15 =1: Clear G codes in 15 group in the case of reset or emergency stop.
=0: Reserve G codes in 15 group in the case of reset or emergency stop.
Standard setting: 0 0 0 0 0 0 1 1
Sys Para No.
0 3 7 SCS CSS CSZR SOC RSC BDP SCRW
=1: Calculate the datum coordinate of G96 spindle speed as current point in
RSC
the case of G0 rapid positioning.
=0: Calculate the datum coordinate of G96 spindle speed as end point in the
case of G0 rapid positioning.
SOC =1: G96 spindle speed is suppressed after spindle magnification.
=0: G96 spindle speed is suppressed before spindle magnification.
CSZR =1: The reference point return of CS contouring control is valid.
=0: The reference point return of CS contouring control is invalid.
CSS =1: Conduct Cs contouring control in each spindle.
=0: Do not conduct Cs contouring control in any spindle.
SCS =1: Use Cs contouring control.
=0: Do not use Cs contouring control.
Standard setting: 1 0 0 0 0 0 0 0
278
Appendix I List of Parameters
TLCM =1: The tool length compensation can be modified during program execution.
=0: The tool length compensation cannot be modified during program
Appendix
execution.
DIA =1: Adopt the diameter method for programming.
=0: Adopt the radius method for programming.
THST =1: Spindle pulse sampling in the case of thread cutting: average.
=0: Spindle pulse sampling in the case of thread cutting: original.
THQR =1: In thread tail, movement in stub axle positioning mode is valid.
=0: In thread tail, movement in stub axle positioning mode is invalid.
THSY =1: Synchronize with mode B during thread cutting.
=0: Synchronize with mode A during thread cutting.
Standard setting: 0 0 0 0 0 1 0 0
279
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
=1: Number parameters are inputted and displayed according to Bit Para
PUIT
NO.0#2 INI.
=0: Number parameters are inputted and displayed in metric system.
G39 =1: The corner arc function is valid in radius compensation.
=0: The corner arc function is invalid in radius compensation.
CNI =1: Do interference checking in radius compensation.
=0: Do not do interference checking in radius compensation.
Standard setting: 0 1 1 0 0 0 0 0
Appendix
RD1 =1: Set the retracting direction of G76 and G87: negative.
=0: Set the retracting direction of G76 and G87: positive.
RD2 =1: Set the retracting axis of G76 and G87: the 2nd axis.
=0: Set the retracting axis of G76 and G87: the 1st axis.
Standard setting: 0 0 0 0 0 0 0 0
=1: Use the 2nd axis of plane in polar coordinate interpolation when it is
PDI
specified by diameter.
=0: Use the 2nd axis of plane in polar coordinate interpolation when it is
specified by radius.
RD2 =1: Use the polar coordinate interpolation offset.
=0: Do not use the polar coordinate interpolation offset.
Standard setting: 0 0 0 0 0 0 1 0
280
Appendix I List of Parameters
=1: The drilling pattern of G83 and G87 is high-speed deep-hole drilling-cutting
RTR
cycle.
=0: The drilling pattern of G83 and G87 is deep-hole drilling-cutting cycle.
DOV =1: During rigid tapping tool retracting, magnification is valid.
=0: During rigid tapping tool retracting, magnification is invalid.
PCP =1: Tapping is high-speed deep-hole tapping cycle.
=0: Tapping is not high-speed deep-hole tapping cycle.
Standard setting: 0 0 0 0 0 0 0 0
Appendix
SCA1 =1: the 1st axis synchronized control determined by signal
=0: the 1st axis synchronous control: synchronized sooner or later
SCA2 =1: the 2nd axis synchronous control: synchronization determined by signal
=0: the 2nd axis synchronous control: synchronized sooner or later
SCA3 =1: the 3rd axis synchronous control: synchronization determined by signal
=0: the 3rd axis synchronous control: synchronized sooner or later
SCA4 =1: the 4th axis synchronous control: synchronization determined by signal
=0: the 4th axis synchronous control: synchronized sooner or later
SCA5 =1: the 5th axis synchronous control: synchronization determined by signal
=0: the 5th axis synchronous control: synchronized sooner or later
Standard setting: 0 0 0 0 0 0 0 0
MDL =1: The G code for one-way orientation is set to a modal code.
=0: The G code for one-way orientation is not set to a modal code.
Standard setting: 0 0 0 0 0 0 0 0
281
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
LAD0~LAD3 are binary family parameters. W hen it is 0, use No.0 ladder graph; when it is
1~15, use No.0~15 ladder graphs.
Standard setting: 0 0 0 0 0 0 1 1
282
Appendix I List of Parameters
Appendix
direction
=1: the 2nd axis moving and manual pulse generator turning in different
HNG2
directions
=0: the 2nd axis moving and manual pulse generator turning in the same
direction
=1: the 3rd axis moving and manual pulse generator turning in different
HNG3
directions
=0: the 3rd axis moving and manual pulse generator turning in the same
direction
=1: the 4th axis moving and manual pulse generator turning in different
HNG4
directions
=0: the 4th axis moving and manual pulse generator turning in the same
direction
=1: the 5th axis moving and manual pulse generator turning in different
HNG5
directions
=0: the 5th axis moving and manual pulse generator turning in the same
direction
Standard setting: 0 0 0 0 0 0 0 0
283
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
PLW1 =1: the 1st axis pulse width variable with speed
=0: the 1st axis pulse width constant for 1 μs
PLW2 =1: the 2nd axis pulse width variable with speed
=0: the 2nd axis pulse width constant for 1 μs
PLW3 =1: the 3rd axis pulse width variable with speed
=0: the 3rd axis pulse width constant for 1 μs
PLW4 =1: the 4th axis pulse width variable with speed
=0: the 4th axis pulse width constant for 1 μs
PLW5 =1: the 5th axis pulse width variable with speed
=0: the 5th axis pulse width constant for 1 μs
Standard setting: 0 0 0 0 0 0 0 0
284
Appendix I List of Parameters
2. Data Parameters
Parameter No. Parameter Definition Default
0000 I/O channel, input-output device (1:RS232 2:USB) 2
Setting range: 1 ~ 2
It is set to 0 or 1 when CNC communicates with PC via RS232 interface; set to 2 when CNC is
connected to U disk.
Appendix
0006 System language selection (0: Chinese; 1: English) 0
Setting range: 0 ~ 1
0010 the 1st axis offset from external workpiece origin 0.0000
Setting range: -19999.9998 ~ 19999.9998 (mm)
0011 the 2nd axis offset from external workpiece origin 0.0000
Setting range: -9999.9999 ~ 9999.9999 (mm)
0012 the 3rd axis offset from external workpiece origin 0.0000
Setting range: -9999.9999 ~ 9999.9999 (mm)
285
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
0013 the 4th axis offset from external workpiece origin 0.0000
Setting range: -9999.9999 ~ 9999.9999 (mm)
0014 the 5th axis offset from external workpiece origin 0.0000
Setting range: -9999.9999 ~ 9999.9999 (mm)
286
Appendix I List of Parameters
Appendix
Setting range: -9999.9999 ~ 9999.9999 (mm)
287
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
288
Appendix I List of Parameters
Appendix
0067 Storage stroke testing 1: positive boundary 19998
coordinate on the 1st axis
Setting range: -19999.9998 ~ 19999.9998 (mm)
289
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
290
Appendix I List of Parameters
Appendix
Setting range:
Metric: 0 ~ 30,000 (mm/min)
British: 0 ~ 30,000/ 25.4 (inch/min)
Rotating axis: 0 ~ 30,000 (deg/min)
291
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
0098 Manual (JOG) feed speed on each axis (universal for 2000
all axes)
Setting range: 0 ~ 30,000 (mm/min)
292
Appendix I List of Parameters
Appendix
Setting range: 0 ~ 400 (ms)
293
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
294
Appendix I List of Parameters
Appendix
0147 In predictive control mode, cutting accuracy level 2
Setting range: 0 ~ 8
295
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
296
Appendix I List of Parameters
0175 Program name on the 1st axis (0:X 1:Y 2:Z 3:A 4:B 0
5:C)
Setting range: 0 ~ 5
0176 Program name on the 2nd axis (0:X 1:Y 2:Z 3:A 4:B 1
Appendix
5:C)
Setting range: 0 ~ 5
0177 Program name on the 3rd axis (0:X 1:Y 2:Z 3:A 4:B 2
5:C)
Setting range: 0 ~ 5
0178 Program name on the 4th axis (0:X 1:Y 2:Z 3:A 4:B 4
5:C)
Setting range: 0 ~ 5
0179 Program name on the 5th axis (0:X 1:Y 2:Z 3:A 4:B 5
5:C)
Setting range: 0 ~ 5
297
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
298
Appendix I List of Parameters
Appendix
0206 Allowable bits of T code 4
Setting range: 3 ~ 4
299
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
300
Appendix I List of Parameters
Appendix
0236 Rapid positioning accuracy of each axis (mm) 0.01
Setting range: 0.0001 ~ 0.5
301
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
302
Appendix I List of Parameters
Appendix
Setting range: 1 ~ 999
0302 Time constant for spindle and tapping axis in tool 200
retracting (the 1st gear)
Appendix
0303 Time constant for spindle and tapping axis in tool 200
retracting (the 2nd gear)
Setting range: 0 ~ 9999
0304 Time constant for spindle and tapping axis in tool 200
retracting (the 3rd gear)
Setting range: 0 ~ 9999
0305 Time constant for spindle and tapping axis in tool 200
retracting (the 4th gear)
Setting range: 0 ~ 9999
304
Appendix I List of Parameters
Appendix
Setting range: 0 ~ 9999
305
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
306
Appendix I List of Parameters
Appendix
Setting range: 0.0000 ~ 2000.0000
0384 Control axis number of tool rotating axis for polygon 1500
machining
Setting range: 0 ~ 2500
307
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
308
Appendix I List of Parameters
Appendix
416 Number of teeth of the 2nd spindle encoder-side gear 1
(the 2nd gear)
Setting range: 1 ~ 999
419 Spindle motor speed at the 2nd spindle Gear 1-Gear 6000
2 switching point
Setting range: 0 ~ 99999 (r/min)
420 Spindle motor speed at the the 2nd spindle Gear 6000
2-Gear 3 switching point
Setting range: 0 ~ 99999 (r/min)
421 Spindle motor speed at the 2nd spindle Gear 3-Gear 6000
4 switching point
Setting range: 0 ~ 99999 (r/min)
309
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
425 Linear speed controlling time constant for the 2nd 200
spindle and tapping axis
(the 1st gear)
Setting range: 0 ~ 9999
426 Linear speed controlling time constant for the 2nd 200
spindle and tapping axis
(the 2nd gear)
Setting range: 0 ~ 9999
427 Linear speed controlling time constant for the 2nd 200
spindle and tapping axis
(the 3rd gear)
Setting range: 0 ~ 9999
428 Linear speed controlling time constant for the 2nd 200
spindle and tapping axis
(the 4th gear)
Setting range: 0 ~ 9999
Appendix
429 Time constant for the 2nd spindle and tapping axis in 200
tool retracting (the 1st gear)
Setting range: 0 ~ 9999
430 Time constant for the 2nd spindle and tapping axis in 200
tool retracting (the 2nd gear)
Setting range: 0 ~ 9999
431 Time constant for the 2nd spindle and tapping axis in 200
tool retracting (the 3rd gear)
Setting range: 0 ~ 9999
432 Time constant for the 2nd spindle and tapping axis in 200
tool retracting (the 4th gear)
Setting range: 0 ~ 9999
310
Appendix I List of Parameters
Appendix
Setting range: 0.0000 ~ 99.9999
0455 Position deviation limit (mm) when the 1st axis stops 0.5
Setting range: 0.0000 ~ 9.9999
0456 Position deviation limit (mm) when the 2nd axis stops 0.5
Setting range: 0.0000 ~ 9.9999
311
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
0457 Position deviation limit (mm) when the 3rd axis stops 0.5
Setting range: 0.0000 ~ 9.9999
0458 Position deviation limit (mm) when the 4th axis stops 0.5
Setting range: 0.0000 ~ 9.9999
0459 Position deviation limit (mm) when the 5th axis stops 0.5
Setting range: 0.0000 ~ 9.9999
312
Appendix I List of Parameters
0480 Control axis executing the function of the 1st position switch 0
Setting range: 0 ~ 5
Appendix
0482 0
Setting range: 0 ~ 5
0483 Control axis executing the function of the 4th position switch 0
Setting range: 0 ~ 5
0484 Control axis executing the function of the 5th position switch 0
Setting range: 0 ~ 5
0485 Control axis executing the function of the 6th position switch 0.
Setting range: 0 ~ 5
0486 Control axis executing the function of the 7th position switch 0
Setting range: 0. ~ 5
0487 Control axis executing the function of the 8th position switch 0
Setting range: 0 ~ 5
313
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
0500 Minimum in the action range of the 1st position switch 0.0000
Setting range: -9999.9999 ~ 9999.9999
314
Appendix I List of Parameters
0504 Minimum in the action range of the 5th position switch 0.0000
Setting range: -9999.9999 ~ 9999.9999
0505 Minimum in the action range of the 6th position switch 0.0000
Setting range: -9999.9999 ~ 9999.9999
0506 Minimum in the action range of the 7th position switch 0.0000
Setting range: -9999.9999 ~ 9999.9999
0507 Minimum in the action range of the 8th position switch 0.0000
Setting range: -9999.9999 ~ 9999.9999
0508 Minimum in the action range of the 9th position switch 0.0000
Setting range: -9999.9999 ~ 9999.9999
0509 Minimum in the action range of the 10th position switch 0.0000
Setting range: -9999.9999 ~ 9999.9999
Appendix
Setting range: 0 ~ 5
0535 Set the 1st axis as the axis in basic coordinate system 1
Setting range: 0 ~ 7
0536 Set the 2nd axis as the axis in basic coordinate system 2
Setting range: 0 ~ 7
0537 Set the 3rd axis as the axis in basic coordinate system 3
Setting range: 0 ~ 7
0538 Set the 4th axis as the axis in basic coordinate system 0
Setting range: 0 ~ 7
315
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
0539 Set the 5th axis as the axis in basic coordinate system 0
Setting range: 0 ~ 7
0552 Speed controlling time in speed command under the 3rd 500
PMC-axis control
Setting range: 10 ~ 99999
316
Appendix II Alarm Table
Alarm
Alarm Content Remarks
No.
0000 This parameter modification requires one-time power-off.
0001 File opening failed
0002 Input data out of range
0003 Program number exists
Digit or Character ―-‖ inputted at the beginning of block should not exist.
0004
Modify program.
The address is followed by another address or EOB code instead of proper
0005
data. Modify program.
Character ―-‖ input error (Character ―-‖ or two or more ―-‖ are inputted behind
0006
an address that cannot have a minus sign). Modify program.
Decimal point "." input error (Character "." or two or more "." are inputted in
0007
an address that cannot have a decimal point). Modify program.
0008 Program file is too large.
0009 The address inputted is illegal. Modify program.
The G code used is not available or the G code commanded does not have
0010
this function. Modify program.
The feed speed is not commanded or is improper in cutting feed. Modify
0011
program.
0012 Out of disk space. Fail to create a file or add to the file.
The number of program files has reached its upper limit. Fail to create a
0013
program.
Appendix
0015 Allowed simultaneously controlled axes exceeded
0016 Current pitch error compensation point out of range
Modification permission denied. Please input a password on password
0017
interface.
Neither null variable or local variable can be modified. G10 can only modify
0018
the user-level parameters.
In arc interpolation (G02 or G03), the distance from start point to arc center
0020 is different from that from end point. Their difference exceeds the value
specified in number parameter 214.
In arc interpolation, an axis commanded is not available on the selected
0021
plane (G17,G18,G19). Modify program.
In arc interpolation, neither R(specified arc radius) nor I, J, K (specified
0022
distance from start point to center) is commanded.
0023 In arc interpolation, both IJK and R are specified.
File format unsupported. The file is big or includes a line exceeding 1024
0026
bytes.
In planar selective command, two or more axes are commanded in the same
0028
direction. Modify program.
The command P value is too large or unspecified in the setting of offset
0031 value, workpiece coordinate system, external workpiece coordinate system,
or additional workpiece coordinate system through G10.
The offset value is too large or unspecified in its setting through G10 or in its
0032
writing through system variable. Modify program.
0033 The intersection in tool offset C or chamfer is not sure. Modify program.
317
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Alarm
Alarm Content Remarks
No.
Fail to create or cancel the tool offset in the case of arc instruction. Modify
0034
program.
0036 In tool offset mode, jump cutting is commanded (G31). Modify program.
The plane selected through G17, G18, or G19 is changed in tool offset C.
0037
Modify program.
In tool offset C, over-cutting will occur, because the start point or end point of
0038
arc coincides with arc center. Modify program.
0039 Tool nose positioning error in tool offset C
Fail to switch the workpiece coordinate system in tool offset C. Please
0040
cancel the tool offset before coordinate system switching.
Interference exists in tool offset C, and over-cutting will occur. Modify
0041
program.
More than ten blocks specifying parking instruction instead of moving
0042 instruction are continuously commanded in tool offset mode. Modify
program.
0043 Permission denied. Please modify the permission on password interface.
In fixed cycle mode, one of G27, G28, G29, and G30 is commanded. Modify
0044
program.
In fixed cycle G73/G83, the cutting depth (Q) is unspecified or equal to 0.
0045
Modify program.
In the 2nd, 3rd, 4th reference points returning command, a command other
0046
than P2, P3, and P4 is given.
0050 Change the moving position in fixed cycle mode.
The block behind fillet or chamfer specifies a wrong movement or moving
0051
distance. Modify program.
0053 Chamfer or fillet command format error. Modify program.
0055 Chamfer movement failed
Appendix
M99 cannot stay in the same block with macro-program command (G65).
0056
Modify program.
0057 File writing failed. Please de-energize the system before restart.
In any chamfer or fillet block, the specified axis is not on the selected plane.
0058
Modify program.
In external program number retrieving, program number is not found or the
0059 specified program is edited in the background. Please check the program
number and external signal or suspend background editing.
Sequence number is not found in sequence number searching. Please
0060
check the sequence number.
0061 The 1st axis away from reference point
0062 The 2nd axis away from reference point
0063 The 3rd axis away from reference point
0064 The 4th axis away from reference point
0065 The 5th axis away from reference point
0066 Cancel the fixed cycle mode before execution of parameter input (G10)
0067 Setting format unsupported by G10
0068 Parameter switch is not on
0069 Close U disk operation interface before machining
0070 Out of memory. Please delete unnecessary programs before retrying.
318
Appendix II Alarm Table
Alarm
Alarm Content Remarks
No.
Target address is not found, or the specified program not found in program
0071
retrieving. Please check the data.
0072 Over 400 programs are stored. Delete unwanted programs.
The commanded program number has been occupied. Change the program
0073
number or delete unwanted programs.
0074 Program number beyond 1–99999. Change the program number.
0075 Attempting to register a protected program number.
0076 Address P(program number) is not specified in M98 block. Modify program.
0077 Program calling exceeds 5 times. Modify program.
In M98 or G65 block, the program number specified by address P is not
0078
found or the macro-program called by M06 does not exist.
0079 System service life expires. Please contact the supplier.
Input data are unreasonable. Maximum speed is lower than minimum speed
0080
or minimum speed is higher than maximum speed
0081 Macro-program cannot call the subprogram. Modify program.
0084 Key overtime or short-circuit occurs.
Effluence occurs when data are inputted via serial port. The baud rate
0085
setting or input/output device is incorrect.
0086 In fixed cycle mode, system cannot switch planes.
NO.0087~0091 alarm mean that reference point returning is unavailable
because the start point of each axis is too close to the reference point or
0087
because the speed is too low. Keep reference point far enough from start
point or set a high speed of returning.
G27 ( reference point returning checking) instructed not to return to
0092
reference point
Appendix
0093 Motor model mismatching
After power-one, after emergency stop, or if program including G28 does not
0098
return to reference point, execute the program before restart.
In parameter (setting) screen, PWE (parameter writing effective) is set to 1.
0100
Please set it to 0 before restarting the system.
0101 Power-cut memory data disorder. Please ensure the position is correct.
0102 The motor model of system disagrees with that of drive.
0103 bus communication error. Please check the cable reliability.
0104 Machine zero setting overtime
0105 drive unit data acquisition overtime
0106 Gear ratio of drive unit disagrees with that of system servo parameters
0107 Parameters of drive unit disagree with that of system servo parameters
0108 Please insert U disk.
0110 Position data beyond allowed range. Please clear the data.
0111 Calculation result beyond allowed range (-1047 ~ -10 -29, 0 and 10-29 ~ 1047)
0112 Zero (including tan90°) divisor specified
User macro-program specifies an unavailable function command. Modify
0113
program.
0114 G39 format error. Modify program.
319
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Alarm
Alarm Content Remarks
No.
Fail to specify the variable value or to use O, N as variable specified in user
0115
macro-program. Modify program.
A variable is on the left of assignment statement but cannot be assigned.
0116
Modify program.
This parameter does not support G10 online modification. Please modify the
0117
program.
0118 Parenthesis nesting exceeds its upper limit (five layers). Modify program.
M00, M01, M02, M30, M98, M99, M06 commands cannot stay in the same
0119
block with other M commands.
0120 Part settings are restored.
0121 machine coordinate and encoder feedback exceed the deviation setting.
320
Appendix II Alarm Table
Alarm
Alarm Content Remarks
No.
0165 Please specify a command, scaling or G10 command, in a single block.
0166 No axis specified during reference point returning
0167 Midpoint coordinate is too large.
Hole-bottom minimum pause time should be shorter than hole-bottom
0168
maximum pause time.
Tool radius compensation is not canceled when entering or exiting
0170
subprogram.
In the block calling the subprogram, P is not an integer or P is smaller than or
0172
equal to 0.
0173 Subprogram calling times cannot exceed 9999.
0175 Fixed cycle can only be executed on G17 plane.
0176 Spindle speed unspecified before the start of rigid tapping
IO control under G76 command does not support the spindle orientation
0177
function. Modify the program or parameter
0178 Spindle speed unspecified before the start of fixed cycle
0181 Illegal M code
0182 Spindle speed is too high or too low.
0183 Illegal T code
0184 Selected tool out of range
0189 U is too small. U should be greater than or equal to tool radius.
0190 V is too small or V is undefined. V should be greater than 0.
0191 W is too small or W is undefined. W should be greater than 0.
0192 Q is too small or Q is undefined. Q should be greater than 0.
Appendix
0193 I is undefined or I is 0.
0194 J is undefined or J is 0.
0195 D is undefined or D is 0.
In constant surface cutting speed control, the specified axis is wrong. (See
0198
parameter No.254). Its command P includes illegal data. Modify program.
0199 Macro command undefined. Modify program.
In rigid tapping, S value is out of range or unspecified. In rigid tapping, S max
0200
is specified through a parameter. Modify the parameter setting or program.
0204 M29 should be specified in G80 mode. Modify program.
0206 Plane switching is specified in rigid mode. Modify program.
This command cannot be executed in G10 mode. Please cancel G10 mode
0208
first.
0210 Program restart filename is inconsistent. Please select correct filename.
The chamfer or reverse R is commanded or there is an additional axis on the
0212
plane. Modify program.
0213 Tool shift macro-program does not support G31 jump. Modify program.
0214 Tool shift macro-program does not support jump operation.
Tool shift macro-program does not support dynamic modification of
0215
coordinate system and tool offset.
0219 Tool base is unused (parameter is not opened). Cannot use tool shift
321
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Alarm
Alarm Content Remarks
No.
command M06.
Scaling/rotation/polar coordinate does not support metric-British input
0220
switching.
0221 Tool shift macro-program does not support metric-British input switching.
Before the start of automatic running, reference point returning is not
0224
executed.
In the specified format of program parameter input, the following errors
occur:
1) Address N or R is not inputted;
0231
2) Parameter No. is unspecified;
3) Address P is unspecified when bit parameter is inputted to L50;
4) N, P, R are out of range. Modify program.
0232 3 or more axes are specified as spiral interpolation axes.
0233 Other operations are using the device connecting to the RS-232-C port.
0235 Record ending character (%) is commanded.
0236 Program restart parameter setting error
0237 The decimal point of command is unspecified as necessary.
The same address occurs many times in a block, or two or more G codes of
0238
the same group occur in a block.
An illegal G code is specified in pre-reading control mode. The indexing axis
is specified in pre-processing control mode. Maximum cutting feed
0239
parameter is set to 0. Speed controlling parameter before interpolation is set
to 0. Set parameters properly.
0241 Manual pulse exception
0242 Bus connection error
0250 Axis name already exists. Please modify the parameters NO.175~179.
Appendix
emergency stop alarm. After canceling the alarm, please return to zero point
0251
again.
Program ending illegal (CNC transmission speed is low. Please decrease
0252
the feed speed)
The pulse command speed of DSP interpolation axis is too high. Please
0261
press ―reset‖ before zero-point returning.
0262 DSP alarm: DSP is not started. Please energize the system again.
0263 DSP alarm: DSP parameter setting error
0264 DSP alarm: The sent data is too large. Please energize the system again.
0265 DSP alarm: Bus cannot be connected, or bus initialization fails.
DSP interpolation axis speed exceeds 200M/MIN. Please press ―reset‖
0266
before zero-point returning.
DSP initialization mark (5555) exception. Please press ―reset‖ before
0267
zero-point returning.
The unit cycle output of DSP is too large. Please press ―reset‖ before
0268
zero-point returning.
0269 DSP internal alarm. Please press ―reset‖ before zero-point returning.
0270 The interpolation point length divided equally by DSP is too small.
Interpolation data received by DSP are too small. Press ―emergency stop‖
0271
before zero returning again.
0272 DSP receives an unidentifiable G code.
322
Appendix II Alarm Table
Alarm
Alarm Content Remarks
No.
0273 DSP hardware data interaction exception (command type)
0274 DSP hardware data interaction exception (data type)
0275 In high-speed mode, interpolation speed magnification is 0.
Before the use of tool setting function, each axis should return to zero point
0280
first.
It is required to switch to [setting][tool setting center division] interface before
0281
the use of tool setting function.
Please check whether the tool setting meter is installed or whether bit
0282
parameter 1.6 is set to 1.
Z-axis surpasses the safe position. Please check tool setting meter or tool
0283
length setting.
0286 Automatic measurement error. Please execute measurement once again.
0401 Drive unit alarm 01: Servo motor speed exceeds its setting
0402 Drive unit alarm 02: Primary circuit supply voltage is too high.
0403 Drive unit alarm 03: Primary circuit supply voltage is too low.
Drive unit alarm 04: The value of position deviation counter exceeds the
0404
setting.
0405 Drive unit alarm 05: motor overheating
0406 Drive unit alarm 06: Speed controller is saturated for long.
0407 Drive unit alarm 07: Both CCW and CW drive inputs are off.
Drive unit alarm 08: The absolute value of position deviation counter reading
0408
exceeds 230.
0409 Drive unit alarm 09: Encoder signal error
0410 Drive unit alarm 10: Control supply ± 15V is low
Appendix
0411 Drive unit alarm 11: IPM intelligent module fault
0412 Drive unit alarm 12: Motor current is too large.
Drive unit alarm 13: servo drive unit and motor overload (instantaneous
0413
overheating)
0414 Drive unit alarm 14: braking circuit fault
0415 Drive unit alarm 15: encoder counting exception
0420 Drive unit alarm 20: EEPROM error
0430 Drive unit alarm 30: encoder Z pulse error
0431 Drive unit alarm 31: encoder UVW signal error or mismatching the encoder
0432 Drive unit alarm 32: UVW signal includes fully high level or fully low level
0433 Drive unit alarm 33: communication interrupted
0434 Drive unit alarm 34: encoder speed exception
0435 Drive unit alarm 35: encoder state exception
0436 Drive unit alarm 36: encoder counting exception
0437 Drive unit alarm 37: encoder one-loop counting effluence
0438 Drive unit alarm 38: encoder counting effluence
0439 Drive unit alarm 39: encoder battery alarm
0440 Drive unit alarm 40: power shortage of encoder battery
323
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Alarm
Alarm Content Remarks
No.
0441 Drive unit alarm 41: motor model mismatching
0442 Drive unit alarm 42: absolute position data exception
0443 Drive unit alarm 43: encoder EPPROM checking
0449 Ethernet initialization fails. Please check hardware.
0450 Drive unit interrupted. Please check whether hardware connection is proper.
0451 Drive unit alarm of the 1st axis
0452 Drive unit alarm of the 2nd axis
0453 Drive unit alarm of the 3rd axis
0454 Drive unit alarm of the 4th axis
0455 Drive unit alarm of the 5th axis
0456 Drive unit alarm of spindle
Beyond the machining cycles that G71, G72, G73, G76, G90, G92, or G94
0460
can process
0466 Path non-monotonous: X direction
0467 Path non-monotonous: Z direction
Software limit negative over-travel of the 1st axis: (negative movement
0500
release in manual or manual pulse mode).
Software limit negative over-travel of the 1st axis: (negative movement
0501
release in manual or manual pulse mode).
Software limit negative over-travel of the 2nd axis: (positive movement
0502
release in manual or manual pulse mode).
Software limit negative over-travel of the 2nd axis: (negative movement
0503
release in manual or manual pulse mode).
Software limit negative over-travel of the 3rd axis: (positive movement
Appendix
0504
release in manual or manual pulse mode).
Software limit negative over-travel of the 3rd axis: (negative movement
0505
release in manual or manual pulse mode).
Software limit negative over-travel of the 4th axis: (positive movement
0506
release in manual or manual pulse mode).
Software limit negative over-travel of the 4th axis: (negative movement
0507
release in manual or manual pulse mode).
Software limit negative over-travel of the 5th axis: (positive movement
0508
release in manual or manual pulse mode).
Software limit negative over-travel of the 5th axis: (negative movement
0509
release in manual or manual pulse mode).
Hardware limit negative over-travel of the 1st axis: (over-travel release;
0510
positive movement release in manual or manual pulse mode).
Hardware limit negative over-travel of the 1st axis: (over-travel release;
0511
negative movement release in manual or manual pulse mode).
Hardware limit negative over-travel of the 2nd axis: (over-travel release;
0512
positive movement release in manual or manual pulse mode).
Hardware limit negative over-travel of the 2nd axis: (over-travel release;
0513
negative movement release in manual or manual pulse mode).
Hardware limit negative over-travel of the 3rd axis: (over-travel release;
0514
positive movement release in manual or manual pulse mode).
Hardware limit negative over-travel of the 3rd axis: (over-travel release;
0515
negative movement release in manual or manual pulse mode).
Hardware limit negative over-travel of the 4th axis: (over-travel release;
0516
positive movement release in manual or manual pulse mode).
324
Appendix II Alarm Table
Alarm
Alarm Content Remarks
No.
Hardware limit negative over-travel of the 4th axis: (over-travel release;
0517
negative movement release in manual or manual pulse mode).
Hardware limit negative over-travel of the 5th axis: (over-travel release;
0518
positive movement release in manual or manual pulse mode).
Hardware limit negative over-travel of the 5th axis: (over-travel release;
0519
negative movement release in manual or manual pulse mode).
Operation keyboard is disconnected. Please check the connecting cable of
0600
operation keyboard.
1001 The address of relay or coil is not set.
1002 Code input function: The code does not exist.
Function command: COM is not used properly. The correspondence of COM
1003 to COME is wrong, or a function command is used between COM and
COME.
The user ladder graph exceeds the maximum number of lines or steps
1004
allowed. (solution) Reduce the number of NETs edited.
Function command: Neither END1 nor END2 exist; or either END1 or END2
1005
is wrong; or the sequence of END1 and END2 is incorrect.
1006 Illegal output exists in the network. Please check the output format.
Hardware fault or system interruption fault causes PLC cannot
1007
communicate. Please contact the system equipment manufacturer.
1008 The function code is not connected properly.
1009 The network horizontal line is not connected.
1010 Power failure causes the loss of network in editing of ladder graph.
The address or the datum is mismatched with the function command format.
1011
Please input again.
1012 The address or the data is inputted improperly. Please input again.
Appendix
1013 The specified character is illegal or the datum is out of range.
CTR address already exists. Please select another CTR address that is not
1014
occupied.
Function command: JMP is inputted improperly; the correspondence of JMP
1015 to LBL is wrong; or the JMP function command is used again between JMP
and LBL.
1016 The network structure is incomplete. Modify the ladder graph.
1017 An unsupported network structure occurs. Modify the ladder graph.
1019 TMR address has been used. Re-select another TMR address unused.
1020 Function command is short of parameters. Input legal parameters.
PLC execution overtime. The system stops PLC automatically. Please check
1021 the ladder graph logic and remove the dead cycle or too many calling
repetitions.
Function command name missing. Please input the function command name
1022
properly.
1023 The address or constant of function command parameter is out of range.
1024 An unnecessary relay or coil exists. Delete unnecessary connections.
1025 The function command is outputted improperly.
The number of network connecting lines is out of the supported range.
1026
Modify the ladder graph.
The same output address is used somewhere else. Re-select an output
1027
address unused.
325
Programming and Operating Manual of GSK980TDHi Series Bus-Based Tool Machine CNC System
Alarm
Alarm Content Remarks
No.
1028 Ladder graph file format error
1029 The ladder graph in use is gone.
1030 Incorrect vertical lines exist in the network. Delete these vertical lines.
1031 User data zone is full. Please reduce the COD code datatable capacity.
The first level of ladder graph is too large and cannot be executed in time.
1032
Reduce the first level ladder graphs.
Function command SFT exceeds the maximum amount of use allowed.
1033
Please reduce the amount of use.
Function command DIFU/DIFD address repeated. Please re-select the
1034
address.
1039 The command or network is out of the range of execution. Please remove it.
Function command CALL or SP is inputted improperly; correspondence
between CALL and SP or between SP and SPE is wrong; or SP function
1040
command is used again between SP and SPE; or SP is set before the use of
END2.
1041 The horizontal conducting line is connected to node network in parallel.
326