Lathe CNC Controller: Manual
Lathe CNC Controller: Manual
Manual
Ver:Jan. , 2014
TABLE OF CONTENTS
2 INSTRUCTION 2-1
I
HUST CNC H4D-T MANUAL
II
TABLE OF CONTENTS
5 CONNECTIONS 5-1
III
HUST CNC H4D-T MANUAL
8 APPENDIX 8-1
IV
1 MAIN FEATURES
This operator’s manual includes program editing, G/M code, parameter settings,
connections and maintenance (plus warn descriptions) with examples and
explanations for each command instruction.
If there are any problems in application, please fill out a problem sheet
indicating the natures of the problem. Send it by either fax or mail. We will
respond to you as soon as possible.
1-1
HUST CNC H4D-T MANUAL
1-2
2 INSTRUCTION
2 INSTRUCTION
Operating Diagrams
Power-on Display
You will see this image after the power is on like the illustration below:
Fig.2-1
Standby Display
After 3 seconds, you will enter the standby display. You can also obtain the same
image when you press “Reset” key like the image below:
Fig.2-2
2-1
HUST CNC H4D-T MANUAL
Press key “ Auto/ MDI” to enter the auto mode, the display is shown below:
Fig.2-3
Part numbers: each execution to M15 will add on one and execution to M16 will
return to zero. If users need to return to zero manually, please press the “0” key
2-2
2 INSTRUCTION
※ When part numbers reach to the parameter counting limit, O13 will output.
Part time: show the current executing time. After each program end or stop,
it will automatically return to zero when it restarts.
Press 『 Auto/ MDI』key twice to enter the MDI mode, the display is shown
below:
Fig.2-4
Press 『JOG/HOME』key twice to enter the home origin mode, the display is
shown below:
H4D-T display
Fig. 2-5
2-3
HUST CNC H4D-T MANUAL
Note: X and Z- axis will be displayed as reversal colors on the screen once they
are selected. The initialized screen display is set Z-axis for its starting of
origin mode.
Fig.2-6
Note: Press the key once more it returns back to continue jog mode.
2-4
2 INSTRUCTION
2. Manual Switch:
a. Spindle: Clockwise, Counter Clockwise, Stop.
b. Coolant: Press on and off key
c. Lubricant: Press the key and it will be provided after 1 second.
LED is the indicator for the operation.
Press “Edit/PRNO” to enter the edit mode, the display is shown below:
Fig.2-7
This screen mode can be edited directly (Please see the edit chapter for details).
a. Set-Re.N: In program edit mode, use cursor up and down to assign the
single command, press the key, then return the AUTO mode display. It will
execute the assign program when press the『RESTART』key .
b. Last-N: When stop the program(If press the Reset、EM-STOP key …),
press this key can find the last executed single program.
2-5
HUST CNC H4D-T MANUAL
Press twice 『Edit/PRNO』to enter the program mode, the display is shown
below:
Fig.2-8
2-6
2 INSTRUCTION
Fig.2-9
b. Use cursor up and down or page up and down to point at the source
program numbers.
c. Press Source key
d. Use cursor up and down or page up and down to select the purpose
numbers.
e. Press purpose key
f. After confirmation for both source and purpose of program numbers,
and press executing (Exec.) key. The copy is complete.
Press twice 『I/O/ MCM』key to enter I/O mode, the display is shown below:
Fig.2-10
Under this mode it can check the input status of the controller. (Color reversion
shows inputting.) Press output soft key, it will cut to the output status display like
the figure below:
2-7
HUST CNC H4D-T MANUAL
Fig.2-11
Under this mode it can check the output status of controller. (Color reversion
shows outputting.) Press input soft key, it again returns back to input status
screen.
Press
to change the
status
Fig.2-12
Press 『TOOL.Offset』to enter offset & wear compensation directly in the tool
compensation mode.
2-8
2 INSTRUCTION
Fig.2-13
Users can utilize the soft key to switch three different screen displays such as
tool wear, offset compensations and parameters under this mode.
Fig.2-14
2-9
HUST CNC H4D-T MANUAL
Fig.2-15
Fig.2-16
4. When the error occurs, the system will automatically switch to the error
dialogue box or press the D1 key for error messages.
Fig. 2-17
2 - 10
2 INSTRUCTION
Fig.2-18
Fig.2-19
6. The parameters page, It can into the page if you press the『SYSTEM-MCM』
key. Fig. 2-19
Enter the cipher code, then into the parameters page. Fig. 2-20
You can change the cipher code in this page.
Press the『Change the Password』key, then into the password revising page.
Fig. 2-21. It will be work if confirm the new password exactly.
※ You can used the [123456] code to into the parameter page and
change the password. If you first into this mode.
2 - 11
HUST CNC H4D-T MANUAL
Fig.2-20
Fig.2-21
Fig.2-22
2 - 12
2 INSTRUCTION
※ press the key 『TOOL.RADIUS』 to enter the work origin setting: Note that
this is only valid in the state of home origin.
Fig.2-23
Note: When mount the Tool above the Work-piece, it means the Upper Holder
(Rear Holder); when mounting under the Work-piece, 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 Work-piece (refer to Fig. 2-22). If the Tool is located at “Negative X
Direction” at the center of the Work-piece, then negative value should be
entered for the diameter (as per Example 2).
1. Clamp the Work-piece 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
Work-piece diameter, enter the diameter of X-Axis.
c. Press “X Tool Offset” key again and the Controller will calculate
automatically for writing the result in the designated Tool length offset
parameter.
2 - 13
HUST CNC H4D-T MANUAL
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 Work-piece).
3. Enter the length as 0.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.
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 Work-piece).
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 - 14
2 INSTRUCTION
AUTO mode press the key “ GRAPH “ to enter the graph mode display as
follows:
Fig. 2-24
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
R-Screen Middle Left; S-Screen Center; T-Screen Middle Right
G-Screen Lower Left; F-Screen Lower Middle; M-Screen Lower Right
3. Coordinate Plane Shift: Letter X-XY Plane, Letter Y-YZ Plane, Letter Z-XZ
Plane.
4. Clear the drafted working route: By pressing “Clear” key, you may erase the
drafted working track from the graph screen.
5. The drafting action will be divided into the the following two types:
“Hands-on Draft”, “Fast Draft”.
Shift Method: Under Draft Mode and before starting the program, press
“Fast” key (once for ON and press again for OFF).
2 - 15
HUST CNC H4D-T MANUAL
“Fast Draft”: Servo axis will be locked without displacement, but M, T and
S codes will be executed.
Such function is useful for initial working, as the operator can check if the
working route is correctly planned under absolute safe conditions.
Prior to cutting a machine part by using a CNC cutting tool, a computer program,
called a part program, must be created to describe the shape of the parts, which
is based on some kind of coordinate system. The cutting tool will then follow
these coordinates to do exact cutting. To create a part program, a concise
machining plan is a necessity, which includes the coordinates for the machine
part, coolant, spindle speed, tool type, I/O-bit, etc.. When design a machining
plan, the following factors must be considered:
1. Determine the machining range requirement and select the suitable CNC
machine tool.
2. Determine the work-piece loading method and select the appropriate
cutting tool and the tool holder.
3. Determine the machining sequence and the tool path.
4. Determine the cutting conditions such as spindle speed (S), federate (F),
coolant, etc.
A CNC controller will execute the commands exactly in accordance with the
instructions of the part program. So, the program design is the most important
2 - 16
2 INSTRUCTION
task in the whole CNC machining process. There are two ways to design a CNC
part program and are to be briefly described as bellows:
1. Manual Programming
Manual programming is a process that the whole process is manually done
by hand including the coordinate calculations. It follows this sequence.
2. Automatic Programming
Automatic programming is a process in which the design work included
coordinate calculation that is done by computer. It follows this sequence.
2 - 17
HUST CNC H4D-T MANUAL
A block of program can have one to several instructions and it has a general
form as follow. The block sequence number "Nxx" can be omitted. If you do not
key in the block number, Lathe has a special function "Auto-N" to automatically
generate the number for you during or after program editing (see chapter 6). The
program execution starts from top to bottom block and has nothing to do with the
order of block sequence number. Each instruction starts with an English letter
(A~Z), followed by a integer or floating number, depending on what type of
instruction the number is associated with. If the number represents a coordinate,
it can be positive (+) or negative (-).
N : block sequence
2 - 18
2 INSTRUCTION
G : function command
X, Z : coordinate position command (absolute position command)
U, V : coordinate position command (incremental position command)
F : Feed rate
S : Spindle speed
T : Tool command
M : Auxiliary command (machine control codes)
1. Function command:
G-code. A CNC command to instruct the cutting tool to do an action, such
as straight, circular or thread cut, compound cut, etc.
2. Position command:
X, Z, U, W. A coordinate command to instruct the cutting (Motion command)
tool to stop the cutting action at the location specified -- an end point. The
end point of the current block is the starting point of the next block.
3. Feed-rate command:
F-code. A command to instruct the cutting tool how fast to do the cutting.
4. Auxiliary command:
M, S, T, L, etc. A command to instruct the peripheral equipment to do an
action, such as spindle speed, coolant on/off, program stop, etc.
Note that not every block is composed by these four parts. Some have only one
command. We will have further discussions in chapter 3.
X-10.000
X : command code
“-“ : positive and negative signs(sign + can be omitted)
10.000 : destination point for tool position
Each command code has a fixed format and a special meaning to the CNC
controller and it must be strictly followed when designing a program. The system
will not accept the command if the format is in error. Otherwise, a machine error
will result. Followings are the command codes that are used in Lathe.
2 - 19
HUST CNC H4D-T MANUAL
The machining action of a cutting tool is accomplished when the tool is moving
along a specific path from point A to point B, which represents the shape or the
contour of a machine part. In order for the tool to follow the specific path, a
computer program describing the shape of the machine part must be created
and the shape or the contour is described by the Cartesian coordinate system.
2 - 20
2 INSTRUCTION
Lathe uses the customarily 2-D Cartesian coordinate system as shown in Fig
2-18, with Z-axis being the center of and parallel to the spindle axis and defined
as x=0. The other axis is X-axis and Z=0 can be anywhere along the Z-axis at
some convenient location for coordinate calculation. The intersecting point of the
two axis is the origin, X=0, Z=0. Depending on the location of the cutting tool with
respect to the spindle axis, the sign convention of the coordinate system is
shown in Fig 2-25.
+Z
M04 M03
CCW CW
G0 G0
+Z
+X Tool at the Front
Fig 2-24 is 3-D system (right-hand rule) with the intersecting point designated as
origin X=Y=Z=0. The direction of normal rotation for each axis is indicated by the
direction of the four fingers when you grab the axis by the right hand with your
thumb pointing to the (+) direction of that axis.
The instruction for tool position command in H4D-T series can be in either
absolute coordinate or incremental coordinate as follows:
Note : Diameter usually stands for X-axis of coordinate in Lathe CNC no matter
it is absolute or incremental.
2 - 21
HUST CNC H4D-T MANUAL
Absolute Coordinate
The origin is the reference. The coordinates of all points describing the shape of
the work-piece (machine part) are calculated from the origin. The coordinates
can be positive (+) or negative (-), depending on its relative position with respect
to the origin.
Incremental Coordinate
The coordinates of all points describing the shape of the work-piece (machine
part) are calculated from the end point of the previous block. They are the
amount of coordinate increase from the last point. The incremental coordinates
can be either positive (+) or negative (-), depending on its relative position with
respect to the end point of the previous block. They are positive (+) if the cutting
tool is going in the direction of U, W increment, negative (-), otherwise is in the
direction of U, W decrement.
Absolute Command:
38
30
P P
10
P
16
13
P
5
Z
X0. ZO. P
2 - 22
2 INSTRUCTION
Increment Command:
38
30
P P
10
P
32/2
24/2
P
10/2
Z
P
Mixed Usage:
In the absolute coordinate, the calculation error of one point will not affect the
positioning of next point. In the incremental coordinate, however, an error of a
point will affect the positioning of all subsequent points. There isn't any rule as to
when to use the incremental or the absolute coordinate. The mixed use of both
coordinates appears to be the most convenient.
The work origin is the coordinate origin as described before. It is also called the
program origin. This is the reference point for all coordinate calculations and the
2 - 23
HUST CNC H4D-T MANUAL
The work origin can be anywhere inside the machine working range. The user
should determine the location of this point before making any coordinate
calculations. Once the origin is selected, store the coordinate of this point with
respect to the machine origin in MCM parameter #1 (see Chap 4). The best
selection is the one that will make the coordinate calculation simple and easy.
Z
1 3 2
Machine Origin
The machine origin is the HOME location for the cutting tool. This is the
reference point for the coordinate determination of the work origin and the tool
2 - 24
2 INSTRUCTION
The exact location of the machine origin is determined by the location of the
home limit switch on each axis. When user executes X and Z Home on a Lathe
CNC controller, the cutting tool will move to the machine origin. The exact
distances between the machine origin and the work origin must be accurately
measured using a fine instrument, such as a linear scale. Otherwise, the
completed part will be in an error.
When the electric power is interrupted for any reasons, execute HOME on each
axis before resuming any cutting.
Z HOME X
Machin origin Z
X HOME
Work origin
+Z
Metric, mm
Min. setting unit 0.001
Max. setting unit 9999.999
Min. moving unit 0.001
Max. moving unit 9999.999
Max. setting 9999.999
2 - 25
HUST CNC H4D-T MANUAL
H4D-T controller can store a maximum of 999 programs with number O0~O999.
You can select any one of the programs for editing or execution. The program
selection process is described as follow.
Press 『EDIT/PRNO』 key twice in 0.5 seconds to enter PRNO mode, move the
cursor to the desired program and press the input key. The LCD display is shown
as
2 - 26
2 INSTRUCTION
Fig.2-31
Under PRNO mode, the program note can be entered up to 12 different letters
and numbers.
Example: If you put the note “ TYPE-201” after 001, the instruction is as follows.
When a new program has been selected, press EDIT key to be in editing mode.
The LCD screen will be blank with cursor pointing at the first line to be entered
as in Fig 2-32.
Fig.2-32
2 - 27
HUST CNC H4D-T MANUAL
1. Function keys.
2. Numeric keys, 0~9
3. CURSOR and CURSOR keys for data inspection in the same block.
4. PAGE and PAGE keys for data inspection between lines.
5. NEW LINE key -- Establishing or inserting a new block anywhere in the
program.
Key in a function code, then press NEW LINE to establish a new line.
6. INPUT -- For entering a data or a function in the established block.
Key in a function code, then use INPUT to enter more data into the
established line.
7. DEL -- For deleting a block (line) of program.
You can edit a program with or without block number. Following is an example
program to explain the keystrokes required to edit a new program in the
controller.
Ex: Program 1
N1 G0 X0. Z0.
N2 G4 X1.
N3 G0 U480. V-80.
N4 G4 X1
N5 M99
Keystrokes: (Ignore the sign "-" below. It's there for clarity)
1. Please confirm the edit status and press Edit key to enter in the controller.
N1 G0 X0. Z0.
2. Enter first block information G – 0 – NEW LINE
It is a new establishing block. Thus, users need to enter NEW LINE key.
After this step, the LCD screen is shown as Fig 2-32.
2 - 28
2 INSTRUCTION
Fig.2-33
And enter:
X 0 ‧ INPUT
Z 0 ‧ INPUT
Key-strokes for the remaining blocks are as follows.
1. N2 G4 X1.
(A) G - 4 - NEW LINE
(B) X - 1 - - INPUT
2. N3 G0 U480. W-480.
(A) G - 0 - NEW LINE
(B) U - 4 - 8 - 0 - - INPUT
W- "" 4 - 8 - 0 - -INPUT
(The negative sign "-" here can be input anywhere before pressing INPUT
key)
3. N4 G4 X1.
(A) G- 4 - NEW LINE
(B) X - 1 - - INPUT
4. N5 M99
(A) M - 99 - NEW LINE
During program editing, you can use CURSOR , CURSOR key to check the
input data within the block. Use PAGE, PAGE to move up and down the block
(line). When you finish editing the entire program, press RESET key to exit.
2 - 29
HUST CNC H4D-T MANUAL
Let's use Program O001 of previous section as our example for program
revision.
To revise or add a function, simply key in the function code and the correct
number, then press INPUT key.
Fig 2-34
F- 0 - ‧- 2 - INPUT
U-3–6-0-- INPUT
Delete a Function
2 - 30
2 INSTRUCTION
Fig.2-35
To insert a program block, key in the block number (or any function) and use
NEW LINE key to establish the block. Then use INPUT key to input the rest of
data for the block.
2 - 31
HUST CNC H4D-T MANUAL
Fig 2-36
To delete a block, use PAGE, PAGE key to move cursor to the block that you
want to delete and press DEL key. For example: Delete N31 U480 W-480. from
last example.
Fig.2-37
Delete a Program
Move the cursor to the program that you want to delete it in PRNO mode and
press DEL. The LCD display is shown as fig.2-38
2 - 32
2 INSTRUCTION
Fig.2-38
In the meantime, press Y and clear the content of the 002 program. The key N
remains the same.
If you want to delete all programs- 0~999, follow the procedures below:
Enter MDI mode, and give G10 P2001 command.
Then all the content of the program are cleared immediately.
Note: After completing the procedure, all the program data in memory will be
vanished. Therefore, do not use this program if it is not necessary.
Numerical input has two formats such as integer and decimal with a maximum of
7 digits. If you input the numbers in accordance with the format required by the
controller, the number will be entered correctly. You cannot enter a decimal point
for a number that requires an integer format. So, the only occasion that may
cause error input is the one that you enter an integer for a decimal format.
Described more in detail below.
The decimal input such as X, Y, I, J is left blank, the content of the controller will
automatically move back to the decimal points of last format with dot at front.
The table below shows the decimal numbers recognized by the controller after
internal process for some integer inputs.
2 - 33
HUST CNC H4D-T MANUAL
X2 X0.002 mm
Z35 Z0.035mm
U2500 U2.500 mm
W125. W125.000mm
F300 F0.3 mm/min
The numerical formats for the function codes used in Lathe system are listed
below. To avoid any potential error, please use the specified format as follow
when key in data. The number "0" after decimal point can be omitted.
Note: TO avoid the confusion, apart from integer inputs such G, M, N, S, the rest
of the inputs should be entered by decimal points. The number "0" after decimal
point can be omitted.
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
2 - 34
2 INSTRUCTION
Program Block
1. Do not use two G-codes in the same block. If more than one G-code exists
in a block, only the last one is effective.
2. Do not repeat any position code in the same block. The position codes are
X, Y, Z, U, V, I W, J and R.
3. If you specify absolute coordinate and incremental coordinate for the same
axis in a block, only the incremental coordinate will be executed.
Example: G1 X100. U50. -- U50 will be executed.
4. Do not exceed 80 bytes of data input for a single block. Otherwise, the CNC
controller will show an error message Err-08 at the bottom of the screen.
2 - 35
HUST CNC H4D-T MANUAL
2 - 36
3 G/M Codes
3 G/M Codes
The previous chapters have introduced the format of part programs. This chapter
will describe the command codes of the H4D-T series and provide simple
examples for each command to explain its applications.
The definition of G-codes in the H4D-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 H4D-T Manual
3-2
3 G/M Codes
G-code Function
★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 H4D-T Manual
Format:
1
G00
Z 2 U
X W
Z
Details:
1. 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.
2. The speed of positioning is set by a machine parameter.
3. 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.
G0 X4.00 Z5.60 ...X and Z-axes are set with absolute commands
G0 U-6.00 W-3.05 ...X and Z-axes are set with incremental commands
3-4
3 G/M Codes
G0 X4.00 W-3.05 ...X and Z-axes are set with absolute or incremental
commands
x
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.
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 H4D-T Manual
The F-code can be used in the G00 block without affecting the fast positioning
movement.
Details:
1. 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.
2. 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.
3. 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.
U
X feed-rate, Fx F (1)
U 2 W 2
W
Z feed-rate, Fz F (2)
U 2 W 2
3-6
3 G/M Codes
X
2.0
B
A
4.6 1.00
Z
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 H4D-T Manual
X
Z R
E
End
X/2 S
Start
Z
Details:
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 I=X-axis, K=Z-axis
I, K
3 start point to center Radius range
R
Arc radius -9999.~9999.mm
4 Minimum setting 0.01
Arc feed-rate F
mm/rot.
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
3. 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 X
S
I
Center Z
K
3-9
HUST CNC H4D-T Manual
Example:
1. 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
2. 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
Z
Fig. 3-10 Arc cutting
3 - 10
3 G/M Codes
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
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:
The minimum dwell time is 0.001 sec, the maximum is 8000.0 seconds.
3 - 11
HUST CNC H4D-T Manual
Form :
U,W : The parabola the end of the incremental value relative to the
starting point of the single block.
3 - 12
3 G/M Codes
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 H4D-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
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:
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 H4D-T Manual
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:
Program Format:
3 - 16
3 G/M Codes
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
N90 G16 C0 … Cylinder Interpolation disable
N100 M51 … Switch into spindle mode
……
Note
3 - 17
HUST CNC H4D-T Manual
3 - 18
3 G/M Codes
Program Example:
3 - 19
HUST CNC H4D-T Manual
This command is for selecting a control plan or the plane where an arc is
located.
Program Format:
1. 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
2. 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 H4D-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
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 H4D-T Manual
nd st
2 reference point 1 reference point
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.
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.
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)_____
Execution of this command is the same as G28, but the reference point is set in MCM
parameter G30. (See Fig 3-15)
3 - 25
HUST CNC H4D-T Manual
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 H4D-T Manual
X
17/2 mm
3 3
Z
20 mm
Specifications:
Thread pitch F=2 mm
Cutting lead starts S1 = 2 mm,
3 - 28
3 G/M Codes
2
40 33 2 24 Z
30 40
G00 Z0.
M03 S3000 ; Quick positioning to start point
G32 Z50.F1. ; Thread of first stage
G32 Z100.F2. ; Thread of second stage
3 - 29
HUST CNC H4D-T Manual
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.
Command Format:
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
3 - 30
3 G/M Codes
Command Format:
Fig.3-20
3 - 31
HUST CNC H4D-T Manual
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)
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
3 - 32
3 G/M Codes
X
17/2 mm
3 3
Z
20 mm
2
40 33 2 24 Z
30 40
3 - 33
HUST CNC H4D-T Manual
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,
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.
ST nd
nd
The transition from 2 stage to The transition from 1 stage to 2
rd
3 stage is a smooth stage is a smooth connection.
3 - 34
3 G/M Codes
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.
This command group executes repeated cutting with a block. It should end with
G01 after use; otherwise, the cutting cycle will repeat.
Format:
3 - 35
HUST CNC H4D-T Manual
X W
Z
D A
4
3 1 U/2
C 2 B
X/2
Z
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 - 36
3 G/M Codes
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
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 - 37
HUST CNC H4D-T Manual
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 - 38
3 G/M Codes
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.
Format:
3 - 39
HUST CNC H4D-T Manual
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 - 40
3 G/M Codes
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
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 - 41
HUST CNC H4D-T Manual
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 - 42
3 G/M Codes
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-fast feeding at
F– rate
U/2
A1
W
3 - 43
HUST CNC H4D-T Manual
Details:
B A A B
U+,W+ U+,W-
Z A A
A A
U-W+ U-W-
B A A B
3 - 44
3 G/M Codes
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
M05 S0
M30
3 - 45
HUST CNC H4D-T Manual
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-fast feeding
at F – rate
(G00)
e
G70 fine cut (program) path
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:
3 - 46
3 G/M Codes
B B
U-,W+ U-,W-
A A A1
A1 X
A1 A A A1
Z
U+,W+ U+,W-
B B
X
(108/2,130)
G72, G70 start/end point
G70 fine cut path
Tool change start point
100 75 50 25 2 Z
Reserved for fine cut
45 15 15 15 20 20
3 - 47
HUST CNC H4D-T Manual
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
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) .....
3 - 48
3 G/M Codes
Parameters:
k+w
C
A~ C retraction distance
1,2,3 feed sequence
1 i+u/2
2
3
A
u/2
A1
w
3 - 49
HUST CNC H4D-T Manual
Details:
X (120/2,150)
4.67=14/3
G70 fine cut path
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.
3 - 50
3 G/M Codes
Z160.
T0303
G00 X120.
Z150.
G70 P100 Q200
M5 S0
M30
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 - 51
HUST CNC H4D-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 - 52
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.
The G75 function is the same as G74 except that the positioning direction of G75
is on the X-axis.
3 - 53
HUST CNC H4D-T Manual
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:
k/2
U/2
k/2
C
X/2
Z
3 - 54
3 G/M Codes
3 - 55
HUST CNC H4D-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
Parameters:
3 - 56
3 G/M Codes
(1) What must be noted is that length of the path DE (U/2) must be greater than
the length of the chamfer.
(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
3 - 57
HUST CNC H4D-T Manual
(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
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
3 - 58
3 G/M Codes
Notes on thread cutting are identical to G32 and G92. The chamfering settings
are also applicable to G92 thread cutting canned cycle.
Format:
G50 S____
3 - 59
HUST CNC H4D-T Manual
Format:
Example:
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).
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
3 - 60
3 G/M Codes
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.
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.
Format:
G97 S____
This function maintains the spindle speed defined by S. It cancels the constant
surface cutting speed at the same time.
The feed-rate F in H4D-T turner series is defined by G98 and G99. G99 is the
default value. The conversion formula is:
Fm = Fr * S
3 - 61
HUST CNC H4D-T Manual
Format:
Format:
Parameters:
Pause time
Fig 3-48
3 - 62
3 G/M Codes
Format:
R
S
Pause time
1. Parameters:
3 - 63
HUST CNC H4D-T Manual
G84 and G80 are used in pairs. If G80 is missing, program will report an Err18.
3 - 64
3 G/M Codes
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, H4D-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.
M50 Set Spindle 1 to Servo Axis Mode.
3 - 65
HUST CNC H4D-T Manual
M-CODE Function
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 - 66
3 G/M Codes
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.
Format:
P : Subprogram number
L : Execution times of the subprogram. If not defined, the
3 - 67
HUST CNC H4D-T Manual
Stepwise Call: the main program calls the first subprogram, and the first
subprogram calls a second sub-prgrams. The H4D-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… .
Format:
Table 3-11
Compensation Compensation Cancel
Set
Without Turret T□□ T00
With Turret T○○□□ T○○00
3 - 68
3 G/M Codes
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.
Comp. Starts
N30
N20
N10
Path of program ref. point before comp.
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:
3 - 69
HUST CNC H4D-T Manual
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.
Fig 3-52
Program Format:
3 - 70
3 G/M Codes
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)
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.
3 - 71
HUST CNC H4D-T Manual
Direction-3 Direction-4
Or simplified as below
2 6 1
Direction-5 Direction-6
7 0 9 5
Direction-7 Direction-8 3 8 4
X
End Point
Programmed path or
Machining shape with no machining shape with tool
tool nose radius compensation nose radius compensation
Fig 3-55
3 - 72
3 G/M Codes
End Point
Fig 3-56
When compensation is disabled and all the following conditions are met, tool-tip
radius compensation starts:
Machining
program
Starting to pre-read
2 to 5 blocks ahead
Pre-read
buffer
Execution
block
Fig 3-57
3 - 73
HUST CNC H4D-T Manual
Note: The often seen terms, Inside and Outside, are defined as follows:
Inside: Two movement program-sections having an intersecting
0
angle larger than or equal to 180 .
Outside: Two movement program-sections having an intersecting angle
0
within 0~ 180 .
Inside Outsid
Fig 3-58
3 - 74
3 G/M Codes
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 - 75
HUST CNC H4D-T Manual
~
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_
N3 G03 I_ K_ F_ Tool-tip radius center path
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 - 76
3 G/M Codes
Program path
Program path
Program path
Fig 3-63
3 - 77
HUST CNC H4D-T Manual
4. Chamfer outside (obtuse angle) G41.G42 exists in the same block with a
move command:
Fig 3-64
3 - 78
3 G/M Codes
Type A Type B
Tool-tip radius center path Tool-tip radius center path
Fig 3-65
3 - 79
HUST CNC H4D-T Manual
6. Chamfer outside (acute angle) G41.G42 exists in the same block with a
move command:
Type A Type B
Fig 3-66
3 - 80
3 G/M Codes
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 - 81
HUST CNC H4D-T Manual
Tool-tip radius
center path
Tool-tip radius center path
Program path
Program path
Tool-tip radius
Tool-tip radius center path
center path
交點 Type A / B Arc center
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 - 82
3 G/M Codes
LineLine
Tool-tip radius
center path Intersection
point
Program path
LineArc
Program path
3 - 83
HUST CNC H4D-T Manual
When tool-tip radius compensation is enabled and all the following conditions
are met, the tool-tip radius compensation can be disabled:
3 - 84
3 G/M Codes
Program path
Program path
Program path
Program path
Fig 3-70
3 - 85
HUST CNC H4D-T Manual
LineLine ArcLine
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 - 86
3 G/M Codes
Type A Type B
Program path
Program path
Fig 3-72
3 - 87
HUST CNC H4D-T Manual
4. Chamfer outside (obtuse angle) G40 and move command in the same
block:
Type A Type B
LineLine LineLine
Tool-tip radius center path Tool-tip radius center path
Program path
E E
ArcLine ArcLine
Tool-tip radius Tool-tip radius
center path center path
E E
Arc center Program path Arc center Program path
Fig 3-73
3 - 88
3 G/M Codes
Type A Type B
Tool-tip radius center path Tool-tip radius center path
Fig 3-74
3 - 89
HUST CNC H4D-T Manual
6. Chamfer outside (acute angle) G40 and move command in the same block:
Type A Type B
LineLine LineLine
Tool-tip radius center path Tool-tip radius center path
E E
ArcLine Tool-tip radius center path ArcLine Tool-tip radius center path
Arc center Arc center
E E
Fig 3-75
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.
3 - 90
3 G/M Codes
Details (Ex.)
Avoidance path
Tool diameter
Cutting with N2
Cutting with N2
Fig 3-77
An interference alarm occurs when any of the following conditions take place:
1. Interference check alarm selected: In the event of interference, an alarm is
issued before the block of interference in the program.
3 - 91
HUST CNC H4D-T Manual
Issues alarm
and stop
Fig 3-78
Issues alarm
and stop
Fig 3-79
3 - 92
3 G/M Codes
Solid line:
The path after interference avoidance
Dashed line:
The path before interference avoidance
Fig 3-80
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 - 93
HUST CNC H4D-T Manual
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 Start point
8
R=25
6 5 4
3
Z
2 1
Fig. 3-81
3 - 94
3 G/M Codes
Command Format:
Command Description:
G52
(Local Coordinate System Setting)
G54
(Work Coordinate System)
Fig. 3-82
3 - 95
HUST CNC H4D-T Manual
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.
Command Format
3 - 96
3 G/M Codes
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.
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:
3 - 97
HUST CNC H4D-T Manual
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 simplified calculation of coordinates in the process
program.
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 - 98
3 G/M Codes
Y
Mechanical
-90 -80 -70 -60 -50 -40 -30 -20 -10 Origin
X
R7 G54
-10
-20
G55
-30
G59
-40
G56 G57
-50
-60
G58
-70
Program Example:
3 - 99
HUST CNC H4D-T Manual
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.
In 2 consecutive blocks, the “,C_” command in the first block executes a corner
chamfer, “,C_” stands for the length from the assumed starting point to the end
point of the chamfer.
Command Format:
Where:
G0x : can be any of the G00, G01, G02, and G03 commands.
,C_ : is the length from the assumed starting point to the end point of the
chamfer.
3 - 100
3 G/M Codes
Program Example:
1. Line-Arc
Unit (mm)
Fig. 3-85
2. Arc-Arc
Hypothetical corner
intersection point
Unit (mm)
Fig. 3-86
3 - 101
HUST CNC H4D-T Manual
Command Format:
Where:
G0x:can be any of the G00, G01, G02, and G03 commands.
,R_ : is the radius of round-angle chamfer.
Program Example:
1. Line-Arc
Unit (mm)
Fig. 3-87
3 - 102
3 G/M Codes
2. Arc-Arc
Unit (mm)
Fig. 3-88
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 - 103
HUST CNC H4D-T Manual
Program Example:
Fig. 3-90
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.
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.
EX1:
N1 G01 X___,A___,C___
N2 G03 X___ Z___ I___ J___
3 - 104
3 G/M Codes
Fig. 3-91
EX2:
N1 G01 X___,A___,R___
N2 G03 X___ Z___ I___ J___
Fig. 3-92
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 - 105
HUST CNC H4D-T Manual
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.
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
3 - 106
3 G/M Codes
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 - 107
HUST CNC H4D-T Manual
EX1:
N1 G01 Xx2 ,Aa1
N2 G01 ,Aa2N3 G01 Xx3 Zz3 ,Aa3
Fig. 3-96
Command Format:
Note:
P, Q: the absolute coordinates of centers of arcs of the X, Z-axes
H:Line-arc intersection selection
1:Using the shorter line as the intersection.
3 - 108
3 G/M Codes
Fig. 3-97
Details:
EX1:
N1 G01,A___,C___
N2 G03 X___ Z___ P___ Q___ H___
Fig. 3-98
3 - 109
HUST CNC H4D-T Manual
EX2:
N1 G01,A___,R___
N2 G03 X___ Z___ P___ Q___ H___
Fig. 3-99
3 - 110
4 MCM PARAMETERS
4 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.
I/O
Quickly press the MCM
key twice to enter the parameter setting screen,as
shown below:
Fig 4-1
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 to restart the machine when the MCM parameter
is successfully set
4-1
HUST CNC H4D-T MANUAL
passwordinitial value 123456 and you can revise the system parameters.
4-2
4 MCM PARAMETERS
4-3
HUST CNC H4D-T MANUAL
4-4
4 MCM PARAMETERS
When using G83 drilling command, the corresponding axis will move
quickly from G00 for converting to the buffering distance setting of G01
feeding.
This parameter is for setting the scale of the graph in the graph mode.
This parameter is an initial setting; for dynamic adjustment, you may press
PageUP/PageDown button in the graph screen for alteration.
When editing the program, the line number set for the first node system
shall be "N1". If setting the parameter of this item as "10", then the line
number of the second node will be "N10".
4. The interval value obtained from setting the line number during program editing.
Format = □(default value: 0)
To set Item 3 as “10” during program editing, such parameter will be set as
“10”; so the line number when inserting Node 2 will be “N10”, and that for
Node 3 will be “N20”, and so on for the rest of the other nodes.
4-5
HUST CNC H4D-T MANUAL
To execute the count, please add M15 in the working program (placed at
the end of each processed Workpiece).
If receiving M15 Command when running the program, the system will add
"1" to the number of the processed Workpieces automatically. Upon
reaching the upper limit set for the Workpiece, 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. In Auto page, click the “0” key twice and the worked count will be
cleared and set to zero.
b. Restart the program. You may also clear and set the worked count zero
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 zero.
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
executing the subsequent block, the setting needs to be increased.
4-6
4 MCM PARAMETERS
9. Whether or not wait for spindle to reach full speed before performing axial
feed
Format = □ (default value: 0)
Setting = 0, proceed the subsequent block without waiting for the full speed
of the spindle
Setting = 1, proceed with the subsequent block after the spindle reaches
full speed
For general cutting commands, axial 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 subsequent block after the spindle reaches full speed
Since general drawings indicate drills by its radius, setting this parameter to
0 may facilitate the programming process. The customer may alter this
parameter according to the actual requirements, 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.
4-7
HUST CNC H4D-T MANUAL
Under Manual Mode, set this parameter to facility the site Tool change (e.g.
for T1→T8, set as “1”).
To check if the “I Point” required for Tool change is working normally when
performing the CW and CCW 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). When 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 G04
command existing before the re-start block shall be executed or not when
4-8
4 MCM PARAMETERS
the program re-start function is enabled. The user may freely set this
parameter based on actual needs.
When the parameter is set to “0”, the MTS G04 command before the re-start
block will be omitted.
When the parameter is set to “1”, the MTS G04 command before the re-start
block will be executed normally.
An M98 command (call sub-program) prior to the re-start block will not be
carried out if this parameter is set to 1.
Set to “0”" System retrieves a prior block when the re-start button is
pressed. Program goes to the block prior to the re-start block
and executes the prior block and the subsequent program.
Set to “1”" System starts execution from the re-start block without
retrieving the block prior to the re-start block.
When G41, G42 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-9
HUST CNC H4D-T MANUAL
4 - 10
4 MCM PARAMETERS
Tooth Count Ratio 5:1 (5 rounds for Servo Motor, 1 round for Guide Screw)
5000 1
Resolution = ×
2500×4 5
1
=
10
5000 1
Resolution = ×
10000 5
1
=
10
X-axis Resolution: Denominator Set Value = 10
X-axis Resolution: Numerator Set Value = 1
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
4 - 11
HUST CNC H4D-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
In the homing process, the speed for an axial movement from the current
position to the position where the origin-switch is touched.
The speed the feedback device searches for Grid zero after the axial
position leaves the origin-switch in the homing process.
Items requiring 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 exceed the proximity switch and this
results in a HOMING error.
The formula and an example for calculating the length of origin-switch are
as follows:
4 - 12
4 MCM PARAMETERS
Set this parameter to adjust the homing direction if the user finds the
homing direction is not correct.
39. The direction that Servo Motor motor search the Grid when X-axis going
back to HOME.
40. The direction that Servo Motor motor search the Grid when Z-axis going
back to HOME.
41. The direction that Servo Motor motor search the Grid when Y-axis going
back to HOME.
Format = □□□ (default value: 0), Scope: 0, 1, 128, 256.
4 - 13
HUST CNC H4D-T MANUAL
The speed for returning to HOME will be divided into the following 3 sections (as
per Fig. 4-11):
Section-1 Speed: Set in “HOME Return Speed 1” system parameter and the
direction will be set in “HOME Return Direction”.
Section-2 Speed: When the speed of Section 1 is reduced to “0”, the speed of
Section 2 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 of “Encoder Find Zero Direction”.
Section-3 Speed: Used for finding the speed of zero-point (GRID) for Feedback
Device, which will be set by the System Parameter of “HOME
Return Speed 2”; its direction will be determined according to
the value contained in the system parameter of “Encoder Find
Zero Direction”.
The customer must notice that when returning to HOME, 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 Limit Switch and generate incorrect HOME-returning
phenomenon.
Listed below is the example explaining Limit Switch length calculation formula
and calculation method:
4 - 14
4 MCM PARAMETERS
Fig. 4-11 (A): HOME Return Speed and Find Zero (GRID) Direction
Tool Position
Section-
2
Leave Limit Switch
Speed: HOME Return Speed 1 x 1/4
Encoder Find Zero Direction: 128
Fig. 4-11 (B): Machine HOME Return Speed and Find Zero (GRID) Direction
4 - 15
HUST CNC H4D-T MANUAL
Tool Position
Fig. 4-11 (C): Machine HOME Return Speed and Find Zero (GRID) Direction
Speed
Touch Limit Switch
Section-1: HOME
Return Speed
Section-3 Section-2
Tool Position
Fig. 4-11 (D): Machine HOME Return Speed and Find Zero (GRID) Direction
Example: If the distance after X-axis Servo Motor turns for 3/4 round is
5.000mm, then Parameter 42 will be 5.200.
Note: If the Servo Motor fails to find out the Grid point after exceeding
the set scope, then the system will display “ERR 15” alarm message.
4 - 16
4 MCM PARAMETERS
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).
EM-TOP
Actual Hardware
Software OT Limit
EM-TOP
5~10mm each
5~10mm each
Fig. 4-12
4 - 17
HUST CNC H4D-T MANUAL
57. Max. value of U, W tool compensation can be entered during the operation
Format = □.□□□ (default value: 2.000, Max. value is 2.000, unit: mm)
Alteration of tool compensation data during the operation can only be made
with incremental method. This parameter is used to set a maximum value
for preventing tool collision.
Setting value =0.000, denotes no alteration of tool compensation data
during the operation.
Note: The screw offsetting will be allowed only one direction at a time.
4 - 18
4 MCM PARAMETERS
1000 mm
Therefore, the average length of each section is 100mm. It means that the
set value of “X-axis Screw Pitch Error Offset per Distance Section” is X =
100.000; in which, the offset of each section is set by parameter items (as
per Fig. 4-8, Section 01~10) and Section 11~40 must be set as zero.
4 - 19
HUST CNC H4D-T MANUAL
For the Spindle of Voltage-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 - 20
4 MCM PARAMETERS
Such parameter can be used to set the Spindle jogging speed under
Manual Mode.
For a voltage type open-circuit spindle, the motor needs not to search for
the GRID point (encoder signal in Z-phase); for pulse type spindle and
voltage type closed-circuit spindle, this parameter can be set according to
actual needs.
Use this parameter to set the rotation direction of motor for search of GRID
point (encoder signal in Z-phase).
Use this parameter to set rotation speed of motor for search of GRID point
(encoder signal in Z-phase)
Use this parameter to set the rotating direction for spindle orientation in
manual mode.
4 - 21
HUST CNC H4D-T MANUAL
Use this parameter to set rotation speed for spindle orientation in manual
mode.
4 - 22
4 MCM PARAMETERS
EX1: 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 10000.
In the above example, spindle rotates 1 turn when the spindle motor rotates
0.75 turns, meaning that the controller only needs to send out 7500 pulses
for the spindle to rotate 1 turn. Therefore, the parameter shall be set to
7500 instead of 10000. 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 7500. For the above conditions, suppose the
encoder is installed at the spindle end instead of the electric machine end,
and the encoder is of 1024 lines, then the number of pulses in the spindle
feedback shall be set to 4096 (=4*1024).
81. Set up the Turret type by the actual condition of the machine
Format =□ (default value: 0).
Setting = 0: Tool Row
Setting = 1: Electrical Turret
Setting = 2: Hydraulic Turret
Setting = 3: Electrical Turret 2
4 - 23
HUST CNC H4D-T MANUAL
alarm signal. To remove the alarm, please refer to the function alarm
described in Chapter 6.
User may make adjustment 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 execution. In case exceeding the upper limit, an
alarm “protection limit exceeded” will be issued.
88. Set the maximum rpm at which the chuck can be moved
Format = □□□ (default value: 100, unit: rpm)
Range: (0~500rpm)
EX:
A subsequent block to an M05 (Spindle Stop) command is M10 (chuck
loosen) command in the program; if this parameter is set as “100”, the
chuck can be loosened when the spindle decelerates to 100rpm; if the
parameter is set as “0”, the chuck can only be loosened until the spindle
comes to a full stop.
4 - 24
4 MCM PARAMETERS
When screen saver is enabled, the screen automatically enters sleep mode
when the controller remains untouched for 10 minutes, for prolonging
lifespan of the screen. Pressing any key will resume the display.
90. Set the type of Chuck Disc according to the actual conditions of the machine
Format = □ (default value: 0)
Setting = 0: Hydraulic Chuck Disc
Setting = 1: Ordinary Chuck Disc
91. If to startY-axis
Format = □ (default value: 0)
Setting = 0: No start
Setting = 1: Start
When setting as “1” for starting the Multi-function Hand Wheel, the
adjustment of Hand Wheel multiple and the selection of axis will be
determined by pressing the Multi-function Hand Wheel multiple selection
and axis selection key.
93. Retention
If G98 is the default mode, decimal point is not allowed in the F value. If F
value is set for pitch, add 3 “0” to the end, (Input of F500 indicating the pitch
value is 0.5 mm).
If G99 is the default mode, decimal point is allowed behind F.
4 - 25
HUST CNC H4D-T MANUAL
User may set according to actual tool position. See description of pair-tools
for details about front and rear tool supports.
Suggest that the user shall set this parameter to “2, A/B phase”
4 - 26
4 MCM PARAMETERS
Setting range: 2~3000 ms, suggest to set both G00 and G99 to 100.
102. Retention
If system output is about --0.1V at system speed S0, then voltage zero
parameter (X) is: 20 (0.1V = X * 10V/2048). Adjust output voltage to be as
close to 0V as possible at system speed S0. This parameter is normally set
to 21.
The above operation is for providing the user with a general method. For
the substantial inverter, the user may use these parameters freely to adjust
the speed.
4 - 27
HUST CNC H4D-T MANUAL
If the handwheel has a wrong direction after connecting the wires, use may
alter the direction by setting this parameter.
Example: In the editing program under N10 line number, the Spindle
performs CW rotation at 1000 RPM per minute. If setting this parameter as
“0”, then “N10 M03 S1000” will be displayed, with space between the line
number and the respective command code:
For example:
Setting = 0: Every axis will not return to HOME.
Setting = 1: X-Axis is returning to HOME.
Setting = 4: Z-Axis is returning to HOME.
Setting = 5: X/Z-Axis is returning to HOME.
108. Retention
4 - 28
4 MCM PARAMETERS
The spindle feedback filter is constant when executing an arc cutting in the
G99 mode
For a setting =n, system performs a re-calculation only when the number of
feedback pulses exceeds n.
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. Enabling this function can effectively protect the machine
against over-travel resulting from a servo error.
4 - 29
HUST CNC H4D-T MANUAL
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 reach full speed before performing axial feed” and “Enabling
special acceleration/deceleration form”.
4 - 30
4 MCM PARAMETERS
Fmax = 0.95 × Axial servomotor max. speed × axial pitch ÷ gear ratio
EX: X-axis servomotor max. speed is 3000 rpm, guide screw is 5 mm,
gear ratio is 5:1 (servomotor turns 5 revolutions, guide screw turns
1 revolution)
Fmax = 0.95×3000×5÷5 = 2850. Recommended setting is 2850.
4 - 31
HUST CNC H4D-T MANUAL
In case the spindle speed indication displays normal but spindle position
displays abnormal, try to alter this parameter from “0” to “1”, see if the
position becomes accurate.
Example
Assuming C-axis is the rotating axis and the angle when rotating for one
round is 360.00 degrees.
Motor Encoder = 1024 Pulse in multiple =4, and the Spindle feedback pulse
count must be set as “4096”.
Tooth Count Ratio: 5:1 (Every 5 rounds of Servo Motor rotation will drive
C-axis to rotate for 1 round).
36000 1
Resolution = ×
1024 × 4 5
36000
=
4096
4 - 32
4 MCM PARAMETERS
The customer can set such parameter at moderate value according to the
Spindle Encoder installed for the machine and the required maximum
Spindle speed.
127. Retention.
Scope: -9.999 ~ 9.999 mm, which can be used to remove the reverse gap
of the stud.
When performing reverse action, certain gaps may exist in the stud. In this
case, such parameter can be used to make correction.
It is mainly used to set the feedback direction of X/Y/Z axes in order to save
the trouble of line change.
Note: If the axis rotation direction is set at “1”, it is necessary to change
such parameter as “1” to avid confusing the feedback signal.
4 - 33
HUST CNC H4D-T MANUAL
If deviation frequently happens to the position before and after the HOME
returning during the returning process and where the deviation length
equals to the travel of one-round Servo Motor rotation, then such parameter
can be adjusted to solve the aforesaid problem. In this case, the set value
will be 0-0.5x of the travel of one-round Servo Motor rotation.
During 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 G02 or G03 or the 00, 900, 1800 and 2700 Closed Angle
phenomenon on the cutting surface of the Workpiece during round hole or
cylindrical cutting for G02 or G03.
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
4 - 34
4 MCM PARAMETERS
curve. The said offset level and time constant will be determined by the
aforesaid three sets of parameters.
Forward Offset Value: Execute the offset when the axis returns from the
reverse action for moving towards the forward direction.
Reverse Offset Value: Execute the offset when the axis 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. When setting such parameter at zero, the system will
compensate the said offset within one acceleration/deceleration cycle.
The Arc Closed Angle offset function (0: Close; 1: Open) is used to control
the availability of the aforesaid parameters.
When the thread reaches the end point under the command of G92, such
parameter is used to set the acceleration/deceleration time when X, Z axes
are making fast thread tail retreating.
After activating the Spindle, if the working program does not execute the
Spindle stop command before completing the program running, then such
parameter can be used to stop the Spindle.
4 - 35
HUST CNC H4D-T MANUAL
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.
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: 0)
0: No need to disconnect the power of Servo Motor.
4 - 36
4 MCM PARAMETERS
If O05 is under OFF status when the Servo Motor sends off alarm, it means
the main power of such Servo Motor will be disconnected.
If O05 is under ON status when the Servo Motor is working normally, it
means the main power of such Servo Motor will not be disconnected.
Notice: If setting the parameter at “1”, then the 2-Way Solenoid Valve
cannot be selected for the Chuck of Spindle 1. If setting the
parameter at “0”, then the Spindle Chuck type can be set through
the “Spindle Chuck 1-Way/2-Way Solenoid Valve” parameter.
4 - 37
HUST CNC H4D-T MANUAL
4 - 38
5 CONNECTIONS
5 CONNECTIONS
Spindle control
C
24in/16out
(AB852)
24in/16out
(AB705)
#1 SIO Module
(48in / 32out)
(AE712)
Relay Board AC Power Board
(AB585) (AB616)
24in/16out
(AB705)
※It can connect the next SIO Module Panel, and a maximum of
5 panels can be linked. (Include 2nd panel)。
Fig.5-1
5-1
HUST CNC H4D-T MANUAL
* 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
5 CONNECTIONS
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 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.
5-3
HUST CNC H4D-T MANUAL
5-4
5 CONNECTIONS
5-5
HUST CNC H4D-T MANUAL
5-6
5 CONNECTIONS
5-7
HUST CNC H4D-T MANUAL
5-8
5 CONNECTIONS
DB26LF (F)
5-9
HUST CNC H4D-T MANUAL
* MPG (H4D)
DB26LM (M)
5 - 10
5 CONNECTIONS
Table 5-4
Register Function Description
Analog Input & Torgue function
R209 Edit by PLC <R209 bit3=1>
enable
AD1,Indicates balue of #1
R142
analog voltage input Pin 14、Pin 8
AD2,Indicates balue of #2
R143 Pin 15、Pin 8
analog voltage input
AD1,Indicates balue of #1
R146 Pin 12、Pin 8
analog voltage output
AD2,Indicates balue of #2
R147 Pin 13、Pin 8
analog 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 - 11
HUST CNC H4D-T MANUAL
Table 5-5
Settings for
related
Parameters and Description
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
R250 signal
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
G31IN 5
G31 Hardware
stop signal
24VGND 26
5 - 12
5 CONNECTIONS
TOG 10
Pulse+ 19
Pulse- 20
Sign+ 21
Sign- 22
5 - 13
HUST CNC H4D-T MANUAL
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
0V+5V A B
A1 1
B1 2
3
4
5
6
GND 8
+5V 9
MPG 2
MPG
0V+5VA B
1
2
A2 3
B2 4
5
6
GND 8
+5V 9
5 - 14
5 CONNECTIONS
Spindle
7
VCOM
8
GND
9
+5V
1
/A Servo
2 Driver
A
3
B
4
/B
5
Z
6
/Z
Case GND
Spindle
7
VCOM
8 Inverter
GND
+5V
9 Encoder
1
/A
2
A Extemal
3 Encoder
B
4
/B
Z 5
/Z 6
Case GND
5 - 15
HUST CNC H4D-T MANUAL
Spindle
19
Pulse+
20
Pulse-
21
Sign+
22
Sign-
/A
1 Servo
A
2 Driver
3
B
4
/B
5
Z
6
/Z
8
GND
Case GND
Spindle
Pulse+ 19
Pulse- 20
21 Inverter
Sign+
22
Sign-
/A 1 Encoder
A 2
3
B
4
/B External
5
Z Encoder
6
/Z
9
+5V
8
GND
Case GND
5 - 16
5 CONNECTIONS
All of the SIO board must used the same【DC24V power supply】except to the
AC output board.
FROM-CNC TO-NEXT
TO-NEXT:
Fig.5-18
5 - 17
HUST CNC H4D-T MANUAL
All of the SIO board must used the same【DC24V power supply】except to the
AC output board.
Fig.5-19
5 - 18
5 CONNECTIONS
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.
Fig 5-20
5 - 19
HUST CNC H4D-T MANUAL
13 12 1 00
24V GND 25 13 14
12 11 2 01
23 24 15
11 10 14
22 23 3 02
10 09 15 16
21 22 4 03
9 08 17
20 21 5 04
8 07 18
19 20 6 05
7 06 19
18 19 7 06
6 05 20
17 18 8 07
5 04 21
16 17 9 08
4 +24V 22
03 10 09
15 16 +24V 23
3 02 11 10
14 15 24V GND 24
2 01 12 11
13 14 24V GND 25
1 00 13 12
Fig.5-22
Serial Input/Output Module (SIO)
5 - 20
5 CONNECTIONS
LED-lamp (Input):
LED-lamp (Output):
SWITCH:
LED 1
LED 2
FROM-CNC TO-NEXT
24V external
power input
Fig.5-23
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.
5 - 21
HUST CNC H4D-T MANUAL
2. Dip Switch : For setting the SIO Module Board and I/O staring signal
position.
ON DIP
1 2 3 4 SW
5 - 22
5 CONNECTIONS
Fig.5-24
Fig.5-25
5 - 23
HUST CNC H4D-T MANUAL
Fig.5-26
Fig.5-27
5 - 24
5 CONNECTIONS
Time
servo on delay
To CPU Power supply R
AC220V R
Servo
Driver
power-off power-on
Power-On Relay
Power-On Timer Relay
R S T
5 - 25
HUST CNC H4D-T MANUAL
Forced Reset
pushbutton
5 - 26
5 CONNECTIONS
Forced Reset
pushbutton
Servo Driver
Servo-On
Signal
X Axis
Fig.5-30
5 - 27
HUST CNC H4D-T MANUAL
Forced Reset
pushbutton
Servo Driver
Servo-On
Signal
X Axis
Servo Driver
Servo-On
Signal
8 OUT RELAY Board
Z Axis (AB585)
Fig.5-31
5 - 28
5 CONNECTIONS
st
1 I/O Connect Board
25pin x2 M/F Connetor
I0~I23(24in)
O0~O15(16out)
Spark Killer
Spark Killer
Fig.5-32
5 - 29
HUST CNC H4D-T MANUAL
st
1 I/O Connect Board
25pin x2 M/F Connector
I0~I23(24in) O0~O15(16out)
st
10pin Row Cable, 1 O00~O07 (8out)
AC 220V
Transformer COM
01
COM
02
COM
03
When Controller is O00=1, it
COM
will output AC 220V voltage. 04
COM
05
COM
AC 220V 06
COM
07
COM
Fig.5-33 08
5 - 30
5 CONNECTIONS
5 - 31
HUST CNC H4D-T MANUAL
st
40pin Row cable, 1 Connect board 24V Power Supply
I0~I23 (24in) O0~O15 (16out)
24V Power Input
AC 220V
Transformer
COM
01
COM
02
COM
03
When Controller is COM
04
O00=1, it will output COM
05
AC 220V voltage. COM
AC 220V 06
COM
07
COM
08
Fig.5-34
5 - 32
5 CONNECTIONS
10-pin Soft
DC24V AC220V
Harness
Power Input Power Input
AC220V
Voltage Output
Fig.5-35
5 - 33
HUST CNC H4D-T MANUAL
DC24V DC24V
Voltage Input Voltage Output
Fig.5-36
5 - 34
5 CONNECTIONS
Fig.5-37
Fig.5-38
5 - 35
HUST CNC H4D-T MANUAL
Fig.5-39 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 CONNECTO
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-39
5 - 36
6 ERROR MESSAGES
6 ERROR MESSAGES
6-1
HUST CNC H4D-T MANUAL
Error
Details Causes
Code
Incorrect MCM parameter setting.
01 Each axis returned to origin, GRID limit of the servo
B
motor >1024.
Remedy:
1. Check MCM parameter for correct setting or double-press to enter
"MDI" mode, execute commend G10 P1000 to delete parameter, then
re-set parameter.
2. If the controller has rested for more than a year without switching on, the
internal memory will disappear. The controller will display [BT1] indicating
the battery power is low and you need to contact the dealer.
Error
Details Causes
Code
X~C Excessive error in Axial Follow.
02
S Excessive error in Spindle Follow (>3072).
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.
Error
Details Causes
Code
M99 count exceeds maximum limit
03 L
(#10922>#10921).
Message:
Setting of the M02, M30, or M99 counter exceeds the limit of system variables,
10921.
Remedy:
1. Double press “0” button in AUTO mode to clear the counting value.
2. Clear the system variable count of 10922 so it returns to 0, then press
to remove the error.
6-2
6 ERROR MESSAGES
3. Or run G10 P201 command in AUTO or MDI mode, for clearing the system
variable (10921) to 0, then press again to clear the error.
6-3
HUST CNC H4D-T MANUAL
2. Check the communication cables between the controller and the PC or the
man-machine interface.
6-4
6 ERROR MESSAGES
6-5
HUST CNC H4D-T MANUAL
6-6
6 ERROR MESSAGES
6-7
HUST CNC H4D-T MANUAL
6-8
6 ERROR MESSAGES
6-9
HUST CNC H4D-T MANUAL
6 - 10
7 MCM PARAMETERS
Factory
MCM
Default Unit Description Setting
No.
Setting
st
1 0 mm G54 X-axis 1 Work coordinate (origin)
st
2 0 mm G54 Y-axis 1 Work coordinate (origin)
st
3 0 mm G54 Z-axis 1 Work coordinate (origin)
st
4 0 mm G54 A-axis 1 Work coordinate (origin)
st
5 0 mm G54 B-axis 1 Work coordinate (origin)
st
6 0 mm G54 C-axis 1 Work coordinate (origin)
st
7 0 mm G54 U-axis 1 Work coordinate (origin)
st
8 0 mm G54 V-axis 1 Work coordinate (origin)
st
9 0 mm G54 W-axis 1 Work coordinate (origin)
10-20 System Reserved!
nd
21 0 mm G55 X-axis 2 Work coordinate (origin)
nd
22 0 mm G55 Y-axis 2 Work coordinate (origin)
nd
23 0 mm G55 Z-axis 2 Work coordinate (origin)
nd
24 0 mm G55 A-axis 2 Work coordinate (origin)
nd
25 0 mm G55 B-axis 2 Work coordinate (origin)
nd
26 0 mm G55 C-axis 2 Work coordinate (origin)
nd
27 0 mm G55 U-axis 2 Work coordinate (origin)
nd
28 0 mm G55 V-axis 2 Work coordinate (origin)
nd
29 0 mm G55 W-axis 2 Work coordinate (origin)
30-40 System Reserved!
rd
41 0 mm G56 X-axis 3 Work coordinate (origin)
rd
42 0 mm G56 Y-axis 3 Work coordinate (origin)
rd
43 0 mm G56 Z-axis 3 Work coordinate (origin)
rd
44 0 mm G56 A-axis 3 Work coordinate (origin)
rd
45 0 mm G56 B-axis 3 Work coordinate (origin)
rd
46 0 mm G56 C-axis 3 Work coordinate (origin)
rd
47 0 mm G56 U-axis 3 Work coordinate (origin)
rd
48 0 mm G56 V-axis 3 Work coordinate (origin)
rd
49 0 mm G56 W-axis 3 Work coordinate (origin)
50-60 System Reserved!
th
61 0 mm G57 X-axis 4 Work coordinate (origin)
th
62 0 mm G57 Y-axis 4 Work coordinate (origin)
th
63 0 mm G57 Z-axis 4 Work coordinate (origin)
th
64 0 mm G57 A-axis 4 Work coordinate (origin)
th
65 0 mm G57 B-axis 4 Work coordinate (origin)
th
66 0 mm G57 C-axis 4 Work coordinate (origin)
th
67 0 mm G57 U-axis 4 Work coordinate (origin)
th
68 0 mm G57 V-axis 4 Work coordinate (origin)
th
69 0 mm G57 W-axis 4 Work coordinate (origin)
70-80 System Reserved!
th
81 0 mm G58 X-axis 5 Work coordinate (origin)
th
82 0 mm G58 Y-axis 5 Work coordinate (origin)
th
83 0 mm G58 Z-axis 5 Work coordinate (origin)
th
84 0 mm G58 A-axis 5 Work coordinate (origin)
th
85 0 mm G58 B-axis 5 Work coordinate (origin)
th
86 0 mm G58 C-axis 5 Work coordinate (origin)
th
87 0 mm G58 U-axis 5 Work coordinate (origin)
th
88 0 mm G58 V-axis 5 Work coordinate (origin)
th
89 0 mm G58 W-axis 5 Work coordinate (origin)
7-1
HUST CNC H4D-T MANUALl
Factory
MCM
Default Unit Description Setting
No.
Setting
90-100 System Reserved!
th
101 0 mm G59 X-axis 6 Work coordinate (origin)
th
102 0 mm G59 Y-axis 6 Work coordinate (origin)
th
103 0 mm G59 Z-axis 6 Work coordinate (origin)
th
104 0 mm G59 A-axis 6 Work coordinate (origin)
th
105 0 mm G59 B-axis 6 Work coordinate (origin)
th
106 0 mm G59 C-axis 6 Work coordinate (origin)
th
107 0 mm G59 U-axis 6 Work coordinate (origin)
th
108 0 mm G59 V-axis 6 Work coordinate (origin)
th
109 0 mm G59 W-axis 6 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
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
7-2
7 MCM PARAMETERS
Factory
MCM
Default Unit Description Setting
No.
Setting
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)
X-axis,Numerator,resolution calculation.(Ball-
242 100 μm
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
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
7-3
HUST CNC H4D-T MANUALl
Factory
MCM
Default Unit Description Setting
No.
Setting
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
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
7-4
7 MCM PARAMETERS
Factory
MCM
Default Unit Description Setting
No.
Setting
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; -
421 0
:N.C (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!
X-axis impulse command width adjustment
481 5
(4=625KPPS)
Y-axis impulse command width adjustment
482 5
(4=625KPPS)
Z-axis impulse command width adjustment
483 5
(4=625KPPS)
A-axis impulse command width adjustment
484 5
(4=625KPPS)
B-axis impulse command width adjustment
485 5
(4=625KPPS)
C-axis impulse command width adjustment
486 5
(4=625KPPS)
U-axis impulse command width adjustment
487 5
(4=625KPPS)
V-axis impulse command width adjustment
488 5
(4=625KPPS)
489 5 W-axis impulse command width adjustment
7-5
HUST CNC H4D-T MANUALl
Factory
MCM
Default Unit Description Setting
No.
Setting
(4=625KPPS)
490-500 6 System Reserved!
Master/Slave mode, 0=CNC, 1=X-axis, 2=Y-axis
3=Z-axis,4=A-axis,5=B-axis,6=C-axis,7=U-axis,
501 0
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 G01 Linear accel./decel. Time, 10~1024 ms
505 100 msec Accel/Decel time when in G99 mode (mm/rev)
506 100 msec Time Setting for spindle acceleration
507 100 msec System Reserved!
508 0 Spindle encoder resolution (pulse/rev)
509 4096 pulse Max. spindle rpm at 10 volts
Spindle voltage command zero drift correction (open
510 3000 rpm
circuit)
Spindle voltage command acce/dece slope correction
511 0 v
(open circuit)
Spindle RPM correction (based on feedback from the
512 0
encoder)
513 0 rpm Start number for program block number generation
514 0 Increment for program block number generation
515 0 Denominator of feed-rate when in MPG test mode
516 1 Numerator of feed-rate when in MPG test mode
517 1 MPG direction
518 0 Set Acceleration/Deceleration Time for MPG (4~512)
519 64 ms RS232 Baud rate, 38400, 19200 / EVEN /2 Bit
Setting whether R000~R99 data in PLC are stored
520 38400
when power is cut off. 0=NO, 256=YES
521 0 Servo Error Counter
522 0 pulse Radius/Diameter Programming mode
523 0 0=Metric mode, 25400=inch mode mcm541=0,1
524 0 Error in Circular Cutting, ideal value=1
Pulse settings
525 3
0: pulse + direction 1: +/- pulse 2: A/B phase
7-6
7 MCM PARAMETERS
Factory
MCM
Default Unit Description Setting
No.
Setting
526 0 Setting G01 speed value at booting
Setting tool compensation direction =1 FAUNC, =0
527 1000
HUST
It is used for adjusting the G01’s
acceleration/deceleration time when the
528 0 acceleration/deceleration type is set to an “S” curve.
When MCM 502=2, the function can then be
sustained.G01 Linear accel./decel. Time, for ”S” curve
529 0 G31 input motion stop at hardware
Format setting
=0 standard,
=1 the system will automatically add a decimal point
to even numbers variable automatically added
530 0
with a decimal point,
=2 line editing,
=4 automatically added with a decimal point in
programming
531 0 Mill mode;Setting the backlash of G83
532 2.000 mm Setting the following error count for testing
Testing the function of axial setting of the servo
533 4096 pulse
following error(bit0-X..)
534 Controller ID number
Minimum slope setting of the Auto Teach function
535
(with use of C040)
First distance setting of the Auto Teach function ( with
536
use of C040)
537 G41 and G42 processing types
538 0 System reserved
539 Adjustment of the axis feedback direction.
540 0 Arc type
541 0 System Reserved!
541-560 "S" curve accel./decel. profile setting for the X-axis
561 0 "S" curve accel./decel. profile setting for the Y-axis
562 0 "S" curve accel./decel. profile setting for the Z-axis
563 0 "S" curve accel./decel. profile setting for the A-axis
564 0 "S" curve accel./decel. profile setting for the B-axis
565 0 "S" curve accel./decel. profile setting for the C-axis
566 0 "S" curve accel./decel. profile setting for the U-axis
567 0 "S" curve accel./decel. profile setting for the V-axis
568 0 "S" curve accel./decel. profile setting for the W-axis
569 0 System Reserved!
570~580 X-axis, Software OT limit, (+) direction (Group 1)
581 9999999 mm Y-axis, Software OT limit, (+) direction (Group 1)
582 9999999 mm Z-axis, Software OT limit, (+) direction (Group 1)
583 9999999 mm A-axis, Software OT limit, (+) direction (Group 1)
584 9999999 mm B-axis, Software OT limit, (+) direction (Group 1)
585 9999999 mm C-axis, Software OT limit, (+) direction (Group 1)
586 9999999 mm U-axis, Software OT limit, (+) direction (Group 1)
587 9999999 mm V-axis, Software OT limit, (+) direction (Group 1)
588 9999999 mm W-axis, Software OT limit, (+) direction (Group 1)
589 9999999 mm System Reserved!
590-600 X-axis, Software OT limit, (-) direction (Group 1)
601 -9999999 mm Y-axis, Software OT limit, (-) direction (Group 1)
7-7
HUST CNC H4D-T MANUALl
Factory
MCM
Default Unit Description Setting
No.
Setting
602 -9999999 mm Z-axis, Software OT limit, (-) direction (Group 1)
603 -9999999 mm A-axis, Software OT limit, (-) direction (Group 1)
604 -9999999 mm B-axis, Software OT limit, (-) direction (Group 1)
605 -9999999 mm C-axis, Software OT limit, (-) direction (Group 1)
606 -9999999 mm U-axis, Software OT limit, (-) direction (Group 1)
607 -9999999 mm V-axis, Software OT limit, (-) direction (Group 1)
608 -9999999 mm W-axis, Software OT limit, (-) direction (Group 1)
609 -9999999 mm System Reserved!
610-620 X-axis, Software OT limit, (+) direction (Group 2)
621 9999999 mm Y-axis, Software OT limit, (+) direction (Group 2)
622 9999999 mm Z-axis, Software OT limit, (+) direction (Group 2)
A-axis, Software OT limit, (+) direction
623 9999999
(Group 2)
624 9999999 mm B-axis, Software OT limit, (+) direction (Group 2)
625 9999999 mm C-axis, Software OT limit, (+) direction (Group 2)
626 9999999 mm U-axis, Software OT limit, (+) direction (Group 2)
627 9999999 mm V-axis, Software OT limit, (+) direction (Group 2)
628 9999999 mm W-axis, Software OT limit, (+) direction (Group 2)
629 9999999 mm System Reserved!
630-640 X-axis, Software OT limit, (-) direction (Group 2)
641 -9999999 mm Y-axis, Software OT limit, (-) direction (Group 2)
642 -9999999 mm Z-axis, Software OT limit, (-) direction (Group 2)
643 -9999999 mm A-axis, Software OT limit, (-) direction (Group 2)
644 -9999999 mm B-axis, Software OT limit, (-) direction (Group 2)
645 -9999999 mm C-axis, Software OT limit, (-) direction (Group 2)
646 -9999999 mm U-axis, Software OT limit, (-) direction (Group 2)
647 -9999999 mm V-axis, Software OT limit, (-) direction (Group 2)
648 -9999999 mm W-axis, Software OT limit, (-) direction (Group 2)
649 -9999999 mm System Reserved!
650-660 X-axis, Cycle clearing w/ M02, M30, M99
661 0 Y-axis, Cycle clearing w/ M02, M30, M99
662 0 Z-axis, Cycle clearing w/ M02, M30, M99
663 0 A-axis, Cycle clearing w/ M02, M30, M99
664 0 B-axis, Cycle clearing w/ M02, M30, M99
665 0 C-axis, Cycle clearing w/ M02, M30, M99
666 0 U-axis, Cycle clearing w/ M02, M30, M99
667 0 V-axis, Cycle clearing w/ M02, M30, M99
668 0 W-axis, Cycle clearing w/ M02, M30, M99
669 0 System Reserved!
670-680 0 X-axis,0=incrementalcoord.,1=absolute coordinate
681 1 Y-axis,0=incrementalcoord.,1=absolute coordinate
682 1 Z-axis,0=incrementalcoord.,1=absolute coordinate
683 1 A-axis,0=incrementalcoord.,1=absolute coordinate
684 1 B-axis,0=incrementalcoord.,1=absolute coordinate
685 1 C-axis,0=incrementalcoord.,1=absolute coordinate
686 1 U-axis,0=incrementalcoord.,1=absolute coordinate
687 1 V-axis,0=incrementalcoord.,1=absolute coordinate
688 1 W-axis,0=incrementalcoord.,1=absolute coordinate
689 1 System Reserved!
690-700 1 X-axis, Position gain, standard=64
701 64 pulse Y-axis, Position gain, standard=64
702 64 pulse Z-axis, Position gain, standard=64
7-8
7 MCM PARAMETERS
Factory
MCM
Default Unit Description Setting
No.
Setting
703 64 pulse A-axis, Position gain, standard=64
704 64 pulse B-axis, Position gain, standard=64
705 64 pulse C-axis, Position gain, standard=64
706 64 pulse U-axis, Position gain, standard=64
707 64 pulse V-axis, Position gain, standard=64
708 64 pulse W-axis, Position gain, standard=64
709 64 pulse System Reserved!
710-720 64 pulse X-axis,Break-over point for position gain, std=10
721 10 pulse Y-axis,Break-over point for position gain, std=10
722 10 pulse Z-axis,Break-over point for position gain, std=10
723 10 pulse A-axis,Break-over point for position gain, std=10
724 10 pulse B-axis,Break-over point for position gain, std=10
725 10 pulse C-axis,Break-over point for position gain, std=10
726 10 pulse U-axis,Break-over point for position gain, std=10
727 10 pulse V-axis,Break-over point for position gain, std=10
728 10 pulse W-axis,Break-over point for position gain, std=10
729 10 pulse System Reserved!
727-740 10 pulse X-axis, Denominator, MPG resolution calc.
741 100 X-axis, Numerator, MPG resolution calc.
742 100 Y-axis, Denominator, MPG resolution calc.
743 100 Y-axis, Numerator, MPG resolution calc.
744 100 Z-axis, Denominator, MPG resolution calc.
745 100 Z-axis, Numerator, MPG resolution calc.
746 100 A-axis, Denominator, MPG resolution calc.
747 100 A-axis, Numerator, MPG resolution calc.
748 100 B-axis, Denominator, MPG resolution calc.
749 100 B-axis, Numerator, MPG resolution calc.
750 100 C-axis, Denominator, MPG resolution calc.
751 100 C-axis, Numerator, MPG resolution calc.
752 100 U-axis, Denominator, MPG resolution calc.
753 100 U-axis, Numerator, MPG resolution calc.
754 100 V-axis, Denominator, MPG resolution calc.
755 100 V-axis, Numerator, MPG resolution calc.
756 100 W-axis, Denominator, MPG resolution calc.
757 100 W-axis, Numerator, MPG resolution calc.
758 100 System Reserved!
760-780 Set X-axis as Rotating (1) / Linear axis (0)
781 0 Set Y-axis as Rotating (1) / Linear axis (0)
782 0 Set Z-axis as Rotating (1) / Linear axis (0)
783 0 Set A-axis as Rotating (1) / Linear axis (0)
784 0 Set B-axis as Rotating (1) / Linear axis (0)
785 0 Set C-axis as Rotating (1) / Linear axis (0)
786 0 Set U-axis as Rotating (1) / Linear axis (0)
787 0 Set V-axis as Rotating (1) / Linear axis (0)
788 0 Set W-axis as Rotating (1) / Linear axis (0)
789 0 System Reserved!
Distance of S bit sent before the X-axis reaches in position.
790-800
(S176)
Distance of S bit sent before the Y-axis reaches in position.
801 0.000 mm
(S177)
Distance of S bit sent before the Z-axis reaches in position.
802 0.000 mm
(S178)
7-9
HUST CNC H4D-T MANUALl
Factory
MCM
Default Unit Description Setting
No.
Setting
Distance of S bit sent before the A-axis reaches in position.
803 0.000 mm
(S179)
Distance of S bit sent before the B-axis reaches in position.
804 0.000 mm
(S180)
Distance of S bit sent before the C-axis reaches in position.
805 0.000 mm
(S181)
Distance of S bit sent before the U-axis reaches in position.
806 0.000 mm
(S182)
Distance of S bit sent before the V-axis reaches in position.
807 0.000 mm
(S183)
Distance of S bit sent before the W-axis reaches in position.
808 0.000 mm
(S184)
809 0.000 mm System Reserved!
810-820 Set Acceleration/Deceleration Time for X-axis
821 0 msec Set Acceleration/Deceleration Time for Y-axis
822 0 msec Set Acceleration/Deceleration Time for Z-axis
823 0 msec Set Acceleration/Deceleration Time for A-axis
824 0 msec Set Acceleration/Deceleration Time for B-axis
825 0 msec Set Acceleration/Deceleration Time for C-axis
826 0 msec Set Acceleration/Deceleration Time for U-axis
827 0 msec Set Acceleration/Deceleration Time for V-axis
828 0 msec Set Acceleration/Deceleration Time for W-axis
829 0 msec System Reserved!
830-840 X-axis allowable compensation of back screw pitch
841 0 Y-axis allowable compensation of back screw pitch
842 0 Z-axis allowable compensation of back screw pitch
843 0 A-axis allowable compensation of back screw pitch
844 0 B-axis allowable compensation of back screw pitch
845 0 C-axis allowable compensation of back screw pitch
846 0 U-axis allowable compensation of back screw pitch
847 0 V-axis allowable compensation of back screw pitch
848 0 W-axis allowable compensation of back screw pitch
849 0 System Reserved!
847-850 0 X-axis length compensation of back screw pitch
851 20000 mm Y-axis length compensation of back screw pitch
852 20000 mm Z-axis length compensation of back screw pitch
853 20000 mm A-axis length compensation of back screw pitch
854 20000 mm B-axis length compensation of back screw pitch
855 20000 mm C-axis length compensation of back screw pitch
856 20000 mm System Reserved!
857~860 X-axis,Pitch error compensation of each segment.
861-940 0 Y-axis,Pitch error compensation of each segment.
941-1020 0 Z-axis,Pitch error compensation of each segment.
1021-
0 A-axis,Pitch error compensation of each segment.
1100
1101-
0 B-axis,Pitch error compensation of each segment.
1180
1181-
0 C-axis,Pitch error compensation of each segment.
1260
1261-
0 Tool #1 radius compensation
1340
1341 0 mm X-axis, Tool #1 offset compensation
1342 0 mm Y-axis, Tool #1 offset compensation
7 - 10
7 MCM PARAMETERS
Factory
MCM
Default Unit Description Setting
No.
Setting
1343 0 mm Z-axis, Tool #1 offset compensation
1344 0 mm A-axis, Tool #1 offset compensation
1345 0 mm B-axis, Tool #1 offset compensation
1346 0 mm C-axis, Tool #1 offset compensation
1347 0 mm Tool #2 radius compensation
1348 0 mm X-axis, Tool #2 offset compensation
1349 0 mm Y-axis, Tool #2 offset compensation
1350 0 mm Z-axis, Tool #2 offset compensation
1351 0 mm A-axis, Tool #2 offset compensation
1352 0 mm B-axis, Tool #2 offset compensation
1353 0 mm C-axis, Tool #2 offset compensation
1354 0 mm Tool #3 radius compensation
1355 0 mm X-axis, Tool #3 offset compensation
1356 0 mm Y-axis, Tool #3 offset compensation
1357 0 mm Z-axis, Tool #3 offset compensation
1358 0 mm A-axis, Tool #3 offset compensation
1359 0 mm B-axis, Tool #3 offset compensation
1360 0 mm C-axis, Tool #3 offset compensation
1361 0 mm Tool #4 radius compensation
1362 0 mm X-axis, Tool #4 offset compensation
1363 0 mm Y-axis, Tool #4 offset compensation
1364 0 mm Z-axis, Tool #4 offset compensation
1365 0 mm A-axis, Tool #4 offset compensation
1366 0 mm B-axis, Tool #4 offset compensation
1367 0 mm C-axis, Tool #4 offset compensation
1368 0 mm Tool #5 radius compensation
1369 0 mm X-axis, Tool #5 offset compensation
1370 0 mm Y-axis, Tool #5 offset compensation
1371 0 mm Z-axis, Tool #5 offset compensation
1372 0 mm A-axis, Tool #5 offset compensation
1373 0 mm B-axis, Tool #5 offset compensation
1374 0 mm C-axis, Tool #5 offset compensation
1375 0 mm Tool #6 radius compensation
1376 0 mm X-axis, Tool #6 offset compensation
1377 0 mm Y-axis, Tool #6 offset compensation
1378 0 mm Z-axis, Tool #6 offset compensation
1379 0 mm A-axis, Tool #6 offset compensation
1380 0 mm B-axis, Tool #6 offset compensation
1381 0 mm C-axis, Tool #6 offset compensation
1382 0 mm Tool #7 radius compensation
1383 0 mm X-axis, Tool #7 offset compensation
1384 0 mm Y-axis, Tool #7 offset compensation
1385 0 mm Z-axis, Tool #7 offset compensation
1386 0 mm A-axis, Tool #7 offset compensation
1387 0 mm B-axis, Tool #7 offset compensation
1388 0 mm C-axis, Tool #7 offset compensation
1389 0 mm Tool #8 radius compensation
1390 0 mm X-axis, Tool #8 offset compensation
1391 0 mm Y-axis, Tool #8 offset compensation
1392 0 mm Z-axis, Tool #8 offset compensation
1393 0 mm A-axis, Tool #8 offset compensation
1394 0 mm B-axis, Tool #8 offset compensation
1395 0 mm C-axis, Tool #8 offset compensation
7 - 11
HUST CNC H4D-T MANUALl
Factory
MCM
Default Unit Description Setting
No.
Setting
1396 0 mm Tool #9 radius compensation
1397 0 mm X-axis, Tool #9 offset compensation
1398 0 mm Y-axis, Tool #9 offset compensation
1399 0 mm Z-axis, Tool #9 offset compensation
1400 0 mm A-axis, Tool #9 offset compensation
1401 0 mm B-axis, Tool #9 offset compensation
1402 0 mm C-axis, Tool #9 offset compensation
1403 0 mm Tool #10 radius compensation
1404 0 mm X-axis, Tool #10 offset compensation
1405 0 mm Y-axis, Tool #10 offset compensation
1406 0 mm Z-axis, Tool #10 offset compensation
1407 0 mm A-axis, Tool #10 offset compensation
1408 0 mm B-axis, Tool #10 offset compensation
1409 0 mm C-axis, Tool #10 offset compensation
1410 0 mm Tool #11 radius compensation
1411 0 mm X-axis, Tool #11 offset compensation
1412 0 mm Y-axis, Tool #11 offset compensation
1413 0 mm Z-axis, Tool #11 offset compensation
1414 0 mm A-axis, Tool #11 offset compensation
1415 0 mm B-axis, Tool #11 offset compensation
1416 0 mm C-axis, Tool #11 offset compensation
1417 0 mm Tool #12 radius compensation
1418 0 mm X-axis, Tool #12 offset compensation
1419 0 mm Y-axis, Tool #12 offset compensation
1420 0 mm Z-axis, Tool #12 offset compensation
1421 0 mm A-axis, Tool #12 offset compensation
1422 0 mm B-axis, Tool #12 offset compensation
1423 0 mm C-axis, Tool #12 offset compensation
1424 0 mm Tool #13 radius compensation
1425 0 mm X-axis, Tool #13 offset compensation
1426 0 mm Y-axis, Tool #13 offset compensation
1427 0 mm Z-axis, Tool #13 offset compensation
1428 0 mm A-axis, Tool #13 offset compensation
1429 0 mm B-axis, Tool #13 offset compensation
1430 0 mm C-axis, Tool #13 offset compensation
1431 0 mm Tool #14 radius compensation
1432 0 mm X-axis, Tool #14 offset compensation
1433 0 mm Y-axis, Tool #14 offset compensation
1434 0 mm Z-axis, Tool #14 offset compensation
1435 0 mm A-axis, Tool #14 offset compensation
1436 0 mm B-axis, Tool #14 offset compensation
1437 0 mm C-axis, Tool #14 offset compensation
1438 0 mm Tool # radius compensation
1439 0 mm X-axis, Tool #15 offset compensation
1440 0 mm Y-axis, Tool #15 offset compensation
1441 0 mm Z-axis, Tool #15 offset compensation
1442 0 mm A-axis, Tool #15 offset compensation
1443 0 mm B-axis, Tool #15 offset compensation
1444 0 mm C-axis, Tool #15 offset compensation
1445 0 mm Tool #16 radius compensation
1446 0 mm X-axis, Tool #16 offset compensation
1447 0 mm Y-axis, Tool #16 offset compensation
1448 0 mm Z-axis, Tool #16 offset compensation
7 - 12
7 MCM PARAMETERS
Factory
MCM
Default Unit Description Setting
No.
Setting
1449 0 mm A-axis, Tool #16 offset compensation
1450 0 mm B-axis, Tool #16 offset compensation
1451 0 mm C-axis, Tool #16 offset compensation
1452 0 mm Tool #17 radius compensation
1453 0 mm X-axis, Tool #17 offset compensation
1454 0 mm Y-axis, Tool #17 offset compensation
1455 0 mm Z-axis, Tool #17 offset compensation
1456 0 mm A-axis, Tool #17 offset compensation
1457 0 mm B-axis, Tool #17 offset compensation
1458 0 mm C-axis, Tool #17 offset compensation
1459 0 mm Tool #18 radius compensation
1460 0 mm X-axis, Tool #18 offset compensation
1461 0 mm Y-axis, Tool #18 offset compensation
1462 0 mm Z-axis, Tool #18 offset compensation
1463 0 mm A-axis, Tool #18 offset compensation
1464 0 mm B-axis, Tool #18 offset compensation
1465 0 mm C-axis, Tool #18 offset compensation
1466 0 mm Tool #19 radius compensation
1467 0 mm X-axis, Tool #19 offset compensation
1468 0 mm Y-axis, Tool #19 offset compensation
1469 0 mm Z-axis, Tool #19 offset compensation
1470 0 mm A-axis, Tool #19 offset compensation
1471 0 mm B-axis, Tool #19 offset compensation
1472 0 mm C-axis, Tool #19 offset compensation
1473 0 mm Tool #20 radius compensation
1474 0 mm X-axis, Tool #20 offset compensation
1475 0 mm Y-axis, Tool #20 offset compensation
1476 0 mm Z-axis, Tool #20 offset compensation
1477 0 mm A-axis, Tool #20 offset compensation
1478 0 mm B-axis, Tool #20 offset compensation
1479 0 mm C-axis, Tool #20 offset compensation
1480 0 mm Tool #21 radius compensation
1481 0 mm X-axis, Tool #21 offset compensation
1482 0 mm Y-axis, Tool #21 offset compensation
1483 0 mm Z-axis, Tool #21 offset compensation
1484 0 mm A-axis, Tool #21 offset compensation
1485 0 mm B-axis, Tool #21 offset compensation
1486 0 mm C-axis, Tool #21 offset compensation
1487 0 mm Tool #22 radius compensation
1488 0 mm X-axis, Tool #22 offset compensation
1489 0 mm Y-axis, Tool #22 offset compensation
1490 0 mm Z-axis, Tool #22 offset compensation
1491 0 mm A-axis, Tool #22 offset compensation
1492 0 mm B-axis, Tool #22 offset compensation
1493 0 mm C-axis, Tool #22 offset compensation
1494 0 mm Tool #23 radius compensation
1495 0 mm X-axis, Tool #23 offset compensation
1496 0 mm Y-axis, Tool #23 offset compensation
1497 0 mm Z-axis, Tool #23 offset compensation
1498 0 mm A-axis, Tool #23 offset compensation
1499 0 mm B-axis, Tool #23 offset compensation
1500 0 mm C-axis, Tool #23 offset compensation
1501 0 mm Tool #24 radius compensation
7 - 13
HUST CNC H4D-T MANUALl
Factory
MCM
Default Unit Description Setting
No.
Setting
1502 0 mm X-axis, Tool #24 offset compensation
1503 0 mm Y-axis, Tool #24 offset compensation
1504 0 mm Z-axis, Tool #24 offset compensation
1505 0 mm A-axis, Tool #24 offset compensation
1506 0 mm B-axis, Tool #24 offset compensation
1507 0 mm C-axis, Tool #24 offset compensation
1508 0 mm Tool #25 radius compensation
1509 0 mm X-axis, Tool #25 offset compensation
1510 0 mm Y-axis, Tool #25 offset compensation
1511 0 mm Z-axis, Tool #25 offset compensation
1512 0 mm A-axis, Tool #25 offset compensation
1513 0 mm B-axis, Tool #25 offset compensation
1514 0 mm C-axis, Tool #25 offset compensation
1515 0 mm Tool #26 radius compensation
1516 0 mm X-axis, Tool #26 offset compensation
1517 0 mm Y-axis, Tool #26 offset compensation
1518 0 mm Z-axis, Tool #26 offset compensation
1519 0 mm A-axis, Tool #26 offset compensation
1520 0 mm B-axis, Tool #26 offset compensation
1521 0 mm C-axis, Tool #26 offset compensation
1522 0 mm Tool #27 radius compensation
1523 0 mm X-axis, Tool #27 offset compensation
1524 0 mm Y-axis, Tool #27 offset compensation
1525 0 mm Z-axis, Tool #27 offset compensation
1526 0 mm A-axis, Tool #27 offset compensation
1527 0 mm B-axis, Tool #27 offset compensation
1528 0 mm C-axis, Tool #27 offset compensation
1529 0 mm Tool #28 radius compensation
1530 0 mm X-axis, Tool #28 offset compensation
1531 0 mm Y-axis, Tool #28 offset compensation
1532 0 mm Z-axis, Tool #28 offset compensation
1533 0 mm A-axis, Tool #28 offset compensation
1534 0 mm B-axis, Tool #28 offset compensation
1535 0 mm C-axis, Tool #28offset compensation
1536 0 mm Tool #29 radius compensation
1537 0 mm X-axis, Tool #29 offset compensation
1538 0 mm Y-axis, Tool #29 offset compensation
1539 0 mm Z-axis, Tool #29 offset compensation
1540 0 mm A-axis, Tool #29 offset compensation
1541 0 mm B-axis, Tool #29 offset compensation
1542 0 mm C-axis, Tool #29 offset compensation
1543 0 mm Tool #30 radius compensation
1544 0 mm X-axis, Tool #30 offset compensation
1545 0 Y-axis, Tool #30 offset compensation
1546 0 mm Z-axis, Tool #30 offset compensation
1547 0 mm A-axis, Tool #30 offset compensation
1548 0 mm B-axis, Tool #30 offset compensation
1549 0 mm C-axis, Tool #30 offset compensation
1550 0 mm Tool 31# radius compensation
1551 0 mm X-axis, Tool #31 offset compensation
1552 0 mm Y-axis, Tool #31 offset compensation
1553 0 mm Z-axis, Tool #31 offset compensation
7 - 14
7 MCM PARAMETERS
Factory
MCM
Default Unit Description Setting
No.
Setting
1554 0 mm A-axis, Tool #31 offset compensation
1555 0 mm B-axis, Tool #31 offset compensation
1556 0 mm C-axis, Tool #31 offset compensation
1557 0 mm Tool #32 radius compensation
1558 0 mm X-axis, Tool #32 offset compensation
1559 0 mm Y-axis, Tool #32 offset compensation
1560 0 mm Z-axis, Tool #32 offset compensation
1561 0 mm A-axis, Tool #32 offset compensation
1562 0 mm B-axis, Tool #32 offset compensation
1563 0 mm C-axis, Tool #32 offset compensation
1564 0 mm Tool #33radius compensation
1565 0 mm X-axis, Tool #33 offset compensation
1566 0 mm Y-axis, Tool #33 offset compensation
1567 0 mm Z-axis, Tool #33 offset compensation
1568 0 mm A-axis, Tool #33 offset compensation
1569 0 mm B-axis, Tool #33 offset compensation
1570 0 mm C-axis, Tool #33 offset compensation
1571 0 mm Tool #34 radius compensation
1572 0 mm X-axis, Tool #34 offset compensation
1573 0 mm Y-axis, Tool #34 offset compensation
1574 0 mm Z-axis, Tool #34 offset compensation
1575 0 mm A-axis, Tool #34 offset compensation
1576 0 mm B-axis, Tool #34 offset compensation
1577 0 mm C-axis, Tool #34 offset compensation
1578 0 mm Tool #35 radius compensation
1579 0 mm X-axis, Tool #35 offset compensation
1580 0 mm Y-axis, Tool #35 offset compensation
1581 0 mm Z-axis, Tool #35 offset compensation
1582 0 mm A-axis, Tool #35 offset compensation
1583 0 mm B-axis, Tool #35 offset compensation
1584 0 mm C-axis, Tool #35 offset compensation
1585 0 mm Tool #36 radius compensation
1586 0 mm X-axis, Tool #36 offset compensation
1587 0 mm Y-axis, Tool #36 offset compensation
1588 0 mm Z-axis, Tool #36 offset compensation
1589 0 mm A-axis, Tool #36 offset compensation
1590 0 mm B-axis, Tool #36 offset compensation
1591 0 mm C-axis, Tool #36 offset compensation
1592 0 mm Tool #37 radius compensation
1593 0 mm X-axis, Tool #37 offset compensation
1594 0 mm Y-axis, Tool #37 offset compensation
1595 0 mm Z-axis, Tool #37 offset compensation
1596 0 mm A-axis, Tool #37 offset compensation
1597 0 mm B-axis, Tool #37 offset compensation
1598 0 mm C-axis, Tool #37 offset compensation
1599 0 mm Tool #38 radius compensation
1600 0 mm X-axis, Tool #38 offset compensation
1601 0 mm Y-axis, Tool #38 offset compensation
1602 0 mm Z-axis, Tool #38 offset compensation
1603 0 mm A-axis, Tool #38 offset compensation
1604 0 mm B-axis, Tool #38 offset compensation
1605 0 mm C-axis, Tool #38 offset compensation
1606 0 mm Tool #39 radius compensation
7 - 15
HUST CNC H4D-T MANUALl
Factory
MCM
Default Unit Description Setting
No.
Setting
1607 0 mm X-axis, Tool #39 offset compensation
1608 0 mm Y-axis, Tool #39 offset compensation
1609 0 mm Z-axis, Tool #39 offset compensation
1610 0 mm A-axis, Tool #39 offset compensation
1611 0 mm B-axis, Tool #39 offset compensation
1612 0 mm C-axis, Tool #39 offset compensation
1613 0 mm Tool #40 radius compensation
1614 0 mm X-axis, Tool #40 offset compensation
1615 0 mm Y-axis, Tool #40 offset compensation
1616 0 mm Z-axis, Tool #40 offset compensation
1617 0 mm A-axis, Tool #40 offset compensation
1618 0 mm B-axis, Tool #40 offset compensation
1619 0 mm C-axis, Tool #40 offset compensation
1620 0 mm Tool #1 radius wear compensation
1621 0 mm X-axis, Tool #1 wear compensation
1622 0 mm Y-axis, Tool #1 wear compensation
1623 0 mm Z-axis, Tool #1 wear compensation
1624 0 mm A-axis, Tool #1 wear compensation
1625 0 mm B-axis, Tool #1 wear compensation
1626 0 mm C-axis, Tool #1 wear compensation
1627 0 mm Tool #2 radius wear compensation
1628 0 mm X-axis, Tool #2 wear compensation
1629 0 mm Y-axis, Tool #2 wear compensation
1630 0 mm Y-axis, Tool #2 wear compensation
1631 0 mm A-axis, Tool #2 wear compensation
1632 0 mm B-axis, Tool #2 wear compensation
1633 0 mm C-axis, Tool #2 wear compensation
1634 0 mm Tool #3 radius wear compensation
1635 0 mm X-axis, Tool #3 wear compensation
1636 0 mm Y-axis, Tool #3 wear compensation
1637 0 mm Z-axis, Tool #3 wear compensation
1638 0 mm A-axis, Tool #3 wear compensation
1639 0 mm B-axis, Tool #3 wear compensation
1640 0 mm C-axis, Tool #3 wear compensation
1641 0 mm Tool #4 radius wear compensation
1642 0 mm X-axis, Tool #4 wear compensation
1643 0 mm Y-axis, Tool #4 wear compensation
1644 0 mm Z-axis, Tool #4 wear compensation
1645 0 mm A-axis, Tool #4 wear compensation
1646 0 mm B-axis, Tool #4 wear compensation
1647 0 mm C-axis, Tool #4 wear compensation
1648 0 mm Tool #5 radius wear compensation
1649 0 mm X-axis, Tool #5 wear compensation
1650 0 mm Y-axis, Tool #5 wear compensation
1651 0 mm Z-axis, Tool #5 wear compensation
1652 0 mm A-axis, Tool #5 wear compensation
1653 0 mm B-axis, Tool #5 wear compensation
1654 0 mm C-axis, Tool #5 wear compensation
1655 0 mm Tool #6 radius wear compensation
1656 0 mm X-axis, Tool #6 wear compensation
1657 0 mm Y-axis, Tool #6 wear compensation
1658 0 mm Z-axis, Tool #6 wear compensation
1659 0 mm A-axis, Tool #6 wear compensation
7 - 16
7 MCM PARAMETERS
Factory
MCM
Default Unit Description Setting
No.
Setting
1660 0 mm B-axis, Tool #6 wear compensation
1661 0 mm C-axis, Tool #6 wear compensation
1662 0 mm Tool #7 radius wear compensation
1663 0 mm X-axis, Tool #7 wear compensation
1664 0 mm Y-axis, Tool #7 wear compensation
1665 0 mm Z-axis, Tool #7 wear compensation
1666 0 mm A-axis, Tool #7 wear compensation
1667 0 mm B-axis, Tool #7 wear compensation
1668 0 mm C-axis, Tool #7 wear compensation
1669 0 mm Tool #8 radius wear compensation
1670 0 mm X-axis, Tool #8 wear compensation
1671 0 mm Y-axis, Tool #8 wear compensation
1672 0 mm Z-axis, Tool #8 wear compensation
1673 0 mm A-axis, Tool #8 wear compensation
1674 0 mm B-axis, Tool #8 wear compensation
1675 0 mm C-axis, Tool #8 wear compensation
1676 0 mm Tool #9 radius wear compensation
1677 0 mm X-axis, Tool #9 wear compensation
1678 0 mm Y-axis, Tool #9 wear compensation
1679 0 mm Z-axis, Tool #9 wear compensation
1680 0 mm A-axis, Tool #9 wear compensation
1681 0 mm B-axis, Tool #9 wear compensation
1682 0 mm C-axis, Tool #9 wear compensation
1683 0 mm Tool #10 radius wear compensation
1684 0 mm X-axis, Tool #10 wear compensation
1685 0 mm Y-axis, Tool #10 wear compensation
1686 0 mm Z-axis, Tool #10 wear compensation
1687 0 mm A-axis, Tool #10 wear compensation
1688 0 mm B-axis, Tool #10 wear compensation
1689 0 mm C-axis, Tool #10 wear compensation
1690 0 mm Tool #11 radius wear compensation
1691 0 mm X-axis, Tool #11 wear compensation
1692 0 mm Y-axis, Tool #11 wear compensation
1693 0 mm Z-axis, Tool #11 wear compensation
1694 0 mm A-axis, Tool #1 wear compensation
1695 0 mm B-axis, Tool #11 wear compensation
1696 0 mm C-axis, Tool #11 wear compensation
1697 0 mm Tool #12 radius wear compensation
1698 0 mm X-axis, Tool #12 wear compensation
1699 0 mm Y-axis, Tool #12 wear compensation
1700 0 mm Z-axis, Tool #12 wear compensation
1701 0 mm A-axis, Tool #12 wear compensation
1702 0 mm B-axis, Tool #12 wear compensation
1703 0 mm C-axis, Tool #12 wear compensation
1704 0 mm Tool #13 radius wear compensation
1705 0 mm X-axis, Tool #13 wear compensation
1706 0 mm Y-axis, Tool #13 wear compensation
1707 0 mm Z-axis, Tool #13 wear compensation
1708 0 mm A-axis, Tool #13 wear compensation
1709 0 mm B-axis, Tool #13 wear compensation
1710 0 mm C-axis, Tool #13 wear compensation
1711 0 mm Tool #14 radius wear compensation
1712 0 mm X-axis, Tool #14 wear compensation
7 - 17
HUST CNC H4D-T MANUALl
Factory
MCM
Default Unit Description Setting
No.
Setting
1713 0 mm Y-axis, Tool #14 wear compensation
1714 0 mm Z-axis, Tool #14 wear compensation
1715 0 mm A-axis, Tool #14 wear compensation
1716 0 mm B-axis, Tool #14 wear compensation
1717 0 mm C-axis, Tool #14 wear compensation
1718 0 mm Tool #15 radius wear compensation
1719 0 mm X-axis, Tool #15 wear compensation
1720 0 mm Y-axis, Tool #15 wear compensation
1721 0 mm Z-axis, Tool #15 wear compensation
1722 0 mm A-axis, Tool #15 wear compensation
1723 0 mm B-axis, Tool #15 wear compensation
1724 0 mm C-axis, Tool #15wear compensation
1725 0 mm Tool #16 radius wear compensation
1726 0 mm X-axis, Tool #16 wear compensation
1727 0 mm Y-axis, Tool #16 wear compensation
1728 0 mm Z-axis, Tool #16 wear compensation
1729 0 mm A-axis, Tool #16 wear compensation
1730 0 mm B-axis, Tool #16 wear compensation
1731 0 mm C-axis, Tool #16 wear compensation
1732 0 mm Tool #17 radius wear compensation
1733 0 mm X-axis, Tool #17 wear compensation
1734 0 mm Y-axis, Tool #17 wear compensation
1735 0 mm Z-axis, Tool #17 wear compensation
1736 0 mm A-axis, Tool #17 wear compensation
1737 0 mm B-axis, Tool #17 wear compensation
1738 0 mm C-axis, Tool #17 wear compensation
1739 0 mm Tool #18 radius wear compensation
1740 0 mm X-axis, Tool #18 wear compensation
1741 0 mm Y-axis, Tool #18 wear compensation
1742 0 mm Z-axis, Tool #18 wear compensation
1743 0 mm A-axis, Tool #18 wear compensation
1744 0 mm B-axis, Tool #18 wear compensation
1745 0 mm C-axis, Tool #18 wear compensation
1746 0 mm Tool #19 radius wear compensation
1747 0 mm X-axis, Tool #19 wear compensation
1748 0 mm Y-axis, Tool #19 wear compensation
1749 0 mm Z-axis, Tool #19 wear compensation
1750 0 mm A-axis, Tool #19 wear compensation
1751 0 mm B-axis, Tool #19 wear compensation
1752 0 mm C-axis, Tool #19wear compensation
1753 0 mm Tool #20 radius wear compensation
1754 0 mm X-axis, Tool #20 wear compensation
1755 0 mm Y-axis, Tool #20 wear compensation
1756 0 mm Z-axis, Tool #20 wear compensation
1757 0 mm A-axis, Tool #20 wear compensation
1758 0 mm B-axis, Tool #20 wear compensation
1759 0 mm C-axis, Tool #20 wear compensation
1760 0 mm Tool #21 radius wear compensation
1761 0 mm X-axis, Tool #21 wear compensation
1762 0 mm Y-axis, Tool #21 wear compensation
1763 0 mm Z-axis, Tool #21 wear compensation
1764 0 mm A-axis, Tool #21 wear compensation
1765 0 mm B-axis, Tool #21 wear compensation
7 - 18
7 MCM PARAMETERS
Factory
MCM
Default Unit Description Setting
No.
Setting
1766 0 mm C-axis, Tool #21 wear compensation
1767 0 mm Tool #22 radius wear compensation
1768 0 mm X-axis, Tool #22 wear compensation
1769 0 mm Y-axis, Tool #22 wear compensation
1770 0 mm Z-axis, Tool #22 wear compensation
1771 0 mm A-axis, Tool #22 wear compensation
1772 0 mm B-axis, Tool #22 wear compensation
1773 0 mm C-axis, Tool #22 wear compensation
1774 0 mm Tool #23 radius wear compensation
1775 0 mm X-axis, Tool #23 wear compensation
1776 0 mm Y-axis, Tool #23 wear compensation
1777 0 mm Z-axis, Tool #23 wear compensation
1778 0 mm A-axis, Tool #23 wear compensation
1779 0 mm B-axis, Tool #23 wear compensation
1780 0 mm C-axis, Tool #23 wear compensation
1781 0 mm Tool #24 radius wear compensation
1782 0 mm X-axis, Tool #24 wear compensation
1783 0 mm Y-axis, Tool #24 wear compensation
1784 0 mm Z-axis, Tool #24 wear compensation
1785 0 mm A-axis, Tool #24 wear compensation
1786 0 mm B-axis, Tool #24 wear compensation
1787 0 mm C-axis, Tool #24 wear compensation
1788 0 mm Tool #25 radius wear compensation
1789 0 mm X-axis, Tool #25 wear compensation
1790 0 mm Y-axis, Tool #25 wear compensation
1791 0 mm Z-axis, Tool #25 wear compensation
1792 0 mm A-axis, Tool #25 wear compensation
1793 0 mm B-axis, Tool #25 wear compensation
1794 0 mm C-axis, Tool #25 wear compensation
1795 0 mm Tool #26 radius wear compensation
1796 0 mm X-axis, Tool #26 wear compensation
1797 0 mm Y-axis, Tool #26 wear compensation
1798 0 mm Z-axis, Tool #26 wear compensation
1799 0 mm A-axis, Tool #26 wear compensation
1800 0 mm B-axis, Tool #26 wear compensation
1801 0 mm C-axis, Tool #26 wear compensation
1802 0 mm Tool #27 radius wear compensation
1803 0 mm X-axis, Tool #27 wear compensation
1804 0 mm Y-axis, Tool #27 wear compensation
1805 0 mm Z-axis, Tool #27 wear compensation
1806 0 mm A-axis, Tool #27 wear compensation
1807 0 mm B-axis, Tool #27 wear compensation
1808 0 mm C-axis, Tool #27 wear compensation
1809 0 mm Tool #28 radius wear compensation
1810 0 mm X-axis, Tool #28 wear compensation
1811 0 mm Y-axis, Tool #28 wear compensation
1812 0 mm Z-axis, Tool #28 wear compensation
1813 0 mm A-axis, Tool #28 wear compensation
1814 0 mm B-axis, Tool #28 wear compensation
1815 0 mm C-axis, Tool #28 wear compensation
1816 0 mm Tool #29 radius wear compensation
1817 0 mm X-axis, Tool #29 wear compensation
1818 0 mm Y-axis, Tool #29 wear compensation
7 - 19
HUST CNC H4D-T MANUALl
Factory
MCM
Default Unit Description Setting
No.
Setting
1819 0 mm Z-axis, Tool #29 wear compensation
1820 0 mm A-axis, Tool #29 wear compensation
1821 0 mm B-axis, Tool #29 wear compensation
1822 0 mm C-axis, Tool #29 wear compensation
1823 0 mm Tool #30 radius wear compensation
1824 0 mm X-axis, Tool #30 wear compensation
1825 0 mm Y-axis, Tool #30 wear compensation
1826 0 mm Z-axis, Tool #30 wear compensation
1827 0 mm A-axis, Tool #30 wear compensation
1828 0 mm B-axis, Tool #30 wear compensation
1829 0 mm C-axis, Tool #30 wear compensation
1830 0 mm Tool #31 radius wear compensation
1831 0 mm X-axis, Tool #31 wear compensation
1832 0 mm Y-axis, Tool #31 wear compensation
1833 0 mm Z-axis, Tool #31 wear compensation
1834 0 mm A-axis, Tool #31 wear compensation
1835 0 mm B-axis, Tool #31 wear compensation
1836 0 mm C-axis, Tool #31 wear compensation
1837 0 mm Tool #32 radius wear compensation
1838 0 mm X-axis, Tool #32 wear compensation
1839 0 mm Y-axis, Tool #32 wear compensation
1840 0 mm Z-axis, Tool #32 wear compensation
1841 0 mm A-axis, Tool #32 wear compensation
1842 0 mm B-axis, Tool #32 wear compensation
1843 0 mm C-axis, Tool #32 wear compensation
1844 0 mm Tool #33 radius wear compensation
1845 0 mm X-axis, Tool #33 wear compensation
1846 0 mm Y-axis, Tool #33 wear compensation
1847 0 mm Z-axis, Tool #33 wear compensation
1848 0 mm A-axis, Tool #33 wear compensation
1849 0 mm B-axis, Tool #33 wear compensation
1850 0 mm C-axis, Tool #33 wear compensation
1851 0 mm Tool #34 radius wear compensation
1852 0 mm X-axis, Tool #34 wear compensation
1853 0 mm Y-axis, Tool #34 wear compensation
1854 0 mm Z-axis, Tool #34 wear compensation
1855 0 mm A-axis, Tool #34 wear compensation
1856 0 mm B-axis, Tool #34 wear compensation
1857 0 mm C-axis, Tool #34 wear compensation
1858 0 mm Tool #35 radius wear compensation
1859 0 mm X-axis, Tool #35 wear compensation
1860 0 mm Y-axis, Tool #35 wear compensation
1861 0 mm Z-axis, Tool #35 wear compensation
1862 0 mm A-axis, Tool #35 wear compensation
1863 0 mm B-axis, Tool #35 wear compensation
1864 0 mm C-axis, Tool #35 wear compensation
1865 0 mm Tool #36 radius wear compensation
1866 0 mm X-axis, Tool #36 wear compensation
1867 0 mm Y-axis, Tool #36 wear compensation
1868 0 mm Z-axis, Tool #36 wear compensation
1869 0 mm A-axis, Tool #36 wear compensation
1870 0 mm B-axis, Tool #36 wear compensation
1871 0 mm C-axis, Tool #36 wear compensation
7 - 20
7 MCM PARAMETERS
Factory
MCM
Default Unit Description Setting
No.
Setting
1872 0 mm Tool #37 radius wear compensation
1873 0 mm X-axis, Tool #37 wear compensation
1874 0 mm Y-axis, Tool #37 wear compensation
1875 0 mm Z-axis, Tool #37 wear compensation
1876 0 mm A-axis, Tool #37 wear compensation
1877 0 mm B-axis, Tool #37 wear compensation
1878 0 mm C-axis, Tool #37 wear compensation
1879 0 mm Tool #38 radius wear compensation
1880 0 mm X-axis, Tool #38 wear compensation
1881 0 mm Y-axis, Tool #38 wear compensation
1882 0 mm Z-axis, Tool #38 wear compensation
1883 0 mm A-axis, Tool #38 wear compensation
1884 0 mm B-axis, Tool #38 wear compensation
1885 0 mm C-axis, Tool #38 wear compensation
1886 0 mm Tool #39 radius wear compensation
1887 0 mm X-axis, Tool #39 wear compensation
1888 0 mm Y-axis, Tool #39 wear compensation
1889 0 mm Z-axis, Tool #39 wear compensation
1890 0 mm A-axis, Tool #39 wear compensation
1891 0 mm B-axis, Tool #39 wear compensation
1892 0 mm C-axis, Tool #39 wear compensation
1893 0 mm Tool #40 radius wear compensation
1894 0 mm X-axis, Tool #40 wear compensation
1895 0 mm Y-axis, Tool #40 wear compensation
1896 0 mm Z-axis, Tool #40 wear compensation
1897 0 mm A-axis, Tool #40 wear compensation
1898 0 mm B-axis, Tool #40 wear compensation
1899 0 mm C-axis, Tool #40 wear compensation
1900 0 mm Tool-tip #1 radius compensation
1901 Tool-tip #2 radius compensation
1902 Tool-tip #3 radius compensation
1903 Tool-tip #4 radius compensation
1904 Tool-tip #5 radius compensation
1905 Tool-tip #6 radius compensation
1906 Tool-tip #7 radius compensation
1907 Tool-tip #8 radius compensation
1908 Tool-tip #9 radius compensation
1909 Tool-tip #10 radius compensation
1910 Tool-tip #11 radius compensation
1911 Tool-tip #12 radius compensation
1912 Tool-tip #13 radius compensation
1913 Tool-tip #14 radius compensation
1914 Tool-tip #15 radius compensation
1915 Tool-tip #16 radius compensation
1916 Tool-tip #17 radius compensation
1917 Tool-tip #18 radius compensation
1918 Tool-tip #19 radius compensation
1919 Tool-tip #20 radius compensation
1920 Tool-tip #21 radius compensation
1921 Tool-tip #22 radius compensation
1922 Tool-tip #23 radius compensation
1923 Tool-tip #24 radius compensation
1924 Tool-tip #25 radius compensation
7 - 21
HUST CNC H4D-T MANUALl
Factory
MCM
Default Unit Description Setting
No.
Setting
1925 Tool-tip #26 radius compensation
1926 Tool-tip #27 radius compensation
1927 Tool-tip #28 radius compensation
1928 Tool-tip #29 radius compensation
1929 Tool-tip #30 radius compensation
1930 Tool-tip #31 radius compensation
1931 Tool-tip #32 radius compensation
1932 Tool-tip #33 radius compensation
1933 Tool-tip #34 radius compensation
1934 Tool-tip #35 radius compensation
1935 Tool-tip #36 radius compensation
1936 Tool-tip #37 radius compensation
1937 Tool-tip #38 radius compensation
1938 Tool-tip #39 radius compensation
1939 Tool-tip #40 radius compensation
1940
7 - 22
7 MCM PARAMETERS
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 - 23
HUST CNC H4D-T MANUALl
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 - 24
7 MCM PARAMETERS
7 - 25
HUST CNC H4D-T MANUALl
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 - 26
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 - 27
HUST CNC H4D-T MANUALl
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
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
7 - 28
7 MCM PARAMETERS
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.
7 - 29
HUST CNC H4D-T MANUALl
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.
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
7 - 30
7 MCM PARAMETERS
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 H4D/HD/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 - 31
HUST CNC H4D-T MANUALl
7 - 32
7 MCM PARAMETERS
Tool Position
rd
3
INDEX of finding Encoder
Speed:MCM#142~ #145
Direction:MCM#231~ #234= 1
rd nd
3 2
Tool Position
7 - 33
HUST CNC H4D-T MANUALl
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 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.
7 - 34
7 MCM PARAMETERS
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 - 35
HUST CNC H4D-T MANUALl
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 - 36
7 MCM PARAMETERS
EX:
10
TOG
Pulse+ 19
Pulse- 20
Sign+ 21
22
Sign-
Fig 7.3
7 - 37
HUST CNC H4D-T MANUALl
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.
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 - 38
7 MCM PARAMETERS
7 - 39
HUST CNC H4D-T MANUALl
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 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 …
7 - 40
7 MCM PARAMETERS
Example: BIT 0=1 The X-axis handwheel command is reverse, but other
axes remain at the default.
7 - 41
HUST CNC H4D-T MANUALl
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.
7 - 42
7 MCM PARAMETERS
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.
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.
7 - 43
HUST CNC H4D-T MANUALl
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
7 - 44
7 MCM PARAMETERS
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.
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 - 45
HUST CNC H4D-T MANUALl
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 - 46
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).
7 - 47
HUST CNC H4D-T MANUALl
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 - 48
7 MCM PARAMETERS
Emergency
Actual Hardware Limit
5~10 mm each
Machine Origin
Software OT Limit
(MCM#581~ #649)
Fig 7.5
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)
7 - 49
HUST CNC H4D-T MANUALl
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 positioning and the absolute positioning. It
is necessary to use the G90/G91 mode to use them.
7 - 50
7 MCM PARAMETERS
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
7 - 51
HUST CNC H4D-T MANUALl
Y
60
5 P3
35
P2
10
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.
7 - 52
7 MCM PARAMETERS
Driver output
voltage
Setting value
Position Gain =
64
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.
7 - 53
HUST CNC H4D-T MANUALl
(1) Adjust the servo driver. (Please refer to the operation manual of the
driver)
(2) Adjust the MCM Parameters 461~469 for the multipliers (1,2,4) of
the signals from the the speed sensors. In normal condition, if the
motor is locked, the Servo Error will be oscillating between 0 and 1;
if it is oscillating between 4 and 5, the problem can be solved
usually by adjusting the MCM Parameters 461 ~ 469 for the
multipliers, i.e., 4 --> 2, or 2 --> 1.
(3) Adjust the values of MCM Parameters 701~709 for the position
loop gain.
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 - 54
7 MCM PARAMETERS
0.20
0.15
Controller
Command 0.10
0.05
ERROR = 10
0
10 20 30 40 50 60 70 80
7 - 55
HUST CNC H4D-T MANUALl
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.
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.
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)
7 - 56
7 MCM PARAMETERS
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 - 57
HUST CNC H4D-T MANUALl
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 - 58
7 MCM PARAMETERS
1000 mm
100mm
Fig7.10
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 H4D/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:
Segment length =100.00mm and the amount of compensation is
0.026mm as set in MCM#861. Then, the compensation for each section
is 0.026/8=0.00325mm. The compensation for this segment will be done
in a manner as tabulated below:
7 - 59
HUST CNC H4D-T MANUALl
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 - 60
7 MCM PARAMETERS
7 - 61
HUST CNC H4D-T MANUALl
7 - 62
8 APPENDIX
8 APPENDIX
Input Arrangement
8-1
HUST CNC H4D-T MANUAL
Output Arrangement
8-2
8 APPENDIX
PLC Parameters
Fig.8-1
Time- 1~4:
Time-3: feed time. The setting is based on the length of the material.
Time-4: Tool clamp delay time.
Tool numbers:
Steps for Lathe tool changer:
1. Tool changer Clockwise O08=1
2. Turn to tool number selection INPUT, manual tool changer is the next.
3. O08=0
4. Pause 50×5=250 ms (Timer =79)
5. Tool changer counter clockwise O09=1
6. Wait for the signal of tool lock I20=1
7. Counter Clockwise Continue (Time-4) ms (timer=78)
8-3
HUST CNC H4D-T MANUAL
compensation.
T603→ Tool number remains. Because 6 is bigger than 5, it will select the
third set of tool compensation instead.
8-4