Chapter 1 Programming
15
Ⅰ
Progra
mming
Character for block skip
Insert “/” in the front of block and startup
when some block cannot be executed (cannot be
deleted), and the system skips the block and executes the next one. The block with “/” in the front of it
is executed if the block skip switch is not started.
Character for end of a program
“%” is an ending character of program. “%” is a mark of communication ended when the program
is transmitted. The system will automatically insert “
%
” at the end of program.
Program annotation
A program annotation has less than 20 characters (10 Chinese characters) for each program,
lies in a bracket following its program name and is expressed only in English and digitals in CNC
system; it can be edited in Chinese in PC and displayed in Chinese in CNC system after being
downloaded.
1.4.2 Main program and subprogram
To simply the programming, when the same or similar machining path and control procedure is
used many times, its program commands are edited to a sole program to call. A program which calls
the program is the main program and the called program (end with M99) is subprogram. They both
take up the program capacity and storage space of system. The subprogram has own name, and can
be called at will by the main program and also can run separately. The system returns to the main
program to continue when the subprogram ends as follows.
Main program
O
0001;
G50 X100 Z100;
M3 S1 T0101;
G0 X0 Z0;
G1 U200 Z200 F200;
M98 P21006;
G0 X100 Z100;
M5 S0 T0100;
M30;
%
O
1006;
G1 X50 Z50;
U100 W200;
U30 W-15 F250;
M99;
%
Subprogram
Call
Return
1.5 Program Run
1.5.1 Sequence of program run
Running the current open program must be in Auto mode. GSK980TDc cannot open two or more
programs at the same, and runs only program any time. When the first block is open, the cursor is
located in the heading of the first block and can be moved in Edit mode. In the run stop state in Auto
Содержание GSK980TDc
Страница 17: ...I Programming ...
Страница 18: ...GSK980TDc Turning CNC System User Manual ...
Страница 190: ...GSK980TDc Turning CNC System User Manual 172 Ⅰ Programming ...
Страница 191: ...Ⅱ Operation Ⅱ Operation ...
Страница 192: ...GSK980TDc Turning CNC System User Manua Ⅱ Operation ...
Страница 217: ...Chapter 1 Operation Mode and Display Interface 197 Ⅱ Operation 2 Data parameter page 3 Common used parameter page ...
Страница 326: ...GSK980TDc Turning CNC System User Manual 306 Ⅱ Operation ...
Страница 327: ...Ⅲ Connection Ⅲ Connection ...
Страница 328: ...GSK980TDc Turning CNC System User Manual Ⅲ Connection ...
Страница 470: ...GSK980TDc Turning CNC System User Manual 448 Ⅲ Connection ...