K1000TTCi Operator
K1000TTCi Operator
OPERATOR'S MANUAL
OPERATOR ' S MANUAL
B040B-0101-W32N - 0101
NOTE ABOUT USERS' MANUAL
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
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
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
8 ALARM ......................................................................................................................... 60
- III -
CONTENT
- IV -
CONTENT
- V -
CONTENT
- VI -
CONTENT
II APPENDIX ................................................................................................203
- 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》)
Operators panel
Handle
Tool
Workpiece
- 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.
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.
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.
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
程序 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)
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.
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)
Tool
Feedrate override
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
Tool X100.000
Z200.000
……
LCD Key
- 7 -
1.GENERAL OPERATION
N 1…
N 2…
Program
Data setting
Data
Data displaying
LCD Key
Offset value
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
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.
CNC memory
Operational
characteristics
Automatic
Program
opration
Movement of
the machine
- 9 -
1.GENERAL OPERATION
KEY ……
CNC memory
Operational
characteristics
Automatic
Program
opration
Movement of
the machine
LCD
KEY
Program
protection key
- 10 -
OPERATION 1.GENERAL
1.7 DISPLAY
1.7.1 Program Display
Active program
Catalogue of programs
- 11 -
1.GENERAL OPERATION
X
Workpiece coordinate system
- 12 -
OPERATION 1.GENERAL
Program
……
……
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
NOTE
The TFT liquid crystal screen is able to adjust the brightness automatically. Generally, it is not
necessary to adjust its brightness manually.
OFS
VAR : OFFSET interface and MACRO VAR 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.
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
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.
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
【INPUT】 Input programs, parameters, offset values, etc. via RS232 or USB
- 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.
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
Automatic handle
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%
X Z
Y C
Spindle control
T
Coolant control
Lubrication control
Tail control
Chuck control
Machine lock
MST
Auxiliary function lock
Single block
Dry run
- 20 -
OPERATION 2.OPERATION PANEL
K1000TTCi Function
M01
Optional block stop
F1 F2 F3 Self-defining functions
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.
- 23 -
4.MANUAL OPERATION OPERATION
4 MANUAL OPERATION
Manual operations may be performed in multiple modes such as HOME, JOG, HANDLE and STEP.
- 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.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.
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.
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.
- 29 -
4.MANUAL OPERATION OPERATION
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:
%
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
- 30 -
OPERATION 4.MANUAL OPERATION
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.
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.
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.
- 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.
- 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)
- 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)
Y-axis is N3
not moved
Manual
operation
N2
N1
Manual
operation
N2 N3
N1
VC1’
VB2 VC1
PB PC
VB1 VC2
VB2’
PB’
VB1’ PH
PD
VB2’
P B’ PD
VB1’
Programmed path specified
by absolute command
PA
PH
Tool nose path VA2 VA1
Manual
operation
VA2’ VA1’
PH’
- 36 -
OPERATION 4.MANUAL OPERATION
VC1’
VB2 VC1
Manual
operation VB1 PB PC
VC2
VB2’
VB1’ PB’ PD
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.
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.
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.
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
NOTE
1 If is pressed when the spindle is rotating in the positive direction (CW), CNC stops the
Press T in JOG, HANDLE, STEP or HOME mode to make spindle rotate clockwise. Release the
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.
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.
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
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
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.
- 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.
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
3rd frame
4th frame
- 44 -
OPERATION 5.AUTOMATIC OPERATION
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
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].
- 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.
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.
- 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.
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.
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
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.
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.)
%
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
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.
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
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:
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.
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
- 51 -
6.TEST OPERATION OPERATION
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
③ ⑤
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
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
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.
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
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
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.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
- 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.
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.
- 61 -
9.EDITING PROGRAMS OPERATION
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
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.
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.
- 63 -
9.EDITING PROGRAMS OPERATION
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.
- 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 "%".
Explanation
Delete the EOB character
If ";" is deleted, the two blocks separated by it will combine together.
- 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.
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.
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 ;
%
- 67 -
9.EDITING PROGRAMS OPERATION
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"
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"
It is able to move program cursor on any edit unit of a program by pressing the keys ,
- 68 -
OPERATION 9.EDITING PROGRAMS
, , , and .
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.1 Copy
A new program can be created by copying a whole program or a part.
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
- 70 -
OPERATION 9.EDITING PROGRAMS
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
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
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
- 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.
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.
- 77 -
9.EDITING PROGRAMS OPERATION
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
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
- 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.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
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
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
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
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
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
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.
- 90 -
OPERATION 10.DISPLAY AND SETTING
① ② ③
Screen name
All main screens have a unique name displayed on the left top corner of the screen.
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
NOTE
When using English interface, INDEX screen is not supported, the information of bit parameters is
not displayed either.
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.
- 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
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.
- 98 -
OPERATION 10.DISPLAY AND SETTING
NOTE
[NETWORK] is valid only when "NET"(INSTALLATION & DEBUG MANUAL Page 125
P0004.3) is set to 1.
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.
- 99 -
10.DISPLAY AND SETTING OPERATION
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.
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.
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
- 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.
+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
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
α = 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].
- 109 -
10.DISPLAY AND SETTING OPERATION
Decimal point
Decimal digits of tool length compensation are determined by axis type and decimal digits' number of the
axis.
MACS2=0
- 110 -
OPERATION 10.DISPLAY AND SETTING
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.
- 111 -
10.DISPLAY AND SETTING OPERATION
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
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.
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 ;
②
③
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.
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.
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
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
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.
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.
- 118 -
OPERATION 10.DISPLAY AND SETTING
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.
- 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.
- 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.
- 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.
- 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.
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
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
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.
- 126 -
OPERATION 10.DISPLAY AND SETTING
- 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.
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.
Procedures
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
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.
- 131 -
10.DISPLAY AND SETTING OPERATION
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
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
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
- 137 -
11.PLC DESCRIPTION OPERATION
Command numbers
This CNC unit provides 71 commands totally, including basic commands and functional commands.
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.
- 138 -
OPERATION 11.PLC DESCRIPTION
[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.
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
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.
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.
Procedures
1 Enter MDI mode, turn the program protective switch on.
- 140 -
OPERATION 11.PLC DESCRIPTION
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.
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
Procedures
1 Enter MDI mode, turn the program protective switch on.
- 141 -
11.PLC DESCRIPTION OPERATION
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
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.
- 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.
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.
- 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.
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.
- 144 -
OPERATION 11.PLC DESCRIPTION
①
⑤
② ⑥
③
④
⑦
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
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.
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.
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
Search subprogram
1 Input complete subprogram number or part of it, for example, "P100"
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"
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
- 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.
- 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.
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
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.
- 154 -
OPERATION 11.PLC DESCRIPTION
- 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].
- 156 -
OPERATION 12.GRAPHICS FUNCTION
- 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.
TRANS
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.
- 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.
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
- 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
- 161 -
12.GRAPHICS FUNCTION OPERATION
(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.
- 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
- 169 -
12.GRAPHICS FUNCTION OPERATION
X
Diameter (D)
Machine
coordinate
system Z
O
Length (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.
X
X
Workpiece
coordinate system
Z
O
Machine
coordinate system
Z
O
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.
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.
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- ][ ]
- 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.
- 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
- 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.
- 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.
Electronic disk 1
Electronic disk 2
Electronic disk 3 Current using data
(in CMOS area)
Standard data
Program, offset data are
cleared
- 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.
① % ②
③ O0001 ;
G01 X0 Z0 F100. ;
④ X100. Z100. ;
X200. ;
X300. ;
X400. ;
X0 Z0 ;
M30 ;
⑤ %
⑥
- 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
- 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
- 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.
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.
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.
- 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.
- 187 -
13.DATA INPUT/OUTPUT OPERATION
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.
- 188 -
OPERATION 13.DATA INPUT/OUTPUT
① ② ③ ④ ⑤
⑦
⑥
⑧
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.
- 189 -
13.DATA INPUT/OUTPUT OPERATION
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.
- 190 -
OPERATION 13.DATA INPUT/OUTPUT
① ② ③ ④ ⑤
⑥ ⑦ ⑧
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.
- 191 -
13.DATA INPUT/OUTPUT OPERATION
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
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.
- 193 -
13.DATA INPUT/OUTPUT OPERATION
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.
- 194 -
OPERATION 13.DATA INPUT/OUTPUT
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.
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
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.
Backup software
1 Press number key 0 on panel to start backup
- 197 -
13.DATA INPUT/OUTPUT OPERATION
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.
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.
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.
- 199 -
13.DATA INPUT/OUTPUT OPERATION
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
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.
- 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)
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
PC/U-disk
Tool offset EDIT OFFSET INPUT
→CNC
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
Program EDIT
PROG Oxxxx→
number AUTO
DGN
DGN Address number→ INPUT
parameter
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
[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
- 208 -
APPENDIX 3.BINARY TRANSITION TABLE
- 209 -
3.BINARY TRANSITION TABLE APPENDIX
- 210 -
APPENDIX 4.SERIAL PORT COMMUNICATION
Explanation
Installation
Run the file "KND Serial Communication 5.0.exe"
Platform
Windows 98/Windows2000/WindowsXP。
User interface
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.
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.
- 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.
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.
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.
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.
- 219 -