Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
54 views231 pages

K1000TTCi Operator

Uploaded by

Martin Gandara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views231 pages

K1000TTCi Operator

Uploaded by

Martin Gandara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 231

K1000TTCi

K1000TTCi CNC System for


Dual Channel Lathe

OPERATOR'S MANUAL
OPERATOR ' S MANUAL

B040B - 0101-W32N - 0101


Beijing KND Technique Co.,Ltd.

B040B-0101-W32N - 0101
NOTE ABOUT USERS' MANUAL

READ THIS USERS' MANUAL AND THE MANUAL PROVIDED BY


MACHINE TOOL BUILDER CAREFULLY BEFORE
INSTALLATION, PROGRAMMING AND OPERATION OF THIS
PRODUCT. FOLLOW THE GUIDES STRICTLY TO OPERATE, OR A
DANGER OF THE USER BEING INJURED, PRODUCT OR PART
BEING DAMAGED HAPPENS.

SPECIFICATIONS IN THIS MANUAL ARE SUPPORTED BY THIS


PRODUCT. HOWEVER, FUNCTIONS OF THE MACHINE TOOL
USING THIS PRODUCT ARE DESIGNED BY MACHINE TOOL
BUILDER. SEE THE MANUAL PROVIDED BY THEM FOR MORE
DETAILED INFORMATION.
ALL SPECIFICATIONS AND DESIGNS ARE SUBJECT TO CHANGE
WITHOUT NOTICE.

THIS MANUAL IS GENERATED ON 2020-03-23。


PLEASE REFER TO THE SUPPLEMENTARY SPECIFICATION FOR
THE DIFFERENCES OF OTHER VERSIONS.
K1000TTCI DISPLAYS THE INTERFACE AND OPERATION MODE
WITH A SINGLE CHANNEL WHEN THE DUAL CHANNEL
FUNCTION IS NOT INVOLVED.
THE SYSTEM IS IDENTICAL, SO THIS MANUAL USES CHANNEL
IDENTIFICATION ONLY WHEN DUAL CHANNEL CONTROL IS
INVOLVED.REPRESENTS THE SYSTEM INTERFACE DIAGRAM.

Copyrights of this users' manual are reserved for Beijing KND CNC
Technique Co., Ltd. Please connect out technique personnel for any
question or help.
IP Address: http://www.knd.com.cn E-mail: [email protected]
Central Tel.: 010-63701999 Sales Tel.: 010-63701981
NOTE ABOUT USAGE OF PRODUCTS

Transport and storage


Don't heap packing boxes over six layers
Don't climb or stand on packing box, or put heavy objects on it
Don't drag or move this product with cables connected with it
Don't collide or scrape panel and screen
Keep away from water and don't put it under the sun for a long time

Open the box


Check whether the product is the required type
Check whether it is damaged during the transport
Check the list and make sure all parts are provided, ensure that no
damage is generated
If it is not the required product, some part is lost or some damage is
generated, please connect with KND immediately.

Installation
Installation operation should be performed by the technique personnel
Resistance of the ground cable should be less than 4 ohms. Don't use zero
line as ground line.
Incorrect or unfirm connection may lead to the product working
abnormally or some unexpected result.
Cut off power supply before plugging cables or opening the product body

Maintenance
Cut off power supply before maintenance or changing some device
Check and clear the malfunction first before reboot this product
Don't turn on and off this product frequently.
CONTENT

CONTENT

I OPERATION ................................................................................................. 1

1 GENERAL ....................................................................................................................... 3
1.1 MANUAL OPERATION ........................................................................................................ 3
1.1.1 Manual Reference Position Return ................................................................................................. 3
1.1.2 Move Tool by Manual Operation .................................................................................................... 3
1.2 TOOL MOVEMENT BY PROGRAMMING ......................................................................... 4
1.2.1 Memory Operation .......................................................................................................................... 4
1.2.2 MDI Operation ................................................................................................................................ 4
1.2.3 DNC Operation ............................................................................................................................... 5
1.3 AUTOMATIC OPERATION .................................................................................................. 5
1.3.1 Program Selection ........................................................................................................................... 5
1.3.2 Start and Stop .................................................................................................................................. 5
1.4 TESTING A PROGRAM ........................................................................................................ 5
1.4.1 Check by Running the Machine ...................................................................................................... 6
1.4.2 Display Position Change Without Running the Machine ................................................................ 7
1.5 EDITING A PROGRAM ......................................................................................................... 7
1.6 DISPLAYING AND SETTING DATA ................................................................................... 8
1.7 DISPLAY ...............................................................................................................................11
1.7.1 Program Display ........................................................................................................................... 11
1.7.2 Current Position Display ............................................................................................................... 12
1.7.3 Alarm Display ............................................................................................................................... 12
1.7.4 Parts Count and Run Time Display ............................................................................................... 13
1.8 DATA INPUT AND OUTPUT .............................................................................................. 13

2 OPERATION PANEL .................................................................................................. 14


2.1 CNC SYSTEM PANEL......................................................................................................... 14
2.1.1 Panel ............................................................................................................................................. 14
2.1.2 Brightness Adjustment of Screen .................................................................................................. 15
2.1.3 Function Keys ............................................................................................................................... 15
2.1.4 Soft Keys ...................................................................................................................................... 15
2.1.5 MDI Keys ..................................................................................................................................... 17
2.2 OPERATOR'S PANEL .......................................................................................................... 18
2.3 ADDITIONAL OPERATOR'S PANEL ................................................................................ 21

3 POWER ON/OFF ......................................................................................................... 23


3.1 POWER ON .......................................................................................................................... 23
- I -
CONTENT

3.2 POWER OFF ......................................................................................................................... 23

4 MANUAL OPERATION.............................................................................................. 24
4.1 MANUAL REFERENCE POSITION RETURN .................................................................. 24
4.1.1 Return to the Mechanical Reference Position ................................................................................ 24
4.1.2 Reference Position Return without Mechanical Zero Point ........................................................... 28
4.1.3 Return to the Soft Reference Position............................................................................................ 28
4.1.4 Return to the Reference Position When Using an Incremental Encoder ........................................ 29
4.2 JOG FEED ............................................................................................................................. 29
4.3 INCREMENTAL FEED ........................................................................................................ 31
4.4 MANUAL HANDLE FEED .................................................................................................. 32
4.4.1 Automatic Handle Feed ................................................................................................................. 32
4.5 MANUAL ABSOLUTE ON AND OFF ................................................................................ 33
4.6 MANUAL AUXILIARY OPERATION ................................................................................ 37

5 AUTOMATIC OPERATION ...................................................................................... 39


5.1 MEMORY OPERATION ....................................................................................................... 39
5.2 MDI SINGLE BLOCK OPERATION ................................................................................... 40
5.3 MDI MULTIPLE BLOCK OPERATION .............................................................................. 41
5.4 DNC OPERATION ................................................................................................................ 42
5.4.1 Type B DNC Operation ................................................................................................................. 42
5.4.2 Read DNC Program by Frame ....................................................................................................... 43
5.4.3 Notes and Limitations.................................................................................................................... 46

6 TEST OPERATION ..................................................................................................... 48


6.1 MACHINE LOCK ................................................................................................................. 48
6.2 AUXILIARY FUNCTION LOCK ......................................................................................... 48
6.3 FEEDRATE OVERRIDE ...................................................................................................... 49
6.4 RAPID TRAVERSE OVERRIDE ......................................................................................... 50
6.5 ANALOG SPINDLE SPEED OVERRIDE ........................................................................... 50
6.6 DRY RUN .............................................................................................................................. 51
6.7 SINGLE BLOCK ................................................................................................................... 52
6.8 OPTIONAL BLOCK SKIP ................................................................................................... 54

7 SAFETY FUNCTIONS ................................................................................................ 55


7.1 OVERTRAVEL...................................................................................................................... 55
7.1.1 Overtravel Check ........................................................................................................................... 55
7.1.2 Stored Stroke Check ...................................................................................................................... 55
7.1.3 Predict Stored Stroke Check .......................................................................................................... 56
7.2 EMERGENCY OPERATION................................................................................................ 58
7.2.1 Reset .............................................................................................................................................. 58
7.2.2 Emergency Stop............................................................................................................................. 59
- II -
CONTENT

7.2.3 Power Off ...................................................................................................................................... 59

8 ALARM ......................................................................................................................... 60

9 EDITING PROGRAMS ............................................................................................... 61


9.1 OVERVIEW .......................................................................................................................... 61
9.2 EDIT ...................................................................................................................................... 63
9.2.1 Create Program ............................................................................................................................. 63
9.2.2 Delete Program ............................................................................................................................. 63
9.2.3 Insert a Edit Unit ........................................................................................................................... 64
9.2.4 Modify a Edit Unit ........................................................................................................................ 64
9.2.5 Delete a Edit Unit.......................................................................................................................... 65
9.2.6 Delete Blocks ................................................................................................................................ 65
9.2.7 Insert Blocks' Sequence Number Automatically ........................................................................... 65
9.2.8 Working Mode of Program Cursor ................................................................................................ 67
9.3 SEARCH ............................................................................................................................... 68
9.3.1 Search Program ............................................................................................................................. 68
9.3.2 Search Edit Unit ............................................................................................................................ 68
9.3.3 Search String ................................................................................................................................. 69
9.4 EXTENDED EDIT................................................................................................................ 69
9.4.1 Copy.............................................................................................................................................. 69
9.4.2 Move ............................................................................................................................................. 72
9.4.3 Merge ............................................................................................................................................ 75
9.4.4 Notes ............................................................................................................................................. 77
9.5 COORDINATE INPUT FUNCTION .................................................................................... 77
9.5.1 Input Absolute Coordinates ........................................................................................................... 78
9.5.2 Input Machine Coordinates ........................................................................................................... 78
9.6 EDIT COMMAND ................................................................................................................ 78
9.6.1 MH ................................................................................................................................................ 79
9.6.2 MSG .............................................................................................................................................. 79
9.6.3 MX ................................................................................................................................................ 79
9.6.4 PN ................................................................................................................................................. 80
9.6.5 K ................................................................................................................................................... 80
9.6.6 KR ................................................................................................................................................. 80
9.6.7 S .................................................................................................................................................... 81
9.6.8 SA ................................................................................................................................................. 81
9.6.9 J ..................................................................................................................................................... 81
9.7 EDIT PROGRAMS IN a U-DISK......................................................................................... 81
9.7.1 Open.............................................................................................................................................. 81
9.7.2 Edit................................................................................................................................................ 83
9.7.3 Save .............................................................................................................................................. 83
9.7.4 Close ............................................................................................................................................. 84

- III -
CONTENT

9.7.5 Execute .......................................................................................................................................... 85


9.8 EDIT PROGRAMS ON NETWORK .................................................................................... 85
9.8.1 Open .............................................................................................................................................. 85
9.8.2 Close .............................................................................................................................................. 87
9.8.3 Execute .......................................................................................................................................... 87
9.9 PROGRAM SYNCHRONIZATION ..................................................................................... 88
9.9.1 [Sync] soft key............................................................................................................................... 88
9.9.2 Editing instruction ......................................................................................................................... 88
9.9.3 Format ........................................................................................................................................... 88
Explanation .................................................................................................................................................... 88
Sample 88
9.9.4 Format ........................................................................................................................................... 89
Explanation .................................................................................................................................................... 89
Sample 89

10 DISPLAY AND SETTING ........................................................................................... 90


10.1 COMMON ELEMENTS ....................................................................................................... 90
10.1.1 Chinese & English Interface .......................................................................................................... 92
10.1.2 Interface Style................................................................................................................................ 92
10.1.3 Screen Protection ........................................................................................................................... 92
10.2 POSITION SCREEN ............................................................................................................. 93
10.2.1 ALL Subpage................................................................................................................................. 93
10.2.2 RELA Subpage .............................................................................................................................. 96
10.2.3 MAC Subpage ............................................................................................................................... 97
10.2.4 ABS Subpage ................................................................................................................................ 97
10.2.5 PLC PATH Subpage ...................................................................................................................... 98
10.3 PROGRAM SCREEN ........................................................................................................... 98
10.3.1 ADRS Subpage.............................................................................................................................. 99
10.3.2 PROG Subpage.............................................................................................................................. 99
10.3.3 LIB Subpage ................................................................................................................................ 100
10.3.4 USB Subpage .............................................................................................................................. 101
10.3.5 NETWORK Subpage .................................................................................................................. 102
10.4 OFFSET SCREEN ............................................................................................................... 105
10.4.1 Display ........................................................................................................................................ 105
10.4.2 Select a Tool Offset Item ............................................................................................................. 106
10.4.3 Set Tool Offset ............................................................................................................................. 106
10.4.4 Workpiece Coordinate Offset ...................................................................................................... 108
10.4.5 Limitations .................................................................................................................................. 109
10.5 MACRO VAR SCREEN...................................................................................................... 110
10.5.1 Public Volatile Variable Subpage ................................................................................................. 111
10.5.2 Public Non-volatile Variable Subpage ......................................................................................... 111
10.5.3 Local Variable Subpage ............................................................................................................... 112

- IV -
CONTENT

10.5.4 Definition of Macro Variable Names ...........................................................................................112


10.6 PARAMETER SCREEN ......................................................................................................114
10.6.1 PARAM Subpage .........................................................................................................................114
10.6.2 DIR Subpage ................................................................................................................................117
10.7 SERVO PRM SCREEN .......................................................................................................118
10.7.1 Servo Commands .........................................................................................................................118
10.8 DIAGNOSIS SCREEN ........................................................................................................119
10.9 BUS DGN SCREEN ............................................................................................................119
10.9.1 SERVO Subpage ..........................................................................................................................119
10.9.2 IO Subpage ................................................................................................................................. 120
10.9.3 BUS MSG Subpage .................................................................................................................... 121
10.10 AXIS CTRL SCREEN ........................................................................................................ 122
10.10.1 DATA Subpage............................................................................................................................ 123
10.10.2 Trace Subpage ............................................................................................................................. 125
10.11 ALARM SCREEN .............................................................................................................. 126
10.11.1 ALARM Subpage ....................................................................................................................... 126
10.11.2 EX-ALARM Subpage ................................................................................................................. 127
10.11.3 SV-ALARM Subpage ................................................................................................................. 127
10.11.4 SV-RCORD ................................................................................................................................ 128
10.12 GRAPHIC SCREEN ........................................................................................................... 128
10.13 SETTING SCREEN ............................................................................................................ 128
10.13.1 Setting Subpage .......................................................................................................................... 128
10.13.2 PRM-SW Subpage ...................................................................................................................... 130
10.13.3 COOR SYS Subpage .................................................................................................................. 131
10.14 OPERATOR SCREEN ........................................................................................................ 132
10.14.1 PAGE 1 ....................................................................................................................................... 133
10.14.2 PAGE 2 ....................................................................................................................................... 134
10.14.3 PAGE 3 ....................................................................................................................................... 135

11 PLC DESCRIPTION .................................................................................................. 137


11.1 PLC SPECIFICATION........................................................................................................ 137
11.2 PLC DIAGNOSIS SCREEN ............................................................................................... 138
11.2.1 Search Data ................................................................................................................................. 140
11.2.2 Debug Output Signal................................................................................................................... 140
11.2.3 Displaying and Setting of K-field Data ....................................................................................... 140
11.2.4 Displaying and Setting of D-field Data ....................................................................................... 141
11.2.5 Displaying and Setting of Timers ................................................................................................ 141
11.2.6 Displaying and Setting of Counters ............................................................................................ 141
11.3 PLC OPERATIONS ............................................................................................................ 142
11.3.1 Enter or Exit Debug Mode .......................................................................................................... 142
11.3.2 Download PLC............................................................................................................................ 142
11.3.3 Backup PLC ................................................................................................................................ 142

- V -
CONTENT

11.3.4 Delete PLC .................................................................................................................................. 143


11.3.5 Restore PLC ................................................................................................................................ 143
11.3.6 Debug PLC .................................................................................................................................. 143
11.3.7 Download PLC Parameters ......................................................................................................... 143
11.3.8 Check PLC Version ..................................................................................................................... 144
11.4 PLC MONITOR FUNCTION ............................................................................................. 144
11.4.1 Monitor View .............................................................................................................................. 144
11.4.2 Intensive Monitor View ............................................................................................................... 151
11.4.3 Trace View................................................................................................................................... 153
11.5 LADDER DIAGRAMS PROTECTION FUNCTION ........................................................ 154
11.5.1 Authority Management ................................................................................................................ 154
11.5.2 Password Operation ..................................................................................................................... 155

12 GRAPHICS FUNCTION ........................................................................................... 156


12.1 TOOL PATH GRAPHICS .................................................................................................... 156
12.1.1 GRAPRM Subpage ..................................................................................................................... 157
12.1.2 GRAPH Subpage ......................................................................................................................... 157
12.1.3 Graphics Transformation ............................................................................................................. 158
12.2 SOLID GRAPHICS ............................................................................................................. 159
12.2.1 GRAPRM Subpage ..................................................................................................................... 160
12.2.2 GRAPH Subpage ......................................................................................................................... 162
12.3 QUICK GRAPH FUNCTION ............................................................................................. 170
12.4 GRAPH DIAGNOSIS FUNCTION .................................................................................... 172

13 DATA INPUT/OUTPUT............................................................................................. 177


13.1 GENERAL ........................................................................................................................... 177
13.1.1 Use Serial Port ............................................................................................................................. 177
13.1.2 Use U-disk ................................................................................................................................... 177
13.1.3 Use Network ................................................................................................................................ 179
13.1.4 Electronic Disk ............................................................................................................................ 179
13.2 INPUT/OUTPUT PROGRAM ............................................................................................ 179
13.2.1 Program File Format.................................................................................................................... 180
13.2.2 Input/Output/Compare Program via Serial Port........................................................................... 180
13.2.3 Input/Output/Compare Program Using U-disk ............................................................................ 182
13.2.4 Input/Output/Compare Program with Network ........................................................................... 183
13.2.5 USB drive/series port input/output .............................................................................................. 185
13.3 INPUT/OUTPUT TOOL OFFSET DATA ........................................................................... 185
13.3.1 File Format .................................................................................................................................. 186
13.3.2 Input/Output Tool Offset Values via Serial Port .......................................................................... 187
13.3.3 Input/Output Tool Offset Values Using U-disk ............................................................................ 187
13.3.4 Input/Output Tool Offset Values with Network ........................................................................... 188
13.4 INPUT/OUTPUT MACRO VARIABLE ............................................................................. 188

- VI -
CONTENT

13.4.1 File Format .................................................................................................................................. 188


13.4.2 Input/Output Macro Variables via Serial Port ............................................................................. 189
13.4.3 Input/Output Macro Variables Using U-disk ............................................................................... 189
13.4.4 Input/Output Macro Variables with Network .............................................................................. 190
13.5 INPUT/OUTPUT PARAMETER ........................................................................................ 190
13.5.1 File Format .................................................................................................................................. 190
13.5.2 Input/Output Parameters via Serial Port ...................................................................................... 191
13.5.3 Input/Output Parameters Using U-disk ....................................................................................... 191
13.5.4 Input/Output Parameters with Network ...................................................................................... 192
13.6 INPUT/OUTPUT WORKPIECE COORDINATE SYSTEM SETTING ............................ 192
13.6.1 Input/Output Workpiece Coordinate System Setting with Network ............................................ 193
13.7 INPUT/OUTPUT PLC DATA ............................................................................................. 193
13.7.1 File Format .................................................................................................................................. 193
13.7.2 Input/Output PLC Data via Serial Port........................................................................................ 194
13.7.3 Input/Output PLC Data Using U-disk ......................................................................................... 194
13.8 INPUT/OUTPUT PLC PROCEDURES AND LADDER DIAGRAM ............................... 195
13.9 SOFTWARE UPDATE AND BACKUP ............................................................................. 196
13.10 SYSTEM DATA BACKUP AND RESTORE ..................................................................... 199
13.11 ELECTRONIC DISK .......................................................................................................... 199
13.12 OPERATION AUTHORITY ............................................................................................... 200
13.12.1 Protection Range ......................................................................................................................... 200
13.12.2 Operation Password .................................................................................................................... 200
13.12.3 Open or Close Authority Switch ................................................................................................. 201

II APPENDIX ................................................................................................203

1 OPERATION TABLE ................................................................................................ 205

2 COMMAND RANGE ................................................................................................. 208

3 BINARY TRANSITION TABLE ............................................................................... 209

4 SERIAL PORT COMMUNICATION ...................................................................... 211

5 ETHERNET COMMUNICATION SOFTWARE ................................................... 213


5.1 COMMUNICATION SETTING ......................................................................................... 213
5.2 SOFTWARE DESCRIPTION ............................................................................................. 213
5.2.1 Software Interface ....................................................................................................................... 213
5.2.2 Main Icons .................................................................................................................................. 215
5.2.3 Main Menus ................................................................................................................................ 216
5.3 ESTABLISH COMMUNICATION .................................................................................... 218

- VII -
CONTENT

- VIII -
I OPERATION
OPERATION 1.GENERAL

1 GENERAL
1.1 MANUAL OPERATION
1.1.1 Manual Reference Position Return
The CNC machine tool has a position used to replace tools and set coordinate system. This position is
called the reference position. Ordinarily, after the power is turned on, the tool should be moved to the
reference position. Manual reference position return is to move the tool to the reference position using
buttons on operator's panel.(See I-4.1)

Reference
positon
Operators panel

Tool

The tool can be moved to the reference position also with program commands. This operation is called
automatic reference position return. (See 《PROGRAMMING》)

1.1.2 Move Tool by Manual Operation


Using switches, push buttons, or the manual handle on machine operator’s panel, the tool can be moved
along each axis.

Operators panel

Handle

Tool

Workpiece

The tool can be moved in the following ways


1 Jog feed(See I-4.2)
The tool moves continuously while a push button remains pressed.
2 Incremental feed(See 《OPERATION》)

- 3 -
1.GENERAL OPERATION

The tool moves by the predetermined distance each time a button is pressed.
3 Manual handle feed(See 《OPERATION》)
By rotating the manual handle, the tool moves by the distance corresponding to the degree of handle
rotation.

1.2 TOOL MOVEMENT BY PROGRAMMING


Program

O1000;
M..S..T..;
G50 X.. Z..;
G00 ..; Tool
G01 ..;
...
...
...

Workpiece

Automatic operation is to operate the machine according to the created program(See I-5). It includes
memory, MDI, and DNC operations.

1.2.1 Memory Operation


CNC
Machine

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


CNC
Machine

LCD Key Input program manually

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.
- 4 -
OPERATION 1.GENERAL

1.2.3 DNC Operation


The machine can be operated by reading a program directly from an external input/output device, without
having to register the program in CNC memory. This is called DNC operation.

1.3 AUTOMATIC OPERATION


1.3.1 Program Selection
Memory

程序 O2000 N00000
O1001; Program number
G50…;
…;
…; Program of part 1
M30;
O1002; Program number
G50…; Search program number Automatic
…; running
…; Program of part 2
M30;
O1003; Program number
G50…;
…;
…; Program of part 3
M30;

>_
EDIT
(Address) (PROG) (LIB) (USB) (BKT)
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.(See
I-9.3.1)

1.3.2 Start and Stop


Cycle start Manual start

Feed hold Manual stop


Reset Automatic machining

Program stop
Program end Program stop

Pressing the cycle start push button causes automatic operation to start. By pressing the feed hold or reset
push button, 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.

1.4 TESTING A PROGRAM


Before machining is started, the automatic running check can be executed. It checks whether the created
- 5 -
1.GENERAL OPERATION

program can operate the machine as desired(See I-6). This check can be accomplished by running the
machine actually or viewing the position display change (without running the machine)

1.4.1 Check by Running the Machine


Dry run
Remove the workpiece, check only movement of the tool(See I-6.6). Select the tool movement rate using
the dial on the operator’s panel.

Tool

Feedrate override

Programmed feedrate: 60mm/min

Feedrate override is 20%, actual


feedrate is 12mm/min Tool

Single block
When the cycle start push button 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
(See I-6.7).

- 6 -
OPERATION 1.GENERAL

Start

Start Start
Tool
Start

1.4.2 Display Position Change Without Running the Machine


Machine lock

Tool X100.000
Z200.000
……

LCD Key

Tool is not moved

Coordinate system is updated

Auxiliary function lock


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(See I-6.2).

1.5 EDITING A PROGRAM


After a created program is once registered in memory, it can be corrected or modified from the MDI panel
(See I-9).

- 7 -
1.GENERAL OPERATION

N 1…
N 2…

LCD Key LCD Key

Program

1.6 DISPLAYING AND SETTING DATA


The operator can display or change a value stored in CNC internal memory by key operation on the MDI
screen.

Data setting

Data
Data displaying

LCD Key

Offset value

Settting Tool offset number 1


Tool offset number 2
Displaying Tool offset number 3

LCD key

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(See I-10).

- 8 -
OPERATION 1.GENERAL

Tool path 2

Tool path 1
Machine
shape

Programmed Offset value


path of tool 1
Offset value
of tool 2

Parameter
The CNC functions have versatility in order to take action in characteristics of various machines. For
example, CNC can specify the following:
1 Rapid traverse rate of each axis
2 Whether increment system is based on metric system or inch system
3 How to set command multiply/detect multiply (CMR/DMR)
Parameters differ depending on machine tools.

Rapid traverse rate


Setting
Position control
Reference position return
Backlash compensation data
Displaying
LCD Pitch error compensation data
KEY ……

CNC memory

Operational
characteristics
Automatic
Program
opration
Movement of
the machine

Displaying and setting operator’s setting data


Apart from parameters, there is data that is set by the operator in operation. This data causes machine
characteristics to change and is called setting data.

- 9 -
1.GENERAL OPERATION

Setting Mirror image machining

ISO code selecting


……
Displaying
LCD ……

KEY ……

CNC memory

Operational
characteristics
Automatic
Program
opration
Movement of
the machine

Program protection key


A key called the program protection key can be defined. It is used to prevent part programs from being
registered, modified, or deleted erroneously. Turn the key on before editing a program.

LCD
KEY

Program
protection key

Program Signal Machine


(CNC memory) operator’s panel

- 10 -
OPERATION 1.GENERAL

1.7 DISPLAY
1.7.1 Program Display
Active program

①Active program number ②Active sequence number


③The currently executed block ④Coordinate values of each axis

Catalogue of programs

- 11 -
1.GENERAL OPERATION

1.7.2 Current Position Display


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.

X
Workpiece coordinate system

1.7.3 Alarm Display


When a trouble occurs during operation, alarm numbers and alarm message are displayed on screen(See
Chapter DISPLAY AND SETTING).

- 12 -
OPERATION 1.GENERAL

1.7.4 Parts Count and Run Time Display


The number of parts and run time are displayed on POSITION interface(See I-10).

1.8 DATA INPUT AND OUTPUT

Program

Offset value Memory device


RS232
Parameter Computer

……

……

Programs, offset values, parameters in CNC memory can be output to an external medium such as the PC
or the U-disk. These data can also be input into CNC memory from these mediums(See I-13).

- 13 -
2.OPERATION PANEL OPERATION

2 OPERATION PANEL
2.1 CNC SYSTEM PANEL
2.1.1 Panel
K1000TTC1i

K1000TTC2i

- 14 -
OPERATION 2.OPERATION PANEL

2.1.2 Brightness Adjustment of Screen


A TFT color liquid crystal screen is used, the brightness of which can be adjusted manually. Follow the
procedures below:
In HOME mode, switch to POSITION interface and press [ALL] soft key to enter the sub page. Press a
number keys (any one in 1~8) on panel to make the relative coordinate character flickering:

 : Press this key to increase brightness

 : Press this key to decrease brightness

NOTE
The TFT liquid crystal screen is able to adjust the brightness automatically. Generally, it is not
necessary to adjust its brightness manually.

2.1.3 Function Keys


POS : POSITION interface

PROG : PROGRAM interface

OFS
VAR : OFFSET interface and MACRO VAR interface

PARAM : PARAMETER interface

DGN : DIAGNOSIS interface

ALARM : ALARM interface

GRAPH : GRAPHICS interface

SET : SETTING interface

OPR
INDEX : OPERATOR interface and INDEX interface

Press these keys to enter the corresponding interfaces. In each interface, multiple soft menus on the
bottom of the screen are used to switch to sub pages.
Foe those non-multiple-use function keys, press them twice to go back to the first sub page.

2.1.4 Soft Keys


Soft keys are used to select the menus of each interface. Each main menu has multiple sub menus. Menus

are displayed on the bottom of the screen and soft keys locate below the screen. is used to return to

the main menu. is used to switch to the other menus on the save level. If the arrow is not displayed,

- 15 -
2.OPERATION PANEL OPERATION

the corresponding soft key is disabled.

F1 F2 F3 F4 F5

Main menu

Main menus are displayed on two pages, 5 menus on each page. Press to switch between the two

pages.

First page of the main menu

Second page of the main menu


Function of main menus:
1 [POS]: Enter POSITION interface
2 [PROG]: Display and edit a program
3 [OFFSET]: Display and set offset values or macro variables.
4 [PARAM]: Display and set parameters
5 [DGN]: Display diagnosis information
6 [ALARM]: Display alarm messages
7 [GRAPH]: Display graphic parameters and tool path
8 [SET]: Display and set setting data and parameter key
9 [SOFT M]: Display soft switches
10 [INDEX]: Display help information

Sub menu
Press the soft key of a main menu twice continuously to enter its sub menus.
1 [POS]: [ALL], [RELA], [MAC], [ABS], [PLC PATH]
Coordinate values, distance to the target position, actual feed rate, JOG feed rate, spindle override,
parts count, run time, G codes, spindle speed, M/S/T instructions, programs, tool path, etc.
2 [PROG]: [ADRS], [PROG], [LIB], [USB] , [NETWORK]
Information of the current block and the next block, MDI data, modal information, programs,
coordinate values, software version, program's list, U-disk information, etc.
3 [OFFSET]: [WEAR], [GEOMETRY], [OPR]
Wear compensation values, geometry compensation values, methods for inputting compensation
values.
4 [PARAM]: [PARAM], [PEC], [DIR], [PrevArea], [NextArea]
Display and set pitch error compensation values of each axis, display parameters by areas.
5 [DGN]: [PC Join], [PC Para], [NC Stats], [RUN PLC], [LAD]
These sub menus have their own sub menus.
6 [ALARM]: [ALARM], [EX-ALM]
Display internal and external alarm information.

- 16 -
OPERATION 2.OPERATION PANEL

7 [GRAPH]: [GRAPRM], [GRAPH], [Q-GRAPH], [START], [CLEAR]


Display graphic parameters, tool path and graphic states.
8 [SET]: [SETTING], [PRM-SW],[COOR SYS]
Display setting data, parameter switch, coordinate systems' values.
9 [SOFT M]: include 3 sub pages
1st page: Mode selection switch, switches for testing a program, etc.
2nd page: Multiple kinds of override selection, feed rate selection, manual handle selection, automatic
start-stop switch, etc.
3rd pate: Switches for controlling the spindle, coolant switch, etc.
10 [INDEX]: [OPE], [G Code], [Para/DGN], [Macro Var], [Alaram]

2.1.5 MDI Keys


Name/Picture Function

【RESET】 Clear alarms, reset CNC

 Output programs, parameters, offset values, etc. via RS232 or USB


【OUTPUT/SAVE】
 Store electronic disk
Input a character or number. (Some of them are multiple-use keys.
Characters/Numbers Press 【SHIFT】 to input the character on the right bottom corner of
the key.)

【INPUT】 Input programs, parameters, offset values, etc. via RS232 or USB

Clear the input buffer


【CANCEL】 Eg. Assume "N001" is displayed in input buffer, it will be cleared
when the 【CANCEL】 key is pressed.

 : Move cursor up or down by one unit. In

searching operation, press these keys to select the search direction.

Cursor keys  : Move cursor left or right by one unit. It is also

used to turn the parameter switch on or off.


Keep pressing a cursor key down will make cursor moving
continuously.

 : Page up or change display interface


Page keys
 : Page down or change display interface

Edit keys are used to edit a program.


 【INSERT】: Insert characters into a program.
Edit keys
 【ALTER】: Modify the selected string in a program
 【DELETE】: Delete the selected the string
 Shift the functions of keys.
【SHIFT】
 Change the display mode used by parameters and diagnosis data:

- 17 -
2.OPERATION PANEL OPERATION

Name/Picture Function

bit or word

Select the lower case of a character. Press 【L.C.】 first before input a
【L.C.】 character, the corresponding lower case character will be put into the
buffer.

SHIFT & L.C.


 SHIFT function
The function of the 【SHIFT】 key is similar to the "SHIFT" key on PC. When the 【SHIFT】 key is
pressed, CNC enters the shift status. Furthermore, if the 【SHIFT】 key is pressed in shift status, the shift
status is canceled. In shift status, the characters on the right bottom corner of the character keys and
number keys are effective. For those non-multiple-use keys, the shift status has no effect.
 L.C.
Similar to the 【SHIFT】 key, When the 【L.C.】 key is pressed, CNC enters the lower case status.
Furthermore, if the 【L.C.】 key is pressed in lower case status, the lower case status is canceled. In lower
case status, the lower case character will be put into the buffer. For example, if 'N' is pressed in lower case
status, 'n' is put into the buffer instead of 'N'. For those non-letter keys, the lower case status has no effect.
 Display of the shift status and the lower case status
The shift status and the lower case status are indicated by the head of input buffer.
1 ">": Both the shift status and the lower case status are cancelled.
2 "/S>": The shift status is effective.
3 "/L>": The lower case status is effective.
4 "/L/S>": Both the shift status and the lower case status are effective.
 Methods for cancelling the shift status and the lower case status
The bit parameters "SHFT"(INSTALLATION & DEBUG MANUAL Page 143 P2301.3) and "LCSE"
(INSTALLATION & DEBUG MANUAL Page 143 P2301.2) are used to select the methods for
cancelling the shift status and the lower case status.
1 SHFT=1/LCSE=1: The shift status or the lower case status is effective only on the next pressed key.
After that, the status will be cancelled automatically.
2 SHFT=0/LCSE=0: The shift status or the lower case status will be effective until the 【SHIFT】 key or
the 【L.C.】 key is pressed again.

2.2 OPERATOR'S PANEL


Some keys used to control devices on machine tool are provided on operator’s panel.

K1000TTCi
Operator’s panels of K1000TTC1i and K1000TTC2i have different installation dimension, however, they
provide the same functions. This section describes based on the operator’s panel of K1000TTC1i, as
shown in the figure below.

- 18 -
OPERATION 2.OPERATION PANEL

Description of buttons
K1000TTCi Function

Cycle start

Feed hold

Select working mode

Return to programmed reference position

Automatic handle

Manual rapid traverse


Dry run speed

Y X C

Y X C

Z
Manual movement direction
Z
Z Step movement direction

C X Y

- 19 -
2.OPERATION PANEL OPERATION

K1000TTCi Function

X1 X10
F0 25% Rapid traverse override

X100 X1000 Movement of one step in STEP mode and HANDLE mode
50% 100%

100% Feed override in AUTO mode


% % % Manual feed rate in JOG mode
X Z

X Z

Select the axis controlled by handle


Y C

Y C

Spindle control
T

100% Spindle override

C/S Cs axis control

Coolant control

Lubrication control

Change tool manually

Chip removal control

Tail control

Chuck control

Machine lock

MST
Auxiliary function lock

Single block

Dry run

- 20 -
OPERATION 2.OPERATION PANEL

K1000TTCi Function

Optional block skip

M01
Optional block stop

F1 F2 F3 Self-defining functions

2.3 ADDITIONAL OPERATOR'S PANEL


Generally, additional operator's panel is optional device. Buttons such as power-on, power-off, cycle start,
feed hold and emergency stop are provided. Handle and spindle override switch are also provided by
some panels.
This section describes based on a usual additional operator's panel. The actual used panels may be
different from this one. Please see the manual supplied by machine tool builder for more information.

K1000TTC1i

- 21 -
2.OPERATION PANEL OPERATION

K1000TTC2i

- 22 -
OPERATION 3.POWER ON/OFF

3 POWER ON/OFF
3.1 POWER ON
Procedure
1 Check that the appearance of the CNC machine tool is normal.
2 Turn on the power according to the manual issued by the machine tool builder
3 After the power is turned on, check that the screen is displayed normally.
NOTE
Until the positional or alarm screen is displayed at the power on, do not touch the MDI panel. Some
keys are used for the maintenance or special operation purpose. When they are pressed, unexpected
operation may be caused.
Special operations:
1 【INPUT】+0: Initialize CNC system and load standard parameters. Programs and offset values
will be cleared.
2 【INPUT】+1~3: Restore system data from electronic disk
3 【INPUT】+【PROG】: Upgrade the software of the CNC system from a U-disk
4 【INPUT】+9: Restore the entire CNC system with the file in a U-disk
5 【EOB】+【CANCEL】: Do not check stored stroke limitation
6 【RESET】+【PARAM】: Initialize parameters and PLC parameters. Programs are not cleared.

3.2 POWER OFF


Procedure
1 Check that the LED indicating the cycle start is off on the operator’s panel.
2 Check that all parts of the CNC machine tool are not moving.
3 Refer to the machine tool builder’s manual for turning off the power to the machine.

- 23 -
4.MANUAL OPERATION OPERATION

4 MANUAL OPERATION
Manual operations may be performed in multiple modes such as HOME, JOG, HANDLE and STEP.

4.1 MANUAL REFERENCE POSITION RETURN


Manual reference position return can be classified into two types: return to the soft reference position and
return to the mechanical reference position. The latter one differs according to the characteristics of the
machine tool. This CNC system provides multiple parameters to satisfy these complex situations. For
more detail information, please refer to the
Parameter NO. Parameter meanings
P5110 Acceleration curve used by reference position return
P5111 Deceleration curve used by reference position return
P5112 Acceleration speed of each axis used by reference position return
P5113 Deceleration speed of each axis used by reference position return
P5120 Lower speed of each axis used by reference position return
P5121 Rapid traverse rate of each axis used by reference position return
P5130 Select the style of returning to the reference position
Delay time used when returning to the reference position, which is necessary for
P5131
spindle or axis equipped with an absolute encoder.
P5132 Grid shift amount when returning to the reference position
P5133 Shift amount of the reference position of each axis
P510 Values used to set the coordinate system after returning to the reference position

4.1.1 Return to the Mechanical Reference Position


Set "ZRS" ( INSTALLATION & DEBUG MANUAL Page 130 P0405.5 ) to 1 to indicate the
corresponding axis has a mechanical reference position. This is called the mechanical reference position
return.

4.1.1.1 Select the style


Using the parameter "Mechanical reference position return mode"(INSTALLATION & DEBUG
MANUAL Page 168 P5130), this CNC system supports multiple kinds of reference positions. Totally 8
styles are provided.
P5130 Explanation
Need deceleration signal and zero signal. Outside reference position return(Directions of the reference
0
position return and the manual axis are same)

- 24 -
OPERATION 4.MANUAL OPERATION

P5130 Explanation

Decelerate at point A, be ready to detect the zero signal at point C, finish at point D where the zero
signal is received. Grid shift movement is performed at point C and reference position shift movement is
performed at point D.
Need deceleration signal and zero signal. Inside reference position return(Direction of the reference
position return is contrary to the manual axis).

Decelerate at point A, stop at point B and move in the opposite direction. Be ready to detect zero signal
at point C. Finish at point D where the zero signal is received. Grid shift movement is performed at
point C and reference position shift movement is performed at point D.
Need deceleration signal. Outside reference position return.

Decelerate at point A, stop at point B and move in the opposite direction. Finish at point D where the
trailing edge of the deceleration signal is received. Reference position shift movement is performed at
point D. Grid shift amount is ineffective.
Need deceleration signal. Inside reference position return.

Decelerate at point A, stop at point B and move in the opposite direction. Finish at point D where the
rising edge of the deceleration signal is received. Reference position shift movement is performed at
point D. Grid shift amount is ineffective.

- 25 -
4.MANUAL OPERATION OPERATION

P5130 Explanation
Need zero signal. (This style is generally used by a revolution axis)

Decelerate at point A, stop at point B and move in the opposite direction. Finish at point D where the
zero signal is received. If multiple zero signals exist in the range of AB, the nearest one to point B is
effective. Reference position shift movement is performed at point D. Grid shift amount is ineffective.
Used by an axis driven by a motor equipped with an absolute encoder. It is called absolute encoder
reference position return.
1 Return to the reference position of the absolute encoder. Grid shift amount and reference shift
amount are ineffective.
2 If this style is selected, CNC will check whether an absolute encoder is installed on this axis when
5
the servo driver is enabled. Coordinate system will be set if it is installed, while an alarm will be
issued when it is not installed. Before setting the coordinate system, CNC checks the error
between the feedback value from the absolute encoder and the coordinate value saved in CNC, and
perform reference position return according to P1112 and ACRTn(P1105.1).
3 Delay first according to the value of P5131.
Set coordinate system directly according to the data from the absolute encoder. Used by an axis driven
by a motor equipped with an absolute encoder. No movement will be performed in this style.
1 Set coordinate system directly according to the data from the absolute encoder. Grid shift amount
and reference shift amount are ineffective.
2 If this style is selected, CNC will check whether an absolute encoder is installed on this axis when
6
the servo driver is enabled. Coordinate system will be set if it is installed, while an alarm will be
issued when it is not installed. Before setting the coordinate system, CNC checks the error
between the feedback value from the absolute encoder and the coordinate value saved in CNC, and
perform reference position return according to P1112 and ACRTn(P1105.1).
3 Delay first according to the value of P5131.
Need the feedback signal from the spindle encoder. This style is used a spindle. Spindle's position is
displayed in F0040.
1 Grid shift amount and reference shift amount are ineffective.
2 Requirement
(1) Only used by a revolution axis
7 (2) Need feedback data from the spindle encoder
(3) Set the corresponding parameters correctly: P2710, P2700.4
3 If the reference position of the spindle is already established, the reference position return
operation will be finished after the time specified by P5131. If it is not established, CNC system
will make the spindle rotate by 370 degrees and ensure that the reference position of the spindle is
established. The reference position return operation will be finished after the time specified by

- 26 -
OPERATION 4.MANUAL OPERATION

P5130 Explanation
P5131.
4 If the enable signal of the spindle is found lost in the process of returning to the reference position,
CNC system will issue an alarm.
5 It is recommended to use the function of automatically setting the spindle coordinate system in this
style. If the reference position of the spindle is established and if the enable signal of the spindle is
found lost (SPDIS(G121.0)=1) in any mode, CNC system will reset the spindle coordinate system
immediately according to the feedback data from the spindle encoder.

NOTE
1 Zero signal has higher precision than deceleration signal.
(1) FPGA stops outputting pulses immediately when the zero signal is received. Even the pulses
in the current interpolation period won't be outputted.
(2) When the deceleration signal is received, FPGA stops outputting pulses at the next
interpolation period, while the pulses in the current interpolation period will be all outputted.
Therefor there exists an error of an interpolation period at most. Use lower speed can decrease
this error.
2 After returning to the reference position in style 5, the following signals ZPi(F49), ABZPi(F48),
ZPOKi(F53) will be set and the color of the axis address turns into the blue.
3 After returning to the reference position in style 6, the following signals ABZPi(F48),
ZPOKi(F53), ABSEi(F58) will be set and the color of the axis address turns into the blue. Further
more, if the machine coordinate value is zero, ZPi(F49) will be set.

4.1.1.2 Control logic of the zero signal


Two types of zero signals are generally used:
 one turn signal of the axis(PC)
 one turn signal of the encoder(PCS)
PC signal is used in style 0, 1 and 4. PCS signal is used in style 7 (Usually used when cutting thread and
rebuilding the coordinate system of the spindle as soon as the enable signal is lost)
PC and PCS are effective only for the mainboard of the new platform and the mainboard of the servo bus
platform. For the former one, each axis has one PC signal and only one PCS signal is provided (only one
interface for the spindle encoder). For the latter one, both PC signal and PCS signal are provided only one
in the interface of the spindle encoder.
Please refer to 《OPERATION》 for more information.

4.1.1.3 Procedures
1 Press 【HOME】 to enter the mode of returning to the reference position.
2 Keep pressing the axis movement key until the axis reaches the reference position.

- 27 -
4.MANUAL OPERATION OPERATION

NOTE
1 The self-lock function of the key which is pressed when returning to the reference position and the
direction in which the reference position return is performed are controlled by PLC. Please refer to
the manual issued by the builder of the machine tool.
2 After the reference position is established in HOME mode, the movement keys are disabled.
3 The distance from the current position to the reference position should be long enough to perform
the operation of returning to the reference position. Please refer to the manual supplied by the
machine tool builder for more information.

4.1.1.4 Actions after returning to the reference position


1 Cancel the tool radius compensation.
2 Cancel the local coordinate system
3 Set coordinate system according to the workpiece coordinate system and the value of P0510. The
absolute coordinate values and the incremental coordinate values are cleared.

4.1.2 Reference Position Return without Mechanical Zero Point


Set "ZRS" ( INSTALLATION & DEBUG MANUAL Page 130 P0405.5 ) to 0 to indicate the
corresponding axis has no mechanical reference position. Procedures and actions of this kind of reference
position return are same with those when returning to the mechanical reference position.
The speed is specified by parameter "High speed used when returning to the mechanical reference
position"(INSTALLATION & DEBUG MANUAL Page 167 P5121). Further more, the rapid traverse
override is effective. If the lowest level is select, the actual rapid traverse rate equals to the value specified
by parameter "Lower speed of rapid traverse F0"(INSTALLATION & DEBUG MANUAL Page 135
P0712).

4.1.3 Return to the Soft Reference Position


The soft reference position in this manual represents the position specified by G50 instruction. It is quick
and convenient to return to the start point when the machining process is interrupted.
Execute G50 instruction at least once after power on before returning to the soft reference position
manually. CNC system will remember the machine coordinate values of all axes when the G50 instruction
is executed, and these values will be kept until the power is turned off or a new set of values are specified
by another G50 instruction.
An alarm will be issued if no soft reference position is remembered when returning to the soft reference
position manually.
The speed used when returning to the soft reference position is specified by parameter P5122. Further
more, the rapid traverse override is effective. If the lowest level is select, the actual rapid traverse rate
equals to the value specified by parameter P0712.

Procedures
1 Simultaneously press P+【HOME】
2 Press the movement key of the corresponding axis.

- 28 -
OPERATION 4.MANUAL OPERATION

NOTE
The tool compensation and the local coordinate system won't be cleared after returning to the soft
reference position.

4.1.4 Return to the Reference Position When Using an


Incremental Encoder
For the axis using an incremental encoder, after the operation of returning to the reference position on
CNC unit, servo driver establishes a reference position and set a flag. However, the position will be lost
when the power to servo driver is cut off. When the flag (REF=1) is effective and the axis is enabled,
CNC unit updates coordinate values according to the position information read from servo driver.
Procedures of returning to the reference position when using an incremental encoder are same with those
described in the former chapters. Internally, CNC unit will send a command to servo driver to make it
establish a reference position. Generally, the operation of returning to the reference position should be
performed only once if only the power to the servo driver is not cut off.

Limitations
1 Only SD310 and ZD210 supports this function.
2 Use incremental encoder.
3 Set the bit parameter "INCCD"(INSTALLATION & DEBUG MANUAL Page 136 P1105.0) to 1.
4 If the axis is a revolution axis, the pulses number per revolution from the incremental encoder should
equal to 2𝑛 (n is an integer).
5 The function is effective only when the parameter P5130 is set to 0, 1 or 4. For other styles, CNC unit
won't send any command to for servo driver for establishing a reference position.
NOTE
1 After this operation, even when the enable signal of the servo driver is lost for some reason, it is
not necessary to return to the reference position when the enable signal is received again.
2 After this operation, it is not necessary to return to the reference position again even the CNC unit
is restarted, if only the flag (REF=1) is effective.
3 For the axes using absolute encoders (17-bit-single-turn or 0-bit-multi-turn), the CNC unit
performs special operations. If the axis is a linear axis, the absolute encoder will be considered as
an incremental one. If the axis is a revolution axis, the absolute encoder will be considered as an
absolute encoder directly.

4.2 JOG FEED


In the JOG mode, pressing a feed axis and direction selection switch on the machine operator’s panel
continuously moves the tool along the selected axis in the selected direction. Associate parameters are
listed below:
Parameter NO. Meanings
P5210 Acceleration curve used by JOG feed
P5211 Deceleration curve used by JOG feed
P5212 Acceleration speed of each axis used by JOG feed

- 29 -
4.MANUAL OPERATION OPERATION

Parameter NO. Meanings


P5213 Deceleration speed of each axis used by JOG feed
P5220 Speed of each axis when the JOG feedrate override is 1
P5221 Rapid traverse rate of each axis used by JOG feed

Procedures
1 Press 【JOG】 key to select the JOG mode.
2 Keep pressing the switch corresponding to the axis and direction the tool is to be moved.
3 Release the switch and machine tool stops.

Explanations
 JOG feed at manual feedrate
The manual feedrate is specified by the parameter "Feedrate when manual feed override is 100%"
(INSTALLATION & DEBUG MANUAL Page 170 P5220). The manual feedrate override can be
controlled by either the override switch on the operator's panel or the switch on the additional operator's
panel. The range of the both switches is from 0% to 150% by the step of 10%. Actual manual feedrate
equals to the product of the manual feedrate (override=100%) and the override.
1 Manual feedrate override switches on the operator's panel:

: Manual feedrate override is 100%

: Press once to decrease the manual feedrate override by 10%

: Press once to increase the manual feedrate override by 10%

2 Manual feedrate override switch on the additional operator's panel:

%
60 70 80 90
50 100

30
40 110
120
: Turn to wanted percentage directly
20 130
10 140
0 150

NOTE
Whether the manual feedrate override is controlled by the switches on the operator's panel or the
switch on the additional operator's panel is selected by PLC. Please refer to the manual supplied by
the machine tool builder.
 JOG feed at the rapid traverse rate

Press to select the rapid traverse rate as the manual feedrate. It is a self-lock key. When the

indicator on the left top corner of the key is lit up, it represents the rapid traverse rate is effective.
When the rapid traverse rate is effective, the actual manual feedrate is determined by the value of P5221

and the rapid traverse override. For override steps are available, which are selected by

. They are multi-use keys.

- 30 -
OPERATION 4.MANUAL OPERATION

1 : Set the rapid traverse rate to the F0 speed

2 : Set the rapid traverse override to 25%

3 : Set the rapid traverse override to 50%

4 : Set the rapid traverse override to 100%

Actual manual feedrate depends on the states of the switches of JOG feedrate and manual rapid traverse
rate, rapid traverse override and parameters.
State of the rapid Rapid traverse
Manual feedrate
traverse switch override
OFF Any P5220 × JOG feedrate
ON F0(Lowest level) P0712
ON 25%, 50% or 100% P5221 × Manual rapid traverse rate

NOTE
1 When the CNC unit is turned on or the emergency stop button is released, the reference position is
lost. In this situation, the manual rapid traverse is available only when the bit parameter "ISOT"
(INSTALLATION & DEBUG MANUAL Page 134 P0700.2) is set to 1.
2 The rate, acceleration styles and acceleration speed used by rapid traverse in JOG mode are same
with those specified by program instructions.
 Move multiple axes simultaneously in JOG mode
Set "SMAX"(INSTALLATION & DEBUG MANUAL Page 124 P0002.0) to 1 to enable the function of
moving multiple axes simultaneously in JOG mode. Simultaneously press the feed keys corresponding to
the axes wanted to be moved.

4.3 INCREMENTAL FEED


In the incremental mode, pressing a feed axis and direction selection switch on the machine operator’s
panel moves the tool one step along the selected axis in the selected direction. The minimum distance the
tool is moved is the least input increment. Each step can be 1, 10, or 100 times the least input increment.
Associate parameters are listed below:
Parameter NO. Meanings
P5410 Acceleration curve used by incremental feed or manual handle feed
P5411 Deceleration curve used by incremental feed or manual handle feed
P5412 Acceleration speed of each axis used by incremental feed or manual handle feed
P5413 Deceleration speed of each axis used by incremental feed or manual handle feed
P5420 Upper limitation of the speed used by incremental feed or manual handle feed

Procedures
1 Press 【STEP】 key to enter the incremental mode and the indicator will be lit up. Ensure that the bit
parameter "HPG"(INSTALLATION & DEBUG MANUAL Page 123 P0001.3) is set to 0.
2 Press the override switches to select an appropriate step increment. ×1, ×10 and ×100 are available.
- 31 -
4.MANUAL OPERATION OPERATION

3 Press the feed axis and direction selection switch on the machine operator's panel to move the selected
axis one step in the selected direction. JOG feedrate is used in the movement.
NOTE
If the diameter programming is effective for the X-axis, the one step increment is also considered as a
diameter value.

4.4 MANUAL HANDLE FEED


In the handle mode, the tool can be minutely moved by rotating the manual pulse generator on the
machine operator’s panel. Select the axis along which the tool is to be moved with the handle feed axis
selection switches.
The minimum distance the tool is moved when the manual pulse generator is rotated by one graduation
equals to the least input increment. Each step can be 1, 10, or 100 times the least input increment.
Associate parameters are listed below:
Parameter NO. Meanings
P5414 Time used to smooth the handle feed
P5420 Upper limitation of the speed used by incremental feed or manual handle feed

Procedures
1 Press 【STEP】 key to enter the handle mode and the indicator will be lit up. Ensure that the bit
parameter "HPG"(INSTALLATION & DEBUG MANUAL Page 123 P0001.3) is set to 1.
2 Press the override switches to select an appropriate step increment. ×1, ×10 and ×100 are available.
3 Select a axis by the switches on the manual pulse generator
4 Clockwise rotation of the manual pulse generator moves the target axis in the position direction, while
counterclockwise rotation moves the axis in the negative direction.

Manual handle feedrate


Generally, the manual handle feedrate is determined by the rotation speed of the manual pulse generator.
However, if the speed exceeds the value specified by parameter P5420, the actual feedrate equals to the
upper limitation.
NOTE
If the rotation speed of the manual pulse generator is too high, its actual graduation value may not
match with the actual movement distance.

4.4.1 Automatic Handle Feed


Automatic handle feed function can be turned on or off with the switch on the third sub page of the
OPERATOR interface, by pressing number key "2".
When the function is turned on in AUTO or MDI mode, "HAND" will be displayed on the right side of
the area where to display mode state. In this case, feedrate is by default determined by the rotation speed
of the handle rather than the instructions in the current being executed program.
Machine tool moves in the direction specified by the current running program when the handle is rotated
in the position direction. In contrast, it moves in the opposite direction to the direction specified by the
program when the handle is rotated in the negative direction(Backward Motion).

- 32 -
OPERATION 4.MANUAL OPERATION

NOTE
1 The parameter "Smooth time when feedrate is controlled by a handle"(INSTALLATION &
DEBUG MANUAL Page 171 P5310) is used to decrease the vibration caused by manually
rotating the handle.
2 Backward motion is only available for the current block, in other words, the start position of the
current block is the limitation of the backward motion.

Automatic handle feed at a feedrate specified by the program


For convenient using, this CNC unit provides a bit parameter "HPSF"(INSTALLATION & DEBUG
MANUAL Page 170 P5300.5) to select the actual feedrate in automatic handle feed mode.
1 HPSF=0: Actual feedrate is determined by the rotation speed of the handle
2 HPSF=1: Actual feedrate is basically determined by the programming feedrate (feedrate override is
considered). Further more, the rotation speed of the handle is considered as an additional override. The
upper limitation of the rotation speed of the handle is specified by the parameter P5311. Please see the
equation below:
rotation speed
MIN( , P5311)
Actual feedrate in the Programming of the handle
= ×
automatic handle feed mode feedrate P5311
Programming feedrate——It represents the feedrate after considering the cutting feed override or the
rapid traverse override.
MIN(rotation speed of the handle, P5311)——The minimum of the rotation speed of the handle and the
value of P5311 is used.
NOTE
1 In the case of feed per revolution (except for thread cutting and taping with an analog spindle),
feedrate is calculated with the feedback spindle speed (feed override is effective) rather than the
programming spindle speed.
2 When automatic handle feed is enabled and HPSF is set to 0, "FEEDRATE" on POSITION screen
is replaced by "HANDLEINC" and "RAPDRIDE" is not displayed.

4.5 MANUAL ABSOLUTE ON AND OFF


Whether the distance the tool is moved by manual operation is added to the coordinates can be selected
by turning the manual absolute switch on or off on the machine operator’s panel. The switch on this CNC
unit is always on, the distance the tool is moved by manual operation is added to the coordinates. Refer to
the figure below:

- 33 -
4.MANUAL OPERATION OPERATION

P2 Manual
operation
P1

Explanation
Take the below blocks as an example, we explain how the manual operation affects the coordinates.
G01 G90 X100.0 Y100.0 F100. ; (1)
X200.0 Y150.0 ; (2)
X300.0 Y200.0 ; (3)
 Manual operation after the end of block
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).

(120.0,200.0)

Manual
operation
(200.0,150.0)

(100.0,100.0)

 Manual operation after a feed hold


Coordinates when the feed hold button is pressed while block (2) is being executed, manual operation (X–
axis + 75.0) is performed, and the cycle start button is pressed and released
(200.0,225.0)
(150.0,200.0) (300.0,200.0)
Manual
operation (200.0,150.0)
(150.0,125.0)

 When reset after a manual operation following a feed hold


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.

- 34 -
OPERATION 4.MANUAL OPERATION

(150.0,200.0) (300.0,200.0)
Manual
operation
Press (200.0,150.0)
reset key
(150.0,125.0)

 When a movement command in the next block is only one axis


When there is only one axis in the following command, only the commanded axis returns.
N1 G01 G90 X100.0 Y100.0 F100. ;
N2 X200.0 ;
N3 X300.0 Y200.0 ;

Y-axis is N3
not moved
Manual
operation

N2
N1

 When the next move block is an incremental


When the following commands are incremental commands, manual operation is operated after N1, the
actual tool path is as follows:
N1 G01 G90 X100.0 Y100.0 F100. ;
N2 G91 X100.0 Y50. ;
N3 X100.0 Y-200.0 ;

Manual
operation

N2 N3

N1

 Manual operation during tool nose radius compensation(absolute programming)


After inserting manual operations, the remained movement of the current block and the start vector of the
next block will be shifted. The new start vector is calculated based on the relationship between the next
block and the block after the next one, and the manual movement is also considered.
 Insert manual operation in a motion without any corner angle
In the figure below, tool moves from PA to PB following the program. At point PH the feed hold
button is pressed and the tool is moved to point PH′ manually. The terminal point of the current
block moves from PB to PB′ and the new vectors VB1 and VB2 move to point PB′ also and the new
′ and ′
vectors are called VB1 VB2 . The vectors VC1 and VC2 between the next block (PB → PC ) and
′ ′
the block after the next one (PC → PD ) are ignored. The new vectors VC1 and VC2 between the
block (PB′ → PC ) and the block (PC → PD ) are used. Programmer should know that VB2

is not a
new vector, but the same vector with VB2 , so tool nose radius compensation in the path PB′ → PC
can not be performed correctly. Compensation will be performed correctly after point PC .
- 35 -
4.MANUAL OPERATION OPERATION

VC1’
VB2 VC1
PB PC
VB1 VC2

VB2’
PB’
VB1’ PH
PD

Programmed path specified


Manual by absolute command
operation PA
Tool nose path before manual
operation
P H’

 Insert manual operation at corner


′ ′ ′
The process in this case is same with that in the above case. New vectors VA2 , VB1 and VB2
represent the shifted vectors of VA2 , VB1 and VB2 after insertion of manual operation.
Compensation will be performed correctly after point PC .
VC1’
VB2 VC1
PB PC
VB1 VC2

VB2’
P B’ PD
VB1’
Programmed path specified
by absolute command
PA

PH
Tool nose path VA2 VA1

Manual
operation

VA2’ VA1’
PH’

 Insert manual operation in single block mode


After inserting manual operation in single block mode, the vectors VB1 and VB2 will be shifted and
the shift amount equals to the actual manual movement. Other processes are same with those in
the former cases.
MDI blocks can also be executed in single block mode. The working mode are same with those in
manual mode.

- 36 -
OPERATION 4.MANUAL OPERATION

VC1’
VB2 VC1
Manual
operation VB1 PB PC
VC2

VB2’

VB1’ PB’ PD

Programmed path specified


Tool nose path by absolute command
PA

4.6 MANUAL AUXILIARY OPERATION


Changing tools manually

Press in JOG, HANDLE, STEP or HOME mode to make tool post rotate to select the next tool.

The LED goes on during the tool changing process and goes out when the process is finished. Please refer
to the manual supplied by the machine tool builder.

Control coolant manually

Press in JOG, HANDLE, STEP or HOME mode to turn coolant device on or off. It is a self-lock

button, which is available to turn the coolant device on and off. The LED goes on when the coolant
device is turned on and it goes out when the coolant is turned off.

Control lubrication manually

Press in JOG, HANDLE, STEP or HOME mode to turn lubrication device on or off. It is a

self-lock button, which is available to turn the lubrication device on and off. The LED goes on when the
lubrication device is turned on and it goes out when the lubrication device is turned off.

Control spindle manually


 Rotate in the positive direction (CW)

Press in JOG, HANDLE, STEP or HOME mode to make spindle rotate in the positive direction.

The LED goes on when the spindle rotates in the positive direction.
 Rotate in the negative direction (CCW)

Press in JOG, HANDLE, STEP or HOME mode to make spindle rotate in the negative direction.

The LED goes on when the spindle rotates in the negative direction.
 Stop spindle

Press in JOG, HANDLE, STEP or HOME mode to make spindle stop. The LED goes on when

the spindle is not rotating.


- 37 -
4.MANUAL OPERATION OPERATION

NOTE

1 If is pressed when the spindle is rotating in the positive direction (CW), CNC stops the

spindle first and make it rotate in the negative direction.


2 A delay may be needed when starting the spindle. It is determined by the PLC procedures.
The actual working modes of spindle are closed to the PLC. Please refer to the manual supplied by
machine tool builder.
 Spindle step-revolution

Press T in JOG, HANDLE, STEP or HOME mode to make spindle rotate clockwise. Release the

button to stop spindle.


 Spindle speed

Press and in JOG, HANDLE, STEP or HOME mode to adjust spindle speed

override. The initial spindle speed is specified by P2711, the one step increment is specified by P2713 and
the upper limitation of the spindle speed is specified by P2712.

1 : Decrease the spindle speed.

2 : Increase the spindle speed.

NOTE
Spindle speed can be controlled only when the analog spindle function is enabled, that is to say, set
"SANG"(INSTALLATION & DEBUG MANUAL Page 123 P0001.4) to 1.

Explanation
1 Changing mode doesn’t affect the state of miscellaneous functions. It is able to control miscellaneous
functions by both M codes in AUTO or MDI mode and manual operations in JOG mode.
2 Reset operation affects the miscellaneous functions (tool changing, coolant, lubrication, spindle
control) or not is determined "RSJG"(INSTALLATION & DEBUG MANUAL Page 140 P2100.5). If
RSJG is set to 1, reset operation will also close these functions.
3 When emergency stop happens, spindle rotation, coolant, lubrication, tool changing will be closed.

- 38 -
OPERATION 5.AUTOMATIC OPERATION

5 AUTOMATIC OPERATION
Programmed operation of a CNC machine tool is referred to as automatic operation. This chapter explains
the following types of automatic operation: memory operation, MDI operation and DNC operation.

5.1 MEMORY OPERATION


When a program saved in memory in advance is executed in automatic mode, the operation is called
memory operation.

Procedures
1 Save a program in memory (Edit on CNC or input through serial port or a U-disk)
2 Press 【AUTO】 to enter automatic mode
3 Press 【PROG】 to display the program screen.

4 Input address character O and the target program number, and press to search the program

5 Press cycle start button to start executing the program, and the cycle start LED goes on. When the
executing is finished, the LED goes out.

Explanation
 Memory operation procedures
1 Read the instructions in one block of a program
2 Decode the instructions and get executable data
3 Execute the instructions
4 Read the instructions in the next block
5 Decode the instructions in the next block, get executable data and put them in buffer
6 Immediately after the preceding block is executed, execution of the next block can be started. This is
because buffering has been executed.
7 Hereafter, memory operation can be executed by repeating the steps 4 to 6.
 Methods for stopping automatic operation
Two methods are available:
1 Input M00, M01 or M30 in the target block
(1) M00 (Stop execution)
Memory operation is stopped after a block containing M00 is executed. When the program is
stopped, all existing modal information remains unchanged. The memory operation can be started
again by pressing the cycle start button.
(2) M01
Similarly to M00, memory operation is stopped after a block containing M01 is executed. This
code is only effective when the Optional Stop switch on the machine operator’s panel is turned
ON.
(3) M30
When M30 (specified at the end of the main program) is read, memory operation is terminated

- 39 -
5.AUTOMATIC OPERATION OPERATION

and the reset state is entered.


2 Press the feed hold key or reset key on panel
(1) Feed hold
When the feed hold key on the operator’s panel is pressed during memory operation, the tool
decelerates and stops. The LED on the feed hold key goes on in this situation.
(2) Reset
Automatic operation can be stopped and the CNC system can be reset by pressing the RESET key
on the MDI panel or inputting an external reset signal. When reset operation is applied to the
system during a tool moving status, the motion is slowed down then stops. The bit parameter
"AUTOR" ( INSTALLATION & DEBUG MANUAL Page 170 P5300.7 ) and "AUED"
(INSTALLATION & DEBUG MANUAL Page 144 P2302.7) are used to control the cussor
position after reset.
1) AUED=0
AUTOR=0:Program cursor returns to the head of the program
AUTOR=1: Program cursor stays on the current position
If the CNC is reset when executing a subprogram, program cursor always returns to the head
of the main porgram.
2) AUED=1
If the CNC is reset when executing a main program, program cursor always returns to the
head of the current block.
If the CNC is reset when executing a subprogram, program cursor always returns to the head
of the nxet block, the previous block of which is used to call the subprogram
 M99 in a main program
If an M99 command is specified in a main program, execution will be continued from the head of the
program periodically after executing M99 command.

5.2 MDI SINGLE BLOCK OPERATION


When the bit parameter "SBMP"(INSTALLATION & DEBUG MANUAL Page 147 P2500.0) is set to
1, only single block can be executed in MDI mode. The sub page [ADD] in PROGRAM interface is used
to input the single block information.
The following limitations exist when the MDI single block operation is effective:
1 The program number "O0000" won't be displayed. Program cursor locates on the EOB if none
instruction is inputted. In word edit mode, the first inputted characters are inserted before the EOB and
program cursor locates on the word before the EOB.
2 Only the first block in the edit region can be modified. In word edit mode, program cursor can not be
locates on the EOB. In character edit mode, program cursor can not be locates on '%'.
3 In word edit mod, it is not available to insert a new word before the first word. In this case, modify the
first word.
4 The following keys or commands are invalid: EOB, cursor up, cursor down, page up, page
down, :J, :S, :SA.
5 The following operations are invalid: create a new program the number of which is not 0, exchange to
a program the number of which is not 0, extended edit, delete multiple blocks.
6 M98, M96 and M06 are ineffective. Single block mode is invalid.
- 40 -
OPERATION 5.AUTOMATIC OPERATION

5.3 MDI MULTIPLE BLOCK OPERATION


When the bit parameter "SBMP"(INSTALLATION & DEBUG MANUAL Page 147 P2500.0) is set to
0, multiple blocks can be executed in MDI mode.
It is available to make a program including multiple blocks in MDI mode. The program has the same
format with those in memory mode. MDI operation is used to perform some simple operations.

Procedures
1 Press 【PROG】 to display the PROGRAM interface
2 Press 【MDI】 key to enter the MDI mode. CNC unit creates a temporary program the number of
which is O0000.
3 Insert one or more blocks in the temporary program

4 Press to move cursor to the head of the program

5 Press cycle start to start MDI operation. The temporary will be cleared when the EOB or % is
executed.

Explanation
 MDI program
The edit methods of MDI program are same with those in EDIT mode. Please refer to the chapter I-9.2 for
more information.
 Delete or clear MDI program
Delete and clear operations of the temporary MDI program are similar. When entering the MDI mode
from other modes, CNC unit will create a new temporary program. The actual working modes of deleting
or clearing MDI program are determined by the bit parameter "RMPP"(INSTALLATION & DEBUG
MANUAL Page 144 P2302.3).
RMPP=0:
1 Clear MDI program
(1) When M30 or % is executed in MDI mode.
(2) When the CNC unit is reset while "MCL"(INSTALLATION & DEBUG MANUAL Page 144
P2302.6) is set to 1.
2 Delete MDI program
(1) Switch to EDIT mode from MDI mode and perform any edit operation including moving cursor.
(2) Press O + 【DELETE】 in MDI mode.
(3) Input "O-9999" and press 【DELETE】. All memory programs and MDI program will be deleted.
RMPP=1:
1 Clear MDI program
(1) Press O + 【DELETE】 in MDI mode.
(2) Input "O-9999" and press 【DELETE】. All memory programs and MDI program will be cleared.
2 Delete MDI program
MDI program won't be cleared by any operations.

- 41 -
5.AUTOMATIC OPERATION OPERATION

NOTE
When RMPP is set to 1, the working modes of some operations are listed below:
1 After execution of M30, cursor stops at the block after the one including M30.
2 After execution of %, cursor stops at %.
3 No matter what value MCL is set to, pressing RESET key will make cursor return to the head of
the program.
 Stop MDI operation
The previous explanations of how to execute and stop memory operation are also available for MDI
operation, except that in MDI operation, M30 and % works following a different way.
 M99 in MDI program
After execution of M99 in an MDI program, system stops execution and locates cursor at the head of the
program. MDI program won't be cleared. This is different from the style of M30 and M99 in memory
operation mode.
 Restart
It is available to edit the MDI program when the MDI operation is interrupted. Press cycle start button to
start MDI operation again no matter where the cursor locates. CNC unit starts execution from the block
where the cursor locates.
 Execute a non-temporary program
Memory programs (O0001~O9999) can also be executed in MDI mode, which is not recommended to do.

Limitations
1 MDI program will be saved in CMOS memory only when RMPP is set to 1.
2 It is not able to create or edit an MDI program if the memory is full. Any operation about the MDI
program is not available.

5.4 DNC OPERATION


It is possible to perform machining while an external program is being read in via input interface. This is
calling DNC operation. It is also available to execute a big program which is too big to be saved in system
memory with DNC operation.

5.4.1 Type B DNC Operation


Procedures
 Read program via a U-disk
1 Set "DNC" to 0
2 Press 【EDIT】 key to switch to the EDIT mode. Press 【PROG】 to display the PROGRAM interface.
Press function [U-disk] to enter the subpage displaying files in a U-disk. Press cursor keys to select the
file including the target program.
3 Press function key [U-disk] and [DNC Open] to open the select file and display the program in it.
4 Press 【AUTO】 key to switch to the automatic operation mode
5 Press cycle start button to start DNC operation
 Read program via network
1 Set "DNC" to 0

- 42 -
OPERATION 5.AUTOMATIC OPERATION

2 Press 【EDIT】 key to switch to the EDIT mode. Press 【PROG】 to display the PROGRAM interface.
Press function [NET] to enter the subpage displaying files on NET. Press cursor keys to select the file
including the target program.
3 Press function key [DNC Open] to open the select file and display the program in it.
4 Press 【AUTO】 key to switch to the automatic operation mode
5 Press cycle start button to start DNC operation
NOTE
1 Available extension names are PRG, TXT, NC and PTP.
2 Set "DNCE"(INSTALLATION & DEBUG MANUAL Page 143 P2301.1) to 1 to make it valid to
edit the program opened in DNC operation mode.

5.4.2 Read DNC Program by Frame


Sometimes the programs used to machining complex parts may be rather big, and it is not possible to save
them in CNC memory, but we provide a possible way to solve this problem. Save this kind of programs
on PC or in a U-disk. CNC unit is able to read them frame by frame and execute them. DNC operation
described above is usually used to execute a program in a single direction, and edit operation or repetitive
execution is not available. This function described in this section can solve these programs perfectly.
1 All parts of a DNC program can be displayed on screen
2 Blocks in a DNC program can be executed multiple times.
(1) It is able to call a sub program with M98 command.
(2) It is able to specify an M99 command in a main program.
(3) Multiple repetitive cycles are available
(4) Macro program jump operation
3 Support edit operations (inserting, deleting, altering or saving) on all parts of a DNC program.

Explanation
 Enable method
1 For the DNC program in a U-disk
Enable the type B DNC operation and set "DNCF"(INSTALLATION & DEBUG MANUAL Page 128
P0100.6) to 1, the DNC program can be read and edit by frame.
2 For the DNC program on network
The DNC program can always be read and edit by frame if only the network function is enabled. It has
nothing to do with the bit parameter DNCF.
 Frame size
CNC unit automatically separates a DNC program into several parts. The number of blocks in each frame
is called the frame size.
Frame size is specified by the parameter "Number of blocks in buffer when performing DNC
machining"(INSTALLATION & DEBUG MANUAL Page 129 P0113)and its default value is 1024. The
theoretical upper limitation of frame size is up to the actual memory size. If a value smaller than
2N+1 (N=P0012) is specified, to avoid affecting the high-speed & high-precision function, CNC unit
set the frame size to 2N+1 automatically.

- 43 -
5.AUTOMATIC OPERATION OPERATION

NOTE
1 CNC unit supports 32k frames (32×1024) at most. Theoretically frames' number may exceed the
upper limitation for a rather big program and an alarm (PS0255) will be generated in this case. Set
frame size to a bigger value to solve this problem.
For example, assume that average length of a block is 16 bytes and the frame size is 1024. In this
case, the upper limitation size of a DNC program is 512MB (16B×1024×32k).
2 It is necessary to open the target DNC program again after setting the parameter "Number of
blocks in buffer when performing DNC machining".
 Open a DNC program
1 Set bit parameter "DNC" to 0
2 Set bit parameter "DNCF" to 1 (Only for opening a DNC program in U-disk)
3 Switch to EDIT mode and enter the subpage displaying files in U-disk or Network
4 Move cursor to select the target files
5 Press function key [DNC Open]. CNC unit read in a frame blocks.
NOTE
For convenient using, the actual blocks' number equals to the specified frame size plus 1. The last
block read in one frame is actually the first one of the next frame.
 View a DNC program
DNC programs have the same working modes as those in memory in EDIT mode. Move cursor with the
cursor up or cursor down keys. Search operation and jump operation (:J) can be performed in the whole
program range. A DNC program is actually considered as a list of frames. As shown in the figure below,
when the cursor moves from one frame to the next or the previous one, CNC unit remove the current
frame and read in the next or the previous frame. Only one frame stays in the memory at one time.

Program head

1st frame

Current frame 2nd frame

3rd frame

4th frame

- 44 -
OPERATION 5.AUTOMATIC OPERATION

 Edit a DNC program


DNC program can be edited in memory if the bit parameter "DNCE"(INSTALLATION & DEBUG
MANUAL Page 143 P2301.1) is set to 1. All edit operations except for the operation of deleting multiple
blocks are only effective in the current frame. Edit operations have same working modes with those about
memory programs. Press [PROG]→[SAVE] to save the result into the file in the U-disk.
If the current frame is not saved while the cursor is about to move to another frame, the action of the CNC
unit is determined by the bit parameter "ASDP"(INSTALLATION & DEBUG MANUAL Page 128
P0100.5). If ASDP is set to 1, CNC unit save the current frame automatically and perform other
operations continuously. If ASDP is set to 0, CNC unit display a modal window to let the operator to
select whether the current frame is saved or not before reading in another frame. The modal window is as
follows:
DNC程序

Program is changed, save or continue ?


[N]—Save ,[G]—Continue

NOTE
1 CNC unit displays the modal window when executing a frame which is changed and not saved.
After selecting the option G, CNC unit executes the changed frame. When the cursor moves to
another frame, the current frame is removed without saving these changes.
2 If CNC unit is reset while the current frame is changed and not saved, CNC unit displays a modal
window. After selecting the option G, the cursor moves to the head of the program without saving
the changes. If the current frame is the first frame, the changes won't be lost.
3 The operations of deleting multiple blocks can not be performed across multiple frames when the
changes about the current frame are not saved.
4 DNC programs on network don't support this function.
 Execute a DNC program
When executing a DNC program in automatic operation mode, CNC unit always keeps two frames in
memory, one frame before the current executing block and one frame after the current executing block.
The blocks that are not covered by this range will be removed from memory. Please refer to the figure
below for detail information.

- 45 -
5.AUTOMATIC OPERATION OPERATION

Program head

1st frame

Being executed 2nd frame


block

3rd frame

4th frame

NOTE
1 It is available to jump in the 2-frame range in memory when executing macro programs.
2 Jump operations in multiple repetitive cycles should also be performed in the 2-frame range.
3 Increase the frame size if it is necessary to jump to a block out of the 2-frame range, increase the
frame size.

Limitations
The program files in U-disk or Network can be opened by function keys [DNC OPEN] and [OPEN].
Press [OPEN] to read the whole selected program into CNC unit at a time. In this case the selected
program's size should be smaller than the allowable memory size. Press [DNC OPEN] to read the selected
program by frame. Multiple programs can be opened by pressing [OPEN] at one time, while only one
program can be read by pressing [DNC OPEN].

5.4.3 Notes and Limitations


Program number
DNC program's number should be in the range from 10000 to 19999. The actual number used is
automatically assigned by CNC unit following the rules below:
1 If a program number exists already in the file and its value is n (1≤n≤9999), the newly created DNC
program's number is 10000+n.
2 If a program number exists already in the file and its value is bigger than 9999, CNC unit generates an
alarm (PS1404) when the program is opened in DNC operation mode.
3 If no program number is specified in the file, CNC unit uses O10001 as the DNC program's number.

- 46 -
OPERATION 5.AUTOMATIC OPERATION

NOTE
It is not available to change the DNC program's number or set the number of a memory program to a
value bigger than 10000, no matter what the value of DNCE is set to.

Reserved blocks' number


The executed blocks in DNC operation mode won't be cleared immediately. These blocks are called
reserved blocks. The reserved blocks' number is specified by parameter "Number of blocks in buffer
when performing DNC machining"(INSTALLATION & DEBUG MANUAL Page 129 P0113). Its value
should be bigger than 1. CNC unit always keeps reserved blocks in memory, so it is recommended to set
P113 to a appropriate value to avoid occupying too much memory.

Current executing block's number


The current executing block can be located by specifying a sequence number with address 'N' at the head
of the block. Perform ":PN" operation (See chapter I-9.6) can also make CNC unit display the blocks'
numbers on the left side of the screen, which is convenient to know the position of current executing
block.

Call a subprogram
Whether it is available to call a subprogram in DNC operation mode is determined by bit parameter
"DFBS"(INSTALLATION & DEBUG MANUAL Page 128 P0100.4). When DFBS is set to 0, a
subprogram can be called by M98, M96, self-defining G/M/T code, M06, CALL or G65. Note that the
called subprogram should be saved in memory in advance.
1 The process of calling a subprogram in DNC operation mode is same with that in memory operation
mode. Nest calling is also available.
2 Similar to the memory operation, set "CM98"(INSTALLATION & DEBUG MANUAL Page 147
P2500.5) to 1 and set "Number of the program called by M06"(INSTALLATION & DEBUG
MANUAL Page 148 P2510) with the subprogram's number first before calling the subprogram using
M06. It is convenient to perform complex tool changing process with M06.

Cycles & jump operation


Cycles and jump operations may result in some problem in DNC operation mode. It is not recommended
to uses the interrelated instructions in DNC operation mode.

Stop DNC machining


The ways to stop DNC machining is almost same with those in memory operation mode. The working
modes of reset, executing M30 and EOR(%) are not same.
2 In type B DNC operation mode, the DNC program read into the memory already won't be cleared
when the CNC unit is reset or M30/EOR/% is executed, but the cursor returns to the head.

Connection is broken in DNC operations


If the connection to PC via the serial port or to a U-disk is broken in DNC operation mode, CNC unit
stops execution and generates an alarm.

- 47 -
6.TEST OPERATION OPERATION

6 TEST OPERATION
The following functions are used to check before actual machining whether the machine operates as
specified by the created program.

6.1 MACHINE LOCK


When machine lock is enabled, machine tool works as described below:
1 Tool doesn't move, but coordinates are updated in real time.
2 All auxiliary functions are available.
3 Tool path in GRAPHICS interface can be displayed normally.
Machine lock function is usually used for checking the correctness of actual tool path.

Explanation
 Machine lock alarm
Machine coordinates will be incorrect if machine tool is moved when machine lock is enabled. In this
case, CNC unit will generate an alarm to remind users to rebuild the reference position.
NOTE
For a machine tool installing an absolute encoder, it is not necessary to return to the reference position
when power-on, but it needs to reset the system to read the current position from the absolute encoder.

Procedures
Machine lock is controlled by the key on the operator's panel or the soft switch on the first page of the
OPERATOR interface.
When the bit parameter "QGRH"(INSTALLATION & DEBUG MANUAL Page 125 P0005.0) is set to
1, the key on the operator's panel is disabled and the soft switch 【MLK】 on the OPERATOR interface
will be masked. The signal G29.7 can be controlled by only the function key [Q-GRAPH].

Limitations
The LED indicating whether the reference position is established won't be lit up even if a G27 or a G28 is
executed when the machine lock is enabled, because the motion of returning to the reference position
won’t be performed actually.
NOTE
Don't press this key when the machine tool is running normally.

6.2 AUXILIARY FUNCTION LOCK


Auxiliary function lock is also called M lock. It is controlled by the key on the operator's panel or the soft
switch "AFL" on the OPERATOR interface. When the auxiliary function lock is enabled, all the M, S and
T codes in the program won’t be executed. It is usually used together with the machine lock to check a
program.

Procedures
The auxiliary function lock can be turned on or off by pressing the key on the operator's panel or the soft
- 48 -
OPERATION 6.TEST OPERATION

switch on the OPERATOR interface. They are self-lock keys.

Limitations
The following M codes won't be affected by the M lock: M00, M01, M30, M98 and M99.
When the bit parameter "QGRH"(INSTALLATION & DEBUG MANUAL Page 125 P0005.0) is set to
1, the key on the operator's panel is disabled and the soft switch 【AFL】 on the OPERATOR interface
will be masked.

6.3 FEEDRATE OVERRIDE


It is able to change the programing feedrate by percentage with the feedrate override switches.
Feedrate override can be changed by the keys on the operator's panel or an external override switch. The
allowable range is from 0% to 150% and one step increment is 10%. Actual feedrate equals to the
programming feedrate multiplying the feedrate override.

Procedures
Before or during the automatic operation, pressing the feedrate override keys on the operator's panel or
the external feedrate override switch to adjust the feedrate override. The actual used feedrate override is
displayed on the POSITION interface.

Explanation
1 Feedrate override keys on the operator's panel (Some panels don’t provide these keys.)

(1) :Decrease the feedrate override by one step

(2) :Increase the feedrate override by one step

(3) :Set the feedrate override to 100%

2 External feedrate override switch

%
60 70 80 90
50 100

30
40 110
120
:Rotate the dial switch to the desired percentage
20 130
10 140
0 150

NOTE
1 Whether the feedrate override is controlled by the keys on the operator's panel or an external
switch is determined by the PLC procedures. Please refer to the manual supplied by the machine
tool builder.
2 Feedrate override is used to change both the automatic feedrate and manual feedrate.

Limitation
1 For safety consideration, feedrate override is fixed to 100% when cutting thread.
2 If the result of programming feedrate multiplying feedrate override is bigger than the value of
parameter "Upper limitation of feedrate"(INSTALLATION & DEBUG MANUAL Page 135 P0713),
the actual feedrate equals to the value of the parameter.
- 49 -
6.TEST OPERATION OPERATION

6.4 RAPID TRAVERSE OVERRIDE


Rapid traverse override is used to change the rapid traverse rate. The following types of rapid travers will
be affected by this override:
1 Rapid traverse specified by G00
2 Rapid traverse operation in cycles
3 Rapid traverse in the movement specified by G27, G28 and G29
4 Manually rapid traverse
5 Rapid traverse in the process of returning to the reference position manually

Explanation
Before or during the automatic operation, pressing the rapid traverse override keys to select the desired
override.
Four rapid traverse override steps are available which are selected by pressing four keys on machine
operator's panel. The four keys have double meanings, and the second strings on these keys indicate rapid
traverse override.

1 :The low speed of rapid traverse is used (F0)

2 : Rapid traverse override is 25%

3 : Rapid traverse override is 50%

4 :Rapid traverse override is 100%

When rapid traverse override is set to FO, the actual moving speed is specified by "Lower speed of rapid
traverse F0"(INSTALLATION & DEBUG MANUAL Page 135 P0712). When set rapid traverse
override to other levels, the actual moving speed is calculated according to the following equation:
Actual rapid traverse rate ="Rapid traverse rate"(INSTALLATION & DEBUG MANUAL Page 135
P0711) × Rapid traverse override

6.5 ANALOG SPINDLE SPEED OVERRIDE


If the bit parameter "SANG"(INSTALLATION & DEBUG MANUAL Page 123 P0001.4) is set to 1,
analog spindle is enabled, and analog spindle override is available for adjusting the spindle speed
specified by S code. The range of analog spindle speed override is from 50% to 120% which is adjusted
by pressing keys on machine operator's panel. Each step increment is 10%. The actual spindle speed is
calculated by multiplying specified spindle speed in program and analog spindle speed override.

Procedures
Before or during automatic operation, set the analog spindle speed override to the desired percentage (%)
on the machine operator’s panel. The current effective spindle override is displayed on POSITION
interface after the S code value.

- 50 -
OPERATION 6.TEST OPERATION

Explanations
Analog spindle speed override keys on machine operator's panel are as follows:

1 :Decrease the analog spindle speed override by one step

2 :Increase the analog spindle speed override by one step

3 :Set the analog spindle speed override to 100%

Some systems don’t provide these keys. Use an external switch to adjust the override.

Limitation
When the spindle speed calculated considering the override exceeds the upper limitation specified by the
parameter "Maximum voltage used to control analog spindle"(INSTALLATION & DEBUG MANUAL
Page 241 D0036), the actual speed will clamped at the limitation value automatically.

6.6 DRY RUN


The tool is moved at the feedrate specified by a parameter regardless of the feedrate specified in the
program. This function is used for checking the movement of the tool under the state that the workpiece is
removed from the table.
Press the 【DRY RUN】 key on operator's panel to exchange the state of the dry run. The key is self-hold.
When the LED is lit up, dry run is effective.

Procedures
1 In AUTO or MDI mode, press 【DRY RUN】 and ensure the LED is lit up before starting the program.
2 Select the program to be checked and press cycle start button.

Explanation
 Dry run speed
Dry run speed is controlled by the bit parameter "RDRN"(INSTALLATION & DEBUG MANUAL Page
134 P0700.5), the state of the manual rapid travers switch and manual feed override. See the table below.
Manual rapid Program commands
RDRN
travers switch Rapid traverse Feed
ON 0 or 1 Rapid traverse rate Max. speed in the below table
According to the manual feed According to the manual feed
OFF 1
override override
According to the manual feed
OFF 0 Rapid traverse rate
override

Manual feed Feedrate


override Metric (mm/min) Inch (inch/min)
0% 0.0 0.00
10% 2.0 0.08

- 51 -
6.TEST OPERATION OPERATION

Manual feed Feedrate


override Metric (mm/min) Inch (inch/min)
20% 3.2 0.12
30% 5.0 0.20
40% 7.9 0.30
50% 12.6 0.50
60% 20.0 0.80
70% 32.0 1.20
80% 50.0 2.00
90% 79.0 3.00
100% 126.0 5.00
110% 200.0 8.00
120% 320.0 12.00
130% 500.0 20.00
140% 790.0 30.00
150% 1260.0 50.00

6.7 SINGLE BLOCK


Pressing the single block switch starts the single block mode. When the cycle start button is pressed in the
single block mode, the tool stops after a single block is executed. Check the program in the single block
mode by executing the program block by block.
Press the 【SINGLE BLOCK】 key on operator's panel to exchange the state of the single block. The key
is self-hold. When the LED is lit up, single block is effective.

Procedures
1 If the single block switch is turned on before automatic operation, CNC unit stops when the first block
is executed.
2 If the single block switch is turned on during automatic operation, CNC unit stops when the current
block is executed.

Explanations
 Return to the reference position
Single block mode is effective at the intermediate point when executing G28, G29 or G30 command. If
CNC stops at the intermediate point, the feed hold indicator goes on.
 Macro program
Whether single block switch is effective or not for the blocks including any macro instructions is
controlled by the bit parameter "SBKM"(INSTALLATION & DEBUG MANUAL Page 161 P4100.7).
When SBKM is set to 1, CNC unit stops at these blocks. When SBKM is set to 0, CNC unit doesn't stop.
 Cycles for drilling
In drilling cycles, single block mode is effective for the processes ①, ② and ⑥. Feed hold indicator
goes on when CNC stops at the end of processes ① and ②.

- 52 -
OPERATION 6.TEST OPERATION

② ⑥

Rapid travers
Cutting feed

③ ⑤

 Cycles for turning


G code Tool paths Description

4 4
Steps 1 to 4 are considered as one
G90 3 1 3 1
cycle. CNC stops at the end of step 4.
2 2

4 4
Steps 1 to 4 are considered as one
G92 3 1 3 1
cycle. CNC stops at the end of step 4.
2 2

1 1
Steps 1 to 4 are considered as one
G94 2 4 2 4
cycle. CNC stops at the end of step 4.
3 3

7
6
1 Steps 1 to 7 are considered as one
G70
5 cycle. CNC stops at the end of step 7.
4
3
2

3 4 1
2
7 8 5 Steps 1 to 4, 5 to 8, 9 to 12, 13 to 16
6
11 12 9 and 17 to 20 are considered as one
G71,G72 10
15 16 13 independent cycle. CNC stops at the
14
20 17 end of these cycles.
19 18

- 53 -
6.TEST OPERATION OPERATION

G code Tool paths Description

6
5 Steps 1 to 6 are considered as one
G73 4 3 1
2
cycle. CNC stops at the end of step 6.

9 1
2 Steps 1 to 10 are considered as one
G74,G75 cycle. CNC stops at the end of step
10
10.

4
3 1 Steps 1 to 4 are considered as one
G76
cycle. CNC stops at the end of step 4.
2

6.8 OPTIONAL BLOCK SKIP


The blocks including a slash character "/" at the head won't be executed when the optional block skip
switch is turned on. The Optional Block Skip switch can be turned on and off by pressing the key on
operator's panel. It is a self-hold key. The led on the key goes on when the optional block skip function is
effective.

Procedures
Before or during the automatic operation, turn on the optional block skip switch to make CNC unit ignore
the blocks including "/".

Explanation
Optional block skip works when a block is read into the execution buffer. CNC unit reads a block into the
buffer according to the state of the optional block skip switch. The blocks already read into the buffer
won't be affected by the optional block skip switch even if these block have a slash character (/) in them.
NOTE
Generally, it is unable to judge correctly when a block is read into the execution buffer. It is
recommended to turn on the optional block skip switch on before starting automatic operation,
because the blocks including "/" may still be executed when the switch is turned on during automatic
operation.

- 54 -
OPERATION 7.SAFETY FUNCTIONS

7 SAFETY FUNCTIONS
7.1 OVERTRAVEL
To prevent the tool from exceeding the stroke ends, overtravel check and stored. stroke check are
provided.

7.1.1 Overtravel Check


When the tool tries to move beyond the stroke end set by the machine tool limit switch, the tool
decelerates and stops, and an OVER TRAVEL alarm is displayed.
When overtravel happens, move the tool in the reverse direction to retract from overtravel area. When the
limit switch is released, overtravel alarm is cancelled automatically.
NOTE
1 Overtravel check function is controlled by PLC. Please see the manual provided by machine tool
builder.
2 Please refer to the INSTALLATION & DEBUG MANUAL for information about how to connect
limit switches to the system.

7.1.2 Stored Stroke Check


Like overtravel check function, stored stroke check is used to prevent machine tool from moving out of
available range. The safety area is specified by parameters "Stored stroke limitation in the positive
direction"(INSTALLATION & DEBUG MANUAL Page 134 P0610) and "Stored stroke limitation in
the negative direction"(INSTALLATION & DEBUG MANUAL Page 134 P0611). When the tool
exceeds a stored stroke limit, an alarm is displayed and the tool is decelerated and stopped. When the tool
enters a forbidden area and an alarm is generated, the tool can be moved in the reverse direction from
which the tool came.

Explanation
 Overtravel alarm
System checks the speed and direction in real time when tool is moving. If it exceeds the stored stroke
limit, tool decelerates and stops using the deceleration speed specified by "Deceleration coefficient used
by emergency stop"(INSTALLATION & DEBUG MANUAL Page 176 P6436), and an alarm is
generated.
 Forbid overtravel checking
Overtravel checking is effective or not is determined by start-up operation, parameters and the state of
returning to the reference position.
Press 【EOB】 and Have returned to the
SOT Stored Stroke Check is
【CANCEL】 when power-on reference position
Press 0 No Disabled
Press 1 No Disabled
Not press 0 No Enabled

- 55 -
7.SAFETY FUNCTIONS OPERATION

Press 【EOB】 and Have returned to the


SOT Stored Stroke Check is
【CANCEL】 when power-on reference position
Not press 1 No Disabled
Press 0 Yes Enabled
Press 1 Yes Enabled
Not press 0 Yes Enabled
Not press 1 Yes Enabled
 Stored stroke check on Z-axis
Whether stored stroke check on Z-axis can be controlled independently or not is determined by the bit
parameter "OTZN"(INSTALLATION & DEBUG MANUAL Page 133 P0600.6). When OTZN is set to
1, stored stroke check on Z-axis can be controlled independently. Other axis won't be affected.
 Revolution axis
1 For a type A, B or C revolution axis
(1) If the value of the parameter specifying stored stroke in the positive direction (P610) is bigger
than 360 degrees, the stored stroke in the positive direction won't be checked.
(2) If the value of the parameter specifying stored stroke in the negative direction (P611) is smaller
than 0, the stored stroke in the negative direction won't be checked.
(3) If the value of the parameter specifying stored stroke in the positive direction is 360 and the value
of the parameter specifying stored stroke in the positive direction is 0, stored stroke check on this
axis won't be performed.
2 For a type D revolution axis
(1) If the value of the parameter specifying stored stroke in the positive direction (P610) is bigger
than 180 degrees, the stored stroke in the positive direction won't be checked.
(2) If the value of the parameter specifying stored stroke in the negative direction (P611) is smaller
than 180 degrees, the stored stroke in the negative direction won't be checked.
(3) If the value of the parameter specifying stored stroke in the positive direction is 180 and the value
of the parameter specifying stored stroke in the positive direction is 180, stored stroke check on
this axis won't be performed.
NOTE
The default value of the parameters specifying stored stoke check are the allowable movement
distances in both the positive and negative directions. These default values also work when checking
stored stroke.

7.1.3 Predict Stored Stroke Check


The function is controlled by the bit parameter "MJPCH"(INSTALLATION & DEBUG MANUAL Page
134 P0605.7). CNC unit predicts stored stroke in the following cases.

Manual operation
When the function is enabled, CNC unit calculates the distance from the current position to the stored
stroke limitation according to the movement direction, and provides a movement amount which is a little
bigger than the distance. Before reaching the stored stroke limitation, CNC unit decelerates the axis and
ensures it reach the limitation at a low speed.
When the function is disabled, CNC unit provides a movement amount which is much bigger than the
- 56 -
OPERATION 7.SAFETY FUNCTIONS

distance from the current position to the stored stroke limitation. The axis will reach the limitation at a
high speed. In this case, CNC unit smoothes the speed according to the Manual Smoother. If the speed
when reaching the limitation is too high, set the "Smoothing coefficient used by JOG mode"to a bigger
value.
The figure below shows the difference when the predicting function is enabled and disabled. The paths
are drawn without considering the Manual Smoother.

Limitation Max. distance to


the movement end

When prediction of software limitation is enabled

Limitation

When prediction of software limitation is disabled

Program reference position return (Including Manual and Automatic)


When the predicting function is effective, CNC unit calculates the movement amount before returning to
the programing reference position and predicts whether the target position exceeds the stored stroke
limitation. If it indeed exceeds the limitation, the alarm PS460 or PS461 is generated and the operation of
returning to the programing reference position won't be performed.

Reference position return


When the predicting function is effective, CNC unit calculates the movement amount before returning to
the reference position and uses is as the maximum distance before receiving the deceleration signal. If the
deceleration signal is not received at the desired distance, the axis decelerates and stops at the speed
specified by "Average deceleration speed used when returning to the reference position"
(INSTALLATION & DEBUG MANUAL Page 166 P5113) at the stored stroke limitation.

Rapid traverse when restoring from breakpoint


When the predicting function is effective, CNC unit calculates the movement amount in the process of
restoring from breakpoint and predicts whether the target position exceeds the stored stroke limitation. If
it exceeds, CNC generates an alarm (PS462/PS463) and stops restoring operation.

Automatic operation
CNC unit only checks whether the terminal position of one block exceeds the stored stroke limitation.
The intermediate positions are not considered.
- 57 -
7.SAFETY FUNCTIONS OPERATION

1 If rapid traverse is specified by current block, CNC unit predicts whether the movement of the blocks
(including positing and feed) already read into the execution buffer exceeds the stored stroke limitation.
It is able to predict 64 blocks at most.
2 If feed movement is specified by current block, CNC unit predicts whether the movement of the
blocks already read into the execution buffer exceeds the stored stroke limitation. It is able to predict
64 blocks at most. However, if the blocks in buffer include one specifying rapid traverse movement,
the blocks after it won't be checked. This working mode is designed to make sure the movement is
stopped at the block specifying rapid traverse movement.
3 When the movement of a block exceeds the stored stroke limitation, CNC unit generates an alarm
(PS464/PS465) and displays the sequence number of the block on ALARM interface.
NOTE
1 If the movement of the being executed block exceeds the stored stroke limitation, CNC unit
generates an alarm (PS464/PS465) and doesn't execute the block. If the movement of the block
after the current being executed block exceeds the stored stroke limitation, the movement of the
current block may be performed before the alarm PS464/PS465 is generated.
2 The alarm information won't be displayed completely if the block is too long.

Limitations
For the axis which is controlled by PLC-axis to achieve scaling relation control, it is necessary to disable
the stored stroke check for this axis, otherwise, some mistake alarms or positioning motion won't be
performed correctly. Use dynamic working area to protection this kind of movement.

7.2 EMERGENCY OPERATION


Some unexpected situation may happen when machining because of wrong programming, incorrect
operations or machine tool malfunctions. In this case, machine tool should be stopped immediately for
safety. This section describes some safety operations on CNC in emergency situations. For the description
about emergency operations on machine tool, please refer to the manual supplied by machine tool builder.

7.2.1 Reset
Press RESET key to make CNC unit reset and make tool stop in emergency situation.
1 All feed axes are stopped.
2 Coolant, lubrication, spindle will be closed.
3 Automatic operation is cancelled, but the modal information is kept.

Explanations
 States of some M codes when reset happens
Whether the coolant device, lubrication device and the spindle are stopped or not when the CNC is reset
is determined by the bit parameter "RSJG"(INSTALLATION & DEBUG MANUAL Page 140 P2100.5).
1 RSJG=0: Coolant, lubrication and spindle are stopped when the CNC is reset.
2 RSJG=1: States of the coolant and lubrication stay unchanged when the CNC is reset, but the spindle
is stopped.

- 58 -
OPERATION 7.SAFETY FUNCTIONS

7.2.2 Emergency Stop


Press emergency stop button in some emergency situation to make feed axes stop, and close auxiliary
functions. An emergency alarm is generated.
When the emergency stop button is released, CNC unit is reset and emergency alarm stops. Coordinates
may be incorrect when emergency stop button is pressed. It is recommended to return to the reference
position again after releasing emergency stop button.
NOTE
1 Emergency stop button can be masked by PLC parameter. See the manual provided by machine
tool builder.
2 Ensure that malfunctions are cleared before releasing emergency stop button.
3 Press emergency stop button before power-on and power-off will reduce the electric shock to CNC
unit.

7.2.3 Power Off


Cut off power to machine tool may also helpful for safety when machining. After power off, coordinates
and tool compensations may be incorrect. Please check that before machining.

- 59 -
8.ALARM OPERATION

8 ALARM
Some unexpected situation may happen when machining because of wrong programming, incorrect
operations or product malfunction. In this case, users should perform some operations to deal with it
according to the information on CNC unit.

Alarm is displayed
Generally, the alarm screen appears when an alarm occurs caused by wrong programming, incorrect
operations or error setting of parameters. Alarm number and information are displayed on this screen.
Users should find out the reason according to the information and solve it. See the chapter
《OPERATION》 for the alarm list.

None alarm is display


Sometimes CNC unit seems to be at a halt, although no alarm is displayed. In this case, the system may
be performing some internal processing. System states can be checked using the self–diagnostic function.
Please refer to the chapter 《OPERATION》 for more information.

Inextricable exceptions
For inextricable exceptions, please record the detail information before and after its happening and
contact KND company for help.

- 60 -
OPERATION 9.EDITING PROGRAMS

9 EDITING PROGRAMS
9.1 OVERVIEW
It is available to edit programs in CNC unit.

Procedures
The procedures of editing programs in CNC are as follows:
1 Enter POSITION or PROGRAM screen
2 Select EDIT or MDI mode
3 Turn on the program protect switch
4 Edit programs

Explanations
 Program edit area
Program content is displayed and edited in this area. In the former 3 subpages of POSITION screen and
the second page of PROGRAM screen program edit area is displayed.

①Program edit area

- 61 -
9.EDITING PROGRAMS OPERATION

①Program edit area

Procedures to enter the program edit area in POSITION screen:


1 Enter POSITION screen.
2 Press the soft key [ALL]. Program edit area is displayed at the right bottom corner.
NOTE
Program edit area is also displayed when press the [RELA] and [MAC] soft key.

Procedures to enter the program edit area in PROGRAM screen:


1 Enter the POSITION screen.
2 Press the soft key [PROG].
 Work mode and program protection switch
Program edit operations are only available in EDIT and MDI modes. Turning on the program protection
switch is necessary to edit a program saved in CMOS, while it is not necessary to turn on the switch to
edit an MDI program. Common programs are stored in CMOS memory, while MDI temporary program is
not. Only when "RMPP"(INSTALLATION & DEBUG MANUAL Page 144 P2302.3) is set to 1, the
MDI temporary program is stored in CMOS memory.
Program protection switch is used to prevent programs from being modified and it is turned on or off in
the first page of OPERATOR screen. Please see the chapter Page 90DISPLAY AND SETTING.
NOTE
1 Common programs can be edited in MDI mode, but it is not recommended to do this.
2 It is also able to use external signal to control program protection switch. Please refer to the
manual issued by machine tool builder.

Limitations
 Program number
Standardly, it is able to save 512 programs at most in CNC unit.
 Memory size
For standard software version, CMOS space is 640 kB and memory space is 2MB.
Standardly, the size of CMOS is 640 kB and internal memory size is 22MB. A single program size should

- 62 -
OPERATION 9.EDITING PROGRAMS

be less than 640kB because it is stored in CMOS.

9.2 EDIT
Switch to a screen displaying program edit area, select EDIT mode and turn on the program protection
switch first before editing a program. The procedures are common when editing a program and won't be
described repeatedly in this section.

9.2.1 Create Program


Procedures
1 Press address character 'O' and input a program number, for example "O1".
2 Press 【INSERT】 key
System creates a new program. "O0001" represents the program number and "%" represents the end of
the program.

Explanation
 Create multiple programs at one time
When multiple program numbers are input, system creates multiple programs at one time. For example, if
"O1O2O3" is input, O0001, O0002 and O0003 will be created.
 Create a program with some contents
If some commands are input with program number when creating a program, for example:
"O2;G01X10.;", system creates O0002 program and inserts some commands in this program. See the
section I-9.2.3 for more information.
NOTE
";" is in inputted by pressing 【EOB】 key.

Limitations
1 Programs' number should be in the range from 1 to 9999.
2 Program number is unique in CNC unit. When creating a program using an existing number, an alarm
will be generated.

9.2.2 Delete Program


Procedures
 Delete a single program
1 Input address "O"
2 Input a program number
3 Press the 【DELETE】 key
 Delete all programs in memory
1 Input address "O"
2 Input "-9999"
3 Press the 【DELETE】 key

- 63 -
9.EDITING PROGRAMS OPERATION

9.2.3 Insert a Edit Unit


Edit unit is the minimum item can be edited. For common programs, a Word is a edit unit and edit units
are separated by address characters. The concept edit unit is not used for macro programs. A string
inputted in one operation is considered as a single item. These items are separated by spaces.

Procedures
 Insert a single edit unit
1 Input a Word such as "G01"
2 Press the 【INSERT】 key
System inserts "G01" after the cursor, and locates the cursor on the newly inserted word.
 Insert multiple edit units
1 Input multiple words such as "G01X100.Y100.Z100.F2000;"
2 Press the 【INSERT】 key
System creates six words and inserts them after the cursor and locates the cursor on the last inputted
word.
NOTE
If one or more illegal words are input, the inserted words may be unexpected. In this case, select the
illegal words and correct them.
 Insert strings in a macro program
Macro program edit unit doesn't have fixed format. If no space character or EOB is inputted in the string,
the whole string is treated as an edit unit.
1 Input "WHILE[#5LE#3]DO1"
2 Press the 【INSERT】 key
System creates a single edit unit. If you want to split them into multiple edit units, insert some spaces at
the desired position.
1 Input "WHILE", press the 【INSERT】 key
2 Input "[#5LE#3]", press the 【INSERT】 key
3 Input "DO", press the 【INSERT】 key
4 Input "1", press the 【INSERT】 key
CNC unit inserts a single edit unit each time and totally four edits units are inputted by the above
operations.
 Insert blocks
";" is regarded as the end of block. A string including ";" will be split into multiple blocks.

9.2.4 Modify a Edit Unit


Procedures
1 Move the cursor on the desired edit unit, for example "X100."
2 Input a new string, for example: "Y100.␣Z100."
3 Press the 【ALTER】 key
Current edit unit can be changed to another single or multiple edit units. The operations are same with
those when inserting edit units.

- 64 -
OPERATION 9.EDITING PROGRAMS

Explanation
 Modify the EOB character
If ";" is replaced by other content which includes no ";", the two blocks will combine together.

Limitations
It is unable to modify the character "%".

9.2.5 Delete a Edit Unit


Procedures
1 Move cursor on the desired edit unit
2 Press the 【DELETE】 key
CNC unit delete the selected sting and put cursor on the next edit unit.

Explanation
 Delete the EOB character
If ";" is deleted, the two blocks separated by it will combine together.

9.2.6 Delete Blocks


Procedures
 Delete the current selected block
1 Input address "N"
2 Press the 【DELETE】 key
 Delete blocks after the current block (including the current one)
1 Input address "N"
2 Input a number indicating how many blocks are to be deleted
3 Press the 【DELETE】 key
 Delete blocks before the current block (not including the current one)
1 Input address "N"
2 Input the minus sign "-"
3 Input a number indicating how many blocks are to be deleted
4 Press the 【DELETE】 key
NOTE
1 When deleting multiple blocks before or after the current block, the deleting blocks' number can
be bigger than the actual existing blocks' number. In this case, all blocks in specified range will be
deleted.
2 Program number and "%" won't be deleted.

9.2.7 Insert Blocks' Sequence Number Automatically


This CNC unit supports the function of inserting blocks' sequence number automatically. Before using
this function, turn on the soft switch "PROGRAM SEQ." on the first page of SETTING screen (See Page
128I-10.13) and set "Increment when automatically inserting a block sequence number"

- 65 -
9.EDITING PROGRAMS OPERATION

(INSTALLATION & DEBUG MANUAL Page 147 P2311)to appropriate value which represents the
increment amount. The default value is 10.
Bit parameter "ASCL"(INSTALLATION & DEBUG MANUAL Page 144 P2302.1) are used to select
the working mode of this function.
ASCL=1: Select the improved mode. Insert sequence number at the head of the current block.
ASCL=0: Select the compatible mode. Insert sequence number at the head of the next block.
It is recommended to use the improved mode.

9.2.7.1 Compatible Mode


If the last character in the input string is ";", system automatically inserts a sequence number after it. The
sequence number equals the sum of the current block sequence number and the value of P2311.

Limitations
1 If the last character in the inputted string is not ";", no sequence number is inserted.
2 System only uses the existing sequence number of the current block to calculate the inserted sequence
number, not the sequence number in the newly inputted string. For example, if "N20 X10 ;" is input,
"N20" is not used to calculate the newly inserted sequence number.

9.2.7.2 Improved Mode


If the current block has no sequence number when performing inserting operation, system automatically
inserts a sequence number at the head of the current block. The sequence number equals to the sum of the
current block sequence number and the value of P2311.

Explanation
The following examples show how the improved mode works. P2311 is set to 10, and ASCL is set to 1.
The item "PROGRAM SEQ." on the first page of SETTING interface is set to 1.
1 Input "O100;", press the 【INSERT】 key to create a new program.
O0100 ;
%
2 Input "X10;", press the 【INSERT】 key. CNC unit insert a sequence number "N10" automatically.
O0100 ;
N10 X10 ;
%
3 Input "X20", press the 【INSERT】 key. CNC unit doesn't insert a sequence number because the block
is uncompleted.
O0100 ;
N10 X10 ;
X20 ;
%
4 Input "Z10;", press the 【INSERT】 key. CNC unit insert a sequence number "N20".

- 66 -
OPERATION 9.EDITING PROGRAMS

O0100 ;
N10 X10 ;
N20 X20 Z10 ;
%
5 Input "X30;Z20;X40;", press the 【INSERT】 key. CNC unit automatically inserts sequence numbers
at the head of the three newly inserted blocks.
O0100 ;
N10 X10 ;
N20 X20 Z10 ;
N30 X30 ;
N40 Z20 ;
N50 X40 ;
%
6 Input "N100X50;", press the 【INSERT】 key. CNC unit doesn't insert a sequence number because
"N100" is specified by users.
O0100 ;
N10 X10 ;
N20 X20 Z10 ;
N30 X30 ;
N40 Z20 ;
N50 X40 ;
N100 X50 ;
%
8 Input "X60;N200X70;X80;", press the 【INSERT】 key. CNC unit automatically insert "N210" at the
last block because the "N200" in the newly inputted string is detected.
O0100 ;
N10 X10 ;
N20 X20 Z10 ;
N30 X30 ;
N40 Z20 ;
N50 X40 ;
N100 X50 ;
N110 X60 ;
N200 X70 ;
N210 X80 ;
%

9.2.8 Working Mode of Program Cursor


When exchanging from EDIT mode to AUTO mode after edit operations, CNC unit moves program
cursor to the head of the current program automatically. It is helpful to avoid starting the program
execution from an unexpected block. The function is controlled by the bit parameter "APGTH"
(INSTALLATION & DEBUG MANUAL Page 170 P5300.6).

- 67 -
9.EDITING PROGRAMS OPERATION

Condition to judge cursor jump


When a program is edited in EDIT or MDI mode, CNC unit moves cursor to the head of the program after
exchanging to the AUTO mode.

Search operation
1 It is available to use the search function in AUTO mode when APGTH is set to 1 and the "AUED"
(INSTALLATION & DEBUG MANUAL Page 144 P2302.7) is set to 0.
2 The search operations are same with those in EDIT mode, but these operations are only available when
the program is not running or feed hold is not activated.
3 The first line of the block, in which the target string is found, will be selected. If the target string is not
found, the alarm PS331 is generated.
4 If the search operation is performed at the block including some calling function (M98, M99, G65 etc.),
CNC unit generates an alarm PS330.
NOTE
If the cycle start button is pressed after searching operation, CNC unit start to execute the program
from the block including the target string. All modal information is kept unchanged. In this case, users
should confirm that the machine tool is in safety condition before starting the program again.

9.3 SEARCH
9.3.1 Search Program
Procedures
 Search the next program
1 Input address "O"

2 Press the cursor down key:

The next program will be displayed on screen if multiple programs are saved in the system. The programs
in system are managed in a cycle list, in other words, the next program of the last one is the first program.
 Search a program by number
1 Input address "O"
2 Input a number "0002"

3 Press the cursor down key:

The target program will be displayed on screen if it exists.

9.3.2 Search Edit Unit


Procedures

It is able to move program cursor on any edit unit of a program by pressing the keys ,

- 68 -
OPERATION 9.EDITING PROGRAMS

, , , and .

9.3.3 Search String


Procedures
1 Input the target string, for example "G1"

2 Press the or key

The target string is selected if it exists, and program cursor moves on it.

Explanation
 Search multiple edit units
It is able to search multiple edit units at one time. For example, the string "X100␣Y100" can be searched
correctly. Note that the character "␣" represents the space between multiple edit units, and it can not be
ignored. This function makes the complex search requirement possible, for example:
1 When searching the string "G10" followed by "X100", search the string "G01␣X100".
2 When searching the string at the end of a block, search the string "X100␣;".
3 When searching the string at the head of a block, search the string ";X100".

Limitation
The target string searched may be a part of an edit unit or consists of multiple edit units; sometimes it may
cover multiple blocks. In these cases, inserting, altering or deleting operations works on the selected
string. These operations may result in an edit unit is separated or multiple edit units are combined, which
is unexpected.

9.4 EXTENDED EDIT


In the program edit area on PROGRAM screen, extended edit operations including copy, move and
merging are available.

9.4.1 Copy
A new program can be created by copying a whole program or a part.

Copy a whole program


The program with program number xxxx is copied to a newly created program with program number
yyyy. The program created by copy operation is the same as the original program except the program
number.

Before copy After copy


Oxxxx Create a new Oxxxx Oyyyy
program

A A A

- 69 -
9.EDITING PROGRAMS OPERATION

 Procedures
1 Turn on the program protection switch, select EDIT mode, display the program edit area.
2 Press soft key [PROG] again

3 Press soft key [Ex-Edit]

4 Press soft key [COPY]

5 Press soft key [ALL]

6 Input "O" and a new program number. For example: "O0010".


7 Press soft key [EXEC]. The newly created program is as follows:

- 70 -
OPERATION 9.EDITING PROGRAMS

Copy part of a program


Part B of the program with program number xxxx is copied to a newly created program with program
number yyyy. The program for which an editing range is specified remains unchanged after copy
operation.

Before copy After copy


Oxxxx Oxxxx Oyyyy

Create a new
A program A B

B B

C C

 Procedures
1 Turn on the program protection switch, select EDIT mode, display the program edit area.
2 Press soft key [PROG] again
3 Press soft key [Ex-Edit]
4 Press soft key [COPY]
5 Mover cursor to the start of the range to be copied and press soft key [CRSR~]

6 Move cursor to the end of the range to be copied and press [~CRSR] or [~BTTM] (to the end of the
program).

- 71 -
9.EDITING PROGRAMS OPERATION

7 Input “O” and a new program number. For example: "O0011"


8 Press soft key [EXEC]. The newly created program is as follows:

9.4.2 Move
A new program can be created by moving part of a program.
Part B of the program with program number xxxx is moved to a newly created program with program
number yyyy; part B is deleted from the program with program number xxxx.

- 72 -
OPERATION 9.EDITING PROGRAMS

Before move After move


Oxxxx Oxxxx Oyyyy

Create a new B
A A
program

B C

Procedures
1 Turn on the program protection switch, select EDIT mode, display the program edit area.
2 Press soft key [PROG] again
3 Press soft key [Ex-Edit]
4 Press soft key [MOVE]

5 Mover cursor to the start of the range to be moved and press soft key [CRSR~]

6 Move cursor to the end of the range to be moved and press [~CRSR] or [~BTTM] (to the end of the
program).

- 73 -
9.EDITING PROGRAMS OPERATION

7 Input “O” and a new program number. For example: "O0012"


8 Press soft key [EXEC]. The newly created program is as follows:

- 74 -
OPERATION 9.EDITING PROGRAMS

9.4.3 Merge
Another program can be inserted at an arbitrary position in the current program.
The program with program number yyyy is merged with the program with program number xxxx. The
Oyyyy program remains unchanged after merge operation.

Before merge After merge


Oxxxx Oyyyy Oxxxx Oyyyy

A B A B
Merge

C Merge B
position
C

Procedures
1 Turn on the program protection switch, select EDIT mode, display the program edit area.
2 Press soft key [PROG] again
3 Press soft key [Ex-Edit]
4 Press soft key [MERGE]

- 75 -
9.EDITING PROGRAMS OPERATION

5 Move cursor to the position to be merged and press [~CRSR] or [~BTTM] (to the end of the program).
6 Input address character “O” and the number of the program to be inserted. For example: "O12". The
insert position and O12 program are as follows:

- 76 -
OPERATION 9.EDITING PROGRAMS

7 Press soft key [EXEC]. The program with the number specified in above step is inserted before the
cursor position.

9.4.4 Notes
1 Extended edit operations consists multiple steps. Press 【RESET】 to exit from extended edit mode.
2 Inserting, altering and deleting operations are available in extended edit mode. After these operations,
system returns to the highest level of the extended edit menu.

9.5 COORDINATE INPUT FUNCTION


It is convenient to input current absolute coordinates or machine coordinates automatically by using this
function, which is enabled by setting parameter "THIN"(INSTALLATION & DEBUG MANUAL Page
124 P0002.4) to 1. CNC unit provides two more menus on the same level with EXTENDED EDIT:
[AbsInput] and [MacInput].

- 77 -
9.EDITING PROGRAMS OPERATION

9.5.1 Input Absolute Coordinates


The following three input modes are available:
1 Address characters without coordinates are inputted in the input buffer
In this mode, press soft key [AbsInput] to insert the address character in input buffer and the
corresponding absolute coordinate. This operation has the same result with the INSERT
operation.
2 Both address characters and coordinates are inputted in the input buffer
Press soft key [AbsInput] to insert the address character in input buffer and the sum of size value and
absolute coordinate.
3 G code and/or F code are inputted in the input buffer
After pressing soft key [AbsInput], CNC unit automatically inserts the codes in input buffer and inserts
effective axis addresses followed by their absolute coordinates.
NOTE
1 G02.1 and G102 are treated specially. The intermediate point (I_ J_ K_) is inserted firstly after
pressing soft key [AbsInput]. For example, the string "G02.1 F500." is in input buffer, in this case,
press soft key [AbsInput], CNC unit inserts "G02.1 F500. I_ J_ K_". Move the tool to the end
point of the arc and press soft key [AbsInput] again, CNC unit inserts "X_ Y_ Z_" at the same
block.
2 A grey menu means the corresponding soft key is ineffective.
3 Effective axes are selected by parameter P2305.0. The Cs axis working in speed mode is
ineffective.

9.5.2 Input Machine Coordinates


Operations of the soft key [MacInput] are the same as those of [AbsInput]. The difference is to replace the
absolute coordinates with the machine coordinates.

9.6 EDIT COMMAND


Edit mode and displaying style can be changed by specifying some commands called Edit Command.
Edit commands are effective only when the standard macro B function is enabled, but ineffective when
the simple macro B function is enabled.

Procedures
Edit commands are inputted following the procedures below:
1 Input ":"
2 Input edit command
3 Input argument for the command. (No space character between argument and command)
4 Press the 【INPUT】 key

- 78 -
OPERATION 9.EDITING PROGRAMS

9.6.1 MH
Format
:MH + 【INPUT】
Function: Change edit mode
Argument: None
Default state: Edit unit mode

Explanation
Two kinds of edit mode are available: Edit unit mode and Random mode. Edit unit mode is effective
generally and cursor always locates on one edit unit. In random edit mode, cursor locates on only one
character and it has the following features:
1 String is inserted before the cursor position.
2 No space character will be inserted before or after the cursor position when inserting a string.
3 Only one character can be modified at one time except that multiple characters are selected by
performing searching operations.
4 Only one character can be deleted at one time except that multiple characters are selected by
performing searching operations.

9.6.2 MSG
Format
:MSG + Number n + 【INPUT】
Function: Set the area height to display messages.
Argument: n Area height (lines' number)
Default state: Area height is zero, no message is displayed.

Explanation
Some messages will be issued by system when editing programs. These messages are displayed on the
message area locates on the bottom of the program edit area.

Limitation
Message area and program edit area use a fixed height area which means that specifying a bigger message
area will make the program edit area smaller. System ensures that the program edit area includes at least 3
lines.

9.6.3 MX
:MX + 【INPUT】
Function: Whether the intermediate information of macro programs are displayed or not
Argument: None
Default state: Don’t display these information

- 79 -
9.EDITING PROGRAMS OPERATION

9.6.4 PN
Format
:PN + 【INPUT】
Function: Display block number or not
Argument: None
Default state: Don’t display block number

Explanation
 Block number
System indexes each block with an integer. The first index is 1 and the available biggest index is 9999999.
The block numbers are displayed at the left side of the program edit area and are separated with a dotted
line.
Generally, not each block in a big program includes a sequence number. This function is convenient for
finding the actual position the current block locates in the whole program. Perform the PN command
again when the block number is displayed to exit the function.

9.6.5 K
Format 1
:K + 【INPUT】
Function: Set or clear breakpoint in the current block
Argument: None
Default state: No breakpoint

Format 2
:K + Number n + 【INPUT】
Function: Set or clear a breakpoint at the block whose number is n.
Argument: n Block number
Default state: No breakpoint

9.6.6 KR
Format
:KR + 【INPUT】
Function: Clear all breakpoints in the program.
Argument: None

- 80 -
OPERATION 9.EDITING PROGRAMS

9.6.7 S
Format
:S + 【INPUT】
Function: Save the current program in CMOS
Argument: None

9.6.8 SA
Format
:SA + 【INPUT】
Function: Save all programs in CMOS
Argument: None

9.6.9 J
Format
:J + Number n + 【INPUT】
Function: Skip to the block the number of which is n
Argument: n Number of the block to be skipped to

9.7 EDIT PROGRAMS IN a U-DISK


Programs saved in the working directory in a U-disk can be opened, edited and executed. The U-disk is
used as an external program memory. This function indirectly extends the memory size used to save
programs.

Limitations
 Number of programs can be opened at most
Like the programs in CMOS, the programs saved in a U-disk are also read into memory first and
displayed on screen. The total number of programs in memory should be no more than 512.
 Size of programs save in a U-disk can be opened
For the CNC unit providing 64MB memory, size of all the programs read from a U-disk should be smaller
than 7MB. For the CNC unit providing 128MB memory, size of all the programs read from a U-disk
should be smaller than 22MB.

9.7.1 Open
Procedures
 Open a single file (method 1)
1 Turn on the program protection switch
2 Select EDIT mode
3 Enter PROGRAM interface
4 Press soft key [USB] to display the file list
- 81 -
9.EDITING PROGRAMS OPERATION

5 Press soft key [USB] again to display the sub menus

6 Move cursor on the file to be opened


File name format: Oxxxx.### or Oxxxx(****).###.
(1) xxxx: Program number
(2) ###: Extended name. Allowable extended names contains PRG, TXT, NC or PTP.
(3) ****: Comments.
7 Press soft key [OPEN]. CNC unit displays a message box until the reading process is finished.
 Open a single file (method 2)
The first five steps are the same as those of method 1. The following steps are:
1 Input "Oxxxx". "xxxx" represents the program number.
2 Press soft key [OPEN]. The file named as "Oxxxx.PRG" in the U-disk will be read into the memory. If
the file doesn’t exist, CNC unit generates an alarm (PS0058).
 Open a single file (method 3)
The first five steps are the same as those of method 1. The following steps are:
1 Input a file name including the extended name, for example:
(1) Oxxxx.PRG
(2) Oxxxx.TXT
(3) Oxxxx.NC
(4) Oxxxx.PTP
2 Press soft key [OPEN]. The target file in the U-disk will be read into the memory. If the file doesn’t
exist, CNC unit generates an alarm (PS0058).
 Open multiple files at one time
The first five steps are the same as those of method 1. The following steps are:
1 Input "O-9999"
2 Press soft key [OPEN]. All the files named following the format "Oxxxx.PRG" will be read into
memory.

- 82 -
OPERATION 9.EDITING PROGRAMS

NOTE
It is recommended to open a file using the method 1, because it is the only allowable method to open
a file the name of which has some Chinese characters.

Explanations
 Program number
CNC unit always uses the program number in file name and ignore the program number specified in file
when opening a program file saved in a U-disk.
 File path and close menu
As shown in the figure below, the file path is displayed on the left bottom corner of the screen. In the
figure "U:\KND\O0001.PRG" is displayed. If the currently displaying program is a U-disk program,
pressing soft key [PROG] again will make CNC unit display the menus [Close] and [CloseALL].

Limitations
The open operation will be failed if a program with the same number exists in the memory already. And
the alarm PS1404 will be generated.

9.7.2 Edit
All edit operations, including extended edit, are the same as those used by editing CMOS programs.

9.7.3 Save
If the program read from a U-disk is changed, a red string "SAVE!" will be displayed flickeringly at the
right bottom corner of the screen. In this case, press the soft key [PROG] again to make the sub menus
[Save] and [SaveALL] displayed.

- 83 -
9.EDITING PROGRAMS OPERATION

Procedures
 Save the current displaying U-disk program
1 Press soft key [PROG] again to make the sub menus [Save] and [SaveALL] displayed.
2 Press soft key [Save]. A message box is displayed until the saving process is finished.
 Save all U-disk programs
1 Press soft key [PROG] again to make the sub menus [Save] and [SaveALL] displayed.
2 Press soft key [SaveALL]. A message box is displayed until the saving process is finished.
NOTE
1 The menu [Save] is displayed only when the currently displaying U-disk program is changed.
2 The menu [SaveALL] is displayed only when at least one U-disk program in memory is changed.
3 Don’t pull out the U-disk when saving operations are performed, or it may be damaged.

9.7.4 Close
Close operation is used to remove a U-disk program and release the memory.

Procedures
 Close currently displaying U-disk program
1 Press soft key [PROG] again to make the sub menus [Close] and [CloseALL] displayed.
2 Press soft key [Close]. The program is closed directly if it is not changed, or a message box will be
generated to remind users to select whether the changes are saved or not. The title of the message box
represents the file path.

- 84 -
OPERATION 9.EDITING PROGRAMS

(1) Press key 【S】: Save the changes and close the program.
(2) Press key 【N】: Don’t save the changes and close the program directly.
(3) Press key 【CANCEL】: Terminate the close operation
 Close all U-disk programs
1 Press soft key [PROG] again to make the sub menus [Close] and [CloseALL] displayed.
2 Press soft key [CloseALL]. All programs are closed directly if they are not changed, or a message box
will be generated to remind users to select whether the changes are saved or not. The title of the
message box represents the file path. Message box and its operations are the same as those described
above.

9.7.5 Execute
For an opened U-disk program, the execute operations are the same as those used by CMOS programs. If
a sub program saved in the U-disk is called by the main program, it should be read in memory in advance.
NOTE
For those very big files, use the DNC machining instead.

9.8 EDIT PROGRAMS ON NETWORK


Programs saved on network can be opened and executed, but can not be edited.

9.8.1 Open
Procedures
 Open a single file (method 1)
1 Turn on the program protection switch
2 Select EDIT mode
3 Enter PROGRAM interface
4 Press soft key [NETWORK] to display the file list
5 Press soft key [NETWORK] again to display the sub menus

- 85 -
9.EDITING PROGRAMS OPERATION

6 Move cursor on the file to be opened


File name format: Oxxxx.### or Oxxxx(****).###.
(1) xxxx: Program number
(2) ###: Extended name. Allowable extended names contains PRG, TXT, NC or PTP.
(3) ****: Comments.
7 Press soft key [OPEN]. CNC unit displays a message box until the reading process is finished.
 Open a single file (method 2)
The first five steps are the same as those of method 1. The following steps are:
1 Input "Oxxxx". "xxxx" represents the program number.
2 Press soft key [OPEN]. The file named as "Oxxxx.PRG" on network will be read into the memory. If
the file doesn’t exist, CNC unit generates an alarm (PS0058).
 Open a single file (method 3)
The first five steps are the same as those of method 1. The following steps are:
1 Input a file name including the extended name, for example:
(1) Oxxxx.PRG
(2) Oxxxx.TXT
(3) Oxxxx.NC
(4) Oxxxx.PTP
2 Press soft key [OPEN]. The target file on network will be read into the memory. If the file doesn’t
exist, CNC unit generates an alarm (PS0058).
 Open multiple files at one time
The first five steps are the same as those of method 1. The following steps are:
1 Input "O-9999"
2 Press soft key [OPEN]. All the files named following the format "Oxxxx.PRG" will be read into
memory.

Explanation
 Program number
CNC unit always uses the program number in file name and ignore the program number specified in file

- 86 -
OPERATION 9.EDITING PROGRAMS

when opening a program file saved on network.


 File path and close menu
As shown in the figure below, the file path is displayed on the left bottom corner of the screen. In the
figure " NET:\O0005.PRG" is displayed. If the currently displaying program is a network program,
pressing soft key [PROG] again will make CNC unit display the menus [Close] and [CloseALL].

Limitation
The open operation will be failed if a program with the same number exists in the memory already. And
the alarm PS1404 will be generated.

9.8.2 Close
Close operation is used to remove a network program and release the memory.

Procedures
 Close currently displaying network program
1 Press soft key [PROG] again to make the sub menus [Close] and [CloseALL] displayed.
2 Press soft key [Close]. The program is closed directly.
 Close all network programs
1 Press soft key [PROG] again to make the sub menus [Close] and [CloseALL] displayed.
2 Press soft key [CloseALL]. The program is closed directly.

9.8.3 Execute
For an opened network program, the execute operations are the same as those used by CMOS programs.
If a sub program saved on network is called by the main program, it should be read in memory in
advance.
For those very big files, use the DNC machining instead.

- 87 -
9.EDITING PROGRAMS OPERATION

9.9 PROGRAM SYNCHRONIZATION


9.9.1 [Sync] soft key
When both channels are in EDIT mode, program synchronization can be performed between the two
channels. The operation is as follows:
1 On the program screen, press the [Program] → [Extended Edit] → [Sync] soft key
2 Enter the program number stored in another channel, such as: O1234 (if not entered, it will default to
the program number of the current program)
3 Press the [Execute] soft key. The current program is synchronized to the specified program number of
another channel (eg, O1234).

NOTE

When synchronizing, directly overwrite the program with the specified program number of the other
channel, and it will not prompt!
9.9.2 Editing instruction
In any program window (program page, location page, etc.), you can execute PL or PS editing
instructions to load the program of another channel or store the program of this channel to another
channel.

9.9.3 Format
:PLm/n + INPUT

Function:Read the program with the program number m of the other channel to this channel and
modify the program number to n

Parameter:m:Program number of the other channel

n:Program number of current channel

Default:n is optional, n = m when n is not input

Explanation
PL(Path Prog Load)instruction is used to load a program from another channel into this channel, which
must meet the following conditions:
1 The other channel must be in edit mode and the program with program number O <m> must exist
2 The program switch of this channel must be turned on, and the program with the program number O <n>
cannot exist

Sample
PL5/4:Program O0005 of the other channel is stored in program O0004 of current channel
PL106:Store the O0106 program of the other channel into the O0106 program of this channel

- 88 -
OPERATION 9.EDITING PROGRAMS

9.9.4 Format
:PSn + INPUT

Function:Store the current program of this channel to nother channel with program number n

Program Parameter:n:Program number of the other channel

Default:n is optional parameter, when n is not input, it means n = program number of current program
of this channel

Explanation
PS (Path Prog Store) instruction is used to store the program of this channel to another channel, and must
meet the following requirements:
1 The other channel must be in EDIT mode, the program switch is on, and the program with program
number O <n> cannot exist
2 This channel should also be in EDIT mode

Sample
PS5: Store the current program of this channel into O0005 program of another channel
PS: Store the current program of this channel into a program with the same program number as the
current program in another channel

- 89 -
10.DISPLAY AND SETTING OPERATION

10 DISPLAY AND SETTING


15 main interfaces are provided:

1 POSITION: Press POS to display this screen

2 PROGRAM: Press PROG to display this screen

3 OFFSET: Press OFSET to display this screen

4 MACRO VAR: Press OFSET twice to display this screen

5 PARAMETER: Press PARM to display this screen

6 SERVO PRM: Press PARM twice to display this screen

7 DIAGNOSIS: Press DGN to display this screen

8 SERVO DGN: Press DGN multiple times to display this screen

9 AXIS CTRL: Press DGN multiple times to display this screen

10 ALARM: Press ALARM to display this screen

11 GRAPHICS: Press GRAPH to display this screen

12 SETTING: Press SET to display this screen

Mac.
13 OPERATOR: Press INDEX to display this screen

Mac.
14 INDEX: Press INDEX twice to display this screen

Each main screen can also be switched to by pressing soft keys below the screen. Some main screens
have multiple sub-pages. Select these sub-pages by pressing soft keys or by pressing page keys. This
chapter describes the methods for setting data on each page.

10.1 COMMON ELEMENTS


Some common elements are displayed on all screens. This section describes these elements.

- 90 -
OPERATION 10.DISPLAY AND SETTING

① ② ③

①Screen name ②Program number ③Block sequence number


④Input buffer ⑤Status bar

Screen name
All main screens have a unique name displayed on the left top corner of the screen.

Program number and sequence number


The current program number being edited or executed is displayed on the right top corner of the screen.
On the right side of program number is the block sequence number being executed. Note that the block
sequence number is refreshed only when those blocks including explicit sequence numbers are executed.
If no such a block is executed since power-on, the string will be "N00000".

Input buffer
It is allowable to input data on some screens. The inputted data are first put into the input buffer. ">" is
the prompt character. Press 【INPUT】 key to set the data in input buffer to CNC unit. Press 【CANCEL】
to clear the input buffer.
NOTE
Not all screens have input buffer line. Special conditions should be satisfied to input data on some
screen. Generally, the illegal character will be abandoned and won't be put in input buffer line.

Status bar
Status bar on the right bottom corner of the screen is used to display some important status of the CNC
unit. The following status are displayed on status bar.
1 Work mode: EDIT, AUTO, MDI, HOME, PG.HOME, HANDLE, STEP, JOG.
2 NO READY: It indicates whether servo system is ready for machining or not. Red string "NO
READY" is displayed flickeringly on status bar if the servo system is not ready.
3 ALARM: It indicates that one or more alarms are generated. Red string "ALARM" is displayed on
- 91 -
10.DISPLAY AND SETTING OPERATION

status bar. Information of the current alarm is displayed on ALARM screen.


4 PLC: It indicates that PLC procedures are scanned in debug mode. See I-10.13.1.
5 HOLD: It indicates that feed is hold. Red string "HOLD" is displayed on status bar.
6 HAND: It indicates that feed rate in AUTO mode is controlled by a handle. See I-5 for more
information.

10.1.1 Chinese & English Interface


This CNC unit supports Chinese interface. It is able to select the language on SETTING screen (See
I-10.13.1). Chinese interface is as follows:

NOTE
When using English interface, INDEX screen is not supported, the information of bit parameters is
not displayed either.

10.1.2 Interface Style


Two types of interface styles are provided, one has black background and the other has gray background.
The two styles are selected by setting parameter "Select interface style"(INSTALLATION & DEBUG
MANUAL Page 147 P2310). Set it to 0 to select the black background interface, set it to 1 to select the
gray background interface. Restart the CNC unit to enable the newly selected interface.

10.1.3 Screen Protection


Screen protection function is used to extend the useful time of the LCD.

Explanation
 Enter screen protection status
CNC unit enters screen protection status when no key is pressed and the value of "WULPS"
(INSTALLATION & DEBUG MANUAL Page 194 G0080.7) is not changed in the time specified by
"Delay time before entering screen protection mode"(INSTALLATION & DEBUG MANUAL Page 147
P2312). The screen is shut off and displays nothing.

- 92 -
OPERATION 10.DISPLAY AND SETTING

NOTE
Set P2312 to 0 to disable the screen protection function.
 Exit from screen protection status
The following operations make CNC unit exit from the screen protection status:
1 One of the following keys is pressed: 【POS】, 【PROG】, 【OFFSET】, 【PRAM】, 【DGN】,
【ALARM】, 【GRAPH】, 【SET】, 【MAC./INDEX】, 【RESET】.
2 Any key on operator's panel is pressed.
3 The value of WULPS changes from 0 to 1.
NOTE
1 Function of the key pressed to make CNC unit exit from screen protection status is still effective.
For example, if CNC unit enters screen protection status when the POSITION screen is displayed,
and 【PROG】 is pressed. CNC unit exits from the screen protection status and switches to the
PROGRAM screen.
2 It is able to exit from the screen protection status with the DI signal WULPS. For example,
connect emergency stop signal to WULPS, when emergency stop happens, CNC unit exits from
the screen protection status.

10.2 POSITION SCREEN


POSITION screen contains five sub-pages which are switched to by pressing soft keys [ALL], [RELA],
[MAC] [ABS] and [PLC PATH].
NOTE
8-axes systems have different subpage structures from other systems because of layout difference.
Five subpages are provided, which are switched to by pressing soft keys [RELA], [ABS], [ALL],
[BIGABS] and [PLC PATH]. Thought they have different structures, all basic elements are displayed.
This section describes based on the 2-axes or 3-axes systems, and they are also valid for 8-axes
systems.

10.2.1 ALL Subpage


As shown in the figure below, all position data and all kinds of machining information are displayed on
this subpage.

- 93 -
10.DISPLAY AND SETTING OPERATION

Explanation
 Relative coordinates
Relative coordinates represent the change amount of coordinates after the last clear operation. Procedures
to clear relative coordinates are as follows:
1 Press soft key [ALL] to switch to the ALL subpage.
2 Select JOG, HANDLE, STEP or HOME mode.
3 Press a number key corresponding with the axis number to make the axis address flickering.
4 Repeat the operations in step 3 to make all axes address flickering.
5 Press 【CANCEL】 key to clear relative coordinates of all axes
NOTE
Relative coordinates will be cleared automatically when the power is turned on.
 Absolute coordinates
Absolute coordinates represent the distance from current position to the origin of workpiece coordinate
system. Whether tool length compensation and tool radius compensation are considered by absolute
coordinate is controlled by bit parameters "DAL"(INSTALLATION & DEBUG MANUAL Page 143
P2300.6) and "DAC"(INSTALLATION & DEBUG MANUAL Page 143 P2300.7).
 Machine coordinates
Machine coordinates represent the distance from current position to the origin of machine coordinate
system.
For the machine tools without machine zero point, their machine coordinates can be cleared by the
following procedures:
1 Press soft key [ALL] to switch to the ALL subpage.
2 Select JOG, HANDLE, STEP or HOME mode.
3 Synchronously press 【CANCEL】 and a number key corresponding with the target axis number to
clear the machine coordinate of this axis.
 Distance to go
It represents the distance of each axis from current position to the terminal point.

- 94 -
OPERATION 10.DISPLAY AND SETTING

NOTE
1 For revolution axes, the position used to display relative coordinates, absolute coordinates,
machine coordinates and distance to go can also be used to display the rotation speed in real time.
See the description of G118 for more information.
2 For the axis used to drive servo spindle, the position used to display relative coordinates, absolute
coordinates, machine coordinates and distance to go can also be used to display the rotation speed
in real time. Set "SPPRV"(INSTALLATION & DEBUG MANUAL Page 194 G0119.0) to 1 to
enable this function.
3 When both "SPZERO"(INSTALLATION & DEBUG MANUAL Page 206 F0121.0) and
"SPDIS"(INSTALLATION & DEBUG MANUAL Page 195 G0121.0) are set to 1, coordinates
of the axis used to drive servo spindle are updated according to the feedback data. Further more,
the coordinates are displayed after smooth operation.
 Spindle speed
"S xxxx": It represents the actual spindle speed calculated based on the data read from spindle encoder.
 Feedrate
The actual information displayed in this area is determined by bit parameters "INTSPD"
(INSTALLATION & DEBUG MANUAL Page 146 P2304.0).
1 INTSPD=0: Actual feedrate is displayed and the feed override is display after the feedrate. Feedrate =
Programed feedrate × Feed override. Actual feedrate is always smaller than the upper limitation of
feed rate. "<1" is displayed when the actual feedrate is smaller than 1.
2 INTSPD=1: Instantaneous feedrate is displayed. Instantaneous feedrate is the feedrate in real time
considering feed override and acceleration/deceleration calculation.
(1) Instantaneous feedrate is the resultant speed of all axes. Generally, there exists some error
between the instantaneous feedrate and the programed feedrate because of calculation error.
(2) Instantaneous feedrate uses programing unit (mm/min or inch/min).
(3) Feed override is displayed on the right side of instantaneous feedrate. It represents feed override
when CNC unit works in non-JOG mode, it represents manual feed override when CNC unit
works in JOG mode, it represents the rapid traverse rate when the manual rapid traverse is
effective.
 MST Code
The value of M, S or T code is displayed in this area. Spindle speed override is displayed after the value
of S code.
 Programming feedrate
It represents the value of F code specified in program.
 Rapid traverse override
Four rapid traverse override are available: 100%, 50%, 25% and F0. "F0" represents the low speed of
used by rapid traverse.
 Machining time
Machining time in AUTO mode is displayed using format "Hour:Minute:Second". It doesn’t consider the
feed hold time. Machining time is cleared automatically when power-on. It can also be cleared manually
by pressing 【CANCEL】 and 【ALTER】 synchronously.
 Machining time of the last automatic operation
It doesn’t consider the feed hold time. It is cleared when power-on or the cycle button is pressed.
- 95 -
10.DISPLAY AND SETTING OPERATION

 Target number of parts


It represents the target number of parts. Set this number on the SETTING screen.
 Part number
This number pluses one when the M30 is executed every time. It can be cleared by pressing 【CANCEL】
and 【DELETE】 synchronously.
 Batch counter of machined parts number
CNC unit stops machining when the value of this counter equals to the value F0156. Press 【CANCEL】
and 【0】 to clear this counter. It is effective only when "MCNT"(INSTALLATION & DEBUG
MANUAL Page 145 P2303.2) is set to 1. When MCNT is set to 0, F156 equals to F154 and G156 equals
to G20.
 Spindle gear level
It represents the currently effective spindle gear level. When G0151 is set to 1, the value of G0150 is
displayed in this area.
 Tool case number
When G0151 is set to 2, the value of G22 is displayed here.
 Modal information
It displays the modal information of each G code group.
 Program edit area
It displays program content. See I-9.1 for more information.

10.2.2 RELA Subpage


As shown in the figure below, RELA subpage has less information than ALL subpage. On the other hand,
it provides an area on the right top corner to display tool path graphics and solid graphics.

Explanation
 Graphic area
Graphic area is a smaller copy of GRAPHICS screen. They display the same content.
 Servo system load
For systems installing 6 or less axes, dynamic load bars of servo systems are displayed on the right side of

- 96 -
OPERATION 10.DISPLAY AND SETTING

the page when "SVLOAD"(INSTALLATION & DEBUG MANUAL Page 146 P2304.5) is set to 1. This
is useful to watch the servo system load in real time.

NOTE
1 200% servo load can be displayed on bar at most. The range 0~100% is displayed in green color,
100%~150% is displayed in yellow and 150~200% is displayed in red. Percentage number is used
to display actual servo load by number.
2 For servo spindle, if its NC-display is enabled, the NC axis address is used to indicate data source
of the bar. If its NC-display is disabled, address 'S' is used instead. For multiple spindle systems,
'S1' and 'S2' are used.
3 For an axes whose NC-display is disabled and PLC-display is enabled, its servo system load is
displayed.
4 Servo system load of universal spindle is not displayed.
 Other items
Other items are the same as those on ALL subpage.

10.2.3 MAC Subpage


As shown in the figure below, MAC subpage has almost the same items as those of RELA subpage.
Machine coordinates and DIST. TO GO are displayed instead of relative coordinates and absolute
coordinates. Descriptions of other items are the same as those of ALL subpage and RELA subpage.

10.2.4 ABS Subpage


As shown in the figure below, absolute coordinates, spindle speed and feedrate are displayed on this
subpage using large font. Descriptions of other items are the same as those of ALL subpage.
- 97 -
10.DISPLAY AND SETTING OPERATION

10.2.5 PLC PATH Subpage


As shown in the figure below, current absolute coordinates and machine coordinates are displayed on this
subpage. Summation of movement, distance to go and command codes of each PLC channel are also
displayed. Two pages are provided to display all 8 PLC channels. Press page up or page down to
exchange between the two pages. See 《OPERATION》 for more information about PLC-axis.
It is able to clear the machine coordinates by pressing 【CANCEL】 and axis number key at the same
time.

10.3 PROGRAM SCREEN


POSITION screen contains five sub-pages which are switched to by pressing soft keys [ADRS], [PROG],
[LIB], [USB] and [NETWORK].

- 98 -
OPERATION 10.DISPLAY AND SETTING

NOTE
[NETWORK] is valid only when "NET"(INSTALLATION & DEBUG MANUAL Page 125
P0004.3) is set to 1.

10.3.1 ADRS Subpage


As shown in the figure below, modal information, decoded data of the current block and the next block
are displayed on this subpage.

Explanation
 Decoded data of the current block
Decoded data of the current block is displayed.
 Decoded data of the next block
Decoded data of the next block is displayed.
 MDI data
Data in this list are the same as those in the second list (decoded data of the next block) in MDI mode. It
is ineffective in other mode.
 Modal information
Modal information including G code, F code, M code, S code, T code, H code, D code, L code etc. are
displayed in this area.
NOTE
When the "Single Block Switch" is turned on, execution is stopped after one block is finished and the
next block won’t be buffered, so the next block data is empty in this situation.

10.3.2 PROG Subpage


As shown in the figure below, program edit area and all coordinates are displayed on this subpage. See
I-9.1 for more information about program edit area. Coordinates are same as those on POSITION screen.

- 99 -
10.DISPLAY AND SETTING OPERATION

10.3.3 LIB Subpage


As shown in the figure below, system version, program list and memory information are displayed on this
subpage.
{图片_程序_目录_V3}

Explanation
 System version
It represents the software version of the system.
 Program list
All programs in CNC unit are listed here. Use cursor up, cursor down, page up and page down to select a
program. Number of the selected program is displayed on the right top corner of the screen.
Program list can be displayed using two styles. Press soft key [LIB] again to switch between the two
styles:
1 Compact mode: Only programs' numbers are displayed in DIRECTORY area.
2 Detail mode: Each program is displayed in one line, including program number, comments or block
contents.
NOTE
Comments in the second block are displayed only when the first block has no code but ";".
 Memory information
1 Number of programs
512 programs can be created at most. "Used numbers" represents the number of programs already exist
in CNC. "Unused numbers" represents the number of programs can be created.
2 Memory
CNC unit provides 22MB memory. CMOS programs, MDI program and DNC programs share this
space.
3 CMOS
Power to CMOS memory is provided by a standby battery. CMOS data is kept when the power to
CNC unit is turned off. Standardly, CMOS memory size is 640kB. All common programs are saved in

- 100 -
OPERATION 10.DISPLAY AND SETTING

CMOS memory. MDI program is also saved in CMOS memory when "RMPP"(INSTALLATION &
DEBUG MANUAL Page 144 P2302.3) is set to 1.

10.3.4 USB Subpage


U-disk attributes and the file list in the U-disk are displayed on this subpage.

Explanation
 U-disk attributes
U-disk space information and write-lock state is displayed on the left side of the screen.
 File list
All files in the work directory in the U-disk are listed on the right side of the screen.
NOTE
1 See I-9.7 for more information about editing a program in U-disk.
2 See I-13 for detail information about inputting or outputting data via U-disk port.
3 Work directory can be selected by the parameter "UROOT"(INSTALLATION & DEBUG
MANUAL Page 146 P2306.0).
 File sort
It is able to sort files according to their names, file sizes, types and modified times. Press [USB] again to
display sub menus and press [SORT] to display the sort menus.
 File searching
Input the string to be searched and press cursor up or cursor down key to start search. The matched strings
are case insensitive.
1 If the string to be searched starts with "^", files' names start with the string after "^" match.
2 If the string to be searched doesn't starts with "^", files' names contain the desired string match.
 Scrolling display long files' names
If a file's name is too long to be displayed in the given area, it will be scrolling displayed. CNC unit
displays "?" instead of the half part of a Chinese character at the tail.
 File size
For the files smaller than 1024 bytes, file size unit is B and the value has no decimal fraction.

- 101 -
10.DISPLAY AND SETTING OPERATION

For the files smaller than 1024 kilo bytes, file size unit is kB and the value has two decimal bits.
For the files smaller than 1024 million bytes, file size unit is MB and the value has two decimal bits.
For the files bigger than 1024 million bytes, file size unit is GB and the value has two decimal bits.
The files bigger than 4GB won't be displayed in the list.

10.3.5 NETWORK Subpage


As shown in the figure below, network information and files on network are displayed on this subpage.

Explanation
 Device ID
The lower 3 bytes of the Ethernet hardware address are used as the device ID. It is displayed as an
decimal number.
This attributes can be modified manually by parameter "Ethernet identifier of the device"
(INSTALLATION & DEBUG MANUAL Page 181 P8110). Generally, it is not recommended to change
it because the default value is calculated automatically according to the system ID.
 Local IP
It is the IP address of the CNC unit. It is specified by parameter "Native IP"(INSTALLATION &
DEBUG MANUAL Page 181 P8111) when DHCP is disabled. It is specified automatically when DHCP
is enabled. Whether DHCP is enabled or disabled is determined by bit parameter "DHCP"
(INSTALLATION & DEBUG MANUAL Page 181 P8100.0). Set DHCP to 1 to enable this function.
 Sub Mask
It is the subnet mask of the Ethernet.
It is specified by parameter "Subnet mask code"(INSTALLATION & DEBUG MANUAL Page 181
P8112) when DHCP is disabled. It is specified automatically when DHCP is enabled.
 Gateway
Default gateway of the system.
It is specified by parameter "Default gateway IP"(INSTALLATION & DEBUG MANUAL Page 181
P8113) when DHCP is disabled. It is specified automatically when DHCP is enabled.

- 102 -
OPERATION 10.DISPLAY AND SETTING

 Host IP
It is the IP address of the computer on which the software KNDHMI runs. It is specified by parameter
"Host computer IP"(INSTALLATION & DEBUG MANUAL Page 181 P8114).
 Net Status
The following are some possible network status:
1 Disconnected: It usually means the physical layer of the Ethernet is disconnected. Check whether the
Ethernet wire is connected, and power to the switchboard or Router is turned on.
2 Connected: Physical layer of the Ethernet is connected.
3 IP conflict: Local IP address is also used by other devices in the Ethernet system. Please set a new
local IP address or find the device using the same IP address and change its IP address.
4 MAC conflict: More than one device in the Ethernet system use a same Device ID. Generally speaking,
this status is impossible to happen. Please check the Device IDs of all CNC units in the same Ethernet
system.
NOTE
Connected status only represents the physical layer is connected, doesn’t means the CNC unit to the
host computer is connected. It is necessary to run the software KNDHMI on PC before exchanging
data between a CNC unit and the computer.
 DIRECTORY
All the files in the default directory on the host computer are listed here.
 File sort
It is able to sort files according to their names, file sizes, types. Press [NETWORK] again to display sub
menus and press [SORT] to display the sort menus.
 File searching
Input the string to be searched and press cursor up or cursor down key to start search. The matched strings
are case insensitive.
1 If the string to be searched starts with "^", files' names start with the string after "^" match.
2 If the string to be searched doesn't starts with "^", files' names contain the desired string match.
 Scrolling display long files' names
If a file's name is too long to be displayed in the given area, it will be scrolling displayed. CNC unit
displays "?" instead of the half part of a Chinese character at the tail.
 File size
For the files smaller than 1024 bytes, file size unit is B and the value has no decimal fraction.
For the files smaller than 1024 kilo bytes, file size unit is kB and the value has two decimal bits.
For the files smaller than 1024 million bytes, file size unit is MB and the value has two decimal bits.
For the files bigger than 1024 million bytes, file size unit is GB and the value has two decimal bits.
The files bigger than 4GB won't be displayed in the list.

Procedures
 Establish communication
The communication will be established automatically when the TCP/IP attributes of CNC unit match with
those of computer. The following procedures show how to establish the communication.
1 Connect CNC unit and computer with network cable
2 Set attributes of computer. We take the following attributes for example.

- 103 -
10.DISPLAY AND SETTING OPERATION

(1) IP address: 192.168.1.2


(2) Subnet masks: 255.255.255.0
(3) Default gateway: 192.168.1.1
3 Set attributes of CNC unit following those of computer. For the example in step 2, the following
attributes can be used as an example.
(1) IP address: 192.168.1.3 (in the same field with computer)
(2) Subnet masks: 255.255.255.0 (be the same with computer)
(3) Default gateway: 192.168.1.1 (be the same with computer)
4 Connection is established automatically. The target CNC unit will be displayed on KNDHMI interface.
 Read files list on host computer
All the files in the default directory on the host computer are listed here.
1 Select EDIT mode (AUTO mode is also valid when "AUED"(INSTALLATION & DEBUG
MANUAL Page 144 P2302.7) is set to 1)
2 Switch to NETWORK subpage of the PROGRAM screen
3 Press [NETWORK] again to display sub menus. Press soft key [RERRESH] to update file list. As
shown in the figure below, a message box is displayed to indicate the process of reading. The message
box is closed when the process is finished successfully or after a delay when an Ethernet error
happens.

 Exchange files between U-disk and computer via network


It is able to exchange files between U-disk and computer via network, which can be achieved on NC or
computer. Procedures are as follows:
1 Operate on NC
(1) Download a file from computer into U-disk
1) Press soft key [NETWORK] to enter its subpage
2) The soft key [SAVE USB] will be displayed when a U-disk is installed and the file list on
network communication software is not empty. Press [REFRESH] to update the file list on
computer.
3) Move cursor to select a file. Press [SAVE USB] to download the target file into the U-disk.
(2) Upload a U-disk file to computer
- 104 -
OPERATION 10.DISPLAY AND SETTING

1) Press soft key [USB] to enter its subpage


2) The soft key [SEND NET] will be displayed when network is connected and file list of
U-disk is not empty.
3) Move cursor to select a file. Press [SEND NET] to upload the target file to computer.
2 Operate on computer
On the left side of the KNDHMI software, "U-disk file list" is provided under the "CNC list". It is used
to display files list of the U-disk which is connected with CNC. Generally, the file list is updated when
the network communication is established. However, it is also able to update it manually by the button
"Refresh file list" provided in the context menu.
(1) Download a file from computer into U-disk
1) Way 1: Select a file on the "Local file list" and press a context menu button "Download into
U-disk".
2) Way 2: Open a file on computer and use menu [Communication]/[Download into U-disk] or
the button [Download into U-disk]
(1) Upload a U-disk file to computer
1) Way 1: Select file in the "U-disk file list", press the context menu button [Upload] to start
upload.
2) Way 2: Double click an item of the "U-disk file list", the corresponding file will be uploaded
 Input/output data via network port
See I-13 for details.
 Open a program on host computer
See I-9.8 for details.
 DNC machining via network
See I-5.4 for details.

10.4 OFFSET SCREEN


10.4.1 Display
Offset values are displayed and set on OFFSET screen. Tool length compensation and tool radius
compensation are available. And each of them supports both geometry compensation and wear
compensation, which are displayed and set independently.
The soft key [WORK OFS] will be displayed when "WSFT"(INSTALLATION & DEBUG MANUAL
Page 133 P0500.7) is set to 1, but standardly the default value is 0. Whether tool radius compensation
values are displayed or not is determined by bit parameter "CRC"(INSTALLATION & DEBUG
MANUAL Page 124 P0002.1). Whether the soft key [WEAR] is displayed or not is determined by bit
parameter "WOFC"(INSTALLATION & DEBUG MANUAL Page 154 P3200.0). In this section, we
describe based on a set of default parameters. (CRC=1, WOFC=1, WSFT=0). The default interface is as
shown in the figure below.

- 105 -
10.DISPLAY AND SETTING OPERATION

NOTE
Whether the tool length compensation of an axis is available or not is determined by bit parameter
OFLn(P3201-n, n=1~4). Only those axes supporting tool length compensation will be displayed on
OFFSET screen.

10.4.2 Select a Tool Offset Item


Move cursor
Press cursor keys (cursor up, cursor down, page up, page down) to move cursor on the target item, Press
cursor left or cursor right key to select a column in the current line.

Search offset number


It is also able to select an item by searching its offset number.
1 Enter the OFFSET screen.
2 Press address P and input an offset number.
3 Press 【INPUT】 key.

10.4.3 Set Tool Offset


It provides six methods for setting tool offset values with the menus on the bottom of the screen. The six
menus are displayed on two pages. The first page supports [+C INPUT], [MEASURE], [C INPUT],
[+INPUT] and [INPUT]. The second page supports [CLEAR]. Press "▶" to switch between the two pages.
Descriptions of each menu are as following:

+C INPUT
Whether it is effective is controlled by bit parameter "NOFPC"(INSTALLATION & DEBUG MANUAL
Page 155 P3202.7). This menu is only used when setting tool length compensation values.
1 Select an item and move cursor on the axis to be set.
2 Move the axis to be set to a desired position. Press the address character corresponding with the axis
3 Press [+C INPUT]. A red string consists of a value and "CONFIRM?" will be displayed on the right

- 106 -
OPERATION 10.DISPLAY AND SETTING

bottom corner of the screen, and two soft keys [CANCEL] and [EXEC] are displayed at same time.
Whether the confirming operation is performed or not is determined by the bit parameter "OFCFM"
(INSTALLATION & DEBUG MANUAL Page 154 P3200.3).
4 Press [EXEC] to change tool length compensation. New value = Old value + Relative coordinate
5 Press [CANCEL] to terminate the operation and go back to the upper menu.

C INPUT
Whether it is effective is controlled by bit parameter "NOFC"(INSTALLATION & DEBUG MANUAL
Page 154 P3200.7). This menu is only used when setting tool length compensation values.
Procedures are the same as those when using "+C INPUT". The difference is calculation method.
 New geometry value = Relative coordinate. The corresponding tool length wear compensation value
will be cleared.
 New wear value = Relative coordinate – Corresponding tool length geometry compensation value.

MEASURE
This menu in only used when setting the tool length geometry compensation.
1 Press soft key [GEOMETRY], select an item and move cursor on the axis to be set.
2 Move the axis to be set to a desired position.
3 Press the address character corresponding with the axis and input the measured value.
4 Press [MEASURE]. A red string consists of a value and "CONFIRM?" will be displayed on the right
bottom corner of the screen, and two soft keys [CANCEL] and [EXEC] are displayed at same time.
Whether the confirming operation is performed or not is determined by the bit parameter "OFCFM"
(INSTALLATION & DEBUG MANUAL Page 154 P3200.3).
5 Press [EXEC] to change tool length geometry compensation. New value = Relative coordinate –
Measured value. The corresponding tool length wear compensation value will be cleared.
6 Press [CANCEL] to terminate the operation and go back to the upper menu.

+INPUT
[+INPUT] is used to set an offset value by an incremental amount. Only the selected valued is changed.
1 Select a column in an item to be set.
2 Input a desired value. Both positive values and negative values are available.
3 Press [+INPUT]. A red string consists of a value and "CONFIRM?" will be displayed on the right
bottom corner of the screen, and two soft keys [CANCEL] and [EXEC] are displayed at same time.
Whether the confirming operation is performed or not is determined by the bit parameter "OFCFM"
(INSTALLATION & DEBUG MANUAL Page 154 P3200.3).
4 Press [EXEC] to change the target column. New value = Old value + Inputted value
5 Press [CANCEL] to terminate the operation and go back to the upper menu.

INPUT
Procedures are the same as those when using "+INPUT". The difference is calculation method.
New value = Inputted value. (Old value will be covered.)

CLEAR
It is used to clear compensation values. There sub menus will be displayed after pressing [CLEAR].

- 107 -
10.DISPLAY AND SETTING OPERATION

1 [ALL]: Clear all offset values


2 [GEOM]: Clear all geometry compensation values.
3 [WEAR]: Clear all wear compensation values.
A red string consists of a value and "CONFIRM?" will be displayed on the right bottom corner of the
screen, and two soft keys [CANCEL] and [EXEC] are displayed at same time. Press [EXEC] to continue
the clear operation and press [CANCEL] to terminate the operation and go back to the upper menu.

10.4.4 Workpiece Coordinate Offset


This function is convenient to make the effective workpiece coordinate system and the workpiece
coordinate system used when programming match together.
Set "WSFT"(INSTALLATION & DEBUG MANUAL Page 133 P0500.7) to 1 before using this function.
The subpage when pressing [WORK OFS] is displayed as shown below.

OFFSET VALUE
"OFFSET VALUE" is used to shift the workpiece coordinate system by an incremental value. Two sub
menus [+INPUT] and [INPUT] will be displayed after pressing [OPR] when cursor locates on an item of
OFFSET VALUE. Press [+INPUT] to change the selected item with an incremental value and press
[INPUT] to change the selected item with an absolute value. Two soft keys [CANCEL] and [EXEC] are
displayed after pressing [+INPUT] or [INPUT]. Press [EXEC] to input new value and press [CANCEL]
to terminate the operation and go back to the upper menu. Absolute coordinates will shift by a same
amount as the OFFSET VALUE changes.

MEASURE VALUE
"MEASURE VALUE" is used to change workpiece coordinate system directly. [INPUT] will be
displayed after pressing [OPR] when cursor locates on an item of MEASURE VALUE. Two soft keys
[CANCEL] and [EXEC] are displayed after pressing [INPUT]. Press [CANCEL] to terminate the
operation and go back to the upper menu and press [EXEC] to input new value. The old value will be
covered. Absolute coordinates changes to the same value as the MEASURE VALUE.

- 108 -
OPERATION 10.DISPLAY AND SETTING

Procedures
1 Press soft key [WORK OFS]
2 Move cursor on the axis to be set
3 Input a value and press [+INPUT] or [INPUT]
4 Workpiece coordinate is shifted, and the absolute coordinates on the right side of the screen changes.
EXAMPLE
As shown in the figure below, programming position of the tool is (X=120.0, Z=70.0), actual absolute
coordinates of the tool is (X=121.0, Z=69.0). Use the following two methods to shift workpiece
coordinate system.
Way one: Set OFFSET VALUE. X=-1.0,Z=1.0
Way two: Set MEASURE VALUE, X=120.0,Z=70.0

β = 69.0mm The tool

α = 121.0mm

10.4.5 Limitations
Range of the offset values
Range of the tool length geometry compensation values: [-10000.000, 10000.000]
Range of the tool radius geometry compensation values: [-100.000, 100.000]
Range of the tool wear compensation values is determined by the parameter "Upper limitation of the tool
wear compensation"(INSTALLATION & DEBUG MANUAL Page 156 P3220). The allowable range is
from 1 to 10000.000. When P3220 is set to 1.000, the range of tool wear compensation values is [-1.000,
1.000]. When P3220 is set to 10.000, the range of tool wear compensation values is [-10.000, 10.000].

Color of the soft keys


Soft keys displayed after pressing [OPR] are displayed with a light blue color normally. After inputting an
address character or data, some soft keys' color may change. Normal color means the soft key is effective,
while gray color means the soft key is ineffective.
 Inputting numbers
No matter where the cursor is, soft keys [INPUT] and [+INPUT] are displayed with normal color, other
soft keys are displayed with gray color.

- 109 -
10.DISPLAY AND SETTING OPERATION

 Inputting address characters


When inputting an address character on tool length compensation page, [C INPUT] and [+C INPUT] are
displayed with normal color, other keys turns to gray. If a number is input after the address character, [C
INPUT] and [+C INPUT] turn to gray.
When inputting an address character on tool radius compensation page, [C INPUT] and [+C INPUT] are
displayed with normal color, other keys turns to gray. If a number is input after the address character,
[MEASURE] turns to normal color and other keys turn to gray.

Decimal point
Decimal digits of tool length compensation are determined by axis type and decimal digits' number of the
axis.

10.5 MACRO VAR SCREEN


Macro variables are displayed on this screen. These variables can be read and assigned in program
following the format "#<Variable number>", and they can also be set on this screen. Three subpages are
provided in this screen, they are switched to by pressing soft keys [PUB V], [PUB NV] and [LOCAL].
The default subpage displayed when switched to MACRO VAR screen is selected by "MACG2". Display
style is selected by " MACS2”.
MACS2=1:

MACS2=0

- 110 -
OPERATION 10.DISPLAY AND SETTING

10.5.1 Public Volatile Variable Subpage


Variables from #100 to #499 are displayed on this subpage. These variables are global, in other words,
they can be read and assigned by all programs. The values of these variables can also be changed
manually.
These variables are classified into three types as follows. Press soft keys [USER V], [MAC V] and [SYS
V] to switch to the three pages.
1 User volatile variables: #100~#299
2 Machine volatile variables: #300~#399
3 System volatile variables: #400~#499

Procedures
1 Move cursor to select the variable to be set.
2 Input the desired value
3 Press 【INPUT】 key on MDI panel. The input value will be assigned to the selected variable.
NOTE
1 If the decimal digits' number of input data is bigger than parameter "Digit number of decimal
fraction for specifying linear axis movement"(INSTALLATION & DEBUG MANUAL Page 127
P0042), it will be automatically rounded up.
2 If the sum of integer digits' number and decimal digits' number of the input data is bigger than 8,
CNC unit displays "**********" instead of the actual data. However, it doesn't affect usage.

10.5.2 Public Non-volatile Variable Subpage


Variables from #500 to #999 are displayed on this subpage. All variables are global and their values will
be saved in CMOS memory when the power is turned off. Procedures of setting these variables are the
same as those when setting #100~#499.
These variables are also classified into three types as follows. Press soft keys [USER NV], [MAC NV]
and [SYS NV] to switch to the three pages.
1 User non-volatile variables: #500~#799

- 111 -
10.DISPLAY AND SETTING OPERATION

2 Machine non-volatile variables: #800~#899


3 System non-volatile variables: #900~#999

10.5.3 Local Variable Subpage


Variables from #0 to #63 are displayed on this subpage. All these variables are local, in other words, each
program can use an independent set of these variables. With these variables, it is convenient to save some
temporary data used within a program without affecting other programs. Procedures of setting these
variables are the same as those when setting public variables.

10.5.4 Definition of Macro Variable Names


Unique name and present of a macro variable can be defined and displayed.
Macro variable names should meet the following requirements:
1 Start with a Chinese character, letter or underscore, and is made up of Chinese characters, letters or
underscores.
2 It is able to define a variable name using 20 letters or 10 Chinese characters at most and define a
variable present using 64 letters or 32 Chinese characters at most.
3 Some strings are reserved by CNC unit and can not be used as variable names, such as NULL,
DO/WHILE/IF/THEN/ELSE or SIN/COS/ABS.
4 Don’t define a same name for multiple variables.
5 The following modes are illegal when a variable starts with a letter.
(1) It is only made up of a upper case letter or starts with an upper case letter followed by a digit
character.
(2) It starts with character 'N' followed by an upper case letter.
(3) It is CT/AC/DC/AD or starts with CT/AC/DC/AD followed by a digit character
NOTE
By default, REGn/regn (n=0~63) are used as the names of local variables. However, when 'n' is not in
the range from 0 to 63, the strings can be defined as variable names.

10.5.4.1 Definition Method


Two ways are available to define macro variable names: input by file or input manually

Input by file
The values, names and presents of macro variables can be modified by inputting a macro variable file via
serial port, U-disk or network.
Standard format of a single line of macro variable file is as follows:
#[Number]<([Name])> <= [Value]> <//[Present]>
Number: Sequence number of the macro variable to be modified
Name: Macro variable name. The initial variable name will be cleared when this field is not specified
Value: Macro variable value. The initial value will not be changed when this field is not specified
Present: Macro variable present. The initial present will be cleared when this field is not specified
 Format example
#500(Size) = 100.0 //Part length
#501(Diameter) //Part diameter The initial value won't be changed

- 112 -
OPERATION 10.DISPLAY AND SETTING

#502 = 50.0 The initial name and present will be cleared


#502() = 50.0 // The initial name and present will be cleared
NOTE
1 New macro variable format is similar to the old format and compatible with it.
2 Do not insert space character between '#' and Number, neither between '()' and Name. Space
characters after '//' are considered as part of present.
4 File input or output operations are available on all subpages of MACRO VAR screen.
5 CNC unit checks the validity of newly defined macro variable name.
6 Too long macro variable name will activate alarm PS436 and the input process will be terminated.
Tool long present will be cut off directly.

Input manually
Soft key [TYPE CHG] is provided on MACRO VAR screen to change input state. Press it to move cursor
on variable value, name or present.
Press 【INPUT】 key to cover the initial name or present with newly input string, and press 【DELETE】
to remove initial content.
NOTE
1 It is not able to change variable name or present when running a program. PinYin input method is
available to input Chinese character in EDIT mode.
2 CNC unit checks the validity of newly defined macro variable name.
3 Too long macro variable name will activate alarm PS436 and the input process will be terminated.
Tool long present will be cut off directly.

10.5.4.2 Authority Protection


It is need to obtain authority first to define macro variable names. The variables #300~#399 and
#800~#899 are protected. In the case of having no authority, alarm PS181 will be generated when
defining macro variable name or present manually, and modify operation by inputting file is automatically
abandoned. However, output operation is not affected.

10.5.4.3 Programming Using Macro Variable Name


Macro variable name can be used in program instead of corresponding variable using this function. Set
parameter "MVAP"(INSTALLATION & DEBUG MANUAL Page 127 P0006.5) to enable this function.

Example
Enable this function. Define names for the following variables: #500(Depth), #501(Index1), #502(Index2).
The following program can be executed correctly.
O0010
Depth = 100.0 ;
X0. ;
X [ Depth ] ;
Index1 = 300 ;
Index2 = 200 ;
X0. ;

- 113 -
10.DISPLAY AND SETTING OPERATION

X [ # [ Index1 + Index2 ] ] ;
M30 ;

10.6 PARAMETER SCREEN


It is necessary to set parameters to pursue better driver characteristic and machine tool functions.
Generally, it differs from different machine tools. Please refer to the manual issued by machine tool
builder. See chapter《OPERATION》for more information about parameters supported by this CNC unit.
Three subpages are provided in this screen. Press soft key [PARAM], [PEC] and [DIR] to switch to them.
The PARAM subpage, pressing [PARAM] to switch to, is used to display and set parameters. The PEC
subpage, pressing [PEC] to switch to, is used to display pitch-error compensation parameters. The DIR
subpage, pressing [DIR] to switch to, is used to select parameter field. For details about pitch-error
compensation parameters, please see 《OPERATION》.

10.6.1 PARAM Subpage


As shown in the figure below, parameters are displayed on PARAM subpage. The information of the
parameter where cursor locates is displayed on the bottom of the screen, as shown by label ④. Press
cursor keys to move the cursor on the desired parameters. Press soft keys [PrevArea] and [NextArea] to
position cursor across different parameter areas.


①Bit parameter ②Word parameter ③Axis parameter ④Parameter information

Explanation
 Bit parameter and word parameter
Parameters are classified into two types, bit parameter and word parameter (also called data parameter).
As shown by labels ① and ② in the figure above, parameter 0001 is bit parameter, and parameter 0042
is word parameter.
 Bit parameter
Each bit parameter has 8 bits. These bits are indexed 7 to 0 from left to right. Bit on the left is called
high-order position and bit on the right is called low-order position. Each bit is considered as one

- 114 -
OPERATION 10.DISPLAY AND SETTING

independent parameter and its value can be 0 or 1. Descriptions of bit parameters are displayed on two
lines. Names of each bit are displayed on the first line, and meanings of the currently selected bit are
displayed on the second line.
 Word parameter
Word parameter is treated as one independent parameter. Descriptions of a word parameter are
displayed on one line.
 Bit display mode
Bit display mode is used to set one single bit parameter independently. The other display mode is called
normal display mode. Press 【CHANGE】 to switch between the two modes. Normal display mode is
effective when the CNC unit is turned on.

In both display modes, press keys to select one parameter. But

and have different means in the two modes.

1 In normal display mode, press or to move cursor left or right.

2 In bit display mode, when cursor locates on a word parameter, and are disabled.

When cursor locates on a bit parameter, and are used to move cursor on

different bits. The bit where the cursor is can be set independently without affecting other bits.
 Axis parameter and non-axis parameter
Parameters can also be classified into axis-parameter and non-axis-parameter. As shown by the label ③
in the figure above, the parameter 0405 is an axis-parameter. Generally, each axis-parameter has N
parameters. (N is the NC-axes number, specified by P0410.) Axis number is attached after the
axis-parameter number. For example, the parameter 0405 corresponding to the 1st axis is displayed as
"0405-1"
 Read-write attribute
Read-write attribute of a parameter could be RO (read only) or RW (read and write). A single bit
parameter has independent read-write attribute. Read-write attribute of a parameter is displayed on the
column named ATTR.
NOTE
Generally, some parameters are specified read-only by KND company or machine tool builder
according to machine tool model or characteristic. These parameters' value can not be changed. When
the power to CNC is turned on, press 【CANCEL】 and 【PARAM】 together to display all
parameters including those RO ones.
 Parameter areas
Parameter areas are used to separate parameters used by different functions. Press soft keys [PrevArea] or
[NextArea] to locate the cursor on the first parameter of the previous or next area.

10.6.1.1 Search Parameter


It supports two types of search operations: search by number and search by name. The latter one is
usually used to search a bit parameter by its name.
- 115 -
10.DISPLAY AND SETTING OPERATION

Procedures
 Search by number
1 Input address "P"
2 Input the number to be searched, for example "0001" or "421-1"
3 Press 【INPUT】 key. Cursor is moved to the target parameter and input buffer is cleared.
NOTE
1 The leading-zero of the input number can be omitted.
2 If the target parameter is not found, cursor does not jump and the input buffer is not cleared.
 Search by name
1 Input "/"
2 Input the name of a parameter, for example: "DNC"
3 Press 【INPUT】 key. Cursor is moved to the target parameter and input buffer is cleared.
4 Repeat step 3 to search continuously until the target parameter is found.
NOTE
1 The name to be searched is case sensitive.
2 When searching a bit parameter in an axis-parameter, don not input the axis number in the name.
For example, when searching ZRS1 (P0405-1.5), search "ZRS" instead of "ZRS1".
3 If the target parameter is not found in the range from the current parameter to the end, search
operation is continuously performed from the first parameter. If the target parameter is not found,
cursor is kept still.
4 The character string to be searched will not be cleared automatically, press 【CANCEL】 to clear
it manually.
5 CNC unit automatically switches to bit display mode and move cursor on the bit searched

10.6.1.2 Set Parameter


The values of parameters of which read-write attribute is RW can be set manually. To prevent unexpected
modifying, it is necessary to turn the parameter switch on and enter MDI mode first before setting
parameters.

Procedures
 Set word parameters
1 Select MDI mode
2 Switch to SETTING screen, turn on the parameter switch.
3 Switch to PARAMETER screen, select the parameter to be set by searching or moving the cursor.
4 Input a allowable value
5 Press 【INPUT】 key, the parameter will be set to the new value.
 Set bit parameters
A bit parameter can be set in two ways depends on the display mode. In normal display mode, all 8 bit
parameters can be considered as one parameter, which can be set by one byte once. In bit display mode, a
single bit parameter can be set independently without affecting other bits.
1 Normal display mode
(1) Select MDI mode

- 116 -
OPERATION 10.DISPLAY AND SETTING

(2) Switch to SETTING screen, turn on the parameter switch.


(3) Switch to PARAMETER screen, select the parameter to be set by searching or moving the cursor.
(4) Input an 8-bit binary number such as "00010111". Each bit in the binary number corresponds to
one bit of the currently selected parameter.
(5) Press【INPUT】key. All bits of the selected parameter, excluding those reserved bits, are set with
the input data.
2 Bit display mode
(1) Select MDI mode
(2) Switch to SETTING screen, turn on the parameter switch.
(3) Switch to PARAMETER screen, select the parameter to be set by searching or moving the cursor.
(4) Input "0" or "1"
(5) Press 【INPUT】 key. The currently selected bit is set with the input data.

10.6.2 DIR Subpage


As shown in the figure below, parameter areas' list is displayed on this subpage. It is convenient to select
the desired area quickly on this subpage.
When switching from PARAM subpage to DIR subpage, cursor will be located on the area in which the
currently selected parameter is. When switching from DIR subpage to PARAM subpage, cursor will be
located on the first parameter of the currently selected area.

Explanations
 NO.
Area numbers are listed in this column.
 FstPRM
Numbers of the first parameters of each area are displayed in this column.
 Description
Simple descriptions of each area are displayed in this column, which is convenient to view the function of
each area.

- 117 -
10.DISPLAY AND SETTING OPERATION

Procedures
1 Press cursor keys, page keys or soft keys [PrevArea], [NextArea] to select the desired area.
2 Press soft key [PARAM] to switch to PARAM subpage. The first parameter of the selected area will be
selected.

10.7 SERVO PRM SCREEN


All parameters in servo driver connected to CNC unit correctly can be read in automatically. These
parameters are displayed and set on this screen. CNC unit doesn't save these parameters. An independent
subpage is provided for each connected servo driver, as shown in the figure below.

Explanation
 Switch between PARAMETER screen and SERVO PRM screen
Press function 【PARAM】 repeatedly to switch between the two screens.
 Parameter number
CNC unit uses the same parameter number as those in servo driver. Please see the users' manual of
SIGMA5 or SD310.
 Searching
Searching method is the same as that used when searching a system parameter.
NOTE
The format of searching a parameter in ZD210 is different. The format is: P + Parameter field +
Parameter number + 【INPUT】 key. Seven parameter fields are available: ABCDEFP
For example: "PA01"+【INPUT】, the parameter A01 in ZD210 will be located.
 Set the value
Operations of setting these parameters are the same as those used when setting a system parameter. Do
turn on the servo parameter protection switch first before setting these parameters.

10.7.1 Servo Commands


Some special commands heading with ":" are called servo commands. Available servo commands

- 118 -
OPERATION 10.DISPLAY AND SETTING

supported by SD310 and SIGMA5 are listed below.


Commands Function SD310 SIGMA5
:DEF Restore factory settings Support Support
:BA Backup parameters Support
:RS Restore backup settings Support
:TU1 Adjust servo system parameters automatically Support
:TU2 Update coordinates according to the feedback position from Support
Support
servo driver (APOS)
:TU3 Pn0x808=–DGN n016
Purpose: Shift the reference position and set the current Support
position as the absolute zero point.
:TU4 Clear the multiple circle date of absolute encoder. Support Support
:TU7 Adjust current offset automatically Support
:TU8 Set the multiple circle limitation of absolute encoder. Support
Change Pn205 and restart servo driver before performing this
operation.
:TU9 Restart servo driver

Operation
 Perform servo commands
1 Select MDI mode and make sure CNC unit is not in emergency stop state.
2 Enter SETTING screen and turn on the servo parameter protection switch.
3 Switch to the SERVO PRM screen.
4 Select the servo driver to be set.
5 Input servo commands (for example ":DEF") and press 【INPUT】 key.

10.8 DIAGNOSIS SCREEN


Diagnosis data, PLC parameters and ladder diagram etc. are displayed on this screen. Please see chapter
Page 138I-11.2 for more information.

10.9 BUS DGN SCREEN


Press function key 【DGN】 multiple times to switch to this screen. It includes three subpages: SERVO
subpage, IO subpage and BUS MSG subpage.

10.9.1 SERVO Subpage


As shown in the figure below, diagnosis data about servo bus (1000~8999) are displayed on this subpage.

- 119 -
10.DISPLAY AND SETTING OPERATION

Explanation
 Diagnosis data corresponding to each axis
Axis number Diagnosis number
1 1000~1999
2 2000~2999
3 3000~3999
4 4000~4999
5 5000~5999
6 6000~6999
7 7000~7999
8 8000~8999
 Meanings of diagnosis data
See chapter 《OPERATION》 for details.

Operation
 Searching
Similar to searching a parameter, input diagnosis number (Pxxxx) and press 【INPUT】 key to locate
cursor on the target data.

10.9.2 IO Subpage
As shown in the figure below, diagnosis data about IO modules (9100~9899) are displayed on this
subpage.

- 120 -
OPERATION 10.DISPLAY AND SETTING

Explanation
 Diagnosis data corresponding to each IO module
IO module number Diagnosis number
1 9100~9199
2 9200~9299
3 9300~9399
4 9400~9499
5 9500~9599
6 9600~9699
7 9700~9799
8 9800~9899
 Meanings of diagnosis data
See chapter 《OPERATION》 for details.

Operation
 Searching
Similar to searching a parameter, input diagnosis number (Pxxxx) and press 【INPUT】 key to locate
cursor on the target data.

10.9.3 BUS MSG Subpage


For easier diagnosis of servo bus, some important messages about the servo bus are recorded on this
subpage. These messages won't be saved when power-off.

- 121 -
10.DISPLAY AND SETTING OPERATION

Operation
 Clear message
Press R key to clear all messages on this subpage.
 Return to the head of message list
Press H key to return to the head of the message list.
 Page up and down
Press page keys to switch to the previous or next page.

10.10 AXIS CTRL SCREEN


This screen is displayed only when "ACDGN"(INSTALLATION & DEBUG MANUAL Page 125
P0005.5) is set to 1.
The status of all axes, including NC axes, PLC axes and simple PLC axes, can be checked on this screen.
Press function key 【DGN】 multiple times to switch to this screen. Each channel of NC axis, PLC axis
and simple PLC axis has two subpages: DATA subpage and TRACE subpage. DATA subpage of the 1st
channel of NC axis is displayed when firstly switching to AXIS CTRL screen, as shown in the figure
below.

- 122 -
OPERATION 10.DISPLAY AND SETTING

Explanation
8 channels are provided for NC axis, PLC axis and simple PLC axis. Press soft keys [NC AXS], [PLC
AXS] and [SPLC AXS] to display their sub menus, which includes 8 soft keys to select each channel.

Press these soft keys ([PATH 1]~[PATH 8]) to enter their sub menus, as shown in the figure below.

Press soft key [DATA] to display the parameter list of the channel, press soft key [TRACE] to display the
signal trace subpage.

10.10.1 DATA Subpage


Each channel has an independent DATA subpage, as shown in the figure below.

- 123 -
10.DISPLAY AND SETTING OPERATION

Explanation
 Sequence number and data
The following signals PG00~PG15 and PF00~PF15 are provided by each channel.
PG00~PG15 and PF00~PF15 used by PLC axis correspond with G160~G479 and F160~F479.
Besides PG00~PG15 and PF00~PF15, SG00~SG04 and SF00~SF04 are also provided by each simple
PLC axis channel. These signals correspond with G1000~G1063 and F1000~F1063.
Diagnosis signals used by NC-axis and simple PLC-axis are internal used. No signals in G field and F
field are corresponded with them.
 Information
Similar to the PARAMETER screen, signals' names and the explanation are displayed on the bottom of
the screen. The corresponding signal's number in G field or F field is displayed on the right side of the
explanation string.

Operation
 Change display mode
Similar to the PARAMETER screen, press 【CHANGE】 to switch between the bit display mode and
word display mode.

Press and to move cursor in bit display mode.

 Search
1 Input data number, for example "PG5".
2 Press 【INPUT】 key to move cursor on the target data.
 Trace signal
When an valid bit signal is selected in bit display mode, the soft key [IN TRACE] will be displayed, as
shown in the figure below. Press [IN TRACE] to put the selected signal into the list which is displayed on
an independent screen.

- 124 -
OPERATION 10.DISPLAY AND SETTING

10.10.2 Trace Subpage


Each channel used by NC-axis, PLC-axis and simple PLC-axis has an independent subpage used to
display traced signals, as shown in the figure below. It is convenient to watch the status of the traced
signals.

Explanation
 Signal list

Signal list is displayed on the left side of the screen. Press or to move cursor in this

list.
 Waveform area
Dynamic waveforms of the traced signals are displayed in this area. The least sampling period equals to
the scan period of PLC, and the maximum sampling period equals to 1024 ms.

Press or to move cursor toward left or right by one step, and each step equals to

one sampling period. It is able to measure the width of the waveform with this function.
 Information area
Information area is displayed on the bottom of the screen. Information about the current sampling period,
channel number and cursor position are displayed in this area.

Operation
 Add signal
1 Input signal name, for example "PG1" or "PG1.0"
2 Press soft key [ADD] or 【INPUT】 key to add the signal into the list
If a word signal is input, it will be extended and all the valid signals in it will be added.
 Alter signal
1 Move cursor on the signal to be altered.
2 Input a new signal number, for example "PG0.0"

- 125 -
10.DISPLAY AND SETTING OPERATION

3 Press 【ALTER】 key to replace the old signal


 Delete signal
1 Move cursor on the signal to be deleted.
2 Press 【DELETE】 key
 Delete all signals
Press soft key [CLEAR] to delete all signals in the list.
 Change sampling period
Press soft key [TIME+] or [TIME-] to change the sampling period. Press [TIME+] to double the sampling
period, and press [TIME-] to decrease the period to half. The existing waveform will be cleared when the
sampling period is changed.
 Start/Stop sampling
Press soft key [START] or [STOP] to start or stop sampling.
 Address/Signal name
Press soft key [ADDRESS] or [SYMBOL] (the two keys are multiple-used) to display address or signal
number in the list. The two soft keys are displayed on the same level as soft key [TRACE], and they are
displayed only when the trace subpage is selected.

Limitation
1 For one channel, 8 signals at most can be traced at the same time.
2 It is able to trace one bit in a 32-bit data, but it can only be displayed using address.

10.11 ALARM SCREEN


Two subpages called "ALARM" and "EX-ALM" are provided by this screen, which can be switched to by
pressing soft keys [ALARM] and [EX-ALM]. Alarm information about operation error, edit error, IO
error and PLC procedure error are displayed on ALARM screen. Whether CNC unit switches to ALARM
screen when some error happens is determined by parameter "FALCH"(INSTALLATION & DEBUG
MANUAL Page 145 P2303.6) and "ALMPRM"(INSTALLATION & DEBUG MANUAL Page 145
P2303.5). When one or more of the following conditions are satisfied, CNC unit will not switch to
ALARM screen.
1 FALCH is set to 1.
2 When the subpage used to trace ladder diagram signals is displayed.
3 When the subpage used to trace axis control signals is displayed.

10.11.1 ALARM Subpage


When an alarm is generated, the alarm number is displayed at the top of the screen, and the detail
information is displayed at the bottom. Alarm information is useful to locate problems. When the program
is solved, alarm is released. For some alarms, it is necessary to press RESET key to release them.

- 126 -
OPERATION 10.DISPLAY AND SETTING

10.11.2 EX-ALARM Subpage


External alarm number and detail information are displayed on this subpage. These alarms are generated
by PLC. Please refer to the manual supplied by machine tool builder to locate the problem and solve it.
Press RESET key to release these alarms.

10.11.3 SV-ALARM Subpage


Current warning or malfunction is displayed in this subpage. When some servo bus axis work abnormally
and no other alarm is generated, CNC unit switches to this subpage. The flicking string "WRANING" will
be displayed in the right bottom corner of the screen when a warning about the servo bus axis is generated.
Press page keys to check the latter errors or warnings. This subpage is shown as below:

- 127 -
10.DISPLAY AND SETTING OPERATION

10.11.4 SV-RCORD
Malfunctions history records of servo bus are displayed on this subpage. As shown in the figure below.

10.12 GRAPHIC SCREEN


Tool paths are displayed on this screen. See Page 156GRAPHICS FUNCTION for more information.

10.13 SETTING SCREEN


Three subpages are provided in this screen which can be switched to by pressing soft keys [SETTING],
[PRM-SW] and [COOR SYS]. The former two subpages are displayed on the same screen.

10.13.1 Setting Subpage


As shown in the figure below, some soft switches are provided on this subpage. Beside the DATE, other
items' value could be 1 or 1. Following the steps below to set these soft switches.
1 Enter MDI mode
- 128 -
OPERATION 10.DISPLAY AND SETTING

2 Move cursor to select the item to be set


3 Input 1 or 0(Input an appropriate value for DATE)
4 Press 【INPUT】 key

Explanation
 ONCE GOAL
It represents the number of parts to be machined in one batch. Its range is from 0 to 65535. This number
will be outputted by diagnosis parameter "Target number used by the part counting function"
(INSTALLATION & DEBUG MANUAL Page 209 F0154)
 TOTAL GOAL
It represents the number of parts to be machined totally. Its range is from 0 to 65535. This number will be
outputted by diagnosis parameter "Number of one batch used by the part counting function"
(INSTALLATION & DEBUG MANUAL Page 209 F0156)
 MM/INCH
Function: It is used to set the programming unit. G20/G21 modal is also changed after setting this switch.
Don’t change it when machining. An alarm named "Servo not ready" will be generated if the
programming unit is changed.
1:Inch programming
0:Metric programming
NOTE
1 It is unable to change programming unit when "INCV"(INSTALLATION & DEBUG MANUAL
Page 123 P0001.5) is set to 0.
2 The selection of programming unit is saved when the power is turned off.
 PROGRAM SEQ.
Function: It controls the function of inserting block sequence number automatically. Please refer to
section I-9.2.7 for more information.
1:Insert block sequence number automatically when editing a program
0:Do not insert block sequence number automatically when editing a program

- 129 -
10.DISPLAY AND SETTING OPERATION

 LANGUAGE
Function: Select the language
1:English
0:Chinese
 PLC DBUG
Function: It controls PLC debug mode.
1:Enter debug mode
0:Exit debug mode
 LADDER VIEW
Function: Check authority switch of ladder diagrams. This switch is displayed only when the currently
used ladder diagrams have check code
1:Open authority. A message box will be displayed. Input correct code to obtain the authority to check
ladder diagrams.
0:Close authority
See I-11.5 for more information.
 LADDER EDIT
Function: Edit authority switch of ladder diagrams. This switch is displayed only when the currently used
ladder diagrams have edit code
1:Open authority. A message box will be displayed. Input correct code to obtain the authority to edit
ladder diagrams.
0:Close authority
See I-11.5 for more information.
 OPR. RIGHT
Function: Operation authority switch. This switch is displayed only when Operation Password is set.
1:Open authority. A message box will be displayed. Input correct code to obtain the operation authority
0:Close authority
See 《OPERATION》 for more information.
 DATE
Function: Set date and time
Available date ranges from 1970 to 2099. Year, mouth, day, hour, minute and second can be set separately.
System automatically calculates the week day and makes sure the date and time are correct.

10.13.2 PRM-SW Subpage


Two soft switches are provided on this subpage, which are used to open or close the parameter protective
key and servo parameter protective key. It is able to change the parameters' values only when the
protective key is opened.

Procedures

Press or to open or close parameter protective key. An alarm (PS100) will be

generated when the parameter protective key is turned on. Press 【RESET】 to clear the alarm when the
switch is turned off.

- 130 -
OPERATION 10.DISPLAY AND SETTING

10.13.3 COOR SYS Subpage


This subpage is used to set workpiece coordinate systems (G54~G59).

①Coordinates values ②Effective workpiece coordinate system

Explanation
 Coordinate values
Relative coordinates, absolute coordinates and machine coordinates are displayed in this area, which is
convenient to preform tool setting operations.
 Effective workpiece coordinate system
The currently effective workpiece coordinate system is displayed in this area, as shown by label ② in
the figure above.
 Operation
Press soft key [OPR] to display the menus used to set coordinate systems.

10.13.3.1 Set Coordinate System


The following seven soft keys are provided to set coordinate systems: [+C INPUT], [MEASURE], [C
INPUT], [+INPUT] and [INPUT]. The coordinate system to be set can be selected by moving cursor.
Whether the input operations by pressing [+C INPUT], [+INPUT] and [INPUT] need confirmation or not
is determined by the bit parameter "WKCFM". When WKCFM is set to 1, confirmation operation is
necessary.
 +C INPUT
Select the coordinate system to be set, input an axis address and press soft key [+C INPUT], a
confirmation string including the value used to set coordinate system will be displayed on the right
bottom corner of the screen. Press soft key [EXEC] to confirm the operation. New value is calculated
following the equation below.

- 131 -
10.DISPLAY AND SETTING OPERATION

New value = Old value + Relative coordiante of the target axis


For example, move cursor to select G54 coordinate system. Input address "X" to select the item of X-axis.
Press soft key [+C INPUT]. A red string "(2.900) CONFIRM?" is displayed on the right bottom corner of
the screen, as shown in the figure below. Press soft key [EXEC] to set the X-axis coordinate of G54 to
2.900.

 MEASURE
Select the coordinate system to be set, input an axis address and input the value measured in advance.
Press soft key [MEASURE]. New value is calculated following the equation below.
New value = Absolute coordinate − Input value
 C INPUT
Select the coordinate system to be set, input an axis address and press soft key [C INPUT]. New value is
calculated following the equation below.
New value = Relative coordinate of the selected axis
 +INPUT
Select the coordinate system to be set. Move cursor to select the target axis. Input a value and press soft
key [+INPUT]. A red string is displayed on the right bottom corner of the screen. Press soft key [EXEC]
to confirm the operation. New value is calculated following the equation below.
New value = Old value + Input value
 INPUT
Select the coordinate system to be set. Move cursor to select the target axis. Input a value and press soft
key [INPUT]. A red string is displayed on the right bottom corner of the screen. Press soft key [EXEC] to
confirm the operation. New value is calculated following the equation below.
New value = Input value

10.14 OPERATOR SCREEN


Some soft switches corresponding to physical keys on operator's panel are provided on this screen. It is
able to control machine directly by operating these soft switches.

It includes three subpages which can be switched to by pressing or soft key . Each

- 132 -
OPERATION 10.DISPLAY AND SETTING

subpage includes several switches. Each switch has independent name and operation key. This section
explanations the usage of these functions.

10.14.1 PAGE 1
As shown in the figure below, PAGE 1 is displayed on the left top corner of the screen.

Explanation
 OPER. MODE
Current effective working mode can be changed by this switch. Press soft keys [MODE-] and [MODE+]
to change working mode.
 SBK
It is used to change single block mode. Press soft key [SBK] to turn on or off this switch.
 ZRN
It changes the state of reference position return. In JOG mode, press soft key [ZRN] to switch to HOME
mode.
 DRN
It is dry run switch. In AUTO or MDI mode, press soft key [DRN] to turn it on or off.
 BDT
It is optional block skip switch. Press number key 1 on MDI panel to change its state.
 AFL
It controls the state of miscellaneous function lock. Press number key 3 to change its state. This soft
switch is displayed only when bit parameter "QGRH"(INSTALLATION & DEBUG MANUAL Page 125
P0005.0) is set to 0.
 PROG. KEY
It is used to turn the program protection switch on or off. Press number key 4 to change its state.
 MLK
It controls the state of axis lock. Press number key 5 to change its state. This soft switch is displayed only
when bit parameter "QGRH"(INSTALLATION & DEBUG MANUAL Page 125 P0005.0) is set to 0.

- 133 -
10.DISPLAY AND SETTING OPERATION

 QP SEL.
It represents the chuck type. ON means using external chuck, while OFF means using internal chuck.
Press number key 2 on MDI panel to change it state.
NOTE
The setting is nonvolatile, which means that the state is kept when power-off.

10.14.2 PAGE 2
As shown in the figure below, PAGE 2 is displayed on the left bottom corner of the screen.

Explanation
 FEEDRATE
It is used to adjust the feed rate. Press soft keys [RATE-] and [RATE+] to adjust it.
NOTE
If an external override switch is used to adjust feedrate override, soft keys [RATE-] and [RATE+] are
invalid.
 JOG RATE
This item is not used in the newest software. Feedrate in JOG mode is calculated automatically. See
section I-4.2 for more information.
 AXIS MOVE
In JOG, HANGLE, STEP and HOME mode, press soft key [AXIS-] or [AXIS+] to move current selected
axis to the negative or positive direction.
 STARTHOLD
In AUTO and MDI mode, press soft key [ST./HOLD] to start program execution or stop it.
NOTE
Whether the soft key [ST./HOLD] is effective or not is determined by bit parameter "MSSTK"
(INSTALLATION & DEBUG MANUAL Page 173 P5600.7). When MSSTK is set to 0, the soft
key [ST./HOLD] is effective.
 AXIS SEL.
In JOG, HANGLE, STEP and HOME mode, press number key 1 to select axis periodically. Only the

- 134 -
OPERATION 10.DISPLAY AND SETTING

selected axis can be operated in above modes.


 JOG RAPID
It is the rapid switch in JOG mode. Press number key 2 to change its state.
 SPIN JOG INC
In STEP or HANDLE mode, press number key 3 to select the least increment amount corresponding to
one step.
 RAPID RIDE
It is used to adjust rapid traverse override. Press number keys 4 or 5 to adjust the override.
 SPINDLE RIDE
It is used to adjust spindle speed override. Press number keys 6 or 7 to adjust the override.

10.14.3 PAGE 3
As shown in the figure below, PAGE 3 is displayed on the right side of the screen.

Explanation
 SPINDLE POS. TURN
Press soft key [SPIN+] to make spindle rotate at the CW direction. If the current rotation direction is
CCW, spindle stops first and rotates at the CW direction.
 SPINDLE NEG. TURN
Press soft key [SPIN-] to make spindle rotate at the CCW direction. If the current rotation direction is CW,
spindle stops first and rotates at the CCW direction.
 SPINDLE STOP
Press soft key [SPINSTOP] to stop spindle.
 SPINDLE JOG
Spindle rotates at the CW direction when the soft key [SPIN JOG] is pressed down, it stops when the soft
key [SPIN JOG] is released.
 COOL START OR HOLD
It is used to control the coolant equipment. Press soft key [COOLSTOP] to turn it on or off.

- 135 -
10.DISPLAY AND SETTING OPERATION

 SPEED BY HANDLE
In AUTO or MDI mode, press number key 2 to turn the switch on or off. When it is turned on, the string
"HAND" is displayed on the right side of working mode string, tool path is controlled by program and
feed rate is controlled by handle, not F code in program. Rotate the handle in positive direction to move
tool in the direction specified by program, and rotate the handle in negative direction to move tool in the
opposite direction specified by program.
NOTE
1 Set bit parameter "HPG"(INSTALLATION & DEBUG MANUAL Page 123 P0001.3) to 1 first
before using this function.
2 P5310 is used to set smooth time, which is useful to decrease the vibration caused by manually
rotation.
3 It is unable to retract across multiple blocks when rotate handle in the negative direction. The
beginning position of the current block is the limitation.
 LUBRICATE START
It is used to control the lubrication equipment. Press number key 3 to turn it on or off.
 MANUAL CHANGE TOOL
Press number key 6 to change tool manually. Please refer to the manual supplied by machine tool builder.
 OPTION STOP
It is optional block stop switch. Press number key 0 to change its state.
 CHANGE GEAR
Press number key 1 to change spindle gear.

- 136 -
OPERATION 11.PLC DESCRIPTION

11 PLC DESCRIPTION
11.1 PLC SPECIFICATION
Programming
Use relay signs to design ladder diagram. See PLC USER'S MANUAL for more information.

Scanning period
1 About 1μs per step
2 High level procedures: 8 ms per cycle
3 Low level procedures: 8n ms per cycle, n is determined by the sizes of low level and high level
procedures.

Memory
PLC procedures are stored in electronic disk. The upper limitation size of PLC procedures is 1024kB.
Considering limited memory, CNC unit has to assign upper limitations for PLC data. Those data
exceeding upper limitation will be ignored. Specific upper limitations for different kinds of data are as
follows:
1 Label: 8 bytes
2 Signal name: 16 bytes
3 Signal comment: 64 bytes;
4 Ladder diagram comment: 64 bytes
5 Alarm information: 64 bytes
6 Operation presentation: 64 bytes
7 PLC version: 64 bytes

Addresses and ranges


Address Meaning Range
X Input signals from machine to CNC (MC→PC) X000~X999
Y Output signals from CNC to machine (PC→MC) Y000~Y999
F NC→PC F0000~F9999
G PC→NC G0000~G9999
R Internal relays R0000~R9999
S Internal special flags S000~S019
N Internal special flags N700~N999
K Internal nonvolatile relays K000~K255
D Data table D0000~D9999
C Counter C000~C999
T Timer T000~T999

- 137 -
11.PLC DESCRIPTION OPERATION

Address Meaning Range


L Label number L0000~L9999
P Subprogram number P0000~P9999

Command numbers
This CNC unit provides 71 commands totally, including basic commands and functional commands.

Display and setting


1 States of I/O signals and relays can be checked on DIGANOSIS screen.
2 Timers and counters can be set and checked on DIAGNOSIS screen.
3 Data in K field and D field can be checked and set on DIAGNOSIS screen.
4 Ladder diagram can be checked on DIAGNOSIS screen.

Development software
Use the software provided by KND company on PC to develop PLC procedures. It provides the following
functions:
1 Edit ladder diagram
2 Download PLC procedures into CNC system.
3 Debug PLC procedures, support breakpoint and single-step operations.
4 Upload and download PLC parameters.
5 Print ladder diagram and signals' list.
Please see PLC USER'S MANUAL for more information about how to use this software to make PLC
procedures.

11.2 PLC DIAGNOSIS SCREEN


PLC diagnosis data are mainly classified into 3 types: PLC I/O status, PLC parameters and NC status.
Only PLC parameters can be specified by users. The other two types of data are determined by external
I/O, CNC system and PLC procedures, and their values can be checked on DIAGNOSIS screen.
As shown in the figure below, 5 soft keys are provided: [PC Join], [PC Para], [NC Stats], [RUN PLC] and
[LAD].

- 138 -
OPERATION 11.PLC DESCRIPTION

The left three soft keys own submenus:

 [PC Join]:

 [PC Para]:

 [NC Stats]:

Press soft keys [MC→PC X], [PC→MC Y], [PC→NC G], [NC→PC F], [R], [K], [Data], [Timer],
[Counter], [OFFSET], [S], [N] and [FPGA] to switch to the 13 subpages in this screen. Each subpage uses
multiple pages to display corresponding data, press page keys to switch to desired page.

Information of diagnosis signals


Signals names have higher priority to be displayed in information area. Comments of a signal can also be
displayed if it exists. All these information are downloaded together with ladder diagram.
1 In word display mode, if cursor locates on a bit diagnosis signal, signal's name and comments are
displayed in the first line, and signals' names of the current byte are displayed in the second line. 8
characters of the name string can be displayed at most.
2 In bit display mode, if cursor locates on a bit diagnosis signal, the selected signal's name is displayed
in the first line. 16 characters of the name string can be displayed at most. Signal's comments are
displayed in the second line.
3 If cursor locates on word parameter, signal's name is displayed in the first line, and comments are
displayed in the second line.

Explanation
 PLC data type
Similar to bit parameters, press 【CHANGE】 to enter bit display mode. Each bit can be selected
independently.

- 139 -
11.PLC DESCRIPTION OPERATION

11.2.1 Search Data


It is able to switch to each subpage by pressing soft keys, and select the desired address by moving cursor.
In addition, this CNC unit provides a more efficient method for selecting desired data.

Procedures
1 Enter any subpage of DIAGNOSIS screen except for the page displaying ladder diagram
2 Input an address character, for example: "X".
3 Input the data number desired, for example: "100"
4 Press 【INPUT】 key. Input buffer is cleared. System locates cursor on the data number if the data is
found.

Search signal's name


It is able to search a signal by searching its name. Input a character "/" followed by a signal name. CNC
unit search the signal from the current position. Cursor is moved to the first matched signal.
For example, cursor is moved to K0.7 when the string "/SKEY" is searched. The information of the
currently searching operation is displayed in INFO area.
Moving cursor, pressing 【CAN】 or pressing 【RESET】 to terminate searching operation. If no signal
matches the desired signal name, input buffer is cleared and cursor won't be moved.
For signals in X, Y, R, K, D, T, C, TL and S fields, CNC unit search desired signal in the name list
downloaded together with ladder diagram. For signals in G, F, N and FP fields, CNC unit search desired
signal in the internal name list.

11.2.2 Debug Output Signal


When PLC is running normally, values of signals in X, Y, G, F and R fields can not be changed manually.
However, values of signals in Y field can be changed manually when the PLC is stopped, which is
convenient to debug machine tool.

Procedures
1 Enter MDI mode, set the soft switch "PLC DBUG" to 1 on SETTING screen.
2 Turn on program protective switch
3 Select the signal to be set
4 Change its value.
5 Press 【INPUT】 key to activate the setting. The signal will be outputted to machine tool.
6 Set the soft switch "PLC DBUG" to 0 and make PLC run again. Turn off program protective switch.

11.2.3 Displaying and Setting of K-field Data


掉电保持继电器的地址范围是 K 区所有变量,即 K0~K255,存电子盘时包含这些数据。
All data in K field are nonvolatile and can be restored from electronic disk.
Press [PC Para]>[K] to enter the page displaying K data. All K data are 8-bit binary values. It is able to
set them in bytes mode and bit mode.

Procedures
1 Enter MDI mode, turn the program protective switch on.
- 140 -
OPERATION 11.PLC DESCRIPTION

2 Select the data to be set.


3 Input a byte value in binary format in bytes mode, or input 1 or 0 in bit mode.
4 Press 【INPUT】 key
NOTE
It is not necessary to turn the program protective switch on when setting K0.

11.2.4 Displaying and Setting of D-field Data


D-field date ranges from D0000 to D9999. They are also stored in electronic disk.
Press [PC Para]>[Data] to enter the page displaying D data. Note that setting operation should consider
the data type. 8-bit binary data can also be set by bit.

Procedures
1 Enter MDI mode, turn the program protective switch on.
2 Select the data to be set.
3 Input a number according to the data type.
4 Press 【INPUT】 key
NOTE
Though TL000~TL999 and D4000~D9999 point to same data, "TL40xx" cannot be found by
searching "D40xx". Input "TL40xx" to search a data in the range from TL000 to TL095.

11.2.5 Displaying and Setting of Timers


This CNC unit provides 1000 timers indexed from 0 to 999. They are displayed and set on subpages in
the DIAGNOSIS screen which can be switches to by pressing soft keys [PC Para]>[Timer]. Each timer
has two items, the upper one is used to specify the time length and the lower one displays the current
value. Their values are displayed as decimal numbers and the unit is millisecond. The available setting
range is from 16 millisecond to 172800000 second. The timer length specified in the upper item is stored
in electronic disk.

Procedures
1 Enter MDI mode, turn the program protective switch on.
2 Select the data to be set.
3 Input a number according to your application (the unit is ms)
4 Press 【INPUT】 key

11.2.6 Displaying and Setting of Counters


This CNC unit provides 1000 counters indexed from 0 to 999. They are displayed and set on subpage in
the DIAGNOSIS screen which can be switches to by pressing soft keys [PC Para]>[Counter]. Each
counter has two items, the upper one is used to specify the counters times and the lower one displays the
current value. Their values are displayed as decimal numbers and the available setting range is from 0 to
4294967295 ( 232 − 1 ). The counter times specified in the upper item is stored in electronic disk.

Procedures
1 Enter MDI mode, turn the program protective switch on.

- 141 -
11.PLC DESCRIPTION OPERATION

2 Select the data to be set.


3 Input a number according to your application
4 Press 【INPUT】 key

11.3 PLC OPERATIONS


This CNC unit provides two electronic disks to save PLC procedures, electronic disk A and electronic
disk B. CNC unit always runs the PLC stored in disk A. If the PLC in disk A is wrong, the alarm PS175
will be generated. Disk B is used to backup, and the PLC procedures in it won't be executed. Generally,
PLC in disk A can be saved in disk B. PLC in disk B can also be restored into disk A, but the old PLC in
disk A should be deleted first.

11.3.1 Enter or Exit Debug Mode


It is necessary to enter debug mode before performing all kinds of PLC operations.

Procedures
 Enter debug mode
1 Enter MDI mode, switch to the first subpage of SETTING screen
2 Set the item "PLC DEBUG" to 1
NOTE
It may be impossible to enter MDI mode when an incorrect PLC is installed. In this case, follow the
steps below to enter debug mode.
1 Turn CNC unit
2 Press 【ALTER】 and D synchronously when turning on CNC unit
3 CNC unit automatically enter MDI mode and enter debug mode.
 Exit debug mode
1 Switch to the first subpage of SETTING screen
2 Set the item "PLC DEBUG" to 1

11.3.2 Download PLC


This operation downloads PLC from PC into CNC unit and save it in electronic disk A.

Procedures
1 Enter debug mode.
2 Set attributes of serial port according to the set of development software. Data bits should be set to 8.
3 Download PLC procedures and ladder diagram into CNC unit.
4 CNC unit automatically checks received data and saves them into electronic disk A.

11.3.3 Backup PLC


Procedures
1 Turn program protective key on.
2 Enter debug mode.
3 Switch DIAGNOSIS screen, move cursor on N999.

- 142 -
OPERATION 11.PLC DESCRIPTION

4 Input "12345678".
5 Press 【INPUT】 key. A message box indicating CNC unit is performing saving operation will be
displayed, and PLC in disk A will be saved in disk B.
6 The message box in step 5 will be closed when the backup operation is finished.
7 Exit debug mode.
8 Turn program protective key off.
NOTE
Electronic disk B won't be written if the PLC in disk A is incorrect or no PLC is saved in disk A.

11.3.4 Delete PLC


This operation deletes the PLC in electronic disk A.

Procedures
1 Press keys X and D synchronously when turning CNC unit on. A message "Erase PLC disk, push
'RESET' to confirm, or push 'CAN' to cancel." will be displayed.
2 Press 【RESET】 key to delete the PLC in disk A.

11.3.5 Restore PLC


Procedures
1 Delete the PLC procedures in disk A
2 CNC unit enters MDI mode PLC debug mode, program protective key is turned on.
3 Switch DIAGNOSIS screen, move cursor on N997.
4 Input "87654321"
5 Press 【INPUT】 key. PLC in disk B will be restored in disk A.
6 Exit debug mode. CNC unit starts to scan PLC procedures.

11.3.6 Debug PLC


Procedures
1 Enter debug mode
2 Set attributes of serial port according to the set of development software. Data bits should be set to 8.
3 Download PLC procedures and ladder diagram into CNC unit
4 Operate the development software on PC to debug PLC procedures.

11.3.7 Download PLC Parameters


Procedures
1 Enter debug mode
2 Set attributes of serial port according to the set of development software. Data bits should be set to 8.
3 Operate the development software on PC to upload or download PLC parameters
4 Exit debug mode.

- 143 -
11.PLC DESCRIPTION OPERATION

NOTE
It is also available to input or output PLC parameters with the "KND SERIAL PORT
COMMUNICATION SOFTWARE". Please see I-13.7 for more information.

11.3.8 Check PLC Version


Procedures
1 Switch DIAGNOSIS screen, locates cursor on N997 or N999.
2 The PLC version information will be displayed on the bottom of the screen.

11.4 PLC MONITOR FUNCTION


This function is used to check and manage ladder diagram on CNC unit.

Major function
1 Monitor of ladder diagram: Real time status of ladder diagram and relays can be displayed
dynamically.
2 Intensive monitor of selected nets: Selected nets can be displayed dynamically, which is useful to
monitor a set of related nets at the same time.
3 Subprogram management: Subprograms' list can be displayed independently, in addition, a
subprogram can be created and delete in the list screen. Specified subprogram can be displayed
independently, which is convenient to monitor and edit subprogram.
4 Search and jump function: It is able to search input relay, output relay, functional command,
subprogram's number, label etc. It is also able to jump to specific net.
5 Signal trace function: A signal's state can be sampled in real time and displayed as wave form. It is
mainly used to monitor I/O signals.

Views
Entry of the function of PLC edit on CNC locates on the ladder diagram screen. The following views will
be described in this section: ladder diagram monitor view, intensive monitor view and signal trace view.

11.4.1 Monitor View


On DIAGNOSIS screen, press soft key [LAD] to switch to monitor view, as shown in the figure below:

- 144 -
OPERATION 11.PLC DESCRIPTION



② ⑥


①Left bus line ②Net number ③Net label ④Net information


⑤Right bus line ⑥Scroll bar ⑦Cursor

Explanation
 Bus line
Two bold vertical lines are displayed on the left side and right side of the screen. They are called bus line,
as shown by the labels ① and ⑤.
 Ladder diagram space
The space between two bus lines is called ladder diagram space. Current used ladder diagram is displayed
here.
Display space of one page includes 10 lines and 8 columns. Each input relay or output relay takes one
grid.
 Scroll bar
Generally, a completer ladder diagram can not be displayed in one page. Press page keys to switch
between pages. Scroll bar indicates where the current displaying page locates in the whole diagram.
 Net number and label
Each net has an unique sequence number displayed on the left side of the left bus line, as shown by the
label ②. It is called net number. Net number changes dynamically when creating net or deleting net. For
convenience to jump to a specific net, a certain label may be needed. If a label is assigned for a net, CNC
unit displays net label instead of the net number, as shown by the label ③.
 Input/output
Six basic input/output relays are provided: RD, RD.NOT, WRT, WRT.NOT, RESET, SET. The variables
corresponding to these relays are bit parameter, which only has two values 0 and 1. CNC unit uses two
kinds of colors to distinguish these two values.
Command Value Diagram
0
RD
1
RD.NOT 1

- 145 -
11.PLC DESCRIPTION OPERATION

Command Value Diagram


0
0
WRT
1
0
WRT.NOT
1
0
RESET
1
0
SET
1
 Cursor
As shown by label ⑦, cursor is displayed as a yellow rectangular. The net where cursor locates is called
current net.
 Net information
As shown by the label ④, net information can be classified into three parts: net comments, signal
information and search range.
1 Net comments: It is available to write some comments for each net.
2 Signal information: Name, address, status and trace status of the current selected signal are displayed
in one single line. These information are separated by "=". Each signal may have comments too.
3 Search range: It is displayed on the right side of the net information space. Current search range is
displayed on the first line and program number is displayed on the second line.
When cursor locates on the first grid of a net, if it exists, net comments will be displayed on the first line.
Signal information is displayed on the second line. If no comment exists or cursor does not locate on the
first grid, CNC unit displays signal information on the first line and signal comments on the second line.
NOTE
Upper length limitation of the comments string is 31 letters or 15 Chinese characters. The other parts
will be ignored.

Operation
The following menus are provided by monitor view.

 LIST
Press soft key [LIST] to display subprogram list. See 《OPERATION》 for more information.
 EDIT
Press soft key [EDIT] to display the edit view of ladder diagram. This menu is displayed only when the
edit function is enabled. See 《OPERATION》 for more information.
 MONITOR
Press soft key [MONITOR] to display intensive monitor view. See I-11.4.2 for more information.
 TRACE
Press soft key [TRACE] to display trace view. See I-11.4.3 for more information.
- 146 -
OPERATION 11.PLC DESCRIPTION

 SEARCH
Press soft key [SEARCH] to display its submenus. See I-11.4.1.2 for more information.
 DATA
If the functional command has data table, press this soft key to check the data table. See I-11.4.1.3 for
more information.
 Assign a value to relay
1 Enter MDI mode, turn the program protective key on.
2 Move cursor to a relay whose address is X, Y or R.
3 Input a desired value
(1) For a byte variable, allowable value is from 0 to 255.
(2) For a bit variable, allowable value is 0 or 1.
4 Press 【INPUT】 key. CNC unit assigns the input value to the relay where cursor locates.
NOTE
Generally, the value of a relay (X, Y or R) is updated in real time. The assigned value will be covered
in the next scanning period, which seems like the value is not changed. This function is usually used
in debug mode.

WARNING
Pay more attention to machine tool when using this function because incorrect operation may result in
the machine tool moving unexpectedly. Ensure that operators are in safety area before using this
function.

11.4.1.1 Subprogram List View


Press soft key [LIST] to display this view, as shown in the figure below:

Explanation
 Number
Sequence number of programs starts from 0. Background of the number where cursor locates is yellow.

- 147 -
11.PLC DESCRIPTION OPERATION

 Name
GLOBAL: All nets
LEVEL1: High level nets before END1 command
LEVEL2: Low level nets after END1 and before END2
Pxxxx: Subprograms
 Size
Number of the nets included.

Operation
 Select a subprogram
1 Move cursor to select the target subprogram
2 Press soft key [SELECT]. The screen displaying ladder diagram is displayed. However, only the
selected subprogram is displayed.

 Return
Press soft key [RETURN] to return to monitor view.

11.4.1.2 Search Operations


In monitor view, press soft key [SEARCH] to display its submenus shown as follows. Press to

switch between the two pages.

Operations
 STRAT
Press soft key [START] to move cursor to the first net.

- 148 -
OPERATION 11.PLC DESCRIPTION

 END
Press soft key [END] to move cursor to the last net.
NOTE
Soft keys [START] and [END] are provided in the same position. When cursor locates in the first net,
[START] is available, when cursor locates in the last net, [END] is available.
 Jump
1 Input address "J"
2 Input the desired net number

3 Press soft key [SEARCH ↑], [SEARCH ↓], or

4 If the desired net exists, cursor will be moved to it.


 Search label
1 Input complete label number or part of it, for example, "L1"

2 Press soft key [SEARCH ↑], [SEARCH ↓], or

 Search subprogram
1 Input complete subprogram number or part of it, for example, "P100"

2 Press soft key [SEARCH ↑], [SEARCH ↓], or

 Search variable
1 Input address of the desired variable following the three methods below:
(1) Byte address: "X100", "X100.0"~"X100.7" match when searching "X100"
(2) Byte address with decimal point: "X100.0"~"X100.7" match when searching "X100."
(3) Bit address: Only "X100.0" matches when searching "X100.0"

2 Press soft key [SEARCH ↑], [SEARCH ↓], or

 Search functional command


1 Input complete name of the desired functional command or part of it, for example, "MOV"

2 Press soft key [SEARCH ↑], [SEARCH ↓], or

NOTE
1 Prefix matching is available when searching label, subprogram number or functional command.
For example:
(1) "L1": "L1", "L10", "L101", etc.
(2) "P1": "P1", "P10", "P101", etc.
(3) "MOV": "MOVE", "MOVB", "MOVOR", etc.
2 Prefix matching is not available when searching variable. For example, "R10" does not match
when searching "R10".
 Search signal's name
It is able to search signal by its name in ladder diagram. The format is: "/"+Signal name. Press cursor up
or cursor down key to start searching. If no signal matches with the searched string, input buffer is cleared
and cursor is not moved. For example, by searching "/SKEY", cursor is located on the first matched
signal K0.7.
- 149 -
11.PLC DESCRIPTION OPERATION

 Switch display mode


Display mode can be switched by press soft keys [ADDRESS] and [NAME].
1 Address mode: All signals are displayed as addresses
2 Name mode: For those signals have names, names will be displayed in this mode. For those signals
does not have names, address will be displayed.
NOTE
Allowable length of signal names is 8 in CNC unit. Through length of signal names are not limited on
PC, they are automatically cut off to ensure the maximum length is not bigger than 8. To avoid
duplication of name, a sequence number may be added at the end of a signal name which is cut off.
For example, ABCDEFGHD_RG and ABCDEFGHD_EF will be simplified as ABCDEFG1 and
ABCDEFG2.
 Switch search range
Search operation can be performed in the range currently displaying or globally. Press soft keys
[GLOBAL] and [LOCAL] to switch between the two modes.
1 If a GLOBAL item is selected in program list, soft key [LOCAL] is invalid because the two search
modes have the same results.
2 When the LEVEL1, LEVEL2 or a subprogram is selected, local search operation is performed by
default. In GLOBAL search mode, CNC unit automatically switch subprograms according to the
search result. Search range and subprogram number are displayed at the right bottom corner of the
screen.
 Put net in the monitor view
1 Move cursor to the net to be monitored
2 Press soft key [ADD-MON.]. CNC unit puts the selected net in the monitor view. A red point will be
displayed on the left side of the nets already put in monitor view
 Put signal in the trace view
1 Move cursor to the grid to be traced
2 Press soft key [ADD-TRACE]. CNC unit puts the selected signal in the trace view. If a byte signal is
selected, all the 8 bits will be put in trace view.

11.4.1.3 Check Data Table


When cursor locates on a functional command such as COD, CODB, soft key [TABLE] is displayed on
the second menu page.

- 150 -
OPERATION 11.PLC DESCRIPTION

As shown in the figure below, data table is displayed after pressing soft key [TABLE]. Press soft key
[RETURN] to return back to the monitor view.

11.4.2 Intensive Monitor View


Press soft key [MONITOR] to switch to intensive monitor view. In intensive monitor view, only the
selected nets are displayed, in contrast, all nets are displayed on monitor view. For ladder diagrams
including large-scale nets, intensive monitor view is more useful to check and monitor desired nets.
As shown in the figure below, all nets in intensive monitor view are displayed sequentially, not
determined by the add time.

- 151 -
11.PLC DESCRIPTION OPERATION

Operations
 PICKUP
Press soft key [PICKUP] to read the nets including target signal into intensive monitor view. The follow
three methods are available.
1 Clear input buffer. Move cursor on the desired signal in a net in intensive monitor view. Press soft key
[PICKUP] to read all nets including target signal into intensive monitor view.
2 Input the address of the target signal such as "K1.0" and press soft key [PICKUP]. The nets including
the signal "K1.0" will be read into intensive monitor view.
3 Input the address matching multiple signals such as "K1." and press soft key [PICKUP]. The nets
including the signals "K1.0~K1.7" will be read into intensive monitor view.
 JUMP
Press soft key [JUMP] to return to monitor view and put cursor on the net which is selected in intensive
monitor view.
 Delete a net
Press 【DELETE】 key to remove the selected net from intensive monitor view.
 CLEAR
Press soft key [CLEAR] to remove all nets in intensive monitor view.
 SEARCH
Press soft key [SEARCH] to display its submenu, as shown in the figure below. Functions of these soft
keys are the same as those in monitor view.

 LADDER
Press soft key [LADDER] to return to monitor view.
 Assign a value to relay
See Page 144Monitor View for more information about how to assign a value to a relay manually.

- 152 -
OPERATION 11.PLC DESCRIPTION

Restriction
In JOG, HOME, STEP/HANDLE mode, or some G code is being executed, soft keys [PICKUP] and
[CLEAR] are not displayed and delete operation by pressing 【DELETE】 key is also invalid. However,
the soft key [ADD-MON.] under [SEARCH] menu is effective in these cases.

11.4.3 Trace View


Press soft key [TRACE] to switch to this view.
Waveforms of target signals can be monitored in this view. As shown in the figure below, it is visualized
to monitor the states of target signals.

Explanation
 Signal list
Signals' names or signals' addresses are displayed on the left side of the screen. Press cursor up or cursor
down key to move cursor. Background color of the selected signal is yellow.
 Waveform area
Waveforms are displayed on the right side of the screen. Press soft key [START] to display waveforms
dynamically. Press cursor left or cursor right key to move waveform cursor position. Position of
waveform cursor is displayed on the bottom of the screen.
 Information
Information area locates on the bottom of the screen. Sampling period is displayed in the first line and
cursor position is displayed in the second line.

Operation
 Add a signal
Input the address of the target signal to be traced and press soft key [ADD] or 【INPUT】 key to add one
signal or multiple signals into trace list. A byte address will be automatically separated into 8 bit signals.
 Alter a signal
1 Move cursor to the signal to be altered.

- 153 -
11.PLC DESCRIPTION OPERATION

2 Input a new signal.


3 Press 【ALTER】 key.
 Delete a signal
Press 【DELETE】 key to delete the currently selected signal.
 Clear all signals
Press soft key [CLEAR] to delete all signals in trace list.
 Start and stop tracing
Press soft key [START]/[STOP] to start and stop tracing operation.
128 data at most can be saved in memory for each signal in real time. A newly sampled data will be put
into memory and the last data will be abandoned. The last 128 data will be saved if sampling operation is
stopped.
 Change sampling period
Press key [TIME+] or [TIME-] to increase or decrease sampling period. Sampling period doubles by
pressing [TIME+] once and it halves by pressing [TIME-] once. The existing waveforms will be cleared
after changing sampling period.
Current used sampling period is displayed in the 1st line of information area. The least sampling period is
the same as the scanning period of PLC. When the master control period is 2ms, the least sampling period
is 8ms and the largest sampling period is 1024ms.

Restrictions
1 It is not able to trace timers or counters.
2 It is able to trace 32 signals at most at the same time.
3 It is able to save 128 data in memory at most for each signal.
4 The least sampling period is the same as scanning period of PLC and the largest sampling period is
1024ms.

11.5 LADDER DIAGRAMS PROTECTION FUNCTION


This function is designed to protect intellectual property right of PLC. Check password and Edit
password can be defined by the development environment of PLC on computer. It is necessary to
obtain authority first on CNC unit before checking, transmitting or edit of the encrypted ladder diagrams.

11.5.1 Authority Management


If check password or edit password is set for the ladder diagrams, corresponding switch will be displayed
on SETTING screen. See Page 128I-10.13.1 for more information.
By default, the two authority switches are turned off when power-on. A message box will be displayed if
the switch is turned on. Input the correct password to obtain corresponding authority. Authority switch
can be turned off directly after obtaining authority, and password is not necessary when turning on the
switch again in this case.
Edit authority has higher priority than check authority, which means check authority will also be obtained
when edit authority is obtained and edit authority will also be lost when check authority is lost. For fixed
PLC procedures, ladder diagrams can not be displayed or edited.
The following operations will change states of authority switches.
1 Input PLC procedures

- 154 -
OPERATION 11.PLC DESCRIPTION

2 Input ladder diagrams (*.kin)


CNC unit reset states of authority switches according to the newly input ladder diagrams. If the ladder
diagrams are not encrypted, no authority switch is displayed. If it is encrypted, input the password of
the new ladder diagrams to obtain edit authority.
Alarm PS571 is generated when checking ladder diagrams without check authority, and alarm PS572 is
generated when editing ladder diagram without edit authority.

11.5.2 Password Operation


A message will be displayed when turning on the state of an authority switch. Password comprises 1~8
numbers. Press 【INPUT】 key to confirm the input operation. If the password is correct, the message box
exits and the corresponding authority is obtained. If it is incorrect, times of last chances of input other
passwords is displayed on message box. Input 10 times at most. Press 【CANCEL】 to terminate the
message box directly.
NOTE
1 Ladder diagrams passwords can not be created or changed on CNC unit.
2 CNC unit does not check the update package which may include PLC procedures, and the initial
ladder diagrams in CNC unit will be covered.
3 Theoretically, encrypted ladder diagrams can still be decrypted. The source file of ladder diagrams
should also be protected appropriately.

- 155 -
12.GRAPHICS FUNCTION OPERATION

12 GRAPHICS FUNCTION
The graphics function indicates how the tool moves during automatic operation or manual operation. This
CNC unit supports displaying tool path graphics and solid graphics.
Tool path graphics or solid graphics are displayed on GRAPHICS screen and POSITION screen. Graph
area of the former one is bigger than the latter one. As shown in the figure below, two sub-pages are
included in GRAPHICS screen which can be switched to by pressing soft keys [GRAPRM] and
[GRAPH].

12.1 TOOL PATH GRAPHICS


Tool paths following absolute coordinates or machine coordinates are displayed in this mode. Set the soft
switch on GRAPRM subpage to select the absolute coordinates or machine coordinates.
If tool path graphics are drawn following absolute coordinates, use "DAL"(INSTALLATION & DEBUG
MANUAL Page 143 P2300.6) and "DAC"(INSTALLATION & DEBUG MANUAL Page 143 P2300.7)
to select whether tool length compensation and tool radius compensation are considered or not.
1 DAC = 0: Tool radius compensation is considered
2 DAL = 0: Tool length compensation is considered
NOTE
1 When graphics changes following absolute coordinates, axis lock function does not affect tool path
graphics. It is convenient to watch tool paths when debugging programs by turning axis lock
switch and dry running switch on.
2 When graphics changes following machine coordinates, tool path graphics won't be drawn when
the axis lock switch is turned on.

- 156 -
OPERATION 12.GRAPHICS FUNCTION

12.1.1 GRAPRM Subpage


Explanation
 GRAPHICS
Set GRAPHICS to 0 to enable tool path graphics function.
 DATA
Select the data source of graphics.
0:Graphics changes following the absolute coordinates
1:Graphics changes following the machine coordinates
2:Graphics changes following the actual output position
 COORDINATE
1 Axis-1: Select data source of the X-axis of the drawing coordinate system. CNC unit automatically
reads data of the selected axis and draws the graphics.
2 Axis-2: Select data source of the Y-axis of the drawing coordinate system. CNC unit automatically
reads data of the selected axis and draws the graphics.
3 Axis-3: Select data source of the Z-axis of the drawing coordinate system. CNC unit automatically
reads data of the selected axis and draws the graphics.
NOTE
1 Input "0" to cancel drawing of path of the corresponding axis
2 The addresses X, Y and Z displayed on screen correspond with the 1~3 axes.

Procedures of setting graphics parameters


1 Move cursor to select the parameter to be set
2 Input a new value
3 Press 【INPUT】 key
NOTE
The graphics already drawn is not changed when one or more parameters are changed. Only the tool
path after setting operations is drawn according to new parameters.

12.1.2 GRAPH Subpage


Display
Press soft key [GRAPH] to switch to this subpage. As shown in the figure below, the following elements
are displayed on this subpage.
1 Right-top: Absolute coordinates
2 Left-top: The currently used coordinate system. Arrow represents the positive direction.
3 Center: Graphics are displayed here. Rapid traverse is drawn by white dot line and feed is drawn by
yellow solid line.
4 Bottom: Menus are displayed here, including [START] and [CLEAR].

- 157 -
12.GRAPHICS FUNCTION OPERATION

Operations
 START
Press soft key [START] or S key on panel to start drawing tool path. When absolute coordinate values are
changed in AUTO, MDI or MANUAL mode, tool path will be drawn.
 STOP
Press soft key [STOP] or T key on panel to stop drawing tool path.
 CLEAR
Press soft key [CLEAR] or R key on panel to clear graphics on screen.

12.1.3 Graphics Transformation


CNC unit draws graphics automatically using an appropriate scaling. After finished, the graphics can be
transformed to watch its detail.
When paths of two or more axes are selected to be drawn, some submenus can be displayed by pressing
soft key [GRAPH]. Structures of the submenus are as follows:
GRAPH

TRANS

TRANS TRSX+ TRSX- TRSZ+ TRSZ+

ROTATE ROT+ ROT -

ZOOM ZOOM+ ZOOM-

REVIEW

VIEW

FRONT

BACK

- 158 -
OPERATION 12.GRAPHICS FUNCTION

Shortcut keys
Key Operation
‘S’ Start drawing
‘T’ Stop drawing
‘R’ Clear graphics
‘+’ Magnify graphics
‘-’ Minify graphics
‘→’ Move graphics toward right
‘←’ Move graphics toward left
‘↓’ Move graphics down
‘↑’ Move graphics up
‘CHANGE’ Transform view
‘CANCEL’ Reset transform view

Self-adaption of graphics
CNC unit draws graphics automatically using an appropriate scaling. Press soft key [CLEAR] to remove
initial data in memory, which is used to reset transformation modes and internal peak points, and press 'S'
or soft key [START] to draw a new graphics of another program.
Self-adaption function will be turned off when manually transformations including TRANS, ROTATE or
ZOOM are performed. Press 【CANCEL】 key or soft key [REVIEW] to clear transformation modes and
turn on the self-adaption function again.
NOTE
Graphics data are saved in a buffer whose size is 64kB. CNC unit automatically abandons the first
data if total graphics data exceeds the buffer, in this case, graphics actually displayed on screen may
be uncompleted.

12.2 SOLID GRAPHICS


Solid graphics are drawn based on the blank contour and tool path. The part to be cut will be removed
from the blank contour and the eventual part contour will be displayed.
Solid graphics have the following characteristics:
1 Blank contour: Blank contour can be specified. It may be a rectangular solid or a cylinder. Axial line of
the cylinder can be Z-axis.
2 Machining process: Machining process can be drawn in real time, which is convenient to watch the
actual machining motion.
3 Part contour: Eventual part contour can be drawn. Both rough and fine modes are available to drawn
graphics.
4 Coordinate converting: It is able to shift, rotate and scale the graphics.
5 Cutaway view: Cutaway view can be displayed, including cutaway views along X axis, Z axis and
X+Z axis. In addition, tangent plane of the cutaway view can be moved to watch the plane in different
position.
6 Color: Up to 10 colors can be used as the surface color.

- 159 -
12.GRAPHICS FUNCTION OPERATION

NOTE
1 It is unable to draw the thread cutting process in solid graphics mode.
2 Solid graphics function is valid only when "G3D"(INSTALLATION & DEBUG MANUAL Page
125 P0004.5) is set to 1.
3 CNC unit always draws solid graphics following machine coordinates. Solid graphics won't be
drawn if the axis lock switch is turned on.

12.2.1 GRAPRM Subpage


Explanation
 GPAPHICS
Set GRAPHICS to 1 to enable solid graphics function.
 DATA
Select the data source of graphics.
0:Graphics changes following the machine coordinates
1:Graphics changes following the actual output position
 DIMENSION
Dimension of blank can be specified by D, d and L.
D: Out diameter size
d: Inner diameter size
L: Length of the cylinder

X L

Z
Y
d

NOTE
Dimension values should not be zero or one programming unit. Outer diameter should be bigger than
inner diameter. Solid graphics may not be drawn correctly if the dimensions are wrong.
 POSITION
This parameter is used to set the position of the blank in the machine coordinate system. As shown in the
figure below, locating points is marked.

Locating point
X

Z
Y

 TOOL RADIUS & TOOL LENGTH


Size of the tool is set by the two parameters, which is needed to calculate the part contour.

- 160 -
OPERATION 12.GRAPHICS FUNCTION

NOTE
1 Set TOOL RADIUS and TOOL LENGTH again when the tool is changed.
2 The two parameters have nothing to do with the tool radius compensation and tool length
compensation. Compensation values are set on OFFSET screen.
 QUALITY
0: Use lower accuracy to draw solid graphics
1: Use higher accuracy to draw solid graphics (Refresh rate of the graphics will be reduced.)
Default value: 0
 COLOR
It is used to select the colors of different surfaces.
P: Set color of the outer surface of cylinder
Q: Set color of the two end faces
R: Set color of the parting plane

Z
Y R

P Q

Relations of the values and colors:


Value Color
0 White
1 Red
2 Yellow
3 Green
4 Blue
5 Light blue
6 Purple
7 Dark gray
8 Gray
9 Light gray

Procedures of setting parameters


 Set directly

1 Press or key to select the parameter to be set

2 Input a new value


3 Press 【INPUT】 key
 Get the position of the blank by measuring
1 X: Move tool to the desired position. Switch to the GRAPRM subpage. Press address X.
2 Z: Move tool to the desired position. Switch to the GRAPRM subpage. Press address Z.

- 161 -
12.GRAPHICS FUNCTION OPERATION

12.2.2 GRAPH Subpage


As shown in the figure below, press soft key [GRAPH] to switch to this subpage.

1 Right-top: Absolute coordinates


2 Left-bottom: The currently used coordinate system. Arrow represents the positive direction.
3 Center: Graphics are displayed here.
4 Bottom: Soft keys are displayed here, including [EXEC], [PART] and [TRANS]. These soft keys are
used to control working mode of drawing solid graphics, and all of them have submenus.

(1) [EXEC]:

(2) [PART]:

(3) [TRANS]:

1) [TRANS]:

2) [ROTATE]:

3) [SCALE]:

12.2.2.1 EXEC
Press soft key [EXEC] to display its submenus including [START], [STOP] and [CLEAR].

Explanation
 START
Press soft key [START] to start drawing solid graphics. The tool and blank are displayed on screen. The
tool moves following the machine coordinates. As shown in the figure below, the cylinder over the blank
is the tool.

- 162 -
OPERATION 12.GRAPHICS FUNCTION

 STOP
Press soft key [STOP] to stop drawing solid graphics. The tool will be hid.

 CLEAR
Press soft key [CLEAR] to cancel the machine data and initial blank will be displayed.

- 163 -
12.GRAPHICS FUNCTION OPERATION

NOTE
In the GRAPH subpage, It is able to press S, T and R to perform START, STOP and CLEAR
operations.

12.2.2.2 PART
Press soft key [PART] to perform parting operation. It is convenient to watch inner structures of the part.
Three kinds of parting operations are available: PARTX, PARTZ and PARTXZ. As shown in the figure
below, press soft keys [PARTX], [PARTZ] and [PARTXZ] to enter the three parting modes.

Explanation
 PARTX
Use a plane perpendicular to the X-axis to cut the blank. The blank is rotated by 90° around Z axis for
easier watching.

- 164 -
OPERATION 12.GRAPHICS FUNCTION

 PARTZ
Use a plane perpendicular to the Z-axis to cut the blank. Press soft key [PARTZ] to perform this operation.
The result is shown in the figure below.

 PARTXZ
Use two planes to cut the blank, one is perpendicular to the X-axis, the other one is perpendicular to the
Z-axis. Press soft key [PARTZ] to perform this operation. The result is shown in the figure below.

- 165 -
12.GRAPHICS FUNCTION OPERATION

 REVIEW
Press soft key [REVIEW] to remove the results of cut operations. The initial part contour without cutting
will be displayed.

12.2.2.3 TRANS
Multiple kinds of geometric transformation of the blank, including shift, rotation, scaling, can be
performed to watch a specific position of the part. Press soft key [TRANS] to display its submenus. As
shown in the figure below, soft keys [TRANS], [ROTATE], [SCALE] and [REVIEW] are provided.

Explanation
 TRANS
his function is used to move the blank along X-axis, or Z-axis in positive or negative direction. As shown
in the figure below, press soft key [TRANS] to display its submenus.
Press soft key [TRANS] to display its submenus.
1 Press soft keys [TRSX+] or [TRSX-] to move the blank in the positive direction or negative direction.

- 166 -
OPERATION 12.GRAPHICS FUNCTION

The increment of one step is 10% of the blank size along X-axis.
2 Press soft keys [TRSZ+] or [TRSZ-] to move the blank in the positive direction or negative direction.
The increment of one step is 10% of the blank size along Z-axis.

NOTE
The TRANS parameters will also be changed after shifting the blank.
 ROTATE
This function is used to rotate the blank around X-axis, Y-axis or Z-axis.
Press soft key [ROTATE] to display its submenus.
1 Press soft keys [ROTX+] or [ROTX-] to rotate the blank clockwise or counterclockwise. The
increment of one step is 15°.
2 Press soft keys [ROTY+] or [ROTY-] to rotate the blank clockwise or counterclockwise. The
increment of one step is 15°.

NOTE
The ROTATE parameters will also be changed after rotating the blank.

- 167 -
12.GRAPHICS FUNCTION OPERATION

 SCALE
It zooms in or zooms out the blank.
Press soft key [SCALE] to display its submenus.
1 Press soft key [SCALE+] to zoom in the blank. The scaling ratio increases 0.5 in one step.
2 Press soft key [SCALE-] to zoom out the blank. The scaling ratio decrease 0.5 in one step.

NOTE
The SCALE parameters will also be changed after scaling the blank.
 REVIEW
Press soft key [REVIEW] to remove the results of TRANS operations. The initial part contour will be
displayed.
NOTE
After REVIEW operation, the TRANS, ROTATE and SCALE parameters will be recovered to their
default values.

12.2.2.4 Transform Combination and Dynamic Machining


All parting methods and transforms can be combined together to watch the dynamic machining process
and some local machining. The following figure shows the results of operations including PARTXY,
TRANS, ROTATE, SCALE+.

- 168 -
OPERATION 12.GRAPHICS FUNCTION

Procedures
1 Switch to the GRAPRM subpage to set parameters
2 Switch to the GRAPH subpage

3 Press soft key [PART] to perform desired parting operations, and press to return to its father

menu

4 Press soft key [TRANS] to perform desired geometric transformation operations, and press to

return to its father menu


5 Press soft key [START] or address key S to start drawing solid graphics
6 Select the program to be executed and press cycle start button to start machining. CNC unit starts to
draw solid graphics

12.2.2.5 Establish Relationship of Blank Position and Coordinate


System
Before simulating of solid graphics, CNC unit should know the specific position of the blank in the
machine coordinate system. Follow the ways below to establish the relationship.

Using graphics parameters


Assume that the black length is L and its diameter is D, machine coordinate system origin locates on the
center of the right end face, shown as the figure below.

- 169 -
12.GRAPHICS FUNCTION OPERATION

X
Diameter (D)
Machine
coordinate
system Z
O

Length (L)

On GRAPHIC PARAMETERS page, set the following parameters:


POSITION X = D/2 (Radius value)
Z=L

By measuring
Generally, tool offset is set by cutting the right end face of the part. Internally CNC unit saves the
machine coordinates of the right end face. Press soft key [MEASURE] to assign these machine
coordinates to POSITION items. The axis not measured will not be affected.

By set coordinate system


If workpiece coordinate origin locates on the center of the right end face, after tool setting or offset setting
of coordinates system, press soft key [COOR.] to set blank POSITION automatically.

X
X
Workpiece
coordinate system
Z
O

Machine
coordinate system
Z
O

12.3 QUICK GRAPH FUNCTION


Quick graph function is controlled by parameter "QGRH"(INSTALLATION & DEBUG MANUAL Page
125 P0005.0):
1 QGRH=0: Quick graph function is invalid
2 QGRH=1: Quick graph function is valid

Explanation
When quick graph is enabled, the soft key [Q-GRAPH] is displayed. In AUTO or MDI mode, press this
soft key to start quick graph operation and system activates axis-lock state ("MLK"(INSTALLATION &
DEBUG MANUAL Page 192 G0029.7) is set to 1). Press soft key [Q-GRAPH] again to exit quick graph
operation and the axis-lock state is cancelled. A red flicker string "Q-GRPAH" is displayed on the right
bottom corner of the screen when CNC unit is in quick graph state.

Switch modes
Quick graph function is effective only in AUTO and MDI modes. If CNC unit switches to other modes
- 170 -
OPERATION 12.GRAPHICS FUNCTION

such as JOG, STEP/HANDLE or HOME in quick graph mode, axis movement keys are invalid. In
addition, when the cycle start status "STL"(INSTALLATION & DEBUG MANUAL Page 198 F0000.5)
is 1 or feed hold is active, it is unable to turn quick graph function on or off. In JOG, STEP/HANDLE and
HOME modes, it is unable to turn on quick graph function.

Axis-lock and M-lock


When the parameter QGRH is set to 1, the buttons 【M-LOCK】和【A-LOCK】 are ineffective, and the
soft switches "AFL" and "MLK" on OPERATOR screen are displayed as "RESERVE". Signals of
axis-lock can only be changed by soft key [Q-GRAPH].
When the parameter QGRH is set to 0, the buttons 【M-LOCK】和【A-LOCK】 are effective, and the soft
switches "AFL" and "MLK" on OPERATOR screen are displayed normally.

Limitations
In quick graph mode:
1 Machine tool does not move
2 Auxiliary functions are ineffective
3 Canned cycles and G93 cycles do not wait for G122 signal
4 Feedrate specified in program is ineffective
5 Thread cutting and G93 tapping are not performed according to the data feedback from encoder, but
according to an internal fixed feedrate. The prepared distance (50 mm) along Z-axis when tapping and
the retraction distance when cutting thread won't be drawn.
6 Over travel check is still effective
7 Modal data will be saved after execution. If these data used by tool length compensation, tool radius
compensation, coordinates system transformation etc., are specified in program, they should be
cancelled before the end, because they may affect the following machining operations.
8 The movement from the intermediate point to the reference position will be omitted when the
G28/G30 is executed before the mechanical reference position is not established. In other cased, the
movement from the intermediate point to the reference position will be drawn.
9 CNC unit adds a movement to return to the position before activating axis-lock when M30, M02 or
EOR(%) is executed. Distance of this movement equals to the minus value of the distance machine
tool does not move because of axis-lock, in other words, the absolute coordinates are shifted. Note that
coordinate system transformation or reset operations may result in the position of the machine tool is
incorrect, which means it is unable to make machine tool return to the initial position before axis-lock.
In this case, CNC unit generates the alarm PS457 and machine tool needs to return to the reference
position again. For this reason, do cancel coordinate system transformations specified in program at
the program end when programming.
10 CNC unit calculates the total distance specified after axis-lock is activated and checks whether this
distance is zero when cancelling axis-lock. If not, CNC unit generates an alarm. In this case,
coordinate system should be established according to the data from an absolute encoder or by
returning to the reference position again.
11 Ship signal won’t be checked when executing G31 command
12 CNC unit always waits for the input signals used by macro programs
13 CNC unit does not check measurement signals when executing G36/G37 command and generates an

- 171 -
12.GRAPHICS FUNCTION OPERATION

alarm PS080.
14 The execution of boring cycle specified by G88 stops at the bottom of the hole. It is necessary to press
cycle start button to continue the execution.

12.4 GRAPH DIAGNOSIS FUNCTION


Graph diagnosis function is used to watch the performance of servo system directly, which is useful to
judge how to adjust servo parameters. It is controlled by parameter "GRHDGN"(INSTALLATION &
DEBUG MANUAL Page 125 P0005.6). When GRHDGN is set to 1, press function 【GRAPH】
repeatedly to switch between GRAPH screen and GRH DGN screen. GRH DGN screen is shown in the
figure below.

NOTE
For non-servo-bus system, only [MACHINE] and [BACKLASH] are displayed on the left side of the
screen.

12.4.1.1 Menus
Similar to the GRAPH screen, the top level menus are the same:
[ GDPRM ] [ GRAPH ] [ START ] [ STOP ] [ CLEAR ]
When sample data are received, press soft key [GRAPH] to enter its submenu:
[ POS+ ][ POS- ][ ERR+ ] [ ERR- ][ ]

12.4.1.2 GDPRM Subpage


Parameters used to draw diagnosis graph are supplied in this subpage.
 AXIS NO. SET
Two axes numbers are available to be set, including horizontal axis and vertical axis. They can be set to
any unmasked NC-axis.
 SAM. PRD.
Available range of sample period is from 1 to 99999999 and the unit is ms. CNC unit uses the
interpolation period as sample period when a value smaller than the interpolation period is set.

- 172 -
OPERATION 12.GRAPHICS FUNCTION

 SAMPLE DATA
Three kinds of data are sampled: feed data, positioning data and other data. It is able to save 8192 sample
points totally. If the buffer is full, sampling will be stopped. If the automatic abandoning function is
enabled, the newly sampled data will be saved and the last data will be abandoned.
 BKLSH HILT
It is backlash highlight switch. When it is turned on, the diagram considering backlash compensation will
be drawn with highlight color. By default, it is turned on.
 BKLSH SIM.
The difference between the actual position and the feedback position are called backlash simulation error.
It is the additional trace error caused by backlash. Whether the backlash simulation error is considered or
not is determined by the BKLSH SIM. switch. By default, the switch is turned off. Backlash simulation
error will not be considered when calculating the maximum error and minimum error.
 ERR PROCESS
It is used to select the methods used to process error. CNC unit uses different methods for drawing
according to the selected method. The following methods are provided.
1 ZOOM IN: Magnify the error vector directly
2 SQ ERR N: Rotate the error vector to the normal direction of the theory trace
3 SQ ERR NR: Rotate the error vector to the right normal direction of the theory trace
4 SQ ERR NL: Rotate the error vector to the left normal direction of the theory trace
5 H AXIS: Rotate the error vector of the horizontal axis around the normal line without considering the
vertical axis
6 V AXIS: Rotate the error vector of the vertical axis around the normal line without considering the
horizontal axis
7 SAME SCALE: Draw the traces of feedback position and programming position with the same scale.

12.4.1.3 GRAPH Subpage


After setting parameters, press soft key [GRAPH] to switch to the GRAPH subpage where the diagnosis
graphics are displayed. Press soft key [START] to start sampling. The data of the current executing
program will be sampled and displayed on the screen.

- 173 -
12.GRAPHICS FUNCTION OPERATION

As shown in the figure above, the blue and smooth line represents the trace of the programming positions,
and the red and flexure line represents the trace of the feedback positions considering feedback errors.
SPOS represents the machine coordinate size of one grid, SERR represents the error size of error of one
grid.
Press soft key [GRAPH] to enter its slave menus, which are used to scale the traces and errors. The values
of SPOS and SERR will be changed automatically after scaling.
Press left and right cursor keys to move the cursor by one sample point. Press up and down cursor keys to
move the cursor by 10 sample points. Press page keys to move the cursor by 100 sample points.

12.4.1.4 Example
Arc diagnosis
Run the program below:
O0030 ;
G28 X0 Y0 ;
G90 G17 G00 X0 Y0 ;
X10. ;
G03 I-10. F1000. ;
G01 Y10. ;
M30 ;
Diagnosis graphics are as follows:

Whether the control accuracy satisfies the requirement or not can be checked according to the graphics. If
the accuracy is not ideal, adjust associated servo parameters. Execute the program again and watch the
diagnosis graphics.

Rectangular diagnosis
Run the program below:
O0040 ;
G28 X0 Y0 ;

- 174 -
OPERATION 12.GRAPHICS FUNCTION

G90 G17 G00 X0 Y0 ;


X10. ;
G01 Y10. F1000. ;
X-10. ;
Y-10. ;
X10. ;
Y0. ;
M30 ;
Diagnosis graphics are as follows:

Rectangular diagnosis with 1/4 round corner


Run the program below:
O0050 ;
G28 X0 Y0 ;
G90 G17 G00 X0 Y0 ;
X10. ;
G01 Y10. NR5. F1000. ;
X-10. NR5. ;
Y-10. NR5.;
X10. NR5.;
Y0. ;
M30 ;
Diagnosis graphics are as follows:

- 175 -
12.GRAPHICS FUNCTION OPERATION

- 176 -
OPERATION 13.DATA INPUT/OUTPUT

13 DATA INPUT/OUTPUT
13.1 GENERAL
CNC data is transmitted between CNC unit and external I/O devices. Three kinds of I/O devices are
available for this CNC unit: PC connected with serial port, U-disk and network. The following data can
be transmitted:
1 Program
2 Tool offset values
3 Parameters including pitch-error parameters
4 Workpiece coordinate system setting
5 System software
6 Interface picture
7 PLC parameters
8 DNC machining, see I-5.4
9 PLC procedures and ladder diagram
10 Macro variables(#500~#999)
NOTE
1 CNC unit uses U disk to input or output data when both U-disk and serial port are available.
2 Network can be used when network port is provided and "NET"(INSTALLATION & DEBUG
MANUAL Page 125 P0004.3) is set to 1. It has independent operations and won’t affect the
operations of U-disk and serial port.
Some CNC data can also be stored in electronic disk, which is convenient to restore these data when
CMOS data is lost.

13.1.1 Use Serial Port


Data can be exchanged between computer and CNC through serial port. Communication software should
be started first on PC before transmitting data. CNC software upgrading and backup operations are not
supported. The following preparations should be made first before transferring data through serial port:
1 Connect PC and CNC by a serial port cable.
2 Set serial port attribute's parameters: "Baud rate of RS232 port"(INSTALLATION & DEBUG
MANUAL Page 128 P0110) and "Attributes of RS232 port"(INSTALLATION & DEBUG
MANUAL Page 128 P0111)
3 Run communication software on computer. Set the attributes of serial port according to the setting on
CNC unit.
NOTE
See II-4 for information about how to use "KND Serial Port Communication Software".

13.1.2 Use U-disk


Data can be exchanged between a U-disk and CNC.

- 177 -
13.DATA INPUT/OUTPUT OPERATION

Explanation
 USB protocol and speed
USB port is designed based on USB1.1 protocol. The read speed reaches up to 600 kB/s and the write
speed reaches up to 400 kB/s. It supports most kinds of U-disk in market. The available file systems is
FAT16 and FAT32.
 Work directory of U-disk
Work directory of U-disk can be selected by parameter "UROOT"(INSTALLATION & DEBUG
MANUAL Page 146 P2306.0). When UROOT is set to 0, "\KND" is used as the work directory. When
UROOT is set to 1, the root directory is used as the work directory. Input or output operations are
performed about the files in the work directory.
 U-disk content displaying
A sub-page in PROGRAM screen is provided to display U-disk information. The files in the fixed work
path in U-disk are listed. File cursor can be moved in EDIT mode. The file cursor locates on is called the
current file.
 Output files' name
When outputting data, the name of newly created file in U-disk is fixed as shown in the table below:
Data type File name Explanation
Program Oxxxx.PRG "xxxx" represents program number
Tool offset K1000TTCi .OFS
Macro variable K1000TTCi .VAR
Parameter K1000TTCi .PAR
PLC parameter K1000TTCi .PRM
PLC procedures <version>_xxxxxxxx.BIN "xxxxxxxx" represents time, such as 20111114
Ladder diagram <version>_xxxxxxxx.KIN "xxxxxxxx" represents time, such as 20111114
Software backup K1000TTCi _xx_xxxxxx.bin K1000TTCi _xx_xxxxxx is system model
Data backup K1000TTCi _xx_xxxxxx.dat K1000TTCi _xx_xxxxxx is system model
Interface bitmap PICxxxxx.BMP "xxxxx" is bitmap number
 Input files' name
Input files are identified by their extended names as shown in the table below:
Data type Extension Explanation
Program PRG
Tool offset OFS
Macro variable VAR
Parameter PAR
PLC parameter PRM
PLC procedures BIN
Ladder diagram KIN
Software BIN Only a valid upgrading file can be identified.
System data DAT Only a valid data file can be identified.

- 178 -
OPERATION 13.DATA INPUT/OUTPUT

Restriction
 Remove U-disk
Don’t pull U-disk out when inputting or outputting data, which results in failure of input or output
operation. In other situation, U-disk can be pulled out.
 Files' number
Only the first 1024 files in work path are listed. An alarm is generated if the whole files' number exceeds
1024, but operations on the 1024 listed files are still effective.

13.1.3 Use Network


Data can also be transmitted via network between CNC unit and computer. Programs, parameters, tool
offset values, macro variables and workpiece coordinate systems' setting can be input or outputted. The
following procedures should be prepared first before transmitting data via network.
1 Connect CNC unit and computer
2 Assign IP address for each device manually, or assign IP addresses with DHCP automatically
3 Run the KNDHMI communication software on computer. Make sure the 7321 port is not masked by
some safety software.
4 Enter EDIT mode. (When "AUED"(INSTALLATION & DEBUG MANUAL Page 144 P2302.7) is
set to 1, AUTO mode is also available.) Switch to network subpage on PROGRAM screen. Press soft
key [UPDATE] to get file list.
NOTE
1 Parameters P8100~P8115 are used to set network attributes.
2 It is able to run command "ping" to check whether the target CNC unit is connected successfully.
3 See the help information about how to use KNDHMI communication software.

13.1.4 Electronic Disk


Electronic disk represents a nonvolatile memory space in CNC. Three independent electronic disks
indexed from 1 to 3 are provided. CNC data including programs, tool offset data, macro variables,
parameters, etc. stored in CMOS space can be stored in each electronic disk. The purposes of electronic
disks are as follows:
1 Backup CNC data. It is convenient to restore CNC data from electronic disks when the current using
data is lost.
2 Store some programs not used for a time when CMOS space is not enough.

Electronic disk 1
Electronic disk 2
Electronic disk 3 Current using data
(in CMOS area)

Standard data
Program, offset data are
cleared

13.2 INPUT/OUTPUT PROGRAM


It is able to input, output and compare programs via serial port, USB port or network.

- 179 -
13.DATA INPUT/OUTPUT OPERATION

Explanation
 Input program
System creates a new program when a program is input from U-disk or PC.
If the desired program number exists already, input operation will fail and PS140 alarm is generated. If
CMOS space is not big enough to save the input program, input operation will fail and PS1404 alarm is
generated.
 Compare program
A program in CNC and a program in U-disk or PC can be compared word by word. If the program to be
compared doesn’t exist in CNC, PS1403 alarm is generated. If the two programs have difference, PS1402
alarm is generated.
 Output program
Program in CNC can be transferred to PC or a U-disk.

13.2.1 Program File Format


Program files has fixed format as shown in the figure below:
1 ① represents the file head
2 ② is new-line character which is not visible. Each single line in program file has a new-line character.
It is input by pressing return button on PC.
3 ③ represents program number. For a file doesn’t include any program number, CNC regards that the
program number is "O0001". Multiple program numbers may be included in one file. In this case, each
program number is regarded as the head of an independent program.
4 ④ represents a single block. It ends with EOB(";").
5 ⑤ represents the end of a file. A new-line character should be input after the flag.
6 ⑥ is an empty line. It is always needed because a new-line character must be input after the file end
flag "%".

① % ②
③ O0001 ;
G01 X0 Z0 F100. ;
④ X100. Z100. ;
X200. ;
X300. ;
X400. ;
X0 Z0 ;
M30 ;
⑤ %

13.2.2 Input/Output/Compare Program via Serial Port


Procedures
 Input program
1 Use the "KND Communication Software" on PC to open a program file.
2 Turn the program protection switch on.

- 180 -
OPERATION 13.DATA INPUT/OUTPUT

3 Select edit mode and switch to a screen displaying program edit area.
4 Select a program number
(1) No operation is needed when using the program number in program file.
(2) Input a desired program number if there exists no one in file or you don’t want to use the number
in file. For example "O0002".
(3) If there exists no program number in file and no program number is input manually, system use
O0001 as the input program number.
5 Press 【INPUT】 key. CNC enters the state of reading program and message box is displayed.
6 Press the SEND button on KND Communication Software to start downloading program.
7 System creates a new program.
NOTE
1 Multiple programs with independent program number may be contained in a single file. System
creates multiple programs when reading this kind file.
2 Whether the input program is formatted or not is determined by "FMAT"(INSTALLATION &
DEBUG MANUAL Page 143 P2301.4). When FMAT is set to 1, the input program will be
formatted.
 Compare program
1 Use the "KND Communication Software" on PC to open a program file.
2 Turn the program protection switch off.
3 Select EDIT mode and switch to a screen displaying program edit area.
4 Select a program number
(1) No operation is needed when using the program number in program file.
(2) Input a desired program number if there exists no one in file or you don’t want to use the number
in file. For example "O0002".
(3) If there exists no program number in file and no program number is input manually, system use
O0001 as the input program number.
5 Press 【INPUT】 key. CNC enters the state of reading program and a message box is displayed.
6 Press the SEND button on KND Communication Software to start downloading program.
7 System compares the selected program and the receiving program.
(1) Compare operation fails if the selected program doesn’t exist and PS1403 alarm is generated.
(2) Compare operation is stopped immediately if any difference is found, and PS1402 alarm is
generated.
(3) If the two programs are totally same, compare operation ends without any alarm.
 Output a single program (Method 1)
1 Use the "KND Communication Software" on PC to receive a program.
2 Select EDIT mode and switch to a screen displaying program edit area.
3 Select the program to be output. Input address character "O" and a new program number, for example
"O0001".
4 Press 【OUTPUT/SAVE】key. CNC enters the state of outputting program and a message box is
displayed. When the output process is finished, the message box disappears.
 Output a single program (Method 2)
1 Use the "KND Communication Software" on PC to receive a program.
2 Select EDIT mode and switch to the screen displaying program list.
- 181 -
13.DATA INPUT/OUTPUT OPERATION

3 Move cursor on the program to be output.


4 Press 【OUTPUT/SAVE】 key. CNC enters the state of outputting program and a message box is
displayed. When the output process is finished, the message box disappears.
 Output all programs
1 Use the "KND Communication Software" on PC to receive programs.
2 Select EDIT mode and switch to a screen displaying program edit area.
3 Input "O-9999".
4 Press 【OUTPUT/SAVE】 key.

13.2.3 Input/Output/Compare Program Using U-disk


Procedures
 Input a single program from a U-disk (Method 1)
1 Turn the program protection switch on.
2 Select EDIT mode and switch to a screen displaying program edit area.
3 Input "Oxxxx". (xxxx represents a program number in U-disk)
4 Press 【INPUT】 key. A message box displaying "USB INPUT" is displayed. When the program is
transferred successfully, the message box disappears. "Oxxxx" is used as the newly created program's
number.
NOTE
If the program file with the name "Oxxxx.PRG" doesn’t exist in U-disk, PS0058 alarm is generated.
 Input a single program from a U-disk (Method 2)
1 Turn the program protection switch on.
2 Select EDIT mode and switch to the screen displaying file list in U-disk. Select a program file the
extend name of which is "*.PRG".
3 Stay in USB page or switch to POSITION screen displaying program area.
4 Press 【INPUT】 key. A message box displaying "USB INPUT" is displayed. When the program is
transferred successfully, the message box disappears.
NOTE
Program number specified in the initial file is used as the newly created program's number. If there
exists no one in the file, "O0001" is used automatically.
 Input all programs in a U-disk
1 Turn the program protection switch on.
2 Select EDIT mode and switch to the sub-page displaying U-disk information in PROGRAM screen.
3 Input "O-9999"
4 Press 【INPUT】 key. A message box displaying "USB INPUT" on its head is displayed. When files
are transferred successfully, the message box disappears. All program file in U-disk are transferred into
CNC system. The program number specified in each file is used as the newly created program's
number.
 Compare programs (Method 1)
1 Turn the program protection switch off.
2 Select EDIT mode and switch to the sub-page displaying U-disk information in PROGRAM screen.
Select a program to be compared.

- 182 -
OPERATION 13.DATA INPUT/OUTPUT

3 Press 【INPUT】 key. A message box displaying "USB INPUT" on its head is displayed. System
compares the current selected program in U-disk and a program with the same number in CNC. The
message box disappears when the compare operation is finished.
4 If the program with the same number is not found in CNC, PS1403 is generated. If any difference is
found between the two programs, PS1402 is generated.
 Compare program (Method 2)
1 Turn the program protection switch off.
2 Select EDIT mode and switch to a sub-page displaying program edit area.
3 Input "Oxxxx". ("xxxx" represents the number of the program to be compared in CNC)
4 Press 【INPUT】 key. A message box displaying "USB INPUT" on its head is displayed. System
compares the program selected in step 3 and a program with "Oxxxx.PRG" as its file name in U-disk.
The message box disappears when the compare operation is finished.
5 If the program with the same number is not found in CNC, PS1403 is generated. If any difference is
found between the two programs or the file "Oxxxx.PRG" doesn’t exist in U-disk, PS1402 is
generated.
 Output a single program (Method 1)
1 Select EDIT mode and switch to a sub-page displaying program edit area.
2 Input "Oxxxx". ("xxxx" represents the number of the program to be outputted)
3 Press 【OUTPUT/SAVE】 key. A message box displaying "USB OUTPUT" on its head is displayed.
The message box disappears when the outputting operation is finished. A new program file will be
created in U-disk.
 Output a single program (Method 2)
1 Select EDIT mode and switch to the sub-page displaying program list.
2 Select a program by moving cursor.
3 Press 【OUTPUT/SAVE】 key. A message box displaying "USB OUTPUT" on its head is displayed.
The message box disappears when the outputting operation is finished.
 Output all programs
1 Select EDIT mode and switch to a sub-page displaying program edit area.
2 Input "O-9999".

OUTPUT
3 Press SAVE key. A message box displaying "USB OUTPUT" on its head is displayed. The message

box disappears when the outputting operation is finished.


NOTE
If the target program "Oxxxx.PRG" exists, it will be covered without any warning.

13.2.4 Input/Output/Compare Program with Network


Procedures
 Input a single program from a U-disk (Method 1)
1 Turn the program protection switch on.
2 Select EDIT mode and switch to a screen displaying program edit area.
3 Input "Oxxxx". (xxxx represents a program number in U-disk)
4 Press 【INPUT】 key. A message box displaying "NETWORK INPUT" is displayed. When the

- 183 -
13.DATA INPUT/OUTPUT OPERATION

program is transferred successfully, the message box disappears. "Oxxxx" is used as the newly created
program's number.
NOTE
If the program file with the name "Oxxxx.PRG" doesn’t exist in U-disk, PS0058 alarm is generated.
 Input a single program from a U-disk (Method 2)
1 Turn the program protection switch on.
2 Select EDIT mode and switch to the screen displaying file list on network. Select a program file the
extention of which is *.PRG/NC/TXT/PTP.
3 Press 【INPUT】 key. A message box displaying "USB INPUT" is displayed. When the program is
transferred successfully, the message box disappears.
NOTE
Program number specified in the initial file is used as the newly created program's number. If there
exists no one in the file, "O0001" is used automatically.
 Input all programs in a U-disk
1 Turn the program protection switch on.
2 Select EDIT mode and switch to the sub-page displaying network information in PROGRAM screen.
3 Input "O-9999"
4 Press 【INPUT】 key. A message box displaying "NETWORK INPUT" on its head is displayed. When
files are transferred successfully, the message box disappears. All program file on network are
transferred into CNC system. The program number specified in each file is used as the newly created
program's number.
 Compare program (Method 1)
1 Turn the program protection switch off.
2 Select EDIT mode and switch to the sub-page displaying network information in PROGRAM screen.
Select a program to be compared.
3 Press 【INPUT】 key. A message box displaying "NETWORK INPUT" on its head is displayed.
System compares the current selected program in U-disk and a program with the same number in CNC.
The message box disappears when the compare operation is finished.
4 If the program with the same number is not found in CNC, PS1403 is generated. If any difference is
found between the two programs, PS1402 is generated.
 Compare program (Method 2)
1 Turn the program protection switch off.
2 Select EDIT mode and switch to a sub-page displaying program edit area.
3 Input "Oxxxx". ("xxxx" represents the number of the program to be compared in CNC)
4 Press 【INPUT】 key. A message box displaying "NETWORK INPUT" on its head is displayed.
System compares the program selected in step 3 and a program with "Oxxxx.PRG" as its file name on
network. The message box disappears when the compare operation is finished.
5 If the program with the same number is not found in CNC, PS1403 is generated. If any difference is
found between the two programs or the file "Oxxxx.PRG" doesn’t exist on network, PS1402 is
generated.
 Output a single program
1 Select EDIT mode and switch to a sub-page displaying program edit area.
2 Input "Oxxxx". ("xxxx" represents the number of the program to be outputted)
- 184 -
OPERATION 13.DATA INPUT/OUTPUT

3 Press 【OUTPUT/SAVE】 key. A message box displaying "NETWORK OUTPUT" on its head is
displayed. The message box disappears when the outputting operation is finished. A new program file
will be created on network.
 Output all programs
1 Select EDIT mode and switch to a sub-page displaying program edit area.
2 Press soft keys [OUTPUT]→[OUTPUT PROG]. A message box displaying "NETWORK OUTPUT"
on its head is displayed. The message box disappears when the outputting operation is finished.
NOTE
If the target program "Oxxxx.PRG" exists, it will be covered without any warning.

13.2.5 USB drive/series port input/output


When both channels are in edit mode, channel 2 can perform file input / output. In addition, channel 2
also supports the U disk [Open] function, but does not support [DNC Open]. When outputting a file from
a USB drive, the file name will be suffixed with the channel to prevent the files output by the two
channels from overwriting

NOTE

After the FPGA file is input in channel 2, if the FPGA update is successful cannot display. After
confirming the input of the FPGA file, you should wait about 1 minute to restart the system. Check the
FPGA program version through FPGA diagnosis FP056 ~ FP058, and confirm whether the FPGA file
input is successful.

13.3 INPUT/OUTPUT TOOL OFFSET DATA


Tool offset data can be transmitted in or out through serial port, USB port or network.

Explanation
 Input tool offset data
All or a part of tool offset data can be transferred into CNC from serial port or USB port. Each line in the
file represents one item in CNC.
 Output tool offset data
All items in tool offset data area can be transferred out to a file. Each line in file represents one item.

Restriction
 Tool radius compensation function
1 When "CRC"(INSTALLATION & DEBUG MANUAL Page 124 P0002.1) is set to 0, tool radius
compensation function is disabled. Tool radius compensation values and tool tip directions won’t be
outputted and written into file, further more, they can not be included in input file, or the alarm
PS0151 occurs.
2 When "CRC"(INSTALLATION & DEBUG MANUAL Page 124 P0002.1) is set to 1, tool radius
compensation function is enabled. Tool radius compensation values and tool tip directions should be

- 185 -
13.DATA INPUT/OUTPUT OPERATION

outputted and written into file, further more, they should be included in input file, or the alarm PS0151
occurs.
 Tool wear compensation function
1 When "WOFC"(INSTALLATION & DEBUG MANUAL Page 154 P3200.0) is set to 0, tool wear
compensation function is disabled. Tool wear compensation values won’t be outputted and written into
file, further more, they can not be included in input file, or the alarm PS0151 occurs.
2 When "WOFC"(INSTALLATION & DEBUG MANUAL Page 154 P3200.0) is set to 1, tool wear
compensation function is enabled. Tool wear compensation values should be outputted and written into
file, further more, they should be included in input file, or the alarm PS0151 occurs.

13.3.1 File Format


File formats are different when tool wear compensation function is enabled or not, which is controlled by
"WOFC"(INSTALLATION & DEBUG MANUAL Page 154 P3200.0).

Tool wear compensation function is disabled(WOFC=0)


%
(KND K2000TC 1.0 OFFSET)
G10 P01 X_ Z_ R_ Q_ ;
G10 P02 X_ Z_ R_ Q_ ;

G10 P_ X_ Z_ R_ Q_ ;
%
Explanation:
1 P_:Tool offset number
2 X_:Tool offset value(X)
3 Z_:Tool offset value(Z)
4 R_:Tool tip radius compensation value(R)
5 Q_:Imaginary tool tip number(T)
When "WSFT"(INSTALLATION & DEBUG MANUAL Page 133 P0500.7) is set to 1, use "G10 P0000
X_ Z_;" to input or output shift amount of workpiece coordinate system.

Tool wear compensation function is enabled(WOFC=1)


%
(KND K2000TC 1.0 OFFSET)
G10 P01 X_ Z_ R_ Q_ ;
G10 P02 X_ Z_ R_ Q_ ;

G10 P_ X_ Z_ R_ Q_ ;
G10 P10001 X_ Z_ R_ Q_ ;
G10 P10002 X_ Z_ R_ Q_ ;

G10 P100_ X_ Z_ R_ Q_ ;
%

- 186 -
OPERATION 13.DATA INPUT/OUTPUT

Explanation:
1 P_:Tool offset number
2 X_:Tool offset value(X)
3 Z_:Tool offset value(Z)
4 R_:Tool tip radius compensation value(R)
5 Q_:Imaginary tool tip number(T)
When "WSFT"(INSTALLATION & DEBUG MANUAL Page 133 P0500.7) is set to 1, use "G10 P0000
X_ Z_;" to input or output shift amount of workpiece coordinate system.
NOTE
File format may be changed in the future version. It is recommended to perform output operation
first, change the newly created file and perform input operation.

13.3.2 Input/Output Tool Offset Values via Serial Port


Procedures
 Input tool offset values
1 Open a tool offset data file on PC using "KND Communication Software"
2 Select EDIT mode and switch to the OFFSET screen.
3 Press 【INPUT】 key. A message box is displayed to wait for receiving a tool offset data file.
4 Send tool offset data file on PC using "KND Communication Software".
5 Message box disappears. System set tool offset data according to received data.
 Output tool offset values
1 Make "KND Communication Software" prepare to receive tool offset data from CNC.
2 Select EDIT mode and switch to the OFFSET screen.
3 Press 【OUTPUT/SAVE】 key. System outputs tool offset data item by item and displays a message
box in the center of the screen.
4 Message box is closed when all tool offset data is transferred.
5 Check received data on "KND Communication Software".

13.3.3 Input/Output Tool Offset Values Using U-disk


Procedures
 Input tool offset values
1 Select EDIT mode and switch to the sub-page displaying U-disk information.
2 Select a tool offset data file(*.OFS)
3 Stay in USB page or switch to OFFSET screen
4 Press 【INPUT】 key. System reads the current selected file in U-disk and set tool offset data.
 Output tool offset values
1 Select EDIT mode and switch to OFFSET screen.
2 Press 【OUTPUT/SAVE】 key. System creates a new tool offset file in U-disk and writes all tool offset
data in it.
NOTE
If a tool offset data file has already existed in U-disk, it is overlapped without any presentation.

- 187 -
13.DATA INPUT/OUTPUT OPERATION

13.3.4 Input/Output Tool Offset Values with Network


Procedures
 Input tool offset values
1 Select EDIT mode and switch to the sub-page displaying network information.
2 Select a tool offset data file(*.OFS)
3 Press 【INPUT】 key. System reads the current selected file on network and set tool offset data.
 Output tool offset values
1 Select EDIT mode and switch to a subpage displaying program edit area.
2 Press soft keys [OUTPUT] → [OUTPUT OFFSET]. A message box displaying "NETWORK
OUTPUT" on its head is displayed. The message box disappears when the outputting operation is
finished.

13.4 INPUT/OUTPUT MACRO VARIABLE


Macro variables #500~#999 can be input or outputted through serial port, USB port or network.

Explanation
 Input macro variables
Read macro variables data from computer or U-disk and set #500~#999.
 Output macro variables
Output macro variables #500~#999 into a file on computer or in U-disk.

13.4.1 File Format


File format is shown in the figure below.
1 The first line is file head. The following information are provided.
(1) ① is company name
(2) ② is system model
(3) ③ is software version
(4) ④ is file indicator
(5) ⑤ is line break which is invisible
2 The other lines are macro variable data
(1) ⑥ is macro variable number
(2) ⑦ is macro variable value. Some special prefix or postfix may be used.
1) postfix "u": Unsigned 32-bit integer, e.g. #500=30u
2) postfix "s": Signed 32-bit integer, e.g. #500=-30s
3) postfix "ul": Unsigned 64-bit integer, e.g. #500=123456789ul
4) postfix "sl": Signed 64-bit integer, e.g. #500=-123456789sl
5) postfix "f": Single float data, e.g. #500=3.2f"
6) The data using scientific notation is double float data, e.g. #500=3.245e5
7) Prefix "0x" or "0X": Hex data, e.g. #500=0x3A
8) Special string "NULL": It represents empty value.
9) Special string "#INF": It represents positive infinity. Positive or negative infinity can be

- 188 -
OPERATION 13.DATA INPUT/OUTPUT

assigned to a macro variable, e.g. #500=#INF or #500=-#INF


NOTE
1 An integer without postfix is treated as signed 64-bit integer, e.g. #500=1000
2 A decimal number without postfix is treated as double float data, e.g. #500=12.345
3 Macro variable and data type should be matched correctly, or alarm PS151 occurs.
3 The last line of the file is an empty line.

① ② ③ ④ ⑤



NOTE
File format may be changed in the future version. It is recommended to perform output operation
first, change the newly created file and perform input operation.

13.4.2 Input/Output Macro Variables via Serial Port


Procedures
 Input macro variable
1 Open a macro variable file on PC using "KND Communication Software"
2 Select EDIT mode and switch to the MACRO VAR screen.
3 Press 【INPUT】 key. A message box is displayed to wait for receiving a macro variable data file.
4 Send macro variable file on PC using "KND Communication Software".
5 Message box disappears. System set macro variable data according to received data.
 Output macro variable
1 Make "KND Communication Software" prepare to receive data from CNC.
2 Select EDIT mode and switch to the MACRO VAR screen.
3 Press 【OUTPUT/SAVE】 key. System outputs data item by item and displays a message box in the
center of the screen.
4 Message box is closed when all data is transferred.
5 Check received data on "KND Communication Software".

13.4.3 Input/Output Macro Variables Using U-disk


Procedures
 Input macro variable
1 Select EDIT mode and switch to the sub-page displaying U-disk information.
2 Select a macro variable file(*.OFS)

- 189 -
13.DATA INPUT/OUTPUT OPERATION

3 Stay in USB page or switch to MACRO VAR screen


4 Press 【INPUT】 key. System reads the current selected file in U-disk.
 Output macro variable
1 Select EDIT mode and switch to MACRO VAR screen.
2 Press 【OUTPUT/SAVE】 key. System creates a new file in U-disk and writes all macro variable in it.
NOTE
If a macro variable file has already existed in U-disk, it is overlapped without any presentation.

13.4.4 Input/Output Macro Variables with Network


Procedures
 Input macro variable
1 Select EDIT mode and switch to the sub-page displaying network information.
2 Select a tool offset data file(*.VAR)
3 Press 【INPUT】 key. System reads the current selected file on network and set macro variables.
 Output macro variable
1 Select EDIT mode and switch to a subpage displaying program edit area.
2 Press soft keys [OUTPUT]→[OUTPUT VAR]. A message box displaying "NETWORK OUTPUT" on
its head is displayed. The message box disappears when the outputting operation is finished.

13.5 INPUT/OUTPUT PARAMETER


Parameters can be input or outputted through serial port, USB port or network.

Explanation
 Input parameters
All or a part of CNC parameters can be transferred into CNC. It is necessary to restart the CNC after
setting some parameters.
 Output parameter
All parameters are transferred out to a file through serial port or USB port.

13.5.1 File Format


The following figure shows the format of parameter file.
1 The first line of the file is called the file head. Company name, system model, software version,
parameter file identifier and a new-lien character are included in the file head and they are separated
space characters.
(1) ① is company name
(2) ② is system model
(3) ③ is software version
(4) ④ is file indicator
(5) ⑤ is line break which is invisible
2 Content from the second line are parameters. Each line represents one item in CNC. The data fields are
separated with one or more space characters.
(1) ⑥ is the parameter number started with "N".

- 190 -
OPERATION 13.DATA INPUT/OUTPUT

(2) ⑦ "P" is used to separate parameter number and parameter value.


(3) ⑧ represents parameters' value. Bit parameters use 8-bit binary as their values.
3 The last line of the file is an empty line.

① ② ③ ④ ⑤

⑥ ⑦ ⑧

NOTE
File format may be changed in the future version. It is recommended to perform output operation
first, change the newly created file and perform input operation.

13.5.2 Input/Output Parameters via Serial Port


Procedures
 Input parameters
1 Open a parameter file on PC using "KND Communication Software"
2 Turn the parameter switch on.
3 Select EDIT mode and switch to PARAMETER screen.
4 Press 【INPUT】 key. A message box is displayed to wait for receiving a parameter file.
5 Send parameter file on PC using "KND Communication Software".
6 Message box disappears. System set parameter according to received data.
NOTE
PS000 alarm may be generated after receiving parameters. Please restart CNC system in this case.
 Output parameters
1 Make "KND Communication Software" prepare to receive parameter data from CNC.
2 Select EDIT mode and switch to the PARAMETER screen.
3 Press 【OUTPUT/SAVE】 key. System outputs parameters item by item and displays a message box in
the center of the screen.
4 Message box is closed when all parameters are transferred.
5 Check received data on "KND Communication Software".

13.5.3 Input/Output Parameters Using U-disk


Procedures
 Input parameters
1 Turn the parameter switch on.
2 Select EDIT mode an switch to the sub-page displaying U-disk information.
3 Select a parameter file in U-disk(*.PAR)

- 191 -
13.DATA INPUT/OUTPUT OPERATION

4 Stay in USB page or switch to PARAMETER screen


5 Press 【INPUT】 key. System reads the current selected file in U-disk and set parameter.
NOTE
PS000 alarm may be generated after receiving parameters. Please restart CNC system in this case.
 Output parameters
1 Select EDIT mode and switch to PARAMETER screen.
2 Press 【OUTPUT/SAVE】 key. System creates a new parameter file in U-disk and writes all parameter
data in it.
NOTE
If a parameter file has already existed in U-disk, it is overlapped without any presentation.

13.5.4 Input/Output Parameters with Network


Procedures
 Input parameters
1 Turn the parameter switch on.
2 Select EDIT mode and switch to the sub-page displaying network information.
3 Select a tool offset data file(*.VAR)
4 Press 【INPUT】 key. System reads the current selected file on network and set parameters.
 Output parameters
1 Select EDIT mode and switch to a subpage displaying network.
2 Press soft keys [OUTPUT]→[OUTPUT PARM]. A message box displaying "NETWORK OUTPUT"
on its head is displayed. The message box disappears when the outputting operation is finished.
NOTE
Format of the file created by network operation is different from that created by USB and serial port
operations. Parameters’ information and RW attributes are written in the file.

13.6 INPUT/OUTPUT WORKPIECE COORDINATE


SYSTEM SETTING
Workpiece coordinate system setting can be input or output with network.

Explanation
 Input workpiece coordinate system setting
CNC unit reads data from computer via network and sets all workpiece coordinate systems.
 Output workpiece coordinate system setting
Write all workpiece coordinate systems’ setting in a file on computer.

- 192 -
OPERATION 13.DATA INPUT/OUTPUT

13.6.1 Input/Output Workpiece Coordinate System Setting with


Network
Procedures
 Input workpiece coordinate system setting
1 Select EDIT mode and switch to the sub-page displaying network information.
2 Select a tool offset data file(*.WCS)
3 Press 【INPUT】 key. System reads the current selected file on network and set workpiece coordinate
systems.
 Output workpiece coordinate system setting
1 Select EDIT mode and switch to a subpage displaying network.
2 Press soft keys [OUTPUT]→[OUTPUT WORK]. A message box displaying "NETWORK OUTPUT"
on its head is displayed. The message box disappears when the outputting operation is finished.

13.7 INPUT/OUTPUT PLC DATA


PLC data can be input or outputted through serial port or USB port. PLC data includes parameters in K
field, D field, T field, C field and TL field, PLC alarms, extended alarms and operation information.
For the latest software, only "KNDPLCV5.0" and later version can be used. Old version can not connect
with CNC unit. The files created by operation in this section can only used by the latest software.

Explanation
 Input PLC data
All or a part of PLC parameters can be transferred into CNC.
 Output PLC data
All parameters are transferred out to a file through serial port or USB port.

13.7.1 File Format


The following figure shows the format of PLC data file.
1 The first line of the file is called the file head.
(1) ① is company name
(2) ② is system model
(3) ③ is software version
(4) ④ is file indicator
(5) ⑤ is line break which is invisible
2 Content from the second line are parameters.
(1) Each item starts from parameter number, including field address and index
(2) "P" is used to separate parameter number and parameter value.
(3) Bit parameters use 8-bit binary as their values.
3 Content in lines from 7 to 9 are alarms information. Each line has three elements.
(1) ALM represents external alarm; EALM represents extended alarm; INFO represents operation
information

- 193 -
13.DATA INPUT/OUTPUT OPERATION

(2) "P" is used to separate parameter number and parameter value.


(3) The string after address "P" is remark information, both English and Chinese are available.
4 The last line of the file is an empty line.
① ② ③ ④ ⑤

NOTE
File format may be changed in the future version. It is recommended to perform output operation
first, change the newly created file and perform input operation.

13.7.2 Input/Output PLC Data via Serial Port


Procedures
 Input PLC data
1 Open a parameter file on PC using "KND Communication Software"
2 Turn the program protective switch on.
3 Select EDIT mode and switch to DIAGNOSIS screen.
4 Press 【INPUT】 key. A message box is displayed to wait for receiving a PLC data file.
5 Send file on PC using "KND Communication Software".
6 Message box disappears. System set PLC data according to received data.
 Output PLC data
1 Make "KND Communication Software" prepare to receive PLC data from CNC.
2 Select EDIT mode and switch to the DIAGNOSIS screen.
3 Press 【OUTPUT/SAVE】 key. System outputs PLC data item by item and displays a message box in
the center of the screen.
4 Message box is closed when all PLC data are transferred.
5 Check received data on "KND Communication Software".

13.7.3 Input/Output PLC Data Using U-disk


Procedures
 Input PLC data
1 Turn the program protective switch on.
2 Select EDIT mode an switch to the sub-page displaying U-disk information.

- 194 -
OPERATION 13.DATA INPUT/OUTPUT

3 Select a parameter file in U-disk(*.PRM)


4 Stay in USB page or switch to DIAGNOSIS screen
5 Press 【INPUT】 key. System reads the current selected file in U-disk and set PLC data.
 Output PLC data
1 Select EDIT mode and switch to DIAGNOSIS screen.
2 Press 【OUTPUT/SAVE】 key. System creates a new PLC data file in U-disk and writes all PLC data
in it.
NOTE
If a PLC data file has already existed in U-disk, it is overlapped without any presentation.

13.8 INPUT/OUTPUT PLC PROCEDURES AND LADDER


DIAGRAM
PLC procedures and ladder diagram can be input or outputted through USB port. (It is also able to input
or output PLC procedures and ladder diagram through serial port, please see PLC MANUAL for more
information.)
For the latest software, only "KNDPLCV5.0" and later version can be used. Old version can not connect
with CNC unit. The files created by operation in this section can only used by the latest software.

Explanation
 Input ladder diagram
CNC unit reads ladder diagram file (*.kin) from U-disk into system.
 Input PLC procedures and ladder diagram
CNC unit reads PLC procedures file and ladder diagram file (*.bin & *.kin) from U-disk into system. The
initial version will be overlapped.
 Output PLC procedures and ladder diagram
CNC unit creates two files in U-disk and writes PLC procedures and ladder diagram in them.

Procedures
 Input ladder diagram
1 Insert the U-disk in which a ladder diagram (*.kin) is saved.
2 Enable ladder diagram edit
(1) Set "PEDIT"(INSTALLATION & DEBUG MANUAL Page 125 P0004.4) to 1
(2) Turn the program protective switch on
(3) Enter MDI or EDIT mode
(4) Exit PLC debug mode
(5) Stop executing any G code
3 Switch to PROGRAM screen and select its subpage by press soft key [USB]
4 Move cursor to the file to be input and press 【INPUT】 key
5 CNC unit reads ladder diagram data and switch to the screen displaying ladder diagram
6 Current PLC procedures and ladder diagram won’t be covered immediately in this operation. Press
soft key [ABANDON] to abandon the newly input ladder diagram and press soft key [UPDATE] to
cover the current ladder diagram with the newly input one. New PLC procedures’ version consists of

- 195 -
13.DATA INPUT/OUTPUT OPERATION

input file name and current date. For example, if the file name of ladder diagram is
"k1000mii_csaxis_3.0.kin" and date of input operation is 14th November, 2014. PLC version is
"k1000mii_csaxis_3.0_20111114".
 Input PLC procedures and ladder diagram
1 Insert the U-disk in which target PLC procedures file and ladder diagram (*.kin) file are saved.
2 Enter PLC debug mode
3 Enter MDI mode
4 Disconnect CNC unit and KNDPLC software
5 Switch to PROGRAM screen and select its subpage by press soft key [USB]
6 Move cursor to the PLC procedures file to be input and press 【INPUT】 key
7 CNC unit reads the select file (*.bin) and reads the ladder diagram file (*.kin) with the same name.
Current PLC procedures and ladder diagram will be covered.
8 Exit PLC debug mode. CNC unit starts to scan the newly input PLC procedures.
NOTE
If the ladder diagram file does not exist, PLC procedures will also be read in. However, ladder
diagram can not be displayed and PS0558 occurs.
 Output PLC procedures and ladder diagram
1 Insert a U-disk
2 Enter EDIT mode and switch to the page displaying ladder diagram.
3 Clear input buffer
4 Press 【OUTPUT/SAVE】 key. The currently used PLC procedures and ladder diagram will written
into a file the U-disk. File name consists of PLC version and date. For example, if the PLC version is
"k1000mii_csaxis_3.0_20111110", and date of output operation is 14th November, 2014. New created
file name is "k1000mii_csaxis_3.0_20111114.kin".
NOTE
If a file has the same name existed in U-disk already, it is overlapped without any presentation.

13.9 SOFTWARE UPDATE AND BACKUP


It able to upgrade and backup CNC software using a U-disk. It is recommended to backup current
software before update operation.

Procedures
 Enter update and backup page
1 Press 【INPUT】 and 【PROG】 simultaneously when power-on. System enters upgrading screen
shown below, in which it waits for inserting a U-disk.

- 196 -
OPERATION 13.DATA INPUT/OUTPUT

'SHIFT'--sel. Language, 'CANCEL'--exit('切换'键选择语言,'取消'键退出)


K1000i/K100i/K10i/K1i Bootloader from USB flash disk V1.1(120315)
Please insert USB flash disk …

2 Insert a U-disk.
(1) System check the current using software version and display it on the screen. If no software is
available, "No software or invalid software" is displayed.
(2) System reads all available files in U-disk (*.bin) and displays them on screen.

'SHIFT'--sel. Language, 'CANCEL'--exit('切换'键选择语言,'取消'键退出)


K1000i/K100i/K10i/K1i Bootloader from USB flash disk V1.1(120315)
Please insert USB flash disk …
Find USB flash disk!
The CNC version number in system: K1000TTCi _A01_V3.1.13a_160310
List of program file in USB flash disk, please select number 1~8 to update.
Press number 0 to backup program in system to USB flash disk.
SYSTEM VERSION:
1 — K1000TTCi _A01_V3.1.13a_160310

 Backup software
1 Press number key 0 on panel to start backup

- 197 -
13.DATA INPUT/OUTPUT OPERATION

SHIFT'--sel. Language, 'CANCEL'--exit('切换'键选择语言,'取消'键退出)


K1000i/K100i/K10i/K1i Bootloader from USB flash disk V1.1(120315)
Please insert USB flash disk …
Find USB flash disk!
The CNC version number in system: K1000TTCi _A01_V3.1.13a_160310
List of program file in USB flash disk, please select number 1~8 to update.
Press number 0 to backup program in system to USB flash disk.
SYSTEM VERSION:
1 — K1000TTCi _A01_V3.1.13a_160310

Backuping, please wait … 51%

2 The current using software is write to a file named with the format "<software version>.bin".
3 Perform backup operation again.
 Update software
1 Press number keys 1~8 to select one software to update to.

'SHIFT'--sel. Language, 'CANCEL'--exit('切换'键选择语言,'取消'键退出)


K1000i/K100i/K10i/K1i Bootloader from USB flash disk V1.1(120315)
Please insert USB flash disk …
Find USB flash disk!
The CNC version number in system: K1000TTCi _A01_V3.1.13a_160310
List of program file in USB flash disk, please select number 1~8 to update.
Press number 0 to backup program in system to USB flash disk.
SYSTEM VERSION:
1 — K1000TTCi _A01_V3.1.13a_160310

You selected: 1
Loading software, please wait … 100%
Info: Upgrading successfully. CNC is restarted 3 second later.
2 "System reads and check the software file in U-disk. If the selected file is not available, check failure"
is displayed.
3 System replaces the older software with the selected file.
4 After replacement, system checks the new software again.
5 After finishing upgrading operation successfully, CNC is restarted 3 second later.
 Cancel update
Press 【CANCEL】 key in update screen shown above to cancel update operation.

- 198 -
OPERATION 13.DATA INPUT/OUTPUT

NOTE
1 It is recommended to restart CNC system after cancel upgrading operation.
2 Don’t pull U-disk out when updating software.

13.10 SYSTEM DATA BACKUP AND RESTORE


System data in this section include software, parameters, tool offset data, programs and PLC. These data
can be upgrading and backup in the form of a whole file (*DAT).

Procedures
 Backup
Press 【OUTPUT/SAVE】 and number key 9 when power-on, CNC backups system data to a file in
U-disk. Press 【CANCEL】 to exit the backup screen.
 Restore
Press 【INPUT】 and number key 9 when power on, CNC restores system data from a select file in
U-disk.
NOTE
1 All current using system data will be replaced when performing the restore operation, which is not
reversible. It is recommended to backup current using system data before perform the restore
operation.
2 Don’t pull U-disk out when restoring or backup.
3 The interface is similar to that used by update and backup operation of software.

13.11 ELECTRONIC DISK


Procedures
 Read
Any electronic disk can be selected to be read when power-on following the below procedures.
1 Press 【INPUT】 and a number key from 0 to 3 when power-on, system displays a message box "Read
disk, push 'RESET to confirm, or push 'CAN' to cancel. (n).". 'n' represents the selected number from 0
to 3.
2 Press 【RESET】 key to read the selected electronic disk content.
NOTE
1 Electronic disk 0 is used as factory system data. All programs and tool offset data will be cleared
and parameters are set to factory setting. Press 【RESET】 and 【PARAM】 simultaneously when
power-on, only parameters are set to factory setting, programs and tool offset data won't be
changed.
2 Reading electronic disk is only available when power-on.
 Save
The current using system data can be backup to an electronic disk.
1 Select EDIT mode and switch to a sub-page displaying program edit area.
2 Input address character "N".
3 Input a number from 1 to 3.
4 Press 【OUTPUT/SAVE】 key. A message box is displayed to indicating writing operation. It

- 199 -
13.DATA INPUT/OUTPUT OPERATION

disappears when writing operation finishes.


When "EDALM"(INSTALLATION & DEBUG MANUAL Page 143 P2300.5)is set to 1, write operation
is available even when one or more alarms is generated.

13.12 OPERATION AUTHORITY


When this function is enabled, some operations, such as output programs, output parameters, output tool
offset data and modifying macro variable names or presents, are limited.

13.12.1 Protection Range


The following operations are limited when the operation authority is not obtained.
1 Edit and display programs in the range 9000~9999. Set parameter "PRG9"(INSTALLATION &
DEBUG MANUAL Page 143 P2300.2) to extend the range (8000~9999).
2 Output parameter data.
3 Output tool offset data.
4 Modify names or presents of the macro variables in the range #300~#399 and #800~#899.

13.12.2 Operation Password


Set operation password first to enable operation authority function. It is controlled by the bit0 of
N980.

Set password
1 Enter DIAGNOSIS screen and move cursor on N980. When operation password is not specified, the
default value of N980 is 00000000. Press 【CHANGE】 to enter BIT mode. Move cursor to select the
most right bit. A message is displayed on the bottom of the screen: System operation password set.
2 Input the start-up code: 123456. A message is displayed on the bottom of the screen: Input system
operation password.
3 Input a password made up of 6 digits (* is displayed in the input buffer) and press 【INPUT】 key. A
message is displayed: Repeat system operation password.
4 Input the password in step 3 again and press 【INPUT】 key
5 If the two passwords are the same, a message box will be displayed indicating that the password is
saved, and N980.0 is set to 1. A message is displayed: system operation password is effective. If the
two passwords are different, a message is displayed: Inputs is not identical or not 6 digits, try again.

Delete password
1 Enter DIAGNOSIS screen and move cursor on N980. When operation password is specified
successfully, the default value of N980 is 00000001. Press 【CHANGE】 to enter BIT mode. Move
cursor to select the most right bit. A message is displayed on the bottom of the screen: system
operation password is effective.
2 Input number '0', a message is displayed: Input system operation password.
3 Input the password and press 【INPUT】 key
4 If the password is correct, a message box will be displayed indicating that the password is saved, and
N980.0 is set to 0. A message is displayed: System operation password set. If the password is wrong, a
message is displayed: Invalid system operation password, try again.

- 200 -
OPERATION 13.DATA INPUT/OUTPUT

5 It is necessary to reboot the system after 6 times of error inputs.

Change password
1 Enter DIAGNOSIS screen and move cursor on N980. When operation password is specified
successfully, the default value of N980 is 00000001. Press 【CHANGE】 to enter BIT mode. Move
cursor to select the most right bit. A message is displayed: system operation password is effective.
2 Input number '1', a message is displayed: Input system operation password.
3 Input the password and press 【INPUT】 key
4 If the password is correct, a message is displayed: Input new system operation password. If the
password is incorrect, a message is displayed: Invalid system operation password, try again.
5 Input a password made up of 6 digits (* is displayed in the input buffer) and press 【INPUT】 key. A
message is displayed: Repeat system operation password.
6 Input the password in step 5 again and press 【INPUT】 key
7 If the two passwords are the same, a message box will be displayed indicating that the password is
saved. If the two passwords are different, a message is displayed: Inputs is not identical or not 6 digits,
try again.
8 It is necessary to reboot the system after 6 times of error inputs.
NOTE
Initial password will be cleared after the operation of reading the electronic disk 0. Password will be
saved or covered after the operations of saving or reading the electronic disk 1, 2 or 3.

13.12.3 Open or Close Authority Switch


If the password is set successfully, the soft switch "OPR. RIGHT" will be displayed on SETTING screen.
Set it to 0 to close operation authority and set it to 1 to obtain authority. A message box will be displayed
when set it to 1. Input the correct password in this message box and obtain the operation authority.

- 201 -
II APPENDIX
APPENDIX 1.OPERATION TABLE

1 OPERATION TABLE
Prog. Param.
Type Function Mode Screen Operation
Switch switch
N→1~3(Electronic disk number)→
Save EDIT OUTPUT
Electronic SAVE
disk
Restore Power-on INPUT +1~3(Electronic disk number)

Initialize Initialize Power-on INPUT +0

HOME
Clear relative
STEP POS Press 1~4→Address flicking→ CAN
coordinates
JOG
Clear
machine POS CAN +1~4
Clear
coordinate
Machining
POS CAN + ALTER
time

Parts' number POS CAN + DEL

Parameter ON EDIT PARAM INPUT

PC/U-disk
Tool offset EDIT OFFSET INPUT
→CNC

Program ON EDIT PROG Oxxxx→ INPUT

OUTPUT
Parameter EDIT PARAM SAVE

OUTPUT
Tool offset EDIT OFFSET SAVE
CNC→
PC/U-disk OUTPUT
All programs EDIT PROG O-9999→ SAVE

Single OUTPUT
EDIT PROG Oxxxx→ SAVE
program
Press 1~4→Address flicking
Adjust
Brightness HOME POS
brightness → or

Setting
Set data ON MDI PARAM Data→ INPUT
data

- 205 -
1.OPERATION TABLE APPENDIX

Prog. Param.
Type Function Mode Screen Operation
Switch switch

Set offset MDI OFFSET Offset value→ INPUT

Program EDIT
PROG Oxxxx→
number AUTO

Block number EDIT PROG Nxxxx→

Word EDIT PROG Character to be searched→

Search Address EDIT PROG Address to be searched→

Parameter PRRAM Pxxxx→ INPUT

DGN
DGN Address number→ INPUT
parameter

Ladder net LADDER Jxxx→ or

Parameter SETTING → or
Switches
Program OPERATOR Number key 4
Delete a
ON EDIT PROG Oxxxx→ DEL
program
Delete all
ON EDIT PROG O-9999→ DEL
program
Delete mult.
ON EDIT PROG N→±Block number→ DEL
Blocks

Delete word ON EDIT PROG Search the word to be deleted→ DEL

Search the word to be altered→New


Alter word ON EDIT PROG
data→ ALTER
EDIT
Find the position to perform insert
Insert word ON EDIT PROG
→input new data→ INSERT

[EX-EDIT]→[COPY]
Copy →[ALL] or [START]
ON EDIT PROG
program →[TAIL] or [END]
→Oxxxx→[EXT]
[EX-EDIT]→[MOVE]
Move blocks ON EDIT PROG → [START]
→[TAIL] or [END]

- 206 -
APPENDIX 1.OPERATION TABLE

Prog. Param.
Type Function Mode Screen Operation
Switch switch
→Oxxxx→[EXT]
[EX-EDIT]→[MERGE]→[TAIL] or
Merge
ON EDIT PROG [START]
programs
→Oxxxx→[EXT]
Compare Check
OFF EDIT PROG Oxxxx→ INPUT
& check program

- 207 -
2.COMMAND RANGE APPENDIX

2 COMMAND RANGE
Input unit Metric screw/input by mm Metric screw/input by inch
Range Input by mm/Output by mm Input by inch/Output by mm
Least input increment 0.001mm 0.0001mm 0.0001inch 0.00001inch
Max ravel distance ±99999.999mm ±9999.9999mm 99999999mm ±99999.9999mm
Programming size ±99999.999mm ±9999.9999mm ±9999.99999inch ±9999.99999inch
Feedrate 1~48000 mm/min 1~48000 mm/min 0.01~2000.00inch/min 0.01~2000.00inch/min
Rapid traverse rate 30~120000mm/min 30~120000mm/min 30~120000mm/min 30~120000mm/min
Max feedrate 6~48000 mm/min 6~48000 mm/min 6~48000 mm/min 6~48000 mm/min
Tool offset 0~±999.999mm 0~±999.9999mm 0~±99.9999inch 0~±99.99999inch
Least step increment 0.001mm 0.0001mm 0.0001inch 0.00001inch
Backlash comp. 0~8mm 0~8mm 0~8mm 0~8mm
Pitch-error comp. 0~±0.1mm 0~±0.1mm 0~±0.1mm 0~±0.1mm
Overtravel limit ±99999.999mm ±9999.9999mm 99999999mm ±99999.9999mm
Pause time 0~99999.999s 0~99999.999s 0~99999.999s 0~99999.999s

Input unit Inch screw/input by mm Inch screw/input by inch


Range Input by mm/Output by inch Input by inch/Output by inch
Least input increment 0.001mm 0.0001mm 0.0001inch 0.00001inch
Max ravel distance ±9999.9999inch ±9999.99999inch ±9999.9999inch ±9999.99999inch
Programming size ±99999.999mm ±99999.9999mm ±9999.9999inch ±9999.99999inch
Feedrate 1~48000 mm/min 1~48000 mm/min 0.01~2000.00inch/min 0.01~2000.00inch/min
Rapid traverse rate 3.0~9000.0inch/min 3.0~4500.0inch/min 3.0~9000.0inch/min 3.0~4500.0inch/min
Max feedrate 0.6~2000.0inch/min 0.6~2000.0inch/min 0.6~2000.0inch/min 0.6~2000.0inch/min
Tool offset 0~±999.999mm 0~±999.9999mm 0~±99.9999inch 0~±99.99999inch
Least step increment 0.001mm 0.0001mm 0.0001inch 0.00001inch
Backlash comp. 0~0.3inch 0~0.3inch 0~0.3inch 0~0.3inch
Pitch-error comp. 0~±0.003937inch 0~±0.003937inch 0~±0.003937inch 0~±0.003937inch
Overtravel limit ±99999.9999inch ±9999.99999inch ±99999.9999inch ±9999.99999inch
Pause time 0~99999.999s 0~99999.999s 0~99999.999s 0~99999.999s
NOTE: Two columns are used to display two settings of decimal points numbers.

- 208 -
APPENDIX 3.BINARY TRANSITION TABLE

3 BINARY TRANSITION TABLE


Decimal Binary Decimal Binary Decimal Binary Decimal Binary

0 00000000 32 00100000 64 01000000 96 01100000

1 00000001 33 00100001 65 01000001 97 01100001

2 00000010 34 00100010 66 01000010 98 01100010

3 00000011 35 00100011 67 01000011 99 01100011

4 00000100 36 00100100 68 01000100 100 01100100

5 00000101 37 00100101 69 01000101 101 01100101

6 00000110 38 00100110 70 01000110 102 01100110

7 00000111 39 00100111 71 01000111 103 01100111

8 00001000 40 00101000 72 01001000 104 01101000

9 00001001 41 00101001 73 01001001 105 01101001

10 00001010 42 00101010 74 01001010 106 01101010

11 00001011 43 00101011 75 01001011 107 01101011

12 00001100 44 00101100 76 01001100 108 01101100

13 00001101 45 00101101 77 01001101 109 01101101

14 00001110 46 00101110 78 01001110 110 01101110

15 00001111 47 00101111 79 01001111 111 01101111

16 00010000 48 00110000 80 01010000 112 01110000

17 00010001 49 00110001 81 01010001 113 01110001

18 00010010 50 00110010 82 01010010 114 01110010

19 00010011 51 00110011 83 01010011 115 01110011

20 00010100 52 00110100 84 01010100 116 01110100

21 00010101 53 00110101 85 01010101 117 01110101

22 00010110 54 00110110 86 01010110 118 01110110

23 00010111 55 00110111 87 01010111 119 01110111

24 00011000 56 00111000 88 01011000 120 01111000

25 00011001 57 00111001 89 01011001 121 01111001

26 00011010 58 00111010 90 01011010 122 01111010

27 00011011 59 00111011 91 01011011 123 01111011

28 00011100 60 00111100 92 01011100 124 01111100

29 00011101 61 00111101 93 01011101 125 01111101

30 00011110 62 00111110 94 01011110 126 01111110

31 00011111 63 00111111 95 01011111 127 01111111

- 209 -
3.BINARY TRANSITION TABLE APPENDIX

Decimal Binary Decimal Binary Decimal Binary Decimal Binary

128 10000000 160 10100000 192 11000000 224 11100000

129 10000001 161 10100001 193 11000001 225 11100001

130 10000010 162 10100010 194 11000010 226 11100010

131 10000011 163 10100011 195 11000011 227 11100011

132 10000100 164 10100100 196 11000100 228 11100100

133 10000101 165 10100101 197 11000101 229 11100101

134 10000110 166 10100110 198 11000110 230 11100110

135 10000111 167 10100111 199 11000111 231 11100111

136 10001000 168 10101000 200 11001000 232 11101000

137 10001001 169 10101001 201 11001001 233 11101001

138 10001010 170 10101010 202 11001010 234 11101010

139 10001011 171 10101011 203 11001011 235 11101011

140 10001100 172 10101100 204 11001100 236 11101100

141 10001101 173 10101101 205 11001101 237 11101101

142 10001110 174 10101110 206 11001110 238 11101110

143 10001111 175 10101111 207 11001111 239 11101111

144 10010000 176 10110000 208 11010000 240 11110000

145 10010001 177 10110001 209 11010001 241 11110001

146 10010010 178 10110010 210 11010010 242 11110010

147 10010011 179 10110011 211 11010011 243 11110011

148 10010100 180 10110100 212 11010100 244 11110100

149 10010101 181 10110101 213 11010101 245 11110101

150 10010110 182 10110110 214 11010110 246 11110110

151 10010111 183 10110111 215 11010111 247 11110111

152 10011000 184 10111000 216 11011000 248 11111000

153 10011001 185 10111001 217 11011001 249 11111001

154 10011010 186 10111010 218 11011010 250 11111010

155 10011011 187 10111011 219 11011011 251 11111011

156 10011100 188 10111100 220 11011100 252 11111100

157 10011101 189 10111101 221 11011101 253 11111101

158 10011110 190 10111110 222 11011110 254 11111110

159 10011111 192 10111111 223 11011111 255 11111111

- 210 -
APPENDIX 4.SERIAL PORT COMMUNICATION

4 SERIAL PORT COMMUNICATION


This system uses "KND Serial Port Communication V5.0" to communicate with PC. Please refer to the
manual of this software for more help information. This section describes the usage simply.

Explanation
 Installation
Run the file "KND Serial Communication 5.0.exe"
 Platform
Windows 98/Windows2000/WindowsXP。
 User interface

 Set serial port attributes


Click the [Setup] button on user interface and the box shown as below will be displayed.

Serial port number, baud rate, data bit number, stop bit number and odd-even check can be specified in

- 211 -
4.SERIAL PORT COMMUNICATION APPENDIX

this box.
 Serial port: COM1~COM9
 Baud rate: 4800/7200/9600/19200/38400/57600/115200bps
 Data bit number: 5~8 bits
 Stop bit number: 1 or 2
 Odd-even check: None, odd check or even check
NOTE
Do keep the serial ports' attributes on both CNC side and PC side same. It is recommended to use the
default value except for the serial port number and baud rate.
 Receive data
 Click the [Receive] button
 Make CNC send data
 If receiving operation is finished successfully, received data is displayed in the software. It is able to
edit, save or save as the received data or transfer it to CNC reversely.
 Send data
Open a desired file with the software or input new data in the software, make CNC enter the receiving
state. Press [Send] button to send data down to CNC.
 DNC machining
Start DNC machining on CNC unit, click 【Send】 button on this software, program in edit window will
be send down to CNC unit block by block, at the same time execution process is also displayed on the
bottom of the interface. Pause, stop or continue operations are also available.

- 212 -
APPENDIX 5.ETHERNET COMMUNICATION SOFTWARE

5 ETHERNET COMMUNICATION
SOFTWARE
Operations such as download or upload programs, parameters, offset values, macro variables between
computer and CNC unit can be achieved with the Ethernet communication software supplied by KND
company. "download" in this section represents the operation of transmitting data from computer to CNC
unit, "upload" represents the operation of transmitting data from CNC unit to computer.

5.1 COMMUNICATION SETTING


Parameter
The following parameters used by Ethernet can be set on CNC unit
 Native IP(P8111)
 Subnet mask code(P8112)
 IP of the default gateway(P8113)
 IP of the host computer(P8114)
 Threshold time used to judge communication overtime of Ethernet(P8115)

Switch
 Program protective switch
Turn on the program protective switch before downloading a program from computer to CNC unit via
Ethernet, or CNC unit rejects the download requirement.
 Parameter switch
Turn on the parameter switch before downloading parameters, offset values or macro variables into CNC
unit.

5.2 SOFTWARE DESCRIPTION


5.2.1 Software Interface
Software interface is as follows:

- 213 -
5.ETHERNET COMMUNICATION SOFTWARE APPENDIX

Work area
Two tabs are provided to display CNC list and information.
 CNC list
CNC list and local files are displayed in this tab. All CNC units connected to this software are listed. Files
in work directory are displayed.
 Information
All information about transmitting tasks are displayed in this tab, as shown in the figure below:

- 214 -
APPENDIX 5.ETHERNET COMMUNICATION SOFTWARE

File content
Contents of the current file are displayed on the right side of the interface.

Names of opened files


Names of the opened files are displayed below the tool bar.

Status bar
Line number and column number of the cursor are displayed in status bar.
The software adds the newly founded CNC unit in the CNC list. In above figure, the CNC unit whose IP
address is 192.168.7.101 is added in the list. The operations of download and upload data between the
CNC unit and computer are available by pressing buttons on tool bar, main menus or context menus.
To upload data in CNC unit to computer, press the "Upload" button in context menus. If a file is not
uploaded to computer yet, double click it to start upload operation. If the file is uploaded already, double
click to make it to be the current file. Press the "Upload" button in the context menu of "Program" to
transmit all programs in CNC units up to computer, further more, it is able to download all programs in
default directory into CNC unit by pressing "download" button.
All files in default directory are displayed in Local Files. This directory can be changed manually by
operations "main menu -> parameter -> setting". However, the file list won't be updated automatically
after changing the default directory. By pressing the "Update" button in the context menu of "Local Files"
to update the file list.

5.2.2 Main Icons

These icons indicate the connection states. represents the connection between CNC and computer
is built and no data is transforming. represents the connection is cut off. The reason may be
network malfunction or net cable is pulled out. represents data is being transmitted between CNC
- 215 -
5.ETHERNET COMMUNICATION SOFTWARE APPENDIX

and computer. represents that connection between CNC and computer are disabled.

These icons indicate the program states. indicates the program has been uploaded to computer.
indicates the program has not been uploaded to computer. indicates the program has been uploaded
to computer and been modified.

These icons indicate states of programs created on computer, which are not downloaded into CNC unit.
indicates the program is opened. indicates the program is opened and modified. indicates
the program is closed.

5.2.3 Main Menus


Search & replace
Search and replace menus are displayed under EDIT menu, as shown in the figure:

Goto
Goto menu are provided under EDIT menu. It is used to locate cursor to a target line, as shown in the
figure below.

- 216 -
APPENDIX 5.ETHERNET COMMUNICATION SOFTWARE

Parameter setting
Parameter setting menu is displayed under the SETTING menu. A box is displayed when the menu is
pressed. Default directory, "Automatic add CNC unit", "Automatic add program list" and "Maximum
CNC number" can be set on this box.

When "Automatic add CNC unit" is selected, the newly found CNC unit will be added in the CNC list.
When "Automatic add program list" is selected, programs in the newly added CNC unit will be uploaded
into computer automatically.

CNC management
CNC management menu is provided under OPERATION menu. The box shown in the figure below will
be displayed when this menu is pressed. All CNC unit that has been detected will be listed here. It is able
to select one or more and add it in the CNC list.

- 217 -
5.ETHERNET COMMUNICATION SOFTWARE APPENDIX

All detected CNC units which are not added in CNC list are listed on the left table. All CNC unit that are
added in CNC list are displayed on the right table. Use the buttons "-->", "<--", "全部>>", "<<全部" to
move items between the two tables.
Add or remove a CNC unit can be achieved by pressing the menus "Add CNC" and "Remove CNC"
under OPERATION menu or in the context menu of CNC List. The box is as follows:

Data transmitting operation can be started on CNC unit. A subpage used by network is provided on
PROGRAM screen, which is switched to by pressing soft key [NETWORK]. The soft keys [REFRESH],
[OUTPUT], [DNC OPEN] and [OPEN] are provided by this subpage. Press soft key [REFRESH] to read
file list on computer via Ethernet and display it on CNC unit. Move cursor to select one file and press
【INPUT】 key on panel to read the select file into CNC unit. [DNC OPEN] and [OPEN] are provided
for operate machining programs. It is able to open a program on computer directly by pressing these two
soft keys. Soft key [OUTPUT] has submenus: [PROG], [PARAM], [OFFSET] and [VAR]. For example,
if soft key [PROG] is pressed, CNC unit automatically upload parameters to computer. If the operation
succeeds, a file called "Param(NC_IP).par" is created in the default directory.

5.3 ESTABLISH COMMUNICATION


The communication will be established automatically when the TCP/IP attributes of CNC unit match with
those of computer. The following procedures show how to establish the communication.
1 Connect CNC unit and computer with network cable
2 Set attributes of computer. We take the following attributes for example.
(1) IP address: 192.168.1.2
(2) Subnet masks: 255.255.255.0
- 218 -
APPENDIX 5.ETHERNET COMMUNICATION SOFTWARE

(3) Default gateway: 192.168.1.1


3 Set attributes of CNC unit following those of computer. For the example in step 2, the following
attributes can be used as an example.
(1) IP address: 192.168.1.3 (in the same field with computer)
(2) Subnet masks: 255.255.255.0 (be the same with computer)
(3) Default gateway: 192.168.1.1 (be the same with computer)
4 Connection is established automatically. The target CNC unit will be displayed on KNDHMI interface.

- 219 -

You might also like