You are on page 1of 144

Preface

This manual treats the detailed information about the features,


components, commands, usage, operation procedure, programming and
beyond of HNC-818 NC system to help user find a clear and thorough
way to learn and use this system. Any updates or upgrades of this manual
is not allowed without the authorization of Wuhan Huazhong Numerical
Control Co., LTD (hereafter referred to as “HNC") under any
circumstances. No modification of any part may take place without the
written permission of HNC.
In this manual we have tried as much as possible to describe all the
various matters. However, we cannot describe all the matters which must
not be done, or which cannot be done, because there are so many
possibilities. Therefore, matters which are not especially described as
possible in this manual should be regarded as “impossible” or “not
allowed”.

This manual is in copyright. No part of this manual may be reproduced


in any form.

i
Contents HNC-818 User Manual

Contents
Preface ......................................................................................................................................................................... i

Contents ...................................................................................................................................................................... ii

I overview .............................................................................................................................................................. 5

II Operation............................................................................................................................................................ 7

1 Operation Device ......................................................................................................................................... 8


1.1 Display and Operator’s Panel ...................................................................................................... 9
1.2 NC Keyboard ............................................................................................................................. 10
1.3 Machine Control Panel .............................................................................................................. 12
1.4 Hand-Held Unit ......................................................................................................................... 14
1.5 Operator’s Panels ....................................................................................................................... 15
2 Power On, Power Off and Emergency Stop............................................................................................... 17
2.1 Power On ................................................................................................................................... 18
2.2 Reset .......................................................................................................................................... 19
2.3 Reference Position Return ......................................................................................................... 20
2.4 Emergency Stop ......................................................................................................................... 22
2.5 Overtravel Release ..................................................................................................................... 23
2.6 Power Off................................................................................................................................... 24
3 JOG Operation ........................................................................................................................................... 25
3.1 Motion on Axis .......................................................................................................................... 26
3.2 Spindle Control .......................................................................................................................... 29
3.3 Machine Lock, Axis Z Lock ...................................................................................................... 31
3.4 Manual Data Input (MDI) .......................................................................................................... 32
4 Settings ...................................................................................................................................................... 35
4.1 Tool Compensation Data............................................................................................................ 36
4.2 Magazine.................................................................................................................................... 37
4.3 Tool Life .................................................................................................................................... 38
4.4 Coordinate System Setting......................................................................................................... 40
4.5 Workpiece Measurement ........................................................................................................... 42
5 Processing and Management ..................................................................................................................... 46
5.1 Select Program ........................................................................................................................... 47
5.2 Edit Program .............................................................................................................................. 51
5.3 Program Management ................................................................................................................ 55
5.4 Random Line ............................................................................................................................. 57
5.5 Verification ................................................................................................................................ 63
5.6 Display Mode............................................................................................................................. 64
5.7 Processing Information .............................................................................................................. 66
5.8 Path Display ............................................................................................................................... 68

ii
HNC-818 User Manual Contents

5.9 QR Code .................................................................................................................................... 70


6 Operation Control ...................................................................................................................................... 71
6.1 Start, Suspend, Stop ................................................................................................................... 72
6.2 Dry Run ..................................................................................................................................... 73
6.3 Block Skip ................................................................................................................................. 74
6.4 Option Stop ................................................................................................................................ 75
6.5 Single Block............................................................................................................................... 76
6.6 Machining Breakpoint Saving and Restoring ............................................................................ 77
6.7 Intervention at runtime............................................................................................................... 79
7 Diagnosis ................................................................................................................................................... 81
7.1 Alarm Display ............................................................................................................................ 82
7.2 Alarm History ............................................................................................................................ 83
7.3 Ladder ........................................................................................................................................ 84
7.4 Status Display ............................................................................................................................ 91
7.5 Macro Variables ......................................................................................................................... 92
7.6 Servo Adjustment....................................................................................................................... 93
7.7 Machining Information ............................................................................................................ 108
7.8 Version ..................................................................................................................................... 109
8 Maintenance.............................................................................................................................................. 111
8.1 Device Configuration ................................................................................................................112
8.2 System Parameter .....................................................................................................................113
8.3 Graphic Setting of User P Parameter ........................................................................................115
8.4 Parameter Upgrade ...................................................................................................................118
8.5 Parameter Configuration Interface ............................................................................................119
8.6 Time ......................................................................................................................................... 121
8.7 Bulk Debugging ....................................................................................................................... 122
8.8 Data Management .................................................................................................................... 123
8.9 Permission Management .......................................................................................................... 127
8.10 Permission Configuration ........................................................................................................ 129
8.11 Network Communication ......................................................................................................... 132
8.12 System Upgrade ....................................................................................................................... 136
8.13 Import System Logo Interface ................................................................................................. 137
9 User Operation and Maintenance Information ........................................................................................ 139
9.1 Environmental Requirements................................................................................................... 140
9.2 Grounding ................................................................................................................................ 141
9.3 Power Conditions..................................................................................................................... 142
9.4 Clean Fan Filter ....................................................................................................................... 143
9.5 Operations After Being Left Unused ....................................................................................... 144
17. Other Functions HNC-818 User Manual

4
I overview
The following models are contained in the manual:

Name Model
HNC-818A Milling NC Unit HNC-818A-MU
HNC-818B Milling NC Unit HNC-818B-MU
HNC-808D Milling NC Unit HNC-808D-MU
HNC-808D Milling NC Unit HNC-808D-MU

6
II Operation
1. Operation Device HNC-818 User Manual

1 Operation Device

This chapter describes the operation console and system operation


interface of HNC-818.

 Display and Operator’s Panel

 NC Keyboard

 Machine Control Panel

 Hand Held Unit

 System Operation Interface

8
HNC-818 User Manual 1. Operation Device

1.1 Display and Operator’s Panel

HNC-818A-MU

8.4-inch color liquid crystal display (resolution: 800×600)

HNC-818B-MU

10.4-inch color liquid crystal display (resolution: 800×600)

1. Manufacturer’s Logo

2. Display screen

3. USB interface

4. Ethernet interface

5. Soft keys

6. Functional keys

7. Cursor control

8. Characters and numbers keyboard

9
1. Operation Device HNC-818 User Manual

1.2 NC Keyboard

The NC keyboard includes a compact MDI keyboard, main menu keys


and functional keys, which are mainly used for the programming,
parameter input, MDI and system management.

- MDI keyboard: Most of keys can be used with the Shift key. For
example, pressing the Shift key and a letter/number key
simultaneously inputs the characters on the top accompanied with
the pressed letter/number key.

HNC-818A

HNC-818B

10
HNC-818 User Manual 1. Operation Device

HNC-808D

HNC-818D

11
1. Operation Device HNC-818 User Manual

1.3 Machine Control Panel

The machine control panel is used to control the behavior and processing
of machine.

HNC-818A-MU

HNC-818B-MU

HNC-808D-MU

12
HNC-818 User Manual 1. Operation Device

HNC-818D-MU

13
1. Operation Device HNC-818 User Manual

1.4 Hand-Held Unit

The hand-held unit, which is used for incremental feed along the
coordinate axis by rotating the handle, consists of a manual pulse
generator (MPG) and a coordinate axis select switch. The structure of
handheld unit is shown as below (the appearance as per the actual
products):

14
HNC-818 User Manual 1. Operation Device

1.5 Operator’s Panels

The operation interface of HNC-818 is shown below:

1. Title bar

• Machining mode: Pressing the button of Auto, Single Block,


JOG, Incremental, Reference Position Return, or Emergency
Stop on the machine control panel enables the corresponding
machining mode.

• System alarm information

• The 0 level main menu: Display the currently activated main


menu buttons.

• USB flash disk connection and network connection.

• System flags and time.

2. Graphical display: The information displayed in this area varies


with the menu selected.

3. G Code display: Preview or display the code of the machining


program.

4. Input box: type the information requiring inputs in this box.

5. Menu command bar: run functional operation through


corresponding functional key in the menu command bar.

15
1. Operation Device HNC-818 User Manual

6. Machining information: display the quantity of workpieces


processed and to be processed, and the execution progress of the
current program.

7. Supplementary functions: Display the T/F/S information.

8. Modal G: Display the G modal during machining

16
HNC-818 User Manual 2. Power On/Off and Emergency Stop

2 Power On, Power Off and Emergency Stop

The chapter describes the operations on power on/off, emergency stop,


reset, reference position return and canceling over-travel.

17
2. Power On/Off and Emergency Stop HNC-818 User Manual

2.1 Power On

Operation procedure 1. Make sure the machine can operate correctly.

2. Ensure than the power supply voltage is within the range specified
in this manual and the wiring is correct.

3. Press the Emergency Stop button.

4. Apply power to the machine.

5. Apply power to CNC.

6. Make sure the indication lamps on the machine control panel are
working.

7. Immediately after power on, the CNC runs in the emergency stop
mode.

18
HNC-818 User Manual 2. Power On/Off and Emergency Stop

2.2 Reset

Operation procedure Immediately after power on, when the operation interface appears on the
CNC unit, the initial operation mode is displayed as Emergency Stop.
Then, pull up the Emergency Stop button in the clockwise direction to
reset the system and to enable the servo-on.

19
2. Power On/Off and Emergency Stop HNC-818 User Manual

2.3 Reference Position Return

The control of the machine motion is based on the establishment of


coordinate system. For this purpose, perform the reference position
return on every axis of machine, after the system is reset. Follow the
instructions below:

1. If the current operation mode is not reference position return,


press the Reference Return button on the control panel to keep the
system in the reference position return mode.

2. According to the X-axis machine parameter “reference position


return direction”, press X and the direction key (the value of the
parameter “reference position return direction” is "+"). After X-
axis returns to the reference point, the lamp of the X key is on.

3. Perform the reference position return on Z axis in the same way.

4. After all axes return to the reference point, the machine coordinate
system is established.

Attention 1. Perform the reference position return on every axis prior to


switching to other operation modes in order to ensure the axis
coordinates are correct, immediately after applying the power.

2. Press the direction keys of axes X, Y, and Z simultaneously to return


the three axes to the reference point at the same time.

3. Before performing the reference position return, it is required that


the axis be in opposite “reference position return direction” (e.g.
if the reference position return direction along the X axis is
negative, then make sure the current location on the X axis is at the
positive side of reference position, before reference position return
is performed); otherwise, manually move the axis until it meets the
requirement.

4. During the process of reference position return, if overtravel occurs,


press the “limit release” key on the control panel and manually
move the axis away from the limit switch in the opposite direction.

5. After the reference position return along every axis is completed, it


doesn’t need to be performed again (either other alarms were issued
or emergency stop button was pressed) unless an alarm was issued

20
HNC-818 User Manual 2. Power On/Off and Emergency Stop

in relation to servo amplifier during the process of reference position


return.

6. During the process of reference position return, if the Reset button


is pressed before the reference switch is touched, the operation of
reference position return will be canceled.

7. During the process of reference position return, if the Reset button


is pressed after the reference switch is touched, the operation of
reference position return will still be effective.

21
2. Power On/Off and Emergency Stop HNC-818 User Manual

2.4 Emergency Stop

During machining, press the Emergency Stop (ES) button in case of an


emergency to enter the emergency stop mode where the servo feed and
the spindle rotating are disabled (the power supply of servo feed
amplifier is cut off in the control cabinet). Release the ES button (turn
the ES button clockwise), then the system enters the reset status.

Ensure that the emergency has been lifted before releasing the ES status.
Afterwards, perform the reference position return again to ensure correct
coordinate position.

Attention Press the ES button before turning the power on or off to avoid
electric shock.

22
HNC-818 User Manual 2. Power On/Off and Emergency Stop

2.5 Overtravel Release

There is a limit switch at each end of the travel of servo axis to avoid the
collision. If the servo touches the limit switch, the overtravel will occur.
The situation that the overtravel occurs for an axis (the lamp of
“overtravel release” is on) is treated as an emergency stop by the system.
Follow the steps below to exit overtravel:

1. Set the operation mode to JOG or HANDLE.

2. Press down and hold the “overtravel release” key (the controller
will temporarily ignore the overtravel).

3. In the JOG (HANDLE) mode, move the axis away from the limit
switch in the opposite direction.

4. Release the “overtravel release” key.

5. Then the status bar of the screen shows "Normal" instead of "Error",
which means the system is back to normal and the operation is
allowed.

Attention Please pay attention to the motion direction and speed while moving the
axis away from the limit switch to avoid the collision with the machine.

23
2. Power On/Off and Emergency Stop HNC-818 User Manual

2.6 Power Off

Operation Procedure 1. Press the Emergency Stop button to cut off the amplifier power
supply.

2. Cut off the CNC power supply.

3. Cut off the machine power supply.

24
HNC-818 User Manual 3. Manual Operation

3 JOG Operation

The section of manual operation includes the hand-held units and


machine control panel. This chapter contains the following content:

 Motion on Axis

 Manually Control Spindle

 Machine Lock

 Manual Data Input (MDI)

 Other manual operations

 Manual data input (MDI) running

25
3. Manual Operation HNC-818 User Manual

3.1 Motion on Axis

The manual operation related to machine axis movement is conducted on


the hand-held unit and the buttons on the machine control panel in
relation to the operation mode, axis manual, incremental override, feed
rate override, and rapid traverse override, etc.

3.1.1 Manual Feed

Press this key (the lamp is on) to enter the JOG mode. In this mode, the
cutting tool can be jogged along the coordinate axis. The following
describes the motion along X axis:

1. Press the key X and the direction key (the corresponding lamp is on)
to perform the movement along X axis continuously in the positive
or negative direction.

2. Release the key X and the direction key (the corresponding


indicator is off) to slow down that movement to stop.

Perform the movement along axis Z continuously in the positive or


negative direction with the same method.

In the JOG mode, press the direction keys of axis X and axis Z
simultaneously to manually control the movements along both axis at the
same time.

3.1.2 Manual Rapid Traverse

At manual feed time, if this key is pressed simultaneously, then the rapid
traverse along corresponding axis will be performed.

3.1.3 Feed Override

In the Auto or MDI mode, adjust the feed rate by rotating this button if
the feed rate programmed by F-code is too high or too low. The range
is from 0% to 120%.

In the JOG mode, this button can be used to adjust the manual feed rate.

26
HNC-818 User Manual 3. Manual Operation

3.1.4 Rapid Traverse Override

The operations on rapid traverse override varies with different control


panels.

1. Override switch: In the Auto or MDI mode, rotate this switch to


adjust the speed which is specified in the program. The range is
from 0% to 100%.

2. Override keys: In the Auto or MDI mode, press the corresponding


override key to adjust rapid traverse speed.

3.1.5 Incremental Feed

Press this key (the indicator is on) to enter the incremental feed mode in
which the movement can be performed incrementally along the
coordinate axis. The following describes the motion along X axis:

1. Press the key X and the direction key (the corresponding indicator
is on) to move one incremental value of distance along the axis X in
the positive or negative direction.

2. Press the X key and the direction key (the corresponding indicator
is on) again to proceed one incremental value of movement along
the axis X in the positive or negative direction.

3. Perform similar operation on axis Z.

Press the direction keys of axes X and Z simultaneously to perform the


movement along the axis X and Z with an incremental value at the same
time.

3.1.6 Incremental Value Selection

27
3. Manual Operation HNC-818 User Manual

There are different keys for incremental value based on different


control panels
The incremental value for incremental feed is decided by the four keys on
the control panel: "×1", "×10", "×100", and "×1000". The table below
shows the relationship between the incremental value and magnification:

Magnification ×1 ×10 ×100 ×1000


Incremental 0.001 0.01 0.1 1
value (mm)
Note: If one of these keys is pressed (the indicator lamp is on), the rest of
them will be invalid (the indicator lamps are off).

3.1.7 Hand-wheel Feed

When the system is not in the emergency stop mode, press the
“incremental” key (the indicator is on) to enter the hand-wheel feed
mode. In this mode, the motion along the coordinate axis can be
performed by the hand-held unit. Choose an axis required and a
magnification through the manual pulse generator’ axis select switch and
manual pulse generator’s magnification select switch, then
corresponding travel distance is implemented as the manual pulse
generator is rotated one graduation. Only one axis can be selected via the
manual pulse generator at a time.

28
HNC-818 User Manual 3. Manual Operation

3.2 Spindle Control

Manual spindle control is conducted with the spindle rotation keys on the
control panel.

3.2.1 Spindle Rotation CW

In JOG mode, press this key (the corresponding lamp is on) to rotate the
spindle in the clockwise direction at the specified speed until the counter
clockwise spindle rotation key or spindle stop key is pressed.

3.2.2 Spindle Rotation CCW

In JOG mode, press this key (the corresponding lamp is on) to rotate the
spindle in the counter clockwise direction at the specified speed until the
clockwise spindle rotation key or spindle stop key is pressed.

3.2.3 Stop Spindle

In JOG mode, press this key (the corresponding lamp is on) to stop the
spindle motor.

Note: The keys for “spindle rotation CW”, “spindle rotation CCW”, and
“spindle stop” can be locked by each other. When user presses one of the
keys, then other two keys are invalid (the corresponding lamp is off).

3.2.4 Spindle Jog

In JOG mode, press and hold this key (the indicator is on), then the
spindle will continuously rotate in the clockwise direction; release this
key (the lamp is off), the spindle will stop running.

3.2.5 Spindle Speed Override

29
3. Manual Operation HNC-818 User Manual

The spindle rotation speed can be changed by the spindle speed override
button.

Rotate the button to a magnification which ranges from 50% to 120% as


required. The spindle speed cannot be changed by this button during the
shifting of mechanical gears.

3.2.6 Spindle Orientation

If the machine has a tool magazine, the spindle orientation function will
usually be required, because the tool on the spindle must be orientated
during tool change; otherwise the tool or tool claw may be damaged.

In JOG mode, when the "Spindle Brake" is invalid (the indicator is off),
press this key, and the spindle orientation is immediately executed. After
the orientation is completed, the lamp of the key is on, and the spindle
accurately stops at a fixed position.

30
HNC-818 User Manual 3. Manual Operation

3.3 Machine Lock, Axis Z Lock

3.3.1 Machine Lock

All actions on the machine don’t run in the machine lock state.

In the JOG mode, press this key (the indicator is on), followed by
conducting manual operation, then the changes of axis position is
displayed on the screen, but the motion instructions of the servo axis is
not output, which stops the machine.

Note: The machine lock function is valid only in JOG mode, but not in
Auto mode.

3.3.2 Axis Z Lock

This function is to disable tool feed. It is useful when machine path only
in XY plane is required to be verified. In JOG mode, press this key (the
lamp is on), and switch to the auto mode to run the machining programs.
Then Z-axis coordinate position changes without actual movement along
Z-axis.

Note: The Axis Z Lock function is invalid in the auto mode.

31
3. Manual Operation HNC-818 User Manual

3.4 Manual Data Input (MDI)

Press MAINT→PARM set→NC parameter to find the parameter


00371 “Switching MDI mode”.

Parameter setting 0: MCPMDI; 1:NCMDI

If “0” is set, the 0 level main menu is shown as below figure. MDI
function can only be activated by the functional key on MCP panel.

If “1” is set, the 0 level main menu is shown as below figure. MDI
function can only be activated by the functional key on NCP panel.

After entering MDI function, user can type via NC keyboard and execute
one or more lines of G-code blocks shown as below.

Attention 1. After the system enters the MDI state, the MDI icon is displayed on
the title bar.

2. System is still in the MDI state when MDI interface is switched to


non-program interface.

3. In the auto mode, the system cannot directly enter the MDI state,
but can do that after feed hold.

4. In the MDI state, press the Reset key to stop and clear the MDI
program.

32
HNC-818 User Manual 3. Manual Operation

3.4.1 Input MDI Command Block

Operation procedure The minimum unit for MDI is a valid command character. There are two
methods to input an MDI command segment:

1. One input, that is, to type multiple command characters once.

2. Several inputs, that is, to type only one command character every
time.

For example, if you need to type the "G00 X100 Z1000" command
segments, you may:

1. Directly type "G00 X100 Z1000"

2. Press Enter. Then the values after X, Z on the screen change to 100,
and 1000 respectively.

The content is shown on the screen while a command is being typed. If a


wrong command is typed, press BS, ►, and ◄ keys to correct it. If the
system detects an error after Enter, the corresponding error message will
be displayed. In this case, press Clear to clear the input information.

3.4.2 Execute MDI Commands

Operation procedure After inputting an MDI command segment, press the “Cycle Start”
button on the operator’s panel, and then the system will operate the
entered MDI command.

If the MDI command is incomplete or has wrong syntax, the system will
display related error messages, and stop running the MDI command.

3.4.3 Modify Commands

Operation procedure Before running of MDI command, directly modify corresponding


command characters or values in the command line if needed. For
example, after entering "X100", you may input "X109" in the command
line if you need to change the X-axis value to 109.

3.4.4 Clear All Currently-input Dimension Commands

33
3. Manual Operation HNC-818 User Manual

Operation procedure After inputting MDI data, press the functional key of “clear” to clear all
currently input dimension data (other commands are still valid). All data
behind X, Z, I, K, R is cleared, and new data could be entered as required.

3.4.5 Stop Running MDI Commands

Operation procedure While the system is running MDI commands, press the functional key of
“Stop” to stop running commands.

3.4.6 Save the MDI Command Typed

Operation procedure Press the save key to save the G code typed as a program.

34
HNC-818 User Manual 4. Settings

4 Settings

This chapter describes the data settings of the system, which includes:

 Tool compensation data

 Magazine

 Tool life

 Coordinate System Settings

 Workpiece measurement

35
4. Settings HNC-818 User Manual

4.1 Tool Compensation Data

Operation procedure

1. Press SET →T.COMP. The tool compensation data table is


displayed on the screen, and the data includes: tool length, tool
radius, length wear, radius wear.

2. Press ▲ and ▼ keys to select the tool number.

3. Press ◄ and ► keys to move the cursor to select the item to be


edited.

4. For example, when the option Length is choosed for editing, press
Current Input, the system will input the current position data
automatically.

5. Press Enter to enter the edit mode; user presses INC, the system
will increase data automatically.

Note: the data for the edit options ranges from -10000.0 to 10000.0.

6. After modification, press Enter key.

7. Press Rel Clear key, the menu generates the options “X axis’, “Y
axis”, “Z axis”. User can set “relatively actual” value.

8. Press “Clear all” key to zero out all tool compensation data. The
system prompts user to confirm whether clear all tool compensation
data before that.

9. Press ACT RCS key. The cursor must firstly move at the length
compensation to set the relatively actual value of Z axis as the
length compensation.

36
HNC-818 User Manual 4. Settings

4.2 Magazine

Operation procedure

1. Press SET →T.Mag, the magazine data table appears in the graphic
display window. The data includes: position of magazine number,
tool number, machining mode

2. Press ▲ and ▼keys to move the cursor to select the required tool
number, and press “Enter” to input new tool number.

3. Press ► and ◄ keys to select the machining mode: G05.1 Q0


(default mode), G05.1 Q1 (high-precision mode), G05.1 Q2
(high-speed high precision mode), G05.1 Q3 (high-speed mode).

4. Press SET →Configure T Mag, the magazine data table appears in


the window, and the data includes: magazine type, magazine
capacity, tool position number at tool change point, tool returning
mode, tool number at the waiting position.

37
4. Settings HNC-818 User Manual

4.3 Tool Life

Operation procedure 1. Press SET →T.Life, the interface of tool life management mode
shows in the window, and the data includes: tool number, clear, set,
alarm life, early warning life, integrated life, life status.

2. Press ▲ and ▼ keys to move the cursor to set for the corresponding
tool number. Tool management: installation times (times), cutting
minutes (min), cutting distance (meter), cutting energy (watt hour),
number of spindle revolutions (rev).

Rules for cumulating total installation times: only when the tool
performs the cutting command G01, G02, or G03 does cumulation start
after the cycle start of program or the execution of tool change
command.

Rules for cumulating cutting minutes: only when the tool performs the
cutting command G01, G02, or G03 does the cumulation start. The tool
life cumulation is disabled in the modes of axis lock, machine lock,
program verification, dry run, and MDI.

Rules for cumulating cutting distance: only when the tool performs the
cutting command G01, G02, or G03 does the cumulation start.

Cutting distance for milling system=circumference of tool * spindle


speed

38
HNC-818 User Manual 4. Settings

Cutting distance for lathe system=circumference of workpiece * spindle


speed

Rules for cumulating cutting energy: only when the tool performs the
cutting command G01, G02, or G03 does the cumulation start. The
energy consumption is only for the spindle.

Rules for cumulating number of spindle revolutions: only when the tool
performs the cutting command G01, G02, or G03 does the cumulation
start.

Formula for calculating the integrated life: (used life in mode 1/max.
life)*weight + (used life in mode 2/max. life)* weight+…+(used life in
mode n/max. life)*weight. After weighting, all effective management
modes should be 100%.

3. Press ▲ and ▼ keys to select corresponding tool number for “clear”.


To clear the management mode for the current tool.

4. Press Set →T.Life→ Seek T Num to rapidly locate the tool number to
be edited.

39
4. Settings HNC-818 User Manual

4.4 Coordinate System Setting

The procedure for setting the coordinate system data:

1. Press SET →Coordinate system to enter the mode of manually


setting coordinate system. As shown below.

2. Press ► and ◄ keys to select the workpiece coordinate system G54,


G55, G56, G57, G58, G59, workpiece (value of coordinate system zero
relative to machine zero), relative (zero of current relative value),
G54.1-G54.6.

3. User also can press “find number” to find the type of the specific
workpiece coordinate system. There are two formats for typing in the
“find number”:

Px indicates the extension coordinate system x

E.g. P39, then G54.39 extension workpiece coordinate system is found.

x indicates the coordinate system number.

E.g. 2, then G54 is found.

4. User can enter the position information for the selected coordinate
system in any of the following ways.

(1) Directly enter the required data in edit box.

(2) Press Current Input and “INC” to enter the data.

Current input: user is prompted to set the current position as zero of the
selected workpiece coordinate system [Y/N]. Press enter to set the

40
HNC-818 User Manual 4. Settings

current actual machine coordinates as zero of the selected workpiece


coordinate system.

Incremental input: if user inputs “-0.1001”, the coordinate position of the


selected axis is the current position minus the input data.

41
4. Settings HNC-818 User Manual

4.5 Workpiece Measurement

Have the tool in the spindle contact with the workpiece in JOG or
handwheel mode, and measure the coordinate position. Set these
measurements in the specified workpiece coordinate system
(G54-59 or G54.XX).

Operation procedure 1. Select SET main menu on the panel, and press MEAS to enter
the appropriate interface, as shown below.

③ ⑤

The interface displays:

 Area 1—the display of measured value: to display the current


measurement position and measuring method. When “return” is
selected, the recorded coordinate values are cleared.

 Area 2—coordinate system setting: to display the coordinate system


required to be currently set and coordinate value.

 Area 3—position record: to display the current relatively actual


coordinates and actual machine coordinates.

 Area 4—boot diagram: to display the diagram of the current


measuring mode.

42
HNC-818 User Manual 4. Settings

 Area 5—input box: when G54.X is selected, user is prompted to


input the number of coordinate system in the box. Input of P ranges
from 0 to 60.

2. Press “coordinate setting: to set the measured value which has been
computed in the selected method in the displayed workpiece coordinate
system offset. The axis set is limited to the axis of which the measured
position value is displayed.

3. Press “coordinate system” to select one of the coordinate system


G54-G59.

4. Press G54.X and input X value in the input box to determine the
coordinate system required to be set. The valid input ranges from 0 to 60.

5. Press “Center measurement” to enter the center measurement mode


(default mode).

6. Press “surface measurement” to enter the surface measurement mode.

7. Press “circle center measurement” to enter the circle surface


measurement mode.

Operations on three measurement modes.

Description 1. Center measurement

The coordinates of Point A and Point B are shown in the measured value
display area. The Axis X coordinate of Point A, which is selected by
default, is shown in blue. Use cursor and up and down keys to select the
axis to be measured, and the left and right keys to select Point A or B.

Press the Read Meas. key, then the coordinate values corresponding to
the actual machine position is input into the selected box, and the
selected box is moved to the point B.

Press the Coordinate Set key, then the calculation is performed on the
selected axis by the formula of (measured value of point A + measured
value of point B)/2, and the result is set into the specified coordinate
system and shown in area 2. If the measurement is performed on Point A
only, the system displays the message "reading measurement value
failed".

43
4. Settings HNC-818 User Manual

2. Surface measurement

Only one point coordinate is displayed in the measured value display


area. The X axis is selected by default. The part to be edited is in blue.
User may use the up and down keys to place the cursor on the required
axis.

Press Read Meas. key, the coordinate value corresponding to the actual
machine position is input into the selected box. Press the Coordinate Set
key, then the axis whose value has been read is set into the specified
coordinate system and is shown in area 2.

3. Circle Center Measurement

44
HNC-818 User Manual 4. Settings

Coordinates of Point A, B, C are displayed in the measured value display


area. The default plane is G17, default axes are X, Y axes. The X and Y
coordinates of point A are in the selection box with blue background.
User may move the cursor to the Plane and select the drop-down box,
click Enter, and select G17, G18, and G19 planes. The corresponding
Coordinate axes are XY, XZ, and YZ.

Press the Read Meas. key, enter the corresponding coordinate value of
the actual machine position into the selected box with blue background,
and the selected box automatically moves to the next point.

Press the Coordinate Set key, then the system calculates the circle
center based on the three points, the calculated result is input into the
specified coordinate system, and displayed in the area 2. If there are no
coordinates of point, user may be prompted “Failed to measure”.

45
5. Program Editing and Management HNC-818 User Manual

5 Processing and Management

Under the program menu, user may edit, save programs and beyond. The
chapter includes the following sections:

• Select Program

• Edit Program

• Program Management

• Random line

• Verification

• Display mode

• Processing information

• Path display

• QR code

46
HNC-818 User Manual 5. Program Editing and Management

5.1 Select Program

5.1.1 Select a File

Under the Machine menu, press Program to enter the interface as


shown in the figure below:

Follow the instruction below to select a program file:

1. Select the storage type (system disk, USB, CF card) via the menu
bar. For example, press System Disk as shown in the above figure
to view the subdirectory of the selected storage.

2. Press ▲ and ▼ keys to select a program file as required, and to


simultaneously preview the program file.

3. Press Enter to select the file and add it to the machining buffer.

Attention 1. If user selects no program file, the system selects the machining
program which was saved in the buffer last time.

2. The program file name generally starts with O (by default),


followed by four (or more) numbers or letters. The program name
starts with O by default.

3. The program file name supported by NNC-818 system is in the "8 +


3" format: the name consists of one to eight letters or numbers plus
the extension of 0-3 letters or numbers, e.g."MyPart.001", "O1234".

47
5. Program Editing and Management HNC-818 User Manual

5.1.2 Canned Cycle

Operation procedure 1. Press Machine→ Program → canned cylce, and the system
displays the canned cycle files.

2. Use the cursor keys to select a file as required.

3. Press Enter to load the file.

Attention This function is available only to the machine manufacturer, CNC


manufacturer, and administrator.

5.1.3 Copy and Paste File

User may copy and paste a file to a specified path.

Operation procedure 1. Press Prog, and select a file to copy.

2. User may press Label to select multiple files.

3. Press the Copy key.

4. Select a target folder (This cannot be the same folder where the file
is selected.)

5. Press Paste to paste the file.

5.1.4 Search File

Operation procedure User may search files based on the entered file name.

1. Press Prog → FIND.

2. Enter the file name, and press Enter. The searched file will be
highlighted.

5.1.5 Sort Files

Operation procedure User may sort files by time/name.

1. Press Prog → Name sort to sort files by file name.

2. Press Prog →→ Time sort to sort files by time.

48
HNC-818 User Manual 5. Program Editing and Management

5.1.6 Encryption for G Codes

Operation procedure 1. Press MAINT → PARM set →Machine.

2. Move the cursor to select parameter 010299—G code file key, press
Enter, and enter the G code file key.

3. Press Enter again to confirm the operation.

4. Press Save and restart the system.

5. Run the software of G code file key on the PC. See the figure
below:

6. Encryption: Click Browse, select a G code file, enter the file key
above, and click Encrypt. The system generates an encrypted G
code file.

 Read-only: The encrypted file cannot be modified.

 Writable: The encrypted file can be edited.

 Not display: The system does not display the encrypted file
content.

7. Decryption: Click Browse, select a G code file, enter the file key
above, and click Decrypt.

49
5. Program Editing and Management HNC-818 User Manual

G code encryption type [G Code Encrypted Display Edit Operation


File- Key Mapped] Function Function Function
Not displayed Blank Unsupported Allowed
Writable Browsable Editable Allowed
Read-only Browsable Unsupported Allowed

[G Code Encrypted Display Edit Operation


File- Key Not Function Function Function
Mapped]
Not display Blank Unsupported Not
allowed
Writable Gibberish Unsupported Not
allowed
Read-only Gibberish Unsupported Not
allowed

50
HNC-818 User Manual 5. Program Editing and Management

5.2 Edit Program

5.2.1 Edit Program

Programs existed in the system  Press Machine → Edit to edit the currently loaded file.
buffer

No program existed in the system


 Press Prog → New program. The system automatically creates a
buffer
file. Press Enter to edit the created file.

Shortcut key - Del: Delete the character right to the cursor and maintain the cursor
position. The remaining characters right to the cursor will shift
leftwards accordingly with one-character space.

- PgUp: Scroll up the program one screen to the program header and
maintain the cursor position. If the program header is reached, the
cursor will move to the first character in the first row of the
program.

- PgDn: Scroll down the program one screen to the program end and
maintain the cursor position. If the program end is reached, the
cursor will move to the last character in the last row of the program.

- BS: Delete the character left to the cursor and the cursor will shift
leftwards with one-character space. The remaining characters right
to the cursor will shift leftwards accordingly with one-character
space.

- ◄: The cursor shifts leftwards with one-character space.

- ►: The cursor shifts rightwards with one-character space.

- ▲: The cursor shifts one row upwards.

- ▼: The cursor shifts one row downwards.

- ALT+B: Define block header.

51
5. Program Editing and Management HNC-818 User Manual

- ALT+E: Define block end.

- ALT+D: Delete a block.

- ALT+X: Cut

- ALT+C: Copy

- ALT+V: Paste

- ALT+F: Find

- ALT+N: Find next

- ALT+R: Replace

- ALT+L: Delete a line.

- ALT+H: Move to file header

- ALT+T: Move to file end

Attention User must execute the file again after editing.

5.2.2 Create File

Operation procedure 1. Press Prog →New program.

2. Enter a file name, and press Enter to create a file.

Attention 1. The default directory for created files is the prog directory in the
system disk.

2. The created file name cannot conflict with an existing one.

5.2.3 Save File

Operation procedure Press Machine → Edit → Save File to save a specific file.

Attention When the program is a read-only file, the system will prompt user that
file saving is failed after the SAVE key is pressed. In this case, user may
only use the SAVE AS function.

52
HNC-818 User Manual 5. Program Editing and Management

5.2.4 Save as

Operation procedure 1. Press Machine → Edit → Save As.

2. Use the cursor keys to select the target folder.

3. Press ► to move to the input box, and enter a file name.

4. Press Enter to save the file as another file.

5.2.5 Block Operation

Operation procedure 1. Press Machine → Edit → Block.

2. The block operation function is the same as the shortcut function


described in section 5.2.1.

5.2.6 Search a Character String

Operation procedure Search files based on the entered keywords.

1. Press Machine→ Edit → Find.

2. Enter the keywords, and press Enter. The system highlights the
searched characters.

3. Press Continue. They system highlights the next searched


characters.

5.2.7 Replacement

Operation procedure

1. Press Machine → Edit → Replace, enter the character string to be


replaced.

2. Press Enter.

3. Enter the character string which is used to replace the previous one.

4. Press Enter. The system will replace the first one.

- Press Continue Replace to replace the next one.

- Press Replace All to replace all searched character strings.

53
5. Program Editing and Management HNC-818 User Manual

5.2.8 Change File Properties

Attention The function is available only for the machine manufacturer, CNC
manufacturer and administrator.

Operation procedure 1. Load the file to the machining buffer (see section 5.1.1).

2. Press Prog →Writable or Prog →ReadOnly.

- Readable: Allow viewing the program code, but not allow


modifying it.

- Writable: Allow editing the program.

54
HNC-818 User Manual 5. Program Editing and Management

5.3 Program Management

5.3.1 Delete File or File Folder

Operation procedure 1. Press Machine → Program, and select a drive letter where the
program file is.

2. Use the cursor to select the program file or file folder to be deleted.

3. Press Del, the system displays the message to ask you whether to
delete the current file. Press Y to delete it from the current storage,
or press N to cancel the deletion. If a file folder is selected, user will
be prompted: “Are you sure you want to delete this directory and
files under it.

Attention The currently running program cannot be directly deleted.

User may use the Label function to select multiple programs to delete.

The deleted file cannot be restored.

5.3.2 Copy and Paste File

Operation procedure User may use this function to copy and paste a file to a specified folder.

1. Under Prog main menu, and select a file to be copied.

2. User may press Label to select multiple files.

3. Press Copy.

4. Select the target folder (The folder cannot be the same as the current
one).

5. Press PASTE to paste the file to the specified folder.

55
5. Program Editing and Management HNC-818 User Manual

5.3.3 Search File

Operation procedure User may search files based on entered file name.

1. Press Prog → Find

2. Enter the file name to be searched, and press Enter. The system
highlights the searched results.

5.3.4 Change File Name

Operation procedure 1. Press Prog main menu.

2. Select the file of which the name needs to be changed, and press
Rename to enter the new name.

3. Press Enter.
Attention The name of the program which is under machining cannot be modified.

5.3.5 Sort Program

Operation procedure Programs can be sorted by time/name.

1. Press Prog →Name sort to sort files by file name.

2. Press Prog → Time sort to sort files by file time.

5.3.6 Create a Directory

Operation procedure User may create sub directories in different disks.

1. Press Prog, and the submenu “system disk”, “USB”, or “CF card”
will be displayed.

2. Select the storage disk for creating a new directory.

3. Press New Dir, and enter the new name.

4. Press Enter.

56
HNC-818 User Manual 5. Program Editing and Management

5.4 Random Line

Scanning mode Before running program, the system scans all modal information
preceding a random line. The specified line inherits the coordinates, tool
compensation and other information of the previous statements. There
are two scanning modes: scanning without Z axis return, scanning with Z
axis return. If the program is large, it may take a long time to scan the
modal information. Sub program scanning is supported.

Non-scanning mode The system does not compute the modal information preceding a random
line. Non-scanning mode is the default.

Parameter settings Parameter settings related to random line operations:

 040113: The order that axes move to the position in random line.

Parameter No. Description Value Effective Mode

040113 Random line 1 Save


scanning mode

Parameter value: 0: Non-scanning mode (default); 1: Scanning


without Z axis return; 2: Scanning with Z axis return

Example:

G54

….

Z10

N1X10y10

….

M30

When 040113=1, and the random line is specified as N1; only X


and Y axes are moved.

When 040113=2, and the random line is specified as N1; X, Y, Z


axes are moved.

 040114: The order that axes move to the position in random line.

57
5. Program Editing and Management HNC-818 User Manual

It is a numerical type of parameter. The relationship between bit and axis


is as below:

1 2 3 4 5 6 7 8 9
X Y Z A B C U V W

The bit from low to high corresponds the axis


X/Y/Z/A/B/C/U/V/W respectively. The 0 indicates that the axis is
not configured.

For milling system, when 040114=211, after the X and Y axes move
in position, the Z axis starts to move.

For lathe system, when 040114=101, the X and Z axes move to the
position simultaneously.

 For channel parameters 040115-040124, M code group can be


identified by random line.

This parameter type is BYTE[8], supporting up to eight numbers


separated by the "," or "." symbol.

Only the M command in parameters can be restored. Therefore, a


maximum of 10 groups of M commands is supported, and each
group has eight M codes.

For example: Set group 1 of M codes to 3, 4, 5, which indicates that


M3, M4, M5 are in the same group.

58
HNC-818 User Manual 5. Program Editing and Management

Attention 1. For the M commands of the same group obtained in the scanning
mode, only the last M command is valid.

2. For the T commands obtained in the scanning mode of lathes


machines, only the last T command is valid.

3. For the umbrella type ATC of milling machines, M6 should be in the


same line with T codes.

4. For the S commands obtained in the scanning mode, only the last S
command is valid. A maximum of four S commands is supported in a
channel.

5.4.1 Scanning Mode

Operation procedure 1. Press Machine→ AnyLine to enter the scanning mode.

The system displays the M, S, T values obtained by scanning and the


corresponding line numbers on the interface, then user can easily view
the following:

1. Axis position obtained by scanning

2. Spindle speed, feed rate, and M command obtained by scanning

3. Current G modal commands

4. Tool compensation number, T command, and line number obtained


by scanning

59
5. Program Editing and Management HNC-818 User Manual

5.4.1.1 Specify Line Number

Operation procedure 1. Press the Feed Hold key on the control panel (the indicator is on) to
enter the feed hold state.

2. Press Machine→ AnyLine → Speci Line, the edit box shown as


below will appear. Then enter the number of the line from which the
execution starts. See the figure below:

3. Press Enter.

4. Press the Cycle Start button on the control panel to start the
operation from the specified line.

5.4.1.2 Specify N Number

Operation procedure 1. Press the Feed Hold key on the control panel (the indicator is on) to
enter the feed hold state.

2. Press Machine → AnyLine → Speci N, and enter the line number


from which the execution starts. See the figure below:

3. Press Enter.

4. Press the Cycle Start button on the control panel to start the
execution from the specified line.

Attention This function is available only when a combination of the following


conditions is true:

1. N number exists in the G code file.

2. The total G code lines can be displayed.

3. The program is less than 22M.

5.4.1.3 Find

60
HNC-818 User Manual 5. Program Editing and Management

Operation procedure To have the system run from the key word line through finding the key
word.

1. Press Machine → AnyLine → Find.

2. Enter the keyword, and press Enter. The searched keyword is


highlighted.

3. Press Continue to find the next keyword.

4. Press Enter again. The cursor points to the line where the keyword
is.

5. Press the Cycle Start button on the control panel to start the
execution from the specified line.

5.4.2 Non-scanning Mode

Operation procedure

1. Set the channel parameter 【040113】 to 1, and press Machine →


AnyLine to enter the non-scanning mode.

2. If user presses the "Window switch" button, they can switch to the
lower part of the window to enter the M/S/T code. User can enter
five M commands and other types of commands. Press the Enter
key to confirm the input followed by the Cycle Start button, the
system will execute the M/S/T command firstly and then the
specified line.

61
5. Program Editing and Management HNC-818 User Manual

5.4.2.1 Specify Line Number

Operation procedure See section 5.4.1.1.

5.4.2.2 Specify N Number

Operation procedure See section 5.4.1.2.

5.4.2.3 Find

Operation procedure See section 5.4.1.3.

Attention Don’t move the cursor over the subprogram during the random line
operation.

62
HNC-818 User Manual 5. Program Editing and Management

5.5 Verification

This function is used to verify the programs in the machining buffer and
report errors if there is any.

New programs that have never been run on the machine should be
verified before auto running.

Operation procedure 1. Call the program that needs to be verified.

2. Press the Auto or Single Block key on the control panel to enter the
program operation mode.

3. Under the Prog menu, press Verify, then the work mode displayed
on the system interface changes to Auto Verification.

4. Press the Cycle Start button on the control panel to start the
program verification.

5. If a program error occurs, the system will display where the error is.

Attention 1. No machine action during program verification.

2. For ensuring the correctness of program, it is recommended to


graphically show the process of verification for observation. See
section 7 (Graph Display).

3. The speed in verification is controlled by the feed speed override. It


may help you to view the tool path.

63
5. Program Editing and Management HNC-818 User Manual

5.6 Display Mode

Operation procedure Press Machine → Display mode, the window is switched to the display
mode interface as shown below.

Press Union, the window displays all coordinates.

Press Machining Schedule, the window displays the machining

schedule for the currently machining program.

64
HNC-818 User Manual 5. Program Editing and Management

65
5. Program Editing and Management HNC-818 User Manual

5.7 Processing Information

Operation procedure During machining, user can view execution statistics for the current
machining program as needed. Press Machine →Machining Count to
enter execution statistics interface.

Attention
Execution statistics

Preset: press Preset, move the cursor to press Enter, input the number of
the preset ones, and press Enter to complete presetting.

Zero out: press Clear to clear all statistics to zero.

Press Run Stats to enter processing statistics interface.

66
HNC-818 User Manual 5. Program Editing and Management

Through processing statistics, the machining information recorded in the

system can be exported and cleared.

67
5. Program Editing and Management HNC-818 User Manual

5.8 Path Display

During running of program, press Machine → Path to display the


simulation of processing.

Display setting 1. Press Machine → Path → Display set, user can manually set the
scaling on X, Y, Z axes and as a whole.

2. Move the cursor to select the option to be set.

3. Press Enter to enter edit status.

4. Press Enter again to confirm the operation.

68
HNC-818 User Manual 5. Program Editing and Management

Graphic center 1. Press Machine → Path → Graphic center.

2. Select different coordinate system zeroes to set the graphic center.

1. Press Process → Path → Graphic operation to perform differently


Graphic operation
and restore settings.

2. Press to perform axial rotations.

69
5. Program Editing and Management HNC-818 User Manual

5.9 QR Code

Operation procedure Press DGN → QR code, the display window is switched to the QR code
interface. The submenus Production statistic and Fault diagnosis exist
in the menu list. Scan the QR code by the mobile APPs Cloud Maintain
and Cloud Manager to obtain the information about system statistics and
fault alarm.

70
HNC-818 User Manual 6. Operation Control

6 Operation Control

This chapter includes the following sections:

 Start, Suspend and Stop

 Dry Run

 Block skip

 Option Stop

 Single Block

 Breakpoint Saving and Restoring

 Intervention When Running

71
6. Operation Control HNC-818 User Manual

6.1 Start, Suspend, Stop

6.1.1 Start Auto-Operation

After a processing program file is loaded and verified, user may start the
auto operation function.

1. Press the Auto key (the indicator is on) on the operation panel to
enter the auto operation mode.

2. Press the Cycle Start button (the indicator is on) on the operation
panel to automatically run the loaded program.

6.1.2 Suspend Operation

During program operation, follow the instructions below to suspend the


on-going operation:

1. During program operation, press the Feed Hold key (the indicator
is on) on the control panel to enter the Feed Hold state, then the
on-going operation is suspended.

2. Press the Cycle Start button (the indicator is on) on the control
panel to proceed with the auto operation.

6.1.3 Stop Operation

Operation procedure During auto operation, you may follow the instructions below to stop the
auto operation:

1. During program operation, press the feed hold key (the indicator is
lit) to enter the Feed Hold state.

2. Press the JOG key to disable the M and S command functions.

3. If user wants to exit the system, press the Emergency Stop key to
stop the running program.

72
HNC-818 User Manual 6. Operation Control

6.2 Dry Run

Attention This function is not available to threading.

Dry running can be activated only in the non-auto or non-single block


mode.

Click this key on the machine control panel (the indicator is on), and the
CNC system enters the dry run state. During dry run, the machine
operates at a dry run speed set by parameter, which differs from the
corresponding programmed feedrate. The dry run speed is limited by the
maximum machining speed and controlled by the feedrate override.

A dry run is used to confirm the cutting path and program. Actual
machining is not allowed during a dry run.

During the actual cutting, you need to disable this function; otherwise, it
may cause damages.

73
6. Operation Control HNC-818 User Manual

6.3 Block Skip

If the block-skip symbol “/” exists in the program, press this key the
system will automatically skip the program block beginning with the "/"
symbol, and no operation of this block is performed. Release the key to
disable the block-skip operation.

74
HNC-818 User Manual 6. Operation Control

6.4 Option Stop

If the M01 auxiliary command is used in the program, press this key, the
program will stop when runs to M01 command. Press the Cycle Start
button to continue the program. Release this key to disable the M01
command function.

75
6. Operation Control HNC-818 User Manual

6.5 Single Block

Press this key to enter the Single Block mode (the corresponding
indicator is on). The program will be executed block by block:

1. Press the Cycle Start button, a block of the program is executed.


When this block is completed, the motion axis and cutter stop.

2. Press the Cycle Start button again to execute the next block of the
program. After this block is completed, the operation stops.

76
HNC-818 User Manual 6. Operation Control

6.6 Machining Breakpoint Saving and Restoring

During machining, there are always some large workpieces which


requires complicated operation and long duration. It is necessary to save
and restore the breakpoint for further processing. In other words, you
may save the breakpoint (let the system remember various status at the
time point) before cutting the power supply. After a period of time, you
turn on the power supply and restore the breakpoint (let the system
restore the status at that time point) to proceed with the machining from
the breakpoint.

6.6.1 Save Breakpoint

Operation procedure 1. Press the Feed hold key to enter the feed hold state (the indicator is
on).

2. Press Process → PgDn → Breakpoint as shown below.

3. Select the drive letter for storage from the function menu at the
bottom.

4. Press Save, the system will automatically create a breakpoint file


named the current machining program. User can change the file
name.

5. Press Enter.

6.6.2 Load Breakpoint

Operation procedure 1. If the power is off after user saves the breakpoint, the reference
position return should be performed first after the power supply is
on. Otherwise, directly press Process → PgDn → Breakpoint.

2. Use the cursor key to select the directory where the target file is,
switch to the file list, and select the breakpoint file to be loaded.

3. Press LOAD IN, the system will restore to the sate it was at the
time of interrupting program based on the information saved in the
breakpoint file.

77
6. Operation Control HNC-818 User Manual

6.6.3 Delete Breakpoint

Operation procedure

1. Press Process → Breakpoint, and use the cursor to select a


breakpoint file.

2. Press the DEL key, the confirmation window pops up.

3. Press Y or Enter to delete the breakpoint file, or press N to cancel


the deletion.

Note: The deleted file cannot be restored.

78
HNC-818 User Manual 6. Operation Control

6.7 Intervention at runtime

6.7.1 Feedrate Override

In the Auto or MDI mode, change the feed rate by rotating the override
button when the programmed F-code feedrate is too high or too low. The
adjustment range is from 0% to 120%.

When a continuous feed is performed manually, this button can also be


used to change the feed rate.

6.7.2 Rapid Traverse Override

The operations on rapid traverse override varies with different control


panels.

1. In the auto or MDI mode, rotate the rapid traverse override button
to change the programmed rapid traverse speed. The range of
adjustment is from 0% to 100%.

2. In the auto or MDI mode, press the corresponding key to select the
magnification for the rapid traverse speed.

6.7.3 Spindle Override

The speed for clockwise/counterclockwise spindle can be changed by


spindle override.

Rotate this override button to change the spindle speed, with the
magnification between 50% and 120%. The spindle speed cannot be
adjusted during the mechanical gear changing.

6.7.4 Machine Lock

This function is to disable the action of machine coordinate axis.

In JOG mode, click this key (the indicator is on), then the system
simulatively runs the program in the Auto mode without actual machine
motion. The axis position information changes on the screen, but no
movement command is output from the servo axis. Therefore, the

79
6. Operation Control HNC-818 User Manual

machine axis doesn’t move. This function is used to verify programs.

Attention 1. The tool does not move to the reference point even in G28/G29.

2. “Machine lock” is invalid during the auto operation.

3. During the auto operation, the machine lock function can be


canceled only when the running is completed.

4. User must perform the reference position return every time after this
function is executed.

80
HNC-818 User Manual 8. Diagnosis

7 Diagnosis

This chapter includes the following sections:

 Alarm display

 Alarm History

 Ladder

 Axis monitoring

 Macro Variables

 Servo Adjustment

 Machining Information

81
8. Diagnosis HNC-818 User Manual

7.1 Alarm Display

If an error occurs during system running or processing, “Normal” will


be changed to “Error” to displayed on the title bar. User may use this
function to check the detailed warning messages.

1. Press DGN → Alarm Mes..

2. Use ▲, ▼, PgUp and PgDn to view alarm information.

82
HNC-818 User Manual 8. Diagnosis

7.2 Alarm History

7.2.1 Operation Procedure

1. Press DGN → ALM log, the error information in the past will be
shown on the graphic display window.

2. Use ▲, ▼, PgUp and PgDn to view the alarm history.

83
8. Diagnosis HNC-818 User Manual

7.3 Ladder

7.3.1 Ladder Diagnosis

Operation procedure 1. Press DGN → Lad Dia → LadDia Moni. to view the running of
PLC.

2. Press Prog list, PLC subprogram list will pop up.

3. Use the cursor key to select an element.

4. Press the Disabled or Enabled key to shield or activate the element.

5. Press UNDO to cancel the shielding or activating the above


operations.

6. User may enter an element name by Find, press Enter to search the
element. User may press PgUp or PgDn to search for the element
with the same name up or down.

7.3.2 Ladder Modification

Attention The function is available only to the machine manufacturer, CNC


manufacturer and administrator.

Find 1. Press Prog list, the PLC subprogram list pops up.

2. User press Dgn → Lad Dia → LadDia Edit → Find, enter the
name of an element, press Enter to find the element.

3. Use PgUp or PgDn to search for the element with the same name
up or down.

Modify 1. Press DGN → Lad Dia → LadDia Edit.

2. Use the cursor keys to select an element, and press Enter to enter
the edit status.

3. Enter the element value in the edit box.

4. Press Enter again to complete the editing.

5. Press the functional keys corresponding to the EDIT menu to create


element.

84
HNC-818 User Manual 8. Diagnosis

 Straight line: insert straight line

 Vertical line: insert vertical line

 Delete element: delete elements

 Delete vertical line: delete vertical lines

 Normally open: normally open contacts

 Normally closed: normally closed contacts

 Logical output

 Inverse output

 Function module (User may directly select elements by


pressing their initials)

Note: For detailed information about the element, see HNC-8 User
Manual—PLC programming.

Commands 1. Press DGN →Lad Dia → LadDia Edit → More → Edit Grid.

2. User performs edit by pressing the following keys:

3. Press Dgn →Lad Dia → LadDia Edit → List Edit.

4. User performs edit by pressing the following keys.

5. Press DGN →Lad Dia → LadDia Edit → FM.

6. A functional component list pops up for user to select and edit; user
can click “Help” to view the parameter definition and function of
each functional component.

85
8. Diagnosis HNC-818 User Manual

Cancel Press DGN →Lad Dia → LadDia Edit →UNDO to cancel the editing
on the ladder graph.

Update Press DGN →Lad Dia → LadDia Edit → Update to save the editing
on the ladder graph.

7.3.3 PLC Switch Settings

The PLC switch settings function is used to decode the specified user P
parameter into 32 bits; each bit can be used as a configurable PLC
switch.

User may use the PLCSW.STR configuration file under the parm
directory to conduct the PLC switch settings. The PLCSW.STR file is in
the following format:

86
HNC-818 User Manual 8. Diagnosis

After the PLCSW.STR file is configured, User may press MAINT →


Data Manag. to select PLC FILE and import the PLCSW.STR file.
See the figure below.

Press MAINT → User set → PLC Switch to enter the PLC Switch
function interface, where user may conduct operation based on bit for
specified P parameters. See the figure below:

87
8. Diagnosis HNC-818 User Manual

Interface operation description Up, Down, Left, Right arrow keys: to move the position of the cursor.

Enter: define the value of the position where the cursor is. If the current
status is ON, set it to OFF; if the current status is OFF, then set it to ON.

Menu operation description SET EFF: This is used to protect the ON and OFF menus. Only after
you press the SET EFF menu can the operations on ON/OFF be valid.

ON: Set the position where the cursor is to ON.

OFF: Set the position where the cursor is to OFF.

The settings are saved in the specified user P parameter. As shown in the
figure below, the parameter 196 in this example is specified by the
PLCSW.STR file.

88
HNC-818 User Manual 8. Diagnosis

7.3.4 Manually Call Subprograms

Operation procedure Create a ladder graph in the PLC as below:

F2564.0 Trigger signal


EVENT 100
Auto

: It indicates the external input signal to call subprograms

100: It indicates the program name O100

Attention In this function, the system is in the auto mode and requires a trigger
signal.

Example
F2564.0 X484.5
EVENT 100
Auto

When the input signal X484.5 is valid, press the Cycle Start button to
call the O100 subprogram.

7.3.5 Ladder Information

Title of ladder

Press DGN → Lad Dia → LadDia INFO, the display window hovers

89
8. Diagnosis HNC-818 User Manual

over the Ladder title interface.

Program name: system PLC name.

Modification time: the time of the last modification for system PLC

PLC running state: the current operational state of system PLC. There
are two states: running and stop.

90
HNC-818 User Manual 8. Diagnosis

7.4 Status Display

Operation procedure 1. Press DGN → Lad Dia → LadDia INFO → Symbol table.

2. Use ▲ and ▼ keys to select the type of the register to be viewed.

X: machine is input to PMC;

Y: PMC is output to machine;

F: CNC is output to PMC;

G: PMC is input to CNC;

R: display of intermediate relay state;

B: display of power-off protection data.

3. Press PgUp and PgDn to page up and down.

4. Press Binary, Decimal, or Hexadecimal keys to view the register


value.

5. Use the Find key to search for the exact register value.

Attention  User can view the classified F registers and G registers.

 User can edit B registers.

91
8. Diagnosis HNC-818 User Manual

7.5 Macro Variables

Macro variables HNC-818 CNC system provides users with the macro function similar to
high-level language. User may use variables to conduct arithmetic
operation, logical operation, and combined function operations. In
addition, the macro program provides cycle statement, branch statement,
and subprogram calling statements, which makes it easy to create
complex machining programs and avoids complicated calculation in
manual programming.

1. Press DGN → Macro to view system macro variables.

2. Press Find, enter a macro variable number, and press Enter to


search for the macro variable.

Attention 1. For detailed information about each macro variable, see section 13
in this user manual.

2. The macro variables' value ranges from -2147483648 to


2147483648.

User macro 1. Press MAINT → Data Manag. → Data Type → User macro
config.f.

2. Press USB, select a customized configuration file, press LOAD to


load the file.

3. Press Machine → User macro. The system displays the macro


variable numbers, names, and values.

4. Move the cursor to select a macro variable value, press Enter to


modify the value.

5. User may write macro programs.

92
HNC-818 User Manual 8. Diagnosis

7.6 Servo Adjustment

7.6.1 Speed Loop

Auto load of G codes 1. Press DGN → Servo Tune.

2. If user enters the Servo Tune interface in the auto mode, the system
will automatically load the test G code. A message is displayed to
prompt user that the test code is loaded and user may press the
Cycle Start button to start sampling.

3. If entering the Servo Tune interface in JOG mode, user needs to


change it to the auto mode, and press the Reset button to load the G
code.

4. If needing to modify the G code, user may press Config. → Code


preview to browse the G code (The settings interface corresponds
to the Code preview interface.).

5. User may press Alt and direction keys (+/-) to modify the test axis.

Note: User needs to manually move the machine to the safe position
before starting sampling.

Sampling 1. Press Dgn →Servo Tune, and move the cursor to select Speed
loop.

2. In JOG mode, move the machine to the safe position, switch to the
auto mode, press Reset to load the test G code, and press Cycle
Start to start measurement.

3. The measurement waveform of the speed, acceleration speed, and


the speed fluctuation range is obtained after the measurement. See
the figure below:

93
8. Diagnosis HNC-818 User Manual

4. Press the cursor key "→" to adjust the parameter of each axis, e.g.
"SPEED PROPORTIONAL GAIN" and "SPD FEEDBACK
FILTER FACTOR".

5. Press “Alt + direction key (+/-)” to select an axis for settings.

6. User may adjust parameters, conduct measurement for multiple


times to meet the expected effects.

7.6.2 Position Loop

Auto load of G codes 1. Press Dgn →Servo Tune.

2. If user enters the Servo Tune interface in the auto mode, the system
will automatically load the test G code. A message is displayed to
prompt you that the test code is loaded and user may press the
Cycle Start button to start sampling.

3. If user enters the Servo Tune interface in JOG mode, it is necessary


to change it to the auto mode, and press the Reset button to load the
G code.

4. If the G code is required to be changed, user may press Config. →


Code preview to browse the G code (The settings interface
corresponds to the Code preview interface.).

5. User may press Alt + direction keys (+/-) to modify the test axis.

Note: User needs to manually move the machine to the safe position
before start of sampling.

94
HNC-818 User Manual 8. Diagnosis

Sampling 1. Press Dgn →Servo Tune, move the cursor to select Position loop.

2. In JOG mode, move the machine to a safe position, switch to the


auto mode, press Reset to load the test G code, and press Cycle
Start to start measurement.

3. Press the cursor key "→" to adjust the parameter of each axis, e.g.
"SPEED PROPORTIONAL GAIN" and "SPD FEEDBACK
GAIN".

4. Press “Alt + direction key (+/-)” to select an axis for settings.

5. User may adjust parameters, conduct measurement for multiple


times to meet the expected effects.

7.6.3 Circularity Test

Auto load of G codes 1. Press Dgn →Servo Tune.

2. If user enters the Servo Tune interface in the auto mode, the system
will automatically load the test G code. A message is displayed to
prompt user that the test code is loaded and user may press the
Cycle Start button to start sampling.

3. If you enter the Servo Tune interface in JOG mode, it is necessary


to change it to the auto mode, and press the Reset button to load the
test G code.

4. If the G codes is required to be changed, press SET to enter the G

95
8. Diagnosis HNC-818 User Manual

code configuration interface, and change the parameters to achieve the


modification. User may view the modified G codes in the CODE
interface.

5. User may press Alt+ direction keys (+/-) to modify the test axis.

Note: User needs to manually move the machine to the safe position
before start of sampling.

Sampling 1. Press Dgn →Servo Tune, move the cursor to select Roundness.

2. Press Sample start and Cycle Start to start the measurement. The
result is shown in the figure below:

3. Press the cursor key "→" to adjust the parameter of each axis.

4. Press Alt + direction key (+/-) to select an axis for settings.

5. User may adjust parameters and conduct measurement for multiple


times to meet the expected effects.

6. Press APPLY, and input the compensation parameters


automatically calculated by the system to the parameter list.

7. Press Alt+↑ to zoom in the graph.

8. Press Alt+↓ to zoom out the graph.

7.6.4 Rigid Tapping

96
HNC-818 User Manual 8. Diagnosis

Auto load of G codes 1. Press Dgn →Servo Tune.

2. If user enters the Servo Tune interface in the auto mode, the system
will automatically load the test G code. A message is displayed to
prompt user that the test code is loaded and user may press the Start
button to start sampling.

3. If you enter the Servo Tune interface in JOG mode, it is necessary


to change it to the auto mode, and press the Reset button to load the
test G code.

4. Press Config. to enter the G code settings interface. User may


modify the parameters on the interface to modify the G codes. User
may view the modified G codes in the Code preview interface.

5. User may press Alt+ direction keys (+/-) to modify the test axis.

Note: User needs to manually move the machine to the safe position
before starting sampling.

Sampling 1. Press Dgn →Servo Tune, move the cursor to select Position loop.

2. In JOG mode, move the machine to the safe position, switch to the
auto mode, press Reset to load the test G code, and press Sample
start and Cycle Start to start measurement.

97
8. Diagnosis HNC-818 User Manual

3. Press the cursor key "→" to adjust the parameter of each axis.

4. Press Alt + direction key (+/-) to select an axis for settings.

5. User may adjust parameters and conduct measurement for multiple


times to meet the expected effects.

7.6.5 Notch Filter

Function Description The system provides notch filter function, which is mainly used in the
following scenarios:

1. Increase the speed loop gain: Select a speed to move the machine.
After increasing the speed loop gain, if machine vibration occurs,
then you may use the trap 1 to eliminate the vibration. If you
continue to increase the gain, and the vibration occurs, then you
may use the trap 2 to eliminate the vibration. In this case, it is
recommended to use the processing speed for debugging, maximize
the speed loop gain and reduce speed fluctuation.

2. High and low speed optimization: Firstly, conduct debugging at low


speed (for example F2000), increase the gain and add trap 1.
Thereafter do not increase the gain, and change to the high-speed
(e.g. F40000) mode to conduct debugging, to check whether
machine vibration or whistle occurs. If there is vibration or whistle,
use trap 2 to eliminate it.

98
HNC-818 User Manual 8. Diagnosis

Settings interface

Usage Description
Select a speed to move the machine. After increasing
the speed loop gain, if machine vibration occurs, then
Increase the you may use the trap 1 to eliminate the vibration. If
speed loop you continue to increase the gain, and the vibration
gain occurs, then you may use the trap 2 to eliminate the
vibration. In this way, the speed loop can be increased
to about 2000.
Firstly, conduct debugging at low speed (for example
F2000), increase the gain and add trap 1. Thereafter
High and
do not increase the gain, and change to the high-speed
low speed
(e.g. F40000) mode to conduct debugging, to check
optimization
whether machine vibration or whistle occurs. If there
is vibration or whistle, use trap 2 to eliminate it.

99
8. Diagnosis HNC-818 User Manual

If two filters are configured and there is still a little vibration or whistle,
user may:

1. Increase the speed integral time constant properly, but the value
should not exceed 3.

2. Decrease the speed loop gain a little.

7.6.6 Gantry Synchronization Axis

This function is mainly used for collecting the load currents of two
synchronization axes, as well as the position deviation and the current
deviation of the synchronization axes. See the figure below.

The system automatically generates G codes based on the data


(synchronization axis number, travel, speed) defined in the settings
interface. Run the G code to collect data in Auto mode, or press the
Sample start to manually move the axis to collect data in JOG mode.
After the data collection is completed, the maximum positional deviation
and the maximum current deviation of the synchronization axis will be
displayed in the right pane.

7.6.7 Spindle Acceleration and Deceleration Speed

This function is used to test the time that the spindle speed increases
from 0 to the specified speed, and the time that the spindle speed
decreases from the specified speed to 0. See the figure below:

100
HNC-818 User Manual 8. Diagnosis

In the auto mode, enter the spindle acceleration and deceleration speed
configuration interface. Set the spindle speed, and the system will
automatically generate simple G-codes, e.g. "M3 S1000 M5 M30". After
running the G code, the system automatically calculates the spindle
acceleration time and deceleration time with specified rotation, and
outputs the results in the right information pane.

Attention 1. Turn the spindle override to 100%; otherwise, the calculated time
may be inaccurate.

2. Set the value of the spindle parameter "SPEED ARRIVAL


RANGE" to 0; otherwise, the calculated result may be inaccurate.

7.6.8 Rigid Tapping of Frequency Converter

Before debugging the rigid tapping of frequency converter, user needs to


follow the operations:

1. Modify PLC. The collection of synchronization error data needs to be


supported. See “Rigid Tapping of Frequency Converter Debugging
Instructions” for details.

2. Modify canned cycle. The rigid tapping of frequency converter function


needs to be supported. See “Rigid Tapping of Frequency Converter
Debugging Instructions” for details.

It is necessary to set the relevant information about rigid tapping spindle of


frequency converter for debugging of spindle acceleration and
deceleration.

101
8. Diagnosis HNC-818 User Manual

The interface for configuring rigid tapping of frequency converter is shown


as below.

Configuration Data type Data Data range


item length

Thread pitch Floating point 7 From -500 to -0.1 or


0.1 to 500

Speed Floating point 10 Not higher than the


max. spindle speed

Floating point 8 As required

Tapping Floating point 8 As required


depth

How long to Unsigned integer 4 Values ranging from


stay at the 500 to 2000 are
bottom of recommended
hole

Tapping axis Unsigned integer 2 From 0 to 31

Rotary axis Unsigned integer 2 From 0 to 31

The rigid tapping of frequency converter is shown as below.

102
HNC-818 User Manual 8. Diagnosis

In the upper portion of the above figure is for composing the actual
synchronization error graph.

In the lower portion of the above figure is for composing the


synchronization error adjustment (help graph), which provides simple
explanation.

After synchronization error data is collected, system will automatically


suggest the recommended value. (Note: range values are recommended.
User can tune it based on how the graph change.

103
8. Diagnosis HNC-818 User Manual

7.6.9 Tool Change Time

This function is used to collect tool change signal and calculate the time
required for tool change. See the figure below:

7.6.10 Customized Collection

This function can be used to capture the value of any register. Users can
customize the conversion coefficient, conversion standard and offset of
the register value. According to the formula "conversion value = original
value * conversion coefficient/conversion standard + offset", users may
convert the register value into real values, such as voltage, current,
position, temperature, and so on. The value collection and configuration
interfaces are shown as below:

104
HNC-818 User Manual 8. Diagnosis

7.6.11 Tuning Reports

This function is used to record the KPIs before and after tuning, establish
tuning files, and export the file for archiving. See the figure below:

Attention When using the servo adjustment function for tuning, make sure the
feedrate override and spindle override are turned to 100%; otherwise, the
recorded data may be inaccurate.

7.6.12 Operation and Settings

105
8. Diagnosis HNC-818 User Manual

User may zoom in, zoom out the sampling graphs mentioned above, and
also changes their color.

Graph related operations User may press Dgn → Servo Tune → OPRT to view the graph.

- PgUp and PgDn: select a mode to browse the graph: JOINT,


GRAPH 1, GRAPH 2

- Alt+↑ or Alt+↓: In the joint mode, switch between GRAPH 1


and GRAPH 2

- Zoom in horizontal axis: Zoom in the horizontal axis

- Zoom out horizontal axis: Zoom out the horizontal axis

- Zoom in vertical axis: Zoom in the vertical axis

- Zoom out vertical axis: Zoom out the vertical axis

- Zoom in windows: Zoom in the selected area in the graph

- Zoom out windows: Zoom out the selected area in the graph

- UNDO: restore to the original scale of the graph

- Enter: Zoom in the graph in the selected area

Color settings User may change the color of the graph displayed in the system.

1. Press Dgn → Servo Tune → Config. → Set Color. The figure


below shows the color settings interface for the speed loop graph:

2. Press Enter to select a background color.

3. Press Enter again to confirm the settings. The system text color,

106
HNC-818 User Manual 8. Diagnosis

command speed color, actual speed color, acceleration speed color will
be changed with the background color changed.

Export Press Dgn →Servo Tune →Export to export the sampling data.

Save Press Dgn →Servo Tune→ Save to save the parameter settin

107
8. Diagnosis HNC-818 User Manual

7.7 Machining Information

View Press MAINT → Mach. INFO → Run status to view the machining
information.

Pre-define This function is available only to the machine manufacturer, CNC


manufacturer, and administrator.

1. Press MAINT → Machining Count to set the machining


information.

2. Move the cursor to select the item to be set.

3. Press Enter.
Clear This function is available only to the machine manufacturer, CNC
manufacturer, and administrator.

Press MAINT →Machining Count→ Clear to clear all current


machining statistics information.

Note: After modifying the time, users need to manually clear the
machining-statistics-time-related information; otherwise, wrong statistics
data may be displayed.

Log 1. Press MAINT →LOG to display system debugging information.

2. Move the cursor to select a log type.

3. Press Export to export corresponding log files.

4. User may press the chronological order key to display the log files
in chronological order.

108
HNC-818 User Manual 8. Diagnosis

7.8 Version

Query version User may Press MAINT → system information to view the system
version information.

Register Note: The registration expiration alarm is reported 12 hours after the real
expiration.

1. As shown in the figure above, the message "REGISTER" is


highlighted on the interface. User may press Enter, select USB,
load the registration file, cut off the power supply of machine, and
restart the system.

2. As shown in the figure above, the message “RENEW" is


Renew
highlighted on the interface. Users may press Enter, and enter the
renew code.

Note: Pay attention to the capitalization and hyphens.

3. Press Enter again.

PLC This function is to record the PLC modification time and the information
about the modification.

After debugger modifies PLC, the modification time is automatically


recorded as shown below, and the modification information can be

109
8. Diagnosis HNC-818 User Manual

written into “PLC comment”, such as editor. Up to 8 characters is input.

110
HNC-818 User Manual 8. Diagnosis

8 Maintenance

This chapter includes the following sections:

 Device Configuration

 System Parameter

 Graphic Setting of User P Parameter

 Parameter Upgrade

 Parameter Configuration Interface

 Time

 Bulk Debugging

 Data Management

 Permission Management

 Permission Configuration

 Network Communication

 System Upgrade

 Import System Logo Interface

111
7. Position Information HNC-818 User Manual

8.1 Device Configuration

Operation Procedure 1. Enter the MAINT menu, the display menu hovers over Device
configuration interface. The system displays the topology diagram of
hardware connection.

2. Use ▼ and ▲ to view the device type.

CH0: identify all configured axes in channel 0. (If there are more than
one channel in system, CH1, CH2, CH3 will be displayed.)

Input/Output: identify the IO devices connecting with system;

Other units: system MCP panel, MPG;

System resource: display the memory state of system.

112
HNC-818 User Manual 7. Position Information

8.2 System Parameter

Parameter setting 1. Press MAINT → Parm set to display the interface as shown below.

2. Use ▼ and ▲ to select the parameter type.

3. Use ► to switch to parameter list, then the specific explanation of the


parameter selected is shown at the bottom of screen.

Edit permission If user is going to modify the value of parameter, the corresponding
password must be entered.

1. Press MAINT → Parm set → Input PWD;

2. Enter the password;

3. Press Enter. If the password is correct, user can modify system


parameter.

1. Enter the correct password;


Parameter edit
2. Select the parameter to be edited according to the index and
categorization. Press Enter to enter edit state.

3. After parameter value is entered, press Enter to complete the edit


operation.

1. After the edit operation is completed, press Save;


Parameter saving
2. If user needs to save parameter, press Y;

3. If user doesn’t need to save parameter, press N.

113
7. Position Information HNC-818 User Manual

Note: User must cut off the power supply followed by restarting system
to validate the modifications of certain parameters.

When user needs to restore to the factory setting of a parameter, press


Restore to factory setting
Factory, then the value of the parameter selected restores to the default
value.

Restore to value before After the edit operation is completed, press Restore, then the value of
modification the parameter selected restores to the value before modification.

Note: this operation takes effect only before parameter value is saves.

Auto offset 1. Press MAINT → Parm set → Auto Offset;

2. Enter logical axis number;

3. Press Enter, the system automatically computes and enters the


“encoder feedback offset value” of corresponding “coordinate axis
parameter”.

4. Press Save to save the modification.

114
HNC-818 User Manual 7. Position Information

8.3 Graphic Setting of User P Parameter

The USERP.STR configuration file under parm directory is needed for P


parameter setting. The format of this file is as follows.

The USERP.STR configuration file can be imported to the CNC system


by selecting “P parameter comment” on MAINT → Data Manag.
interface. As shown below

This function is used to set the machine user parameters from 010300 to
010499. The interface is shown as below.

115
7. Position Information HNC-818 User Manual

Interface operations:

Only the machine manufacturer and above are allowed to perform the
operation.

Up, down, right, left keys: to move the cursor.

Enter: to set parameter value.

Menu operations:

Find: to move the cursor to the specified line via index number.

Update modification: to save the set content into parameter file.

Discard modification: to restore the parameter to its initial value.

The settings have the same effect with the modification of the machine
user parameter. See below figure.

116
HNC-818 User Manual 7. Position Information

117
7. Position Information HNC-818 User Manual

8.4 Parameter Upgrade

If the upgraded system adds some new parameters, the new parameter
needs to be preset manually. This function has the new parameters
updated automatically.

Write the information about the parameter values which need to be preset
in to UPDATA.XML file, and put UPDATA.XML file into the upgrade
package, then UPDATA.XML is updated to the system when the system
is upgraded. If UPDATA.XML file is detected when the system starts,
the information in UPDATA.XML will be read and the parameter will be
reset.

The format of the file:

Parameter type: It is always written as parm, The setting without this


type is not recognized by system.

Parameter number: Number of the parameter which needs to be


automatically upgraded.

Parameter input value: Entered value of parameter.

Note 1: After system successfully read information from UPDATA.XML,


the UPDATA.XML file is deleted. Thus, this function take effect once.

Note 2: After Parameter updates based on the UPDATA.XML at the


boot-time, the system saves and loads parameters again.

Note 3: The UPDATA.XML file is published with the upgrade package


of software. User just puts the UPDATA.XML file under the DATA
directory of upgrade package.

118
HNC-818 User Manual 7. Position Information

8.5 Parameter Configuration Interface

Operation 1. XML file configuration: xml file of user configurable parameter and
xml file of debugger configurable parameter maintain a set of parameter
list. User parameter xml and debugger parameter xml are named
CFG_PARM_U.XML and CFG_PARM_D.XML, respectively. User
parameter xml can store up to 50 parameters, and debugger parameter
xml can store up to 200 parameters. The configuration files are stored
under data directory. The parameter xml is shown as follow.

a) For the non-axis non-compensation type of parameter (normal_parm),


the parameter ID (id) is given directly.

b) For the coordinate axis type of parameter (ax_parm), the axis name
(axisName) and the assigned number of coordinate axis (axisNo). The
axis must be named within {x, y, z, a, b, c, u, v, w, s}, and the axis name
is case-insensitive. System finds out the corresponding logical axis
number in channel based on the axis name, in conjunction with the
assigned axis name, determines the coordinate axis parameter ID.

c) For the compensation type of parameter (com_parm), the same way is


used to determine its parameter ID as to determine the ID of coordinate
axis parameter.

d) The device parameter and data table parameter cannot be regarded as


configurable parameter to be written in xml file.

2. Based on the two configured parameter xml files, different levels of


parameters are shown on the “parameter configuration” interface.
Entering the default display user parameter list, debuggers enter the
corresponding password to display the debugger parameter list. After

119
7. Position Information HNC-818 User Manual

entering the “parameter configuration” interface, user can directly


modify and save parameters. If user is prompted to have insufficient
rights when modifying parameters, directly enter password to upgrade
the level to perform modification. As shown below.

120
HNC-818 User Manual 7. Position Information

8.6 Time

Operation procedure If the option of displaying system time is selected in machine parameters,
the system time can be set via this operation.

1. Press MAINT → Time Set to enter time setting.

2. Use the cursor to select the time option which is required to be set.

3. Press Enter to enter edit state.

4. Press Enter again to save the setting.

121
7. Position Information HNC-818 User Manual

8.7 Bulk Debugging

User can perform bulk import/export debug files.


1. Press MAINT → Batch Debug.
2. By default, system will select all data type. User can press Enter to
deselect some types.
3. Press Window switch, the cursor will move to the file directory are.
User can select USB or CF card.
4. Press Backup, user is prompted to indicate whether you back up the
selected data type of file; if user press Y, a successful prompt will be
shown.
5. User can press Load to import the files needed.

This function is available to machine user and CNC administrator.

Attention 1. If the file is backed up to CF card, the system will automatically name it
fileman_backup.tar;
2. IF the file is backed up to USB disk, the system will automatically name
it fileman_backup_YYMMDDTIME.tar.
3. Do not turn off power supply during a backup.

122
HNC-818 User Manual 7. Position Information

8.8 Data Management

User can load/back up parameter, PLC, canned cycle, log, compensation,


and oscilloscope files.
Note 1: This section takes loading/backup of parameter files as an example.
Operation steps for the loading/backup of other files (except error
compensation files) are the same.
Note 2: Do not turn off power supply during a backup.
Note 3: This function is only available to machine user and CNC
administrator.
1. Press MAINT → Data Manag.

2. Use the cursor to select the data type to be loaded or backed up, and
press Enter.
3. User can use the cursor to select the file to be loaded or backed up.
4. Press Window switch to move the cursor to the file path.
5. Press Load or Backup.
6. User also can press Copy and Paste for copy and paste operations.

123
7. Position Information HNC-818 User Manual

Load/Back up of error HNC8 system can automatically imports the pitch error text generated by
compensation file RENISHAW laser interferometer.
1. Generating error text LEC.REN file
Open the *.rtl file generated by RENISHAW laser interferometer, select
Analyze data from menu, and Error compensation diagram from pull-down
menu, then set parameters in the popup dialog.

2. Setting the following items in the popup “error compensation table.


1) must select “corresponding compensation” for the table type.
2) must select “absolute value” for compensation type.
3) compensation resolution is set to 1 micrometer or 0.001 millimeter.
4) The plus or minus sign can be used for “error value” or “compensation
value”.
5) Reference position is set to 0.
6) Beginning of compensation is the start position of compensation.
7) End of compensation is the destination of compensation. The start
position must be smaller than the destination.
8) Compensation interval must be a positive value.
9) Click “Draw error compensation diagram” to generate the LEC.REN file.
The LEC.REN file is a temporary file which is stored in the installation
directory of RENISHAW software (generally C:\Program Files\Renishaw
LaserXL). Copy the LEC.REN file into USB disk.

124
HNC-818 User Manual 7. Position Information

3. Press Maint → Data Manag. to select “Compensation error file” and


press Enter.

4. Press Window switch → USB → CF card → Select LEC.REN


from USB or CF card → press Load.

5. Enter the axis number to be imported for pitch error data, and press
Enter to complete the importing operation.

6. Press MAINT → PARM set → Error compensation parameter.


Expand compensation parameter table after pressing Enter, user can view
corresponding pitch error compensation parameter. For example, the
compensation axis 0—300020, 300021, 300022, 300023, 300026 are set.

7. Press MAINT → PARM set → Data sheet parameter to view


proper parameters (compensation values in pitch error compensation
file .REN is written into the data table parameter of (710000+axis number
*1000).

Rules for filling in data table in unidirectional pitch compensation:

If the reference position return is performed in negative direction, write the


compensation value of positive machine motion direction into the data
table starting with (710000+axis number*1000) in ascending order;
otherwise, write the compensation value of negative machine motion
direction into the data table in ascending order.

Rules for filling in data table in bidirectional pitch compensation:

If the reference position return is performed in negative direction, write the


compensation value of positive machine motion direction into the data

125
7. Position Information HNC-818 User Manual

table starting with (710000+axis number*1000) in ascending order,


followed by the compensation value of reverse machine motion direction
in ascending order.

Otherwise, write the compensation value of positive machine motion


direction into the data table starting with (710000+axis number*1000) in
ascending order, followed by the compensation value of negative machine
motion direction in ascending order. (If the reference position return is
performed in positive direction, the last value in the column of “negative
machine motion direction ” must be subtracted from the data to be filled in.)

126
HNC-818 User Manual 7. Position Information

8.9 Permission Management

After the system is installed and tested, no modification of parameters is


required. If some parameters need to be changed in particular case, firstly
select a proper user level, and enter corresponding password; the password
can be changed after the correct password in entered.

User level The system performance impact of parameter settings is significant.


Therefore, the system has a hard limit on parameter modification.
We have four levels of access to the system: operator, workshop manager,
machine manufacturer, CNC system provider, administrator.
When other permissions are logged out, system automatically changes the
permission to the Operator. Through the parameter 00359 Default
permission, the default boot permission can be set. If this parameter is set
to 0, the default boot permission will be Workshop manager, if 1 is set, the
default boot permission will be Operator.

User logout Press MAINT → Rights → Logout to reselect the user type.

1. Press MAINT → Rights.


Password input
2. Select a corresponding user type and press Login.

127
7. Position Information HNC-818 User Manual

3. Enter the password in the input field, and press Enter.


4. If the password is correct, the password and parameters for this level can
be modified; otherwise, the system informs user of a bad password.

Change password 1. After the correct password is entered, press the functional key of
“change password”.
2. Enter a new password in edit box, and press Enter.
3. After the modified password is entered, press Enter.
4. After checked, the password is successfully changed; otherwise, user
will be informed of an error, and the password keeps the same.

128
HNC-818 User Manual 7. Position Information

8.10 Permission Configuration

Permission configuration file PANEL_818A.XML file under bin directory, the system default permission
configuration file, through which the operations for each level of
permission can be set. The format of this file is shown as below.

Line: line index (0-6), not necessarily contiguous. When the line is 6, it is
for the menu of the configuration interface, and cannot be changed.
paraName: name of key, with a maximum length of 8 characters.
paratype: type of key. 0: words; 1: image.
hide: hide or not. 0: show; 1: hide.
jpgName: image of key. Only when paraType is 1 is it valid.
The number of subelements in each group of elements must be less than
10.

Permission setting operation With the configuration file, operations for each level of user can be set
through MAINT → Rights → Rights config

129
7. Position Information HNC-818 User Manual

The strategy for setting permissions is that the higher level of user sets the
operations for the lowers level of user.

Up, down, left, right arrow keys: to move the position of cursor.
Interface operation
Enter: to set the switch value. OFF can be set when the current setting is
ON, and ON can be set when the current setting is OFF.
The settings are saved in the NC parameters ranging from 360 to 377.
The configuration results of different levels of permissions are saved
respectively. The modification performed by the higher level of user works
on the lower level of access, but doesn’t work on this level of access.
The configuration results are saved in the following positions:
NC parameters 360-362: current setting
NC parameters 363-365: user
NC parameters 366-368: machine manufacturer
NC parameters 369-371: CNC
NC parameters 372-374: administrator
NC parameters 375-377: standby

In addition to the Permission management interface, the external I/O signal


Change user permission by
can also be used to switch the user permission, e.g. the user configuration
external PLC
permission key.
The method is to write a numerical value into G2979 register.
0, user permission is Operator.
1, user permission is workshop manager.

130
HNC-818 User Manual 7. Position Information

2, user permission is machine manufacturer.


3, user permission is CNC manufacturer.
4, user permission is administrator.
After the permission is switched, No.121 of custom even needs to be sent
to inform the system of changes on system permission.

Switching between operator and In the actual production, the operator can perform only the cycle start, and
workshop administrator by key doesn’t have the right to change program or feedrate override. Workshop
lock manager can modify program and tool compensation. The key lock is
needed on site for switching between them to ensure the production order.
The example of PLC programming: X486.6 is the input point of key lock.

131
7. Position Information HNC-818 User Manual

8.11 Network Communication

Note: The network is closed by default. The parameter 000050 is to set


the network.

There are two ways to transport networks.


1. Network share disk: The file access is implemented via windows
network share.
Note: The premise is that the user administrator exists in window, and the
password is empty.
a) set the shared folder in windows;
set the shared folder in winxp.
Right select folder → Attributes → Share → check “Share this folder
on the network” → Share name input → check “Allow network user
change my file” → Apply → OK

Set shared folder in win7.


Right click Shared directory → Attributes → Safe → Edit. Add
Everyone in “Group or user”, and set the rights for Everyone to full
control.

132
HNC-818 User Manual 7. Position Information

Right click Shared directory → Attributes → Share → Network and


sharing center to set networking discovery, and password protected
sharing.

b) Press Maintain → NC set → communication set → local to input the


current IP of CNC.

133
7. Position Information HNC-818 User Manual

c) Press the menu key Shared disk, the cursor moves to the server IP
address, press Enter, and input the IP of PC where the shared folder is.

d) The cursor moves to the server boot directory, press Enter, and input the
shared folder name on PC.
e) Press Network connection, system will inform user that network has
been connected.
f) File download: Program → Select → NET → Right arrow key →
Copy → Left arrow key → CF card/ USB disk/ system disk → Paste
→ Prompt: successfully pasted! File is successfully downloaded.

134
HNC-818 User Manual 7. Position Information

Note: the file upload function is not supported in shared disk.


2. FTP service (CNC system is the client); the third-party software needs to
be installed as an FTP server.
a) Install SERVER-U (V7.3.0.0) on PC (refer to the official manual of
SERVER-U for specific setting). As shown in the below figure, enter user
name on user attributes, the password is consistent with the login password
of server on CNC, select the path to upload or download file in root
directory, and switch to the directory access.

b) Press Set → NC set → Communication set → FTP, the cursor


moves to server IP address, press Enter, and input the IP of PC where
SERVER-U is installed.
c) The cursor moves to the server port number, press Enter and input 212.
d) Press the menu key Local machine, enter IP address of CNC which
must not conflict with other IP numbers in LAN.
e) Press Network connection key, system informs user that the network is
connected.
f) File download: Program → Select → NET → Right direction key →
Copy → Left direction key → CF card/U disk/system disk → Paste →
Prompt: successfully pasted! The file is downloaded.

135
7. Position Information HNC-818 User Manual

8.12 System Upgrade

Attention 1. This function is available only to CNC manufacturer and administrator.


2. The upgrade is possibly risky. So before upgrading the system, user must
back up the PLC file of machine, parameter file, alarm file, text file, and
cycle program file.
3. How to load the breakpoint after the software is upgraded.
a) User must not use the breakpoint file before system is upgraded.
b) When system is upgraded after machining is completed, if the
pre-upgrade breakpoint file is used after system is upgraded, it may cause
crashing.
4. Power-off is not allowed during upgrading.

1. Press MAINT → System update to enter the system upgrade setting


Operation procedure
interface.
Note 1: user presses Alt+C and Alt+V to copy and paste.
Note 2: only in CF card directory can user press Del key to delete BTF
package.
2. Use the cursor to select the upgrade file, and press Enter to enter the
interface shown as below:

136
HNC-818 User Manual 7. Position Information

8.13 Import System Logo Interface

Function description User may change the logo on the booting interface and application
interface through the USB loading.

There are two logo pictures.

1. Booting logo

Picture standard:

1) BMP format

2) 800*600 pixel

3) 24-bit true color

4) File name: init_hcnc.bmp (Case sensitive)

2. Small system logo

Picture standard:

1) BMP format

2) 52*24 pixel

3) 24-bit true color

4) File name: logo.bmp (Case sensitive)

137
8. Diagnosis HNC-818 User Manual

Operation method Note: parameters upgrade can perform only by debuggers. After the
parameter structure file is changed, upgrade parameters once.

1. Create the LOGO picture based on the specified standard.

2. Enter the permission of Machine manufacturer or above, Press Dgn


→ Load logo.

3. Click Load logo to load the logo and restart the system to take effect.

(1) User uses the cursor to select the upgrade type and system backup.

Note: The default directory for system backup is CF card directory.

(2) User presses Y followed by Enter to confirm the upgrade operation;


or presses N followed by Enter to cancel the upgrade operation.

138
HNC-818 User Manual 9. User Operation and Maintenance Information

9 User Operation and Maintenance Information

This chapter includes the following sections:

 Environmental Requirements

 Grounding

 Power Supply Conditions

 Clean Fan Filter

 Operation After Being Left Unused

139
9. User Operation and Maintenance Information HNC-818 User Manual

9.1 Environmental Requirements

The table below describes the environmental requirements of HNC-818:

Items Description
Temperature (ºC) at 0 to +45, non-freezing
operation
Temperature change < 1.1 ºC/min
Relative humidity 90% RH or lower (non-condensation)
Normal: 75% or lower
Short period (within a month): Max. 95%
Storage temperature -20 to +60, non-freezing
(ºC)
Storage humidity Non-condensation
Surrounding Indoor (non-exposed to sun), anti-sepsis,
environment anti-burning, anti-fog, anti-dust
Height A maximum of 1000 (2000) meters above
sea level
Vibration (m/s) 10 to 60 Hz: 5.9 (0.6G) or lower

140
HNC-818 User Manual 9. User Operation and Maintenance Information

9.2 Grounding

Correct grounding is critical for the numerical control unit and other
electrical devices. Correct grounding may:

- Protect operators from electric shock or injury caused by no


grounding or incorrect grounding.

- Protect the electrical devices from inductive interference which may


lead to errors or unexpected results.

When installing machine, reliable grounding must be provided. The


neutral line in the power grid cannot be used as the grounding line,
otherwise, it may cause device damage or abnormal operation, or even
casualties.

141
9. User Operation and Maintenance Information HNC-818 User Manual

9.3 Power Conditions

The power supply of HNC-818 system is provided by the electric


cabinet. For more information about machine power supply, see the
installation guide of the machine.

142
HNC-818 User Manual 9. User Operation and Maintenance Information

9.4 Clean Fan Filter

Filters are used on cooling fans to prevent dust from entering into
devices, which are designed at the inlet and outlet.

However, it may prevent adequate cooling if the filters become clogged,


and thus cause improper device running. It is recommended to clean the
filters every three months. In dusty environments, clean the filters more
often.

143
9. User Operation and Maintenance Information HNC-818 User Manual

9.5 Operations After Being Left Unused

After a long period of being left unused, numerical control devices


should be cleaned and dried, so should the wiring and ground
connections. Once power is resumed after being left unused, observe the
operation for several hours to make sure there is no problem.

144

You might also like