SZGH CNC 1000TDb
SZGH CNC 1000TDb
SZGH CNC 1000TDb
SZGH-CNC1000TDb/TDc
Lathe Control System
Catalogue
Chapter 1 Preface........................................................................................................................................................1
Chapter 2 System Technical Features.........................................................................................................................2
2.1 System constructions.................................................................................................................................... 2
2.2 System technical parameter........................................................................................................................... 2
2.3 System function............................................................................................................................................. 2
2.4 System operation condition........................................................................................................................... 3
Chapter 3 Operation explanation............................................................................................................................... 4
3.1Operation panel...............................................................................................................................................4
3.2 Keyboard instruction..................................................................................................................................... 4
3.3 Manual Operation.......................................................................................................................................... 6
3.4 Auto operation............................................................................................................................................. 12
3.5 Operate safety, prompt alarm.......................................................................................................................16
3.6 Parameters operation................................................................................................................................... 16
3.7 Set parameter of tool redeem.......................................................................................................................32
3.8 Screw compensation.................................................................................................................................... 35
3.9 Input/output Diagnosis................................................................................................................................ 39
3.10 Program Edit operation..............................................................................................................................39
3.11 Tool redeem................................................................................................................................................42
Chapter4 Programming.............................................................................................................................................44
4.1 basic concepts.............................................................................................................................................. 44
4.2 Program instruction..................................................................................................................................... 45
4.3 Preparation functions...................................................................................................................................49
4.4 Synthetical instance for programming........................................................................................................ 94
4.5 Usage for grinder........................................................................................................................................ 96
Chapter 5 System installation and connection......................................................................................................... 97
5.1 system installation and connection..............................................................................................................97
5.2 system installation dimension......................................................................................................................97
5.3 system rear view.......................................................................................................................................... 98
5.4 interface connection graph...........................................................................................................................98
Chapter 6 System’s daily maintenance and repair.................................................................................................112
6.1 System’s maintain...................................................................................................................................... 112
6.2 Ordinary trouble.........................................................................................................................................112
Chapter 7 Appendix............................................................................................................................................... 113
- -CNC - SZGH-CNC1000TDb/TDc operation manual
Chapter 1 Preface
This CNC control system is one middle class flush type CNC control system, aiming specially
at lathe and grinding machine.
Based on modern computer technology, system move control core & PLC program running
technology, and stable unique real time control engine subsystem PTAI, this system ensures the
stabilization of operation. The use of high performance, low power consumption industrial grade
ARM microprocessor as core of hardware, large scale FPGA integrate circuit, multiple layer (4,6)
printed circuit, 32MB flash memory, 8 inch real color LCD which provides friendly man-machine
dialogue interface makes this system work to its best.
Note for “caution”:
1、“caution”reminds operator must be caution in the relative operation,otherwise the operation
will fail or some action can not be effected.
2 、 “special caution”reminds operator must be special caution in the relative operation ,
otherwise it may break down the machine or give rise to accident.
Special hint:
This system has function to backup parameters. After debugging machine, it can backup all
parameters of machine & system and PLC documents to computer. It is convenient not only for
mass debugging, but also for machine recovery to normal after changing system.
Note :
When use this system for the first time, please read carefully all the details of each
chapter so as to make it work more efficiently.
The functions which are related with 3rd ,4th,5th axis of system only exist in the
controller that user order this functions.
3. The “Run” button on the panel of system can be used when debugging (No.9 parameter in
other parameter to set “Effective” “Invalid”), must plus an external “Run” button when fitting system,
otherwise may cause accident because of the life of button!!!So the system prohibits using the button
for many times, otherwise the consequences has nothing to do with my company.
4.Must be de-energized when connect/plug with ports.
1
- -CNC- SZGH-1000TDb operation manual
2
- -CNC - SZGH-CNC1000TDb/TDc operation manual
3
- -CNC- SZGH-1000TDb operation manual
Emergency stop Driver and motor stop immediately, turns off the spindle,
coolant, waits for the rise of button, and initializes values
Intervention switch:
When program runs or in manual state, it can make a realtime adjustment
of feed speed;
Spindle percentage switch:
In the process of spindle running, adjusts the speed accordingly.
(1) The left: normal processing.
(2) The middle: manual to stop feeding, suspend the automatical feeding. Return to the left to the
normal status.
(3) The right: suspend automatic feeding. Return to the left to the normal status. Spindle is out of
4
- -CNC - SZGH-CNC1000TDb/TDc operation manual
“ ”for the shift between electric tool carrier and gang tool carrier
“ ” for the shift between hand-driven continuous high speed and low
speed.
5
- -CNC- SZGH-1000TDb operation manual
In the screen,it is run mode in left of first line(run mode: “Manually continuous”, “Manually
increment”, “automatic continuous”, “automatic single-stage”, “automatic air operation”, “handwheel”),line
number of processing in middle.time is in right.
It is program area in upper left,second line is processing program line in program area.
It is coordinate area in bottom left.Penultimate line is prompt area,such as alarm note.in last
line,it is display the “F1-F8”function key.
They are current program name,code,machine condition,machine coordinate,etc in the right.
Press “Program”key enter program management area.it could edit,alter,diagnosis,delete,and
copy etc.
Press “Parameter”key enter parameter management area.it could refer,alter to every parameters.
In manual condition,the system could process workpiece.
3.3.1 The key of manual operation
(1) “F”: Taking mm/min as the unit to set the manual feed speed, the input range is from 1 to
30000mm/min. And the input method according to data input method in parameter.
6
- -CNC - SZGH-CNC1000TDb/TDc operation manual
(5)“ ” : Press once to increase or decrease 10% feed speed when the No.1 axis
parameter is 0, the range is from 0% to 150%,16 gears totally.
(6) “ ”: Press once to increase or decrease G00 or manual rapid override 20%.The
range is from 5% to 100%,16 gears totally.
(7)“ ”: Press once to increase or decrease the spindle override 10% when the No.2
parameter in axis parameter is 0. The range is form 5% to 150%,16 gears totally.
(8)“ ”: To switch cycle “0.001” “0.01” “0.1”or “0.1” “0.01” “0.001” in the handwheel
function.
(9)“Diagnosis”: Enter the diagnosis of input or output.
(10)“Setup”:To set a value(G54-G59) in workpiece coordinate(G54-G59);Use “MDI” to set
G54-G59 in lathe coordinate(G53).
(11)“Auto”: Select automatic mode.
(12)“Manual”: Select manual mode.
Press the principal axis stop,display M05.At this condition,users can press the
key to turn off or turn on.
7
- -CNC- SZGH-1000TDb operation manual
the key ,the percentage increases or decreases 10%.The scope is 0 -150%,16 grades in all.
3) Control the principal axis speed: The main axle speed percentage can be controlled by the
wave band switch or the key ,the percentage increases or decreases 10%.The scope is 0
(19) “Back to datum point”: Press and X or Z, the X or Z axis goes back to the datum
point automatically; Press “0”X axis firstly and then Z axis; Press “Esc” to cancel the construction.
The speed controlled by No.31 No.33 parameter in speed parameter, the direction is determined by
No.28 parameter in axis parameter.
(20) “Tool carrier controlled”: Press to change next tool automatically if it is gang tool
carrier; After changing next tool it will be stop if it is electric tool carrier; Which tool has changed is
going to be redeem. Press “T” and number to change tool directly
(21) “Coordinates feed”: Press “↑ ↓ ← →”correspond to feed A axis and Z axis’s positive or
negative direction.
(22) “Switch speed”: Press to switch the speed to system speed which is changed by
No.1 No.2 parameter in speed parameter when it is in coordinate feed, loosen it that will be the
previous speed. If set the speed higher than the speed in parameter, it will be the set speed to feed.
(23) “Switch coordinates’ display”: Press “PgUp” or “PgDn” to switch the display which
correspond to “relative” “absolute” “machine”.
(24) “Partno clear”: Press Del and Enter.
(25) User-defined “K1”: Turn on/off Y24
8
- -CNC - SZGH-CNC1000TDb/TDc operation manual
When continuous starting, press “ ” to switch the speed to No.1 No.2 parameter value in
speed parameter. If set the speed higher than the speed in parameter, the feed speed will be No.1 No.2
parameter in speed parameter times rapid override.
In order to facilitate the user single axis cutting in the manual function, setting the manual speed
in manual status. Press “F” and input the speed.
When the hard limit point beyond positive and negative feed running axis two direction at, stop
the feed and prompt to feed reverse direction.(the same as hereinafter)
The manual maximum speed is limited by No.3 parameter in speed parameter, when setting the
speed is higher than the value of parameter, then will be the No.3 parameter.
When No.38 other parameter is 8, “ ” is change into a switch, press once to turn on (no
more to always press), press again to turn off.
3.3.3 Manual increment
This operation is to set the value of increment as the basis, press “↑ ↓ ← →” once to run a value of
increment. It will prompts “I=0010.000” in manual increment represent for the value of increment is
10mm, press “I” to revise and Enter.
The speed is the speed on display(F) times the rate.
3.3.4 Back to lathe’s datum point (reference point/Home/zero point)
There are two ways to back to datum point in this system, not only the switch for datum point, but
also can set floating point, the methods as follows:
Switch for datum point:
Back to datum point operation is to feed every axis to lathe’s datum point position in turn. When the
parameter of feeding axis which back to datum point is 0, the axis of coordinate detects the datum
point and return to the pulsing signal of “Zero”, the data of lathe’s coordinate will be 0 automatically.
Switch on the power supply of the system, release alarm and the button of emergency after the CNC
is power off, the need to back to datum point to set lathe’s coordinate correctly.
Instruction:
1. The system requires for backing to the datum point every time when it is power on, the
requirement can be set by No.26 parameter in axis parameter, it can be prompt or force;
2. The way and type of detecting signal can be set by No.27 parameter in axis parameter, so detect the
switch of datum point is effective, also detect the Z pulsing signal of electrical motor after detecting
9
- -CNC- SZGH-1000TDb operation manual
the switch of datum point (precision higher), detect forward or reverse for Z pulsing signal of
electrical motor.
3. The direction for backing to datum point can be set by No.28 parameter in axis parameter, D2 D4
correspond to X Z axis, 0 is forward, 1 is reverse.
4. The sequence of X Z back to datum point can be set by No.28 parameter in axis parameter, X is
first when D8 is 0, Z is first when D8 is 1.
5. The type of the switch for datum point can be set by No.29 parameter in axis parameter, D0 D2
correspond to X Z axis,0 is always on, 1 is always off.
6. The maximum length of detecting Z pulse of electrical motor can be set by No.30 No.31 parameter
in axis parameter, the value must less than the pulse of electrical motor run a cycle.
7. The shifting distance after backing to datum point can be set by No.32 No.33 parameter in axis
parameter, rapid move coordinate to the value of parameter after backing to datum point.
No switch for datum point: To set floating point to make sure, turn on corresponding function of
floating point by No.23 parameter in axis parameter, setting No.24 No.25 parameter to make sure X
axis’ and Z axis’ floating point, the datum point of lathe.
The steps to set floating point as follows:
1. Setting the No.23 parameter in axis parameter to set the axis which is starting up floating point. For
example: Turn X axis on is “00001000”. (Z axis is “00100000” turn both of them on is 00101000.)
2. Moving X axis to designated position so that set floating point.
3. Press “Parameter”, “Axis parameter” and select No.24 parameter, “Enter”, popup a dialog box of
X axis’ floating point coordinate. Import the value of setting lathe coordinate.
If it is 0, the lathe coordinate of X axis now is the datum point of X axis. The lathe backs to this
position every time when backing to the datum point.
If it is 15, the current lathe coordinate of X axis is 15.000, the distance to lathe’s datum point is
15mm.
The method to set floating point of Z axis is the same as the above to set X axis.
Operation for backing to the datum point:
At the manual condition, press “ -return”and select X Y Z A B axis to back to the datum point
in dialog box. Set the No.28 parameter in axis parameter to “1” to make Z axis bake to the datum
point first. At the absolute and relative coordinate condition, the cycle will turn to green in front when
backing to the datum point successfully, defeat otherwise.
If stop in the process, press “Stop” or “Reset” to stop backing to the datum point.
Pay attention: Every time to power up the system must back to the datum point to make sure
the accuracy of lathe process. The system power off unusually or in an accident, it must back to
the datum point, otherwise could cause trouble.
3.3.5 Handwheel(Manual pulse generator)
Two types: hand held and panel, No.1 parameter in other parameter to set.
Hand held: Press “handwheel” and operate the switch of axis selection to select an axis, operate the
axis and switch of handwheel override to adjust the gear.
Instruction
10
- -CNC - SZGH-CNC1000TDb/TDc operation manual
The handwheel is mainly used for “Tool”, the speed and the handwheel feed of one measure is
related to rotate the handwheel fast or low. The speed is not too fast best when the system cooperate
with stepping motor.
Handwheel pulse generator speed to be lower than 200r/min(The handwheel to 100 pulse a cycle),
the Handwheel acceleration is controlled by No.17 parameter in speed parameter(the bigger the
faster). The maximum speed is controlled by No.20(X axis) No.21(Z axis).
Handwheel is of no effect in auto-coordinates diagram machining, it only works in working
coordinates.
3.3.6 Alignment Tool
Because no tool is the same when using multiple tools machining so need to identify them previous
the value of the redemption, that is to carry out redeeming. Tooling is actually move the tool to the
workpiece surface at this point, the point's actual measurement of values import directly into the
system the system calculates the deviation and save to the corresponding tool offset register
automatically.
Press “Tool” ,then choose “X” or “Z” and “Enter” to select axis. There are two methods:
Plan A(suggest)
(1) Clamped workpiece, select appropriate spindle speed and feed speed, start spindle.
(2)Select the tool to “Tool”, for example: T0202
(3)Using manual continuous to cut a bit of cylinder or bore on workpiece.
(4)Z axis exits(X axis can’t move), stop spindle.
(5) Measure the diameter of workpiece(cylinder or bore).
(6)Press “Tool”, then “X”, “Enter” and import the above value of measurement into dialog box, press
“Enter” to confirm.
(7)Use the same method to cut end surface of workpiece.
(8)Measure the end surface of workpiece and spindle chuck (Z=0) into the distance.
(9)Press “Tool”, then “Z”, “Enter” and import the above value of measurement into dialog box, press
“Enter” to confirm.
The second tool is already done(T02).Repeat (1) ——(9) to make others tools get done.
Plan B
(1) Clamped workpiece, select appropriate spindle speed and feed speed, start spindle.
(2) Select the tool to “Tool”, for example: T0202
(3) Using manual continuous to cut a bit of cylinder or bore on workpiece.
(4)Press “Tool”, the system will appear a dialog box.
(5)X axis and Z axis both exit, stop spindle.
(6) Measure the diameter of workpiece(cylinder or bore).
(7)Press “X” and import the above value of measurement into dialog box, press “Enter” to confirm.
(8) Use the same method to cut end surface of workpiece. Stop feeding.
(9) Press “Tool”, the system will appear a dialog box.
(10) X axis and Z axis both exit, stop spindle.
(11) Measure the end surface of workpiece and spindle chuck (Z=0) into the distance.
(12)Press “Z” and import the above value of measurement into dialog box, press “Enter” to confirm.
The second tool is already done(T02).Repeat (1) ——(12) to make others tools get done.
The difference between two methods:
11
- -CNC- SZGH-1000TDb operation manual
12
- -CNC - SZGH-CNC1000TDb/TDc operation manual
“Single ”: The program just execute one program line and end, wait another operation or press
“Run” again to execute one next program line.
13
- -CNC- SZGH-1000TDb operation manual
(2)“ ”:Press once to increase or decrease 10% feed speed when the No.1 axis parameter
is 0, the range is from 0% to 150%,16 gears totally; When the No.1 axis parameter is 1, external band
switch takes in control, Adjust the speed of process arbitrarily in the process according to the
different situation.
(3) “ ”: Press once to increase or decrease G00 or manual rapid override 20%.The range
is from 5% to 100%,16 gears totally. Adjust the rapid override arbitrarily according to the different
situation.
(4) “ ”: Press once to increase or decrease the spindle override 10% when the No.2
parameter in axis parameter is 0. The range is form 5% to 150%,16 gears totally. When the No.1 axis
parameter is 1, external band switch takes in control, Adjust the speed of spindle arbitrarily in the
process according to the different situation.
(5) Stop in the process: At the continuous mode in process condition, press “ ” to stop running
after executing a current program line, wait for operating.
(6) Suspend in the process: Turn the intervention switch right or middle and switch on external stop
signal of Halt, the processing program will stop; Press “Reset” to exit automatical process mode and
the program line is going to back to the first of the processing program.
(7) Keep feeding: When the process is suspending, press “Manual” to keep feeding automatically,
also can adjust the coordinate, press “Auto” and “Run” to run to the point of suspend automatically to
end.
(8) Exit process: Press “Reset” when processing, suspending or keep feeding.
3.4.6 The operation mode of MDI
14
- -CNC - SZGH-CNC1000TDb/TDc operation manual
At the manual or automatical coordinate conditions, press “MDI” to get into the processing mode of
MDI. Processing a program line that you import in “MDI”, press “Esc” to give up and exit when
importing, press “Run” to carry out the program line that you import.
3.4.7 The operation mode of Handwheel
Press “Handwheel” at automatical mode, the program of turn handwheel is processing
automatically, the speed is related to the speed of “F”, feed override and turn handwheel fast or slow.
This mode is for trying to process in running program usually.
Pay attention: The acceleration, deceleration and maximum speed of running handwheel are
controlled by No.17 No.18 No.19 No.20 No.21 No.43 parameter in speed parameter and No.23
parameter in processing parameter, use the acquiescent acceleration, deceleration and the
speed of G00 when the parameter is set to be invalid.
3.4.8 The function of DNC
The storage space of user is 32Mbit in this system, use DNC to process when the processing
program is greater than 32M or the remainder storage space. Switch on RS232 or USB to realize the
function of DNC in this system.
A. Instruction for RS232-DNC
1. Use the dedicated communication line to connect the computer and the system to set the
corresponding communication interface and speed by the system.
2. Use the dedicated communication software of this system by computer to set the
corresponding communication interface and speed. Press “Send CNC program file”, select the
program file to process linked, enter the status of sending program file.
3. To enter the interface of program file in NC system, press "L" to enter the status of linked
process, now the upper right corner of the display interface is "RS232--DNC", press “Run” to
running carry out linked process in the automatical status.
4. Turn “Intervention switch” to middle or right to stop the running system in the process of
linked process, press “Stop” or “Reset” to exit the status of linked process.
Pay attention: 1. The baud rate is related to operational environment when using serial
port to send files.
2. The communication cable can’t more than 10 meters length.
3. Only the dedicated communication software of this system can send program in
user’s computer. To set the sending speed of PC as the NC, defeat otherwise.
B. Instruction of USB-DNC
USB-DNC is realized by U-disk, switch on U-disk and system, select program to execute in
U-disk.
Press “F6” to open U-disk in program interface, select corresponding program to press “F7”
to execute program, press “Auto” to get into automatical mode and press “Run” to process the
program.
Pay attention: 1. Don’t unplug U-disk in the process of USB-DNC, defeat processing
otherwise.
2. Back to the system program interface from U-disk interface after finish USB-DNC.
3. After selecting the program, it is best to press “P” to compile once to make sure the
program is right before executing program of USB-DNC.
15
- -CNC- SZGH-1000TDb operation manual
Press “ ” when emergency accidents happening, the system will stop all the actions of
lathe and shows “Emergency stop” on the interface. Wait for the button up. M67 imports effective
signal when No.29 parameter in other parameter to be set effectively.
Press “ ” in the process or running lathe, system coordinate and lathe’s position may
change, make sure the system coordinate again before processing, it is best to carry out operation of
backing to the datum point to make coordinate same as the lathe’s position.
The button can be external which is controlled by No.27 parameter in other parameter to set it
always open or close.
3.5.2 Reset system
Press “Reset” to stop current operation in anytime when the system is running, especially stop all
the actions of lathe(spindle, tools and so on) in automatical or manual mode, but the coordinate won’t
lose, so needn’t to back to the datum point.
3.5.3 Alarm
The screen shows error information and twinkles when the lathe has alarm, the program is stop
running, the coordinate stop moving, check the reason for alarm and clear troubles to run again. The
signal M67 is effective when No.29 parameter in other parameter is “1”.
(1) X and Z axis are limited positive forcedly : X or Z axis is in the positive position which is
limited forcedly.
(2) X and Z axis are limited negative forcedly: X or Z axis is in the negative position which is
limited forcedly.
(3) Spindle and inverter (frequency changer) alarm: The alarm signal of lathe’s inverter is
effective. (ALM1)
(4) No.0 alarm: The alarm signal of lathe’s spindle is effective.(ALM2)
(5) X and Z axis’ driver alarm: The alarm signal of servo drivers is effective. (ALM). Press “B” to
import INTH signal to reset the servo drivers in diagnosis mode.
(6) No.5 alarm for door switch: The alarm signal of M12(door switch) is effective.
(7) +5V is under voltage: Supply voltage is low, +5V of the system is low.
(8) Emergency stop: Press the button of emergency stop.
16
- -CNC - SZGH-CNC1000TDb/TDc operation manual
At any status conditions, press “parameter” to enter the status to set the parameter. Parameter in this
system includes “processing parameter” “speed parameter” “axis parameter” “tool parameter” “other
parameter” “coordinate” “password”, 7 kinds totally.
In main menu, pressing“Parameter”function key, it enters para setting
status,including“User”,“Speed”,“Axis”,“Tool” ,“Other” ,“Coor” ,“Passwd",seven function. Choose
pressing “F1、F2、F3、F4、F5、F6、F7、F8” choose Except for special note, all data are using mm.
Except for special note, all data are using mm.
Press “F1-F7” correspondingly to enter corresponding interface after enter the parameter
interface, press “↑ ↓” to select the number of parameter and press “Enter” to popup a dialog box
to import data and press “Enter” again to fix parameter successfully.
Instructions for parameter as follows:
3.6.1 User parameter(Processing parameter)
1,Cycle G71/G72 default feed thickness(10um) [X axis radius]
Cycle G71 X axis feed thickness; Cycle G72 Z axis feed thickness;
2,Cycle G71/G72 default backward distance(10um) [X axis radius]
Cycle G71 X axis backward thickness; Cycle G72 Z axis backward thickness.
3,G71G72G173 instruction [1 mean Yes,0 mean No]
“1”mean G71/G72/G73 instruction finish machining.
4,G71/G72/G73 default X remain(10um)
5,G71/G72/G73 default Z remain(10um)
6,G73 cutting times
7,G73 X rough thickness(10um) [X axis radius]
8,G73 Z rough thickness(10um)
9,G74/G75 default feed thickness(10um) [X axis radius]
17
- -CNC- SZGH-1000TDb operation manual
18
- -CNC - SZGH-CNC1000TDb/TDc operation manual
It is for default rough thickness of Z axis when it isn’t be set in G73 code.
9,G74/G75 default feed thickness(10um)
It is for every default infeed in Z-axis direction when it isn’t be set in G74 code;unit:0.01mm.
It is for every default infeed (radius) in X-axis direction when it isn’t be set in G75
code;unit:0.01mm.
10,G74/G75 default backward distance(10um)
It is for every default retract in Z-axis direction when it isn’t be set in G74 code;unit:0.01mm.
It is for every default retract (radius) in X-axis direction when it isn’t be set in G75
code;unit:0.01mm.
11,G76 finish turn times
It is for default cycle times when it isn’t be set in G76 code.(times:1-99)
12,G76 quit length(1/10 lead)
It is for default length of retract chamfer when it isn’t be set in G76 code.the length is 1/10 of
thread lead.
13,G76 thread tooth angle(degree)
It is for default angle of thread tooth when it isn’t be set in G76 code.unit:degree.
14,G76 minimal cutting depth(10um) [X axis radius]
It is for set minimal cutting depth (radius) of G76.Unit:0.1mm
15,G76 finish turn remaining(10um)
It is for default remaining of finish turn when it isn’t be set in G76 code.unit:0.01mm.
16,X program mode [1 mean Radius,0 mean Diameter]
There are two programming modes ,when it set as 1 that means radius programming mode,when
set as 0 means that diameter programming mode
17,Running program need Sp run [1 mean Yes,0 mean No]
It is for interlock between run program and run spindle,when set as 1means that running program
with running spindle;when set as 0 means that running program without check spindle running.
18,Set M20 the times of auto-running [Negative number mean immensity loop]
It is for times of run M20 code in the program,negative number mean run countless times.
19,Set part count
It is for display and set the time of run M20,it is also workpiece number.
20,G92 quit length(1/10 lead)
It is for set default length of quit and retract,the length=thread lead * 0.1.
21,G01/G02/G03 line delay(ms)[>100]
It is for set delay time between G01/G02/G03,it is for solve the over-cutting in the corner.
22,G00 line delay(ms)[>100]
It is for set delay time after run G00 ,it is effective that more than 100ms.
23,Handwheel acceleration[50-100]
It is for set the constant of handwheel smoothly acc/dec-eleration. the smaller it is,the faster the
acc/dec-eleration is,but much vibration.
24,G76 Q [8 mean thick forward number]
It is for set the define of Q in G76,set as “8”,it is the times of feeding in roughing.
200,system screen protect times [>=2minutes]
201,G92/G76 delay time(ms)[<500]
It is for set delay time before check Z pulse when process screw.
19
- -CNC- SZGH-1000TDb operation manual
20
- -CNC - SZGH-CNC1000TDb/TDc operation manual
Introduction:
1,X-axis's G00 speed(mm/min) 2,Z-axis's G00 speed(mm/min)
The max is 30000(unit:mm/min)
Note:the value must take machine configuration into consideration ,set wrong is very dangerous.
3,Manual maximum feed speed(mm/min)
It is limitation of max feed speed in manual ,Unit:mm/min.(reference speed=G00 speed*0.5 )
4,Auto Maximum feed speed(mm/min)
It is the max of feed speed in auto ,Unit:mm/min.the speed could faster than G00 speed.
5,G01/G02/G03 default speed(mm/min)
It is the default speed of G01/G02/G03 when it isn’t set in auto-running.Max:5000(unit:mm/min)
6,Null run speed(mm/min)
It is speed of null run. (press “simulate” is dry run) Max:30000. (unit:mm/min)
7,Feed axis`s manual speed(mm/min)
It is the speed of feeding axis in Manual.Range: <max feeding speed (unit:mm/min)
Note:in Manual,press “F” ,refresh the parameters automatically.
8,Spindle`s manual speed(rpm)
It is speed of spindle in manual.Unit:rpm.
Note:in Manual,press “S” ,refresh the parameters automatically.
9,Beginning feed speed(mm/min)
It is beginning speed of feeding axis when acc/dec-eleration.when it is smaller than acceleration/
deceleration ,accelerate/decelerate start from the beginning feed speed.when it is bigger than
acceleration/deceleration,the speed reached directly.
Note:it is related with machine configuration,in general,stepper system is less than 100,servo
system is less than 500.
10,Jump speed at continuous track(mm/min)
It is for increase the continuous when running multiaxial track-interpolation.
Example:when it is 300,the speed of X axis(multiaxial track-interpolation)up from F800 to
F1600,800(=1600-800)>300,so the process is up from F800 to F1100,and then F1600.
11,Limit G1/G2/G3 axis speed [1 mean Yes,0 mean No]
It is for whether limit the max speed of each axis when G1/G2/G3 interpolating.
12,X G1G2G3 max speed(mm/min)
It is for the Max running speed of X-axis when set G1/G2/G3 interpolation.
13,Z G1G2G3 max speed(mm/min)
It is for the Max running speed of Z-axis when set G1/G2/G3 interpolation.
14,X acceleration [1~99999]
It is time constant of X-axis acc/dec-eleration,the bigger it is ,the faster the ace/dec-eleration is.
Note:This value depends on the machine structure,the heavier the load is ,the smaller the value
is.With stepper system,the value should less than 15000.
15,Z acceleration [1~99999]
21
- -CNC- SZGH-1000TDb operation manual
It is time constant of Z-axis acc/dec-eleration,the bigger it is ,the faster the ace/dec-eleration is.
Note:This value depends on the machine structure,the heavier the load is ,the smaller the value
is.With stepper system,the value should less than 15000.
16,Auto run acceleration [1-500]
It is for set constant of acc/dec-eleration in auto.the range is from 1-500.It is mainly for
distinguish Auto and Manual,only the difference is too much,set it is effective.
17,Handwheel acceleration [500--32000]
It is for set constant of acc/dec-eleration of Handwheel.the range is from 500-32000.
18,Run program Handwheel acceleration [>500]
It is for set constant of acc/dec-eleration of Handwheel when running program.the range is from
500-32000.when the value is less than 500,it is invalid.
19,Run program Handwheel G00 speed(mm/min) [>10]
It is the G00 speed when triggered by Handwheel in testing machine.it is invalid when <10.
20,Handwheel X limit speed(mm/min)
It is for limit the handwheel max speed of X-axis when use handwheel in manual.
Note:it is valid when >100,otherwise invalid.The size of the parameter settings and machine
configuration has a relationship, it is recommended not to exceed this value 4000, to ensure safe
operation.
21,Handwheel Z limit speed(mm/min)
It is for limit the handwheel max speed of Z-axis when use handwheel in manual.
Note:it is valid when >100,otherwise invalid.The size of the parameter settings and machine
configuration has a relationship, it is recommended not to exceed this value 4000, to ensure safe
operation.
22,Make thread Z acceleration [Servo motor is 0]
It is time constant of Z-axis ace/dec-eleration,the range is from 300 to 90000.
Note:with stepper system,the smaller it is ,the safer is.when <300,invalid.For ensure efficiency,set 0.
23,Make thread X acceleration [Servo motor is 0]
It is time constant of Z-axis ace/dec-eleration,the range is from 300 to 90000.
Note:with stepper system,the smaller,the safer.when <300,invalid.For ensure efficiency,set 0.
24,Servo motor screw thread X axis Back speed
It is the speed rate of X axis in servo system when back in processing screw thread.Unit:0.1times.
25,Step motor screw thread X axis Back rise speed
It is the start speed of X axis in step system when back in processing screw thread.Unit:mm/min.
Note: for safe,it should less than 100mm/min.
26,Step motor screw thread X axis Back Max speed
It is the Max speed of X axis in step system when back in processing screw thread.Unit:mm/min.
Note: for safe,it should less than 100mm/min.
27,acceleration type [0 mean line,8 mean curve]
It is for set type of ace/dec-eleration.set 0 means line type.set 8 means curve type.
Note:In normal condition,set line type in step system;set curve type in servo system.
28,curve ini acceleration [>=10]
It is initial ace/dec-eleration constant when set curve type.It is valid when >=10.
29,curve acceleration [>=10]
It is second ace/dec-eleration constant when set curve type.It is valid when >=10.
22
- -CNC - SZGH-CNC1000TDb/TDc operation manual
23
- -CNC- SZGH-1000TDb operation manual
Introduction:
1,Feed axis band switch [1 mean Yes,0 mean No]
It is for operation way of alter feeding axis’s rate.1 mean selection external band switch(it is the
band switch in additional panel.) to alter.0 mean use Feed rate+/-.
2,Spindle band switch [1 mean Yes,0 mean No]
It is for operation way of alter spindle axis’s rate.1 mean selection external band switch(it is the
band switch in additional panel.) to alter.0 mean use SP rate+/-.
3,X-axis`s negative scope(mm)
It is the coordinate value of X-axis soft limit in max scope of negative direction.
4,X-axis`s positive scope(mm)
It is the coordinate value of X-axis soft limit in max scope of positive direction.
5,Z-axis`s negative scope(mm)
It is the coordinate value of Z-axis soft limit in max scope of negative direction.
6,Z-axis`s positive scope(mm)
It is the coordinate value of Z-axis soft limit in max scope of negative direction.
7,Spindle stop time(10ms)
It is the braking time of spindle,the shorter it is,the faster the brake is.
8,Spindle stop long signal [0 mean No,1 mean Yes]
When it is 1,the signal of spindle is long signal,when it is 0,it is short signal.
9,Check SP encoder : [1 mean Yes,0 mean No]
It is for whether the system check the signal of spindle encoder,also the spindle’s position feedback.
When 1 mean check ,o mean no check.the spindle gear ration must be 1:1 with spindle encoder.
10,SP encode pulse
It is the feedback pulses of each rev of spindle encoder.It is lines (of SP-encoder) * 4.
11,Soft limit invalid [D2X;D3Y;D4Z;D5A;0 invalid,0 valid]
It is invalid bit parameter of soft limit.every axis is set alone.D2:X;D3:Y(C);D4:Z,D5:A;D6:B.
Example:the soft limit of X-axis is valid,the bit parameter is 00000100.
12,X-axis`s reverse compensation(um)
It is the value of reverse compensation(radius),when X-axis is running in negative direction.when
X-axis run in negative direction,system compensate with the value.
13,Z-axis`s reverse compensation(um)
It is the value of reverse compensation(radius),when Z-axis is running in negative direction.when
Z-axis run in negative direction,system compensate with the value.
14,X-axis's direction signal [1 mean normal,0 mean reverse]
It is for change the direction of X-axis.when it is 0,the direction of code is opposite to the direction
of moving.when it is1,the direction is same.
15,Z-axis's direction signal [1 mean normal,0 mean reverse]
It is for change the direction of X-axis.when it is 0,the direction of code is opposite to the direction
of moving.when it is1,the direction is same.
16,Close feed electron gear [1 mean Yes,0 mean No]
It is for whether close the electron gear of feeding axis.1 mean close,0 mean no close.
17,X-axis's electron gear numerator(1-999999)
It is the numerator of X-axis’s electron gear,Multiplication ratio of axis X's instruction(X_CMR)
18,X-axis's electron gear denominator(1-999999)
It is the denominator of X-axis’s electron gear ,Frequency-division coefficient of axis X's instruction(X_CMD)
19,Z-axis's electron gear numerator(1-999999)
It is the numerator of Z-axis’s electron gear,Multiplication ratio of axis Z's instruction(Z_CMR)
20,Z-axis's electron gear denominator(1-999999)
It is the denominator of Z-axis’s electron gear,Frequency-division coefficient of axis Z's instruction(Z_CMD)
25
- -CNC- SZGH-1000TDb operation manual
P17-P20 parameters:
Effective Range: 1-999999
Unit:non
User:Upon operating administrators
Initialization:1
Effective time:Immediately
Explain:
When lead screws with different screw pitches are configured with motors of various step
angles,or with servo motors of different pulse number per round,or connections are realized through
different gears,the programmed values can remain consistent with the actual moved distance by
setting the parameter of the electronic gear ration of the system.
CMR/CMD = P/ ( L * 1000 )
CMR:Numerator of gear ratio
CMD:Denominator of gear ratio
P: pulse number per motor round
L: Moved distance per motor round(mm)
The value of CMD/CMR is the pulse equivalent,which tells the moved distance per pulse ,with its
unit as 0.001mm.
Example1:
The motor rotates one circle very 5000 pulses,after which the machine tool moves 5mm,then:
CMR/CMD = 5000 / (5 * 1000 ) = 1/ 1
That is to say,we can set the values as :CMR=1,CMD=1.
Here ,the pulse equivalent is 0.001mm.
Example2:
The motor rotates one circle very 5000 pulses,after which the machine tool moves 10mm.
CMR/CMD = 5000 / (10 * 1000 ) = 1 / 2
That is to say,we can set the values as :CMR=1,CMD=2/
Here ,the pulse equivalent is 0.002mm.
21,XZ positive limit [0 open,1 close]
It is for type of limit switch in positive direction.0 means the switch is open,1 means it is close.
22,XZ negative limit [0 open,1 close]
It is for type of limit switch in negative direction.0 means the switch is open,1 means it is close.
23,float zero bit parameter [D3X;D4(C)Y;D5Z;D6A;0 machine Zero;1 float Zero]
It is for whether the float zero function is valid,every axis is set alone.it is bit parameter. D3:X;
D4:C(Y); D5:Z; D6:A; D7:B.1 means the axis is float zero point,0 mean machine zero point.
Example:X set float zero point,the bit parameter is 00001000.
24,X coordinate float zero set
It is the coordinate value of X-axis float zero point.
25,Z coordinate float zero set
It is the coordinate value of Z-axis float zero point.
26,Feed axis home [1 mean No use, 0 mean clew, 8 compulsion , 9 must compulsion]
It is request that feeding axis go home.there is four kinds way of go home as follow:
1 means no request.when boot every time,no prompt and no limitation;
0 means prompt,when boot every time,there will be a prompted screen;
8 means enforcement,when boot every time,there will a prompted screen,and then,if the system
don’t go home,it will note “feed axis don’t go home” ,and don’t run the program;
9 means much enforcement,when boot every time,there will a prompted screen,and then,if the
system don’t go home,it will note “feed axis don’t go home” ,and feed axis don’t move.
27,Feed axis home mode [0 reverse check,1 reverse No check ,2 No reverse check,3 No reverse No
check]
It is mode that check the switch and Z pulse of motor’s encoder when feeding axis go home:
When it is 0,go home after hit the switch,move in reverse direction until check the switch is
disengaged,and then check the Z pulse of encoder.
26
- -CNC - SZGH-CNC1000TDb/TDc operation manual
When it is 1,go home after hit the switch,move in reverse direction until check the switch is
disengaged.
When it is 2,go home after hit the switch,move forward until check the switch is disengaged,and
then check the Z pulse of encoder.
When it is the rest,go home after hit the switch,move forward until check the switch is disengaged.
28,Home reverse direction [D2X;D3C(Y);D4Z;D5A;D6B;D8Zpriority]
It is for the direction and priority that feeding axis go home.It is bit parameter,each axis is set
alone.D2:X ;D3:C(Y) ;D4:Z ;D5:A ;D6:B ;D8:XZ priority,1 mean negative direction,0 mean
positive,D8 control the priority that X&Z-axis go home.1 means Z-axis first,0 means X-axis first.
Example:when set X-axis go home in negative direction,the bit parameter is 100000100.
29,Home NC switch bit set [D0X;D1C(Y);D2Z;D3A;D4B;D7:Manual/Auto cut automatically ;1:
Close ; 0: Open]
It is the mode of home switch,set alone,it is bit parameter. D0:X; D1C(Y); D2Z; D3A; D4B;
D7:Manual/Auto cut automatically,when after program in auto enter manual condition
automatically ;1: NC(normal close); 0: open.
Example:If X&Z axis are NC switch,the bit parameter is 000000101.
30,X check zero max length(unit:100um)
It is the length that check zero pulse of encoder when go home and after disengaged switch.
Note:the value must be less than the length of one rev,otherwise,go wrong home.
31,Z check zero max length(unit:100um)
It is the length that check zero pulse of encoder when go home and after disengaged switch.
Note:the value must be less than the length of one rev,otherwise,go wrong home.
32,X Home offset(unit:10um,-9999~+9999)
It is offset that X-axis move in G00 speed when go home ,after check zero pulse.unit:0.01m.
33,Z Home offset(unit:10um,-9999~+9999)
It is offset that Z-axis move in G00 speed when go home ,after check zero pulse.unit:0.01m.
50,Have Spindle class control : [1 mean open,0 mean close]
It is whether the spindle is booting when change gears.1 mean spindle is open,0 mean close.
51,Spindle class speed(1/100rpm)
It is the speed that the spindle boot when the spindle change gears.
52,Spindle class direction : [0 mean M03,1 mean M04]
It is the direction that the spindle boot when SP change gears,1 means reverse,0 means forward.
53,Spindle class stop time(unit:10ms)
It is the time that the spindle stop (M05) when SP change gears.
54,Spindle class time(unit:10ms)
It is the time that the spindle run in low class.unit:10ms
55,Spindle stop time(unit:10ms)
It is the delay time between cancel M03/M04 and boot M05.unit:10ms.
80,XZ axis coordinate plan[D2Zworkpiece,D3Xworkpiece,D4Ztool,D5Xtool,D6 Z
circumrotate ,D7Xcircumrotate]
It is bit parameter,D2:Z axis in workpiece coordinate system;D3:X axis in workpiece coordinate
system;D4 is Z axis in machine coordinate system;D5 is X axis in machine coordinate system.D6 is
Z axis whether is rotation axis;D7 is X axis whether is rotation axis.1 means valid/yes;0 means
invalid/no.
404,SP motor direction(0 reverse,1 normal)
It is the direction of spindle motor,o means reverse,1 mean normal.
405,SP-axis's electron gear(0 Yes,1 No)
It is for whether the spindle use electron gear.
406,SP-axis's electron low gear numerator(1-999999)
It is the numerator of SP-axis’s electron low gear in low gear.
407,SP-axis's electron low gear denominator(1-999999)
It is the denominator of SP-axis’s electron low gear in low gear.
408,SP-axis's electron high gear numerator(1-999999)
27
- -CNC- SZGH-1000TDb operation manual
28
- -CNC - SZGH-CNC1000TDb/TDc operation manual
29
- -CNC- SZGH-1000TDb operation manual
30
- -CNC - SZGH-CNC1000TDb/TDc operation manual
37,Velocity of RS232
[0=7200;1=9600;2=14400;3=19200;4=38400;5=57600;6=115200]
Note: the bigger the value is,the unstabler it is.
The bits of both ends must keep same.
38,Lock Manual rampit func key :[8 Yes]
39,Special parameter
40,Special parameter
41,Bake current parameter
It is defined to ex-factory value set.it is used for bake current parameter after test system well.
42,Resume original parameter
601,Make current to Step Motor Parameter
602,Make current to Servo Motor Parameter
3.6.6 Work coordinate parameter
This parameter coordinate multiple functions, namely six workpiece coordinate system and a
machine coordinate system G53. A machining program can set a workpiece coordinate system can
also be set up multiple workpiece coordinate system, the workpiece coordinate system can be
changed to move its origin. That is the value of the parameter in the coordinates of its own
coordinate origin (zero) coordinate value in the machine coordinate system.
G54 to G59 can be set with six workpiece coordinate system, the coordinate system settings
interface can be modified 6 origin of the workpiece coordinate system coordinate value in the
machine coordinate system.
1,X of work coordinates G54(mm)
3,Z of work coordinates G54(mm)
6,X of work coordinates G55(mm)
8,Z of work coordinates G55(mm)
11,X of work coordinates G56(mm)
13,Z of work coordinates G56(mm)
16,X of work coordinates G57(mm)
18,Z of work coordinates G57(mm)
21,X of work coordinates G58(mm)
23,Z of work coordinates G58(mm)
26,X of work coordinates G59(mm)
28,Z of work coordinates G59(mm)
29-1,How to set up the workpiece coordinate system?
a).press “F8-coordinate”key,select related workpiece coordinate system(54-59)
b).move machine to suitable position that easy to measure in manual,measured the related
coordinate value between this point (zero point in the workpiece)to Home of G53.
c).press “F7-set coordinate”,press “X”key and enter,insert the value to dialog,and enter.
d).press “F7-set coordinate”,press “Z”key and enter,insert the value to dialog,and enter.
It is finished now,enter coordinate screen in parameter,it could be seen the parameter values have
been set well,it is offset value between workpiece coordinate and machine coordinate.
29-2,How to adjust the offset value?
If set up workpiece coordinate system well,when it needs to adjust the offset value,it could be
set by enter the coordinate parameter screen,steps is as follow:
In the coordinate parameter screen,selected the parameter,press “Enter”,and pop up dialog,input
the offset value(also Increments,example:offset 10mm in negative direction,input -10,it is
okay),press “Enter”.
Explanation:1.when the parameter is altered well,the coordinate main screen will refresh the
31
- -CNC- SZGH-1000TDb operation manual
32
- -CNC - SZGH-CNC1000TDb/TDc operation manual
Press “F1” enter radius compensation interface in redeem interface. The parameter is used to set
adopt corner radius of the tool.
Setting method: Press “↑ ↓” to make cursor move to the corresponding tool and press “Enter” to
popup a dialog box, import corresponding tool radius, press “Enter” at last.
Press “F3” or “F4” to make all initial or current tools to be 0.
Pay attention: Redeem number couldn’t correspond to tool, every tool could use any redeem
number, radius compensation correspond to redeem number, so the number of redeem is the
same as the number of radius compensation.
3.7.2 Length of redeem
Press “F2” to enter length of redeem interface. The parameter is used to modify the length which is
adopt or reset the length.
Method of modifying the length:
Press “↑ ↓” to make cursor move to the corresponding tool number and press “Enter” to popup a
dialog box, import the modifying axis into the dialog box and import the modifying value(import
0.05 to plus 0.05, import -0.05 to reduce 0.05), press “Enter” to confirm. The system calculates
current value of redeem after finishing setting.
Method of reset the length:
Make lathe move to a position so that measure corresponding tool coordinate, press “↑ ↓” to make
cursor move to corresponding tool number and press “F5” to popup a dialog box, import the reset
axis into dialog box and import the value of measuring the workpiece of corresponding axis, press
“Enter” to confirm. The length compensation of corresponding axis has been reset. The system
automatical refresh current value of redeem after finishing setting.
Method of initializing the length compensation value of tool:
Press “F3” or “F4” to initialize all the length compensation or current length compensation.
3.7.3 Posit tool
Press “F6” to enter posit tool interface in redeem interface. The parameter is used to set the kind of
tool when adopting radius compensation of tool.
Method of setting: Press “↑ ↓” to make cursor move to corresponding tool number and press “Enter”
to popup a dialog box, import the code of corresponding tool kinds and press “Enter” to confirm.
Press “F1” to initialize all the kinds of tools to 0.
Introduction of posit tool
Only use the function of tool compensation offset when the tool is cycle to make a correct
processing program is very difficult. The function of tool compensation could compensate
automatically.
A. Posit tool
33
- -CNC- SZGH-1000TDb operation manual
The nose of tool point(A) is non-existent actually as follow picture. Setting posit tool is easier
than setting actual center of tool (Hereinafter). Using posit tool to programmed do not need to
consider the tool radius. The tool in the origin of the position relation as shown below.
Pay attention: For some lathes with electrical datum point, a standard point(like center nose
of tool) can be the starting point. The distance form the standard point to the radius center of
tool rest or posit tool can be the offset of tool.
34
- -CNC - SZGH-CNC1000TDb/TDc operation manual
The direction of posit tool of backward tool rest The direction of posit tool of forward tool rest
Using No.0 posit tool or No.9 when the central nose of tool is coinciding with starting position. Set
the number of posit tool into tool parameter in every number of offset.
Press “Parameter” twice in parameter interface to enter screw compensation interface to set the
screw compensation.
Screw compensation is used for automatical compensating the error of screw pitch, compensate the
influence from the error of screw pitch to the prevision of operating lathe. The system adopts storage
mode of screw compensation: Making the lathe’s datum point as the starting point when debugging,
measured the error curve of screw, studied out the correctional curve according to the error curve,
import the value of correctional curve into the correctional parameter and system is going to
compensate according to the parameter in automatical running.
In parameter menu,pressing “Parameter” key enter into:
36
- -CNC - SZGH-CNC1000TDb/TDc operation manual
compensation point
System automatically figures out each axis pitch error compensation point position according
to basic parameters. Each axis pitch error compensation point is distributed with equal interval;
users can input each point compensation value.
The interval of compenstion point is set on the each axis,
For example:
Example 1:Linear axis:when length of travel is -400mm ~ +800mm,interval of points
50mm,reference point compensation NO. 40,it can figure out that Com.point NO.of farest end in
negative direction is:
Machine negative travel/point interval +1=40-400/50+1=33.
Com.point NO.of farest end in positive direction is:
Machine positive travel/point interval +1=40+800/50=56.
Machine coordinate and compensation point NO.correspondence is:
37
- -CNC- SZGH-1000TDb operation manual
Example 2:rotor axis: when movement per revolution is 360°, interval of points 45°,reference
point compensation NO. 60, Com.point NO.of farest end in negative direction is usually same as
reference point com.point NO.
Com.point NO.of farest end in positive direction is:
Reference compensation point NO.+ movement per revolution/comp point
interval=60+360/45=68.
Machine coordinate and compensation point NO.correspondence is:
note: input value in small circle. If the total amount from 61 to 68 doesn’t equal 0,accumulated
pitch error per revolution will deviate, so same value shall be put in 60 and 68.
Parameter sets as follows:
compensation point NO.of reference point:60
Com.point NO.of farest end in negative direction:60
Com.point NO.of farest end in positive direction:68
Compensation percentage:1
Compensation point interval:45000
Output compensation value at corresponding point:
NO. 60 61 62 63 64 65 66 67 68
VALUE +1 -2 +1 +3 -1 -1 -3 +2 +1
38
- -CNC - SZGH-CNC1000TDb/TDc operation manual
39
- -CNC- SZGH-1000TDb operation manual
Center part of screen for program display,current program is showed by reverse display, move
PgUp 、 PgDn to choose program, and then press“Enter”to edit current program. Functional
keys“F1、F2、F3、F4、F5、F6、F7、F8” include:“new file/search” 、“copy” 、“rename” 、
“information”、“last grade”“USB disc”、“execute program”、“cancel”.
3.10.1 new file/search
when this button is pressed, it pops up the requirement to input the name of new/searched
documents,it can be number,letter(no difference if it is capital letter or small letter) or other
mixture of symbol(not include / \ : * ? “ < > | and ),no limitation on length.Input document name,
then press “enter” to confirm.if it exists in system,it will be found and reversely displayed,if not, it
will be newly build and reversely displayed. To build a new file.
3.10.2 copy
it is reduplicating current program to another program. Choose this item to pop up dialogue
box,input new document name,if it exists,input is invalid, if not,this name will be the name
of newly copied document.
3.10.3 rename
for convenience of management, the original documents can be renamed. Choose this item to
pop up dialogue box,input new document name,if it exists,input is invalid, if not,this name
will be the name of original document.
3.10.4 delete
“Del”for deleting all content and name of current program.
40
- -CNC - SZGH-CNC1000TDb/TDc operation manual
3.10.5 information
This system provides users information column for each program, which is convenient for
users to amend and set.
Length of document(uneditable)
Last time of document amending(uneditable).
3.10.6 USB disc
Press “F6” open or close U disk.
note:before pulling out U,it must return to directory of doc name. otherwise newly copied
data in U may lose.
3.10.7 Serial port transmission program
Besides U,can use RS232 port. In interface of choosing program,press R to receive program,
press T to send program:
Then can communicate the program according to the interface.The following chart shows:
Transmit the program file from PC to CNC:run CNC CO.’s special series communication
software on PC . Clicks the "transmits the CNC program file" button and select , clicks the "turns
on" button,now PC is waiting for transmiting; press "R" under the “program”interface,keys in the
program file name.The PC begins to transmit.
Transmit the program file from CNC to PC: presses the key "↑" "↓"to selet the program file
name under the interface of “program” ,then press "T", now the system is waiting for
transmitting;Run CNC CO.’s special series communication software in PC. Click the "receives the
CNC program file" button, key in the program file name in the dialog box, clicks on the "save"
button,now the system begins to transmit the program file.
3.10.8 editing
Select “New file/search” to popup a dialog box to import the name of program, if the name is existent,
the quondam program is called up; If the name is in-existent, the system will build a new file.
The name of program can be number, letter or mix, the length is 100 bits.
The system doesn’t allow the namesake, build a new program or select a program and press “Enter”
to enter the editing interface.
41
- -CNC- SZGH-1000TDb operation manual
The edition mainly uses to edit,insert,modify,delete and so on. After selects the program name
and enter the entire screen edition system. The menu at the base of the screen includes (press “F1、
F2、F3、F4、F5、F6、F7”)"compile ", "first line ", "Teaching", "pose", “del line "," >> "(“del
block”“copy block”“array”“serch”“alter”“aalter”“<<”)," cancel",etc.
Users can operate at the area of line number at the left side of the screen.
The program name to edit and the line number to point were clue at the top of the screen.
1) pose the cursor: change the cursor’s position
Press “↑ ↓ ← →” to move the cursor to any position in program content.
Press “PgUp” to move the cursor to last page.
Press “PgDn” to move the cursor to next page.
Press "Enter",to the next line.
Press “pose”and key in line number can locate directly to the line which you key in.
Press “first line” locate directly to "the first line".
Press “endline” locate directly to the end line.
When the located program line surpasses the page,it will automatically change to the next page
and the located program line will be contained in the display .
2) insert: key in the insertion in front of the cursor,if they are letters,it will automatically
produces blank space.
3) delete:presses "Del"can delete the character at the back of the cursor.
4)shift KEY: Press twice key in the shift character.
5) delete line :press “RAPIT+delete line” to delete the line.
6)operate the block : Contains copy block and delete block.
7)compile:compile the source program (ISO code)to the computer code procedure.
show error when compile,or show “OK”.
When enters the automatic main function, this system automatically carries on concealed
compiling process .If there’s a mistake,the system clues on the error message.
"compile" includes " compile NC" and " compile MAC".
8) search: Uses to search the appointed character string.
9) replace: “alter”Uses to replace the appointed character string.
10) all replace:“aalter” Use to replace all appointed character string from the cursor to the
ending of the program
press “Emergency brake”can stop carrying on " search", " alter", "all alter".
11)exit: press "Esc" or F8 returns to the main interface and save the program automatically.
3.10.9 Select the machining procedure
Select the machining procedure before the automatically machining. The operating procedure is:
Press "↑" "↓" to select the program and press “execute”(“F7”key).
3.11 Tool redeem
42
- -CNC - SZGH-CNC1000TDb/TDc operation manual
Presses“Redeem”:
Presses F1,set tool’s radius.
Presses F2,set tool’s redeem.
Presses F3,clear all value.
Presses F4,clear current tool value.
Presses F5,tool posit.
Presses F6,G41/G42 compensation parameter.
Presses F7,set tool’s number.
Presses F8,cancel.
43
- -CNC- SZGH-1000TDb operation manual
Chapter4 Programming
CNC lathe is highly effective automatical equipment according to programmed program to
process workpiece. Programming refers to process of using cnc language to describe machining track
and actions based on the machining blueprint and technique requirement.
4.1 basic concepts
program segment: is a complete command line consisted of instruction segment and data
segment.
Program: is a congregation of program segment by machining logic structure in order to
complete the machining of workpiece.
Machine coordinate system: see fig Lathe top view.
Machine coordinate stipulates machine coordinate and direction, z axis parallels spindle,
direction away from spindle is positive. X axis is vertical to spindle, the opposite of knifepoint is
positive.
Lathe top view
SERVO MOTOR
CNC
CONTROLLER
SPINDLE c
BOX +Z
CHUCK +X TOOL
Absolute programming: it is confirmed coordinates data programming mode based on
established absolute coordinate system. X, Z、C/Y stand for it.
Relative programming (increment programming): is the distance and direction of operation
end point, compared with starting point. U, W,V stand for it.
Mixed programming: is the programming of one segment program by both absolute
programming and relative programming.
Diameter programming: all X axis coordinate are presented by diameter.
Starting point: the place where the tool begins to move when program starts.
Name of program: the name of machining program.
Mode instruction: the instruction which can remain the function in the program. It works both
in this program and program in the future.
In the same operation, there may be several mode instruction, such as M03 (spindle clockwise),
M04 (spindle counter clockwise), M05 (spindle stop). They are all Mode used to control spindle. The
mode of same kind are categorized into one mode group. At any time it must be one of them, and
there is only one of them. The original chosen mode instruction is called mode origin. In the above
mode group, M05 is such a mode origin.
Suspending mode (destroying mode): is the instruction which can turn mode instruction into
mode origin or destroy the mode. Such as M20 (program ending instruction), meaning the end of
44
- -CNC - SZGH-CNC1000TDb/TDc operation manual
45
- -CNC- SZGH-1000TDb operation manual
G70 √
G71 √
Finish manching loop
Cylindrical face thick loop
G72 √
end face thick loop
G73 √
close loop
G74 √
end face deep hole loop
Loop comand
slot loop
G75 √
complex screw thread loop
G76 √
Circular loop
screw thread loop
G90 √
tap loop
G92 √
end face loop
G93 √
loop end
G94 √
cancel loop
G22 √
G800 √
G26 Z、X go start
G261 X go start
Go start
G262 Y go start
G263 Z go start
G264 A go start
G265 B go start
G61 XZ Go G25
G611 X Go G25
Go G25
G612 Y Go G25
G613 Z Go G25
G614 A Go G25
G615 B Go G25
Save
G28 XZ go home
G281 X go home
Go home
G97 cancel √ √
2
G98 Set feed per minute √ √
feed
G15 cancel √ √
mode
G16 bally coor program √
G21 metric program √ √
G20 imperil √
delay
M08 Coolant on √
8
M09 Coolant off √ √
Chuck
M79 Tighten √
10 M79
M78 Loose √ √
Lubricati
M32 Lubrication on √
11 M32
on
M59 Huff on √
12 M59 output
M58 Huff off √ √
47
- -CNC- SZGH-1000TDb operation manual
M61 √
user-definde1 M61 output
M60 √
M63 √
user-definde2 M63 output
M62 √
M65 √
user-definde output
15 M98 call
M99 return
M00 pause
M22 availpause
Program
M01
16 M02 Program end
M30 M05、M09 end
M20 Loop go start
speed
S First SP √ S=0-65000
SP
17
SS Second SP √ SS=0-65000
48
- -CNC - SZGH-CNC1000TDb/TDc operation manual
A:xx
Tool
18 Tab √ A、b=00-12
B:xx
(1)Rapid motion(G00)
Tool move to instructive position according to G00 speed in parameter.
As absolute method, use section end point coordinate to program;
As increase method, use motion distance to program.
Note:X,Y,Z,A means motion axis.The data point out motion distance and direction by
absolute or increase method.
G00 move to aim point according to line way.
Moving speed is determined by parameter.
49
- -CNC- SZGH-1000TDb operation manual
Example:from A to B.
Absolute program: G00 X20 Z0;
Relative program: G00 U-60 W-40;
Pay attention: The nearest calculation when using absolute coordinate of rotating axis to
programming, calculation by programming when using relative coordinate;
G00 of every axis is set by parameter,the specified feeding speed with F is invalid. The speed rate of
G00 can be divided into 5%~100%, total six gears, it can be selected by the key on panel.
G00 is mode instruction, when the next instruction is G00 too, it can be omitted.G00 can be written
G0.
Pay more attention to whether the position of tool is in a safe area or not when X and Z axis
both rapid moving, crashing tool in case.
(2)Line interpolation(G01)
Used for single axis motion or 2,3,4 axis interpolation motion.
Note:X,Y,Z,A means motion axis.The data point out motion distance and direction by
absolute or increase method.Motion speed is determined by F word. The F instruction is mode.
Example:from A to B.
Absolute program: G01 X40 Z-30 F100
Relative program: G01 U20 W-30 F100
(3)Arc interpolation(G02/G03)
Format:G02 X(U)_ Z(W)_ I_ K_ F_;
G03 X(U)_ Z(W)_ I_ K_ F_;
G02 X(U)_ Z(W)_ R_ F_;
G03 X(U)_ Z(W)_ R_ F_;
Ranges I, K, R's: -99999.999 ~ + 99999.999.
50
- -CNC - SZGH-CNC1000TDb/TDc operation manual
I is the 2 times of increment of X axis which is from starting point to center of circle (needless
to double it when X axis is radius programming), K is the increment of Z axis which starting point to
center of circle, and X Z are the terminal coordinates. It can be also programmed by R not IK.
Example:from A to B.
Absolute program: G02 X40 Z-20 I25 K0 ;
Relative program: G02 U20 W-20 I25 K0 ;
R program: G02 X40 Z-20 R25 ;
G02 U20 W-20 R25 .
I0, K0 can be omitted when; when I, K and R at the same time instruction, R effective, I, K
51
- -CNC- SZGH-1000TDb operation manual
invalid.
Pay attention:
1, Processing arc workpiece usually use ball tool(arc tool) in the actual process, it must use
function of tool radius compensation in programming, that's G41 G42 instruction.
2, F is the speed of the tool along the arc cutting direction.
G00 U-62.0;
G32 W-74.5 F4.0;
G00 U62;
W74.5;
U-64;
G32 W-74.5;
G00 U64.0;
W74.5;
……
For example3:
......
G00 X12 Z3.0;
G32 X41.0 Z-41.5 F3.5;
G00 X50;
Z3;
X10;
G32 X39 Z-41.5;
G00 X50;
Z3;
……
Pay attention:
1. When the transmission of spindle and encoder not as 1:1, please modify the axis parameter
No.412 No.413;
53
- -CNC- SZGH-1000TDb operation manual
412 means the number of teeth (requirements: less than or equal to the encoder tooth number,
when it is greater than the encoder tooth number, it must match keysets of our company);
413, the encoder tooth number;
2. In the process of cutting screw, F and rate is invalid.
3. In the process of cutting screw, spindle will not stop whatever you do, if the user want to
operate suspend,the system will suspend after processing this segment.
(6)delay Instruction(G04)
Require of work process,delays some time before execute other motion.
Format:G04 P_ ;
or G04 X_;
Or G04 U_;
Function:Every axis is stop and mode instruction is still working when carry out this instruction,
after delaying the specified time to carry out the next program segment.
Instruction introduction:
a.The unit of P delay time is ms(Millisecond)/
b.The unit of X and U delay time are S.
c.Example:
G04 X1; delay 1s.
G04 P1000; delay 1s.
G04 U1; delay 1s.
d.Special application:G04 can be accurate stop instruction, such as processing corner kinds of
workpiece, it appears over cutting sometimes, if use G04 instruction around the corner, it will clear
the over cutting.
Example as follows:
Program: … …
N150 G01 X20 Z10 F100;
N160 G04 P150;(Clear the over cutting)
N170 G01 W-10;
……
Pay attention: Set No.21 parameter in “N”(processing) parameter to clear the over cutting.
54
- -CNC - SZGH-CNC1000TDb/TDc operation manual
55
- -CNC- SZGH-1000TDb operation manual
Usage of G90
For example:
N10 T0101;
N20 G00 X55 Z4 M03;
N30 G01 Z2 F100 M08;
N40 G90 X45 Z-25;
N50 X40;
N60 X35;
N70 G00 X100 Z100;
N80 T0100 M09;
N90 M05;
N100 M30;
Every cycle is backing to the starting point at the above program, so cause the situation of cutting
endface A agin,modify the cycle part program as follow in order to improve efficiency:
N50 G90 X45 Z-25 F100;
N60 G00 X47;
N70 G90 X40 Z-25;
N80 G00 X42;
N90 G90 X35 Z-25;
N100 G00 ;
Taper loop format:G90 X(U)_ Z(W)_ R_ F_;
56
- -CNC - SZGH-CNC1000TDb/TDc operation manual
57
- -CNC- SZGH-1000TDb operation manual
Usage of G94
For example:
N10 M03 S1000;
N20 T0101;
N30 G00 X85 Z10 M08;
N40 G01 Z5 F200;
N50 G94 X30 Z-5 F100;
N60 Z-10;
N70 Z-15;
N80 G00 X100 Z60 M09;
N90 T0100 M05;
N100 M30;
Every cycle needs back to starting point at the above program, make the external diameter parts be
cut again, it wastes time, so change the cycle part of program as follow in order to improve
efficiency:
N50 G94 X30 Z-5 F100;
N60 G00 Z-3;
N70 G94 X30 Z-10;
N80 G00 Z-8;
N90 G94 X30 Z-15;
58
- -CNC - SZGH-CNC1000TDb/TDc operation manual
For example:
……
N40 G01 X55 Z2 F200;
N50 G94 X20 Z0 R-5 F100;
N60 Z-5;
N70 Z-10;
N80 G00 X Z;
……
R-5 in N50 program: R-5=-15-(-10)=-5mm
(11)Screw thread loop (G92)
Use G92 instruction, you can thread cutting process, from initial point of departure "cut - cut thread -
let the knife - return thread machining starting point," the four movements as a loop, with a block
command to complete.
59
- -CNC- SZGH-1000TDb operation manual
Program:
N10 M03 S××;
N20 T0101;
N30 G00 X45 Z5;
N40 G92 X29.2 Z-45 F1.5;
N50 X28.6;
60
- -CNC - SZGH-CNC1000TDb/TDc operation manual
N60 X28.2;
N70 X28.04;
N80 G00 X100 Z50;
N90 T0100 M05;
N100 M30;
2)Taper screw thread loop format:
G92 X(U)_ Z(W)_ R_ F/I_;
Cycle as shown in Fig, R is the X-axis direction in the thread cutting start point and the radius of the
thread cutting end point difference. Cutting start point position cutting end point coordinate is less
than a value of R in the negative X-axis direction, whereas R is positive.
61
- -CNC- SZGH-1000TDb operation manual
62
- -CNC - SZGH-CNC1000TDb/TDc operation manual
when the spindle start rotating, the second time,after 120 degrees offset, begin cutting thread, the
third time, after 240 degrees offset, begin cutting thread,
For example:
G92 X50.Z-100 F5 L5; at X50, process 5 thread.
X48.5; at X48.5, processing 5 thread.
X45; at X45, processing 5 thread.
G00 X100 Z100;
......
5)Thread backs tail when fixed cycle in cutting thread
Program format:
G92 X Z F/I P;
P: volume of backing tail: the default value of P could be set by No.20 parameter in process
parameter(Default when powering on).
Set unit: P1 means 0.1 pitch ; P10 means 1 pitch .
Scope: 1--225, when the set value beyond to the range is invalid.
6) Back tail at any angle function
When cutting thread without backing fuller, the system must have the function of automatical
backing tail in thread processing to produce a qualified section of thread. Including the program
format of backing tail in thread:
G92 X_ Z_ F_ J_ K_P_;
● J, K set the ratio of back tail X, Z. When J2 K1, X is twice faster than Z.
● P: back tail volume. Setting: 0.1 pitch. Set range: 1~255 (beyond to this range is invalid). The
default value can be set by No.20 parameter in process parameter (Default when powering on).
● J, K, P are mode value.
● When executing J0 or K0 in G92, cancel any angle specify, fixed 45 degrees.The default value is 45
degrees when powering on.
● When J K are set to be negative number, or beyond to 65535,it's invalid setting. The range:
1~65535.
(12)Usage for fixed cycle
Could according to the shape of the workpiece and workblank to choose the suitable fixed cycle.As
follows:
1) Cutting cylindrical cycle G90:
63
- -CNC- SZGH-1000TDb operation manual
Attention 1: The data X(U)、Z(W)、R are all mode value in fixed cycle of G90 G92 G94, the
front data is always effective when there is not new specified X(U)、Z(W)、R, except the screw
pitch I in inch thread process. Program instruction G90, G92, G94 has been always effective,
could use the G code G00, G01 instruction to cancel.
Attention 2: The following three kinds of situation;
①When there is just no moving instruction program behind the fixed cycle,so repeat the
fixed cycle.
②It just only use start button to run the program when using MDI.
③In the fixed cycle, if there is M、S、T ,then use function of fixed cycle to process together. If
cancel the fixed cycle after M、S、T(Because of G00 G01), please fixed cycle again.
Example:
N10 T0101;
……
N50 G90 X20 Z10 F100;
N60 G00 T0202;
64
- -CNC - SZGH-CNC1000TDb/TDc operation manual
65
- -CNC- SZGH-1000TDb operation manual
fixed cycle, just finishing instructions shape, you can complete the whole process from roughing to
finishing.
When given the shape of the road map process A → A'→ B and depth of cut △ d shown many
times it will cut parallel to the Z-axis, then leave the final finishing lathe cutting margin △ w and △
u / 2 finished shape after processing.
Format:
G71 U(△d) R(e);
G71 P(ns) Q(nf) U(△u) W(△w) F(f) S(s) T(t);
△d: feed thickness,no signal; User parameter P1.
e:backward distance; User parameter P2.
ns:first N line.
nf:end N line.
△u:X remain; User parameter P4.
△w:Z remain; User parameter P5.
Note 1: G71 in the use of rough machining cycle, only F S T in the program G71 function is
effectively, but F S T in program of ns→nf is effectively to fine machining, invalid in rough
machining cycle.
Note 2: A—B must conform the increase or decrease together mode of X and Z axis.
Note 3: G97 G96 is invalid for rough machining cycle when the program ns→nf includes
choose function of constant linear velocity, G96 G97 in the G71 or front program segment is
effective for rough machining cycle.
Note 4: from A to A `, maybe G00 G01 is in the NS program segment, but not containing
Z axis movement instruction.
Note 5: In program segment of NS to NF, can't call subprogram.
Note 6: Use G71 to cut shape, four method as follows, the four mode is cutting according to
the tool which is parallel Z axis, △ u, △ w fine machining allowance, as shown below:
66
- -CNC - SZGH-CNC1000TDb/TDc operation manual
Between A and A `, the program segment ns could contain G00 or G01, but can not contain X axis
instruction, between A ` to B, the X and Z axis must be all increase or decrease graph, that's a
direction to increase or decrease.
(16)Close cutting loop(G73)
The so-called closed cutting cycle is to follow a certain cutting shape gradually approaching the
final shape. This way for casting or forging blank cutting is a highly efficient way. As shown in
Figure G73 cycle
67
- -CNC- SZGH-1000TDb operation manual
Format:
G73 U(i)_ W(k)_ R(d)_;
G73 P(ns)_ Q(nf)_ U(△u)_ W(△w)_ F(f)_ S(s)_ T(t)_;
N(ns)……; --\
……; |
. > A→A′→B ,ns to nf
. |
. |
. |
N(nf)……; --/
i:X rough thickness; User parameter P7.
k:Z rough thickness; User parameter P8.
d:cutting times; User parameter P6.
Others is same as G71.
Note 1: The cycle is according to the program which is between P and Q in G73.The tool
backs to A point automatically after finish cycle.
Note 2: Increase or decrease X or Z axis is invalid when using G73.
68
- -CNC - SZGH-CNC1000TDb/TDc operation manual
69
- -CNC- SZGH-1000TDb operation manual
70
- -CNC - SZGH-CNC1000TDb/TDc operation manual
For example:
N10 G00 X0 Z10;
N20 G74 R2;
N30 G74 Z-80 Q10000 F800;
N40 G00 X50 Z50;
N50 M30;
71
- -CNC- SZGH-1000TDb operation manual
For example:
N10 M03 S1000;
N20 T0101;
N30 G00 X35 Z-50;
N40 G75 R1;
N50 G75 X-1 P5000 F60;
N60 G00 X100 Z50 M09;
N70 M05;
N80 T0100;
N90 M30;
(20)Complex screw thread loop(G76)
As fig:
72
- -CNC - SZGH-CNC1000TDb/TDc operation manual
Cutting method:
73
- -CNC- SZGH-1000TDb operation manual
parameter P24 = 8, the address of the word Q (Δd) says many times as needed to complete the
roughing cycle, the default is 1; otherwise address word Q (Δd) says that the first knife cutting depth,
address word Q (Also there are equidistant feed and feed etc. regressive mode Δd) specify the
number of times when feed.
All cases the amount of feed and feed roughing times are as follows:
as: ,
Feed times for Δd;
3) b = 1, P24 ≠ 8, the amount of each feed: Δd, roughing feed number is (kd) / Δd;
4) b = 1, P24 = 8, the amount of feed for each: (kd) / Δd, roughing feed times for Δd;
74
- -CNC - SZGH-CNC1000TDb/TDc operation manual
(21)Fix loop(G22、G800)
G22 is a program loop instruction, G800 is the end of the cycle instruction. Both must be paired for
parts machining process requires repeated occasions. L is the number of cycles, ranging from
1-99999. Cycle instructions can be nested.
Format:G22 L-
.
.
. G800 ;End
For example: N0000 M03 M08
N0001 G0 X200 Z200
N0002 G01 W-100 F300
N0003 G22 L6 ;loop 6 times
N0004 G01 U-22 F100
N0005 W-11 U6
N0006 W-30
N0007 W-10 U5
N0008 G0 U10
N0009 W51
N0010 G800 ;loop end
N0011 G26
N0012 M30
75
- -CNC- SZGH-1000TDb operation manual
76
- -CNC - SZGH-CNC1000TDb/TDc operation manual
77
- -CNC- SZGH-1000TDb operation manual
78
- -CNC - SZGH-CNC1000TDb/TDc operation manual
Note 2, under control of the constant linear speed, the lower limit value of spindle speed in
G96 can be set by No.35 parameter in speed parameter.
Note 3, spindle override couldn't work when processing in constant linear speed.
For Example:
N1 T0102 X40 Z5
N2 M03 S400
N3 G96 S80
N4 G00 X0
N5 G01 Z0 F60
N6 G03 U24 W-24 R15
N7 G02 X26 Z-31 R5
N8 G01 Z-40
N9 X40 Z5
N10 G97 S300
N11 M30
(27)Feed mode(G98、G99)
Format: G98 feed per minute instruction
G99 feed per revolution instruction
(28)Check skip(G31、G311)
Specify G98 G01, G02, G03, etc sliced processing methods for feed per minute mode, with F
designated feed rate. Range 0.01-15000mm / min.
Specify G99 G01, G02, G03, etc sliced processing methods for feed per revolution mode, specify
the feed rate with F. Range 0.001-500mm / r.
When using the G99 command, the spindle encoder must be installed, otherwise it will be in a wait
state. When the spindle speed is very slow (<10r / min) may be uneven process, please note that when
used.
Format:G31 X_ Z_ F_ P_ ;No alarm
G311 X_ Z_ F_ P_ ;alarm
P:Nline+(X00/X39+1000 or 2000),1000 means availability skip,2000 mean invalidation skip.
For example:G31 X50 Z100 F100 P331022 ;if X22 availability then go to N33.
G311 X50 Z100 F100 P2021 ;if X21 invalidation then go to next line.
(29)Work coordinate(G53/G54/G55/G56/G57/G58/G59)
79
- -CNC- SZGH-1000TDb operation manual
For example:
Note: 1, before using this set of instructions, first set the coordinates of the origin of the
coordinate values for each coordinate in the machine coordinate system.
2, before using this set of instructions, you must first reference point.
(30)Tool radius compensate G40、G41、G42
Format : G40 ; tool radius compensation cancellation
G41 ; tool radius compensation of cutter in the left of workpiece offset.
G42 ; tool radius compensation of cutter in the right of workpiece offset.
The left and right in G41, G42 are viewed from direction of cutting, tool lies in the left or right
of workpiece. Tool radius is designated by R. executing offset begins at the program line of G41, G42.
80
- -CNC - SZGH-CNC1000TDb/TDc operation manual
in the closed angle, system generates automatically transiting arc, allowing tool radius offset vector
of last program segment transmit to that of the next program segment. Tool offset vector describes
value and direction method of tool offset, its radius vector is tool radius. For arc, its direction is in
radius direction. For line, its direction is vertical to the line direction.
When it transits at the closed angle arc, it will cause errors when the angle is less than 180
degree, because the transition becomes the inner closed angle transition. This system only transits
outer closed angle, and remains valid only for G01, G02, G03, that is, the outer closed angle between
strait line and strait line, arc and arc, strait line and arc can generate transiting arc.
81
- -CNC- SZGH-1000TDb operation manual
N1 T0101
N2 M03 S400
N3 G00 X40 Z5
N4 G00 X0 G42
N5 G01 Z0 F60
N6 G03 U24 W-24 R15
N7 G02 X26 Z-31 R5
N8 G01 Z-40
N9 G00 X30
N10 G40 X40 Z5
N11 M30
82
- -CNC - SZGH-CNC1000TDb/TDc operation manual
Straight line->Arc
A type B type
Straight line->Arc
A type B type
83
- -CNC- SZGH-1000TDb operation manual
84
- -CNC - SZGH-CNC1000TDb/TDc operation manual
(b) The tool motion around the outside corner of obtuse angle(90≤α<180)
The tool center will move to the tool vector radius vertex of the starting point in next program
line.
Straight line->Straight line
A type B type
Arc->Straight line
A type B type
85
- -CNC- SZGH-1000TDb operation manual
The tool center will move to the tool vector radius vertex of the starting point in next program line.
Straight line->Straight line
A type B type
Arc->Straight line
A type B type
next line must be greater than the length of beveling or radius of smoothing, otherwise the system
will decrease the length of beveling or radius of smoothing to minimal running distance of this line
and the next line automatically.
2. The two adjacent lines must be 90 degrees.
For example:
0 G54 G0 X-50 Y-50 Z20
N1 M03 S500
N2 G01 G42 D01 X0 Y0 F200
N3 G01 Z-5
N4 X100 I4 ;Beveling4x4
N5 Y40 R6 ;SmoothingR6
N6 X47 R5 ;SmoothingR5
N7 Y70 I3 ;Beveling3x3
N8 X15
N9 X0 Y40
N10 Y0
N11 G0 X-50 Y-50 G40
N12 Z50
N13 M30
Format:
G20 ; inch;
G21 ; millimeter;
Description: The G code must be compiled at the beginning of the program, before setting the
coordinate system to specify a separate block. G code designated for inch / metric conversion of
input data after switching to the smallest unit of imperial or metric input increment angle data input
unit remains unchanged, changes in the value of the following units after inch / metric conversion:
·by F code feed rate
·position command
· workpiece zero point offset value
· tool offsets
·scale unit manual pulse generator
· in incremental feed of the moving distance
88
- -CNC - SZGH-CNC1000TDb/TDc operation manual
For example:In the same way subroutine call the main program subroutine calls another subroutine
The calling instruction can be used for 9999 times in the most.
89
- -CNC- SZGH-1000TDb operation manual
(37)T tool
Format function
Tab a: Tool number,b: compensate number
Format:
N0000 T0101
N0001 G0 X30 Z500
N0002 T0303
N0003 G00 X50
N0004 T0505
N0005 M02
(38)S、SS SP speed
It is the mode,actual running speed is the setting speed times the trimming rate of speed,
F is used for specify the processing speed of feeding instruction G01 G02 G03.
The range is 0.01-15000mm/min,feeding speed is Fx trimming speed, F has mode function.
Executing the F instruction at the first, and then execute the motion instruction when the F
instruction and motion instruction are in the same line.
90
- -CNC - SZGH-CNC1000TDb/TDc operation manual
"X" means the input port X00-X55; see the I/O diagnosis;
2.The output instruction: OUT
Set the output port Y is valid or invalid instruction
Format: OUT +(-)Y
Note: "+" means the output is effective;
"-" means the output is invalid;
"Y" means the output port Y00-Y31; see the I/O diagnosis;
3. Variable and assignment: =
1) #0--#20 local variable: local variables only can be used to store data in macro program, such as a
result of operation, when power is off, the local variables are initialized to the empty. The argument
assignment to the local variable when calling the macro program.
2) #21--#600 global variables: The meanings are the same in different macro program.
When power is off, the variable #21--#100 is initialized to zero, the variable #101--#600 data is
saved not to loss even if the power is off.
3) #1000-- system variable: the system variables are used to change various data when reading the
running CNC. For example, the current position and the compensation of tool.
Special note: macro variables #100--#155 and #190--#202 have been used by the system, users
can not use.
4) The macro variables #1001--#1099 corresponds the X axis offset value of lathe T1--T99(Unit:
micron)
The macro variables #1401--#1499 corresponds the Z axis offset value of lathe T1--T99(Unit:
micron)
Could read the value, for example: #200=#1003; To read the X axis offset value of the third tool into
macro variables #200.
Could modify the value, for example: #1003=23000; To modify the X axis offset value of the third
tool to 23000 micron.
#1003=#1003+50; To increase the X axis offset value of the third tool 50 micron.
5)The I/O variables:
#1800: X00-X07(D0-D7)
#1801: X08-X15(D0-D7)
#1802: X16-X23(D0-D7)
#1802: X16-X23(D0-D7)
#1803: X24-X31(D0-D7)
#1804: X32-X39(D0-D7)
#1805: X40-X47(D0-D7)
#1806: X60-X67(D0-D7)
#1808: Y00-Y15(D0-D15)
#1809: Y16-Y31(D0-D15)
Format:#i=Expression
4.The arithmetic and logic operation
Table:
Function Format Note
Definition #i = #j
Addition #i = #j + #k ;
91
- -CNC- SZGH-1000TDb operation manual
Subtraction #i = #j - #k ;
Multiplication #i = #j * #k ;
Division #i = #j / #k ;
Sin #i = SIN(#j) ;
Asin #i = ASIN(#j);
Cos #i = COS(#j) ; 90.5 degrees mean 90
Acos #i = ACOS(#j); degrees 30 minutes
Tan #i = TAN(#j);
Atan #i = ATAN(#j);
Square root #i = SQRT(#j);
Absolute value #i = ABS(#j) ;
Rounding off #i= ROUND(#j);
Round down #i = FIX(#j);
Round up #i = FUP(#j);
Natural logarithm #i = LN(#j);
Exponential function #i = EXP(#j);
Or #i = #j OR #k ;
Executing with binary
Exclusive or #i = #j XOR #k ;
system
And #i = #j AND #k ;
92
- -CNC - SZGH-CNC1000TDb/TDc operation manual
……
END 3
……
END 2
……
END 1
8.Non-mode to call macro program:G65
Format: G65 P- L- <A-B-C-...... Argument passing data >
P is the name of macro program, L is the calling times,A B C are argument, the name of argument as
follows:
#0->A、#1->B、#2->C、#3->D、#4->E、#5->F、#6->H、#7->I、#8->J、#9->K、 #10->M、
#11->Q、#12->R、#13->S、#14->T、#15->U、#16->V、#17->W、#18->X、 #19->Y、#20->Z.
Special attention: The address G、L、N、Q、P can’t be used in argument.
For example:
Main program:9000
G00 X0 Z0
G65 P8000 L1 A5 B6
G0 X0 Z0
M30
Macro program:8000
N1 #2=#0+#1
N2 IF (#2 EQ 10)GOTO 4
N3 GOO X#2
N4 G00 Z#1
N5 M99 ;Return
9.Mode to call macro program:G66 G67
G67 instruction is to cancel G66 instruction.The format is the same as G65.
For example:
Main program:9000
G00 X0 Z0
G66 P8000 L2 A5 B6
A8 B1
A9 B10
G67
M30
Macro program:8000
N1 #2=#0+#1
N2 IF (#2 EQ 10)GOTO 4
N3 GOO X#2
N4 G00 Z#1
N5 M99 ;Return
(41) User-defined macro instruction(G120-G160,M880-M889)
Every user-defined G code is corresponding to a macro program ProgramGxxx, the M code is
93
- -CNC- SZGH-1000TDb operation manual
94
- -CNC - SZGH-CNC1000TDb/TDc operation manual
#35=#98+#87*COS[#80]
#36=#99+#87*SIN[#80]
G81X#35Y#36Z#100R#92F#85
#80=#80+#81
#86=#86-1
END 1
G#30 G#31 G80
M99
Program as follows:
N10 M03 S1000; Start spindle
N20 T0101; Choose the first tool and execute the first redeem
N30 G00 X41.8 Z2 M08; Move fast to the cutting point,cutting fluid is on
N40 G01 X48 Z-1 F100; Chamber
N50 Z-60; Fine machining for thread
N60 X50; Tool is backing
N70 X62 W-60; Fine machining in cone
N80 W-15; Fine machining in Φ62mm ex-circle
N90 X78; Tool is backing
N100 X80 W-1; Chamber
N110 W-19; Fine machining in Φ80mm ex-circle
N120 G02 X80 W-60 R70; Fine machining in arc(I63.25 K-30)
N130 G01 Z-225; Fine machining in Φ80mm ex-circle
N140 X85; Tool is backing
N150 Z-290; Fine machining in Φ85mm ex-circle
N160 X90 M09; Tool is backing,cutting fluid is off
95
- -CNC- SZGH-1000TDb operation manual
N170 G00 X150 Z50; Move fast to the point of changing tool
N180 T0202; Change tool and set the No.2 redeem
N190 M03 S800; Change speed of spindle
N200 G00 X51 Z-60 M08; Move fast to the processing point,use the left point of tool to redeem
N210 G01 X45 F90; Cutting Φ45mm groove
N220 G00 X51; Tool is backing
N230 X150 Z50 M09; Return to the point of backing tool,cutting fluid is off
N240 T0303; Change tool and set the redeem
N250 M03 S1500; Change speed of spindle
N260 G00 X62 Z6 M08; Move fast to the processing point,cutting fluid is on
N270 G92 X47.54 Z-58 F1.5; Cutting thread is cycle
N280 X46.94;
N290 X46.54;
N300 X46.38;
N310 G00 X150 Z50 M09; Return to the point of start cutting, cutting fluid is off
N320 T0300; Cancel redeem
N330 M05; Stop spindle
N340 M30; Program is over
96
- -CNC - SZGH-CNC1000TDb/TDc operation manual
97
- -CNC- SZGH-1000TDb operation manual
98
- -CNC - SZGH-CNC1000TDb/TDc operation manual
Note: switching power supply L, N must be connected to AC 220V, current 0.5A through
isolation transformer.
5.4 interface connection graph
Note:
1, all input IN / OUT is the output in terms of the system, that is, from an external signal input
IN input system, the output OUT is the system to an external output signal;
2, when the elected board with our electrical machines, + T and -T signal control is the single
contact relays, the user should install + T and -T two exchanges and contacts;
100
- -CNC - SZGH-CNC1000TDb/TDc operation manual
PA- 7 IN -A signal
PB+ 3 IN +B signal
5V
PB- 6 IN -B signal
PC+ 2 IN +Z signal
5V
PC- 8 IN -Z signal
Note:
1, the encoder output signals using long-term output power is + 5V.
2, the signal lines must be shielded twisted pair cable, the length should not exceed 20m.
Encode input signal PA、PB、PC:
101
- -CNC- SZGH-1000TDb operation manual
NOTE: When the machine computer programming, documentation should be a text file
(Notepad or Word-pad to edit).
5.4.4 CN3 and machine electric device I/O1 connection
103
- -CNC- SZGH-1000TDb operation manual
Note:all voltage of inner signal is +5V,must be not input voltage higher than 5V .
107
- -CNC- SZGH-1000TDb operation manual
When “Axis parameter”P1=1 、 P2=1 , It will be band switch.and do not use pend handwheel. “Other
parameter”P1=0、P33=0、P34=0. Input signal VDS0(A)、VDS1(Z)、VDS2(Y)、VDS3(X) are spindle speed adjust
switch. VDK0(OFF)、VDK1(X100)、VDK2(X10)、VDK3(X1) are G01/G02/G03 speed adjust switch.
5.4.7.3 Emergency Stop
STOP signal is external emergency stop input signal.“Other parameter”P27 setup “CLOSE” or “OPEN”.
5.4.8 General, motion control I/O output port principle which is availability by "0V"
Output port of Y00-Y23 are availability by "0V", the connection method as follow (take Y00
control relay as example):
Specially pay attention: Because the output ports are the transistor output, thus the load
electric current cannot be bigger than 150mA.
OUTPUT signal example M03(M04、M05、M08、M10、M32、M79、M75、M59、M61、
M63、M65、M67、M69、M71、M73、S01-S04);
Notice:
1、IC ULN2803A control output signal:
1)、U28: M59、M61、M63、M65、M67、M69、M71、M73
2)、U29: M03、M04、M05、M08、M10、M79、M32、M75
3)、U30: +T、-T、S01、S02、S03、S04、LRUN、INTH
2、User-defined M71/M70、M73/M72 will maybe stuck control signal, “Other parameter”P20、
P21 setup.
3 、 User-defined M65 、 M67 、 M69 will maybe stop\alarm\run output control signal; “Other
parameter”P28、P29 setup.
4、All output signal is valid by 0V.
109
- -CNC- SZGH-1000TDb operation manual
110
- -CNC - SZGH-CNC1000TDb/TDc operation manual
Mode2:general switch
Axis parameter:
23,float zero bit parameter
[D3X;D4C(Y);D5Z;D6A;0 mean machine Zero;1 mean float Zero]
24,X coordinate float zero set
111
- -CNC- SZGH-1000TDb operation manual
112
- -CNC - SZGH-CNC1000TDb/TDc operation manual
113
- -CNC- SZGH-1000TDb operation manual
Chapter 7 Appendix
Appendix: binary、decimal switch table(0 — 15)
binary binary
decimal decimal
D7 ……D0 D7 ……D0
0 00000000 8 00001000
1 00000001 9 00001001
2 00000010 10 00001010
3 00000011 11 00001011
4 00000100 12 00001100
5 00000101 13 00001101
6 00000110 14 00001110
7 00000111 15 00001111
Note: Because of many kinds of reasons this Manual book may have some mistakes. Our company
will provide the high quality service and the technical support for every customer.
115