TAC100XTenglish V1.0
TAC100XTenglish V1.0
TAC100XTenglish V1.0
COPY RIGHTS
CO.,LTD
All rights are reserved. It is against the law for any organization or
TOMATECH(SHENZHEN)AUTOMATION CO.,LIMITED
Add.: 303,No.6 Minhuan Rd. Longhua New Distr. Shenzhen, China
Tel:+86 755 85276656
Web.: www.tomatech-cnc.com
TOMATECH AUTOMATION
FOREWORD
Dear user,
We are really grateful for your patronage and purchase of thisTAC-100XT
Turning CNC system made by TOMATECH AUTOMATION CO.,LTD
The user manual describes the programming, operation, installation and
connection
of thisTAC-100XT Turning CNC system. Please read it carefully before
operation in order to get the safe and effective working.
Warning
This system can only be operated by authorized and qualified personnel as
improper operations may cause accidents.
Please carefully read this user manual before use!
Note: The power supply installed on (in) the cabinet is exclusive to
TOMATECHS CNC systems.
The power supply form is forbidden to be used for other purposes.
Otherwise, there may be extreme danger!
Notes
Delivery and storage
Packing box over 6 layers in pile is unallowed.
Never climb the packing box, neither stand on it, nor place heavy objects on it.
Do not move or drag the product by the cables connected with it.
Forbid collision or scratch to the panel and displayer.
Packing box should be protected from damping, insolation and raining.
Open packing box to check
Ensure things in packing box are the required ones.
Ensure the product is not damaged in delivery.
Ensure the parts in packing box are in accordance to the order.
Contact us in time if the product type is inconsistent with the order, there is short of
accessories, or product damage in delivery.
Connection
Only qualified persons can connect the system or check the connection.
The system must be earthed, its resistance must be less than 4 and the ground wire
cannot be replaced by zero wire.
Connection must be correct and firm to avoid the product to be damaged or other
unexpected result.
Connect with surge diode in the specified direction to avoid the damage to the system.
Switch off power supply before pulling out plug or opening electric cabinet.
TOMATECH AUTOMATION
Troubleshooting
Switch off power supply before troubleshooting or changing components.
Troubleshoot and then startup the system when there is short circuit or overload.
Do not switch on or off it frequently and an interval is 1 minute at least after the system
is powered on again.
All specification and designs are subject to change without further notice.
Warning
Please read this user manual and a manual from machine builder
completely before installation, programming and operation; do operate the
system and machine according to user manuals, otherwise it may damage the
system, machine, workpiece and even injure the operator.
Cautions
Functions, technical indexes described in this user manual are only for the
system. Actual functions and technical performance of machine tool with this
CNC system are determined by machine builders design, so refer to its user
manual.
The system is employed with integrated machine control panel and the keys
on machine control panel are defined by PLC program. Functions of keys in
this user manual are for standard PLC program. Please notice it!
Announcement
This manual describes various items as much as possible. However,
operations allowable or unallowable can not be explained one by one due to
so many possibilities that may involve with, so the contents that are not
specially stated in this manual shall be considered to be unavailable.
Summary
TOMATECH AUTOMATION
Programming
TAC-100XT CNC Technical Specification, Product
Type, Command and Program Format
Operation
TAC-100XT CNC Operation Use
Appendix
CNC Ladder Function Allocation, Alarm Message
Table
TOMATECH AUTOMATION
Safety Responsibility
Manufacturers safety responsibility
The manufacturer should be responsible for the cleared or the controlled safety in
the design and the structure of the CNC system and the accessories.
The manufacturer should be responsible for the CNC system and the accessories.
The manufacturer should be responsible for the message and the suggestion for the
user.
CONTENTS
Programming
CHAPTER 1
PROGRAMMING.........................................................................................................1
1.1TAC-1002T
Introduction .................................................................................................................1
1.1.1 Product introduction........................................................................................ ...1
1.1.2 Technical specification ...................................................................................... 2
1.1.3 Environment and conditions............................................................................... 4
1.1.4 Power supply ......................................................................................................5
1.1.5 Guard.................................................................................................................. 5
1.2 CNC System of Machine Tools and CNC
Machine.Tools........................................................................................................ 5
1.3.Programming.Fundamentals ................................................................................. 7
1.3.1 Coordinates definition ........................................................................................ 7
1.3.2 Machine coordinate system, Machine Zero and machine reference point ......... 7
1.3.3 Workpiece coordinate system and Program Zero............................................... 8
1.3.4 Interpolation function ...........................................................................................9
1.3.5 Absolute programming and incremental programming ..................................... 10
1.3.6 Diameter programming and radius programming ............................................. 10
1.4 Structure of an NC program................................................................ 11
1.4.1 General structure of a program.......................................................................... 11
1.4.2 Main program and subprogram.......................................................................... 15
1.5 Program run....15
1.5.1 Sequence of program run .................................................................................. 15
1.5.2 Execution sequence of word............................................................................... 16
1.6 Basic Axis Incremental system.17
1.6.1 Incremental system speed of basic axis ............................................................ 17
1.6.2 Incremental system unit of basic axis ................................................................ 17
1.6.3 Incremental system data range of basic axis ..................................................... 18
1.6.4 Incremental system data range and unit of basic axis ....................................... 18
1.6.5 Program address value unit and range of incremental system of basic axis....... 20
1.7 Additional Axis Incremental
system ..21
1.7.1 Additional axis being the current incremental system......................................... 21
1.7.2 Additional axis being IS-A incremental system................................................... 21
CHAPTER 2 MSTF
COMMAND .................................................................................................................22
2.1 M (Miscellaneous function)..22
End of program M02................................................................................................... 22
End of program run M30............................................................................................. 22
Subprogram call M98.................................................................................................. 23
TOMATECH AUTOMATION
Operation
CHAPTER 1 OPERATION MODE AND DISPLAY
INTERFACE...................................................................................................................173
1.1 Panel
Division...........................................................................................................................173
1.1.1 State indication ......................................................................................................174
1.1.2 Edit keypad............................................................................................................174
1.1.3 Menu display .........................................................................................................175
1.1.4 Machine panel .......................................................................................................176
1.2 Summary of Operation..............................................................................................179
1.3 Display Interface ......................................................................................................179
1.3.1 POS interface ........................................................................................................179
1.3.2 PRG interface........................................................................................................184
1.3.3 TOOL OFFSET Interface ......................................................................................189
1.3.4 ALARM interface ...................................................................................................193
1.3.5 Setting interface.....................................................................................................194
1.3.6 PARAMETER Interfaces........................................................................................196
1.3.7 Diagnosis Interface................................................................................................198
1.3.8 Graph Interface......................................................................................................199
1.3.9 Ladder Interface ....................................................................................................200
CHAPTER 2 POWER ON/OFF AND PROTECTION.....................................................205
2.1 System Power-on ....................................................................................................205
TOMATECH AUTOMATION
VI
7.5.2 Offset alteration .....................................................................................................252
7.5.3 Offset alteration in communication mode...............................................................253
7.5.4 Clearing the offset values ......................................................................................253
7.5.5 Setting and altering the tool wear ..........................................................................253
7.5.6 Locking and unlocking the offset value ..................................................................254
7.5.7 No.0 tool offset moving workpiece coordinate system...........................................254
CHAPTER 8 AUTO OPERATION...................................................................................256
8.1 Automatic Run ..........................................................................................................256
8.1.1 Selection of a program running.............................................................................256
8.1.2 Start of automatic run ............................................................................................256
8.1.3 Stop of automatic run.............................................................................................256
8.1.4 Automatic run from an arbitrary block....................................................................257
TOMATECH AUTOMATION
III Connection
CHAPTER 1 NSTALLATION LAYOUT.........................................................................307
1.1 GK980TDc System Connection .............................................................................307
1.1.1 GK980TDc,TAC-1002T-V rear cover interface layout ......................................... 308
1.1.2 Interface explanation .......................................................................................... 308
1.2TAC-1002T Installation..............................................................................................308
1.2.1TAC-1002T external dimensions........................................................................... 308
1.2.2 Preconditions of the cabinet installation.............................................................. 308
1.2.3 Measures against interference............................................................................ 308
CHAPTER 2 DEFINITION & CONNECTION OF INTERFACE
SIGNALS.......................................................................................................................310
2.1 Connection to Drive
Unit ...............................................................................................................................310
2.1.1 Drive interface definition ..................................................................................... 310
2.1.2 Code pulse and direction signals......................................................................... 310
2.1.3 Drive unit alarm signal nALM............................................................................... 310
VIII
TOMATECH AUTOMATION
X
5.2.4 F address(CNCPLC)......................................................................... 431
5.2.5 G address (PLCCNC) ...................................................................... 435
5.2.6 Address A (message display requiery signal, defined by standard PLC
ladders) .. 440
5.2.7 K addressK parameter, standard PLC definition............................ 441
5.3 PLC Data ..................................................................................................443
5.3.1 Timer address T(defined by standard PLC ladders) ............................. 443
5.3.2 Counter address C(Defined by standard PLC Ladders) ....................... 444
5.3.3 Timer presetting address DT(Defined by standard PLC ladders).......... 444
5.3.4 Counter presetting address DC ............................................................ 445
CHAPTER 6 MEMORIZING PITCH ERROR COMPENSATION ....................446
6.1 Function Description .................................................................................446
6.2 Specification .............................................................................................446
6.3 Parameter Setting......................................................................................446
6.3.1 Pitch compensation .............................................................................. 446
6.3.2 Pitch error compensation number......................................................... 446
6.3.3 Pitch error compensation interval ......................................................... 447
6.3.4 Offset value ........................................................................................... 447
6.4 Notes of Offset Setting...............................................................................447
6.5 Setting Examples of Offset Parameters.....................................................447
Appendix
Appendix TAC-1002T,TAC-1002T-V contour
dimension........................................................................................................451
Appendix TAC-1002T-B outline
dimension .......................................................................................................452
Appendix Outline Dimension of Accessional Panel
AP01................................................................................................................452
Appendix Outline Dimension of Accessional Panel
AP02................................................................................................................453
TOMATECH AUTOMATION
I Programming
Chapter 1 Programming
1
Programming
CHAPTER 1 PROGRAMMING
1.1 TAC-100XT Introduction
G command table
Programming
Fig. 1-1
TOMATECH AUTOMATION
Fig. 1-2
O0001
G00 X3.76 Z0
G01 Z-1.28 F50
M30
Fig. 1-3
TAC-100XT uses a rectangular coordinate system composed of X, Z axis. X axis is
perpendicular with axes of spindle and Z axis is parallel with axes of spindle; negative
directions of them approach to the workpiece and positive ones are away from it.
There is a front tool post and a rear tool post of NC turning machine according to their
relative position between the tool post and the spindle, Fig. 1-4 is a coordinate system of
the front tool post and Fig. 1-5 is a rear tool post one. It shows exactly the opposite of X
axes, but the same of Z axes from figures. In the manual, it will introduce programming
application with the front tool post coordinate system in the following figures and
examples.
TOMATECH AUTOMATION
1.3.2 Machine coordinate system, Machine Zero and machine reference point
Machine tool coordinate system is a benchmark one used for CNC counting
coordinates and a fixed one on the machine tool. Machine tool zero is a fixed point which
position is specified by zero switch or zero return switch on the machine tool. Usually, the
zero return switch is installed on max. stroke in X, Z positive direction. Machine reference
point is located at the position at which the machine zero value adding the data parameter
No.114/No.115 value. When No.114/No.115 value is 0,the machine reference point
coincides with the machine zero. The coordinates of machine reference point is the
No.120/No.121 value. Machine zero return/G28 zero return is to execute the machine
reference point return. After the machine zero return/machine reference point return is
completed,TAC-1002T machine coordinate system which takes No.120 value as the
reference point, which is referred to I Programming, Section 3.13.
Note: Do not execute the machine reference point return without the reference point switch
installed on the machine, otherwise, the motion exceeds the travel limit and the machine to be
damaged.
1.3.3 Workpiece coordinate system and Program Zero
The workpiece coordinate system is a rectangular coordinate system based on the part
drawing,also called floating coordinate system. After the workpiece is installed on the
machine, the absolute coordinates of tools current position is set by G50 according to the
workpieces measure, and so the workpiece coordinate system is established in CNC.
Generally, Z axis of the workpiece coordinate system coincides with the spindle axis. The
established workpiece is valid till it is replaced by a new one. The system can set 6
workpiece coordinate systems G54~G59 in advance. Refer to I Programming, Section
3.18 about the details of workpiece coordinate system.
A sub workpiece coordinate system is created in a workpiece coordinate system, which is
called as a local coordinate system. Refer to I Programming, Section 3.17 about the
details of the local coordinate system.
The current position of workpiece coordinate system set by G50 is the program zero.
Note: Do not execute the machine reference point return without using G50 to set the workpiece
coordinate system after power on, otherwise, the alarm occurs.
TOMATECH AUTOMATION
Fig. 1-6
In the above figure, XOZ is the coordinate system of machine tool, X1O1Z1 is the
workpiece coordinate system of X axis located at the heading of workpiece, X2O2Z2 is the
one of X axis located at the ending of workpiece, O point is the machine reference point, A
point is the tool nose and Fig. 1-6
Programming
coordinates of A point in the above-mentioned coordinate systems is as follows:
A point in the machine tool coordinate system: (x,z);
A point in X1O1Z1 coordinate system: (x1,z1);
A point in X2O2Z2 coordinate system: (x2,z2).
1.3.4 Interpolation function
Interpolation is defined as a planar or three dimensional contour formed by path of 2 or
multiple axes moving at the same time, also called Contour control. The controlled
moving axis is called link axis when the interpolation is executed. The moving distance,
direction and speed of it are controlled synchronously in the course of running to form the
required Composite motion path. Positioning control is defined that motion end point of
one axis or multiple axes instead of the motion path in the course of running is controlled.
TAC-100XT X and Z axis are link axes and 2 axes link CNC system. The system
possesses linear, circular and thread interpolation function.
Linear interpolation: Composite motion path of X, Z axis is a straight line from starting
point to end point.
Circular interpolation: Composite motion path of X, Z axis is arc radius defined by R or the
circle center (I, K) from starting point to end point.
Thread interpolation: Moving distance of X or Z axis or X and Z axis is defined by rotation
angle of spindle to form spiral cutting path on the workpiece surface to realize the
TOMATECH AUTOMATION
thread cutting. For thread interpolation, the feed axis rotates along with the
spindle, the long axis moves one pitch when the spindle rotates one rev,
and the short axis and the long axis directly interpolate.
Example:
Fig. 1-7
Programming
M30;
1.3.5 Absolute programming and incremental programming
Specify coordinate values of paths end point or target position in programming and there
are 3
kinds of programming method according to coordinate values in programming: absolute
programming,
incremental programming and compound programming.
Programming with X/Z axis absolute coordinate value to program (present with X, Z) is
defined to
be the absolute programming;
Programming with X/Z axis incremental movement (present with U, W) is defined to be the
incremental programming;
In the system, X, Z axis separately uses the absolute programming and incremental
TOMATECH AUTOMATION
program,
which is called the compound programming.
Example: AB linear interpolation
Fig.1-8
Absolute programming: G01 X200 Z50;
Incremental programming: G01 U100 W-50;
Compound programming: G01 X200 W-50; or G01 U100 Z50
Note: When there are command address X/ U or Z/ W at the same time, X/Z command value is
valid.
Example: G50 X10 Z20;
G01 X20 W30 U20 Z30; End point of the block (X20, Z30)
1.3.6 Diameter programming and radius programming
Programming methods of X coordinate values are divided into: diameter programming
and radius programming.
Diameter programming: when NO.001 Bit2 is 0, X input command value is in diameter and
X coordinate is in diameter at the moment;
Radius programming: when NO.001 Bit2 is 1, X input command value is in radius and X
coordinate is in radius at the moment.
Addresses relevant to diameter or radius programming
Except for addresses and data in Table 1-1, others (arc radius, taper in G90) are
unrelated to diameter or radius programming, and their input values in X direction are
defined by the radius.
Note: The diameter programming is used except for the special description in the following
explanation.
User needs to compile part programs (called program) according to command formats of
CNC system. CNC system executes programs to control the machine tool movement, the
spindle starting/stopping, the cooling and the lubricant ON/OFF to complete the machine
of workpiece. Program example:
Fig. 1-9
The tool leaves the path of ABCDA after the above-mentioned programs are
executed.
1.4.1 General structure of a program
A program consists of blocks. A block begins with a block number (it can be omitted) and
several
words ending with ;. General structure of a program is shown in Fig.1-10:
Programming
Program name
There are most 384 programs stored inTAC-1002T. To identify it, each program has only
one program name (there is no the same program name) beginning with command
address O and the following 4 digits.
TOMATECH AUTOMATION
Word
A word is the basic command unit to command CNC system to complete the control
function,composed of an English letter (called command address) and the following
number (operation command with/without sign). The command address describes the
meaning of its following operation
command and there may be different meaning in the same command address when the
different words are combined together. All words ofTAC-1002T are in Table 1-2.
TOMATECH AUTOMATION
TOMATECH AUTOMATION
Block
A block which is basic unit of CNC program consists of a sequence of words, ending with
; or* . There is the character ; or * between blocks. ; is used to separate blocks in
the manual as follows:
One block may be with a number of words or only with ; ending character(EOB) instead
of words. There must be one or more blank space between many words.
There is only one for other addresses except for N, G, S, T, H, L in one block, otherwise
the system alarms. The last word in the same address is valid when there are more N, G,
S, T, H, L in the same block. The last G code is valid when there are more G codes which
are in the same group inone block.
Block number
A block number consists of an address N and its following 4-digit: N0000N9999, and the
leading zero can be omitted. The block number must be at the beginning of block,
otherwise the block is invalid.
The block number can be omitted, but there must be the block number when the program
calls/skips the target block. The increment of block number is at will and it better to
increase or decrease the sequence of block number in order to conveniently search and
analyze programs.When Automatic number in the switch window is set to ON, block
numbers will be automatically created incrementally and their increment is defined by
No.42.
Programming
TOMATECH AUTOMATION
Insert / in the front of block and startup when some block cannot be executed
(cannot be deleted), and the system skips the block and executes the next one. The block
with / in the front of it is executed if the block skip switch is not started.
Character for end of a program
% is an ending character of program. % is a mark of communication ended when the
program
is transmitted. The system will automatically insert at the end of program.
Program annotation
A program annotation has less than 20 characters (10 Chinese characters) for each
program lies in a bracket following its program name and is expressed only in English and
digitals in CNC system; it can be edited in Chinese in PC and displayed in Chinese in
CNC system after being downloaded.
1.4.2 Main program and subprogram
To simply the programming, when the same or similar machining path and control
procedure is used many times, its program commands are edited to a sole program to call.
A program which calls the program is the main program and the called program (end with
M99) is subprogram. They both take up the program capacity and storage space of
system. The subprogram has own name, and can be called at will by the main program
and also can run separately. The system returns to the main program to continue when
the subprogram ends as follows.
Main program
the cursor is located in the heading of the first block and can be moved in Edit mode. In
the run stop state in Auto mode, the program starts to run by the cycle start signal (
is pressed or external cycle start signal)from a block pointed by current cursor, usually
blocks are executed one by one according to their programming sequence, the program
stops running till executing M02 or M30. The cursor moves along with program running
and is located at the heading of the current block. Sequence and state of program running
are changed in the followings:
after the system switches into Auto mode, is pressed or external cycle start signal
is switched on;
The program stops running in Manual(Jog), Handwheel (MPG), Single Block, Program
Reference Point Return, Machine Reference Point Return mode and it continuously runs
from current position after the system is switched into Auto mode and is pressed
or the external cycle start signal is switched on;
The program pauses after pressing or the external cycle start signal is switched
off, and it continuously runs from current position after pressing or the external
cycle start signal is switched on;
When Single Block is ON, the program pauses after every block is executed completely,
and then it continuously runs from the next block after is pressed or the external
cycle start signal is switched on;
Block with / in the front of it is not executed when the block skipping switch is ON;
The system skips to the target block to run after executing G65;
Please see I Programming, Section Three G Commands about execution sequence of
G70~73;
Call corresponding subprograms or macro program to run when executing M98 or
M9000~M9999; the system returns to main program to call the next block when
TOMATECH AUTOMATION
executing
M99(if M99 specifies a target block number, the system returns to it to run) after the
subprograms or macro programs run completely;
The system return to the first block to run and the current program is executed
repetitively
when M99 is executed in a main program.
1.5.2 Execution sequence of word
There are many words (G, X, Z, F, R, M, S, T and so on) and most of M, S, T is
transmitted to
PLC by NC explaining and others are directly executed by NC. M98, M99, M9000
M9999, S word
used to specify the spindle speed r/min, m/min is directly executed by NC.
NC firstly executes G and then M commands when G codes and M00, M01, M02 and M30
are in
the same block.
NC firstly executes G and then M commands( without transmitting M signal to PLC) when
G codes and M98, M99, M9000M9999 are in the same block.
When G codes and M, S, T executed by PLC are in the same block, PLC defines M, S, T
and G to be executed simultaneously, or execute M, S ,T after G codes. Please see User
Manual of machine manufacturer for execution sequence of commands.
Execution sequence of G, M, S, T in the same block defined byTAC-1002T standard PLC
program is as follows: M3, M4, M8, M10, M12, M32, M41, M42, M43, M44, S, T
and G codes are executed simultaneously;
M5, M9, M11, M13, M33 after G codes are executed;
M00, M01, M02, M30 after other commands of current block are executed.
Programming
TOMATECH AUTOMATION
program (whether the cursor return to the start of program or not is defined
by parameters).
If No.005 Bit 4 is set to 0, the cursor does not return to the beginning of program, and the
cursor returns immediately after the program is executed completely when No.005 Bit 4 is
set to 1. Except for the above-mentioned function executed by NC, M30 function is also
defined by PLC
Programming
ladder diagram as follows: the system closes M03, M04 or M08 signal output and outputs
M05 signal after M30 is executed.
Subprogram call M98
Command function: After other commands of current block in the subprogram are
executed, the system returns to the main program and continues to execute next block
specified by P, and calls a block following M98 of current subprogram when P is not input.
The current program is executed repeatedly when M99 is defined to end of program
(namely, the current program is executed without calling other programs). M99 is invalid in
MDI mode.
Example: Execution path of calling subprogram (with P in M99) as Fig. 2-1.
Execution path of calling subprogram (without P in M99) as Fig. 2-2.
TOMATECH AUTOMATION
level (machine manufacturer) when editing O9000O9999, and macro programs calling
commands
are executed to call with 35 operation level. M9000M9999 are invalid in MDI mode.
M commands defined by standard PLC ladder diagram
Other M commands are defined by PLC except for the above-mentioned ones(M02, M30,
M98, M99, M9000M9999). The following M commands are defined by standard PLC,
andTAC-1002T Turning Machine CNC system is used for controlling machine tool. Refer
to commands of machine manufacturer about functions, significations, control time
sequence and logic of M commands.
M commands defined by standard PLC ladder diagram.
Code Function Remark
M00 Program pause
M00 Program option stop
M03 Spindle clockwise
M04 Spindle Functions interlocked
counterclockwise and states reserved
*M05 Spindle stop
M08 Cooling ON Functions interlocked
*M09 Cooling OFF and states reserved
M10 Tailstock forward Functions interlocked
M11 Tailstock backward and states reserved
M12 Chuck clamping Functions interlocked
M13 Chuck releasing and states reserved
M14 Spindle position control Functions interlocked
*M15 Spindle speed control and states reserved
M20 Spindle clamping Functions interlocked
*M21 Spindle releasing and states reserved
M24 The Functions interlocked
*M25 The and states reserved
M32 Lubricating Functions interlocked
*M33 Lubricating and states reserved
M63 The 2nd spindle rotation Functions interlocked
CCW and states reserved
M64 The 2nd spindle rotation
CW
*M65 The 2nd spindle stop
*M41, M42, Spindle automatic gear Functions interlocked
M43, M44 shifting and states reserved
Programming
Table 2-2 M commands
Note: Commands with * defined by standard PLC is valid when power on.
Program stop M00
Command format: M00 or M0
TOMATECH AUTOMATION
Command function: After M00 is executed, the program stops and the system displays
Pause,
and then the program continuously runs after the cycle start key is pressed.
Program optional stop M01
Command format: M01 or M1
26
Programming
Command function: in AUTO, MDI mode, it is valid. Press and its indicator lights and the
system enters the optional stop state, at the moment, the program stops run
and the system displays PAUSE after M01 is executed, after the cycle start
key is pressed, the program continuously runs. When the program optional
stop switch is not open, the program does not pause even if M01 runs.
Spindle CW, CCW and stop control M03, M04, M05
Command format: M03 or M3
M04 or M4;
M05 or M5.
Command function: M03: Spindle CW rotation;
M04: Spindle CCW rotation;
M05: Spindle stop.
Note: Refer to time sequence of output defined by standard PLC ladder in INSTALLATION &
CONNECTION.
Cooling control M08, M09
Command format: M08 or M8;
M09 or M9;
Command function: M08: Cooling ON;
M09: Cooling OFF.
Note: Refer to time sequence and logic of M08, M09 defined by standard PLC ladder in
INSTALLATION & CONNECTION.
Tailstock control M10, M11
Command format: M10;
M11;
Command function: M10: tailstock going forward;
M11: tailstock going backward.
Note: Refer to time sequence and logic of M10, M11 defined by standard PLC ladder in
INSTALLATION & CONNECTION
Chuck control M12, M13
Command format: M12;
M13;
Command function: M12: chuck clamping;
M13: chuck releasing.
Note: Refer to time sequence and logic of M12, M13 defined by standard PLC ladder in
INSTALLATION & CONNECTION.
Spindle position/speed control switch M14, M15
TOMATECH AUTOMATION
Command formatM14
M15
Command functionM14spindle is in the position control mode from speed control mode;
M15spindle is in speed control mode from the position control mode.
Note: Refer to time sequence and logic of M14, M15 defined by standard PLC ladder in
INSTALLATION
Chapter 2 MSTF Command
27
Programming
& CONNECTION.
Spindle clamped/released M20, M21
Command formatM20
M21
Command functionM20spindle clamped
M21spindle released
Note: Refer to time sequence and logic of M20, M21 defined by standard PLC ladder in
INSTALLATION
& CONNECTION.
The 2nd spindle position/speed switch M24, M25
Command formatM24
M25
Command functionM24The 2nd spindle is switched from the speed control mode to the
position
control mode;
M25The 2nd spindle is switched from the position control mode to the speed
control mode.
Note: Refer to time sequence and logic of M24, M25 defined by standard PLC ladder in
INSTALLATION
& CONNECTION.
Lubricating control M32, M33
Command formatM32
M33
Command functionM32lubricating ON;
M33lubricating OFF.
Note: Refer to time sequence and logic of M32, M33 defined by standard PLC ladder in
INSTALLATION
& CONNECTION.
Spindle automatic gear change M41, M42, M43, M44
Command formatM4n(n=1, 2, 3, 4)
Command functionWhen the system executes M4n, the spindle changes to gear n.
Note: Refer to time sequence and logic of M41, M42, M43, M44 defined by standard PLC ladder in
INSTALLATION&CONNECTION.
Spindle 8-point orientation M50M58
TOMATECH AUTOMATION
Command formatM5n(n=08)
Command functionM50cancel orientation state;
M5n(n=08)the spindle oriented to No. n point.
Note: Refer to time sequence and logic of M50M58 defined by standard PLC ladder in
INSTALLATION & CONNECTION.
The 2nd spindle rotation CCW, rotation CW , stop M63, M64, M65
Command format: M63
M64 Programming
M65
Command function:
M63: spindle rotation CCW;
M64: spindle rotation CW;
M65: spindle stop.
Note 1: The sequence of M63, M64, M65 defined by the standard PLC is the same that of M03, M04,
M05.
Note 2: The function is enabled when the 2nd spindle function is valid.
When executing S00, S1S4 output are cancelled and only one of S1S4 is valid at the
same time.
2.2.2 Spindle speed analog voltage control
Spindle speed is controlled by analog voltage when No.001 BIT4 is set to 1.
Command format: S
00009999 (the leading zero can be omitted.):Spindle speed
Dwell time Start to execute S command Start to execute the following word or block
Programming
analog voltage control
Command function: The spindle speed is defined, and the system outputs 010V analog
voltage to control spindle servo or converter to realize the stepless timing. S
command value is not reserved, and it is 0 after the system is switched on.
When the spindle speed analog voltage control is valid, there are 2 methods to input the
spindle speed: the spindle fixed speed is defined by S command( r/min), and is invariant
without changing S command value, which is called constant speed control(G97 modal);
other is the tangent speed of tool relative to the outer circle of workpiece defined by S
command, which is called constant surface speed control (G96 modal), and the spindle
speed is changed along with the absolute coordinates value of X absolute coordinates in
programming path when cutting feed is executed in the constant surface speed.
Please refer to Section 2.2.3.
The system can execute 4 gears spindle speed. Count the analog voltage value
corresponding to the specified speed according to setting value(corresponding to
No.037No.040) of max. spindle speed (analog voltage is 10V)of current gear, and then
output to spindle servo or converter to ensure that the spindle actual speed and the
requirement are the same.
After the system is switched on, the analog output voltage is 0V. The analog output
voltage is reserved (except that the system is in cutting feed in the surface speed control
mode and the absolute value of X absolute coordinates is changed) after S command is
executed. The analog output voltage is 0V after S0 is executed. The analog output voltage
is reserved when the system resets and emergently stops.
Parameters relative to the analog voltage control of spindle speed:
System parameter No.021: offset value of output voltage with max. spindle speed (the
analog output voltage is 10V);
System parameter No.036: offset value of output voltage with spindle speed 0 (the analog
output voltage is 10V);
System parameter No.037No.040: max. spindle speed (the analog output voltage is
10V) with spindle 14 gears(corresponding to M41M44).
2.2.3 Constant surface speed control G96, constant rotational speed control G97
Command format: G96 S__; (S0000S9999, the leading zero can be omitted.)
Command function: The constant surface speed control is valid, the cutting surface speed
is defined (m/min) and the constant rotational speed control is cancelled.
G96 is modal G code. If the current modal is G96, G96 cannot be input.
Command format: G97 S__; (S0000S9999, the leading zero can be omitted.)
Command function: The constant surface speed control is cancelled, the constant
TOMATECH AUTOMATION
rotational speed control is valid and the spindle speed is defined (r/min). G96 is
modal G code. If the current modal is G97, G97 cannot be input.
Command format: G50 S__; (S0000S9999, the leading zero can be omitted.)
Command function: define max. spindle speed limit (r/min) in the constant surface speed
control and take the current position as the program reference point.
G96, G97 are the modal word in the same group but one of them is valid. G97 is the initial
word and the system defaults G97 is valid when the system is switched on.
When the machine tool is turning it, the workpiece rotates based on the axes of spindle as
the center line, the cutting point of tool cutting workpiece is a circle motion around the
axes, and the instantaneous speed in the circle tangent direction is called cutting surface
(for short surface speed). There are different surface speed for the different workpiece
and tool with different material.
When the spindle speed controlled by the analog voltage is valid, the constant surface
control is valid. The spindle speed is changed along with the absolute value of X absolute
coordinates of programming path in the constant speed control. If the absolute value of X
absolute coordinates adds, the spindle speed reduces, and vice verse, which make the
cutting surface speed as S command value. The constant speed control to cut the
workpiece makes sure all smooth finish on the surface of workpiece with diameter
changing.
Surface speed=spindle speed |X| 1000 (m/min)
Spindle speed: r/min
|X|: absolute value of X absolute coordinate value, mm
3.14
Fig. 2-4
In G96, the spindle speed is changed along with the absolute value of X absolute
coordinates value of programming path in cutting feed (interpolation), but it is not changed
in G00 because there is no actual cutting and is counted based on the surface speed of
TOMATECH AUTOMATION
N0060 G0 X100 Z100; (Rapid retract to A point with spindle speed 955 r/min)
N0110 M30; (End of program, spindle stopping and cooling OFF)
N0120 %
Note 1: S value commanded in G96 is also reserved in G97. Its value is resumed when the system
is in G96 again;
Example:
G96 S50; (Cutting surface speed 50m/min)
G97 S1000; (Spindle speed 1000 r/min)
G96 X3000; (Cutting surface speed 50m/min)
Note 2: The constant surface speed control is valid when the machine tool is locked (X, Z do not
move when their motion command are executed);
Note 3: To gain the precise thread machining, it should not be adopted with the constant surface
speed control but the constant rotational speed (G97) in the course of thread cutting;
Note 4: From G96 to G97, if none of S command (r/min) is commanded in the program block in
G97, the last spindle speed in G96 is taken as S command in G97, namely, the spindle
speed is not changed at this time;
Note 5: In G96, when the spindle speed counted by the cutting surface speed is more than max.
speed of current spindle gear (system parameter No.037No.040), at this time, the spindle
speed is limited to max. one of current spindle gear.
2.2.4 Spindle override
When the spindle speed analog voltage control is valid, the spindle actual speed can be
tuned real time by the spindle override and is limited by max spindle speed of current gear
after the spindle override is tuned, and it also limited by limited values of max. and min.
spindle speed in constant surface speed control mode.
The system supplies 8 steps for spindle override (50%120% increment of 10%). The
actual steps and tune of spindle override are defined by PLC ladder and introductions
from machine manufacturer should be referred when using it. Refer to the following
functions ofTAC-1002T standard PLC ladder.
The spindle actual speed specified byTAC-1002T standard PLC ladder can be tuned real
time by the spindle override tune key at 8 steps in 50%120% and it is not reserved when
the spindle override is switched off. Refer to the operations of spindle override in
OPERATION.
control function.
The spindle control has several methods which are set by MSI1967as follows:
Multiple spindle control method A
When SWS1 signal selects the 1st spindle, SIND signal is used to determine that the
spindle analog voltage is controlled by PLC or CNC, R011 to R121 signals are used to set
the spindle analog voltage. These signals do not influence the 2nd spindle.
Multiple spindle control method A is shown below.
Command function: The automatic tool post rotates to the target tool number and the tool
offset of tool offset number commanded is executed. The tool offset number can be the
same as the tool number, and also cannot be the same as it, namely, one tool can
corresponds to many tool offset numbers. After executing tool offset and then T00, the
system reversely offset the current tool offset and the system its operation mode from the
executed tool length compensation into the non-compensation, which course is called the
canceling tool offset, called canceling tool compensation. When the system is switched on,
the tool offset number and the tool offset number displayed by T command is the state
before the system is switched off.
Only one T command is in a block, otherwise the system alarms.
Toolsetting is executed to gain the position offset data before machining (called tool
offset), and the system automatically executes the tool offset after executing T command
when programs are running. Only edit programs for each tool according to part drawing
instead of relative position of each tool in the machine coordinate system. If there is error
caused by the wearing of tool, directly modify the tool offset according to the dimension
offset.
Tool offset number00-32the leading zero cannot be omitted
Pr
ogramming
Fig.2-6 tool offset
The tool offset is used for the programming. The offset corresponding to the tool offset
number in T command is added or subtracted on the end point of each block. Tool offset
in X direction in diameter or radius is set by No.004 Bit4. For tool offset in diameter or
radius in X direction, the external diameter is changed along with diameter or radius when
TOMATECH AUTOMATION
G01 X100 Z100 T0101; (Block 1, start to execute the tool offset)
G01 W150; (Block 2, tool offset Block 2, tool offset)
G01 U150 W100 T0100; (Block 3, canceling tool offset)
There are two methods defined by No.003 Bit4 to execute the tool length compensation:
Bit4=0: The tool length compensation is executed by the tool traversing;
Bit4=1: The tool length compensation is executed by modifying the coordinates;
Example:
TOMATECH AUTOMATION
Programming
Fig. 2-7 Tool traversing mode
and a sole T command is executed, the tool offset number is displayed in poor, which is
cleared out(tool offset number is still displayed in poor when tool offset is not executed for
one axis, the previous bit of tool offset number is for X axis tool compensation and the
next one is for Z axis tool compensation) after executing tool offset.
executing Z axis as follows:
Executing a sole T0101 and tool offsets of two axes are not executed
Executing W0 after T0101, X tool offset is not executed but that of Z is done
When T command and the motion command are in the same block and execute tool offset
by
modifying coordinates, the motion command and T command are executed at the same
time, the
system executes by adding the current tool offset to coordinates of motion command and
whether the
traverse speed is employed the cutting feedrate or the rapid traverse speed defined by the
motion
command.
When T command and the motion command are in the same block and execute tool offset
by
traversing tool, the motion command or T command is executed separately. Firstly tool
change is
executed and then the motion command is executed. The tool offset is executed at current
rapid
traverse speed.
The tool offset is cancelled after one of the following operations is executed:
Programming
2. Execute G28 or manual machine reference point return (only the tool offset of
coordinate axis which is executed machine reference point return is cancelled, and
another one which is not executed machine reference point return is not cancelled);
When No.084 is not 1 (232) and target tool number is not equal to current display tool
number, the control sequence and logic of tool post is defined by PLC ladder diagram
after commanding T command, please see User Manual of machine tool
manufacturer.TAC-1002T standard PLC ladder diagram defines as follows: clockwise
rotation for selecting tool, counterclockwise rotation for tool post clamping, directly
inputting tool selection signal for tool change. Please refer to
INSTALLATION & CONNECTION.
When the system is employed with line-up tool post, No.084 should be set to 1 and
different tool
number is executed by different tool offset as T0101, T0102, T0103.
TOMATECH AUTOMATION
The state parameter No.002 Bit0 (TLIF) is the market whether the tool life management
function is valid or not, the corresponding tool life management window is not displayed
when it is invalid.
002 Tool life management
Bit 0 Tool life management function is not valid.
1 Tool life management function is valid.
2. Tool life management display window
The current window displays the life management data of current used tool life
management and defined tool groups. The window is shown below:
Current tool state: display the current used tool life management data;
Tool number: current used tool and tool compensation number;
Group: the group where the tool is;
Life: tool life data, the specified value can be time or number of times according to the
different count N value; press to record the time or clear the times.Programming
Used: used tool life data.
Life unit: count unit of tool life, N1 is the used time (unit: minute), N0 is the used times
(unit:times) .
State display the tool state0not be used1being used 2used3
_p04___<skip.
2) Creating and displaying tool group number
A. In tool group state display window, press , group number, , and the
system display the tool group life data, and when the group does not exist, it is defined to
the new group number( the parameter switch is ON in MDI mode).
Note: After the new group is defined,TAC-1002T will automatically define the first tool,
for example, the new defined group number is 01, the display is as follows:
B. Press to move the cursor to Defined Group Number.
C. Press or to select the group number in Defined Group Number, and to
gradually display content of each group number.
3. Definition of tool life data
There are two ways to set the tool life data:
1) compile NC programs and run the program setting;
2) input directly in the tool life management window.
1) Compile NC programs and run program setting
Command format: G10 L3
Command function: set to be the tool life manage data input mode
TOMATECH AUTOMATION
Programming
L_: tool life data, the specified value
can be time or number of times
according to the different count
N value
Note 1: The tool group numbers specified by P may not be the continuous, but it is better to
gradually
increase the sequence number to easily search the tool group number.
Note 2: The tool life is 0 when the life data L_ is omitted, and the tool mode is 0 (minute) when the
specified
mode N_ is omitted, at the time, the system only counts and doest not alarm for the output.
Note 3: Other commands between G10 L3 and G11 are ignored.
Note 4: Running the tool life preset program (such as O0020) completely clear all previous life
data and
preset the life data according to the program requirements.
Note 5: Prevent the life data from being modified manually when the part programs are running
until the run
state stops (except for running the tool life preset programs).
Note 6: All tool life data is stored when power-down.
2) Input tool life management data in the tool life management window
Input directly the tool life management data in tool compensation- >tool life window in MDI
TOMATECH AUTOMATION
In tool compensation -> tool life window, press to move the tool to the life position,
input directly data, such as 500, press to confirm the input. Press to
complete data input (tool offset, life) .
Programming
B. Inserting data:
a)Insert the front and the previous serial number moves backward
. Before insert
TOMATECH AUTOMATION
After insert
b)Insert the middle and the previous sequence number moves backward.
n
Before insert
TOMATECH AUTOMATION
After insert
c)Insert behind
Before insert
TOMATECH AUTOMATION
After insert
C. Delete data:
a) Delete data in all groups.
In tool compensation-> tool life window, press + to delete all defined data.
Before operation
After operation
TOMATECH AUTOMATION
Before operation
After deletion
TOMATECH AUTOMATION
c) Delete any serial number in the current page(the parameter switch is ON)
After deletion
TOMATECH AUTOMATION
T0199; End of previous tool group, and start the tool in 01 group
T0508; Use No.05 tool and 08 tool offset without life management
T0199;
End of tools in No.02 group, start tools in No.02 group, and
start the next tool when there are many tools in No.01 group.
002 MDITL
MDITL0 Tool life management is invalid in MDI mode.
MDITL1 Tool life management is valid in MDI mode.
The tool life count has two methods including time and number of times.
A. Time count
Use the time (minute) to count the tool life in cutting feed mode(such as G01, G02, G03,
G32, G33, G34 and so on), and do not count it in G00, G04, single block stop, machine
lock,auxiliary lock, dry run and so on.
B. Number of times count
There are two methods about the number of times count which is determined by No.002
Bit2
(LIFC).
002 LIFC
LIFC=0 Tool life management count mode 1
Execute the tool select (Txx99) to change the tool number, execute the count in the
cutting feed mode (except for machine lock, auxiliary lock, dry run state). The count is not
executed
when the tool number is changed and the system is not in the cutting feed mode.
Application example:
Programming
TOMATECH AUTOMATION
CHAPTER 3 G COMMANDS
3.1 Commands
G command consists of command address G and its following 12 bits command value,
used for defining the motion mode of tool relative to the workpiece, defining the
coordinates and so on. Refer to G commands as Fig. 3-1.
G words are divided into 9 groups (00, 01, 02, 03, 060712141621). Except that
commands in the group 01 and 00 are not in the same block, G words in the different
groups can be input to the same block and the last one is valid when two or more G words
in the same group are input. The words in the different groups without the same
parameter (word) can be in the same block and their functions are valid without sequence
at the same time. The system alarms when G words do not belong to Table 3-1 or they
are optional functions without being supplied.
Table 3-1 G command list
TOMATECH AUTOMATION
Table 3-2
Note 1: For the command addresses with functions (such as F, used for feedrate per minute,
feedrate per revolution and metric pitch and so on), they can be omitted not to input when
executing the same function to definite words after the words are executed. For example, after
executing G98 F_ without
executing the thread command, the pitch must be input with F word when machining metric
thread.
Note 2: They can be omitted not to input when the address characters X(U) , Z(W) are the
coordinates of end
point of block and the system defaults the current absolute coordinates in X or Z direction to the
coordinate value of end point of block.
Note 3: The corresponding words must be input when the command addresses which are not in
Table 3-2 are used.
TOMATECH AUTOMATION
Example 1:
O0001;
G0 X100 Z100; (rapid traverse to X100 Z100; the modal G0 is valid)
X20 Z30; (rapid traverse to X20 Z30; the modal G0 is not input)
G1 X50 Z50 F300; (linear interpolation to X50 Z50, feedrate 300mm/min; the modal G1 is
valid)
X100; (linear interpolation to X100 Z50, feedrate 300mm/min; Z coordinate is
not input and is the current coordinates Z50; F300 is kept, G1 is modal
and is not input)
G0 X0 Z0; (rapid traverse to X0 Z0 and the modal G0 is valid)
M30;
Example 2:
O0002;
G0 X50 Z5; (rapid traverse to X50 Z5)
G04 X4; (dwell 4 seconds)
G04 X5; (dwell 5 seconds again, G04 is non-modal and is needed to input again)
M30;
Programming
The respective rapid traverse speed of X, Z is defined by the system parameter No.022,
No.023,
and their traverse speed can changed by rapid override key on the machine control panel.
Example: The tool rapidly traverses to B from A as Fig. 3-2.
Fig. 3-2
TOMATECH AUTOMATION
Command function:
G02 movement path is clockwise (rear tool post coordinate system)/counterclockwise
(front tool post coordinate system) arc from starting point to end point as Fig. 3-5.
G03 movement path is counterclockwise (rear tool post coordinate system/clockwise
(front tool post coordinate system) arc from starting point to end point as Fig. 3-6.
Command path:
Command specification:
G02, G03 are modal,
R is arc radius, range: 99999999 least input increment;
TOMATECH AUTOMATION
I: X difference value between circle center and starting point of arc in radius;
K: Z difference value between circle center and starting point of arc;
Center point of arc is specified by address I, K which separately corresponds to X, Z, I, K
expresses the vector (it is the increment value) from starting point to center point of arc as
the
following figure;
I=Coordinates of center point-that of starting point in X direction; K= Coordinates of center
point-that of starting point in Z direction;
I, K are with sign symbol. When directions of I, K are the same as those of X, Z, they are
positive,
otherwise, they are negative.
X, U, Z, W, R, I, K range is referred to Table 1-2 of Section 1.4.1, unit: mm/inch.
Notes:
When I = 0 or K = 0, they can be omitted; one of I, K or R must be input, otherwise the
system alarms.
TOMATECH AUTOMATION
R is valid and I, K are invalid when they are input at the same time.
R value must be equal to or more than half distance from starting point to end point, and
The system alarms if the end point is not on the arc defined by R command;
Omit all or one of X(U), Z(W); coordinates of starting point and end point of this axis are
the same when omitting ones, the path is a full circle(360) in G02/G03 when center
point are specified by I,K; the path is 0(0) when center point is specified by R.
Starting point and end point of arc path are the specified ones in I, K programming.
When the distance from center point to end point is not equal to R(R I 2 + K 2 ) in I,K
Program: O0001
N001 G0 X40 Z5; (Rapidly traverse)
N002 M03 S200; (Start spindle)
N003 G01 X0 Z0 F900; (Approach workpiece)
N005 G03 U24 W-24 R15; (Cut R15 arc)
N006 G02 X26 Z-31 R5; (Cut R5 arc)
N007 G01 Z-40; (Cut 26)
N008 X40 Z5; (Return to starting point)
N009 M30; (End of program)
Diameter or radius programming: currently, because there is only one bit parameter No
1.2 to select the diameter or the radius programming and is valid to only X axis, Z and Y
axis use the only radius programming in G2, G3, and X axis is selected by the parameter;
The tool nose direction of C tool compensation is 0 in G17, G19.
Programming
Command function: insert one straight line between two linear interpolation blocks.
B. Linear to circular
Command format: G01 X(U)_ Z(W)_ L_;
G02/G03 X(U)_ Z(W)_ R_;
Or
G01 X(U)_ Z(W)_ L_;
G02/G03 X(U)_ Z(W)_ I_ K_;
Command function: insert one straight line between the linear and circular interpolation
blocks.
TOMATECH AUTOMATION
C. Circular to circular
Command format:
G02/G03 X(U)_ Z(W)_ R_ L_;
G02/G03 X(U)_ Z(W)_ R_;
Or
G02/G03 X(U)_ Z(W)_ I_ K_ L_;
G02/G03 X(U)_ Z(W)_ I_ K_;
Command function: insert one straight line between two circular interpolation blocks.
Programming
D. Circular to linear
Command format: G02/G03 X(U)_ Z(W)_ R_ L_;
G01 X(U)_ Z(W)_;
Or
G02/G03 X(U)_ Z(W)_ I_ K_ L_;
G01 X(U)_ Z(W)_;
TOMATECH AUTOMATION
Command function: insert one straight line block between circular and linear
interpolation block.
Command function: insert one circular between two straight lines, the inserted circular
block and two straight lines are tangent, the radius is the data behind the command
address D.Programming
B. Linear to circular
Command format:
G01 X(U)_ Z(W)_ D_;
G02/G03 X(U)_ Z(W)_ R_;
or
G01 X(U)_ Z(W)_ D_;
G02/G03 X(U)_ Z(W)_ I_ K_;
TOMATECH AUTOMATION
Command function: insert one circular between linear and circular, the inserted circular
is tangent to the linear and the circular, and the radius is the data behind the command
address D.
C. Circular to circular
Command format: G02/G03 X(U)_ Z(W)_ R_ D_;
G02/G03 X(U)_ Z(W)_ R_;
or
G02/G03 X(U)_ Z(W)_ R_ D_;
G02/G03 X(U)_ Z(W)_ I_ K_;
or
G02/G03 X(U)_ Z(W)_ I_ K_ D_;
G02/G03 X(U)_ Z(W)_ I_ K_;
or
G02/G03 X(U)_ Z(W)_ I_ K_ D_;
G02/G03 X(U)_ Z(W)_ R_;
Command function: insert one circular between two circular blocks, the inserted circular
is tangent to the two circular blocks, and the radius is the data behind
the command address D.
Programming
TOMATECH AUTOMATION
D. Circular to linear
Command format: G02/G03 X(U)_ Z(W)_ R_ D_;
G01 X(U)_ Z(W)_;
Or
G02/G03 X(U)_ Z(W)_ I_ K_ D_;
G01 X(U)_ Z(W)_;
Command function: insert one circular block between the circular and the linear, the
inserted circular block is tangent to the circular and the linear, and
the radius is the data behind the command address D.
Programming
C. Some linear block is too short
TOMATECH AUTOMATION
The chamfering linear length is L, CNC alarms when other end of the caculated
chamfering
linear is not in the interpolation linear(in the extension line of the interpolation linear).
2) Circular chamfering
A. The circular chamfering function is invalid when two interpolation straight lines are in
the same block.
C. The circular chamfering function is invalid when the linear and the circular, or the
circular and the linear are tangential.
D. The circular chamfering function is invalid when one circular and another one are
tangential.
TOMATECH AUTOMATION
Programming
The circular chamfering function is valid when the circular tangency is as follows:
G28 is non-modal.
X, Z, Y: absolute coordinates of middle point;
U, W, V: Z absolute coordinates of middle point;ing
W: Difference value of absolute coordinates between middle point and starting point in Z
direction. Omit all or one of X(U), Z(W) as follows:
Fig.3-12
Note 1: Do not execute G28 and machine zero return without the zero switch on the machine.
Note 2: Machine zero returns in Jog mode and in G28 are the same and their deceleration signals
and the signal every rotation must be detected;
Note 3: X and Z move at the respectively rapid traverse speed from A to B and from B to R, and so
the path is not always a straight line;
Note 4: The system cancels the tool length compensation after executing G28 to perform the
machine zero return;
3.13.2 Machine 2nd, 3rd, 4th reference point G30
Machine zero is fixed point in the machine tool, decided by the zero switch and zero return
switch installed on the machine tool.
TOMATECH AUTOMATION
Machine reference point is located at the position after the machine zero offsets No.114 or
No.115 value, when No.114, No.115 setting value is 0, the machine reference point
coincides with the machine zero. The coordinates of machine reference point are No.120,
No.121 setting value. Executing machine zero return is considered to executing the
machine reference point return.
TAC-100XT has machine 2nd, 3rd, 4th reference point functions. Use separately No.122
No.127
Command Function
G28 X(U) X returns to machine zero and Z axis remains in the previous position
G28 Z(W) Z returns to machine zero and X axis remains in the previous position
G28 in the previous positions and continuously execute the next block
G28 X(U) Z(W) X, Z return to machine zero simultaneously to set X, Z machine
coordinates of the machine 2nd, 3rd, 4th reference point.
The relationship between the machine zero, machine reference point, machine 2nd, 3rd, 4th
reference point is as follows:
Command format:
G30 P2 X(U) __ Z(W) __;
G30 P3 X(U) __ Z(W) __;
G30 P4 X(U) Z(W) ;
Command function: the tool rapidly traverses with the rapid traverse speed to the middle
point specified by X(U) , Z(W)
Command specifications: G30 is non-modal.
X: X absolute coordinate of the middle point;
U: difference value of X absolute coordinate value between the middle point and starting
point;
Z: Z absolute coordinate of the middle point;
W: difference point of Z absolute coordinate between the middle point and starting point.
Omit one or all of X(U) , Z(W) as follows:
Command Function
G30 Pn X(U) X returns to the machine nth reference point, Z axis retains
G30 Pn Z(W) Z return to the nth machine reference point, X axis retains
G30 X and Z retain, go on executing the next program block
TOMATECH AUTOMATION
G30 Pn X(U) Z(W) X and Z return to the machine nth reference point simultaneously
Note 1: Execute the machine 2nd, 3rd, 4th reference point return after you manually execute the
machine reference point return or G28 (machine reference point return).
Note 2: AB and B0R2, two axes separately traverse, and so their trails are linear or not.
Note 3: CNC cancels the tool length compensation after you execute G30 to return 2nd, 3rd, and
th
4 reference point.
Note 4: Must not execute G30 (machine 2nd, 3rd, 4th reference point return) when the zero switch
is not installed on the machine.
Note 5: Do not set the workpiece coordinate system when you execute the 2nd, 3rd, and the
th
machine 4 reference point return.
TOMATECH AUTOMATION
Fig. 3-13
2. The next block of G31 is the absolute coordinate programming of one axis as Fig. 3-14:
Fig. 3-14
3. The next block of G31 is the absolute coordinate programming of two axes shown in
TOMATECH AUTOMATION
Fig. 3-15:
Program:
G31 Z200 F100
G01 X100 Z300
Programming
b. Signals relevant to G31
Skip signal:
SKIP:G6.6
Type: input signal
Function: G6.6 ends the skip cutting. I.e. in a block containing G31, the skip signal
becoming the absolute coordinate position of 1 is to be stored in the macro
variable (#5011#5015 separately corresponds to X, Z, Y)
Operation: when the skip signal becomes 0, CNC executes as follows:
When the block is executing G31, CNC stores the current absolute coordinates
Of each axis. CNC stops G31 to execute the next block, the skip signal detects
its state instead of its RISING EDGE. So when the skip signal is 1, it meets the
skip conditions.
Note:
CNC immediately stops the feed axis (without acceleration/deceleration execution), and G31
feedrate should be as low as possible below 1000 mm/min to get the precise stop position.
Programming Fig.3-16
As Fig.3-16, create the above-mentioned workpiece coordinate system and set (X100
Z150) to the reference point of program after executing G50 X100 Z150.
Note: When No.003 Bit4 is 1(executing tool compensation by coordinates offset), T function is
executed,motion command is not executed and the system creates workpiece coordinate system
with G50, the displayed coordinate value are ones which are defined by G50 adding or
subtracting tool compensation value which is not executed.
TOMATECH AUTOMATION
Programming
When 11.7APRSis set to 1, an absolute coordinate system is set after machine zero
return,and then EXOFS and ZOFSn setting values are offset. Current workpiece
coordinate setting after zero return is shown: new workpiece coordinates=current absolute
coordinates-ZOFSn + EXOFS.
G54G59 workpiece coordinate system switch
Specifying G54~G59 can switch 6 workpiece coordinate systems to make the system
work in different workpiece systems. Absolute coordinate variation of current position is
the origin offset value between the new workpiece coordinate system and the old.
Namelynew absolute coordinates
=current absolute coordinates -ZOFS new ZOFS old
Example
Example 1
TOMATECH AUTOMATION
Prog
ramming
Fig. 3-17
Fig. 3-18
Cutting path: Relative position between cutting end point and starting point with U, W, R,
and tool path of U, W, R with different signs are shown in Fig. 3-19:
TOMATECH AUTOMATION
Fig. 3-19
Example: Fig. 3-20, rod 125110
TOMATECH AUTOMATION
Fig. 3-20
Programming
3.19.2 Radial cutting cycle G94
Command format: G94 X(U) __ Z(W) __ F__; (face cutting)
G94 X(U) __ Z(W) __ R__ F__; (taper face cutting)
Command function: From starting point, the cutting cycle of cylindrical surface or taper
surface
is completed by radial feeding(X) and axial (Z or X and Z) cutting.
Command specifications:
G94 is modal;
Starting point of cutting: starting position of linear interpolation (cutting feed). Unit: mm;
End point of cutting: end position of linear interpolation (cutting feed). Unit: mm;
X: X absolute coordinate of end point of cutting. Unit: mm;
U: Different value of absolute coordinate from end point to starting point of cutting in X
direction .Unit: mm;
Z: Z absolute coordinates of end point of cutting, Unit: mm;
W: Different value of X absolute coordinate from end point to starting point of cutting, Unit:
mm;
R: Different value(R value) of X absolute coordinates from end point to starting point of
cutting. When the sign of R is not the same as that of U, R, RW.
Radial linear cutting is shown in Fig. 3-21, radial taper cutting is as Fig. 3-22.
Ranges of X, U, Z, WR are referred to Table 1-2 of Section 1.4.1, unit: mm/inch.
Cycle process:
Z rapidly traverses from starting point to cutting starting point;
Cutting feed (linear interpolation) from the cutting starting point to cutting end point;
Z executes the tool retraction at the cutting feedrate (opposite direction to the
above-mentioned ), and returns to the position which the absolute coordinates and the
starting point are the same;
The tool rapidly traverses to return to the starting point and the cycle is completed.
TOMATECH AUTOMATION
Fig. 3-21
ogra
mming Fig. 3-22
Cutting path: Relative position between cutting end point and starting point with U, W is
shown in Fig.3-23:
TOMATECH AUTOMATION
Fig. 3-23
Programming
Example: Fig. 3-24, rod 125112
TOMATECH AUTOMATION
Fig. 3-24
4) Pause or single block is executed in G90, G94, the single block stops after the tool
moves end
point of current path.
Outer cutting 120
CBAcutting 60 rogramming
to the
formed roughing of non-formed rod.
Relevant definitions:
Finishing path: The above-mentioned Part 3 of G71(nsnf block)defines the finishing
path, and the starting point of finishing path (starting point of ns block)is the same these of
starting point and end point of G71, called A point; the first block of finishing
path(ns block)is used for X rapid traversing or tool infeed, and the end point of
finishing path is called to B point; the end point of finishing path(end point of nf
block)is called to C point. The finishing path is ABC.
Programming
Roughing path: The finishing path is the one after offsetting the finishing
allowance(u,w) and is the path contour formed by executing G71. A, B, C point of
finishing path after offset corresponds separately to A, B, C point of roughing path, and
the final continuous cutting path of G71 is BC point.
d: It is each travel(unit: mm, radius value) of X tool infeed in roughing, its value:
0.001~99.999(unit: mm/inch,radius value) without sign, and the direction of tool infeed is
defined by move direction of ns block. The command value d is reserved after executing
U(d) and the value of system parameter No.051 is rewritten to d1000(unit: 0.001
mm) .
The value of system parameter No.051 is regarded as the travel of tool infeed when U(d)
is not input.
e: It is travel (unit: mm/inch, radius value) of X tool retraction in roughing its value:
0.001~99.999
(unit: mm,radius value) without sign, and the direction of tool retraction is opposite to that
of tool infeed, the command value e is reserved and the value of system parameter
No.052 is rewritten to e1000(unit: 0.001 mm) after R(e) is executed. The value of system
parameter No.052 is regarded as the travel of tool retraction when R(e) is not input.
ns: Block number of the first block of finishing path.
nf: Block number of the last block of finishing path.
u: X finishing allowance is 99999999 least input increment with sign symbol (diameter,
unit:mm/inch, with sign). X coordinate offset of roughing path compared to finishing path,
i.e. the different value of X absolute coordinates between A and A. The system defaults
u=0 when U(u) is not input, i.e. there is no finishing allowance in X direction for
roughing cycle.
w: Z finishing allowance is 99999999 least input increment with sign symbol (diameter,
unit:mm/inch, with sign). the Z coordinate offset of roughing path compared to finishing
path, i.e.the different value of Z absolute coordinate between A and A. The system
defaults w=0
when W(w) is not input, i.e. there is no Z finishing allowance for roughing cycle.
K: When K is not input or is not 1, the system does not check the program monotonicity
except that the Z value of starting point and end point of the arc or ellipse or parabola or
the arc is more than 180 degree; K=1, the system checks the program monotonicity.
F: Feedrate; S: Spindle speed; T: Tool number, tool offset number.
M, S, T, F: They can be specified in the first G71 or the second ones or program nsnf. M,
TOMATECH AUTOMATION
S, T,F functions of M, S, T, F blocks are invalid in G71, and they are valid in G70 finishing
blocks.
Type I
1Execution process: (Fig. 3-25)
X rapidly traverses to A from A point, X travel is u, and Z travel is w;
X moves from A is d( tool infeed), ns block is for tool infeed at rapid traverse speed
with G0,is for tool infeed at feedrate F with G71, and its direction of tool infeed is that of
AB point;
Z executes the cutting feeds to the roughing path, and its direction is the same that of
Z coordinate AB point;
X, Z execute the tool retraction e (45straight line) at feedrate, the directions of tool
retraction is opposite to that of too infeed;
Z rapidly retracts at rapid traverse speed to the position which is the same that of Z
coordinate;
After executing X tool infeed (d+e)again, the end point of traversing tool is still on the
middle point of straight line between A and B(the tool does not reach or exceed B), and
after executing the tool infeed (d+e)again, execute ; after executing the tool infeed
(d+e)again, the end point of tool traversing reaches B point or exceeds the straight line
between AB point and X executes the tool infeed to B point, and then the next step is
executed;
Cutting feed from B to C point along the roughing path;
Rapid traverse to A from C point and the program jumps to the next clock following nf
block after G71 cycle is ended.
Fig.3-26
Programming
Type II
The type II is different from the type I as follows:
1Relative definition: more one parameter than the type I .
JWhen J is not input or J is not 1, the system does not execute the run along the
roughing contour; J=1: the system executes the run along the roughing contour.
2The system does not execute the monotonous increasing or the monotonous
decreasing along X external contour, and the workpiece can be up to 10 grooves as
follows:
Fig. 3-26-1type
But, the Z external contour must be the monotonous increasing or the monotonous
decreasing, and the following contour cannot be machined:
TOMATECH AUTOMATION
Fig. 3-26-2type
3The first tool cutting need not the vertical: the machining can be executed when Z is the
monotonous change shape as follows:
Fig. 3-26-3rogramming
4After the turning, the system should execute the tool retraction, the retraction travel is
specified by Reor No. 52 as follows:
Fig. 3-26-5type
Notes
ns block is only G00, G01. When the workpiece is type II, the system must specify the
two axes X(U) and Z(W), and W0 must be specified when Z does not move;
For type II, only X finishing allowance can be specified; when Z finishing allowance is
specified, the whole machining path offsets, and it can be specified to 0;
For type II, after the current grooving is completed to execute the next, the tool
approaches the workpiece(remark 25 and 26) in the remainder tool retraction distance at
G1 speed; when the tool retraction is 0 or the remainder distance is less than the tool
retraction, and the tool approaches the workpiece at G1 speed;
Some workpiece without remarking the type I or the type II adapts the both;
For the finishing path(nsnf block)Z dimension must be monotonous change(always
increasing or decreasing), X dimension in the type I must be monotonous change and
does not need in the type II;
nsnf blocks in programming must be followed G71 blocks. If they are in front of G71
blocks,the system automatically searches and executes nsnf blocks, and then executes
the next program following nf block after they are executed, which causes the system
executes nsnf blocks repetitively;
nsnf blocks are used for counting the roughing path and the blocks are not executed
when G71 is executed. F, S, T commands of nsnf blocks are invalid when G71 is
executed, at the moment, F, S, T commands of G71 blocks are valid. F, S, T of nsnf
blocks are valid when executing nsnf to command G70 finishing cycle;
In nsnf blocks, there are only G commands: G00, G01, G02, G03, G04, G05, G6.2,
G6.3,G7.2, G7.3, G96, G97, G98, G99, G40, G41, G42 and the system cannot call
subprograms(M98/M99);
G96, G97, G98, G99, G40, G41, G42 are invalid when G71 is executed, and are valid
when G70 is executed;
When G71 is executed, the system can stop the automatic run and manual traverse,
but return to the position before manual traversing when G71 is executed again, otherwise,
the following path will be wrong;
When the system is executing the feed hold or single block, the program pauses after
TOMATECH AUTOMATION
Fig. 3-27
TOMATECH AUTOMATION
The tool retraction point should be high or low as possible to avoid crashing the
workpiece.
ogramming
Coordinate offset direction with finishing allowance:
u, w define the coordinate offset and its direction of cut-in in finishing, and their sign
symbol are as follows Fig. 3-29: BC for finishing path, BC for roughing path and A is
the tool start-up point.
Fig.3-29
ExampleFig. 3-30
Fig.3-30
TOMATECH AUTOMATION
Program:
O0005;
G00 X176 Z10 M03 S500 (Change No.2 tool and execute its compensation, spindle
CW rotation with 500 r/min)
G72 W2.0 R0.5 F300; (Tool infeed 2mm, tool retraction 0.5mm)
G72 P10 Q20 U0.2 W0.1; (Roughing a--d,X roughing allowance 0.2mm and Z 0.1mm)
Programming
N10 G00 Z-55 S800 ; (Rapid traverse)
G01 X160 F120; (Infeed to a point)
X80 W20; (Machining ab) Blocks for finishing path
W15; (Machining bc)
N20 X40 W20 ; (Machining cd)
G70 P050 Q090 M30; (Finishing ad)
3.20.3 Closed cutting cycle G73
block of finishing path(ns block)is called B point; the end point of finishing
path(end point of nf block) is called C point. The finishing path is ABC.
Roughing path: It is one group of offset path of finishing one, and the roughing path
times are the same that of cutting. After the coordinates offset, A, B, C of finishing path
separately corresponds to An, Bn , Cn of roughing path(n is the cutting times,
the first cutting path is A1, B1, C1 and the last one is Ad, Bd, Cd). The
coordinates offset value of the first cutting compared to finishing path is
(i2+u, w+k) (diameter programming) , the coordinates offset value of
the last cutting compared to finishing path is(u, w) , the coordinates offset
value of each cutting compared to the previous one is as follows:
i: It is X tool retraction clearance in roughing, and its range is 99999999 least input
increment (radius, unit: mm/inch, with sign symbol) , i is equal to X coordinate offset
value (radius value) of A1 point compared to Ad point. The X total cutting travel(radius
value) is equal to |i| in roughing, and X cutting direction is opposite to the sign of i: i
0, the system executes X negative cutting in roughing. It is reserved after i specified
value is executed and the data is switched to the corresponding value to save to NO.053.
The No.053 value is regarded as X tool retraction clearance in roughing when U(i) is
not input.
k: It is Z tool retraction clearance in roughing, and its range is 99999999 least input
increment (radius, unit: mm/inch, with sign symbol) , k is equal to Z coordinate offset
value (radius value) of A1 point compared to Ad point. Z total cutting travel(radius value)
is equal to |k| in roughing, and Z cutting direction is opposite to the sign of k: i0,
the system executes Z negative cutting in roughing. It is reserved after k specified
value is executed and the data is switched to the corresponding value to save to NO.054.
The No.054 value is regarded as Z tool retraction clearance in roughing when W(k) is
not input.
d: It is the cutting times 1~9999 (unit: times). R5 means the closed cutting cycle is
completed
by 5 times cutting. R (d) is reserved after it is executed and NO.055 value is rewritten to d
(unit: times). No.055 value is regarded as the cutting times when R(d) is not input. When
the cutting times is 1, the system completes the closed cutting cycle based on 2 times
cutting.
ns: Block number of the first block of finishing path.
nf: Block number of the last block of finishing path.
u: It is X finishing allowance and its range is 99999999 least input increment
(diameter,
unit: mm/inch, with sign symbol) and is the X coordinate offset of roughing path
compared to finishing path, i.e. the different value of X absolute coordinates of A1
compared to A. u0,it is the offset of the last X positive roughing path compared to
finishing path. The system defaults u=0 when U(u) is not input, i.e. there is no X
finishing allowance for roughing cycle.
w: It is Z finishing allowance and its range is 99999999 least input increment
(diameter, unit: mm/inch, with sign symbol) and is the X coordinate offset of roughing path
compared to finishing path, i.e. the different value of Z absolute coordinates of A1
TOMATECH AUTOMATION
compared to A. w0,it is the offset of the last X positive roughing path compared to
finishing path. The system defaults w=0 when W(w) is not input, i.e. there is no Z
finishing allowance for roughing cycle.
F: Feedrate; S: Spindle speed; T: Tool number, tool offset number.
M, S, T, F: They can be specified in the first G73 or the second ones or program nsnf. M,
S,T, F functions of M, S, T, F blocks are invalid in G73, and they are valid in G70 finishing
blocks.
Execution process: (Fig. 3-31)
AA1: Rapid traverse;
First roughing A1B1C1 :
A1B1: Rapid traverse speed in ns block in G0, cutting feedrate specified by G73 in ns
block in G1;
B1C1: Cutting feed.
C1A2: Rapid traverse.
Second roughing A2B2C2 :
A2B2: Rapid traverse speed in ns block in G0, cutting feedrate specified by G73 in ns
block in G1;B2C2: Cutting feed.
C2A3: Rapid traverse:
Programming Fig-3-32
ExampleFig. 3-33
TOMATECH AUTOMATION
Fig.3-34
Command specifications:
nsnf blocks in programming must be followed G70 blocks. If they are in the front of
G71 blocks, the system automatically searches and executes nsnf blocks, and then
executes the next program following nf block after they are executed, which causes the
system executes nsnf blocks repetitively.
F, S, T in nsnf blocks are valid when executing nsnf to command G70 finishing
cycle.
G96, G97, G98, G99, G40, G41, G42 are valid in G70;
When G70 is executed, the system can stop the automatic run and manual traverse,
but return to the position before manual traversing when G70 is executed again, otherwise,
the following path will be wrong.
When the system is executing the feed hold or single block, the program pauses after
the system has executed end point of current path.
G70 cannot be executed in MDI, otherwise, the system alarms.
There are no the same block number in ns~nf when compound cycle commands are
executed repetitively in one program.
The tool retraction point should be high or low as possible to avoid crashing the
workpiece.
3.20.5 Axial grooving multiple cycle G74
Command format: G74 R(e) ;
G74 X(U) Z(W) P(i) Q(k) R(d) F ;
Command function: Axial (X axis) tool infeed cycle compounds radial discontinuous
cutting cycle: Tool infeeds from starting point in radial direction( Z), retracts, infeeds again,
and again and again, and last tool retracts in axial direction, and retracts to the Z
position in radial direction, which is called one radial cutting cycle; tool infeeds in axial
direction and execute the next radial cutting cycle; cut to end point of cutting, and
then return to starting point (starting point and end point are the same one in G74),
which is called one radial grooving compound cycle. Directions of axial tool infeed
TOMATECH AUTOMATION
and radial tool infeed are defined by relative position between end point X(U) Z(W)
and starting point of cutting. G75 is used for machining radial loop groove or column
surface by radial discontinuously cutting, breaking stock and stock removal.
Relevant definitions:
Starting point of axial cutting cycle: starting position of axial tool infeed for each axial
cutting cycle, defining with An(n=1,2,3), Z coordinate of An is
the same that of starting point A, the different value of X coordinate between An and An-1 is
i. The starting point A1 of the first axial cutting cycle is the same as the starting
point A, and the X coordinate of starting point (Af ) of the last axial cutting cycle is the
same that of cutting end point.
End point of axial tool infeed: starting position of axial tool infeed for each axial cutting
cycle,defining with Bn(n=1,2,3), Z coordinate of Bn is the same
that of cutting end point, X coordinate of Bn is the same that of An , and the end point (Bf )
of the last axial tool infeed is the same that of cutting end point.
End point of radius tool retraction: end position of radius tool infeed (travel of tool
infeed is d) after each axial cutting cycle reaches the end point of axial
tool infeed, defining with Cn(n=1,2,3), Z coordinate of Cn is the same that of cutting
end point, and the different value of X coordinate between Cn and An is d;
End point of axial cutting cycle: end position of axial tool retraction from the end point of
radius tool retraction, defining with Dn(n=1, 2, 3), Z coordinate of Dn is the same that
of starting point, X coordinate of Dn is the same that of Cn (the different value
of X coordinate between it and An is d);
Cutting end point: it is defined by X(U) Z(W) , and is defined with Bf of the last axial
tool infeed.
R(e) : it is the tool retraction clearance after each axial(Z) tool infeed, and its range is
0~99.999(unitmm) without sign symbols. The specified value is reserved validly after
R(e) is executed and the data is switched to the corresponding value to save to NO.056.
The NO.056 value is regarded as the tool retraction clearance when R(e) is not input.
X: X absolute coordinate value of cutting end point Bf (unit: mm).
U: Different value of X absolute coordinate between cutting end point Bf and starting point.
Z: Z absolute coordinate value of cutting end point Bf (unit: mm).
W: Different value of Z absolute coordinates between cutting end point Bf and starting
point.
P(i) radial(X) cutting for each axial cutting cycle , range: 0i 9999999 least input
increment (unit: least input increment, diameter value, without sign symbol).
Q(k)radial(Z) cutting for each axial cutting cycle, range: 0k 9999999 least input
increment (unit: least input increment, diameter value, without sign symbol).
R(d) : radial (X) tool retraction after cutting to end point of axial cutting, range:
0~99999999
least input increment (unit: mm/inch, diameter value, without sign symbol).. The radial (X)
tool retraction clearance is 0 when the system defaults the axial cutting end point. The
system defaults the tool retraction is executed in positive direction when X(U) and P(i)
are omitted.
Execution process: (Fig. 3-34)
TOMATECH AUTOMATION
Axial (Z) cutting feed k from the starting point of axial cutting cycle, feed in Z
negative direction when the coordinates of cutting end point is less than that of
starting point in Z direction, otherwise, feed in Z positive direction;
Axial (Z) rapid tool retraction e and its direction is opposite to the feed direction of ;
X executes the cutting feed (k+e) again, the end point of cutting feed is still in it
between starting point An of axial cutting cycle and end point of axial tool infeed, Z
executes the cutting feed (k+e)again and execute ; after Z executing the cutting P
feed (k+e)again, the end point of cutting feed is on Bn or is not on it between An and
Bn cutting feed to Bn in Z direction and then execute ;
Radial(X) rapid tool retraction d to Cn , when X coordinate of Bf (cutting end point)
is less than that of A (starting point), retract tool in X positive, otherwise, retract tool
in X negative direction;
Axial(Z axial) rapid retract tool to Dn, No. n axial cutting cycle is completed. If the
current axial cutting cycle is not the last one, execute ; if it is the previous one
before the last axial cutting cycle, execute ;
Radial(X axial)rapid tool infeed, and it direction is opposite to retract tool. If the end
point of tool infeed is still on it between A and Af (starting point of last axial cutting
cycle) after X executes the tool infeed (d+i) , i.e. DnAn+1 and then execute
(start the next axial cutting cycle); if X end point of tool infeed is not on it between Dn
and Af after tool infeed (d+i), rapidly traverse to Af and execute to start the
first axial cutting cycle;
X rapidly traverse to return to A, and G74 is completed.
Command specifications:
The cycle movement is executed by Z(W) and P(k) blocks of G74, and the movement
is not executed if only G74 R(e) ; block is executed;
d and e are specified by the same address and whether there are Z(W) and P(k)
word or not in blocks to distinguish them;
The tool can stop in Auto mode and traverse in Manual mode when G74 is executed,
but the tool must return to the position before executing in Manual mode when G74 is
executed again,otherwise the following path will be wrong.
When the single block is running, programs dwell after each axial cutting cycle is
completed.
R(d) must be omitted in blind hole cutting, and so there is no distance of tool
retraction when the tool cuts to axial end point of cutting.
ExampleFig. 3-35
Program (suppose that the grooving tool width is 4mm, system least increment is
0.001mm):
O0007;
G0 X40 Z5 M3 S500; (Start spindle and position to starting point of machining)
G74 R0.5 ; (Machining cycle)
G74 X20 Z60 P3000 Q5000 F50; (Z tool infeed 5mm and tool retraction 0.5mm each time;
rapid return to starting point (Z5) after cutting feed to end point(Z-20), X tool infeed 3mm
and cycle the above-mentioned steps)
M30; (End of program)
3.20.6 Radial grooving multiple cycle G75
Command formatG75 R(e)
G75 X(U) Z(W) P(i) Q(k) R(d) F
Command function: Axial (Z) tool infeed cycle compounds radial discontinuous cutting
TOMATECH AUTOMATION
cycle:
Tool infeeds from starting point in radial direction, retracts, infeeds again, and again and
again, and last tool retracts in axial direction, and retracts to position in radial direction,
which is called one radial cutting cycle; tool infeeds in axial direction and execute the next
radial cutting cycle; cut to end point of cutting, and then return to starting point (starting
point and end point are the same one in G75), which is called one radial grooving
compound cycle. Directions of axial tool infeed and radial tool infeed are defined by
relative position between end point X(U) Z(W) and starting point of cutting. G75 is used for
machining radial loop groove or column surface by radial discontinuously cutting, breaking
stock and stock removal.
Relevant definitions:
Starting point of radial cutting cycle: Starting position of axial tool infeed for each radial
cutting
cycle, defined by An(n=1, 2, 3), X coordinate of An is the same that of starting point A,
the different value of X coordinate between An and An-1 is k. The starting point
A1 of the first radial cutting cycle is the same as the starting point A, and Z starting point
(Af ) of the last axial cutting cycle is the same that of cutting end point.
End point of radial tool infeed: Starting position of radial tool infeed for each radial
cutting cycle, defined by Bn (n=1, 2, 3), X coordinates of Bn is the same that of cutting
end point, Z coordinates of Bn is the same that of An, and the end point (Bf ) of the last
radial tool infeed is the same that of cutting end point.
End point of axial tool retraction: End position of axial tool infeed (travel of tool infeed is
d) after each axial cutting cycle reaches the end point of axial tool infeed, defining with
Cn(n=1,2,3), X coordinate of
Cn is the same that of cutting end point, and the different
value of Z coordinate between Cn and An is d;
End point of radial cutting cycle: End position of radial tool retraction from the end point
of axial tool retraction, defined by Dn(n=1, 2, 3), X coordinate of Dn is the same that of
starting point, Z coordinates of Dn is the same that of Cn (the different value of Z coordinate
between it and An is d);
Cutting end point: It is defined by X(U) Z(W) , and is defined with Bf of the last radial
tool infeed. R(e) : It is the tool retraction clearance after each radial(X) tool infeed, its
range is 0~99.999 (unit:mm, radius value) without sign symbols. The specified value is
reserved validly after R(e) is executed and the data is switched and saved to No.056.
NO.056 value is regarded as the tool retraction clearance when R(e) is not input.
X: X absolute coordinate value of cutting end point Bf (unit: mm).
U: Different value of X absolute coordinate between cutting end point Bf and starting point.
Z: Z absolute coordinate value of cutting end point Bf (unit:mm).
W: Different value of Z absolute coordinate between cutting end point Bf and starting point
A(unit:mm).
P(i) : Radial(X) discontinuous tool infeed of each axial cutting cycle, its range: 0i
9999999(IS_B)/ 0k 99999999IS_C (unit: least input increment, without sign
symbol).
Q(k) : Axial(Z) discontinuous tool infeed of each radial cutting cycle, its range: 0k
TOMATECH AUTOMATION
radial cutting cycle is not the last one, execute ; if it is the previous one before the
last radial cutting cycle, execute ;
Axial(X) rapid tool infeed, and it direction is opposite to retract tool. If the end point
of tool infeed is still on it between A and Af (starting point of last radial cutting cycle)
after Z tool infeed (d+k), i.e. DnAn+1 and then execute (start the next radial
cutting cycle); if the end point of tool infeed is not on it between Dn and Af after Z tool
infeed (d+k), rapidly traverse to Af and execute to start the first radial cutting
cycle;
Z rapidly traverses to A, and G75 is completed.
Explanation:
The cycle movement is executed by X(W) and P(i) blocks of G75, and the movement
is not executed if only G75 R(e) ; block is executed;
d and e are specified by the same address R and whether there are X(U) and P(i)
words or not in blocks to distinguish them;
The tool can stop in Auto mode and traverse in Manual mode when G75 is executed,
but the tool must return to the position before executing in Manual mode when G75 is
executed again,otherwise the following path will be wrong;
When the system is executing the feed hold or single block, the program pauses after
the system has executed end point of current path;
R(d) must be omitted in grooving, and so there is no tool retraction clearance when
the tool cuts to radial cutting end point.
ExampleFig.3-37
Execute the end face thread cutting when X coordinates of starting point and end point
are the same one(not input Z or W);
Execute the cutting taper thread when X and Z coordinates of starting point and end point
are different;
Related definitions:
F: Metric pitch is moving distance of long axis when the spindle rotates one rev: 0.001
mm500mm. After F is executed, it is valid until F with specified pitch is executed again.
I: Teeth per inch. It is ones per inch(25.4 mm) in long axis, and also is circles of spindle
rotation when the long axis traverses one inch(25.4 mm) :0.06tooth/inch
25400tooth/inch. After I is executed, it is valid until I with specified pitch is executed again.
The metric, inch input both express the teeth per inch thread.
J: Movement in the short axis in thread run-out, its range: 99999999 least input
increment with negative sign; if the short axis is X, its value is specified with the radius; J
value is the modal parameter.
K: Length in the long axis in thread run-out, its range: 99999999 least input increment.
If the long axis is X, its value is in radius without direction; K is modal parameter.
Q: Initial angle(offset angle)between spindle rotation one rev and starting point of thread
cutting: 0360000 (unit: 0.001 degree). Q is non-modal parameter, must be defined
every time,otherwise it is 00.rogramming
Q rules:
1. Its initial angle is 0if Q is not specified;
2. For continuous thread cutting, Q specified by its following thread cutting block except
for the first block is invalid, namely Q is omitted even if it is specified;
3. Multi threads formed by initial angle is not more than 65535;
4. Q unit : 0.0010 . Q180000 is input in program if it offsets 1800 with spindle one-turn; if
Q180 or Q180.0, it is 0.18.
Difference between long axis and short axis is shown in Fig. 3-38.
TOMATECH AUTOMATION
Fig-3-39
Program:
O0009;
G00 X28 Z3; (First cut-in 1mm)
G32 X51 W-75 F2.0; (First taper cutting)
G00 X55; (Tool retraction)
W75; (Z returns to the starting point)
X27; (Second tool infeed 0.5mm)
TOMATECH AUTOMATION
Use macro variables to simplify programming when G34 is used many times. 1 =
4mm,2 =4mm, total cutting depth 4mm, total cutting cycle 15 times; first tool infeed
0.8mm, gradual decreasing cutting every time 0.2mm, min. infeed 0.2mm.
ProgramO0010
G00 X60 Z4 M03 S500;
G65 H01 P#102 Q800;
G65 H01 P#103 Q0;
N10 G65 H02 P#104 Q#103 R1;
G65 H01 P#103 Q#104;
G65 H81 P30 Q#104 R15;
G00 U-10;
G65 H01 P#100 Q#102;
G00 U-#100;
G34 W-78 F3.8 J5 K2 R0.2;
G00 U10;
Z4;
G65 H03 P#101 Q#100 R200;
G65 H01 P#102 Q#101;
G65 H86 P20 Q#102 R200;
G65 H80 P10;
N20 G65 H01 P#102 R200;
G65 H80 P10;
N30 M30;
First tool infeed: assignment #102=0.8mm
Cycle count: assignment #103=0
Cycle count starting: #104=#103+1
#103=#104
Total cutting cycle times: #104=15,jump to block N30
Tool infeed to 50
TOMATECH AUTOMATION
Execution
explanations
Operation 1positioning to the hole positionstarting point of rigid tapping
Before starting operation 2, the system outputs M when it has M code used to clamp
the spindle;
Operation 2start the rigid tapping
Operation 3pause time P in rigid tapping in hole bottom;
Operation 4the rigid tapping returns to the hole bottomstarting point of rigid tapping;
TOMATECH AUTOMATION
When the block for rigid tapping specifies M code used to clamp the spindle, M is
output.
Note: value is set in 170, 1, so, these corresponding M codes in PLC are executed.
Rigid tapping sequence
Taking example of G84 right-hand tapping, explain the creation, execution and
cancellation of rigid tapping.
Creation and execution of rigid tapping
The spindle rotation operation is defined that the rotary axis is switched to the position
control mode(i.e. send the position mode switch signal to the servo spindle), and the
system checks the position mode arrival signal of the servo spindle.
Rigid tapping cancellation
The cancellation methods of rigid tapping are shown below:
1 G80 cancels the rigid tapping mode;
2 G codes commands other cycles;
3 Other G codes in Group 01;
4 CNC resets.
The falling edge of F76.3 signal cancels the rigid tapping mode signal.
(a) RTCRG(1862) is set to 1 when:
The system executes directly the next block instead of waiting the rigid tapping mode
signal RGTAP<G610> to become 0.
Rigid tapping cancellation is shown below:
Notes:
In rigid tapping, when the tapping direction is changedi.e. G84 and G88 are
switchedthe system specifies again the hole bottom position of the tapping, otherwise,
the unexpected result rises;
The rigid tapping G command is in Group 01, it is cancelled temporarily in the rigid
tapping state, and then is recovered it after the tapping is done;
The dry run function is disabled in rigid tapping;
In the rigid tapping, the machine lock function is valid; the tapping axis and the spindle
do not move when the machine lock function is enabled;
When the reset is executed in the rigid tapping, the rigid tapping state is released and
the spindle returns to the previous state before the rigid tapping;
In rigid tapping, when the tapping block is executed and the tapping returns, the feed
hold/single block run function is disabled temporarily till the tapping return completes;
In rigid tapping mode, the backlash compensation is performed to compensate the dry
run of the spindle rotation(CW, CCW). It is set in parameters (3334 or 180
182). The backlash compensation along the tapping axis is performed in general
method;
In multiple spindle tapping, the 1st spindle is used to the graduation and the 2nd to the
tapping.After the 1st spindle graduation is completed, the spindle must be clamped on the
machine and the machine clamping/releasing M code can be specified in the rigid tapping.
M code used to clamp the spindle is added in G84/G88, i.e. the system can output two
kinds of M code. M code used to clamp the spindle is set in the data parameter (170). M
code used to the releasing is the setting value +1 of 170;
Setting RTORIstate parameter 1867to 1 can execute the reference point return
of the spindle before the system starts the rigid tapping.
3.21.6 Thread cutting cycle G92
Command format: G92 X(U) _ Z(W) _ F_ J_ K_ L ; (Metric straight thread cutting cycle)
G92 X(U) _ Z(W) _ I_ J_ K_ L ; (Inch straight thread cutting cycle)
G92 X(U) _ Z(W) _ R_ F_ J_ K_ L ; (Metric taper thread cutting cycle)
G92 X(U) _ Z(W) _ R_ I_ J_ K_ L ; (Metric taper thread cutting cycle)
Command function: Tool infeeds in radial(X) direction and cuts in axial(Z or X, Z)
direction from starting point of cutting to realize straight thread, taper thread cutting cycle
with constant thread pitch. Thread run-out in G92: at the fixed distance from end
point of thread cutting, Z executes thread interpolation and X retracts with
exponential or linear acceleration, and X retracts at rapidly traverse speed after
TOMATECH AUTOMATION
Fig. 3-44
TOMATECH AUTOMATION
Fig. 3-45
The system can machine one thread with many tool infeed in G92, but cannot do
continuous two thread and end face thread. Definition of thread pitch in G92 is the same
that of G32, and a pitch is defined that it is a moving distance of long axis(X in radius)
when the spindle rotates one rev.
Pitch of taper thread is defined that it is a moving distance of long axis(X in radius). When
absolute value of Z coordinate difference between B point and C point is more than that of
X (in radius), Z is long axis; and vice versa.
Cycle process: straight thread as Fig.3-44 and taper thread as Fig.3-45.
X traverses from starting point to cutting starting point;
Thread interpolates (linear interpolation) from the cutting starting point to cutting end
point;
X retracts the tool at the cutting feedrate (opposite direction to the above-mentioned
), and return to the position which X absolute coordinate and the starting point are
the same;
Z rapidly traverses to return to the starting point and the cycle is completed.
Programming
Notes
Length of thread run-out is specified by 019 when J, K are omitted;
Length of thread run-out is K in the long direction and is specified by 019 when J is
omitted
Length of thread run-out is J=K when K is omitted;
There is no thread run-out when J=0 or J=0, K=0;
Length of thread run-out is J=K when J0,K=0;
There is no thread run-out when J=0,K0;
After executing the feed hold in thread cutting, the system does not stop cutting until
the thread cutting is completed with Pause on screen;
After executing single block in thread cutting, the program run stops after the system
returns to starting point(one thread cutting cycle is completed);
They are executed as the positive values when J, K negative values are input;
TOMATECH AUTOMATION
Thread cutting decelerates to stop when the system resets, emergently stops or its
driver alarms.
Command path: relative position between thread cutting end point and starting point with
U, W, R and tool path and thread run-out direction with different U, W, R signs below:
Fig.3-46
ExampleFig.3-47
Fig.3-47
Program:
O0012;
M3 S300 G0 X150 Z50 T0101; (Thread tool)
G0 X65 Z5; (Rapid traverse)
TOMATECH AUTOMATION
G92 X58.7 Z-28 F3 J3 K1; (Machine thread with 4 times cutting, the first tool infeed
1.3mm)
X57.7 ; (The second tool infeed 1mm)
X57; (The third tool infeed 0.7mm)
X56.9; (The fourth tool infeed 0.1mm)
M30;
3.21.7 Multiple thread cutting cycle G76
Command format: G76 P(m) (r) (a) Q(dmin) R(d) ;
G76 X(U) Z(W) R(i) P(k) Q(d) F(I) ;
Command function: Machining thread with specified depth of thread (total cutting
depth)is completed by multiple roughing and finishing, if the defined angle of
thread is not 0, thread run-in path of roughing is from its top to bottom,
and angle of neighboring thread teeth is the defined angle of thread. G76
can be used for machining the straight and taper thread with thread
run-out path, which is contributed to thread cutting with single tool edge to
reduce the wear of tool and to improve the precision of machining thread.
But G76 cannot be used for machining the face thread. machining path is
shown in Fig. 3-48(a):
Relevant definitions:
Starting point(end point): Position before block runs and behind blocks run, defined by
A point;
End point of thread(D point): End point of thread cutting defined by X(U) Z(W) .The tool
will not reach the point in cutting if there is the thread run-out path;
Starting point of thread: Its absolute coordinates is the same that of A point and the
different value of X absolute coordinates between C and D is i(thread taper with radius
value). The tool cannot reach C point in cutting when the defined angle of thread is not 0;
Reference point of thread cutting depth (B point) : Its absolute coordinates is the
same that of A point and the different value of X absolute coordinate between B and C is
k(thread taper with radius value).The cutting depth of thread at B point is 0 which is the
reference point used for counting each thread cutting depth by the system;
Thread cutting depth: It is the cutting depth for each thread cutting cycle. It is the
different value(radius value, without signs) of X absolute coordinate between B and
intersection of reversal extension line for each thread cutting path and straight line BC.
The cutting depth for each roughing is n d, n is the current roughing cycle times, d is
the thread cutting depth of first roughing;
Thread cutting amount: Different value between the current thread current depth and
the previous one:( n n 1 ) d;
End point of tool retraction: It is the end position of radial (X) tool retraction after the
thread cutting in each thread roughing, finishing cycle is completed, defining with E point;
Thread cut-in point: Bn (n is the cutting cycle times) is the actual thread cutting starting
point in each thread roughing cycle and finishing cycle, B1 is the first thread roughing
cutting-in point, Bf is the last thread roughing cut-in point, Be is the thread finishing
cutting-in point. Bn is X, Z replacement formula corresponding to B.
TOMATECH AUTOMATION
without sign symbols), the radius value is equal to X absolute coordinates between cut-in
point Be of
thread finishing and Bf of thread roughing. After R(d) is executed, the specified value d is
reserved
and the system parameter 060 value is rewritten to d1000(unit: 0.001 mm) . The value
of system
parameter 060 is regarded as the cutting travel of thread finishing when R(d) is not
input;
130
Programming
R(i): It is thread taper and is the different value of X absolute coordinate between thread
starting
point and end point, rang: -99999.999~99999.999(IS_B/-9999.9999~9999.9999(IS_C)
(unit:
mm/inch, radius value). The system defaults R(i)=0(straight thread) when R(i) is not input;
P(k): Depth of thread tooth, the total cutting depth of thread, range: 199999999(unit:
least input
increment, radius value, without sign symbols). The system alarms when P(k) is not input;
Q(d): Depth of the 1st thread cutting, range: 199999999 unit: least input increment,
radius
value, without sign symbols). The system alarms when d is not input;
F: metric thread pitch, its range is referred to Table 1-2;
I: thread teeth per inch for inch thread, its range is referred to Table 1-2.
Jmovement amount (run-out amount) (unit: mm/inch, without direction) in the short axis
when
thread run-out; when the short axis is X, its value is designated by radius and is simple
parameter;
Kmovement amount (run-out amount) (unit: mm/inch, without direction) in the long axis
when
thread run-out; when the long axis is X, its value is designated by radius and is simple
parameter.
Note: J, K are not compiled in G76, its thread run-out method is the same that of the previous, i.e.
the thread
run-out is executed according to P or No.19; when J or, K, or J, K are compiled, the thread
run-out
method is the same those of G32, G92.
TOMATECH AUTOMATION
Fig. 3-48(a)
Programming
Fig. 3-48(b)
TOMATECH AUTOMATION
Pitch is defined to moving distance ( X radius value) of long axis when the spindle rotates
one rev.
Z is long when absolute value of coordinate difference between C point and D point in Z
direction is more than that of X direction ( radius value, be equal to absolute value of i);
and vice versa
Execution process:
The tool rapidly traverses to B1, and the thread cutting depth is d. The tool only
traverses in X direction when a=0; the tool traverses in X and Z direction and its
direction is the same that of AD when a0;
The tool cuts threads paralleling with CD to the intersection of DE (r0: thread
run-out);
The tool rapidly traverses to E point in X direction;
The tool rapidly traverses to A point in Z direction and the single roughing cycle is
completed;
The tool rapidly traverses again to tool infeed to Bn ( is the roughing times), the cutting
depth is the bigger value of ( n d) ,( n -1 d+dmin) , and execute if the
cutting depth is less than(k-d) ; if the cutting depth is more than or equal to(k-d) , the tool
infeeds(k-d) to Bf, and then execute to complete the last thread roughing;
The tool cuts threads paralleling with CD to the intersection of DE (r0: thread
run-out);
X axis rapidly traverses to E point;
Z axis traverses to A point and the thread roughing cycle is completed to execute the
finishing;
After the tool rapidly traverses to B(the cutting depth is k and the cutting travel is d),
execute the thread finishing, at last the tool returns to A point and so the thread finishing
cycle is completed;
If the finishing cycle time is less than m, execute to perform the finishing cycle, the
thread cutting depth is k and the cutting travel is 0; if the finishing cycle times are equal
to m, G76 compound thread machining cycle is completed.
Notes:
In thread cutting, execute the feed hold, the system displays Pause after the thread
cutting is executed completely, and then the program run pauses;
Execute single block in thread cutting, the program run stops after returning to starting
point(one thread cutting cycle is completed);
The thread cutting decelerates to stop when the system resets and emergently stop or
the driver alarms;
Omit all or some of G76 P(m) (r) (a) Q(dmin) R(d) . The omitted address runs
according to setting value of parameters;
m, r, a used for one command address P are input one time. Program runs according
to setting value of 57, 19, 58 when m, r, a are all omitted; Setting value is a when
address P is input with 1 or 2 digits; setting values are r, a when address P is input with 3
or 4 digits;
The direction of ACDE is defined by signs of U,W , and the direction of CD is
defined by the sign of R(i) . There are four kinds of sign composition of U, W
TOMATECH AUTOMATION
Fig.3-49
Program:
O0013;
G50 X100 Z50 M3 S300; (Set workpiece coordinate system, start spindle
and specify spindle speed)
G00 X80 Z10; (Rapid traverse to starting point of machining)
G76 P020560 Q150 R0.1; (Finishing 2 times, chamfering width 0.5mm, tool
angle 60, min. cutting depth 0.15, finishing allowance 0.1)
G76 X60.64 Z-62 P3680 Q1800 F6; (Tooth height 3.68, the first cutting depth 1.8)
G00 X100 Z50 ; (Return to starting point of program)
M30; (End of program)
cutting feed amount per rev is specified by G99 FXXXX , the even cutting texture on the
surface of workpiece will be gotten. In G99 state, a spindle encoder should be fixed
on the machine tool to machine the workpiece.
G98, G99 are the modal G commands in the same group and only one is valid. G98 is the
initial state G command and the system defaults G98 is valid when the system turns on.
Reduction formula of feed between per rev and per min:
Fm = FrS
Fm: feed per min (mm/min) ;
Fr: feed per rev (mm/r) ;
S: spindle speed (r/min) .
After the system turns on, the feedrate is ones set by 030 and F value is reserved after
F is executed. The feed rate is 0 after F0 is executed. F value is reserved when the
system resets and emergently stops. The feedrate override is reserved when the system
is turned off.
Note: In G99 modal, there is the uneven cutting feed rate when the spindle speed is lower than 1
r/min; there is the follow error in the actual cutting feed rate when there is the swing in the spindle
speed. To gain the high machining quality, it is recommended that the selected spindle speed
should be not lower than min. speed of spindle servo or converter.
Relative Parameter:
gramming
3.25.1 MACRO variables
Presentation of macro variables
Present with # macro variables number.;
Format: # i(i=100,102,103,) ;
Example: #105, #109, #125.
Variable Type
The variable is divided into four types according to the variable number:
Number NO. Variable type Function
TOMATECH AUTOMATION
range.
(2) The share variable (#100~#199, #500~#999) values are displayed in the macro
variable
window, and is also displayed the window, the data is input directly to value the share
variable.
(3) The local variable (#1~#33) and the system variable values are not displayed. Some
local variable or system variable value is displayed by assigned with the share variable.
System variable
1Interface signal: CNC only executes G and F signals. Whether there are I/O to
correspond to it is defined by PLC.
Variable No. Function
Note: The position listed in the above table separately corresponds orderly to X, Y, Z, 4 th, 5th axis.
For example:
#5001 meanings to be X position information, #5002 meanings to be Y position information, #5003
meanings to be Z position information and #5004 meanings to 4th position information and #5005
meanings to 5th position information.
6zero offset value and workpiece coordinate systems
G54#5206 #5210
G55#5211 #5215
G56#5216 #5220
G57#5221 #5225
G58#5226 #5230
G59#5231 #5235
TOMATECH AUTOMATION
1 Operation commands
1) Assignment of macro variables: # I = # J
G65 H01 P#I Q#J
TOMATECH AUTOMATION
#1022 +#1032 )
16) Sine: # I = # JSIN(# K) (Unit: )
G65 H31 P#I Q#J R#K
(Example) G65 H31 P#101 Q#102 R#103; (#101 = #102SIN(#103) )
17) Cosine: # I = # JCOS(# K) (Unit: )
G65 H32 P#I Q#J R# k
(Example) G65 H32 P#1Q#102 R#103; (#101 =#102COS(#103) )gramming
18) Tangent: # I = # JTAM(# K) (Unit: )
G65 H33 P#I Q#J R# K
(Example) G65 H33 P#101 Q#102 R#103; (#101 = #102TAM(#103) )
19) Cosine: # I = ATAN(# J /# K) (Unit: )
G65 H34 P#I Q#J R# k
(Example) G65 H34 P#101 Q#102 R#103; (#101 =ATAN(#102/#103) )
2 Jump commands
1) Unconditional jump
G65 H80 Pn; n: Block number
(Example) G65 H80 P120; (jump to N120)
2) Conditional jump 1 #J.EQ.# K ( = )
G65 H81 Pn Q#J R# K; n: Block number
(Example) G65 H81 P1000 Q#101 R#102;
The program jumps N1000 when # 101= #102 and executes in order when #101 #102.
3) Conditional jump 2 #J.NE.# K ( )
G65 H82 Pn Q#J R# K; n: Block number
(Example) G65 H82 P1000 Q#101 R#102;
The program jumps N1000 when # 101 #102 and executes in order when #101 = #102.
4) Conditional jump 3 #J.GT.# K ( )
G65 H83 Pn Q#J R# K; n: Block number
(Example) G65 H83 P1000 Q#101 R#102;
The program jumps N1000 when # 101 #202 and executes in order when #101
#102.
5) Conditional jump 4 #J.LT.# K ( )
G65 H84 Pn Q#J R# K; n: Block number
(Example) G65 H84 P1000 Q#101 R#102;
The program jumps N1000 when # 101#102 and executes in order when #101#102.
6) Conditional jump 5 #J.GE.# K ( )
G65 H85 Pn Q#J R# K; n: Block number
(Example) G65 H85 P1000 Q#101 R#102;
The program jumps N1000 when # 101 #1 and executes in order when #101 #102.
7) Conditional jump 6 #J.LE.# K ( )
G65 H86 Pn Q#J R# K; n: Block number
(Example) G65 H86 P1000 Q#101 R#102;
TOMATECH AUTOMATION
8) P/S alarm
G65 H99 Pi; i: alarm number +500
(Example) G65 H99 P15;
P/S alarm 515.
Note: Block number can be specified by variables. Such as: G65 H81 P#100 Q#101 R#102;
The program jumps to block that its block number is specified by #100.
3.25.3 Program example with macro command
Differences between user macro program call (G65, G66) and subprogram call (M98) are
as follows:
1. G65, G66 can specify the argument data and send them to macro program and M98
has no such function.
2. G65, G66 can change the level of local variable and M98 has no such function.
3. G65, G66 only follows N and only P or H follows them.
Note: The addresses which are not needed to specify can be omitted, the corresponding local
variable of the omitted address is valued by <null>.
Method II: use A, B, C and li, Ji, Ki (I is 1~10), the used letter and executed times(I, J, K)
automatically decides the corresponding variable number of argument. The argument in
the method specifies A, B, C one time for each and I, J, K up to 10 times ( 10 times
replacing the more).
Programming
Argument address and corresponding variable No. table in method II
Note 1: The subscripts of I, J, K are used to confirming the specified sequence of argument, and
are not written in the actual programming.
Note 2: The system can identify the variable number according to the present sequence and
times of I, J, K in the method.
If the block has: G65 P9010 A1 B2 C3 I14 J15 I6 J7 K9 K11 K12 J30;
Call program O9010, transfer the argument A1 to the local variable, and their
corresponding relationship as follows:
#1=1#2=2#3=3#4=14#5=15#7=6#8=7#6=9#9=11#12=12#11=30
The specified method I, II compound of argument: CNC can automatically identifies the
specified method I and II of the argument. When the two methods are specified together,
the later specifies is valid.
Argument specifying mode I, II compound:
CNC internal can automatically identify the argument specifying mode I and II. When the
two modes are specified, the later specified is valid.
TOMATECH AUTOMATION
Programming
Programming
CHAPTER 4
4.1 Application
4.1.1 Overview
Part program is compiled generally for one point of tool according to a workpiece contour.
The point is generally regarded as the tool nose A point in an imaginary state (there is no
imaginary tool nose point in fact and the tool nose radius can be omitted when using the
imaginary tool nose point to program) or as the center point of tool nose arc ( as Fig. 4-1).
Its nose of turning tool is not the imaginary point but one arc owing to the processing and
other requirement in the practical machining.
There is an error between the actual cutting point and the desired cutting point, which will
cause the over- or under-cutting affecting the part precision. So a tool nose radius
compensation is needed in machining to improve the part precision.
Programming
Tool path is shown in Fig.4-5 when the tool nose center programming is executed.
Fig. 4-5-1 the tool nose center path is the same that of programmed path without radius
compensation
Fig. 4-5-2 precise cutting with tool radius compensation
The tool path is shown in Fig. 4-6 when imaginary tool nose programming is executed
TOMATECH AUTOMATION
The tool is supposed to one point in programming but the actual cutting blade is not one
ideal point owing to machining technology. Because the cutting blade is not one point but
one circular,
machining error is caused which can be deleted by tool nose circular radius compensation.
In actual machining, suppose that there are different position relationship between tool
nose point and tool nose circular center point, and so it must create correct its direction of
imaginary tool nose.
From tool nose center to imaginary tool nose, set imaginary tool nose numbers according
to tool direction in cutting. Suppose there are 10 kinds of tool nose setting and 9 directions
for position relationship. The tool nose directions are different in different coordinate
system (rear tool post coordinate system and front tool post coordinate system) even if
they are the same tool nose direction numbers as the following figures. In figures, it
represents relationships between tool nose and starting point, and end point of arrowhead
is the imaginary tool nose; T1T8 in rear tool post coordinate system is as Fig. 4-7; T1
T8 in front tool post coordinate system is as Fig. 4-8.
The tool nose center and starting point for T0 and T9 are shown in Fig. 4-9.
Programming
TOMATECH AUTOMATION
Fig. 4-7 Imaginary tool nose number in rear tool post coordinate system
TOMATECH AUTOMATION
Fig. 4-8 Imaginary tool nose number in front tool post coordinate system
TOMATECH AUTOMATION
Table 4-1 CNC tool nose radius compensation value display window
Note: X tool offset value can be specified in diameter or radius, set by No.004 Bit4 ORC, offset
value is in radius when ORC=1 and is in diameter when ORC=0.
In toolsetting, the tool nose is also imaginary tool nose point of Tn (n=0~9) when taking
Tn(n=0~9) as imaginary tool nose. For the same tool, offset value from standard point to
tool nose radius center (imaginary tool nose is T3) is different with that of ones from
standard point to imaginary
tool nose(imaginary tool nose is T3) when T0 and T3 tool nose points are selected to
toolsetting in rear tool post coordinate system, taking tool post center as standard point. It
is easier to measure distances from the standard point to the tool nose radius center than
from the standard point to the imaginary tool nose, and so set the tool offset value by
measuring distance from the standard point to the imaginary tool nose
(tool nose direction of T3).
TOMATECH AUTOMATION
4.1.6 Notes
The system is in tool nose radius compensation mode at initial state, and starts to
create tool nose radius compensation offset mode when executing G41 or G42. When the
system starts to execute compensation, it pre-read two blocks, and the next block is
saved to storage for tool nose radius compensation when executing one of them. The
system reads two blocks in
Single mode and stops after executing end point of the first block.
In tool nose radius compensation mode, the tool nose center moves to end point of
previous block and is vertical to its path when the system executes two block or more than
blocks without motion Command.
The system cannot create and cancel tool nose radius compensation.
Tool nose radius R is without negative value, otherwise there is a mistake running path.
Tool nose radius compensation is created and cancelled in G00 or G01 instead of G02
or G03,otherwise, the system alarms.
The system cancels the tool nose radius compensation mode when pressing RESET
TOMATECH AUTOMATION
key.
G40 must be specified to cancel offset mode before the program is ended, otherwise
the tool path offsets one tool nose radius.
The system executes the tool nose radius compensation in main program and
subprogram but must cancel it before calling subprogram and then create it again in the
subprogram.
The system does not execute the tool nose radius compensation in G71, G72, G73,
G74, G75,G76 and cancel it temporarily.
The system executes the tool nose radius compensation in G90, G94, it offsets one tool
nose radius for G41 or G42.
4.1.7 Application
Machine a workpiece in the front tool post coordinate system as Fig. 4-13. Tool number:
T0101, tool nose radius R=2, imaginary tool nose number T=3.
For toolsetting in Offset Cancel mode, after toolsetting, Z axis offsets one tool nose radius
and its direction is relative to that of imaginary tool nose and toolsetting point, otherwise
the system excessively cuts tool nose radius when it starts to cut.
Set the tool nose radius R and imaginary tool nose direction in TOOL OFFSET&WEAR
window as following:
TOMATECH AUTOMATION
Program:
G00 X100 Z50 M3 T0101 S600; (Position, start spindle, tool change and execute
tool compensation)
G42 G00 X0 Z3; (Set tool nose radius compensation)
G01 Z0 F300; (Start cutting)
X16;
Z-14 F200;
G02 X28 W-6 R6;
G01 W-7;
X32;
Z-35;
G40 G00 X90 Z40; (Cancel tool nose radius compensation)
G00 X100 Z50 T0100;
M30;
3 steps to execute tool nose radius compensation: tool compensation creation, tool
compensation execution and tool compensation canceling.
Tool traverse is called tool compensation creation (starting tool) from offset canceling to
G41 or G42 execution.
Note: Meanings of S, L, C in the following figures are as follows: SStop point of single block;
Llinear; Ccircular.
Note: Tool movement path is marked with the tool nose direction 0 in the following figures.
Note: Tool path is described in rear tool post coordinate system and tool compensation direction
G41 in the following figures.
Programming
4.2.2 Tool traversing when starting tool
(a) Tool traversing inside along corner(180)
(d) Tool traversing outside along corner , linear linear ( angle set by No. 237)
Programming
4.2.3 Tool traversing in Offset mode
Offset mode is called to ones after creating tool nose radius compensation and before
canceling it.
Offset path without changing compensation direction in compensation mode
(a) Tool traversing inside along corner(180)
TOMATECH AUTOMATION
Programm
Fig. 4-18 Executing interference (2)
Directions of block B and tool nose radius compensation path are opposite without
interference,the tools stops and the system alarms.
4.2.6 Commands for canceling compensation vector temporarily
In compensation mode, the compensation vector is cancelled temporarily in G50,
G71~G76 and is automatically resumed after executing the commands. At the moment,
the compensation is cancelled temporarily and the tool directly moves from intersection to
a point for canceling compensation vector. The tool directly moves again to the
intersection after the compensation mode is resumed.
Setting coordinate system in G50
Programming
Operation
Operation Operation
Operation
Menu Remark
To enter Position interface including RELATIVE POS, ABSOLUTE
POS, POS &
PRG, INTEGRATED POS page.
ABSOLUTE POS page can display the current absolute
coordinates, clear
out machining count, machining time;
POS & PRG page can display current coordinate information
and current run
program;
RELATIVE POS page can display current relative coordinates,
clear relative
coordinates;
INTEGRATED POS can display current coordinate information
and clear
machine coordinates
To enter Program interface including program content, program list,
program state page
Edit/search current open programs in program content page;
Edit MDI programs, display coordinates, override and modal
state in MDI page;
Display, preview, open, copy machining programs in CNC in
local catalog page;
Display, preview, open and copy machining programs in U disk
in U disk catalog page
Enter tool offset interface including offset setting, macro variables,
workpiece coordinate system and tool life page
Set/search tool offset value and wear value in tool offset setting
page;
Set/search CNC macro variables in macro variable page;
TOMATECH AUTOMATION
Operation
Press to enter POS interface which includes pages and , and these
pages can be viewed by corresponding soft function key or repetitively press .
is executed;
CUT TIME: the system counts the time when the automatic run is started, time unit is
hour,minute and second in order.
The part counting and cut time are memorized at power-down, the clearing ways for them
are shown below:
Method 1 Operation
Press and the following interface appears:
At the moment, press to clear part count, press to clear the cut time;
Method 2
Directly press to enter the absolute coordinate page, at the moment, press +
to clear part counting, simultaneously press + to clear the cut time.
2) RELATIVE POS display interface
Displayed U, W coordinates are the current position relative to the relative reference point,
and they are held on when power on. They can be cleared at any time. When No.005
Bit1=1, and the absolute coordinates are set by G50, the relative coordinates are set
simultaneously.Clearing U, W:
Method 1: Operation
Press and the following page appears:
At the moment, press to clear U value, and press to clear W value;
Method 2
Switch to the relative coordinate page, at the moment, press . Press to clear U
value when the big character U flashes in the page. Method of clearing W value is the
same those of clearing U value;
Note: Clearing method is the same when many axes are enabled.
3) INTEGRATED POS display interface
Clearing method of absolute coordinates are shown below:
Method 1 Operation
Press and the following page is shown:
At the moment, press to clear X coordinate value, and press to clear Z coordinate value;
Method 2
Switch to the integrated coordinate page, simultaneously press + to clear X
machine coordinate value; meanwhile, press + to clear Z machine coordinate value.
Note 1: Clearing method is the same when many axes are enabled.
Note 2: Clearing operation is enabled only when each axis has no machine zero (No.0014 bit0
bit4 is set to 0) .
4) POS&PRG display interface
In POS&PRG interface, it displays ABSOLUTE, RELATIVE coordinate of the current
position (ABSOLUTE, DIST TO GO of current position and machine coordinates will be
displayed when No.180 BIT0 is set to 1) as well as 7 blocks of current program together.
During the program execution, the displayed blocks are refreshed dynamically and the
cursor is located in the block being executed.
peration
1.3.2 PRG interface
TOMATECH AUTOMATION
Press to enter PRG interface, which includes. Press repetitively PRG keys to switch
interfaces.
O
1) PRG page
In the page, the program content including current block can be displayed. Press
Note: The axis names of Y, the 4th, the 5th axis is defined by No.225.
2 MACRO interface
There are 25 pages in this interface, which can be shown by pressing or key. In
Macro window there are 600 (No.100No.199 and No.500No.999) macro variables
which can be specified by macro command or set directly by keypad. The public variable
page is shown below:eration
The local variable page is shown below:
The system variable page is shown below:
Operation
Note: The local variable and the system local are specified by macro codes instead of directly set
by the
keyboard in the page.
3 Workpiec coordinate system setting
4 Tool life management
Chapter 1 Operation Mode and Display Interface
193
Operation
194
Operation
2 Alarm log page
196
Operation
198
Operation
4) Pitch compensation parameter page
200
Operation
Graph page is shown below:
TOMATECH AUTOMATION
202
Operation
The monitor page can view states of current contact, coil ON/OFF state, values of timer
and
counter. They are displayed with a green background when they are ON, otherwise, they
are the
same those of the page background. means the contact X0.5 is ON, means Y25.2 is
OFF.
1. page program view
In MONITOR page, the system can monitor simultaneously three windows, the ladder
blocks
corresponded to each window can be viewed by separately pressing , ,
, at the moment, the ladder corresponded to the selected block is displayed on the
screen.
2. Window block selection
1Select the window which needs to select blocks, press respectively , ,
to select the windows.
2Press to select the window program. At the moment, the display page is shown
below:
Chapter 1 Operation Mode and Display Interface
203
Operation
3Move the cursor to select the ladder block for display.
4Press , and then return the previous menu, press to cancel the
selection operation to return to the previous menu.
3. Find parameters, commands and network
1Select the required block window for finding commands, parameters and network,
make the
corresponding block display in the window, and find the command, parameters and
network
in the window.
2 Respectively press to find the corresponding
TOMATECH AUTOMATION
parameter, functional command and network in the current displayed block, and move the
cursor to the corresponding position.
3Press , to locate the cursor to the home or end of the current block.
3) PLC data page
PLC data includes K, D, DT, DC, which can be set in the page.
204
Operation
4) File list page
The ladder file list page displays all ladders and their relevant information included in the
current
system, and the new ladder can run in the page. The program name marked with is the
current
running ladder.
Note: The file list page is displayed when the above 2-level privilege is executed.
Chapter 2 Power ON/OFF And Protection
205
Operation
206
Operation
overtravel of X, Y, or Z.
these
incidents. This section mainly describes the resolutions that the system is capable of
under the
emergency situation. Please see the relative explanation on these resolutions under the
emergency
by machine manufacturer.
2.4.1 Reset
Press key to resetTAC-1002T system when there are abnormal output and axis
operations:
1 All axes motion stops;
2 M, S function output is inactive (the parameter sets whether the system automatically
cuts off
signals of spindle rotation, lubricating, cooling by pressing key, defined by PLC
ladder);
3 Automatic run ends, modal function and state remain.
2.4.4 Power-off
Under the dangerous or emergency situations during the machine running, the machine
power
TOMATECH AUTOMATION
208
Operation
should be cut off immediately to avoid the accidents. But it should be noted that there may
be a large
error between the CNC coordinates displayed and the actual position. So the toolsetting
operation
should be performed again.
Chapter 3 Manual Operation
209
Operation
Note!
The key functions of thisTAC-1002T machine panel are defined by PLC
program (ladders), please refer to the manual from the machine builder for
their
function significance.
Please note that the following functions for the machine panel keys are
described based on theTAC-1002T standard PLC programs!
210
Operation
Press in and the key indicator is ON; press or and X
feeds negatively or positively, and its feeding stops if the key is released; press or and Z
axis feeds negatively or positively, and its feeding stops if the key is released; press or ,
and Y feeds negatively or positively, and its feeding stops if the key is released; press or
and the 4th axis feeds negatively or positively, and its feeding stops if the key is released;
TOMATECH AUTOMATION
press or and the 5th axis feeds negatively or positively, and its feeding stops if the key is
released. The rapid override time-tuning is enabled.
In Manual mode, press key to make the indicator OFF, and the rapid traverse is disabled
and manual feed is executed.
Note 1: If no reference point return is performed after power on, as the rapid traverse switch is
turned on
(rapid indicator ON), the manual feedrate or rapid rate for the traverse is defined by the Bit0 of the
bit
parameter No.012 of thisTAC-1002T system.
Note 2: In Edit/MPG mode, key is inactive.
212
Operation
And it is cancelled after a setting time by data parameter DT013; M32 is to execute
lubricating output
and the output is cancelled after a time set by DT013. If the setting time is not yet up, M33
is executed
to cancel the lubricating output.
2. Automatic lubricating (DT017>0)
For automatic lubricating, the system executes the lubricating in the time set by DT017
and the
stops the output. After lubricating interval time set by DT016, the output is done again, it
does
repetitively like this. During the automatic lubricating, M32, M33 codes as well as the key
are
all active.
Parameter setting:
PLC parameter: K10.1 1/0: the spindle lubricating/cooling output remains/closes in reset;
PLC parameter:K16.2 1/0: whether the lubricating outputs in power-on when the
automatic
lubricating is valid;
PLC data DT005: M execution duration(ms);
PLC data DT013: lubricating start time (0-60000ms)(0:lubricating time is not limited);
PLC data: DT016 automatic lubricating interval time (ms);
PLC data: DT017: automatic lubricating output time (ms).
214
Operation
Note!
The key functions of thisTAC-1002T machine panel are defined by PLC
program (ladders), please refer to the manuals by the machine builder for their
significance.
Please note that the following description for the key functions in this chapter
is based on theTAC-1002T standard PLC program!
216
Volume Operation
are all active. For example, to press key, the window is shown as
follows:
218
Volume Operation
The MPG feed direction is defined by its rotation direction. Generally, the MPG CW is for
positive
feed, and CCW for negative feed. In case of that MPG CW is for negative feed, CCW for
positive feed,
it may exchange the A, B signals of the MPG terminals. Bit0Bit4 of NO. 013 selects the
feed
direction of MPG rotation.
In MPG/Step mode, if the spindle speed is controlled by analog voltage output, the spindle
speed
may be overrided.
Pressing , can change the spindle speed in real-time to adjust 8 steps of 50120
of the spindle override
220
Operation
Note!
The key functions of thisTAC-1002T machine panel are defined by PLC
program (ladders), please refer to the manuals by the machine builder for their
significance.
Please note that the following description for the key functions in this chapter is
based on theTAC-1002T standard PLC program!
Chapter 5 MPG/Step Operation
221
Operation
TOMATECH AUTOMATION
222
Operation
detailed is referred to OPERATION, Chapter 10.
224
Operation
1 Press address key , number key , , and key by sequence (e.g.
taking an example of creating program O0001, the leading 0 can be omitted when its
name is
input). Its display is shown below:
2 Press ( or ) to create the new program. The display is shown below:
Method 2:
1) Pres continuously press it twice when other page is displayed to enter the local
directory page. The display is shown below:
Chapter 6 Program Edit and Management
225
TOMATECH AUTOMATION
Operation
2) Press input orderly , , , in the pop-up dialog boxtaking
example of creating O0001, the leading zero can be omitted when it is input. It display is
shown
below:
3) Press ( or ) to create the new program. The current page is automatically switched
into the program content page. Its display is shown below:
226
Operation
Note: When a program is needed to create, the input program name exists, the system opens the
file,
otherwise, it automatically create a new one.
Input the edited part program one by one, the character will be displayed on the screen
immediately as it is input(as for compound key, press this key repeatedly for alternate
input),
after a block is finished, press or to terminate it.
Note: The unexpected power-off when the program is input, the program being edited cannot be
saved.
the next window, if it windows to the end of the program, the cursor moves to the last row
and 1st
column of the program;
2. Finding: To search for the specified character upward or downward from the
cursor
current location
The steps of finding is as follows:
1) Press to enter Edit mode, and press key to enter the PRG CONTENT window;
2) Press , and input the required characters to be searched(can input one block). For
example, finding G00 page is shown below:
4) Press key ( or is determined by the location of the character searched to
the character where the cursor locates), it displays as follows:
228
Operation
4) After the finding, the CNC system is still in FIND state, press or key again, the
next character can be found. Or press key to exit the FIND state.
5) If the character is not found, the prompt of Search fail will be displayed.
Note : During the searching, it doesnt search the characters in the called subprogram, and the
character in
subprogram is searched in subprogram.
3. Positioning the cursor to the specified line
1) Press to enter Edit mode, and press to enter the PRG CONTENT page.
2) Press , and input the line number (the line number of block is the left of one row label).
For example, the cursor positions to the 10th line, the display is shown below:
3) Press or and the display page is shown below:
Chapter 6 Program Edit and Management
229
Operation
4. The method to return to the program head
1) In Program interface of the Edit mode, press key, the cursor returns to the program
head;
2) Search the program head character by the methods in OPERATION, Section 6.1.3.
230
Operation
Note 1: In the Insert mode, if the cursor is not located at the row head, a space will be
TOMATECH AUTOMATION
automatically
generated when inserting the code address; if the cursor is located at the row head, the space will
not be generated, and it should be inserted manually.
Note 2: In the Insert mode, if the previous bit before the cursor is a decimal point and the cursor is
not
located at the row end, input an address word, the 0 will be added automatically following the
decimal point.
Note 3: In the Insert state, if the previous bit before the cursor is a decimal point and the cursor is
not
located at the row end, the 0 will be added automatically following the decimal point by
pressing
key.
232
TOMATECH AUTOMATION
Operation
1) Press in Edit mode to enter program interface, and press to enter program
content page.
2) Move the cursor to the head of the block to be deleted, then press key.
234
Operation
Note: * in the title bar is displayed when the program is not saved.
236
Operation
2) Press address key , number key , , , by sequence (taking
example of O0001);
3) Press key, pop-up the dialog box as follows:
4) Press and O0001 program is deleted; press and the deletion is cancelled.
Method 2:
1) Select Edit mode, press to enter program interface, press to enter the local program
page;
2) Press or to select the required deleted program. For example, select O0001
program and the display is shown below:
Chapter 6 Program Edit and Management
237
Operation
3) Press key, pop-up the dialog box as follows:
4) Press and O0001 program is deleted; press and the deletion is cancelled.
TOMATECH AUTOMATION
238
Operation
3) Press , and then press the all program are deleted.
6.3.1 Searching
1) Select Edit or Auto mode;
2) Press , (the short key is ) and the display is shown below:
3) Press input the program number in the pop-up dialogue box. For example,
search O0001 program (the leading zero can be omitted when the program name is input)
and the display is shown below:
Chapter 6 Program Edit and Management
239
Operation
4) Press or , , , the searched program will be displayed. If the program
does not exist, the CNC prompts File does not exist.
Note: In Edit mode, press or to search programs. When there is no programs, the CNC
automatically creates programs; press or to execute the search, and the CNC prompts
The file does not exist when there is not the program.
6.3.2 Scanning
1) Select Edit or Auto mode;
2) Press to enter the program display page;
3) Press ;
4) Press or to display the next or previous program;
5) Repeat step 3 and 4 to display the saved programs one by one.
240
Operation
TOMATECH AUTOMATION
3) Pressing can enter the subordinate menu, which can be omitted. The display is
shown below:
4) Press to move the cursor to the program name which is to be selected.
5) Refer to the above Step 3) to enter the subordinate menu, at the moment, press directly
to open it. The step can be omitted to execute the Step 6).
6) Press or , and the selected program is opened and the CNC skips to PRG.
CONTENT page.
Note: when the CNC is connected with the U disk, the above similar method is referred to open
the program in
the U disk.
242
Operation
2) Press again to enter the subordinate menu, and press to open it:
3) Move the cursor to the program which is to be modified, press and input a new
program name in the pop-up diaglog box, and at last press .
Note: the method 1 is only used to the current program, and the method 2 is used to any
programs.
244
Operation
Area 4
Area 2 Area 3
Chapter 6 Program Edit and Management
245
Operation
4) The operation mode is switched by pressing any of the keys among , , ,
, or ;
5) The data transmission
6) Refer to II OPERATION, Chapter 12
7) Cooling control
Refer to II Operation, Section 3.2.3
8) Lubricating control
Refer to II Operation, Section 3.2.4
9) Chuck control
Refer to II Operation, Section 3.2.5
10) Tailstock control
11) Refer to II Operation, Section 3.2.6
12) Hydraulic control
Refer to II Operation, Section 3.2.7
246
Operation
3. Select a tool by random (usually the 1st tool, this tool will be used as the reference tool);
4. Position the tool nose of the reference tool to a point (toolsetting point), as shown in Fig.
A;
5. In PRG STATE page of the MDI mode, set up the workpiece coordinate system by the
command G50 X__ Z__;
6. Clear the relative coordinate (U, W), see details in APPENDIX;
7. After the tool is moved to a safety height, select another tool and move it to the setting
point,
as shown in Fig. B;
8. Press key and move the cursor by , key to select the corresponding
offset number of that tool;
9. Press address key , then press key to input the tool offset value of X axis into the
corresponding offset number;
10. Press address key , then press key to input the tool offset value of Z axis into
the corresponding offset number;
11. Repeat the steps from 7 to 10 to perform the toolsetting operation for other tools.
Chapter 7 Tool Offset and Setting
247
Operation
Note: For the fixed toolsetting, the original system tool offset should be cleared, input the new
offset one
time instead of many times by pressing , . Refer to II OPERATION, Section 7.5.4 about the
tool compensation clearing method.
Surface A
Surface B
1) Select a tool by random and make it cut on Surface A;
2) Retract the tool along X axis without Z axis moving and stop the spindle; directly press
, and the CNC records the absolute values of the position, at the moment, directly
move the tool;
Press key to enter the Offset interface, select the TOOL OFFSET page, then move
3) the cursor by pressing , key to select the corresponding offset number;
4) Key in by sequence the address key , number key and key;
5) Make the tool cut along Surface B;
6) Retract the tool along Z axis without the movement of X axis, and stop the spindle;
directly
TOMATECH AUTOMATION
press , and the CNC records the absolute values of the position, at the moment,
directly move the tool;
7) Measure the diameter "" (supposing =15) ;
8) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
the cursor by pressing , key to select the corresponding offset number;
9) Key in the address key by sequence, number key , and key;
10) Move the tool to a safety height to change for another tool;
248
Operation
Z
X
A1
B1
11) Make the tool to cut on Surface A1;
12) Retract the tool along X axis without Z axis moving and stop the spindle;
13) Measure the distance "" between the Surface A1 and the workpiece coordinate
origin(supposing =1) ;
14) Press key to enter the Offset interface, select the TOOL OFFSET page, then move the
cursor by pressing , to select the corresponding offset number;
15) Key in by sequence the address key , sign key , number key , and
key;
16) Make the tool to cut on Surface B1;
17) Retract the tool along Z axis without the movement of X axis, and stop the spindle;
18) Measure the distance " " (supposing =10);
19) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
the cursor by pressing , to select the corresponding offset number;
20) Press orderly the address key , number key , and key;
21) Repeat the execution from Step 10 to Step 20 to perform the toolsetting operation for
other
tools.
Note: The offset value may be large by this toolsetting method, so the tool compensation should
be done by
the coordinate offset by the CNC system. (set the BIT4 of the CNC parameter No.003 to 1).
Moreover,
the tool lengths compensation should be performed by using the T code in the 1st block, or the
1st
move block should contain the T code for the tool length compensation.
only needs to be set again, and a machine zero return should be done before the
toolsetting. The
machining could be continued by performing a machine zero return at power on after
power-off, which
is very convenient for the operation.
Steps (workpiece coordinate system by part end surface):
Surface A1
Surface B1
Chapter 7 Tool Offset and Setting
249
Operation
Z
X
A
B
1) Press key to enter Machine Zero mode, move axes to machine zero;
2) Select a tool by random and set the offset number of the tool to 00 (e.g. T0100,
T0300) ;
3) Make the tool to cut on Surface A;
4) Retract the tool along X axis without the movement of Z axis, and stop the spindle;
directly
press , and the CNC records the absolute values of the position, at the moment,
directly move the tool;
5) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
the cursor by pressing , key to select the corresponding offset number;
6) Key in by sequence the address key , number key and key to set the
offset value of Z axis;
7) Make the tool cut along Surface B;
8) Retract the tool along Z axis without the movement of X axis, and stop the spindle;
9) Measure the distance ""(supposing =15);
10) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
the cursor by pressing , to select the corresponding offset number;
11) Key in by sequence the address key , number key , and key to set
the offset value of X axis;
12) Move the tool to a safety height for tool change;
13) Change for another tool, and set the tool offset number to 00 (i.e. T0100, T0300);
Surface B
Surface A
Z
X
1
A1
B1
TOMATECH AUTOMATION
1
Surface B1
Surface A1
250
Operation
14) Make the tool to cut on Surface A1;
15) Retract the tool along X axis without Z axis moving and stop the spindle; measure the
distance "1" between the Surface A1 and the workpiece coordinate system origin
(supposing 1=1) ;
16) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
the cursor by pressing , to select the corresponding offset number;
17) Key in by sequence the address key , sign key , number key , and
key to set Z offset value;
18) Make the tool to cut on Surface B1;
19) Retract the tool along Z axis without the movement of X axis, and stop the spindle;
20) Measure the distance "1" (supposing 1=10);
21) Press key to enter the Offset interface, select the TOOL OFFSET window, then move
the cursor by pressing , key to select the corresponding offset number;
22) Key in by sequence the address key , number key , and key to set
X offset value;
23) Move the tool to a safety position;
24) Repeat the execution from Step 12 to Step 23 to perform the toolsetting operation for
other
tools.
Note 1: Machine zero switch must be fixed for the toolsetting operation by machine zero return.
Note 2: The workpiece coordinate system setting cant be done by G50 code after toolsetting by
machine
zero return.
Note 3: The tool compensation should be done by coordinate offset by the CNC system (the
system
parameter No.003 Bit4 is set to 1), further more, the tool lengths compensation should be
performed
by using the T code in the 1st block, or the 1st move block should contain the T code for the tool
length compensation.
Note 4: The corresponding parameters should be set as follows:
Bit7=0 of the system parameter No.004;
Bit5=1 of the system parameter No.012;
Bit7=1 of the system parameter No.012.
Note 5: The setting values of the system parameter No.047 should be close to the absolute
coordinate
values of machine zero in workpiece coordinate system XOZ, as is shown in the following figure:
As shown below:
Example: After machine zero returning, when the absolute coordinate of the tool in
TOMATECH AUTOMATION
workpiece
Chapter 7 Tool Offset and Setting
251
Operation
coordinate system is (a,b), the setting value of system parameter No.047 should be close
to a,b.
252
Operation
to the selected tool offset number according to the input value and the previous recorded
absolute coordinates.
Use the following methods to clear the recorded coordinates when the above methods are
used
to execute the toolsetting:
1) In the tool offset page, after the absolute coordinates are input in some tool offset(for
example: Z0 is input in the No.01 tool offset number) and then the axis moves, the
recorded
coordinates are cleared;
2) Press simultaneously, and the recorded coordinates are cleared;
3) Press in the tool offset page and the recorded coordinates are cleared.
No. X Z T R
00 0 0 0 0
01 16.380 -24.562 0 0
In machining, the actual external diameter measured of workpiece is 55.561, so the
offset
value of No.01 can be altered as follows table:
No. X Z T R
00 0 0 0 0
01 16.201 -24.562 0 0
Note: To backup and restore the tool offset values, the relevant operations may be performed on
PC via
communication.
254
TOMATECH AUTOMATION
Operation
256
Operation
mode, the
current block dwells immediately; when the Auto mode is switched to the Edit, MDI mode
in Auto
mode, the dwell is not displayed till the current block is executed.
Note 1: Ensure that the fault has been resolved before cancelling the emergency alarm.
Note 2: The electric shock to the device may be decreased by pressing the Emergency button
before power
on and off.
Note 3: The Machine zero return operation should be performed again after the emergency alarm
is
cancelled to ensure the correctness of the position coordinates (but this operation is forbidden if
there is no machine zero in the machine).
Note 4: Only the BIT3 (MESP) of the bit parameter No.172 is set to 0, could the external emergency
stop be
active.
258
Operation
2) If the mode (G, M, T, F code) of the current block where the cursor locates is defaulted
and
inconsistent with the running mode of this block, the corresponding modal function should
be
executed to continue next step.
3) Press key to enter the Auto mode, then press key to start the execution.
Note 2: When the rapid override is F0, the min. rapid traverse rate is set by bit parameter No.032.
260
Operation
Position interface doesnt vary too. The RELATIVE POS and ABSOLUTE POS, DIST TO
GO
are refreshed continuously, which is the same as that the machine lock switch is OFF.
2. M, S, T commands can be executed normally.
mode.
262
Operation
(8/1000) (mm/min or inch/min)
value is determined by the current rapid override, and their relationship is:
Rapid override value Rapid override value
F0 1 25% 10
50% 100 100% 100
Rapid traverse speed is clamped at 100% speed when it exceeds 100%, i.e.:
[MPG pulse amount per 1 second]([No.241setting value]/100)(8/1000)1
2) Rapid traverse speed
Rapid traverse speed is clamped at the speed set by No.240, i.e.:
[Rapid traverse speed][rapid traverse speed of each axis]([No.240 setting value]/100)
TOMATECH AUTOMATION
[MPG
pulse amount per 1 second]([No.241 setting value]/100)(8/1000)
At the moment, when the speed by rapidly rotating MPG exceeds the clamped, the rapid
traverse
speed is clamped at the setting value by parameter, i.e.:
[MPG pulse amount per 1 second]([No.241 setting value]/100)(8/1000) 1
264
Operation
Note!
The key functions of thisTAC-1002T machine panel are defined by PLC
program (ladders), please refer to the manuals by the machine builder for their
significance.
Please note that the following description for the panel key functions in this
TOMATECH AUTOMATION
266
Operation
TOMATECH AUTOMATION
the
level setting function, and its password grade is divided into five, from high to low grade:
2nd grade
(machine manufacturer), 3rd grade (device management), 4th grade (engineer), 5th grade
(machining
268
Operation
operation), 6th grade(operation limit). The current operation grade is displayed in Current
Level:_ in
the level setting page.
2nd gradeit is for the machine manufacturer, which permits the machine manufacturer to
alter the
state parameters, data parameters, pitch compensation data, tool compensation data, to
edit
programs, to transmit PLC and so on.
3rd grade: it permits to alter state parameters, data parameters, tool compensation data
and to edit
programs.
4th grade: it permits to alter tool compensation data (toolsetting operation), macro
variables, to edit
programs, but not to alter state parameters, data parameters and pitch compensation
data.
5th grade: it permits to alter tool compensation data, not to select and edit programs, and
not to alter
state programs, data programs and pitch compensation data.
6th grade: it has no level to operate only the machine operation panel, not to alter tool
compensation
data, not select and edit programs, not to alter state parameters, data parameter and pitch
compensation data.
1) Operation grade entry
a) Move the cursor to the line INPUT PASSWORD in the CNC setting page;
b) Input the operation password(the system displays one * as soon as a number is input;
c) Press and the operator can enter the corresponding grade operation;
d) After the operator enters the corresponding operation grade page, the prompt column
prompts the systems current grade, and the corresponding operations as follows:
Note 1: The defined password length corresponds to the operation grade, and the user cannot
increase
or reduce the length at will, which is shown below:
Operation
grade Length Initial
password
3rd grade 5 digits 12345
4th grade 4 digits 1234
TOMATECH AUTOMATION
270
Operation
d) Press or again, and the degradation is done successfully as
follows:
Note 1: The degradation operation cannot be executed when the current level is the 6th grade.
Note 2: The current password can be altered after degradation. When the system is in the high
level, the
degradation can be executed to set to the low-level password.
recovered
(read). Programs can be stored in the CNC when the backup or recovery is executed. The
display is
shown below:
1) Option explanation:
Backup current parameters (user): the user to backup the CNC data (store)
Resume backup parameters(user): the user resumes the backup data (read)
Resume parameter 1(servo 1u level): the user reads the original parameter data matched
Chapter 10 Data Setting, Backup and Restore
271
Operation
with the servo drive with the precision 1um
Resume parameter 2(stepper 1u level): the user reads the original parameter data
matched
with the stepper drive
Resume parameter 3(servo 0.1u level): the user reads the original parameter data
matched
with the servo drive with the precision 0.1um
Note: When the level is the 2nd grade, the backuping current parameters (user ) and resuming
backup
parameters (user) become backuping current parameters (machine manufacturer) and resuming
backup
parameters (machine manufacturer), which is used to backup and resume the manufacturers
data.
2) Operation methods:
a) Open the parameter switch;
b) Press to enter the MDI mode, move the cursor the required item;
c) Press or simultaneously press , , and the system prompts
whether to confirm the current operation.
d) Press againor , and the system prompts the backup or resume is
done successfully. When the recovery is done, the system prompts power-on again.
Note: Dont turn off the system and execute other operations when the backup or resuming is
executed.
272
Operation
TOMATECH AUTOMATION
274
Operation
Bit parameter No.175
Bit1 Bit0
Graphic path coordinate display
00
TOMATECH AUTOMATION
01
10
Chapter 10 Data Setting, Backup and Restore
275
Operation
Bit parameter No.175
Bit1 Bit0
Graphic path coordinate display
11
276
Operation
Method 1: Press or to enter the page containing the parameter to be set, press
or key to move the cursor to the parameter number to be set;
Method 2: Press (or ) , and input the parameter number in the
pop-up dialogue box, at last, press .
4) Key in a new parameter value;
5) Press key, the parameter value is entered and displayed.
6) For security, the PARM SWT needs to be set to OFF after all parameter settings are
finished.
Example:
Set the bit parameter No.001 Bit 3(STEP/MPG) to 1, and the other bits remain
unchanged.
Move the cursor to No.001, input 00011000 by sequence according to the above steps.
The
display is shown below:
Press to finish the parameter alteration. The page is shown below:
Chapter 10 Data Setting, Backup and Restore
277
Operation
2) Alteration by bit:
a) Turn on the parameter switch;
b) Enter the MDI mode;
TOMATECH AUTOMATION
c) Move the cursor to the parameter number to be setthe method is referred to Section
10.4.1 Step c;
d) Press to enter the bit alteration mode, at the moment, some bit of the parameter
is backlighted. Press or to move the cursor to the bit to be altered, then key in 0 or
1;
e) After all parameters setting is finished, the PARM SWT needs to be set to OFF for
security.
Note: After the system enters some bit of the parameter, is pressed to escape from the
alteration mode, and the cursor stops the parameter number .
Example:
Set the Bit3 of the bit parameter No.001 to 1, and the other bits remains unchanged.
Move the cursor to No.001 according to the above steps, press to skip to some bit of the
parameter, and move the cursor to Bit3. The display is shown below:
278
Operation
Input 1, and the parameter alteration is done.
280
Operation
Press key to finish the alteration. The display page is shown below:
282
Operation
At the moment, pressing , , can adjust the parameter sorting
position.
Note: The addition method of data parameter is similar to that of state parameter.
2) Sorting often used parameters
Pressing , can move the parameter where the current cursor is. Pressing
sorts all often used parameter in sequence number.
3) Removing often used parameters
Move the cursor to the required parameter in the often used parameter page. Press
and the current often used parameter is removed. Press and all often used parameters are removed.
4) Altering often used parameter
Parameters can be altered directly in the often used parameter page. Its alteration
method is the same that of state parameter and data parameter. Its value is also refreshed
in the state parameter or data parameter page.
Chapter 13 Communication
283
Operation
284
Operation
2) Move the cursor to the target file, press to return the previous catalog of the current
file as follow:
286
Operation
4) Press (or again ) to cancel the selection of O0101.CNC.
window, is pressed and the file in the CNC is copied to the U disk.
U:\TAC-1002T_backup\serial
288
Operation
number remains unchanged.
For the above reason, the user should execute the operation path selection during
resuming
data:
Default path U:\TAC-1002T_backup\user
Serial number pathU:\TAC-1002T_backup\serial number
Example: backup/resume data of many CNC systems
When the user backups the system A (serial number CT0000001), the generated file by
data
backup is U:\TAC-100XT_backup\CT0000001 and U:\TAC-100XT_backup\user; When
the user
backups the system B serial number CT0000002 , the generated file by data backup
is
U:\TAC-100XT_backup\CT0000002. The U:\TAC-100XT_backup\user generated by A
is replaced
automatically by the same name of the system B. At the moment, the user can execute
the operation
path selection when it executes the data resume operation of the system A:
1) When the previous data of the system A is resumed, the operation path is :
U:\TAC-100XT_backup\CT0000001
2) When the backup data of the system B is copied to the system A, the operation path is:
U:\TAC-100XT_backup\CT0000002 or default path;
Press and appear the dialog box of operation path selection, and then select the
operation path by , when the cursor is in the resume column. Taking an example of
selecting the default path, the display is shown below:
password
Resume
operation
Part programs More than 4th grade(including the 4th grade)
password
11.4 Notes
The user should pay more attention to the followings during executing the data
backup/resume
operation:
1) Need more than the 2nd grade password(including the 2nd grade) to resume more than
(including be equal to) 9000 part programs;
2) Backup/resume operation must be in MDI mode;
3) When the user executes the data backup operation, the system automatically replaces
all
files in U:\TAC-100XT_backup\user, the user should save them as when they cannot be
replaced;
4) Stop part programs running before data backup/resume;
5) They must not stop unless the data backup/resume operation is completed;
6) The system is turned on again after the data resume is done.
290
Operation
CHAPTER 12 COMMUNICATION
292
Operation
After the user selects the required file, [ Start Receiving ] is pressed and the system pops
up a
path selection dialog box to save the received files as follows:
Select the save path, start to receive the file from CNC to PC by pressing [, i.e.
Confirm] as
follows:
Chapter 13 Communication
293
Operation
After the receiving is done, the system displays below:
294
TOMATECH AUTOMATION
Operation
Hereby, the user can select the required receiving files from CNC including part programs,
tool
compensation (TOFF.CMP), pitch compensation (WOFF.WMP), parameters (PARA.PAR).
The part
programs which can be altered are saved to the file name of the CNC. Move the cursor to
the part
program required to alter its program name, double-click the left key to pop up a dialog
box as Fig. A,
and the file which can be altered is saved the file name of the CNC (as Fig. B).
Fig. A Fig. B
Select the required file to the CNC and confirm the saved file name, then press [start
sending],
and the file is started to send to the CNC as follows:
When a file name in the CNC is the same that of the transmitting, a dialog box is popped
up to
select the covering, skipping the file or cancelling transmission as follows:
Chapter 13 Communication
295
Operation
When the part program name which is has the same that of the transmitted file, the
covering
cannot be done, otherwise, the system pops up the wrong prompt as follows:
296
Operation
Press [Delete File] and the selected part programs are deleted in the CNC after the
required
programs are selected.
Note: The program being used in the CNC cannot be deleted.
cable when
PC and CNC are turned off.
298
Operation
Fig. 13-1
Machine it with 4 tools as follows:
Tool number Tool shape Explanation
No. 1
Outer circle rough turning tool
No. 2
Outer circle finish turning tool
No. 3
Grooving tool, tool width 3mm
Chapter 14 Machining Example
299
Operation
TOMATECH AUTOMATION
13.1 Programming
Set up the workpiece coordinate system as Fig.13-1 according to the machining process
and the
codes introduced in this manual. The programming steps are as follows:
Name of the part program
G0 X150 Z50 Position to the safety height for tool change
M12 Clamp the chuck
M3 S800 Start the spindle with speed 800
M8 Turn on the cooling
___________T0101 Change for the No. 1 tool
G0 X136 Z2 Approach the part
G71 U0.5 R0.5 F200 Cut depth 2mm and retract 1mm
G71 P0060 Q0150 U0.25
W0.5
0.25mm pre-reserved in X axis, 0.5mm
machining allowance in Z axis
G0 X16 Approach to the end face of the part
G1 Z-23 Cut the 16 outer circle
X39.98 Cut the end face
W-33 Cut the 39.98 outer circle
X40 Cut the end face
W-30 Cut the 40 outer circle
G3 X80 W-20 R20 Cut the convex arc
G2 X120 W-20 R20 Cut the concave arc
G1 W-20 Cut the 120 outer circle
G1 X130 W-5 Cut the cone
G1 W-25 Cut the 130 outer circle
G0 X150 Z185
Rough cut end and back to the tool change
point
T0202
Change for the No.2 tool and execute its
offset
G70 P0060 Q0150 Fine cut cycle
300
Operation
G0 X150 Z185
Rough cut end and back to the tool change
point
TOMATECH AUTOMATION
T0303
Change for the No.3 tool and execute its
offset
G0 Z-56 X42 Approach to the part
G1 X30 F100 Cut the 30 groove
G1 X37 F300 Return
G1 X40 W1.5 Chamfering
G0 X42 W30 Keep the width of the grooving
G1 X40
G1 X37 W1.5 Chamfering
G1 X10 Cut the 10 groove
G0 X17 Z-1
G1 X16
G1 X14 Z0 F200 Chamfering
G0 X150 Z50 Return to the tool change point
T0404 S100
Changing for the No. 4 tool and set the
spindle speed for 100
G0 X42 Z-20 Approach the part
G92 X39 W-34 F3 Thread-cutting cycle
X38 Feed 1mm for the 2nd cutting
X37 Feed 1mm for the 3rd cutting
X36.4 Feed 0.6mm for the 4th cutting
X36 Feed 0.4mm for the 5th cutting
G0 X150 Z50 Return to the tool change point
T0100 U0 W0
Change for the No.1 tool and execute its
offset
M5 Turn off the spindle
M9 Turn off cooling
M13 Unclamp the chuck
M30 Program ends
Chapter 14 Machining Example
301
Operation
302
Operation
Input the characters of the above edit program one by one and the editing program is
done.
304
Operation
6) Release the tool along Z when X does not move, and stop the spindle, measure the
dimensions of the outer circle of the part (e.g. The measuring value is 135mm);
7) Execute G50 X135 command in PROGRAM>MDI page in MDI mode to set the
coordinate
of X axis;
8) Switch to tool offset page, and input X135 to No.001 offset;
9) Move the tool to a safe position, and change No. 002 tool;
10) Start the spindle and move the tool to the toolsetting point, as A point in the following
figure;
11) Switch to TOOL OFFSET window, move the cursor to No.002 offset and input X135
Z0;
12) Move the tool to a safe position, and change the No. 003 tool ;
13) Start the spindle and move the tool to the toolsetting point, as A point in the following
figure;
Chapter 14 Machining Example
305
Operation
14) Switch to TOOL OFFSET window, move the cursor to No.003 offset and input X135
Z0;
15) Move the tool to a safe position, and to change the No. 004 tool;
16) Move the tool to the toolsetting point, as point A in the following figure;
17) Switch to tool offset, move the cursor to No.004 offset and input X135 Z0;
18) Move the tool to a safe position after the toolsetting is finished;
19) Start the machining in Auto mode;
20) If there is any error between the designed and the actual dimensions, the tool offset
may be
altered till the part dimensions are within the tolerance.
Note: Press key to make the auto running to pause if dwell is needed during the machining. Also
if
emergency occurs, the user presses the key, Emergency stop button to cut off the power to
terminate the program running.
306
Operation
Connection
Connection
Connection
Chapter 1 Installation Layout
TOMATECH AUTOMATION
307
+5V
GND
INPUT
CN61
+12V
CN11
AXIS X
OUTPUT
CN62 CN15
CN13 CN12
AXIS Z AXIS Y
COM PORT
CN51
POWER SUPPLY
CN1
CN31
CN14 CN21
AXIS 4 ENCODER
+5V
+5V
+5V
0V
-12V
0V
0V
+24V
+24V
+12V
-12V
TOMATECH-PB2
Power Supply
MPG
communication
INPUT
CN61
OUTPUT
CN62
AXIS Y
CN13
AXIS Z
CN12
AXIS X
COM PORT
CN11
CN14
AXIS 4
CN21
ENCODER
MPG
CN51
CN31
+5V +5V
0V 0V 0V +5V
CN1
308
Connection
1.1.2 Interface explanation
Power box: TOMATECH-PB2, for +5V, +24V, +12V, -12V, GND power supply
Filter(optional): Input terminals for 220V AC power, PE terminal for grounding, output
terminals to L, N terminals of TOMATECH-PB2 power box
CN1: power supply interface
CN11: X axispin15 D female, connect with X drive unit
CN12: Y axispin15 D female, connect with Y drive unit
CN13: Z axispin15 D female, connect with Z drive unit
CN14: 4th axispin15 D female, connect with 4th drive unit
CN15: spindle, pin 25 D female, connect with spindle drive unit
CN21: encoder, pin15 D male, connect with spindle encoder
CN31: MPG, pin26 D male, connect with MPG
CN51: communication, pin9 D female, connect PC RS232 interface
CN61: input, pin44 D male, connect with machine input
CN62: output, pin44 D female, connect with machine output
1.2TAC-1002T Installation
1.2.1TAC-1002T external dimensions
TOMATECH AUTOMATION
See Appendix , .
1.2.2 Preconditions of the cabinet installation
The dust, cooling liquid and organic resolution should be effectively prevented from
entering the
cabinet;
The designed distance between the CNC back cover and the cabinet should be not less
than
20cm, the inside and outside temperature difference of the cabinet should be not more
than 10
when the cabinet inside temperature rises;
Fans can be fixed in the cabinet to ventilate it;
The panel should be installed in a place where the cooling cant splash;
The external electrical interference should be taken into consideration in cabinet design
to
prevent it from interfering the CNC system.
1.2.3 Measures against interference
In order to insure the CNC stable working, the anti-interference technology such as space
electromagnetic radiation shielding, impact current absorbing, power mixed wave filtering
are
employed in CNC design. And the following measures are necessary during CNC
connection:
1. Make CNC far from the interference devices (inverter, AC contactor, static generator,
high-voltage generator and powered sectional devices etc.);
2. To supply the CNC via an isolation transformer, the machine with the CNC system
should be
grounded, the CNC and drive unit should be connected with independent grounding wires
at
the grounding point;
3. To inhibit interference: connect parallel RC circuit at both ends of AC winding (Fig.
1-3a), RC
circuit should approach to inductive loading as close as possible; reversely connect
parallel
freewheeling diode at both ends of DC winding (Fig. 1-3b); connect parallel surge
absorber at
the ends of AC motor winding (Fig. 1-3c);
Chapter 1 Installation Layout
309
Connection
a) b) c)
Fig. 1-3
4. The CNC leadout cables use the twisted shield cable or shield cable, the cable shield
tier is
grounded by an terminal at CNC side, signal cable should be as short as possible;
5. To reduce the mutual interference among the CNC signal cables, and among the strong
TOMATECH AUTOMATION
310
Connection
SIGNALS
externally,
and the interior circuit for them is shown in Fig. 2-2:
Fig. 2-2 Interior circuit of code pulse and direction signals
2.1.3 Drive unit alarm signal nALM
The low or high level of the drive unit alarm is set by the CNC parameter No.009 Bit0, Bit1,
Bit2,
Bit3 and Bit4, its interior circuit is shown in Fig. 2-3:
Fig. 2-3 Interior circuit of drive unit alarm signal
This type of input circuit requires that the drive unit transmits signal by the types in Fig.
2-4:
Signal Explanation
nCP+, nCP- Code pulse signal
nDIR+, nDIR- Code direction signal
nPC Zero signal
nALM Drive unit alarm signal
nEN Axis enable signal
nSET Pulse disable signal
1: nCP+
2: nDIR+
3: nPC
4: +24V
5: nALM
6: nSET
7: nEN
8:
9: nCP-
10: nDIR-
11: 0V
12: +5V
13: +5V
14: 0V
15: 0V
Fig.2-1 CN11, CN12, CN13, CN14 interface
(15-core D type female socket)
+5V
nALM
+24V
INA Out A
Out A
INB Out B
Out B
nDIR +
nDIR
nCP +
TOMATECH AUTOMATION
nCP
nDIR
nCP
Chapter 2 Definition and Connection of Interface Signal
311
Connection
Type 1: Type 2:
Fig. 2-4 Signal types by drive unit
2.1.4 Axis enable signal nEN
nEN signal output is active as CNC works normally (nEN signal to 0V on); when the drive
unit
alarm or emergency alarm occurs, CNC cuts off nEN signal output (nEN signal to 0V off).
The interior
interface circuit is shown in Fig. 2-5:
Fig. 2-5 Interior interface circuit for axis enable signal
2.1.5 Pulse disable signal nSET
nSET signal is used to control servo input disable which can enhance the anti-disturbance
capability between CNC and drive unit. This signal is at low level if there is pulse output
from CNC,
high resistance if not. The interior interface circuit of it is shown in Fig. 2-6:
Fig. 2-6 Pulse disable signal circuit
2.1.6 Zero signal nPC
During machine zero return, the one-turn or proximity switch signal from the motor
encoder is
taken as zero signal. Its interior circuit is shown in Fig.2-7.
Fig. 2-7 Zero signal circuit
Note: nPC signal uses +24V level.
a) The wave of PC signal by user is shown in Fig. 2-8:
EN
ULN2803
nEN
SET
ULN2803
nSET
+5V
PC
nPC
312
Connection
Fig. 2-8 PC signal wave
Note: During the machine zero return, the CNC detects the jumping of the PC signal to judge the
reference
point after the DEC switch is detached, which is active in both rise edge and trailing edge of the
TOMATECH AUTOMATION
wave.
b) The wiring of NPN Hall element taken as both DEC signal and zero signal is shown in
Fig. 2-9:
Fig. 2-9 Wiring by a NPN Hall element
c) The wiring of PNP Hall elements taken as both DEC signal and zero signal is shown in
Fig.
2-10:
Fig. 2-10 Wiring by a PNP Hall element
NPN Hall element
DECn
nPC
PNP+24V
PNP Hall element
nDEC
nDEC
nPC
+24V
Chapter 2 Definition and Connection of Interface Signal
313
Connection
2.1.7 Connection to a drive unit
TOMATECH 980TDc/TAC-100XT-V is connected with our drive unit, shown in Fig. 2-11:
980TDc side
(CN11,CN12, CN13, CN1 4)
GS2000T-N side CN1
nCP+ 1 2 PULS+
nCP - 9 17 PULS -
nDIR+ 2 1 SIGN+
nDIR - 10 16 SIGN -
n ALM 5 9 ALM+
nPC 3 29 ZOUT -
0V 14 23 SON
0V 11 24 COM-
25 ALM -
+24V 4 39 COM+
13 ZOUT+
Metal she ll
Metal she ll
Connection betweenTAC-1002T and GS2000T-N
economical servo unit
Note: On 980TDc side, interfaces CN11, CN12, CN13, CN14 adapts 2-stripe male plug;
while on
GS2000T-N side, CN1 adapts DB44 3-stripe male plug;
Metal shell
TOMATECH AUTOMATION
TAC-100XT(CN11,
CN12,CN13,CN14)
interface
Metal shell
15
29
30
DA98B signal
interface
PULS+
SIGN+
PULSALM
SON
36
23
5
CZ+
38 COM+
37
32 DG
CZ-
14 SIGNnCPnCP+
nDIR+
nPC
nALM
+24
0V
10 nDIRConnection
betweenTAC-1002T and DA98B
TAC-100XT(CN11,
CN12,CN13,CN14)
Metal shell Metal shell
314
Connection
Connection betweenTAC-1002T and DY3
Metal shell
TAC-100XT(CN11,
CN12,CN13,CN14)
DY3 signal interface
Metal shell
TOMATECH AUTOMATION
Name Explanation
*PAS/PAS Encoder A phase pulse
*PBS/PBS Encoder B phase pulse
TOMATECH AUTOMATION
470R
XHB-
R96 470R
R98
1K
R94
1K
U57
TLP181
21
34
D49
1N4148
D47
1N4148
VCC
TOMATECH AUTOMATION
VCC
GND
GND
U55
TLP181
21
34
XHB+
XHA+
316
Connection
11
14
3 HB+
HA+
+5V
HAHB-
2
4
Metal shell
TAC-100XT(CN31) MPG
Null
B
-
B
+A-
4
2
HBHANull
3 HB+
14
11
Metal shell
TAC-100XT(CN31)
HA+
A+
MPG
Fig. 2-17TAC-1002T/TAC-100XT-V is connected with MPG
Note 1: It is valid when PC5 is connected with 0V, and it is different with other feed axes(it is valid
when PC
of CN11CN14 axis interface is connected with +24V).
Note 2: They are valid when X5.0X5.3 are connected with 0V, and they are different with other
input
signals( other are valid when they are connected with +24V).
Note 3: The internal circuit of PC5X5.0~X5.3 signals are shown below:
Fig. 2-19 PC5, X5.0X5.3 circuit
CP5+,CP5- Spindle pulse signal
DIR5+,DIR5- Spindle direction signal
ALM5 Spindle alarm signal
RDY5 Spindle ready signal
PC5 Spindle zero signal
SVC-OUT1 Analog voltage output 1
SVC-OUT2 Analog voltage output 2
SET5 Spindle setting signal
EN5 Spindle enabling signal
X5.0~X5.3 PLC addressonly LOW is valid
Y5.0~Y5.3 PLC address
Fig. 2-18 CN15 spindle interfaceDB25 female
1CP5+
2DIR5+
3GND
4ALM5
5X5.0
6X5.1
7RDY5
8X5.2
9GND
10PC5
11+24V
12GND
13SVC-OUT1
14CP5-
15DIR5-
16GND
17+24V
18SET5
19EN5
20Y5.0
21Y5.1
22Y5.2
23Y5.3
24SVC-OUT2
TOMATECH AUTOMATION
25GND
Chapter 2 Definition and Connection of Interface Signal
317
Connection
2.4.2 Connection to inverter
The analog spindle interface SVC may output 0~10V voltage, its interior signal circuit is
shown in
Fig. 2-20:
Fig. 2-20 SVC signal circuit
TAC-100XT is connected with the inverter shown in Fig. 2-21:
Fig. 2-21TAC-1002TTAC-100XT-V is connected with the inverter
318
Connection
voltage:
+5V(3A) ,+12V(1A) ,-12V(0.5A) ,+24V(0.5A) , and its common terminal is COM(0V) . The
connection
of TOMATECH-PB2 power box toTAC-1002T XS2 interface has been done for its delivery
from factory, and
the user only need to connect it to a 220V AC power in using.
+ 5 V
+ 5 V
0 V
+ 5 V
+ 1 2 V
0 V
- 1 2 V
0 V
+ 2 4 V
Note!
The I/O function significances of the unlabelled fixed addresses of
thisTAC-1002T/TAC-100XT-V turning machine CNC system are
defined by PLC programs (ladders), and they are defined by the
machine builder when matching with a machine, please refer to the
manual by the machine builder.
The fixed address I/O function not be marked are described for
TAC-100XT PLC. The described contents without other special
explanation are also applied toTAC-1002T-V.
Chapter 2 Definition and Connection of Interface Signal
319
Connec
Subscript Address Function Explanation
18 ~ 20
empty empty empty
25 ~ 28
tion
Fig.2-25 input
Connection
Fig.2-26 output interface
(CN62)
2.7.1 Input signal
Input signal means the signal from machine to CNC, when this signal is through on with
+24V,
the input is active; when it is off with +24V, the input is inactive. The contact of input signal
at machine
side should meet the following conditions:
2.7.2 Output signal
The output signal is used for the machine relay and indicator, if it is through on with 0V,
the output function is active; if it is off with 0V, the output function is inactive. There are 36
digital volume outputs that they all have the same structure in I/O interface as shown in
Fig. 2-29:
Subscript Address Function Explanation
17 ~ 19
0V Power interface Controller Internal 0V
26 ~ 28
3 Y 0.2 Reserve
42 Y 3.5 Reserve
43 Y 3.6 Reserve
44 Y 3.7 Reserve
Connection
Fig. 2-29 Circuit for digital volume output module
The logic signal OUTx output from the main board is sent to the input terminal of inverter
(ULN2803) via a connector. And there are 2 types for nOUTx output: 0V, or high
impedance. Its
typical application is as follows:
TOMATECH AUTOMATION
To drive LED
A serial resistance is needed to limit the current (usually 10mA) that goes through the LED
by
using ULN2803 output to drive LED, which is shown in Fig. 2-30:
Fig. 2-30
To drive filament indicator
An external preheat resistance is needed to decrease the current impact at power on by
using
ULN2803 output to drive filament indicator, and this resistance value should be within a
range that the
indicator cannot be lighted up as shown in Fig. 2-31:
CNC side Machine +24V
side
ULN2803
output
+24V
Machine
side
CNC side
Relay
ULN2803
output
0 0 0 ESP
Pin CN61.6
Signal diagnosis
Signal ESP LMIX LMIY LMIZ
Diagnosis address X0.5 X3.0 X3.1 X3.2
Interface pin CN61.6 CN61.37 CN61.38 CN61.39
Control parameter
Bit parameter
1 7 2 ESP
ESP =0: Check ESP signal
=1: Do not check ESP signal
PLC bit parameter
K 1 0 LMIT LMIS
LMIT =1: Travel limit check function of each axis is valid.
=0: Travel limit check function of each axis is invalid
LMIS =1: The system alarms for overtravel when the travel limit check signal is not
connected
with +24V.
=0: The system alarms for overtravel when the travel limit check signal is connected with
+24V
Signal connection
The ESP signal circuit is shown in Fig.2-33:
Note
The I/O function significance of thisTAC-1002T TAC-100XT-V turning
machine CNC system is defined by PLC programs (ladders), and they are
defined by
the machine builder when matching with a machine, please refer to the manual
by
the machine builder.
The fixed address I/O function not be marked are described forTAC-1002T
PLC. The described contents without other special explanation are also
applied to
TAC-100XT-V.
324
Connection
Fig. 2-33 ESP signal circuit
Machine external connection
(1) The series connection between the emergency stop and travel switch is shown in Fig.
2-34A:
Fig.2-34A Series connection between emergency stop and travel switch
(2) The separate connection between the emergency stop and travel switch is shown in
Fig.
TOMATECH AUTOMATION
2-34B:
Fig. 2-34B Separate connection between the emergency stop and travel switch
Control logic
(1) Series connection between the emergency stop and travel switch
When the contact of the emergency stop switch is cut off, the ESP signal is off to +24V,
and CNC
makes an emergency alarm. Meanwhile the CNC turns off the enable (EN) signal to stop
the pulse
output. Except the functions processed by NC, other functions can also be defined by PLC
program
when the emergency alarm is issued. The function defined by standard PLC program is:
when
emergency alarm is issued, it turns off the signal output of M03, M04, M08, and outputs
M05 signal at
the same time.
(2) Separate connection between the emergency stop and travel switch
1. Each axis has only one overtravel contact, and the system judges the overtravel alarm
based on the axis movement direction.
2. When the system alarms for the overtravel, the axis moves reversely, the reset key is
pressed to clear the alarm after the axis exceeds the limit position.
Note: Before the overtravel limit function is enabled, the slider must be between the positive and
the negative
limit; otherwise, the prompted alarm will not be consistent with actual situation.
Chapter 2 Definition and Connection of Interface Signal
325
Connection
2.8.2 Tool change control
Relevant signals (by standard PLC program)
Signal
type
Code Interface Address Function Remark
T01 CN61.16 X1.7 Tool signal 1Sensor ALiuxin Tool Post
T02 CN61.29 X2.0 Tool signal 2Sensor BLiuxin Tool Post
T03 CN61.30 X2.1 Tool signal 3Sensor CLiuxin Tool Post
T04 CN61.31 X2.2 Tool signal 4Sensor DLiuxin Tool Post
T05 CN61.08 X0.7 Tool signal 5Sensor ELiuxin Tool Post
Also as
OV1 input
T06 CN61.09 X1.0
Tool signal 6/strobe signalYantai AK31
/Sensor FLiuxin Tool Post
Also as
OV2 input
T07 CN61.10 X1.1
TOMATECH AUTOMATION
326
Connection
TOMATECH AUTOMATION
ULN2803
TL+/TLCNC
sCiNdCe
Output signal
Machine side
Chapter 2 Definition and Connection of Interface Signal
327
Connection
Fig. 2-37
Function description (defined by standard PLC program)
The control sequence and control logic of the tool change are defined by PLC program.
There
are 4 tool change modes defined as follows by standard PLC program:
1. CHTB (K11.1)=0, CHTA (K11.0)=0: tool change mode B
During the tool change process, CNC outputs TL+ signal until the tool in-position signal
is
detected, then CNC turns off TL+ signal output and outputs TL- signal after a delay time
specified by data parameter No.082. Then CNC detects TCP signal till it is detected, the
CNC
TOMATECH AUTOMATION
turns off TL- signal after a delay time specified by the data parameter No.085. So the tool
change
is over.
When CHET(K0011.5) is set to 1(check tool signal after the tool change ends) and the
tool
post (CCW) rotation time ends to confirm whether the current tool input signal is
consistent with
the current tool No., if not, the system alarms.
The tool change process ends.
After the system outputs the tool post rotation(CCW)signal, if the CNC doesnt receive
the
TCP signal within the time set by DT08, an alarm will be issued and the TL- signal will be
turned
off.
When the tool post has no tool post locking signal, CTCP(K0011.3) is set to 0, at the
time,
the system does not check the tool post locking signal.
DT09
DT08
DT07
TLTCP
T1~T8
TL+
Sequence of tool change mode B
2. CHTB (K11.1)=0CHTA (K11.0)=1: tool change mode A:
After the tool change is executed, the system outputs the tool rotation(CW)signal TL+
and
checks the tool in-position signal, and then after it has checked the tool signal and closes
TL+,
last checks whether the tool signal skips, if done, it outputs the tool rotation (CCW) signal
TL-.
Then, the system checks the locking signal TCP, it delays the time set by DT09 and
closes
CNC side Machine side
Hall switch
328
Connection
TL- after it has received the TCP;
When CHETK0011.5is set to 1check tool signal after the tool change ends
the system
confirms whether the current tool input signal is consistent with the current tool number
after the
tool post (CCW) rotation time ends, if not, the system alarms;
TOMATECH AUTOMATION
330
Connection
Chapter 2 Definition and Connection of Interface Signal
331
Connection
4. CHTB (K11.1)=1CHTA(K11.0)=1: Liuxin hydraulic tool post
4.1 . Corresponding table between position and signal
8-tool:
12345678
A
B
C
D
E
10-tool:
1 2 3 4 5 6 7 8 9 10
A
B
C
D
E
12-tool:
1 2 3 4 5 6 7 8 9 10 11 12
A
B
TOMATECH AUTOMATION
C
D
E
4.2 Signal specification
Sensor A, B, C, D: only check the tool, and are not any start signals
Sensor E: it executes the inductive once when one tool change is executed, which makes
the
tool pot stop and the start signal be locked. When the tool pot rotates to the required
position, Sensor is inductive, i.e. the electromagnet to control the tool pot rotation is
turned off, which makes the tool stop rotation and start the electromagnet to lock the
tool pot to ensure that the tool pot is locked.
Sensor F: releasing/lock confirmation signal. When it is not inductive, the tool pot is
released, at
the time, the tool pot is started to rotate. When it is not inductive, the tool pot is locked,
i.e. the tool change is completed.
Sol A: control the tool pot releasing/locking
Sol B: control the tool pot rotation(CW/CCW)
4.3 Tool change process description
Example: No. 1 tool is changed into No. 4 tool
Step 1: Sol A is turned on(tool pot is released)
Step 2: Ensure Sensor F is not inductive, Sol B is turned and the oil hydraulic motor
rotates
Step 3: check the tool signal(Note: Sensor E is inductive for No. 1, 2, 3 tool, does not
execute the
locking operation when the tool pot does not reach No. 4 tool). When No. 3 tool signal is
confirmed,
Sensor E preparatory operation should be set to make the tool pot rotate to No.4 tool, at
the time,
Sensor E is inductive, i.e. Sol B is turned on, the tool pot stops rotation and Sol A makes
the tool pot
be locked.
332
Connection
2.8.3 Machine zero return
Relative signal
DECX: X deceleration signal
DECY: Y deceleration signal
DECZ: Z deceleration signal
DEC4: 4th deceleration signal
DEC5: 5th deceleration signal
PCX: X zero signal
PCY: Y zero signal
PCZ: Z zero signal
TOMATECH AUTOMATION
334
Connection
Data parameters
0 3 3 ZRNFLn
The low speed of machine zero return;
1 1 3 REF_SPDn
The high speed of machine zero return;
0 4 7 PRSn
Setting value of absolute coordinate after machine zero return;
Signal connection
The interior circuit of deceleration signal is shown in Fig. 2-38:
Fig. 2-38
Machine zero return by regarding servo motor one-turn signal as the zero signal
Its sketch map is shown below:
Fig. 2-39
The circuit of deceleration signal
Fig. 2-40
Sequence of machine zero return
When the BIT0 (ZMX) of the bit parameter No.006 is set to 0, and the BIT5(DECI) of the
bit
parameter No.004 is set to 0, the system chooses the machine zero return mode B, and
the
deceleration signal low level is active.
So the sequence of machine zero return mode B is shown as follows:
Chapter 2 Definition and Connection of Interface Signal
335
Connection
Fig. 2-41-a
Return process of machine zero mode B
A: Select Machine zero mode, press the manual positive or negative feed key(machine
zero
return direction set by bit parameter No.183), the corresponding axis moves to the
machine zero by a rapid traverse speed (No.113). As the axis press down the
deceleration switch to cut off deceleration signal, the feeding slows down immediately,
and it continues to run in a fixed low speed(No.33).
B: When the deceleration switch is released, the deceleration signal contact is closed
TOMATECH AUTOMATION
again.
And CNC begins to detect the encoder one-turn signal (PC), if this signal level skips, the
motion will be halted. And the corresponding zero return indicator on the operator panel
lights up for machine zero return completion.
When the BIT0 (ZMX) of the bit parameter No.006 are both set to 1, and the BIT5(DECI)
of the
bit parameter No.004 is set to 0, it chooses the machine zero return mode C, and the
deceleration
signal low level is active.
So the sequence of machine zero return mode C is shown as follows:
Reversely
Decelerates
to stop
Time(
t)
Return
finish
Low return
speed
Velocity(v)
nPC
Deceleration switch
Fig. 2-41-b
336
Connection
Return process of machine zero mode C
A: Select Machine zero mode, press the manual positive or negative feed key (return
direction
set by bit parameter No.183), the corresponding axis moves to the machine zero by a
rapid
traverse speed (No.113). As the axis press down the deceleration switch to cut off
deceleration signal, the feeding keeps rapid rate and depart from the deceleration switch,
when the DEC signal contact is closed, the feeding slows down to zero, then run reversely
to
return to machine zero in a low speed.
B: In the reverse running, it presses down the deceleration switch to cut off the DEC signal
contact and continues returning; as it departs from the deceleration switch, the
deceleration
signal contact is closed again. And CNC begins to detect the encoder one-turn signal (PC),
if
this signal level skips, the motion will be halted. And the corresponding axis zero return
TOMATECH AUTOMATION
338
Connection
Deceleration switch
TOMATECH AUTOMATION
Zero return
speed
Velocity (
v
)
High
return speed
Low return
speed
Return
finish
Time(
t)
Decelerates
to stop
Reversely
Fig. 2-44-b
C type machine zero return process
A: Select the Machine Zero mode, press manual positive or negative (zero return direction
set
by bit parameter No.183) feed key, the corresponding axis will move to the zero at a high
speed(set by parameter No.113).
B: As the proximity switch touches the tongue for the first time, the deceleration signal is
active.
The speed doesnt slow down and it traverses on.
C: As the proximity switch detaches the deceleration switch, deceleration signal contact is
closed, the feed speed decelerates to zero, then it runs reversely by low return speed.
D: As the proximity switch touches the deceleration switch for the second time in reverse
running, deceleration signal contact is cut off, it still runs by low return speed; as it
detaches
the deceleration switch, deceleration signal contact is closed again, so the movement
stops.
The zero return indicator for the corresponding axis on the panel lights up for zero return
completion.
2.8.4 Spindle control
Relevant signal (by standard PLC program)
Type Sign Interface Address Function Remark
Input SAR CN15.6 X5.1 Spindle speed arrival signal
signal SALM CN15.4 X5.3 Spindle abnormity alarm input
It is valid when 0V
is input
M03 CN62.4 Y0.3 Spindle rotation(CCW)
M04 CN62.5 Y0.4 Spindle rotation(CW)
M05 CN62.6 Y0.5 Spindle stop
TOMATECH AUTOMATION
1 7 5 SAR
Bit6 1: The spindle SAR signal is checked before cutting;
0: The spindle SAR signal is not checked before cutting.
Data parameter
0 7 2 SAR_DELEY
Delay check time (ms) of the spindle speed arrival.
D T 0 5 MTIME
Execution time of M code (ms)
D T 1 0 SPDDLT
Spindle braking delay output time after spindle stop (M05) is output
D T 1 1 SPZDTIME
Spindle braking output time (ms)
340
Connection
D T 2 3 SVF_DELEY
Delay time before spindle motor torque decrease to 0 when spindle starts clamping;
D C 0 0 SPZERO
Spindle zero speed output range (m/min);
Signal connection
M03, M04, M05, SPZD signal output circuit is shown in Fig. 2-45A:
Fig. 2-45A
SAR, SALM signal input circuit is shown in Fig.2-45B:
Fig.2-45B
Operation sequence defined by standard PLC program
Spindle operation sequence is show in Fig 2-46:
Fig. 2-46 spindle rotation(CW/CCW) sequence
Note: T2 is the delay time from sending the spindle stop signal to sending the spindle brake
signal; T3 is the
spindle brake hold time.
Function descriptiondefined by standard PLC program
After the CNC is turned on, when M05 output is valid, M03 or M04 is executed, M03 or
M04
output is valid and remains, at the time, M05 output is closed; when M03 or M04 output is
valid, M05
is executed, M03 or M04 is closed, M05 output is valid and remains; the spindle brake
SPZD signal
output delay is set by No.087delay time from the spindle stop signal output to the spindle
brake
SPZD signal output, the hold time of the brake signal is set by No. 089the spindle brake
output
time.
CW/CCW
T2 T3
TOMATECH AUTOMATION
Brake
Stop
Stop signal
+5V CNC +24V Machine side
Chapter 2 Definition and Connection of Interface Signal
341
Connection
When M03M04output is valid, M04M03is executed, the alarm occurs.
When 175.6 is set to 1, the system checks whether the speed arrival signal SAR is
valid, if
it is valid, the system normally runs, if not, Check speed arrival is displayed.
When the spindle speed command and the cutting feed command are in the same
block, the
system executes the delay check for SAR signal to avoid that the CNC starts the cutting
based on the
last spindle speed arrival signal SAR, the delay time is set by No.072.
DC00 is the spindle zero-speed output range. When the actual spindle speed is not
more
than DC00 setting value, the system defaults the spindle speed to be zero, and can
release the chuck,
close the hydraulic and other operations.
M20 and M21 are separate the spindle clamping and releasing command, used to
clamp the
spindle after positioning, which can avoid that the spindle rotates because of the force in
drilling or
tapping.
When M20 is executed, the spindle is clamped. To avoid that the spindle servo motor
has too
much current, the system delays the time set by DT23 and then controls the spindle to
turn off the
servo, at the time, the spindle servo reduces the motor excitation and the position control
cannot be
executed, but the position check is still enabled and the position is not lost.
When the spindle moves or rotates, M20(spindle clamped) cannot be executed. After
the
spindle is clamped, it cannot be rotated or moved, otherwise, the PLC alarms.
When K17.6 sets the spindle to be clamped, the clamped is the 1st or 2nd spindle, which
is set
based on the actual conditions.
SALMX5.3is the alarm input signal of the spindle abnormality, the signal and the
drive
alarm signal of the 5th axis use the same interface. When the 5th axis is valid, the interface
is used to
the 5th drive alarm; when the 5th axis is invalid, the interface is used to the spindle
TOMATECH AUTOMATION
abnormality alarm.
Note 1: In the emergency stop, it turns off M03, M04, M08 signals, and outputs M05 signal;
Note 2: Whether M03, M04 is cancelled is set by BIT3 of the bit parameter No.009 when CNC is
reset.
If Bit 1=0, CNC turns off M03, M04 at reset;
If Bit 1=1, M03, M04 is kept at reset.
2.8.5 Spindle switching volume control
Relevant signal(defined by standard PLC program)
S01S04: Control signal for spindle speed switching volume, they are compound
interfaces
defined by standard PLC program, and they share common interfaces with M41M44,
U00U03.
Signal diagnosis
Signal S4 S3 S2 S1
Diagnosis address Y1.3 Y1.2 Y1.1 Y1.0
Interface pin CN62.12 CN62.11 CN62.10 CN62.09
Control parameters
Bit parameter
0 0 1 ACS
Bit4 =1: Analog voltage control of spindle speed
=0: Switching volume control of spindle speed
Control logic (defined by standard PLC program)
342
Connection
S1S4 output are inactive at power on. If any code of them is executed, the
corresponding S
signal output is active and held on, and the other S signal outputs are cancelled. S1S4
outputs are
cancelled when executing S00 code, and only one of them is active at a time.
2.8.6 Spindle automatic gearing control
Relevant signal (defined by standard PLC program)
M41M44: spindle automatic gear shifting output signals. It supports 4-gear spindle
automatic
gear shifting control when the system selects the spindle analog value control(0
10V analog voltage output)
M41I,M42I: spindle automatic gear shifting No.1, 2 gear in-position signals to support gear
shifting in-position check function
Signal diagnosis
Signal M42I M41I M44 M43 M42 M41
Diagnosis address X1.6 X1.5 Y1.3 Y1.2 Y1.1 Y1.0
Interface pin CN61.15 CN61.14 CN62.12 CN62.11 CN62.10 CN62.09
Signal connection
The circuit for M41~M44 is shown in Fig.2-47:
TOMATECH AUTOMATION
Fig. 2-47
Control parameter
Bit parameter
0 0 1 ACS
Bit4 =1: Spindle analog volume control, set to 1 if using spindle automatic gearing
=0: Spindle switching volume control
K 1 5 SHT AGIM AGIN AGER
AGER =1: Spindle automatic gearing active
=0: Spindle automatic gearing inactive
AGIN =1: Detect M41I, M42I signal when shifting to gear 1, 2
=0: Not detect M41I, M42I signal when shifting to gear 1, 2
AGIM =1: Active when M41I, M42I signals disconnecting to +24V
=0: Active when M41I, M42I signals connecting to +24V
SHT =1: spindle gear power-down executes the memory
=0: spindle gear power-down does not execute the memory
Data parameter
0 3 7 GRMAX1
0 3 8 GRMAX2
0 3 9 GRMAX3
0 4 0 GRMAX4
Chapter 2 Definition and Connection of Interface Signal
343
Connection
GRMAX1,GRMAX2, GRMAX3, GRMAX4: The respective max. speeds of spindle gear 1,
2, 3, 4
when analog voltage output is 10V. Spindle speeds for M41, M42, M43, M44 when
spindle automatic
gearing is active.
0 6 7 SFTREV
The output voltage during spindle gear shift010000, Unit: mV
D T 0 0 SFT1TME
Time for original gear disable during spindle gear shift (ms)refer to function description
for
details.
D T 0 1 SFT2TME
Delay time after spindle gear shift (ms), refer to function description for details.
Function description (defined by standard PLC program)
The spindle automatic gearing is active only under the spindle analog voltage control
(BIT4 of the
bit parameter No.001 set to 1) and the BIT 7 of the bit parameter No.164 is set to 1; if the
spindle auto
gearing is inactive, alarm will be issued when M41M44 is being executed and only one
of them is
active at a time.
TOMATECH AUTOMATION
When spindle auto gearing is used to control automatic spindle mechanical gear switching,
as
CNC executes S code, it calculates the analog voltage output to spindle servo or
frequency
inverter based on the parameter of the current gear by M4n (M41M44 to data
parameters
No.037~No.040 respectively) to make the actual speed to be consistent with the S code.
When CNC is powered on, the spindle gear memorizing is set by the BIT1 of bit parameter
No.168.
If the BIT4 of bit parameter No.001 is 0, the spindle gear is not memorized at repowering
after
power down, and the gear 1 will be defaulted, M41~M44 are not output. If BIT4 of bit
parameter
No.001 is 1, the spindle gear is memorized at repowering after power down.
No gearing is done if the specified gear is consistent with the current gear. If not, gearing
will be
performed, and the process defined by standard ladders is shown in the following:
Execute any of M41, M42, M43, M44 codes, output analog voltage to spindle servo or
frequency inverter according to a value set by data parameter No.067 (Unit: mV);
After a delay (gearing time 1) by the DT00, turn off the original gear output signal and
output
the new gearing signal;
If the gear is 1 or 2, and the BIT6 of the bit parameter No.164 is 1, it jumps to , or else
it
jumps to ;
Check the gear in-position input signal M41I, M42I, it jumps to if the gear in-position
is done;
if not, the CNC waits the gear in-position signal;
After a delay (gearing time 2) by DT01, output spindle analog voltage by the current
gear
according to a value set by data parameter No.037~No.040 (gear 1~4 ) and finish the
gearing.
Note: The output of M41M44 is held on when CNC is reset or i emergency stop, which is defined
by
standard PLC ladder.
2.8.7 Spindle eight-point orientation function
Related signalsdefined by standard PLC program
344
Connection
Type Sign Interface Address Function Remark
COIN CN15.8 X5.2 Orientation completion signal
Input
signal SALM CN15.4 X5.3
TOMATECH AUTOMATION
4-point orientation.
Control parameter
K 1 5 SPOR
SPOR =1: The spindle eight-orientation function is valid.
=0: The spindle eight-orientation function is invalid.
K 1 7 SALM
SALM =1: The system alarms when the spindle abnormality check input signal is LOWit
is not
connected with 0V.
=0: The system alarms when the spindle abnormality check input signal is HIGHit is
Chapter 2 Definition and Connection of Interface Signal
345
Connection
connected with 0V.
Functional description(standard PLC program definition)
1. After the positioning function commands M51~M58 are executed, PLCDrive executes
the
orientation selection signal SP0, SP1, SP2 to confirm the orientation position.
2. Delay 40ms, PLCDrive executes the spindle orientation start signal STAO after the
system
delays 100ms, the spindle rotation(CW/CCW) is disabled, at the same time, the system
starts to
check the orientation completion signal (COIN.
3. Drive unit starts the orientation.
4. After the drive unit orientation is completed, Drive PLC outputs the spindle
completion signal
COIN;
5. After PLC receives the spindle orientation completion signal COIN, the spindle
orientation is
completed, but the spindle orientation signal STAO keeps the output.
6. When M51~M58 is input again, the spindle oriented to another position.
7. After the orientation is completed and when M50 is executed or the spindle orientation
is
operated, PLC closes the spindle orientation signal STAO output and the drive unit
cancels the
positioning function.
8. When the system has not received the orientation completion signal after the PLC
sends the
orientation completion signal for 10000ms, it alarms the spindle orientation time being
long.
9. Before the orientation, the spindle can rotate or stop; the spindle stops after the
orientation.
Note 1: The drive is for the spindle servo drive unit.
Note 2: When the function is selected, the spindle servo drive unit is matched and is valid in the
TOMATECH AUTOMATION
external
speed control mode.
Orientation sequence drawing
Orientation function wiring diagram betweenTAC-1002T and DAP03
TAC-100XT signal interface DAP03 signal interface
346
Connection
CN1
SRV
SFR
23
CN15 22
0V
+24
4
ALM5 7
ALM
COMCOM+
24 SON
SVC
SVC-GND
13
12
14 VCMD+
9 SFR
SRV
15 VCMD-
25
16 PAO+
1 PAO-
17 PBO+
2 PBO-
18 PZO+
3 PZOCN21
8 PAS
7 *PAS
6 PBS
5 *PBS
4 PZS
3 *PZS
6 SAR 5 SAR
41 STAO
42 SP0
TOMATECH AUTOMATION
44 SP2
43 SP1
11
10
40
26
STAO
SP0
SP1
SP2
CN62
8 COIN 21 COIN
19 EN
37,38
23,35
3,16
11,17
Orientation function wiring diagram betweenTAC-1002T and GS3000Y-N
TAC-100XT signal interface GS3000Y-N signal interface
Note 1: When the system is matched with GS3000Y-N, the single-point orientation is defaulted; up
to 4
points orientation can be realized.
Note 2: GS3000 Series signal interface CN1 adopts DB44 3-stripe male plug.
Chapter 2 Definition and Connection of Interface Signal
347
Connection
2.8.8 Spindle Cs axis control function
Related signalsdefined by standard PLC program
Type Sign Interface Address Function Remark
VPO CN15.5 X5.0
Spindle speed/position control
Input state
signal
ALM5 CN15.4 X5.3
Alarm signal of the 5th drive
unit
It is valid when
0V is input
VP CN15.20 Y5.0
Spindle speed/position control
switch output
TAP CN15.21 Y5.1
The 2nd gain selection signal
of the spindle speed(used to
TOMATECH AUTOMATION
348
Connection
Note: K15.7 sets whether all Cs functions are valid, o187.5, o189.5, o191.5 set whether Cs
functions of
the special axis is valid. When the multiple spindle function is valid, Cs function of only one axis
is valid.
Function descriptiondefined by standard PLC program
1. Control logic
1) After M14 is executed, PLCDrive outputs the spindle speed/position control mode
TOMATECH AUTOMATION
switch
signal;
2) Drive unit starts the switch control mode. After the switch is completed, DrivePLC
outputs
the speed/position switch state signal VPO;
3) After the PLC receives the spindle speed/position switch state signal VPO, the spindle
contour
control switch signal CON is set to 1. After the system has checked CNC spindle contour
control
switch end signal FSCSL, M14 execution is ended. The spindle control mode switch is
ended.
2. M15 execute processes are the same those of M14.
3. on the panel is equal to the spindle speed/position control mode switch in Manual
mode.
In Manual/MPG mode, press and the CNC starts the spindle speed/position control mode
switch. After the CNC is switched into the spindle position control mode, the spindle
orientation
indicator is ON, at the time, Cs position movement is performed. Press again and the CNC
is
switched into the spindle speed control mode and the spindle orientation indicator is OFF.
4. Before switch, the spindle can rotate or stop. After switch, the spindle stops.
5. When the spindle is in Cs contour control mode, the spindle rotation(CW/CCW) output
is
invalid.
6. When the spindle is in the external speed control mode, the manual operation of Cs
axis is
invalid.
7. When the alarm occurs in the servo or because of the too long switch time or the reset
or
emergency stop appears in switch, PLC switches the spindle into the speed control state.
8. When PLC K15.6 is set to 1, the spindle contour control is disabled in emergency stop,
reset.
PLC switches the spindle into the speed control state.
Chapter 2 Definition and Connection of Interface Signal
349
Connection
Connection diagram betweenTAC-1002T and DAP03 (taking example of Cs of the
5th axis)
CN1
SRV
SFR
23
22
CN15
TOMATECH AUTOMATION
VPO
VP
5
20
ZOUT-
15 DIR5-
0V
11
+24
10
4
ALM5
PC5
DIR5
CP5+
1
14
2
CP5-
34 SIGNZOUT+
24
7
19
ALM
PULSSIGN+
PULS+
42
33
28
COMCOM+
SON
4
SVC
SVC-GND
13
12
14 VCMD+
9 SFR
SRV
12 VP
44 VPO
15 VCMD-
25
16 PAO+
TOMATECH AUTOMATION
1 PAO-
17 PBO+
2 PBO-
18 PZO+
3 PZOCN21
8 PAS
7 *PAS
6 PBS
5 *PBS
4 PZS
3 *PZS
19 EN5
21 TAP 41 TAP
6 SAR 5 SAR
3/9
23/35
37/38
Wiring diagram betweenTAC-1002T and GS3000Y-N spindle servo unit (the 5th
axis is
Cs axis in the following example)
TAC-100XT signal interface GS3000Y-N signal interface
TAC-100XT signal interface DAP03 signal interface
350
Connection
Note 1: CN15 signal interface onTAC-1002T side adopts DB25 2-stripe male plug, CN21 adopts
DB15
2-stripe female plug.
Note 2: GS3000 Series signal interface CN1 adopts DB44 3-stripe male plug.
2.8.9 Multiple spindle function
When the multiple spindle function is valid, related signals, parameters and commands
are
consistent with related explanations of the spindle control, the 1st, the 2nd spindle
explanations are
shown below.
Related signalsdefined by PLC program
Type Sign Interface Address Function Remark
VPO2 CN61.40 X3.3
The 2nd spindle speed/position control
Input state
signal
SALM2 CN61.41 X3.4 The 2nd spindle abnormality alarm signal
Multiplex with
the chuck
TOMATECH AUTOMATION
in-position
signal
Output
signal
VP2 CN62.36 Y2.7
The 2nd spindle speed/ position control
switch output
Chapter 2 Definition and Connection of Interface Signal
351
Connection
TAP2 CN62.39 Y3.2
The 2nd gain selection signal of the 2nd
spindle speed loop (used to rigid
tapping)
M63 CN62.40 Y3.3 The 2nd spindle rotation(CW)
M64 CN62.41 Y3.4 The 2nd spindle rotation(CCW)
Note 1: TAP2, M63, M64 and macro output #1100#1102 are multiplexed by the interface, so
#1100#1102
are invalid when the multiple spindle function is valid.
Note 2: SALM2, VPO2 and the chuck in-position signals NQPJ, WQPJ are multiplexed by the
interface, so,
the system does not check the chuck in-position signal.
Command format
M63 the 2nd spindle rotates (CW)
M64 the 2nd spindle rotates (CCW)
M65 the 2nd spindle stops
M24 the 2nd spindle is switched from the speed control mode into the position control
mode
M25 the 2nd spindle is switched from the position control mode into the speed control
mode. The
speed control mode is defaulted after the system is turned on.
Note: Only the 4th is rotary axis and Cs function of the 4th is valid, at the same time, the
corresponding spindle
servo drive unit is in speed/position switch working mode, the switch between the speed control
and the
position control of the 2nd spindle is valid.
Control parameters
1 8 7 RCS ROS ROT
Bit5 =1: Cs function of the additional axis is valid (power-on again);
=0: Cs function of the additional axis is invalid(power-on again).
Bit 1, Bit0: 00 sets Y to be the linear axis; 01 sets Y to be the rotary axis (A type); 11 sets
Y to be
the rotary axis(B type); 10 sets Y to be invalid.
Bit1, Bit0 : 00: set the additional axis to the linear axis; 01: set the additional axis to the
TOMATECH AUTOMATION
rotary
axis (A-type); 11: set the additional axis to the rotary axis (B-type); 10: set the
additional to be invalid.
1 9 6 MSI CSS MSEN
Bit7 1: The multiple spindle control B type;
0: The multiple spindle control A type.
Bit6 1: In the multiple spindle control, the system separately controls Cs contour of each
spindle;
0: In the multiple spindle control, the system controls the Cs contour of only the 1st
spindle.
Bit4 1: The multiple spindle control function is valid;
0: The multiple spindle control function is invalid;
K 1 5 RCS RSCS
RCS =1: The spindle Cs function is valid;
=0: The spindle Cs function is invalid.
RSCS =1: The spindle contour control is disabled in emergency stop, reset;
=0: The spindle contour control is enabled in emergency stop, reset.
352
Connection
K 1 7 MSEN SALM2
MSEN =1: The multiple spindle control function is valid;
=0: The multiple spindle control function is invalid.
SALM2 =1: The system alarms when the check input signal of the 2nd spindle abnormality
is
LOW;
=0: The system alarms when the check input signal of the 2nd spindle abnormality is
HIGH;
Function description(defined by the standard PLC program
1.1. After the multiple spindle control function setting is valid, the system defaults to the 1st
spindle control after power-on;
1.2. When M03, M04, M05 is executed, the corresponding signal of the 1st spindle outputs,
at
that time, the system sets the 1st spindle control, hereafter, the S command being
executed
will change the 1st spindle speed. In a similar way, M63, M64, M65 is executed, the
corresponding signal of the 2nd spindle outputs, at the time, the corresponding signal of
the
2nd spindle outputs, and is switched into the 2nd spindle control, after that, the executed S
command will change the 2nd spindle speed.
1.3. The spindle switch is invalid in rigid tapping.
1.4. The manual CW, CCW, STOP, SPINDLE OVRRRIDE keys on the panel are valid
only to the
1st spindle. When the current system is controlled by the 2nd spindle, the manual control
TOMATECH AUTOMATION
key
of the spindle on the panel still controls the 1st spindle.
1.5. The spindle override of the 2nd spindle is fixed to 100%.
1.6. Cs axis control of two spindles can be separately switched and the current used
spindle has
no requirements, that is, when the current is the 1st(2nd) spindle, the 2nd (1st) spindle
executes the Cs switch.
Cs control logic of the 2nd spindle
1.1. After M24 is execute, PLCDrive sends the 2nd spindle speed/position control mode
switch
signal VP2;
1.2 Drive unit starts the switch control mode. After the switch is completed, DrivePLC
outputs
the speed/position switch state signal VPO2;
1.3. After the PLC receives the spindle speed/position switch state signal VPO2, the 2nd
spindle
contour control switch signal CON(G127.7) is set to 1. After the system has checked the
2nd
spindle contour control switch end signal FSCSL(F144.1), M24 execution is ended. The
spindle control mode switch is ended.
2. M25 execute processes are the same those of M24.
3. M25 only cancels M24 executing the speed/position switch. Executing M25 cannot
switch the
system into the speed control mode when executing M29 switches the spindle into Cs
contour
control.
4. on the panel is only used to Cs switch of the 1st spindle.
5. Before switch, the spindle can rotate or stop. After switch, the spindle stops.
6. When the spindle is in Cs contour control mode, the spindle rotation(CW/CCW) output
is
invalid.
7. When the spindle is in the external speed control mode, the manual operation of Cs
axis is
invalid.
8. When the alarm occurs in the servo or because of the too long switch time or the reset
or
Chapter 2 Definition and Connection of Interface Signal
353
Connection
emergency stop appears in switch, PLC switches the spindle into the speed control state.
9. When PLC K15.6 is set to 1, the spindle contour control is disabled in emergency stop,
reset.
PLC switches the spindle into the speed control state.
10. When PLC K17.7 is set to 1, the multiple spindle function is enabled, and the system
TOMATECH AUTOMATION
does
not check the chuck in-position signal.
Connection diagram between the 2nd spindle and DAP03
CN1
M64
M63
41
40
CN14
VPO2
TAP2
40
39
ZOUT+
10 DIR-
4 +24V
10
5
ALM
PC
DIR
CP+
1
9
2
CP34
SIGNZOUT-
19
7
4
ALM
PULSSIGN+
PULS+
42
33
28
COM+
24 SON
SVC-OUT2
SVC-GND
24
25
14 VCMD+
9 SFR
TOMATECH AUTOMATION
SRV
41 TAP
44 VPO
15 VCMD-
25
COM-
0V
17
20 +24V
CN62
CN15
CN61
Pull-up resistor
2K
36 VP2 12 VP
7 EN
23/35
37/38
Connection diagram between the 2nd spindle and GS3000Y-N spindle servo unit
TAC-100XT signal interface GS3000Y-N signal interface
TAC-100XT signal interface DAP03 signal interface
354
Connection
Note: CN1 on GS3000Y-N Series adopts DB44 3-stripe male plug;
2.8.10 Rigid tapping function
Related commands
M20 spindle clamped output
M21 spindle clamped/released output
M29 entering rigid tapping state
Note: When only the selected spindle used to the rigid tapping interpolation is the rotary axis, the
rigid
tapping function can be executed.
Function descriptiondefined by the standard PLC program
When the Cs function of the tapping spindle is invalid, the system is switched into the
rigid
tapping state instead of switching the spindle servo speed/position in executing M29,
defaults the
spindle servo to be the position control state.
When Cs function of the tapping spindle is enabled, the spindle servo for the tapping is
switched
into the position control state and the system is switched into Cs contour control state.
Before M29 switch, the tapping spindle is permitted to the spindle mode or Cs contour
control
TOMATECH AUTOMATION
mode. After the rigid tapping return, the tapping spindle returns to the previous control
mode.
When the system is in the rigid tapping state, the manual movement tapping spindle
cannot be
performed.
The rigid tapping state is cancelled in reset or emergency stop.
In M29, when the 1st or the 2nd spindle is currently used, it is switched into the rigid
tapping state.
In rigid tapping, a spindle should be selected firstly to execute the rigid tapping
interpolation. After
the spindle is switched into the rigid tapping state, the spindle switch is invalid.
After M29 is execute, M20 and the tapping command in the same block are executed
to clamp
the spindle before drilling or tapping.
Chapter 2 Definition and Connection of Interface Signal
355
Connection
2.8.11 External cycle start and feed hold
Relevant signal (defined by standard PLC program)
ST: External cycle start signal, whose function is the same with the CYCLE START key on
the
machine panel;
SP: External feed hold signal, whose function is the same with the FEED HOLD key on
the
machine panel, and it shares an interface with SAGT(safety door detect) signal.
Signal diagnosis
Signal SP ST
Diagnosis address X0.1 X1.4
Interface pin CN61.2 CN61.13
Signal connection
The interior circuit of SP/ST signal is shown in Fig. 2-48:
Fig. 2-48
Control parameter
Bit parameter
1 7 2 MST MSP
Bit 6 =1: External cycle start signal (ST) is invalid;
=0: External cycle start signal (ST) is valid;
Bit 5 =1: External stop signal (SP) is invalid;
=0: External stop signal (ST) is valid; the external feed hold switch is needed,
otherwise, Feed hold is displayed.
External connection circuit
The external connection circuit of SP, ST signals is shown in Fig. 2-49:
Fig. 2-49
CN61 socket
TOMATECH AUTOMATION
TAC-100XT
SP
+24V
S T
Normal-close contact without lock
356
Connection
2.8.12 Cooling control
Relevant signal (defined by standard PLC program)
Type Sign Interface Address Function Remark
Output signal M08 CN62.1 Y0.0 Cooling control output
M08 Cooing ON
Command format
M09 Cooling OFF
Signal connection
Its internal circuit is shown in Fig. 2-50:
Fig. 2-50 M08 internal circuit
Function description (defined by standard PLC program)
M09 is active, i.e. M08 is inactive, after CNC power on. To execute M08, M08 output is
active and
cooling is turned on; to execute M09, M08 output is cancelled and cooling is turned off.
Note 1: M08 output is cancelled at CNC emergency stop.
Note 2: Whether M08 is cancelled is set by BIT3 of the bit parameter No.009 when CNC is reset.
When Bit1=0, M08 output is cancelled as CNC is reset;
When Bit1=1, M08 output is not cancelled as CNC is reset;
Note 3: There is no corresponding output signal for M09, and M08 output is cancelled if M09 is
executed.
Note 4: The cooling can be controlled by the key on operation panel, see details in OPERATION.
2.8.13 Lubricating control
Relevant signal (defined by standard PLC program)
Type Sign Interface Address Function Remark
Output signal M32 CN62.2 Y0.1 Lubricating control output
Command M32 Lubricating ON
format M33 Lubricating OFF
Signal connection
The internal circuit is shown in Fig. 2-51:
Fig. 2-51 M32 circuit
Chapter 2 Definition and Connection of Interface Signal
357
Connection
Control parameter
PLC state parameter
K 1 0 RSJG
TOMATECH AUTOMATION
RSJG =1: when is pressed, CNC does not close M03, M04, M08, M32 output signal.
=0: when is pressed, CNC closes M03, M04, M08, M32 output signal.
K 1 6 M32A
M32A =1: output lubricating in starting the system when the automatic lubricating is valid
=0: do not output lubricating in starting the system when the automatic lubricating is valid
PLC value
D T 1 3 MANLUBT
Time for manual lubricating ON (ms) (0: lubricating time is not limited);
D T 1 6 AUTOLUBMT
Automatic lubricating time (02147483647ms)
D T 1 7 AUTOLUBT
Automatic lubricating interval time (02147483647ms)
Function description
The lubricating defined by standard PLC program for thisTAC-1002T system has two
types:
Non-automatic and automatic lubricating, which are set by parameter:
DT17 =0: Non-automatic lubricating (same as version before)
DT17>0: Automatic lubricating, lubricating time DT17 and lubricating interval time DT16
available
1. Manual lubricating function
Press on the machine operator panel and the system executes the lubricating output,
pressing it again and the system cancels the output. Execute M32 and the system
executes the
output; execute M33 and the system stops it.
DT13>1: the system executes the timed lubricating output, and the output is executed by
pressing , and is cancelled when the output exceeds the one set by DT13. After the
system
executes M32, the lubricating output is executed within the time set by DT13 and it is
cancelled.
Execute M33 in the time set by No. 112 and the output is cancelled.
2. Automatic lubricating
When K16.2 is set to 1, the system executes the lubricating in the time set by DT17, and
then
stops the output. After it keeps the stop in the time set by DT16, it executes the lubricating
again
repetitively, and executes the cycle in turn. In automatic lubricating, M32, M33, on the
machine panel are valid, and the lubricating time is the one set by DT17.
Note 1: The lubricating output is disabled in emergency stop;
Note 2: K No.0.10 Bit1 sets whether the lubricating output is cancelled in reset:
Bit10: the lubricating output is disabled in reset;
Bit11: the lubricating output remains unchanged in reset.
358
Connection
TOMATECH AUTOMATION
360
Connection
resistance, chuck is clamped and CNC waits for WQPJ signal to be in-position.
After M13 is executed, DOQPJ (CN62.13) outputs 0V, DOQPS(CN62.14) outputs high
resistance, chuck is released and CNC waits for NQPJ signal to be in-position.
Fig. 2-54 Chuck clamping, releasing signals are level output
As the 2nd chuck input is active, DOQPS outputs 0V, chuck is released. The chuck
clamping/releasing signal is output alternatively, i.e. the output is changed each chuck
input signal is
TOMATECH AUTOMATION
active.
The interlock between the chuck and the spindle
When SLQP=1, SLSP=0, M3 or M4 is active, the alarm is issued if M13 is executed and
the
output is unchanged.
When SLQP=1, SLSP=0, CCHU=1, if M12 is executed in MDI or Auto mode, CNC does
not
execute next code till it detects the chuck clamping in-position signal is active. When the
chuck
input signal DIQP is active in Manual mode, the panel spindle CW, CCW key are inactive
till it
detects the chuck clamping in-position signal is active. In spindle running or auto cycle
processing,
DIQP input signal is inactive. And DOQPS, DOQPJ is held on at CNC reset and
emergency stop.
2.8.15 Tailstock control
Relevant signal (defined by standard PLC program)
DOTWJ: Tailstock forward output signal
DOTWS: Tailstock backward output signal
DITW: Tailstock input signal, DITW and BDT share a common interface.
Note: ForTAC-1002T-V, can replace DITW input signal, and the diagnosis address is X0026.5.
Signal diagnosis
Signal DITW DOTWJ DOTWS
Diagnosis address X0.4 Y2.5 Y2.6
Interface pin CN61.5 CN61.34 CN61.35
Control parameter
State parameter
Chapter 2 Definition and Connection of Interface Signal
361
Connection
K 1 3 RTSC SPTW SLTW
SLTW =1: Tailstock function active.
=0: Tailstock function inactive.
SPTW =1: No interlock between spindle rotation and tailstock advancing and retracting,
tailstock
may be moved regardless of the spindle, or spindle may run regardless of tailstock;
=0: Interlock between spindle rotation and tailstock advancing and retracting, tailstock
retraction disabled as spindle is running, spindle disabled if tailstock does not
advance.
RTSC =1: External tailstock control is active when a program runs.
=0: External tailstock control is inactive when a program runs
Signal connection
The tailstock circuit is shown in Fig. 2-55:
Fig. 2-55
TOMATECH AUTOMATION
362
Connection
Signal diagnosis
Signal PRES
Diagnosis address X0.6
Interface pin CN61.7
Control parameters
State parameter
K 1 4 SPB3 PB3
PB3 =0: Low pressure detection inactive.
=1: Low pressure detection active.
SPB3 =0: Low pressure alarm issued when PRES is connected with +24V.
=1: Low pressure alarm issued when PRES is connected with 0V.
PLC data parameter
D T 0 2 PEALMTIM
PEALMTIM: Waiting time before low pressure alarm(0~60000ms)
Function description
When PB3=1 and SPB3=0, PRES is connected to +24V, which is confirmed to be low
pressure
TOMATECH AUTOMATION
alarm by CNC;
When PB3=1 and SPB3=1, PRES is connected to 0V, which is confirmed to be low
pressure
alarm by CNC;
When low pressure alarm detection function is selected, once CNC detects the low
pressure
alarm signal PRES to be active, and the signal holding time is over the setting by the data
parameter
No.069 alarm is issued by CNC. And the axis feed is held, spindle is stopped, cycle start is
disabled,
the alarm may be cancelled by pressing key or cutting off power;
2.8.17 Hydraulic control (only applied to 980TDc-V)
Related signaldefined by the standard PLC program
EXHP: external hydraulic control input signal
HPST: hydraulic control output signal
Note: The EXHP input signal can be replaced by key on the operation panel; the
diagnosis
address is X0026.4;
Signal diagnosis
Signal HPST
Diagnosis address Y3.1
Interface pin CN62.38
Control parameter
PLC state parameter
K 1 4 HPST
PB3 =0: the hydraulic control function is disabled.
=1: the hydraulic control function is enabled.
Chapter 2 Definition and Connection of Interface Signal
363
Connection
Function description
When the hydraulic control function is enabled, pressing can control HPST output to
start the hydraulic motor.
In non-run, the spindle stop with the speed 0, pressing can disable HPST output.
When the hydraulic control function enables and the hydraulic motor is started, the
system
alarm, at the time, the spindle cannot rotate.
2.8.18 Safety door detection
Relevant signal
SAGT: For safety door detection, sharing a common interface with SP signal
Signal diagnosis
Signal SAGT
Diagnosis address X0.0
Interface pin CN61.1
TOMATECH AUTOMATION
Control parameter
PLC status parameters
K 1 4 SGSP SPB4 PB4
PB4 =0: Protection door detection function is invalid;
=1: Protection door detection function is valid;
SPB4 =0: When SAGT is at low level (disconnect with +24V), the protection door is
closed;
=1: When SAGT is at high level (connected with +24V), the protection door is closed;
SGSP =0: Spindle is disabled when the protection door is open;
=1: Spindle is not disabled when the protection door is open;
Function description (defined by standard PLC program)
When PB41, SPB40, CNC confirms that the safety door is closed as SAGT is
connected
to 0V;
When PB41, SPB41, CNC confirms that the safety door is closed as SAGT is
connected
to +24V;
In Auto mode, if CNC detects the safety door is open, alarm is issued as cycle starts;
In auto running, if CNC detects the safety door is open, the axis feed is held, and alarm
is
issued by CNC;
The safety door detection function is only active in Auto mode;
2.8.19 CNC macro variables
Relevant signal
Macro output signal: standard PLC defines 5 macro output interfaces #1100#1105
Macro input signal: standard PLC defines 16 macro output interfaces #1000#1015
Signal diagnosis
Macro variable number #1105 #1104 #1103 #1102 #1101 #1100
Diagnosis address Y3.7 Y3.6 Y3.5 Y3.4 Y3.3 Y3.2
364
Connection
Macro variable number #1007 #1006 #1005 #1004 #1003 #1002 #1001 #1000
Diagnosis address X0.7 X0.6 X0.5 X0.4 X0.3 X0.2 X0.1 X0.0
Macro variable number #1015 #1014 #1013 #1012 #1011 #1010 #1009 #1008
Diagnosis address X1.7 X1.6 X1.5 X1.4 X1.3 X1.2 X1.1 X1.0
Function description (defined by standard PLC program)
U00U05 signal output may be changed if macro variable 11001105 are
assigned. If
they are assigned for 1, it outputs 0V, if they are assigned for 0, it turns off their output
signals.
Detect the macro variable 10001015 values (input signal state), they may be used
for
various processing if combined with other transfer judgment macro code.
TOMATECH AUTOMATION
ZSSY2080 MPG
Chapter 2 Definition and Connection of Interface Signal
365
Connection
9 X6.3 EMP0 Increment 1
22 X6.4 EMP1 Increment 10
23 X6.5 EMP2 Increment 100
11, 12, 13 GND
14,15 +5V
17,18 +24V
Related parameters
State parameter
0 0 1 MPG
Bit3 =0: Step working mode.
=1: MPG working mode.
PLC status parameters
K 1 6 SINC SINC2
SINC =0: When the system increment is 0.1, gear 1000 in MPG and STEP mode is
valid;
=1: When the system increment is 0.1, gear 1000 in MPG and STEP mode is invalid;
SINC2 =0: When the system increment is 1, gear 1000 in MPG and STEP mode is
valid;
=1: When the system increment is 1, gear 1000 in MPG and STEP mode is invalid;
Function description
When SINC is set to 0.1, MPG/STEP mode 1000-gear selection is disabled. When
x1000-gearis selected before modifying the parameter, the system automatically changes
into
100-gear;
When SINC is set to 1, MPG/STEP mode 1000-gear selection is disabled. When
x1000-gearis
selected before modifying the parameter, the system automatically changes into
100-gear;
When the external MPG, its axis selection does not lock, that is, the axis selection of
MPG is
disabled, the system changes to the non-axis selection state.
When the external MPG axis selection and gear selection input are enabled, the axis
selection
on the panel and the gear selection keys are disabled; when the external MPG axis
selection and
gear selection input are disabled, the axis selection on the panel and the gear selection
keys are
enabled and self-locked.
2.8.22 Tri-color Lamp
Relevant signals and function definition (standard PLC program)
TOMATECH AUTOMATION
Signal
type Sign Signal
interface Address Function
CLPY CN62.31 Y2.2 Yellow normal state (non-running,
non-alarm state)
CLPG CN62.32 Y2.3 Greenrunning state
Output
signal
CLPR CN62.33 Y2.4 Redalarm state
2.8.23 Extended M Function
Relevant signalsstandard PLC program
366
Connection
Signal interface Address Address characters Function
CN62.36 Y2.7 EMOT1 Extended M function signal 1
CN62.40 Y3.3 EMOT2 Extended M function signal 2
Relevant commands
M34 Extended M function signal 1EMOT1outputs
M35 Extended M function signal 1EMOT1closes output
M36 Extended M function signal 2EMOT2outputs
M37 Extended M function signal 2EMOT2closes output
Control parameters
PLC parameters
K 1 8 EXTM RSTM
EXTM =0extended M function is invalid.
=1extended M function is valid.
RSTM =0extended M function closes output when emergency stop, reset.
=1extended M function remains output when emergency stop, reset.
Note: Extended M function is invalid when the multi-spindle function is valid because of address
multiplexing.
Function explanation
1. When M34 is executed, extended M function 1 (EMOT1) outputs; when M35 is done, its
output is
closed.
2. When M36 is executed, extended M function 2 (EMOT2) outputs; when M37 is done, its
output is
closed.
3. Whether extended M function output is closed is set by K18.6 when emergency stop,
reset.
2.8.24 HOLD Control
Relevant signalsstandard PLC program
Signal
interface
TOMATECH AUTOMATION
Address Address
characters
Function
CN62.03 Y0.2 HOLD HOLD release output
Control parameter
PLC state parameter
K 1 8 HOLD
HOLD =0HOLD release control is invalid.
=1HOLD release control is valid.
Function
Chapter 2 Definition and Connection of Interface Signal
367
Connection
1. After power-on, there is no emergency stop alarm or servo spindle alarm and the
system delays 4S,
HOLD signal is output to release HOLD.
2. HOLD signal is closed when an emergency stop alarm or servo spindle alarm occurs.
2.8.25 Gear/tool number display
Signal diagnosis
Y0025 BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
Corresponding
BCD code
LED1
23
LED1
22
LED1
21
LED1
20
LED0
23
LED0
22
LED0
21
LED0
20
LED 0 displays the current tool number, BIT0~BIT3 of PLC diagnosis number Y25 are
BCD code
of the current tool number; LED 1 displays the gear of the current spindle, BIT4~BIT7 of
PLC
diagnosis number Y25 are BCD code of the current spindle gear and is shown below:
Function description
TOMATECH AUTOMATION
When the tool count is less than 10, the gear and the tool number separately use one
LED to
display.
When the tool count is more than 10, LED 1 displays 10-digit numbers and the LED 0
displays the single digits.
When the gear and the tool number are displayed in time-division, that is, the gear
instead of
the tool number is firstly display, the tool number instead of the gear is displayed after
1.5S, and the
system executes them like the above cycle.
368
Connection
Electromagnetic
coil
YV
Travel switch SQ
Veneer socket
Pedal switch SA
Relay coil and
contact
KA
Fuse FU
Chapter 3 Parameters
TOMATECH AUTOMATION
369
Volume Connection
CHAPTER 3 PARAMETERS
The CNC bit and data parameters are described in this chapter, various functions can be
set by
these parameters. The major parameter data type are listed as follows:
Data type Range
(1) Bit
(2) Bit axis
(3) Bit spindle
8 bit, 0 or 1
(4) Word
(5) Word axis
(6) Word spindle
See relevant
parameters for
details
Note: if the data type is not specified, the type is bit or word.
370
TOMATECH AUTOMATION
Volume Connection
0: Conceal clock
Bit4 1: Tool life management group skip active
0: Tool life management group skip inactive
Bit3 1: Tool life management active in MDI mode
0: Tool life management inactive in MDI mode
Bit2 1: Tool life counting type 2, by times
0: Tool life counting type 1, by times
Bit1 1: Tool nose radius offset active
0: Tool nose radius offset inactive
Bit0 1: Tool life management active
0: Tool life management inactive
0 0 3 *** *** PCOMP TCOMP *** *** *** OIM
Bit5 1: Pitch error offset active
0: Pitch error offset inactive
Bit4 1: Tool offset by coordinate offset
0: Tool offset by move
Bit0 1: Offset automatically change in metric and inch conversion
0: Offset not change in metric and inch conversion
0 0 4 ABOT RDRN DECI ORC *** *** PROD SCW
Bit7 1: do not memorize absolute coordinate in power-down
0: memorize the absolute coordinate in power-down
Bit6 1: G00 is rapid traverse speed in dry run mode
0: G00 is manual feedrate in dry run mode
Bit5 1: DEC signal is high level for machine zero return
0: DEC signal is low level for machine zero return
Bit4 1: Tool offset by radius
0: Tool offset by diameter
Bit1 1: Relative position for programming in POSITION page
0: Relative position involving offset in POSITION page
Bit0 1: Inch system for min. code unit, active after repowering
0: Metric system for min. code unit, active after repowering
0 0 5 *** *** SMAL M30 *** POSRE PPD PCMD
Bit 5 1: Manual spindle gear change during the execution of S code;
0: Automatic spindle gear change during the execution of S code;
Bit 4 1: Cursor returns to the head of the program after the execution of M30;
0: Cursor does not return to the head of the program after the execution of M30;
Bit 2: 1: Position recording signal PRC is used during tool setting;
0: Position recording signal PRC is not used during tool setting;
Bit 1: 1: G50 sets relative coordinate value;
0: G50 does not set relative coordinate value;
Bit 0: 1: Axial output wave is pulse;
Chapter 3 Parameters
371
TOMATECH AUTOMATION
Volume Connection
0: Axial output wave is square;
0 0 6 *** *** *** ZM5 ZM4 ZMY ZMZ ZMX
Bit4 1: 5th zero return mode C
0: 5th zero return mode B
Bit3 1: 4th zero return mode C
0: 4th zero return mode B
Bit2 1: Y zero return type C
0: Y zero return type B
Bit1 1: Z zero return type C
0: Z zero return type B
Bit0 1: X zero return type C
0: X zero return type B
0 0 7 DISP *** SMZ ZC5 ZC4 ZCY ZCZ ZCX
Bit7 1: Enter ABSOLUTE POS page after power on
0: Enter RELATIVE POS page after power on
Bit5 1: Execute the next block after all motion block exactly are executed to the in-position
0: Smooth transition between two blocks
Bit4 1: In machine zero return, 5th deceleration signal (DEC5) and one-revolution signal
(PC5) are
parallel(use one proximity switch as the deceleration signal and zero signal)
0: In machine zero return, 5th deceleration (DEC5) and one-revolution signal (PC5) is
separately connected (need the separate deceleration signal and zero signal)
Bit3 1: In machine zero return, 4th deceleration signal (DEC4) and one-revolution signal
(PC4) are
parallel(use one proximity switch as the deceleration signal and zero signal)
0: In machine zero return, 4th deceleration (DEC4) and one-revolution signal (PC4) is
separately connected (need the separate deceleration signal and zero signal)
Bit2 1: DECY and PCY signals are in parallel (a proximity switch taken as both DECY and
zero
signals) during machine zero return
0: DECY and PCY signals are separate (separate DECY and zero signals needed) during
machine zero return
Bit1 1: DECZ and PCZ signals are in parallel (a proximity switch taken as both DECZ and
zero
signals) during machine zero return
0: DECZ and PCZ signals are separate (separate DECZ and zero signals needed) during
machine zero return
Bit0 1: DECX and PCX signals are in parallel (a proximity switch taken as both DECX and
zero
signals) during machine zero return
0: DECX and PCX signals are separate (separate DECX and zero signals needed) during
machine zero return
0 0 8 *** *** *** DIR5 DIR4 DIRY DIRZ DIRX
TOMATECH AUTOMATION
372
Volume Connection
0: Direction signal (DIR) is low level as Y axis moves negatively
Bit1 1: Direction signal (DIR) is high level as Z axis moves positively
0: Direction signal (DIR) is high level as Z axis moves negatively
Bit0 1: Direction signal (DIR) is high level as X axis moves positively
0: Direction signal (DIR) is high level as X axis moves negatively
0 0 9 *** *** *** 5ALM 4ALM YALM ZALM XALM
Bit4 1: 5th alarm signal (ALM5) is LOW alarm
0: 5th alarm signal (ALM5) is HIGH alarm
Bit3 1: 4th alarm signal (ALM5) is LOW alarm
0: 4th alarm signal (ALM5) is HIGH alarm
Bit2 1: Y alarm signal (YALM) is low level alarm
0: Y alarm signal (YALM) is high level alarm
Bit1 1: Z alarm signal (ZALM) is low level alarm
0: Z alarm signal (ZALM) is high level alarm
Bit0 1: X alarm signal (XALM) signal is low level alarm
0: X alarm signal (XALM) signal is high level alarm
0 1 0 *** *** *** CPF5 CPF4 CPF3 CPF2 CPF1
Bit0~ Bit4: Pulse frequency setting values of backlash offset (by BCD code)
The set frequency =(setting value+1) Kpps
CPF5 CPF4 CPF3 CPF2 CPF1
Set frequency
(Kpps)
000001
000012
000103
000114
001005
001016
001107
001118
010009
0 1 0 0 1 10
0 1 0 1 0 11
0 1 0 1 1 12
0 1 1 0 0 13
0 1 1 0 1 14
TOMATECH AUTOMATION
0 1 1 1 0 15
0 1 1 1 1 16
1 0 0 0 0 17
1 0 0 0 1 18
1 0 0 1 0 19
1 0 0 1 1 20
1 0 1 0 0 21
1 0 1 0 1 22
Chapter 3 Parameters
373
Volume Connection
1 0 1 1 0 23
1 0 1 1 1 24
1 1 0 0 0 25
1 1 0 0 1 26
1 1 0 1 0 27
1 1 0 1 1 28
1 1 1 0 0 29
1 1 1 0 1 30
1 1 1 1 0 31
1 1 1 1 1 32
0 1 1 BDEC BD8 *** *** NORF ZNIK *** ***
Bit7 1: Backlash offset type B, the offset data are output by ascending or descending type
and the
set frequency is inactive;
0: Backlash offset type A, the offset data are output by the set frequency (by bit parameter
No.010) or 1/8 of it.
Bit6 1: Backlash offset is done by the 1/8 of the set frequency
0: Backlash offset is done by the set frequency
Bit3 1: Manual machine zero return inactive
0: Manual machine zero return active
Bit2 1: Direction key locked during zero return, homing continues to end by pressing
direction key
once;
0: Direction key unlocked, which is held on during zero return
0 1 2 APRS WSFT DOFSI *** EAL *** EBCL ISOT
Bit7 1: Automatic ABSOLUTE set after reference return,;
0: ABSOLUTE not automatically set after reference return
Bit6 1: Workpiece coordinate offset active, defined by offset No.000
0: Workpiece coordinate offset inactive
Bit5 1: Trial tool setting active
0: Trial tool setting inactive
Bit3 1: Program editing allowed during CNC alarming
0: Program editing unallowed during CNC alarming
TOMATECH AUTOMATION
374
Volume Connection
0: Program editing unallowed during CNC alarming
Bit0 1: Prior to machine zero return after power on, manual rapid traverse active
0: Prior to machine zero return after power on, manual rapid traverse inactive
0 1 3 *** *** *** HW5 HW4 HWY HWZ HWX
Bit4 1: Coordinates increase in 5th MPG (CCW) rotation
0: Coordinates increase in 5th MPG (CW) rotation
Bit3 1: Coordinates increase in 4th MPG (CCW) rotation
0: Coordinates increase in 4th MPG (CW) rotation
Bit2 1: Coordinates increase in Y MPG (CCW) rotation
0: Coordinates increase in Y MPG (CW) rotation
Bit1 1: Coordinates increase in Z MPG (CCW) rotation
0: Coordinates increase in Z MPG (CW) rotation
Bit0 1: Coordinates increase in X MPG (CCW) rotation
0: Coordinates increase in X MPG (CW) rotation
0 1 4 *** *** *** ZRS5 ZRS4 ZRSY ZRSZ ZRSX
Bit 4, Bit3, Bit2, Bit1, Bit0
1: 5th, 4th, Y, Z, X have the machine zeroes. The system needs to check the deceleration
signal
and zero signal in executing the machine zero return
0: 5th, 4th, Y, Z, X have no machine zeroes. The system does not check the deceleration
signal
and zero signal till it returns to the zero of machine coordinate in executing the machine
zero return
0 1 7 SCRD *** RSCD *** TSD QNI TSL TS1
Bit7 1:Coordinate system is stored before power-off;
0: Coordinate system is not stored before power-off; the default system is set by G54 after
power-on;
Bit5 1: Coordinate system is set by G54 after reset;
0: Coordinate system is not changed after reset;
TOMATECH AUTOMATION
Bit3 1: Movement direction discrimination is valid during offset measurement 4 point input;
0: Movement direction discrimination is invalid during offset measurement 4 point input;
Bit2 1: Tool offset number is set through G signal;
0: Tool offset number is set through the current cursor;
Bit1 1 Tool offset measurement detection signal is valid at low level;
0: Tool offset measurement detection signal is valid at high level;
Bit0 1:Tool offset automatic measurement detection signal 1 point input;
0: Tool offset automatic measurement detection signal 4-point input;
1 7 2 *** MST MSP MOT ESP *** LZR ***
Bit6 1: External cycle start signal (ST) inactive, it is not the cycle start switch and can be
defined
by macro code (#1014)
0: External cycle start signal (ST) active
Bit5 1: External SP signal inactive, and it is not the stop switch and can be defined by
macro
code.( #1015)
Chapter 3 Parameters
375
Volume Connection
0: External SP signal active with external dwell switch needed, otherwise CNC shows
Stop.mailto:M@SP=1
Bit4 1: Not detect software stroke limit
0: Detect software stroke limit
Bit3 1: Emergency stop inactive
0: Emergency stop active
Bit1 1: Software limit is inactive after power-on and before machine zero return;
0: Software limit is active after power-on and before machine zero return;
1 7 4 *** *** *** *** KEY1 *** *** ***
Bit3 1: Program switch ON at power on
0: Program switch OFF at power on
1 7 5 SPFD SAR THDA VAL5 VAL4 VALY VALZ VALX
Bit7 1: In cutting feed, do not permit the spindle stopping rotation; the spindle stops, the
feed also
stops when the system appears No.404 alarm cutting
0: In cutting feed, permit the spindle stops rotation; the spindle stops rotation, but the feed
does not stop
Bit6 1: Detect spindle SAR signal prior to cutting
0: Not detect spindle SAR signal prior to cutting
Bit5 1: Thread machining is the exponential acceleration/deceleration
0: Thread machining is the linear acceleration/deceleration
Bit4 1: 5th movement key is positive, is negative
0: 5th movement key is positive, is negative
Bit3 1: 4th movement key is positive, is negative
0: 4th movement key is positive is negative
TOMATECH AUTOMATION
376
Volume Connection
1 8 1 RLC MRC ZCL *** MCL *** *** LCNMD
Bit7 1: G52 local coordinate system is cancelled after reset;
0: G52 local coordinate system is not cancelled after reset;
Bit6 1: G52 local coordinate system is cancelled after the execution of M30, M02;
0: G52 local coordinate system is not cancelled after the execution of M30, M02;
Bit5 1: G52 local coordinate system is cancelled after reference point return;
0: G52 local coordinate system is not cancelled after reference point return;
Bit3 1: Blocks edited in MDI mode are deleted after reset;
0: Block edited in MDI mode are not deleted after reset;
Bit0 1: In linear chamfering, L means the length between chamfering point and cross
point;
0: In linear chamfering, L means the length of chamfering;
1 8 3 *** *** *** MZR5 MZR4 MZRY MZRZ MARX
Bit4 1: for 5th, press key to execute the machine zero return
0:for 5th, press key to execute the machine zero return
Bit3 1: for 4th, press to execute the machine zero return
0: for 4th, press to execute the machine zero return
Bit2 1: for Y, press to execute the machine zero return
0: for Y, press to execute the machine zero return
Bit1 1:for Z, press to execute the machine zero return
0: for Z, press to execute the machine zero return
Bit0 1: for X, press to execute the machine zero return
0: for X, press to execute the machine zero return
1 8 4 *** *** *** *** *** L2 L1 L0
Bit0, Bit1, Bit2: Language selection:
Language Bit2 Bit1 Bit0
Chinese 0 0 0
English 0 0 1
Portuguese 0 1 0
Spanish 0 1 1
TOMATECH AUTOMATION
Russian 1 1 0
1 8 5 SK0 SKF AEO *** *** *** PRPD PLA
Bit7 1: Skip input active as G31 signal is 0
Chapter 3 Parameters
377
Volume Connection
0: Skip input active as G31 signal is 1
Bit6 1: Feedrate override per minute or dry run active for G31
0: Feedrate override per minute or dry run inactive for G31
Bit5 1: Input active if G36, G37 (XAE, ZAE) signal is 0
0: Input active if G36, G37 (XAE, ZAE) signal is 1
Bit1 1: Axis rapid traverse rate of PLC by input value
0: Axis rapid traverse rate of PLC by parameter value (X axis: No.022Z axis:No.023Y
axis:No.134)
Bit0 1: PLC axis control active, active after repowering
0: PLC axis control inactive, active after repowering
1 8 6 RTORI SRS *** *** *** RTCRG *** ***
Bit7 1: In executing M29, the spindle executes the machine zero return
0: In executing M29, the spindle does not execute the machine zero return
Bit6 1: The spindle selection signal is RGTSPn in the multiple spindle rigid tapping
0: The spindle selection signal is SWSn in the multiple spindle rigid tapping
Bit2 1: In rigid tapping cancel, do not wait for G61.0 to be 0 in executing the next block
0: In rigid tapping cancel, wait for G61.0 to be 0 in executing the next block
1 8 7 IS1 IS0 RCS *** *** *** ROS ROT
[Data type]Bit axis
BIT7, BIT6set increment system of each axis.00accordance with increment system of
the system.
01IS-A10IS-B11IS-C
Bit5 1Cs axis function of the additional axis is valid (power-on again);
0Cs axis function of the additional axis is invalid (power-on again).
Bit1, Bit0 : 00: set the additional axis to the linear axis; 01: set the additional axis to the
rotary axis
A type;11: set the additional axis to the rotary axis (B type); 10: set the additional
axis to be invalid.
Note: The parameter is invalid to setting of X, Z axis.
1 8 8 *** RRT *** *** *** RRL RAB ROA
[Data type]bit axis
Bit6 1Zero return D mode is used when the additional axis is a rotary axis;
0Zero return A, B, C mode is used when the additional axis is a rotary axis (power-on
again).
Bit2 1The relative coordinate cycle function is valid when the additional axis is rotary;
0The relative coordinate cycle function is invalid when the additional axis is
rotary(power-on
again).
TOMATECH AUTOMATION
Bit1 1The rotation direction is based on that of sign when the additional axis is rotary;
0The rotation direction is based on the nearby principle when the additional axis is rotary.
Bit0 1The absolute coordinate cycle function is valid when the additional axis is rotary;
0The absolute coordinate cycle function is invalid when the additional axis is rotary
(power-on again).
378
Volume Connection
Note: The parameter is invalid to setting of X, Z axis.
1 9 6 MSI CSS *** MSEN *** *** *** ***
Bit7 1: The multiple spindle control B
0: The multiple spindle control A
Bit6 1: Cs control of each axis is executed in the multiple spindle control
0: Cs control of only the 1st spindle is executed in the multiple spindle control
Bit4 1: The multiple spindle control is enabled
0: The multiple spindle control is disabled
2 0 3 *** *** *** ABP5 ABP4 ABPY ABPZ ABPX
Bit4 1: 5th pulse outputs based on the two-phase quadrature
0: 5th pulse outputs based on (pulse+direction)
Bit3 1: 4th pulse outputs based on the two-phase quadrature
0: 4th pulse outputs based on (pulse+direction)
Bit2 1: Y pulse outputs based on the two-phase quadrature
0: Y pulse outputs based on (pulse+direction)
Bit1 1: Z pulse outputs based on the two-phase quadrature
0: Z pulse outputs based on (pulse+direction)
Bit0 1: X pulse outputs based on the two-phase quadrature
0: X pulse outputs based on (pulse+direction)
3.1.2 Data parameter
0 1 5 CMRn
Data type Word axis
Data meaning Pulse frequency multiplication coefficient
Data range 132767
0 1 6 CMDn
Data type Word axis
Data meaning Pulse frequency division coefficient;
Data range 132767
Explanation: Formula of electric gear ratio::
D
Z
Z
L
C
CMD
TOMATECH AUTOMATION
CMR 4* * *
=
: Least command increment;
ZM: Teeth number of pulley on leading screw side;
C: Motor encoder line number;
ZD Teeth number of pulley on motor side;
L: Screw lead
0 1 9 THDCH
Data meaning Run-out length in threading
Data range 0225
Thread run-out width= THDCH0.1screw lead
0 2 1 PSANGNT
Data type Word spindle
Chapter 3 Parameters
379
Volume Connection
Data meaning Voltage offset value when spindle max. speed analog voltage output is
10V
Data unit mV
Data range -20002000(Unit: mV)
0 2 2 RPDFn
Data type Word axis
Data meaning Maximum rapid traverse rate of all axes
Data unit
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
Data range 1099999999
0 2 3 LINTn
Data type Word axis
Data meaning Acceleration/deceleration time constant of each axis during rapid
traverse
Data unit ms
Data range 0~4000
0 2 6 THRDT
Data meaning ACC&DEC time constant of short axis in thread run-out
Data unit ms
Data range 04000
0 2 7 FEDMX
Data meaning Upper limits of axis cutting feed
Data unit
Setting unit Data unit
TOMATECH AUTOMATION
380
Volume Connection
Metric
machine 68000 68000
Inch machine 33000 33000
0 2 9 FEEDT
Data meaning Exponential ACC&DEC time constant of cutting and manual feed
Data unit ms
Data range 04000
0 3 0 FEDFL
Data meaning Exponential acceleration start speed and deceleration end speed in
cutting
feed
Data unit
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
Data range
IS-B IS-C
Metric machine 08000 08000
Inch machine 03000 03000
0 3 1 JOGSPEED
Data meaning the set speed when the manual feedrate override is 100%
Data unit
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
Data range 1030000
0 3 2 RPDFLn
TOMATECH AUTOMATION
0 4 0 GRMAX4
Data meaning GRMAX1, GRMAX2, GRMAX3, GRMAX4: Max. speeds of gear 1, 2, 3,
4
respectively when spindle analog voltage output is 10V (the function defined
byTAC-1002T PLC is: if the spindle automatic gearing is active, it uses the
speeds of M41, M42, M43, M44; if the automatic gearing is inactive or CNC is
powered on, the gear is memorized by parameter or the gear 1 is defaulted.)
Data unit r/min
Data range 109999
382
Volume Connection
0 4 1 JOGFL
Data meaning Exponential ac-deceleration start speed and deceleration final speed in
manual feed
Data unit
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
Data range 08000
0 4 2 SEQINC
Data meaning Block No. increment for auto block No. insertion
Data range 1100
0 4 3 LOWSP
Data meaning (G96) Spindle min. speed under the constant surface speed control
Data unit r/min
Data range 09999
0 4 4 BRATE0
Data meaning Serial communication baud rate,
Data unit bit/s
Data range 1200,2400,4800,9600,19200,38400 57600 115200
0 4 5 LT1X1
0 4 6 LT1Z1
Data type Word axis
Data meaning LT1X1X,LT1Z1Zpositive max. travelLT1X2X,LT1Z2Z
negative
max. travel
Data unit
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
Data range -9999999999999999
Note: If the BIT2 of the parameter No.001 is set for diameter, the X axis value is specified by
diameter; if for
TOMATECH AUTOMATION
program
code in auto running
Data unit
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
Data range -99999999999999
0 5 5 PATIM
Data meaning Cycle times of G73, which may also be changed by program code in
auto
running
384
Volume Connection
Data unit times
Data range 19999
0 5 6 GROVE
Data meaning Retraction value of Z axis in G74; retraction value of X axis in G75; a
specified
value in program during automatic running can also change the setting of this
parameter;
Data unit
Setting unit IS-B IS-C
Metric input 0.001 mm 0.0001 mm
Inch input 0.0001 inch 0.00001 inch
Data range 099999
0 5 7 THRPT
Data meaning Repetitions of G76 finish machining, which may also be changed by
program
code in auto running
Data unit times
Data range 199
0 5 8 THANG
Data meaning Tool nose angle of G76 cycle, which may also be changed by program
code in
auto running
Data unit deg
Data range 099
0 5 9 THCLM
Data meaning Min. cut depth of G76 cycle, which may also be changed by program
code in
auto running
Data unit
Setting unit IS-B IS-C
TOMATECH AUTOMATION
0 7 3 SPMOTORMAX
Data type Word spindle
Data meaning Max. spindle motor clamping speed, setting value=(max. spindle motor
clamping speed/max. spindle motor speed) 4095
Data unit r/min
Data range 04095
Setting value =max. clamp speed of spindle/max. speed of spindle motor4095.
386
Volume Connection
0 7 4 SPMOTORMIN
Data meaning Min. spindle motor clamping speed, setting value=(min. spindle motor
clamping speed/max. spindle motor speed) 4095
Data unit r/min
Data range 04095
min. clamping speed of spindle motor/max. speed of spindle motor4095
Setting value =
0 7 5 SPSPEEDLIMIT
Data type Word spindle
Data meaning Maximum spindle rev speed(0~6000r/min)[0:unlimited]
Data unit r/min
Data range 06000
0 8 4 TMAX
Data meaning Total tools number selection
Data unit piece
Data range 132
0 9 6 PECMINn
Data type Word axis
Data meaning Minimum pitch error compensation position number
Data range 01023
0 9 7 PECMAXn
Data type Word axis
Data meaning Maximum pitch error compensation position number
Data range 01023
0 9 8 PECORGn
Data type Word axis
Data meaning Pitch error compensation position numbers corresponding to machine
zero
points
Chapter 3 Parameters
387
Volume Connection
Data range 01023
0 9 9 PECINTn
Data type Word axis
TOMATECH AUTOMATION
388
Volume Connection
Data meaning Gear ratio of encoder to spindle: encoder gear teeth number
Data range 1255
1 1 3 REF_SPDn
Data type Word axis
Data meaning Axes rapid traverse rates in machine zero return
Data unit
TOMATECH AUTOMATION
Data range
IS-B IS-C
Metric input 199999 1999999
Inch input 199999 1999999
1 4 1 AUTO_OFFSET_FEED
Data meaning Feedrate in automatic tool offset measure
Data unit
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
Data range
IS-B IS-C
Metric machine 151000 151000
Inch machine 7375 7375
1 4 2 AUTO_OFFSET_Y_X
1 4 3 AUTO_OFFSET_Y_Z
Data meaning XAUTO_OFFSET_Y_X,ZAUTO_OFFSET_Y_Z values in
automatic tool
offset
Data unit
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
Data range 19999999
Note: X setting value is the radius in diameter or radius programming
1 4 4 AUTO_OFFSET_E_X
1 4 5 AUTO_OFFSET_E_Z
Data meaning AUTO_OFFSET_E_XX,AUTO_OFFSET_E_ZZ values in
automatic tool
offset
Data unit
390
Volume Connection
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
Data range 19999999
Note: X setting value is the radius in diameter or radius programming
1 5 4 RADIUS_ERR_RANGE
Data meaning Max. arc radius error
Data unit
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
TOMATECH AUTOMATION
392
Volume Connection
Z 90 B 66 Y 89
2 3 0 ATTRIB_n
Data meaning ATTRIB_n is the additional attribution setting
Data range 0~7
Setting value Meaning
0 It is neither the three basic axes and an axis parallel to them
1 X axis of the three basic axes
2 Y axis of the three basic axes
3 Z axis of the three basic axes
5 An axis parallel to X
6 An axis parallel to Y
7 An axis parallel to Z
2 3 5 POLARLINEAXIS
Data meaning Linear axis setting of the polar coordinate interpolation
Data range 0~4
Setting value Meaning
TOMATECH AUTOMATION
0 X axis
1 Z axis
2 Y axis
3 4th axis
4 5th axis
2 3 6 POLARTOSAXIS
Data meaning Rotary axis setting of the polar coordinate interpolation
Data range 2~4
Setting value Meaning
2 Y axis
3 4th axis
4 5th axis
2 3 7 ACCEPTANGLEERR
Data meaning Maximum fluctuating value when the angle is 0or 180for C tool offset
C
Data range
IS-B IS-C
01000 010000
2 4 0 HWRPDFRATE
Data meaning Rapid traverse override of MPG trial cut function
Data range 0100
Chapter 3 Parameters
393
Volume Connection
2 4 1 HWPULSEINC
Data meaning Movement amount per pulse during trial cut function
Data range 0100
3.1.3 PLC parametersstandard PLC definition
3.1.3.1 K parameters
K 1 0 LMIT LMIS *** JSPD OVRI *** RSJG RRW
Bit7 1: overtravel of each axis is enabled;
0: overtravel of each axis is disabled.
Bit6 1: alarm for overtravel signal LOW of each axis;
0: alarm for overtravel signal LOW of each axis
Bit4 1: spindle JOG is enabled in any modes;
0: spindle JOG is enabled in Manual, MPG, Zero Return mode.
Bit3 1: feedrate override is fixed to 100%;
0: feedrate override can be adjusted.
Bit1 1: spindle lubricating, cooling output remain in reset;
0: spindle lubricating, cooling output are disabled in reset.
Bit0 1: the cursor returning to the beginning of the program is enabled in any working
mode in
reset;
0: the cursor returning to the beginning of the program is enabled in Edit working mode.
TOMATECH AUTOMATION
394
Volume Connection
Bit2 1: in outer mode, NQPJ is the outer chuck released signal, and WQPJ is the outer
chuck
clamped signal;
0: in inner mode, NQPJ is the inner chuck clamped signal, and WQPJ is the inner chuck
released signal.
Bit1 1: the system does not check whether the chuck is clamped when the chuck function
is
enabled;
0: the system checks whether the chuck is clamped when the chuck function is enabled;
when the chuck is not clamped, the system cannot start the spindle and alarms.
Bit0 1: the chuck control function is enabled;
0: the chuck control function is disabled.
K 1 3 RTSC SPTW SLTW
Bit2 1: External tailstock control is enabled during program running;
0: External tailstock control is disabled during program running;
Bit1 1: the spindle rotation and the tailstock forward/backward does not interlock, the
tailstock
executes the forward no matter what the spindle is in any states; the spindle rotates no
matter what the tailstock is in any states;
TOMATECH AUTOMATION
0: the spindle rotation and the tailstock forward/backward interlock, the tailstock cannot
execute the forward when the spindle rotates; the spindle cannot be started when the
tailstock does not execute the forward.
Bit0 1: the tailstock control function is enabled;
0: the tailstock control function is disabled.
K 1 4 HPST SGSP SPB4 PB4 SPB3 PB3
Bit7 1: the hydraulic control function is enabled;
0: the hydraulic control function is disabled.
Bit4 1: Spindle is enabled when the protection door is open
0: Spindle is disabled when the protection door is open;
Bit3 1: when SAGT is connected with +24V, the safety door is disabled;
0: when SAGT is not connected with +24V, the safety door is disabled.
Bit2 1: the safety door check function is enabled;
0: the safety door check function is disabled.
Bit1 1: when PRES is not connected with +24Vthe system alarms for pressure LOW;
0: when PRES is connected with +24Vthe system alarms for pressure LOW.
Bit0 1: the pressure LOW check function is enabled;
0: the pressure LOW check function is disabled.
K 1 5 RCS RSCS SPOR SHT AGIM AGIN AGER
Bit7 1: Cs function is enabled;
0: Cs function is disabled.
Bit6 1: the spindle contour control is disabled in emergency stop, reset;
0: the spindle contour control is enabled in emergency stop, reset.
Bit5 1: the spindle eight-point orientation function is enabled;
0: the spindle eight-point orientation function is disabled.
Bit3 1: the spindle gear power-down memory;
0: the spindle gear power-down does not execute the memory.
Chapter 3 Parameters
395
Volume Connection
Bit2 1: the gear in-position signal M41I, M42I which are not connected with +24V is
enabled;
0: the gear in-position signal M41I, M42I which are connected with +24V is enabled.
Bit1 1: when the spindle automatic gear change is to Gear 1, 2, the system checks the
gear
change in-position signal M41I, M42I;
0: when the spindle automatic gear change is to Gear 1, 2, the system does not check the
gear change in-position signal M41I, M42I.
Bit0 1: the spindle automatic gear change function is enabled;
0: the spindle automatic gear change function is disabled
K 1 6 SINC SINC2 SPWM CLWM M32A ROVI SOVI
Bit7 1: When StepMPGmode1000-gear is disabled,1, 10, 100 gear is enabled;
0: When StepMPGmode1000-gear is disabled,1, 10, 100, x1000 gear is enabled.
Bit6 1: When the increment is 1u, gear 1000 in STEP (MPG) mode is disabled;
TOMATECH AUTOMATION
0: When the increment is 1u, gear 1000 in STEP (MPG) mode is enabled;
Bit5 1: When spindle stop command is in the same block with movement command, these
commands are executed at the same time;
0: When spindle stop command is in the same block with movement command,
movement
command comes first to spindle stop command;
Bit4 1: When cooling OFF command and movement command are in the same block, they
are
executed at the same time;
0: When cooling OFF command and movement command are in the same block,
movement
command comes first to the cooling OFF command;
Bit2 1: the lubricating outputs in power-on when the automatic lubricating is enabled;
0: the lubricating does not output in power-on when the automatic lubricating is enabled.
Bit1 1: the external feedrate override inverses;
0: the external feedrate override does not inverse.
Bit0 1: the external feedrate override switch is enabled
0: the external feedrate override switch is disabled.
K 1 7 MSEN SCLP SALM2 SALM SSTP SONC
Bit7 1: the multiple spindle control function is enabled;
0: the multiple spindle control function is disabled.
Bit6 1: the spindle clamped command clamps the 2nd spindle when the multiple spindle is
enabled;
0: the spindle clamped command clamps the 1st spindle when the multiple spindle is
enabled
Bit5 1: the system alarms when the 2nd spindle is LOW;
0: the system alarms when the 2nd spindle is HIGH.
Bit4 1: the system alarms when the spindle is LOW;
0: the system alarms when the spindle is HIGH.
Bit3 1: the analog voltage is disabled when the spindle stops;
0: the analog voltage is enabled when the spindle stops.
Bit2 1: Spindle is disabled when clamping;
0: Spindle motor torque decreases to 0 when spindle is clamping;
K 1 8 EXTM RSTM HOLD *** MDOK MD4 MD2 MD1
396
Volume Connection
Bit7 1: extended M function is valid;
0: extended M function is invalid
Bit6 1: extended M function remains output when emergency stop, reset;
0: extended M function output closes when emergency stop, reset.
Bit5 1: HOLD release control is valid;
0: HOLD release control is invalid.
Bit3 1: the operation mode is specified by MD4, MD2, MD1 state when the system is
TOMATECH AUTOMATION
turned on;
0: the operation mode is the state which is that of power-off when the system is turned on.
MD4 MD2 MD1 Operation mode in power-on
0 0 0 MDI mode
0 0 1 Auto mode
0 1 0 Program zero return
0 1 1 Edit mode
1 0 0 MPG mode
1 0 1 Manual mode
1 1 0 Machine zero return
3.1.3.2 DT parameter
Address Meaning
DT000 Time for original gear disabling during spindle automatic
gear changing (ms)
DT001 Delay time after the changed spindle gear is in position (ms)
DT002 Detection time for low pressure alarm (ms)
DT004 Permit time for tool changing (ms)
DT005 M command execution time (ms)
DT006 S command execution time (ms)
DT007 Delay time for tool post from CW to CCW output (ms)
DT008 Tool post lock signal detection time (ms)
DT009 Tool post CCW rotation lock time (ms)
DT010 Spindle braking delay output time (ms)
DT011 Spindle braking output time (ms)
DT012 Spindle JOG time (ms)
DT013 Time for manual lubricating ON (0: time is not limited) (ms)
DT014 Chuck clamping command execution time (ms)
DT015 Chuck unclamping command execution time (ms)
DT016 Interval of automatic lubricating (ms) (can be modified
directly)
DT017 Time for automatic lubrication output (ms) (can be modified
directly)
DT018 Chuck pulse output width (ms) (can be modified directly)
DT020 Spindle clamping/unclamping time (ms)
DT021 Spindle stop, chuck enable delay time (ms)
DT023 Delay time before spindle motor torque decreases to 0 after
spindle starts clamping
Chapter 3 Parameters
397
Volume Connection
3.1.3.3 DC parameters
Address Meaning
DC000 Spindle zero speed output range (r/min)
TOMATECH AUTOMATION
398
Volume Connection
Bit0 1: X alarm signal (XALM) is LOW alarm;
0: X alarm signal (XALM) is HIGH alarm.
This parameter may be adjusted based on the drive unit alarm signal level output.
1 7 5 SPFD
SPFD =1: Feeding stops if spindle stops in cutting
=0: Feeding not stop if spindle stops in cutting
TOMATECH AUTOMATION
1 8 7 IS1 IS0
[Data type]: Bit axis
BIT7, BIT6set increment system of each axis. 00accordance with increment system of
the
system; 01IS-A10IS-B11IS-C.
2 0 3 *** *** *** ABP5 ABP4 ABPY ABPZ ABPX
Bit4 1: 5th pulse outputs according to the two-phase quadradure (need to power-on again);
0: 5th pulse outputs according to (pulse + direction) (need to power-on again).
Bit3 1: 4th pulse outputs according to the two-phase quadradure (need to power-on again);
0: 4th pulse outputs according to (pulse + direction) (need to power-on again).
Bit2 1: Y pulse outputs according to the two-phase quadradure (need to power-on again);
0: Y pulse outputs according to (pulse + direction) (need to power-on again).
Bit1 1: Z pulse outputs according to the two-phase quadradure (need to power-on again);
0: Z pulse outputs according to (pulse + direction) (need to power-on again).
Bit0 1: X pulse outputs according to the two-phase quadradure (need to power-on again);
0: X pulse outputs according to (pulse + direction) (need to power-on again).
3.2.2 Acceleration & deceleration control
0 2 2 RPDFn
Data type Word axis
Data meaning max. speed of X rapid traverse (radius value)
Data unit
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
Data range 1099999999
0 2 3 LINTn
Data type Word axis
Data meaningAcceleration/deceleration time constant value
Data unit ms
Data range 104000
0 2 7 FEDM
Data meaning Upper limit of cutting feedrate
Data unit
Setting unit Data unit
Chapter 3 Parameters
399
Volume Connection
Metric machine mm/min
Inch machine 0.1inch/min
Data range
IS-B IS-C
Metric machine 1015000 1015000
Inch machine 55800 105800
0 2 9 FEEDT
TOMATECH AUTOMATION
Data meaning Acceleration/deceleration time constant during cutting feed and manual
feed
Data unit ms
Data range 04000
0 3 0 FEDFL
Data meaning The starting speed of cutting feed
Data unit
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
Data range
IS-B IS-C
Metric machine 08000 08000
Inch machine 03000 03000
0 3 1 JOGSPEED
Data meaning Set speed when manual feedrate override is 100%
Data unit
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
Data range 1030000
0 3 2 RPDFLn
Data type Word axis
Data meaning The rapid traverse rate when the override is F0
Data unit
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
Data range
IS-B IS-C
400
Volume Connection
Metric machine 04000 04000
Inch machine 01500 01500
3.2.3 Precision compensation
0 0 3 PEC
Bit5 1: Pitch error offset active
0: Pitch error offset inactive
0 1 0 *** *** *** CPF5 CPF4 CPF3 CPF2 CPF1
CPF4~CPF1: Setting values of backlash offset pulse frequency (by BCD code)
The set frequency =(setting value+1) Kpps
CPF5 CPF4 CPF3 CPF2 CPF1 Set frequency(Kpps)
000001
TOMATECH AUTOMATION
000012
000103
000114
001005
001016
001107
001118
010009
0 1 0 0 1 10
0 1 0 1 0 11
0 1 0 1 1 12
0 1 1 0 0 13
0 1 1 0 1 14
0 1 1 1 0 15
0 1 1 1 1 16
1 0 0 0 0 17
1 0 0 0 1 18
1 0 0 1 0 19
1 0 0 1 1 20
1 0 1 0 0 21
1 0 1 0 1 22
1 0 1 1 0 23
1 0 1 1 1 24
1 1 0 0 0 25
1 1 0 0 1 26
1 1 0 1 0 27
1 1 0 1 1 28
1 1 1 0 0 29
1 1 1 0 1 30
1 1 1 1 0 31
Chapter 3 Parameters
401
Volume Connection
1 1 1 1 1 32
0 1 1 BDEC BD8
BDEC 1: Backlash offset type B, the offset data are output by ascending or
descending type and the set frequency is inactive;
0: Backlash offset type A, the offset data are output by the set frequency (by bit parameter
No.010) or 1/8 of it;
BD8 1: Backlash offset is done by the 1/8 of the set frequency
0: Backlash offset is done by the set frequency
0 3 4 BKLn
Data type Word axis
Data meaning BKLXX axis,BKLZZ axisbacklash compensation.
TOMATECH AUTOMATION
Data unit
Set unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
Inch machine 0.0001 inch 0.00001 inch
Data range 2000 20000
Data range 02000
Note: X is diameter value.
0 9 6 PECMINn
Data type Word axis
Data meaning Minimum pitch error compensation number
Data range 01023
0 9 7 PECMAXn
Data type Word axis
Data meaning Maximum pitch error compensation number
Data range 01023
0 9 8 PECORGn
Data type Word axis
Data meaning Pitch error compensation number corresponding to machine zero
Data range 01023
0 9 9 PECINTn
Data type Word axis
Data meaning Pitch error compensation intervals
Data unit
Setting unit IS-B IS-C
Metric machine 0.001 mm 0.0001 mm
402
Volume Connection
Inch machine 0.0001 inch 0.00001 inch
Data range
IS-B IS-C
Metric machine 1000999999 100009999999
Inch machine 400999999 40009999999
3.2.4 Machine protection
1 7 2 *** MST MSP MOT ESP *** LZR ***
Bit6 1: External cycle start signal (ST) inactive, it is not the cycle start switch and can be
defined by
macro code (#1014)
0: External cycle start signal (ST) active.
Bit5 1: External SP signal inactive, and it is not the dwell switch and can be defined by
macro code.
( #1015)
0: External SP signal active with external dwell switch connected, otherwise CNC shows
stop.mailto:M@SP=1
TOMATECH AUTOMATION
404
Volume Connection
0: 5th, 4th, Y, Z, X has no machine zero, the system does not detect DEC signal and zero
signal and directly executes machine zero return
1 8 3 *** *** *** MZR5 MZR4 MZRY MZRZ MZRX
Bit4 1: For the 5th axis, press to execute machine zero return
0: For the 5th axis, press to execute machine zero returnhas not defined the press key
in the standard PLC
Bit3 1: For the 4th axis, press to execute the machine zero return
0: For the 4th axis, press to execute the machine zero return.
Bit2 1: For Y axis, press to execute the machine zero return
0: For Y axis, press to execute the machine zero return.
Bit1 1: For Z axis, press to execute the machine zero return
TOMATECH AUTOMATION
406
Volume Connection
3.2.6 Threading function
1 7 5 THDA
THDA 1: Exponential ACC&DEC for threading
0: Linear ACC&DEC for threading
0 1 9 THDCH
Data meaning thread run-out length in thread cutting.
Data range 0225
Thread run-out width=THDCH0.1thread lead
0 2 6 THRDT
Data meaning short acceleration/deceleration time constant in thread run-out.
Data unit ms
Data range 04000
0 2 8 THDFL
Data meaning X, Z initial speed in thread cutting.
Data unit
Set unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
Data range 68000
0 7 0 ENCODER_CNT
Data meaning spindle encoder lines.
TOMATECH AUTOMATION
Data unit mV
Data range 010000
0 6 8 SJOGREV
Data meaning spindle rotary axis speed in Manual (MPG) mode.
Data unit r/min
Data range 03000
0 6 9 PEALMTIM
Data meaning pressure low alarm time width.
Data unit ms
Data range 060000
0 7 0 ENCODER_CNT
Data meaning spindle encoder lines.
Data unit line/r
408
Volume Connection
Data range 1005000
0 7 1 RESET_TIME
Data meaning reset signal output time.
Data unit ms
Data range 164080
0 7 2 SAR_DELEY
Data meaning spindle speed arrival signal delay check time.
Data unit ms
Data range 04080
0 7 3 SPMOTORMAX
Data meaning max. clamp speed of spindle motor speed.
Data unit r/min
Data range 04095
Setting value=max. clamp speed of spindle motor/its max. speed4095.
0 7 4 SPMOTORMIN
Data meaning min. clamp speed of spindle motor speed.
Data unit r/min
Data range 04095
Setting value=min. clamp speed of spindle motor/its min. speed4095.
0 7 5 SPSPEEDLIMIT
Data meaning max. spindle speed 0: not limit speed.
Data unit r/min
Data range 06000
1 0 9 SPL_REV_SPD
Data meaning rotary speed in spindle jog.
Chapter 3 Parameters
409
Volume Connection
TOMATECH AUTOMATION
410
Volume Connection
Inch input 199999 1999999
3.2.11 Edit and display
0 0 5 M30
M30 1: Cursor to beginning after M30
TOMATECH AUTOMATION
0: In STEP(MPG) mode and when the system increment is 1u, 1000 gear is valid
Note: to avoid the step-out, the parameter should be set to 1 when the system is matched with the
stepper
drive unit.
3.2.14 PLC axis control function
1 8 5 *** *** *** PRPD PLA
PRPD 1: Rapid traverse rate of PLC axis by input value
0: Rapid traverse rate of PLC axis by parameter value (X axis: No.022 Z axis:No.023
Y
axis:No.155;)
PLA 1: PLC axis control active, and active after repowering
0: PLC axis control inactive, and active after repowering
Note: The PLC axis control function is only provided by machine builder.
2 1 9 PLCDIDOn
Data type Word axis
Data meaning Select DI/DO in PLC axis control PLC
Data unit
Data range 04
3.2.15 Skip function
1 8 5 SK0 SKF *** *** ***
SK0 1: Skip input active as G31 signal is 0
0: Skip input active as G31 signal is 1
SKF 1: Feedrate override per minute or dry run active for G31
0: Feedrate override per minute or dry run inactive for G31
Note: The skip function is only provided by machine builder.
3.2.16 Automatic tool setting function
1 8 5 AEO *** *** ***
AWO 1: when G36, G37 signalXAEZAEis 0, the input is valid;
0: G36, G37 signalXAEZAEis 1, the input is valid.
1 4 1 AUTO_OFFSET_FEED
Data meaning feedrate in automatic tool compensation measure.
412
Volume Connection
Data unit
Set unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
Data range
IS-B IS-C
Metric machine 151000 151000
Inch machine 7375 7375
1 4 2 AUTO_OFFSET_Y_X
1 4 3 AUTO_OFFSET_Y_Z
TOMATECH AUTOMATION
414
Volume Connection
2 2 5 NAME_n
Data type Word axis
Data meaningaxis name definitions
Data range 65, 66, 67, 88, 89, 90
Axis name Setting value Axis name Setting value Axis name Setting value
X 88 A 65 C 67
Z 90 B 66 Y 89
2 3 0 ATTRIB_n
Data type Word axis
TOMATECH AUTOMATION
BIT2,
BIT1 and BIT0 (DIR5, DIR4, DIRY, DIRZ, DIRX separately corresponds to 5th, 4th, Y, Z, X)
of bit
parameter No.008.
The manual move direction can be set by BIT4,BIT3,BIT2,BIT1, BIT0 (5VAL, 4VAL, YVAL,
ZVAL,
XVAL separately corresponds to 5th, 4th, Y, Z, X movement key) of bit parameter No.175.
Z
Z
L
C
CMD
CMR 4* * *
416
Connection
CMR: Code multiplier coefficient (data parameter No.015)
CMD: Code frequency division coefficient (data parameter No.016)
C: Motor s encoder lines
* 50
4
= 4 * * * = 4 *5000 * 0.00005 =
D
Z
Z
L
C
CMD
CMR
The electronic gear ratio of Z axis is:
6
5
30
* 50
4
= 4 * * * = 4 *5000 * 0.0001 =
D
Z
Z
L
C
CMD
CMR
Then data parameter No.015X (CMRX) =5, No.016X (CMDX) =12; No.015Z(CMRZ) =5,
No.016Z
(CMDZ) =6.
If the electronic gear ratio numerator is more than the denominator, the allowed CNC max.
speed
will decrease. For example: the data parameter No.015Z (CMRZ) =2, No.016Z (CMDZ)
=1, so the
allowed Z axis max. speed is 12000mm/min.
If the electronic gear ratio numerator is not equal to the denominator, the allowed CNC
positioning precision may decrease. For example: the data parameter No.015Z(CMRZ)
=1,
No.016Z(CMDZ) =5, so the pulse is not output as the input increment is 0.0004, but a
pulse is output
when the input increment is 0.0005.
TOMATECH AUTOMATION
In order to ensure the CNC positioning precision and speed index, it is suggested that the
CNC
electronic gear ratio is set to 1:1 and the electronic gear ratio calculated is set to the digital
servo
when matching with digital servo.
When matching with the step drive, choose the drive unit with step division function as
possible
as it can, and properly select mechanical transmission ratio. The 1:1 electronic gear ratio
should be
ensured to avoid the excessive difference between the numerator and the denominator of
this CNC
electronic gear ratio.
constant is set too small, and the start/end speed is set too large, it is easily to cause
faults such as
drive unit alarm, motor out-of-step or machine vibration.
When the bit parameter No.007 BIT5(SMZ) =1, the feedrate drops to the start speed of
the
ACC&DEC at the cutting path intersection, then it accelerates to the specified speed of
the next block
to obtain an accurate positioning at the path intersection, but this will reduce the
machining efficiency.
When BIT5=0, the adjacent cutting path transits smoothly by the ACC&DEC. The feedrate
does not
always drop to the start speed when the previous path is finished and a circular transition
(non-accurate positioning) will be formed at the path intersection. The machining surface
by this path
transition has a good finish and a higher machining efficiency. When the stepper motor
drive unit is
applied, the BIT5 of the bit parameter No.007 should be set to 1 to avoid the out-of-step.
When the stepper motor drive unit is applied, the out-of-step may occur on the condition
that
rapid traverse speed is too big, ACC&DEC time constant is too small, ACC&DEC
start/end speed is
too big. The suggested parameter setting is as follows (the electronic gear ratio 1:1):
Data parameter No.022 X2500 Data parameter No.022 Z5000
Data parameter No.023 X350 Data parameter No.023 Z350
Data parameter No.029150 Data parameter No.028100
Data parameter No.026200 Data parameter No.03050
If AC servo drive unit is applied to this system, the machining efficiency can be improved
by a
larger start speed and a smaller ACC&DEC time constant setting. If optimum acc/dec
characteristics
are required, the ACC&DEC time constant may be set to 0 which can be gotten by
adjusting the AC
servo acc/dec parameters. The suggested settings for these parameters are as
follows(electronic
gear ratio is 1:1):
Data parameter No.022 X5000 Data parameter No.022 Z10000
Data parameter No.023 X60 Data parameter No.023 Z60
Data parameter No.02950 Data parameter No.028500
Data parameter No.02650 Data parameter No.030400
The parameter settings above are recommended for use, please refer to the actual
conditions of
the drive unit, motor characteristic and motor load for their proper setting.
Adjust the relevant parameters based on the active level of the connection signal, zero
return
type and direction applied:
BIT5 (DECI) of the bit parameter No.004: active level of deceleration signal in machine
zero
return.
BIT0, BIT1, BIT2BIT3BIT4 (ZMX, ZMZ, ZMYZM4, ZM5) of the bit parameter No.006:
X, Z,
Y, 4th, 5th axis machine zero return mode B or C selection.
BIT0, BIT1, BIT2, BIT3, BIT4 (ZCX, ZCZ, ZCY, ZC4, ZC5) of the bit parameter No.007:
whether a
proximity switch is taken as both deceleration and zero signals.
BIT2(ZNLK) of the bit parameter No.011: whether the direction key in zero return is
self-locked.
418
Connection
BIT0, BIT1, BIT2, BIT3, BIT4(ZRSCX, ZRSCZ, ZRSCY, ZRSC4, ZRSC5) of the bit
parameter
No.014: have/not the machine zero(zero turn mode BC/A)setting bit.
Data parameter No.033: low deceleration speeds of each axis in machine zero return.
Data parameter No.113: high speed of each axis in machine zero return.
BIT0, BIT1, BIT2, BIT3, BIT4(MZRX, MZRZ, MZRY, MZR4, MZR5) of the bit parameter
No.183:
each axis zero return direction: negative or positive.
Only the stroke limit switch validity is confirmed, can the machine zero return be
performed.
The machine zero is usually fixed at the max. travel point, and the effective stroke of the
zero
return touch block should be more than 25mm to ensure a sufficient deceleration distance
for
accurate zero return. The more rapid the machine zero return is, the longer the zero return
touch
block should be. Or the moving carriage will rush over the block and it may affect the zero
return
precision because of the insufficient deceleration distance.
Usually there are 2 types of machine zero return connection:
The connection to AC servo motor: using a travel switch and servo motor one-turn
signal
separately
Fig. 4-2
By this connection, when the deceleration switch is released in machine zero return, the
one-turn
signal of encoder should be avoided to be at a critical point after the travel switch is
TOMATECH AUTOMATION
released. In order
to improve the zero return precision, and it should ensure the motor reaches the one-turn
signal of
encoder after it rotates half circle.
The parameter setting is as follows:
Bit parameter No.004 BIT5(DECI) =0
Bit parameter No.006 BIT0(ZMX) , BIT1(ZMZ) , BIT2(ZMY), BIT3(ZM4), BIT4(ZM5) =0
Bit parameter No.007 BIT0(ZCX) , BIT1(ZCZ) , BIT2(ZCY) , BIT3(ZC4), BIT4(ZC5)=0
Bit parameter No.011 BIT2(ZNLK) =1
Bit parameter No.014 BIT0(ZRSCX) , BIT1(ZRSCZ) , BIT2(ZRSCY), BIT3(ZRSC4),
BIT4(ZRSC5) =1
Data parameter No.033=200
Data parameter No.183 BIT0(MZRX) , BIT1(MZRZ) , BIT2(MZRY), BIT3(MZR4) ,
BIT4(MZR5)
=0
The connection to stepper motor: schematic diagram of using a proximity switch taken
as both
deceleration signal and zero signal
Chapter 4 Machine Debugging methods and Modes
419
Connection Fig. 4-3
When matching the stepper motor, it is better to adjust the rapid override to 50% to avoid
the
out-of-step during rapid traversing of zero return, so the parameter settings are as follows:
Bit parameter No.004 BIT5(DECI) =0
Bit parameter No.006 BIT0(ZMX) , BIT1(ZMZ) , BIT2(ZMY), BIT3(ZM4), BIT4(ZM5) =0
Bit parameter No.007 BIT0(ZCX) , BIT1(ZCZ) , BIT2(ZCY), BIT3(ZC4), BIT4(ZC5) =1
Bit parameter No.011 BIT2(ZNLK) =0
Bit parameter No.014 BIT0(ZRSCX) , BIT1(ZRSCZ) , BIT2(ZRSCY), BIT3(ZRSC4),
BIT4(ZRSC5)
=1
Data parameter No.033=200
Data parameter No.183 BIT0(MZRX), BIT1(MZRZ), BIT2(MZRY), BIT3(MZR4),
BIT4(MZR5) =0
BITBITof diagnosis message DGN.000 are used to check the validity of zero
deceleration
signal.
between encoder and spindle is 1/255255. The spindle gear teeth are set by CNC data
parameter
No.110, and the encoder gear teeth are set by data parameter No.111.
Synchronous belt transmission should be applied for it (no sliding transmission).
The BIT3 of diagnosis message DGN.008 are used to check the validity of threads
number
signal of the spindle encoder.
The DGN.011 and DNG.012 of diagnosis message are used to check the validity of thread
signal
of the spindle encoder.
4.6.2 Spindle brake
After M05 code is executed, proper spindle brake time should be set to stop the spindle
promptly
in order to enhance the machining efficiency. If the brake is employed with energy
consumption type,
too long braking time may burn out the motor.
Data parameter No.087: delay from spindle stop(M05) to spindle brake output
420
Connection
Data parameter No.089: spindle braking time
4.6.3 Switch volume control of spindle speed
When the machine is controlled by a multi-speed motor, the motor speed codes are S01
S04.
The relevant parameters are as follows:
State parameter No.001 Bit4=0: select spindle speed switch control;
4.6.4 Analog voltage control of spindle speed
This function can be obtained by the parameter setting of CNC. By interface outputting
0V10V
analog voltage to control frequency inverter, the stepless shift can be obtained. And the
related
parameters needed to be adjusted are:
Bit parameter No.001 Bit4=1: for spindle speed analog voltage control;
Data parameter No.021: offset value as spindle speed code voltage is 10V;
Data parameter No.036: offset value as spindle speed code voltage is 0V;
Data parameter No.037 ___________No.040: for max. speed clamping of spindle gear
14; it defaults the
spindle gear 1 when CNC power on.
Basic parameters are needed to adjust the inverter:
CW or CCW code mode selection: it is determined by terminal VF;
Frequency setting mode selection: it is determined by terminal FR;
If the speed by programming is not consistent with that detected by the encoder, it can be
adjusted to be consistent with the actual one by adjusting the data parameter No.037
No.040.
TOMATECH AUTOMATION
Speed adjustment method: select the corresponding spindle gear, determine the data
parameter
is 9999 as for this system gear, set the spindle override for 100%. Input spindle run
command in MDI
mode to run the spindle: M03/M04 S9999, view the spindle speed shown on the right
bottom of the
screen, then input the speed value displayed into the corresponding system parameter.
When entering S9999 code, the voltage should be 10V, S0 for 0V. If there is a voltage
error,
adjust bit parameter No.021 and No.036 to correct the voltage offset value (corrected by
manufacturer, usually not needed).
For the current max. speed gear, if the analog voltage output by CNC is not 10V, set it for
10V by
adjusting the data parameter No.021; when the input speed is 0, if the spindle still slowly
rotates, it
means the analog voltage output by CNC is higher than 0V, so set a smaller value for data
parameter
No.036.
If the machine is not fixed with an encoder, the spindle speed can be detected by a speed
sensing instrument, input S9999 in MDI mode to set the speed value displayed by the
instrument into
the data parameter No.037 No.040.
position
422
Connection
longer delay may damage the motor, shorter delay may cause the tool post not to be
completely
clamped. The method to check the tool post clamping is: approach the dial-indicator to the
tool post,
turn the tool post manually, and the pointer floating of the dial-indicator should not be over
0.01mm.
The BIT7(TL-) and BIT6(TL+) of diagnosis message DGN.005 are used to check the
validity of
tool post CCW/CW output signal.
The BIT0BIT3 (T01T04) of diagnosis message DGN.000 are used to check the
validity of
tool number T01T04 signal.
During debugging, every tool, max. tools change should be performed to check the
correctness
of the tool change, time parameter setting.
Pin CN61.42
PLC fixed
address
X3.5
SKIP: skip signal
5.1.2 CNC motion state and data diagnosis message
0 0 3 *** *** *** RDY5 RDY4 RDYZ RDYY RDYX
RDY5RDYX: X, Y, Z, 4th, 5th ready signal
0 0 4 *** *** *** EN5 EN4 ENZ ENY ENX
EN5ENX: enabling signal
0 0 5 *** *** *** SET5 SET4 SETZ SETY SETX
SET5SETX: pulse prohibit signal
0 0 6 *** *** *** DRO5 DRO4 DROZ DROY DROX
DRO5DROX: X, Y, Z, 4th, 5th motion direction output
0 0 8 *** *** *** PC5 PC4 PCZ PCY PCX
PC5PCX: X, Y, Z, 4th, 5th zero signal
0 0 9 *** *** *** ALM5 ALM4 ALMZ ALMY ALMX
ALM5ALMX: X, Y, Z, 4th, 5th alarm signal
0 1 0 MPG rotation data
424
Connection
0 1 1 Spindle speed feedback data
0 1 2 Spindle speed maximum feedback data
0 1 3 Spindle 1 analog output value
0 1 4 Spindle 2 analog output value
0 4 8 X axis output pulse number
0 4 9 X axis actual output pulse number (FPGA actual output)
0 5 0 Y axis output pulse number
0 5 1 Y axis actual output pulse number (FPGA actual output)
0 5 2 Z axis output pulse number
0 5 3 Z axis actual output pulse number (FPGA actual output)
0 5 4 4th axis output pulse number
0 5 5 4th axis actual output pulse number (FPGA actual output)
0 5 6 5th axis output pulse number
0 5 7 5th axis actual output pulse number (FPGA actual output)
0 6 7 Spindle encoder counting
0 6 8 MPG counting
0 6 9 The pulse number from the time that X axis starts detecting PC signal to
PC signal is detected
0 7 0 The pulse number from the time that Y axis starts detecting PC signal to
PC signal is detected
0 7 1 The pulse number from the time that Z axis starts detecting PC signal to
PC signal is detected
TOMATECH AUTOMATION
0 7 2 The pulse number from the time that 4th axis starts detecting PC signal
to PC signal is detected
0 7 3 The pulse number from the time that 5th axis starts detecting PC signal
to PC signal is detected
0 7 4 The times of system powering off
0 7 5 The times of system undervoltage (when the power is not off)
0 7 6 The times of insufficient time for data saving when the system is
undervoltage
5.1.3 Diagnosis keys
DGN.016DGN.022 are the diagnosis messages of edit keypad keys; DGN.024
DGN.029 are
the diagnosis messages of machine operation panel keys. When pressing a key in the
operation
panel, the corresponding bit displays 1, and 0 after releasing this key. If it displays
reversely, it
means there is a fault in the keypad circuit.
0 1 6 RST O N G P/Q 7 8 9
Key
0 1 7 PGU X Z U W 4 5 6
Key
0 1 8 PGD H/Y F/E R/V D/L 1 2 3
Key
0 1 9 CRU RIGHT I/A J/B K/C - 0 .
Chapter 5 Diagnosis Message
425
Connection
Key
0 2 0 CRD LEFT M S T EOB INS/ALT DEL
Key
0 2 1 IN OUT CHG /,# CAN
Key
0 2 2 POS RPG OFT ALM SET PAR DGN GRA
Key
0 2 3 FLEFT F1 F2 F3 F4 F5 FRIGHT PLC
Key
5.1.4 Others
0 7 1 BOOT version No.
1 1 8 PLC execution time(ms)
1 1 9 Execution all time (h)
0 2 1 IN OUT CHG /,# CAN
Key
0 2 2 POS RPG OFT ALM SET PAR DGN GRA
Key
0 2 3 FLEFT F1 F2 F3 F4 F5 FRIGHT PLC
TOMATECH AUTOMATION
Key
426
Connection
DECX: X deceleration signal
DIQP: chuck control input
SP: external pause
SAGT: safety door check signal
X0001 T01 M42I M41I ST DECZ T08/CHOT T07/INDX T06/SELE
T01: tool signal T01
M42I: spindle automatic gear shifting 2-gear in-position signal
M41I: spindle automatic gear shifting 1-gear in-position signal
ST: external cycle start
DECZ: Z deceleration signal
T08/CHOT: tool signal T08/tool post worktable overheat
T07/INDX: tool signal T07/Yantai tool post pregraduation input
T06/SELE: tool signal T06/Yantai tool post strobe signal
X0002 AEY/BDT TCP DEC5 DEC4 DECY T04 T03 T02
AEY/BDT: external skip
TCP: tool post clamp signal
DEC5: 5th deceleration signal
DEC4: 4th deceleration signal
DECY: Y deceleration signal
T04: tool signal T04
T03: tool signal T03
T02: tool signal T02
X0003 AEZ AEX SKIP NQPJ WQPJ LMIZ LMIY LMIX
AEZ: G37 skip signal
AEX: G36 skip signal
SKIP: G31 skip signal
NQPJ: inner chuck clamp/outer chuck clamp in-position signal
WQPJ: inner chuck release/outer chuck clamp in-position signal
LMIZ: Z overtravel input
TOMATECH AUTOMATION
Y0003
UO5/SP
2
UO4/SP
1
UO3/SP
0
U2/M64/STA
O
U1/M6
3
U0/TAP
2
HPS
T
SVF
UO5/SP2: user macro output 5orientation position 2
UO4/SP1: user macro output 4orientation position 1
UO3/SP0: user macro output 3orientation position 0
U2/M64/STAO: user macro output 2/the 2nd spindle CCW/orientation start signal
U1/M63: user macro output 1/the 2nd spindle CW
U0/TAP2: user macro output 0/the 2nd gain selection signal of the 2nd spindle speed
loop(rigid
tapping)
HPST: hydraulic control output
SVF: spindle servo OFF (reduce the spindle servo excitation)
Y0005 *** *** *** *** SRV SFR TAP VP
SRV: spindle rotation(CW)
428
Connection
SFR: spindle rotation(CCW)
TAP: the 2nd gain selection signal of the spindle speed loop
VP: spindle positionspeed control switch output
Chapter 5 Diagnosis Message
429
Connection
5.2.3 Machine panel
X20.0
Y21.7
X19.4
Y19.7
X19.5
Y19.6
TOMATECH AUTOMATION
X19.0
Y18.5
X19.1
Y18.4
X19.2
Y18.3
X18.6
Y18.7
X18.7
Y18.6
EDIT
X18.0
Y23.7
Y25
GEAR/TOOL NO.
X18.2
Y23.5
MDI
X18.1
Y23.6
AUTO
X18.3
Y23.4
X18.5
Y23.2
X18.4
Y23.3
MPG
X19.3
Y18.2
X22.7
Y21.0
X22.0
Y19.0
X21.3
Y23.1
X22.4
Y20.3
Y20.1
X19.6
Y19.5
X19.7
TOMATECH AUTOMATION
Y21.5
X20.4
Y22.7 Y22.3
X24.0
X20.2
Y19.3
X20.5
Y19.2
X26.2
Y26.2
X26.3
Y26.3
X21.0
Y21.4
X20.7
X20.3
Y19.4
X20.6
Y18.1
X20.1
Y21.6
X25.7
Y21.3
Y22.0
X22.1
Y20.6
X25.5
Y21.1
Y22.2 Y22.1
X21.4
Y23.0
X21.6
Y20.7
X25.7
Y21.3
X21.5
Y18.0
X22.3
Y20.4
X26.7
Y26.7
X23.0
Y20.0
TOMATECH AUTOMATION
X26.1
INSERT
ALTER
CHANGE
DATA
INPUT
DATA
OUTPUT
EOB
MACHINE
ZERO
MACHINE
STOP
PROGRAM
S.CCW S.OVERRIDE
COOLING
COOLING
F.OVERRIDE
F.OVERRIDE
CYCLESTART
FEED HOLD
430
Connection
X20.4 X21.1
X20.5
Y19.2
X20.6
Y18.1
X26.4
Y26.4
X26.5
Y26.5
X21.2 X25.6
X25.7
Y21.3
X20.7
TOMATECH AUTOMATION
X21.3
Y23.1
X22.0
Y19.0
X22.4
Y20.3
X21.5
Y18.0
X21.6
Y20.7
X25.5
Y21.1
X22.6
Y20.1
X22.7
Y21.0
X26.7
Y26.7
X19.5
Y19.6
Y22.7 Y22.1
X18.0
Y23.7
X20.2
Y19.3
X20.3
Y19.4
X18.6
Y18.7
X18.7
Y18.6
SINGLE SKIP
Y25
X26.6
Y26.6
X19.2
Y18.3
DRY
X20.1
Y21.6
X21.0
Y21.4
X19.1
Y18.4
TOMATECH AUTOMATION
X19.0
Y18.5
X25.7
Y21.3
X21.4
Y23.0
X22.1
Y20.6
X20.0
Y21.7
X19.4
Y19.7
Y22.4
X18.3
Y23.4
X18.1
Y23.6
EDIT AUTO
X18.2
Y23.5
Y22.6 Y22.5
X18.4
Y23.3
MPG
X18.5
Y23.2
MANUAL
Y22.3 Y22.2
X24.0
X26.2
X22.3
Y20.4
X23.0
Y20.0
X19.6
Y19.5
X19.7
Y21.5
X26.3
Y26.3
X19.3
Y18.2
Y22.0
DATA
TOMATECH AUTOMATION
INPUT
OUTPUT
DATA
PROGRAM
ALTER EOB
GEAR TOOLNO.
MDI MACHINE
ZERO
PROGRAM
ZERO
MACHINE
STOP
HYDRAULIC T.CHANGE
F.OVERRIDE
FEED START
PARAMETER
POSITION SETTING
432
Connection
F0009 DM00 DM01 DM02 DM30 *** *** *** ***
DM00: M decoding signal
DM01: M decoding signal
DM02: M decoding signal
DM30: M decoding signal
F0010 MB07 MB06 MB05 MB04 MB03 MB02 MB01 MB00
F0011 MB15 MB14 MB13 MB12 MB11 MB10 MB09 MB08
F0012 MB23 MB22 MB21 MB20 MB19 MB18 MB17 MB16
F0013 MB31 MB30 MB29 MB28 MB27 MB26 MB25 MB24
Miscellaneous function codes MB00~MB31
F0022 SB07 SB06 SB05 SB04 SB03 SB02 SB01 SB00
F0023 SB15 SB14 SB13 SB12 SB11 SB10 SB09 SB08
F0024 SB23 SB22 SB21 SB20 SB19 SB18 SB17 SB16
F0025 SB31 SB30 SB29 SB28 SB27 SB26 SB25 SB24
Spindle speed code signal SB00~SB31
TOMATECH AUTOMATION
434
Connection
F0135 EM28B EM24B EM22B EM21B EM18B EM14B EM12B EM11B
PLC axis control group A auxiliary function code signals EM11B~EM28B
F0136 EBSYC *** *** EGENC EDENC *** *** ***
EBSYC: PLC axis control group C command read completed signal
EGENC: PLC axis control group C axis movement signal
EDENC: PLC axis control group C auxiliary function implement signal
F0137 *** *** *** *** *** *** EABUFC EMFC
EABUFC: PLC axis control group C buffer full signal
EMFC: PLC axis control group C auxiliary function strobe signal
F0138 EM28C EM24C EM22C EM21C EM18C EM14C EM12C EM11C
PLC axis control group A auxiliary function code signals EM11C~EM28C
F0139 EBSYD *** *** EGEND EDEND *** *** ***
EBSYD: PLC axis control group D command read completed signal
EGEND: PLC axis control group D axis movement signal
TOMATECH AUTOMATION
436
Connection
G0008 ERS RRW SP ESP *** *** *** IT
ERS: External reset signal
RRW: Reset and cursor return signal
SP: Feed hold signal
ESP: Emergency stop signal
G0010 JV07 JV06 JV05 JV04 JV03 JV02 JV01 JV00
G0011 JV15 JV14 JV13 JV12 JV11 JV10 JV09 JV08
JOG override signal JV00~JV15
G0012 FV07 FV06 FV05 FV04 FV03 FV02 FV01 FV00
Feedrate override signal FV00~FV07
G0014 *** *** *** *** *** *** RV2 RV1
RV2: Rapid feedrate override signal RV2
RV1: Rapid feedrate override signal RV1
G0018 *** *** *** *** HD HC HB HA
HD: MPG feed selection signal (01004th)
HC MPG feed selection signal (01015th)
HB: MPG feed selection signal (0011Y)
HA: MPG feed selection signal (0001X. 0010Z)
G0019 RT *** MP2 MP1 *** *** *** ***
TOMATECH AUTOMATION
438
Connection
UI04: Macro input signal UI04
UI05: Macro input signal UI05
UI06: Macro input signal UI06
UI07: Macro input signal UI07
G0055 UI15 UI14 UI13 UI12 UI11 UI10 UI09 UI08
UI08: Macro input signal UI08
UI09: Macro input signal UI09
UI10: Macro input signal UI10
UI11: Macro input signal UI11
UI12: Macro input signal UI12
UI13: Macro input signal UI13
UI14: Macro input signal UI14
UI15: Macro input signal UI15
G0061 *** *** RGTSP2 RGTSP1 *** *** *** RGTAP
RGTAP: Rigid tapping signal
RGTSP1: Spindle selection in rigid tapping RGTSP1
RGTSP2: Spindle selection in rigid tapping RGTSP2
G0074 *** *** SRVB SFRB *** *** *** ***
SFRB: Spindle CCW signal in rigid tapping
SRVB: Spindle CW signal in rigid tapping
G0100 *** *** *** +J5 +J4 +J3 +J2 +J1
TOMATECH AUTOMATION
440
Connection
5.2.6 Address A (message display requiery signal, defined by standard
PLC
ladders)
Address Alarm No. Content
A0000.0 1000 Tool change too long
A0000.1 1001 Tool post not in-position alarm as tool change ends
A0000.2 1002 Tool change unfinished alarm
A0000.3 1003 Tool post clamping signal not received
A0000.4 1004
Recheck clamping signal, and clamping signal inactive as tool
change ends
A0000.5 1005 Tool change execution is mistaken before power off
A0000.6 1006 Pre-indexing proximity switch not arrived
A0000.7 1007 Tool post overheat alarm
A0001.0 1008 M10 and M11 codes disabled for tailstock function inactive
A0001.1 1009 Run-out disabled in spindle running
A0001.3 1011 Spindle start unallowed as tailstock advancing not detected
A0001.4 1012 Cycle unallowed for cycle start disabled
A0001.5 1013 Spindle start unallowed for spindle enable off
A0001.6 1014 Confirm the tools of tool post (8, 10, 12 tools)
A0002.0 1014 Please reset BIT1, BIT0 of parameter 168 for tool post model
TOMATECH AUTOMATION
442
Connection
CHOT=0: do not check the tool post overheat
=1: check the tool post overheat
SLQP =1: chuck control function is valid;
=0: chuck control function is invalid.
SLSP =1: when the chuck function is valid, the system does not check whether the chuck
is
clamped;
=0: when the chuck function is valid, the system checks whether the chuck is clamped;
when the chuck is not clamped and the spindle cannot be stated, the system alarms.
NYQP =1: in outer mode, NQPJ is outer chuck release signal, WQPJ is outer clamp
signal;
=0: in inner mode, NQPJ is outer chuck clamp signal, WQPJ is outer release signal.
CCHU =1: the system checks the chuck in-position signal, No.002 Bit7 is inner chuck
clamp/outer release signal NQPJ, BIT6 is outer clamp/inner release signal WQPJ,
the spindle gear shifting in-position signal M411, M421 is invalid.
=0: the system does not check the chuck in-position signal.
TOMATECH AUTOMATION
K 1 3 SPTW SLTW
SLTW =1: tailstock control function is valid;
=0: tailstock control function is invalid.
SPTW =1: the spindle rotation and the tailstock forward/backward does not interlock, the
tailstock can execute the tailstock forward/backward no matter what the spindle is in
any states;
=0: the spindle rotation and the tailstock forward/backward interlock. When the spindle
rotates, the tailstock does not go backward; when it does not go forward, the spindle
must not be started.
K 1 4 SPB4 PB4 SPB3 PB3
PB3 =0: pressure low check function is invalid;
=1: pressure low check function is valid.
SPB3 =0: when PRES is connected with +24Vthe system alarms for pressure low
=1: when PRES is not connected with +24Vthe system alarms for pressure low.
PB4 =0: safety door check function is invalid;
=1: safety door check function is valid.
SPB4 =0: when SAGT is not connected with +24V, the safety door is closed;
=1: when SAGT is connected with +24V, the safety door is closed.
K 1 5 RCS RSCS SHT AGIM AGIN AGER
AGER =1: Spindle automatic gearing active
=0: Spindle automatic gearing inactive
AGIN =1: Detect M41I, M42I signal when automatically gearing to gear 1, 2
=0: Not detect M41I, M42I signal when automatically gearing to gear 1, 2
AGIM =1: M41I, M42I signals active when connecting to 0V
=0: M41I, M42I signals active when connecting to +24V
SHT =1: the spindle gear power-down memorizes;
=0: the spindle gear power-down does not memorize.
Chapter 5 Diagnosis Message
443
Connection
RSCS =1: close the spindle contour control in emergent stop, reset;
=0: does not close the spindle contour control in emergent stop, reset
RCS =1: Cs function is valid
=0: Cs function is invalid.
K 1 6 SINC M32A ROVI SOVI
SINC 1: in Step(MPG) mode, 1000 is invalid, 1, 10, 100 are valid
0: in Step(MPG) mode, 1, 10, 100, 1000 are valid.
SOVI =1: external feedrate override switch is valid;
=0: external feedrate override switch is invalid.
ROVI =1: external feedrate override is reverse;
=0: external feedrate override is not reverse.
M32A =1: output the lubricating in starting the system when the automatic lubricating is
valid;
=0: do not output the lubricating in starting the system when the automatic lubricating is
TOMATECH AUTOMATION
valid.
K 1 7 MSEN SCLP SALM2 SALM SSTP *** *** ***
SSTP =0: do not close the analog voltage when the spindle stops;
=1: close the analog voltage when the spindle stops.
SALM =0: the alarm occurs when the spindle HIGH;
=1: the alarm occurs when the spindle HIGH.
SALM2=0: the occurs when the 2nd spindle HIGH;
=1: the occurs when the 2nd spindle LOW.
SCLP =0: the spindle clamping commands executes the 1st spindle clamped, the
multi-spindle
function is valid;
=1: the spindle clamping commands executes the 2nd spindle clamped, the multi-spindle
function is valid;
MSEN =0: the multi-spindle control function is invalid;
=1: the multi-spindle control function is invalid.
K 1 8 *** *** *** *** MDOK MD4 MD2 MD1
MDOK =0: the operation mode when power-on again is the one that the system is turned
off;
=1: the operation mode when power-on is the one specified by MD4, MD2, MD1.
MD4 MD2 MD1 Operation mode when power on
0 0 0 MDI mode
0 0 1 Auto mode
0 1 0 Program zero return
0 1 1 Edit mode
1 0 0 MPG mode
1 0 1 Manual mode
1 1 0 Machine zero return
444
Connection
T0000 Timing the closing previous gear count
T0001 Timing from New gear outputting to FIN
T0002 M3, 4, 5, 8, 9, 10, 11, 32, 33 execution timing
T0004 timing from tool CCW stop to CW start
T0005 timing for tool CW
T0006 S code execution timing
T0007 M01, 02, 30 execution timing
T0008 Having not received alarm time of TCP signal
T0009 Tool rotation(CW) timing
T0010 Timing from the spindle stop to brake output
TOMATECH AUTOMATION
446
Connection
COMPENSATION
6.2 Specification
1) The set offset amount is concerned with the offset origin, offset intervals etc.;
2) Pitch error offset value is get by searching the table about machine coordinates and
pitch
error compensation origin;
3) Points to be compensated: 1024 points for 5 axes, each axis confirms point range by
parameter setting;
4) Axis compensated: X, Y, Z ,4th,5th axis
5) Compensation range: -25502550least input increment;
6) Compensation interval: 100009999999least input increment;
7) Compensation amount of compensation point N(N=0,1,2,3,1023) is determined by
the
mechanical error between point N and point N-1;
8) The setting is the same as the CNC parameters input, see Operation.
TOMATECH AUTOMATION
448
Connection
The position No.000 in the offset table corresponds to the reference point (i.e. pitch error
origin
0), the offset point 1 corresponds to a point of positive 10.000 moving from this reference
point, and
So there is a offset point every 10.000 mm. l. At offset point N, set an offset value which is
the
compensation amount by moving from (N-1)(offset interval) to N(offset interval).
The following table content is resulted from the above:
Actually the machine moves from the reference point to the point of +30.000, the pitch
error offset
is: (+7)+(-6)+(+4)=+5
Data parameter No.098 (pitch error origin) =60, No.099(offset interval) =10.000
When the pitch error origin is set to 60:
For the positive moving, the 1st segment error offset is set by position No.061 in the offset
table,
the 2nd segment by position No.062. The Nth segment error offset is set by position
No.060+N in the
offset table.
TOMATECH AUTOMATION
For the negative moving, the 1st segment error offset is set by position No.060 in the offset
table,
the 2nd segment by position No.059. The Nth segment error offset is set by position
No.060-N in the
offset table.
The machine zero is taken as the reference point of the pitch error origin, when moving
from the
positive of machine coordinate system, it begins to compensate by the corresponding
position
No.061 in the offset table; when moving from the negative of the machine coordinate
system, it
begins to compensate by the position No.060. Therefore the pitch offset can be done
when moving in
the positive or the negative axis of machine coordinate system.
Setting
point
Machine
coordinate
system
Reference point
-60.000 -20.000 0 +10.000
58 59 60 61
(+0) (-7) (-7) (+6) (+4)
-10.000
The position No.060 in the offset table corresponds to the reference point, No.061value in
the
compensation table is a compensation amount by executing a positive movement
10.000mm from
origin. So there is an offset point every 10.000. No.061value in the compensation table is
a
Machine coordinate
system
Offset
parameter No.
Offset
value
Drive unit current code
pulses before compensating
Drive unit current command
pulses after compensating
Reference point 0 000 000 00000 00000
10.000 001 7 10000 10007
20.000 002 -6 20000 20001
30.000 003 4 30000 30005
TOMATECH AUTOMATION
004
Chapter 6 Memorizing Pitch Error
449
Connection
compensation amount by executing a negative movement 10.000mm from origin. So
there is an
offset point every -10.000. No.59 is a compensation amount at -10.000~-20.000mm.
Therefore the
point N is set by an offset of move from (N-61)(offset interval) to (N-60)(offset interval).
The following table content is resulted from the above:
Actually as the machine moves from point -30.000 to the point +10.000, the pitch error
offset is:
(-7)+(-7)+(+6)+(+4)=(-4)
Data parameter No.098 (pitch error origin) =127, No.099 (offset interval) =10.000
When the pitch error origin is set to 255:
The offset value for the 1st segment is set by the position No.255 in the offset table, the
offset
value for the 2nd segment is set by the position No.254 in the offset table, and the offset
value for the
Nth segment is set by the position No.256-N in the offset table.
The machine zero is regarded as the reference point of pitch error origin, the system
compensates the compensate amount set by No.255 in the offset table from the machine
zero to the
negative direction. So the pitch error compensation can be executed when the machine
coordinates
are less than 0.
The position No.255 is an offset value from reference point to -10.000mm, No.254 value in
the
table is the one from -10.000mm to -20.000mm, so there is an offset point every -10.000.
Therefore
the point N is set by an offset of move from (N-256)(offset interval) to (N-255)(offset
interval).
Above is the example of the following offset interval error.
Machine
coordinate
system
Offset parameter
No.
Offset value
Drive unit current
code pulses before
compensating
Drive unit current
code pulses after
TOMATECH AUTOMATION
compensating
-30.000 058 -7 -30000 -29992
-20.000 059 -7 -20000 -19999
-10.000 060 +6 -10000 -10006
Reference
point 0
00
10.000 061 +4 10000 10004
062
Machine
coordinate
system
Offset
parameter
number
Offset value Drive unit current
code pulses before
compensating
Drive unit current
code pulses after
compensating
Reference point 0 0 0
-10.000 127 2 10000 10002
450
Connection
Actually the machine moves from the point -40.000 to the reference point, the pitch error
offset is:
(+3)+(-7)+(0)+(+2)=(-2).
-20.000 126 0 20000 20002
-30.000 125 -7 30000 29995
-40.000 124 3 40000 39998
Appendix
Appendix
Appendix
451
Appendix
L N
CN62
CN13
OUTPUT
CN12
AXIS Z
CN21
AXIS Y
CN1
CN61 CN15
CN14
SPINDLE
AXIS 5
INPUT
CN11
AXIS 4
CN31
AXIS X
+12V
+5V
+5V
0V
+5V
ENCODER
-12V
0V
0V
TOMATECH AUTOMATION
+24V
CN51
EXTENSION
MPG
P
~
L N
220 V
1:4
452
Appendix
Appendix
453
Appendix
AP02
AP02: aluminum alloy 100mm260mm , can be fixed at the side of panel and the outline
dimension is as follows:
TOMATECH AUTOMATION
AP03
70
30
50
40
60
10
20
80
90
OVERTRAVEL
RELEASE
454
Appendix
MCT01A
MCT02
Appendix
455
Appendix
(backup)
001 00000000 00000000 00011010
002 10000010 10000010 10000010
003 00010000 00010000 00010000
004 01000000 01000000 01000000
005 00010011 00010011 00010011
006 00000000 00000000 00000000
*007 10000000 10000000 10000000
008 00011111 00011111 00011111
009 00000011 00000011 00011111
010 00001111 00001111 00011111
011 00000000 00000000 00000000
012 10101011 10101011 10101011
013 00000000 00000000 00000000
014 00011111 00011111 00011111
017 00001000 00001000 00001000
018 00000000 00000000 00000000
020 00000000 00000000 00000000
172 00100000 00100000 00100000
174 00001000 00001000 00001000
*175 00000000 00000000 00000000
180 00000000 00000000 00000000
181 00000000 00000000 00000000
182 00000000 00000000 00000000
183 00000000 00000000 00000000
184 00010000 00010000 00010000
185 00000000 00000000 00000000
186 00000000 00000000 00000000
187 X 00000010 00000010 00000010
---- Z 00000010 00000010 00000010
188 X 01000101 01000101 01000101
---- Z 01000101 01000101 01000101
196 00000000 00000000 00000000
202 00000000 00000000 00000000
203 00000000 00000000 00001111
456
Appendix
State
parameter
Standard parameter
1servo 1u-level
Standard parameter
2stepper
TOMATECH AUTOMATION
Standard
parameter 3servo
0.1u-level
User parameter
(backup)
015 X 1 1 1
---- Z 1 1 1
016 X 1 1 1
---- Z 1 1 1
019 5 5 5
021 0 0 0
---- S2 0 0 0
022 X 4000 2500 4000
---- Z 8000 5000 8000
*023 X 100 240 100
---- Z 100 240 100
024 0 0 0
025 0 0 0
*026 100 200 100
*027 8000 8000 8000
*028 200 50 200
*029 100 160 100
*030 200 200 200
031 1260 1260 1260
032 X 200 200 200
---- Z 400 400 400
033 X 100 100 100
---- Z 200 200 200
034 X 0 0 0
---- Z 0 0 0
035 0 0 0
036 0 0 0
---- S2 0 0 0
037 9999 9999 9999
---- S2 9999 9999 9999
038 9999 9999 9999
---- S2 9999 9999 9999
039 9999 9999 9999
---- S2 9999 9999 9999
040 9999 9999 9999
---- S2 9999 9999 9999
*041 100 50 100
042 10 10 10
043 99 99 99
TOMATECH AUTOMATION
069 0 0 0
070 1024 1024 1024
---- S2 1024 1024 1024
071 32 32 32
072 50 50 50
073 4095 4095 4095
---- S2 4095 4095 4095
074 0 0 0
---- S2 0 0 0
075 0 0 0
---- S2 0 0 0
076 0 0 0
077 0 0 0
078 0 0 0
079 0 0 0
080 0 0 0
081 0 0 0
082 0 0 0
083 0 0 0
084 4 4 4
085 0 0 0
086 0 0 0
087 0 0 0
458
Appendix
State
parameter
Standard parameter
1servo 1u-level
Standard parameter
2stepper
Standard
parameter 3servo
0.1u-level
User parameter
(backup)
088 0 0 0
089 0 0 0
090 0 0 0
091 0 0 0
092 0 0 0
093 0 0 0
094 0 0 0
TOMATECH AUTOMATION
095 0 0 0
096 X 0 0 0
---- Z 200 200 200
097 X 199 199 199
---- Z 399 399 399
098 X 100 100 100
---- Z 300 300 300
099 X 10000 10000 10000
---- Z 10000 10000 10000
100 0 0 0
101 0 0 0
102 0 0 0
103 0 0 0
104 0 0 0
105 0 0 0
106 0 0 0
107 0 0 0
108 0 0 0
109 40 40 40
110 S1 1 1 1
---- S2 1 1 1
111 S1 1 1 1
---- S2 1 1 1
112 0 0 0
113 X 3800 2500 3800
---- Z 7600 5000 7600
114 X 0 0 0
---- Z 0 0 0
115 0 0 0
116 0 0 0
117 0 0 0
118 0 0 0
119 3 3 3
120 X 0 0 0
---- Z 0 0 0
121 X 0 0 0
---- Z 0 0 0
122 X 0 0 0
---- Z 0 0 0
Appendix
459
Appendix
State
parameter
TOMATECH AUTOMATION
Standard parameter
1servo 1u-level
Standard parameter
2stepper
Standard
parameter 3servo
0.1u-level
User parameter
(backup)
123 X 0 0 0
---- Z 0 0 0
124 0 0 0
125 0 0 0
126 0 0 0
127 0 0 0
128 0 0 0
129 0 0 0
130 0 0 0
131 0 0 0
132 0 0 0
133 0 0 0
134 1 1 1
135 0 0 0
136 0 0 0
137 0 0 0
138 0 0 0
139 0 0 0
140 1000 1000 1000
141 100 100 100
142 10000 10000 10000
143 20000 20000 20000
144 7500 7500 7500
145 15000 15000 15000
146 0 0 0
147 0 0 0
148 0 0 0
149 0 0 0
150 0 0 0
151 0 0 0
152 0 0 0
153 0 0 0
154 10 10 100
155 0 0 0
156 0 0 0
TOMATECH AUTOMATION
157 0 0 0
158 0 0 0
159 0 0 0
160 0 0 0
161 0 0 0
162 10 10 10
---- S2 10 10 10
163 100 100 100
---- S2 100 100 100
164 0 0 0
165 0 0 0
460
Appendix
State
parameter
Standard parameter
1servo 1u-level
Standard parameter
2stepper
Standard
parameter 3servo
0.1u-level
User parameter
(backup)
166 10 10 10
---- S2 10 10 10
167 200 200 200
---- S2 200 200 200
168 0 0 0
---- S2 0 0 0
169 0 0 0
---- S2 0 0 0
170 20 20 20
171 0 0 0
176 0 0 0
177 0 0 0
178 0 0 0
179 0 0 0
182 0 0 0
189 0 0 0
190 0 0 0
191 0 0 0
192 0 0 0
TOMATECH AUTOMATION
193 0 0 0
194 0 0 0
195 0 0 0
196 0 0 0
197 0 0 0
198 0 0 0
199 0 0 0
200 0 0 0
201 0 0 0
204 0 0 0
205 0 0 0
206 0 0 0
207 0 0 0
208 0 0 0
209 0 0 0
210 0 0 0
211 0 0 0
212 0 0 0
213 0 0 0
214 0 0 0
215 0 0 0
216 X 360000 360000 3600000
---- Z 360000 360000 3600000
217 0 0 0
218 0 0 0
219 X 1 1 1
---- Z 2 2 2
Appendix
461
Appendix
State
parameter
Standard parameter
1servo 1u-level
Standard parameter
2stepper
Standard
parameter 3servo
0.1u-level
User parameter
(backup)
220 0 0 0
221 0 0 0
222 0 0 0
TOMATECH AUTOMATION
223 0 0 0
224 2 2 2
225 X 88 88 88
---- Z 90 90 90
226 X 1 1 1
---- Z 2 2 2
227 0 0 0
228 0 0 0
229 0 0 0
230 X 1 1 1
---- Z 3 3 3
231 0 0 0
232 0 0 0
233 0 0 0
234 0 0 0
235 0 0 0
236 4 4 4
237 0 0 0
238 0 0 0
239 0 0 0
240 10 10 10
241 1 1 1
242 0 0 0
243 0 0 0
244 0 0 0
245 0 0 0
246 0 0 0
247 0 0 0
248 0 0 0
249 0 0 0
250 0 0 0
251 0 0 0
252 0 0 0
253 0 0 0
254 0 0 0
Note: The parameters of its number with * influence the acceleration/deceleration
characteristics and the user can properly adjust them according to the system
allocation and load characteristics.
462
Appendix
464
Appendix
No. Content Remark
085
The distance between the starting point and the target is less than the
setting (142,143) in automatic tool offset(G36,G37), have no set the rapid
motion area
086
The parameter (142,144) or (143,145) area setting are wrong in automatic
tool offset(G36,G37)
087 Firstly create or set the coordinate system before executing G36,G37
088
Firstly set the correct tool number and the compensation number before
executingG36,G37
089 The tool offset is in protection state, and cannot be written
090 When tool offset measure executes the direction input B operation, axis
movement directions are interlocked
095 Subprogram numbers are not input or are illegal when M98 calls them
096 Layers of nested subprograms are more than 4
097 Calling programs in M98 is the current one(main program)
098 Use M98 or M99 in MDI mode
099 Use M98 or M99 in C tool radius compensation
100
Cannot use macro statement and macro command in C tool radius
compensation
101 Operation values of H11, H12, H13, H25 are not binary in G65
102 Operation value of H24 is more than 1023 in G65
103 Denominator is 0 for division operation in G65
TOMATECH AUTOMATION
Arc radius is less than that of tool nose to cause not to execute C tool
nose radius compensation
466
Appendix
No. Content Remark
257
Mistake in programming causes there is not intersection of two arcs of
current tool radius in the course of C tool nose radius compensation
258 Specify one arc command as executing C tool nose radius compensation
259 Specify one arc command as canceling C tool nose radius compensation
260 There is excessive cutting as checking C tool nose radius compensation
261
Mistake in programming causes there is not intersection between straight
line and arc of current tool radius in the course of C tool nose radius
compensation
262
Mistake in programming causes there is not intersection between arc and
straight line of current tool radius in the course of C tool nose radius
compensation
263
There are too non movement commands in C too radius compensation,
the buffer overflows
281 The linear chamfer length is too length
282 The arc chamfer radius is too big
283 The linear chamfer length is too big or the arc data is mistaken
284 The arc chamfer radius is too big or the arc data is mistaken
285 The linear chamfer length is too big or the arc data is mistaken
286 The arc chamfer radius is too big or the arc data is mistaken
287 The linear chamfer length is too big or the intersection is not on the arc
288 The arc chamfer radius is too big or the intersection is not on the arc
289 The chamfer cannot be executed in end position
290
Cannot start the polar coordinate and the cylinder interpolation in C tool
compensation state or G99
291
The linear axis or rotary axis of the polar coordinates does not correspond
to No.189 or the linear axis attribution setting is mistaken
292
Execute the length compensation of all axes before starting the polar
coordinates
293 X cannot be negative or 0 in G16/G15
294
Have used the command which cannot be used to the polar coordinates
TOMATECH AUTOMATION
468
Appendix
No. Content Remark
414 Exceeding the 4th axis software travel limit
415 Exceeding the 5th axis software travel limit
416 Exceeding X negative software travel limit
Press reset to
clear the alarm,
negatively move
X
417 Exceeding Z negative software travel limit
TOMATECH AUTOMATION
Press reset to
clear the alarm,
positively move
X
418 Exceeding Y negative software travel limit
Press reset to
clear the alarm,
negatively move
Z
419 Exceeding 4th negative software travel limit
Press reset to
clear the alarm,
positively move
X
420 Exceeding 5th negative software travel limit
421 X drive unit is not ready
422 Z drive unit is not ready
423 Y positive overtravel
424 4th positive overtravel
425 5th positive overtravel
426 X negative overtravel
427 Z negative overtravel
428 Y negative overtravel
429 4th negative overtravel
430 5th negative overtravel
431 X drive unit have not been ready
432 Z drive unit have not been ready
433 Y drive unit have not been ready
434 4th drive unit have not been ready
435 5th drive unit have not been ready
437 PLC axis is working and cannot be switched
438 CNC axis is working and cannot be switched
439 PLC axis is working and cannot be operated
440 CNC emergent stop is failure(restart the CNC)
450
Data is error! Start the system again to return the machine zero, execute
the toolsetting again to check all parameters
451 Definition of output axis number is mistaken. Please modify No. 226
900 Loaded system allocation file is mistaken. Confirm whether cnc.cfg. exists
901 Loaded system allocation file is mistaken. Confirm whether param.cfg.
exists
902 Loaded parameter value file is mistaken
903 Loaded tool offset file is mistaken
Appendix
TOMATECH AUTOMATION
469
Appendix
No. Content Remark
904 Loaded pitch compensation file is mistaken
905 Loaded workpiece coordinate file is mistaken
906 Starting PLC program is mistaken. Confirm whether the ladder exists and
is correct
909 Limited-time stop time is over and the system cannot run normally. Please
contact with salesmen
999 There is an unknown alarm. Please contact with developers
signal
A0003.3 1027 Tool pot is not released or lock signal is not cancelled
A0003.4 1028 Has not found the target tool number
A0003.5 1029 Has not received tool pot stop and locking start signal
A0003.7 1031 Total tools is more than 4, and the external override
cannot be connected (address multiplexing)
A0004.0 1032 Illegal M code
A0004.1 1033 The current spindle is not analog, and Jog function
cannot be executed
A0004.2 1034 M03,M04 specification are mistaken
A0004.3 1035 M63,M64 specification are mistaken
A0004.4 1036 Spindle gear shift time is too long
A0004.5 1037 Spindle speed/position control switch time is too long
470
Appendix
A0004.6 1038 The 2nd spindle speed/position control switch time is too
long
A0004.7 1039 Spindle position control does not permit orientation
A0005.0 1040 Spindle orientation time is too long
A0005.1 1041 Alarm for the abnormal spindle servo or frequency
converter for abnormality
A0005.2 1042 Alarm for the abnormal 2nd spindle servo or frequency
converter
A0005.3 1043 Forbid clamping the spindle when the spindle rotating or
feeding
A0005.4 1044 Spindle is clamped not to rotate or feed
A0007.0 2000 Hydraulic motor is not started
A0007.1 2001 Safety door has been opened
A0007.3 2003 Alarm for the tool pot unclocked
A0007.5 2005 Regulation is invalid when feedrate override is fixed to
100%
A0007.6 2006 Override on the panel is disabled when external override
is enabled
A0007.7 2007 Program does not run when external pause switch is
OFF
A0008.0 2008 Axis does not move when manual override is 0
ed to their items correspondingly.__