H6D T Manual E
H6D T Manual E
H6D T Manual E
Manual
TABLE OF CONTENTS
2 Operation 2-1
I
HUST CNC H6D-T Manual
II
Table of Contents
III
HUST CNC H6D-T Manual
5 Connections 5-1
7 AppendixA 7-1
IV
Table of Contents
8 AppendixA 8-1
9.1 PC Performs Online Operation via RS232 and The Controller 9-1
9.1.1 Program Transfer From PC To CNC Controller 9-2
9.1.2 Program Transfer from CNC Controller to PC 9-3
9.1.3 Transfer MCM Data from PC to CNC Controller 9-4
9.1.4 Transfer MCM Data from CNC Controller to PC 9-5
9.1.5 Transfer Data Variable from PC to CNC controller 9-5
9.1.6 Transfer Data Variable from CNC controller to PC 9-5
9.1.7 Transfer PLC Ladder from PC to CNC controller 9-6
9.1.8 Transfer LCD Screen Display Data from PC to CNC 9-7
9.1.9 Transfer Controller System Data from PC to CNC 9-7
9.1.10 Transfer function tables from PC to CNC controller 9-8
9.1.11 PC to Controller (ARM) 9-8
9.1.12 HCON.EXE Program Operation 9-9
9.1.13 RS232C Connection 9-12
9.2 HUST H6C-T Transmission Modes 9-13
9.3 USB Device Mode 9-14
9.4 USB Host Mode 9-14
9.5 Operational Instruction of A Standard H6C-T Transmission
Interface 9-14
9.5.1 File Download Interface 9-15
9.5.2 File Upload Interface 9-18
V
HUST CNC H6D-T Manual
VI
1 Main-Features of HUST H6D-T Lathe CNC Controlle
Available for operation with a maximum of 6 axes (depending on the actual model
number).
It can be worked with impulse command or voltage command type of server system.
Max. response speed will be 2,500,000 impulses per second (2500 KPPS). When
operated at 1 m resolution, it can even reach 150m per minute.
Encoder feedback function is provided for speed control and position control. It not
only achieves accurate position judgment and much easier failure detection but can
prevent the mechanical conflict in a more effective way.
It can flexibly work with Optical Scale for performing fully closed loop control in
achieving more accurate position alignment.
Automatic identification of NPN, PNP signal format at the input point without the
need to shift the switch. Further, the electrical layout is configured in a more
convenient manner for easier and flexible operation.
When activating the special action control mode, it achieves faster working speed
than the ordinary digital control model while providing much higher efficiency and
more stabilized performance.
It is available for designing convenient LCD screen for displaying the editing
system on LCD. Simple and easier for learning. Further, the user can also select PC
screen to display the edit software to carry out monitoring or program inspection.
Through RS232 interface, the user can transmit the data on PC and run the program
(hands-on learning) or execute the transmission directly via USB, SD card interface.
1-1
HUST CNC H6D-T Manual
Based on varied characteristics of CNC models, the MCM Parameter Setting Table
can be used to set the mechanical parameters for enhancing the amiability of the
machine.
Using the well-based Tool management function, the customer can set up 40-tool
lifespan management and select the desired operation count, time limit.
It is equipped with gear gap compensation function for adjusting the gear gap error
after using the Guide Stud. Further, it also has 40-section pitch compensation
function to offset the pitch wearing in different sections.
Full follow-up type of tapping mode in achieving more perfect thread, more
accurate thread depth control and faster speed.
Each axis can be set as active, passive mode or single-node non-stop mode.
It is equipped with gear gap compensation function for adjusting the gear gap error
after using the Guide Stud. Further, it also has the 40-section pitch compensation
function to offset the pitch wearing in different sections.
Full follow-up type of tapping mode in achieving more perfect thread, more
accurate thread depth control and faster speed.
Each axis can be set as active, passive mode or single-node non-stop mode.
1-2
1 Main-Features of HUST H6D-T Lathe CNC Controlle
MPG hand-wheel test and collision free function for cutting products at the speed
controller by MPG.
Provided with standard 24 input points and 16 output points (optional single-piece
Transition Board can be selected to provide 48 input points and 32 output points) of
programmable logic control. It can be expanded up to 256 input point and 176
output points of programmable logic control.
This operator’s manual includes basic operation, program editing, G/M code, parameter
settings, connections and maintenance (plus warning descriptions) with examples and
explanations for each command.
If there are any problems with the application, please fill out a problem sheet indicating
the nature of the problem. Send it by either fax or mail. We will respond as soon as
possible.
1-3
HUST CNC H6D-T Manual
1-4
2 Operation
2 Operation
2.
1 BasicOperation
Screen Description
* Startup Screen
Fig. 2-1
After 3 seconds, the next screen displays according to the “Mode Selection” setting.
When turning the “PRON” knob from left to right, the following modes are displayed in
order:
Fig. 2-2
Controller buttons function key following order from left to right: “RESET”
“IO/MCM” “TOOL RADIUS” “TOOL OFFSET” “GRAPH”
2-1
HUST CNC H6D-T Manual
The following screen displays when the “Mode Selection” knob is set to “MPG –
TEST”:
Fig. 2-3
After this mode is selected, the movement of all axes in the program is controlled by the
MPG when the program is running. The axis will stop moving when the MPG has no
input.
In this mode, the program process will proceed in order when the program is running,
regardless of the direction of the hand-wheel. The program process will not return when
the hand-wheel is rotated anti-clockwise.
Press the F7 Key to shift the multiple of MPG Hand Wheel as X1, X10 and X100
alternately, and other function keys will be the same as the Auto Mode. Please refer to
Auto Mode function key description.
2-2
2 Operation
The following screen displays when the “Mode Selection” knob is set to “Auto”:
Fig. 2-4
1. Parameter Monitoring: Select under Auto Mode, Program Est. Mode and MDI
Mode (for the engineering technician). Under the aforesaid mode, press the F1 Key
to access the Variation monitoring screen. Under Variation monitoring screen, enter
the variation address to be monitored and it will display the real-time value of such
variation address.
2. Servo Monitoring:Select under Auto Mode, Program Est. Mode and MDI Mode
(for the engineering technician). Under the aforesaid mode, press F3 Key to access
the “Servo Monitoring” screen. Under this screen, select the axis to be monitored
and the user can monitor the real-time command of each axis and the Servo
responding status.
2-3
HUST CNC H6D-T Manual
the program will advance to the “Set Restart” node of the previous node for
the system to run the program of this node and the one that follows. When
setting “If to grab previous node when restarting” parameter item as “1”, ,
the system will not grab previous node after pressing “Start” key; instead,
the program will run in the direction from “Set Restart” node. )
4. Semi-Auto/Auto: When setting “If setting the program as Auto Start” of the
mechanical parameters as “1” (required), the F6 Key will display
“Semi-Auto/Auto” for the user to shift between Semi-Auto and Auto working
modes via F6 Key.
Semi-Auto: When the program reaches M02/M30, the working will end.
Auto: When the program reachesM02/M30, the working will not stop and will
start automatic cycle for processing the next Workpiece.
During running the working program, the user may shift between Semi-Auto and
Auto via F6 Key.
5. Preview Program: Select under Auto and Program Est. mode to observe the
program content.
Under Auto screen, press F8 Key to access the Preview screen, which will display
the program content for the selected program number and then press F1 for
returning to Auto screen.
6. M01 Stop:This function can be selected at all times whether under running or
stopping status.
On Auxiliary Panel, press “M01 Stop” key to select or cancel the stopping
function. When the “M01 Stop” indicator is on, it means such function is active;
otherwise, it will be cancelled. Upon activating the “M01 Stop” function, the
“M01 Command” in the program will be deemed as stopping command; however,
the “M01 Command” will become invalid if such function is not selected.
7. Node Execution:This function can be selected at all times whether under running
or stopping status.
On Auxiliary Panel, press “Node Run” key to select or cancel such function. When
the “Node Run” indicator is on, it means such function is active; otherwise, it will
be cancelled. After selecting this function, it will not run the entire program upon
each pressing of “Start” key; instead, the program on the next line will be executed
2-4
2 Operation
8. Node Skip:This function can be selected at all times whether under running or
stopping status.
On Auxiliary Panel, press “Node Skip” key to select or cancel such function.
When “Node Skip” indicator is on, it means such function is active; otherwise, it
will be cancelled. When hitting “/1” Node during the execution after selecting this
function, it will skip and will not execute such node.
10. W orkingRoute Drafting:Under Auto Mode or Program Est. Mode, the customer
can access the drafting screen by pressing the “Draft” key to observe the working
route, as per Fig. 2-6.
(1) Display Percentage: With Page Up/Page Down page key, you may adjust the
displayed percentage of the working route flexibly in dynamic way.
(2) Display Position: With Up/Down/Left/Right Direction Cursor key, you may
adjust the graphical Home Position displayed in the screen or adjust the draft
Home Position by letter keys in a quicker manner.
I-Screen Upper Left; J-Screen Middle Up; K-Screen Upper Right
2-5
HUST CNC H6D-T Manual
Shift Method: Under Draft Mode and before starting the program, press
“Fast” key (once for ON and press again for OFF).
Such function is useful for initial working, as the operator can check if the
working route is correctly planned under absolute safe conditions.
(6) Press “F1” Key to return to the Main Screen indicated by the current mode
knob.
Fig. 2-7
2-6
2 Operation
* MDIMode Screen
The following screen displays when the “Mode Selection” knob is in “MDI”:
Fig. 2-8
Under this mode, input node command directly and press “Start” key and you can
execute this node command immediately
Example:
1. Edit M03 S1000:
2. Press “Enter” key.
3. Press “Start” key.
After the above-said operation, the Spindle will make CW turning (speed: 1000
rpm/min).
2-7
HUST CNC H6D-T Manual
11. Tool Life:Under MDI Mode, press F5 Key to access (valid when the Tool Life
management function is active).
Fig. 2-5
2-8
2 Operation
(1) Under MDI Mode, press the F5 Key to access the Tool Life management
screen. In the Tool Life management screen, the upper left corner shows the
Tool number currently executed and the upper right corner displays the
current Tool service time for each individual machining.
(2) The “Now Count” and “Now Time” at the upper part of the screen refer to
the accumulation of count and time for each Tool service.
(3) Press F4 Key to set the “Count Limit”. After selecting, the “Count Limit” at
the upper part of the screen will indicate reverse white and flicker. At this
time, use to move to the edition position and set the corresponding
limit of Tool service count.
(4) Press F6 Key to set the “Time Limit”. After selecting, the “Time Limit” at
the upper part of the screen will indicate reverse white and flicker. At this
time, use to move to the edition position for setting the
corresponding limit of Tool service time.
(5) Based on actual Tool service status, upper limit can be set simultaneously for
“Count Limit” and “Time Limit”, which can also be used by choosing from
either of the two.
(6) Press and hold the F8 Key for executing “Clear All Figures”. When either
the Count Limit or Time Limit reaches the upper limit, the system will
indicate “Err39” alarm and the program being run will also stop at the
position where T Code is located.
(7) Page 1 of the parameter screen can be used for setting if to activate the Tool
management function (double clicking the “I/O Para” key).
Fig. 2-6
2-9
HUST CNC H6D-T Manual
The following screen displays when the “Mode Selection” knob is in “Edit”:
Fig. 2-9
Under Edit Mode, press the “F1” Key and you may select current editing mode for
changing it to general programming status. By pressing “F2” Key, you may select
current editing mode to change it to general programming status.
General programming: The letters and digits need to be input by the operator
manually, and shown in Fig. 2-9 is the general programming
status.
Intellectual Programming: The customer need not memorize the parameter letters of
each command and relevant meaning, but needs to fill in the
value following the respective parameter according to the
illustration to complete the programming. In this way, it
reduces the work load of the programmer, eases the
programming difficulty, and enhances the programming
efficiency. For relevant details, please refer to 2.2.3.
2 - 10
2 Operation
Copyand Paste
1. Press the “Copy” key and the screen will display “Please move the cursor to
confirm the copy start node number for copy and then press the Enter key to
confirm the selection” (as per Fig. 2-10).
Fig.2-10
2. More the cursor to the starting position of the block to be copied and then press
“Enter” key to confirm (as per Fig. 2-11).
Fig.2-11
2 - 11
HUST CNC H6D-T Manual
3. More the cursor to the ending position of the block to be copied and then press the
“Enter” key to confirm (as per Fig. 2-12).
Fig.2-12
4. Press the “Hint” and then “Copy” key till the screen hint “Copy Done” appears (as
per Fig. 2-13). To reselect the program content to be copied, repeat Step a~d.
Fig.2-13
2 - 12
2 Operation
5. After completing the copying, move the cursor to the position to be pasted and
then press “Paste” key to paste up the copied program block (as per Fig. 2-14).
The copied program block can be pasted to the other program designated by
program number and it can also be repeated pasted.
Fig. 2-14
(1) Restart Again; In the edit program, move to the node to be restarted with
key and then press “Set Restart”, and the node is the set restart node.
When the “Set Restart” indicates reverse white, it means such function is active.
(2) Interrupt Node: To search the interrupted node after the program is interrupted
during the working process (e.g. press Reset, emergency stop, shutdown), access
the Edit screen and then press “Interrupted Node” soft key and it can be retrieved.
(3) Search: To enter certain bit and value in the specific program node, press this key
and the cursor will skip to the corresponding node position. To repeat, press
“Search” key and the system will continue looking for the next bit that meets the
requirements.
2 - 13
HUST CNC H6D-T Manual
The following screen displays when the “Mode Selection” knob is set to “PRON”:
Fig. 2-15
2. Press T Y P E 2 0 1 .
3. Press Enter .
1. Select a program:
a. Use the “Cursor ” key or “Page ” key to move the arrow
to the desired program number. (Press the Cursor key that the
program number will increase 100 for each time.)
b. Press the “Select” or “Enter” key.
2. Program comments:
a. Use the “Cursor ” key or “Page ” key to move the arrow
to the program number for which program comments are entered.
b. Enter the desired comment using letters or numbers.
2 - 14
2 Operation
Fig. 2-16
When the source and target program numbers are confirmed, press the “Execution” key
to begin copying.
2 - 15
HUST CNC H6D-T Manual
* JogMode Screen
Fig.2-17
1. Press “Jog” key, and the corresponding axis will start moving:
2. Hold “Fast” key, the axis will move at maximum speed.
(If “Fast” key is not pressed, the axis displacement speed will be set in the
Parameter page).
3. For document transmission, please refer to AppendixB.
4. Lubricant: Under “Manual” screen, press “F2” Key to select or cancel “Lube”
function. When “Lube” indicates reverse white, it means such function is active;
otherwise, it will be cancelled. (The parameter item can be used to adjust the
continuous automatic lubrication time and the time interval of every two
lubrication cycles.)
5. Release Spindle: Under Manual screen, press the “F3” Key to select or cancel
Spindle release function. When “Release Spindle” indicates reverse white, it
means such function is active; otherwise, it will be cancelled. Upon starting the
“Release Spindle”, the Spindle can be turned by hand manually. (The “Release
Spindle” function shall be effective for the voltage closed circuit spindle or the
pulse type Spindle and the Spindle has returned to the Home Position.)
6. Spindle Positioning: After the Spindle returns to the Home Position, the Spindle
position will be displayed on the manual screen. Press “F4” Key “Spindle
Position” (in reverse white), the system will position the Spindle at the angle set
by the user (the parameter can be used to set the positioning angle and rpm).
7. Select Spindle: Under “Manual” screen, press “F5” Key to select the active
Spindle. (If the Spindle count is “1”, then it means “Spindle #1” is active; if the
Spindle count is 3, press “F5” Key for shifting among Spindle #1, #2 and #3 and
2 - 16
2 Operation
Fig.2-18
Press “Jog” key and you may select the axis (the selected axis will indicate reverse
white on the screen), and then rotate the Hand Wheel to move the axis. You may also
select the multiple of Hand Wheel by adjusting the knob position, such as 1x, 10x and
100x.
2 - 17
HUST CNC H6D-T Manual
The following screen displays when the “Mode Selection” knob is set to “Home”:
Fig. 2-19
2 - 18
2 Operation
c. When setting the parameter at “Neither Home Position for Spindle signal
not required, but the Grid signal is required”, the “F2” Key shall
corresponds to “Spindle Home Position signal nor Grid signal is
required”, the “F2” Key shall corresponds to “Spindle Zero Point”.
Under such status, push the said function key and the current Spindle
position will be set as the Home Position of the Spindle.
Press “I/O/MCM” once to enter I/O mode. The following screen displays:
Press the “IOCSA” soft key to display the following output status screen:
2 - 19
HUST CNC H6D-T Manual
The corresponding screen does not display when this page displays and the work mode
knob is turned. This function is used to check the work mode knob is correct.
Press the “I/O” soft key to display the input and output status screen.
2 - 20
2 Operation
* Parameter Screen:
Quickly press “IO/Parameter” key twice to enter the Parameter Mode and listed below
is the relevant page:
Fig.2-23
Press “G54..G59” Key to enter the working coordinates system setting screen.
Fig.2-24
2 - 21
HUST CNC H6D-T Manual
Press the “Software Version” soft key on the second page of the parameter screen to
display the version screen:
Fig. 2-25
1. Shown in the screen are system time, PLC time, screen time, ARM time and
Lattice time.
2. Time Setting: Press “Time Set” key (indicating reverse white) and then press
key for showing year, month, day, hour, minute and second, edit the value and then
press “Time Set” again. When the screen displays “Data Loading OK” wording, it
means the time has been successfully set.
2 - 22
2 Operation
Press the “System Parameter” soft key on the second page of the parameter screen to
display the system parameter page.
Fig. 2-26
Fig. 2-27
2 - 23
HUST CNC H6D-T Manual
Fig. 2-28
Note: After entering the correct Advanced Parameter password and before
restarting, you may change the system parameter setting screen directly
during the next operation (password not required).
2 - 24
2 Operation
* Tool Radius
Prerequisite: The axis must in the Home position that can into this page.
Page (1) :
Fig. 2-29
Note:When mount the Tool above the Workpiece, it means the Upper Holder
(Rear Holder); when mounting under the Workpiece, it means the Lower
Holder (Front Holder). The system parameters can be used to set the
Holder type, for example, X-Axis means the direction when Tool is
leaving the Workpiece (refer to Fig. 2-34). If the Tool is located at
“Negative X Direction” at the center of the Workpiece, then negative
value should be entered for the diameter (as per Example 2).
1. Clamp the Workpiece securely (clamp with Pedal Switch or Manual Chuck key).
2. Set the group number.
3. Write in X-Axis position.
a. Move the Tool with Hand Wheel for accepting OD machining. Before the
entire Tool leaves the machining coordinates, press the “X Tool Offset” key
and at this time, the system will save the machine coordinates of X-Axis in
the X-Axis position.
b. Move the Tool away with Hand Wheel. After measuring the actual Workpiece
diameter, enter the diameter of X-Axis.
2 - 25
HUST CNC H6D-T Manual
c. Press “X Tool Offset” key again and the Controller will calculate
automatically for writing the result in the designated Tool length offset
parameter.
4. Write in Z-Axis Position:
a. Move the Tool with the Hand Wheel for accepting end face machining. Before
the entire Tool leaves the machining coordinates, press “Z Tool Offset” key
and at this time, the system will save the machine coordinates of X-Axis in
the Z-Axis position.
b. Enter the Workpiece length. To use the machining end face as the working
Home Position for Z-Axis, set the length as “0”.
c. Press “Z Tool Offset” key again and the Controller will calculate automatically
for writing the result in the designated Tool length offset parameter.
Example 1:
1. If the Tool has not entirely left the machining coordinates, the machine coordinates
will be (13.000, 13.638.)
2. Enter diameter as 20.000mm (diameter program setting and the Tool is located at
the X position direction at the centerline of the Workpiece).
3. Enter the length as 0.000mm (the machining end face will be the working Home
Position of Z-Axis).
4. Press “F4-X Tool Offset” and “F5-Z Tool Offset” respectively.
5. The X, Z coordinates saved for the Tool setting screen will be (6.000 and 13.638)
respectively. Under Tool length offset screen, the X, Z coordinates of this group
will be (6.000, 13.638.)
Example 2:
1. If the Tool has not entirely left the machining coordinates, the machine coordinates
will be (-15.400, 12.166.)
2. Enter diameter as -20.000mm (radius program design and the Tool is located at X
negative direction at the centerline of the Workpiece).
3. Enter the length as 10.000mm (the machining end face will be the working Home
Position of Z-Axis).
4. Press “F3-X Tool Offset” and “F5-Z Tool Offset” respectively.
The X, Z coordinates saved for the Tool setting screen will be (-5.400 and 2.166)
respectively. Under Tool length offset screen, the X, Z coordinates of this group will be
(-5.400, 2.166.)
2 - 26
2 Operation
Click the “T.Radius / T.Offset” once to enter tool compensation mode. The following
screen displays:
Fig. 2-30
In this mode, it is possible to switch between two screens. Press the “soft key” to cycle
between tool-wear compensation, tool-length compensation, and parameter screens.
Fig. 2-31
1. Set Tool Wearing Offset and Tool Length Offset according to the following
method:
2 - 27
HUST CNC H6D-T Manual
a. Confirm the input type of Tool Wearing Offset and Tool Length Offset
(absolute value/increment value will be hinted at the upper right corner, and it
is not required to enter X/Y/Z, U/V/W), and then press lower soft key to
switch the input method. With “Cursor” key, move the cursor to the
parameter to be changed.
3. Max. Wearing Offset Set Value: In the system parameters, set under the “Max.
Wearing Offset Value” (default value: 2.000; max. value: 20.000 mm), and the set
parameter value will be shown at the upper left corner of the Wearing Offset
screen.
2 - 28
2 Operation
Fig. 2-26
Input method:
1. Used the cursor key to move input position and input the values then press the
Enter key.
2. Used the cursor key to move input position then used MPG or JOG key move the
axis to the target position, press faster the SAVE-X SAVE-Z or SAVE-A
key twice (0.5 Sec.), the values will be renew from up-left
MACHINE-POSITION .
2 - 29
HUST CNC H6D-T Manual
* Error message :
When any error message happen that system will change to this page automatically.
(Please reference the explanation of chapter six. )
Fig. 2-27
2 - 30
2 Operation
2.
2 Program Editing
2.
2.1 ProgrammingOverview
2.
2.1.
1. Part Programs
Prior to part machining, the part shape and machining conditions must be converted to a
program. This program is called a part program. A comprehensive machining plan is
required for writing the part program. The following factors must be taken into account
when developing the machining plan:
2.
2.1.
2. ProgrammingMethods
A numerical control unit executes actions exactly in accordance with the commands of
the part program. So, programming is very important for numerical control machining.
There are two ways to design a CNC part program and they are briefly described in the
following:
2 - 31
HUST CNC H6D-T Manual
Two programming methods are available for the part program of the numerical control
unit:
Manual Programming
Automatic Programming
Manual Programming
All processes from drawing of the part diagram, machining design, numerically
controlled program algorithm, programming, to the transmission of the program and the
controller are performed manually.
The coordinates and movements of the tool used in machining operations should be first
calculated during the manual programming process. Calculation will be easier if the part
shape is comprised of straight lines or 90-degree angles. For curve cutting, however, the
calculation is more complicated. Both geometric and trigonometric operations are
required for accurate curves. After acquiring the coordinates of the work-piece, create a
complete numerically controlled part program in a specified format using the movement
command, movement rate, and auxiliary functions. Check the program and make sure
that there are no errors before transmitting it to the controller.
AutomaticProgramming
All processes from drawing the part diagram to transmitting the part program are
performed with a PC.
For complex part shapes, it is both time-consuming and error-prone to calculate the
coordinate values manually, resulting in nonconforming-machined products. To make
use of the high-speed capabilities of the computer, the programmer designs a simple
part program to describe the machine actions and the shape, size, and cutting sequence
of the part, reinforcing the communication and processing capability of the computer.
The input data is translated into a CNC program using a PC, which is in turn transmitted
to the CNC controller via the RS232C interface. This is called the CAD/CAM system
and is used by many units using CNC machines to create a program especially
machining a 3-D work-piece.
2 - 32
2 Operation
2.
2.1.
3. Program Composition
A complete program contains a group of blocks. A block has a serial number and several
commands. Each command is composed of a command code (letters A~Z) and numeric
values ( , ,0~9). An example of a complete part program containing 10 blocks is
shown in the table below. A complete program is assigned with a program number, such
as O001, for identification.
A complete program:
Block is the basic unit of a program. A block contains one or more commands. No blank
should be inserted between commands when transmitting a program. A block has the
following basic format:
N-____G____X(U)____Z(W)____F____S____T____M____
Except for the block serial number (N), the command group of a block can be classified
into four parts:
2 - 33
HUST CNC H6D-T Manual
However, not every block contains these four commands. Some blocks have only one
command. This will be further discussed in Chapter III.
Except for the block serial number of the block N___, all other components of the basic
block format are commands. A command contains a command code (letter), a +/- sign,
and some numbers.
X-10.000
X : Command code
"-" : +/- sign (+ can be omitted)
10.000 : Destination of a tool positioning action.
The command codes include the function command code, positioning (or coordinate)
command code, feed-rate command code, and auxiliary function command code. Each
command code has its own definition and the machine behaves according to the command
code given. The command codes of H6D-T Series and their definitions are described
below.
2 - 34
2 Operation
Each block has a specified format and this format must be used during programming.
Incorrect formatting can result in code rejection or major errors.
Each block has a serial number for identification. Though the serial number is not
essential, it is recommended to use it for easy search. The serial number contains the
letter “N” followed by some digits. The number can be generated automatically or
manually typed from the keyboard when editing the program. (Refer to Chapter IV).
The line number order is not followed, but line numbers must be unique. The program
runs in order of blocks from top to bottom rather than their serial numbers. For
example:
2.
2.1.
4. Coordinate System
2 - 35
HUST CNC H6D-T Manual
* Coordinate Axis
The H6D-T Series uses the well-known 2-D Cartesian coordinate system. The two axes
used in the lathe series are defined as X-axis and Z-axis. The Z-axis is the centerline of
the lathe spindle. The intersection of the two axes is the zero point, i.e. X=0 and Z=0.
Fig. 2-28 shows the relationship among each axis, tool motions, and rotation direction
of a work-piece. This manual uses the rear tool post as an example.
+X Top (rear)holder
+Z
G03 G02
+Z
M04 M03
CCW CW
G02 G03
+Z
+X Bottom (front)holder Fig. 2-28
When the spindle is rotating, your thumb points to the positive direction of the Z-axis
and four fingers point to the direction of normal rotation.
* Coordinate PositioningControl
The coordinate of the H6D-T Series is either absolute or incremental, depending on the
command code of the coordinate axis, i.e.:
Please note the diameter is generally used to represent the X-axis coordinate for a lathe,
regardless of incremental or absolute coordinates.
Tool-positioning coordinates are acquired with reference to the origin (work origin or
program origin) of the work coordinate system. Coordinates are either positive (+) or
negative (-), depending on its position relative to the origin.
2 - 36
2 Operation
The previous coordinates of the tool are the reference point for calculating the
coordinate value of the next position. The incremental coordinate is either positive (+)
or negative (-). The negative sign represents decrement. Facing toward the direction of
movement, if the tool is heading towards the positive (+) direction, U, W represents an
increment. If it is heading to the negative (-) direction, U, W represents decrement.
X, Z and U, W are interchangeable in the program. The commands used for absolute
and incremental coordinates are described as follows:
38
30
P4 P3
10
P2
32/2
24/2
P1
10/2
Z Fig. 2-29
P0
2 - 37
HUST CNC H6D-T Manual
38
30
P4 P3
10
P2
16
12
P1
5
Z
P0
X0. ZO.
Coordinate Interchange:
There aren’t any rules about when to use the incremental or absolute coordinate system.
It depends on machining requirements. If each machining point is positioned relative to
the home position, it is recommended to use the absolute coordinate system.
For diagonal (simultaneous positioning on the X and Z-axis) or arc movements, the
coordinate value of each axis acquired from trigonometric operations will be rounded
off. In this case, particular attention should be paid when the incremental coordinate
system is used, as machining points may increase, and the more points there are, the
greater the risk of error. Basically, whether an absolute or incremental coordinate is used
2 - 38
2 Operation
* W orkOrigin
The specifications of the machining diagram are converted to the coordinate system at
the CNC lathe programming stage. Before the conversion, a point on the work-piece is
selected as the zero point of the coordinate system (i.e. work origin) and the coordinates
of other points on the work-piece are calculated based on this work origin.
The programmer determines the position of the work origin. It can be any point on the
centerline of the spindle. However, it is recommended to select an origin that makes
reading of the work-piece coordinate easier. The X-axis of the work origin should be on
the centerline of the lathe spindle. One of the following three points can be selected as
the work origin of the Z-axis: (Fig 2-31)
Z
1 3 2
The work origin is also called work zero point or program origin,program zero point.
In this manual, this zero point is always referred to as the work origin. The coordinate
system based on the origin is called work coordinate system. The work coordinate origin
is the work origin. Referring to section 3.12 for the G10 and G50 work origin setting.
The work-piece after being cut with a CNC lathe is symmetrical. Perform machining of
half the side of the work-piece. Therefore, only half of the work-piece should be drawn
on the work-piece diagram when creating a program, as shown in Fig 2-32.
2 - 39
HUST CNC H6D-T Manual
* Machine Origin
There is a fixed point on the machine bed or bed rail. This point is used as a reference
point for determination of the work coordinate (or work origin) and calibration of the
tool length compensation. This reference point is called the machine origin.
For the H6D-T Series controller, the machine origin is the stop position of the tool when
the homing for each axis is complete. As Fig. 2-31 shows, the machine origin
corresponding to the coordinate used to indicate the work origin varies depending on the
position of the work origin. In general, the machine origin is determined based on the
position where the positioning measurement device and the touch plate of the limit
switch are installed on the machine. In this case, use the positioning measurement
function of the controller to obtain the relationship between this position and the
coordinate used for the work origin.
The homing action should be performed after powering on the machine. If the current
position is lost due to power failure, the homing action should be performed again.
Z HOME X
Machine Origin Z
X HOME
W orkOrigin
+Z
2 - 40
2 Operation
2.
2.1.
5. Numerical Control Range
The numerical and functional control range of the H6D-T controller is described in the
following two tables.
The numerical control range varies depending on the specifications of the numerical
control unit. Refer to the operator’s manual of the machine for more information.
2 - 41
HUST CNC H6D-T Manual
2.
2.2 Program Editing
2.
2.2.
1. New Program Editing
Fig. 2-39
Enter a new block in a new program or insert a new block in an existing program.
Press the Insert key after entering a new block.
Enter
7. Use the key to apply/save the new changes.
Use the Enter key after adding a command or changing a command value in an
existing block.
2 - 42
2 Operation
Program 1
N1 G0 X0.Z0.
N2 G4 X1.
N3 G0 U480.W-480.
N4 G4 X1.
N5 M99
NEW
G 0 X 0 . Z 0 . LINE
NEW
G 4 X 1 . LINE
NE
W
G 0 U 4 8 0 . W - 4 8 0 . LIN
E
NEW
G 4 X 1 . LINE
NEW
M 9 9 LINE
If the program is longer than one page after completing the edition, use the Page Up
and Page Down to check if the programs in both pages are correct.
2.
2.2.
2. Editinga Program
We have created PROGRAM 1 in the previous section. The existing program change is
described in this section. Changing a program includes the following procedure:
2 - 43
HUST CNC H6D-T Manual
Procedure:
1. Make sure the system is in “EDIT” mode.
2. Use / to move to the cursor to block N3.
3. Enter a command code and value to be added (changed), e.g. F0.2.
F 0 2 Enter
Fig. 2-40
To change an incorrect command, enter the correct command and press Enter .
Delete a Command
Procedure:
1. Make sure the system is in “EDIT” mode.
2. Use the / key to move the cursor to block N3.
3. Enter a command to be deleted without values, e.g; F Enter
(No value is entered behind F). The screen shows as Fig. 2-41:
2 - 44
2 Operation
Fig. 2-41
Insert a Block
Ex: Insert the block N31 U20. W-20 between the third block N3 G0 U480.
W-480 and between N4 G4 X1
Procedure:
1. Make sure the system is in “EDIT” mode.
2. Use the / to move the cursor to block N3.
3. Enter
N 3 1 Insert
U 2 0 Enter
W 2 0 Enter
2 - 45
HUST CNC H6D-T Manual
Fig. 2-42
Delete a Block
Procedure:
1. Make sure the system is in “EDIT” mode.
2. Use / to move to the cursor to block N31.
Fig. 2-43
2 - 46
2 Operation
Delete a Program
In the “PRNO” mode, move the cursor to the program to be deleted and press the
Delete key. The following message displays:
Fig. 2-44
At this time, press the Y key to delete the program O02. When you press the
N key, no action is performed.
Note: After the procedure is complete, all program data in memory is erased.
Therefore, never perform this action unless it is absolutely necessary.
2 - 47
HUST CNC H6D-T Manual
2.
2.2.
3. EnteringFractions
(1) The entered command values shall be divided into integral and decimal point
numbers, and up to 7 digits shall be entered at most. Because the decimal point
cannot be accepted by the command value to be indicated with integral number,
there would be no problem for inputting the value for this type of command. As
for the decimal point-type command value, the decimal point shall be entered at
the appropriate position (the “0” following the decimal point can be omitted); after
internal processing by the Controller, its value will be the correct one. Under
varied modes, actual command value entered by integral number will also be
different. Provided below is about the description of “If to start the decimal point
omission” (such parameter is shown in the first page of Parameter screen and it
can be accessed by clicking “IO / MCM” for twice.
Non-starting
Enter Starting Omission
Omission
X2 X0.002 mm X2mm
Z35 Z0.035 mm X35mm
U2500 U2.500 mm U2500mm
W125. W125.000 mm W125mm
Suggestion:To avoid confusion, except that integral number should be entered for G, M,
N and S, other commands will be entered by decimal point method and the “0”
following the effective number can be omitted.
2.
2.2.
4. EditingNotes
2 - 48
2 Operation
Program 1
N10 G0 X0. Y0. ...... First block
N20 G4 X1. ...... Second block
N30 U480. V-480. ...... Third block
N35 U20. V-20. ...... Fourth block
N40 G4 X1 ...... Fifth block
N50 M99 ...... Sixth block
If the block line number N35 is changed to N350 the program executes in the
same order.
3. The line number of a block is edited in the form of a "string". That is to say, N10,
N010, N0010 represents different blocks and a complete string must be entered to
search a block serial number.
Block Notes
2 - 49
HUST CNC H6D-T Manual
2 - 50
3 G/M Codes
3 G/M Codes
3.
1 Command codes
The previous chapters have introduced the format of part programs. This chapter will
describe the command codes of the H6D-T series and provide simple examples for each
command to explain its applications.
The definition of G-codes in the H6D-T series is similar to other controllers. They are
classified into two groups: (Table 3-1)
1. One-shot G-codes
A One-shot G-code (has no * mark in the table) is valid only in the defined program
block.
2. Modal G-codes
A Modal G-code (has a * mark in the table) is valid until it is replaced by another
G-code of the same group.
3-1
HUST CNC H6D-T Manual
3-2
3 G/M Codes
G-code Function
74 Face cut-off cycle
75 Longitudinal cut-off cycle
76 Compound thread cutting cycle
80 # Fixed cycle for drilling cancel
* 83 Deep hole drilling cycle (Z axis)
* 84 Tapping cycle
90 Longitudinal cutting fixed cycle
* 92 Thread cutting fixed cycle
* 94 Face cutting fixed cycle
*96 Constant surface speed control ON
*97 # Constant surface speed control OFF
*98 Feed per minute mm/min or in/min
*99 # Feed per revolution mm/revolution or in/revolution
3-3
HUST CNC H6D-T Manual
3.
2 Positioning,G00
This command is accompanied with a coordinate name; it takes the current position as
the staring point and the coordinate indicated by the coordinate name as the end point,
which are positioned by the linear path.
Format:
1
G00
Z 2 U
X W
Z
Details:
Once this command is given, the G00 mode is kept effective until a G01, G02, G03,
or other single-time G command appears. Therefore if a subsequent command is
also G00, only the axis address needs to be specified.
The speed of positioning is set by a machine parameter.
This command is capable of controlling movements in 1-6 axes simultaneously.
No position movement will take place if the command gives no axis direction.
3-4
3 G/M Codes
3.05
5.6
A
3.00
B
2.00
z
Tool moves to X4.00, Z5.60 rapidly. Since both X and Z axes are repositioning, the tool
moves according to the lower feed-rate set in the parameter “Highest Feed-rate”.Ex:
Fig. 3-2 assuming that the “Highest Feed-rate” is:
The feed rate of both axes is within the MCM parameter settings. Therefore, the tool
will feed at the calculated rate on both axes.
When only a single axis (X or Z) executes fast positioning, it moves at the respective
speed set in the “Highest Feed-rate” parameter.
3.
3 Linear Cutting,G01
This command, together with the coordinates and a feed speed command, makes the
tool to move from the current position to the end point specified by the coordinates in a
linear movement at the speed specified by address F.
Format:
3-5
HUST CNC H6D-T Manual
The F-code can be used in the G00 block without affecting the fast positioning
movement.
Details:
G01 (or G1) is used for linear cutting work. It can control the X, Z-axes simultaneously.
The cutting speed is determined by the F-code. The smallest setting value of the F-code
is 0.02 mm/min or 0.2 in/min.
Once this command is given, the G01 mode is kept effective until a G01, G02,
G03, or other single-block G command appears. Therefore if a subsequent
command is also G01 and the feed speed is not changed, only the coordinate value
needs to be specified.
The starting point is the coordinate of the tool when the command is given. The
feed-rate defined after an F-code (Modal code) remains valid until it is replaced by a
new feed-rate.
X feed-rate, (1)
Z feed-rate, (2)
3-6
3 G/M Codes
X
2.0
B
A
4.6 1.00
Z
3.
4 G02,G03Circular Interpolation
Format:
X
Z
E I
End S
X/2
Start
K
Z
X
Z
End
E Start
S
X/2
I
Z
K
3-7
HUST CNC H6D-T Manual
X
Z R
E
End
X/2 S
Start
Z
Details:
The arc-cutting program contains four command groups, as showed in the list
below. The combination of these commands determine the arc path of the tool in a
single block.
Table 3-2
Command Description
Arc feed direction G02 Clockwise
1
G03 Counter clockwise
Absolute End point in absolute
command X, Z coordinates
2 End point
Incremental U, W Increment from arc start
command point to end point
Difference from arc start I=X-axis, K=Z-axis
I, K
3 point to center Radius range
R
Arc radius -9999.~9999.mm
4 Minimum setting 0.01
Arc feed-rate F
mm/rot.
The end point can be defined either by absolute or incremental coordinates. The
size of the arc can be defined either by the coordinate difference or radius. The arc
cutting direction (CW or CCW) is relative to the center of the arc. Note that the
CW or CCW direction is determined when the tool is at the top (rear) holder. The
direction is reversed when the tool is at the bottom (front) holder.
3-8
3 G/M Codes
X X Z Z
G02 G03
G02 G03
Z Z X X
Top(rear)holder Bottom (front)holder
Table 3-3
Top (rear) holder Bottom (front) holder
G02 Clockwise Counter clockwise
G03 Counter clockwise Clockwise
An arc comprises three elements, a start point, and end point and a center (See Fig.
3-8).
a. The start point (S) is the tool coordinates when the G02 and G03 execute.
b. The end point (E) is the coordinates of X (U) and Z (W) in the program
format.
c. The center (C) is defined by I and K values. They are the coordinate difference
between the arc start point and center. This value can be either positive or
negative. Definition of the I and k values are same as the increments (U, W).
The arc feed-rate is defined by F-value.
End
Start S X
I
Center Z
K
3-9
HUST CNC H6D-T Manual
Example:
The following four commands are different in settings but execute the same arc
cutting work.
a. G02 X5.000 Z3.000 I2.500 F0.3
b. G02 U2.000 W-2.000 I2.500 F0.3
c. G02 X5.000 Z3.000 R2.500 F0.3
d. G02 U2.000 W-2.000 R2.500 F0.3
X
3.0 R = 2.5
E
End 2/2
5/2 Start S
3/2
5.0
Z
There are two different arc types available for arc cutting (Fig. 3-10):
a. Use “+R" if arc angle < 180°.
b. Use “-R" if arc angle > 180°.
R is within the range from -4000.mm to +4000.mm.
E End
S R
X
Start
3 - 10
3 G/M Codes
1. The F-value of the cutting speed is given in a G02/G03 command, indicating the
speed along the tangent to the arc; this tangent speed is limited by the arc radius
and the given speed limit.
2. When the calculated tangential cutting speed of the arc is greater than the F value
of the program, the F-value is used as the tangential cutting speed. Otherwise, the
calculated value prevails.
3. The maximum tangential cutting speed is estimated with the following formula:
Fc 85 R 1000 mm/min
3.
5 Dwell ,G04
This function’s purpose is to temporarily hold the machine movement via the program
command, realizing a waiting status, therefore delaying the start of the subsequent block.
Format:
G04 X(P)____
X: Dwell Time. Unit: second. (The X here stands for time instead of position, is
dependent on the setting of “decimal enable” parameter. Ex.: G04 X2, when
“decimal enable” is disabled, the dwell time is 2s; if “decimal enable” is
enabled, the dwell time is 0.002s – i.e. 2ms.)
P: Dwell Time. Unit: millisecond. (Not dependent on the setting of “decimal
enable” parameter.)
Details:
To meet machining requirements, the axial movement may need to be held during the
execution of a program block, which completes before the command for the next block
is executed. This command can be used for this purpose. The G04 function is used for
this purpose.
3 - 11
HUST CNC H6D-T Manual
The minimum dwell time is 0.001 sec, the maximum is 8000.0 seconds.
3.
6 Paraboliccutting,G05
Form :
U,W : The parabola the end of the incremental value relative to the starting point
of the single block.
Note When parabolic End X coordinate and the parabola starting point X coordinate
equal, display will showing “ERROR 05 .X”.
When parabolic End Z coordinate and the parabola starting point Z coordinate
equal, display will showing “ERROR 05 .Z”.
I : The parabola X-axis interpolation step value, Range 0.001 9999.999 Step away
from the smaller, the precision will more higher. When the X-axis step distance
value I 0 , system will showing “ERROR 05 .I” to the display
K : K=0 Counterclockwise parabolic parabola trajectory from the beginning to the end.
3 - 12
3 G/M Codes
K=1 Parabolic trajectory from the beginning to the end clockwise parabolic.
The system default counterclockwise parabolic when K not fill.
J=1 The parabola command in at the point of interruption, can not do the tool
compensation but high surface finish.
3 - 13
HUST CNC H6D-T Manual
Program example
When Parabolic command P=5mm, Its symmetry axis parallel to the Z-axis machining
dimensions of the parts shown in the Figure, the finishing program may be prepared as
follows
Fig 3-12
M03 S800
G00 X10. Z10.
G00 X0.
G01 Z0. F120
M08
X30.
G05 X60. Z-40. P5000 K0 I1.
G01 X90. Z-60.
X110. Z-85.
X120.
M09
G00 Z10.
M30
3 - 14
3 G/M Codes
3.
7 Exact Stop Check G09,G61,G62
This command provides the option of precision positioning for certain blocks
(MCM#114 = 256, Turning Corner Round Angle Connection), if so required, when M300
(round-angle connection between blocks) is enabled.
Program Format:
G09 Exact stop check (effective between 2 blocks posterior to a G09 command)
G61 Exact stop check mode (modal command, to be disabled by a G62 command
when enabled).
G62 Exact stop check mode cancel (modal command, to disable an enabled G61)
M03 S1000
G01 X20. F1000
U10.
N10 U50.
G09 ---------- N20 and N21 Precision Positioning between blocks, on
completion of N20 block, X-axis speed decelerates to 0.
N20 U50.
N21 U50.
G61 ---------- Precision Positioning between blocks enable (N30---N50)
N30 U50.
N40 U50.
N50 U50.
G62 ---------- Precision Positioning between blocks disable
……
……
……
G00 X0.
M30
3 - 15
HUST CNC H6D-T Manual
3.
8 Spindle PositioningCommand,G15
Program Format:
G15 R_____P_____
Parameters:
R: Stands for the Target Angle of Spindle Positioning
P: Stands for rpm of Spindle Positioning
Details:
R Parameter Format: With decimal point or omit decimal point and add 2 zeros at the
end.
Program Example:
EX.: For spindle to be positioned at the angle of 175 degrees, any of the following
commands may be given:
3.
9 Cylindrical Plane,G16
Using the angular movement of an angle command, convert it internally into a linear
distance of the axis on the outer surface, for performing a linear interpolation or arc
interpolation with another axis. After the interpolation, this distance is again converted
into the movement of the rotating axis.
3 - 16
3 G/M Codes
Program Format:
2. Only set the value of cylinder radius; the cylinder interpolation axis to be
determined by the currently used spindle. (I.e., the axial direction for switching from
the spindle mode to the servo axis mode.)
G16 Hxxxx.xxx : Set xxxx.xxx as the value of cylinder radius.
When set with this method, the cylinder interpolation axis to be determined by the
currently using spindle, and the current spindle must be converted into servo axis for
performing cylinder interpolation.
Ex: First Spindle (C-axis) to be switched over to servo spindle mode for performing
cylinder interpolation.
……
N01 M50 … First spindle switched into servo mode
N10 G01 C0. … Positioning
N20 G18 Z0 C0 … Select Z-C plane
N30 G16 H20. … Cylinder interpolation enable, C-axis is
cylinder interpolation axis; cylinder radius
20mm.
N40 G42 Z10.F1.0 … Interpolate Tool Tip Radius Offset
N50 G01 Z10.C30. … Linear Interpolation
N60 G03 Z40.C60.R30. … Arc Interpolation
N70 G01 Z60.C90. … Linear Interpolation
N80 G40 Z90. … Tool Tip Radius Offset disable
3 - 17
HUST CNC H6D-T Manual
Note
1. If xxxx.xxx 0, cylinder interpolation function is enabled.
If xxxx.xxx=0, cylinder interpolation function is disabled.
2. Specifies G-code selection plane; for this plane, the rotation axis is the
specified linear axis.
3. EX.: If the rotation axis is parallel to an X-axis, G17 must specify an X-Y
plane which is defined by the rotation axis and Y-axis, or a plane that is
parallel to the Y-axis.
4. Feed speed specified in cylinder interpolation is the speed upon the spread
surface of the cylinder.
5. In cylinder interpolation mode, arc radius in G02/G03 can only be specified
with R parameter instead of I, J, or K.
EX:Cylinder interpolation mode (Cylinder interpolation in Z-axis and C-axis)
G18 Z____ C____
G02 03 Z____ C____ R____
6. Tool-tip compensation is possible in cylinder interpolation mode. In order to
carry out tool compensation in cylinder interpolation, any other in-progress
tool compensation must be disabled before entering cylinder interpolation,
then start and end tool compensation in cylinder interpolation mode.
7. If cylinder interpolation is started when a tool-tip compensation is in
application, an arc interpolation cannot be accomplished correctly in cylinder
interpolation.
8. In cylinder interpolation, the movement of a rotating axis activated by an
angular command is transformed as a distance in a linear axis for carrying out
linear interpolation or arc interpolation with another axis. After interpolation,
this distance is transformed back to an angle. For this transformation, input of
displacement is the minimum incremental unit. When the cylinder has a small
radius, the actual displacement is not equal to the specified displacement;
however this error is not accumulative.
9. Cylinder interpolation function ends when a reset is activated.
10. A cylinder interpolation axis must be set as a rotation axis, and only one
rotation axis shall be set.
3 - 18
3 G/M Codes
Program Example:
3 - 19
HUST CNC H6D-T Manual
3.
10 Plane setup,G17-G19
This command is for selecting a control plan or the plane where an arc is located.
Program Format:
If no axis direction is specified after a G17, G18, or G19 command, the arc plane
is the default plane as shown below:
Table 3-4
Command Horizontal Axis Vertical Axis
G17 (IJ Plane selection) X Y
G18 (KI Plane selection) Z X
G19 (JK Plane selection) Y Z
3 - 20
3 G/M Codes
G17, G18, G19 command may alter any of the horizontal axes or vertical axes.
Table 3-6
Command Horizontal Axis Vertical Axis
G18 Z0 Y0 Z Y
G18 Z0 A0 Z A
G18 Z0 B0 Z B
G18 Z0 C0 Z C
G18 Y0 X0 Y X
G18 A0 X0 A X
G18 B0 X0 B X
G18 C0 X0 C X
G18 Z0 X0 (or G18) Z X
3 - 21
HUST CNC H6D-T Manual
Table 3-7
Command Horizontal Axis Vertical Axis
G19 Y0 X0 Y X
G19 Y0 A0 Y A
G19 Y0 B0 Y B
G19 Y0 C0 Y C
G19 X0 Z0 X Z
G19 A0 Z0 A Z
G19 B0 Z0 B Z
G19 C0 Z0 C Z
G19 Y0 Z0 (or G19) Y Z
Note:
1. In a plane layout command, there is no fixed sequence for the horizontal and
vertical axes. EX.: G17 X0 Z0 = G17 Z0 X0
2. In G17, always use the IJ value to indicate the radial increment from the start point
of an arc.
In G18, always use the KI value to indicate the radial increment from the start
point of an arc.
In G19, always use the JK value to indicate the radial increment from the start
point of an arc.
EX.:
G17 X0 Z0 (Select X/Z plane)
G02 X10. Z10. J10. (J stands for the radial increment of the arc from the
starting point of the vertical axis (Z-axis) (to the
center of the arc).
3 - 22
3 G/M Codes
3.
11 AutomaticReference Position Return,G28
Via a G28 command, the specified axis is returned to the first reference point at the high
feed-speed of the respective axis.
Format:
G28
or G28 X(U)_____ Z(W)_____
or G28 X(U)_____
or G28 Z(W)_____
Example:
Note that prior to executing the G28 command, the tool compensation command must
be canceled.
Ex:
G00 X1. Z1 (From start-point to the intermediate point)
T100 Tool compensation is canceled (it cannot co-exist with
G28 in the same block.
G28 Tool returns to the 1st reference point on the X / Z-axis.
3 - 23
HUST CNC H6D-T Manual
S
Middle point
(X1,Z1)
S
machine origin
Fig. 3-15
Details:
1. The first reference point coordinates are set based on the X, Z, and settings in MCM
parameter G28.
2. The X, Z values in this format are not used. They only indicate which axis is to return to
the reference point. Therefore, regardless of whether G28 is an independent block or
contains X, Z commands simultaneously, the tools return to the reference point based on
the X, Z settings of the MCM parameter.
3. Prior to executing G28, tool offset must be disabled.
3.
12 Return From Reference Position,G29
After returning to the reference point by executing G28, use this (G29) command to
return to the previous target point prior to G28.
Format:
G28
or G28 X(U)_____ Z(W)_____
or G28 X(U)_____
or G28 Z(W)_____
Example:
3 - 24
3 G/M Codes
As the example above, the N3 block may have the following combinations:
N4 G29 X _____ Z _____ Return to (X1. Z1.)
N4 G29 X _____ Tool returns to X1.
N4 G29 Z _____ Tool returns to Z1.
Details:
1. The X/Z Value in the program format is insignificant; however, a value must be
given for entering into the program, it merely tells the machine to which axis the
reference point is to be returned.
2. After executing G28, use G29 command to return the tool to its previous position
before G28 is executed.
3. The G29 command cannot be used alone. A G28 or G30 must be given prior to
G29.
3.
13 2nd Reference Position Return,G30
Via G30 command, the specified axis is returned to the second reference point at high
feed-speed of the respective axis.
Format:
G30
or G30 X(U)_____ Z(W)_____
or G30 X(U)_____
or G30 Z(W)_____
3 - 25
HUST CNC H6D-T Manual
Execution of this command is the same as G28, but the reference point is set in MCM
parameter G30. (See Fig 3-15)
3.
14 Thread Cutting,G32
Format:
W
X Z
U/2
S2 S1 X/2
Z
20 mm
3 - 26
3 G/M Codes
Details:
1. Both fine cut and rough cut of the thread cutting proceed along the same path. The
cutting action on the Z-axis does not start until the Grid signal is received from the
spindle. All repeated cutting actions start at the same point.
2. Due to delay of the server system, imperfections could result at both ends of the
thread (S1 and S2). To avoid this problem, the thread length specified in the program
should be slightly longer than the actual length of the processed thread. S1 and S2 are
leads. The length of S1 and S2 is estimated using the formula below.
S1 = (S * F/1800) * (-1 - Ln A)
S2 = (S * F/1800)
S1, S2 : Imperfect thread length, mm
S : Spindle speed, rpm
F : Thread pitch, mm
A : Acceptable thread error
Table 3-8
A -1 - Ln A
0.005 4.298
0.010 3.605
0.015 3.200
0.020 2.912
0.025 2.689
Example :
3 - 27
HUST CNC H6D-T Manual
X
17/2 mm
3 3
Z
20 mm
3 - 28
3 G/M Codes
Specifications:
Thread pitch F=2 mm
Cutting lead starts S1 = 2 mm,
Cutting lead ends S2 = 2 mm,
Thread depth = 1.4 mm (diameter) formed by two cutting
actions.
X
2
40 33 2 24 Z
30 40
Note:Tapered thread
a. For the angle between taper plane and Z-axis less than 45°, pitch shall be set
along the Z-axis.
b. For the angle between taper plane and Z-axis more than 45°, pitch shall be
set along the X-axis.
c. For the angle between taper plane and Z-axis equal to 45°, pitch can be set
along either the X-axis or Z-axis.
3 - 29
HUST CNC H6D-T Manual
N120 M02
G00 Z0.
M03 S3000 Quick positioning to start point
G32 Z50.F1. Thread of first stage
G32 Z100.F2. Thread of second stage
G32 Z150.F3. Thread of third stage
M05
M30
If set as above, the thread cutting process will have no stop in the Z-axis during thread
cutting, therefore the cut threads are smooth and continuous.
3.
15 G33TappingCuttingCanned Cycle
Command Format:
3 - 30
3 G/M Codes
6. Spindle stops
N10 M3 S800
N20 G33 Z100. F1.0
N30…
Note 1: Ensure the spindle rotation is in the threading direction before starting thread
cutting. Spindle will stop rotation when the thread cutting is completed. For the
subsequent process, start the spindle as required.
Note 2: Since this command is a rigid thread cutting, when a spindle stop command is
enabled, the spindle decelerates for a certain period of time before reaching the
full stop, and Z-axis will still move along with spindle rotation before spindle
fully stops. Therefore for the actual process, the end of thread cutting will be a
little bit deeper than the actual requirement.
Note 3: Other precautions are the same as that of G32 Thread Cutting.
3.
16 G34Variable Lead Thread Cutting
Command Format:
3 - 31
HUST CNC H6D-T Manual
Fig.3-20
Details:
1. For single stage thread cutting, fine cutting and rough cutting are along the same path,
therefore when starting the thread cutting, it waits for a GRID signal to be detected
from the spindle position before starting Z-axis for cutting action (L parameter left
blank or set as 0). Each repeated cutting starts from this fixed point.
2. For multi-stage thread cutting, based on technical requirements, in general the
subsequent stages starting from the second stage do not need to detect the GRID
signal mainly for connecting smoothly with the previous stage. (See Fig.3-20)
3. In general incomplete end threads (S1 and S2) occur due to time lag in the servo
system, therefore the specified thread length shall be slightly longer than the
processed thread length, S1 and S2 are called thread leads. A simple way to
calculate the length of incomplete threads S1 and S2 is shown as follows:
S1 = (S * F/1800) * (-1 - Ln A)
S2 = (S * F/1800)
3 - 32
3 G/M Codes
Table 3-9
A -1 - Ln A
0.005 4.298
0.010 3.605
0.015 3.200
0.020 2.912
0.025 2.689
X
17/2 mm
3 3
Z
20 mm
3 - 33
HUST CNC H6D-T Manual
2
40 33 2 24 Z
30 40
Tapered threads, for angle between taper plane and Z-axis less than 45°, pitch shall be
set along Z-axis, for angle between taper plane and Z-axis more than 45°, pitch shall be
set along X-axis.
As shown in Fig.3-21, the first 2 stages are variable-pitch threads with F=1.0mm,
3 - 34
3 G/M Codes
K=0.5mm; the transition from first stage to second stage is a smooth connection;
threads of the third stage have an equal pitch F=3.0mm, the transition from second stage
to third stage is a smooth connection.
The transition from 2nd stage to 3rd The transition from 1ST stage to 2nd
stage is a smooth connection. stage is a smooth connection.
Program Example 3
T03
M03 S1000
M08
G00 X0.0 Z0.0 ; Quick positioning to start point
G34 Z-30.0 F1.0 K0.5 ; Thread of first stage with variable pitch
G34 Z-50.0 F1.0 K0.5 ; Thread of second stage with variable pitch
G32 Z-60.0 F2.0 ; Thread of third stage with equal pitch
M09
M05
M30
If set as above, the thread cutting process will have no stop in Z-axis during thread
cutting, therefore the cut threads are smooth and continuous.
3 - 35
HUST CNC H6D-T Manual
3.
17 Canned Cycle Functions (For implication of programming)
The canned cycle function is a special G-code of command groups. It comprises canned
cycle cutting actions commonly used in machining processes. The command groups of
H6D-T Series are classified into single canned cycle and compound canned cycle
command groups. Both are handy and effective in programming and applications.
3.
17.
1 Single CuttingCanned Cycle,G90,G92,G94
This command group executes repeated cutting with a block. It should end with G01
after use; otherwise, the cutting cycle will repeat.
Format:
X W
Z
D A
4
3 1 U/2
C 2 B
X/2
Z
3 - 36
3 G/M Codes
Details:
In Fig. 3-22, the cutting paths 1 and 4 are fast positioned by G00. The cutting along the
paths 2 and 3 is executed at the feed-rate F. Whenever the start button (CYCST) is
pressed in a block, the tool moves along the paths 1~2~3~4 to execute a cutting cycle.
Format:
X W
Z
D 4 A
3 U/2
1
C R
2 B X/2
Z
3 - 37
HUST CNC H6D-T Manual
Details:
When using incremental coordinates, the signs (+/-) of U and W are determined by the
tool's direction of movement. If the direction is positive, the increment of U and W is
(+), and vice versa. R value is as Fig. 3-26.
1. U-,W-,R- 2. U+,W-,R+
W
R
U/2
U/2
R
X W
Z
3. U-,W-,R+ 4. U+,W-,R-
R
U/2
U/2
And |
R|< |U/2| And |
R|< |U/2|
The advantage of the G92 block is that it functions as four G32 blocks.
Format:
G92 X(U) ___ Z(W) ___ I___ K___ L___ Q ___ F ___ E ___
3 - 38
3 G/M Codes
cutting at 45°).
K : The axial distance on Z-axis from the start point to the end point for
the end of thread cutting.
L : Multiple-thread setting. Range:1~9. For G92 only.
”L” is a modular value and valid all the time once it is set. If L and
"Q" are set at the same time, the L-value will be regarded as invalid.
Q : Offset setting of the thread initial angle. Range: 0~359. For G92 only.
X W
Z
D
4 A
3 U/2
1
C 2 B
X/2
Z
Details:
(1) The range of the thread lead and the speed limit of the spindle are same as G32
(thread cutting).
(2) Whenever the start button (CYCST) is pressed in a block, the tool moves along
the paths 1~2~3~4 to execute a cutting cycle.
(3) Subject to the restrictions of G32.
(4) Where a feed hold command is given during the cutting, the linear thread cutting
canned cycle does not stop until the cutting on path 3 is complete.
Format:
G92 X(U) _____ Z(W) _____ R _____ L___ Q ___ F _____ E_____
3 - 39
HUST CNC H6D-T Manual
X W
Z
D 4 A
3 U/2
1
C
2 B R X/2
Z
Format:
X
Z W
B
A
2 4 U/2
C 3
D
X/2 Z
In Fig. 3-27, the cutting paths 1 and 4 are fast positioned by G00. The cutting along
paths 2 and 3 is executed at the feed-rate F. Whenever the start button (CYCST) is
pressed in a block, the tool moves along the paths 1~2~3~4 to execute a cutting cycle.
3 - 40
3 G/M Codes
Format:
X
Z W
B 1 A
2 4 U/2
C 3
D
R X/2 Z
When using incremental coordinates, the signs (+/-) of U and W are determined by the
tool's moving directions. If the moving direction is positive, the increment of U and W
is (+), and vice versa. R value is as Fig. 3-31.
X
66
8/2
16/2
24/2 26/2
Note that G90, G94, G92 are modal codes and all the values for X(U), Z(W) and R
remain valid unless they are redefined or another G-command is given.
As shown in Fig. 3-32, if the length of movement on Z-axis is fixed, the canned cycle is
repeated merely by executing the X-axis positioning command.
3 - 41
HUST CNC H6D-T Manual
1.U-,W-,R- 2.U+,W-,R-
R W
1
3
2 4 U/2
2 4 U/2
3 X
1
R W
Z
3.U-,W-,R+ 4.U+,W-,R+
W
R
3
1
2 2 4 U/2
4 U/2
1
3
R
W
3.
17.
2 Compound Canned Cycle Functions,G70~G76
Compound canned cycles simplifies the operation of CNC commands, once the data of
a work-piece is set for fine cut, the CNC automatically determines the tool path for the
rough cut. Compound canned cycles are also used for thread cutting. This function is
particularly suited for column cutting.
3 - 42
3 G/M Codes
1. FinishingCycle,G70
After a work-piece undergoes rough cut with G71, G72 or G73, G70 is used for fine cut
of the work-piece to ensure its precision.
Format:
P(ns) : The number of the first block for a fine cut cycle.
Q(nf) : The number of the last block for a fine cut cycle.
Details:
(1) The F, S, and T functions of G71, G72, G73 and previous blocks are applicable to
G70. wherer F, S, or T is changed in the blocked from P(ns) to Q(nf), the changed
values praveil.
(2) When G70 is executed, the tool returns to the start point and reads the next block.
Format:
N(ns)
N(nf)
G00 X__ Z__ ;Tool move back
Txxxx ;Change tool (fine cutting)
G00 X__ Z__ ;Move to the start position of Canned Cycle
G70 P(ns) Q(nf) ;Fine cutting
3 - 43
HUST CNC H6D-T Manual
Parameters:
In Fig. 3-33, the fine cut path is A~A1~B. A~C is the distance reserved for fine cut tool
retraction. The cutting depth is U( d). The amount of the material to be removed for
fine cutting is ( u/2) and ( w). The amount of retraction after each cut is R(e). The
path of the final rough cut is parallel to the path of the fine cut. The definition of
command groups in the program format is described below:
C
(G00) A d
B
e
(F)
G00-fastfeeding at
F rate
U/2
A1
W
3 - 44
3 G/M Codes
Details:
B A A B
U+,W + U+,W -
Z A A
A A
U-W + U-W -
B A A B
3 - 45
HUST CNC H6D-T Manual
G70, G71 st
art/end point
Safe pointto
X change tool (100/2,140)
1 (retraction)
7 (cutting depth)
100 75 50 25 2 Z
Reserved for fine cut
45 15 15 15 20 20 10
G28 W0.
T0202
M3 S3000
G00 X100.000
Z140.000
G71 U7.000 R1.000
G71 P100 Q200 U4.000 W2.000 F2.00
N100 G01 X25.0 F1.50
W-10.000
X50.000 W-20.000
W-20.000
X75.000 W-15.000
W-15.000
N200 X100.000 W-15.000
G00 X110.
Z150.
T0303
G00 X100.
Z140.
G70 P100 Q200
3 - 46
3 G/M Codes
M05 S0
M30
Calls a forming program and calculates tool path automatically while executing a
transversed rough cutting.
Format:
N(ns)
N(nf)
W
d
C
A1
A
U/2 (F)
G00-fastfeeding
atF rate
(G00)
e
G70 fine cut(program)path
B
Fig. 3-36 Cutting Path of G72 Compound Canned Cycle
3 - 47
HUST CNC H6D-T Manual
As shown in Fig. 3-36, all functions of G72 are same as G71, except that the cycle path is
parallel to the X-axis.
Details:
B B
U-,W+ U-,W-
A1 A A A1
X
A1 A A A1
Z
U+,W+ U+,W-
B B
Fig. 3-37 Cutting Path of G72 Compound Canned cycle
3 - 48
3 G/M Codes
X
(108/2,130)
G72, G70 start/end point
G70 fine cutpath
Tool change startpoint
100 75 50 25 2 Z
Reserved for fine cut
45 15 15 15 20 20
G28 W0.
T0202
M3 S2000
G00 X108.000 Z130.000
G72 W10.000 R1.000
G72 P100 Q200 U4.0 W2.0 F3.00
N100 G00 Z45.000
G01 X75.000 W15.000 F1.50
W15.000
X50.000 W15.000
W20.000
N200 X25.000 W20.000
G00 X110.
Z140.
T0303
G00 X108.
Z130.
G70 P100 Q200
M05 S0
M30
3 - 49
HUST CNC H6D-T Manual
To save machining time, G73 is used to cut a work-piece that has been machined in a
rough cut, forging or casting process and formed with a shape similar to the
finished-product.
Format:
N(ns)
N(nf)
Parameters:
3 - 50
3 G/M Codes
k+ w
C
A~ C retraction distance
1,2,3 feed sequence
1 i+ u/2
2
3
A
u/2
A1
Details:
3 - 51
HUST CNC H6D-T Manual
X (120/2,150)
4.67=14/3
G70 fine cutpath
Cutting depth
2
100 2
75 50 25 Z
Reserved for fine cut
45 15 15 15 20 20 20
G28 W0.
T0202
M3 S3000
G00 X120.000 Z150.000
G73 U14.000 W14.000 R3
G73 P100 Q200 U4.000 W2.000 F2.00
N100 G00 X25.000 W-20.000
G01 X50.000 W-20.000 F1.5
W-20.000
X75.000 W-15.000
W-15.000
N200 G01 X100.000 W-15.000
G00 X130.
Z160.
T0303
G00 X120.
Z150.
G70 P100 Q200
M5 S0
M30
3 - 52
3 G/M Codes
G74 command automatically performs a fixed loop at the end of the workpiece via
commands such as coordingate of groove end, cutting depth, tool retract depth etc.
Format:
G74 R(e)___
G74 X(U)___ Z(W)___ P i___ Q k___ R d___ F___
3 - 53
HUST CNC H6D-T Manual
k k
D
e A Tool
C
Z W
G0 X0. Z80. Move tool quickly to the position X0. Z80. is relative to the
work origin.
M03 S2000 Positive rotation of spindle, speed 2000(rpm).
G74 R3. R3. stands for a tool retraction of 3000( m) after each drilling
depth of 10000( m).
G74 Z30.K10.R3.F0.2
Drilling canned cycle: ”Z30” indicates that the drilling cycle
ends at the absolute coordinate Z30. K10 indicates 10,000 ( m)
per drilling. R3 indicates 3000 ( m) per retraction.
M05 SO Spindle stops.
M02 Program ends.
3 - 54
3 G/M Codes
10 10
TOOL Z
A
30 3
80
Fig. 3-42
G0 X0. Z80. Move tool quickly to the position X0. Z80. is relative to the
work origin.
M03 S2000 Positive rotation of spindle, speed 2000(rpm).
G74 R3. R3. stands for a tool retraction of 3000( m) after each drilling
depth of 10000( m)
G74 X2.Z30.P400 Q10000 R1. F0.5
Grooving canned cycle: “Z30.” Indicates the drilling cycle ends
at absolute coordinate 30. in the Z-direction; “X2.” Indicates
the end coordinates of cycling movements in the X-direction
are: 2.; “P400” indicates a 200 ( m) movement per cycle in the
X-direction; Q10000 indicates 10000( m) per drilling; “R1.”
Indicates tool retraction of 500( m) in the X-direction when the
cutting reaches end position. (Diameter specification)
M05 SO Spindle stops.
M02 Program ends.
3 - 55
HUST CNC H6D-T Manual
The G75 function is the same as G74 except that the positioning direction of G75 is on
the X-axis.
Format:
G75 R(e)___
G75 X(U) ___ Z(W) ___P i ___ Q k ___ R d ___F
Parameters:
R(e) Amount the tool move backward when after X cutting I. (Diameter
specification)
X Absolute positioning command on X-axis
Z Absolute positioning command on Z-axis
U Incremental positioning command on X-axis
W Incremental coordinates on Z-axis
P i Amount the each movement of X canned cycle. (Diameter specification)
Q k Z cutting of the each segment Integer m specification
R d Amount the tool move backward when Z end of cutting Integer m
specification
F Cutting speed feed-rate
Details:
3 - 56
3 G/M Codes
k/2
U/2
k/2
C
X/2
Z
3 - 57
HUST CNC H6D-T Manual
G76 specifies the start point and end point of a thread cutting. This command can be
entered at any angle. A fixed number of loops are cut for every cycle with the same
cross-section. Thread end point coordinate and specification of slanting height are
considered. It is also capable of performing thread cutting in various directions.
Format:
X E (G00)
A
(G00)
U/2 (G00)
(F)
D
B
i r d
X/2 K
Z W C
Z
3 - 58
3 G/M Codes
Parameters:
Details:(Fig3-45 Fig3-46 )
(1) What must be noted is that length of the path DE (U/2) must be greater than the
length of the chamfer.
3 - 59
HUST CNC H6D-T Manual
(2) The fine cut times m,chamfering settings r,tool-tip angle a, minimum cutting
amount Q ( d min) and reserved thread depth R(d) are modal codes. They remain
valid until another value is defined.
(3) The feed-rate between C and D is defined by F and fast feeding is applied to other
paths. The (+)(-) values of the increments in Fig. 3-39 are as follows:
TOOL
dn
k
(4) The thread height K is acquired from the thread pitch and the tool nose angle. The
formula is:
30 30 Thread depth, k
Fig. 3-46
3 - 60
3 G/M Codes
The first cutting depth (cutting amount) is d,the nth cutting depth is d n, the
cutting amount will decrease progressively every time. Note that n should not exceed 30.
Otherwise, an alarm will be generated. In this case, please use the normal thread cutting.
Example
1.732
20 16.536 Z
2
10 50
Fig. 3-47 G76 Programming Example
Notes on thread cutting are identical to G32 and G92. The chamfering settings are also
applicable to G92 thread cutting canned cycle.
3 - 61
HUST CNC H6D-T Manual
In G70, G71, G72, or G73, no M98 (call subprograms) and M99 (quit
subprograms) are applicable to blocks defined by P and Q.
When executing G70~G73, the serial numbers defined by P and Q should not be
the same.
In G70, G71, G72, and G73, chamfering and R angle should not be used to
terminate the last positioning command used for fine cut shaping blocks defined
by P and Q.
3.
18 G50Coordinate system & Spindle clamp speed setting
Format:
G50 S____
Format:
Example
3 - 62
3 G/M Codes
Description:
(1) Please give “G10 P500 A1 B0”, and “G10 P500 A3 B0” at the beginning of
program.
(2) The “L suffix” of an M98 command indicates number of offsets to be
performed. (See description of M98 command).
3.
19 Constant Surface Speed Control ON,G96
Format:
G96 S____
The surface cutting speed refers to the relative velocity between the tool-tip and cutting
point (on the surface) of the rotating work-piece. A tool has its advised surface cutting
speed range for optimizing the cutting result. G96 is used to control the surface cutting
speed. The relationship between the surface cutting speed, work-piece diameter and
spindle rotation speed is expressed by:
V DN
When the surface cutting speed is constant and the tool cuts the surface inwards, D will
become lesser and N will become greater. Hence the max. rotation speed must be
limited using G50 S__. Once this limit is reached, the speed will not increase any more.
3 - 63
HUST CNC H6D-T Manual
Ex: N10 G50 S2000 Max. rotation speed of the spindle is 2000 rpm.
N20 G96 S200 The constant surface cutting speed is 200 m/min.
3.
20 Constant Surface Speed Control OFF,G97
Format:
G97 S____
This function maintains the spindle speed defined by S. It cancels the constant surface
cutting speed at the same time.
3.
21 Feed-rate Setting,G98,G99
The feed-rate F in H6D-T turner series is defined by G98 and G99. G99 is the default
value. The conversion formula is:
Fm = Fr * S
3.
22 Inch/MetricMeasurement Mode ,G20,G21
Format:
3 - 64
3 G/M Codes
3.
23 Deep Hole DrillingCycle (Z axis)G83,
G80
Format:
Parameters:
Pause time
3.
24 TappingCycle G84,
G80
3 - 65
HUST CNC H6D-T Manual
Format:
R
S
Pause time
1. Parameters:
3 - 66
3 G/M Codes
G84 and G80 are used in pairs. If G80 is missing, program will report an Err18.
3 - 67
HUST CNC H6D-T Manual
3.
25 AuxiliaryFunctions,M-code,S-code
The auxiliary function M-code is comprised of the letter M and 2 digits attached behind
(M-codes for general), different codes represents different functions as shown below:
Currently, H6D-T Series provides the following M-codes:
Table 3-10
M-CODE Function
M00 Program Suspension.
M01 Selective stop
M02 Program End.
M03 Spindle rotates in normal direction
M04 Spindle rotates in reversed direction
M05 Spindle stops
M08 Coolant ON.
M09 Coolant OFF.
M10 Spindle chuck tightened
M11 Spindle chuck loosened
M12 Tailstock forward
M13 Tailstock backward
M15 Count plus 1
M16 Count clear (to zero)
M30 Program end
M33 Workpiece Collector Protrude
M34 Workpiece Collector Extract
M35 Tailstock Chuck Clamp
M36 Tailstock Chuck Release
M40 Chip Remove CW
M41 Chip Remove CCW
M42 Chip Remove Stop
M43 Feeder Start
M45 Select Skip Start
M46 Select Skip Close
M47 The Spindle should rotate after releasing the Chuck
M48 When releasing the Chuck, prohibit the spindle rotation.
3 - 68
3 G/M Codes
M-CODE Function
.
M50 Set Spindle 1 to Servo Axis Mode.
M51 Set Spindle 1 back to Spindle Mode.
M55 Start in-process Tool offset change instant avail.
M60 Set Spindle 2 to Servo Axis Mode.
M61 Set Spindle 2 back to Spindle Mode.
M63 Spindle 2 CW
M64 Spindle 2 CCW
M65 Spindle 2 Stop
M70 Set Spindle 3 to Servo Axis Mode.
M71 Set Spindle 3 back to Spindle Mode.
M73 Spindle 3 CW
M74 Spindle 3 CCW
M75 Spindle 3 Stop
M80 Enable axial direction without homing
M81 Disable axial direction without homing
M84 Spindle brake hold
M85 Spindle brake release
M98 Call subprogram
M99 Program cycle
M30 Program end
M300 Enable round-angle connection between blocks
M301 Disable round-angle connection between blocks
M362 Switch to Spindle 1
M364 Switch to Spindle 2
M365 Switch to Spindle 3
3 - 69
HUST CNC H6D-T Manual
The auxiliary function code S-code is for spindle rpm control, maximum setting range:
S999999.
3.
26 Subprogram
Where there are certain fixed programs or command groups in a main program that
demand repeated execution, these commands could be saved in memory as subprograms,
so that the main program could be designed with a simplified structure. Subprograms
can be called out one after another in auto mode.
The structure of the subprogram is the same as the main program except that the
subprogram ends with an M99 command.
If a subprogram is not called by the main program but executed directly by pressing
“CYCST”, the program loops.
3 - 70
3 G/M Codes
Format:
P : Subprogram number
L : Execution times of the subprogram. If not defined, the subprogram is to
be executed only once.
Stepwise Call: the main program calls the first subprogram, and the first subprogram
calls a second sub-prgrams. The H6D-T Series controller provides a maximum of 8
levels stepwise calls: take for an example of 5 layers
The M98 and M99 blocks should not contain any positioning commands, such as X…,
Z… .
3 - 71
HUST CNC H6D-T Manual
3.
27 Tool Radius Compensation
3.
27.
1 Total Offset Compensation Settingand Cancellation
Format:
Table 3-11
Compensation Set Compensation Cancel
Without Turret T T00
With Turret T T 00
When a compensation number is selected, the control unit will simultaneously select the
X-axis and Z-axis compensation values for tool length and wear compensation. These
values are be summed up for compensation of the tool path.
Any small differences between the cut work-piece and specifications found during the
cutting test after the tool is calibrated, can be remedied by wear compensation (referring
to the Tool Wear Compensation page). If the difference is very small, positive values
should be used. If the difference is large, negative values should be used.
Com p. Starts
N30
N20
N10
Path of program ref. pointbefore comp.
3 - 72
3 G/M Codes
In this example, T0202(T202) indicates that the second tool and the second set of
compensation data are selected. T0200 (or T200) indicates that the tool length
compensation is cancelled.
Value of compensation
1. Value of compensation is normally set by the last digit or the last 2 digits of a
T-code. Once a T-code is specified, it remains effective until a subsequent
specification is made. In addition to tool-tip compensation, a T-code can also be
used for specifying tool-length compensation.
2. A change of compensation setting is usually made in compensation-disabled mode
when selecting another tool. In the event a change is made during a compensation
mode, the end vector of the program will be calculated according to the specified
compensation value.
Notes:
1. After powering the CNC, compensation is automatically cancelled and the
compensation number is reset to “0” or “00”.
2. Compensation must be cancelled to execute "Auto-CYCST".
3. The length compensation command "T-code" can form an independent block in
the program without positioning definition. CNC executes an internal
computation for compensation, but the tool does not execute any positioning
movement.
3.
27.
2 Tool-tip Radius and Direction of Fictitious Tool-tip,G41,G42,G40
A tool tip is normally in an arc shape, therefore when a program is run, a tool tip is
assumed to be the front end of the tool. In this sense, shape of an actual cutting will be
different from the programmed cutting due to the arc-shaped tool tip. The Tool-tip
Radius compensation is a function designed for automatically calculating an error for
compensation via setting a tool-tip radius.
3 - 73
HUST CNC H6D-T Manual
Actual machining
Fig 3-52
Program Format:
Before using G41 and G42, inform the NC unit which tool-no. is to be used. The
application is totally dependent to the tool path and the relative position of the tool. As
shown in Fig. 3-53, looking forward along the tool path, use G42 if the tool tip radius is
on the right side of the tool path (radius right side offset compensation); use G41 if the
tool tip radius is on the left side of the tool path (radius left side offset compensation)
G42 (rightside)
Direction of tool path
X
W ork
piece
Z
Direction of tool path
G41 (leftside)
3 - 74
3 G/M Codes
When executing tool-tip radius compensation, the radius and arc must be accurate;
otherwise, the cutting result will not be precise. Manufacturers of disposable tools
always provide accurate tool-tip radius data. The radius data are to be entered in the
"R" field on the Tool Length Compensation page (unit: mm).
Besides the tool-tip radius, the direction of fictitious tool-tips must be acquired (refer to the
position of P in Fig. 3-54). The direction is defined by integers 0~9 (Fig. 3-44). In the system
with tools on the top (rear) holder, the direction 3 is for outer diameter cutting, while the
direction 2 is for inner diameter cutting. The data of fictitious tool-tip direction are to be
entered in the "T" field on the Tool Length page.
Once these two data are acquired, the control unit compensates for the tool-tip properly
by calculating "R" and "T" values internally after giving the tool-tip radius
compensation command.
Direction-3 Direction-4
Or simplified asbelow
2 6 1
Direction-5 Direction-6
7 0 9 5
Direction-7 Direction-8 3 8 4
X
3 - 75
HUST CNC H6D-T Manual
End Point
Programmed path or
Machining shape with no machining shape with tool
tool nose radiuscompensation nose radiuscompensat ion
Fig 3-55
End Point
Fig 3-56
When compensation is disabled and all the following conditions are met, tool-tip radius
compensation starts:
3 - 76
3 G/M Codes
Machining
program
Starting to pre-read
2 to 5 blocks ahead
Pre-read
buffer
Execution
block
Fig 3-57
Two types of tool-tip compensation can be determined by C251: C251= 1 for Type A,
C251=0 for Type B.
Note: The often seen terms, Inside and Outside, are defined as follows:
Inside: Two movement program-sections having an intersecting angle
0
larger than or equal to180 .
Outside: Two movement program-sections having an intersecting angle within
0
0~ 180 .
Inside Outside
Fig 3-58
3 - 77
HUST CNC H6D-T Manual
With the G41.G42 command alone, the tool will not perform a movement according to
tool-tip radius compensation. A tool-tip radius compensation does not start on G00; it
only starts on a G01, G02, or G03 command.
When a G41.G42 command exists in the same block with a move command, the move
command is processed as a G01 command.
Program path
Program path
Intersecting
point
Program path
Program path
3 - 78
3 G/M Codes
~
Program path
N1 G42
N2 G00 X_ Z_
N3 G03 I_ K_ F_ Tool-tip radius center path
Fig 3-60
~
Program path
N1 G42
N2 G01 X_ Z_
Tool-tip radius center path
N3 G03 I_ K_ F_
~
Fig 3-61
2. When chamfer inside G41.G42 exists in the same block with a move command:
Program path
Intersection
point
S
Fig 3-62
3 - 79
HUST CNC H6D-T Manual
Program path
Program path
Program path
Fig 3-63
3 - 80
3 G/M Codes
4. Chamfer outside (obtuse angle) G41.G42 exists in the same block with a move
command:
Fig 3-64
3 - 81
HUST CNC H6D-T Manual
Type A Type B
Fig 3-65
3 - 82
3 G/M Codes
6. Chamfer outside (acute angle) G41.G42 exists in the same block with a move
command:
Type A Type B
Fig 3-66
3 - 83
HUST CNC H6D-T Manual
Arc center
Program path
Program path
Intersection
point Tool-tip radius
Tool-tip radius center path
center path
Arc center
Tool-tip radius
center path Arc center
Program path
Arc center Arc center Intersection
point Tool-tip radius center path
Fig 3-67
3 - 84
3 G/M Codes
Type A Type B
Tool-tip radius
center path
Tool-tip radius center path
Type A / B
Type A / B
Arc center
Program path
Program path
Tool-tip radius
Tool-tip radius center path
center path
Type A / B Arc center
Type A / B
Arc center
Program path
Program path
Arc center
Tool-tip radius
center path
Tool-tip radius
center path
Arc center
Type A / B
Arc center
3 - 85
HUST CNC H6D-T Manual
Line Line
Tool-tip radius
center path Intersection
point
Program path
Line Arc
Program path
3 - 86
3 G/M Codes
When tool-tip radius compensation is enabled and all the following conditions are met,
the tool-tip radius compensation can be disabled:
After reading-in the disable command of compensation, the program switches into
(compensation) disabled mode which comprises the following 3 conditions:
A tool-tip radius compensation ends, G40 alone disables tool compensation, and a
G00 precedes G40, tool compensation is disabled in the block of a G00 move
command.
A tool-tip radius compensation ends, G40 alone disables tool compensation, and a
G01/G02/G03 precedes G40, tool stops at the center of tool-tip radius vertically,
tool compensation remains enabled until the first move command after G40. If no
move command follows G40, tool compensation remains enabled on the
encounter of an end command M02/M30; the compensation is disabled when the
program is re-started, without an operation for disabling tool compensation.
A tool-tip radius compensation ends, if G40 command is in the same command
line with a move command, tool compensation is disabled in the G40 command
block.
3 - 87
HUST CNC H6D-T Manual
Program path
Program path
Program path
Program path
Fig 3-70
3 - 88
3 G/M Codes
Program path
R= Tool-tip radius
Tool-tip radius center path
Tool-tip radius
center path
E E
Arc center Program path
Fig 3-71
3 - 89
HUST CNC H6D-T Manual
Type A Type B
Program path
Program path
Fig 3-72
3 - 90
3 G/M Codes
4. Chamfer outside (obtuse angle) G40 and move command in the same block:
Type A Type B
Line Line Line Line
Tool-tip radius center path Tool-tip radius center path
Program path
E E
E E
Arc center Program path Arc center Program path
Fig 3-73
3 - 91
HUST CNC H6D-T Manual
Type A Type B
Tool-tip radius center path Tool-tip radius center path
Fig 3-74
3 - 92
3 G/M Codes
6. Chamfer outside (acute angle) G40 and move command in the same block:
Type A Type B
E E
Arc Line Tool-tip radius center path Arc Line Tool-tip radius center path
Arc center Arc center
E E
Fig 3-75
3.
27.
3 Interference Check
When cutting a stepwise work-piece with a step value smaller than the tool radius, an
over-cutting alarm is generated as shown in Figure 3-51.
An interference check is a check against such conditions, for taking responding actions
according to the parameter.
Interference handling comprises the following 3 functions that can be selected by
parameter setting.
3 - 93
HUST CNC H6D-T Manual
Details (Ex.
)
Avoidance path
Tool diameter
Cutting with N2
Cutting with N2
Fig 3-77
1. Interference check alarm: An alarm occurs before executing N1, process stops.
2. Interference avoidance function: N1 and N3 calculate intersection point, for
altering the path to avoid interference.
3. Interference check disabled: continue cutting into N1 and N3 lines.
Interference handlingalarm
An interference alarm occurs when any of the following conditions take place:
3 - 94
3 G/M Codes
Issues alarm
and stop
Fig 3-78
Issues alarm
and stop
Fig 3-79
3 - 95
HUST CNC H6D-T Manual
Solid line:
The path after interference avoidance
Dashed line:
The path before interference avoidance
Fig 3-80
3.
27.
4 Notes on Tool Radius Compensation
2. Only G00 and G01 are applicable to blocks with tool-tip radius compensation. Arc
commands G02, G03 are not allowed
3. The move block before a tool-tip radius compensation command must be G00 or
G01. Arc commands G02, G03 are not allowed.
4. The tool radius compensation function is not available for MDI operation.
5. Tool-tip radius compensation is not allowed for G74, G75, or G76.
3 - 96
3 G/M Codes
6. Pre-read preventive commands (G65, L50) are not allowed during the tool-tip
radius compensation mode.
Tool number = 02, tool-tip direction = 3, tool-tip radius = 1.5 mm. The X-axis
coordinate is defined by the diameter.
11 S
9
10
7 Startpoint
8
R=25
6
5 4
3
Z
2 1
Fig. 3-81
3 - 97
HUST CNC H6D-T Manual
N160 M02
3.
28 Coordinate System
3.
28.
1 Local Coordinate System Setting,G52
Command Format:
Command Description:
If it is required to set another sub-coordinate system for the geometric shape of the
Workpiece being processed under previous Working Coordinate System (G54..G59),
then the said sub-coordinate system will be regarded as the Local Coordinate System.
Fig. 3-82
3 - 98
3 G/M Codes
Remark:
1. The Resume Signal will override the Local Coordinate System.
2. When switching G54_ _G59 Working Coordinate System, the Local Coordinate
System will be cancelled.
3.
28.
2 Basicmachine coordinate system ,G53
Command Format
X:X-axis moves to the designated Machine Coordinate X position with G00 speed.
Y:Y-axis moves to the designated Machine Coordinate Y position with G00 speed.
Z:Z-axis moves to the designated Machine Coordinate Z position with G00 speed.
A:A-axis moves to the designated Machine Coordinate A position with G00 speed.
B:B-axis moves to the designated Machine Coordinate B position with G00 speed.
C:C-axis moves to the designated Machine Coordinate C position with G00 speed.
X:X-axis moves to the designated Machine Coordinate X position with G01 speed of
previous node.
Y:Y-axis moves to the designated Machine Coordinate Y position with G01 speed of
previous node.
Z:Z-axis moves to the designated Machine Coordinate Z position with G01 speed of
previous node.
3 - 99
HUST CNC H6D-T Manual
A:A-axis moves to the designated Machine Coordinate A position with G01 speed of
previous node.
B:B-axis moves to the designated Machine Coordinate B position with G01 speed of
previous node.
C:C-axis moves to the designated Machine Coordinate C position with G01 speed of
previous node.
Description
The Home Position of the machine is the fixed home position being set by the
manufacturer when manufacturing the CNC machine and such Coordinate System
belongs to a fixed system. When designated by G53 Command and coordinate
command, the Tool will move to the position designated for the basic coordinate system
of the machine. Soon as the Tool returns to zero point (0, 0, 0) of the machine, it means
the Home Position of the machine’s coordinate system.
Notice
1. G53 Command will be valid for the designate node.
2. Before giving the G53 Command, the Tool offsetting must be cancelled (length,
wearing, tip radius offsetting).
3. The command shall be valid under absolute value programming status, and will not
avail under incremental value programming.
3.
28.
3 W ork Coordinate System,G54~G59
Six sets of different work origins can be set. The coordinate system comprising these
work origins is named Work Coordinate System. The major merit of a Work Coordinate
System is the simplified calculation of coordinates in the process program.
Details:
The program use these work coordinate origins via commands G54-G59. According to
process requirements and program design, the user may select any set, or 2 sets or even
6 sets for the process. The major merit of these Work Coordinate Systems is the
3 - 100
3 G/M Codes
Table 3-12
Work
Parameter X-axis setting Z-axis setting
coordinate
Item/Number value value
system
G54 1(X), 3(Z) -100.000 -70.000
G55 21(X), 23(Z) -30.000 -80.000
G56 41(X), 43(Z) -50.000 -80.000
G57 61(X), 63(Z) -50.000 -70.000
G58 81(X), 83(Z) -60.000 -40.000
G59 101(X), 103(Z) -40.000 -20.000
X
Mechanical
-90 -80 -70 -60 -50 -40 -30 -20 -10 Origin
Z
G54
-10
-20
G55
-30
G59
-40
G56 G57
-50
-60
G58
-70
3 - 101
HUST CNC H6D-T Manual
Mechanical
-90 -80 -70 -60 -50 -40 -30 -20 -10 Origin
X
R7 G54 -10
-20
G55 -30
G59 -40
-60
G58
-70
Program Example:
3 - 102
3 G/M Codes
travel +10.0
N9 G28 ... If MCM parameter of first reference point =0,
program returns to machine origin
N10 M2 ... Program end
3.
29 Corner chamfer (,
C_),round-angle chamfer (,
R_)functions:
In a command block for forming a corner from a continuous line of any arbitrary angle
or from an arc, “,
C_” or “,
R_” can be used at the end of block to perform a chamfer or a
round-angle chamfer. They are applicable to both absolute and incremental commands.
3.
29.
1 Chamfer (,C__)
3 - 103
HUST CNC H6D-T Manual
Program Example:
1. Line Arc
Unit (mm)
Fig. 3-85
2. Arc Arc
Hypothetical corner
intersection point
Unit (mm)
Fig. 3-86
3 - 104
3 G/M Codes
3.
29.
2 Round-angle chamfer (,R_)
Command Format:
Program Example:
Line Arc
Unit (mm)
Fig. 3-87
3 - 105
HUST CNC H6D-T Manual
Arc Arc
Unit (mm)
Fig. 3-88
3.
30 Liner angle function (,
A_)
Given a line angle and end coordinates of any axis, the end coordinates of another axis
can be calculated automatically.
Command Format:
G01 Z (X ),A_ ;
Fig. 3-89
3 - 106
3 G/M Codes
Program Example:
Fig. 3-90
Details:
Angle indication:
Starting from the first axis (horizontal axis) of the selected plane, the
counterclockwise direction (CCW) is positive, counterclockwise direction (CW) is
negative.
Range of angle:
360.00 360.00 , for an angle exceeding the 360.00 range, divide the angle
by 360.00 degrees and take the remainder. E.g., for an angle of 400.00 degrees,
the remainder 40.00 after divided by 360.00 will be the specified angle.
EX1
N1 G01 X___,A___,C___
N2 G03 X___ Z___ I___ J___
3 - 107
HUST CNC H6D-T Manual
Fig. 3-91
EX2
N1 G01 X___,A___,R___
N2 G03 X___ Z___ I___ J___
Fig. 3-92
3.
31 Geometryfunction command
If the intersection point of two line segments is hard to get, using inclination of the first
line and absolute coordinates of the end point of the second line and its inclination, the
end point of the first line can be determined automatically by the internal system, with
the move path controlled automatically.
Command Format:
3 - 108
3 G/M Codes
G01 X___Z___ A___ ; Specifies the absolute coordinate of the end of the
next block and the inclination.
Fig. 3-93
Program Example:
S (100,0) E (100,0)
Fig. 3-94
Details:
1. Angle indication: Starting from the first axis (horizontal axis) of the selected plane,
the counterclockwise direction (CCW) is positive, counterclockwise direction
(CW) is negative.
3 - 109
HUST CNC H6D-T Manual
2. Range of angle: 360.00 360.00 , for an angle exceeding the 360.00 range,
divide the angle by 360.00 degrees and take the remainder. E.g., for an angle of
400.00 degrees, the remainder 40.00 after divided by 360.00 will be the specified
angle.
3. Report an error if relative coordinates are used for the end coordinates of the
second block.
4. Report an error if the two lines have no any intersection point, or the intersection
angle is less than 1 degree.
1. Specify a chamfer or round-angle chamfer only when the angle of the first block is
specified.
EX1
N1 G01 ,Aa1 Cc1
N2 G01 Xx2 Zz2,Aa2
EX2
N1 G01 ,Aa1 Rr1
N2 G01 Xx2 Zz2,Aa2
EX1 EX2
Fig. 3-95
3 - 110
3 G/M Codes
EX1
N1 G01 Xx2 ,Aa1
N2 G01 ,Aa2N3 G01 Xx3 Zz3 ,Aa3
Fig. 3-96
3.
32 Automaticcalculation of Line-Arcintersection point
Command Format:
Note:
P, Q: the absolute coordinates of centers of arcs of the X, Z-axes
H Line-arc intersection selection
3 - 111
HUST CNC H6D-T Manual
Fig. 3-97
Details:
EX1
N1 G01,A___,C___
N2 G03 X___ Z___ P___ Q___ H___
Fig. 3-98
3 - 112
3 G/M Codes
EX2
N1 G01,A___,R___
N2 G03 X___ Z___ P___ Q___ H___
Fig. 3-99
3 - 113
HUST CNC H6D-T Manual
3 - 114
4 MCM Parameter Settings
4 MCM Parameters
4.
1 MCM Parameters
The MCM parameter setting function allows the user to define the controller system
constants according to mechanical specifications and machining conditions.
These parameters are classified into two groups: basic parameters and MCM
parameters.
4.
1.1 BasicParameters
I/O
Quickly press the MCM
key twice to enter the parameter setting screen as shown
below:
Fig 4-1
4.
1.2 MCM Parameters
The correct and proper setting of these parameters is important for operation of the
mechanical system and fabrication of the work-piece. Make sure that the setting is
correct. Press Reset to restart the machine when the MCM parameter is successfully
set
After pressing “F5-System Parameter” key in “User Parameter” page, the System
Parameter page can be accessed; but it can be reviewed and cannot be revised, as
per the figure below. To revise the system parameters, press “F7-Revise
Parameter” key and then input system parameter password initial value 123456
4-1
UST C C 6 -T Manual
4- 2
4 MCM Parameter Settings
4- 3
UST C C 6 -T Manual
4- 4
4 MCM Parameter Settings
4.
2 Description of Parameters
(1) BasicParameters
This parameter is for setting the scale of the graph in the graph mode.
This parameter is an initial setting; for dynamic ad ustment, you may press
PageUP/Page own button in the graph screen for alteration.
hen editing the program, the line number set for the first node system shall be
" 1". If setting the parameter of this item as "1 ", then the line number of the
second node will be " 1 ".
4. The interval value obtained from setting the line number during program editing.
Format default value:
4- 5
UST C C 6 -T Manual
ignored.
To e ecute the count, please add M15 in the working program placed at the end
of each processed orkpiece .
If receiving M15 Command when running the program, the system will add "1" to
the number of the processed orkpieces automatically. Upon reaching the upper
limit set for the orkpiece, the System will change to pausing status, reminding
the customer that it has completed the set working count.
After reaching the upper limit count, the count arriving status can be cancelled by
the following three methods:
a.
set to ero.
b. Restart the program. ou may also clear and set the worked count ero in order
to restart the counting.
c. Press the Reset key and the count arriving status can also be cancelled and the
worked count will be set to ero.
This parameter is set to ensure that the chuck is securely clamped on the
workpiece. In case the chuck fails to clamp the workpiece securely before
e ecuting the subse uent block, the setting needs to be increased.
4- 6
4 MCM Parameter Settings
9. hether or not wait for spindle to reach full speed before performing a ial feed
Format default value:
Setting , proceed the subse uent block without waiting for the full speed of the
spindle
Setting 1, proceed with the subse uent block after the spindle reaches full speed
For general cutting commands, a ial feed can be performed without waiting for
the full spindle speed; for threading and drilling commands, to meet the technical
criteria, it may demand the spindle to reach a steady speed before performing the
cutting, therefore this parameter shall be set to 1, i.e., proceed with the subse uent
block after the spindle reaches full speed
Setting this parameter to 1 affects the processing efficiency. Therefore the user
must consider and weigh the relationship between the technical criteria and
efficiency re uirements for setting a proper value.
Since general drawings indicate drills by its radius, setting this parameter to may
facilitate the programming process. The customer may alter this parameter
according to the actual re uirements, so as to enable an easy and direct way for
programming.
The Turret service parameters can be based to set the rotating direction when the
Turret is operated under Manual Mode.
Under Manual Mode, set this parameter to facility the site Tool change e.g. for
T1
4- 7
UST C C 6 -T Manual
performing the C and CC Tool change, you may set this parameter.
If the user sets stricter service life for all tools used, it is suggested that this
function should be activated in order to manage the tool and remind the timing for
Tool change. After activating such function, the program will stop at T-Code when
the Tool service time or the count is up.
Setting of the measurement unit 1inch 25.4 mm . hen Setting 1, both the
coordinates and tool compensation are displayed to the 4th digit after the decimal
point.
This setting allows the user to select whether an MST code or a 4 command
e isting before the re-start block shall be e ecuted or not when the program
re-start function is enabled. The user may freely set this parameter based on actual
needs.
4-
4 MCM Parameter Settings
An M command call sub-program prior to the re-start block will be carried out
normally if this parameter is set to .
An M command call sub-program prior to the re-start block will not be carried
out if this parameter is set to 1.
Program goes to the block prior to the re-start block and e ecutes
the prior block and the subse uent program.
hen 41, 42 function is enabled see 3.24.2 , setting this parameter to 1 will
cause the tool-tip outside compensation to disable arc compensation and take a
line compensation.
4-
UST C C 6 -T Manual
In case of interference during the tool-tip compensation command 41, 42, you
may set this parameter to select the handling method. See 3.24.2 for details of this
setting
4- 1
4 MCM Parameter Settings
Resolution
Resolution
The traverse speed limit can be calculated from the following e uation:
4 - 11
UST C C 6 -T Manual
Format efault
This MCM can be used to reverse the direction of motor rotation if desired. So
In the homing process, the speed for an a ial movement from the current position
to the position where the origin-switch is touched.
The speed the feedback device searches for rid ero after the a ial position
leaves the origin-switch in the homing process.
Items re uiring the attention of the user; in the homing process, the machine
moves toward the origin-switch with the first-stage speed, the length of the
origin-switch must be longer than the deceleration distance, otherwise the
machine will e ceed the pro imity switch and this results in a OMI error.
The formula and an e ample for calculating the length of origin-switch are as
follows:
4 - 12
4 MCM Parameter Settings
Set this parameter to ad ust the homing direction if the user finds the homing
direction is not correct.
39. The direction that Servo Motor motor search the rid when -a is going back to
OM .
40. The direction that Servo Motor motor search the rid when -a is going back to
OM .
41. The direction that Servo Motor motor search the rid when -a is going back to
OM .
Format default value: , Scope: , 1, 12 , 256.
4 - 13
UST C C 6 -T Manual
The speed for returning to OM will be divided into the following 3 sections as per
Fig. 4-11 :
will be set as 1/4 of that for Section 1; and its direction will be
determined according to the value contained in the system parameter
Section-3 Speed: Used for finding the speed of ero-point RI for Feedback
The customer must notice that when returning to OM , the machine will move
towards the Limit Switch with Section-1 speed and the length of said Limit Switch
must be longer than the deceleration distance;otherwise, the machine will overshoot
the imit Switch and generate incorrect OM -returning phenomenon.
isted below is the e ample e plaining imit Switch length calculation formula and
calculation method:
4 - 14
4 MCM Parameter Settings
Tool Position
Tool
Section-2
eave imit Switch
Speed: OM Return Speed
1 1/4
ncoder Find ero irection:
12
Tool Position
Find ero for ncoder t Section-3
4 - 15
UST C C 6 -T Manual
Section-3 Section-2
Tool Position
ample: If the distance after -a is Servo Motor turns for 3/4 round is 5. mm,
then Parameter 42 will be 5.2 .
Note:If the Servo Motor fails to find out the Grid point after exceedingthe
set scope,then the system will display ERR 15 alarm message.
Set the software over-travel OT limit in the positive direction, the setting
value is e ual to the distance from positive OT location to the machine origin
OM .
4 - 16
4 MCM Parameter Settings
Set the software over-travel OT limit in the negative - direction, the setting
value is e ual to the distance from negative OT location to the machine origin
OM .
M-TOP
Actual ardware imit
Software OT imit
M-TOP
5 1 mm each 5 1 mm each
Fig. 4-12
4 - 17
UST C C 6 -T Manual
Alteration of tool compensation data during the operation can only be made with
incremental method. This parameter is used to set a ma imum value for
preventing tool collision.
Setting value . , denotes no alteration of tool compensation data during the
operation.
ote: The screw offsetting will be allowed only one direction at a time.
-a is -a is -a is planation
Compensation cancel
o compensation when tool is on the - side of the
-1 -1 -1
reference point
o compensation when tool is on the side of the
1 1 1
reference point.
Note: The offset value of each section will be entered by pressing “ Screw
4- , 4- , 4-1 .
The length setting scope of each section for offsetting the error of
screw pitch will be 2 4 mm.
hen the setting of offset length is below 2 mm, then the length shall
be set at 2 mm.
The offset setting means the incremental value, which cab e pressed
either in positive or negative manner. If the offset section count is less
4- 1
4 MCM Parameter Settings
1 mm
1 mm
Fig. 4-13
Therefore, the average length of each section is 1 mm. It means that the set
in which, the offset of each section is set by parameter items as per Fig. 4- ,
Section 1 1 and Section 11 4 must be set as ero.
User may make corresponding settings according to the actual control of spindle.
For the Spindle of oltage-type Servo Motor, such parameter can be set according
to the wiring method see 5-15, 5-16 .
For the Spindle of Pulse-type Servo Motor, such parameter would be meaningless.
4- 1
UST C C 6 -T Manual
Such parameter must be set according to actual characteristics of the machine, and
it can be observed through manual Spindle starting and stopping. The said
parameter shall be measured to see if it is appropriately set according to the
indicators such as if the Spindle is smooth during starting and if it can stop stably
during the stopping process.
For a variable-speed spindle, this parameter is used to ad ust the linear relationship
between the spindle rpm and the voltage.
Such parameter can be used to set the Spindle ogging speed under Manual Mode.
For a voltage type open-circuit spindle, the motor needs not to search for the
RI point encoder signal in -phase ; for pulse type spindle and voltage type
closed-circuit spindle, this parameter can be set according to actual needs.
4- 2
4 MCM Parameter Settings
Use this parameter to set the rotation direction of motor for search of RI point
encoder signal in -phase .
Use this parameter to set rotation speed of motor for search of RI point
encoder signal in -phase
Use this parameter to set the rotating direction for spindle orientation in manual
mode.
Use this parameter to set rotation speed for spindle orientation in manual mode.
signal of the Spindle is re uired. In this case, please install the ternal OM
Switch.
4 - 21
UST C C 6 -T Manual
In case the position of machine origin when the spindle is assembled deviates from
the ideal position to the customer, this parameter may be used for ad ustment.
Sets number of feedback pulses per revolution of spindle based on the number of
spindle encoding lines.
1: For a servo spindle with a gear mechanism having a gear ratio of 3:4, i.e., spindle
rotates 4 turns when motor rotates 3 turns, the servo spindle rotates 1 turn when
receiving a pulse command of 1 .
In the above e ample, spindle rotates 1 turn when the spindle motor rotates .75
turns, meaning that the controller only needs to send out 75 pulses for the
spindle to rotate 1 turn. Therefore, the parameter shall be set to 75 instead of
1 . Since the servo spindle encoder is installed at the electric machinery end,
therefore the number of pulses in the spindle feedback shall also be set to 75 .
For the above conditions, suppose the encoder is installed at the spindle end
instead of the electric machine end, and the encoder is of 1 24 lines, then the
number of pulses in the spindle feedback shall be set to 4 6 4 1 24 .
81. Set up the Turret type by the actual condition of the machine
4 - 22
4 MCM Parameter Settings
User may make ad ustment according the used direction for making compensation
for the wear.
This setting is used for setting an upper limit for the tool compensation when the
program is not in e ecution. In case e ceeding the upper limit, an alarm
4 - 23
UST C C 6 -T Manual
88. Set the ma imum rpm at which the chuck can be moved
Format default value: 1 , unit: rpm
Range: 5 rpm
:
A subse uent block to an M 5 Spindle Stop command is M1 chuck loosen
the chuck can only be loosened until the spindle comes to a full stop.
hen screen saver is enabled, the screen automatically enters sleep mode when
the controller remains untouched for 1 minutes, for prolonging lifespan of the
screen. Pressing any key will resume the display.
90. Set the type of Chuck isc according to the actual conditions of the machine
Format default value:
Setting : ydraulic Chuck isc
Setting 1: Ordinary Chuck isc
91. If to start -a is
Format default value:
Setting : o start
Setting 1: Start
4 - 24
4 MCM Parameter Settings
and heel multiple and the selection of a is will be determined by pressing the
Multi-function and heel multiple selection and a is selection key.
93. Retention
If is the default mode, decimal point is not allowed in the F value. If F value
.5 mm .
If is the default mode, decimal point is allowed behind F.
User may set according to actual tool position. See description of pair-tools for
details about front and rear tool supports.
Setting of this parameter re uires setting of servo parameters, for matching with
pulse type generated by the pulse generator.
4 - 25
UST C C 6 -T Manual
102. Retention
4 - 26
4 MCM Parameter Settings
2.
end screen to a rational value, so that the linear alteration of spindle
speed meets the site re uirements.
The above operation is for providing the user with a general method. For the
substantial inverter, the user may use these parameters freely to ad ust the speed.
If the handwheel has a wrong direction after connecting the wires, use may alter
the direction by setting this parameter.
ample: In the editing program under 1 line number, the Spindle performs
4 - 27
UST C C 6 -T Manual
For e ample:
Setting : very a is will not return to OM .
Setting 1: -A is is returning to OM .
Setting 4: -A is is returning to OM .
Setting 5: / -A is is returning to OM .
108. Retention
The spindle feedback filter is constant when e ecuting an arc cutting in the
mode
For pulse type motors, this function shall be enabled to detect servo motor follow
error; however the error limit shall be set according to machine conditions.
nabling this function can effectively protect the machine against over-travel
resulting from a servo error.
A Follow rror is defined as the difference between the position of the controller
command and the position of the actual servomotor feedback.
Servo follow error setting value, an RROR 2 alarm will be issued.
4- 2
4 MCM Parameter Settings
continuous time less than ms will not respond. Such parameter is mainly
used to resist the noise interference.
For the lectrical Turret or ydraulic Turret, it is preferably to set the parameter as
Turret.
In case the user finds that the efficiency of the machine is not enough during the
process, he may reach his aim by disabling parameters such as “ wait for spindle to
acceleration/deceleration form” .
4- 2
UST C C 6 -T Manual
Fma . 5
4- 3
4 MCM Parameter Settings
In case the spindle speed indication displays normal but spindle position displays
accurate.
Example
Assuming C-a is is the rotating a is and the angle when rotating for one round is
36 . degrees.
Motor ncoder 1 24 Pulse in multiple 4, and the Spindle feedback pulse count
Tooth Count Ratio: 5:1 very 5 rounds of Servo Motor rotation will drive C-a is
to rotate for 1 round .
4 - 31
UST C C 6 -T Manual
hen setting the corresponding feedback filtration fre uency according to the
Spindle ncoder setting, the System will be able to prevent the noise interference
effectively.
times multiple, then the Spindle can reach 5 RPM of ma imum speed. ote:
342 4 1 24 5 RPM /6 sec
case, 5 1 25 3 /6 .
The customer can set such parameter at moderate value according to the Spindle
ncoder installed for the machine and the re uired ma imum Spindle speed.
127. Retention.
Scope: - . . mm, which can be used to remove the reverse gap of the
stud.
hen performing reverse action, certain gaps may e ist in the stud. In this case,
such parameter can be used to make correction.
4 - 32
4 MCM Parameter Settings
If deviation fre uently happens to the position before and after the OM
returning during the returning process and where the deviation length e uals to the
travel of one-round Servo Motor rotation, then such parameter can be ad usted to
solve the aforesaid problem. In this case, the set value will be - .5 of the travel
of one-round Servo Motor rotation.
uring the true roundness cutting process, the Motor used to present hysteresis
phenomenon when making reverse action on the machine due to the mechanical
factors. Such phenomenon used to happen to the round hole cutting for 2 or
4 - 33
UST C C 6 -T Manual
To offset the Closed Angle, the Controller will type out all the offset values
instantly after changing the direction within one offset cycle and then
compensate such offset value with straight-line acceleration/deceleration curve.
The said offset level and time constant will be determined by the aforesaid three
sets of parameters.
Forward Offset alue: ecute the offset when the a is returns from the reverse
action for moving towards the forward direction.
Reverse Offset alue: ecute the offset when the a is returns from the forward
action for moving towards the reverse direction.
Offset Time: The Controller will send out all of the offset values within the set
offset time. hen setting such parameter at ero, the system will compensate the
said offset within one acceleration/deceleration cycle.
The Arc Closed Angle offset function : Close; 1: Open is used to control the
availability of the aforesaid parameters.
hen the thread reaches the end point under the command of 2, such parameter
is used to set the acceleration/deceleration time when , a es are making fast
thread tail retreating.
: es, Returning to origin after -Stop is necessary for activating the process.
1: o. Returning to origin after -Stop is not necessary for activating the process.
4 - 34
4 MCM Parameter Settings
After activating the Spindle, if the working program does not e ecute the Spindle
stop command before completing the program running, then such parameter can
be used to stop the Spindle.
The customer can e ecute appropriate setting for such parameters according to the
operation habitude.
Semi-Auto Function: The program will end the working when receiving M 2 or
M3 .
Auto Function: The program will not end the working when receiving M 2 or
M3 and will continue the loop to run the program.
Such parameter is used to set the Spindle-specific RPM when starting the machine
and when activating the Spindle manually or by M-Code before giving the S RPM
command.
4 - 35
UST C C 6 -T Manual
User may set proper parameter values according to technical criteria of the
substantial product.
147. If to disconnect the power when receiving the Servo Motor alarm
Format default value:
: o need to disconnect the power of Servo Motor.
1: eed to disconnect the power of Servo Motor.
hen the Servo Motor sends off an alarm, depending of varied re uirements of
the customer, the system can be set to disconnect the Main Circuit power of the
Servo Motor and to retain the control power only. After removing the alarm,
restore the Main Circuit power again.
signal.
If O 5 is under OFF status when the Servo Motor sends off alarm, it means the
main power of such Servo Motor will be disconnected.
If O 5 is under O status when the Servo Motor is working normally, it means the
main power of such Servo Motor will not be disconnected.
the Spindle Chuck type can be set through the “ Spindle Chuck
4 - 36
3 Connection Diagrams
5 Connections
5.
1 System Configuration Descriptions
X
C:1st Spindle Y
A:2nd Spindle
B:3rd Spindle
Z
24in/16out
(AB765)
24in/16out
(AB705)
#1 SIO Module
(48in / 32out)
(AE712)
Relay Board AC Power Board
24in/16out
(AB705)
DC Power Board
3-1
HUST CNC H6D-T MANUAL
5.
2 System installation
5.
2.1 OperatingEnvironment
H6D-T Serial Controllers must be used in the following surroundings; anomaly may
occur if the specified range is exceeded.
* Temperature of surroundings
Operation 0°C to 45°C.
Storage or transfer -20°C to 55°C.
* Relative Humidity
Normal < 80% RH
Short period Max. 95% RH
* Vibration limits
In operation 0.075 mm max. at 5 HZ
* Noise
In operation Max. voltage pulse in 0.01 S
2000 V/0.1×10-6 S
* Other
Please consult our company for operations with a high amount of dust, cutting
fluid or organic solvent.
5.
2.2 Considerations for the design of control panel
* The controller and auxiliary panels shall be of a totally enclosed type to prevent
dust ingression.
* The internal temperature shall not exceed the surrounding temperature by more
than 10°C.
* To prevent noise inference, a net clearance of 100mm shall be kept between the
cables of each unit, AC power supply and CRT. If magnetic fields exist, a net
clearance of 300mm shall be kept.
5.
2.3 Internal temperature design
The internal temperature shall not exceed the surrounding temperature by more than
10°C. The main considerations for designing the cabin are the heat source and the heat
dissipation area. For the controller, the customer is usually unable to control the heat
3-2
3 Connection Diagrams
source, however the heat dissipation area is a key factor to be considered. The internal
temperature rise can be estimated using the following equations:
(1) With a cooling fan, the permissible temperature rise shall be 1°C/6W/1m2.
(2) Without a cooling fan, the permissible temperature rise shall be 1°C/4W/1m2.
The equations indicate that for a cabinet having a heat dissipation area of 1m2 and a 6W
heat source and a cooling fan (or 4W heat source without cooling fan), the internal
temperature rise shall be 1°C. The heat dissipation area is the total surface area of the
cabin minus the area in contact with the ground surface.
3-3
HUST CNC H6D-T MANUAL
5.
3 H6D-T External Dimensions
5.
3.1 H6D-T Controller
3-4
3 Connection Diagrams
3-5
HUST CNC H6D-T MANUAL
5.
3.2 H6DL-T Controller
3-6
3 Connection Diagrams
3-7
HUST CNC H6D-T MANUAL
5.
3.3 H6D-T AuxiliaryPanel
3-8
3 Connection Diagrams
5.
3.4 H6DL-T AuxiliaryPanel
3-9
HUST CNC H6D-T MANUAL
5.
3.5 H6D-T Accessories Dimensions
3 - 10
3 Connection Diagrams
3 - 11
HUST CNC H6D-T MANUAL
5.
4 Connector Type
5.
5 Connector name
3 - 12
3 Connection Diagrams
5.
6 Connector Pin-out Definition
DB26LF (F)
3 - 13
HUST CNC H6D-T MANUAL
MPG (H6D)
H6D & H9D that Pin10 Pin11 different only, Please reference the Table 3-3 Table 3-4.
DB26LM (M)
3 - 14
5 Connections
MPG (H9D)
H6D & H9D that Pin10 Pin11 different only, Please reference the Table 3-3 Table 3-4.
DB26LM (M)
5 - 15
HUST CNC H6D-T Manual
Table 5-5
Register Function Description
Analog Input & Torgue function
R209 Edit by PLC <R209 bit3=1>
enable
AD1,Indicates balue of #1 analog
R142
voltage input Pin 14 Pin 8
AD2,Indicates balue of #2 analog
R143 Pin 15 Pin 8
voltage input
AD1,Indicates balue of #1 analog
R146 Pin 12 Pin 8
voltage output
AD2,Indicates balue of #2 analog
R147 Pin 13 Pin 8
voltage output
MPG
Connector
GND
8
9
10 DAC output DAC output ADC input ADC input
11
DA1
12
DA2 13
AD1
14
AD2
15
5 - 16
5 Connections
5.
6.1 G31 INPUT Control signals
Table 5-6
Settings for
related Parameters Description
and Registers
Setting = 0,
I-bit Input signal is an ascending (0 1) trigger signal
Setting = 1,
I-bit Input signal is a descending (1 0) trigger signal
R250
Setting = 2,
I-bit Input signal is a Normal Open (0) signal
Setting = 3,
I-bit Input signal is a Normal Close (1) signal
MPG
Connector
1
2
3
4
G31I
5
G31 Hardware
24VGN
stop signal
26
5 - 17
HUST CNC H6D-T Manual
5.
6.2 Axial Control,pin assignment and wiring
Z 5
6
/Z
VCMD 7 Displacement command -10 ~ +10V Servo
8 0V
GND signal
TOG 10
Pulse+ 19
Pulse- 20
Sign+ 21
Sign- 22
5 - 18
5 Connections
5.
6.3 W iringof Manual Pulse Generator (MPG)
If the Tool traveling direction is opposite to that indicated for Manual Pulse Generator,
then Parameter 518 can be used to change the Hand Wheel direction.
(If the machine uses two hand wheels, hand wheels will be changed at the same time.)
MPG 1
MPG
+5V 0V A B
A
1
B
2
+5V
3
A
4
B
5
6
0V
7
0V
8
2nd MPG
MPG 2
MPG
+5V 0V A B
A
1
B
2
+5V
3
A
4
B
5
6
0V
7
0V
8
5 - 19
HUST CNC H6D-T Manual
5.
6.4 W iringof Spindle Control
Spindle
VCOM 7
GND 8
+5V 9
/A 1 Servo
A 2 Driver
B 3
/B 4
Z 5
/Z 6
Case Gnd
Spindle
VCOM 7
GND 8 Inverter
+5V 9 Encoder
/ A 1
A 2 Extemal
B 3 Encoder
/B 4
Z 5
/Z 6
Case GND
5 - 20
5 Connections
Spindle
Pulse+ 19
Pulse- 20
Sign+ 21
Sign- 22 Servo
/
A 1 Driver
A 2
3
B
4
/B
5
Z 6
/Z 8
Case Gnd
Spindle
Pulse+ 19
Pulse- 20
Sign+ 21 Inverter
Sign- 22
/A 1 Encoder
A 2
B 3
/B 4
External
Z 5
Encoder
/Z 6
+5V 9
GND 8
Case Gnd
5 - 21
HUST CNC H6D-T Manual
5.
6.5 I/O W iring
Structure of wiring(1)
All of the SIO board must used the same DC24V power supply except to the AC
output board.
24V Power Input 24V Power Input
40-pin Bull-horn harness; Group 1; CONNECT 40-pin Bull-horn harness; Group 2; CONNECT
Board port Board port
I96~I119(24in) O96~O111(16out) I120~I43 (24in) O112~O127 (16out)
TO-NEXT
I48/032
Fig.5-26
5 - 22
5 Connections
Structure of wiring(2)
All of the SIO board must used the same DC24V power supply except to the AC
output board.
Fig.5-27
5 - 23
HUST CNC H6D-T Manual
5.
6.6 Input/Output wiringschematic
The input signals are the messages transmitted to the Controller from the external device.
These signals can be generated by push button, Limit Switch, Relay Board connection or
Proximity Switch, etc.
The output signals are the messages transmitted to external working machine from the
Controller, which are used to drive the Relay of the Working Machine and the LED
display of the Controller.
Input/
Output Interface
The Controller must link with other accessories through SIO Module Board so as to control the
actions of external I/O, power output and axis control module.
I/
O Connect Board PC Board No. H6D O O 6
Fig 5-28
5 - 24
5 Connections
13 12 1 00
25 13 14
12 11 2 01
24 14 15
11 10 3 02
23 15 16
10 09 4 03
22 17
9 08 5 04
21 18
8 07 6 05
20 19
7 06 06
19 7
20
6 05
18 8 07
+24V 21
5 04
17 9 08
+24V 22
4 03
16 10 09
02 24V GND 23
3 11 10
15 24V GND 24
2 01
12 11
Fig.5-30
Serial Input/Output Module (SIO)
1. The SIO Module Board is provided with 48 input/32 output points respectively.
(a) A maximum of 4 boards can be linked in providing maximum 256 input/176
output points respectively.
(b) It can be linked with Auxiliary Panel (Panel 2).
2. The module can work with the following external components:
(a) Standard input/output CONNECT panel (24 Input/16 Output).
(b) 8 Out Relay boards.
(c) 8 Out DC power boards.
5 - 25
HUST CNC H6D-T Manual
LED-lamp (Input)
LED-lamp (Output)
SWITCH
LED
LED
1. LED Indicator:
I-Point Signal LED Indicator (Green) : 3 groups each for upper and lower rows
with each group containing 8 lamps, which makes a total of 48 lamps.
O-Point Signal LED Indicator (Red) : 2 groups each for upper and lower rows
with each group containing 8 lamps, which makes a total of 32 lamps.
2. Dip Switch : For setting the SIO Module Board and I/O ON DIP
staring signal position.
1 2 3 4 SW
5 - 26
5 Connections
I/
O related scope when usingwith Operation Panel 2:
5 - 27
HUST CNC H6D-T Manual
Fig.5-32
Fig.5-33
5 - 28
5 Connections
Fig.5-34
Fig.5-35
5 - 29
HUST CNC H6D-T Manual
5.
6.7 W iringof System AC Power Supply
1. SERVO ON signal shall be activated in a slight delay after the activation of system
power supply, when the latter is stabilized.
2. Before switching off the system power supply, provide a delay for switching off the
SERVO ON signal first.
Time
servo on delay
To CPU Power supply R
AC220V R
Servo
Driver
power-off power-on
Power-On Relay
Power-On Timer Relay
Fan
R S T
5 - 30
5 Connections
5.
6.8 Servo on W iringExamples
Emergency-Stop wiringdiagram-1
Recommended wiring diagram. In this connection, the software control and hardware
control are connected in a series; when the E-stop button is pressed, the hardware will
switch off Servo-On even if the software fails.
24V GND (0V)
Limit E-Stop
Forced Reset
pushbutton
Servo Driver
Servo-On
Signal
X Axis
5 - 31
HUST CNC H6D-T Manual
Emergency-Stop wiringdiagram-2
Convenient W iringDiagram.
Forced Reset
pushbutton
Servo Driver
Servo-On
Signal
X Axis
5 - 32
5 Connections
Emergency-Stop wiringdiagram-3
Convenient W iringDiagram.
Forced Reset
pushbutton
Servo Driver
Servo-On
Signal
X Axis
Servo Driver
Servo-On
Signal
Z Axis 8 OUT RELAY Board
(AB585)
Fig.5-39
5 - 33
HUST CNC H6D-T Manual
External Relay 2
External Relay 1
Spark Killer
Spark Killer
24V
O00 O15
Output 0V
24V Output 0V
Fig.5-40
5 - 34
5 Connections
AC 220V
Transformer COM
01
COM
02
COM
When Controller is O00=1, it 03
COM
will output AC 220V voltage. 04
COM
05
COM
AC 220V 06
COM
07
Fig.5-41 COM
08
5 - 35
HUST CNC H6D-T Manual
AC 220V
Transformer
COM
01
COM
02
COM
03
When Controller is COM
04
O00=1, it will output AC COM
05
220V voltage. COM
AC 220V 06
COM
07
COM
08
Fig.5-42
5 - 36
5 Connections
Single Output Point: The maximum current to be sustained by PC Board will be 1A.
When using 8 output points simultaneously: The maximum current to be sustained by
PC Board will be 8A.
10-pin Soft
DC24V Harness AC110~220V
Power Input Power Input
AC110V
Voltage Output Fig.5-43
5 - 37
HUST CNC H6D-T Manual
Single Output Point: The maximum current to be sustained by PC Board will be 1A.
When using 8 output points simultaneously: The maximum current to be sustained by
PC Board will be 8A.
DC24V DC24V
Voltage Input Voltage Output
Fig.5-44
5 - 38
5 Connections
5 - 39
HUST CNC H6D-T Manual
Fig.4-47 shows the connection between the HUST H6D Serial Controller and the
computer (PC). When carrying out the wiring, take the following precautions:
3. Make sure the voltage of the interface at the PC end is within the range of
10~15V.
DC DC
TXD 2 3 RXD
RXD 3 2 TXD
DB9LM SG 5 7 SG DB25LF
CONNECTOR CTS 7 4 RTS CONNECTOR
RTS 8 5 CTS
TXD 2 2 RXD
RXD 3 3 TXD
DSR 4 4 DTR DB9LF
DB9LM SG 5 5 SG
DTR 6 6 DSR CONNECTOR
CONNECTOR CTS 7 7 RTS
RTS 8 8 CTS
Fig.5-47
5 - 40
6 Error Message
6 Error Messages
When an error occurs in the execution of an HUST H6D series controller,an error
message will appear in the LCD screen as shown in Fig.10-1. Possible error messages
regarding the HUST H6D series controller,together with their remedies,are described
as follows.
Fig.6-1
* ERROR
6-1
HUST CNC H6D-T Manual
Remedy:
1. Check the program for excessive setting of F value;
2. Check whether the Resolution setting is correct (Check items 241~ 252,MCM
parameters);
3. Check if machine or motor is obstructed. Check the wiring.
4. Check Parameter 533;the default value is 4096.
5. Check the wiring condition.
Remedy:
1. Double press 0 button in AUTO mode to clear the counting value.
RESET
2. Clear the system variable count of 10922 so it returns to 0,then press to
remove the error.
3. Or run G10 P201 command in AUTO or MDI mode,for clearing the system
variable (10921)to 0,then press RESET again to clear the error.
6-2
6 Error Message
Remedy:
1. Shift the transmission mode back to RS232 Mode and then check if the external
transmission equipment,such as U Panel or SD Card,is correctly configured.
2. Make sure the USB is of FAT format and the file extension of the transferred
program is correct.
3. Consult the dealer or the manufacturer.
Remedy :
Check the format of the input command.
6-3
HUST CNC H6D-T Manual
Remedy:
Check the program and make sure that each segment is within 128 characters.
Remedy:
1. Check transmission speed of controller communication port,i.e.,parameter 520 of
MCM is the same value as that of PC or man-machine interface.
2. Check the communication cables between the controller and the PC or the man-
machine interface.
6-4
6 Error Message
Remedy:
1. Check the program for incorrect writing.
2. Check the capacity for the program.
Remedy:
Check the program and check if the R setting of G-Code,M-Code or G81-G89 is
correct.
6-5
HUST CNC H6D-T Manual
Remedy:
Manually move the axis into its working range.
Remedy:
1. Adjust the Sensor position of the Home or set the Grid count in the parameters.
2. Check if the servo feedback line is interrupted.
Remedy:
Check the program content.
6-6
6 Error Message
Remedy:
1. Check the ending of the program and add M02 or M03 segment.
2. G80 is not filled for the drilling,tapping command ending area.
3. Check the program for excessive size.
4. Check for any error in the segment content and in serial setting (N)of the specified
segment.
6-7
HUST CNC H6D-T Manual
6-8
6 Error Message
Remedy:
Check the program to see if the G71,G72,G73 commands are wrong set.
Remedy:
Check the program to see if dot syllable is added in the A,R,C commands.
6-9
HUST CNC H6D-T Manual
6 - 10
6 Error Message
Remedy:
Check and G41,G42 commands and analyze the program route and then recalculate.
Remedy:
Same as 41.
Remedy:
Same as 41.
6 - 11
HUST CNC H6D-T Manual
Remedy:
Same as 41.
Remedy:
Same as 41.
Remedy:
Same as 41.
Remedy:
Check the G41,G42 commands,analyze the program route and reset the Tip offset
value.
6 - 12
6 Error Message
Remedy :
Adjust the programming method or reset the Tip orientation.
6 - 13
HUST CNC H6D-T Manual
Functon Alarm:
* PositionkLimit Alarm
Message:
The axis displacement has exceeded the hardware position limit.
Remedy:
Move the axis toward the opposite direction with Hand Wheel.
6 - 14
6 Error Message
* Count is Up
Message:
The working count of the Workpiece has reached the set count.
Remedy:
1. In Auto Display screen,briefly press 0 for twice and the working count will be
set to zero.
2. Execute M16 command.
3. Press Reset key.
4. Press Start key again.
* HydraulicStation Unusual
Message:
The Hydraulic Station is working abnormally.
Remedy:
Check the working status of the Hydraulic Station.
* Coolant Unusual
Message:
The Coolant Pump is working abnormally.
Remedy:
Check if the Coolant Pump is working normally.
6 - 15
HUST CNC H6D-T Manual
6 - 16
7 MCM Parameters
Factory
MCM
Default Unit Description Setting
No.
Setting
1 0 mm G54 X-axis 1st Work coordinate (origin)
2 0 mm G54 Y-axis 1st Work coordinate (origin)
3 0 mm G54 Z-axis 1st Work coordinate (origin)
4 0 mm G54 A-axis 1st Work coordinate (origin)
5 0 mm G54 B-axis 1st Work coordinate (origin)
6 0 mm G54 C-axis 1st Work coordinate (origin)
7 0 mm G54 U-axis 1st Work coordinate (origin)
8 0 mm G54 V-axis 1st Work coordinate (origin)
9 0 mm G54 W-axis 1st Work coordinate (origin)
10-20 System Reserved
21 0 mm G55 X-axis 2nd Work coordinate (origin)
22 0 mm G55 Y-axis 2nd Work coordinate (origin)
23 0 mm G55 Z-axis 2nd Work coordinate (origin)
24 0 mm G55 A-axis 2nd Work coordinate (origin)
25 0 mm G55 B-axis 2nd Work coordinate (origin)
26 0 mm G55 C-axis 2nd Work coordinate (origin)
27 0 mm G55 U-axis 2nd Work coordinate (origin)
28 0 mm G55 V-axis 2nd Work coordinate (origin)
29 0 mm G55 W-axis 2nd Work coordinate (origin)
30-40 System Reserved
41 0 mm G56 X-axis 3rd Work coordinate (origin)
42 0 mm G56 Y-axis 3rd Work coordinate (origin)
43 0 mm G56 Z-axis 3rd Work coordinate (origin)
44 0 mm G56 A-axis 3rd Work coordinate (origin)
45 0 mm G56 B-axis 3rd Work coordinate (origin)
46 0 mm G56 C-axis 3rd Work coordinate (origin)
47 0 mm G56 U-axis 3rd Work coordinate (origin)
48 0 mm G56 V-axis 3rd Work coordinate (origin)
49 0 mm G56 W-axis 3rd Work coordinate (origin)
50-60 System Reserved
61 0 mm G57 X-axis 4th Work coordinate (origin)
62 0 mm G57 Y-axis 4th Work coordinate (origin)
63 0 mm G57 Z-axis 4th Work coordinate (origin)
64 0 mm G57 A-axis 4th Work coordinate (origin)
65 0 mm G57 B-axis 4th Work coordinate (origin)
66 0 mm G57 C-axis 4th Work coordinate (origin)
67 0 mm G57 U-axis 4th Work coordinate (origin)
68 0 mm G57 V-axis 4th Work coordinate (origin)
69 0 mm G57 W-axis 4th Work coordinate (origin)
70-80 System Reserved
81 0 mm G58 X-axis 5th Work coordinate (origin)
82 0 mm G58 Y-axis 5th Work coordinate (origin)
83 0 mm G58 Z-axis 5th Work coordinate (origin)
84 0 mm G58 A-axis 5th Work coordinate (origin)
7-1
HUST CNC H6D-T Manual
Factory
MCM
Default Unit Description Setting
No.
Setting
85 0 mm G58 B-axis 5th Work coordinate (origin)
86 0 mm G58 C-axis 5th Work coordinate (origin)
87 0 mm G58 U-axis 5th Work coordinate (origin)
88 0 mm G58 V-axis 5th Work coordinate (origin)
89 0 mm G58 W-axis 5th Work coordinate (origin)
90-100 System Reserved
101 0 mm G59 X-axis 6th Work coordinate (origin)
102 0 mm G59 Y-axis 6th Work coordinate (origin)
103 0 mm G59 Z-axis 6th Work coordinate (origin)
104 0 mm G59 A-axis 6th Work coordinate (origin)
105 0 mm G59 B-axis 6th Work coordinate (origin)
106 0 mm G59 C-axis 6th Work coordinate (origin)
107 0 mm G59 U-axis 6th Work coordinate (origin)
108 0 mm G59 V-axis 6th Work coordinate (origin)
109 0 mm G59 W-axis 6th Work coordinate (origin)
110-120 System Reserved
121 0 mm X-axis, G28 reference point coordinate
122 0 mm Y-axis, G28 reference point coordinate
123 0 mm Z-axis, G28 reference point coordinate
124 0 mm A-axis, G28 reference point coordinate
125 0 mm B-axis, G28 reference point coordinate
126 0 mm C-axis, G28 reference point coordinate
127 0 mm U-axis, G28 reference point coordinate
128 0 mm V-axis, G28 reference point coordinate
129 0 mm W-axis, G28 reference point coordinate
130-140 System Reserved
141 0 mm X-axis, G30 reference point coordinate
142 0 mm Y-axis, G30 reference point coordinate
143 0 mm Z-axis, G30 reference point coordinate
144 0 mm A-axis, G30 reference point coordinate
145 0 mm B-axis, G30 reference point coordinate
146 0 mm C-axis, G30 reference point coordinate
147 0 mm U-axis, G30 reference point coordinate
148 0 mm V-axis, G30 reference point coordinate
149 0 mm W-axis, G30 reference point coordinate
150-160 System Reserved
161 0 mm X-axis, Backlash compensation (G01), 0~9.999
162 0 mm Y-axis, Backlash compensation (G01), 0~9.999
163 0 mm Z-axis, Backlash compensation (G01), 0~9.999
164 0 mm A-axis, Backlash compensation (G01), 0~9.999
165 0 mm B-axis, Backlash compensation (G01), 0~9.999
166 0 mm C-axis, Backlash compensation (G01), 0~9.999
167 0 mm U-axis, Backlash compensation (G01), 0~9.999
168 0 mm V-axis, Backlash compensation (G01), 0~9.999
169 0 mm W-axis, Backlash compensation (G01), 0~9.999
170-180 System Reserved
181 0 mm X-axis, Backlash compensation (G00), 0~9.999
182 0 mm Y-axis, Backlash compensation (G00), 0~9.999
183 0 mm Z-axis, Backlash compensation (G00), 0~9.999
184 0 mm A-axis, Backlash compensation (G00), 0~9.999
185 0 mm B-axis, Backlash compensation (G00), 0~9.999
186 0 mm C-axis, Backlash compensation (G00), 0~9.999
7-2
7 MCM Parameters
Factory
MCM
Default Unit Description Setting
No.
Setting
187 0 mm U-axis, Backlash compensation (G00), 0~9.999
188 0 mm V-axis, Backlash compensation (G00), 0~9.999
189 0 mm W-axis, Backlash compensation (G00), 0~9.999
190-200 System Reserved
201 1000 mm/min X-axis, JOG Feed-rate
202 1000 mm/min Y-axis, JOG Feed-rate
203 1000 mm/min Z-axis, JOG Feed-rate
204 1000 mm/min A-axis, JOG Feed-rate
205 1000 mm/min B-axis, JOG Feed-rate
206 1000 mm/min C-axis, JOG Feed-rate
207 1000 mm/min U-axis, JOG Feed-rate
208 1000 mm/min V-axis, JOG Feed-rate
209 1000 mm/min W-axis, JOG Feed-rate
210-220 System Reserved
221 10000 mm/min X-axis, G00 Traverse speed limit
222 10000 mm/min Y-axis, G00 Traverse speed limit
223 10000 mm/min Z-axis, G00 Traverse speed limit
224 10000 mm/min A-axis, G00 Traverse speed limit
225 10000 mm/min B-axis, G00 Traverse speed limit
226 10000 mm/min C-axis, G00 Traverse speed limit
227 10000 mm/min U-axis, G00 Traverse speed limit
228 10000 mm/min V-axis, G00 Traverse speed limit
229 10000 mm/min W-axis, G00 Traverse speed limit
230-240 System Reserved
241 100 pulse X-axis,Denominator,resolution calc.(Encoder pulse)
242 100 m X-axis,Numerator,resolution calculation.(Ball-screwpitch)
243 100 pulse Y-axis,Denominator,resolutioncalc.(Encoder pulse)
244 100 m Y-axis,Numerator,resolutioncalc.(Ball-screwpitch)
245 100 pulse Z-axis,Denominator,resolutioncalc.(Encoder pulse)
246 100 m Z-axis,Numerator,resolutioncalc.(Ball-screwpitch)
247 100 pulse A-axis,Denominator,resolutioncalc.(Encoder pulse)
248 100 m A-axis,Numerator,resolutioncalc.(Ball-screwpitch)
249 100 pulse B-axis,Denominator,resolutioncalc.(Encoder pulse)
250 100 m B-axis,Numerator,resolutioncalc.(Ball-screwpitch)
251 100 pulse C-axis,Denominator,resolutioncalc.(Encoder pulse)
252 100 m C-axis,Numerator,resolutioncalc.(Ball-screwpitch)
253 100 pulse U-axis,Denominator,resolutioncalc.(Encoder pulse)
254 100 m U-axis,Numerator,resolutioncalc.(Ball-screwpitch)
255 100 pulse V-axis,Denominator,resolutioncalc.(Encoder pulse)
256 100 m V-axis,Numerator,resolutioncalc.(Ball-screwpitch)
257 100 pulse W-axis,Denominator,resolutioncalc.(Encoder pulse)
258 100 m W-axis,Numerator,resolutioncalc.(Ball-screwpitch)
259-280 System Reserved
281 0 X-axis, HOME direction, 0=+ dir.1=-dir
282 0 Y-axis, HOME direction, 0=+ dir.1=-dir
283 0 Z-axis, HOME direction, 0=+ dir.1=-dir
284 0 A-axis, HOME direction, 0=+ dir.1=-dir
285 0 B-axis, HOME direction, 0=+ dir.1=-dir
286 0 C-axis, HOME direction, 0=+ dir.1=-dir
287 0 U-axis, HOME direction, 0=+ dir.1=-dir
288 0 V-axis, HOME direction, 0=+ dir.1=-dir
289 0 W-axis, HOME direction, 0=+ dir.1=-dir
7-3
HUST CNC H6D-T Manual
Factory
MCM
Default Unit Description Setting
No.
Setting
287-300 System Reserved
301 2500 mm/min X-axis, HOME speed 1
302 2500 mm/min Y-axis, HOME speed 1
303 2500 mm/min Z-axis, HOME speed 1
304 2500 mm/min A-axis, HOME speed 1
305 2500 mm/min B-axis, HOME speed 1
306 2500 mm/min C-axis, HOME speed 1
207 2500 mm/min U-axis, HOME speed 1
308 2500 mm/min V-axis, HOME speed 1
309 2500 mm/min W-axis, HOME speed 1
310-320 System Reserved
321 40 mm/min X-axis, Home grid speed during HOME execution
322 40 mm/min Y-axis, Home grid speed during HOME execution
323 40 mm/min Z-axis, Home grid speed during HOME execution
324 40 mm/min A-axis, Home grid speed during HOME execution
325 40 mm/min B-axis, Home grid speed during HOME execution
326 40 mm/min C-axis, Home grid speed during HOME execution
327 40 mm/min U-axis, Home grid speed during HOME execution
328 40 mm/min V-axis, Home grid speed during HOME execution
329 40 mm/min W-axis, Home grid speed during HOME execution
330-340 System Reserved
341 0 0/1 X-axis,Home grid direction during HOME execution
342 0 0/1 Y-axis,Home grid direction during HOME execution
343 0 0/1 Z-axis,Home grid direction during HOME execution
344 0 0/1 A-axis,Home grid direction during HOME execution
345 0 0/1 B-axis,Home grid direction during HOME execution
346 0 0/1 C-axis,Home grid direction during HOME execution
347 0 0/1 U-axis,Home grid direction during HOME execution
348 0 0/1 V-axis,Home grid direction during HOME execution
349 0 0/1 W-axis,Home grid direction during HOME execution
350-360 System Reserved
361 0 mm X –axis Home grid setting
362 0 mm Y-axis Home grid setting
363 0 mm Z-axis Home grid setting
364 0 mm A-axis Home grid setting
365 0 mm B-axis Home grid setting
366 0 mm C-axis Home grid setting
367 0 mm U-axis Home grid setting
368 0 mm V-axis Home grid setting
369 0 mm W-axis Home grid setting
370-380 System Reserved
381 0 mm X-axis, HOME shift data
382 0 mm Y-axis, HOME shift data
383 0 mm Z-axis, HOME shift data
384 0 mm A-axis, HOME shift data
385 0 mm B-axis, HOME shift data
386 0 mm C-axis, HOME shift data
387 0 mm U-axis, HOME shift data
388 0 mm V-axis, HOME shift data
389 0 mm W-axis, HOME shift data
390-400 System Reserved
401 10.000 mm X-axis,Setting the value of search servo grid
7-4
7 MCM Parameters
Factory
MCM
Default Unit Description Setting
No.
Setting
402 10.000 mm Y-axis,Setting the value of search servo grid
403 10.000 mm Z-axis,Setting the value of search servo grid
404 10.000 mm A-axis,Setting the value of search servo grid
405 10.000 mm B-axis,Setting the value of search servo grid
406 10.000 mm C-axis,Setting the value of search servo grid
407 10.000 mm U-axis,Setting the value of search servo grid
408 10.000 mm V-axis,Setting the value of search servo grid
409 10.000 mm W-axis,Setting the value of search servo grid
410-420 0 System Reserved
X-axis Origin switch (+ :N.O (normallyopen) node; -:N.C
421 0
(normally closed) node)
422 0 Y-axis Origin switch (+ :N.O node; -:N.C node)
423 0 Z-axis Origin switch (+ :N.O node; - :N.C node)
424 0 A-axis Origin switch (+ :N.O node; - :N.C node)
425 0 B-axis Origin switch (+ :N.O node; - :N.C node)
426 0 C-axis Origin switch (+ :N.O node; - :N.C node)
427 0 U-axis Origin switch (+ :N.O node; - :N.C node)
428 0 V-axis Origin switch (+ :N.O node; - :N.C node)
429 0 W-axis Origin switch (+ :N.O node; - :N.C node)
430-440 System Reserved
441 0 X-axis, Direction of motor rotation, 0=CW, 1=CCW
442 0 Y-axis, Direction of motor rotation, 0=CW, 1=CCW
443 0 Z-axis, Direction of motor rotation, 0=CW, 1=CCW
444 0 A-axis, Direction of motor rotation, 0=CW, 1=CCW
445 0 B-axis, Direction of motor rotation, 0=CW, 1=CCW
446 0 C-axis, Direction of motor rotation, 0=CW, 1=CCW
447 0 U-axis, Direction of motor rotation, 0=CW, 1=CCW
448 0 V-axis, Direction of motor rotation, 0=CW, 1=CCW
449 0 W-axis, Direction of motor rotation, 0=CW, 1=CCW
450-460 System Reserved
461 4 X-axis,Encoder pulse multiplicationfactor,1,2,or 4
462 4 Y-axis,Encoder pulse multiplicationfactor,1,2,or 4
463 4 Z-axis,Encoder pulse multiplicationfactor,1,2,or 4
464 4 A-axis,Encoder pulse multiplicationfactor,1,2,or 4
465 4 B-axis,Encoder pulse multiplicationfactor,1,2,or 4
466 4 C-axis,Encoder pulse multiplicationfactor,1,2,or 4
467 4 U-axis,Encoder pulse multiplicationfactor,1,2,or 4
468 4 V-axis,Encoder pulse multiplicationfactor,1,2,or 4
469 4 W-axis,Encoder pulse multiplicationfactor,1,2,or 4
470-480 System Reserved
481 5 X-axis impulse command width adjustment (4=625KPPS)
482 5 Y-axis impulse command width adjustment (4=625KPPS)
483 5 Z-axis impulse command width adjustment (4=625KPPS)
484 5 A-axis impulse command width adjustment (4=625KPPS)
485 5 B-axis impulse command width adjustment (4=625KPPS)
486 5 C-axis impulse command width adjustment (4=625KPPS)
487 5 U-axis impulse command width adjustment (4=625KPPS)
488 5 V-axis impulse command width adjustment (4=625KPPS)
489 5 W-axis impulse command width adjustment (4=625KPPS)
490-500 6 System Reserved
Master/Slave mode, 0=CNC, 1=X-axis, 2=Y-axis
501 0
3=Z-axis,4=A-axis,5=B-axis,6=C-axis,7=U-axis,
7-5
HUST CNC H6D-T Manual
Factory
MCM
Default Unit Description Setting
No.
Setting
8=V-axis, 9=w-axis, 256= non-stop mode in a single block
502 0 Accel/Decel mode,0=exponential,1=linear,2=”S” curve
Home command mode setting.
BIT0 = 0 , X axis find Home grid available,
= 1 , no need to find.
BIT1 = 0 , Y axis find Home grid available,
= 1 , no need to find.
BIT2 = 0 , Z axis find Home grid available,
= 1 , no need to find.
BIT3 = 0 , A axis find Home grid available,
= 1 , no need to find.
503 0 BIT4 = 0 , B axis find Home grid available,
= 1 , no need to find.
BIT5 = 0 , C axis find Home grid available,
= 1 , no need to find.
BIT6 = 0 , U axis find Home grid available,
= 1 , no need to find.
BIT7 = 0 , V axis find Home grid available,
= 1 , no need to find.
BIT8 = 0 , W axis find Home grid available,
= 1 , no need to find.
504 100 msec G00 Linear accel./decel. Time, 4~512 ms
505 100 msec G01 Linear accel./decel. Time, 10~1024 ms
506 100 msec Accel/Decel time when in G99 mode (mm/rev)
507 100 msec Time Setting for spindle acceleration
508 0 System Reserved
509 4096 pulse Spindle encoder resolution (pulse/rev)
510 3000 rpm Max. spindle rpm at 10 volts
Spindle voltage command zero drift correction (open
511 0 v
circuit)
Spindle voltage command acce/dece slope correction (open
512 0
circuit)
Spindle RPM correction (based on feedback from the
513 0 rpm
encoder)
514 0 Start number for program block number generation
515 0 Increment for program block number generation
516 1 Denominator of feed-rate when in MPG test mode
517 1 Numerator of feed-rate when in MPG test mode
518 0 MPG direction
519 64 ms Set Acceleration/Deceleration Time for MPG (4~512)
520 38400 RS232 Baud rate, 38400, 19200 / EVEN /2 Bit
Setting whether R000~R99 data in PLC are stored when
521 0
power is cut off. 0=NO, 256=YES
522 0 pulse Servo Error Counter
523 0 Radius/Diameter Programming mode
524 0 0=Metric mode, 25400=inch mode mcm541=0,1
525 3 Error in Circular Cutting, ideal value=1
Pulse settings
526 0
0: pulse + direction 1: +/- pulse 2: A/B phase
527 1000 Setting G01 speed value at booting
528 0 Setting tool compensation direction =1 FAUNC, =0 HUST
It is used for adjusting the G01’s acceleration/deceleration time
529 0
when the acceleration/deceleration type is set to an “S” curve.
7-6
7 MCM Parameters
Factory
MCM
Default Unit Description Setting
No.
Setting
When MCM 502 2, the function can then be sustained.
530 0 G31 input motion stop at hardware
Format setting
=0 standard,
=1 the system will automatically add a decimal point to
531 0 even numbers,
=2 line editing,
=4 automatically added with a decimal point in
programming
532 2.000 mm Mill mode Setting the backlash of G83
533 4096 pulse Setting the following error count for testing
Testing the function of axial setting of the servo following
534 error bit0-X..
535 Controller ID number
Minimum slope setting of the Auto Teach function (with
536
use of C040)
First distance setting of the Auto Teach function ( with use
537
of C040)
538 0 G41 and G42 processing types
539 System reserved
540 0 Adjustment of the axis feedback direction.
541 0 Arc type
541-560 System Reserved
561 0 "S" curve accel./decel. profile setting for the X-axis
562 0 "S" curve accel./decel. profile setting for the Y-axis
563 0 "S" curve accel./decel. profile setting for the Z-axis
564 0 "S" curve accel./decel. profile setting for the A-axis
565 0 "S" curve accel./decel. profile setting for the B-axis
566 0 "S" curve accel./decel. profile setting for the C-axis
567 0 "S" curve accel./decel. profile setting for the U-axis
568 0 "S" curve accel./decel. profile setting for the V-axis
569 0 "S" curve accel./decel. profile setting for the W-axis
570~580 System Reserved
581 9999999 mm X-axis, Software OT limit, (+) direction (Group 1)
582 9999999 mm Y-axis, Software OT limit, (+) direction (Group 1)
583 9999999 mm Z-axis, Software OT limit, (+) direction (Group 1)
584 9999999 mm A-axis, Software OT limit, (+) direction (Group 1)
585 9999999 mm B-axis, Software OT limit, (+) direction (Group 1)
586 9999999 mm C-axis, Software OT limit, (+) direction (Group 1)
587 9999999 mm U-axis, Software OT limit, (+) direction (Group 1)
588 9999999 mm V-axis, Software OT limit, (+) direction (Group 1)
589 9999999 mm W-axis, Software OT limit, (+) direction (Group 1)
590-600 System Reserved
601 -9999999 mm X-axis, Software OT limit, (-) direction (Group 1)
602 -9999999 mm Y-axis, Software OT limit, (-) direction (Group 1)
603 -9999999 mm Z-axis, Software OT limit, (-) direction (Group 1)
604 -9999999 mm A-axis, Software OT limit, (-) direction (Group 1)
605 -9999999 mm B-axis, Software OT limit, (-) direction (Group 1)
606 -9999999 mm C-axis, Software OT limit, (-) direction (Group 1)
607 -9999999 mm U-axis, Software OT limit, (-) direction (Group 1)
608 -9999999 mm V-axis, Software OT limit, (-) direction (Group 1)
609 -9999999 mm W-axis, Software OT limit, (-) direction (Group 1)
7-7
HUST CNC H6D-T Manual
Factory
MCM
Default Unit Description Setting
No.
Setting
610-620 System Reserved
621 9999999 mm X-axis, Software OT limit, (+) direction (Group 2)
622 9999999 mm Y-axis, Software OT limit, (+) direction (Group 2)
623 9999999 mm Z-axis, Software OT limit, (+) direction (Group 2)
624 9999999 mm A-axis, Software OT limit, (+) direction (Group 2)
625 9999999 mm B-axis, Software OT limit, (+) direction (Group 2)
626 9999999 mm C-axis, Software OT limit, (+) direction (Group 2)
627 9999999 mm U-axis, Software OT limit, (+) direction (Group 2)
628 9999999 mm V-axis, Software OT limit, (+) direction (Group 2)
629 9999999 mm W-axis, Software OT limit, (+) direction (Group 2)
630-640 System Reserved
641 -9999999 mm X-axis, Software OT limit, (-) direction (Group 2)
642 -9999999 mm Y-axis, Software OT limit, (-) direction (Group 2)
643 -9999999 mm Z-axis, Software OT limit, (-) direction (Group 2)
644 -9999999 mm A-axis, Software OT limit, (-) direction (Group 2)
645 -9999999 mm B-axis, Software OT limit, (-) direction (Group 2)
646 -9999999 mm C-axis, Software OT limit, (-) direction (Group 2)
647 -9999999 mm U-axis, Software OT limit, (-) direction (Group 2)
648 -9999999 mm V-axis, Software OT limit, (-) direction (Group 2)
649 -9999999 mm W-axis, Software OT limit, (-) direction (Group 2)
650-660 System Reserved
661 0 X-axis, Cycle clearing w/ M02, M30, M99
662 0 Y-axis, Cycle clearing w/ M02, M30, M99
663 0 Z-axis, Cycle clearing w/ M02, M30, M99
664 0 A-axis, Cycle clearing w/ M02, M30, M99
665 0 B-axis, Cycle clearing w/ M02, M30, M99
666 0 C-axis, Cycle clearing w/ M02, M30, M99
667 0 U-axis, Cycle clearing w/ M02, M30, M99
668 0 V-axis, Cycle clearing w/ M02, M30, M99
669 0 W-axis, Cycle clearing w/ M02, M30, M99
670-680 0 System Reserved
681 1 X-axis,0=incrementalcoord.,1=absolute coordinate
682 1 Y-axis,0=incrementalcoord.,1=absolute coordinate
683 1 Z-axis,0=incrementalcoord.,1=absolute coordinate
684 1 A-axis,0=incrementalcoord.,1=absolute coordinate
685 1 B-axis,0=incrementalcoord.,1=absolute coordinate
686 1 C-axis,0=incrementalcoord.,1=absolute coordinate
687 1 U-axis,0=incrementalcoord.,1=absolute coordinate
688 1 V-axis,0=incrementalcoord.,1=absolute coordinate
689 1 W-axis,0=incrementalcoord.,1=absolute coordinate
690-700 1 System Reserved
701 64 pulse X-axis, Position gain, standard=64
702 64 pulse Y-axis, Position gain, standard=64
703 64 pulse Z-axis, Position gain, standard=64
704 64 pulse A-axis, Position gain, standard=64
705 64 pulse B-axis, Position gain, standard=64
706 64 pulse C-axis, Position gain, standard=64
707 64 pulse U-axis, Position gain, standard=64
708 64 pulse V-axis, Position gain, standard=64
709 64 pulse W-axis, Position gain, standard=64
710-720 64 pulse System Reserved
721 10 pulse X-axis,Break-over point for position gain, std=10
7-8
7 MCM Parameters
Factory
MCM
Default Unit Description Setting
No.
Setting
722 10 pulse Y-axis,Break-over point for position gain, std=10
723 10 pulse Z-axis,Break-over point for position gain, std=10
724 10 pulse A-axis,Break-over point for position gain, std=10
725 10 pulse B-axis,Break-over point for position gain, std=10
726 10 pulse C-axis,Break-over point for position gain, std=10
727 10 pulse U-axis,Break-over point for position gain, std=10
728 10 pulse V-axis,Break-over point for position gain, std=10
729 10 pulse W-axis,Break-over point for position gain, std=10
727-740 10 pulse System Reserved
741 100 X-axis, Denominator, MPG resolution calc.
742 100 X-axis, Numerator, MPG resolution calc.
743 100 Y-axis, Denominator, MPG resolution calc.
744 100 Y-axis, Numerator, MPG resolution calc.
745 100 Z-axis, Denominator, MPG resolution calc.
746 100 Z-axis, Numerator, MPG resolution calc.
747 100 A-axis, Denominator, MPG resolution calc.
748 100 A-axis, Numerator, MPG resolution calc.
749 100 B-axis, Denominator, MPG resolution calc.
750 100 B-axis, Numerator, MPG resolution calc.
751 100 C-axis, Denominator, MPG resolution calc.
752 100 C-axis, Numerator, MPG resolution calc.
753 100 U-axis, Denominator, MPG resolution calc.
754 100 U-axis, Numerator, MPG resolution calc.
755 100 V-axis, Denominator, MPG resolution calc.
756 100 V-axis, Numerator, MPG resolution calc.
757 100 W-axis, Denominator, MPG resolution calc.
758 100 W-axis, Numerator, MPG resolution calc.
760-780 System Reserved
781 0 Set X-axis as Rotating (1) / Linear axis (0)
782 0 Set Y-axis as Rotating (1) / Linear axis (0)
783 0 Set Z-axis as Rotating (1) / Linear axis (0)
784 0 Set A-axis as Rotating (1) / Linear axis (0)
785 0 Set B-axis as Rotating (1) / Linear axis (0)
786 0 Set C-axis as Rotating (1) / Linear axis (0)
787 0 Set U-axis as Rotating (1) / Linear axis (0)
788 0 Set V-axis as Rotating (1) / Linear axis (0)
789 0 Set W-axis as Rotating (1) / Linear axis (0)
790-800 System Reserved
801 0 000 mm Distance of S bit sent before the X-axis reaches in position. (S176)
802 0 000 mm Distance of S bit sent before the Y-axis reaches in position. (S177)
803 0 000 mm Distance of S bit sent before the Z-axis reaches in position. (S178)
804 0 000 mm Distance of S bit sent before the A-axis reaches in position. (S179)
805 0 000 mm Distance of S bit sent before the B-axis reaches in position. (S180)
806 0 000 mm Distance of S bit sent before the C-axis reaches in position. (S181)
807 0 000 mm Distance of S bit sent before the U-axis reaches in position. (S182)
808 0 000 mm Distance of S bit sent before the V-axis reaches in position. (S183)
809 0 000 mm Distance of S bit sent before the W-axis reaches in position. (S184)
810-820 System Reserved
821 0 msec Set Acceleration/Deceleration Time for X-axis
822 0 msec Set Acceleration/Deceleration Time for Y-axis
823 0 msec Set Acceleration/Deceleration Time for Z-axis
7-9
HUST CNC H6D-T Manual
Factory
MCM
Default Unit Description Setting
No.
Setting
824 0 msec Set Acceleration/Deceleration Time for A-axis
825 0 msec Set Acceleration/Deceleration Time for B-axis
826 0 msec Set Acceleration/Deceleration Time for C-axis
827 0 msec Set Acceleration/Deceleration Time for U-axis
828 0 msec Set Acceleration/Deceleration Time for V-axis
829 0 msec Set Acceleration/Deceleration Time for W-axis
830-840 System Reserved
841 0 X-axis allowable compensation of back screw pitch
842 0 Y-axis allowable compensation of back screw pitch
843 0 Z-axis allowable compensation of back screw pitch
844 0 A-axis allowable compensation of back screw pitch
845 0 B-axis allowable compensation of back screw pitch
846 0 C-axis allowable compensation of back screw pitch
847 0 U-axis allowable compensation of back screw pitch
848 0 V-axis allowable compensation of back screw pitch
849 0 W-axis allowable compensation of back screw pitch
847-850 0 System Reserved
851 20000 mm X-axis length compensation of back screw pitch
852 20000 mm Y-axis length compensation of back screw pitch
853 20000 mm Z-axis length compensation of back screw pitch
854 20000 mm A-axis length compensation of back screw pitch
855 20000 mm B-axis length compensation of back screw pitch
856 20000 mm C-axis length compensation of back screw pitch
857~860 System Reserved
861-940 0 X-axis,Pitch error compensation of each segment.
941-1020 0 Y-axis,Pitch error compensation of each segment.
1021-1100 0 Z-axis,Pitch error compensation of each segment.
1101-1180 0 A-axis,Pitch error compensation of each segment.
1181-1260 0 B-axis,Pitch error compensation of each segment.
1261-1340 0 C-axis,Pitch error compensation of each segment.
1341 0 mm Tool #1 radius compensation
1342 0 mm X-axis, Tool #1 offset compensation
1343 0 mm Y-axis, Tool #1 offset compensation
1344 0 mm Z-axis, Tool #1 offset compensation
1345 0 mm A-axis, Tool #1 offset compensation
1346 0 mm B-axis, Tool #1 offset compensation
1347 0 mm C-axis, Tool #1 offset compensation
1348 0 mm Tool #2 radius compensation
1349 0 mm X-axis, Tool #2 offset compensation
1350 0 mm Y-axis, Tool #2 offset compensation
1351 0 mm Z-axis, Tool #2 offset compensation
1352 0 mm A-axis, Tool #2 offset compensation
1353 0 mm B-axis, Tool #2 offset compensation
1354 0 mm C-axis, Tool #2 offset compensation
1355 0 mm Tool #3 radius compensation
1356 0 mm X-axis, Tool #3 offset compensation
1357 0 mm Y-axis, Tool #3 offset compensation
1358 0 mm Z-axis, Tool #3 offset compensation
1359 0 mm A-axis, Tool #3 offset compensation
1360 0 mm B-axis, Tool #3 offset compensation
1361 0 mm C-axis, Tool #3 offset compensation
1362 0 mm Tool #4 radius compensation
7 - 10
7 MCM Parameters
Factory
MCM
Default Unit Description Setting
No.
Setting
1363 0 mm X-axis, Tool #4 offset compensation
1364 0 mm Y-axis, Tool #4 offset compensation
1365 0 mm Z-axis, Tool #4 offset compensation
1366 0 mm A-axis, Tool #4 offset compensation
1367 0 mm B-axis, Tool #4 offset compensation
1368 0 mm C-axis, Tool #4 offset compensation
1369 0 mm Tool #5 radius compensation
1370 0 mm X-axis, Tool #5 offset compensation
1371 0 mm Y-axis, Tool #5 offset compensation
1372 0 mm Z-axis, Tool #5 offset compensation
1373 0 mm A-axis, Tool #5 offset compensation
1374 0 mm B-axis, Tool #5 offset compensation
1375 0 mm C-axis, Tool #5 offset compensation
1376 0 mm Tool #6 radius compensation
1377 0 mm X-axis, Tool #6 offset compensation
1378 0 mm Y-axis, Tool #6 offset compensation
1379 0 mm Z-axis, Tool #6 offset compensation
1380 0 mm A-axis, Tool #6 offset compensation
1381 0 mm B-axis, Tool #6 offset compensation
1382 0 mm C-axis, Tool #6 offset compensation
1383 0 mm Tool #7 radius compensation
1384 0 mm X-axis, Tool #7 offset compensation
1385 0 mm Y-axis, Tool #7 offset compensation
1386 0 mm Z-axis, Tool #7 offset compensation
1387 0 mm A-axis, Tool #7 offset compensation
1388 0 mm B-axis, Tool #7 offset compensation
1389 0 mm C-axis, Tool #7 offset compensation
1390 0 mm Tool #8 radius compensation
1391 0 mm X-axis, Tool #8 offset compensation
1392 0 mm Y-axis, Tool #8 offset compensation
1393 0 mm Z-axis, Tool #8 offset compensation
1394 0 mm A-axis, Tool #8 offset compensation
1395 0 mm B-axis, Tool #8 offset compensation
1396 0 mm C-axis, Tool #8 offset compensation
1397 0 mm Tool #9 radius compensation
1398 0 mm X-axis, Tool #9 offset compensation
1399 0 mm Y-axis, Tool #9 offset compensation
1400 0 mm Z-axis, Tool #9 offset compensation
1401 0 mm A-axis, Tool #9 offset compensation
1402 0 mm B-axis, Tool #9 offset compensation
1403 0 mm C-axis, Tool #9 offset compensation
1404 0 mm Tool #10 radius compensation
1405 0 mm X-axis, Tool #10 offset compensation
1406 0 mm Y-axis, Tool #10 offset compensation
1407 0 mm Z-axis, Tool #10 offset compensation
1408 0 mm A-axis, Tool #10 offset compensation
1409 0 mm B-axis, Tool #10 offset compensation
1410 0 mm C-axis, Tool #10 offset compensation
1411 0 mm Tool #11 radius compensation
1412 0 mm X-axis, Tool #11 offset compensation
1413 0 mm Y-axis, Tool #11 offset compensation
1414 0 mm Z-axis, Tool #11 offset compensation
1415 0 mm A-axis, Tool #11 offset compensation
7 - 11
HUST CNC H6D-T Manual
Factory
MCM
Default Unit Description Setting
No.
Setting
1416 0 mm B-axis, Tool #11 offset compensation
1417 0 mm C-axis, Tool #11 offset compensation
1418 0 mm Tool #12 radius compensation
1419 0 mm X-axis, Tool #12 offset compensation
1420 0 mm Y-axis, Tool #12 offset compensation
1421 0 mm Z-axis, Tool #12 offset compensation
1422 0 mm A-axis, Tool #12 offset compensation
1423 0 mm B-axis, Tool #12 offset compensation
1424 0 mm C-axis, Tool #12 offset compensation
1425 0 mm Tool #13 radius compensation
1426 0 mm X-axis, Tool #13 offset compensation
1427 0 mm Y-axis, Tool #13 offset compensation
1428 0 mm Z-axis, Tool #13 offset compensation
1429 0 mm A-axis, Tool #13 offset compensation
1430 0 mm B-axis, Tool #13 offset compensation
1431 0 mm C-axis, Tool #13 offset compensation
1432 0 mm Tool #14 radius compensation
1433 0 mm X-axis, Tool #14 offset compensation
1434 0 mm Y-axis, Tool #14 offset compensation
1435 0 mm Z-axis, Tool #14 offset compensation
1436 0 mm A-axis, Tool #14 offset compensation
1437 0 mm B-axis, Tool #14 offset compensation
1438 0 mm C-axis, Tool #14 offset compensation
1439 0 mm Tool # radius compensation
1440 0 mm X-axis, Tool #15 offset compensation
1441 0 mm Y-axis, Tool #15 offset compensation
1442 0 mm Z-axis, Tool #15 offset compensation
1443 0 mm A-axis, Tool #15 offset compensation
1444 0 mm B-axis, Tool #15 offset compensation
1445 0 mm C-axis, Tool #15 offset compensation
1446 0 mm Tool #16 radius compensation
1447 0 mm X-axis, Tool #16 offset compensation
1448 0 mm Y-axis, Tool #16 offset compensation
1449 0 mm Z-axis, Tool #16 offset compensation
1450 0 mm A-axis, Tool #16 offset compensation
1451 0 mm B-axis, Tool #16 offset compensation
1452 0 mm C-axis, Tool #16 offset compensation
1453 0 mm Tool #17 radius compensation
1454 0 mm X-axis, Tool #17 offset compensation
1455 0 mm Y-axis, Tool #17 offset compensation
1456 0 mm Z-axis, Tool #17 offset compensation
1457 0 mm A-axis, Tool #17 offset compensation
1458 0 mm B-axis, Tool #17 offset compensation
1459 0 mm C-axis, Tool #17 offset compensation
1460 0 mm Tool #18 radius compensation
1461 0 mm X-axis, Tool #18 offset compensation
1462 0 mm Y-axis, Tool #18 offset compensation
1463 0 mm Z-axis, Tool #18 offset compensation
1464 0 mm A-axis, Tool #18 offset compensation
1465 0 mm B-axis, Tool #18 offset compensation
1466 0 mm C-axis, Tool #18 offset compensation
1467 0 mm Tool #19 radius compensation
1468 0 mm X-axis, Tool #19 offset compensation
7 - 12
7 MCM Parameters
Factory
MCM
Default Unit Description Setting
No.
Setting
1469 0 mm Y-axis, Tool #19 offset compensation
1470 0 mm Z-axis, Tool #19 offset compensation
1471 0 mm A-axis, Tool #19 offset compensation
1472 0 mm B-axis, Tool #19 offset compensation
1473 0 mm C-axis, Tool #19 offset compensation
1474 0 mm Tool #20 radius compensation
1475 0 mm X-axis, Tool #20 offset compensation
1476 0 mm Y-axis, Tool #20 offset compensation
1477 0 mm Z-axis, Tool #20 offset compensation
1478 0 mm A-axis, Tool #20 offset compensation
1479 0 mm B-axis, Tool #20 offset compensation
1480 0 mm C-axis, Tool #20 offset compensation
1481 0 mm Tool #21 radius compensation
1482 0 mm X-axis, Tool #21 offset compensation
1483 0 mm Y-axis, Tool #21 offset compensation
1484 0 mm Z-axis, Tool #21 offset compensation
1485 0 mm A-axis, Tool #21 offset compensation
1486 0 mm B-axis, Tool #21 offset compensation
1487 0 mm C-axis, Tool #21 offset compensation
1488 0 mm Tool #22 radius compensation
1489 0 mm X-axis, Tool #22 offset compensation
1490 0 mm Y-axis, Tool #22 offset compensation
1491 0 mm Z-axis, Tool #22 offset compensation
1492 0 mm A-axis, Tool #22 offset compensation
1493 0 mm B-axis, Tool #22 offset compensation
1494 0 mm C-axis, Tool #22 offset compensation
1495 0 mm Tool #23 radius compensation
1496 0 mm X-axis, Tool #23 offset compensation
1497 0 mm Y-axis, Tool #23 offset compensation
1498 0 mm Z-axis, Tool #23 offset compensation
1499 0 mm A-axis, Tool #23 offset compensation
1500 0 mm B-axis, Tool #23 offset compensation
1501 0 mm C-axis, Tool #23 offset compensation
1502 0 mm Tool #24 radius compensation
1503 0 mm X-axis, Tool #24 offset compensation
1504 0 mm Y-axis, Tool #24 offset compensation
1505 0 mm Z-axis, Tool #24 offset compensation
1506 0 mm A-axis, Tool #24 offset compensation
1507 0 mm B-axis, Tool #24 offset compensation
1508 0 mm C-axis, Tool #24 offset compensation
1509 0 mm Tool #25 radius compensation
1510 0 mm X-axis, Tool #25 offset compensation
1511 0 mm Y-axis, Tool #25 offset compensation
1512 0 mm Z-axis, Tool #25 offset compensation
1513 0 mm A-axis, Tool #25 offset compensation
1514 0 mm B-axis, Tool #25 offset compensation
1515 0 mm C-axis, Tool #25 offset compensation
1516 0 mm Tool #26 radius compensation
1517 0 mm X-axis, Tool #26 offset compensation
1518 0 mm Y-axis, Tool #26 offset compensation
1519 0 mm Z-axis, Tool #26 offset compensation
1520 0 mm A-axis, Tool #26 offset compensation
1521 0 mm B-axis, Tool #26 offset compensation
7 - 13
HUST CNC H6D-T Manual
Factory
MCM
Default Unit Description Setting
No.
Setting
1522 0 mm C-axis, Tool #26 offset compensation
1523 0 mm Tool #27 radius compensation
1524 0 mm X-axis, Tool #27 offset compensation
1525 0 mm Y-axis, Tool #27 offset compensation
1526 0 mm Z-axis, Tool #27 offset compensation
1527 0 mm A-axis, Tool #27 offset compensation
1528 0 mm B-axis, Tool #27 offset compensation
1529 0 mm C-axis, Tool #27 offset compensation
1530 0 mm Tool #28 radius compensation
1531 0 mm X-axis, Tool #28 offset compensation
1532 0 mm Y-axis, Tool #28 offset compensation
1533 0 mm Z-axis, Tool #28 offset compensation
1534 0 mm A-axis, Tool #28 offset compensation
1535 0 mm B-axis, Tool #28 offset compensation
1536 0 mm C-axis, Tool #28offset compensation
1537 0 mm Tool #29 radius compensation
1538 0 mm X-axis, Tool #29 offset compensation
1539 0 mm Y-axis, Tool #29 offset compensation
1540 0 mm Z-axis, Tool #29 offset compensation
1541 0 mm A-axis, Tool #29 offset compensation
1542 0 mm B-axis, Tool #29 offset compensation
1543 0 mm C-axis, Tool #29 offset compensation
1544 0 mm Tool #30 radius compensation
1545 0 mm X-axis, Tool #30 offset compensation
1546 0 mm Y-axis, Tool #30 offset compensation
1547 0 mm Z-axis, Tool #30 offset compensation
1548 0 mm A-axis, Tool #30 offset compensation
1549 0 mm B-axis, Tool #30 offset compensation
1550 0 mm C-axis, Tool #30 offset compensation
1551 0 mm Tool 31# radius compensation
1552 0 mm X-axis, Tool #31 offset compensation
1553 0 mm Y-axis, Tool #31 offset compensation
1554 0 mm Z-axis, Tool #31 offset compensation
1555 0 mm A-axis, Tool #31 offset compensation
1556 0 mm B-axis, Tool #31 offset compensation
1557 0 mm C-axis, Tool #31 offset compensation
1558 0 mm Tool #32 radius compensation
1559 0 mm X-axis, Tool #32 offset compensation
1560 0 mm Y-axis, Tool #32 offset compensation
1561 0 mm Z-axis, Tool #32 offset compensation
1562 0 mm A-axis, Tool #32 offset compensation
1563 0 mm B-axis, Tool #32 offset compensation
1564 0 mm C-axis, Tool #32 offset compensation
1565 0 mm Tool #33radius compensation
1566 0 mm X-axis, Tool #33 offset compensation
1567 0 mm Y-axis, Tool #33 offset compensation
1568 0 mm Z-axis, Tool #33 offset compensation
1569 0 mm A-axis, Tool #33 offset compensation
1570 0 mm B-axis, Tool #33 offset compensation
1571 0 mm C-axis, Tool #33 offset compensation
1572 0 mm Tool #34 radius compensation
1573 0 mm X-axis, Tool #34 offset compensation
1574 0 mm Y-axis, Tool #34 offset compensation
7 - 14
7 MCM Parameters
Factory
MCM
Default Unit Description Setting
No.
Setting
1575 0 mm Z-axis, Tool #34 offset compensation
1576 0 mm A-axis, Tool #34 offset compensation
1577 0 mm B-axis, Tool #34 offset compensation
1578 0 mm C-axis, Tool #34 offset compensation
1579 0 mm Tool #35 radius compensation
1580 0 mm X-axis, Tool #35 offset compensation
1581 0 mm Y-axis, Tool #35 offset compensation
1582 0 mm Z-axis, Tool #35 offset compensation
1583 0 mm A-axis, Tool #35 offset compensation
1584 0 mm B-axis, Tool #35 offset compensation
1585 0 mm C-axis, Tool #35 offset compensation
1586 0 mm Tool #36 radius compensation
1587 0 mm X-axis, Tool #36 offset compensation
1588 0 mm Y-axis, Tool #36 offset compensation
1589 0 mm Z-axis, Tool #36 offset compensation
1590 0 mm A-axis, Tool #36 offset compensation
1591 0 mm B-axis, Tool #36 offset compensation
1592 0 mm C-axis, Tool #36 offset compensation
1593 0 mm Tool #37 radius compensation
1594 0 mm X-axis, Tool #37 offset compensation
1595 0 mm Y-axis, Tool #37 offset compensation
1596 0 mm Z-axis, Tool #37 offset compensation
1597 0 mm A-axis, Tool #37 offset compensation
1598 0 mm B-axis, Tool #37 offset compensation
1599 0 mm C-axis, Tool #37 offset compensation
1600 0 mm Tool #38 radius compensation
1601 0 mm X-axis, Tool #38 offset compensation
1602 0 mm Y-axis, Tool #38 offset compensation
1603 0 mm Z-axis, Tool #38 offset compensation
1604 0 mm A-axis, Tool #38 offset compensation
1605 0 mm B-axis, Tool #38 offset compensation
1606 0 mm C-axis, Tool #38 offset compensation
1607 0 mm Tool #39 radius compensation
1608 0 mm X-axis, Tool #39 offset compensation
1609 0 mm Y-axis, Tool #39 offset compensation
1610 0 mm Z-axis, Tool #39 offset compensation
1611 0 mm A-axis, Tool #39 offset compensation
1612 0 mm B-axis, Tool #39 offset compensation
1613 0 mm C-axis, Tool #39 offset compensation
1614 0 mm Tool #40 radius compensation
1615 0 mm X-axis, Tool #40 offset compensation
1616 0 mm Y-axis, Tool #40 offset compensation
1617 0 mm Z-axis, Tool #40 offset compensation
1618 0 mm A-axis, Tool #40 offset compensation
1619 0 mm B-axis, Tool #40 offset compensation
1620 0 mm C-axis, Tool #40 offset compensation
1621 0 mm Tool #1 radius wear compensation
1622 0 mm X-axis, Tool #1 wear compensation
1623 0 mm Y-axis, Tool #1 wear compensation
1624 0 mm Z-axis, Tool #1 wear compensation
1625 0 mm A-axis, Tool #1 wear compensation
1626 0 mm B-axis, Tool #1 wear compensation
1627 0 mm C-axis, Tool #1 wear compensation
7 - 15
HUST CNC H6D-T Manual
Factory
MCM
Default Unit Description Setting
No.
Setting
1628 0 mm Tool #2 radius wear compensation
1629 0 mm X-axis, Tool #2 wear compensation
1630 0 mm Y-axis, Tool #2 wear compensation
1631 0 mm Z-axis, Tool #2 wear compensation
1632 0 mm A-axis, Tool #2 wear compensation
1633 0 mm B-axis, Tool #2 wear compensation
1634 0 mm C-axis, Tool #2 wear compensation
1635 0 mm Tool #3 radius wear compensation
1636 0 mm X-axis, Tool #3 wear compensation
1637 0 mm Y-axis, Tool #3 wear compensation
1638 0 mm Z-axis, Tool #3 wear compensation
1639 0 mm A-axis, Tool #3 wear compensation
1640 0 mm B-axis, Tool #3 wear compensation
1641 0 mm C-axis, Tool #3 wear compensation
1642 0 mm Tool #4 radius wear compensation
1643 0 mm X-axis, Tool #4 wear compensation
1644 0 mm Y-axis, Tool #4 wear compensation
1645 0 mm Z-axis, Tool #4 wear compensation
1646 0 mm A-axis, Tool #4 wear compensation
1647 0 mm B-axis, Tool #4 wear compensation
1648 0 mm C-axis, Tool #4 wear compensation
1649 0 mm Tool #5 radius wear compensation
1650 0 mm X-axis, Tool #5 wear compensation
1651 0 mm Y-axis, Tool #5 wear compensation
1652 0 mm Z-axis, Tool #5 wear compensation
1653 0 mm A-axis, Tool #5 wear compensation
1654 0 mm B-axis, Tool #5 wear compensation
1655 0 mm C-axis, Tool #5 wear compensation
1656 0 mm Tool #6 radius wear compensation
1657 0 mm X-axis, Tool #6 wear compensation
1658 0 mm Y-axis, Tool #6 wear compensation
1659 0 mm Z-axis, Tool #6 wear compensation
1660 0 mm A-axis, Tool #6 wear compensation
1661 0 mm B-axis, Tool #6 wear compensation
1662 0 mm C-axis, Tool #6 wear compensation
1663 0 mm Tool #7 radius wear compensation
1664 0 mm X-axis, Tool #7 wear compensation
1665 0 mm Y-axis, Tool #7 wear compensation
1666 0 mm Z-axis, Tool #7 wear compensation
1667 0 mm A-axis, Tool #7 wear compensation
1668 0 mm B-axis, Tool #7 wear compensation
1669 0 mm C-axis, Tool #7 wear compensation
1670 0 mm Tool #8 radius wear compensation
1671 0 mm X-axis, Tool #8 wear compensation
1672 0 mm Y-axis, Tool #8 wear compensation
1673 0 mm Z-axis, Tool #8 wear compensation
1674 0 mm A-axis, Tool #8 wear compensation
1675 0 mm B-axis, Tool #8 wear compensation
1676 0 mm C-axis, Tool #8 wear compensation
1677 0 mm Tool #9 radius wear compensation
1678 0 mm X-axis, Tool #9 wear compensation
1679 0 mm Y-axis, Tool #9 wear compensation
1680 0 mm Z-axis, Tool #9 wear compensation
7 - 16
7 MCM Parameters
Factory
MCM
Default Unit Description Setting
No.
Setting
1681 0 mm A-axis, Tool #9 wear compensation
1682 0 mm B-axis, Tool #9 wear compensation
1683 0 mm C-axis, Tool #9 wear compensation
1684 0 mm Tool #10 radius wear compensation
1685 0 mm X-axis, Tool #10 wear compensation
1686 0 mm Y-axis, Tool #10 wear compensation
1687 0 mm Z-axis, Tool #10 wear compensation
1688 0 mm A-axis, Tool #10 wear compensation
1689 0 mm B-axis, Tool #10 wear compensation
1690 0 mm C-axis, Tool #10 wear compensation
1691 0 mm Tool #11 radius wear compensation
1692 0 mm X-axis, Tool #11 wear compensation
1693 0 mm Y-axis, Tool #11 wear compensation
1694 0 mm Z-axis, Tool #11 wear compensation
1695 0 mm A-axis, Tool #1 wear compensation
1696 0 mm B-axis, Tool #11 wear compensation
1697 0 mm C-axis, Tool #11 wear compensation
1698 0 mm Tool #12 radius wear compensation
1699 0 mm X-axis, Tool #12 wear compensation
1700 0 mm Y-axis, Tool #12 wear compensation
1701 0 mm Z-axis, Tool #12 wear compensation
1702 0 mm A-axis, Tool #12 wear compensation
1703 0 mm B-axis, Tool #12 wear compensation
1704 0 mm C-axis, Tool #12 wear compensation
1705 0 mm Tool #13 radius wear compensation
1706 0 mm X-axis, Tool #13 wear compensation
1707 0 mm Y-axis, Tool #13 wear compensation
1708 0 mm Z-axis, Tool #13 wear compensation
1709 0 mm A-axis, Tool #13 wear compensation
1710 0 mm B-axis, Tool #13 wear compensation
1711 0 mm C-axis, Tool #13 wear compensation
1712 0 mm Tool #14 radius wear compensation
1713 0 mm X-axis, Tool #14 wear compensation
1714 0 mm Y-axis, Tool #14 wear compensation
1715 0 mm Z-axis, Tool #14 wear compensation
1716 0 mm A-axis, Tool #14 wear compensation
1717 0 mm B-axis, Tool #14 wear compensation
1718 0 mm C-axis, Tool #14 wear compensation
1719 0 mm Tool #15 radius wear compensation
1720 0 mm X-axis, Tool #15 wear compensation
1721 0 mm Y-axis, Tool #15 wear compensation
1722 0 mm Z-axis, Tool #15 wear compensation
1723 0 mm A-axis, Tool #15 wear compensation
1724 0 mm B-axis, Tool #15 wear compensation
1725 0 mm C-axis, Tool #15wear compensation
1726 0 mm Tool #16 radius wear compensation
1727 0 mm X-axis, Tool #16 wear compensation
1728 0 mm Y-axis, Tool #16 wear compensation
1729 0 mm Z-axis, Tool #16 wear compensation
1730 0 mm A-axis, Tool #16 wear compensation
1731 0 mm B-axis, Tool #16 wear compensation
1732 0 mm C-axis, Tool #16 wear compensation
1733 0 mm Tool #17 radius wear compensation
7 - 17
HUST CNC H6D-T Manual
Factory
MCM
Default Unit Description Setting
No.
Setting
1734 0 mm X-axis, Tool #17 wear compensation
1735 0 mm Y-axis, Tool #17 wear compensation
1736 0 mm Z-axis, Tool #17 wear compensation
1737 0 mm A-axis, Tool #17 wear compensation
1738 0 mm B-axis, Tool #17 wear compensation
1739 0 mm C-axis, Tool #17 wear compensation
1740 0 mm Tool #18 radius wear compensation
1741 0 mm X-axis, Tool #18 wear compensation
1742 0 mm Y-axis, Tool #18 wear compensation
1743 0 mm Z-axis, Tool #18 wear compensation
1744 0 mm A-axis, Tool #18 wear compensation
1745 0 mm B-axis, Tool #18 wear compensation
1746 0 mm C-axis, Tool #18 wear compensation
1747 0 mm Tool #19 radius wear compensation
1748 0 mm X-axis, Tool #19 wear compensation
1749 0 mm Y-axis, Tool #19 wear compensation
1750 0 mm Z-axis, Tool #19 wear compensation
1751 0 mm A-axis, Tool #19 wear compensation
1752 0 mm B-axis, Tool #19 wear compensation
1753 0 mm C-axis, Tool #19wear compensation
1754 0 mm Tool #20 radius wear compensation
1755 0 mm X-axis, Tool #20 wear compensation
1756 0 mm Y-axis, Tool #20 wear compensation
1757 0 mm Z-axis, Tool #20 wear compensation
1758 0 mm A-axis, Tool #20 wear compensation
1759 0 mm B-axis, Tool #20 wear compensation
1760 0 mm C-axis, Tool #20 wear compensation
1761 0 mm Tool #21 radius wear compensation
1762 0 mm X-axis, Tool #21 wear compensation
1763 0 mm Y-axis, Tool #21 wear compensation
1764 0 mm Z-axis, Tool #21 wear compensation
1765 0 mm A-axis, Tool #21 wear compensation
1766 0 mm B-axis, Tool #21 wear compensation
1767 0 mm C-axis, Tool #21 wear compensation
1768 0 mm Tool #22 radius wear compensation
1769 0 mm X-axis, Tool #22 wear compensation
1770 0 mm Y-axis, Tool #22 wear compensation
1771 0 mm Z-axis, Tool #22 wear compensation
1772 0 mm A-axis, Tool #22 wear compensation
1773 0 mm B-axis, Tool #22 wear compensation
1774 0 mm C-axis, Tool #22 wear compensation
1775 0 mm Tool #23 radius wear compensation
1776 0 mm X-axis, Tool #23 wear compensation
1777 0 mm Y-axis, Tool #23 wear compensation
1778 0 mm Z-axis, Tool #23 wear compensation
1779 0 mm A-axis, Tool #23 wear compensation
1780 0 mm B-axis, Tool #23 wear compensation
1781 0 mm C-axis, Tool #23 wear compensation
1782 0 mm Tool #24 radius wear compensation
1783 0 mm X-axis, Tool #24 wear compensation
1784 0 mm Y-axis, Tool #24 wear compensation
1785 0 mm Z-axis, Tool #24 wear compensation
1786 0 mm A-axis, Tool #24 wear compensation
7 - 18
7 MCM Parameters
Factory
MCM
Default Unit Description Setting
No.
Setting
1787 0 mm B-axis, Tool #24 wear compensation
1788 0 mm C-axis, Tool #24 wear compensation
1789 0 mm Tool #25 radius wear compensation
1790 0 mm X-axis, Tool #25 wear compensation
1791 0 mm Y-axis, Tool #25 wear compensation
1792 0 mm Z-axis, Tool #25 wear compensation
1793 0 mm A-axis, Tool #25 wear compensation
1794 0 mm B-axis, Tool #25 wear compensation
1795 0 mm C-axis, Tool #25 wear compensation
1796 0 mm Tool #26 radius wear compensation
1797 0 mm X-axis, Tool #26 wear compensation
1798 0 mm Y-axis, Tool #26 wear compensation
1799 0 mm Z-axis, Tool #26 wear compensation
1800 0 mm A-axis, Tool #26 wear compensation
1801 0 mm B-axis, Tool #26 wear compensation
1802 0 mm C-axis, Tool #26 wear compensation
1803 0 mm Tool #27 radius wear compensation
1804 0 mm X-axis, Tool #27 wear compensation
1805 0 mm Y-axis, Tool #27 wear compensation
1806 0 mm Z-axis, Tool #27 wear compensation
1807 0 mm A-axis, Tool #27 wear compensation
1808 0 mm B-axis, Tool #27 wear compensation
1809 0 mm C-axis, Tool #27 wear compensation
1810 0 mm Tool #28 radius wear compensation
1811 0 mm X-axis, Tool #28 wear compensation
1812 0 mm Y-axis, Tool #28 wear compensation
1813 0 mm Z-axis, Tool #28 wear compensation
1814 0 mm A-axis, Tool #28 wear compensation
1815 0 mm B-axis, Tool #28 wear compensation
1816 0 mm C-axis, Tool #28 wear compensation
1817 0 mm Tool #29 radius wear compensation
1818 0 mm X-axis, Tool #29 wear compensation
1819 0 mm Y-axis, Tool #29 wear compensation
1820 0 mm Z-axis, Tool #29 wear compensation
1821 0 mm A-axis, Tool #29 wear compensation
1822 0 mm B-axis, Tool #29 wear compensation
1823 0 mm C-axis, Tool #29 wear compensation
1824 0 mm Tool #30 radius wear compensation
1825 0 mm X-axis, Tool #30 wear compensation
1826 0 mm Y-axis, Tool #30 wear compensation
1827 0 mm Z-axis, Tool #30 wear compensation
1828 0 mm A-axis, Tool #30 wear compensation
1829 0 mm B-axis, Tool #30 wear compensation
1830 0 mm C-axis, Tool #30 wear compensation
1831 0 mm Tool #31 radius wear compensation
1832 0 mm X-axis, Tool #31 wear compensation
1833 0 mm Y-axis, Tool #31 wear compensation
1834 0 mm Z-axis, Tool #31 wear compensation
1835 0 mm A-axis, Tool #31 wear compensation
1836 0 mm B-axis, Tool #31 wear compensation
1837 0 mm C-axis, Tool #31 wear compensation
1838 0 mm Tool #32 radius wear compensation
1839 0 mm X-axis, Tool #32 wear compensation
7 - 19
HUST CNC H6D-T Manual
Factory
MCM
Default Unit Description Setting
No.
Setting
1840 0 mm Y-axis, Tool #32 wear compensation
1841 0 mm Z-axis, Tool #32 wear compensation
1842 0 mm A-axis, Tool #32 wear compensation
1843 0 mm B-axis, Tool #32 wear compensation
1844 0 mm C-axis, Tool #32 wear compensation
1845 0 mm Tool #33 radius wear compensation
1846 0 mm X-axis, Tool #33 wear compensation
1847 0 mm Y-axis, Tool #33 wear compensation
1848 0 mm Z-axis, Tool #33 wear compensation
1849 0 mm A-axis, Tool #33 wear compensation
1850 0 mm B-axis, Tool #33 wear compensation
1851 0 mm C-axis, Tool #33 wear compensation
1852 0 mm Tool #34 radius wear compensation
1853 0 mm X-axis, Tool #34 wear compensation
1854 0 mm Y-axis, Tool #34 wear compensation
1855 0 mm Z-axis, Tool #34 wear compensation
1856 0 mm A-axis, Tool #34 wear compensation
1857 0 mm B-axis, Tool #34 wear compensation
1858 0 mm C-axis, Tool #34 wear compensation
1859 0 mm Tool #35 radius wear compensation
1860 0 mm X-axis, Tool #35 wear compensation
1861 0 mm Y-axis, Tool #35 wear compensation
1862 0 mm Z-axis, Tool #35 wear compensation
1863 0 mm A-axis, Tool #35 wear compensation
1864 0 mm B-axis, Tool #35 wear compensation
1865 0 mm C-axis, Tool #35 wear compensation
1866 0 mm Tool #36 radius wear compensation
1867 0 mm X-axis, Tool #36 wear compensation
1868 0 mm Y-axis, Tool #36 wear compensation
1869 0 mm Z-axis, Tool #36 wear compensation
1870 0 mm A-axis, Tool #36 wear compensation
1871 0 mm B-axis, Tool #36 wear compensation
1872 0 mm C-axis, Tool #36 wear compensation
1873 0 mm Tool #37 radius wear compensation
1874 0 mm X-axis, Tool #37 wear compensation
1875 0 mm Y-axis, Tool #37 wear compensation
1876 0 mm Z-axis, Tool #37 wear compensation
1877 0 mm A-axis, Tool #37 wear compensation
1878 0 mm B-axis, Tool #37 wear compensation
1879 0 mm C-axis, Tool #37 wear compensation
1880 0 mm Tool #38 radius wear compensation
1881 0 mm X-axis, Tool #38 wear compensation
1882 0 mm Y-axis, Tool #38 wear compensation
1883 0 mm Z-axis, Tool #38 wear compensation
1884 0 mm A-axis, Tool #38 wear compensation
1885 0 mm B-axis, Tool #38 wear compensation
1886 0 mm C-axis, Tool #38 wear compensation
1887 0 mm Tool #39 radius wear compensation
1888 0 mm X-axis, Tool #39 wear compensation
1889 0 mm Y-axis, Tool #39 wear compensation
1890 0 mm Z-axis, Tool #39 wear compensation
1891 0 mm A-axis, Tool #39 wear compensation
1892 0 mm B-axis, Tool #39 wear compensation
7 - 20
7 MCM Parameters
Factory
MCM
Default Unit Description Setting
No.
Setting
1893 0 mm C-axis, Tool #39 wear compensation
1894 0 mm Tool #40 radius wear compensation
1895 0 mm X-axis, Tool #40 wear compensation
1896 0 mm Y-axis, Tool #40 wear compensation
1897 0 mm Z-axis, Tool #40 wear compensation
1898 0 mm A-axis, Tool #40 wear compensation
1899 0 mm B-axis, Tool #40 wear compensation
1900 0 mm C-axis, Tool #40 wear compensation
1901 Tool-tip #1 radius compensation
1902 Tool-tip #2 radius compensation
1903 Tool-tip #3 radius compensation
1904 Tool-tip #4 radius compensation
1905 Tool-tip #5 radius compensation
1906 Tool-tip #6 radius compensation
1907 Tool-tip #7 radius compensation
1908 Tool-tip #8 radius compensation
1909 Tool-tip #9 radius compensation
1910 Tool-tip #10 radius compensation
1911 Tool-tip #11 radius compensation
1912 Tool-tip #12 radius compensation
1913 Tool-tip #13 radius compensation
1914 Tool-tip #14 radius compensation
1915 Tool-tip #15 radius compensation
1916 Tool-tip #16 radius compensation
1917 Tool-tip #17 radius compensation
1918 Tool-tip #18 radius compensation
1919 Tool-tip #19 radius compensation
1920 Tool-tip #20 radius compensation
1921 Tool-tip #21 radius compensation
1922 Tool-tip #22 radius compensation
1923 Tool-tip #23 radius compensation
1924 Tool-tip #24 radius compensation
1925 Tool-tip #25 radius compensation
1926 Tool-tip #26 radius compensation
1927 Tool-tip #27 radius compensation
1928 Tool-tip #28 radius compensation
1929 Tool-tip #29 radius compensation
1930 Tool-tip #30 radius compensation
1931 Tool-tip #31 radius compensation
1932 Tool-tip #32 radius compensation
1933 Tool-tip #33 radius compensation
1934 Tool-tip #34 radius compensation
1935 Tool-tip #35 radius compensation
1936 Tool-tip #36 radius compensation
1937 Tool-tip #37 radius compensation
1938 Tool-tip #38 radius compensation
1939 Tool-tip #39 radius compensation
1940 Tool-tip #40 radius compensation
7 - 21
HUST CNC H6D-T Manual
The decimal format for MCM data in this section is based on 4/3 format.
MCM #1~#36 are for G54~G59 work coordinates data. The setting value is the distance
between the origin of each work coordinate system and the machine HOME position.
All input data have the same format and unit as shown below:
7 - 22
7 MCM Parameters
MCM Parameters 121~160 are used for setting the coordinates of the reference point.
Its value is the mechanical coordinates of the reference point relative to the mechanical
origin.
7 - 23
HUST CNC H6D-T Manual
The traverse speed limit can be calculated from the following equation:
Ex: Max. rpm = 3000 rpm for X-axis, Pitch = 5 mm/rev, Gear Ratio = 5/1
Fmax = 0.95 * 3000 * 5 / 5 = 2850 mm/min
Therefore, it is recommended to set MCM #148=2850.
7 - 24
7 MCM Parameters
Therefore, the setting value for MCM #118 (D) and #119 (N) can be set as
or the same ratio of N/D such as. They are all correct.
(1) D=50000, N=5000 (2) D=10, N=1 (3) D=100, N=10
7 - 25
HUST CNC H6D-T Manual
Therefore, the setting value for MCM #120 (D) and #121 (N) can be one of
the three combinations. They are all correct.
(1) D=5, N=36 (2) D=10, N=72 (3) D=50000, N=360000
The X-axis is an ordinary linear axis (MCM#781= 0) with the guide screw pitch = 5.000
mm.
When the motor rotates one turn, 10000 pulses will be generated.
Gear ratio is 5:1 (When the servo motor rotates 5 turns, the guide screw rotates 1 turn.)
5000 1
Resolution = ×
10000 5
1
=
10
X-axis resolution: denominator setting value (MCM#241)= 10
X-axis resolution: numerator setting value (MCM#242)= 1
The Y-axis is a rotational axis (MCM#782 = 1). The angle for rotating 1 turn = 360.000
(degree)
One turn of the motor will generate 10000 pulses.
Gear ratio is 5:1 (When the servo motor rotates 5 turns, the Y-axis rotates 1 turn.)
360000 1
Resolution = ×
10000 5
36
=
5
Y-axis resolution: denominator setting value (MCM#243) = 5
Y-axis resolution: numerator setting value (MCM#244) = 36
Note 1: When the resolution <1/20, the motor may have the problem of not able
to reach its maximum rotation speed.
Note 2: When the resolution 1/100, the software travel limit should be within
the following range:
-9999999 ~ 999999, otherwise an error message may occur which cannot
be released.
Ex: For MCM#241=400 and MCM#242=2, when the X-axis resolution is smaller
than 1/100, the setting values of the software travel limit for the X-axis:
Parameter 581 should be less than 9999999 and Parameter 601 should be
greater than -999999.
7 - 26
7 MCM Parameters
341. The direction that servo motor search the Grid when X-axis going back to HOME.
342. The direction that servo motor search the Grid when Y-axis going back to HOME.
343. The direction that servo motor search the Grid when Z-axis going back to HOME.
344. The direction that servo motor search the Grid when A-axis going back to HOME.
345. The direction that servo motor search the Grid when B-axis going back to HOME.
346. The direction that servo motor search the Grid when C-axis going back to HOME.
347. The direction that servo motor search the Grid when U-axis going back to HOME.
348. The direction that servo motor search the Grid when V-axis going back to HOME.
7 - 27
HUST CNC H6D-T Manual
349. The direction that servo motor search the Grid when W-axis going back to
HOME.
Format (Default=0)
EX:
When MCM#341= 0, the 2nd and 3rd direction is the same with 1st
MCM#341= 1, the 2nd is the same with 1st .
MCM#341= 128, the 2nd direction is opposite to 1st .
MCM#341= 256, the 2nd and 3rd direction is opposite to 1st .
Set the moving speed when the tool, after having touched the HOME limit switch,
is searching for the encoder grid signal during HOME execution. HUST H6D/
H9D CNC has three (3) different speeds when you execute HOME function as
shown by Fig 7.2.
Note that the length of the Home limit switch should be longer than the distance
for the deceleration of Speed 1. Otherwise, serious error may result. The equation
to calculate the length of the Home limit switch is
FDCOM * ACC
Length of Home Limit Switch (mm)
60000
7 - 28
7 MCM Parameters
Tool Position
Speed
1st Section Speed
INDEX of finding Encoder
Speed MCM#142~ #145
Direction MCM#231~ #234= 128
3rd
Tool Position
2nd
Leave the LIMIT SWITCH
C064=0 C065=0 C066=0
Speed MCM#136~ #139 1/4
Direction MCM#231~ #234= 128
Tool Position
3rd
7 - 29
HUST CNC H6D-T Manual
3rd 2nd
Tool Position
Leaving from the origin switch signal, deviating from the above set distance, and
then you can start to execute the Homing process (third section) to locate the
motor Gird signal.
Set the amount of coordinate shift for HOME location (or machine origin). With
these settings, the machine coordinate will be shifted by the same amount when
you execute "Home". If home shift data are zero for all axes, the machine
7 - 30
7 MCM Parameters
coordinate after "Home" operation will be zero also. Note that the work
coordinate will be shifted by the same amount.
401. The distance that servo motor search the Grid when X-axis going back to HOME.
402. The distance that servo motor search the Grid when Y-axis going back to HOME.
403. The distance that servo motor search the Grid when Z-axis going back to HOME.
404. The distance that servo motor search the Grid when A-axis going back to HOME.
405. The distance that servo motor search the Grid when B-axis going back to HOME.
406. The distance that servo motor search the Grid when C-axis going back to HOME.
407. The distance that servo motor search the Grid when U-axis going back to HOME.
408. The distance that servo motor search the Grid when V-axis going back to HOME.
409. The distance that servo motor search the Grid when W-axis going back to HOME.
Format= . (Default 10.000)
The distance’s maximum when servo motor searching the Grid signal:
EX
The servo motor of X-axis turns 3/4 round = 5.000 mm, MCM# 401 = 5.200
The servo motor of Y-axis turns 3/4 round = 5.000 mm, MCM# 402 = 5.200
The servo motor of Z-axis turns 3/4 round = 5.000 mm, MCM# 403 = 5.200
The servo motor of A-axis turns 3/4 round = 5.000 mm, MCM# 404 = 5.200
The servo motor of B-axis turns 3/4 round = 5.000 mm, MCM# 405 = 5.200
The servo motor of C-axis turns 3/4 round = 5.000 mm, MCM# 406 = 5.200
If it exceeds the range and the motor can not find the Grid still. ERR15 will be
shown up.
MCM 425=-6
Set I6 to be the A-axis origin signal with format NC
7 - 31
HUST CNC H6D-T Manual
This MCM can be used to reverse the direction of motor rotation if desired. So
you don’t have to worry about the direction of rotation when installing motor.
These parameters will affect the direction of HOME position
Due to the variations in circuit design of the servo drivers that are available from
the market, the proper electrical connections from servo encoder to the driver,
then to the CNC controller may vary. If the connections do not match properly,
the motor RPM may become divergent (Rotate @ HIGH RPM) and damage to
the machine may result. For this reason, HUST strongly suggest separate the
servo motor and the machine before you are 100% sure the direction of the
motor rotation. If a motor divergence occurs, please inter-change the connections
of (A and B phase) and (A- and B- phase) on the driver side.
(This statement has nothing to do with MCM #154~ #157 but it’s very important
when connecting electrical motor.)
7 - 32
7 MCM Parameters
EX:
Servo connections dependent
on different maker
1
/A
A 2
3
AXIS B
4
/B
5
Z
/Z 6
7 Displacement command -10 ~ +10V Servo
VCMD
8 0V signal
GND
10
TOG
19
Pulse+
20
Pulse-
21
Sign+
22
Sign-
Fig 7.3
Note:
The setting of multiplication is highly relative with machine’s rigidity. If a motor
divergence occurs too heavily, it means that the rigidity is too big. And then it can be
improved by lowering the multiplication.
Ex: If factor = 2 for MCM #161 and the encoder resolution is 2000 pulses/rev,
then the feed-back signals = 2000 * 2 = 4000 pulses/rev for Y-axis.
7 - 33
HUST CNC H6D-T Manual
For example:
If MCM 486=4, the impulse cycle time in the X-axis direction is 4*0.25=1.5us
and the frequency is 625KHz.
7 - 34
7 MCM Parameters
BIT6 = 0 U axis find Home grid available, =1 U axis no need to find Home grid.
BIT7 = 0 V axis find Home grid available, =1 V axis no need to find Home grid.
BIT8 = 0 W axis find Home grid available, =1 W axis no need to find Home grid.
515. If D = 0, the program block number of a single program block will not be
generated automatically.
In the Edit or Teach mode, the block number of a single block can be
automatically generated by simply press the INSERT key. If the RESET key is
7 - 35
HUST CNC H6D-T Manual
pressed, the block number of a single block will be renumbered according to the
setting values in Parameters 514 and 515.
Ex: S = 0 , D = 5
The program block number will be generated in the sequence: 5,10,15,20,25 …
Note: If the MPG rotation speed is not proper, it can be adjusted by MCM#516,
#517. The two items are up to 5 units and it must be integer. They also can not set
as zero.
Example: BIT 0=1 The X-axis handwheel command is reverse, but other axes
remain at the default.
The motor acceleration / deceleration time is equal to MCM #519 when MPG
hand-wheel is used in JOG mode.
Set RS232C communication speed. Choose from, 9600, 19200, 38400, 57600,
115200 Speed rate 38400 stands for 38400 bits per second.
7 - 36
7 MCM Parameters
When executing locating operation, the controller has sent out the voltage
command, but the motor maybe fall behind some distance. This parameter is used
to set that the controller could execute next operation or not according to the
setting range of pulse
0: Radius programming
1: Diameter programming
In circular cutting, the ideal cutting path is a circular arc, but the actual motor
path is along the arc cord (a straight line). Therefore, there is a cutting error as
shown in the figure below.
The less the setting set; the better the
circular arc cut.
Cutting Error
Fig 7.4
This parameter enables the user to adjust acceptable error. The smaller is the
setting (=1, the best), the better the circular cutting result. However, the setting
should not be too small to the point that it’s not able to drive the motor.
7 - 37
HUST CNC H6D-T Manual
After booting, in executing the program or MDI command, if you have not used
the F command yet, nor the current single block has designated the F value, then
use the MCM 527 value as the F value of the current single block.
0 HUST
1 FANUC
Tool-wear compensation direction - HUST: same direction; FANUC: reverse
direction.
529. It is used for adjusting the G01’s acceleration/deceleration time when the
acceleration/deceleration type is set to an “S” curve.
Format= (Default=100) in unit of millisecond (msec).
When MCM 502 2, the function can then be sustained.
Setting range 10~512 ms.
531. Line editing entry format and numeral decimal’s automatic-generating setting.
Format (default setting 0)
7 - 38
7 MCM Parameters
At program editing and also entering even numbers, the system will
automatically add decimal point to even numbers.
532. In the milling mode, set the gap for drill to withdraw.
Format= . (Default= 2.000) unit:mm
534. Testing the axial setting of the servo following error function
Format= (Default = 0)
Set the testing corresponding to the axis with Bit
Description:
When MCM534 1 and Bit0 = 1, test the X-axus.
When MCM534 2 and Bit1 = 1, test the Y-axis.
When MCM534 4 and Bit2 = 1, test the Z-axis.
When MCM534 8 and Bit3 = 1, test the A-axis.
When MCM534 16 and Bit4 = 1, test the B-axis.
When MCM534 32 and Bit5 = 1, test the C-axis.
When MCM534 64 and Bit6 = 1, test the U-axis.
When MCM534 128 and Bit7 = 1, test the V-axis.
When MCM534 256 and Bit8 = 1, test the W-axis.
Caution: For HUST H6D/H9D controller, if the servo motor used is a voltage
command type, it is necessary to set testing the following error function ( not
applicable for the impulse command type).
The controller will compare the actual feedback difference of the servo motor
with the setting of the parameter Item No 533. If the controller detects that the
axis has been set beyond the range, the system will display an error message.
Example: When the parameter Item No 533= 4096, the parameter Item No
534=1, and
7 - 39
HUST CNC H6D-T Manual
537. Setting the first point distance of the Auto Teach function.
Format= . (Default= 0)
When the setting value =0, an error is displayed, the interference problem
is not handelled, and the motion is stopped.
=1 Automactilly handle the interference problem.
=2 The error message is not displayed and the interference problem is
not handeled.
Description:
If MCM540 1, Bit0 = 1, the feedback direction is reverse for the X-axis.
If MCM540 2, Bit1 = 1, the feedback direction is reverse for the Y-axis.
If MCM540 4, Bit2 = 1, the feedback direction is reverse for the Z-axis.
If MCM540 8, Bit3 = 1, the feedback direction is reverse for the A-axis.
If MCM540 16, Bit4 = 1, the feedback direction is reverse for the B-axis.
If MCM540 32, Bit5 = 1, the feedback direction is reverse for the C-axis.
If MCM540 64, Bit6 = 1, the feedback direction is reverse for the U-axis.
If MCM540 128, Bit7 = 1, the feedback direction is reverse for the V-axis.
If MCM540 256, Bit8 = 1, the feedback direction is reverse for the W-axis.
7 - 40
7 MCM Parameters
When R209 Bit30=1, the “S” curve accel./decel. profile settings can be configured
independently.
Set the software over-travel (OT) limit in the positive (+) direction, the setting
value is equal to the distance from positive OT location to the machine origin
(HOME).
Set the software over-travel (OT) limit in the negative (-) direction, the setting
value is equal to the distance from negative OT location to the machine origin
(HOME). Figure below shows the relationship among the software OT limit, the
emergency stop, and the actual hardware limit.
7 - 41
HUST CNC H6D-T Manual
Emergency Stop
Actual Hardware Limit
5~10 mm each
Machine Origin
(Home)
Software OT Limit
(MCM#581~ #649)
Emergency Stop
Fig 7.5
7 - 42
7 MCM Parameters
661. Flag to Clear X-axis Program Coordinate on M02, M30 or M99 Command.
662. Flag to Clear Y-axis Program Coordinate on M02, M30 or M99 Command.
663. Flag to Clear Z-axis Program Coordinate on M02, M30, or M99 Command.
664. Flag to Clear A-axis Program Coordinate on M02, M30, or M99 Command.
665. Flag to Clear B-axis Program Coordinate on M02, M30, or M99 Command.
666. Flag to Clear C-axis Program Coordinate on M02, M30, or M99 Command.
667. Flag to Clear U-axis Program Coordinate on M02, M30, or M99 Command.
668. Flag to Clear V-axis Program Coordinate on M02, M30, or M99 Command.
669. Flag to Clear W-axis Program Coordinate on M02, M30, or M99 Command.
Format (Default=0)
Used as flag to clear the coordinate when program execution encounters M02,
M30 or M99 function. The following settings are valid for both X and Y-axis.
Ex: Set MCM 681 = 0, X value represents the incremental position and U value is
ineffective.
= 1, X value represents the incremental position and U value is
the incremental position.
*Note 1: After the parameters are set, execute the command G01
X***,Y***,Z*** F***, the program will perform the axial motions
according to the configured incremental or absolute positions.
H9D: When R209 = 4, the incremental address codes of X,Y,Z will
be U,V,W. However, the A,B,C axes have no incremental
address code, they cannot be used in the same way as the
X,Y,Z axes which allow the conversion between the
incremental positioning and the absolute positioning. It is
necessary to use the G90/G91 modes to use them.
H9D: X,Y,Z,A,B,C,U,V,W have no incremental address codes, so
they cannot allow the conversion between the incremental
7 - 43
HUST CNC H6D-T Manual
1. G90 :
When writing G90 in the program, all the axes of X,Y,Z,A,B,C,U,V,W are the absolute
coordinate. All following nodes` axes direction will also feed absolutely. (See EX1)
The incremental codes U,V,W also can be used in G90 mode. Then X, Y, Z axes will
feed incrementally. But A-axis still feed absolutely. Until it meeting G91 or recycling the
program, then the G90 will be over.
2. G91 :
When writing G90 in the program, all the axes of X,Y,Z,A,B,C,U,V,W are the
incremental coordinate. All following nodes` axes direction will also feed incrementally.
(See EX2)
In G91 mode, X,Y,Z represent the incremental value. The codes of U, V, W are not
necessary. The axis will move to nowhere.
Until it meeting G90 or recycling the program, then the G91 will be over.
7 - 44
7 MCM Parameters
Y
60
5 P3
35
10 P2
30
25 P1
15
X
20 15 25
Fig 7.6
Parameters 701~709 are used to set the loop gain. The recommended value is 64.
This setting value is essential to the smooth operation of the motor. Once it is
configured, please do not change it arbitrarily.
Driver output
voltage
The position gain and HUST H6D/H9D output voltage command can be
calculated as follows:
Setting value
Position Gain =
64
7 - 45
HUST CNC H6D-T Manual
In this case, please correct the values of MCM Parameters 701~709 and then press
the “Reset” key. If the problem still exists, please check if the wire connection of
the servo motor is correct.
721. Break-over Point (in Error Count) for Position Gain, X-axis.
722. Break-over Point (in Error Count) for Position Gain, Y-axis.
723. Break-over Point (in Error Count) for Position Gain, Z-axis.
724. Break-over Point (in Error Count) for Position Gain, A-axis.
725. Break-over Point (in Error Count) for Position Gain, B-axis.
726. Break-over Point (in Error Count) for Position Gain, C-axis.
727. Break-over Point (in Error Count) for Position Gain, U-axis.
728. Break-over Point (in Error Count) for Position Gain, V-axis.
729. Break-over Point (in Error Count) for Position Gain, W-axis.
Format (Default=10)
The proper setting of this parameter will assure smooth start-up of servo motor.
When servo error is smaller than the setting value of MCM #721~#729, the
position gain is 64. Otherwise, position gain will be calculated based on the
setting value of MCM #701~ #709 and the setting values depend on the frictional
load on the motor. If the frictional load is high, setting value is small and vice
versa.
7 - 46
7 MCM Parameters
Controller 0.15
Command
0.10
Ex1: For X-axis, MCM #741 = 100 pulses, MCM #742 = 100 m.
The resolution for X-axis = 100/100 = 1 m/pulse.
If MPG hand-wheel moves 1 notch (=100 pulses), the feed length in X-axis
= 100 x (100/100) = 100 m = 0.1 mm.
7 - 47
HUST CNC H6D-T Manual
Ex2: For Y-axis, MCM #743 = 200 pulses, MCM #744 = 500 m.
The resolution for Y-axis = 500/200 = 2.5 m/pulse.
If MPG hand-wheel moves 1 notch (=100 pulses), the feed length in Y-axis
= 100 x (500/200) = 250 m = 0.25 mm.
MCM# 759~780 System Reserved
801. The distance of S bit sent before the X-axis reaches in position. (S176)
802. The distance of S bit sent before the Y-axis reaches in position. (S177)
803. The distance of S bit sent before the Z-axis reaches in position. (S178)
804. The distance of S bit sent before the A-axis reaches in position. (S179)
805. The distance of S bit sent before the B-axis reaches in position. (S180)
806. The distance of S bit sent before the C-axis reaches in position. (S181)
807. The distance of S bit sent before the U-axis reaches in position. (S182)
808. The distance of S bit sent before the V-axis reaches in position. (S183)
809. The distance of S bit sent before the W-axis reaches in position. (S184)
Format= . (Default= 0.000)
Unit: mm
7 - 48
7 MCM Parameters
The pitch error compensation of the guide screw in HUST H6D/H9D is relative to the
mechanical origin as the base point.
X-axis Y-axis Z-axis A-axis B-axis C-axis U-axis V-axis W-axis Explanation
0 0 0 0 0 0 0 0 0 Compensation cancel
Do compensation when tool is on
-1 -1 -1 -1 -1 -1 -1 -1 -1
the (-) side of the reference point
Do compensation when tool is on
1 1 1 1 1 1 1 1 1
the (+) side of the reference point.
Ex:
MCM # 841= -1
The pitch error in the X-axis will not be compensated when the tool travels to the
positive side of the X-HOME location. It will be compensated when the tool travels to
the negative side of machine origin.
MCM # 841= 1
The pitch error in the X-axis will be compensated when the tool travels to the positive
side of Y-HOME location. No compensation will be done when it travels to the negative
side of machine origin.
7 - 49
HUST CNC H6D-T Manual
Fig7.10
100mm
Ex:
If you want to divide the ball-screw on X-axis, which is 1 meter in length,
into 10 segments, the segment length is 1000.00/10=100.00mm. This 100.00
mm will be stored in MCM# 851.(Each compensation of them is set by
MCM#861~#940)
2. If the average segment length is less than 20 mm, use 20 mm.
3. When doing compensation, HUST H6D/H9D controller will further divide
each segment into 8 sections. The amount of compensation for each section is
equal to the whole number, in m, of 1/8 of the amount in MCM #861~#940.
The remainder will be added to the next section.
Ex:
7 - 50
7 MCM Parameters
The Compensation value is in incremental mode. If the number of segment is less than
80, please fill the uncompensated segments with zero to avoid any potential errors.
Ex:
If the segment of compensation is 10, the amount of the compensation from Seg.11 to 40
( X-axis MCM#861~940, Y-axis MCM#941~1020, Z-axis MCM#1021~1100, A-axis MCM
#1101~1180, B-axis MCM#1181~1260, C-axis MCM#1261~1340 ) must be set as zero.
7 - 51
HUST CNC H6D-T Manual
7 - 52
8 Appendix A
AppendixA
HUST CNC H6D-T Manual
8 Appendix A
HUST CNC H6D-T Manual
9 Appendix B – PC On-line Operation
Through TAPE function, HUST H6D-T can do the following PC (personal computer)
on-line operations via RS232C interface. Through MDI mode, you can execute G10
function as shown in Table 9-1 as well as burn the transmitted program, MCM
parameters, PLC simulation program, LCD screen display data, and system data into
Flash-ROM in the controller.
Items 1 ~ 12 can be done from PC side when the controller is under power-on mode but
NOT in TAPE mode.
Table 9-1 Online Operation with G10 Function through RS232C Interface
G10 P510 L38400 Set the baud rate for RS232 interface at 38400 bps
G10 P510 L57600 Set the baud rate for RS232 interface at 57600 bps
G10 P510 L115200 Set the baud rate for RS232 interface at 115200 bps
G10 P600 L01 Burn the externally transmitted program into Flash-ROM
G10 P600 L02 Burn the externally transmitted MCM parameters into Flash-ROM
G10 P600 L03 Burn the externally transmitted ladder program into Flash-ROM
G10 P600 L05 Burn the externally transmitted controller system data into Flash-ROM
G10 P2100 Load the part program from Flash-ROM to memory
G10 P1000 (note) Load the MCM parameters from Flash-ROM to memory
Note that MCM data of FLASHROM are the standard settings. The users can execute
G10 P600 L02 to save the adjusted settings by burning to FLASHROM memory. If the
users want to reverse the former saved settings, simply load the data by executing G10
P1000 from FLAHROM memory.
9-1
HUST CNC H6D-T Manual
%
O001 ..... Program number
N10 G0 X0. Y0. Z0
N20 G1 X50. Y50. Z45
N30 U30. V-30. W15 Program content
N40 G0 X0. Y0. Z0
N50 M2
%
Notes:
1. The program must start and end with a symbol of “%”.
2. Program number range = 000~999
3. One line contains one program block only. Do NOT write multiple program block
on the same line as “N10 G0. Y0. N20 G1 X10. Y10. N30 G0 X0. Y0. N40 M2”.
4. When transmitting the program from the PC end to the HUST H6D-T series
controller, and if the program transmitted does not contain the program code Oxxx,
the transmitted program will cover over the program currently selected on the
controller.
Ex: With the controller currently stopping at #6 processing program, and when the
transmitted program does not contain the program code Oxxx, the content of
the transmitted processing program will directly cover over the #6 processing
program currently on the controller.
Movement program:
Note:
When the program is in execution (S080=1), you must stop for S080 turning “0” to re-
operate the step 4.
Note:
If the program to be transferred has an ID number, after the transmission, it will be
stored in the memory with the same number at the CNC side; otherwise, it will replace
the program currently used by the controller.
9-2
9 Appendix B – PC On-line Operation
Fig 9-1
Note: If the transmission program has numbers, it will be stored as the same numbers as
in CNC after transmitting, otherwise, it will be replaced by its current program.
1. The HCON is used to Upload the program data onto the controller, and the
program data are stored on the memory cache (RAM).
2. When the controller turns the power off, the program data are stored on the memory
cache (RAM) via the battery mode.
3. To ensure permanent data storage on the memory cache (RAM), there is need to
execute the command G10 P600 L01 to store the Uploaded program data onto
the FLASHROM.
4. As depicted in Fig. 9-1, upon entering the G10 P600 L01 command in the entry
area, press MDIGo to complete the burn movement.
Movement program:
9-3
HUST CNC H6D-T Manual
Note:
When the program is in execution (S080=1), you must stop for S080 turning “0” to re-
operate the step 3 & 4.
%
O9002 Program number 9002 designated for MCM data
0000000 MCM #1
0000000 MCM #2
0000000 MCM #3
0000000 MCM #4
…… …….
........ ........
%
Notes:
1. The MCM data must start and end with a symbol of %.
2. The transmission MCM parameter’s program number is fixed to 09002.
3. No decimal point for MCM data transferred. The unit is 1/1000th of a second for
time and m for length or speed. One line for one MCM data only (7-digit).
For example, HOME speed on X-axis = 2500.00, it'll show 0250000 after
transferred. Software limit on Y-axis = -9999.999 cm, it’ll show –9999999.
Movement program:
Note:
1. The HCON is used to Upload the MCM parameter data onto the controller, and
the MCM parameter data are stored on the memory cache (RAM).
2. When the controller turns the power off, the MCM parameter data are stored on the
memory cache (RAM) via the battery mode.
3. To ensure permanent data storage on the memory cache (RAM), there is a need to
9-4
9 Appendix B – PC On-line Operation
run the command G10 P600 L02 to burn the Uploaded MCM parameter data
onto the FLASHROM.
4. As depicted in Fig. 901, after entering the G10 P600 L02 command in the entry
area, press MDIGo to complete the burn movement.
Movement program:
Note:
When the program is in execution (S080=1), you must stop for S080 turning “0” to re-
operate the step 3 & 4.
Movement program:
Caution: When the controller is running program (where S080=10, there is a need to wait for
the program execution to stop (where S080=0) before running steps (3) & (4).
Movement program:
9-5
HUST CNC H6D-T Manual
Execute HCON.exe (Refer to the chapter’s section 10) to ascertain that there is no
error in the communications protocol.
Upon entering the data transmission mode ( FileSvc ) ,
Caution: When the controller is running programs (where S080=1), there is a need to wait for
the program execution to stop (where S080=0) before running steps (3) & (4).
Movement program:
Caution:
1. When the controller is running programs (where S080=1), there is a need to wait for
the program execution to stop (where S080=0) before running step (5).
2. If step (4) “w2FLASH” movement has not been executed, then after uploading the
data, there is a need to execute the MDI (G10 P600 L3) burn command, or else
when the controller turns off the power, and at the startup, the system uploads the
PLC on the Flash-ROM to the memory cache.
3. Upon completing transmitting the PLC file, make sure that the screen is prompted
with “Data Loading Ok!”, otherwise it indicates that the PLC file has not been
transmitted successfully.
9-6
9 Appendix B – PC On-line Operation
Movement program:
Caution:
1. When the controller is running programs (where S080=1), there is a need to wait for
the program execution to stop (where S080=0) before running steps (4).
2. After uploading the screen data, there is no need to execute the burn command, as
the system automatically uploads the data onto the Flash-ROM.
Movement program:
Caution:
1. When the controller is running programs (where S080=10, there is a need to wait for
the program execution to stop (where S080=0) before running step (5).
2. Upon uploading the system data, there is no need to execute the burn command, as
the system automatically uploads the data onto the Flash-ROM.
3. Upon completing transmitting the system file, make sure that the screen is
prompted with “Data Loading Ok!”, otherwise it indicates that the system file has
not been transmitted successfully.
9-7
HUST CNC H6D-T Manual
Movement program:
Caution:
1. When the controller is running programs (where S080=1), there is a need to wait for
the program execution to stop (where S080=0) before running steps (4).
2. Upon uploading the screen data, there is no need to execute the burn command, as
the system automatically uploads the data onto the Flash-ROM.
Movement program:
Caution:
1. When the controller is running programs (where S080=1), there is a need to wait for
the program execution to stop (where S080=0) before running step (5).
2. Upon uploading the ARM data, there is a need to restart the computer in order to
operate the system normally.
9-8
9 Appendix B – PC On-line Operation
Program Display:
Fig 9-2
Note:
1. Baud rate must be kept the same like the MCM# 520 setting in the controller from
CommPort Rs232 connectors.
2. Parity Check with H6D-T stays permanently as Even
3. Data Bit with H6D-T stays permanently as 7 Bits
4. Stop Bit with H6D-T stays permanently 2 Bits.
After the above 4 items are confirmed, please click “Link to CNC” to enter the software
operation interface.
9-9
HUST CNC H6D-T Manual
If the communication between the PC and the controller is normal, Cps is a non-zero value.
When the communication between the PC and the controller is normal, the DSR and
CTS will be highlighted in red background.
Fig 9-3
Key Descriptions
PlcBit : Signal I/O/C/S/A status display
VarUser : Variables 0~9999 display
Var Sys : Variables 10000~ 13999 display
CncInfo : Particular variables system 10900~10999 display
McmData : MCM parameters display
Motion : Preserved
FileSvc : Data Transmission ( * Note 1)
MDIgo : Enter Single Bock command in the message box and press the key.
ReSet : Reset the controller
9 - 10
9 Appendix B – PC On-line Operation
Fig 9-4
On PC side, select data in CNC and press “ Recv In ”, PC will start reading the
data and storing them in memories temporarily.
Press “ Save File ” and enter the file’s name. The action is complete.
A. After selecting the items, press “ Open File ”; enter the desired file’s name.
B. Wait for PC to complete the reading and store in the memories; press “ Send Out ”,
the action is complete.
C. V W2Flash shows that the data has been automatically burnt into Flash-Rom after
being sent out.
9 - 11
HUST CNC H6D-T Manual
A proper connection between PC and HUST controller is shown in Fig 9-5. Please refer
to Connecting Manual for more information. When making connection, please be aware
of the followings:
1. The connecting cable should not exceed 15 meters to minimize the potential noise
interference. The voltage at the PC interface should be in the range of 10~15 volts.
2. Avoid working in an environment where is under the direct noise interference from
the machines such as EDM, electric welder, etc. Do not use the same power outlet as
for EDM and electric welder. Twisting the cable may help in noise reduction.
DCE DCE
TXD 2 3 RXD
RXD 3 2 TXD
DB9LM DB25LF
SG 5 7 SG
CONNECTOR CONNECTOR
CTS 7 4 RTS
RTS 8 5 CTS
RXD 3 3 TXD
DB9LM 5 SG
DB9LF
SG 5
CONNECTOR CTS 7 7 RTS
CONNECTOR
RTS 8 8 CTS
9 - 12
9 Appendix B – PC On-line Operation
HUST H6D-T series controllers have the following four transmission modes for the
user to select:
1. RS232 Mode
2. USB Device Mode (USB-H)
3. USB Host Mode (USB-D)
4. SDC Mode (SDC)
In JOG mode press the “File transfer” key for three seconds, it will enter the
transmission mode selection screen as shown in Fig 9-6.
Fig 9-6
The default is R232 Mode. The transmission mode can be switched by pressing the
function keys.
9 - 13
HUST CNC H6D-T Manual
PC and the H6D-T controller are connected via USB connection. Now, the H6D-T
controller plays the role as the USB device side, i.e. a mobile diskette while PC plays
the role as the USB host side. In this mode, PC can read data information such as user’s
programs, user’s variables, machine parameters, etc. from the H6D-T controller. Also,
PC can write its data in the controller.
In this mode, H6D-T plays the role as the USB host and can directly read / write data
information such as system files, screen files, user’s programs, user’s variables,
machine parameters, etc in a mobile diskette via the USB interface on the back of the
controller. Also it can store the data in the mobile diskette from the controller.
To select USH-H mode on the switch screen in the transmission mode, you shall enter
the embedded transmission operation interface as shown in Fig 9-9.
Fig 9-7
9 - 14
9 Appendix B – PC On-line Operation
Press the function key , you can enter the second page in the transmission operation
interface as shown in Fig 9-8.
Fig 9-8
9 - 15
HUST CNC H6D-T Manual
Press the function keyDownload on the transmission operating interface, you can enter
the screen as shown in Fig 9-9 and 9-10.
Fig 9-9
Fig 9-10
Note: To download data, first point the cursor to the file to be downloaded, and then
press the desirable function key.
9 - 16
9 Appendix B – PC On-line Operation
Attention
1. If the file size of the machining program is too large, it is necessary to use the
DNC feature for simultaneous "transfer and execution".
2. For the master-slave mode, the settings should be configured as non-stop mode
for a single block (Parameter 501=256).
3. Set R127 to 8, and R128 to 32 (The recommended setting values).
Operation Procedure:
1. Use the arrow keys to select the machining program and then confirm.
2. Press the RD-DNC key to enter the DNC mode and the following screen will be
displayed:
3. After the operation is completed, it will automatically return to the USB operation
screen.
4. Trace function: During the operation, press the “S” button to enter the Trace mode.
5. Servo response: During the operation, press the “R” button to enter the servo
response trace mode.
6. In the Trace mode, press the “AUTO” button to return to the AUTO mode screen.
7. The software key and trace operations are the same as the normal operation.
Fig 9-11
9 - 17
HUST CNC H6D-T Manual
Press the Upload function key on the transmission operating interface, you can enter
the screen as shown in Fig 9-12.
Input
characters
Fig 9-12
To upload data, first key in the file name and then press the desirable
function key.
9 - 18
10 Appendix C Method for using the most often used G10 command
If the user wishes to alter the machine parameters,the program,and user variables when
using the H6D-T controller,these operations can be achieved in the HCON interface or
by using the G10 command in the MDI mode of the controller.
1. Operation Methods
There are two types of operation methods;one is in HCON interface and the other
is in MDI mode.
Fig.10-1
10 - 1
HUST CNC H6D-T Manual
Fig.10-2
e2. If the tool position in step 3 has a distance with the work origin to be set,
then carry out the following actions: (suppose this distance is X=20.,
Y=100.,Z=15.)
Press G10 X20. Y100. Z15. and ENTER
START......... this completes the setting.
10 - 2
10 Appendix C Method for using the most often used G10 command
a. Do not add P__ when using G10 to set the work coordinates
system, or it will become a tool length (displacement)
compensation.
b. Use the same method to enter work coordinates system G55~G59.
The difference is to replace G54 with G55~G59 in step 4. If any of
the work coordinates system G54~G59 is not explicitly indicated
in the steps, the work origin will be entered into the work
coordinate system that is effective at that time.
c. The G10 method can also be used to enter the work coordinates in
a program.
d. The machine coordinates of the origin of the G54~G59 work
coordinates selected by the G10 method will be entered into MCM
parameters (see 3.25).
EX: When using the HCON software to transmit a system file without
check-selecting W2Flash ,you may enter G10 P600 L05 in the
MDI mode on completion of the transmission and then press START
key to complete the operation for burning the PLC. The burning is
successful when the controller screen shows the message Data
Loading Ok!.
10 - 3
HUST CNC H6D-T Manual
EX: After replacing the main PCB of the controller, insert the
FLASHROM onto the new PCB and enter G10 P1000 command in
the MDI mode,then press START to save the parameters which are
stored in the FLASHROM into the memory.
(8) G10 P1999 L9999: clear the controller to return to default settings
EX1: In case of anomalies in screen display,parameter display,or machine
operation after altering the controller data (compared to the status
before the alteration),it is suggested to perform this command in the 2
ways as described above,and clear the controller to its default settings
followed by re-loading the data.
EX2: In case of anomalies in user variables and machine parameters after
linking with HCON software (the value becomes very large,or most
of the values are identical),it is suggested to perform this command in
the 2 ways as described above,and clear the controller to its default
settings followed by re-loading the data.
Note:The above operations are non-reversible and shall be used with
care.Suggest that you should make backup and substitute data
before performingthe operation.
10 - 4
11 Appendix D - Servo Motor Wiring
11 AppendixD
1. DELTA-A2 TYPE
Table 11-1
HUST 26pin (M) DELTA A2 50pin
Pin No Definition Description Pin No Definition
1 /A /A phase input 22 A-
2 A A phase input 21 A+
3 B B phase input 25 B+
4 /B /B phase input 23 B-
5 Z Z phase input 50 Z+
6 /Z /Z phase input 24 Z-
7 VCMD 0~10V analog command 42 V-REF
5V GND
8 GND 13 GND
(V-command Torgue & +5V GND)
9 5V +5V Power
10 TOG Torgue input
9 DI1-
Servo-On
45 COM-
17 IN-49 Group 2 Input signal
18 OUT-49 Group 2 Output signal
19 Pulse+ Pulse command+ 38 Hpulse+
20 Pulse- Pulse command- 29 Hpulse-
21 Sign+ Pulse Direction+ 46 Hsign+
22 Sign- Pulse Direction - 40 Hsign-
23 IN-48 Group 1 Input signal
24 OUT-48 Group 1 Output signal
25 24V +24V Power
26 24VGND 24V GND I/O & +24V GND
HUST CNC H6D-T Manual
Parameters
Ex:
Encoder resolution
P1-44=128
P1-45=1
1280000=f1*128/1
F1=10000
This parameter is used to set the pulse numbers of encoder outputs per motor revolution.
value=2500
2. DELTA-B2 TYPE
Table 11-2
HUST 26pin (M) DELTA B2 44pin
Pin No Definition Description Pin No Definition
1 /A /A phase input 22 A-
2 A A phase input 21 A+
3 B B phase input 25 B+
4 /B /B phase input 23 B-
5 Z Z phase input 13 Z+
6 /Z /Z phase input 24 Z-
7 VCMD 0~10V analog command 20 V-REF
5V GND
8 GND 19 GND
(V-command Torgue & +5V GND)
9 5V +5V Power
10 TOG Torgue input
9 DI1-
Servo-On
45 COM-
17 IN-49 Group 2 Input signal
18 OUT-49 Group 2 Output signal
19 Pulse+ Pulse command+ 43 Hpulse+
20 Pulse- Pulse command- 41 Hpulse-
21 Sign+ Pulse Direction+ 39 Hsign+
22 Sign- Pulse Direction - 37 Hsign-
23 IN-48 Group 1 Input signal
24 OUT-48 Group 1 Output signal
25 24V +24V Power
26 24VGND 24V GND I/O & +24V GND
HUST CNC H6D-T Manual
Parameters
Ex:
Encoder resolution 1280000 p/rev
P1-44=128
P1-45=1
1280000=f1*128/1
F1=10000
This parameter is used to set the pulse numbers of encoder outputs per motor revolution.
value=2500
3. MITSUBISHI J2
Table 11-3
HUST 26pin (M) CN1A CN1B
Pin No Definition Description Pin No Definition Pin No Definition
1 /A /A phase input 16 LAR
2 A A phase input 6 LA
3 B B phase input 7 LB
4 /B /B phase input 17 LBR
5 Z Z phase input 5 LZ
6 /Z /Z phase input 15 LZR
7 VCMD 00~10V analog command 2 VC
5V GND (V-command
8 GND 1 LG
Torgue & +5V GND)
9 5V +5V Power
10 TOG Torgue input
5 SON
Servo-On
10 SG
17 IN-49 Group 2 Input signal
18 OUT-49 Group 2 Output signal
19 Pulse+ Pulse command+ 3 pulse+
20 Pulse- Pulse command - 13 pulse-
21 Sign+ Pulse Direction+ 2 sign+
22 Sign- Pulse Direction - 12 sign-
23 IN-48 Group 1 Input signal
24 OUT-48 Group 1 Output signal
25 24V +24V Power
24V GND
26 24VGND
I/O & +24V GND
CN1A
03 VCD CN1B
13 COM CN1B
15 EM-STOP CN1B
16 CW Limit CN1B
17 CCW Limit CN1B
CN1B
20 SG CN1B
Parameters
Ex:
Encoder resolution 131072 p/rev
P3=16
P4=1
131072=f1*16/1
F1=8192
0: Clockwise (CW)+Counterclockwise(CCW)pulse
1: Pulse + Direction
2: AB phase pulse (4x)(Quadrature Input)
This parameter is used to set the pulse numbers of encoder outputs per motor revolution.
value=10000(x4)