CNCmakers 1000M Milling CNC Controller User Manual
CNCmakers 1000M Milling CNC Controller User Manual
USER’S MANUAL
C12B-T00N-0101
C KND LTD,2006
CONTENTS
I GENERAL…………………………………………………………………………………… 1-0
1. GENERAL …………………………………………………………………………………… 1 - 1
1.1 GENERAL FLOW OF OPERATION OF CNC MACHINE TOOL …………………… 1 - 1
1.2 NOTES ON READING THIS MANUAL………………………………………………… 1 - 1
II PROGRAMMING ……………………………………………………………………… 1-0
1. GENERAL …………………………………………………………………………………… 1 - 1
1.1 TOOL MOVEMENT ALONG WORKPIECE PARTS FIGURE-INTERPOLATION… 1 - 2
1.2 FEED-FEED FUNCTION………………………………………………………………… 1 - 3
1.3 PART DRAWING AND TOOL MOVEMENT ………………………………………… 1 - 3
1.4 CUTTING FEED─SPINDLE FUNCTION……………………………………………… 1 - 8
1.5 SELECTION OF TOOL USED FOR VARIOUS MACHINING-TOOL FUNCTION… 1 - 8
1.6 COMMAND FOR MACHINE OPERATIONS-MISCELLANEOUS FUNCTION …… 1 - 9
1.7 PROGRAM CONFIGURATION ………………………………………………………… 1 - 9
1.8 TOOL FIGURE AND TOOL MACHINE-TOOL LENGTH COMPENSATION……… 1 - 11
1.9 TOOL MOVEMENT RANGE –STROKE ……………………………………………… 1 - 13
2. CONTROLLED AXES …………………………………………………………………… 2 - 0
2.1 CONTROLLED AXES …………………………………………………………………… 2 - 1
2.2 INCREMENT SYSTEM ………………………………………………………………… 2 - 1
2.3 MAXIMUM STROKE……………………………………………………………………… 2 - 1
3. PREPARATORY FUNCTION (G FUNCTION) ……………………………………… 3 - 0
4. INTERPOLATION FUNCTIONS………………………………………………………… 4 - 0
4.1 POSITIONING (G00) …………………………………………………………………… 4 - 1
4.2 LINEAR INTERPOLATION (G01) ……………………………………………………… 4 - 1
4.3 CIRCULAR INTERPOLATION (G02,G03) …………………………………………… 4 - 2
4.4 HELICAL INTERPOLATION (G02,G03) ……………………………………………… 4 - 6
5. FEED FUNCTIONS………………………………………………………………………… 5 - 0
5.1 GENERAL ………………………………………………………………………………… 5 - 1
5.2 RAPID TRAVERSE ……………………………………………………………………… 5 - 3
5.3 CUTTING FEED ………………………………………………………………………… 5 - 3
5.4 DWELL (G04) …………………………………………………………………………… 5 - 4
6. REFERENCE POSITION ………………………………………………………………… 6 - 0
6.1 REFERENCE POINT RETURN(G28,G29) …………………………………………… 6 - 1
7. COORDINATE SYSTEM ………………………………………………………………… 7 - 1
7.1 WORKPIECE COORDINATE SYSTEM SETTING (G92) …………………………… 7 - 1
7.2 PLANE SELECTION (G17,G18,G19) ………………………………………………… 7 - 3
8. COORDINATE VALUE AND DIMENSION…………………………………………… 8 - 1
8.1 ABSOLUTE AND INCREMENTAL PROGRAMMING (G90, G91) ………………… 8 - 1
8.2 INCH/METRIC CONVERSION (G20,G21) …………………………………………… 8 - 1
8.3 DECIMAL POINT PROGRAMMING …………………………………………………… 8 - 2
9. SPINDLE SPEED FUNCTION (S FUNCTION) …………………………………… 9 - 0
9.1 SPINDLE SPEED COMMAND ………………………………………………………… 9 - 1
9.2 SPINDLE ANOLOG OUTPUT…………………………………………………………… 9 - 1
9.3 AUTOMATIC SHIFTING OF ANALOGUE SPINDLE (HI/LOW GEAR) …………… 9 - 2
10.TOOL FUNCTION (T FUNCTION) …………………………………………………… 10- 1
10.1 CONTROLLING THE UNCLAMPING/CLAMPING OF TOOLS …………………… 10- 2
11. AUXILIARY FUNCTION ………………………………………………………………… 11- 0
11.1 AUXILIARY FUNCTION (M FUNCTION) …………………………………………… 11- 1
11.2 AUXILIARY FUNCTION PARAMETER ……………………………………………… 11- 4
11.3 NOTES ON AUXILIARY FUNCTION ………………………………………………… 11- 5
12. PROGRAM CONFIGURATION ……………………………………………………… 12- 1
12.1 GENERAL ……………………………………………………………………………… 12- 1
12.2 PROGRAM END………………………………………………………………………… 12- 8
12.3 FILE END ……………………………………………………………………………… 12- 9
13. FUNCTIONS TO SIMPLIFY PROGRAMMING …………………………………… 13- 1
13.1 CANNED CYCLE (G73,G74,G76.G80-G89) ………………………………………… 13- 1
14. COMPENSATION FUNCTION………………………………………………………… 14- 1
14.1 TOOL LENGTH COMPENSATION(G43,G44,G49) ………………………………… 14- 1
14.2 CUTTER COMPENSATION B(G39,G40-G42) ……………………………………… 14- 4
14.3 CUTTER COMPENSATION C(G40-G42) …………………………………………… 14-13
14.3.1.CUTTER COMPENSATION FUNCTION …………………………………… 14-13
14.3.2 OFFSET AMOUNT(H code) …………………………………………………… 14-13
14.3.3 OFFSET VECTOR ……………………………………………………………… 14-14
14.3.4 PLANE SELECTION AND VECTOR ………………………………………… 14-14
14.3.5 G40,G41 and G42 …………………… ………………………………………… 14-14
14.3.6 DETAILS OF CUTTER COMPENSATION C ………………………………… 14-17
14.4 OFFSET AMOUNT INPUT BY PROGRAM(G10)…………………………………… 14-49
15. MEASURE FUNCTION ………………………………………………………………… 15- 1
15.1 SKIP FUNCTION (G31)………………………………………………………………… 15- 1
16. WORKPIECE COORDINATE SYSTEM SELECTION ………………………… 16- 1
16.1 WORKPIECE COORDINATE SYSTEM(G54-G59) ………………………………… 16- 1
17. CUSTOM MACRO………………………………………………………………………… 17- 1
17.1 CUSTOM MACRO COMMAND ……………………………………………………… 17- 1
17.2 CUSTOME MACRO BODY …………………………………………………………… 17- 1
17.3 CUSTOM MACRO EXAMPLES ……………………………………………………… 17-12
18. RIGID TAPPING…………………………………………………………………………… 18- 1
18.1 RIGID TAPPING………………………………………………………………………… 18- 1
III OPERATION……………………………………………………………………………… 1-0
1. GENERAL……………………………………………………………………………………… 1 - 1
1.1 MANUAL OPERATION ………………………………………………………………… 1 - 1
1.2 TOOL MOVEMENT BY PROGRAMING-AUTOMATIC OPERATION……………… 1 - 2
1.3 AUTOMATIC OPERATION……………………………………………………………… 1 - 3
1.4 TESTING A PROGRAM ………………………………………………………………… 1 - 4
1.5 PROGRAM EDITING …………………………………………………………………… 1 - 6
1.6 DATA DISPLAY AND SETTING ……………………………………………………… 1 - 7
1.7 DISPLAY ………………………………………………………………………………… 1 - 10
1.8 DATA INPUT/OUTPUT ………………………………………………………………… 1 - 12
2. OPERATOR’S PANEL …………………………………………………………………… 2 - 1
2.1 LCD/MDI PANEL ……………………………………………………………………… 2 - 1
2.2 ADDITIONAL PANEL …………………………………………………………………… 2 - 5
3. POWER ON AND OFF …………………………………………………………………… 3 - 1
3.1 POWER ON ……………………………………………………………………………… 3 - 1
3.2 POWER OFF……………………………………………………………………………… 3 - 1
4. MANUAL OPERATION …………………………………………………………………… 4 - 1
4.1 MANUAL REFERENCE POSITION RETURN………………………………………… 4 - 1
4.2 JOG FEE ………………………………………………………………………………… 4 - 2
4.3 INCREMENTAL FEED…………………………………………………………………… 4 - 4
4.4 HANDLE FEED…………………………………………………………………………… 4 - 5
4.5 MANUAL PROGRAM ZERO RETURN………………………………………………… 4 - 6
4.6 MANUAL ABSOLUTE SWITCH………………………………………………………… 4 - 6
4.7 MANUAL AUXILIARY FUNCTION OPERATION …………………………………… 4 - 9
5. AUTOMATIC OPERATION ……………………………………………………………… 5 - 1
5.1 OPERATION MODE……………………………………………………………………… 5 - 1
5.2 START-UP………………………………………………………………………………… 5 - 4
5.3 AUTO OPERATION EXECUTION……………………………………………………… 5 - 4
5.4 STOP ……………………………………………………………………………………… 5 - 5
6. DRY RUN ……………………………………………………………………………………… 6 - 1
6.1 MACHINE LOCK ………………………………………………………………………… 6 - 1
6.2 AUXILIARY FUCTION LOCK …………………………………………………………… 6 - 1
6.3 FEEDRATE OVERRIDE ………………………………………………………………… 6 - 1
6.4 RAPID TRAVERSE OVERRIDE ……………………………………………………… 6 - 2
6.5 ANALOGUE SPINDLE OVERRIDE …………………………………………………… 6 - 2
6.6 DRY RUN ………………………………………………………………………………… 6 - 3
6.7 SINGLE BLOCK ………………………………………………………………………… 6 - 4
6.8 RESTART AFTER FEEDHOLD OR STOP …………………………………………… 6 - 4
6.9 OPTIONAL BLOCK SKIP ……………………………………………………………… 6 - 5
7. SAFTY OPERATION ……………………………………………………………………… 7 - 1
7.1 EMERGENCY STOP …………………………………………………………………… 7 - 1
7.2 OVERTRAVEL …………………………………………………………………………… 7 - 1
8. 8-1
ALARM …………………………………………………………………………………………
9. PROGRAM STORAGE AND EDITING………………………………………………… 9 - 1
9.1 PREPARATION…………………………………………………………………………… 9 - 1
9.2 PROGRAM STORAGETO MEMORY ………………………………………………… 9 - 1
9.3 FILE INCLUDING MANY PROGRAMS STORED INTO MEMORY ……………… 9 - 2
9.4 PROGRAM SEARCH …………………………………………………………………… 9 - 2
9.5 DELETING PROGRAM ………………………………………………………………… 9 - 3
9.6 ALL DELETING PROGRAMS…………………………………………………………… 9 - 3
9.7 PROGRAM OUTPUT …………………………………………………………………… 9 - 3
9.8 ALL PROGRAMS OUTPUT …………………………………………………………… 9 - 4
9.9 SEQUENCE NUMBER SEARCH ……………………………………………………… 9 - 4
9.10 PROGRAM COMPARATION BETWEEN IN MEMORY AND IN
PROGRAMMER ……………………………………………………………………………… 9 - 5
9.11 INSERTING, ALTERING AND DELETING A WORD ……………………………… 9 - 5
9.12 SEQUENCE NUMBER TO BE INSERTED AUTOMATICALLY…………………… 9 - 11
9.13 NUMBER OF REGISTERED PROGRAMS ………………………………………… 9 - 12
9.14 STORAGE CAPACITY ………………………………………………………………… 9 - 12
10. DATA DISPLAY AND 10- 1
SETTING ………………………………………………………
10.1 OFFSET ………………………………………………………………………………… 10- 1
10.2 SETTING THE SET PARAMETE …………………………………………………… 10- 3
10.3 CUSTOM MACRO VARIABLES DISPLAY AND SETTING ……………………… 10- 5
10.4 PARAMETER …………………………………………………………………………… 10- 6
10.5 PITCH ERROR COMPENSATION DATA …………………………………………… 10- 9
10.6 DIAGNOSE AND PLC PARAMET …………………………………………………… 10- 9
10.7 DISPLAY AND SET MACHINE SOFTWARE OPERATOR’S PANEL …………… 10-10
11. DISPLAY …………………………………………………………………………………… 11- 1
11.1 STATUS INDICATION ………………………………………………………………… 11- 1
11.2 DATA DISPLAYING …………………………………………………………………… 11- 1
11.3 DISPLAYING THE SEQUENCE No. AND THE PROGRAM No. ………………… 11- 1
11.4 DISPLAY PROGRAM MEMORY USUAGE ………………………………………… 11- 2
11.5 DISPLAY THE COMMAND VALUE…………………………………………………… 11- 3
11.6 DISPLAY THE CURRENT POSITION ……………………………………………… 11- 4
11.7 DISPLAY OF RUN TIME AND PARTS COUNT …………………………………… 11- 7
11.8 DISPLAY ALARM ……………………………………………………………………… 11- 7
12. DATA OUTPUT AND FLASH 12- 1
MEMORY ……………………………………………
12.1 DATA OUTPUT ………………………………………………………………………… 12- 1
12.2 FLASH MEMORY ……………………………………………………………………… 12- 2
13. GRAPH FUNCTION ……………………………………………………………………… 13- 1
13.1 GRAPH PARAMETER SETTING …………………………………………………… 13- 2
13.2 GRAPH PARAMETER ………………………………………………………………… 13- 3
13.3 TOOL PATH …………………………………………………………………………… 13- 5
13.4 EXAMPLES ……………………………………………………………………………… 13- 6
14. DESCRIPTION ON DRIVER DEVICE………………………………………………… 14- 1
14.1 UPPER LIMIT OF CUTTING FEED…………………………………………………… 14- 1
14.2 RAPID TRAVERSE RATE SETTING ………………………………………………… 14- 1
14.3 ELECTRIC GEAR RATIO……………………………………………………………… 14- 1
14.4 AC/DECELERATION TIME CONSTANT …………………………………………… 14- 2
14.5 PARAMETER SETTING ……………………………………………………………… 14- 2
14.6 DRIVER ALARM ……………………………………………………………………… 14- 5
15. DESCRIPTION …………………………………………………………………………… 15- 1
15.1 STANDARD PARAMETER SETTING AND MEMORY CLEARING ……………… 15- 1
15.2 NO CHECK ON OVERTRAVEL ……………………………………………………… 15- 1
15.3 BACKLASH COMPENSATION ……………………………………………………… 15- 1
15.4 INPUT SIGNAL FILTER………………………………………………………………… 15- 1
15.5 NOT ENTERED NORMAL SCREEN ………………………………………………… 15- 2
15.6 ROM PARITY ALARM AND RAM CHECK…………………………………………… 15- 2
IV CONNECTION ………………………………………………………………………… 1-0
1. SYSTEM STRUCTURE…………………………………………………………………… 1 - 1
1.1 SYSTEM CONFIGURATION…………………………………………………………… 1 - 1
1.2 INSTALLATION DIMENSION OF CNC CONTROL UNIT…………………………… 1 - 2
1.3 ADDITIONAL OPERATORS PANEL DIMENSION ………………………………… 1 - 3
2. INTERNAL CONNECTION……………………………………………………………… 2 - 1
2.1 SYSTEM INTERNALCONNECTION DIAGRAM……………………………………… 2 - 1
2.2 POWER OUTLET SIGNAL ARRANGEMENT………………………………………… 2 - 3
2.3 CNC MAINBOARD SWITCH DESCRIPTION ………………………………………… 2 - 3
3. EXTERNAL CONNECTION …………………………………………………………… 3 - 1
3.1 SYSTEM EXTERNAL CONNECTION DIAGRAM…………………………………… 3 - 1
3.1.1 CONNECTION DIAGRAM (STEPPER MOTOR) …………………………… 3 - 1
3.1.2 CONNECTION DIAGRAM (DIGIT AC SERVO MOTOR) …………………… 3 - 2
3.2 INTERFACE SIGNAL FROM CNC TO DRIVER……………………………………… 3 - 3
3.2.1 INTERFACE SIGNAL DIAGRAM ……………………………………………… 3 - 3
3.2.2 CONNECTOR SIGNAL LIST …………………………………………………… 3 - 4
3.2.3 SIGNAL DESCRIPTION ………………………………………………………… 3 - 4
3.2.4 DESCRIPTION OF CABLE MAKING ………………………………………… 3 - 8
3.3 RS232-C STANDARD SERIE PORT ………………………………………………… 3 -10
3.4 ANALOGUE SPINDLE INTERFACE CONNECTION………………………………… 3 -10
3.5 CONNECTION OF ADDITIONAL OPERATOR’S PANEL ………………………… 3 -11
3.5.1 SIGNAL LIST OF CONNECTOR (XS56:DB15 PIN MALE) …………… 3 -11
3.5.2 SIGNAL DESCRIPTION ………………………………………………………… 3 -11
3.5.3 SIGNAL CONNECTION DIAGRAMMATIC …………………………………… 3 -12
3.6 SPECIAL OPERATOR’S PANEL ……………………………………………………… 3 -13
3.6.1 CONNECTOR SIGNAL LIST (XS61: DB15M) ………………………………… 3 -13
3.6.2 SIGNAL DESCRIPTION ………………………………………………………… 3 -13
3.7 CONNECTING WITH SPINDLE ENCODER(G93) ……………………………… 3 -14
4. MACHINE TOOL INTERFACE ……………………………………………………… 4 - 1
4.1 DESCRIPTION OF INPUT SIGNAL INTERFACE …………………………………… 4 - 1
4.1.1 DC INPUT SIGNAL A …………………………………………………………… 4 - 1
4.1.2 DC INPUT SIGNAL B …………………………………………………………… 4 - 1
4.2 DESCRIPTION OF OUTPUT SIGNAL INTERFACE ………………………………… 4 - 3
4.2.1 SPECIFICATIONS OF DARLINGTON OUTPUT……………………………… 4 - 3
4.2.2 OUTPUT DRIVER RELAY CIRCUIT …………………………………………… 4 - 4
4.2.3 OUTPUT DIRVER INDICATOR LAMP ………………………………………… 4 - 5
4.3 THE TABLE OF INPUT AND OUTPUT SIGNAL …………………………………… 4 - 6
4.3.1 THE DIAGNOSE TABLE OF INPUT SIGNAL………………………………… 4 - 8
4.3.2 OUTPUT SIGNAL DIAGNOSIS TABLE ……………………………………… 4 - 9
4.3.3 INPUT/OUTPUT SIGNAL ARRANGEMENT BETWEEN SOCKET XS54
AND XS57………………………………………………………………………………… 4 -10
4.4 DESCRIPTION OF INPUT AND OUTPUT SIGNAL ………………………………… 4 -11
4.4.1 INPUT SIGNAL …………………………………………………………………… 4 -11
4.4.2 OUTPUT SIGANL ………………………………………………………………… 4 -14
4.4.3 DESCRIPTION OF M CODE VOLTAGE LEVEL / PULSE OUTPUT ……… 4 -16
V APPENDIX ………………………………………………………………………………… 1-0
APPENDIX1 STORED PITCH ERROR COMPENSATION ………………………………… 1 - 1
APPENDIX2 G FUNCTION TABLE …………………………………………………………… 2 - 1
APPENDIX3 RANGE OF COMMAND VALUE TABLE ……………………………………… 3 - 1
APPENDIX4 BINARY AND DECIMAL CONVERSION……………………………………… 4-1
APPENDIX5 ALARM LIST……………………………………………………………………… 5 - 1
APPENDIX6 STATUS OF POWER-ON AND RESET ……………………………………… 6 - 1
APPENDIX7 PARAMETER LIST ……………………………………………………………… 7 - 1
APPENDIX8 PLC PARAMETER LIST ………………………………………………………… 8 - 1
APPENDIX9 OPERATION TABLE…………………………………………………………… 9 - 1
APPENDIX10 SPECIFICATION TABLE ………………………………………………………… 10- 1
APPENDIX11 CNC STATUS DIAGNOSE MESSAGE………………………………………… 11- 1
APPENDIX12 ADDITIONAL DESCRIPTION FOR K1000M4………………………………… 12- 1
APPENDIX13 COMMUNICATION SOFTWARE DESCRIPTION …………………………… 13- 1
Ⅰ Overview -1(General) 1 - 0
I. Overview
Ⅰ Overview -1(General) 1 - 1
Section I. Overview
1. General
K1000M achieves hi-speed and hi-accuracy control by using a 32-bit processor.
The main board is a 6-layer circuit board, with surface-mounted elements, and customized FPGA,
so that it is highly integrated, the whole unit has a reasonable process structure, high interference
immunity and reliability.
Completely new molded panel in internationally popular color, with elegant appearance.
Super-strong program command processing capability, up to 10000 pieces/18sec, can achieve hi-
speed mini-line cutting.
The system has a port for disk U, through which it is possible to save programs to and fro system
and U disk, and read programs from disk U to carry out cutting. (Under development)
This manual introduces the programming, operation and connection of KND 1000M
CNC system for drilling, boring, milling machines and machining centers.
This manual describes all optional functions of KND 1000M, in “specification list”
under appendices it has also introduced varied functions of the CNC system. Look up the
options incorporated into your system in the manual written by the machine tool builder.
Also look up the manual written by the machine tool builder for the specification,
operation for the operator’s panel.
(1) First, prepare the program from a part drawing for cutting. How to prepare the
program is described in “II. PROGRAMMING”.
(2) The program is to be read into the CNC system. Then, mount the work pieces and
tools on the machine, and operate the tools according to the programming. Finally,
execute the machining actually.
How to operate the CNC system is described in “III. OPERATION”.
Ⅰ Overview -1(General) 1 - 2
MDI/LCD
Part Cutting
system
Disk
function
Option function
1 . . .
N
Interface
CNC basic function
CNC system
From figure above one can see, a CNC system consists of basic function, optional
functions and interfaces, etc., different machines will have different optional functions and
interface designs. Please look up the manual from the machine builder.
(2) As mentioned above, KND 1000 CNC system is a universal system. This manual
provides a general description about various functions of the CNC system. For a machine
designer, in addition to read this manual, he shall also read the connection manual, only in
this way can he understand in an all-sided way the functions of the system. And only
based on above, can he give play to these functions optimally so that the machine tool can
reach its optimal performance. In addition, this manual is only a description about functions,
for a certain function, it is different on different machines, and it’s impossible to present all
examples for concrete use, so please do refer to the manual from the machine builder.
(3) K1000M has the following variations:
K1000MA :Universal 3-axis system, using 7.4″ monochrome LCD.
K1000MB :Universal 3-axis system, using 7.5″ color LCD.
K1000M4A :Universal 4-axis system, using 7.4″ monochrome LCD.
K1000M4B :Universal 4-axis system, using 7.5″ color LCD.
The order cost will be different depending on functions, for details, please refer to
the order list from KND.
(4) This manual is prepared based on system main board version 0012I-W01Z-0106,
and system software version K1000MI0601 05.12.22.
(5) As for the differences of systems with other software versions, please refer to
“Additional Description”.
(6) For additional description for K1000M 4-axis system, refer to “Appendix –12”.
(7) For preparing PLC programs by oneself, please read carefully the PLC User
Ⅰ Overview -1(General) 1 - 3
Manual.
★ Important:
K1000M system is of electronic disk function. After commissioning the machine,
please save current data of the system into the electronic disk. In this way, it is possible to
restore the system rapidly when current data of system is lost and becomes disorder
hence can’t work. As for the operating way please refer to “Operation 12-2”.
ⅡPROGRAMMING-1(GENERAL) 1-0
II PROGRAMMING
ⅡPROGRAMMING-1(GENERAL) 1-1
1
GENERAL
EXPLANATIONS
● Tool movement along a straight line
Program
G01 X_ _ Y_ _ ;
X_ _ ;
Workpiece
Tool
Fig.1.1 (a) Tool movement along a straight line
Program
G03 X_ Y_ R_ ;
Workpiece Tool
The tool moves along straight lines and arcs constituting the workpiece parts is
called the interpolation function.
Symbols of the programmed commands G01, G02, ... are called the preparatory
function and specify the type of interpolation conducted in the control unit.
ⅡPROGRAMMING-1(GENERAL) 1-2
Control unit
F
mm/min Tool
Workpiece
Table
Fig. 1.2 (a) Feed function
Feedrates can be specified by using actual numerics. For example, to feed the tool
at a rate of 150 mm/min, specify the following in program: F150.0
The function of deciding the feed rate is called the feed function (See II-5).
Reference position
Tool
Workpiece
Table
EXPLANATIONS
The tool can be moved to the reference position in two ways:
(1) Manual reference position return
Reference position return is performed by manual button operation.
Y Y
Z Z
Program Y
Z
command workpiece
X X
X
Coordinate system
Part drawing CNC Machine tool
EXPLANATIONS
● Coordinate system
The following two coordinate systems are specified at different locations:
(1) Coordinate system on part drawing
The coordinate system is written on the part drawing. As the program data,
the coordinate values on this coordinate system are used.
(2) Coordinate system specified by the CNC
The coordinate system is prepared on the actual machine tool table. This
can be achieved by programming the distance from the current position of
the tool to the zero point of the coordinate system to be set.
200
Present tool position
The positional relation between these two coordinate systems is determined when
a workpiece is set on the table.
Y Tool
Y
Fig. 1.3.2 (c) Coordinate system specified by CNC and coordinate system on
part drawing
The tool moves on the coordinate system specified by the CNC in accordance with
the command program generated with respect to the coordinate system on the part
drawing, and cuts a workpiece into a shape on the drawing. Therefore, in order to
correctly cut the workpiece as specified on the drawing, the two coordinate systems
must be set at the same position.
ⅡPROGRAMMING-1(GENERAL) 1-5
Fixed distance
Bring the tool center to the workpiece standard point. And set the coordinate
system specified by CNC at this position.
Meet the tool center to the reference position. And set the coordinate system
specified by CNC at this position. (Jig shall be mounted on the predetermined
point from the reference position.)
(3) Mounting a workpiece on a pallet, then mounting the workpiece and pallet on
the jig
pallet
Tool
Z
A (15,60,40)
B (10,30,20)
Y
X
Command specifying movement from point A to point B
G90 X10.0 Y30.0 Z20.0;
Coordinates of point B
• Incremental coordinates
Specify the distance from the previous tool position to the next tool position.
Tool
Z
A 10
30
40
B
Y
X
Command specifying movement from point A to point B
G91 X40.0 Y-30.0 Z-10.0;
Distance and direction for movement along each axis
ⅡPROGRAMMING-1(GENERAL) 1-7
RPM
V (mm/min)
Workpiece
EXAMPLES
Tool number
01
ATC magazine
02
ⅡPROGRAMMING-1(GENERAL) 1-8
EXAMPLES
<When No.01 is assigned to drilling tool>
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 (See II-10)
Spindle rotate
Tool coolant
Workpiece
The function of specifying the on-off operations of the components of the machine
is called the miscellaneous function. In general, the function is specified by an M
code. For example, when M03 is specified, the spindle is rotated clockwise at the
specified spindle speed.
1.7 PROGRAM CONFIGURATION
A group of commands given to the CNC for operating the machine is called the
program. By specifying the commands, the tool is moved along a straight line or an
arc, or the spindle motor is turned on and off. In the program, specify the
commands in the sequence of actual tool movements.
Block
Block
Tool movement
Block
Program
sequence
Block
Block
A group of commands at each step of the sequence is called the block. The
program consists of a group of blocks for a series of machining. The number for
discriminating each block is called the sequence number, and the number for
discriminating each program is called the program number (See II-12).
EXPLANATIONS
• Block
The block and the program have the following configurations.
1 Block
NOOOO GOO XOO.O YOO.O MOO SOO TOO;
N: Sequence number
G: Preparatory function
X, Y: Dimension word
M: Miscellaneous function
S: Spindle function
T: Tool function
; : End of block
Fig. 1.7 (b) Block configuration
A block has a sequence number at its head, which identifies the block, and an
end-of-block code at the end, indicating the end of the block. This manual indicates
the end-of-block code by ;.
• Program
Normally, a program number is specified after the end-of-block (;) code at the
beginning of the program, and a program end code (M02 or M30) is specified at the
end of the program.
;
O□□□□; Program number
Block
Block
Block
O1001
program for
M98P1001
pole #1
M99
M98P1002
subprogram#2
M98P1001 O1002 program for
pole#2
M99
Pole #1 Pole #1
Pole #2Pole #2
H2 H3
H1 H4
Workpiece
ⅡPROGRAMMING-1(GENERAL) 1-11
Tool
Workpiece
If radius of cutters are stored in the CNC (Data Display and Setting: see III-11), the
tool can be moved by cutter radius apart from the machining part figure. This
function is called cutter compensation.
ⅡPROGRAMMING-1(GENERAL) 1-12
Table
motor
Reference position
Besides strokes defined with limit switches, the operator can define an area which
the tool cannot enter using a program or data in memory (see III-11). This function
is called stroke check.
ⅡPROGRAMMING-2 (CONTROLLED AXES) 2-0
2 CONTROLLED AXES
Combined use of the inch system and the metric system is not allowed.
There are functions that cannot be used between axes with different unit
systems (circular interpolation, cutter compensation, etc.). For the
increment system, see the machine tool builder’s manual.
Type Meaning
The G code is effective only in the block in which it
One-shot G code is specified.
The G code is effective until another G code of the
Modal G code
same group is specified.
Example:
G01 and G00 are modal G codes in group 01.
G01X _;
Z _; G01 is effective in this range.
X _;
G00 Z_;
Explanations
1. Modal G codes have the following initial conditions when the power is turned on
or the system is reset to the clear state (bit 6 of parameter No. 045).
1) Those G codes marked* in Table 3 are specified automatically.
2) G20 and G21 retain their original conditions.
3) G00 or G01 is automatically selected according to parameter setting.
3. If a G code that does not appear in the G code list is specified, or a G code
whose options are not supported is specified, alarm No. 010 is displayed.
5. If any G code of group 01 is specified in a canned cycle mode, the canned cycle
is automatically cancelled and the G80 condition is entered. However, a G code
of group 01 is not affected by any of the canned cycle G codes.
6. A G code is displayed from each group.
Ⅱ PROGRAMMING-3(PREPARATORY FUNCTION) 3 -1
4 INTERPOLATION FUNCTIONS
on linear position
End position
NOTE:
1 The rapid traverse rate in the G00 command is set by the parameter No. 038 to 040
for each axis independently by the machine tool builder. The rapid traverse rate
cannot be specified in the address F. Feed rate specified by address F is valid.
2 The above parameter is in 3-axis NC system. When 4-axis is selected, parameter
number is in APPENDIX 7 note2 and 3. Parameter number without special
description in this manual is in 3-axis CNC system.
Explanations
A tools move along a line to the specified position at the feedrate specified in F. The
feedrate specified in F is effective until a new value is specified. It need not be
specified for each block. It is set by the parameter of No.65. The feedrate commanded
ⅡPROGRAMMING-4(INTERPOLATION FUNCTIONS) 4 - 1
by the F code is measured along the tool path. If the F code is not commanded, the
feedrate is regarded as zero. The feedrate of each axis direction is as follows.
G01 Xα Yβ Zγ F f
α
Feed rate of X-axis direction: Fx = × f
L
β
Feed rate of Y-axis direction: FY = ×f
L
γ
Feed rate of Z-axis direction: Fz = ×f
L
L = α 2 + β2 + γ 2
Examples:
• Linear interpolation
G91 G01 X200.0 Y100.0 F200.0
Y
End position
100.0
0 X
start position 200.0
Command Description
G17 Specification of arc on XY plane
G18 Specification of arc on ZX plane
G19 Specification of arc on ZY plane
G02 Circular Interpolation Clockwise direction (CW)
G03 Circular Interpolation Counterclockwise direction (CCW)
X_ Command values of X axis or its parallel axis
Y_ Command values of Y axis or its parallel axis
Z_ Command values of Z axis or its parallel axis
I_ X axis distance from the start point to the center of an arc with sign
J_ Y axis distance from the start point to the center of an arc with sign
K_ Z axis distance from the start point to the center of an arc with sign
R_ Arc radius with sign fixed to radius designation.
F_ Feedrate along the arc
Explanations
Y X Z
center J I K
center center
I K J
I0, J0, and K0 can be omitted. When X, Y, and Z are omitted (the end point is the
same as the start point) and the center is specified with I, J and K, a 360°arc
(circle) is specified. G02I; Command for a circle
•Arc radius
The distance between an arc and the center of a circle that contains the arc can
be specified using the radius, R, of the circle instead of I, J, and K. In this case,
one arc is less than 180°, and the other is more than 180°are considered. When
an arc exceeding 180 ° is commanded, the radius must be specified with a
negative value. If X, Y, and Z are all omitted, if the end point is located at the same
position as the start point and when R is used, an arc of 0°is programmed G02R ;
(The cutter does not move.)
EXAMPLE:
For arc (1) (less than 180°)
G91 G02 XP60.0 YP20.0 R50.0 F300.0;
For arc (2) (greater than 180°
G91 G02 XP60.0 YP20.0 R-50.0 F300.0;
R=50
End point
2
Start point R=50
ⅡPROGRAMMING-4(INTERPOLATION FUNCTIONS) 4 - 4
•Feedrate
The feedrate in circular interpolation is equal to the feed rate specified by the F
code, and the feedrate along the arc (the tangential feedrate of the arc) is
controlled to be the specified feedrate. The error between the specified feedrate
and the actual tool feedrate is ±2% or less. However, this feed rate is measured
along the arc after the cutter compensation is applied.
•Restrictions
If I, J, K and R addresses are specified simultaneously, the arc specified by
address R takes precedence and the other are ignored. If an axis not comprising
the specified plane is commanded, an alarm is displayed. When an arc having a
center angle close to 180° is specified using its radius R, the system may fail to
calculate the center of the arc correctly. Therefore, specify the arc with I, J and K.
EXAMPLES:
Y
100
R50
60
R60
40
Note:
1、 In circular interpolation,the I0, J0, or K0 can be omitted.
2、 By omitting X, Y and Z , when the end of an arc si equal to the start point, and
commanding an arc center by I, J and K, an arc of 360°(a complete circle) is
programmed.
G02 I_ ; (A complete circle)
In radius programming, an arc of 0°is programmed. Namely, the cutter does
not move.
G02 R_ ; (no movement)
3、 The error between the specified feed rate and the actual cutter feed rate is ±2%
or less. In cutter radius compensation, the actual cutter feed rate is measured on
the cutter center path.
4、 If the address I,J,K and R are specified in the same block, the arc specified by
address R is effective and the others are ignored.
5、 If an additional axis is specified in the commanded plane, an alarm is displayed.
G17 G02/G03 X_ Y_ R_ Z_ F_ ;
G17 :Specification of arc on XY plane, G18 or G19 can be selected
G02/G03 : :rotation direction
X_ Y_ : :end point position
R_ : :radius of arc center
Z_ : :end point position of the additional axis
F_ : :feed rate
Ⅱ PROGRAMMING-5(FEED FUNCTION) 5-0 5-0
5 FEED FUNCTION
5.1 GENERAL
The feed functions control the feedrate of the tool. The following two feed functions
are available:
•Feed functions
1. Rapid traverse
When the positioning command (G00) is specified, the tool moves at a rapid
traverse feedrate set in the CNC (parameter No. 038 to 040).
2. Cutting feed
The tool moves at a programmed cutting feedrate.
•Override
Override can be applied to a rapid traverse rate or cutting feedrate using the switch
on the machine operator’s panel.
acceleration/
Pulse distribution driver control
CNC deceleration
stepper motor
(interpolation) acceleration/
command driver control
deceleration
Ⅱ PROGRAMMING-5(FEED FUNCTION) 5-1 5-1
feedrate
interpolation
acceleration/deceleration
time
time
TR TR
time
TC TC
X Programmed path
Tool path
If the dwell command is inserted, the actual tool path matches the programmed
path. The faster the feedrate and the larger the acceleration/deceleration time
constant, the larger the error at the corner. In circular interpolation, the actual arc
radius is smaller than that of the programmed arc. This error can be minimized by
making the acceleration/deceleration time constant of feedrate small.
NOTE:
The following chart shows feedrate changes between blocks of information
specifying different types of movement.
previous block
Positioning Feed Not moving
Next block
Positioning × × ×
Feed × ○ ×
Not moving × × ×
×: The next block is executed after commanded rate has decreased to zero.
○: The next block is executed sequentially so that the feedrate is not changed by
very much.
EXPLANATIONS
•Tangential speed constant control
Cutting feed is controlled so that the tangential feedrate is always set at a specified
feedrate.
X
X Start point
FZ
F End point FX F
FX End point
FZ
Z
Start point Z
Linear interpolation Arc interpolation
Tangential feedrate (F)
F: tangential feedrate F = FX 2 + FZ 2
FX: X-axis feedrate
FZ: Z-axis feedrate
• Feedrate override
Feedrate can be overridden by a switch located on operator’s panel, from 0 to
150% (step 10%).
EXPLANATIONS
By specifying a dwell, the execution of the next block is delayed by the specified
time. When neither P nor X is specified, exact stop is performed.
0.001 to 99999.999s s
1 to 99999999 0.001s
Ⅱ PROGRAMMING-6(REFERANCE POSITION) 6-0 6-0
6 REFERENCE POSITION
6.General
•REFERENCE POSITION
The reference position is a fixed position on a machine tool to which the tool can
easily be moved by the reference position return function. For example, the
reference position is used as a position at which tools are automatically changed.
Up to two reference positions can be specified by setting coordinates in the
machine coordinate system in parameters. The first reference position must be the
machine zero point.
workpiece
Reference position
B intermediate
EXPLANATION
RESTRICTIONS
•Status the machine lock being turned on
The lamp for indicating the completion of return does not go on when the machine
lock is turned on, even when the tool has automatically returned to the reference
position. In this case, it is not checked whether the tool has returned to the
reference position even when a G27 command is specified.
•First return to the reference position after power on (without an absolute position
detector)
When the G28 command is specified when manual return to the reference position
has not been performed after the power has been turned on, the movement from
the intermediate point is the same as in manual return to the reference position. In
this case, the tool moves in the direction for reference position return specified in
parameter ( No. 006 ZMX ZMY ZMZ). Therefore the specified intermediate position
must be a position to which reference position return is possible.
EXAMPLES
G28G90X1000.0Y500.0 ; (Programs movement from A to B)
T1111 ; (Changing the tool at the reference position)
G29X1300.0Y200.0 ; (Programs movement from B to C)
Ⅱ PROGRAMMING-6(REFERANCE POSITION) 6-3 6-3
700 B
Intermediate position
500
A
300 C
7. COORDINATE SYSTEM
By teaching the CNC a desired tool position, the tool can be moved to the position.
Such a tool position is represented by coordinates in a coordinate system.
Coordinates are specified using program axes.
When three program axes, the X-axis, Y-axis, and Z-axis, are used, coordinates
are specified as follows:
X_Y_Z__
This command is referred to as a dimension word
Z
20.0
Y
30.0
40.0
. X
Tool Position Specified by X40.0Y50.0Z25.0
performed.
EXPLANATIONS
A workpiece coordinate system is set so that a point on the tool, such as the tool
tip, is at specified coordinates. If a coordinate system is set using G92 during tool
length offset, a coordinate system in which the position before offset matches the
position specified in G92 is set. Cutter compensation is cancelled temporarily with
G92.
Example:
If setting the value of parameter № .076 ~ 078 α、β、γ , then reference zero
return, the tool base-point coordinate is X=α,Y=β,Z=γ. Work coordinate is set.
We can auomatic set work coordinate using the commanding G92.
G92 _ IP
Z tool
X
25.3
G92 X25.3 Z23.0 *
Ⅱ PROGRAMMING-7(COORDINATE SYSTEM) 7-3
EXPLANATIONS
Plane selected by G code
Selected
G code X Y Z
plane
G17 X Y plane y-axis or an z-axis or an
X-axis or an
G18 Z X plane axis parallel to axis parallel to
axis parallel to it
G19 Y Z plane it it
X, Y, Z are determined by the axis address appeared in the block in which G17,
G18 or G19 is commanded. When an axis address is omitted in G17, G18 or G19
block, it is assumed that the addresses of basic three axes are omitted.The plane
is unchanged in the block in which G17, G18 or G19 is not commanded.
EXAMPLES
G17 X_Y_; XY plane,
G18 X_Z_ ; ZX plane
X_Y_; Plane is unchanged (ZX plane)
G17 XY plane
G18 ZX plane
G18 Y_ ; ZX plane, Y axis moves regardless without any relation to the
plane.
NOTE:
When the system is turned on or placed in the clear state by a reset, G17, G18 or
G19 is selected according to the setting parameter.
Ⅱ PROGRAMMING-8(COORDINATE AND DIMENSION) 8 - 1
FORMAT
G90 IP _ ; Absolute command
G91 IP_ ; Incremental command
EXAMPLES
Y
End point
70.0
X
40.0 100.0
G90 X40.0 Y70.0 ; Absolute command
G91 X-60.0 Y40.0 ; Incremental command
WARNING
1 G20 and G21 must not be switched during a program.
2 When switching inch input (G20) to metric input (G21) and vice versa, the
tool compensation value must be reset according to the least input
increment.
NOTE
1 When the least input increment and the least command increment systems
are different, the maximum error is half of the least command increment.
This error is not accumulated.
2 The inch and metric input can also be switched using settings.
EXAMPLES:
Pocket calculator type Standard type
Program command decimal point decimal point
programming programming
1mm
X1000
1000mm Unit : Least input
Command value without
Unit : mm increment (0.001
decimal point
mm)
X1000.0
1000mm 1000mm
Command value with decimal
Unit : mm Unit : mm
point
NOTE
1 In the dwell command, decimal point can be used with address X but not with
address P.(This is because P is also used for a sequence number.)
3 There is great difference in values with and without the decimal point.
G21; (millimeter dimensions)
X1. X 1mm
X1 X 0.001mm
G20; (inch dimensions)
X1. X 1inch
X1 X 0.0001inch
6 When more than eight digits are specified, an alarm occurs. If a value is entered
with a decimal point, the number of digits is also checked after the value is
converted to an integer according to the least input increment.
Examples:
X1.23456789; Alarm 003 occurs because more than eight digits are specified.
X123456.7; If the least input increment is 0.001 mm, the value is converted to
integer 123456700. Because the integer has more than eight
digits, an alarm occurs.
SPECIAL EXAMPLE:
1 Though F100.=F100, when parameter POD=1, a decimal point is
necessary.(F100.)
Ⅱ PROGRAMMING-8(COORDINATE AND DIMENSION) 8 - 4
2 Address Q can specify with the decimal point, when macro variables DO=1, 1. or
0.01 must be specified in address Q. If the low eight-bit of macro variables #1132
are 1: G65 H01 #1132 Q0.255
Ⅱ PROGRAMMING-9(SPINDLE SPEED FUNCTION) 9 - 0
Setting time
Note:
When more than S code is specified, an alarm occurs and execution stops.
02:S code error
A 2-digit S code is effective, if a 4-digit S code is specified, the last 2-digit is
effective.
S code setting time’s parameter (see 11.2)
9.2 SPECIFYING THE SPINDLE SPEED VALUE DIRECTLY
(S4-DIGIT COMMAND)
The spindle speed can be specified directly by address S followed by a four-digit
value (rpm). The unit for specifying the spindle speed may vary depending on the
machine tool builder. Refer to the appropriate manual provided by the machine
tool builder for details.
Ⅱ PROGRAMMING-9(SPINDLE SPEED FUNCTION) 9 - 1
NOTE:
1 Rotational speed specified by parameter is not spindle motor rotational speed but
spindle speed. Spindle analogue voltage is determined by spindle shift inside CNC.
2 If mode shifts between manual and non- manual, spindle speed will change during
rotation.
3 Standard parameter setting: P061=100 P062=50
4 JOG mode includes jog feed, handle/step or zero return mode(machine or program
zero return).
When the analogue spindle rotates at high gear, and the newly specified speed is
lower than the lowest speed of the high gear of the spindle, it will automatically shift
from high gear to low gear. The shifting procedure is same with above mentioned.
NOTE:
When the parameter setting P056≤P058, the system has no automatic shifting
function, it will output in speed set by P056.
ⅡPROGRAMMING-10(TOOL FUNCTION) 10 - 1
11 AUXILIARY FUNCTION
EXAMPLES:
N1 G91 G01 X50.0 Y-50.0 M05 ;(spindle stop)
Y Th e com m ands of m otion and
spind le stop execu te sim ultan eously.
50
50
X
M11 :unclamp
M32 :lubricant on
M33 :lubricant off
M00 :program stop
M30 :end of program
M code’s execution time can be set by diagnose №208 except M00 and M30.
Setting value: 0~255 (128ms~32.640s)
Setting time=setting value×128 ms
Setting time
M code execution start Next block execution start
Spindle CW/CCW
Stop command T1
Interlock signal
Spindle stop T2
Spindle brake
T3
T1: When spindle stop command (automatic or jog) sends as it is rotating, axes
interlock signal is effective at first, spindle stop signal is sent after delaying T1.
(see diagnose №214.)
T2: the delay time from sending spindle stop signal to spindle brake signal is set
by diagnose №215/216.
T3: spindle brake time is set by diagnose №217/218.
NOTE:
1. Other M code expect mentioned is specified in program, an alarm occurs and
execution stops.
01: M code error.
2. M code will be held from beginning, even if mode changed, it can’t be cancelled
in jog mode. “RESET’ is on, M code will be disabled.
Ⅱ PROGRAMMING-11(AUXILIARY FUNCTION) 11 - 2
EXPLANATIONS
The following M codes have special meaning.
(1) M30
① This indicates the end of the main program.
② Automatic operation is stopped and the CNC unit is reset.
③ After a block specifying the end of the program is executed, control
returns to the start of the program.
④ The number of workpiece will increase one.
(2) M00
① Automatic operation is stopped after a block containing M00 is
executed.
② When the program is stopped, all existing modal information remains
unchanged as in single block operation.
③ The automatic operation can be restarted by actuating the cycle
operation.
(3) M98
① This code is used to call a subprogram.
② See the subprogram section Ⅱ-12 for details .
NOTE:
1 The block following M00 and M30, is not read into the input buffer register,
2 The code and strobe signals are not sent when M98 and M99 is actuating.
External buzzer output signal:
1 When gear shift or tool exchange in manual mode is set by parameter, a
block including S code or T code actuates in automatic mode, external
buzzer output signal will be sent automatically.
T
T 4T
after advance command finishing, press “CAN” key, external buzzer output
signal stop. If “cycle start” is pressed, the next block will be executed
continuously.
Parameter 012.5 = 0/1 :S code auto/manual execution.
Parameter 012.6 = 0/1 :T code auto/manual execution
.
2 External buzzer output signal will be sent automatically when an alarm
occurs.
T T
T
Ⅱ PROGRAMMING-11(AUXILIARY FUNCTION) 11 - 3
Canceling the alarm or pressing “CAN” key external buzzer output stops. T
is set by diagnose №219.
SETTING METHOD
(1) Setting
(A) Open program protection
(B) Select the MDI mode.
(C) Press the function button [DGNOS] to display the diagnose parameter
screen.
(D) Move the cursor to the item to be changed.
(E) Input a binary data and press the key INPUT, the data will be changed .
№214: Delay time T1 from spindle stop command sending to spindle stop signal
sending
setting unit: 16ms
setting code: 0~255
setting value: №214 x 16ms
setting field: 0~4.096s
№215,216: Delay time from spindle stop signal sending to spindle brake signal
sending
setting unit: 16ms
setting code: 0~65535
Ⅱ PROGRAMMING-11(AUXILIARY FUNCTION) 11 - 4
12 PROGRAM CONFIGRATION
12.1 General
12.1.1 Main program and subprogram
There are two program types, main program and subprogram. Normally, the
CNC operates according to the main program. However, when a command
calling a subprogram is encountered in the main program, control is passed to
the subprogram. When a command specifying a return to the main program is
encountered in a subprogram, control is returned to the main program.
Instruction 1 Instruction 1
Instruction 2 Instruction 2
...
... ...
... ...
Follow the direction of ...
the subprogram
Instruction N
...
... Return to main
... program
(2) SUBPROGRAM
If a program contains a fixed sequence or frequently repeated pattern, such a
sequence or pattern can be stored as a subprogram in memory to simplify the
program. A subprogram can be called from the main program. A called
subprogram can also call another subprogram.
Ⅱ PROGRAMMING-12(PROGRAM CONFIGRATION) 12 - 2
FORMAT
● Subprogram configuration
O ; subprogram number (or the colon (:) optionally in the case of ISO)
.................
....................
................
...
...
... subprogram
...................
.......... .;
M99 ; Subprogram end M99 need not constitute a separate block as
indicated below.
NOTE:
For compatibility with other devices, ‘Nxxxx’ is also used as a subprogram number
instead of O(:).
● Subprogram Execution
A subprogram is executed when called by the main program or another
subprogram.
A subprogram call has the following format:
Ⅱ PROGRAMMING-12(PROGRAM CONFIGRATION) 12 - 3
Subprogram number
EXAMPLES:
★ M98 P51002 ;
This command specifies “Call the subprogram (number 1002) five times in
succession.” A subprogram call command (M98P_) can be specified in the
same block as a move command.
NOTE:
1 If the subprogram number specified by address P can not be found, alarm PS
078 is generated.
2 The subprogram call command ‘M98_;’ can not be input from the MDI. In this
case, prepare the main program in EDIT mode as follows:
Oxxxx;
M98Pxxxx;
M02;
Then execute it in the memory mode.
Ⅱ PROGRAMMING-12(PROGRAM CONFIGRATION) 12 - 4
2) If M99 is executed in a main program, control returns to the start of the main
program. For example, M99 can be executed by placing /M99 ; at an
appropriate location of the main program and setting the optional block skip
function to off when executing the main program. When M99 is executed,
control returns to the start of the main program, then execution is repeated
starting at the head of the main program. Execution is repeated while the
optional block skip function is set to off. If the optional block skip function is set
to on, the /M99 ; block is skipped ; control is passed to the next block for
continued execution.
If/M99Pn ; is specified, control returns not to the start of the main program, but to
sequence number n. In this case, a longer time is required to return to sequence
number n.
Main program
N0010……..…;
N0020……..…;
N0030……..…;
N0040……..…;
Optional block N0050……..…;
skip OFF N0060……..…;
Optional
/N0070 M99 P0030;
block
N0080……..…;
skip ON
N0090 M02;
Ⅱ PROGRAMMING-12(PROGRAM CONFIGRATION) 12 - 5
Sequence numbers can be specified in a random order, and any numbers can be
skipped.
Sequence numbers may be specified for all blocks or only for desired blocks of the
program. In general, however, it is convenient to assign sequence numbers in
ascending order in phase with the machining steps (for example, when a new tool
is used by tool replacement, and machining proceeds to a new surface with table
indexing.)
NOTE:
Program number 0 cannot be used. So“0”must not be used for a sequence
number regarded as a program number.
Programs held in memory can be output, regardless of how the optional block skip
switches are set.
Optional block skip is effective even during sequence number search operation.
The following range is ignored when the optional block skip switch is ON.
NOTES:
(1) A slash (/) must be specified at the head of a block. If a slash is placed
elsewhere, the information from the slash to immediately before the EOB code
is ignored.
(2) Optional block skip operation is processed when blocks are read from memory
into a buffer. Even if a switch is set to on after blocks are read into a buffer, the
blocks already read are not ignored.
(4) When storing the program in memory, this function is ineffective. A block with a
slash (/) is also stored in the memory regardless of the position of the
OPTIONAL BLOCK SKIP switch.
(5) When output the program from memory, the program is output regardless of
the position of the OPTIONAL BLOCK SKIP switch.
NOTE:
In ISO code, the colon ( : ) can also be used as the address of a program number.
If an attempt is made to execute % when M30 is not placed at the end of the
program, and the reset state is set to CNC.
program, the user should carefully read the manuals of the machine tool as well
as this manual to be familiar with the restrictions on programming.
Designation of a
program number P 1~9999 1~9999
Repetition count
If one of the program end codes is executed in program execution, the CNC
terminates the execution of the program, and the reset state is set. If M30CR or
M30LF is at the end of the program, the program will return its beginning(in AUTO
mode).
When the subprogram end code is executed, control returns to the program that
called the subprogram.
NOTE:
If M30 is not at the end of the program, and ER(EIA) or %(ISO) is about to be
executed, the NC will enter a reset status.
Ⅱ PROGRAMMING-13(FUNCTIONS TO SIMPLIFY PROGRAMMING) 13 - 1
Explanations
A canned cycle consists of a sequence of six operations (Fig. 13.1 (a))
Operation 1— Positioning of axes X and Y (including also another axis)
Ⅱ PROGRAMMING-13(FUNCTIONS TO SIMPLIFY PROGRAMMING) 13 - 2
Operation ①
Initial point level
Operation ②
Operation ⑥
R point level
Operation ③ Operation ⑤
Z point
Operation ④
Fig. 13.1 (a) Canned cycle operation sequence
3) Drilling mode
G73, G74, G76, G80~89
NOTE:
The initial level means the absolute value of the Z-axis at the time of changing
from the canned cycle cancel mode into the canned cycle mode.
(A) The travel distance along the drilling axis varies for G90 and G91 as follows:
Ⅱ PROGRAMMING-13(FUNCTIONS TO SIMPLIFY PROGRAMMING) 13 - 3
G90 G91
Z=0
R
R
Point R Point R
Z
Point Z Point Z
Absolute mode Incremental mode
R point level
Because the hole machining mode (G00), if once specified, does not change until
other hole machining mode is specified or until the canned cycle canceling G code
is specified, it is not required to specify the hole machining mode in each block to
execute the same hole machining. The canned cycle canceling G codes are G80
and G codes in the 01 group.
The hole machining data, once specified, remains unchanged until the data is
altered or the canned cycle is cancelled. Accordingly, specify all the required hole
Ⅱ PROGRAMMING-13(FUNCTIONS TO SIMPLIFY PROGRAMMING) 13 - 5
machining data when starting the hole machining and specify the altered data, if
necessary, during canned cycle.
NOTE:
1 The cutting feed specified by F code is always valid regardless of canceling the
canned cycle.
2 When press the “RESET” key in canned cycle, all commanded data will be
erased.
EXAMPLES:
Sequence specified data description
① G00 X-M3 ;
② G81 X- Y- Z- R- F-; Initial data of canned cycle parameter “Z,R,F” must
be specified.
③ Y-; As drilling mode and drilling data are same as in
program②, G81 Z,R and F can be neglected. After
the positioning motion specified by the address Y,
the drilling is executed by G81mode.
④ G82 X- P-; After the positioning motion specified by the
address X, the drilling is executed by G82 mode.
At this time, the drilling data used are as follows.
Z,R and F …….specified in the block ②
P……………… specified in the block ④
Initial level
Point R Point R
q q
d d
q q
q q
Point Z
Point Z
Ⅱ PROGRAMMING-13(FUNCTIONS TO SIMPLIFY PROGRAMMING) 13 - 7
The “d” value is set by a parameter (№.049/058). Highly efficient hole machining
can be performed, making removal of chips easier and keeping relief motions to a
minimum. The relief motion is effected at the rapid traverse rate.
Initial level
Point R Point R
Spindle CW Spindle CW
Point Z
P P Point Z
This command specifies the spindle to rotate clockwise at the hole bottom, and
then a left-handed tapping cycle to be performed.
NOTE:
During tapping by G74, feed rate override is ignored and the motion doesn’t stop
until completion of the cycle even if the feed hold is effected.
Spindle CW Spindle CW
Initial level
Point R Point R
Spindle Spindle
orientation orientation
q q
Point Z
Point Z
P Dwell P dwell
tool
When the bottom of the hole has been
Spindle orientation
reached, the spindle is stopped at the fixed
rotation position, and the tool is moved in
the direction opposite to the tool tip and
retracted. This ensures that the machined
surface is not damaged and enables
precise and efficient boring to be
performed.
Shift amount q
NOTE:
Be sure to specify a positive value in Q. If Q is specified with a negative value, the
sign is ignored. Set the direction of shift in parameter №.005 PMXY . Q (shift at the
bottom of a hole) is a modal value retained within canned cycles. It must be
specified carefully because it is also used as the depth of cut for G73 and G83.
Initial level
Point R Point R
Point Z
Point Z
Ⅱ PROGRAMMING-13(FUNCTIONS TO SIMPLIFY PROGRAMMING) 13 - 9
Initial level
Point R Point R
P Dwell
P Point Z
Dwell Point Z
This command is equal to G81 except that the tool moves up after dwell is
performed at the bottom (specifies the dwell time with an address P). Since dwell
is performed at the bottom of the hole, the precision of the hole depth is improved.
Initial level
Point R Point R
q q
q q
q d q d
Point Z Point Z
Ⅱ PROGRAMMING-13(FUNCTIONS TO SIMPLIFY PROGRAMMING) 13 - 10
G83 X- Y- Z- Q- R- F-;
Q represents the depth of cut for each cutting feed. It must always be specified as
an incremental value. In the second and subsequent cutting feeds, rapid traverse
changes to cutting feed at the distance “d” mm above the position where the
immediately proceeding cut ended. Specify the amount of retraction in parameter
№.050/059. Be sure to specify a positive value in Q. Negative values are ignored.
Initial level
Spindle CW Spindle CW
Point R P dwell Point Z P Dwell
P Dwell P Dwell
Spindle CCW Spindle CCW
Point Z Point Z
This command specifies that the spindle rotates in the counterclockwise direction at
the hole bottom, and a tapping cycle is performed.
NOTE:
Feedrate overrides are ignored during tapping. A feed hold does not stop the
machine until the return operation is completed.
Ⅱ PROGRAMMING-13(FUNCTIONS TO SIMPLIFY PROGRAMMING) 13 - 11
Initial level
Point R Point R
Point Z
Point Z
This command is equal to G84 except that the spindle does not reverse at the hole
bottom.
(10) G86 Boring Cycle
Spindle CW
Initial level
Initial level
Spindle CW
Point R R点
Point Z Point Z
This command is equal to G81 except that the spindle stops at the hole bottom,
and returns in rapid traverse.
Ⅱ PROGRAMMING-13(FUNCTIONS TO SIMPLIFY PROGRAMMING) 13 - 12
Spindle CW
Spindle orientation
Point Z
Spindle CW
q
Point R
Shift(rapid traverse)
After positioning along the X- and Y-axes, the spindle is stopped at the fixed
rotation position. The tool is moved in the direction opposite to the tool tip,
positioning (rapid traverse) is performed to the bottom of the hole (point R). The tool
is then shifted in the direction of the tool tip and the spindle is rotated clockwise.
Boring is performed in the positive direction along the Z-axis until point Z is reached.
At point Z, the spindle is stopped at the fixed rotation position again, the tool is
shifted in the direction opposite to the tool tip, then the tool is returned to the initial
level. The tool is then shifted in the direction of the tool tip and the spindle is rotated
clockwise to proceed to the next block operation.
For details of the shift amount and direction, refer to the explanation of the canned
cycle G76.
Ⅱ PROGRAMMING-13(FUNCTIONS TO SIMPLIFY PROGRAMMING) 13 - 13
Spindle CW
Spindle CW
Point R
Manual feed Point R
Manual feed
P Spindle stop P Spindle stop
When boring is completed, a dwell is performed, then the spindle is stopped. The
tool is manually retracted from the bottom of the hole (point Z) to point R. At point R,
the spindle is rotated clockwise, and rapid traverse is performed to the initial level.
(13)G89 Boring Cycle
Initial level
Point R Point R
This command is equal to G85 expect that dwell is made at the hole bottom.
G□□…… ; Correct
:
M05 ; Spindle stop
:
G□□……; Incorrect (M03 or M04 must have been specified before this
block.)
2 In the canned cycle mode, if one of the position data in X,Y,Z,R axis is specified
in the block, the drilling operation can be performed. However, when they are not
specified, it is not performed. When the dwell command (G04 X _;) is
programmed, the drilling operation is not performed.
G00 X-;
G81 X__ Y__ Z__ R__ F__ K__ ;
; (No drilling)
F-; (No drilling, F code is updated)
M-; (No drilling, M function is performed)
G04 P-; (No drilling, drilling data P is not updated by this command)
3 Specify Q and R in blocks that perform drilling, that is to say, Q and R can be
specified in a block including the address X,Y,Z or R. If they are specified in a
block that does not perform drilling, they cannot be stored as modal data.
4 In a canned cycle which controls spindle motion, for example G74,G84, G86, it
may sometimes occurs, because drilling is performed continuously under such
conditions that the interval between two holes is short and the distance from
initial point level to R point level is short, that the aimed rotation speed of the
spindle is not attained before the next drilling begins. In such case, some period
of time should be inserted between two drilling operations by specifying a G04
(dwell).
EXAMPLES:
Provide here dwell time enough for the
spindle to revolve normally
G00 M__ ;
G86 X__ Y__ Z__ R__ F__ ;
G04 P__ ; (Dwell is performed, and no drilling)
Ⅱ PROGRAMMING-13(FUNCTIONS TO SIMPLIFY PROGRAMMING) 13 - 15
X__ Y__ ;
G04 P__ ; (Dwell is performed, and no drilling)
X__ Y__ ;
G04 P__ ; (Dwell is performed, and no drilling)
This note may not be necessary depending on the machine tool. Refer to the
manual issued by the machine tool builder.
6 When both canned cycle and an M code are specified in the same block, the M
code and signal MF are sent out at the first positioning operation and when the
signal FIN is received at the end of a cycle, the next drilling is performed.
7 In the canned cycle mode, the tool offset commands are ignored.
9 Operator’s notes.
(A) Single block
When canned cycles are performed in single block mode, the motion is
stopped at the end point of an operation ①,② and ⑥.
Three cycle starts are necessary for a canned cycle in this mode.
Feed hold lamp lights at the end point of operation ① and ②, and it stops in
the stop state.
350
#6
#1 #11
100
#7 #10
100
Y #2 #5
100 #12
#8 200
100 #9
#4
X #3 #13
Z 250
In itia l p o in t le v e l
X
50
50
30
20
Offset value +200.0 is set in offset No.11, +190.0 is set in offset No.15, and +150.0 is
set in offset No.31
Program example:
N001 G92X0Y0Z500.0; Coordinate setting at reference position
N002 G90 G00 Z250.0 T11 M6; Tool change
N003 G43 Z0 H11; Initial level, tool length offset
N004 S30 M3; Spindle start
N005 G99 G81 X400.0 Y-350.0
Z-153.0 R-97.0 F120; Positioning, then #1 drilling
N006 Y-550.0; Positioning, then #2 drilling and point R level
return
N007 G98 Y-750.0; Positioning, then #3 drilling and initial level
return
N008 G99 X1200.0; Positioning, then #4 drilling and point R level
return
N009 Y-550.0; Positioning, then #5 drilling and point R level
return
N010 G98 Y-350.0; Positioning, then #6 drilling and initial level return
N011 G00 X0 Y0 M5; Reference position return, spindle stop
N012 G49 Z250.0 T15 M6; Tool length offset cancel, tool change
N013 G43 Z0 H15; Initial level, tool length offset
N014 S20 M3; Spindle start
N015 G99 G82 X550.0 Y-450.0; Positioning, then #7 drilling, point R level return
Z-130.0 R-97.0 P300 F70;
N016 G98 Y-650.0; Positioning, then #8 drilling, initial level return
N017 G99 X1050.0; Positioning, then #9 drilling, point R level return
N018 G98 Y-450.0; Positioning, then #10 drilling, initial level return
N019 G00 X0 Y0 M5; Reference position return, spindle stop
N020 G49 Z250.0 T31 M6; Tool length offset cancel, tool change
N021 G43 Z0 H31; Initial level, tool length offset
N022 S10 M3; Spindle start
N023 G85 G99 X800.0 Y-350.0; Positioning, then #11 drilling, point R level
return
Z-153.0 R47.0 F50;
N024 G91 Y-200.0; Positioning, then #12,13 drilling. point R level
return
N025 G28 X0 Y0 M5; Reference position return, spindle stop
N026 G49 Z500.0; Tool length offset cancel
N027 M30; Program stop
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 1
The offset amount value corresponding to offset No.00 or H00 always means 0.
It is impossible to set H00 to any other offset value.
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 2
NOTE:
When the tool length offset value is changed due to a change of the offset
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 3
number, the offset value changes to the new tool length offset value, the new
tool length offset value is not added to the old tool length offset value.
H01 : tool length offset value 20.0
H02 : tool length offset value 30.0
G90 G43 Z100.0 H01 ; Z will move to 120.0
G90 G43 Z100.0 H02 ; Z will move to 130.0
G17 Z_
G43
G18 Y_ H_ ;
G19 G44 X_
or
G17 G43
G18 H_ ;
G19 G44
By the above command (G43 and G44), the position of the terminal point of the
movement command in the X,Y or Z axis can be shifted + or – by the value set in
the offset memory. Assign the offset axis with G17,G18 or G19, and assign the
offset direction with a G43 or G44, and design the offset amount that has been set
in the offset memory with an H code.
1 Offset axes
Assign an axis that perpendicular to the specified plane specified by the
command G17,G18,G19 as an offset axis.
Tool length offset B can be executed along two or more axes when the axes
are specified in two or more blocks.
Offset in X and Y axes.
G19 G43 H _ ; Offset in X axis
G18 G43 H _ ; Offset in Y axis
(Offsets in X and Y axes are performed)
2 Offset Direction
G43: + side offset
G44: - side offset
(This is equal to tool length compensation A except that X,Y and Z are all
offset axes).
3 Specification of the tool length offset value
Refer to the tool length compensation A.
4 Tool length offset cancel
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 4
To cancel tool length offset, specify G49 or H00. After G49 or H00 is specified,
the system immediately cancels the offset mode. After tool length offset B is
executed along two or more axes, offset along all the axes is canceled by
specifying G49. If H0 is specified, only offset along an axis perpendicular to
the specified plane is canceled.
NOTE:
1 Specifying the parameter of №.006 TLCP for selecting the tool length offset
A or B.
2 In the case of the offset in three axes or more , if the offset is canceled by
G49 code, the P/S alarm 015 is generated. Cancel the offset by using G49
and H00.
A G41 or G42 command causes the equipment to enter the offset mode, and
a G40 command causes the equipment to enter the cancel mode. At the
beginning when power is applied the control is in the cancel mode. This tool
cutter compensation mode is not influenced by one-shot G code(G39).
G41 and G42 are G code in group 07, they are commanded simultaneously
with G00,G01,G02 and G03 to define a mode which determines the mode of
the tool motion.
Cutter compensation must be cancelled at the program end.
The offset amount can be set in the offset memory up to 32 offsets (for tool
length compensation and cutter offset). The offset amount depends on the two
digit number following the H code commanded on the program, and has been
set via the MDI&LCD.
The range of values in which the offset amount can be set is as follows:
R
Vector
Offset calculation is carried out in the plane determined by G17, G18 and G19,
(G codes for plane selection). This plane is called the offset plane. For
instance, when the XY plane has been selected, the offset calculations are
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 6
carried out using (X,Y) in the program and the vector is computed.
Compensation is not executed for the coordinate of a position which is not in
the specified plane. The programmed values are used as they are.
In simultaneous 3 axes control, the tool path projected on the offset plane is
compensated.
The offset plane is changed during the offset cancel mode.
The tool motion is as follows, moving from start point’s old vector to aimed
point in liner mode. In positioning G00 mode, coordinates axes move to aimed
point in rapid traverse. Specifying this command, causes the equipment from
offset mode to enter the cancel mode.
Programmed path
Old vector
Start point
If the command G40 without coordinate word X and Y, tool will move to the
start point following the direction of the opposite of the old vector.
A new vector can be calculated using the above blocks, it exits in the line from
the arc center to the aimed point, it points to left or right (seeing from the
direction of the arc motion). The tool center path is from the tip of the old
vector to the tip of the new vector. However, the most important is the old
vector can be formed correctly at first. The direction of offset vector is from
start point or the aimed point to the arc center, and vice versa.
R programmed path
programmed
start point old vector path
old vector start point
(I,J)
(X,Y)
New vector
Programmed path
Start point
(X,Y)
Programmed path
New vector
Start point
R
R
tool center
old vector
start point tool center path
old vector start point
EXAMPLE: (A)
Programmed path
15.0
20.0
5.0
35.0
25.0
25.0
15.0 25.0
(B)
programmed path
R56.57
40.0 40.0
50.0
50.0 40.0
40.0
unit: mm
G91 G17 G01 X50.00 Y50.00 F150 H06 ;
G02 X96.57 Y-40.00 R56.57 ;
G01 -Y40.00 ; (in incremental mode)
programmed path
old vector
(A) (B)
5 7
4 20 Y
40.0
R40.0
3 40
20 R20
2
10 8 X
1 20
11 9
vector
The range of values in which the offset amount can be set as follows:
NOTE:
The cutter compensation value corresponding to offset No. 00, that is, H00 always
means 0. It is impossible to set H00 to any other offset amount.
Offset calculation is carried out in the plane determined by G17, G18 and G19,
(G codes for plane selection). This plane is called the offset plane. For
instance, when the XY plane has been selected, the offset calculations are
carried out using (X,Y) in the program and the vector is computed.
Compensation is not executed for the coordinate of a position which is not in
the specified plane. The programmed values are used as they are.
In simultaneous 3 axes control, the tool path projected on the offset plane is
compensated.
The offset plane is changed during the offset cancel mode. If it is performed
during the offset mode, an alarm (P/S40) is displayed and the machine is
stopped.
with G00,G01,G02 and G03 to define a mode which determines the mode of
the amount and direction of offset vectors, and the direction of tool motion.
The G codes responding to offset is as follows:
EXAMPLE:
5
250R
C1(700,1300)
P5(900,1150)
650R 650R
P4(500,1150)
4 6 C2(1550,1550)
3 7
P4(950,900)
P2(250,900) P3(450,900) P7
(1150,900)
2 8
P9(700,650) (1150,550)
(250,550)
P8
P1
10 9
1 Y
11
X
Start point
G92 X0 Y0 Z0;
(1) N1 G90 G17 G00 G41 H07 X250.0 Y550.0 ; (the offset amount must be
set with the offset number
beforehand.)
(2) N2 G01 Y900.0 F150 ;
(3) N3 X450.0 ;
(4) N4 G03 X500.0 Y1150.0 R650.0 ;
(5) N5 G02 X900.0 R-250.0 ;
(6) N6 G03 X950.0 Y900.0 R650.0 ;
(7) N7 G01 X1150.0 ;
(8) N8 Y550.0 ;
(9) N9 X700.0 Y650.0 ;
(10) N10 X250.0 Y550.0 ;
(11) N11 G00 G40 X0 Y0 ;
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 17
2) Start-up
In the cancel mode, when a block which satisfied all of the following conditions
is executed, the equipment enters the offset mode, this is called the start-up
block.
(a) G41 or G42 has been commanded. Or, they had been commanded, and
the control enters the G41 or G42 mode.
(b) The offset number for cutter compensation is not 0.
(c) A move in any of the axes (I,J,K are excluded.) in the offset plane has
been commanded, and its commanded move is not 0.
In the start-up block, arc commands (G02,G03) are not allowed, as the alarm
(P/S34)is generated and the NC stops. At start-up , two blocks are read.
After the first block is read and executed, the next block enters the cutter
compensation buffer. In the meantime, in the case of single block mode, two
blocks are read and the machine stops after the first block execution.
Thereafter, 2 blocks are read in advance normally, inside the NC, there are
three blocks, the block under execution, and the two blocks which are entered
into buffer.
NOTE:
The meaning of “inner side” and “outer side” encountered later are as follows:
An angle of intersection created by two blocks of move commands, is referred
to as “inner side”, when over 180° and as “outer side”, when 0° to 180°, as
measured at the workpiece side.
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 18
1 Inner side
Workpiece side
Programmed path
α≥180°
2 Outer side
Programmed path
α
Workpiece side
0°≤α<180°
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 19
r : Offset amount
G42
r
S L Tool center path G42
L hereafter, in thefigures: C
S
S:a singleblock stop point
L:Linear L Programmed pat
Tool center path
C:arc
G 42
G42
α
α
L L
r
Programmed path
S
C P rogra m m e d p a th
S L Tool center path
T ool ce n te r p a th
( i i) : Linear→Circular
Type B ( i ) : Linear→Linear
G42
G42 α
α
L
L
Programmed path r
r r
S
S L L
L
Tool center path
Intersection Intersection
The intersection is the point where two offset paths Programmed path
G42
L
α
G42
L
α Programmed path r
S
r
C
Programmed path
S L Tool center path Tool center path
S G42
L
G42
S α
L
α L r
Programmed path
r L
L
r
G41 Programmed path
G41
αless than 1 deg
Programmed path
Programmed path
Intersection S
S L Tool center path C
L L Intersection
α α
Programmed path
Programmed path
S L
Tool center path C
c S
Intersection
L Intersection
(v)Tool movement around the inside (α∠1°) with an abnormally long vector
(i)Linear→Linear
S
Tool center path
r
Offset vector
Programmed path
( i ) : Linear→Linear ( ii ) : Linear→Circular
α
α
L
L
Programmed path r
Programmed path
S
S L Tool center path C
Intersection L
Tool center path
α α
C C r
r
Programmed path
S L r
L
L Tool center path
S L
Intersection
Programmed path
Tool center path
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 23
( i ) : Linear→Linear ( ii ) : Linear→Circular
L
L L
r r
α α
S S
Programmed path
r L r
L
(iv) : Linear→Circular
(iii) : Linear→Linear C
C S
S r
α
L
r
α Programmed path
L
Programmed path
r
L L C
(iii)The center of the arc is identical with the start point or the end position
(4)Offset mode
In the offset mode, when a block that satisfies any one of the following
conditions is executed, the equipment enters the offset cancel mode, and the
action of this block is called the offset cancel.
In the offset cancel, the control executes the instructions in that block and the
block in the cutter compensation buffer. In the meantime, in the case of a
single block mode, after reading one block, the control executes it and stops.
By pushing the cycle start button once more; one block is executed without
reading the next block.
Then the control is in the cancel mode, and normally, the block to be executed
next will be stored in the buffer register and the next block is not read into the
buffer for cutter compensation.
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 26
Programmed path
r r
Tool center path G40 G40
C
L S S
L Tool center path L
Programmed path
S Programmed path
L L
Tool center path S
Intersection
C
Intersection
Tool center path
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 27
L α
G40
α r
Programmed G42
L r C
S
Tool center path
L S Programmed path
Tool center path
L
S Tool center path
L
r Program m ed path
G42
α less than 1 deg
G40
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 28
sign
+ -
G code
G41 Left side offset Right side offset
In a special case, the offset direction can be changed in the offset mode. If the
offset direction is changed in a block, a vector is generated at the intersection of
the tool center path of that block and the tool center path of a preceding block.
However, the change is not available in the start-up block and the block following it.
When the offset direction is changed, the conception of inside and outside
disappears to common for all cases.
(i)Linear→Linear (ii)Linear→Circular
S
L C
G42
r
r Programmed path r G41
G41
Programmed path L r G42
When changing the offset direction in block A to block B using G41 and G42, if
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 29
intersection with the offset path is not required, the vector normal to block B is
created at the start point of block B.
1: Linear-----Linear
S L
Block A Block B
(G42) (G42) (G41)
Programmed path
L Offset vector
Tool center path
L S
Block A (G42)
Programmed path
(G41)
S
L
2: Linear-----Circular
S
Tool center path
L
(G41)
Program m ed path Block A
(G42)
Block B
C
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 30
3: Circular-----Circular
S C
r
Block B
Block A (G41)
(G42)
(G42)
r An arc whose end
position is not on the
r
Programmed arc
L
path S L
C
Center Center
Tool center path
(iv)The length of tool center path larger than the circumference of a circle
Programmed path
(G42)
G41 N5 G02G91X5000Y-7000;
N5 G42
N7 N6 G41G02J-5000;
Tool center path
N7 G42G01X5000Y7000;
P1
P2
In this case of the figure, the cutter
compensation is not performed with more
N6 G41 than one circle circumference: an arc is
formed from P1 to P2 as shown. Depending
on the circumstances, an alarm may be
displayed due to the “ interference Check”
described later. To execute a circle with
more than one circumference, the circle
must be specified in segments.
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 31
If the following command is specified in the offset mode, the offset mode is
temporarily canceled then automatically restored. About the details of this
operation, refer to the offset cancel and the offset start-up.
G28
Intermediate position
S
r
r
S
G00
(G42 G00)
S
Reference position
b) G29 automatic return from the reference position
If G29 is commanded in the offset mode, the offset will be cancelled at the
intermediate point, and the offset mode will be restored automatically from the
subsequent block.
G42 G00 S S
S S
G29
S
Reference position
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 32
G42 G00 S
r
S
r G00
S
The offset vector can be set to form a right angle to the moving direction in the
previous block, irrespective of machining inner or outer side, by commanding the
cutter compensation G code (G41, G42) in the offset mode, independently. If this
code is specified in a circular command, correct circular motion will not be
obtained. When the direction of offset is expected to be changed by the command
of cutter compensation G code (G41, G42), refer to (5).
Linear-----Linear
L S
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 33
Circular-----Linear
r
(G42 mode) L
S
C
L
L
r L r
(G41 mode)
N5 G91G01X3000Y7000;
N9
N6 X-3000Y6000;
N5 N6 SS N8
N7 G92X1000Y2000;
G50 block N7
NOTE:
SS indicates the point where the tool stops twice in the single block mode.
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 34
a) Commanded at start-up
If a block without tool movement is commanded at start-up, the offset vector is
not produced.
N7 N8
N6 G91X100.0 Y200.0 ;
N7 G04 X100.0 ;
N8 X100.0 ;
SS N8
N6
However, when the move distance is zero, even if the block is commanded
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 35
singly, tool motion becomes the same as that when more than one block of
without tool movement are commanded, which will be described subsequently.
N7 N8 N6 G91X1000 Y2000 ;
N7 X0 ;
N8 X1000 ;
N6
SS
N7 N8 N9
N6 G91X100.0 Y 200.0 ;
(note 4 )
N7 S21 ;
SSS N8 G04 X1.0 ;
N9 N9 X100.0 ;
N6
NOTE:
SSS means that tool stops three times by single block operation.
c) Commanded together with offset cancel
When a block without tool movement is commanded together with an offset cancel,
a vector whose length is equal to the offset value is produced in a direction normal
to tool motion in the earlier block, the vector is cancelled in the next move
commanded.
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 36
N7 N8
N6 G91X100.0 Y100.0 ;
N7 G40 ;
N8 X100.0 Y0 ;
N6 SS
(I,J) E(X,Y)
Tool comes here by G40 block.
N2
X N1 N1 (G42 mode);
S
r Center of tool goes to X in G42 block.
N2 G40X□Y□I-J-;
r
NOTE:
In this case, note that the NC obtains an intersection of the tool path
irrespective of whether inner or outer wall machining is specified.
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 37
X G40
S Tool center path
r
b) When the length of the tool center path becomes more than a circle.
(G41)
Programmed path N7 N5 G01 G91 X10000;
N5 P2 N6 G02 J-6000;
N7 G40 G01 X5000Y 5000 I-100 J-100;
(I, J)
N6
In the above case, the tool center path does not go around a circle but moves only
from point P1 to P2 along an arc.
According to under some circumstance, an alarm (P/S41) may be generated by the
interference check described below. (If it is desired to move a tool around a circle,
a circle must be commanded with partitions.)
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 38
ΔV y
If ΔVx ≤ΔVlimit and ΔVy ≤ ΔVlimit, the latter vector is ignored. The ΔVlimit
is set in advance by parameter (N0.049CRCDL). If these vectors do not coincide,
a move is generated to turn around the corner. This move belongs to the latter
block.
S
This move belongs to block
N7, thus, the feedrate is equal
to that in block N7. If the block
N7 is G00 mode, the tool is
moved at G00 mode, while if it
is G01, G02, G03, the tool is
moved at G01 mode.
N6 N7
However, if the path of the next block is semicircular or more, the above function is
not performed.
The reason for this is as follows:
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 39
P2 P3,P4 P5
P1 P6
N7
N5 N4 G41G91X1500Y2000;
N5 X1500Y2000;
N4 N8
N6 G02J-6000;
P0 P7
N7 G01X1500Y-2000;
Programmed path N8 G40X1500Y-2000;
P7
(1) The direction of the tool path is different from that of the programmed path
(from 90 degrees to 270 degrees between these paths).
(2) In addition to the condition (1), the angle between the start point and end
point on the tool center path is quite different from that between the start point
and end point on the programmed path in circular machining (more than 180
degrees).
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 40
EXAMPLE①
Tool center path
Programmed path
EXAMPLE②
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 41
r2
r1
Tool center path N6
N5
Programmed path
Center N7
(G41)
N5 G01 G91 X8000 Y2000 H01;
N6 G02 Y-1600 X3200 I2000 J -8000 H02;
N7 G01 X2000 Y-5000 ;
In the above example, the arc in block N6 is placed in the one quadrant. But
after cutter compensation, the arc is placed in the four quadrants.
(1) Removal of the vector causing the interference When cutter compensation
is performed for blocks A, B and C and vectors V1, V2, V3 and V4
between blocks A and B, and V5, V6, V7 and V8 between B and C are
produced, the nearest vectors are checked first. If interference occurs,
they are ignored. But if the vectors to be ignored due to interference are
the last vectors at the corner, they cannot be ignored.
Check between vectors V4 and V5
Interference ——V4 and V5 are ignored.
Check between V3 and V6
Interference ——V3 and V6 are ignored
Check between V2 and V7
Interference ——V2 and V7 are Ignored
Check between V1 and V8
Interference ——V1 and V8 are cannot be ignored
If while checking, a vector without interference is detected, subsequent
vectors are not checked. If block B is a circular movement, a linear
movement is produced if the vectors are interfered.
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 42
C S C
V6
V3
A C
Programmed path V5 V4
B
If the tool stops in the block A
V4 ,V5 :Interference
using single block operation, the V3 ,V6 :Interference
tool center will move to V3. V2 ,V7 :Interference
O1 V1 ,V8 :No Interference
O2
S
L V2 V7 L
V1 V8 C
Tool center path C
S
V6 V3
Programmed path
A C
V5 V4
(2) If the interference occurs after correction (1), the tool is stopped with an
alarm. If the interference occurs after correction (1) or if there are only one
pair of vectors from the beginning of checking and the vectors interfere,
the alarm (P/S41) is displayed and the tool is stopped immediately after
execution of the preceding block. If the block is executed by the single
block operation, the tool is stopped at the end of the block.
C
A
Programmed path
V1
V2 ,V5 :Interference
V1 ,V6 :Interference
V6
V5 V2
B
After ignoring the vector V2 and V5 because of interference, the interference
also occurs between vectors V1 and V6. Then the alarm is generated and the
tool is stopped.
d)When interference is assumed although actual interference does not occur
A C
B
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 44
Stop
A
B C
In the same way as 1, the programmed path will be opposite to the tool path
after cutter compensation has been applied. This state is determined to
constitute interference. An alarm is issued and the machine stops.
Cutter compensation is not performed for commands input from the MDI. However,
when automatic operation by absolute commands is temporarily stopped by the
single block function, MDI operation is performed, and then automatic operation
starts again, the tool path is as follows:
In this case, the vectors at the start position of the next block are translated and
the other vectors are produced by the next two blocks. Therefore, from point PC,
cutter compensation is accurately performed.
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 45
Vc1'
VB2 Vc1
Programmed path in
absolute command PC
VB1 Vc2
PB
PA
PD
MDI operation
V’ B2
V’ B1 PB'
N6 N8
In the offset amount is negative (-), distribution is made for a figure in which
G41 and G42 are all replaced with each other on the process sheet.
Consequently, if the tool center is passing around the outside of the workpiece,
it will pass around the inside, and vice versa.
The figure below shows one example. Generally, the offset amount is
programmed to be positive (+).
When a tool path is programmed as in (a), if the offset amount is made
negative (-), the tool center moves as in (b), and vice versa. Consequently, the
same tape permits cutting both male and female shapes, and any gap
between them can be adjusted by the selection of the offset amount.
Applicable if start-up and cancel is A type.
(1) Machining an inside corner at a radius smaller than the cutter radius When
the radius of a corner is smaller than the cutter radius, because the inner
offsetting of the cutter will result in overcutting, an alarm is displayed and
the CNC stops at the start of the block. In single block operation, the
overcutting is generated because the tool is stopped after the block
execution.
Ⅱ PROGRAMMING-14(COMPENSATION FUNCTION) 14 - 47
Programmed path
乔乔Ç
乔乔Ç
Programmed path
Linear movement
Stop position after execution of a single block
S
Tool center path
乔乔乔Ç
(4) Starting compensation and cutting along the Z-axis on the cutter
compensation C
It is usually used such a method that the tool is moved along the Z-axis
after the cutter compensation is effected at some distance from the
workpiece at the start of the machining.
In the case above, if it is desired to divide the motion along the Z-axis into
rapid traverse and cutting feed, follow the procedure below.
N1
As there are two move command blocks not included in the selected plane
and the block N6 cannot be entered into the buffer storage, the tool center
path is calculated by the information of N1 in the figure above. That is, the
offset vector is not calculated in start-up and the overcutting may result. The
above example should be modified as follows:
In the program example above, when executing block N1, blocks N3 and N6
are also entered into the buffer storage, and by the relationship among them
the correct compensation is performed as in the figure above.
N1 G91G00X50000Y40000H01;
N6
N2 Y10000;
N3 G01Z-25000F1;
N3,N5 move
N5 G01Z-5000F1;
command in Z axis
N6 Y100000F2;
(The direction of the move command N2
N2is same as that of N6.)
N1
The values of the tool length compensation and the cutter compensation can be
entered by the program.
Format:
G10 P__ R__ ;
P: offset number
R: offset amount
The specified offset amount is in absolute mode or in incremental mode via
G90/G91. The command G90/G91 can be specified in front of the command G10.
Ⅱ PROGRAMMING-15(MEASURING FUNCTION) 15 - 1
Linear interpolation can be commanded by specifying axial move following the G31
command, like G01. If an external skip signal (SKP No.001.7) is input during the
execution of this command, execution of the command is interrupted and the next
block is executed. The skip function is used when the end of machining is not
programmed but specified with a signal from the machine, for example, in grinding.
It is used also for measuring the dimensions of a workpiece.
G31 is one-shot G code (If is effective only in the block in which it is specified).
The motion will be changed according to the command G90/G91 in the next block.
Actual motion
50.0
SKIP signal is input here
Motion without
SKIP signal
100.0
The commanded axis moves to the specified position, no commanded axis remains
where the SKIP signal is input.
Example:
G31 G90 X200.0 F100 ;
Y100.0 ;
(***,200.0
)
Actual motion
SKIP signal is input here 50.0
Motion without
SKIP signal
(200.0,0) 时
15.1.3 The next block to G31 is an absolute command for 2 axes.
Ⅱ PROGRAMMING-15(MEASURING FUNCTION) 15 - 2
The tool will move to the next block specified position wherever the SKIP signal is
input.
Example:
G31 G90 X200.0 F100 ;
X300.0 Y100.0 ;
Actual motion
100.0 SKIP signal is input here
Motion without
SKIP signal
(200.0,0)
x
100.0 200.0 300.0
The coordinate values when the skip signal is turned on can be used in a custom
macro because they are stored in the custom macro system variable #5041 to
#5044. So it can be used as measuring. In addition, SKIP function is valid when the
motion amount is not definite.
Ⅱ PROGRAMMING-16(WORKPIECE COORDINATE SYSTEM) 16 - 1
No coordinate systems are determined by G92, but six coordinate systems proper
to the machine tool are set in advance, permitting selecting any of them by G54 to
G59.
The six coordinate systems are determined by setting distances (work zero offset
values) in each axis from the reference point to their respective zero points.
Z
Z
Y
X
Example:
N10 G55 G90 G00 X100.0 Z20.0;
N20 G56 X80.5 Z25.5;
In the above example, rapid traverse positioning is made from the position
(X=100.0,Z=20.0)in workpiece coordinate system 2 to the position(X=80.5,
Z=25.5 ) in workpiece coordinate system 3. If G91 is in the block N20, the
incremental movement is generated. When the block N20 is executing, the
absolute coordinate value changes to the coordinate value in workpiece coordinate
system G57 automatically.
Ⅱ PROGRAMMING-16(WORKPIECE COORDINATE SYSTEM) 16 - 2
NOTE:
The parameter №005 PPD determines whether the relative position changes or
not according to the coordinate system setting.
PPD=0 No alternating
PPD=1 alternating
Z
Z N20(G91) (80.5,25.5)
(80.5,25.5) (X2,Z2)
G56
X
N10
N20 (G90)
(100,20)
X
G55
NOTE:
When the six workpiece coordinate systems are specified with G54 to G59, the
command G92 is not used to set coordinate system. By specifying G92IP_;, a
workpiece coordinate system (selected with a code from G54 to G59) is shifted to
set a new workpiece coordinate system so that the current tool position matches
the specified coordinates (IP_). Then, the amount of coordinate system shift is
added to all the workpiece zero point offset values. This means that all the
workpiece coordinate systems are shifted by the same amount. Don’t specify G92
jointly with G54 to G59.
Ⅱ PROGRAMMING-16(WORKPIECE COORDINATE SYSTEM) 16 - 3
Y
Y'
100
X'
A 100
X
100 200
If G92X100Y100; is commanded when the tool is positioned at (200, 160) in G54
mode, workpiece coordinate system 1 (X',Y') shifted by vector A is created.
When workpiece coordinate system are insufficient in spite of the availability of six
ones by G54 to G59, or when workpiece coordinate system are to be moved for
each program, a programmed command shifts or changes them.
NOTE:
L=1 or is omitted: Tool offset value
A coordinate system is established at the referenced point return time after the
power is turned on, according to the preset parameter №076~078.
№076~078 are set to zero: Workpiece coordinate system is specified.
№076~078 are set to non-zero: Workpiece coordinate system shift the specified
value.
O0002 N0010
Set
G54 X30.00 G55 X50.00
Y32.00 Y52.00
Z34.00 Z54.00
address
Input mode
16.1.4 ALARM
C u s to m m a c ro b o d y
M a in p r o g r a m
A g ro u p o f
in s t r u c t io n s
C u s to m m a c ro f o r a c e r t a in
in s t r u c t io n f u n c t io n .
(Example)
F#103 F15 was commanded when #103=15
Z-#110 Z-250 was commanded when #110=250
G#130 G3 was commanded when #103=3.
When replacing a variable number with a variable, it is not expressed as
##1000, for example, but express as #9100, That is, “9” next to “#” indicates
the substitute of the variable number, while the lower number to be replaced.
(Example)
If #100=105 and #105=500,
“X#9100” indicates that X500 was commanded,
“X-#9100” indicates that X-500 was commanded.
NOTE:
1 No variable can be quoted at address O and N. Neither O#100 nor N#120
can be programmed.
2 It is not possible to command a value exceeding the maximum command
value set in each address. When #30=120, G#30 has exceeded the
maximum command value.
3 The variable value’s Display and Set:
The variable value can display on the screen of[LCD], it can be set by
Ⅱ PROGRAMMING-17(CUSTOM MACRO) 17 - 3
15 14 13 12 11 10 9 8
DI UI15 UI14 UI13 UI12 UI11 UI10 UI09 UI08
#1015 #1014 #1013 #1012 #1011 #1010 #1009 #1008
7 6 5 4 3 2 1 0
DI UI7 UI6 UI5 UI4 UI3 UI2 UI1 UI0
#1007 #1006 #1005 #1004 #1003 #1002 #1001 #1000
Contact closed 1
Contact opened 0
By reading system variable #1032, all the input signals can be read at once.
15
#1032 = Σ
i=0
#(1000+i) ×2i
Ⅱ PROGRAMMING-17(CUSTOM MACRO) 17 - 4
NOTE:
1 No value can be substituted into system variables #1000 to #1032.
2 System variables #1000 to #1015 can be displayed by diagnostic
function.
DGNOS No.110 U10 to U17
DGNOS No.111 U18 to U15
15 14 13 12 11 10 9 8
DO UO15 UO14 UO13 UO12 UO11 UO10 UO09 UO08
#1115 #1114 #1113 #1112 #1111 #1110 #1109 #1108
7 6 5 4 3 2 1 0
DO UO7 UO6 UO5 UO4 UO3 UO2 UO1 UO0
#1107 #1106 #1105 #1104 #1103 #1102 #1101 #1100
15
#1132 = Σ #(1100+i) ×2i
i=0
NOTE:
3 If any other number than “0” or “1” is substituted into system variables
#1100 to #1115, it is treated as “1”.
4 It is possible to read the values of system variables #1100 to #1132.
5 System variables #1100 to #1115 can be displayed by diagnostic function.
(№126,127)
6 K100M CNC macro input and output signal refer to APPENDIX 8.
NOTE:
It is not possible to substitute any value into system variables #5001 to #5083.
(B) Addition #i = #j + #k
G65 H02 P#i Q#j R#k;
[Example]
G65 H02 P#101 Q#102 R15 ; (#101=#102+15)
#101>#102 go to N1000
#101≤#102 go to next
(E) Conditional divergence4 #J.LT.#K (<)
G65 H84 Pn Q#J R#K; n: Sequence number
[Example]
G65 H84 P1000 Q#101 R#102;
#101<#102 go to N1000
#101≥#102 go to next
NOTE:
4 Single block
Generally, the macro instruction block does not stop even if single block stop is
turned on. However, by setting parameter No. 013 SBKM, it is possible to make
single block effective. This is used for macro testing.
5 Variable values can be taken within a range of -232~+232-1, but they are not
displayed correctly, except for -9999999 to 99999999. If they exceed the above
range, they are displayed as *******.
7 Since an integer only is employable as the variable value, in case the operation
results with decimal numbers, the figures below decimal point truncated, if an
arithmetic result contains a fraction part. Particularly be careful with the
arithmetic sequence, accordingly.
[Example]
When #100=35, #101=10, #102=5, the following results.
#110=#100 ÷ #101 (=3)
#111=#110 × #102 (=15)
#120=#100 × #102 (=175)
#121=#120 ÷ #101 (=17)
#111=15 and #121=17
8 The executing time of macro instructions are different according to condition, its
average value is considered as 10ms in general.
with a point, set by the macro for the center of a circle setting as basic point, N
holes equally spaced on the circle are drilled. The first hole is on the line of angle A.
Third hole
Second hole
R First hole
A N-th hole
Basic point X
(X0,Y0)
(N—1)-th hole
In this example a custom macro performs a pocket milling cycle machining an area
as in the figure below. Area machining is performed at a certain depth in Z and
further with a deeper cut-in.
k
Rapid traverse
j
Feedrate 8xe
Feedrate e or f
(e: in Z
f: XY plane)
Start point
i r z
(X,Y)
q
k
DI structure
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
10 2
symbol 101 100
Used for other
purposes
Data effective sign
Structure of DO
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Function:
Assume that 4-digit DO output as address, by outer logic, they can attain signed 3-
digit BCD data corresponding to address via macro DI port. Output address and
input signal is valid only when effective signal is “1”. In output mode, the bit of no
used may be “0”, data of the bit used for other purposes can’t be changed.
Read data while sending address 7 as following:
O9100;
G65 H12 P#1132 Q#1132 R480; sending address 7
(No used:0 Used for other purposes : no
changed)
G65 H11 P#1132 Q#1132 R23; address effective signal ON
N10 G65 H81 P10 Q#1013 R0; await data effective
G65 H12 P#100 Q#1032 R4095; read 3-digit BCD data
G65 H24 P#100 Q#100; BIN transform
G65 H81 P20 Q#1012 R0;
G65 H01 P#100 Q-#100; signed
N20 G65 H12 P#1132 Q#1132 R495; address effective signal OFF
M99;
Ⅱ PROGRAMMING-17(CUSTOM MACRO) 17 - 17
17.3.4 TRIM
h β
x
α
Feed rate
X
l
Tool
G93 is a modal G code of group 01.Generally, after G93 it’s necessary to specify
other modal G code of group 01.
Examples G93 Z-100 F5. ; Tapping cycle to Z-100 ;
G00 X50. ; G00 movement.
0 0 7 G93N
G93N 0: No speed-up/down control during G93 tapping.
1: Speed up/down according to exponential acceleration/deceleration
during G93 tapping.
When acceleration/deceleration control is selected, if spindle speed changes, it will
delay the change in thread. Therefore, when it requires high accuracy, you shall select
no speed up/down. However, when stepper is used, the spindle speed shall not be too
high, otherwise, it will be blocked because it has no speed up/down.
Additional description:
z Precaution: if G93 is executed after Z axis runs in positive direction, the system will
first carry out backlash compensation because it is doing reverse movement. In
this case one shall set parameter RVDL=0.If it blocks with stepper, you can set a
lower backlash compensation frequency.
Or first command Z-axis to move in negative direction before executing G93.
z The setting of parameter—spindle braking time will influence the rotating time for
reverse start after stopping, please take care of this in setting.
NOTE:
1、 Z must be in negative movement, otherwise it generates P/S alarm 012 ‘G93
format error’.
2、Don’t program X, Y value, otherwise it generates P/S alarm 012 ‘G93 format
Ⅱ PROGRAMMING-18(RIGID TAPPING) 18 - 2
error’.
3、must start spindle before executing G93.
4、The spindle braking time of the machine is required to be short. At system
preparation, it is assumed movement +50.000. When requiring output spindle to
stop, the movement length shall not be more than 50 mm.
5、spindle speed is required not too high.
6、when I is specified, it is for imperial thread. The unit is no. of teeth per inch.
Ⅲ OPERATION-1(GENERAL) 1 - 0
Ⅲ OPERATION
Ⅲ OPERATION-1(GENERAL) 1 - 1
Ⅲ、OPERATION
1.GENERAL
1.1 Manual Operation
1.1.1 Manual reference position return (See Ⅲ4.1)
The CNC machine tool has a position used to determine the machine position.
This position is called the reference position, where the tool is replaced or the
coordinate are set. Ordinarily, after the power is turned on, the tool is moved to the
reference position. Manual reference position return is to move the tool to the
reference position using switches and pushbuttons located on the operator’s panel.
Reference point
Machine tool Operator’s panel
Tool
The tool can be moved to the reference position also with program commands.
This operation is called automatic reference position return (See II 6.1).
Manual pulse
generator
Tool
Workpiece
Ⅲ OPERATION-1(GENERAL) 1 - 2
Program
O1000;
M..S..T..;
G92X..Y..Z..;
G00....;
G01.....;
...
...
... Tool
Workpiece
CNC Machine
Memory
Program
After the program is once registered in memory of CNC, the machine can be run
according to the program instructions. This operation is called memory operation.
1.2.2 MDI Operation
Machine
CN
Manual program
CR Key input
MDI operation
After the program is entered, as an command group, from the MDI keyboard, the
machine can be run according to the program. This operation is called MDI
operation.
In this mode of operation, the program is not registered in the CNC memory. It is
read from the connected I/O unit instead. This mode is useful when the program is
too large to fit the CNC memory.
Select the program used for the workpiece. Ordinarily, one program is prepared for
one workpiece. If two or more programs are in memory, select the program to be
used, by searching the program number (III.3).
Ⅲ OPERATION-1(GENERAL) 1 - 4
Memory
O1001; Program number
G92...;
..... ;
......; Workpiece1 program
M30 ;
Program number Program number search
O1002;
G92...; Automatic Operation
..... ; Workpiece2 program
......;
M30 ;
NOTE:
Pressing the cycle start pushbutton causes automatic operation to start. By
pressing the feed hold or reset pushbutton, automatic operation pauses or stops.
By specifying the program stop or program termination command in the program,
the running will stop during automatic operation. When one process machining is
completed, automatic operation stops.
table
Table
3) Single block (see Ⅲ、6.6)
Start
Start Start
Start
Stop
Stop Stop
Table
Stop
Ⅲ OPERATION-1(GENERAL) 1 - 6
When the cycle start pushbutton is pressed, the tool executes one operation then
stops. By pressing the cycle start again, the tool executes the next operation then
stops. The program is checked in this manner.
1.4.2 How to View the Position Display Change without Running the
Machine
1) Machine lock (see Ⅲ、6.1)
Tool X 00000
Y 00000
Z 00000
.. ...
When automatic running is placed into the auxiliary function lock mode during
the machine lock mode, all auxiliary functions (spindle rotation, tool replacement,
coolant on/off, etc.) are disabled.
N1...
N2...
program
Ⅲ OPERATION-1(GENERAL) 1 - 7
Data setting
Data
Data display
LCD key
CNC memory
The tool has the tool dimension (length, diameter). When a workpiece is machined,
the tool movement value depends on the tool dimensions. By setting tool
dimension data in CNC memory beforehand, automatically generates tool routes
that permit any tool to cut the workpiece specified by the program. Tool dimension
data is called the offset value.
Tool path 1
Machined
shape
Tool path 2
CNC
Operational characteristics
Movement of
the machine
Program Automatic
operation
Setting Parameter
Rapid traverse rate
Position control
Reference position return
Backlash compensation data
Display Pitch error compensation data
...
LCD key ...
...
CNC
Operational
characteristics
Movement of the
Automatic machine
Program
operation
Program edition
Operator’s panel
LCD key
Protection Key Signal
Registration / modification inhibition Program protection
Key
Program
(CNC memory)
A key called the data protection key can be defined. It is used to prevent part
programs from being registered, modified, or deleted erroneously.
Ⅲ OPERATION-1(GENERAL) 1 - 10
1.7 DISPLAY
1.7.1 Program Display(see Ⅲ、11)
Program directory
The contents of the currently active program are displayed. In addition, the
programs scheduled next and the program list are displayed.
Ⅲ OPERATION-1(GENERAL) 1 - 11
X
Workpiece coordinate
The current position of the tool is displayed with the coordinate values. The
distance from the current position to the target position can also be displayed.
When a trouble occurs during operation, error code and alarm message are
displayed on LCD screen.
Memory
Program
RS232C Floppy disk
Offset interface
Computer
Parameter
...
...
...
CNC equipment
Programs, offset values, parameters, etc. input in CNC memory can be output to a
floppy disk for saving. After once output to a medium, the data can be input into
CNC memory.
Ⅲ OPERATION-2(OPERATIONAL DEVICES) 2 - 1
2. OPERATIONAL DEVICES
2.1 LCD/MDI PANEL
The LCD/MDI panel attached to KND 1000M is as figure 2-1.
Fig. 2-1
2.1.1 Adjustment of Liquid Crystal Screen Bright
KND 1000 series CNC install 7.5-inch liquid crystal screen, the adjustment of liquid
crystal screen bright is as follows:
1) In Reference Position Return or AUTO mode.
2) The first page on 【POS】 screen—ALL, press key X, Y , Z or 4, and one of
them is scintillation:
CURSOR UP key:change dull
(NOTE: at first, the key will change bright, and then it will change dull
gradually.)
CURSOR DOWN key: change bright by each time
NOTE:
Bright of liquid crystal screen is related to temperature. Under different
environment, it can be adjusted according to reality.
Press a function key on the LCD/MDI panel. The corresponding page will display.
NOTE:
When a function key is pressed twice continuously, the first page of the selected
screen will appear.
The functions of the soft keys are automatically displayed, depending on the
configuration. Each main menu includes some sub-menu. The display content
corresponding to soft keys are displayed at the bottom of LCD.
In main menu, the function keys is the same as 2.1.3.
A) main menu:
Main menu has two pages altogether, there are five menus each page. “►” key
can be used to browse.
The first page:
【POS】 :Display the current position
【PRGRM】 :Program display and edit
【OFSET】 :Display/set offset amount and macro variables.
【PARAM】 :Display/set parameter.
【DGNOS】 :Display diagnosis data.
The second page:
【ALARM】 :Display alarm message.
【GRAPH】 :Display, set graphic parameter, display tool path.
【SET】 :Display, set parameter and parameter switch.
【MACHINE】:Machine tool soft operator’s panel screen.
【INDEX】 : Operation and program message.
B) sub-menu:
Press the main menu soft keys twice continuously (or press function key directly),
entering the sub-menu. The peripheral line of the sub-menu is thinner than main
menu in order to distinguish them. Using PAGE key to change screen in main
menu without entering sub-menu.
Sub-menu of each main menu is as follows.
【POS】: [REL]: relative coordinate values
[ABS]: absolute coordinate values (work coordinate system)
[ALL]: coordinate values (all coordinate system)
Ⅲ OPERATION-2(OPERATIONAL DEVICES) 2 - 3
Each screen also display the contents: feed, spindle, workpiece number, run
time, G code and so on.
【PRGRM】: [MDI/M], [PRGRM], [CUR/M], [CUR/NEXT], [INDEX].
Each screen divide two parts expect [PRGRM] and [INDEX] , display different
content. The sequence of screen is according to soft keys.
① block value/modal value
② program
③ current block/modal value
④ current block/next block
⑤ program catalogue and storage capacity
NOTE:
In edit mode, only [PRGRM] and [INDEX] can be displayed, [INDEX] is selected
only by soft keys, not by PAGE key.
【PARAM】: [PARAM], [PITCH ERROR X], [PITCH ERROR Y], [PITCH ERROR
Z], [HELP].
Sub-menu can display each axis pitch error compensation value
directly, help is no used.
【DGNOS】: [MT←→PC],[PC←→NC],[PC],[STATE], [HELP]
Display MT←→PC and PC←→NC data, PC parameter, NC state,
help is no used.
X Y Z 4th +Z +Y -4
100% DNC
100%
+X -X X Y Z 4th
M
Name Explanation
CYCLE START button Automatic operation starts and cycle start LED is lit.
Tool stops after deceleration during automatic
FEED HOLD button
operation.
MODE SELECT switch Specify an operational mode.
RAPID TRAVERSE switch Manual rapid traverse, select dry run feed rate.
JOG FEED AXIS Jog feed, step feed, axis motion.
Reference point return switch ON, in zero return
REFERENCE POINT RETURN
mode via JOG.
RAPID TRAVERSE OVERRIDE Select rapid traverse override.
STEP increment Select STEP movement amount.
MACHINE LOCK Machine lock.
AUXILIARY FUNCTION LOCK Auxiliary function lock
SINGLE BLOCK Single block.
DRY RUN Dry run ON/OFF.
OPTIONAL BLOCK SKIP Optional block skip.
FEED RATE OVERRIDE In automatic operation, feed rate override.
JOG FEED Select jog feed rate.
Handle axis selection Select the movable axis via manual pulse generator.
Using manual pulse generator, select movement
Handle movement amount
amount according to per graduation.
Spindle Start Manual spindle rotate CW/CCW, jog start, stop.
Spindle Override Select spindle override (include spindle analogue
output)
Coolant Start For details, see the description of individual machine
tool.
Lubricant Start For details, see the description of individual machine
tool.
Manual Tool Exchange No used.
Ⅲ OPERATION-2(OPERATIONAL DEVICES) 2 - 6
Ⅲ OPERATION-3(POWER ON/OFF) 3 - 1
3. POWER ON/OFF
The basic configuration of K1000M CNC system don’t include power switch and
emergency button. If standard K100M machine tool optional operator’s panel is
selected, it is showed as follows:
For details, refer to the description of the individual machine tool builder.
WARNING:
When pressing the <POWER ON> key, do not touch any other LCD/MDI panel keys,
until the positional or alarm screen is displayed. Some keys are used for the
maintenance or special operation purpose.
When they are pressed, unexpected operation may be caused.
4. MANUAL OPERATION
4.1 Manual Reference Position Return
1 Press the reference position return switch, one of the mode selection switches.
Select manual reference point return mode, its LED is lit.
2 Press the movable axis selection switch. Continue pressing the switch until the
tool returns to the reference position.
+Z +Y -4
+X -X
+4 -Y -Z
When machine tool installs machine origin (REFERENCE POSITION RETURN B):
The tool moves to the deceleration point at the rapid traverse rate, then moves
to the reference position at the FL speed set in a parameter. Rapid traverse
override is valid during rapid traverse. FL is set by parameter.
When machine tool installs machine origin (REFERENCE POSITION RETURN A):
Refer to Ⅲ 14.5.
When machine tool installs machine origin (REFERENCE POSITION RETURN C):
Reference position return refer to APPENDIX 7 - parameter 007.
NOTE:
1 Using parameter P011 ZRNL, during manual reference point return the feed
axis can be set motion hold. So press the movable axis switch one time, the
axis is moving until the tool stops at the reference point.
2 Using PLC parameter D199 MZRNZ~X, whether manual reference point
return axis movement key “+” or “-“ is valid or not can be selected.
3 When the machine has returned to the reference position, the reference
position return completion LED goes on.
X Y Z 4
NOTE:
1 Once the reference position return completion LED lights at the completion of
reference position return, the tool does not move unless the reference position
return switch is turned off.
2 The reference position return completion LED is extinguished by either of the
following operations:
1) Moving from the reference position.
2) Entering an emergency stop state.
3 For the distance (Not in the deceleration condition) of return to the reference
position, refer to the manual issued by the machine tool builder.
4 For the direction of the reference position, refer to the manual issued by the
machine tool builder.
Ⅲ OEPRATION-4(MANUAL OPERATION) 4 - 2
+X -X
+4 -Y -Z
100%
2) Select KND 1000 machine tool optional operator’s panel (or install override
switch).
60 70 80 90
50 100
40 110
30 120
20 130
10 140
0 150
Ⅲ OEPRATION-4(MANUAL OPERATION) 4 - 3
Feed rate
Rotary switch position
Metric input (mm/min) Inch input (inch/min)
0 0 0
1 2.0 0.08
2 3.2 0.12
3 5.0 0.2
4 7.9 0.3
5 12.6 0.5
6 20 0.8
7 32 1.2
8 50 2.0
9 79 3.0
10 126 5.0
11 200 8.0
12 320 12
13 500 20
14 790 30
15 1260 50
NOTE:
1 The feed rate error (about +3%) affects on the feed rate in the table above.
2 Diagnosis No.200 SOVI=0: “+”,”-”,”100%”key is valid.
Diagnosis No.200 SOVI=1: external override switch is valid.
NOTE:
1 Feed rate, time constant and method of automatic acceleration/deceleration
for manual rapid traverse are the same as G00 in programmed command.
2 Turning on the power or releasing the emergency button, and reference
position return is not executed:
rapid traverse ON: That feed rate is JOG feed rate or rapid traverse is
determined by parameter P012 ISOT.
3 In JOG mode, this button is valid and LED goes on.
Ⅲ OEPRATION-4(MANUAL OPERATION) 4 - 4
In AUTO/MDI mode and DRY RUN is ON, this button is valid and LED goes
on.
In EDIT/HANDLE mode, this button is invalid and LED extinguishes.
NOTE:
Step mode and handle mode is the same pushbutton, which is set by parameter.
Incremental feed
UNIT 1 10 100
Metric input (mm) 0.001 0.01 0.1
Inch input (inch) 0.0001 0.001 0.01
NOTE:
This button is valid and LED goes on only in HANDLE/STEP mode.
+Z +Y -4
+X -X
+4 -Y -Z
axis direction
NOTE:
1) The feed rate is the same as the JOG feed rate.
2) If an axis direction selection switch is pressed after rapid traverse has been
selected, movement is made at the rapid traverse rate. Rapid traverse
override is effective .
Ⅲ OEPRATION-4(MANUAL OPERATION) 4 - 5
NOTE:
1 Step mode and handle mode is the same pushbutton, which is set by
parameter.
2 Manual pulse generator is optional.
DNC
X Y Z 4th
NOTE:
This function is valid only in handle mode. (The word at the bottom of the key
is valid)
NOTE:
1 The above data is different corresponding to different machine tool.
2 Rotate the manual pulse generator at a rate of five rotations per second or
lower. If the manual pulse generator is rotated at a rate higher than five
rotations per second, the tool may not stop immediately after the handle is
no longer rotated or the distance the tool moves may not match the
graduations on the manual pulse generator.
3 This button is valid and LED is lit only in HANDLE/STEP mode.
EXPLANATION:
After stopped at the middle of the program, the tool can move to machine start
point rapidly in manual mode with this function. The tool compensation values will
be cancelled automatically.
If program zero isn’t stored, alarm No.90 will occur during zero return.
NOTE:
Press address P and key REFERENCE POSITION RETURN simultaneously,
program zero return mode will be specified.
(1) When the switch is turned on, the distance the tool is moved by manual
operation is added to the coordinates.
Y
Manual operation
P2
P1
X
(2) When the switch is turned off, the distance the tool is moved by manual
operation is not added to the coordinates.
Y2
Y1
P2 Manual operation
P1
X2
O1
O2
X1
The following describes the relation between manual operation and coordinates
when the manual absolute switch is turned on or off, using a program example.
G01 G90 X100.0 Y100.0 F010; ①
X200.0 Y150.0; ②
X300.0 Y200.0; ③
(A) Coordinates when block (2) has been executed after manual operation (X-axis
+20.0, Y-axis +100.0) at the end of movement of block (1).
Y
(220.0,250.0)
(200.0,150.0)
Manual operation
(100.0,100.0)
(B) Coordinates when the feed hold button is pressed while block (2) is being
executed, manual operation (Y-axis + 75.0) is performed, and the cycle start
button is pressed and released
Ⅲ OEPRATION-4(MANUAL OPERATION) 4 - 8
(150.0,200.0) (300.0,200.0)
Manual operation
(200.0,150.0)
(150.0,125.0)
(C) Coordinates when the feed hold button is pressed while block (2) is being
executed, manual operation (Y-axis +75.0) is performed, the control unit is
reset with the RESET button, and block (2) is read again
(300.0,275.0)
(200.0,225.0)
Manual absolute switch OFF
(150.0,200.0) (300.0,200.0)
Manual absolute switch ON
Manual operation
(200.0,150.0)
(150.0,125.0)
○
(D) When there is only one axis in the following command, only the commanded
axis returns.
N1 G01 G90 X100.0 Y100.0 F500;
N2 X200.0;
N3 Y150.0;
Ⅲ OEPRATION-4(MANUAL OPERATION) 4 - 9
N2
Manual absolute switch OFF
N1
(E) When the following commands are incremental commands, operation is the
same as when the switch is OFF.
Press this key in JOG or HANDLE or STEP mode, tool carrier will rotate and
exchange the next cutting tool. The LED keeps lighten during tool exchange, it will
extinguish while tool exchange completion. (See the description of machine tool builder
for details.)
NOTE:
This function key is a retained key, it uses for tool exchange or special use. (See the
description of machine tool builder for details.)
Press this key in JOG or HANDLE or STEP mode, it will change ON→OFF→
ON… like a lock pushbutton. The coolant LED goes on only when the coolant switch
turns on regardless of mode.
NOTE:
After start-up in manual mode, if mode select switch changes to non-manual mode, it
will close output. Press ‘RESET’ button or ‘EMERGENCY’ button, it can be closed.
(4.6.3~4.6.5 is the same.)
Press this key in JOG or HANDLE or STEP mode, it will change ON→OFF→
ON… like a lock pushbutton. The lubricant LED goes on only when the lubricant switch
turns on regardless of mode.
4.7.4 Spindle CW
Press this key in JOG or HANDLE or STEP mode, Spindle starts to rotate
clockwise. Spindle CW LED goes on only when spindle starts to rotate clockwise
regardless of mode.
Press this key in JOG or HANDLE or STEP mode, Spindle starts to rotate
counter-clockwise. Spindle CCW LED goes on only when spindle starts to rotate
counter-clockwise regardless of mode.
Press this key in JOG or HANDLE or STEP mode, Spindle starts to rotate
clockwise. Spindle stops after releasing it. Spindle CW LED goes on only when spindle
starts to rotate regardless of mode.
X Y Z 4th
REFERENCE POSITION RETURN COMPLETION LED:
When the tool has returned to the reference position, the reference position return
completion LED goes on. When the tool moves from the reference position, the
reference position return completion LED is extinguished.
Press coolant key or lubricant key without coolant and lubricant output,
Ⅲ OEPRATION-4(MANUAL OPERATION) 4 - 11
corresponding output signal puts through. On the other hand, pressing coolant key
or lubricant key with coolant and lubricant output, corresponding output signal is
closed. Pressing spindle CCW/CW key while spindle is rotating CW/CCW, spindle
rotation will stop. Pressing spindle rotate one step key while spindle is rotating CCW,
spindle rotate counter-clockwise will continue, but alarm No.06 (M03, M04 code
error) occurs.
Output signal isn’t modified when mode changes after start-up in manual mode.
However, output signal is closed when corresponding M code is executed in
automatic mode. Corresponding M code is executed in automatic mode, output
signal can be closed by pressing relevant key in manual mode.
If M03 or M04 is specified without M05 command during spindle CW/CCW, M03 or
M04 is ignored. Spindle will rotate continuously , but alarm No.06 (M03, M04 code
error) occurs.
Pressing RESET button, whether output signal of M08 ,M32,M03 and M04 are
changed or not is determined by parameter №005 RSJG.
5. AUTOMATIC OPERATION
5.1 Operation Mode
5.1.1 Memory Operation
(1) Programs are registered in memory in advance. (Ⅲ-9)
(2) Select a program from the registered programs. (program search)
(3) Press the AUTO mode selection switch.
(4) Press the cycle start switch on the machine operator’s panel. Automatic
operation starts, and the cycle start lamp goes on. When automatic operation
terminates, the cycle start lamp goes off.
(C) Press PAGE key to select 【actual block】on the left of the screen. (or press
soft key [MDI/M] in sub-menu.)
Ⅲ OPERATION-5(AUTOMATIC OPERATION) 5 - 2
(E) Press INPUT key. The data, X 250., is input and displayed. If you are aware
of an error in the keyed-in number before pressing the INPUT key , press the
CAN key and key in X and the correct number again.
(G) Press INPUT key. The data, Y550. is input and displayed. If you are aware
of an error in the keyed-in number before pressing the INPUT key , press the
CAN key and key in Y and the correct number again.
(H) Press the cycle start button on the machine operator’s panel.
Ⅲ OPERATION-5(AUTOMATIC OPERATION) 5 - 3
NOTE:
In MDI operation, the setting (absolute) determines whether the commands are
absolute or incremental. The G code (G90/G91) is ignored.
2 Mode selection.
DNC
X
This is a button with lock. Pressing [DNC] key in automatic mode, it will
change ‘ ON→OFF→ON…’. The DNC LED is lit while it is in ‘ON’, system is in
DNC mode. The DNC LED is extinguished while it is in ‘OFF’.
Press RESET to reset system before pressing CYCLE START when DNC mode
and AUTO mode change each other (press [DNC] mode changes).
Ⅲ OPERATION-5(AUTOMATIC OPERATION) 5 - 4
NOTE:
This is a compound key. It is X-axis direction key in handle mode.
3 The program pointed by the pointer will be executed in automatic mode with
DNC switch OFF.
When FEED HOLD button is pushed, the FEED HOLD LED lights and the CYCLE
START LED is extinguished.
2) Dwell is not continued even in a feed hold state if the dwell is being
executed.
3) The machine tool is stopped after the operation of the M,S,T function is
executed.
When CYCLE START button is pushed, the program will execute continuously.
NOTE:
If control system is in feed hold mode without alarm, [DWELL] will replace [ALARM]
at the bottom of the screen.
5.4.5 RESET
Automatic operation can be stopped and the system can be made to the reset state
by using RESET key on the LCD/MDI panel or external reset signal. When reset
operation is applied to the system during a tool moving status, the motion is slowed
down then stops.
Ⅲ OPERATION-6(DRY RUN) 6 - 1
6. DRY RUN
6.1 ALL-AXIS MACHINE LOCK
Press the machine lock switch on the operator’s panel. The tool does not move but
the position along each axis changes on the display as if the tool were moving. But
auxiliary function M, S, and T are available, and tool graph path can be displayed.
This is available for checking a program.
This is a button with lock. Press it each time, it will change ‘ON→OFF→ON…’. The
LED is lit when it is in ‘ON’, the LED is extinguished when it is in ‘OFF’.
NOTE:
1 When the G27 or G28 command is specified, the machine is not moved to
reference position and the REFERENCE POSITION RETURN LED is not lit.
2 In general, this button can’t be pressed during program executing.
This is a button with lock. Press it each time, it will change ‘ON→OFF→ON…’. The
LED is lit when it is in ‘ON’, the LED is extinguished when it is in ‘OFF’.
NOTE:
M00, M30, M98, and M99 commands are executed even in the auxiliary function
lock state.
100%
1〕 Feed rate override +,- and 100﹪ selection. The LED is lit at 100%. The
override can be selected from 0 to 150% (10% steps).
2〕 JOG feed rate +,-.
2)Select KND 1000 machine tool optional operator’s panel. (or install external
override switch)
Ⅲ OPERATION-6(DRY RUN) 6 - 2
Set the feedrate override dial to the desired percentage (%) on the machine
operator’s panel, before or during automatic operation.
60 70 80 90
50 100
40 110
30 120
20 130
10 140
0 150
Rapid traverse override is valid in non-handle or non-step mode. (The data at the
bottom is valid.)
An override of four steps (F0, 25%, 50%, and 100%) can be applied to the rapid
traverse rate. Select one of the four feedrates with the rapid traverse override
switch during rapid traverse.
The following types of rapid traverse are available. Rapid traverse override can be
applied for each of them.
1) Rapid traverse by G00
2) Rapid traverse during a canned cycle
3) Rapid traverse in G27, G28 and G29
4) Manual rapid traverse
5) Rapid traverse in manual reference position return
When the feed rate is 10m/min and this switch is set to the position of 50%, the
actual feed rate becomes 5m/min.
NOTE:
When in AUTO or MDI or JOG mode, press this switch, the LED goes on; release
it , the LED is extinguished.
Ⅲ OPERATION-6(DRY RUN) 6 - 3
100%
Analogue spindle override +,- and 100% can be selected. This switch is set to
the position of 100%, the LED goes on.
The override that can be specified ranges from 50% to 120% (10% steps).
NOTE:
This function is valid only when analogue spindle function is selected.
4th
Press the dry run switch on the machine operator’s panel during automatic
operation. Turning on or off is via pressing the key repeatedly. The led goes on as it
is in ON.
The dry run feedrate changes as shown in the table below according to the rapid
traverse switch and parameters regardless of the feed specified in the program.
NOTE:
This is a compound key. It is fourth-axis in handle mode. ( It is valid on the
condition that purchasing 4-axis CNC system.)
Program command
Rapid traverse Feed
Manual rapid traverse button
Rapid traverse JOG maximum feedrate
ON
Manual rapid traverse button JOG feedrate or rapid
JOG feedrate
OFF traverse *
*: Rapid traverse can be specified by parameter (RDRN, №.004).
Ⅲ OPERATION-6(DRY RUN) 6 - 4
Press the single block switch on the machine operator’s panel during automatic
operation. Turning on or off is via pressing the key repeatedly. The led goes on as it
is in ON.
FUCTION EXPLANATION:
Press the single block switch on the machine operator’s panel. The execution of the
program is stopped after the current block is executed. Press the cycle start button
to execute the next block. The tool stops after the block is executed.
NOTE:
1 This is a compound key. It is handle Z-axis direction in handle mode.
2 If G28 to G30 are issued, the single block function is effective at the intermediate
point.
3 In a canned cycle, the single block stop points are the end of ,(1) (2), and (6)
shown below. When the single block stop is made after the point (1) or (2), the
feed hold LED lights.
1
2 6
Rapid traverse
Feed
3 5
4
4 Single block stop is not performed in a block containing M98P_;. M99; or G65.
However, single block stop is even performed in a block with M98P_ or M99
command, if the block contains an address other than O, N or P.
6.8 RESTART
1 Return the mode select switch to the desired operation mode ( AUTO or MDI
mode).
2 Press CYCLE START button
When pressed CYCLE START button, the CYCLE START LED is lit, automatic
operation starts again. The FEED HOLD LED will extinguish if it is lit .
Ⅲ OPERATION-6(DRY RUN) 6 - 5
Press the optional block skip switch on the machine operator’s panel during
automatic operation. Turning on or off is via pressing the key repeatedly. The led
goes on as it is in ON.
This is the function which allows the control to skip a block of information in which a
slash “/” is punched, as the first character in the block.
NOTE:
1 The optional block skip function is identified when the block is read into the buffer
storage from the memory. Therefore, this function is not effective to the block
which has been read into the buffer storage.
2 This is a compound key. It is handle Y-axis direction in handle mode.
Ⅲ OPERATION-7(SAFTY OPERATION) 7 - 1
7. SAFTY OPERATION
7.1 EMERGENCY STOP
If you press Emergency Stop button on the machine operator’s panel, the machine
movement stops in a moment. All output such as spindle rotate and coolant will be
closed. All output must restart after releasing the button.
This button is locked when it is pressed. The method of release is turning clockwise
with pushing.
Red
EMERGENCY STOP
NOTE:
1 EMERGENCY STOP interrupts the current to the motor.
2 Causes of trouble must be removed before the button is released.
8.ALARM FUNCTION
When a unusual operation occurs, affirm the following contents:
(1) an alarm is displayed on the LCD
Refer to APPENDIX 5—error codes list to find the cause of the alarm. The
causes of alarms are classified by error codes. If PS □□□ is displayed, it is
error about program or data setting, an alarm can be cleared by modified
program or setting data.
NOTE:
A program protection switch is set on 【OPR/INDEX】soft operator’s panel in order
to protect machining program. Editing program is available only in turning on the
switch. Pressing display function keys 【OPR/INDEX】to display machine tool
screen, then press key 【4】to turn on or off program protection switch. It is
necessary to press number key after pressing sub-menu keys twice to enter if using
soft menu keys.
The above procedure is to store program number. Every word in the program is
input by repeating the above procedure.
Program is transmitted into memory in this way. “INPUT” displays at the right
bottom of screen during transmission.
Ⅲ OPERATION-9(PROGRAM STORAGE AND EDITING) 9 - 2
This operation is the same as 9.2.2. several programs store into memory with %
end.
(2) If program number is specified by MDI keyboard before CNC program storage,
specified program number will become program number regardless of
address O on the top of the program. The following program number will add
1 in proper order.
9.4 PROGRAM SEARCH
When memory holds multiple programs, a program can be searched for. In general,
the program pointed by current program pointer is displayed. The program pointer
can’t lose even if turning off the power. The desired program can be called by
searching (the program pointer will be changed at the same time), the called
program can be edited or execute. This operation is called program search.
There are two methods as follows.
(1) Procedure for searching
(A) Mode selection.(EDIT or AUTO)
(B) Press the [PRGRM] button to display program.
Ⅲ OPERATION-9(PROGRAM STORAGE AND EDITING) 9 - 3
NOTE:
When all registered programs are displayed, the first program will appear.
NOTE:
Press the key [RESET] to stop output.
Ⅲ OPERATION-9(PROGRAM STORAGE AND EDITING) 9 - 4
O1000 ; Sub-program
O8000 ;
M99 ;
NOTE:
1 Alarm P/S No.79 occurs and check stops when difference appears at the
comparison.
2 Turn on the program protect switch and repeat the above operation, program
is stored in memory but comparison can’t execute.
NOTE:
1 A word is an address followed by a number. With a custom macro, the concept
of word is
Ⅲ OPERATION-9(PROGRAM STORAGE AND EDITING) 9 - 6
ambiguous. So the editing unit is considered here. The editing unit is a unit
subject to alteration or deletion in one operation. In one scan operation, the
cursor indicates the start of an editing unit. An insertion is made after an editing
unit.
According to this definition, a word is an editing unit. The word “word”, when used
in the description of editing, means an editing unit according to the precise
definition.
2 The cursor is always at the bottom of the editing unit and editing is executing at
the position of the editing unit pointed by cursor. Program execution starts at the
position of the editing unit pointed by cursor in automatic mode. That moving the
cursor to the position of editing or executing is defined as search.
The cursor moves forward word by word on the screen; the cursor is displayed
at a selected word. The cursor is positioned to the address of the selected
word.
The cursor moves backward word by word on the screen; the cursor is
displayed at a selected word.
(C) Holding down the cursor key↓ or ↑ scans words continuously.
(D) Pressing the page key↓displays the next page and searches for the first
word of the page.
Ⅲ OPERATION-9(PROGRAM STORAGE AND EDITING) 9 - 7
(E) Pressing the page key↑displays the previous page and searches for the
first word of the page.
(F) Holding down the page key↓or↑ displays one page after another.
Search direction
NOTE:
• S12 cannot be searched for if only S1 is keyed in.
• S09 cannot be searched for by keying in only S9. To search for S09, be
sure to key in S09.
(C) Pressing the cursor ↓ key starts search operation. Upon completion of
search operation, the cursor is displayed at “S” of S12. Pressing the
cursor key↑ rather than the cursor key↓ performs search operation in
the reverse direction.
Search direction
(A) Method 1
Ⅲ OPERATION-9(PROGRAM STORAGE AND EDITING) 9 - 8
Press RESET when the program screen is selected in EDIT mode. When
the cursor has returned to the start of the program, the contents of the
program are displayed from its start on the LCD screen.
(B) Method 2
Execute a Program Number Search.
(C) Method 3
(1) Set the mode selector switch to AUTO or EDIT.
(2) Press the key [PRGRM] to display the program.
(3) Press the address key O
(4) Press CUROSR↑key
Example:
Key in the other address keys after inputting X100, X100 will be inserted
automatically. X100; will be inserted automatically after inputting [EOB].
(4) Press the ALTER key. The input word will replace the word pointed by current
cursor.
(This is, input M15 and press [ALTER] key.
(1) Press the address key N and [DELET] button, the current sequence block will
be deleted;
After deleting the cursor N110 X50.0
current position
(2) Press the address key N , L (the number of block) and [DELET] button, L
blocks dowm the current sequence number will be deleted;
(3) Press the address key N , -L (the number of block) and [DELET] button, L
blocks up the current sequence number will be deleted;
NOTE:
1 If you don’t want to insert N12 to the next block, press the [DELET] button to
delete N12.
2 In the above example, if the next sequence number is N100 instead of N12, input
N100 and press the [ALTER] button, N100 will be stored and the sequence
number will be changed to N100.
B) Search:
Key in P and an offset number and press the INPUT button.
5) Press the key INPUT and display the offset amount on the LCD screen.
3) Press the key INPUT and add incremental values to current offset and
display.
Example:
Specified offset amount: 5.678
Incremental by keyboard: 1.5
New offset value: 7.178(=5.678+1.5)
NOTE:
1 When the offset value is changed during automatic operation, the new offset
value does not become valid until the H code followed by the offset number
is commanded.
2 The compensation and offset are the same meaning in this description. That
is to say, compensation number is equal to offset number and compensation
values is equal to offset amount.
FORMAT:
(A) %LF is at the beginning of the program (LF is input by ENTER key in
programmer and it isn’t displayed on the computer screen.)
(B) Offset number and offset amount
G10 [G90/G91] P__ R__ LF
P-offset number
R-offset amount
G90/G91-absolute/incremental
G90 or G91 can be ignored. At this time, the current G codes of group 03 is
valid. The procedure (B) can be repeated if necessary.
(C) File stop %
When inputting offset number not to be included in the file, the values will not
change.
OPERATION:
The above file can be input by the below procedure.
(1) Mode selection. (EDIT)
(2) Press the button or the soft key OFSET to display the offset screen.
Run KND communication software to be in output mode.
(3) Press the key INPUT to input.
“input” displays at the bottom of the screen during input.
Ⅲ OPERATION-10(DISPLAY) 10 - 3
NOTE:
1 Offset amount is in absolute or in incremental mode, it is different between MDI
input and programmer input. One is parameter IOF, the other is G90 or G91.
2 Input will stop when the following alarm occurs.
(1) Input the other address except R and P.
(2) The value of R or P exceeds the range.
3 Press the button RESET to stop in the middle of the program.
(4) Press the cursor key to move the cursor to the modified position.
(5) Input “0” or “1”
(A) X-axis mirror (REVX)
1: X-axis symmetry ON
0: X-axis symmetry OFF
(B) Y-axis mirror (REVY)
1:Y-axis symmetry ON
0:Y-axis symmetry OFF
NOTE:
Ⅲ OPERATION-10(DISPLAY) 10 - 4
Press the cursor key ←、→ to be parameter switch in ON or OFF. CNC displays
P/S 100 alarm in parameter switch on. Input parameter is available at this time, switch
parameter switch to OFF after input completion. Press the button RESET to clear
alarm P/S 100.
When the absolute value for a common variable exceeds 99999999, ******** is
displayed. The values for variables can be set on this screen. Relative
coordinates can also be set to variables.
(1) DISPLAY
1) Press the key OFSET
2) Press the page key or the soft key MSCRO to display macro variables.
(2) SET
1) Display the screen including the variable number to be set.
2) Move the cursor to the variable number to be set (see 10.1.1(1)-3)
3) Input data via the number key.
4) Press the key INPUT to input variables value.
10.4 PARAMETER
When connecting CNC and machine tool, set parameter to make the function of
driver character and machine tool specification well. For details refer to the
description of individual machine tool builder.
⑴ Bit parameter
Parameter №004 to 014 is bit parameter, high bit is on the left (BIT7), the
sequence is BIT6 , BIT5 , BIT4 and BIT3 , BIT2 , BIT1 , BIT0. So far as
concerns bit parameter, there are two kinds of display methods of the parameter
details. One is English abbreviation for the overall parameter bit, the other is the
detail Chinese display for each bit. Press the key CHANG to shift each other.
As the above example, if pressing the key CHANG , the parameter detail
display is as below:
BIT7: OTFP=1/0 the maximum output frequency is 500/32KPPS.
At this time, Bit 7 is displayed and press the cursor key → to display the details
of bit 6. The details of each bit will be displayed circularly in the sequence of
decrease progressively. If pressing the cursor key ← to display the details of bit
parameter, the details of each bit will be displayed circularly in positive
sequence.
⑵ Data parameter
The display method of parameter details is only one kind. For example, when
the cursor is at the position of No.15, the display is as follows:
X-axis command multiplication rate.
machine. The content of this data varies according to the machine model. If it is
changed, the machine accuracy is reduced. In principle, the end user must not
alter this data. Refer to APPENDIX 1.
Like bit parameter, press the cursor key → to display the details of diagnose message.
The details of each bit will be displayed circularly in the sequence of decrease
progressively. If pressing the cursor key ← to display the details of diagnose message,
the details of each bit will be displayed circularly in positive sequence. For some
diagnose number, the second display-bar is not existing. See examples as below:
Ⅲ OPERATION-10(DISPLAY) 10 - 10
① MT→PC signal
‘input signal of machine tool side’
② PC→MT signal
‘output signal of machine tool side’
③ PC status
‘M code wait time ’and so on.
④ NC status signal
( Fig. 1 )
BUTTON DESCRIPTION
Mode - MDI←AUTO← EDIT←STEP/ HANDLE← JOG← MANUAL TEACH
←HANDLE TEACH (F1)
Mode + MDI→AUTO→ EDIT→STEP/ HANDLE→ JOG→ MANUAL TEACH
→HANDLE TEACH (F2)
Single block Single block switch (F3)
ZRN switch Reference position return switch (F4)
Dry run Dry run switch (F5)
Key1 Select optional block skip switch (number key 1)
Key2 Machine tool lock switch (number key 2)
Key3 Auxiliary function switch (number key 3)
Key4 Program protect switch (number key 4)
Ⅲ OPERATION-10(DISPLAY) 10 - 12
( Fig. 2 )
Key Function
Override - Invalid, determined by override switch on operator’s panel
Override + Invalid, determined by override switch on operator’s panel
Axis motion- Manual motion “-“
Axis motion+ Manual motion “+“
Start/stop Cycle start / feed hold
Number key1 Select handle or manual
Number key2 Manual rapid traverse switch
Number key3 Step/ manual selection (default value is X1)
Number key4 Rapid traverse override changed in negative sequence (default
value is 100%)
Number key5 Rapid traverse override changed in positive sequence
Number key6 Spindle override changed in negative sequence
Number key7 Spindle override changed in positive sequence
Ⅲ OPERATION-10(DISPLAY) 10 - 13
( Fig. 3 )
Key Function
CW Spindle CW start
CCW Spindle CCW start
Stop Spindle stop
Step Spindle step rotate
Cool Coolant on/off
Number key1 No used
Number key2 No used
Number key3 Lubricant on/off
Number key4 No used
Number key5 No used
Number key6 No used
Number key7 No used
㈡ METHOD
All machine software operation keys posses the same function as machine tool
operation button. LED on operator’s panel is lit after selecting soft keys. Display
screen will change correspondingly after selecting operation button on panel. ‘*’
is on machine screen or not. It is no meaning, its setting and clear is as below:
Procedure :
Ⅲ OPERATION-10(DISPLAY) 10 - 14
. ) Screen selection.
..) Press INPUT and corresponding sub-menu key or number key. [override -] on
Fig. 2 corresponds to feedrate, [override +] corresponds to jog feed. There is
‘*’in front of corresponding key.
...) As above. Replace INPUT with DEL in procedure2, and delete‘*’.
Ⅲ OPERATION-11(DISPLAY) 11 - 1
11. DISPLAY
11.1 Status Indication
(1)The status of the system is indicted above the soft keys at the bottom of the
screen. The following indications are displayed.
NOT READY Indicates that the control unit or the servo system is not ready
for operations and this indication is flickering.
ALM Indicates that an alarm was generated, press the ALARM
button to display alarm details (this indication is flickering).
OPR Display the current operation mode: AUTO, EDIT, JOG, ZRN,
STEP/HNDL, MDI, RETURN PROGRAM ZERO.
BAT ALM This alarm displays when the voltage of the battery is less than
the specified value.
EDIT Indicates that the current editing operation.
A) EDIT: Indicates that editing is being performed.
B) SEARCH: Indicates that searching is being performed.
C) OUTPUT: Indicates that files is outputting via prot.
D) INPUT: Indicates that files is inputting via port.
E) COMP: Indicates that program is being compared via
interface.
F) SAVE: Indicates that system data is being stored to flash
memory.
The program number and sequence number displayed depend on the screen and
are given below:
On the program screen in the EDIT mode on Background edit screen :
The program No. being edited and the sequence number just prior to the cursor are
indicated.
(2) Press the button PAGE to display the below 4-screen. (or using sub-menu to
select directly)
1) Display the executing block command, the next block command, MDI data
and current modal values.
NOTE:
The page of above described are displayed in the same screen.
2) Display the executing block command and the next block command. (press
the sub-soft key current/next)
Ⅲ OPERATION-11(DISPLAY) 11 - 4
The moving position can be displayed via relative position and be cleared as 0
after turning on the power to start the machine tool.
Ⅲ OPERATION-11(DISPLAY) 11 - 6
1 Key in the address of the axis name (X, Y, etc.) on the relative coordinate
screen. The entered axis address blinks. Two or more axis names can be
input.
2 Press the CAN key. The relative coordinates of the axis having the blinking
address are reset to 0.
The current positions of the tool in the following coordinate systems are displayed
at the same time:
(A) Current position in the machine coordinate system (machine coordinate)
(B) Distance to go (distance to go)
(C) Graphic
(D) Program
There is an alarm details display at the bottom of the LCD screen on alarm screen
to display the current P/S alarm details. Other alarms such as driver device alarm
and overheat alarm display in the middle of LCD screen.
NOTE:
1 Display screen is changed to alarm screen automatically when an alarm occurs.
2 In feed hold mode and without alarm, “DWELL” will be flickering at the bottom of
the screen instead of “ALARM”.
Ⅲ OERATION-12 (DATA OUTPUT AND FLASH MEMORY) 12 - 1
(3) Press the function key or soft key OFSET to display the offset data.
Run the communication software to be in receive mode.
(6) Press the key RESET to end the offset amount output
12.1.2 PARAMETER
Specified parameter in CNC can output to external computer via interface. The
format of output data is the same as the format of parameter input. (refer to
Ⅲ.10.4.2)
(1) Set output data interface
Output data interface baud rate can be set by parameter.
(3) Press the function key or soft key PARAM to display the parameter screen.
Run the communication software to be in receive mode.
NOTE:
1 Tool compensation values and parameter transmit to computer as a file, the file
can be modified and edited on computer.
Ⅲ OERATION-12 (DATA OUTPUT AND FLASH MEMORY) 12 - 2
There are three disks in a flash memory, each disk includes data such as
parameter, program, offset, PC parameter and so on. The system current data can
be stored in a random disk, in the meantime , system can read data from a random
disk as the current data.
The data can be saved because of the battery on the system board. The data of
turning on the CNC is the same as its turning off. The disk data is read when the
current data is disappeared or necessary.
“Save” is flickering at right-down of the status indication during storage. The default
value is disk1 when the number key is ignored. The flickering “save” will disappear
after the completion of the storage.
After inputting parameter and program data, “please store” is flickering at right-
down of the screen automatically. The modified data must be stored in order to
remember after power off. “please store” will disappear automatically after storage.
If you don’t want to store or display the flickering “please store”, press CAN to
cancel.
NOTE:
Storage can not be executed when an alarm occurs. Only parameter P013 EAL=1,
storage can be completed when an alarm occurs.
Ⅲ OPERATION-13(GRAPH FUNCTION) 13 - 1
13 GRAPHIC FUNCTION
Tool path can be displayed on the LCD screen. Therefore, cutting path and
machined shape can be checked on the LCD screen. The tool path can be
reduced and enlarged.
Using graph parameter to select eight coordinate systems:
Y X X Z
X Y Z X Y
Z Y Z Y
Y Z X X Z
The dimension of LCD:
57.5mm 76mm
GC:LCD center
Programmed path
GC
The tool path on the LCD screen is described by the workpiece coordinate values
of the tool moved. The center of LCD corresponding to the workpiece coordinate
values is as below.
GcX = (X max + X min)÷2
GcY = (Y max + Y min)÷2
GcZ = (Z max + Z min)÷2
The maximum or the minimum value in X, Y or Z is set by graph parameter.
Y X X Z
X Y Z X Y
Z Y Z Y
Y Z X X Z
·Maximum and minimum values:Set the maximum and minimum values of each
axis, then corresponding graph center
coordinate values can be set automatically.
EXAMPLE: (2-dimension space)
600.000
(vertical maximum)
LCD center
500.000
200.000 (350.000,500.000) (horizontal maximum)
(horizontal minimum)
400.000
(vertical minimum)
horizontal graph center =(500.000+ 200.000)÷2 = 350.000
Proportion= 152÷300 = 0.507
vertical graph center =(600.000+ 400.000)÷2 = 500.000
Proportion= 114÷200 =0.57
Scale proportion = min{0.507,0.57}= 0.507,
It can be set as the values no more than 51.
If graph center parameter need to modify, it can be set after setting the
maximum and minimum values of each axis.
3-dimension space:
End point(Z-axis coordinate value is 100mm)
(X1,Y1)
Z-axis coordinate value in absolute is 100mm
the corresponding point on LCD may be different.
Thus it can see, Z-axis coordinate value in absolute corresponding point on LCD is
uncertain in three dimensions space. Coordinate X and Y are the same. LCD
center coordinate value in absolute corresponding to each axis can only be set by
Ⅲ OPERATION-13(GRAPH FUNCTION) 13 - 5
X Y
① Press the key S (or the soft key START in sub-menu) to enter drawing
mode.
② Move machine tool in AUTO/MDI/JOG mode. When the absolute
coordinate values change, tool path will be displayed correspondingly.
③ Press the key T (or the soft key STOP in sub-menu) to enter drawing stop
mode.
④ Press the key R (or the soft key DELET in sub-menu) to delete drawing.
NOTE:
In program debugging, machine lock and dry run feed rate can be used.
Ⅲ OPERATION-13(GRAPH FUNCTION) 13 - 6
30
Z
40
90
n × a × L × c × 1000
F=
6
F :upper limit feed (mm/min)
n : the maximum frequent allowed by stepper motor in the desired torque
(KPPS)
a : stepper angle (deg)
L : machine tool incremental value corresponding to one rotation of the stepper
motor(mm)
c : stepper motor and guild screw gear ratio (directly connection is 1)
EXAMPLE:
n = 10 KPPS, a = 0.75(deg), L = 5(mm) c = 1
F = 6250 mm/min
EXAMPLE:
n = 15KPPS, a = 0.75(deg), L = 5(mm) c = 1
F = 9375 mm/min
CMR 360
=
CMD a × L × 1000
CMR P
=
CMD L × 1000
(PCMD=0)
Square wave:
The maximum output frequent256KPPS
② procedure:
◇ Select reference position return mode.
◇ Press an optional axis manual switch to move machine tool to the position
specified by procedure ①.
◇ Reference position return completion LED on operator’s panel goes on
after returning reference position.
Work coordinate system setting and pitch error compensation can be executed
by parameter selection.
NOTE:
1 This mode will generate error if loss of step occurs. Error is equal to the
step of loss of step. In this case, pitch error compensation can’t be executed
correctly.
2 Set parameter No. P011 ZRNL to hold.
Mode b:including machine origin (Deceleration dog and one rotation signal are
necessary.)
◇ Select reference position return mode.
Ⅲ OPERATION-14(DRIVER CHARACTER DESCRIPTION ) 14 - 4
◇ Press manual axis direction switch set by parameter to move machine tool
at rapid traverse before deceleration point, machine tool move to zero
point at the speed of FL after pressing the deceleration switch.
◇ Reference position return completion LED on operator’s panel goes on
after returning reference position.
Work coordinate system setting and pitch error compensation can be executed
by parameter selection.
NOTE:
1 This mode will not generate error if loss of step occurs. That is to say,
machine origin is not variable after retuning zero in this mode. In this case,
pitch error compensation can be executed correctly.
When CNC disposing stepper motor, according to its character, the following
parameter must be set generally according to concrete conditions in order to inhibit
turning irregularly.
1 Backlash Compensation
Compensation frequent is set to the minimum. P010/P011 CPF4,3,2,1 is
set to 0.
P011 :
BDEC=1 ( Exponential acceleration/deceleration, inhibit lose of step
generating because of backlash compensation output over fast
when motor rotates in opposite direction)
BD8 =1 Backlash compensation output frequent is one eighth of parameter
P0100 setting value.
15 DESCRIPTION
15.1 Standard Parameter Setting and Memory Clear
Press the key INPUT +0 to turn on the power, the following will prompt:
‘fetch disk, press the key RESET to confirm, press the key CAN to cancel
(number)’
At this time press the key RESET to set KND standard parameter automatically,
and clear away program and offset. See APPENDIX 7 standard parameter list.
Parameter setting is corresponding to user’s different configuration, be sure to
backup the corresponding parameter.
NOTE:
1 System will display ‘not ready’ in large font on the screen after pressing the
emergency button, press an optional soft-menu key to enter normal screen.
2 In order to keep the system normal, correct parameter, program, offset and PC
data (such as counter and time-counter) are necessary. The important data must
be recorded or transmitted from RS232 port to backup after completing machine
tool debugging.
Ⅳ CONNECTION
Ⅳ CONNECTION -1(System Structure) 1-1
Ⅳ CONNECTION
This chapter mainly describe the system structure, connection and machine interface. The
version of system board is 0012I-0000-W01Z-0106.
1 System Structure
1.1.System Configuration
KND 1000MⅠ series CNC system is made up of the following units:
(1) CNC control unit
(2) Additional operator’s panel (optional function)
(3) digital AC servo motor driver device
(4) servo motor
(5) Power transformer
(6) Electrical cabinet
Fig 1.1
Ⅳ CONNECTION -1(System Structure) 1-2
14
67.5
14
14
14
400mm
90 + 0.1
100mm
5
130±0.1 130±0.1 130±0.1
thickness:100mm
fig 1.3
ⅣCONNECTION-2(Internal connection) 2-1
2. INTERNAL CONNECTION
2.1 System Internal Connection Diagram
XS2
XS20
6
XS2
7
LCD screen
J1 XS3
XS24
XS2
XS21
Keyboard/LCD control board LCD display connection board
XS23
XS3 XS1
XS9 XS10
System Main board
0
0
1
2
1
-
0
XS1 0
0
0
-
W
0
1
Z
-
0
1
0
6
XS4
XS5 XS8
XS1
power
Power unit
SOCKET DESCRIPTION:
1:Keyboard Control Board
XS20:connect with mainboard
XS23:connect with mainboard
XS25:connect with display connection board
XS26:connect with LCD backlight power cable
XS27:connect with LCD backlight power cable
J1 :connect with keyboard control board
XS3 :connect with HITACHI LCD
+
-
+
+
0 0 1 0 +
5 5 V 1
2 V 2 V 2
4
V V V V V
Fig.2.2
2.3 CNC Mainboard switch description
2.4.3 mainboard version:0012I-0000-W01Z-0106
XS3-KEY&LCD
SA14
1 2 3 4 5 6 7 8
0
0
1
2
1
-
0
0
0
0
SA3 SA5
-
W
0
1
Z
-
0
1
0
6
SA4 XS8-power socket
SA13
open★ Initial setting, not modify.
SA15
ⅣCONNECTION-3(EXTERNAL CONNECTION) 3 - 1
XS52 XS50 XS53 XS51 XS60 XS61 XS56 XS54 XS55 XS57 XS58 XS59
W11X W11Y W11Z W114 W420 W600 W310 W300 W410 W320 W330
W400
4th-axis driver
Z-axis driver
X-axis driver
Operator box
Universal PC computer
Spindle encoder
transducer
Step step
step step
XS52 XS50 XS53 XS51 XS60 XS61 XS56 XS54 XS55 XS57 XS58 XS59
W10X W10Y W10Z W104 W420 W600 W310 W400 W300 W410 W320 W330
Spindle encoder
Universal PC computer
transducer
NOTE:
1、 spindle encoder is optional function;
W214 W204 2、 Connection between X/Y/Z and servo
motor is the same as 4th-axis. The cable
power number is as below:
transfor X power cable W20X
feedback cable W21X
servo Y power cable W20Y
~380V
feedback cable W21Y
Z power cable W20Z
Fig.3.1.2 feedback cable W21Z
ⅣCONNECTION-3(EXTERNAL CONNECTION) 3 - 3
CNC side
AM26LS31
1 CP+
SA14 , bit5 to bit8 is corresponding
x,y,z,4th 9
CP-
short:the signal voltage of PC is 5V;
2
open:the signal voltage of PC is 24V DIR+
10
DIR-
3
PC+
4.7K 150
11
PC-
+12V
2K
4
DRDY
+12V
2K
5 DALM
7 MRDY1
SA14
1-2short:the voltage of VP is +5V;
2-3short:the voltage of VP is +24V
8 MRDY2
+24V +5V
1 12,13 VP
14,15
2 0V
3
Fig.3.2.1b
ⅣCONNECTION-3(EXTERNAL CONNECTION) 3 - 4
1 XCP+ 1 YCP+
9 XCP- 9 YCP-
2 XDIR+ 2 YDIR+
10 XDIR- 10 YDIR-
3 XPC+ 3 YPC+
11 XPC- 11 YPC-
4 XDRDY 4 YDRDY
12 VP 12 VP
5 XDALM 5 YDALM
13 VP 13 VP
6 6
14 0V 14 0V
7 XMRDY1 7 YMRDY1
15 0V 15 0V
8 XMRDY2 8 YMRDY2
XS53:DB15F(Zaxis) XS51:DB15F(4thaxis)
1 ZCP+ 1 4CP+
9 ZCP- 9 4CP-
2 ZDIR+ 2 4DIR+
10 ZDIR- 10 4DIR-
3 ZPC+ 3 4PC+
11 ZPC- 11 4PC-
4 ZDRDY 4 4DRDY
12 VP 12 VP
5 ZDALM 5 4DALM
13 VP 13 VP
6 6
14 0V 14 0V
7 ZMRDY1 7 4MRDY1
15 0V 15 0V
8 ZMRDY2 8 4MRDY2
Fig.3.2.2b
nPC+
150 4.7k
nPC-
Fig. 3.2.3b
Reference point
Fig. 3.2.3c
The connection diagram using a magne-switch as deceleration switch and zero signal
*DECn
nPC(nPC+)
nPC-
External circuit
Fig. 3.2.3d
Reference point return path
Deceleration signal
*DECn
nPC
nPC+
signal
Reference point
Manual zero return direction
Zero return high speed Zero return setting
Fig. 3.2.3e
NOTE:This is zero return mode C,zero return direction parameter setting is opposite
to manual zero return direction. Refer to parameter description.
ⅣCONNECTION-3(EXTERNAL CONNECTION) 3 - 7
receive circuit:
2K
nDRDY
Fog. 3.2.3f
The effective voltage level of input signal can be set to high voltage level or low
voltage level by parameter. This kind of input circuit requires that driver device can
provide the following signal:
S y s t e m s id e
S y s t e m s id e
nD R D Y
nD R D Y
M ode2
M ode1 ( c o n t a c t s ig n a l)
( v o lt a g e le v e l s ig n a l)
0V 0V
Fig. 3.2.3g
(6)VP is a kind of driver device voltage type provided by CNC system(+5V or +24V).
It is determined by the setting of the first, the second, or the third bit of SA3
setting switch.
XS58(DB9-male) COMx(DB9-female)
signal pin pin signal
DCD 1 9
RXD 2 3 TXD
TXD 3 2 RXD
DTR 4 4 DTR
0V 5 5 0V
DSR 6 6 DSR
RTS 7 1 DCD
CTS 8 7 RTS
9 8 CTS
shielded weld
at socket metal Wires used:RVVP 5X0.2mm2
Fig.3.3
1 transforer
6 DB9M
2 0V
7
3 0V XS55 W130 VOLTAGE
8 INPUT
4 0V
9
5 SVC
Fig.3.4
NOTE:This signal uses twisted pair shielded wire RVVP2X0.5mm2 as far as possible.
ⅣCONNECTION-3(EXTERNAL CONNECTION) 3 - 11
1 KEY
9 0V
2 ST
10 0V
3 @SP
11 +5V
4 *ESP2
12 +5V
5 HA
13 +5V
6 HB
14 0V
*OV8
7 0V
*OV2
15 +12V
*OV4
8 +12V
*OV1
Fig.3.5.1
NOTE:
1 If additional operator’s panel don’t connect the following signals KEY,ST and @SP,
they can be shielded by diagnose parameter.
2 *ESP2 is mainly used to emergency switch on additional operator’s panel in order to
connect conveniently. If *ESP1 isn’t connected or series connected, it must be
shorted externally.
3 The common end of KEY,ST,@SP and *ESP2 signal is 0V.
ⅣCONNECTION-3(EXTERNAL CONNECTION) 3 - 12
KEY
Connector XS56
KEY
ST
ST
@SP
@SP
*ESP2
*ESP2
0V
+5V +5V
0V 0V
HA HA
HB HB
COM(0V)
0
10
20 Override
30
40 switch
50 connector
60
70
80
90
100
110
120
130
140
150
*OV8
*OV4
*OV2
*OV1
Fig.3.5.3
ⅣCONNECTION-3(EXTERNAL CONNECTION) 3 - 13
1 KEY
×1
9 0V
H4
2 ST
×10
10 0V
3 @SP
×100
11 +5V
4 *ESP2
*ESP3
12 +5V
HX
5 HA
13 +5V
HY
6 HB
14 0V
*OV8
HZ
7 0V
15 +12V
+24V
8 +12V
+24V
Fig.3.6
3.6.2 signal description
(1) ×1/×10/×100 :external handle override
(2) *ESP :emergency signal, as *ESP2 signal of additional panel
(3) HA,HB :pulse signal of handle
(4) HX/HY/HZ/H4 :selected-axis input signal
(5) 0V/+5V/+24V :power of CNC system
ⅣCONNECTION-3(EXTERNAL CONNECTION) 3 - 14
XS59:DB15M encoder
signal pin pin signal
*MPCS 3 *PCS
MPCS 4 PCS
*MPBS 5 *PBS
MPBS 6 PBS
*MPAS 7 *PAS
MPAS 8 PAS
+5V 12 +5V
+5V 13 +5V
0V 14 0V
0V 15 0V
4.7 k
Fig. 4.1.1
4.7k
Fig. 4.1.2a
Ⅳ CONNECTION-4(MACHINE TOOL INTERFACE) 4-3
4.7k
Fig. 4.1.2b
relay
Fig. 4.2.2
NOTE:
When an inductive load such as a relay is connected with the machine tool, a spark
killer must be inserted as close to the load (within 20 cm) as possible. When a
capacitive load is connected with the machine tool, a current limiting resistor must be
connected in series. Loads must always be below the rated current and voltage
including instantaneous values.
Ⅳ CONNECTION-4(MACHINE TOOL INTERFACE) 4-5
Protect resistor
Fig. 4.2.3
NOTE:
When transistor output lights the indicator lamp directly, shock current may be generate,
which may be damage transistor easily. Therefore, a protection circuit must be inserted
as shown above. Loads must always be below the rated current and voltage including
instantaneous values.
Ⅳ CONNECTION-4(MACHINE TOOL INTERFACE) 4-6
Pin NO. XS54:15 XS54:16 XS54:17 XS54:18 XS54:19 XS54:20 XS54:8 XS54:21
Jog +Y -Y
【Explanation】
SKP: The input signal of G31skip.
*DECY: The reference position return deceleration signal for Y axis.
UIB-UI8: The Macro instruction inputs signal.
The × 100/× 10: Handel incremental feed signal. Refer to 4-10。
+Y/-Y: Jog/step feed direction selection signal.
*LMY/*LPY: Y direction overtravel signal. Refer to 4-8。
Ⅳ CONNECTION-4(MACHINE TOOL INTERFACE) 4-7
Pin NO. XS54:4 XS54:5 XS54:6 XS54:7 XS56:14 XS56:15 XS56:7 XS56:8
Jog +Z
Mt limit *LMZ
【Explain 】
SPALM: The alarm input signal of principal axis.
*DECZ: The reference position return deceleration signal for Z axis..
*ESP: Emergency stop signal.
OV8-OV1:Feedrate override signal and jog federate signal.
+Z: Jog/step feed direction selection signal.
*LMZ: Z direction overtravel signal.
Pin NO. XS54:14 XS54:1 XS54:2 XS54:3 XS56:4 XS56:3 XS56:2 XS56:1
Return
*DEC4
decelerate
JOG -Z
SHIFT
HIGI LOWI
GEAR
Mt limit *LPZ
tool SLIN
【Explanation】
*DEC4: The reference position return deceleration signal for 4th axis.
*ESP2: The additional Emergency stop signal.
◎SP: The additional front-panel input to automatic operation stop signal.
ST: Automatic operation start signal.
KEY: The procedure protection switch inputs signal.
-Z: Jog/step feed direction selection signal.
HIGI/LOWI: Gear selection inputs signal.
SLIN: The tight tool arrives signal. Refer to 10-1。
Ⅳ CONNECTION-4(MACHINE TOOL INTERFACE) 4-8
Bit NO. 7 6 5 4 3 2 1 0
DGN.004 *ESP3 H4 HZ HY HX ×100 ×10 ×1
Pin NO. XS61:4 XS61:9 XS61:14 XS61:13 XS61:12 XS61:3 XS61:2 XS61:1
【Explaation】
*ESP3: The third Emergency stop signal.
H4/HZ/HY/HX: Manual handle feed axis selection/override signal. the signal is
valid only if the DGNOS No.198 EHPG =1.
【Explanation】
ZD: The spindle brake output signal.
VOI: The alarm output sigal.
M05: The spindle stop output signal.
M32: The lubricant open.
M08: The liquid of cool off open.
M10: The code M10 outputs signal.
M04: The spindle turns reversely to output signal.
M03:The spindle turns to output signal.
bit:7 6 5 4 3 2 1 0
DGN.049
FNL ENB SRDY M33 M09 M11 STL ALM
Pin NO.
XS57:21 XS57:5 XS57:8 XS57:18 XS57:20 XS57:6 XS57:7 XS57:19
【Explanation】
FNL: The machining finished.
ENB: the analog spindle output directions signal.
SRDY: Drive is ready.
STL: The system is automating.
ALM: The system alarm directions signal.
M33: The lubricant outputs signal.
Ⅳ CONNECTION-4(MACHINE TOOL INTERFACE) 4-9
Tool SOLAO
【Explanation】
S08-S01: The spindle shifts gear.
UO7-UO0: The macro instruction outputs signal.
HIG: Gear select signal.
LOW: Gear select signal.
SOLAO: The loose tool outputs signal. Refer to 10-1。
Ⅳ CONNECTION-4(MACHINE TOOL INTERFACE) 4-10
X46 1
X47 14 1 VOI
X45 2 14 M32
SKP 15 2 M10
X44 3 15 M03
X26 16 3 M04
SPALM 4 16 M08
*DECY 17 4 M05
X32 5 17 ZD
X24 18 5 ENB
*DECZ 6 18 M33
HE 19 6 M11
*ESP1 7 19 ALM
X22 20 7 STL
X21 8 20 M09
X20 21 8 SRDY
HGEAR 9 21 FNL
X16 22 9 S07
X14 10 22 S05
*DECX 23 10 S03
X12 11 23 S01
X13 24 11 S02
X10 12 24 S04
X11 25 12 S06
13 25 S08
13
XS57
NOTE:
1. The X** and Y** in the table is define by the relevant parameter.
2. 4th system, X35 for the fourth axis machine is the deceleration signals return to zero
(*DEC4).
Input signal align in the XS56 Input signal align in the XS61
1 KEY
KEY 1 KEY
×1
9 0V 9 0V
H4
2 ST 2 ST
×10
10 0V 10 0V
3 @SP 3 @SP
×100
11 +5V 11 +5V
4 *ESP2 4 *ESP2
*ESP3
12 +5V 12 +5V
HX
5 HA 5 HA
13 +5V 13 +5V
HY
6 HB 6 HB
14 0V
*OV8 14 0V
HZ
7 0V
*OV2 7 0V
15 +12V
*OV4 15 +12V
+24V
8 +12V
*OV1 8 +12V
+24V
Ⅳ CONNECTION-4(MACHINE TOOL INTERFACE) 4-11
*DECX
*DECY
*DECZ
*DEC4
Control unit
Fig. 4.4.1a
Ⅳ CONNECTION-4(MACHINE TOOL INTERFACE) 4-12
This signal has no special definition, can be define by the customer. These
value is equal to macro variable(#1000~#1003、#1008~#1011).
(5)*LMX/*LPX/*LMY/*LPY/*LMZ/*LPZ: The hard limit inputs signal
Circuit as follows:
+24V
CNC Limit switch
-Z
*LMZ
+Z
*LPZ
-Y
*LMY
+Y
*LPY
-X
*LMX
+X
*LPX
This is the over-travel alarm signal. When machine tool is over-travel, the
CNC displays over-travel alarm. The machine tool stops moving after
decelerated motion. Now move to reverse direction, machine tool can quit
over-travel zone. The position is correct, machine tool can continue to
machining.
When set MOT = 0 of DGN.200, the hard limit is invalid. But soft limit is valid.
(6)SPALM signal
The spindle alarm signal, the high level"1" is alarming.
tool comes to a halt when the contact of *ESP opens. This signal is
generally commanded by B contact of button switch. System ready signal
(MRDY) will break and lock motion command output after emergency
occurs.
This system is provided with software limitation function and
overtravel check function, This system has the soft limit function and the hard
limit function, using to over-travel protection. If the X47/X32/X24/X26/X14/X16
be defined to other function,*ESP1 signal can be used for hard limit。
Circuit show as follows:
+X -X +Y -Y +Z -Z
R
e
l
a
y
p
EMG
o
w
e
r Release stop
relay
Spark kill
+24V
EMG1
*ESP1
Control
EMG2 Driver
D
r
i
v
e
r
P
o
w
e
r
Figure 4.4.1 b
The manual moves axis on “JOG” mode. When EJOG = 1 of DGN.199, they
are valid.
(10)The HX/HY/HZ/H4/× 1/× 10/× 100: external handle input signal
HX=1 :Choose X axis.
HY=1 :Choose Y axis.
HZ=1 :Choose Z axis.
H 4=1 :Choose 4th axis.
× 100=1 :The handle increment 0.1mm.
× 10=1 :The handle increment 0.01mm.
× 1=1 :The handle increment 0.001mm.
Note:
When the EHPG=1 of DGN.199, they are valid.
(11)HIGI/LOWI: They are auto shift gear signals for analog spindle.
(12)*ESP2
The emergency stop signal come from additional operation front-panel, that
signal is the second emergency stop signal. It can be shielded by
parameter.
(13)@SP: feed keep signal
It come from the additional operation front-panel, and can be shielded by
parameter.
(14)ST: Start signal
It come from additional operation front-panel, and that signal and CNC
operate front-panel has the same function to “start” key , and can be
shielded by parameter。
(15)KEY: The procedure protection switch signal
It come from an additional operation panel, and can be shielded by
parameter.
C W /C C W
STO P
T1
Interlock
Spindle stop T2
T3
Spindle brake
Fig. 4.4.2a
T1:Specified spindle stop instruction (auto or manual) when it is rotating,
axis interlock signal is effective at first. Spindle stop signal is
transmitted after delay time T1. Parameter T1 is set in diagnose No.214,
general setting value is about 200ms.
T2:Delay time from spindle stop signal to spindle brake signal. Set by
diagnose No.215 and No.216.
T3 : spindle brake time , set by diagnose No.217 and No.218. setting
range0.5~5s.
1S
1S
Fig. 4.4.2b
it switches ON to OFF. System will transmit M32, M10, M08, M03 and M04
pulse signal when it switches OFF to ON.
(2) When M33, M11, M09 and M05 are executed in program, if NC is in OFF
mode (memorized automatically by system), system will not transmit M33,
M11, M09 and M05 pulse signal. Under the same condition, when M32, M10,
M08, M03 and M04 are specified, if NC is in ON mode, M32, M10, M08, M03
and M04 pulse signal will not output.
(3) Pressing the emergency button,system will transmit M33, M11, M09 and M05
signal regardless of in any mode.
(4) Pressing the RESET key, if parameter RSJG is set to 1, system will transmit
M33,M11,M09 and M05 signal regardless of in any mode.
When these switches are installed on machine tool side, if executing start-up and
turn-off on machine tool side, the state between machine tool side and NC side
should keep the same after operation completion. Otherwise twice operation is
necessary. For example, if coolant is ON on NC side, but it is OFF on MT side,
transmitting OFF on NC side or pressing RESET
in order to restart.
Ⅴ APPENDIX-1(PITCH ERROR COMPENSATION) 1 - 0
Ⅴ APPENDIXES
Ⅴ APPENDIX-1(PITCH ERROR COMPENSATION) 1 - 1
2. SPECIFICATION
The tool position after reference position return is called compensation zero point.
The compensation amount must be set to the parameter corresponding to the
each compensation point.
(A) Compensating axis: X, Y, Z and additional axis
(B) Number of compensation points
Linear axis: 128 points (X,Y,Z)
(C) Compensation amount
0 to ±7× (Compensation magnification) (Least command increment)
Compensation magnification ×1, ×2, ×4, ×8, ×16 (common to all axes)
(D) Compensation interval
Set the proper compensation interval according to the relation between max.
compensation range within the above range and the machine stroke. If the value
less than min. setting value of interval is set in pitch error compensation for linear
axis, the compensation sometimes cannot be performed correctly. In the above
case, lower the feedrate.
3. PARAMETER
Parameter corresponding to pitch error compensation should be set in MDI mode
or in emergency stop status. The parameter contents and parameter number are
as follows.
The value, with this magnification multiplied to the set compensation value, is
outputted.
(common to all axes)
1 0 0 PECZRX
3 0 0 PECZRY
5 0 0 PECZRZ
0 7 9 PECINTX
0 8 0 PECINTY
0 8 1 PECINTZ
For the other parameter number shown above, the compensation amount can’t be
set. Setting amount is 0 to ±7 and the other values are neglected.
Ⅴ APPENDIX-1(PITCH ERROR COMPENSATION) 1 - 4
EXAMPLE:
2 2 0 -7
In the above example, this indicates that the compensation data –7 is set to the
setting point 120 of X-axis.
Ⅴ APPENDIX-1(PITCH ERROR COMPENSATION) 1 - 5
4. EXAMPLE
(1) Pitch error zero point=0, Compensation interval=10.000
0 1 2 3 127
Setting point
(0) (+7) (-6) (+4) (+2)
Machine coordinate system
0 +10.000 +20.000 +30.000 +1270.000
(reference point)
The beginning of the compensation table corresponds to the reference point. The
set point 1 is at +10000 position and the other setting points correspond to the
positions on the machine coordinate system which is shifted +10000 each other.
Therefore, setting point 127 is at +1270000. Compensation amount when the
machine moves from 0 to +10000 is set to the setting point 1 and that when the
machine moves from +10000 to +20000 is set to the setting point 2. Generally,
compensation amount when the machine moves from (N-1) × (compensation
interval) to N×(compensation interval) is set to the setting point N.
In the above example, compensation data is
0 58 59 60 61 127
setting point
(+0) (-7) (-7) (+6) (+4) (+1)
Machine coordinate system
The setting point 60 corresponds to the reference point. The setting point 61 is at
Ⅴ APPENDIX-1(PITCH ERROR COMPENSATION) 1 - 6
+10000 position and the other setting points correspond to the position which is
shifted +10000 each other. So setting point 127 is at +670000. And, the setting
point 59 is at –10000 from the reference point and the other setting points
correspond to the positions which is shifted –10000 each other, that is the setting
point is at –60000. Compensation amount when the machine moves from (N-61)×
(compensation interval) to (N-60) × (compensation interval) is set to the setting
point N.
The end of the compensation table corresponds to the reference point and the
setting point 126 is at –10000 from the reference point and the other setting points
correspond to the position which is shifted –10000 each other. Compensation
amount when the machine moves from –10000 to 0 is set to the setting point 127
and that when the machine moves from –20000 to –10000 is set to the setting
point 126. Generally, compensation amount when the machine moves from (N-128)
×(compensation interval) to (N-127) ×(compensation interval) is set to the setting
point N.
★ Precautions in setting
1) Compensation interval (parameter number 100, 300, 500)
If the compensation interval is positive value, compensation is performed by
the set value. If it is negative value, compensation is performed by the
absolute value of it. And if it is zero, the compensation for the axis is not
performed. (Even if it is negative value, it is displayed as positive value.)
2) The pitch error compensation becomes effective after reference point return.
If reference point return is not performed, it is not effective after parameter
setting. The parameter setting should be performed after turning power on
and before reference point return. If the parameter for pitch error
compensation is altered after reference point return, perform reference point
return, perform reference point return again.
3) Pitch error compensation amount (parameter number 101~628)
Ⅴ APPENDIX-2(G FUNCTION TABLE) 2-1
NOTE:
1 The G code marked with *are initial G codes in each group. That is, when the power
is turned on or when the reset button is pressed when the system parameter
specifying initialization of G codes at reset is effective, those G codes are set. For
G20 and G21, the one in effect before cutting power or pressing the reset button is
selected. For G00 and G01, is selected for the initial G code by setting parameter.
2 The G codes in group 00 are one-shot. They are effective only in the block in which
they are specified.
Ⅴ APPENDIX-3(COMMAND VALUE RANGE TABLE) 3-1
Pitch error
compensation
value 0~±0.007mm 0~±0.007mm 0~±0.0007inch 0~±0.0007inch
(override is
1)
Area of stored
stroke
±9999.999mm ±9999.999mm ±999.9999inch ±999.9999inch
limit(value from
reference point)
Dwell 0~9999.999s 0~9999.999s 0~9999.999s 0~9999.999s
Ⅴ APPENDIX-4(BINARY-DECIMAL CONVERSION) 4-1
165 Format error: the number after decimal point is too long
166 Program switch is off
167 Insert address o firstly as the memory is empty
168 Parameter No.69 is illegal, baudrate 9600 will be used
169 Parameter No.69 is illegal, initial data 722 will be used
170 Serial switch parameter is off
171 Divider is zero
172 Program is full
173 The check program is not in the memory
APPENDIX7 PARAMETERS
Parameters not mentioned in this table must be set by 0.
The parameters are for K1000M 3-axis system, those for K1000M4 please refer to
appendix 12.
NFDO 1: Constant to be 1
TJHD 1:Handle is effective in Manual Teach Mode.
0:Handle is not effective in Manual Teach Mode.
PMXY2,PMXY1 :Retracting direction in canned cycle G76 and G87.
PRGB :Meaningless.
TLCP 1:Tool length compensation can be executed along the axis which
perpendicular
to the plane determined by G17,G18,G19(Tool length compensation
mode B)
0: Tool length compensation can be carried out along Z axis regardless of
the
plane determined by G17,G18,G19 (Tool length compensation mode
A).
GST,OVRT ≡ 0
ZMZ,ZMY,ZMX Reference point return direction of each axis and the initial
backlash
direction When turning on the power.
1: Reference point return and the backlash are performed in the negative
direction.
0: Reference point return and the backlash are performed in the positive
direction.
NOTE:
The backlash compensation is performed for the first time when motion along the axis
moves in the direction opposite to the direction set by this parameter after the power is
turned on.
Reference point
Approach switch
Set №006ZMZ-ZMX to1 if the machine zero point in the positive direction of
the axis(zero return from negative to positive).
Set №006ZMZ-ZMX to 0 if the machine zero point in the negative direction of
the axis(zero return from positive to negative).
Not only the approach switch must be connected with *DECn but also zero
signal. By this zero returning method, set zero signal to + 24V.
DIRZ~X:Select the motor rotation direction for each axis. Change the motor
rotation direction by this parameter.
APRS 1:Setting the coordinate system automatically, after the reference point
return is performed.
0:Not setting the coordinate system
TMANL1:T code, tool change in manual mode.
0:T code, tool change automatically.
SMANL1:S code, spindle gear change in manual.
0:S code, spindle gear change automatically.
M30 1:The cursor comes back to the head of program, when M30 is
performed(B type).
Ⅴ APPENDIX-7(PARAMETER TABLE) 7-5
0:The cursor comes back to the head of program after starting program
again, when M30 is performed (A type)。
EDTB 1:Edit insert function A.
0:Edit insert function B.
OFFVY1:Driver device alarm is not generated, even if DRDY is on before MRDY
is output.
0:Driver device alarm is generated, when DRDY is on before MRDY is
output.
EBCL :Meaningless.
ISOT 1:When power on or emergency, the manual rapid traverse becomes
effective until the reference point return is performed.
0:When power on or emergency, the manual rapid traverse does not
become effective until the reference point return is performed.
NOTE:
1 In the case of POD=1,decimal point must be programmed even if F100.=F100,
2 Because of decimal point can be used with address Q, Q must be programmed
with 1.or 001 when set macro DO to 1. Such as we can program as follows.
G65H01P#1132Q0.255(Set the low 8 bit of Marco variable #1132 to 1 )
G84S = 0
FXCO = 0
FXCS = 0
ZRSZ 1: Z axis has reference point (Reference point return B)
0: Z axis has no reference point(Reference point return A)
ZRSY 1: Y axis has reference point (Reference point return B)
0: Y axis has no reference point(Reference point return A)
ZRSX 1: X axis has reference point (Reference point return B)
0: X axis has no reference point(Reference point return A)
0 1 5 CMRX
0 1 6 CMRY
0 1 7 CMRZ
0 1 8 CMDX
0 1 9 CMDY
0 2 0 CMDZ
0 2 2 CRCDL
CRCDL The tool neglects the limit of small movement under tool radius offset C way.
Set value: 0~16383 Unit: mm/min (output in mm).
0~16383 Unit: Inch/min (output in inch).
0 2 3 SCTTIM
SCTTIM To set the time interval from executing spindle command to expecting the
arrival of spindle speed.
Set value: 0~255 ms.
0 2 4 WLKTMZ
0 3 7 PLPGVL
PLPGVL: Interval for interrupting interpolation.
0-8 ms, 1-4ms, 2-2 ms, 3-1ms.
0 3 8 RPDFX
0 3 9 RPDFY
0 4 0 RPDFZ
0 4 1 LINTX
Ⅴ APPENDIX-7(PARAMETER TABLE) 7-8
0 4 2 LINTY
0 4 3 LINTZ
0 4 4 PSANGN
PSANGN Data adjustment for gain in spindle analog output(S analog output).
Standard value:625
Setting method:
1 Setting standard value 625
2 Command Max. value of S analog signal(10V)
3 Measure the output voltage
4 Resetting PSANGN by the formula
PSANGN = 10.00×625÷testing voltage
5 Setting new value, verify the max output voltage is 10V or not.
0 4 5 FEDMX
0 4 6 SPDLC
SPDLC : Set spindle speed offset compensation value, that is, compensation
value of zero offset of spindle speed command voltage.
Setting amount:0~±8191 Unit: VELO。
0 4 7 FEEDT
0 4 8 FEDFL
0 4 9 CYCR
CYCR Setting of relief amount in canned cycle G73(High speed peck drilling
cycle)
Setting amount:0~32767 Unit: mm/min (mm output)
0~32767 Unit:0.1inch/min(inch output)
0 5 0 CYCD
CYCD Setting of the cutting start point in canned cycle G83(peck drilling
cycle)
Setting amount:0~32767 Unit: mm/min (mm output)
0~32767 Unit:0.1inch/min(inch output)
0 5 1 RPDFL
0 5 2 ZRNFL
0 5 3 BKLX
0 5 4 BKLY
Ⅴ APPENDIX-7(PARAMETER TABLE) 7 - 10
0 5 5 BKLZ
0 5 6 GRHMAX
GRHMAX Setting of the high Max. spindle speed at high speed gear(Set the
spindle speed when the velocity is 10V)
Setting amount:1~9999 Unit:rpm
0 5 7 GRHMIN
0 5 8 GRLMAX
0 5 9 SPDMAX
0 6 0 SPDMIN
GRHMIN Setting of the lower limit of the spindle speed at high speed gear
Setting amount:1~9999 Unit:rpm
GRLMAX Setting of the high Max. spindle speed at low speed gear。
Setting amount:1~9999 Unit:rpm
SPDMAX Setting of the upper limit of output value to the spindle motor
Setting as follows:
Upper limit of spindle motor
X 4095
Max.spindle motor speed
Setting amount: 1~4095
SPDMIN Setting of the lower limit of output value to the spindle motor
Setting as follows:
Lower limit of spindle speed
X 4095
Max.spindle motor speed
Setting amount:1~4095
0 6 4 JOGFL
0 6 5 PFINT
PFINT The first exponential feed speed when power on
0 6 6 SEQINC
SEQINC The increment of sequence number increasing
Setting amount:0~9999
0 6 8 BRATE0
0 6 9 COMDEF
BRATE1 Definition of features for RS232 interface.
Set value: BCD input, BCD codes in lower three bits (B2—BO) will specify different
features of serial ports,
B0: Parity check (0-no check, 1- odd check, 2- even check);
B1: Data stop bit (1, 2);
B2: Data bit (5,6,7,8)
0 7 0 LT1X1
Ⅴ APPENDIX-7(PARAMETER TABLE) 7 - 12
0 7 1 LT1Y1
0 7 2 LT1Z1
0 7 3 LT1X2
0 7 4 LT1Y2
0 7 5 LT1Z2
Represent axis(X,Y 0r Z)
0 7 6 PRSX
0 7 7 PRSY
Ⅴ APPENDIX-7(PARAMETER TABLE) 7 - 13
0 7 8 PRSZ
PRSX PRSY PRSZ It sets the coordinates for automatic coordinate system
setting after zero return is executed.
Setting amount 0~ 9999999
0 7 9 PECINTX
0 8 0 PECINTY
0 8 1 PECINTZ
1 0 0 PECORGX
1 0 1
2 2 8
3 0 0 PECORGY
3 0 1
4 2 8
5 0 0 PECORGZ
6 2 8
Ⅴ APPENDIX-7(PARAMETER TABLE) 7 - 15
NOTE1:Standard value and meaning of K100M3 CNC system
Standard Standard
No. Meaning No. Meaning
value value
1 X 47 50 Exponential acc/dec constant
2 X 48 0 Low limit of exponent acc/dec
3 X 49 1000 Relief amount of G73
4 11000000 Bit parameter 50 1000 Cutting start point of G83
5 10000100 Bit parameter 51 400 Rapid traverse override min. feed
6 00000000 Bit parameter 52 200 Low speed of zero return
7 01000000 Bit parameter 53 0 Backlash compensation value X
8 00000000 Bit parameter 54 0 Backlash compensation value Y
10 01110001 Bit parameter 56 9999 High-gear spindle speed at 10V
11 00000000 Bit parameter 57 99 Low limit rotation of high gear
12 10000110 Bit parameter 58 9999 Spindle speed of low gear at 10V
13 01000000 Bit parameter 59 4095 upper limit of spindle command
14 00001111 Bit parameter 60 41 Low limit of spindle command
15 1 CMR for X-axis 61 100 Initial value of analogue
spindle speed in JOG
16 1 CMR for Y-axis 62 50 Incremental value of analogue
17 1 CMR for Z-axis spindle speed in JOG
18 2 CMD for X-axis 63 0 No used
19 2 CMD for Y-axis 64 0 Low speed of manual acc/dec
20 2 CMD for Z-axis 65 200 Cutting feed initial value
21 50 Spindle speed at gear shifting 66 10 Auto sequence No. increment
22 0 Limit neglected for mini 67 0 Low limit of spindle speed
movement at tool offset C
23 255 Delay time for SAR controlled by constant linear velocity
24 2 Signal filter time 68 9600 Baud rate of serial port
25 20 No used 69 722 Definitions of the serial’s feature
26 20 No used 70 9999999 Soft stroke limit for +X
27 50 Percentage of pre-saved 71 9999999 Soft stroke limit for +Y
programs in buffer when DNC
starts
28 6000 No used 72 9999999 Soft stroke limit for +Z
29 6000 No used 73 -9999999 Soft stroke limit for -X
30 6000 No used 74 -9999999 Soft stroke limit for -Y
31 0 No used 75 -9999999 Soft stroke limit for -Z
32 0 No used 76 0 Return zero X auto coordinate
33 0 No used 77 0 Return zero Y auto coordinate
34 896 No used 78 0 Return zero Z auto coordinate
35 896 No used 79 0 Compensation interval of X-axis
36 896 No used 80 0 Compensation interval of Y-axis
37 0 Interval for interrupting 81 0 Compensation interval of Z-axis
interpolation
38 8000 Rapid traverse rate for X-axis 100 0 Pitch error zero point of X-axis
39 8000 Rapid traverse rate for Y-axis 300 0 Pitch error zero point of Y-axis
40 8000 Rapid traverse rate for Z-axis 500 0 Pitch error zero point of Z-axis
41 100 Linear ACC/DEC constant X-
axis
42 100 Linear ACC/DEC constant Y-
axis
43 100 Linear ACC/DEC constant Z-
axis
44 1000 Analogue spindle output adjust
45 4000 Upper limit of cutting feed
Ⅴ APPENDIX-7(PARAMETER TABLE) 7 - 16
46 0 Zero shift compensation for
spindle analogue
Ⅴ APPENDIX-8(PLC PARAMETER) 8-1
0 1 8 HANDLDATA
Data of handle
0 1 9/20 SPVALUE
Spindle analogue output data
1 1 3 MA DEN RST AL
1 1 4 DST TF SF MF
2 PLC Parameter
To modify PLC parameters, it’s necessary to turn on program switch.
1 6 0 T1
1 6 1 T2
1 6 2 T3
T1, T2, T3: time for spindle to shift automatically, unit: 64ms. (Details refer to
PROGRAMMING 9-2)
1 6 8/9 RHTIME1
RHTIME1: time for automatic lubrication ON (15-bit binary).Unit: sec.161 is high byte,
the highest byte shall not be set as 1.
1 7 0/1 RHTIME2
RHTIME1: time for automatic lubrication OFF (15-bit binary).Unit: sec.163 is high byte,
the highest byte shall not be set as 1.
MST 1:Disable ST(3.1) . That is, ST is ineffective and not cycle operation start
key.
M@SP 1:Disable @SP(3.2). @SP is ineffective and not cycle operation panel
key.
MOT 1:Not check soft stroke for axis
MESP 1:Disable *ESP1/2 . That is, *ESP1/2 is ineffective. Only used in testing.
MPWE 1:Disable Parameter switch. Used under special condition.
SKEY 1:Program protect key is from external signal(3.0). Used under special
condition.
SOVI 1:OV8~OV1 are override signals.
JOGS : Setting spindle speed control method in manual mode when spindle
analogue function is effective.
0: Spindle speed is defined by parameter.
1:Spindle speed is defined by S code command. It is zero if S code isn’t
programmed when power on. The speed is equal to which in auto mode.
NOTE:
See Ⅱ.9 Spindle function
SOLA 1: Can control the unclamping/clamping of tools.
AURH 1: Auto lubrication is valid. Diagnosis 168~171 set switching time.
SINC 1:Disable 0.1 and 1 increment value of step/handle. It can protect step
motor from losing step because of rapid motion.
SUOS 1:S8~S1 turn on Macro output signals(UO7~UO0)。
NOTE:
Macro output is automatically selected when spindle analogue function is effective.
2 0 8 MTIME
Processing time for M code or M-code pulse width (8-bit binary).Unit: 128 ms.
2 0 9 STIME
Processing time for S code (8-bit binary).Unit: 128 ms.
2 1 4 SPSTOPT1
Delay T1 from issuing Spindle Stop command to giving Spindle Stop signal (8-bit binary).
Unit: 16 ms.
2 1 5/6 SPZDDLT
Delay from issuing Spindle Stop single to giving Spindle Brake signal (16-bit binary).
Unit: 16 ms.
2 1 7/8 SPZDTIME
Time for outputting spindle brake (16-bit binary).Unit: 16 ms.
2 1 9 VOITIME
Time for sending out output signal from outer buzzer (8-bit binary)Unit: 32 ms.
Ⅴ APPENDIX-9(OPERATION LIST ) 9-1
NOTE:
○ is on 。× is off 。
Ⅴ APPENDIX-10(SPECIFICATION TABLE) 10 - 1
@:optional function
*: function included in optional function
Name Specification
Control axes 3~4 axes(X,Y,Z,4)
Simultaneously controlled axes @3~4 axis
Least command unit 0.001mm/0.0001inch
Least increment unit 0.001mm/0.0001inch
Max. command ±8 bit
Rapid traverse rate 24m/min , 600inch/min
Rapid traverse rate override FO, 25,50,100%
Feed rate range 1~15000mm/min
Feed per min 0.01~600inch/min
Automatic acceleration/deceleration Provided
Feed rate override 0~150%
Simultaneously 1 axis
Manual continuous feed
@ Simultaneously 2 axis
Positioning Provided
Interpolation linear / circular
Reference point return Provided
Reference point return check Provided
LCDT/MDI 7.5-inch LCD
MDI soft key 5+2个
Incremental feed ×1,×10,×100
I/O device RS232C
Dwell (second ) Provided
Machine lock All axes
Stored stroke limit check Provided
Dwell status Provided
Dwell Provided
Ⅴ APPENDIX-10(SPECIFICATION TABLE) 10 - 2
Item Specification
Coordinate system setting Provided
Auto coordinate system setting Provided
Work coordinate system setting Provided
Decimal point input Provided
Compensation value input @Provided
Custom macro @Provided
Inch/metric shift @Provided
Cutter compensation B and
Provided
corner circular interpolation
Ⅴ APPENDIX-10(SPECIFICATION TABLE) 10 - 3
·AUXILIARY FUNCTION
Name Specification
Miscellaneous function M 2-digit
Auxiliary function lock Provided
·SPINDLE FUNCTION
Name Specification
Spindle function S 2-digit
Analogue spindle output @Provided
Spindle override 50~120%
·TOOL FUNCTION
Name Specification
Tool function @T01~08
Tool compensation memory 32 memories ±6 bit
Tool length compensation Provided
·EDIT, OPERATION
Name specification
Tape storage length 640KB
Storage program 128 programs
Ⅴ APPENDIX-10(SPECIFICATION TABLE) 10 - 4
·DISPLAY
Name Specification
Display Chs/ENG
Cutting time, number of @Provided
workpiece display
Feed display Provided
Ⅴ APPENDIX-11(CNC STATUS DISGNOSE MESSAGE) 11 - 1
7 1 0 D7 D6 D5 D4 D3 D2 D1 D0
710:WCHAREX
Data is read from the series port.
8 0 0~2 SUERRX~Z
SUERRX~Z:X~Z axis acceleration/ deceleration control.
NOTE:4th-axis is selected, the corresponding data is at diagnose number D803.
Ⅴ APPENDIX-11(CNC STATUS DISGNOSE MESSAGE) 11 - 2
8 2 0~2 OUTPSX~Z
OUTPSX~Z:The number of pulse is output from CNC to driver device by
electric-gear.
NOTE:4th-axis is selected, the corresponding data is at diagnose number D803.
Ⅴ Appendices -12(Additional description for 4-axis system) 12 - 1
Appendix 12 Additional Description for K1000M 4-axis System
Appendix 12.1 Standard Parameters and Meanings of K1000M 4-axis CNC System
Para
Standard
mete Meaning
value
r no.
1 X Par
2 X ame Standard
Meaning
3 X ter value
4 11000000 Bit parameter No.
th
5 10000100 Bit parameter 4 axis linear acceleration/deceleration
52 100
6 00000000 Bit parameter constant
7 01000000 Bit parameter 53 1000 Adjustment of spindle analogue output
8 00000000 Bit parameter 54 4000 Up limit for cutting feed speed.
9 00000000 Bit parameter 55 0 Zero shift compensation of analogue spindle
10 00000000 Bit parameter Exponential acceleration/deceleration time
56 50
11 01110001 Bit parameter constant
12 00000000 Bit parameter Low limit for exponential
57 0
13 10010110 Bit parameter acceleration/deceleration
14 01000000 Bit parameter 58 1000 Retracting amount for G73
15 00001111 Bit parameter 59 1000 Cutting start point for G83
16 1 X-axis command multiplier 60 400 Min. rate for rapid override
17 1 Y-axis command multiplier 61 200 Low speed for homing
18 1 Z-axis command multiplier 62 0 Backlash compensation value for X-axis
19 1
th
4 axis command multiplier 63 0 Backlash compensation value for Y-axis
64 0 Backlash compensation value for Z-axis
X -axis command frequency- th
20 2 65 0 Backlash compensation value for 4 axis
division coefficient 66 9999 Speed for high gear at 10V spindle command
Y-axis command frequency- 67 99 Low limit of spindle speed at high gear
21 2
division coefficient 68 9999 Speed for low gear at 10V spindle command
Z-axis command frequency- 69 4095 Up limit of spindle command
22 2
division coefficient 70 41 Low limit of spindle command
th
4 -axis command frequency- Initial value of analogue spindle speed under
23 2 71 100
division coefficient manual mode
24 50 Spindle speed at shifting Increment of analogue spindle speed under
Limit neglected for mini 72 50
25 0 manual mode
movement at tool offset C 73 0 Not used
26 255 SAR delay time 74 0 Not used
27 2 Signal filtering time 75 0 Manual acceleration/deceleration low speed
28 4 Not used 76 200 Initial cutting speed
29 5 Not used 77 10 Increment for automatic S/N
Percentage of pre-saved 78 0 Not used
30 50 programs in buffer when DNC 79 9600 Baudrate for serial port
starts. 80 722 Feature of serial port
31 20 Not used 81 9999999 +X soft limit
32 6000 Not used 82 9999999 +Y soft limit
33 6000 Not used
83 9999999 +Z soft limit
34 6000 Not used
35 6000 Not used 84 9999999 +4th soft limit
36 0 Not used 85 -999999 -X soft limit
37 0 Not used 86 -999999 -Y soft limit
38 0 Not used 87 -999999 -Z soft limit
39 0 Not used 88 -999999 -4th soft limit
40 896 Not used 89 0 Automatic X coordinate value after homing
41 896 Not used 90 0 Automatic Y coordinate value after homing
42 896 Not used 91 0 Automatic Z coordinate value after homing
42 896 Not used Automatic 4
th
axis coordinate value after
43 896 Not used 92 0
homing
44 0 Interpolation interval 93 0 X-axis pitch error compensation interval
45 8000 X-axis traverse rate 94 0 Y-axis pitch error compensation interval
46 8000 Y-axis traverse rate 95 0 Z-axis pitch error compensation interval
47 8000 Z-axis traverse rate 96 0
th
4 -axis pitch error compensation interval
th
48 8000 4 -axis traverse rate 200 0 Origin for X-axis pitch error compensation
X-axis linear 400 0 Origin for Y-axis pitch error compensation
49 100 acceleration/deceleration 600 0 Origin for Z-axis pitch error compensation
constant 800 0
th
Origin for 4 -axis pitch error compensation
Y-axis linear For details, refer to 3-axis system.
50 100 acceleration/deceleration
constant
Z-axis linear
51 100 acceleration/deceleration
constant
Ⅴ Appendices -12(Additional description for 4-axis system) 12 - 2
Appendix 12.2 Bit Parameters and Their Meanings of K1000M 4
When a bit parameter is same with that for 3-axis system, its meaning is same with
that for 3-axis system.
0 0 4 OTFP RDRN DECI IOF RS43 DCS SCW
【Description】
HGEAR: Input signal for manual shifting for the analogue spindle.
*DECX: Input signal for deceleration for X-axis mechanical homing.
S@SOLA: Input signal for unclamping/clamping tool.
UI2-UI0: Input signal for macro command.
th
PSWI/QFSI/M11I/M10I: Input signal for controlling the rotary indexing head of the 4 axis,
for details, refer to appendix 12.6.
Bit no.:7 6 5 4 3 2 1 0
Diagnosis
no. SKP X26 *DECY X24 UIB UIA M21I M20I
001 pin
Socket XS54:15 XS54:16 XS54:17 XS54:18 XS54:19 XS54:20 XS54:8 XS54:21
no.
Hard limit *LM *LP
【Description】
SKP: Input signal for G31 measurement.
*DECY: Input signal for deceleration for Y-axis mechanical homing.
UIB/UIA: Input signal for macro command.
M21I: Input signal for unclamping rotary table.
M20I: Input signal for Go To Clamping.
*LM/*LP: Input signal for hard limit.
Bit no.:7 6 5 4 3 2 1 0
Diagnosis
no. SPALM X32 *DECZ *ESP OV8 OV4 OV2 OV1
002pin
Socket XS54:4 XS54:5 XS54:6 XS54:7 XS56:14 XS56:15 XS56:7 XS56:8
【Description】
SPALM: Input signal for spindle alarm.
*DECZ: Input signal for deceleration for Z-axis mechanical homing.
*ESP: Input signal of emergency stop.
Ⅴ Appendices -12(Additional description for 4-axis system) 12 - 4
OV8-OV1: Input signal of override switch.
Bit no.:7 6 5 4 3 2 1 0
Diagnosis
no. HIGI SOLA *DEC4 LOWI *ESP2 @SP ST KEY
003
Socket pin XS54:14 XS54:1 XS54:2 XS54:3 XS56:4 XS56:3 XS56:2 XS56:1
【Description】
HIGI: in-position signal for high gear of analogue spindle is detected.
LOWI: in-position signal for low gear of analogue spindle is detected.
SOLA: in-position signal for unclamping/clamping tool is detected.
*DEC4: Input signal for deceleration for 4th-axis mechanical homing.
*ESP2: Input signal of Emergency Stop switch at attached panel.
◎SP: Input signal of Feed Hold switch at attached panel.
ST: Input signal of Cycle Start switch at attached panel.
Bit no.:7 6 5 4 3 2 1 0
Diagnosis
*ESP3 H4 HZ HY HX ×100 ×10 ×1
no
Socket
004 pin XS61:4 XS61:9 XS61:14 XS61:13 XS61:12 XS61:3 XS61:2 XS61:1
no.
【Description】
*ESP3 : Input signal of emergency stop switch.
H4/HZ/HY/HX : Input signal for selecting external handwheel axis. Active when
EHPG=1 for diagnosis parameter 198.
×100/×10/×1 : Input signal for increment for external handwheel.
Bit no.:7
Diagnosis 6 5 4 3 2 1 0
no. SOLAO Y36 Y35 UO4 UO3 UO2 HIGO LOWO
050
Socket pin XS57:25 XS57:9 XS57:12 XS57:22 XS57:24 XS57:10 XS57:11 XS57:23
Indexing M11O
【Description】
SOLAO: Output signal for unclamping/clamping tool.
S05-S01: Output signal for spindle mechanical shifting.
UO4-UO0: Output signal for macro command.
HIGO: Output signal for high gear of analogue spindle.
LOWO: Output signal for low gear of analogue spindle.
M11O: Output signal for the pneumatic unclamping for controlling the indexing head. For
detail, please see appendix 12.6.
Ⅴ Appendices -12(Additional description for 4-axis system) 12 - 6
Appendix 12.3.3 Arrangement of I/O signals in socket XS54 and XS57
SOLA 1 1 VOI
HIGI 14 14 M32
*DEC4 2 2 M10
SKP 15 15 M03
LOWI 3 3 M04
X26 16 16 M08
SPALM 4 4 M05
*DECY 17 17 ZD
X32 5 5 ENB
X24 18 18 M33
*DECZ 6 6 M11
UIB 19 19 M20
*ESP1 7 7 M21
UIA 20 20 M09
M21I 8
M20I 21 8 JOGO
HGEAR 9 21 FNL
X16 22 9 Y36
X14 10 22 UO4
*DECX 23 10 UO2
UI2 11 23 LOWO
S@SOLA 24 11 HIGO
UI0 12 24 UO3
UI1 25 12 Y35
13 25 SOLAO
13
1 KEY
KEY 1 KEY
×1
9 0V 9 0V
H4
2 ST 2 ST
×10
10 0V 10 0V
3 @SP 3 @SP
×100
11 +5V 11 +5V
4 *ESP2 4 *ESP2
*ESP3
12 +5V 12 +5V
HX
5 HA 5 HA
13 +5V 13 +5V
HY
6 HB 6 HB
14 0V
*OV8 14 0V
HZ
7 0V
*OV2 7 0V
15 +12V
*OV4 15 +12V
+24V
8 +12V
*OV1 8 +12V
+24V
Diagnosis M10
048
F1 F2 F3 F4 F5
STCom(F1): Setting port number(serial port 0 or 1)and baud rate. Default value:
port number: 0, baud rate:2400.
Trans(F2): Transmitting data from PC to NC. When press F2, the software prompts:
“S/C:File name to transmit: :”, then input the path and name of data
file(The path can be omitted in the case of same directory). Press enter, the
software prompts: “S/C: Transmitting *****… Esc :Stop”(***** is the file
name). After these, operate NC to receive data.
Reciv(F3): Receiving data from NC. When press F3, the software prompts: “S/C:File
name to store: :”, then input the path and name of data file(The path can
be omitted in the case of same directory). Press enter, the software
prompts: “S/C: Receiving *****… Esc :Stop”(***** is the file name). After
these, operate NC to transmit data.
K-DNC(F4): DNC operation. This command is used to transmit data from PC to NC in
DNC mode. When press F4, the software prompts: “S/C:File name to
transmit: :”, then input the path and name of data file(The path can be
omitted in the case of same directory). Press enter, the software prompts:
“S/C: K-DNC Transmitting ****… Esc :Stop”(***** is the file name). After
these, operate NC into DNC mode.
Kedit(F5): Text editor-PE2. you can use it to edit program or parameters. Please refer
to the manual of PE2.
Esc-Exit :Press ESC to exit.
Notes:Do not run this software in windows. For the reliable communication, you should enter into DOS
mode by pressing F8 in Windows starting procedure.
Ⅴ Appendix -13(Communication Software) 13 - 2
2.Windows Version
(1) Install
Run setup file: KNDSCom XX Setup.exe.
Use version 5.0 for K1000 and later NC systems, and version 3.0 for other NC
systems.
(2) Platform requirement
Platform requirement: Windows 98 / Windows Me / Windows2000 / Windows XP
(3) User interface
Notes:The above figure shows the default settings, and you should not change the parameters except
Port number and Baud rate if not necessary.
(5) Receiving data
Click the 〖Receive〗 button on the toolbar to set the program into receiving
status, as shown in the following figure:
Then, operate NC system to send data, The receiving data are shown
synchronously in the window as shown in the following figure:
The operating time is shown on status bar, as shown in the following figure:
The sending procedure can be interrupted and resumed by click the three
operating buttons which are shown in Figure:
Ⅴ Appendix -13(Communication Software) 13 - 4
A indicator indicates the current sending line when pause the sending procedure,
as shown in the following figure.
(7) DNC
Set the KND NC system into DNC running status firstly, and start it. Then, click the
〖Send〗 button on the toolbar. The data in the edit area are sent to NC line by line.
You can interrupt and resume the sending as the sending data procedure.