Summary of Contents for HUST Automation H4CL-T Series
Page 1
Table of Contents TABLE OF CONTENTS Main Features of CNC Lathe Controller Operation Basic Operation Startup Screen Graph Mode Screen MPG – TEST Screen Auto Mode Screen MDI Mode Screen Home Mode Screen Jog Mode Screen Edit Mode display Program Selection Screen I/O Mode Screen 2-10 Tool Compensation Screen...
Page 2
HUST CNC-H4CL-T Manual 2.2.2.3 Entering Decimal Fractions 2-36 2.2.2.4 Editing Notes 2-36 G/M Codes Command codes Rapid Positioning, G00 Linear Cutting, G01 Arc Cutting, G02, G03 Dwell Command, G04 3-11 Return to the First Reference Point, G28 3-11 Return to Previous Position from Reference Point, G29 3-12 Tool Moves to the 2nd Reference Point, G30 3-12...
5.2.4 H4CL-T External Dimensions H4CL-T Panel H4CL-T CPU Main Board Connectors (Rear View) H4CL-T Series Case Dimensions (Rear view) H4CL-T Series Case Dimensions (Top View) H4CL-T Series MDI Panel Dimensions H4CL-T Series Cutout Dimensions H4CL-T Series MDI Panel Cutout Dimensions Input/Output Interface Connection (I/O) 5.3.1...
Page 5
Table of Contents Attachment B-ZDNC Operating Instructions Getting Started Open the Option Setting Screen Display Settings PC TO CNC CNC TO PC Attention...
Page 7
Chapter I Main-Features of HUST Lathe CNC Controller Main-Features of HUST Lathe CNC Controller □ Controlled Axes: X, Z and Spindle Encoder Feedback □ Program Designed by CAD/CAM on PC. Program input from PC through RS232C interface. □ Memory Capacity for CNC main board - 512k. □...
Chapter II Operation Operation Basic Operation Screen Description * Startup Screen After powering the controller, the following startup screen displays: Fig. 2-1 After 3 seconds, the next screen displays according to the “Mode Selection” setting. When turning the “PRON” knob from left to right, the following modes are displayed in order: “Graph”...
Page 10
HUSTCNC-H4CL-T Manual * Graph Mode Screen The following screen displays when the “Mode Selection” knob is set to “Graph”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST GRAPH HOME Mode Fig. 2-2 The “+” in the center of the screen indicates the zero position. It can be moved with the Cursor key, or via the characters on the top right corner of the screen.
Page 11
Chapter II Operation * MPG – TEST Screen The following screen displays when the “Mode Selection” knob is set to “MPG – TEST”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST HOME GRAPH Mode Fig. 2-3 After this mode is selected, the movement of all axes in the program is controlled by the MPG when the program is running.
Page 12
HUSTCNC-H4CL-T Manual * Auto Mode Screen The following screen displays when the “Mode Selection” knob is set to “Auto”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST GRAPH HOME Mode Fig. 2-4 The “soft keys” in auto mode are: 1. Single Step Execution: This function can be selected at any time regardless of whether the program is running or not.
Page 13
Chapter II Operation * MDI Mode Screen The following screen displays when the “Mode Selection” knob is in “MDI”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST GRAPH HOME Mode Fig. 2-5 Enter the block command and press the “Start” key in this mode to execute the block command.
Page 14
HUSTCNC-H4CL-T Manual * Jog Mode Screen The following screen displays when the “Mode Selection” knob is set to “Manual x 1”, “Manual x 10”, or “Manual x 100”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST HOME GRAPH Mode Fig. 2-7 The jog mode provides the following functions: 1.
Page 15
Chapter II Operation * Edit Mode display The following screen displays when the “Mode Selection” knob is in “Edit”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST GRAPH HOME Mode Fig. 2-8 The program can be edited in this mode. Set to Restart: Use the key to move to the block to be restarted and press “Set to Restart”...
Page 16
HUSTCNC-H4CL-T Manual * Program Selection Screen The following screen displays when the “Mode Selection” knob is set to “PRON”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST GRAPH HOME Mode Fig. 2-9 Programmable line numbers range: 0 ~ 699. The controller system uses numbers after 700.
Page 17
Chapter II Operation c. Press the enter key. Delete a program: a. Use the “Cursor ” key or “Page ” key to move the arrow to the program number to be deleted. b. When you press the “Delete” key, a dialogue prompts for confirmation. Press the “YES”...
Page 18
HUSTCNC-H4CL-T Manual * I/O (Input/Output) Mode Screen Press “I/O/MCM” once to enter I/O mode. The following screen displays: Fig. 2-11 “Input” Status of the Controller Press the “Output” soft key to display the following output status screen: Fig. 2-12 Controller “Output” Status Press the “Input”...
Page 19
Chapter II Operation Press the “MDI Panel” soft key to display the following MDI panel status screen : Fig. 2-13 “Input” and “Output” Status of the Controller Fig. 2-13-1 Press the "Output" key on the auxiliary panel to check the output status (key type).
Page 20
HUSTCNC-H4CL-T Manual * Tool Compensation Screen Click the “T.Radius / T.Offset” once to enter tool compensation mode. The following screen displays: Fig. 2-14 In this mode, it is possible to switch between three screens. Press the “soft key” to cycle between tool-wear compensation, tool-length compensation, and parameter screens.
Page 21
Chapter II Operation and tool-length compensation: Use the “Cursor ” key to move the cursor to the parameter to be changed. 1. Enter numbers. (Absolute coordinates setting 2. The parameter that is set corresponds to the X-axis and has a preamble U .
Page 22
HUSTCNC-H4CL-T Manual 2. Parameter Screen: The parameter screen displays as Fig. 2-16. Press to switch between pages. Fig. 2-16 Fig. 2-17 2 - 14...
Page 23
Chapter II Operation * Alarm Description Screen When the alarm is triggered, the system automatically displays a description of the cause. Press the “Alarm Description” soft key on the second page of the parameter screen to display the following alarm description screen: Fig.
Page 24
HUSTCNC-H4CL-T Manual * System Parameter Screen Press the “System Parameter” soft key on the second page of the parameter screen to display the system parameter page. The advanced parameters are protected by a password the default is 0 (password protection is optional) If the advanced parameters password is not “0”...
Page 25
Chapter II Operation Fig. 2-22 * Work Origin Setting Screen Press the “Work Origin Setting” key to enter the work origin setting screen. The work origin setting screen only displays after homing. Prerequisite: The following work origin setting screen (1) displays: Fig.
Page 26
HUSTCNC-H4CL-T Manual saved. Save the Z-axis position Select an axis for outer diameter cutting with the hand-wheel. Press the “Save the Z-axis” key before the Z-axis of the tool moves out of the cutting coordinate. The Z-axis position of the machine coordinates is saved.
Page 27
Chapter II Operation Program Editing 2.2.1 Programming Overview 2.2.1.1. Part Programs Prior to part machining, the part shape and machining conditions must be converted to a program. This program is called a part program. A comprehensive machining plan is required for writing the part program. The following factors must be taken into account when developing the machining plan: Determine the machining range requirements and select a suitable machine.
Page 28
HUSTCNC-H4CL-T Manual Good capability in setting chucks. Good capability in determination of part material. Two programming methods are available for the part program of the numerical control unit: □□ Manual Programming □□ Automatic Programming Manual Programming All processes from drawing of the part diagram, machining design, numerically controlled program algorithm, programming, to the transmission of the program and the controller are performed manually.
Page 29
Chapter II Operation 2.2.1.3. Program Composition A complete program contains a group of blocks. A block has a serial number and several commands. Each command is composed of a command code (letters A~Z) and numeric values ( + , - ,0~9). An example of a complete part program containing 10 blocks is shown in the table below.
Page 30
HUSTCNC-H4CL-T Manual Function Command: The G-code, for example, is used to instruct the machine to perform actions, such as linear cutting, arc cutting, or thread cutting. Positioning Command: X, Z, U, W commands, for example, instructs the G-code of the machine to stop at a specified position; i.e. destination or end point of the action.
Page 31
(positioning control). * Coordinate Axis The H4CL-T Series uses the well-known 2-D Cartesian coordinate system. The two axes used in the lathe series are defined as X-axis and Z-axis. The Z-axis is 2 - 23...
Page 32
When the spindle is rotating, your thumb points to the positive direction of the Z-axis and four fingers point to the direction of normal rotation. * Coordinate Positioning Control The coordinate of the H4CL-T Series is either absolute or incremental, depending on the command code of the coordinate axis, i.e.: X, Z: Absolute coordinate commands.
Page 33
Chapter II Operation direction, U, W represents an increment. If it is heading to the negative (-) direction, U, W represents decrement. X, Z and U, W are interchangeable in the program. The commands used for absolute and incremental coordinates are described as follows: Absolute Commands: (Fig.
Page 34
HUSTCNC-H4CL-T Manual Coordinate Interchange: P0 to P1 G01 X10.000 F0.200 P1 to P2 X24.000 W-8.000 P2 to P3 U8.000 Z10.000 P3 to P4 W-10.000 P0 to P1 G01 X10.000 F0.200 P1 to P2 U14.000 Z30.000 P2 to P3 X32.000 W-20.000 P3 to P4 Z0.000 Simultaneous use of absolute and incremental coordinate systems in a part...
Page 35
Chapter II Operation The programmer determines the position of the work origin. It can be any point on the centerline of the spindle. However, it is recommended to select an origin that makes reading of the work-piece coordinate easier. The X-axis of the work origin should be on the centerline of the lathe spindle.
Page 36
HUSTCNC-H4CL-T Manual For the H4CL-T Series controller, the machine origin is the stop position of the tool when the homing for each axis is complete. As Fig. 2-30 shows, the machine origin corresponding to the coordinate used to indicate the work origin varies depending on the position of the work origin.
Page 37
Chapter II Operation 2.2.1.5. Numerical Control Range The numerical and functional control range of the H4CL-T controller is described in the following two tables. Min. setting unit 0.001 mm Max. setting unit 9,999.999 mm Min. moving unit 0.001 mm Max. moving unit 9,999.999 mm Max.
Page 38
HUSTCNC-H4CL-T Manual 2.2.2 Program Editing The program editing operation includes: Program selection, New program editing, and Existing program change. 2.2.2.1. New Program Editing Fig. 2-31 The following keys are used to edit programs: Command keys. Numerical keys Cursors – Use to move the cursor to the block to edit.
Page 39
Chapter II Operation Creating a Program Example: Program 1 N1 G0 X0.Z0. N2 G4 X1. N3 G0 U480.W-480. N4 G4 X1. N5 M99 Action and Description: EDIT Make sure the controller is in the program-editing mode. Press the PRON key or turn the knob to begin editing. Enter data: First block data: Insert...
Page 40
HUSTCNC-H4CL-T Manual Third block: Insert Enter - Enter - (Note that the sign can be entered before the key is pressed.) Enter Fourth block: Enter Enter Fifth block: Insert If the size of a program exceeds one page, use ↑ or ↓to check the program on each page for correctness.
Page 41
Chapter II Operation The screen shows as Fig. 2-33. Fig. 2-33 Change U480. by entering U360; Enter To change an incorrect command, enter the correct command and press Enter Delete a Command Ex: The third block program N30 U480. W-480. F0.2 Changed to N30 U480.W-480.
Page 42
HUSTCNC-H4CL-T Manual Insert a Block Ex: Insert the block N31 U20. W-20 between the third block N3 G0 U480. W-480 and between N4 G4 X1 Procedure: Make sure the system is in “EDIT” mode. Use the to move the cursor to block N3. Enter Insert Enter...
Page 43
Chapter II Operation Fig. 2-36 Delete a Program In the “PRNO” mode, move the cursor to the program to be deleted and press key. The following message displays: Delete Fig. 2-37 At this time, press the key to delete the program O02. When you press key, no action is performed.
Page 44
HUSTCNC-H4CL-T Manual 2.2.2.3. Entering Fractions A command value is entered in either integer or real-number format with a maximum of 7 digits. You cannot enter a fraction for a parameter that requires an integer. You can insert a decimal point at the specified position for a command that requires real-number input.
Page 45
Chapter II Operation For instance, if N35 is inserted behind N30, the order is: 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 ..
Page 47
H4CL-T series and provide simple examples for each command to explain its applications. The definition of G-codes in the H4CL-T series is similar to other controllers. They are classified into two groups: (Table 3-1) 1.
Page 48
HUST CNC-H4CL-T Manual The G-codes of H4T controller are listed in Table 3-1. Table 3-1 G-Code Definitions G-code List G- code Function G- code Function * 00 Fast positioning (fast Canned cycle, fine cut feeding) * 01 # Linear cutting (cutting Compound canned feeding) cycle, lateral rough cut...
Page 49
Chapter III G/M Codes Tap Cutting Canned Cycle * 34 Tapered thread cutting Single lateral cutting canned cycle * 40 # Tool radius compensation Single thread cutting cancellation canned cycle * 41 Tool radius compensation Single traverse cutting setting (left) canned cycle * 42 Tool radius compensation...
Page 50
HUST CNC-H4CL-T Manual Fast Positioning, G00 Format: G00 X(U)____ Z(W)____ X, Z : End point in absolute coordinates. U, W : End point in incremental coordinates relative to the block starting point. Fig. 3-1 Fast positioning G00 (or G0 ) is used to instruct the tool to move to the defined end point of a program block at the maximum speed of MCM #33.
Page 51
Chapter III G/M Codes 3.05 3.00 2.00 Fig. 3-2 G00 Programming Example 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.
Page 52
HUST CNC-H4CL-T Manual 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. The starting point is the coordinate of the tool when the command is given.
Page 53
Chapter III G/M Codes G02, G03 Arc Cutting The arc-cutting program contains four command groups, as showed in the list below. The combination of these commands determine the arc path of the tool in a single block. Command Description Arc feed direction Clockwise Counter clockwise End point...
Page 54
HUST CNC-H4CL-T Manual An arc comprises three elements, a start point, and end point and a center (See Fig. 3-5). The start point (S) is the tool coordinates when the G02 and G03 execute. The end point (E) is the coordinates of X (U) and Z (W) in the program format. The center (C) is defined by I and K values.
Page 55
Chapter III G/M Codes G03 X(U)____ Z(W)____ I____ K____ F____ Start Fig 3-7 G03 Arc Cutting G02 X(U)____ Z(W)____ R____ F____ Start Fig. 3-8 Defined by Radius “R” Example: The following four commands are different in settings but execute the same arc cutting work.
Page 56
HUST CNC-H4CL-T Manual There are two different arc types available for arc cutting (Fig. 3-10): Use “+R" if arc angle < 180 ° . Use “-R" if arc angle > 180 ° . R is within the range from -4000.mm to +4000.mm. Ex: In Fig.
Page 57
Chapter III G/M Codes Dwell Command, G04 Format: G04 X____ X: Dwell time in sec (the X here indicates time rather than position). To meet machining requirements, the axial movement may need to be held during the execution of a program block, which completes before the command for the next block is executed.
Page 58
HUST CNC-H4CL-T Manual Return to Previous Position from Reference Point, G29 Format: G29 X____Z____ The X, Z, values in this format are not used. They only indicate the set of axes to return to the previous position from the reference point. When the tool returns to the position before G28 is executed, use the G29 command.
Page 59
Chapter III G/M Codes Skip Function, G31 Format: G31 X (U)____ Z(W)____ X, Z: Predicted end point in absolute coordinates U, W: Predicted end point in incremental coordinates relative to the starting point. Defined skip point. To ensure a valid skip function G31, it must be used in combination with an I/O signal.
Page 60
HUST CNC-H4CL-T Manual . Note that G31 cannot be used in the tool radius compensation state. G40 must be executed to cancel the tool radius compensation before G31 is given. . The skip function is invalid during the program dry run, feed-rate adjustment and auto acceleration/deceleration.
Page 61
Chapter III G/M Codes 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. Due to delay of the server system, imperfections could result at both ends of the thread (S1 and S2).
Page 63
Chapter III G/M Codes Specifications: Thread pitch F=2 mm Cutting lead starts S1 = 2 mm, Cutting lead ends S2 = 2 mm, Thread depth = 1.4 mm (diameter) formed by two cutting actions. 40 33 Fig 3-15 Tapered Thread Cutting If the angle between the tapered thread and Z-axis is smaller than 45 °...
Page 64
HUST CNC-H4CL-T Manual 3.11 Tap Cutting Canned Cycle G33 Format: G33 Z (W)______ F______ Z (W) : End point coordinate of taping length : Thread pitch G33 Execution process of Z-axis tap cutting canned cycle Z-axis starts tap cutting Spindle off Wait for complete stop of spindle Spindle reverses (opposite direction to the previous round) Z-axis retraction...
Page 65
The canned cycle function is a special G-code of command groups. It comprises canned cycle cutting actions commonly used in machining processes. The command groups of H4CL-T Series are classified into single canned cycle and compound canned cycle command groups. Both are handy and effective in programming and applications.
Page 66
HUST CNC-H4CL-T Manual : The difference between point B and C in radius. X, Z, U, W and F are identical to those in lateral linear canned cycle. Fig. 3-21 G90 Tapered Cutting Path When using incremental coordinates, the signs (+/-) of U and W are determined by the tool's direction of movement.
Page 67
Chapter III G/M Codes : Thread pitch (metric) : The axial travel length on X-axis for ending of the thread cutting. If K ≠ 0, “I” will be omitted and regarded as 2*K (i.e. ending of the thread cutting at 45 ° ). : The axial distance on Z-axis from the start point to the end point for the end of thread cutting.
Page 68
HUST CNC-H4CL-T Manual X, Z, U, W, L, Q, F are identical to those of the linear thread cutting canned cycle. Description of the tapered thread cutting is identical to linear thread cutting. Fig. 3-24 G92 Tapered Thread Cutting Canned Cycle Linear Traversed Canned Cycle, G94 Format: G94 X(U)____ Z(W)____ F____...
Page 69
Chapter III G/M Codes Tapered Traversed Canned Cycle, G94 Format: G94 X(U) Z(W) R F R : The difference between point B and C in radius. X, Z, U, W and F are identical to those of the linear traversed canned cycle. Fig.
Page 70
HUST CNC-H4CL-T Manual 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-28, if the length of movement on Z-axis is fixed, the canned cycle is repeated merely by executing the X-axis positioning command.
Page 71
Chapter III G/M Codes G71 U( △ d) R(e) G71 P(ns) Q(nf) U( △ u) W( △ w) F(f) S(s) T(t) When changing the tool for fine cutting, the tool number T**** should be inserted in the line before T____ X____ Z_____ S____ N(ns).
Page 72
HUST CNC-H4CL-T Manual 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. U( △ u) Amount of material to be removed for fine cut, X-axis. W( △...
Page 73
Chapter III G/M Codes Programming example of G70, G71 compound canned cycle: G70, G71 start/end point Safe point to (100/2,140) change tool 1 (retraction) (cutting depth) G70 fine cut path Reserved for fine cut 20 10 Fig. 3-31 Programming Example of G71, G70 Compound Canned Cycle N10 G00 X100.000 Z140.000 N20 M03 S1000 N30 G71 U7.000 R1.000...
Page 74
HUST CNC-H4CL-T Manual N160 M05 S0 N170 M02 Compound Canned Cycle, Traversed Rough Cut, G72 Format: G72 W( △ d) R(e) G72 P(ns) Q(nf) U( △ u) W( △ w) F(f) S(s) T(t) T____ X____ Z_____ S____ When changing the tool for fine cut, the tool number T**** should be inserted in the line before N (ns).
Page 75
Chapter III G/M Codes . The X and Z tool path from A1 to B must be incremental or decremental. . No subprogram is available from N(ns) to N(nf). G72 is applicable to the following four cutting types. They are all parallel to X-axis.
Page 76
HUST CNC-H4CL-T Manual N10 G00 X108.000 Z130.000 N20 M03 S2000 N30 G72 W10.000 R1.000 This box contains fine cut tool change commands. The blocks containing T-code are not executed for the rough-cut. N40 G72 P80 Q130 U4.0 W2.0 F3.00 However, they will be executed to change tools for fine cut.
Page 77
Chapter III G/M Codes ..... N(nf) G70 P(ns) Q(nf) --- Fine cut (See the description above.) k+ w A~ C retraction distance 1,2,3 feed sequence i+ u/2 Fig. 3-35 Cutting Path of G73 Compound Canned Cycle U( △ i) : Cutting amount on X-axis. (radius programming) If not defined, the parameter "G73 Total Cutting Amount "...
Page 78
HUST CNC-H4CL-T Manual . N(ns)~N(nf) define the machining path of A ← A1 ← B. . A maximum of 50 blocks can be inserted from N(ns) to N(nf). . No subprogram is available from N(ns) to N(nf). . The tool returns to A when the cycle finishes. ....
Page 79
Chapter III G/M Codes N100 W-20.000 N110 X75.000 W-15.000 N120 W-15.000 N130 G01 X100.000 W-15.000 N140 G70 P80 Q100 Canned Cycle, Fine Cut, G70 After a work-piece undergoes rough cut with G71, G72 or G73, G70 is used for fine cut of the work-piece to ensure its precision. Format: G70 P(ns) Q(nf) P(ns)
Page 80
HUST CNC-H4CL-T Manual : The retraction amount after each cut of △ k on Z-axis. R(e) If not defined, parameter "G74, G75 Retraction Amount" is used. : Absolute coordinates of point C on Z-axis. : Incremental coordinates of points A~C on Z-axis. K( △...
Page 81
Chapter III G/M Codes TOOL Fig. 3-38 Traverse Grooving Canned Cycle, G75 The G75 function is the same as G74 except that the positioning direction of G75 is on the X-axis. Format: G75 X(U) ___ K( △ k) R( △ e) F ___ Tool width (AD) must be acquired to Tool determine the position of D.
Page 82
HUST CNC-H4CL-T Manual : Absolute coordinates of Point C on X-axis. : Incremental coordinates of points A~C on the X-axis K( △ k) : X-axis cutting amount. (Integer μ m with diameter progrmming) : Feed-rate. . The retraction amount R( △ e) is a modal code. It remains valid until another value defined.
Page 83
Chapter III G/M Codes : Fine cut times (2-digit, 01~99) If not defined, parameter "G76 Fine Cut Times" is used. : Chamfering settings (2 digits) Length of chamfering = 0.1 × chamfering settings (r) × thread pitch. If not defined, the parameter "Chamfering Settings" is used. : Tool-tip angle (2 digits).
Page 84
HUST CNC-H4CL-T Manual In Fig. 3-39,, 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: U, W : Negative (determined by the directions of AC and CD). : Negative (determined by the directions of AC).
Page 85
Chapter III G/M Codes Programming example of G76 compound thread cutting canned cycle: If tool nose angle a=60 ° , Thread pitch F (l)=2 mm. as shown in the above example, thread height k= 1.732 X = 20 - 2 × 1.732 = 16.536 1.732 16.536 Fig.
Page 86
HUST CNC-H4CL-T Manual . When executing G70~G73, the serial numbers defined by P and Q should not be the same. . In G70, G71, G72, and G73, chamfering and R angle should not be used to terminate the last positioning command used for fine cut shaping blocks defined by P and Q.
Page 87
Chapter III G/M Codes Ex: N10 G50 S2000 ... Max. rotation speed of the spindle is 2000 rpm. N20 G96 S200 . . . The constant surface cutting speed is 200 m/min. 3.15 Constant Rotation Speed Setting (Constant Surface Cutting Speed Cancellation), G97 Format: G97 S____...
Page 88
HUST CNC-H4CL-T Manual Currently, H4CL-T Series provides the following M-codes: M-CODE Function Program Suspension. Option Suspension. Program End. Program Finished. Subprogram Call Subprogram ends or main program repeats. Customized M code (PLC) Spindle rotates in normal direction Spindle rotates in reversed...
Page 89
..... Execute subprogram No 5 three times. M98 P05 L3 Stepwise Call: the main program calls the first subprogram, and the first subprogram calls a second sub-prgrams. The H4CL-T Series controller provides a maximum of 5 levels stepwise calls: PROGRAM 1...
Page 90
HUST CNC-H4CL-T Manual 3.20 G40 G41 G42 Tool Radius Compensation 3.20.1 Total Offset Compensation Setting and Cancellation Total offset compensation = Length compensation + Wear compensation Format: Compensation Compensation Cancel T □□ Without Turret T ○○□□ T ○○ 00 With Turret □□...
Page 91
Chapter III G/M Codes In this example, T0202(T202) indicates that the second tool and the second set of compensation data are selected. T0200 (or T200) indicates that the tool length compensation is cancelled. Notes: After powering the CNC, compensation is automatically cancelled and the compensation number is reset to “0”...
Page 92
HUST CNC-H4CL-T Manual be remedied by radius compensation to position the cutting path from C~D to P1~P2. The amount of positioning is calculated by CNC internally. Unreachable part Fig. 3-46 Cutting Error without Radius Compensation (Taper) Similarly, an error occurs during arc-cutting, as shown in Fig 3-47. It could also be remedied by radius compensation, with the amount of compensation calculated by the CNC.
Page 93
Chapter III G/M Codes 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"...
Page 94
HUST CNC-H4CL-T Manual G42 (right side) Direction of tool path Work piece Direction of tool path G41 (left side) Fig. 3-49 G41 and G42 Applications Initial Setting for Tool Radius Compensation: When G41/G42 is executed, the tool moves in a linear motion to the X, Y coordinate defined in the G41/G42 block at G01 speed.
Page 95
Chapter III G/M Codes Program path Fig. 3-51 Initial Setting of the Tool Radius Compensation - 2 Tool Radius Compensation Cancellation: Once G41 or G42 is executed successfully, G40 command must be used to cancel the tool radius compensation. The movement for cancellation of the radius compensation can only be executed in the G00 or G01 mode.
Page 96
HUST CNC-H4CL-T Manual N10 G41(G42) ..... ... ... N15 G02 X____ Z____ I____ K____ F____ N20 G01 N25 G40 X____ Z____ Program path N25 G40 Fig 3-53 Tool Radius Compensation Cancellation - 2 G40, G41, G42 are modal codes. Once G41 (or G42) is set, do not set it again before using G40 to cancel the compensation.
Page 97
Chapter III G/M Codes Tool-tip radius compensation is not allowed for G74, G75, or G76. When cutting an inside corner, the arc radius R of the inside corner must be equal or greater than the tool radius (r). Otherwise an alarm is generated. Cutting and outside corner of an arc is not subject to this regulation.
Page 98
HUST CNC-H4CL-T Manual Start point R=25 Fig. 3-56 ... Point S N10 G0 X100. Z120. ... Point 1 N20 G0 X0. Z110. N30 M3 S2000 ... Point 2, compensation N40 G42 Z100. T02 F3.0 insertion ... Point 3 N50 G1 X20. ......
Page 99
Chapter III G/M Codes An over-cutting alarm is generated if you try to return to Point S directly from Point 10. This is because the angle of 9-10-S is too sharp. The alarm is also generated if the radius compensation is greater than 2.0 mm, which is the distance from 8 to 9.
Page 101
Chapter IV MCM Parameter Settings MCM Parameters MCM Parameters The MCM parameter setting function allows the user to define controller system constants according to mechanical specifications and machining conditions. These parameters are classified into two groups: basic parameters and MCM parameters.
Page 102
HUST CNC-H4CL-T Manual 4.1.2 MCM Parameters The correct and proper setting of these parameters is important for operation of the mechanical system and fabrication of the work-piece. Make sure that the setting is correct. Press to restart the machine when the MCM parameter Reset is successfully set ※...
Page 105
Chapter IV MCM Parameter Settings Fig 4-11 Server Spindle Parameter Setting - (3) Description of Parameters X-axis JOG speed setting, unit: mm/min. Z-axis JOG speed setting, unit: mm/min. □□□□ Format= (Default 1000) Set the workpiece counting limit. □□□□□□□ Format= (Default=0) Set the maximum value for number of program executions to cooperate with utilization of M15 and M16.
Page 106
HUST CNC-H4CL-T Manual When setting=1 and input I05 is ON, a program block containing “/1” will be skipped. M12 feeding-delay setting □□□□ Format= (Default= 50) unit:10ms M12 is the feeding command code. The countdown will be initiated after the PLC receives the M12 command code, and once the countdown is finished, the output 0011 (0011 feed output) will turn to ON.
Page 108
HUST CNC-H4CL-T Manual The maximum feed rate is calculated as follows: Fmax = 0.95 x RPM (the maximum rpm of the servomotor) x Pitch (ball screw pitch) ÷ GR Ex: The highest rotation speed of the servomotor on X-axis is 3000 rpm, the ball screw pitch is 5mm.
Page 109
Chapter IV MCM Parameter Settings 23. Z-axis homing speed when tool returns to machine origin 2. □□□□ Format= (Default=40), Unit: mm/min When the tool returns to home, the machine moves to the limit switch at the first velocity and the length of the limit switch must be greater than the distance required for deceleration.
Page 110
HUST CNC-H4CL-T Manual The setting value is the negative distance between software OT and the machine origin. The concept and description of OT limit: EM-STOP Software OT limit Machine Origin Software OT limit (MCM #171~182) EM-STOP About5~10mm About 5~10mm Fig 4-11 30.
Page 111
Chapter IV MCM Parameter Settings Press the "Ball Screw Compensation" soft key to set the compensation for each segment (max. 40 segments). 36. X-axis origin signal format setting. 37. Z-axis origin signal format setting. □ Format= (Default=0) Setting = 0, Origin signal format: NC Setting = 1, Origin signal format: NO 38.
Page 112
HUST CNC-H4CL-T Manual 43. Maximum "W" value during execution. □□.□□□ Format= (Default: 0.000) During execution, only increments are allowed for change of tool compensation data.These settings define the maximum input value. Setting = 0.000 indicates that no change of tool compensation data is allowed during execution.
Page 113
Chapter IV MCM Parameter Settings □ Format= (Default=1). Maximum=3. First spindle SPINDLE adapter Second spindle Y-AXIS adapter Third spindle D/A holder Condition: when the first spindle is the server spindle (angle controlled by first spindle), one spindle at a time. 50.
Page 114
HUST CNC-H4CL-T Manual ※ There is a 2%~3% slip when the motor operates at the highest rpm. The actual slip depends on design of the motor. 56. Spindle rotating direction settings. □ Format= (Default=0) Setting=0 , CW Setting=1 , CCW 57.
Page 115
Chapter IV MCM Parameter Settings □□□□ Format= , Default 50, Unit:10ms. Please pause this setting once the tool is found in CW rotation, and then execute CCW rotation. The design varies among manufacturers; the description is for reference only. 64. CCW rotation time for tool search setting □□□□...
Page 116
HUST CNC-H4CL-T Manual ※ Time – 1~4" and "Number of Tools": See Chapter VII "Attachment". " The parameters below are applicable to the close-loop spindle positioning control. 70. Spindle rotating direction settings. □ Format= (Default=0) Setting=0 , CW Setting=1 , CCW 71.
Page 117
Chapter IV MCM Parameter Settings 76. Spindle positioning angle in the JOG mode. □□□.□□ Format= (Default=0.000) □□□□□ 77. Value to be displayed per rotation of the spindle Format= (Default=0). This parameter is only available at the Recommended value of 360000 78.
5.1 Connecting System Descriptions This connection manual explains the electrical connections and system structure of the H4CL-T Series numerical control unit to ensure adequate connection between the numerical unit and machine. Fig. 5-1 shows the H4CL-T Series externally connected command devices.
Page 120
HUST CNC-H4CL-T Manual 5.2 System Installation 5.2.1 Operating Environment The control unit used for the H4CL-T Series must be installed under the following conditions. Any failure to observe these conditions may lead to abnormal operation. Ambient temperature - 0 ° C ~ 45 ° C.
Page 121
Chapter V Connection 5.2.3 Thermal Case Design The internal temperature of the case should not be 10 ° C higher than the ambient temperature. The main factors are the heat source and heat transfer area. For customers, the heat source is more uncontrollable than the heat transfer area.
Page 122
HUST CNC-H4CL-T Manual 5.2.4 H4CL-T External Dimensions H4CL-T Panel AUTO TAPE EDIT RESET PRONO TEACH HOME ENTER LINE DEL. CLEAR CURSOR PAGE START Fig. 5-2 H4CL-T Control Unit Panel PRNO EDIT TEAC AUTO MPG-TEST GRAPH HOME MODE AXIS G01 MFO G00 MFO FEED Ref-...
Page 123
ODD 2 Z-AXIS EVN 2 A-AXIS ODD 1 RS232 EVN 1 AC110 220V±10% LCD.ADJ Fig. 5-4 H4CL-T CPU Main Board Connectors H4CL-T Series Case Dimensions (Rear view) INPUT OUTPUT X-AXIS Y-AXIS 237.4 ODD 2 Z-AXIS EVN 2 A-AXIS ODD 1...
HUST CNC-H4CL-T Manual 5.3 Input/Output (I/O) Interface Connections 5.3.1 Input Board / Output Board (Terminal Block Type) NPN standard input board – 24 IN. 200 mm 44 mm 64 mm 65 mm 64 mm Fig. 5-10 NPN type 1 Input Board NPN type standard output board –...
Chapter V Connection 5.3.2 Input Board / Output Board (CE Standard) Input Board The standard NPN input board provides an interface of 24 input points. When the signal is correctly received, the corresponding indicator illuminates. Note: Voltages exist at the +24V terminal of each input when the DC 24V power supply begins operation.
HUST CNC-H4CL-T Manual Output Board The standard NPN input board provides a 16-input interface. During output, the corresponding indicator illuminates. If the DIP switch is “OFF”, the COM and NO are the general switch contacts. If the DIP switch is “ON”, the COM is directly connected to the 24V ground. Therefore, when the solenoid valve and DC motor at the NO is driven via 24V signal ground, the DIP should only be switched to “ON”.
(In this case, the transistors in the controller are likely to blow if the line fails or the current existing on the circuit exceeds the rated current.) The output points of the H4CL-T Series are transistor circuit of the open collector. 5 - 11...
Input Signal Specification: Input voltage: 0 V. Input current: 8 mA. The H4CL-T Series should be fed with the DC 24V power supply from the output board. The DC 24 power supply will not provided. Input Signal Connection Diagram (direct input to the control unit) The input signal is directly connected to the input points (the input connectors of the H4CL-T) of the numerical control unit when the input board is not used.
Chapter V Connection Input Signal Connection Diagram (input to the control unit via the input board) INPUT Board Signal Contact 3.3K Resistance I - point Control Unit Circuit 5V Ground Machine DB25LFConnector Pin (I- point) Fig. 5-16 Input Signal Connection (input to the control unit via the input board) 5.3.5 Output Signals The output signal is transmitted to the external machine from the control unit.
Page 132
HUST CNC-H4CL-T Manual Pin assignment (output) of DB25LM RELAY Spark Killer (diode) Controller output circuit Machine Fig. 5-17 Output Line (without the output relay board) Output Signal Connection (the signal is transmitted to the machine via the output relay board) OUTPUT Relay Board DB25LM Connect Pin (O point) Surge absorber...
Page 133
Chapter V Connection 5.4 Connection Diagram 5.4.1 Connector Type The connector types on the back of the H4CL-T control unit are listed below. Each connector symbol is followed by a letter of either M (for male) or F (for female). :...
Page 134
HUST CNC-H4CL-T Manual 5.4.3 H4CL-T Connection (Y-shaped terminal) H4CL-T Main Connection Diagram DC 24V +24V Power Supply +24V OUTPUT Board INPUT OUTPUT X-AXIS X-axis Y-axis Y-AXIS ODD 2 Z-axis Z-AXIS Spindle EVN 2 A-AXIS ODD 1 RS232 EVN 1 AC110 220V±10% AC IN: only for AC 220V INPUT Board Fig.
Page 135
Chapter V Connection Emergency-Stop Line-1 It is recommended to connect as Fig. 5-20. In doing so, the software and hardware is controlled in series and the user can press the emergency button to turn off the servo even if an abnormality is found in the software. (E-Stop) 24V GND (0V) Emergency...
Page 138
HUST CNC-H4CL-T Manual 5.4.4 H4CL-T Connection (CE Standard) H4CL-T Main Connection Diagram +24V +24V Power Supply +24V OUTPUT Board INPUT OUTPUT X-axis X-AXIS Y-axis Y-AXIS ODD 2 Z-axis Z-AXIS Spindle EVN 2 A-AXIS Hand- heel ODD 1 RS232 EVN 1 AC110 220V±10% AC IN: only for AC 220V INPUT Board...
Page 139
Chapter V Connection ** Emergency-Stop Line-1 It is recommended to connect as Fig. 5-24. In doing so, the software and hardware is controlled in series and the user can press the emergency button to turn off the servo even if an abnormality is found in the software. 24V GND (0V) (E-Stop) Emergency...
Page 141
Chapter V Connection Servo Motor Connection Diagram (The MITSUBISHI J2S motor is used as an example.) To the control unit axis To SERVO-ON RELAY 3∅ AC 220V Grounding Fig. 5-26 5 - 23...
Page 142
HUST CNC-H4CL-T Manual 5.4.5 H4CL-L Auxiliary panel + SIO wring and explanation INPUT OUTPUT X-AXIS Y-AXIS ODD 2 Z-AXIS EVN 2 A-AXIS ODD 1 RS232 EVN 1 AC110 220V±10% PANEL BOARD Attention of wiring SIO for H4CL-L 1. The signal will decay without input the 24V for each expansion Input or Output board.
Page 143
Chapter V Connection * Expansion Output Board size 1. There have 16 output for one piece of expansion OUTPUT board. 2. O000∼O013 is the type of Open-Collector.(24V 100 mA) 3. The other two is for Contact type.(5A) RELAY 1 RELAY 2 Fig.
Page 144
HUST CNC-H4CL-T Manual 5.4.6 Connection Method for Servo Drivers & Pulse Generators The servo driver is connected to the connectors of the X-, and Z-axis, and the spindle encoder and inverter to the spindle. As shown in Fig. 5-30, the pulse generator is connected to the MPG.
Page 145
Chapter V Connection 5.4.7 System AC Power Connection CNC Power-on Servo Power-on Time Time servo on delay To CPU Power supply R AC220V R AC220V S To CPU Power supply T AC220V T Timer Delay Contact Servo Driver power-off power-on Power-On Relay Power-On Timer Relay Items with a dotted...
Page 146
HUST CNC-H4CL-T Manual 5.4.9 RS232 Connector Pin Assignment and Connection Fig. 33 shows the connection method for the H4CL-T control unit and PC. Observe the following notes when connecting: The connection between the RS232 C port and PC should not be more than 15 meters.
Page 147
Chapter V Connection 5.4.10 D/A Explanation and Wiring (For Spindle) D/A for spindle control, the explanation and wiring is below: * D/A Explanation B- -12V A- +12V (5V) VCC VCMD Fig 5-34 D/A Connector * D/A Wiring Encoder Signal VCMD Signal 0 ~ 10V Fig 5-35 D/A Wiring 5 - 29...
Page 149
6 Error Message Explanations When an error occurs during the execution of the program, the error message is displayed on the LCD of the H4CL-T Series controller. (Fig 6-1). Possible error messages of the H4CL-M Series controller and their solutions are described in...
Page 150
* ERROR 13 -- Error G-Code Command Message: An incorrect G-code exists in the program data of the H4CL-T Series controller and cannot be accepted. Recommended Remedy: Check the program and make sure the G-code is correct.
Page 151
Chapter VI Maintenance – Error Message Explanations Message: The X-axis tool moves beyond the pre-set hardware over-travel limit. Recommended Remedy: Manually move the X-axis tool back to the travel limit. * ERROR 16 -- Z-axis Over-travel Message: The Z-axis tool moves beyond the pre-set hardware over-travel limit. Recommended Remedy: Manually move the Z-axis tool back to the travel limit.
Page 152
HUST CNC-H4CL-T Manual Recommended Remedy: Check the part program and recalculate the intersection of the arc. Make sure the coordinates of the intersecting point are correct. * ERROR 30.1 –Battery is Low Message: The controller battery (BT1) has failed. Recommended Remedy: Turn on the controller for four hours to recharge the battery.
Page 153
Chapter VII Maintenance – Attachment A At 7 Attachment - A * Input Planning Description Remarks INPUT EM-STOP X-axis Home LIMIT Z-axis Home LIMIT Foot Switch (turned on using the pedal) Restorative Auto/Semi-auto Selective skip Program lock Selective dwell Reserved for external Reset (button) Tool 1 Positioning Signal Tool 2 Positioning Signal...
Page 154
HUST CNC-H4CL-T Manual Example: M03 S1000 G01 X20. F1.2 X50. /1 If I04 of block N30 is 1, this block is skipped and block N40 will be executed directly after block N20. N40 X0. “Charging” When I104=0, the “Charging” function is selected. When I04 = 0, “manual”...
Page 155
Chapter VII Maintenance – Attachment A * Output Planning Output Description Remarks Spindle Rotation CW Spindle Rotation CCW Coolant Alarm Indicator Spindle Chuck Lubricant Chuck Release Indicator - ON Tool Changing Rotation CW Tool Changing Rotation CCW Charging Output Workpiece count reached preset target - ON SERVO-ON X SERVO-ON Z *...
Page 156
HUST CNC-H4CL-T Manual * M-code and I/O M-code Description Remarks Spindle Rotation CW O00=1 Spindle Rotation CCW O01=1 Spindle Stop O00=0,O01=0 Coolant ON O02=1 Coolant OFF O02=0 Chuck Released O04=1 Chuck Closed O04=0 Counter +1 #6501+1 Applicable while spindle Power head 1 ON O010=1 number =1 Applicable while spindle...
Page 157
Chapter VII Maintenance – Attachment A M-code Description Remarks First spindle switches to C axis standard axial mode First spindle switches to spindle mode Second spindle switches to A axis standard axial mode First spindle switches to C axis spindle mode *...
Page 158
HUST CNC-H4CL-T Manual * PLC Parameters Fig. 7-2 Tool Counts: Lathe tool changing steps: Tool Changing rotation CW O08=1 Turn to the desired tool number (INPUT). Manually change the next tool. O08=0 Pause 50×5=250 ms (Timer =79) Tool changing rotation CCW O09=1 Wait for the tool locking signal I20=1 CCW rotation continues for (Time-4) time (Timer=78) O09=0;...
Page 159
Chapter VIII Attachment B – ZDNC Operating Instructions Attachment - B - zDNC Operating Instructions 1. Getting Started Click on the desktop to execute zDNC zDNC 2. Open the Option Setting Screen Enable Option is required for parameter configuration Right-click Fig 8-1 8 - 1...
Page 160
HUST CNC-H4CL-T Manual 3. Display Settings Corresponding to controller settings To avoid connection failure, do not check boxes other than those indicated here. Save the changes To change the settings, press DisConnect. When the settings are configured, press Connect. Fig 8-2 8 - 2...
Page 161
Chapter VIII Attachment B – ZDNC Operating Instructions 4. PC TO CNC Job file path Trans. progress Start trans Select a file 0: Transmit the part program to CNC 1:Transmit the part program to CNC and execute simultaneously (PLC required) 2: Transmit variables to CNC Fig 8-3 8 - 3...
Page 162
HUST CNC-H4CL-T Manual 5. CNC TO PC Start reading Select a file name 0>transmit the current file 1>transmit all part programs 2-9&M>transmit variables Fig 8-4 6. Attention ※ DNC function is required to transmit huge part programs. ※ PLC should not restrict the availability of R100, R239, C04 when DNC is required, because the system needs to change the value of these three items to enter DNC mode.
Page 165
Table of Contents TABLE OF CONTENTS Main Features of CNC Lathe Controller Operation Basic Operation Startup Screen Graph Mode Screen MPG – TEST Screen Auto Mode Screen MDI Mode Screen Home Mode Screen Jog Mode Screen Edit Mode display Program Selection Screen I/O Mode Screen 2-10 Tool Compensation Screen...
Page 166
HUST CNC-H4CL-T Manual 2.2.2.3 Entering Decimal Fractions 2-36 2.2.2.4 Editing Notes 2-36 G/M Codes Command codes Rapid Positioning, G00 Linear Cutting, G01 Arc Cutting, G02, G03 Dwell Command, G04 3-11 Return to the First Reference Point, G28 3-11 Return to Previous Position from Reference Point, G29 3-12 Tool Moves to the 2nd Reference Point, G30 3-12...
5.2.4 H4CL-T External Dimensions H4CL-T Panel H4CL-T CPU Main Board Connectors (Rear View) H4CL-T Series Case Dimensions (Rear view) H4CL-T Series Case Dimensions (Top View) H4CL-T Series MDI Panel Dimensions H4CL-T Series Cutout Dimensions H4CL-T Series MDI Panel Cutout Dimensions Input/Output Interface Connection (I/O) 5.3.1...
Page 169
Table of Contents Attachment B-ZDNC Operating Instructions Getting Started Open the Option Setting Screen Display Settings PC TO CNC CNC TO PC Attention...
Page 171
Chapter I Main-Features of HUST Lathe CNC Controller Main-Features of HUST Lathe CNC Controller □ Controlled Axes: X, Z and Spindle Encoder Feedback □ Program Designed by CAD/CAM on PC. Program input from PC through RS232C interface. □ Memory Capacity for CNC main board - 512k. □...
Chapter II Operation Operation Basic Operation Screen Description * Startup Screen After powering the controller, the following startup screen displays: Fig. 2-1 After 3 seconds, the next screen displays according to the “Mode Selection” setting. When turning the “PRON” knob from left to right, the following modes are displayed in order: “Graph”...
Page 174
HUSTCNC-H4CL-T Manual * Graph Mode Screen The following screen displays when the “Mode Selection” knob is set to “Graph”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST GRAPH HOME Mode Fig. 2-2 The “+” in the center of the screen indicates the zero position. It can be moved with the Cursor key, or via the characters on the top right corner of the screen.
Page 175
Chapter II Operation * MPG – TEST Screen The following screen displays when the “Mode Selection” knob is set to “MPG – TEST”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST HOME GRAPH Mode Fig. 2-3 After this mode is selected, the movement of all axes in the program is controlled by the MPG when the program is running.
Page 176
HUSTCNC-H4CL-T Manual * Auto Mode Screen The following screen displays when the “Mode Selection” knob is set to “Auto”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST GRAPH HOME Mode Fig. 2-4 The “soft keys” in auto mode are: 1. Single Step Execution: This function can be selected at any time regardless of whether the program is running or not.
Page 177
Chapter II Operation * MDI Mode Screen The following screen displays when the “Mode Selection” knob is in “MDI”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST GRAPH HOME Mode Fig. 2-5 Enter the block command and press the “Start” key in this mode to execute the block command.
Page 178
HUSTCNC-H4CL-T Manual * Jog Mode Screen The following screen displays when the “Mode Selection” knob is set to “Manual x 1”, “Manual x 10”, or “Manual x 100”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST HOME GRAPH Mode Fig. 2-7 The jog mode provides the following functions: 1.
Page 179
Chapter II Operation * Edit Mode display The following screen displays when the “Mode Selection” knob is in “Edit”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST GRAPH HOME Mode Fig. 2-8 The program can be edited in this mode. Set to Restart: Use the key to move to the block to be restarted and press “Set to Restart”...
Page 180
HUSTCNC-H4CL-T Manual * Program Selection Screen The following screen displays when the “Mode Selection” knob is set to “PRON”: PRNO TEACH EDIT JOG×1 AUTO JOG×10 JOG×100 MPG-TEST GRAPH HOME Mode Fig. 2-9 Programmable line numbers range: 0 ~ 699. The controller system uses numbers after 700.
Page 181
Chapter II Operation c. Press the enter key. Delete a program: a. Use the “Cursor ” key or “Page ” key to move the arrow to the program number to be deleted. b. When you press the “Delete” key, a dialogue prompts for confirmation. Press the “YES”...
Page 182
HUSTCNC-H4CL-T Manual * I/O (Input/Output) Mode Screen Press “I/O/MCM” once to enter I/O mode. The following screen displays: Fig. 2-11 “Input” Status of the Controller Press the “Output” soft key to display the following output status screen: Fig. 2-12 Controller “Output” Status Press the “Input”...
Page 183
Chapter II Operation Press the “MDI Panel” soft key to display the following MDI panel status screen : Fig. 2-13 “Input” and “Output” Status of the Controller Fig. 2-13-1 Press the "Output" key on the auxiliary panel to check the output status (key type).
Page 184
HUSTCNC-H4CL-T Manual * Tool Compensation Screen Click the “T.Radius / T.Offset” once to enter tool compensation mode. The following screen displays: Fig. 2-14 In this mode, it is possible to switch between three screens. Press the “soft key” to cycle between tool-wear compensation, tool-length compensation, and parameter screens.
Page 185
Chapter II Operation and tool-length compensation: Use the “Cursor ” key to move the cursor to the parameter to be changed. 1. Enter numbers. (Absolute coordinates setting 2. The parameter that is set corresponds to the X-axis and has a preamble U .
Page 186
HUSTCNC-H4CL-T Manual 2. Parameter Screen: The parameter screen displays as Fig. 2-16. Press to switch between pages. Fig. 2-16 Fig. 2-17 2 - 14...
Page 187
Chapter II Operation * Alarm Description Screen When the alarm is triggered, the system automatically displays a description of the cause. Press the “Alarm Description” soft key on the second page of the parameter screen to display the following alarm description screen: Fig.
Page 188
HUSTCNC-H4CL-T Manual * System Parameter Screen Press the “System Parameter” soft key on the second page of the parameter screen to display the system parameter page. The advanced parameters are protected by a password the default is 0 (password protection is optional) If the advanced parameters password is not “0”...
Page 189
Chapter II Operation Fig. 2-22 * Work Origin Setting Screen Press the “Work Origin Setting” key to enter the work origin setting screen. The work origin setting screen only displays after homing. Prerequisite: The following work origin setting screen (1) displays: Fig.
Page 190
HUSTCNC-H4CL-T Manual saved. Save the Z-axis position Select an axis for outer diameter cutting with the hand-wheel. Press the “Save the Z-axis” key before the Z-axis of the tool moves out of the cutting coordinate. The Z-axis position of the machine coordinates is saved.
Page 191
Chapter II Operation Program Editing 2.2.1 Programming Overview 2.2.1.1. Part Programs Prior to part machining, the part shape and machining conditions must be converted to a program. This program is called a part program. A comprehensive machining plan is required for writing the part program. The following factors must be taken into account when developing the machining plan: Determine the machining range requirements and select a suitable machine.
Page 192
HUSTCNC-H4CL-T Manual Good capability in setting chucks. Good capability in determination of part material. Two programming methods are available for the part program of the numerical control unit: □□ Manual Programming □□ Automatic Programming Manual Programming All processes from drawing of the part diagram, machining design, numerically controlled program algorithm, programming, to the transmission of the program and the controller are performed manually.
Page 193
Chapter II Operation 2.2.1.3. Program Composition A complete program contains a group of blocks. A block has a serial number and several commands. Each command is composed of a command code (letters A~Z) and numeric values ( + , - ,0~9). An example of a complete part program containing 10 blocks is shown in the table below.
Page 194
HUSTCNC-H4CL-T Manual Function Command: The G-code, for example, is used to instruct the machine to perform actions, such as linear cutting, arc cutting, or thread cutting. Positioning Command: X, Z, U, W commands, for example, instructs the G-code of the machine to stop at a specified position; i.e. destination or end point of the action.
Page 195
(positioning control). * Coordinate Axis The H4CL-T Series uses the well-known 2-D Cartesian coordinate system. The two axes used in the lathe series are defined as X-axis and Z-axis. The Z-axis is 2 - 23...
Page 196
When the spindle is rotating, your thumb points to the positive direction of the Z-axis and four fingers point to the direction of normal rotation. * Coordinate Positioning Control The coordinate of the H4CL-T Series is either absolute or incremental, depending on the command code of the coordinate axis, i.e.: X, Z: Absolute coordinate commands.
Page 197
Chapter II Operation direction, U, W represents an increment. If it is heading to the negative (-) direction, U, W represents decrement. X, Z and U, W are interchangeable in the program. The commands used for absolute and incremental coordinates are described as follows: Absolute Commands: (Fig.
Page 198
HUSTCNC-H4CL-T Manual Coordinate Interchange: P0 to P1 G01 X10.000 F0.200 P1 to P2 X24.000 W-8.000 P2 to P3 U8.000 Z10.000 P3 to P4 W-10.000 P0 to P1 G01 X10.000 F0.200 P1 to P2 U14.000 Z30.000 P2 to P3 X32.000 W-20.000 P3 to P4 Z0.000 Simultaneous use of absolute and incremental coordinate systems in a part...
Page 199
Chapter II Operation The programmer determines the position of the work origin. It can be any point on the centerline of the spindle. However, it is recommended to select an origin that makes reading of the work-piece coordinate easier. The X-axis of the work origin should be on the centerline of the lathe spindle.
Page 200
HUSTCNC-H4CL-T Manual For the H4CL-T Series controller, the machine origin is the stop position of the tool when the homing for each axis is complete. As Fig. 2-30 shows, the machine origin corresponding to the coordinate used to indicate the work origin varies depending on the position of the work origin.
Page 201
Chapter II Operation 2.2.1.5. Numerical Control Range The numerical and functional control range of the H4CL-T controller is described in the following two tables. Min. setting unit 0.001 mm Max. setting unit 9,999.999 mm Min. moving unit 0.001 mm Max. moving unit 9,999.999 mm Max.
Page 202
HUSTCNC-H4CL-T Manual 2.2.2 Program Editing The program editing operation includes: Program selection, New program editing, and Existing program change. 2.2.2.1. New Program Editing Fig. 2-31 The following keys are used to edit programs: Command keys. Numerical keys Cursors – Use to move the cursor to the block to edit.
Page 203
Chapter II Operation Creating a Program Example: Program 1 N1 G0 X0.Z0. N2 G4 X1. N3 G0 U480.W-480. N4 G4 X1. N5 M99 Action and Description: EDIT Make sure the controller is in the program-editing mode. Press the PRON key or turn the knob to begin editing. Enter data: First block data: Insert...
Page 204
HUSTCNC-H4CL-T Manual Third block: Insert Enter - Enter - (Note that the sign can be entered before the key is pressed.) Enter Fourth block: Enter Enter Fifth block: Insert If the size of a program exceeds one page, use ↑ or ↓to check the program on each page for correctness.
Page 205
Chapter II Operation The screen shows as Fig. 2-33. Fig. 2-33 Change U480. by entering U360; Enter To change an incorrect command, enter the correct command and press Enter Delete a Command Ex: The third block program N30 U480. W-480. F0.2 Changed to N30 U480.W-480.
Page 206
HUSTCNC-H4CL-T Manual Insert a Block Ex: Insert the block N31 U20. W-20 between the third block N3 G0 U480. W-480 and between N4 G4 X1 Procedure: Make sure the system is in “EDIT” mode. Use the to move the cursor to block N3. Enter Insert Enter...
Page 207
Chapter II Operation Fig. 2-36 Delete a Program In the “PRNO” mode, move the cursor to the program to be deleted and press key. The following message displays: Delete Fig. 2-37 At this time, press the key to delete the program O02. When you press key, no action is performed.
Page 208
HUSTCNC-H4CL-T Manual 2.2.2.3. Entering Fractions A command value is entered in either integer or real-number format with a maximum of 7 digits. You cannot enter a fraction for a parameter that requires an integer. You can insert a decimal point at the specified position for a command that requires real-number input.
Page 209
Chapter II Operation For instance, if N35 is inserted behind N30, the order is: 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 ..
H4CL-T series and provide simple examples for each command to explain its applications. The definition of G-codes in the H4CL-T series is similar to other controllers. They are classified into two groups: (Table 3-1) 1.
Page 212
HUST CNC-H4CL-T Manual The G-codes of H4T controller are listed in Table 3-1. Table 3-1 G-Code Definitions G-code List G- code Function G- code Function * 00 Fast positioning (fast Canned cycle, fine cut feeding) * 01 # Linear cutting (cutting Compound canned feeding) cycle, lateral rough cut...
Page 213
Chapter III G/M Codes Tap Cutting Canned Cycle * 34 Tapered thread cutting Single lateral cutting canned cycle * 40 # Tool radius compensation Single thread cutting cancellation canned cycle * 41 Tool radius compensation Single traverse cutting setting (left) canned cycle * 42 Tool radius compensation...
Page 214
HUST CNC-H4CL-T Manual Fast Positioning, G00 Format: G00 X(U)____ Z(W)____ X, Z : End point in absolute coordinates. U, W : End point in incremental coordinates relative to the block starting point. Fig. 3-1 Fast positioning G00 (or G0 ) is used to instruct the tool to move to the defined end point of a program block at the maximum speed of MCM #33.
Page 215
Chapter III G/M Codes 3.05 3.00 2.00 Fig. 3-2 G00 Programming Example 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.
Page 216
HUST CNC-H4CL-T Manual 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. The starting point is the coordinate of the tool when the command is given.
Page 217
Chapter III G/M Codes G02, G03 Arc Cutting The arc-cutting program contains four command groups, as showed in the list below. The combination of these commands determine the arc path of the tool in a single block. Command Description Arc feed direction Clockwise Counter clockwise End point...
Page 218
HUST CNC-H4CL-T Manual An arc comprises three elements, a start point, and end point and a center (See Fig. 3-5). The start point (S) is the tool coordinates when the G02 and G03 execute. The end point (E) is the coordinates of X (U) and Z (W) in the program format. The center (C) is defined by I and K values.
Page 219
Chapter III G/M Codes G03 X(U)____ Z(W)____ I____ K____ F____ Start Fig 3-7 G03 Arc Cutting G02 X(U)____ Z(W)____ R____ F____ Start Fig. 3-8 Defined by Radius “R” Example: The following four commands are different in settings but execute the same arc cutting work.
Page 220
HUST CNC-H4CL-T Manual There are two different arc types available for arc cutting (Fig. 3-10): Use “+R" if arc angle < 180 ° . Use “-R" if arc angle > 180 ° . R is within the range from -4000.mm to +4000.mm. Ex: In Fig.
Page 221
Chapter III G/M Codes Dwell Command, G04 Format: G04 X____ X: Dwell time in sec (the X here indicates time rather than position). To meet machining requirements, the axial movement may need to be held during the execution of a program block, which completes before the command for the next block is executed.
Page 222
HUST CNC-H4CL-T Manual Return to Previous Position from Reference Point, G29 Format: G29 X____Z____ The X, Z, values in this format are not used. They only indicate the set of axes to return to the previous position from the reference point. When the tool returns to the position before G28 is executed, use the G29 command.
Page 223
Chapter III G/M Codes Skip Function, G31 Format: G31 X (U)____ Z(W)____ X, Z: Predicted end point in absolute coordinates U, W: Predicted end point in incremental coordinates relative to the starting point. Defined skip point. To ensure a valid skip function G31, it must be used in combination with an I/O signal.
Page 224
HUST CNC-H4CL-T Manual . Note that G31 cannot be used in the tool radius compensation state. G40 must be executed to cancel the tool radius compensation before G31 is given. . The skip function is invalid during the program dry run, feed-rate adjustment and auto acceleration/deceleration.
Page 225
Chapter III G/M Codes 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. Due to delay of the server system, imperfections could result at both ends of the thread (S1 and S2).
Page 227
Chapter III G/M Codes Specifications: Thread pitch F=2 mm Cutting lead starts S1 = 2 mm, Cutting lead ends S2 = 2 mm, Thread depth = 1.4 mm (diameter) formed by two cutting actions. 40 33 Fig 3-15 Tapered Thread Cutting If the angle between the tapered thread and Z-axis is smaller than 45 °...
Page 228
HUST CNC-H4CL-T Manual 3.11 Tap Cutting Canned Cycle G33 Format: G33 Z (W)______ F______ Z (W) : End point coordinate of taping length : Thread pitch G33 Execution process of Z-axis tap cutting canned cycle Z-axis starts tap cutting Spindle off Wait for complete stop of spindle Spindle reverses (opposite direction to the previous round) Z-axis retraction...
Page 229
The canned cycle function is a special G-code of command groups. It comprises canned cycle cutting actions commonly used in machining processes. The command groups of H4CL-T Series are classified into single canned cycle and compound canned cycle command groups. Both are handy and effective in programming and applications.
Page 230
HUST CNC-H4CL-T Manual : The difference between point B and C in radius. X, Z, U, W and F are identical to those in lateral linear canned cycle. Fig. 3-21 G90 Tapered Cutting Path When using incremental coordinates, the signs (+/-) of U and W are determined by the tool's direction of movement.
Page 231
Chapter III G/M Codes : Thread pitch (metric) : The axial travel length on X-axis for ending of the thread cutting. If K ≠ 0, “I” will be omitted and regarded as 2*K (i.e. ending of the thread cutting at 45 ° ). : The axial distance on Z-axis from the start point to the end point for the end of thread cutting.
Page 232
HUST CNC-H4CL-T Manual X, Z, U, W, L, Q, F are identical to those of the linear thread cutting canned cycle. Description of the tapered thread cutting is identical to linear thread cutting. Fig. 3-24 G92 Tapered Thread Cutting Canned Cycle Linear Traversed Canned Cycle, G94 Format: G94 X(U)____ Z(W)____ F____...
Page 233
Chapter III G/M Codes Tapered Traversed Canned Cycle, G94 Format: G94 X(U) Z(W) R F R : The difference between point B and C in radius. X, Z, U, W and F are identical to those of the linear traversed canned cycle. Fig.
Page 234
HUST CNC-H4CL-T Manual 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-28, if the length of movement on Z-axis is fixed, the canned cycle is repeated merely by executing the X-axis positioning command.
Page 235
Chapter III G/M Codes G71 U( △ d) R(e) G71 P(ns) Q(nf) U( △ u) W( △ w) F(f) S(s) T(t) When changing the tool for fine cutting, the tool number T**** should be inserted in the line before T____ X____ Z_____ S____ N(ns).
Page 236
HUST CNC-H4CL-T Manual 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. U( △ u) Amount of material to be removed for fine cut, X-axis. W( △...
Page 237
Chapter III G/M Codes Programming example of G70, G71 compound canned cycle: G70, G71 start/end point Safe point to (100/2,140) change tool 1 (retraction) (cutting depth) G70 fine cut path Reserved for fine cut 20 10 Fig. 3-31 Programming Example of G71, G70 Compound Canned Cycle N10 G00 X100.000 Z140.000 N20 M03 S1000 N30 G71 U7.000 R1.000...
Page 238
HUST CNC-H4CL-T Manual N160 M05 S0 N170 M02 Compound Canned Cycle, Traversed Rough Cut, G72 Format: G72 W( △ d) R(e) G72 P(ns) Q(nf) U( △ u) W( △ w) F(f) S(s) T(t) T____ X____ Z_____ S____ When changing the tool for fine cut, the tool number T**** should be inserted in the line before N (ns).
Page 239
Chapter III G/M Codes . The X and Z tool path from A1 to B must be incremental or decremental. . No subprogram is available from N(ns) to N(nf). G72 is applicable to the following four cutting types. They are all parallel to X-axis.
Page 240
HUST CNC-H4CL-T Manual N10 G00 X108.000 Z130.000 N20 M03 S2000 N30 G72 W10.000 R1.000 This box contains fine cut tool change commands. The blocks containing T-code are not executed for the rough-cut. N40 G72 P80 Q130 U4.0 W2.0 F3.00 However, they will be executed to change tools for fine cut.
Page 241
Chapter III G/M Codes ..... N(nf) G70 P(ns) Q(nf) --- Fine cut (See the description above.) k+ w A~ C retraction distance 1,2,3 feed sequence i+ u/2 Fig. 3-35 Cutting Path of G73 Compound Canned Cycle U( △ i) : Cutting amount on X-axis. (radius programming) If not defined, the parameter "G73 Total Cutting Amount "...
Page 242
HUST CNC-H4CL-T Manual . N(ns)~N(nf) define the machining path of A ← A1 ← B. . A maximum of 50 blocks can be inserted from N(ns) to N(nf). . No subprogram is available from N(ns) to N(nf). . The tool returns to A when the cycle finishes. ....
Page 243
Chapter III G/M Codes N100 W-20.000 N110 X75.000 W-15.000 N120 W-15.000 N130 G01 X100.000 W-15.000 N140 G70 P80 Q100 Canned Cycle, Fine Cut, G70 After a work-piece undergoes rough cut with G71, G72 or G73, G70 is used for fine cut of the work-piece to ensure its precision. Format: G70 P(ns) Q(nf) P(ns)
Page 244
HUST CNC-H4CL-T Manual : The retraction amount after each cut of △ k on Z-axis. R(e) If not defined, parameter "G74, G75 Retraction Amount" is used. : Absolute coordinates of point C on Z-axis. : Incremental coordinates of points A~C on Z-axis. K( △...
Page 245
Chapter III G/M Codes TOOL Fig. 3-38 Traverse Grooving Canned Cycle, G75 The G75 function is the same as G74 except that the positioning direction of G75 is on the X-axis. Format: G75 X(U) ___ K( △ k) R( △ e) F ___ Tool width (AD) must be acquired to Tool determine the position of D.
Page 246
HUST CNC-H4CL-T Manual : Absolute coordinates of Point C on X-axis. : Incremental coordinates of points A~C on the X-axis K( △ k) : X-axis cutting amount. (Integer μ m with diameter progrmming) : Feed-rate. . The retraction amount R( △ e) is a modal code. It remains valid until another value defined.
Page 247
Chapter III G/M Codes : Fine cut times (2-digit, 01~99) If not defined, parameter "G76 Fine Cut Times" is used. : Chamfering settings (2 digits) Length of chamfering = 0.1 × chamfering settings (r) × thread pitch. If not defined, the parameter "Chamfering Settings" is used. : Tool-tip angle (2 digits).
Page 248
HUST CNC-H4CL-T Manual In Fig. 3-39,, 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: U, W : Negative (determined by the directions of AC and CD). : Negative (determined by the directions of AC).
Page 249
Chapter III G/M Codes Programming example of G76 compound thread cutting canned cycle: If tool nose angle a=60 ° , Thread pitch F (l)=2 mm. as shown in the above example, thread height k= 1.732 X = 20 - 2 × 1.732 = 16.536 1.732 16.536 Fig.
Page 250
HUST CNC-H4CL-T Manual . When executing G70~G73, the serial numbers defined by P and Q should not be the same. . In G70, G71, G72, and G73, chamfering and R angle should not be used to terminate the last positioning command used for fine cut shaping blocks defined by P and Q.
Page 251
Chapter III G/M Codes Ex: N10 G50 S2000 ... Max. rotation speed of the spindle is 2000 rpm. N20 G96 S200 . . . The constant surface cutting speed is 200 m/min. 3.15 Constant Rotation Speed Setting (Constant Surface Cutting Speed Cancellation), G97 Format: G97 S____...
Page 252
HUST CNC-H4CL-T Manual Currently, H4CL-T Series provides the following M-codes: M-CODE Function Program Suspension. Option Suspension. Program End. Program Finished. Subprogram Call Subprogram ends or main program repeats. Customized M code (PLC) Spindle rotates in normal direction Spindle rotates in reversed...
Page 253
..... Execute subprogram No 5 three times. M98 P05 L3 Stepwise Call: the main program calls the first subprogram, and the first subprogram calls a second sub-prgrams. The H4CL-T Series controller provides a maximum of 5 levels stepwise calls: PROGRAM 1...
Page 254
HUST CNC-H4CL-T Manual 3.20 G40 G41 G42 Tool Radius Compensation 3.20.1 Total Offset Compensation Setting and Cancellation Total offset compensation = Length compensation + Wear compensation Format: Compensation Compensation Cancel T □□ Without Turret T ○○□□ T ○○ 00 With Turret □□...
Page 255
Chapter III G/M Codes In this example, T0202(T202) indicates that the second tool and the second set of compensation data are selected. T0200 (or T200) indicates that the tool length compensation is cancelled. Notes: After powering the CNC, compensation is automatically cancelled and the compensation number is reset to “0”...
Page 256
HUST CNC-H4CL-T Manual be remedied by radius compensation to position the cutting path from C~D to P1~P2. The amount of positioning is calculated by CNC internally. Unreachable part Fig. 3-46 Cutting Error without Radius Compensation (Taper) Similarly, an error occurs during arc-cutting, as shown in Fig 3-47. It could also be remedied by radius compensation, with the amount of compensation calculated by the CNC.
Page 257
Chapter III G/M Codes 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"...
Page 258
HUST CNC-H4CL-T Manual G42 (right side) Direction of tool path Work piece Direction of tool path G41 (left side) Fig. 3-49 G41 and G42 Applications Initial Setting for Tool Radius Compensation: When G41/G42 is executed, the tool moves in a linear motion to the X, Y coordinate defined in the G41/G42 block at G01 speed.
Page 259
Chapter III G/M Codes Program path Fig. 3-51 Initial Setting of the Tool Radius Compensation - 2 Tool Radius Compensation Cancellation: Once G41 or G42 is executed successfully, G40 command must be used to cancel the tool radius compensation. The movement for cancellation of the radius compensation can only be executed in the G00 or G01 mode.
Page 260
HUST CNC-H4CL-T Manual N10 G41(G42) ..... ... ... N15 G02 X____ Z____ I____ K____ F____ N20 G01 N25 G40 X____ Z____ Program path N25 G40 Fig 3-53 Tool Radius Compensation Cancellation - 2 G40, G41, G42 are modal codes. Once G41 (or G42) is set, do not set it again before using G40 to cancel the compensation.
Page 261
Chapter III G/M Codes Tool-tip radius compensation is not allowed for G74, G75, or G76. When cutting an inside corner, the arc radius R of the inside corner must be equal or greater than the tool radius (r). Otherwise an alarm is generated. Cutting and outside corner of an arc is not subject to this regulation.
Page 262
HUST CNC-H4CL-T Manual Start point R=25 Fig. 3-56 ... Point S N10 G0 X100. Z120. ... Point 1 N20 G0 X0. Z110. N30 M3 S2000 ... Point 2, compensation N40 G42 Z100. T02 F3.0 insertion ... Point 3 N50 G1 X20. ......
Page 263
Chapter III G/M Codes An over-cutting alarm is generated if you try to return to Point S directly from Point 10. This is because the angle of 9-10-S is too sharp. The alarm is also generated if the radius compensation is greater than 2.0 mm, which is the distance from 8 to 9.
Chapter IV MCM Parameter Settings MCM Parameters MCM Parameters The MCM parameter setting function allows the user to define controller system constants according to mechanical specifications and machining conditions. These parameters are classified into two groups: basic parameters and MCM parameters.
Page 266
HUST CNC-H4CL-T Manual 4.1.2 MCM Parameters The correct and proper setting of these parameters is important for operation of the mechanical system and fabrication of the work-piece. Make sure that the setting is correct. Press to restart the machine when the MCM parameter Reset is successfully set ※...
Page 269
Chapter IV MCM Parameter Settings Fig 4-11 Server Spindle Parameter Setting - (3) Description of Parameters X-axis JOG speed setting, unit: mm/min. Z-axis JOG speed setting, unit: mm/min. □□□□ Format= (Default 1000) Set the workpiece counting limit. □□□□□□□ Format= (Default=0) Set the maximum value for number of program executions to cooperate with utilization of M15 and M16.
Page 270
HUST CNC-H4CL-T Manual When setting=1 and input I05 is ON, a program block containing “/1” will be skipped. M12 feeding-delay setting □□□□ Format= (Default= 50) unit:10ms M12 is the feeding command code. The countdown will be initiated after the PLC receives the M12 command code, and once the countdown is finished, the output 0011 (0011 feed output) will turn to ON.
Page 272
HUST CNC-H4CL-T Manual The maximum feed rate is calculated as follows: Fmax = 0.95 x RPM (the maximum rpm of the servomotor) x Pitch (ball screw pitch) ÷ GR Ex: The highest rotation speed of the servomotor on X-axis is 3000 rpm, the ball screw pitch is 5mm.
Page 273
Chapter IV MCM Parameter Settings 23. Z-axis homing speed when tool returns to machine origin 2. □□□□ Format= (Default=40), Unit: mm/min When the tool returns to home, the machine moves to the limit switch at the first velocity and the length of the limit switch must be greater than the distance required for deceleration.
Page 274
HUST CNC-H4CL-T Manual The setting value is the negative distance between software OT and the machine origin. The concept and description of OT limit: EM-STOP Software OT limit Machine Origin Software OT limit (MCM #171~182) EM-STOP About5~10mm About 5~10mm Fig 4-11 30.
Page 275
Chapter IV MCM Parameter Settings Press the "Ball Screw Compensation" soft key to set the compensation for each segment (max. 40 segments). 36. X-axis origin signal format setting. 37. Z-axis origin signal format setting. □ Format= (Default=0) Setting = 0, Origin signal format: NC Setting = 1, Origin signal format: NO 38.
Page 276
HUST CNC-H4CL-T Manual 43. Maximum "W" value during execution. □□.□□□ Format= (Default: 0.000) During execution, only increments are allowed for change of tool compensation data.These settings define the maximum input value. Setting = 0.000 indicates that no change of tool compensation data is allowed during execution.
Page 277
Chapter IV MCM Parameter Settings □ Format= (Default=1). Maximum=3. First spindle SPINDLE adapter Second spindle Y-AXIS adapter Third spindle D/A holder Condition: when the first spindle is the server spindle (angle controlled by first spindle), one spindle at a time. 50.
Page 278
HUST CNC-H4CL-T Manual ※ There is a 2%~3% slip when the motor operates at the highest rpm. The actual slip depends on design of the motor. 56. Spindle rotating direction settings. □ Format= (Default=0) Setting=0 , CW Setting=1 , CCW 57.
Page 279
Chapter IV MCM Parameter Settings □□□□ Format= , Default 50, Unit:10ms. Please pause this setting once the tool is found in CW rotation, and then execute CCW rotation. The design varies among manufacturers; the description is for reference only. 64. CCW rotation time for tool search setting □□□□...
Page 280
HUST CNC-H4CL-T Manual ※ Time – 1~4" and "Number of Tools": See Chapter VII "Attachment". " The parameters below are applicable to the close-loop spindle positioning control. 70. Spindle rotating direction settings. □ Format= (Default=0) Setting=0 , CW Setting=1 , CCW 71.
Page 281
Chapter IV MCM Parameter Settings 76. Spindle positioning angle in the JOG mode. □□□.□□ Format= (Default=0.000) □□□□□ 77. Value to be displayed per rotation of the spindle Format= (Default=0). This parameter is only available at the Recommended value of 360000 78.
5.1 Connecting System Descriptions This connection manual explains the electrical connections and system structure of the H4CL-T Series numerical control unit to ensure adequate connection between the numerical unit and machine. Fig. 5-1 shows the H4CL-T Series externally connected command devices.
Page 284
HUST CNC-H4CL-T Manual 5.2 System Installation 5.2.1 Operating Environment The control unit used for the H4CL-T Series must be installed under the following conditions. Any failure to observe these conditions may lead to abnormal operation. Ambient temperature - 0 ° C ~ 45 ° C.
Page 285
Chapter V Connection 5.2.3 Thermal Case Design The internal temperature of the case should not be 10 ° C higher than the ambient temperature. The main factors are the heat source and heat transfer area. For customers, the heat source is more uncontrollable than the heat transfer area.
Page 286
HUST CNC-H4CL-T Manual 5.2.4 H4CL-T External Dimensions H4CL-T Panel AUTO TAPE EDIT RESET PRONO TEACH HOME ENTER LINE DEL. CLEAR CURSOR PAGE START Fig. 5-2 H4CL-T Control Unit Panel PRNO EDIT TEAC AUTO MPG-TEST GRAPH HOME MODE AXIS G01 MFO G00 MFO FEED Ref-...
Page 287
ODD 2 Z-AXIS EVN 2 A-AXIS ODD 1 RS232 EVN 1 AC110 220V±10% LCD.ADJ Fig. 5-4 H4CL-T CPU Main Board Connectors H4CL-T Series Case Dimensions (Rear view) INPUT OUTPUT X-AXIS Y-AXIS 237.4 ODD 2 Z-AXIS EVN 2 A-AXIS ODD 1...
Page 288
HUST CNC-H4CL-T Manual H4CL-T Series Case Dimensions (Top view) 78.8 Fig. 5-6 H4CL-T Control Unit Dimensions (Top View) H4CL-T Series MDI Panel Dimensions PRNO EDIT TEAC AUTO MPG-TEST GRAPH HOME MODE AXIS G01 MFO G00 MFO FEED Toll Ref- Servo Lub.
Page 290
HUST CNC-H4CL-T Manual 5.3 Input/Output (I/O) Interface Connections 5.3.1 Input Board / Output Board (Terminal Block Type) NPN standard input board – 24 IN. 200 mm 44 mm 64 mm 65 mm 64 mm Fig. 5-10 NPN type 1 Input Board NPN type standard output board –...
Page 291
Chapter V Connection 5.3.2 Input Board / Output Board (CE Standard) Input Board The standard NPN input board provides an interface of 24 input points. When the signal is correctly received, the corresponding indicator illuminates. Note: Voltages exist at the +24V terminal of each input when the DC 24V power supply begins operation.
Page 292
HUST CNC-H4CL-T Manual Output Board The standard NPN input board provides a 16-input interface. During output, the corresponding indicator illuminates. If the DIP switch is “OFF”, the COM and NO are the general switch contacts. If the DIP switch is “ON”, the COM is directly connected to the 24V ground. Therefore, when the solenoid valve and DC motor at the NO is driven via 24V signal ground, the DIP should only be switched to “ON”.
Page 293
(In this case, the transistors in the controller are likely to blow if the line fails or the current existing on the circuit exceeds the rated current.) The output points of the H4CL-T Series are transistor circuit of the open collector. 5 - 11...
Page 294
Input Signal Specification: Input voltage: 0 V. Input current: 8 mA. The H4CL-T Series should be fed with the DC 24V power supply from the output board. The DC 24 power supply will not provided. Input Signal Connection Diagram (direct input to the control unit) The input signal is directly connected to the input points (the input connectors of the H4CL-T) of the numerical control unit when the input board is not used.
Page 295
Chapter V Connection Input Signal Connection Diagram (input to the control unit via the input board) INPUT Board Signal Contact 3.3K Resistance I - point Control Unit Circuit 5V Ground Machine DB25LFConnector Pin (I- point) Fig. 5-16 Input Signal Connection (input to the control unit via the input board) 5.3.5 Output Signals The output signal is transmitted to the external machine from the control unit.
Page 296
HUST CNC-H4CL-T Manual Pin assignment (output) of DB25LM RELAY Spark Killer (diode) Controller output circuit Machine Fig. 5-17 Output Line (without the output relay board) Output Signal Connection (the signal is transmitted to the machine via the output relay board) OUTPUT Relay Board DB25LM Connect Pin (O point) Surge absorber...
Page 297
Chapter V Connection 5.4 Connection Diagram 5.4.1 Connector Type The connector types on the back of the H4CL-T control unit are listed below. Each connector symbol is followed by a letter of either M (for male) or F (for female). :...
Page 298
HUST CNC-H4CL-T Manual 5.4.3 H4CL-T Connection (Y-shaped terminal) H4CL-T Main Connection Diagram DC 24V +24V Power Supply +24V OUTPUT Board INPUT OUTPUT X-AXIS X-axis Y-axis Y-AXIS ODD 2 Z-axis Z-AXIS Spindle EVN 2 A-AXIS ODD 1 RS232 EVN 1 AC110 220V±10% AC IN: only for AC 220V INPUT Board Fig.
Page 299
Chapter V Connection Emergency-Stop Line-1 It is recommended to connect as Fig. 5-20. In doing so, the software and hardware is controlled in series and the user can press the emergency button to turn off the servo even if an abnormality is found in the software. (E-Stop) 24V GND (0V) Emergency...
Page 302
HUST CNC-H4CL-T Manual 5.4.4 H4CL-T Connection (CE Standard) H4CL-T Main Connection Diagram +24V +24V Power Supply +24V OUTPUT Board INPUT OUTPUT X-axis X-AXIS Y-axis Y-AXIS ODD 2 Z-axis Z-AXIS Spindle EVN 2 A-AXIS Hand- heel ODD 1 RS232 EVN 1 AC110 220V±10% AC IN: only for AC 220V INPUT Board...
Page 303
Chapter V Connection ** Emergency-Stop Line-1 It is recommended to connect as Fig. 5-24. In doing so, the software and hardware is controlled in series and the user can press the emergency button to turn off the servo even if an abnormality is found in the software. 24V GND (0V) (E-Stop) Emergency...
Page 305
Chapter V Connection Servo Motor Connection Diagram (The MITSUBISHI J2S motor is used as an example.) To the control unit axis To SERVO-ON RELAY 3∅ AC 220V Grounding Fig. 5-26 5 - 23...
Page 306
HUST CNC-H4CL-T Manual 5.4.5 H4CL-L Auxiliary panel + SIO wring and explanation INPUT OUTPUT X-AXIS Y-AXIS ODD 2 Z-AXIS EVN 2 A-AXIS ODD 1 RS232 EVN 1 AC110 220V±10% PANEL BOARD Attention of wiring SIO for H4CL-L 1. The signal will decay without input the 24V for each expansion Input or Output board.
Page 307
Chapter V Connection * Expansion Output Board size 1. There have 16 output for one piece of expansion OUTPUT board. 2. O000∼O013 is the type of Open-Collector.(24V 100 mA) 3. The other two is for Contact type.(5A) RELAY 1 RELAY 2 Fig.
Page 308
HUST CNC-H4CL-T Manual 5.4.6 Connection Method for Servo Drivers & Pulse Generators The servo driver is connected to the connectors of the X-, and Z-axis, and the spindle encoder and inverter to the spindle. As shown in Fig. 5-30, the pulse generator is connected to the MPG.
Page 309
Chapter V Connection 5.4.7 System AC Power Connection CNC Power-on Servo Power-on Time Time servo on delay To CPU Power supply R AC220V R AC220V S To CPU Power supply T AC220V T Timer Delay Contact Servo Driver power-off power-on Power-On Relay Power-On Timer Relay Items with a dotted...
Page 310
HUST CNC-H4CL-T Manual 5.4.9 RS232 Connector Pin Assignment and Connection Fig. 33 shows the connection method for the H4CL-T control unit and PC. Observe the following notes when connecting: The connection between the RS232 C port and PC should not be more than 15 meters.
Page 311
Chapter V Connection 5.4.10 D/A Explanation and Wiring (For Spindle) D/A for spindle control, the explanation and wiring is below: * D/A Explanation B- -12V A- +12V (5V) VCC VCMD Fig 5-34 D/A Connector * D/A Wiring Encoder Signal VCMD Signal 0 ~ 10V Fig 5-35 D/A Wiring 5 - 29...
6 Error Message Explanations When an error occurs during the execution of the program, the error message is displayed on the LCD of the H4CL-T Series controller. (Fig 6-1). Possible error messages of the H4CL-M Series controller and their solutions are described in...
Page 314
* ERROR 13 -- Error G-Code Command Message: An incorrect G-code exists in the program data of the H4CL-T Series controller and cannot be accepted. Recommended Remedy: Check the program and make sure the G-code is correct.
Page 315
Chapter VI Maintenance – Error Message Explanations Message: The X-axis tool moves beyond the pre-set hardware over-travel limit. Recommended Remedy: Manually move the X-axis tool back to the travel limit. * ERROR 16 -- Z-axis Over-travel Message: The Z-axis tool moves beyond the pre-set hardware over-travel limit. Recommended Remedy: Manually move the Z-axis tool back to the travel limit.
Page 316
HUST CNC-H4CL-T Manual Recommended Remedy: Check the part program and recalculate the intersection of the arc. Make sure the coordinates of the intersecting point are correct. * ERROR 30.1 –Battery is Low Message: The controller battery (BT1) has failed. Recommended Remedy: Turn on the controller for four hours to recharge the battery.
Chapter VII Maintenance – Attachment A At 7 Attachment - A * Input Planning Description Remarks INPUT EM-STOP X-axis Home LIMIT Z-axis Home LIMIT Foot Switch (turned on using the pedal) Restorative Auto/Semi-auto Selective skip Program lock Selective dwell Reserved for external Reset (button) Tool 1 Positioning Signal Tool 2 Positioning Signal...
Page 318
HUST CNC-H4CL-T Manual Example: M03 S1000 G01 X20. F1.2 X50. /1 If I04 of block N30 is 1, this block is skipped and block N40 will be executed directly after block N20. N40 X0. “Charging” When I104=0, the “Charging” function is selected. When I04 = 0, “manual”...
Page 319
Chapter VII Maintenance – Attachment A * Output Planning Output Description Remarks Spindle Rotation CW Spindle Rotation CCW Coolant Alarm Indicator Spindle Chuck Lubricant Chuck Release Indicator - ON Tool Changing Rotation CW Tool Changing Rotation CCW Charging Output Workpiece count reached preset target - ON SERVO-ON X SERVO-ON Z *...
Page 320
HUST CNC-H4CL-T Manual * M-code and I/O M-code Description Remarks Spindle Rotation CW O00=1 Spindle Rotation CCW O01=1 Spindle Stop O00=0,O01=0 Coolant ON O02=1 Coolant OFF O02=0 Chuck Released O04=1 Chuck Closed O04=0 Counter +1 #6501+1 Applicable while spindle Power head 1 ON O010=1 number =1 Applicable while spindle...
Page 321
Chapter VII Maintenance – Attachment A M-code Description Remarks First spindle switches to C axis standard axial mode First spindle switches to spindle mode Second spindle switches to A axis standard axial mode First spindle switches to C axis spindle mode *...
Page 322
HUST CNC-H4CL-T Manual * PLC Parameters Fig. 7-2 Tool Counts: Lathe tool changing steps: Tool Changing rotation CW O08=1 Turn to the desired tool number (INPUT). Manually change the next tool. O08=0 Pause 50×5=250 ms (Timer =79) Tool changing rotation CCW O09=1 Wait for the tool locking signal I20=1 CCW rotation continues for (Time-4) time (Timer=78) O09=0;...
Chapter VIII Attachment B – ZDNC Operating Instructions Attachment - B - zDNC Operating Instructions 1. Getting Started Click on the desktop to execute zDNC zDNC 2. Open the Option Setting Screen Enable Option is required for parameter configuration Right-click Fig 8-1 8 - 1...
Page 324
HUST CNC-H4CL-T Manual 3. Display Settings Corresponding to controller settings To avoid connection failure, do not check boxes other than those indicated here. Save the changes To change the settings, press DisConnect. When the settings are configured, press Connect. Fig 8-2 8 - 2...
Page 325
Chapter VIII Attachment B – ZDNC Operating Instructions 4. PC TO CNC Job file path Trans. progress Start trans Select a file 0: Transmit the part program to CNC 1:Transmit the part program to CNC and execute simultaneously (PLC required) 2: Transmit variables to CNC Fig 8-3 8 - 3...
Page 326
HUST CNC-H4CL-T Manual 5. CNC TO PC Start reading Select a file name 0>transmit the current file 1>transmit all part programs 2-9&M>transmit variables Fig 8-4 6. Attention ※ DNC function is required to transmit huge part programs. ※ PLC should not restrict the availability of R100, R239, C04 when DNC is required, because the system needs to change the value of these three items to enter DNC mode.
Need help?
Do you have a question about the H4CL-T Series and is the answer not in the manual?
Questions and answers