GSK990MA CNC SYSTEM Programming and Operation Manual
This manual describes the various matters concerning the
operations of this CNC system as much as possible. However, it is
impossible to give detailed descriptions to all the unnecessary or
unallowable operations due to space limitation and product specific
applications. Therefore, the matters not specially described herein
should be considered as “impossible” or “unallowable”.
This user manual is the property of GSK CNC Equipment Co.,
Ltd. All rights are reserved. It is illegal for any organization or
individual to publish or reprint this manual. GSK CNC Equipment Co.,
Ltd. reserves the right to ascertain their legal liability.
I
Preface and Precaution
Preface
Dear users,
It is our pleasure for your patronage and purchase of this machining
center CNC system of GSK990MA produced by GSK CNC Equipment Co.,
Ltd.
This book is “Programming and Operation Manual”, which introduces
the programming and operation of the machining center CNC system of
GSK990MA in detail.
To ensure the product works in a safe and efficient state, please read this manual
carefully before installation and operation.
Warnings
Improper operations may cause unexpected accidents. Only
those qualified staff are allowed to operate this system.
Special notes: The power supply fixed on/in the cabinet is exclusively
used for the CNC system made by GSK.
It cannot be applied for other purposes, or else it may
cause serious danger.
II
GSK990MA CNC SYSTEM Programming and Operation Manual
Declaration!
z We try to describe all the various matters as much as possible in this
manual. However, it is impossible to give detailed descriptions to all
the unnecessary or unallowable operations because there are too
many possibilities. Therefore, the matters not specially described
herein should be considered as “impossible” or “unallowable”.
z Before installing, connecting, programming and operating the product,
please read this manual and the manual provided by the machine tool
builder carefully, and operate the product according to these manuals.
Otherwise, the operation may cause damage to the product and
machine tool, or even cause personal injury.
Warning!
Caution!
z The functions and specifications (e.g., precision and speed) described
in this manual are only for this product itself. For those CNC machine
tools installing this product, the actual function configuration and
specifications depend on the designs of the machine tool builders.
Moreover, the function configuration and specifications of the CNC
machine tool are subject to the manual provided by the machine tool
All specifications and designs in this manual are subject to change without notice.
III
Preface and Precaution
Safety notes
■ Transportation and storage
z Do not pile up the packing boxes over 6 layers.
z Never climb the packing box, neither stand on it, nor place heavy objects on it.
z Do not move or drag the product by the cables connected to it.
z Avoid impact or scratch to the panel and screen.
z Packing box should be protected from dampness, insolation and drench.
■ Open-package inspection
z Confirm the product is the one you purchased after opening the package.
z Check whether the product is damaged during transportation.
z Confirm all the elements are complete without damage by referring to the list.
z If there is incorrect product type, incomplete accessories or damage, please
contact us in time.
■ Connection
z Only qualified personnel can connect and inspect the system.
z The system must be earthed. The earth resistance should not be greater than
0.1Ω, and a neutral wire (zero wire) cannot be used as an earth wire.
z The connection must be correct and secured. Otherwise, the product may be
damaged or unexpected results may occur.
z Connect the surge absorbing diode to the product in the specified direction;
otherwise the product may be damaged.
z Turn off the power before inserting or unplugging a plug, or opening the electric
cabinet.
■ Troubleshooting
z Turn off the power supply before troubleshooting or replacing components.
z Overhaul the system when there is a short circuit or overload, and do not restart
it until the trouble is removed.
z Do not turn ON/OFF the product frequently, and the ON/OFF interval should be
1 minute at least.
IV
GSK990MA CNC SYSTEM Programming and Operation Manual
BOOK PROGRAMMINGⅠ
This part gives an introduction to the specification, product
portfolio, parameter configuration, instruction codes as well as
program form
at.
This part gives an introduction to the operation of the machining
center CNC system of GSK 990MA .
This part gives an introduction to the use of the machining center
CNC system and its accessories of GSK990MA.
BOOK OPERATIONⅡ
APPENDIX
V
Preface and Precaution
Safety responsibility
Manufacturer Responsibility
——Be responsible for the danger which should be eliminated on the design
and configuration of the provided CNC systems
——Be responsible for the safety of the provided CNC and its accessories
——Be responsible for the provided information and advice
User Responsibility
——Be trained with the safety operation of CNC system operation
procedures and familiar with the safety operation.
——Be responsible for the dangers caused by adding, changing or
modifying the original CNC systems and accessories.
——Be responsible for the danger caused by failing to observe the
operation, maintenance, installation and storage in the manual.
This user manual shall be kept by the end user.
Thank you for your kind support when you are using the
products of Guangzhou CNC Equipment Co., Ltd.
VI
GSK990MA CNC System Programming and Operation Manual
GSK990MA CNC System Programming and Operation Manual
Ⅰ OVERVIEW
1
Overview Chapter One Overview
1 Overview
This manual is comprised by following parts:
I Overview
It describes the chapter structure, system model available, relative instructions and the
note.
Ⅱ Programming
It describes G functions and the programming format, characteristics and restrictions by
NC language.
OperationⅢ
It describes the manual and auto operation, program input/output and editing methods.
Appendix
It describes parameter list, alarm list and programming data table.
The manual is used for GSK990MA CNC system.
2
GSK990MA CNC System Programming and Operation Manual
Ⅱ PROGRAMMING
3
Programming Chapter One General
1 General
1.1 Tool movement along workpiece contour —interpolation
1)Tool movement along a straight line
50
20
Fig. 1-1-1
2)Tool movement along an arc
Fig. 1-1-2
The tool linear and arc motion function is called interpolation.
The programming instructions such as G01, G02 are called preparatory function, which is used
for interpolation for CNC device.
4
GSK990MA CNC System Programming and Operation Manual
(a) Movement along straight Line
G01 Y_ _;
X_ _Y_ _;
(b) Movement along arc
G03_ Y_ R_;
Interpolation
(a) Movement along
straight Line
(b) Movement along
arc
X axis (Motor)
Y axis (Motor)
Tool movement
Fig. 1-1-3
Note For some machines, it is the worktable moving other than tool moving in practice. It
is assumed that the tool moves relative to the workpiece in this manual. Refer to the
machine actual movement direction in practice to protect against personnel hurt and
machine damage.
1.2 Feed——Feed function
The feedrate specification is called feed function.
1. Rapid traverse
The rapid traverse is used to specify the rapid speed when G00 is used for positioning.
The rapid traverse speed of each axis is set by parameters, so it is unnecessary to specify it
in the program.
2. Cutting feedrate
Moving a tool at a specified speed to cut a workpiece is called feed. The feedrate is specified
with numerical values. E.g., the program code is F150 when the tool is moved at the speed of
150m/min.
Fig. 1-2-1
5
Programming Chapter One General
1.3 Cutting feedrate, spindle speed function
The speed of tool relative to workpiece in cutting is called cutting feedrate. It can be instructed
by spindle speed RPM(r/min) by CNC.
Example: If the tool diameter is 10mm, cutting linear speed is 8 m/min, the spindle speed is
about 255RPM according to N=1000V/πD, so the instruction is: S255
Instructions related to spindle speed are called spindle speed function.
Fig.1-3-1
1.4 Operation instruction——miscellaneous function
When the workpiece is to be machined, to make the spindle run and supply coolant, the
machine spindle motor and cooling pump switches must be controlled by actual requirement.
Fig. 1-4-1
The programs or machine on-off actions controlled by system NC instructions are called
miscellaneous functions, which are instructed by M code.
Example: If M03 is instructed, the spindle rotates clockwise by the speed specified.
(Clockwise direction means the direction viewed from the spindle –Z negative direction.)
1.5 Tool selection for various machining——Tool function
It is necessary to select a proper tool when drilling, tapping, boring, milling, etc. is performed.
When a number is assigned for each tool and the number is specified in the program, the
corresponding tool is selected.
6
GSK990MA CNC System Programming and Operation Manual
Fig. 1-5-1
Example: When the tool is stored at location 01 in the ATC magazine, the tool can be selected by
specifying T01. This is called the tool function.
1.6 Tool figure and tool motion by program
1.6.1 Tool length compensation
Usually several tools are used for machining one workpiece. If instructions such as G0 Z0 are
executed in a same coordinate system, because tools have different tool lengths, the distances from
tool end to workpiece are different. It is very troublesome to change the program frequently.
Fig. 1-6-1-1
Therefore, the length of each tool used should be measured in advance. By setting the
difference between the length of the standard tool and the length of each tool in the CNC (usually the
1st tool), machining can be performed without altering the program even when the tool is changed.
After the tool positioning in Z axis (e.g. G0Z0), the distances of the tool end to the workpiece are
identical. This function is called tool length compensation.
1.6.2 Tool radius compensation
Because a tool has a radius, if the tool goes by the path given by program, the workpiece will be
cut off a part for a radius wide. To simplify the programming, the program can be ran by CNC around
the workpiece with the tool radius deviated, while the transient path of the intersections of the lines or
the arcs can be processed automatically by system.
7
Programming Chapter One General
Fig.1-6-2-1
If diameters of tools are stored in the CNC tool compensation list, the tool can be moved by tool
radius apart from the machining part figure by calling different radius compensation according to
program. This function is called tool radius compensation.
1.7 Tool movement range——stroke
The overtravel limit switches are fixed at the positive and negative maximum stroke of the
machine X, Y, Z axis respectively. If the overtravel occurs, the moving axis slows down and stops
after it touches the limit switch, and the overtravel alarm is issued. This function is usually called
hardware limit.
The parameter setting can specify the safe tool running range, if the tool exceeds the range, the
system stops all the axes moving with overtravel alarm given. This function is called stroke
verification, namely, the software limit.
Fig. 1-7-1
8
GSK990MA CNC System Programming and Operation Manual
2 Part Program Composition
2.1 Program composition
A program is composed by many blocks which are formed by words. The blocks are separated
by the end code (LF for ISO,CR for EIA). In this manual the end code is represented by “;”character.
O00002 N00180
PROGRAM
NAME
PROGRAM
O00002;
N60 X100 Y0;
N120 X0;
N180 G01 X50 Y50 F2000 ;
WORD
EOB CODE
SEQUENCE
NO.
N240 G01 X100 ;
N300 G01 Y100;
N360 G02 X200 R50;
N420 M30;
ADD: Ln:2
S0000 T0100
BLOCK
PROGRAM
END
EDIT
Fig. 2-1-1 Program structure
The set instructions to control the CNC machine tool to machine the parts are called program.
After the program edited is entered into the CNC system, the system controls the tool to move along
straight line, arc or make the spindle run or stop by these instructions. And the instructions should be
edited by the machine actual movement sequence. The program structure is shown in Fig.2-1-1.
2.1.1 Program name
In this system the system memory may store many programs. In order to differentiate these
programs, address O with five figures behind it is headed in the beginning of the program. And it is
shown in Fig. 2-1-1-1.
O
Program number (0~99999, leading 0 negligible
Address O
Fig.2-1-1-1 Program name composition
in inputing )
9
Programming Chapter Two Part Program Compostion
2.1.2 Sequence number and block
A program consisted of many instructions, and an instruction unit is called block (see Fig. 2-1-1).
The blocks are separated by program end code (see Fig. 2-1-1). In this manual the block end code is
represented by character“;”.
Address N with 4 figures sequence number behind it can be used at the beginning of the block
(see Fig. 2-1-1), and the leading zero can be omitted. The sequence of the sequence number
(insertion set by bit parameter No. 0 # 5) can be arbitrary, and the intervals between them can be
inequal (set by Parameter P210). Sequence number can be either in all blocks, or in some important
blocks. But by common machining sequence, the number should be arranged by ascending. That the
sequence number is placed in important part of the program is for convenience. (e.g. in tool changing,
or worktable indexed to a new plane).
2.1.3 Instruction word
Word (Fig. 2-1-3-1) is a factor to block composition. It is formed by an address and figures
behind it (sometimes +, - added before figures)
Fig.2-1-3-1 Word composition
The address is a character from English alphabetic table which defines the meaning of the figure
behind it. In this system, the usable addresses and their meaning as well as value range are shown
as Table2-1-3-1:
Sometimes an address has a different meaning for different preparatory function.
If 2 or more identical addresses appear in an instruction, the alarm for it will be set by parameter
N0. 32#6.
Table 2-1-3-1
Address Range Meaning
O
N
G
X
Y
Z
R
I
J
K
F
S
-99999.999~99999.999(mm)
0.001~9999.999(s)
-99999.999~99999.999(mm)
-99999.999~99999.999(mm)
-99999.999~99999.999(mm)
-99999.999~99999.999(mm)
-99999.999~99999.999(mm)
-99999.999~99999.999(mm)
-99999.999~99999.999(mm)
0~99999
0~99999
00~99
0~99999(mm/min)
0.001~500(mm/r)
0~99999(r/min)
00~04
Program name
Sequence number
Preparatory function
X coordinate address
Dwell time
Y coordinate address
Z coordinate address
Arc radius/angle displacement
R level in canned cycle
vector of arc center to start point in X axis
vector of arc center to start point in Y axis
vector of arc center to start point in Z axis
Feed in a minute
Feed in a revolution
Spindle speed
Multi-gear spindle output
10
GSK990MA CNC System Programming and Operation Manual
Address Range Meaning
T
M
P
Q
H
D
0~9999
00~99
1~99999.9999(ms)
1~99999
-99999.9999~99999.9999(mm)
01~99
00~256
00~256
Tool function
Miscellaneous function output, program
executing process, subprogram calling
Dwell time
Subprogram number calling
Cutting depth or hole bottom offset in
canned cycle
Operator for G65
Length offset number
Radius offset number
Special attention should be paid that the limits in table 2-1-3-1 are all for CNC device, but not for
machine tool. Therefore, programming should be done on a basis of good understanding of the
programming limitation of machine builder manual besides this manual.
Note: each word should not exceed 79 characters.
2.2 General structure of a program
The program is classified for main program and subprogram. Generally, the CNC system is
acutated by the main program. If the main program contains the subprogram call, the CNC system
acts by the subprogram. If the subprogram contains the instruction of returning to main program, the
CNC system returns to the main program to go on execution. The program execution sequence is
shown as Fig.2-2-1.
Fig. 2-2-1
The structure of the subprogram is same as that of the main program.
If there are fixed sequence blocks occurring repeatedly in a program, it can be taken as a
subprogram which can be stored in the memory in advance with no need to be edited repeatedly. So
it can simplify the program. The subprogram can be called in Auto mode, usually by M98 in the main
program. And the subprogram called can also call other subprograms. The subprogram called from
the main program is called the 1
st
level subprogram. 4 levels subprogram at most can be called in a
program (Fig.2-2-2). The last block in the subprogram must be the returning instruction M99. After
M99 execution, the control returns to next block following the block that calls the subprogram in the
main program to go on execution. If the main program end is M99, the program execution can be
repeated.
11
Programming Chapter Two Part Program Compostion
Main program
O00001;
…
…
…
M98 P10000;
…
…
…
…
M30;
Subprogram
O10000;
…
…
…
M98 P20000;
…
…
…
…
M99;
Subprogram
O20000;
…
…
…
M98 P30000;
…
…
…
…
M99;
One-level nesting Two-level nesting
Fig. 2-2-2 Two-level subprogram nesting
A single subprogram call instruction can be continuously and repeatedly used to call a subprogram
up to 9999 times.
2.2.1 Subprogram edit
Write out a subprogram by following format:
Subprogram number
O
;
……
……
Subprogram
……
M99;
Fig. 2-2-1-1
Write out the subprogram number behind the address O at the subprogram beginning, and the
M99 instruction at the subprogram end (M99 format as above).
Subprogram end
2.2.2 Subprogram call
The subprogram is called out for execution by the main program or the subprogram. The
instruction format is as following:
Fig. 2-2-2-1
● If the repeat time is omitted, the default is 1.
Example M98 P1002L5 ;(It means No.1002 subprogram is continuously called for 5
times.)
● Execution sequence of subprogram call from main program
12
GSK990MA CNC System Programming and Operation Manual
Fig. 2-2-2-2
Subprogram call from subprogram are identical with that from main program.
Note 1、Alarm (PS 078) occurs if subprogram number specified by address P is not found.
2、No. 90000~99999 subprograms are the system reserved programs, if they are called,
they can be executed, and can be displayed.
2.2.3 Program end
The program begins with program name, ends with M02, M30 or M99 (see Fig. 2-2-2-2). For the
end code M02,,M30 or M99 detected in program execution: if M02, M30 specifies the end, the program
finishes and reset; and M30 can be set by bit parameter N0.33#4 for returning to the program beginning,
and M02 can be set by bit parameter N0.33#2 for returning to the program beginning. if M99 specifies
the end, the control returns to the program beginning to restart the program; if M99 、M02 and M30 is at
the end of the subprogram, the control returns to the program that calls the subprogram and go on
executing the following block.
13
Programming Chapter Three Programming Fundamentals
3 Programming Fundamentals
3.1 Controlled axis
Table 3-1-1
Item GSK990MA
Basic controlled axes
Extended controlled axes (total) 4 axes
3.2 Axis name
The 3 primary axis names are always X, Y, or Z. And the controlled axes are set by data
parameter P005. The additional axis names are set by data parameter P006 accordingly, such as A,
B, C.
3 axes(X, Y, Z)
3.3 Coordinate system
3.3.1 Machine coordinate system
A special point on machine used as machine benchmark is called machine zero, which is set by
the machine builder. The coordinate system set by machine zero taken as origin is called machine
coordinate system. It is set up by manual machine zero return after power on. Once set, it remains
unchanged till the power off, system reset or emergency stop.
This system uses right-hand Cartesian coordinate system. The motion along spindle is Z axis
motion. Viewed from spindle, the motion of headstock approaching the workpiece is negative Z axis
motion, and departing for positive. The other directions are determined by right-hand Cartesian
coordinate system.
3.3.2 Reference point
There is a special point on CNC machine tool for tool change and coordinate system setup,
which is called reference point. It is a fixed point in machine coordinate system set by machine builder.
By reference point return, the tool can easily move to this position. Generally this point in CNC milling
system coincides with the machine zero, while the reference point of Machine Center is usually the
tool change point.
14
Loading...
+ 295 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.