FBW
FBW
FBW
Brief Description 1
Overview 2
Description of Functions 3
SINUMERIK 840D/840Di/810D
Installation and Start--Up 4
Tool management
Programming 5
Data Backup 6
Description of Functions
Supplementary Conditions 7
Machine Data 8
Alarms 10
Control Abbreviations A
SINUMERIK 840D powerline/840DE powerline
SINUMERIK 840Di powerline/840DiE powerline
SINUMERIK 810D powerline/810DE powerline Terms B
Software
NCU system software for 840D/840DE 7.3 References C
NCU system software for 840Di/840DiE 2.3
NCU system software for 810D/810DE 7.3
Index I
Version 09.05
SINUMERIK Documentation
3ls
Printing history
Brief details of this edition and previous editions are listed below.
The status of each edition is shown by the code in the “Remarks” column.
A . . . . . New documentation.
B . . . . . Unrevised reprint with new Order No.
C . . . . . Revised edition with new status.
If the technical subject matter shown on the page has changed compared to the
previous edition status, this is indicated by the changed
edition status in the header of the respective page.
Trademarks
SIMATICr, SIMATIC HMIr, SIMATIC NETr, SIROTECr, SINUMERIKr and SIMODRIVEr are registered
trademarks of Siemens AG. The other designations in this publication may also be trademarks, the use of
which by third parties may constitute copyright violation.
Further information is available in the Internet under: Other functions not described in this documentation may be
http://www.siemens.com/motioncontrol executable in the control. However, no claim can be made regarding
the availability of these functions when the equipment is first supplied
or in the event of servicing.
This publication was produced with Interleaf V 7 We have checked that the contents of this document correspond to
the hardware and software described. Nevertheless, differences
might exist and we cannot, therefore, guarantee that they are
completely identical. However, the data in this manual are reviewed
regularly and any necessary corrections included in subsequent
editions. Suggestions for improvement are also welcome.
Siemens AG 2005 Subject to change without prior notice.
Preface
SINUMERIKr Documentation
The SINUMERIK documentation is organized in three parts:
S General Documentation
S User Documentation
S Manufacturer/Service documentation
More detailed information about other SINUMERIK 840D/840Di/810D brochures,
and brochures for all SINUMERIK controllers (e.g. universal interface, measuring
cycles, etc.) can be obtained from your local Siemens representative.
An overview of publications, which is updated monthly and also provides informa-
tion about the language versions available, can be found on the Internet at:
http://www.siemens.com/motioncontrol
Follow menu items -- “Support” --> “Technical Documentation” -->
“Overview of Documentation”.
The Internet version of DOConCD (DOConWEB) is available at:
http://www.automation.siemens.com/doconweb
Target audience
This document is designed for machine tool manufacturers. The documentation
provides a detailed description of the functions necessary to operate the SINUM-
ERIK 840D/810Di/810D and SIMODRIVE 611D controls.
Standard version
This documentation only describes the functionality of the standard version. Exten-
sions or changes made by the machine tool manufacturer are documented by the
machine tool manufacturer.
Other functions not described in this documentation might be executable in the
control. This does not, however, represent an obligation to supply such functions
with a new control or when servicing.
Hotline
If you have any questions, please get in touch with our hotline:
A&D Technical Support
Phone: +49 (0) 180 / 5050 -- 222
Fax: +49 (0) 180 / 5050 -- 223
E-mail: mailto:adsupport@siemens.com
Internet: http://www.siemens.de/automation/support-request
Internet address
http://www.siemens.com/motioncontrol
Notice
The page numbers provide the following information:
Part of Description of Functions / Book / Section -- Page
If you require information about a function, you will find the function and the code
under which it is classified in the inside cover title of the manual.
If you need information about a certain term, please go to the section headed In-
dex in the Appendix and look for the term concerned. The Description of Functions
code, the chapter number and the number of the page on which you can find the
information you need are listed in this section.
Within each of the Description of Functions in Chapters 4 and 5 you will find defini-
tions on effect, data format, input limits etc. for the various signals and data defini-
tions.
These definitions are explained in the “Technical comments” section below.
SW version
The software versions indicated in the documentation relate to the SINUMERIK
840D controller. The software version valid in parallel for the SINUMERIK 810D
controller (if the function has been enabled, see /OI/, Catalog NC 60) is not indi-
cated specifically.
Symbols
Important
! This symbol is always displayed in this document to draw your attention to an
important item of information.
Machine manufacturer
This pictorial symbol appears in this document to indicate that the
machine manufacturer can control or modify the function described.
See machine manufacturer’s specifications.
Safety Information
This Manual contains information which you should carefully observe to ensure
your own personal safety and prevention of material damage. Notes relating to
your personal safety are highlighted in the manual by means of a warning triangle,
no warning triangle appears in conjunction with notes that relate to property dam-
age. The warnings are shown below in decreasing order of danger.
Danger
! Indicates that death or severe personal injury will result if proper
precautions are not taken.
Warning
! Indicates that death or severe personal injury may result if proper
precautions are not taken.
Caution
! With a warning triangle indicates that minor personal injury can result if
proper precautions are not taken.
Caution
Without a warning triangle means that material damage can occur if
appropriate precautions are not taken.
Notice
Indicates that an undesirable event or state may arise if the relevant
notes are not observed.
If several hazards of different degrees occur, the hazard with the highest degree
must always be given preference. If a warning note with a warning triangle warns
of personal injury, the same warning note can also contain a warning of material
damage.
Qualified Personnel
Start-up and operation of the device/equipment/system in question must only be
performed using this documentation. Commissioning and operation of a device/
system may only be performed by qualified personnel. Qualified personnel as
referred to in the safety guidelines in this documentation are those who are autho-
rized to start up, earth and label units, systems and circuits in accordance with the
relevant safety standards.
Intended use
Please note the following:
Warning
! The unit may be used only for the applications described in the catalog
or the technical description, and only in combination with the
equipment, components and devices of other manufacturers where
recommended or permitted by Siemens. To ensure trouble-free and
safe operation of the product, it must be transported, stored and
installed as intended and maintained and operated with care.
Technical information
Notations
The following notation and abbreviations are used in this documentation:
S PLC interface signals --> IS “Signal name” (signal data)
Example:
-- IS “MMC-CPU1 ready” (DB10, DBX108.2) i.e. the signal is stored in data
block 10, data byte 108, bit 2.
-- IS “feed/spindle override” (DB31-48, DBB0) i.e. the signals are stored for
each axis/spindle in data blocks 31 to 48, data block byte 0.
S Machine data --> MD: MD_NAME (German name)
S Setting data --> SD: SD_NAME (German name)
S The symbol “≐” means “corresponds to”.
Order codes
Chapters Machine Data and Signal Description provide an explanation of the data
and signals which are important for the respective function. This information, which
is provided in table format, includes a number of terms and abbreviations, which
are explained here.
Default value
The machine data/setting data is preset to this value during startup. If default val-
ues for the channels differ, this is indicated by “/”.
Value range
Specifies the input limits. If no value range is specified, the data type determines
the input limits and the field is marked “∗∗∗”.
Changes
Changes made to machine data, setting data, etc. do not take immediate effect in
the control. The conditions for such changes to take effect are always indicated.
The possible options are listed in order of priority below:
S POWER ON (po)
-- “RESET” key on front panel of NCU module, or disconnection/reconnection
of power supply
S NEW_CONF (cf)
-- “New configuration” function of the PLC interface
-- “RESET” button on the control unit
S RESET (re) “RESET” key on control unit
S Immediately (im) after entry of the value
Protection level
Protection levels 0 to 7 have been used. The lock for protection levels 0 to 3 (4 to
7) can be canceled by entering the correct password (setting the correct keyswitch
position). The operator only has access to information protected by one particular
level and the levels below it. The machine data is assigned different protection lev-
els by default.
Only the write protection level appears in the table. However, there is a fixed as-
signment between write and read levels:
Unit
The unit refers to the default setting of machine data SCALING_FAC-
TOR_USER_DEF_MASK and SCALING_FACTOR_USER_DEF. If there is no
physical unit set in the MD, the field is marked with “--”.
Data type
The following data types are used in the control system:
S DOUBLE
Real or integer values (decimal values or integers), input limits from
+/--4,19*10--307 to +/--1,67*10308
S DWORD
Integers
Input limits from --2,147*109 to +2,147*109
S BOOLEAN
Possible input values: true or false/0 or 1
S BYTE
Integers from --128 to +127
S STRING
consisting of max. 16 ASCII characters (uppercase letters, digits and under-
score)
Data management
The explanations of the PLC interface in the individual Descriptions of Functions
assume a theoretical maximum number of components:
S 4 mode groups (associated signals stored in DB11)
S 8 channels (associated signals stored in DB21--30)
S 31 axes (associated signals stored in DB31--61)
For details of the actual number of components which can be implemented with
each software version, please refer to
References: /FB/ K1, BAG, Channel, Program control
J
Notes
Table of contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19
1.1 General overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21
1.2 Key data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23
2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-27
2.1 Function structure of tool management . . . . . . . . . . . . . . . . . . . . . . . . 2-27
2.2 HMI/PLC -- NCK data structure (OPI) . . . . . . . . . . . . . . . . . . . . . . . . . 2-28
2.3 PLC -- NCK interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-29
2.4 Magazine configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-31
2.5 Magazine list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32
2.6 Tool list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-33
2.7 Tool cabinet (HMI Advanced only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-36
2.8 Tool catalog (HMI Advanced only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-38
2.9 Access protection, protection levels . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-41
2.10 Openess in HMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-42
3 Description of functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43
3.1 Magazines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43
3.1.1 Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43
3.1.2 Loading magazine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44
3.1.3 Box-type and chain magazines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44
3.1.4 Circular magazine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-46
3.1.5 Other magazine types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47
3.1.6 Wear group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47
3.1.7 Background magazine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-49
3.1.8 Consider adjacent location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-50
3.2 Tool change box-type, chain, circular magazines . . . . . . . . . . . . . . . . 3-52
3.2.1 Prepare a tool change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-52
3.2.2 General tool change sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-54
3.2.3 Select a tool and the cutting edge . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-58
3.2.4 Predecoding (preprocessing) and block execution (main run) . . . . . 3-63
3.2.5 Traverse axes while tool is being changed . . . . . . . . . . . . . . . . . . . . . 3-65
3.2.6 Tool change to the spindle for chain and box-type magazines . . . . . 3-66
3.2.7 Special cases “TO”, empty spindles, multiple T selection . . . . . . . . . 3-70
3.2.8 Tool change with turret . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-71
3.2.9 Number of replacement tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-71
3.2.10 Tool changing errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-72
3.2.11 Manual tools (retrofitting tools during machining) . . . . . . . . . . . . . . . . 3-74
3.2.12 Tool changes in NCK by synchronized actions . . . . . . . . . . . . . . . . . . 3-76
3.2.13 Tool change cycle (shopfloor-oriented interface) . . . . . . . . . . . . . . . . 3-79
3.2.14 Example for cycle T function replacement (SW 6) . . . . . . . . . . . . . . . 3-79
3.2.15 Block search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-85
3.2.16 Block search (SSL) in conjunction with active tool management . . 3-86
3.2.17 Program testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-91
Tool-management functions
When dealing with tools, there are 4 types of function:
S TMBF Tool Management Base Functions
Default in NCK
(TMBF = Tool Management Base Functions)
S TMFD Tool Managment Flat D numbers
(TMFD = Tool Management Flat D Numbers)
S TMMO Tool Management Monitoring function
(TMMO = Tool Management Tool Monitoring)
S TMMG Tool Management Magazines
(TMMG = Tool Management Magazines)
Included in the basic version of SINUMERIK 840D/840Di/810D are:
S TMBF or:
S TMBF + TMFD
Available with the tool management option are:
S TMBF + TMMO + TMMG
The function is capable of managing up to 30 real magazines with a total of 600
magazine locations and 600 tools, and up to 12 edges per tool (max. 1500 tool
edges). The maximum number of edges per tool depends on the software version
(12 edges in SW version 5.1 and later) and machine data settings.
With HMI-Advanced, the most user-friendly configuration, the full range of tool
management functions is available. But even with an OP 030 or HMI Embedded,
the main functions can be utilized on a task-related basis.
New structure
The range of functions to be executed by the tool management system has been
extended ever further over time. A new structure will be selected in future based
on the following categories:
TMBF
Basic functions of tool management (available even when tool management is not
active)
TMMO
Tool monitoring
TMMG
Tool magazine management (only available when tool management is active)
TMFD
Tool Management with Flat D numbers (only without active tool management)
Basic functions
The TMBF area of the tool management contains the basic functions. These basic
functions are generally available, even in systems without an active TM system.
Basic functions include, for example, creating and deleting tools, entering offsets
and tool changes. On the basic function level, a specific number (max. 12) of tool
edges (D numbers) is assigned to each T number (tool identification).
Alternatively, the function TMFD or “Flat D numbers” (freely selectable D number
independently of the T number) can be activated in systems without active tool
management. You can select any number of tool edges per tool; the number of
edges per tool is not limited to 12. With “Flat D Numbers”, the user is responsible
for management and assignment of T numbers to D numbers.
Miscellaneous functions
The miscellaneous functions of tool management are magazine management, tool
and location search and monitoring the tool life, workpiece numbers or wear val-
ues. These miscellaneous functions are only available when tool management (op-
tion) is active.
Magazine management functions must be implemented by the machine manufac-
turer in systems without active tool management. These will generally be executed
via the PLC.
Magazine management
“Magazine management” refers to the administration of magazine locations. These
locations might be empty, loaded with tools or assigned to oversized tools in adja-
cent locations.
Empty locations can be “loaded” with other tools. The tool management function
provides the machine manufacturer with a function for optimized management of
tools/magazine locations.
Magazine management provides extended functions such as load, unload or posi-
tion tools and includes searches for tools, magazine locations and search strate-
gies for replacement tools. After expiry of the monitoring time activated in the tool
monitoring function, tools are disabled and no longer used. If tool monitoring de-
tects an existing identical tool (duplo tool) which is not disabled, this tool is then
automatically used for any further machining.
In the simplest case scenario, all that needs to be configured when tool manage-
ment is activated are magazines, loading magazines, spindles, grippers, etc. Fur-
thermore, the interfaces (DB 71 to DB 73) must be processed in the PLC (see
Section 2.3).
Task-related tool motions (e.g. position chain, swivel gripper) are derived from the
interface processing. On completion of tool motions, the positions and task status
are acknowledged via basic program blocks (FC 7 and FC 8). If necessary, create
another cycle (or ASUB) for the NC program where tool changing is programmed
with the required travel motions. An identifier is programmed for the tool change or
tool preselection when the TM system is active. A duplo number is also available to
support unique identification of replacement tools. Tool identifier and duplo num-
bers are always mapped on an internally assigned T number. This internally as-
signed T number is used for addressing the variables described in the following.
OPI variables
Additional functions are available by using OPI variables (see Section 2.2, PI com-
mands) from the PLC or HMI (see Section 5.12.5). The NC program (e.g. cycle,
ASUB) provides corresponding language commands to achieve optimum adapta-
tion of the tool management to the machine environment. You can obtain a clear
overview from the data structures that form the basis of the tool management.
They are represented in the form of NC data blocks.
Operator panels
The following operator panels can be used for tool management (TOOLMAN):
S HMI Embedded
Two interfaces are available:
-- Standard
-- Shopfloor-oriented (Shopmill)
S HMI Advanced
S OP 030 e.g. for loading magazines
The HMI Embedded and HMI Advanced operator interface functionality differs in
the following areas:
S Start-up
S Data backup on hard disk
S Operation from configurable screens
The following are not implemented in HMI Embedded:
S Configuring of user softkeys for empty location search
S Start-up via system displays
S More than one loading and unloading point per magazine
S Tool cabinet, tool catalog
S “Relative” D numbers with user-customizable numbering
S Adapter data
S Location offsets
S Loading and unloading via code carrier system
Data
Data storage and management is carried out in the NC and HMI Advanced. All
data can be read and written manually, via the NC program or by data transfer.
Operation
Operation is performed via system screens. These include screens for start-up
(HMI Advanced only) and screens for tool management operation (magazine lists,
tool lists, loading/unloading).
Notice
M06 is the CNC code generally used for tool change.
PLC
There are data blocks (DB71--73) for receiving tool management commands and
function blocks (FC7, 8) for acknowledging the tool management commands.
Another block, FC22, is used as a direction selection for magazines.
Tool management data can also be read and written via FB2 and 3. Complex tool-
management services can be initiated by FB4.
Magazine types
Circular, chain magazines and box magazines can be managed. Other magazine
types, e.g. pick-up magazine, are mapped onto these.
Real magazines can be defined as a circular, chain or box-type. Loading points or
loading stations shall be used as the magazine type for loading and unloading.
Type designation “magazine buffer” covers all other locations in which tools can be
placed (spindle, gripper,...).
Location coding
Tools are supported both by fixed location coding and variable location coding.
Location type
The location type defines the type and shape of the location. By assigning location
types to magazine locations it is possible to subdivide a magazine into areas. This
means that different types of special tools, e.g. “especially_large”, “espe-
cially_heavy” can be assigned to specific locations.
The location types can be placed in ascending order or hierarchy. This order deter-
mines that a tool that is supposed to be inserted in a “small” location type can also
be placed in a “larger” location type if no “smaller” location type is vacant.
Monitoring
In tool management, it is possible to select either workpiece counts or tool life
monitoring (with reference to the cutting edges). Tool wear monitoring is also avail-
able with SW 5 and higher. Spare tools (duplo tools) are differentiated by means of
a duplo number.
Search strategy
Customizable search strategies are available for tool change. Various strategies
are possible for tool search and to search for empty location of the “old tool”.
You can still set a search strategy for loading tools.
Term Data/Range
Magazine configurations per channel 1
Total number of magazines max. 32
Total number of magazine locations max. 600
Total number of tools max. 600
Programming the tools in the NC program e.g.
using an identifier (name) with 32 alphanu- T =“Angle head cut-
meric characters ter_32”
Duplo no. 1 --32000
Total number of cutting edges max. 1500
Location type definition Yes
Consider adjacent location in half locations 2dimensional
Location coding fixed or variable
Term Data/Range
Strategy for tool search can be set (pro-
grammed) via system
variables
Strategy for location search can be set (pro-
grammed) via system
variables.
M06 command for tool change M code, settable via
MD, channel-specific
Tool change with M06 code or T command settable via MD, chan-
nel-specific
Wear monitoring for every cutting edge
Wear monitoring according to tool life resolution msec
Wear monitoring according to number of Counters
workpieces
Access to tool mangement data via NC System variables
program
Automatic decoding stop until tool is se- Yes
lected.
T=Location No. settable via MD
Option
Tool Management is an OPTION.
HMI
S Tool data display, input/output
S Magazine data display, input/output
S Compensation data, input/output
S Tools and material management
-- Master data
-- Particular tool data
-- Code carrier
S Loading/unloading dialog
NCK
S Tool data management
-- Status
-- Monitoring
-- Corrections
S Magazine data management
-- Magazines
-- Magazine locations
S Tool management
-- Search for tool
-- Finding an empty location
-- Change tool
-- Load, unload
PLC
S Magazine control
S Gripper control
S Spindle control
S Safety interlocks
S Execute tool change
S Calculation of position, if necessary
S Special change strategy, if required
2-28
Magazine directory Magazine data Magazine location data
Bild 2-1
TMV TM, $TC_MAPx[y] TP, $TC_MPPx[y,z]
Overview
Unchecked boxes mark the previous data of the tool management. Checked boxes
show the user data.
New data blocks are displayed as checked and grayed boxes.
TOA area
A TOA area constitutes and independent group in tool management. There is no
link existing to other TOA areas.
Up to 10 independent TOA areas may be created depending on the number of
channels available. Several channels can be assigned to one TOA area but one
channel cannot be assigned to more than one TOA area. A subset of magazines,
buffer locations and loading magazines can be assigned to one TOA area.
Overview
The heart of the SINUMERIK 840D tool management system is located on the
NCK. The PLC merely contains the interfaces for the machine-specific part (see
Fig. 2-2).
PLC NCK
DB 74
DB 71 Parameters,
assignment,
Loading/un- 1 Machine
loading station buffer, etc.
data
TO--Daten
DB 72
Basic
Spindle 1 Tool
program
(FC 6)
management
DB 73 Magazine
Revolver 1
data
FC7, 8
FC22
TM_DIR
Setpoint pos. _ Direction
Direction
Actual pos. selection Distance-to-go
PC PLC NCK
NCVARxy2.mdb User DB
FB2
Read
Magazine
GET NC
data
variable
FB3
PUT write
NC
variables
Tool
management
DB16 FB4, FB7
Tool
management
PI services
Bild 2-3 Extended interface for tool management between PLC and NCK
Magazine configuration
In one configuring process, it is possible to create a magazine configuration which
includes one or several real magazines (actual magazine for storing tools, NCK is
capable of managing several real magazines). All the magazines of one configura-
tion can be operated simultaneously in one channel. Several magazine configura-
tions can be defined but only one configuration can be active in one channel at one
time.
Magazine and tool data are stored in the NC in the so-called TO area. The TO
area can in turn be sub-divided by machine data into individual TO units. It must
further be defined by machine data, which channel works or which channels work
on which TO units. Only one magazine configuration can be active at any one time
per TO units. If several channels are assigned to TO units, then the magazine con-
figuration applies for all assigned channels.
Conf. Machine
MMC configuration Activating data
TO_n Channel n
k ...
m ....
..
.... Channel 3
.. TO_2
2
2 Channel 2
1 TO_1
1 Mag.
Channel 1
real Conf.
Mag.
HMI
The structure of the magazine list (i.e. which data are to be displayed) is defined
by the machine manufacturer via the PARAMTM.INI file. Up to three user-definable
displays (screen forms) are available for dividing up the various types of data, e.g.
offsets, wear, general data. These displays can be called up via their own softkeys.
In the example below: Maglist 1, Maglist 2, Maglist 3. The tools that are located in
the selected magazine are listed in the magazine list.
The magazine list configured under Maglist 1 is the tool management main screen.
All operations can be selected from this display. One magazine list is available for
each channel.
HMI
The structure of the tool list is defined by the user. The data can be displayed in up
to three user-definable screens. In the example below: Tool list 1, Tool list 2, Tool
list 3.
In the tool list, all tools of the TO area are listed sorted according to the internal
T no., i.e. even those tools that are not assigned to any magazine location. The
display underneath the softkey “Tool list 1” is shown as a main screen.
Notice
It is not possible to change the tool type directly in the working offset list. Changing
the tool type of a cutting edge automatically changes the tool type of all cutting
edges of the same tool. The cutting edges of a tool are not listed one after the
other in the work correction list since these are sorted according to user-assigned
D numbers.
Confirmation is always requested with the default “--1”. Entering an access level
(values 1--7) specifies the lowest access level at which the prompt is to appear.
Confirmation is requested with keyswitch “0” (access level 7). The prompt is sup-
pressed with keyswitch “1” and higher (access level 6 and lower).
Example:
[ACCESSLEVEL]
ChangeToolTypeWithoutConfirmation=6 ;value range -1 to 7
Tool cabinet
The data of the tools employed can be stored in the tool cabinet. This data is
called particular tool data. The data corrected when the tool was in operation in the
NC can be stored in the tool cabinet while the tools are unloaded. The user can
retrieve this data again when loading the tool. The user must, however, know the
duplo number for the tool.
A complete set of tool data is kept in the cabinet for each individual tool in the con-
trol, called a selected tool. A selected tool is identified in the catalog by its technol-
ogy, its tool type, its unique name for the tool type and its unique duplo no. (> 0)
with regard to tool type and name. Each selected tool there has a different duplo
no. even when technology, type and tool name are the same.
You can store or enter tool data for selected tools in the tool cabinet.
Notice
If the plant is powered down, softkey EXIT must be used. If it is not (e.g. power
failure), the database can be corrupted. To avoid this happening, an uninterruptible
power supply should be used.
Particular
Master data
tool data
Tool catalog
The tool catalog is empty when supplied. Tool data must be entered before a new
tool can be loaded via the catalog. To this end, technology and tool type are se-
lected and a tool name specified. After which the tool and cutting-edge data are
entered.
As a result of this process, so-called “master data” have been set up for the tools.
When loading a new tool the user can call these master data. It is not possible to
store the data of tools already used. There thus exists for each tool exactly one
master data record of a certain technology, a certain type and a certain tool name.
The tool master data are sorted in the tool catalog. The generally applicable tool
data as well as the nominal and process information for the tools are listed in the
tool master data.
Twist drill
Drill
Boring bar Particular tool data
Master data
Center drill
Countersink
Drilling tools Counterbore Technology
Technology Type
Screw tap
Regular thread Type Name
Screw tap Name Duplo no.
Fine thread
Screw tap Tool data
Whitworth thread Tool data Cutting edge data
Cutting edge data
Reamer
Roughing tool
Finishing tool
Special tools
Special tool
Bild 2-9 Structure of the tool catalog with master and operating data
Notice
Master data can only be read out of the control and transferred to another in their
entirety.
Tool data:
The following data can be entered for every tool:
S Tool size e.g. 2222 (left, right, bottom, top)
S Location type
S Location coding (fixed, variable)
S Tool monitoring (none, tool life, workpiece count, wear)
S Number of cutting edges (display of defined edges only)
S Spare-tool search strategy (next duplo no., shortest path amongst others)
Notice
The database of the particular tool data can only be read out of the control and
transferred to another control in its entirety.
OA / OEM package
The OEM / OA package for HMI Advanced can be used to expand operating
masks and tool-management functionalities.
HMI programming package / Open Architecture. Please refer to the most recent
NC 60 Ordering Catalog for the current status.
OPI variables and PI services are available to expand the functionality. The special
functions are linked by means of the OEM softkeys.
The OPI variables are described in OPI_GR.HLP/OPI_UK.HLP in the directory
MM2\HLP.
The Help file OPI_GR.HLP/OPI_UK.HLP is shipped as part of the OEM package.
For more information, please refer to Section 5.12.5 in this description.
3.1 Magazines
The position of a tool is shown by a magazine identifier and a location identifier.
Magazines have an identifier and a number, magazine locations only a number. In
a real magazine (chain, turret, etc.), the position of the tool is identified by the mag-
azine number and the location within the magazine assigned during start-up.
3.1.1 Buffer
Buffers are located in the second internal magazine. The buffer includes the
spindle, toolholder, gripper, loader and transfer location. The buffers are located at
magazine number 9998. Each buffer element is assigned a unique location. Any
location numbers may be assigned. It is recommended that all spindles and tool-
holder be numbered in ascending order starting at number 1. The assignment to
real magazines or of spindles/toolholders to other buffers is made during start-up
($TC_MDP2, $TC_MLSR).
Example: Assigning the locations in the buffer magazine
The loading magazine is the 1st internal magazine and is assigned magazine num-
ber 9999. The loading magazine contains the loading points.
A distinction is made between
S loading points and
S loading stations
Loading points are provided for loading and unloading tools. The allocation of loca-
tions is fixed, all other locations can be assigned freely. In the case of fixed assign-
ment, location 1 in the loading magazine is used.
Location 1 is reserved for loading/unloading to all spindles/toolholders. All position-
ing tasks for relocation actions to any locations (not loading points) are still handled
via the 1st location. The tasks stated, which refer to a particular magazine location,
are output at the interface of the loading point. The loading points are assigned to
magazines during start-up ($TC_MDP1). A loading point is an open entry to the
magazine where a tool can be manually put into and taken directly from the maga-
zine.
A loading station is viewed as an “external magazine location” which a gripper, for
example, can access to transfer a tool to the magazine during loading.
Gripper 2 Gripper 1
1 2 3 4
Spindle 1
Change position 16 5
for spindle
15 6
Magazine1
14 7
13 8
12 11 10 9
Mag 1= No. 1
Mag 9998 = buffer
Mag 9999 = loading station Loading station
Spindle 1 = Mag 9998, Loc. 1 No. 9999:
Gripper 1 = Mag 9998, Loc. 2
Gripper 2 = Mag 9998, Loc. 3
Gripper 4
Change
position Gripper 2
Magazine2 for spindle
4 3 2 1 1 2 3 4
Spindle 1
8 7 6 5 16 5
Change
12 11 10 9 Gripper 3 position 15 6
Gripper 1
for spindle Magazine1
16 15 14 13 14 7
Spindle 1 = Mag 9998, Loc. 1
20 19 18 17 Gripper 1 = Mag 9998, Loc. 2 13 8
Gripper 2 = Mag 9998, Loc. 3
24 23 22 21 12 11 10 9
Gripper 3 = Mag 9998, Loc. 4
Gripper 4 = Mag 9998, Loc. 5
The magazine zero point is defined by $TC_MDP2 (with value assignment of 0).
The change position (spindle) is normally assigned on this basis.
Revolver 1
Loading/unloading location
Spindle
Loading/unloading location
Revolver 2
Bild 3-3 Double-slide turning machine with direct loading/unloading point in the turret
In practice, there are other types of magazines in addition to the ones listed above.
These are e.g. disk-type, washer, pick-up, rack, cage magazines (and many more).
Such types must be mapped to the three types of magazines supported by the tool
management.
Locations in a magazine are linked to form an area referred to as the “wear group”.
In this way, location groups of a magazine can be activated for particular machin-
ing operations.
A wear group number is assigned to each of these locations and the magazine is
thereby divided into several different areas. Only tools from one of the areas are
then used for a specific machining operation.
The wear group number for each magazine location is defined via system variable
$TC_MPP5[m,p] (m: Magazine number, p: Location number ).
Values in the range of -- 32000 ... + 32000 can be assigned.
Values >0:
The specified number is assigned to the location (e.g. $TC_MPP5[1,3] = 2 assigns
the third location of magazine 1 to wear group number 2).
Value = 0:
The location is not assigned to a wear group, as a result the magazine locations
are not generally included in tool searches.
If the parameter is set to 0, the data will be fully compatible with magazine data
generated in older NCK software versions.
Values <0:
The wear group whose number corresponds to the absolute value of this number is
disabled (e.g. $TC_MPP5[1,3] = -- 2 disables wear group number 2 of the maga-
zine with number 1).
This applies even if there is only one disabled location in the wear group.
Notice
Wear groups are only available for real magazines. The definitions for $TC_MPP5
do not affect the status of tools.
Activate (internally)
Bit 0 of system variable $TC_MAMP3 can be set to determine how internal activa-
tion of a wear group will affect the status of the associated tools.
Value 0:
The tool status is not changed (preset).
Value 1:
When activated, one tool from each tool group included is set to “active”. Tools al-
ready set earlier as active are not reset.
Disable (internally)
Bit 1 of system variable $TC_MAMP3 can be set to determine how internal deac-
tivation of a wear group will affect the status of the associated tools.
Value 0:
The tool status is not changed (preset).
Value 1:
When a wear group is disabled all active tools are reset.
Notice
For information about tool searches in wear groups, see Section 3.4.5.
Background magazines are not directly supported by the tool management. How-
ever, functions for background magazines can be activated by setting the system
variable selectively. System variable $TC_7 MAMP2 -- bit 7 can be used to set
whether the tool search begins in the magazine last used for tool replacement (bit
7 = 0) or whether the search is carried out in the order defined by “Spindle to mag-
azine” (bit 7 = 1).
This system variable is allocated during magazine configuration (via start-up at the
HMI) and saved as an INI file; $TC_MAMP2 -- bit 7 is always preset to 0. It is for
these reasons that the value for $TC_MAMP2 must either be changed in the INI
file (before loading the magazine configuration) or be overwritten by the part pro-
gram:
$TC_MAMP2=385 (bits 0, 7 and 8 set).
Consider adjacent location is used for oversized tools. When searching for empty
locations (loading, tool change) the bits 4... 11 are evaluated in magazine location
parameter $TC_MPP4 (half location occupied/reserved). As this function requires
additional memory space, the default setting is 0.
To active the function, set the following parameters:
$MN_TOOL_MANAGEMENT_MASK bit 3=1
$MC_TOOL_MANAGEMENT_MASK bit 3=1
In addition, for every magazine location that is to be considered for the adjacent
location, parameter $TC_MPP3=1 must be set.
Two new functions are available with active consider adjacent location (from SW
7.2).
$MC_TOOL_CHANGE_MODE=0
If an error is detected during tool preparation, then machining is stopped when the
block T = identifier is read-in.
After correction and NC Start, the block with T = identifier is interpreted again and
program processing is continued.
$MC_TOOL_CHANGE_MODE=1
S Within an NC block
T=“Tool identifier” M06 ; Tool preparation and tool change. This pro-
; gramming line results in a command to the
; PLC
Programming tool preparation and tool change in one block (T= “Tool identifier”
M06), corresponds to setting TOOL_CHANGE_MODE = 0.
S distributed over two NC blocks
Tool preparation and tool change are typically programmed in different blocks. Two
commands are transferred to the PLC.
An alarm is triggered if an error occurs in T= “tool identifier”. If the MD
TOOL_CHANGE_ERROR_MODE (MD 22562) is set accordingly, the alarm is
delayed until the associated tool change command M06 is interpreted in the pro-
gram run. Only then is the alarm output. The operator can make corrections in this
block.
Notice
A D compensation is activated by a tool change. If the D command is not
programmed in the block containing the tool change command, the tool
compensation set in MD 20270: CUTTING_EDGE_DEFAULT is activated. If the
value of the variable is --1 or >0 (selection of a specific compensation), the alarm
17181:
“D number for the tool does not exist in the NCK” may occur.
If the value is 0 (compensation deselected) or --2 (old compensation retained),
there is no problem when determining the compensation.
Empty spindle
Program commands T0 and M06 remove the tool from the spindle and return it to
the magazine. The spindle is then empty.
The Start pushbutton is operated once the operation has been completed. The NC
block T “tool identifier” is interpreted again and program processing is continued
provided operator intervention was correct. If not, the alarm will be generated
again.
Part program
Process alarm
command T=“Ident.”.
NCK determines the
locations of the tools Distribute in OB1 after Commando in DB 72
involved check for interface influence channel signals,
availability e.g. read-in disable
1 cycle OB1 wait
Transmission of cyclic
signals and and tranport Actions for preparatory
work (e.g. magazines)
acknowledgement for T
FC 8
Status 105
FC 8
Status 1
Process alarm Process alarm
Program command M06 Initiate actions
Distribute in OB40, if DB72 INT free
for change
Transport
1 cycle
acknowledgement M06
FC 8
Motion blocks with active Status 105
tool edge can be FC 8
traversed from this point Status 1 Change carried out
The prompt for changing the tool is issued by the part program via T command or
M command.
1. The tool-management function in NCK searches in accordance with the tool
searching strategy and the requirements of the T call for a tool suitable for use
(preparation) and, at the same time, searches for an empty location for the tool
to be exchanged.
2. The calculated data are make available in DB 72/73. The user program must
react by making a new tool available.
3. If machine data MD 22550: TOOL_CHANGE_MODE is set to 1, the PLC exe-
cutes the tool change with the “M06 command” in the part program and signals
the completion of the change operation.
If the machine data is set to 0, the tool data is changed and the desired com-
pensation become active when T or D are programmed. The PLC has the op-
tion of applying its own tool change strategy. It can choose its own empty loca-
tion for storing the old tool.
Example
If, for example, in a tool change with a dual gripper, the old spindle tool is to be
replaced in the magazine as “quickly” as possible, the PLC must check whether
the location is suitable to accommodate the old spindle tool in terms of type and
adjacent locations. Tool management is then to be informed of the change opera-
tion by the PLC (FC 8 block).
The new empty location search strategy “Replace new tool for old” is also avail-
able. Tool management thereby checks whether its is possible to replace the old
tool with the new tool at the location of the new tool (1:1 replacement).
Notice
The tool change in an NCK-internal operation that is executed as an interaction
with the PLC. The HMI only has the task of displaying data and facilitating data
input.
N10 N40
TOOL--TO--TOOL TIME
CUT--TO--CUT TIME
t1 t2 t3 t4 t5
Bild 3-6 Chronological sequence of tool change
t1 Axes at standstill
Spindle rotates
Start of tool change cycle in N10.
t2 Traverse axis with G75 in N20 to tool change point
t3 Spindle reaches programmed position from block N10
t4 Axes reach exact stop coarse from N20; N30 now starts:
M06 removes the previous tool from the spindle and loads and
clamps the new tool.
t5 Tool changer swivels back to original position.
Then, in N1000 of the calling main program,
-- new tool offset can be selected,
-- the axes can be returned to the contour, or
-- the spindle can be accelerated.
Notice
T number and the M function are no longer transferred to the PLC as an auxiliary
function if TOOLMAN is activated.
Numbers are valid tool names as well, e.g. “3” instead of T = “3” can be
programmed more simply as T3.
There must be a tool with the T number as the identifier available when working
with the T number.
Example:
If you want to call a tool using T3, the tool must have the name “3”. A tool
CANNOT be called with the internal T number managed by NCK only.
Notice
If bit 4 of machine data MD 20310: TOOL_MANAGEMENT_MASK set, then PLC
usually has the possibility to again request preparation for a tool change, yet this
time with different parameters, i.e. to reject the tool.
Command acknowledgement
When acknowledging a command from the NCK, the PLC can change the parame-
ters of this command in the acknowledgement data.
The following sequence is implemented to allow acknowledged commands from
the PLC to be assigned in the NCK:
-- The T number in the command is used to determine the tool in the NCK.
-- The data of the current tool location are obtained from the tool.
-- This current tool location is checked against the address specified in the
command.
-- If the data does not correspond, the data is corrected in the acknowledged
command and in the original command residing in the NCK.
-- Acknowledgement of the command in the NCK is continued.
Notice
If the tool to be changed is transported from the magazine to the toolholder in
multiple individual steps, the PLC acknowledgement number 105 applies.
With the PI command _N_TMMVTL a tool in status “being changed” cannot be
moved.
The following applies for loading, unloading, reloading and positioning: The PLC
must not change the target positions specified by the NCK for the NewTool as they
have to be identical with those in the NCK.
Example 1
The data printed in bold font (can be changed) in the PLC acknowledgement and
NCK indicate that the NewTool is not longer present at the From location specified
in the command (NewTool: from M: 00002 P: 00001). It was, for example, moved
to gripper location 9998/3 after output of the command “Prepare tool change” by an
asynchronous PLC motion command. Only then is the tool preparation command
acknowledged by the PLC. NCK checks the tool data and compares them to the
data in the command (underlined) and corrects the command data in the NCK after
internal command assignment, thus allowing subsequent acknowledgements to
proceed with the valid data.
T00001 N:N10 CMD:00002
NewTool:
from M: 00002 P: 00001 to M: 09998 P: 00003 TNo: 00001 Spindle : 00001
OldTool:
from M: 00000 P: 00000 to M: 00000 P: 00000
After automatic correction of the command parameter “NewTool: from” in NCK to
NewTool: from M: 09998 P: 00003 to M: 09998 P: 00003
the original command is acknowledged in the NCK with this correct data.
Example 2
1. NCK tool change command to PLC
2. An asynchronous tool motion command triggered by one of the PLC commands
8 or 9 (tool was transported), i.e. direct data manipulation plus associated me-
chanical tool movement.
3. Acknowledgement of the tool change command
Tool preparation command NCK --> PLC (bring TNo.=1 from gripper= 9998/4 to
spindle 9998/1) is calculated and output to the PLC:
T00001 N:N10 CMD:00002
NewTool:
from M: 09998 P: 00004 to M: 09998 P: 00001 TNo: 00001 spindle 00001
OldTool:
from M: 09998 P: 00002 to M: 00003 P: 00004
Asynchronous tool motion command 9 from PLC (bring TNo.=1 from magazine
location 9998/4 to 9998/3):
T00002 N: ACK: 00009 un: 00001
NewTool:
from M: 09998 P: 00004 to M: 09998 P: 00003
OldTool:
from M: 00000 P: 00000 to M: 00000 P: 00000
The tool changes the location data in the NCK as well as the mechanical location.
Tool TNo.=1 is now in location 9998/3.
PLC acknowledges the tool preparation command as follows:
T00003 N: ACK: 00002 un: 00001
NewTool:
from M: 09998 P: 00004 to M: 09998 P: 00004
OldTool:
from M: 09998 P: 00002 to M: 09998 P: 00002
As the tool with TNo.=1 is actually located in position 9998/3, the NCK first assigns
the command then corrects the acknowledgement data within the NCK:
T00003 N: ACK: 00002 un: 00001
NewTool:
from M: 09998 P: 00003 to M: 09998 P: 00001
On the machine this corresponds to the real tool transport from the gripper
(9998/3) to the spindle (9998/1).
Example 3
If the command for tool change is removed by the asynchronous tool motion com-
mand “unload this tool that was just loaded for change”, alarms 6405 and 6442 are
displayed when the change command from the NCK is acknowledged.
Notice
Detailed information on cutting and compensation numbers can be found in
/FB1/ W1 -- tool compensation.
Sequence
The cutting edge geometry cannot be calculated until the tool management knows
the tool that is actually to be used. Only the identifier is stated in the part program
for tool change. Generally, the tool with the status “active” is then used. If this is
then disabled, then one of the other spare tools is used -- the Spare tool. The pre-
coding delays selection of the new compensations until it is clear which tool is to
be used. Only then can precalculation of the blocks be restarted.
Tool change must have been completed before the path can be traversed with the
tool compensation of the new tool.
The block is split if the preprocessing run detects that a new edge of a new tool
has been selected for the first time and tool preparation has been initiated, but not
yet completed.
The following synchronization points exist between predecoding and block execu-
tion:
Example:
Programmed NC block:
N1D1 M06 Txx X100 Y100
Sequential blocks:
N1 Txx M06 end of block
N2 D1 X100 Y100
Notice
The transport acknowledgement is an internal acknowledgement of an NCK
command. It indicates to the NCK that the output command was accepted. When
a new command is output to the PLC, the NCK waits for the acknowledgement of
the previous command.
Notice
During a synchronization operation where the new compensation is used or
allowed for by the preprocessor, “block splitting” must be performed. This ensures
that a preprogrammed tool change T or M06 is actually performed and not
collected in run blocks.
Unlike the STOPRE command, the preprocessor does not necessarily wait until all
blocks have been processed, but only waits if tool selection has not taken place by
the appropriate time. The appropriate time is when programming new
compensations after tool change or when programming GETSELT.
After the tool change command M06 the axes can continue travel without having to
wait for the tool change acknowledgement and, e.g., execute traversing blocks
without tool compensation. Travel only stops in a block with an compensation se-
lected (D no.) until the tool change is signaled by the PLC.
Requirement: MD 20270: CUTTING_EDGE_DEFAULT= 0 or = --2
Example: Traversing blocks between tool change and cutting edge selection
N10 T=“Drill18” ; Tool change preparation
N15 M06 ; Tool change
N20 D0 ; Compensation deselection
N25 G00 X100 Z200 ; Traverse machine axes
N30 Y150 M79 ; Traverse machine axes
N35 G01 D1 X10 ; Activating the tool compensation.
; Check whether tool has been changed. preproces-
; sing stop until tool change preparations are com-
; pleted.
Main run waits until tool change is acknowledged
from PLC
The preprocessing stop is maintained until the tool change preparations have been
completed. The main run waits at N35 (D1) until the tool change has been exe-
cuted and acknowledged.
3.2.6 Tool change to the spindle for chain and box-type magazines
Spindle/buffer DB 72
Data block DB 72 changes tools in the spindle. This data block also prepares the
tool change. This data block has an interface for every spindle.
User data is available at each interface (sequence in accordance with the spindle
number) as for the loading and unloading points. The data block also contains
additional data for the new tool. This data includes location type, sizes, tool status
and the T number internally assigned in the NC.
The buffer address of the spindle is contained in DB 72. DBW(n+16) and
DBW(n+18) as the destination for the new tool. This position is communicated as
the target position of the new tool in parameters “NewToolMag” and “NewToolLoc”
when the tool change has been successfully completed. The target position for the
old tool (DB72. DBW(n+24) and DBW(n+26)) is transferred to FC 8 in parameters
“OldToolMag”, “OldToolLoc” together with parameter “Status = 1” after the change
tool command has been executed.
Gripper 2 Gripper 1
1 2 3 4
Spindle 1
16 5
Change position
for spindle
15 6
Mag. No. 1
14 7
Spindle 1 = Mag 9998, Loc. 1
Gripper 1 = Mag 9998, Loc. 2 13 8
Gripper 2 = Mag 9998, Loc. 3
12 11 10 9
The tool change in the spindle is split into two steps (for
TOOL_CHANGE_MODE=1):
1. Prepare change:
Search for new tool and move to the change position
2. Perform change:
New tool into the spindle and old tool into magazine in correct location
1. Prepare change
Bit 2 is set in DB72.DBB n+0. In preparing for the change, the current positions of
the tools are forwarded to FC 8 in the associated parameters once the preparation
step has been completed. “Status” = 1 is parameterized in FC 8 at the same time.
This means that the “old tool” is still in the spindle and that the “new tool” is either
still in the source magazine at the same location or has been placed in a buffer.
The following information is passed to FC 8:
S The new tool is in the change position, but is still located in magazine (NewTool-
Mag = 1 and NewToolLoc = 1).
S The old tool still remains in the spindle.
(OldToolMag = 9998 and OldToolLoc = 1).
2. Change tool
If the preparation command has been correctly acknowledged with status = 1, the
“Change” bit DB72.DBB n+0 bit 1 is set with the M06 command in the part pro-
gram. The user parameters are also transferred again. All other values remain un-
affected by the “Change tool” operation.
Two tools are involved in the tool change procedure. The old tool is in the spindle
and the new tool is in the magazine. The tool transport is executed in this example
with gripper 1 and gripper 2. Any change in the position of the tools must be com-
municated to the tool management with FC 8. FC 8 must be called twice for this
purpose.
Notice
The operator uses FC 8 to notify the tool management of the new positions of the
exchanged tools.
Tool management knows which is the new (called) tool and which is the old
(spindle) tool.
The current positions are also known to the tool management. If these positions
change, the tool management is only informed about this through FC 8.
Notice
If T preparation and change signals are present at the same time, the tool call and
change command (T and M) are programmed in one block. When FC 8 is called in
such a case, only the change and not the selection need be acknowledged.
If the dual gripper is to place the spindle tool in the magazine location of the new
tool, the user must ensure that the magazine location is of the same size and loca-
tion type as the spindle tool.
Here too, a 1:1 replacement is supported through appropriate setting of the search
strategy by the tool management.
If this is the case, the transfer can be performed simultaneously (on the dual grip-
per in the spindle and in the magazine location at the change position).
FC 8 must be parameterized as follows.
Spindle is empty
The tool must be changed. This status is indicated by the fact that parameters Old-
ToolMag and OldToolLoc are set to “0”.
In this case, FC 8 parameters OldToolMag and NewToolLoc must be set to “0” for
tool preparation and change.
Multiple T selection
It can happen with multiple T selection that the program cannot be aborted by a
reset.
The interruption response can be enhanced as follows:
S Cancel the read-in enable to prevent following blocks from being accepted in
the main run.
S Then acknowledge with status 3 via FC 8 (the tool command is denied by the
PLC).
S When the acknowledgement has been issued, the RESET can be activated for
the channel.
Turret DB 73
DB 73 is the block used to “change” tools in the turret (i.e. by rotating the turret so
that the required tool is in working position). This data block has an interface for
every turret. The turrets are numbered using ascending magazine numbers. User
data are available at each interface as for the loading and unloading point. The
data block also contains additional data for the new tool. These data are amongst
others, location type, sizes, tool status and the T number internally assigned in the
NC.
Following completion of the tool-change operation, loading the new tool shall be
acknowledged by FC 7. To this end, the parameter “ChgdRevNo” receives the tur-
ret number of the new tool that has been inserted.
Alarms
For operation via the HMI, alarm 17192 is output as an indication as soon as the
defined limit is violated.
Notice
Machine data MD 17500: MAXNUM_REPLACEMENT_TOOLS is limited (up to
600) only by the upper limit value set in machine data MD 18082:
MM_NUM_TOOL.
If an error is detected by the NCK in the programmed tool preparation (e.g. no tool
available, no free position in magazine) program processing is terminated with an
alarm.
The operator can assess and rectify various problems without terminating the pro-
gram.
The following problems can be solved:
S The tool data record is not or not entirely in the NCK.
S The part program contains a programming error.
S No more replacement tools of the tool group in question are available (only ap-
plies when tool management is active).
S Alarm 22067 or 22069 is stored. The tool data record has been loaded into the
NCK but is not assigned to a magazine location or the magazine of the tool is
not accessible to the tool search (only applies when tool management is active).
The tool must be reloaded “manually” (e.g. directly onto the spindle).
Notice
The case of “Invalid D number” can occur either if there is an error in the part
program or the data block for the D number is not in the NCK.
Programming example
N10 ...
N100 T=“Drill” ; NCK detects an error
N110 ...
N200 M06 ; to the extent that the tool change is not
; explicitly programmed in the same program for
; tool preparation
N210 ...
Notice
As a rule M06 is not programmed at the program level of tool preparation but
rather in a subroutine, cycle or macro.
The fault is found during tool preparation yet is ignored by the NCK. The program
continues and stops at M06. Tool preparation has been completed at this point in
time for a regular program run. In the event of an error, tool preparation with the
correct data can be subsequently effected.
The programming error (in block 100 in this example) is corrected by adding the
compensation to the tool change block:
N200 “T=Drill_1” M06
Notice
The responsibility is on the users themselves to comply with the safety regulations
via the PLC program.
Sequence
Internally, the NCK initiates an automatic sequence until the user can perform the
tool change with a manual tool. The NCK searches for the selected tool and de-
tects that a suitable tool is not available in the magazine. After determining there is
no suitable tool in the tool-holding magazine, the tools are investigated that are not
assigned to any magazine. The tool with the status active is selected from these. If
there is no active tool, then the tool with the lowest duplo no. is selected.
If no suitable tool is found, then loading a manual tool can take place. The manual
tools are identified in the interface to the PLC (VDI) by the Magazine location
no. 1 in the magazine 9999. The PLC can detect from this identifier that a manual
tool is to be loaded. The PLC ensures that the machine is in a safe state in order to
allow the user to perform the manual tool change.
Notice
If the manual tool is loaded, alarm 17212: “Channel %1, Manual tool %2, Duplo
No. %3, Load to toolholder %4” is output. The alarm is confirmed by the
tool-change acknowledgement from the PLC.
Notice
The PLC is not allowed to reject a manual tool preselected by the NCK (for tool
rejection, see also MD 20310: TOOL_MANAGEMENT_MASK).
Notice
Several toolholders and manual tools can exist in the progam-test mode because
of the technology used for the internal storing.
Restrictions
In conjunction with tool selection, tool change and compensation selection, only
problems associated with the block correction technique can be rectified that have
arisen because of programming errors or incorrectly defined data in the NCK.
Problems or errors resulting from faulty communication between NCK tool man-
agement and the PLC cannot be rectified in this way. This type of errors does how-
ever only occur when a new PLC program is installed at the machine and not dur-
ing production by the machine.
The manual tool function is only implemented if TOOL_CHANGE_MODE=1.
Notice
The variables are read-only (exceptions: $AC_TC_CMDT and $AC_TC_ACKT).
The acknowledgement mechanism remains unaffected (as before, the PLC
acknowledges all commands from the NCK via FC 8/FC 7).
Method of operation
The variables are written.
1. with each command from the NCK (CMD)
2. with each acknowledgement from the PLC (ACK)
3. with PowerOn all are set to value “--1”
The data is retained until it is overwritten by a new command. This means that with
commands of the same type, it is not possible to tell from the function number
($AC_TC_FCT) whether a new task is present.
The exceptions are:
$AC_TC_TNO and $AC_TC_THNO
If, for example, the NCK outputs a T preparation, both these variables are set to
“--1” with the first PLC acknowledgement via FC 8 (e.g. state 105).
Notice
Scanning should only take place in synchronized actions.
Depending on the application, this can then trigger the variables $AC_TC_CMDT
and/or $AC_TC_ACKT.
Example 1
Positioning a tool chain onto the old location
Description: The tool chain has 36 locations, is defined as rotary and indexing axis,
increments are 10 degrees therefore each graduation corresponds to
one magazine location.
Tool_Change_Mode=1, Tool_Change_M-Mode=6
Ids=1 every(($AC_TC_CMDT==1)and(($AC_TC_FCT==2)or($AC_TC_FCT==5)))
do $R10=itor($AC_TC_LTO)
...
if ((R10>0)and($A_DBB[x]==5))
pos[U1]=cdc(R10)
endif
The trigger is sent to the command output of the NCK and with command “2”
(T preparation) or command “5” (T/M06 in one block) the old location is read out
and stored in R10
(itor=IntegerToReal -- format conversion if the variable is stored in the R-variable in
synchronized actions).
Later in the program, when the enables from the PLC are present (for example as
$A_DBB[x]==5), the magazine axis is traversed to the saved position (old loca-
tion=$AC_TC_LTO).
A magazine movement could also be started as follows (shown here in simplied
form):
Ids=1 every(((($AC_TC_FCT==2)or(AC_TC_FCT==5))and
($AC_TC_STATUS==105))and(($AC_TC_LTO>0)))
do pos[U1]=cdc($AC_TC_LTO)
With commands “2” and “5” (T preparation or T/M06), with old location>0 and PLC
acknowledgement status “105” (serves as enable), the magazine axis is traversed.
Old location>0: If the spindle was empty, there is no old tool and the old location
is 0. Therefore, the magazine axis does not need to move.
Example 2
Swiveling a turret
Description: Turret, 6 locations, the turret is defined as an indexing axis, 60-degree
increment, corresponds to one tool location, 1xSpindle,
Tool_Change_Mode=0
Ids=1 every($AC_TC_CMDT==1)and($AC_TC_FCT==4)and($AC_TC_LFN>0)
do $R10=itor($AC_TC_LFN)
...
if ((R10>0)and($A_DBB[x]==5))
pos[B]=cac(R10)
endif
...
The trigger is sent to the command output of the NCK and with command “4”
(change with T command) the new location is read out and saved in R10
(itor=IntegerToReal -- format conversion if the variable is stored in the R-variable in
synchronized actions).
Later in the program, when the enables from the PLC are present (for example as
$A_DBB[x]==5), the turret is traversed to the saved position (new loca-
tion=$AC_TC_LFN).
The logic operation $AC_TC_LFN>0 prevents a movement from taking place if, for
example, TO was programmed.
The tool change is initiated by a cycle for the shopfloor-oriented interface. For a
more detailed description please refer to the documentation:
References: /BAS/ ShopMill Operation/Programming
References /FBSP/ Description of Functions, ShopMill
Both a turret head as well as a magazine with several buffer locations can be real-
ized in one channel for transporting the tool into the spindle with the new function
“T-function replacement”.
The in the turret can be called with T Dxx and the tool in the tool-holding magazine
can be pre-selected with a T call and be loaded with M6 Dxx.
Prerequisite is the channel-specific setting for the spindle
($MC_TOOL_CHANGE_MODE=1). It can furthermore be defined in the NCK by
the type of magazine those magazines where the spindle display shall be sup-
pressed.
General
Considered is a turning unit with tool feed between SAT spindle and tool disk-type
magazine via gripper (turret head and chain in one channel).
Assignment DB4
The magazine type in OB100 was changed when presetting the DB4 from “turret”
to “chain”.
Type of magazine:1=chain
3 = Turret,
5 = Box-type magazine,
7 = Buffer,
9 = Loading magazine
Machine data
The setting Spindle has been activated in each channel (basic setting = turret) and
the T-function replacement used.
MD 22550: $MC_TOOL_CHANGE_MODE = 1
MD 22560: $MC_TOOL_CHANGE_M_CODE = 6
MD 10717: $MN_T_NO_FCT_CYCLE_NAME = T_CYCLE
PLC program
The interface to the PLC now lies in DB 72 for T or M6 respectively because of
TOOL_CHANGE_MODE =1. Acknowledgement is however only given via FC 8.
The program Testwzv.awl from the tool box has been linked for acknowledging the
jobs with FC 8. The default selection of FC8 parameters in DB 62 has been
changed by the variable Monitor/controlbefore the acknowledgement and in accor-
dance with the operational sequence in the machine, i.e. preparation with tool in
the gripper has been acknowledged for a T call of a tool in magazine 2. For the tool
change M6, the tool in the spindle is first held by the gripper and the new tool then
put into the spindle.
Interface to data changes prior to the acknowledgement:
DB62.DBW 2 = Magazine for new tool
DB62 DBW 4 = Location for new tool
DB62.DBW 6 = Magazine for old tool
DB62.DBW 8 = Location for old tool
DB62.DBW 10 = Status
T function replacement
The function replacement of the T number in combination with the setting Spindle
has been changed since channel-specific, only changing with T or M06
(TOOL_CHANGE_MODE =0/1) can be set and the requirement exists to program
the turret with T Dxx and to prepare a tool from the disk-type magazine with T and
to load with M6 into the spindle.
A cycle entered in MD 10717: $MN_T_NO_FCT_CYCLE_NAME is called if the
T number is programmed. In this cycle, the T number is first programmed and
evaluated as to whether there is a job “Prepare tool” pending for a turret or for a
disk-type magazine.
With pre-selected magazine = turret, the function M06 Dxx is programmed in the
cycle; if a tool is selected from a disk-type magazine, only the T number is output
in the cycle.
Notice
It is not possible to replace the language commands TCA and TCI via this
machine data.
Notice
Tool rejection by PLC: If bit 4 of machine data MD 20310:
TOOL_MANAGEMENT_MASK set, then PLC usually has the possibility to again
request preparation for a tool change, yet this time with different parameters, i.e.
to reject the tool. This is not possible during block search. In this case, the
machine data setting is ignored.
Notice
Because the tool change is frequently performed using cycles, a “replace
command” generated by the block search must be executed in an asynchronous
subroutine (ASUB). Modal and static motion-synchronization action is retained at
the beginning of ASUB and is also effective in the asynchronous subroutine. If the
asynchronous subroutine is not continued with Repos, the modified modal and
static motion-synchronous actions in the main run remain operative.
Alternatively, execution of the NC part program can be stopped by halting feed and
read-in, and a fault message “Wrong tool in spindle after the block search” can be
generated.
The block search is described in Section 3.2.15. Here we shall deal with the spe-
cific features in conjunction with active tool management.
The block search establishes the start position of the target block. Auxiliary func-
tions programmed in SSL are collected and output in action blocks at the end of
the SSL.
For now this also applies to the T command and M06. This depends on the setting
in machine data 20128: $MC_Collect_Tool_Change
...
N30 T=“Face_80mm” ;TNo. 2
...
N70 M06
...
N80 T=“1537” ;TNo. 3
...
N90 M06
...
N95 T=“Drill_6mm” ;TNo. 4
...
N98 ...
Settings:
$MC_Tool_Change_Mode=1
$MC_Collect_Tool_Change=1
$MN_Search_Run_Mode Bit 1=1
$MC_Collect_Tool_Change=1 means: Output of T and M06 to block search.
Procedure:
-- The following takes place in the action blocks:
The change from tool “1537” (Tx/M06) is output
--> PLC sends a negative acknowledgement
Preparation of tool “Drill_6mm” is output
--> PLC sends a positive acknowledgement
-- The program “Prog_Event.SPF” is started with the last action block.
The change and preparation are now carried out.
Prog_Event.SPF
...
def int T_Vor, T_Spi, T_active
...
T_active=$P_TOOLNO The active tool (block N80 and N90 are read
T_active=3
This tool must be changed.
GETSELT(T_Vor) T preparation is read from block N95 T_Vor=4
T_Spi=$TC_MAP6[9998,1] The actual spindle tool is read T_Spi=2
If... scan (see next example)
Destination:
In order to continue in the program:
a. Tool “1537” must be changed
b. Tool “Drill_6mm” must be prepared
...
N10 T=“1231” ;TNo. 1
...
N20 M06
...
N30 T=“Face_80mm” ;TNo. 2
...
N70 M06
...
N80 T=“1537” ;TNo. 3
...
N90 M06
...
N95 T=“Drill_6mm” ;TNo. 4
...
N98 ...
Settings:
$MC_Tool_Change_Mode=1
$MC_Collect_Tool_Change=0
$MN_Search_Run_Mode Bit 1=1
$MC_Collect_Tool_Change=0 means: No output of T and M06 to block search.
Procedure:
-- Negative acknowledgement is not required in the PLC.
-- The program “Prog_Event.SPF” is started with the last action block.
The change and preparation are carried out in retrospect.
Prog_Event.SPF
...
def int T_Vor, T_Spi, T_active
...
GETEXET(T_active) The spindle tool is read from NCK view (block N80
and N90) T_active=3
GETSELT(T_Vor) T preparation is read from block N95 T_Vor=4
T_Spi=$TC_MAP6[9998,1] The actual spindle tool is read T_Spi=2
...
Notice
1. If a change is output by the action blocks (in example block N80 and N90), it is
always a command “5”, i.e. “Prepare change” and “Perform change” are
pending in DB 72 at the same time.
2. If the correct tool is already placed in the spindle (i.e. in the block search
example at block N70 and $MC_Collect_Tool_Change=1 is set), the T
preparation is issued (from block N30).
The setting for bit 12=0/1 in the MD $MC_Tool_Management_Mask machine
data is not evaluated.
3. Difference between the commands GETEXET and $P_TOOLNO:
GETEXET
Reads the T No. of the tool in the spindle from the NCK’s point of view.
Independent of an offset selection.
Was specifically developed for use with block search.
$P_TOOLNO
Reads the T No. of the active tool.
This does not refer to the “active status” of the tool which is set via the T
preparation, instead it refers to the tool whose offset is being calculated. This
view of the tools means that a tool doesn’t become an active tool until the
offset is selected -- which is what is read with $P_TOOLNO.
This command is dependent on machine data $MC_Cutting_Edge_Default.
Example:
...
N100 T=“Counterbore” ;T No. 5
N110 M06
N108 G90 G00 D1 X...
...
N200 T=“Drill” ;T No. 32
N210 M06
N208 G90 G00 D1 X...
The “program testing” function can be used to traverse a program without axis mo-
tion.
All other data is determined and calculated. For tool management, this means that
the tools are searched and the appropriate values transferred to the PLC interface
when the tool is called.
The PLC must acknowledge these jobs without moving the magazine or changing
a tool. Special measures are therefore required on the PLC.
The tool management acts in exactly the same way as it would when a program is
running. In the case of tools without fixed location codes and acknowledgement,
this can result in the PLC data indicating different tool locations to the actual me-
chanical locations in the magazine. This can be prevented by configuring FC 8
such that a fixed location is simulated for the duration of the program test rather
than the calculated empty location applied as a parameter.
The old location of the tool is stored in the function block which handles program
testing and returned again to this location in the software (data settings). Any exist-
ing spindle tool is also returned to the spindle in the software at the end of the pro-
gram test or on a reset. This ensures that the magazine assignments in the soft-
ware match the mechanical assignments after program testing.
For testing programs involving manual tools, see Section 3.2.11.
Notice
The relevant PLC example is stored in the toolbox. The sample file
WZV_PROG.AWL is packed in file WZV_BSP.EXE.
The disabling of tool change command outputs is selected intentionally as the de-
fault, even though this renders the software incompatible with earlier NCK ver-
sions.
The following applies for the tool used during program test mode:
The tool status “active” can still be set and the tool status “Was in use” is set. This
does not have any further detrimental effects since tool monitoring is not normally
active in the test mode.
With bit 20, value 1 is set, generated commands are output to the PLC. Tool /
magazine data can be change in the NCK here depending on the type of acknowl-
edgement by the PLC. If the acknowledgement parameters for the “target maga-
zine” are set to the values of the “source” magazine, then the tool is not moved
and the data therefore not altered in the NCK.
Exception: The tool status of the tool activated in the test mode can take the status
“active”.
Notice
It may not be derived -- to the extent the setting “No tool-change commands to
PLC” -- that the tool on the spindle in the toolholder during “Program test active” is
the active tool.
When using tool management and more than one spindle please note the follow-
ing:
The program must specify the location (spindle number on milling machines) at
which the tool is to be changed before the tool management can insert a tool.
Using the machine data MD 20124: TOOL_MANAGEMENT_TOOLHOLDER can
be set to determine whether a toolholder number must be assigned to define the
location of the tool to be loaded instead of a spindle number. Thus the appropriate
designation (spindle number or toolholder number) can be used in the event of
use.
The following figures show which variable definitions you require for the following
variants:
S Working with two spindles in one channel and one TO unit (standard functional-
ity)
S Working with two spindles in one channel (standard function)
S Working with 2 toolholders in 2 channels (one TO unit)
S Working with two toolholders in one channel
Channel 1
Spindle 1 = Location 1
(in 2nd internal magazine)
$TC_MPP1[ 9998, 1 ] = 2 = Spindle location
$TC_MPP5[ 9998, 1 ] = 1 = Spindle number
$MC_SPIND_DEF_MASTER_SPIND = 1
$TC_MDP2[1,1]=0
6
5 7
4 Change position
8
3
Magazine1 9 Channel 2
$TC_MAP8[1]=6 $TC_MDP2[1,2]=4
2
Change position 10
1
11
Spindle 2 = Location 2
(in 2nd internal magazine)
16
12 $TC_MPP1[ 9998, 2 ] = 2 = Spindle location
15 $TC_MPP5[ 9998, 2 ] = 2 = Spindle number
13 $MC_SPIND_DEF_MASTER_SPIND = 2
14
Two channels operating with the data of one TO unit (with one magazine). One
spindle is defined in each channel.
Spindle 1 in channel 1 has been declared the master spindle with MD
SPIND_DEF_MASTER_SPIND=1. Spindle 2 on channel 2 is the master spindle.
Both spindles must be assigned different numbers because the assignment of the
spindle to the second internal magazine (buffer magazine) must be unique.
This assignment is realized by $TC_MPP1 (spindle location) and by $TC_MPP5
(spindle number).
Spindle 1 = Location 1
(in 2nd internal magazine)
$MC_SPIND_DEF_MASTER_SPIND = 1
$TC_MPP1[ 9998, 1 ] = 2 = Spindle location
$TC_MPP5[ 9998, 1 ] = 1 = Spindle number
(master spindle; machine axis ’AX 4’)
$MA_SPIND_ASSIGN_TO_MACHAX[AX 4] = 1
$MA_SPIND_ASSIGN_TO_MACHAX[AX 5] = 2
$TC_MDP2[1,1]=0
6
5 7
4 Change position
8
3
Magazine1 9
$TC_MAP8[1]=6 $TC_MDP2[1, 2]=4
2
Change position 10
1
11
Spindle 2 = Location 2
16
(in 2nd internal magazine)
12
$TC_MPP1[ 9998, 2 ] = 2 = Spindle location
15 $TC_MPP5[ 9998, 2 ] = 2 = Spindle number
13 (secondary spindle; machine axis ’AX 5’)
14
Notice
SETMS does not change the active tool. The new master spindle definition cannot
be referenced until the subsequently programmed tool change.
Channel 1
Toolholder 1 = Location 1
(in the buffer magazine)
$TC_MPP1[ 9998, 1 ] = 2 = processing location
$TC_MPP5[ 9998, 1 ] = 1 = toolholder number
TOOL_MANAGEMENT_TOOLHOLDER = 1
$TC_MDP2[1,1]=0
6
5 7
4 Change position
8
3
Magazine1 9 Channel 2
$TC_MAP8[1]=6 $TC_MDP2[1,2]=4
2
Change position 10
1
11
Toolholder 2 = Location 2
16 (in the buffer magazine)
12
$TC_MPP1[ 9998, 2 ] = 2 = processing location
15 $TC_MPP5[ 9998, 2 ] = 2 = toolholder number
13
14 TOOL_MANAGEMENT_TOOLHOLDER = 2
Bild 3-10 Two channels with one toolholder each and one TO unit (the zero position is at
the tool change position of toolholder 1)
Two channels are operating with the data of one TO unit (with one magazine). Tool
change no longer requires that a spindle number be specified. The address expan-
sions of T and M now refer to the value for machine data MD 20124: TOOL_MAN-
AGEMENT_TOOLHOLDER
Instead of “spindle location” the general term “tool machining location” is used
(spindle is standard). If no address extension is programmed, the value in
MD 20124: TOOL_MANAGEMENT_TOOLHOLDER is added as the extension.
TOOL_MANAGEMENT_TOOLHOLDER = 0
The previous function remains active (default).
A value greater than zero activates the new function.
TOOL_MANAGEMENT_TOOLHOLDER > 0
If a tool change is programmed to a buffer location of the type “Tool processing
location” with $TC_MPP5 = TOOL_MANAGEMENT_TOOLHOLDER, then the
compensation data defined for this tool (TO unit) correct the path.
Toolholder 1 = Location 1
(in the buffer magazine)
$TC_MPP1[ 9998, 1 ] = 2 = processing location
$TC_MPP5[ 9998, 1 ] = 1 = toolholder number
(master toolholder)
TOOL_MANAGEMENT_TOOLHOLDER = 1 $TC_MDP2[1,1]=0
6
5 7
4 Change position
8
3
Magazine1 9
$TC_MAP8[1]=6 $TC_MDP2[1,2]=4
2
Change position 10
1
11
Toolholder 2 = Location 2
16 (in the buffer magazine)
12
$TC_MPP1[ 9998, 2 ] = 2 = processing location
15 $TC_MPP5[ 9998, 2 ] = 2 = toolholder number
13
14 (secondary toolholder)
Bild 3-11 One channel with two toolholders (zero position is at tool change position of tool-
holder 1)
Two toolholders in a channel are operating with one magazine. Toolholder 1 has
been declared the master via TOOL_MANAGEMENT_TOOLHOLDER = 1. Tool-
holder 2 is thus the secondary toolholder.
Programming example:
In order to declare different toolholders as master toolholder, the NC command
SETMTH (toolholder number),
is used.
Notice
SETMTH does not change the active tool. The new master toolholder definition
cannot be referenced until the subsequently programmed tool change.
Tool management can work in one channel with more than one toolholder. If sev-
eral channels of one TO unit are supplied with data, then make sure that the tool-
holder numbers have different (= unambiguous) numbers in the magazine configu-
ration ($TC_MPP5 of buffer locations of the type ($TC_MPP1) “Spindle”). The
spindle numbers of the channels must then be unique as well (if
$MC_TOOL_MANAGEMENT_TOOLHOLDER=0).
Example
This example shows how to differentiate between an active tool and a programmed
tool.
Channel 1 has the spindle numbers 1, 2 and channel 2 has the spindle numbers 3,
4. The TO unit assigned to these channels then has the four spindle locations 1, 2,
3, 4 defined at the buffer location.
SETMS(2)
T ; 12 is a programmed tool
12
M6 D3 ; 12 is an active tool, 3 is an active cutting edge
SETMS(4)
T22 ; 12 remains an active tool, 22 becomes with respect to
; toolholder=4 programmed tool
T3=33 M3=6 ; T33 is neither programmed nor active
SETMS(1) ; Toolholder=1 becomes master toolholder T12 remains
; active, T22 remains programmed
D5 ; D5=active cutting edge; refers to the active tool, i.e. T12
M00
The NC address T can be programmed with an address extension. The tool man-
agement function interprets the programmed address extension as a spindle num-
ber or toolholder number. The NC address T without programmed address exten-
sion then refers to the main spindle (master spindle).
Toolholder 1 Toolholder 3
Part program
The figure shows the procedure for using more than one magazine in a channel
(when programming with T=“location” this is usually a turret).
Notice
The tool offset is only calculated for the toolholder that is assigned at that point in
time to the master spindle or the master toolholder.
The tool offset selection/deselection can be set in the machine data for program
end or reset as well as for NC Start.
It is also possible to permanently preset the change for a specific tool. e.g. at NC
Start.
The settings are made in the following machine data:
MD 20310: $MC_TOOL_MANAGEMENT_MASK
MD 20110: $MC_RESET_MODE_MASK
MD 20112: $MC_START_MODE_MASK
MD 20122: $MC_TOOL_RESET_NAME
MD 20130: $MC_CUTTING_EDGE_RESET_VALUE
The function and interaction of the machine data are displayed in Fig. 3-13 “Reset
and start mode”.
MD 20110: $MC_RESET_MODE_MASK
......
MD 20130 $MC_CUTTING_EDGE_RESET_VALUE
MD 20112: $MC_START_MODE_MASK
......
MD 20130 $MC_CUTTING_EDGE_RESET_VALUE
MD 20110: $MC_RESET_MODE_MASK
Bit 0=0:
Compatibility bit for SW 1
Meaning: leave offset unchanged, i.e. after end of part program and reset, the off-
set last programmed remains active (behavior as with bit 0 and 6=1).
Bit 0=1:
Reset mode, i.e. evaluation of bits 4 ..11
Bit 2=1:
Reset behavior (tool offset) with tool management not active. No effect if tool man-
agement active
Bit 6=0:
Reset behavior corresponds to MD $MC_TOOL_RESET_NAME and $MC_CUT-
TING_EDGE_RESET_VALUE
Bit 6=1:
Current setting for active tool length compensation is retained beyond reset/end of
part program.
If tool management is active, the tool is selected which is is positioned on the mas-
ter spindle (general: master toolholder).
If the tool on the spindle is disabled, this state is ignored, there is no selection of a
replacement tool! (Replacement tool with Start_INIT only).
Activation takes place on the master spindle defined in MD
$MC_SPIND_DEF_MASTER_SPIND, or on the master toolholder defined in
$TC_TOOL_MANAGEMENT_TOOLHOLDER.
From software Version 6.3, if you want to deviate from the setting in the MD, you
can also activate the tool on the master spindle/master toolholder that was last
programmed. Bit 16 or 17 are used for this purpose.
Reset behavior for spindles
Bit 16=0:
The master spindle is the spindle defined in MD $MC_SPIND_DEF_MAS-
TER_SPIND.
The settings in the machine data below refer to this data
$MC_TOOL_MANAGEMENT_MASK
$MC_RESET_MODE_MASK
$MC_START_MODE_MASK
$MC_TOOL_RESET_NAME
$MC_CUTTING_EDGE_RESET_VALUE
Bit 16=1:
The spindle last programmed with SETMS(x) remains the master spindle after end
of program and reset, regardless of the machine data setting.
This means that if bits 0/6=1, the offset remains active for the tool which is placed
in the spindle.
Power ON behavior
The machine data setting is effective after Power ON.
This means the offset for the tool which is placed in the spindles specified in MD
$TC_SPIND_DEF_MASTER_SPIND becomes active; the offset value is that of
MD 22562: $MC_TOOL_CHANGE_ERROR_MODE
Bit 3=0:
Change command for a replacement tool is output.
Bit 3=1:
The disabled status of the spindle tool is ignored. The tool becomes active with the
last programmed offset.
Bit 4=0:
Change command for a replacement tool is output.
Bit 4=1:
The spindle tool is set down -- “TO” is output.
MD 20122: $MC_TOOL_RESET_NAME
Identifier of tool to be loaded
This tool is either loaded when end of program is reached or at reset or Power ON
if the associated setting is made in MD $MC_RESET_MODE_MASK, or with NC
Start if the respective setting was made in MD $MC_START_MODE_MASK.
If there are no entries here ($MC_TOOL_RESET_NAME=“”) this corresponds to
“TO”.
MD 20130: $MC_CUTTING_EDGE_RESET_VALUE
D number of tool which is to be loaded via $MC_TOOL_RESET_NAME.
This means the tool becomes active with the offset set here.
If no entries are made in this machine data, the behavior corresponds to “D0”.
MD 20124: $MC_TOOL_MANAGEMENT_TOOLHOLDER
Specifies whether a tool holder number or spindle number is to be specified to de-
fine the location of the tool to be loaded.
MD 20090: $MC_SPIND_DEF_MASTER_SPIND
Definition of the master spindle in the channel. The number of the spindle is set
here.
MD 20310: $MC_TOOL_MANAGEMENT_MASK
Bit 14 is used to activate the reset and start behavior. If bit 14 is not set, the set-
tings in machine data $MC_RESET_MODE_MASK and
$MC_START_MODE_MASK which are specific to tool management have no
meaning.
MD 20112: MC_START_MODE_MASK
Bit 6=0:
Keep the last programmed offset active.
If the tool is disabled on the spindle, bits 3 and 4 are also evaluated in
MD $MC_TOOL_CHANGE_ERROR_MODE.
Bit 6=1:
Start behavior (tool and offset selection) according to MD $MC_TOOL_RE-
SET_NAME and $MC_CUTTING_EDGE_RESET_VALUE
Start behavior for toolholder
Bit 16=0:
The offset that was last selected remains active.
It does not matter whether the offset was selected in the part program or via set-
tings in MD $MC_RESET_MODE_MASK.
With software Version 6.3.19 and higher, the offset for the tool placed in the master
toolholder that was last programmed can also be active (see $MC_RE-
SET_MODE_MASK)
Bit 16=1: (SW 6.3.19 and higher)
The toolholder specified in MD $MC_Tool_Management_Toolholder becomes ac-
tive.
This means an offset selection refers specifically to this toolholder.
Notice
NCK Power ON/control ON also triggers start mode and a change command is
generated.
In this case, the issued command must be acknowledged (even if negative) as
otherwise NC Ready status cannot be achieved.
Example 1:
In this example, the tool on the spindle is to remain active after End of Program
(M02/M30) and Reset.
MD set as follows: $MC_TOOL_CHANGE_MODE = 1
$MC_CUTTING_EDGE_DEFAULT = --2
The following settings need to be made:
$MC_TOOL_MANAGEMENT_MASK Bit 14=1 for reset and start behavior to
be active
$MC_RESET_MODE_MASK Bit 0=1, for the tool offset to remain
Bit 6=1 active
$MC_START_MODE_MASK Bit 6=0 for the tool offset to remain
active
NC program
%MPFxxx1
...
N110 T=“MILLER_10”
N115 M06 ; Tool “MILLER_10” is loaded at change
N120 G90 G00 D2 X... ; Offset D2 becomes active
...
N850 M30 ; The offset D2 remains active
At the next program start tool “MILLER_10” is active with offset D2.
%MPFxxx2
N10 G90 G00 Z100 ; This block is executed with offset D2
Example 2:
In this example, the spindle tool is to be set down again at End of Program
(M02/M30) and Reset (“automatic TO”).
MD set as follows: $MC_TOOL_CHANGE_MODE = 1
$MC_CUTTING_EDGE_DEFAULT = --2
One spindle
The following settings need to be made:
$MC_TOOL_MANAGEMENT_MASK bit 14=1 for reset and start behavior to
be active
$MC_RESET_MODE_MASK Bit 0=1 Reset behavior
Bit 6=0 TOOL_RESET_NAME is
effective and
CUTTING_EDGE_RESET_VA-
LUE
$MC_TOOL_RESET_NAME=“” Name of tool that was loaded
with reset. If no name is
entered here, this has the same
meaning as TO
$MC_CUTTING_EDGE_RESET_VALUE=0 The above mentioned tool
becomes active with this offset
(“0” has the same meaning as
D0)
$MC_START_MODE_MASK Bit 6=0 for the tool offset to remain
active
In this example D0 remains
“active”
Example 3:
In this example, a specific tool is to be loaded at NC Start, e.g. a probe.
MD set as follows: $MC_TOOL_CHANGE_MODE = 1
$MC_CUTTING_EDGE_DEFAULT = --2
One spindle
The following settings need to be made:
$MC_TOOL_MANAGEMENT_MASK Bit 14=1 for reset and start behavior to
be active
$MC_START_MODE_MASK Bit 6=1 Start behavior
TOOL_RESET_NAME and
CUTTING_EDGE_RESET_VAL
UE are effective
$MC_TOOL_RESET_NAME=“Probe_1” Name of tool that was loaded
with reset/start.
In the example here, this tool is
“Probe_1”
$MC_CUTTING_EDGE_RESET_VALUE=1 The above mentioned tool
becomes active with this offset,
here D1
$MC_RESET_MODE_MASK Bit 6=0 Is not meaningful for this
example
Example 4:
In this example, the tool on the masterspindel that was last programmed is to re-
main active following End of Program (M30/M02) and Reset.
MD set as follows: $MC_TOOL_CHANGE_MODE = 1
$MC_CUTTING_EDGE_DEFAULT = --2
Two spindles
$MC_SPIND_DEF_MASTERSPIND=1
The following settings need to be made:
$MC_TOOL_MANAGEMENT_MASK Bit 14=1 for reset and start behavior to be
active
$MC_RESET_MODE_MASK Bit 0=1 for the tool offset to remain active
Bit 6=1
$MC_RESET_MODE_MASK Bit 16=1 Keep the last programmed master
spindle active
$MC_START_MODE_MASK Bit 6=0 for the tool offset to remain active
NC program
N05 SETMS(1) ; Spindle becomes master spindle (is also set via MD)
N10 T=“TL1”
N15 M06 ; Change to Spindle 1
N20 G90 G00 D1 Z...
...
N80 SETMS(2) ; Spindle 2 becomes master spindle
N85 T=“TL2”
N90 M06 ; Change to Spindle 2
N95 G90 G00 D2 Z...
...
N230 M02 ; Active: TL2 with offset D2 on spindle 2
; No offset is active on spindle 1, although
; “TL1” is positioned in spindle 1
Notice
If a change is triggered by Reset mode at Power ON, the NC remains idle with “No
NC Ready” until an End acknowledgment has been received for this change.
The behavior for repeated tool changes with identical tool identifier is influenced via
MD 20310 $MC_TOOLMANAGEMENT_MASK. The default setting (bit 12=0) is
selected so that the preparation command is not executed if the tool is already lo-
cated in the spindle/toolholder.
Exception: Block search
Here the preparation command is always issued even if the tool is already posi-
tioned in the spindle.
With bit 12=1, the tool preparation command is also issued if the tool is located in
the spindle/toolholder, however it is only issued one more time.
In the following examples, T is the tool preparation command and M6 is the tool
change command.
New program for the tool that is still able to be used on the toolholder
New program for the tool that is still able to be used on the toolholder
N10 T = “TL1”
N12 M06
N20 T = “TL1” ; Preparatory command is output
N30 T = “TL1” ; No command output to the PLC
N32 M06 ; Change and preparation are output together
New program for the tool that is no longer able to be used on the toolholder (time
monitoring has for example assigned the status “blocked” to the tool)
N10 T = “TL1”
N20 T = “TL2” ; A command is only processed in the main run if the preceding
; command from the PLC was acknowledged with “End”.
With software Version 7 and higher, this rule only applies if N20 is output ot the
PLC. Then the “End” acknowledgement must be present for a new tool preparation
command to be output to the PLC.
N10 T = “TL1”
N12 M06 ; A command is also processed in the main run if the preceding
; command from the PLC was not yet acknowledged with “End”.
Tool search
The tools with the same identifier (name or Ident) but different duplo numbers are
combined to form one tool group. The tool identifier is programmed in the part pro-
gram with the NC address, i.e. only the tool group is specified during preparation.
In order to move a tool from a physical magazine to a spindle it must have the fol-
lowing characteristics:
S Tool status must be “enabled”
S Tool status may not be “disabled”
S Tool status may not be “currently being changed”
S Tool must not already be assigned a spindle other than the requesting spindle
S Tool must be present in the magazine location (except for manual tools)
S This magazine must be linked to the requesting spindle via a distance relation-
ship ($TC_MDP2)
S This magazine must not have the status “disabled”.
The explicit tool is requested at the time of the tool call. The request is made for a
special toolholder (general toolholder); this is the number of the address extension
of T. At this point in time, user interface DB 72 is written for the relevant spindle
and must be evaluated by the PLC application program.
The tool search strategy is defined with the system variable $TC_MAMP2. With bit
0 to bit 2 you select the conventional search strategies. These strategies start
searching at the magazine from which the loaded tool was fetched previously.
By setting bit 7 as well, you can start the search strategies defined by bits 0, 1, 2
with the search as of the 1st magazine in the distance table (order in the distance
table is defined via the programming order of $TC_MDP2). The standard setting is
bit 7=0. The search starts in the magazine from which the last tool changed was
taken.
Notice
Bit 3 = 1 to bit 5 = 1 are only significant when the monitoring function is active
(defined by $TC_TP9). Otherwise they have no effect on the suitability check.
Activation
The following conditions must be fulfilled for the tool search strategies:
S The tool-monitoring function must be active within tool management.
S The appropriate monitoring parameter values must be set for the cutting edges
of the tools.
S The monitoring must be defined for the appropriate tool (system variable
$TC_TP9).
Notice
If a monitoring type is activated for the tool with $TC_DP9, the current monitoring
parameters are evaluated and, if necessary, the tool status set to ‘disabled’ or
‘prewarning limit reached’. An existing tool disable is not canceled, however, even
if the monitoring function is deactivated for this tool.
Definitions
The special tool search strategy “Shortest distance” is defined as follows for box
magazines:
S Location number with the smallest absolute value of the difference to the cur-
rent magazine position.
The term “current magazine position” is defined as:
S the location number from which the previously loaded tool was taken.
Requirements
The search strategy can only be used if the box magazine is assigned a “current
magazine position”. This is set in system variable $TC_MAP8.
The NCK sets the current magazine position for box magazines. Since box-type
magazines are not moved, the magazine position serves as the formal value
needed for the tool-search strategy.
Example
The machine tool has a box-type magazine with 3x6 locations (=18). The current
position $TC_MAP8 is location 3. Suitable tools are stored in locations 9 and 18.
The search strategy detects the tool at location 9, because the absolute value of
the difference is only 6, compared with the difference of 15 to location 18.
1 2 3 4 5 6
Distance location 3 -- location 9 = 6 locations
Cur. pos.
Distance location 3 -- location 18 = 15 locations
7 8 9 10 11 12
WZ Tool in location 9 is selected
13 14 15 16 17 18
WZ
Notice
Generally, a search is made for an empty location in that magazine from which the
current tool in the toolholder was taken.
Search strategy
The strategy can be defined with the magazine configuration according to which
the search is made in chain magazines of TO units for a location not occupied. If
chain magazines are not concerned here, then the search is executed according to
the default strategy (forwards search starting at the first location number).
Possible strategies are listed in the table.
Notice
With oversized tools, the location types of the adjacent location are not
considered.
With this search option, the magazine location of the “new” tool (tool to be loaded)
is made available as the empty location for the ’old’ tool (tool to be unloaded).
It is not necessary for the “new” tool to be stored in the magazine location. It only
needs to have been loaded (it may be located on a gripper, for example). If the
location in question is not suitable for the “old” tool, then another appropriate empty
location is sought.
Description of function
The new search for empty location is preset in the already existing bit-coded sys-
tem variable $TC_MAMP2 with bit 13.
Restrictions
With this empty-location search strategy, the NCK checks a magazine location that
at the point of time of making the check is normally identified as still occupied by
the “new” tool or is still “reserved for tool from buffer location”. This location is de-
fined as an empty location for the “old” tool if the check gives a positive result.
The strategy cannot be applied if the new or old tool is coded to a fixed location
because fixed-location coding takes precedence.
Notice
The PLC program has to execute the tool transportation operations in the correct
sequence for the tool change:
S Remove “new” tool from the magazine location
S Bring the “old” tool to the magazine location
Otherwise damage may occur to the machine or tool.
The empty-location search strategy is only effective within tool changes program in
the part program. The PI services (e.g. TMFDPL, TMFPBP) for the empty location
search can make any use of this (see Subsection 5.12.5).
Example
This strategy is especially suitable for use with grippers and tools of the same type
(same size and same location type or type that is compatible with defined location
type hierarchy).
The already defined system variable $TC_MAMP2 includes an additional setting
option for the new empty-location search strategy.
0
... Tool search strategy
7
8
... Search strategy for empty location
13 The magazine location for the “new” tool is transferred to the
“old” tool to be replaced and vice versa.
Precondition is that the tool sizes and location types of the
tools match or are compatible in terms of location hierarchy.
The location of the “new” tool is detected as empty location for
the “old” tool even if the “new” tool is still positioned at this
location at the time the check is performed.
The tool transportation must be designed such that the “new”
tool is first removed from the magazine location before the “old”
tool is taken to it.
This order is vital to prevent damage to the machinery following
completion of the mechanical tool transportation motions.
The type of empty location search is determined via the bits 8
through 12.
It is not possible for tool change to take place if the “old” tool
does not have a magazine location assigned to it. The tool-
search strategy is then determined via bits 8 to 12.
If there are no spare tools available, then all $TC_MPP5 parameters of the current
groups are negated and all locations are individually disabled by this. $TC_MAP9
is also negated (wear group disabled). All active tools are reset if this response has
been configured via $TC_MAMP3 (bit 1 = 1).
The next wear group is called ($TC_MAP9 is assigned the number of the next
wear group that can be activated).
If no further groups are available the search is terminated with an alarm. In such a
case, the disabled tools should be replaced, if necessary. In order to enable the
wear groups again, the wear group numbers of the magazine locations must be
reset to values >0.
Search strategies
There are two search strategies for finding the next available wear group for activa-
tion:
S Starting from the lowest magazine location number, the replacement tools are
searched through location by location according to the way they are sorted in-
ternally (time-optimized search). The wear group that is the subject of the
search is found by searching for the first tool that is assigned to a wear group
that can be activated.
S A search is made for the wear group with the lowest enabled wear group num-
ber (the first that can be activated).
Activation
In order to work with wear groups, the magazine locations must be assigned to
wear groups via system variable $TC_MPP5 and the function must be activated
via the machine data.
In addition, the number of the wear group with which machining is to commence
must be assigned to system variable $TC_MAP9 of the magazine to be selected
(value > 0).
For the configuration of the machine, it is defined by $TC_MAMP3 how the tool
status shall change when switching from one wear group to the next (defaulted is
an unchanged tool status).
Destination
S The tools must be set to “active” when a wear group is activated.
S When a wear group is disabled all the tools contained in that wear group are
also to be disabled.
Inputs
S Circular magazine number 1 (6 locations)
S The magazine is to be divided into two parts:
-- Locations 2 and 3 from wear group 1.
-- Locations 4, 5, 6 and 1 form wear group 2.
S $TC_MAP9 = 1 (wear group 1 is “active”)
Assignment to the wear group is achieved by:
$TC_MPP5[1,2]=1
$TC_MPP5[1,3]=1
$TC_MPP5[1,4]=2
$TC_MPP5[1,5]=2
$TC_MPP5[1,6]=2
$TC_MPP5[1,1]=2
The tools with T=10 and T=11 are assigned to wear group 1. As wear group 1 was
activated, tools T=10, 11 were therefore also set to “active” (via $TC_MAMP3,
bit 0=1).
Notice
Language command SETTA (see Subsection 5.8.20) can also be used to set the
tools to active.
Tool assignment:
$TC_MPP6[1,2] = 10 ;T=10 has identifier “TL1”/duplo no.=1 TL status “active”
$TC_MPP6[1,3] = 11 ;T=11 has identifier “TL2”/duplo no.=1 TL status “active”
$TC_MPP6[1,4] = 12 ;T=12 has identifier “TL1”/duplo no.=2
$TC_MPP6[1,5] = 13 ;T=13 has identifier “TL2”/duplo no.=2
$TC_MPP6[1,6] = 14 ;T=14 has identifier “TL1”/duplo no.=3
$TC_MPP6[1,1] = 15 ;T=15 has identifier “TL2”/duplo no.=3
$TC_MAMP2 = 1
The active tool is to be searched for. If none is available, the next possible tool is to
be located.
This tool-search strategy is superimposed by a check for the number of the active
wear group. That is to say only those tools are considered during the search for a
tool with the status “active” that are at magazine locations and that have the num-
ber of the currently activated wear group.
T=“TL2”
Tool group “TL2” consists of tools
T=11, 13, 15.
T=11 is positioned in a location of the active wear group (No. 1) and is “active”.
The result of the tool search is T=11.
Machining is continued. T=11 is disabled during machining.
T=“TL1”
Wear group 1 is still active. T=10 is identified as active and suitable.
T=“TL2”
The tool group of identifier “TL2” now has no active tool (has been disabled) and a
new tool has not yet been set to “active”. This step is not taken until “TL2” is repro-
grammed. The tools of the group are examined. In the locations of wear group 1,
which is still active, there is no tool with identifier “TL2” or any other suitable tool.
This condition causes the next wear group (2) to be activated. Wear group 1 is now
no longer the active wear group. The status of the tools in wear group 1 has been
reset (not “active”), as configured by $TC_MAMP3, bit 1=1.
The tool search is now centered on wear group 2. Its tools were set to “active”
when the wear group was activated (one tool from each tool group in the wear
group because setting of $TC_MAMP3, bit 0=1).
The turret is now assigned as follows:
$TC_MPP6[1,2] = 10 ;T=10 has identifier “TL1”/duplo no.=1.
;Tool status “not active”
In the example T=13 is now taken as the next available tool “WZ2”.
Notice
The tool search only then generates an alarm when no further spare tool available
in the tool group with the given identifier is found and no further wear group can be
activated.
3.5 Load
When a tool is loaded, it is taken to its magazine location and the associated data
entered. Tools can be loaded via the spindle or a loading magazine.
With HMI Advanced, tool data can be transferred from the tool catalog, tool cabinet
or via a code carrier system (see Subsections 2.8 and 3.13). The tool data can be
entered directly into the magazine list with HMI Advanced.
S Manual loading only
S Empty location search
S Load tool at current location (location at the loading point/station)
The loading operations supply the magazines with tools and write data to the rele-
vant data areas of the TM system (magazine list with tool data, offset memory).
Various methods of loading are available depending on the magazine configuration
(loading magazine yes/no) and the data flow (when and from where are tool data
written to the relevant data areas).
The loading method is mainly relevant to the HMI. As regards the tool manage-
ment system on the NCK, only the result is important, e.g. that the tool is in the
magazine and enabled for use after transfer of all its data.
References: /BAD/ Operator’s Guide HMI Advanced
Loading is a channel specific operation that is possible when the part program is
running. System variable $TC_MAP3 = 16 (enabled for loading) must be pro-
grammed if tools are to be loaded during part program runs.
There are two basic loading methods:
Free loading
With this method, the user can specify a magazine location to which the tool must
be loaded.
Prompted loading
With prompted loading via the HMI, the location is determined by the tool manage-
ment using an empty location search (see Subsection 3.4.2).
HMI Advanced offers various options for loading and unloading the data of a tool
and for storing the data.
These options can be used either individually or in parallel by the user.
When a tool is unloaded, the data can
S stay on the NCK (tool list)
S be written to code carrier (floppy, ext. hard disk, etc.)
S be stored in the tool cabinet (int. hard disk).
The tool data can be fetched again from these “data carriers” on loading. Tool data
can also be entered directly by the user into the magazine list and/or the tool list.
Notice
The type of data backup can be defined by access rights in the PARAMTM.INI.
file.
Master data can be stored in the tool catalog. Other enabled functions, such as
interactive programming, can access tools which are defined here.
Loading sequence
When loading from the NCK, the PLC is controlled by magazine and location num-
bers. It receives the request to move the magazine to the appropriate loading mag-
azine for tool loading.
When a tool is loaded, the target address is the magazine and the loading location
for the tool (DB71. DBW (n+24) and (n+26)). FC 8 receives this target address as
parameters “NewToolMag” and “NewToolLoc” and “Status = 1” once the load
operation has been successfully completed. Parameters “OldToolMag”, “OldTool-
Loc” must be set to zero. The number of the active interface identifies the loading
magazine (location no.).
The loading procedure is performed as follows:
1. A request is sent to the PLC to load the tool. The information is transferred to
the PLC in DB 71.
Example:
Data in DB71 when loading for the 2nd interface,
(location 5 in magazine 1 is to be loaded from loading magazine 2)
DB71.DBX0.1 = 1 ;Interface 2 active
DB71.DBX34.0 = 1 ;Command: Load
DB71.DBW50 = 9999 ;Magazine no. of loading magazine
DB71.DBW52 = 2 ;Location no. of loading magazine
DB71.DBW54 = 0 ;Magazine no. for unloading
DB71.DBW56 = 0 ;Location no. for unloading
DB71.DBW58 = 1 ;Target magazine no. for loading
DB71.DBW60 = 5 ;Magazine no. of target for loading
2. The PLC must now move “location 5” from “magazine no. 1” (in which tool must
be loaded) to “loading magazine 2” and execute the load operation.
3. When the tool is in the magazine, the user program must call FC 8. This notifies
the tool management that the tool has been loaded.
T number
The data required for a tool can also be loaded via a part program.
There are two possibilities to get the T number that addresses the data. You can:
S assign the T number yourself or
S allow the NC to assign the T number
(via the command NEWT(...), see Subsection 5.8.8).
The other data can be addressed by the T number determined in this way. Other-
wise the T number can be assigned by the user (refer to the following example):
Example
DEF INT TNo
TNo=NEWT(“test”,1)
$TC_TP3[4711]=2 ; Size left
$TC_TP4[4711]=2 ; Size right
$TC_TP5[4711]=1 ; Size top
$TC_TP6[4711]=1 ; Size bottom
$TC_TP7[4711]=2 ; Location type
$TC_TP8[4711]=2 ; Tool status
$TC_TP9[4711]=0 ; Monitoring mode
$TC_TP10[4711]=0 ; Substitute-tool strategy
$TC_TP11[4711]=0 ; Tool info
$TC_DP1[4711] = 120 ; Tool type:
; (all the compensation data is provided
; here)
$TC_MPP6[MagNr,PlatzNr]=4711 ; Tool with T number 4711 is written/loaded
; to the location
The tool described here also occupies adjacent locations. These are automatically
reserved for/assigned to the tool by the TM system (see Subsection 4.4.1).
It is also possible to delay assignment of a tool to a location, in which case the
command $TC_MPP6 is not required. After execution of the part program the tools
are contained in the tool list and can be loaded at a later time.
When tool data are “retroloaded” this means that the compensation data are not
entered or loaded until after the tool loading operation.
Procedure
S The tools are already located in the magazine, both physically as well as their
data, i.e. the “Tool <--> Location” assignment has taken place
S There is either no tool offset data in the NC or it is no longer up to date.
The offset data are assigned via the part program, i.e. the existing data are over-
written. If not already known, the internal T number of the particular tool first has to
be determined in the “post-load” program to do this.
The internal T number is the tool number that the NC works with. It is unique and
describes a tool. All parameters of this tool are addressed by this T number.
The T number can be assigned either by the operator during loading or by the NC.
If the operator knows the T number (e.g. specified by the entries made at the mea-
suring station), then this number can be retrieved during the retroload program.
If the T number is not known, then it has to be determined for each tool to be retro-
loaded and be supplied from a variable. This reduces the overhead for the user
and also reduces the scope for errors.
$TC_DP3[1,1]=4711; ;Length1
$TC_DP16[TNo,1]=0
$TC_DP17[TNo,1]=0
$TC_DP18[TNo,1]=0
$TC_DP19[TNo,1]=0
$TC_DP20[TNo,1]=0
$TC_DP21[TNo,1]=0
$TC_DP22[TNo,1]=0
$TC_DP23[TNo,1]=0
$TC_DP24[TNo,1]=0
$TC_DP25[TNo,1]=0
$TC_MOP1[TNo,1]=0
$TC_MOP2[TNo,1]=0
$TC_MOP3[TNo,1]=0
$TC_MOP4[TNo,1]=0
tl2: ; Next tool
TNo=GETT (“Mill23”,2)
if TNo==-1 goto error ; Possible error routine if tool does not
; exist
$TC_DP1[TNo,1]=120
$TC_DP3[TNo,1]=4712
$TC_DP6[TNo,1]=25
Error: ; Error
:
:
M17
3.6 Unload
On unloading, the tool is removed from the magazine and the magazine list. You
can:
S unload manually or
S unload at the current location (location at the loading point/station)
The unloading sequence is as follows:
1. Select a tool for unloading.
To do this, position the cursor on the tool in the magazine list or, on HMI Ad-
vanced, on the tool in the tool list and select softkey “Unload”.
2. Select unloading point.
3. Transport the tool to the unloading point (by user PLC program).
4. Save or delete tool data.
References: /BAD/ Operator’s Guide HMI Advanced
On unloading, the data for this tool is removed from the magazine list.
The following options are available for backing up the particular tool data:
1. Save tool data on code carrier
2. Save tool data in tool list (TO memory)
3. Back up particular tool data in tool cabinet
It is still possible to delete the tool data without saving them.
Notice
You can back up data on HMI Advanced in the following ways:
S From the tool list
S From the tool cabinet, or
S From the tool catalog
Unloading sequence
Unloading is controlled via DB 71. The unloading sequence is as follows:
1. The PLC receives the command to unload the selected tool. The information is
transferred to the PLC in DB 71. Example of unloading data in DB 71 for the
2nd interface. Location 7 of magazine no. 1 must be unloaded at loading maga-
zine 2.
Example:
DB71.DBX0.1= 1 ;Interface 2 active
DB71.DBX34.1= 1 ;Command: Unload
DB71.DBW50= 9999 ;Magazine no. of unloading point
DB71.DBW52= 2 ;Location no. of unloading point
DB71.DBW54= 1 ;Magazine no. for unloading
DB71.DBW56= 7 ;Location no. for unloading
DB71.DBW58= 0 ;Target magazine no. for loading
DB71.DBW60= 0 ;Magazine no. of target for loading
2. The PLC must now move “Location 7” of “Magazine no. 1” (from which the tool
must be unloaded) to “Loading/unloading point 2” and then unload the tool.
3. When the tool is from the magazine, the user program must call FC 8. This sig-
nals the tool management where the tool has been transported.
Example: FC 8 call on unloading
The PLC user program then has to traverse the magazine to the correct unloading
point and execute unloading. If the tool comes via a buffer location (gripper, loader)
to the unloading point or station, then the NCK is to be notified of each position
change by means of the FC 8 with status 104, 105. Status “1” is not set via FC 8
until the tool is in the specified unloading point/station. The unloading operation is
now complete.
Notice
The function Positioning to unload can only be triggered from operator panel
OP030 in SW 3.2.
The target address for relocation is the magazine and location for the tool to be
relocated (DB71.DBW(n+24) and DBW n+26). The tool source address is stored in
DB71.DBW(n+20) and DBW(n+22). The target address is passed to FC 8 as pa-
rameters “NewToolMag” and “NewToolLoc” and status = 1 when relocation has
been successfully completed. Parameters “OldToolMag” and “OldToolLoc”
must be set to zero because the tool management recognizes the location of the
old tool.
References: /BAD/ Operator’s Guide HMI Advanced
1. Example
Relocation by PLC
The tool in magazine no. 1, location no. 5 is to be relocated to magazine no. 2,
location no. 17. The PLC takes responsibility for ensuring that the location type is
correct for the transfer. This example for calling a FC8 does not take any check-
back signal to tool management for intermediate positions of tools into consider-
ation.
2. Example
Relocation by PLC
Example: The tool is to be relocated from mag. no. 1, location no. 5 via grippers 3
and 4 to mag. no. 2, location no. 17.
FC 8 must be called up four times in this procedure. Only the important parameters
are listed. All other parameters are as for the example above.
Notice
TaskIdent 5 may be programmed only for a tool transfer (magazine --> buffer
location). Otherwise an error message is outputted, even though the tool is
transferred.
Reservation “ Z ” is automatically reset when the tool is transferred from the buffer
back to the magazine.
With a find and position operation, a traversing task is sent to the PLC by the tool
management. Bit 3 in DB71.DBB(n+0) “Position at loading magazine” is set. The
magazine no. and the location no. (as destination) are transferred in the parame-
ters DB71.DBW(n+20) and (n+22) during positioning.
The PLC then has to move this location to the loading magazine. The number of
the loading magazine is entered in DB71.DBW (n+18) or determined by the num-
ber of the interface. If the PLC has moved the magazine location to the loading
magazine, FC 8 must be called and the operation acknowledged with status 5
“Position changed”.
Example:
Location 5 in magazine 1 (source) must be moved to the loading magazine 2 (tar-
get).
DB71.DBX0.1 =1 Interface 2 active
DB71.DBX34.3 =1 Initiate positioning (n+0)
DB71.DBW50 =9999 Magazine no. of the loading magazine (n+16)
DB71.DBW52 =2 Location no. of loading magazine (n+18)
DB71.DBW54 =1 No. of magazine to be positioned (n+20)
DB71.DBW56 =5 No. of location to be positioned (n+22)
DB71.DBW58 Magazine no. to which positioning is to
be carried out (n+24)
DB71.DBW60 Location no. to which positioning is to
be carried out (n+26)
Parameters “OldToolMag” and “OldToolLoc” in FC 8 are not required for positioning
because only the PLC requires the information for traversing the magazine. The
values for NewToolMag and NewToolLoc are from DB71 (n+24 and n+26). The
PLC has to execute the positioning task and acknowledge it with an FC 8 call as
follows:
Settings
Parameterization of Filter lists takes place in the file “paramtm.ini” in the section
[BatchTools].
Country-specific sections are parameterized in the “language\patm_xx.ini” file in
the [BatchTools] section; here xx stands for the two characters identifying the
country, the file names is therefore, for example, PATM_GR.ini.
Notice
Any user-specific modifications should be made in the “user” directory files.
The ini. files are limited in size to about 63KB. Almost all commentary has
therefore been removed from the file paramtm.ini. This is now to be found in the
file paramtm.text.
Detailed information on the settings can be found in Subsection 4.4.1 and in Sec-
tion 4.4.4.
Number of workpieces
The workpiece counter must count all the tool cutting edges that are used to pro-
duce a workpiece. If the number changes, the monitoring data of all tool cutting
edges involved must be updated. It should be remembered that the machine may
have several spindles and that different tool cutting edges can be used simulta-
neously.
Tool life
Tool life monitoring is only performed on the tool edge that is currently in use. As
soon as the path axes start traversing (except with G code G00), the tool life moni-
toring data is updated for the tools in the toolholder/spindle. If the tool life for a cut-
ting edge expires during machining, the tool is blocked as a whole.
Wear
As is the case for the timer and workpiece count, the prerequisite for using the
wear monitoring function is that tool monitoring is enabled in the machine data. In
addition, wear monitoring must also be enabled in the respective machine data.
The wear parameters of the cutting edge correspond to the local offsets (total off-
set parameters), see Subsection 3.10.4.
The monitoring counter triggering the tool status change depends on the system
variable $TC_TP9 (= type of monitoring):
S $TC_TP9 = 0 --> No monitoring
S $TC_TP9 = 1 --> Time-monitored tool
S $TC_TP9 = 2 --> Workpiece count-monitored tool
S $TC_TP9 = 4 --> Wear-monitored tool
S $TC_TP9 = 8 --> Additive offset
Several monitoring types can be activated simultaneously for one tool. Of the mon-
itoring types, only wear monitoring and additive-offset monitoring are mutually ex-
clusive.
If the monitoring criterion (tool life/workpiece count and wear) for a tool that is cur-
rently located in the spindle expires, it remains in use. Machining is not automati-
cally interrupted to replace the tool with a fresh backup tool. The tool is not dis-
abled until the next time it is selected. Since it is no longer “available”, a search is
made for a replacement tool and the replacement tool is then loaded into the
spindle. The tool change has to be organized by the PLC or come from the NC
cycle.
The monitoring counters count from a set value > 0 down to zero. The limit value is
reached when the counter has decremented to a value of ≤ 0. When a tool’s cut-
ting edge (one of maximum 12 cutting edges) has reached its limit value, the whole
tool is set to status “disabled”.
A “G” then appears next to the status for the tool in the magazine table.
Tool life The time is entered with 1 minute resolution up to SW 5.1 and
can be entered on loading or set in the program with
$TC_MOP2=500. The tool life is decremented internally in
milliseconds and displayed in milliseconds.
Data backup during unloading takes place in milliseconds with
SW 5.1 and higher.
Inhibited If the remaining tool life is ≤ 0, the tool is set to “disabled”.
After the next tool change it is no longer used.
Monitoring The residual tool life is decreased whenever one of the 3 path
from the NCK axes is traversed at machining feedrate (e.g. G01). G00 tra-
verse blocks are not “counted”.
Monitoring The user can start and stop the time monitor using PLC signal
from PLC “Time monitor active” (DB 21 DBX 1.3). The active control
mode is set using the machine data 20310.
Prewarning Input when tool is loaded or via part program with
limit $TC_MOP1=50. When the prewarning limit has been
reached, the tool is assigned the status “Prewarning limit
reached” (display in the magazine list).
Special case, The tool life of a tool expires while it is in use. A check is
limit values made if this disabled tool is re-programmed by a change op-
eration (e.g. M06 without T word), whether the monitoring
time has already elapsed. If yes, a replacement tool is used.
$A-MONIFACT factor
By entering a channel-specific factor which is set before a tool is used for the first
time, it is possible to monitor the different degrees of tool wear resulting from ma-
chining different types of workpiece material. The value is multiplied by the current
time unit before the time value of the cutting edge is decremented. The write op-
eration is performed synchronously with the main run. For more information please
refer to Chapter 5.8.30.
The workpiece counter must count all the tools that are used to produce a work-
piece. It will take into account that fact that the machine may have several spindles
and that different tools can be used simultaneously.
If a tool is located on the main spindle with an offset number D > 0 during a count,
this is stored in the “memory” when the next block is loaded during the main run,
and then included in the next count.
The cutting edge of a tool is only counted once per spindle.
The part program author who programs SETPIECE can program the parameter as
a function of the material.
SETPIECE (factor * no. of workpieces)
Like the factor for time monitoring, this function allows a workpiece count that de-
pends on the process, the workpiece material or other factors.
Workpiece count can be deactivated via the channel DB DBX29.5.
Monitoring from the When the workpiece counter has reached the prewarn-
NCK ing limit this is displayed in the magazine list. The tool
is disabled when the workpiece count reaches zero.
The next time the tool is called, the replacement tool is
inserted.
Set workpiece Entered during loading or via part program with e.g.
counter $TC_MOP4=500.
Decrement number of The number of workpieces must be decremented at the
workpieces relevant point in the part program with the NC com-
mand SETPIECE (x, y) (e.g. SETPIECE(1) --> work-
piece counter for main spindle tools is decremented by
1).
The function for updating the quantity is activated from
within die PLC program by a PI command.
Inhibited When the workpiece count has reached zero the tool is
disabled.
Prewarning limit Entered during loading or via part program with e.g.
$TC_MOP3=50. When the prewarning limit has been
reached, the tool is assigned the status “Prewarning
limit reached” (display in the magazine list).
Special case, limit It is not possible to activate a workpiece count for any
values number of cutting edges simultaneously! If the monitor-
ing function has been enabled and activated by ma-
chine data, then all spindles can be monitored together
at a time = “Number of cutting edges in the TO area” (=
MD) for the number of cutting edges.
An edge of a tool is only counted once per spindle.
The wear monitoring function is available only if the “Tool monitoring” system has
been enabled (via machine data, see Subsection 8.1.2).
The wear monitor must also be enabled via machine data (MD 18080:
MM_TOOL_MANAGEMENT_MASK; bit 5).
Definition
$TC_TP9 = 4; Wear monitoring is active for the tool.
$TC_TP9 = 8 can be set to select the “Additive offset” monitoring function if this
is required. For bit assignments, see Section 5.3.
$TC_TP9 = 4
The wear parameters for a tool edge are defined with system variables $TC_DP12,
..., $TC_DP20.
These are assigned directly to the edge geometry values TC_DP3,
... , $TC_DP11.
$TC_DP10 and $TC_DP11 describe “angles”. The other parameters stand for the
tool edge lengths and radii.
Only these values are included in the monitoring, i.e. wear parameters $TC_DP19
and $TC_DP20, which are analogous to system variables $TC_DP10 and
$TC_DP11, are not taken into account. For bit assignments, see Section 5.2.1.
Notice
Wear monitoring does not monitor every single value but rather only the largest
absolute value of each of these maximum seven wear parameters ($TC_DP12, ...,
$TC_DP18).
$TC_TP9 = 8
Parameters that are analogous to the cutting edge wear parameters (system vari-
ables) are the additive offset parameters.
Analogous to wear, the following system variables are monitored for the additional
offsets that are dependent on the location of use (location-specific offsets) of the
cutting edge:
S $TC_SCP12, ... $TC_SCP18
first additive offset for the cutting edge (to the extent defined)
S $TC_SCP22, ... $TC_SCP28
second additive offset for the cutting edge (to the extent defined) etc. for the
other additive offsets for the cutting edge
Notice
Wear monitoring does not monitor every single value but rather only the largest
absolute value of each of these maximum seven additive-offset
parameters*number of defined additive offsets for the cutting edge ($TC_SCP12,
..., $TC_SCP18, $TC_SCP22, ..., $TC_SCP28, ...).
Most tool geometries are described by a subset of the named data records.
If a parameter is changed (written), the NCK then checks whether the new value is
higher than any of the other parameters and, if necessary, this value is subtracted
from the wear setpoint. The result is the new actual value for the wear.
Analogous to other monitoring variables, the actual wear runs from the positive
setpoint towards zero.
The physical quantity of the new monitoring parameters is “Length”. The unit is the
same as for the wear values.
Wear monitoring can be deactivated via the channel DB DBX29.6.
The signal only acts on changes in wear data that occur during execution of the
NC program. The PLC signal is suppressed if these data change because of OPI
(e.g. during HMI operation).
Example
Let us assume the parameters are set as follows and wear monitoring is active for
the tool with T no.=3:
$TC_MOP5[3,1] = 0.002 ;= wear pre-warning limit
$TC_MOP6[3,1] = 0.003 ;= actual wear value
$TC_MOP15[3,1] = 0.007 ;= wear setpoint
These have already been set
$TC_DP12[3,1] = --0.004 ;= wear component 1
$TC_DP13[3,1] = +0.00 ;= wear component 2
Wear component 3 is now set
$TC_DP14[3,1] ;= --0.006.
Thus the maximum absolute value is given for the wear components = 0.006.
The resulting new actual value is
$TC_MOP15[3,1] -- 0.006 = 0.001 = $TC_MOP6[3,1].
The prewarning limit has been reached.
Note: The wear components can be negative or positive -- or be mixture of each.
Previously, an alarm message was output as soon as the prewarning limit or limit
value was reached. Alarms 6410 and 6411 are output when the prewarning limit is
reached and 6412 and 6413 when the limit value is reached. Alarms 6410 and
6412 are triggered via the OP interface and alarms 6411 and 6413 via the NC pro-
gram. The alarm texts identify the affected tool via the tool ID, duplo number and
D number.
The following information is returned to the channel interface for one DB1 cycle
(internal T numbers):
S Prewarning limit reached
S Limit reached
A strobe signal is set for one PLC cycle (DB channel.DBB344) which indicates that
new data is available.
Notice
If machining is being performed with tools that are monitored for their workpiece
count, it is possible for several tools to reach their prewarning limit or limit value
simultaneously (SETPIECE is programmed at the end of program).
In this scenario, only the T No. of the tool that was last programmed is output.
VDI signal “Last spare tool in the tool group” -- channel DB.DBD360
If during the tool change where a tool is found during the tool search in the NCK
and at this point ion time there are no further spare tools available for the pro-
grammed spindle/toolholder, then this is evaluated as the “Last tool found in the
tool group”.
If there is only one tool (i.e. there is no replacement tool) it is also a tool group.
When this tool is programmed, the interface signal is set immediately.
This process state change is output to the PLC via the T number of the replace-
ment tool.
The action of the operator changing the tool status does not cause any change to
the signal.
Notice
For tool groups containing many tools, the function increases the time required in
the NCK for the main run when the tool is selected.
The following function must also be enabled
MD 20310: TOOL_MANAGEMENT_MASK. It is activated by setting bit 18=1.
Previously, monitoring data has included the actual value and the prewarning limit
for the variables to be monitored.
When the actual value reaches the value zero, the tool is disabled. Until now, the
original starting value of the actual value has no longer been available in the NCK.
This value is available in the NCK, i.e. every monitored value receives a new data
item -- the setpoint. The setpoint is defined as a system variable and as an OPI
variable (TS).
$TC_MOP11
$TC_MOP11 is the time setpoint
($TC_MOP1 = pre-warning limit for the time)
$TC_MOP13
$TC_MOP13 is the quantity setpoint
($TC_MOP3 = pre-warning limit for the quantity)
Reset to setpoints
Resetting the actual values of wear and additive offset “fine” means that all the pa-
rameters for wear offset and additive offset used for monitoring are set to zero.
Activation
The monitoring function must be enabled via machine data
MD 18080: MM_TOOL_MANAGEMENT_MASK.
Tools can be individually named for the different defined monitoring functions (time,
workpiece count, wear, additive offset).
Wear monitoring is performed automatically by the NCK when the user changes
the cutting edge offsets.
D numbers ranging from 1 to max. 12 are available for every T = “identifier” (with
TM) or for every T number (without TM). These D numbers are assigned directly to
the tool cutting edges.
An additive-offset block ($TC_DPx[t, d]) belongs to each D number = cutting num-
ber.
D0 is the offset deselection code.
T32000
T1...
T1
D1 Type Geometry Wear Base
D2
D3
D12
Cutting edges 1 to 12
One memory with up to 12 cutting edges per tool
Offset selection depending on tool number
Notice
The T number is always outputted to the PLC with an extended address (= spindle
or toolholder no.) with this type of tool compensation.
D2
D3
Dn
Cutting edges 1 to n
Unambiguous cutting-edge / D number assignment
D numbers can be freely assigned to tool edge numbers in systems with and with-
out TM. As described in Subsection 3.10.1, a tool “T” can have a maximum of
12 edges. The upper limit for the D numbers used is limited by the machine data.
This assignment option is an extension of the process described in Subsection
3.10.1.
With this setting, additional program commands can be used that make a check for
unambiguous assignment of D numbers to T numbers or identifiers possible.
The same D numbers shall be assigned in each case for the cutting edges for du-
plo tools (same identifiers).
T32000
T2...
CE T1
1 Dx Type Geometry Wear Base
2 Dy
3 Dz
12 Dxy
Unique D number
Notice
Universal system support (tool cabinet, code carrier) is not available for this
function.
Example:
Rename cutting edge CE=3 from D2 to D17
-- In the following initial situation:
Internal T number 1
D number: 2
Tool 1 cutting edge with:
$TC_DP2[1, 2]=120 ;tool length T1, D2: 120mm
$TC_DP3[1, 2]=5.5 ;tool radius T1, D2: 5.5mm
$TC_DPCE[1, 2]=3 ;tool edge number T1, D2: 3
(programming: T1,...D2)
-- variable definition:
DEF INT DNoOld, DNoNew=17
DnOld=GETDNO (1, 3) ;value 2 is read in DnOld
SETDNO (1 ,3, DNoNew) ;the new D no. is assigned to the cutting edge
-- The new D value 17 is assigned to cutting edge CE=3
$TC_DP2[1,17]=120
$TC_DP3[1, 17]=5.5
$TC_DPCE[1, 17]=3
Local offsets are a generalized form of wear. They are part of the cutting edge
data. The parameters of the sum offset refer to the geometrical data of a cutting
edge.
Location-specific compensation can in general be used, i.e. with active/inactive tool
management; with flat D-number function.
To meet the requirements of special machine operating modes, the relevant ma-
chine data can be set to divide the local offsets into the following categories:
-- Local fine offsets
-- Local coarse offsets = setup offset
The purpose of the setup offset is to allow the operator to set values prior to the
machining operation. These values are stored in their own memory in the NCK, the
operator can access the local fine offsets via the HMI. Local offsets “fine” and non-
local offsets “coarse” are added NCK-internally and then act like the additive offset
itself.
Several local offsets can be defined per D number. Machine data define the abso-
lute number of local offsets, the maximum number of localoffsets per cutting edge
and specify which additive offsets are active after the end of program or when the
RESET key is pressed.
Applicable only when tool management is active:
Machine data 18104 can be set to define which additive offset must be operative if
a tool is assigned the “active” status in the part program in the coarse of a pro-
grammed tool change:
-- “Fine” tool offset values of tool cutting edges remain unchanged or
-- “Fine” tool offset values of tool cutting edges are set to “0”.
The function is enabled by setting bit 8 = 1 in machine data
$MN_MM_TOOL_MANAGEMENT_MASK.
Sum offset 1
$TC_SCP13[t,2]
...
D offset 2 ...
$TC_SCP21[t, 2 ]
$TC_DP1[t,2]
...
$TC_DP3[t,2] Sum offset 2
...
$TC_DP11t,2] $TC_SCP23[t,2]
... ...
$TC_DP25t,2] ...
$TC_DPCEt,2] $TC_SCP31[t, 2 ]
Let us assume the data from Fig. 3-19 for our program (and tool with T=t is active):
...
DL=0 ; Deselection of sum offset; only the data of D2 are still effective
$MN_MMKIND_OF_SUMCORR, bit 4=1
Setup offsets are available. The general term “additive offset” refers to a combina-
tion of the “fine” additive offsets, represented by $TC_SCPx, and the additive off-
set, represented by $TC_ECPx. There are two data blocks for one DL number.
The additive offset equals the product of the corresponding components
$TC_SCPx + $TC_ECPx.
Additive offset
Setup offset 1 fine 1
$TC_ECP13[t,2] $TC_SCP13[t,2]
... ...
... ...
$TC_ECP21[t, 2 ] $TC_SCP21[t, 2 ]
D offset 2
$TC_DP1[t,2]
...
$TC_DP3[t,2] Setup offset 2 Additive offset
... fine 2
$TC_DP11t,2] $TC_ECP23[t, 2 ]
... $TC_SCP23[t,2]
...
... ...
$TC_DP25t,2]
$TC_ECP31[t, 2 ] ...
$TC_DPCEt,2]
$TC_SCP31[t, 2 ]
Let us assume the data from Fig. 3-20 for our program (and tool with T=t is active):
Application
If tool management is active the additional adapter data can also be assigned to
specific magazine locations.
This function is used for adapters that are fixed to a magazine location for a long
period and used by different types of tool.
In individual cases, it is also possible to use identical adapters on several maga-
zine locations. To do this it makes sense to define and store the adapter data re-
cords separately from the magazine locations.
Neutral presetting
geometry
Transformed tool
QW geometry
SL
Turret location
with
6 8 Adapter
LW
L
3 4
+
Tool length
1 2
(L1, L2)
Adapter 5 7
+
Cutting edge
L
LA position
Adapter transformation
Adapter data “adapter transformation” allows fixed orientation of the tool on the
adapter or orientation of the adapter including its tool with reference to the ma-
chine.
This function can be used as an alternative to the previous one. If adapter data are
used, system variables $TC_DP21, $TC_DP22 and $TC_DP23 have a different
reference and are therefore only formally part of the cutting edge data record in the
NCK.
The adapter data function must be enabled via machine data (MD18104:
MN_MM_NUM_TOOL_ADAPTER).
For the setting to become effective, bit 7 must be set in MD 18080:
MM_TOOL_MANAGEMENT_MASK.
Requirements
Two types of definition can be set in the machine data for adapter data:
S One adapter data record is assigned to each magazine location as standard.
S Adapter data records can be defined independently of magazine locations. The
magazine locations are then assigned as an additional step.
The magazine location is the reference point for adapter and tool. Both are as-
signed to the magazine location.
The following elements are implemented when programming D numbers in the part
program:
S The offset must be assigned to a real tool.
S The tool is assigned to a magazine location.
S It is possible to assign an adapter to the magazine location, for which a trans-
formation (orientation) of the tool it contains can be defined.
Thus the working compensation can be clearly computed and the tool path accord-
ingly adjusted.
If an additive offset is programmed, then the valu for this refers to the active
D compensation.
3.11.2 Activation
Requirements
S In order to use the magazine-location-oriented data, machine data MD 18104:
MM_NUM_TOOL_ADAPTER must be set to a value other than zero.
S Adapter data records must be defined.
S If the values of the machine data are > 0 the adapters must be linked to the
magazine locations or assigned to them (can be automated via the HMI or us-
ing a cycle).
As a result, the adapter data including the defined transformations are always
taken into account for the tool located on the magazine location inquestion. The
work offset is calculated including the transformation and the adapter data.
The offset data can then be displayed as follows:
S Geometrical data for the tool (system variable $TC_DP3,...DP11); designated
as neutral default geometry
S Non-transformed working compensation (sum of the values from tool geometry,
wear, additive offset, tool base dimension or adapter)
S Non-transformed working compensation (transformation of the sum of the val-
ues from tool geometry, wear, additive offset) and tool base dimension of the
adapter)
The quantities to be transformed can be selected via machine data. The mode of
transformation of the additive offset can be set.
Create new
MM_NUM_TOOL_ADAPTER = --1:
One magazine location and one adapter data record are created. The specified
values are put into the adapter data record which is automatically linked to the
magazine location.
It is not possible to create a new free adapter at this point. The adapter numbers
are assigned automatically (1 ... max. number of available magazine locations).
Delete
If an adapter data record is linked to a magazine location
(MM_NUM_TOOL_ADAPTER = --1), it cannot be deleted.
Create new
MM_NUM_TOOL_ADAPTER > 0:
The adapter data can be created freely. Adapter data can be created by the user
with a write operation to a non-existent data record.
$TC_ADPTi[n] = value;i = T, 1 2, 3, ..., n (number of the adapter)
If data record n does not yet exist and the maximum number of adapter data re-
cords that have already been defined is less than the value of MD 18104:
MM_NUM_TOOL_ADAPTER, a new adapter data record is created with the spe-
cified values.
Notice
The adapters must be assigned explicitly to the magazine locations if
MM_NUM_TOOL_ADAPTER > 0.
Delete
If MD 18104: MM_NUM_TOOL_ADAPTER is set to a value of > 0, the adapter
data can be deleted as required provided it is not assigned to a magazine location.
$TC_ADPTT[n] = -1
Adapter data record n is deleted and the memory becomes free again.
Deleting an assigned adapter data record:
The assignment to the magazine location must be undone first. You can only do
this if the magazine location is empty. An alarm is issued if deletion fails.
Please proceed as follows:
S Remove the tool from the magazine location
(unload, relocate).
S Remove the adapter from the magazine location.
S Delete the adapter data record (with $TC_ADPTTi[n] = --1).
Adapter data record n is deleted and the memory becomes free again.
All non-assigned adapter data of the TO units are deleted. If you want to delete
assigned adapters, you must first undo the assignment of those adapters to maga-
zine locations. An alarm is issued if deletion fails.
Notice
Assignment/decoupling is only possible if there is no tool in the magazine location.
l2 l3 l2
l1 l1
l3
l1 l3
I1=Q l2=L l3
l2
l3 l1
l2
l2 l3 l2=L
l1 l1 l3
Bild 3-22 The 8 defined transformations (T = 1...8) for the adapter with G 18 and for a turn-
ing tool. The diagram shows the assignments of tool lengths I1, I2, I3 to geometry
axes x, y, z.
l1, l2 and l3 are working offsets of the tool prior to transformation with or without
adapter (depending on machine data settings). They are assigned to the geometry
axes during compensation.
Notice
In turning, L and Q are also used to describe a tool. In the above table, l1
corresponds, for example, to variable Q (or x direction) and l2 to variable L (or
z direction), assuming the plane G18 is selected (default setting for turning
machines).
The adapter transformation then acts on the transformed tool compensation values
and is added to the transformed offset values.
The transformation number of the adapter causes a transformation of the tool (the
cutting edges) located in this adapter (orientation according to the transformation
number).
Depending on the programmed plane selection G17, G18, G19, these values are
added to the geometry axes.
$TC_DP3
I1 or Q P
$TC_DP3
I1
Turning Milling
S $TC_DP6 S
Radius
$TC_DP5 $TC_DP5
I3 or L I3
Bild 3-23 Turning and milling tools -- relationship between cutting edge position and radius
compensation
Turning tool geometries (I1, I3 or L, Q) are described in terms of P, the point of ap-
proach at the workpiece. However, the center point of cutting edge S with refer-
ence to the tool nose radius must be known for radius compensation.
This center point can only be accurately calculated if the tool point direction is
known. Point S can then be derived from point P.
The position of the tool in the workpiece coordinate system is described via the
cutting edge position (values 1 ... 8). Cutting edge position 9 corresponds to S = P.
Notice
The cutting edge position is only used for turning tools because their geometry is
described with reference to P and not with reference to S as is the case for milling
tools.
D offsets Tool
D no. d1 . Internal T no. t
CE no. ce1 . d1
. .
$TC_DP21[t,d1], ... .
$TC_DP23[t,d1] .
dn Magazine location
. $TC_MPP6[m,p]=t
.
. $TC_MPP7[m,p]=a
D offsets Adapter
D no. dn Adapter no. a
CE no. cen
$TC_ADPT1[a]
$TC_DP21[t,dn], ... $TC_ADPT2[a]
$TC_DP23[t,dn] $TC_ADPT3[a]
$TC_ADPTT[a]
Requirements:
S Tool t
S Magazine location p
S Magazine m
S Adapter a
S Tool with D offsets d1, ... dn
The adapter is assigned to the magazine location. If, for example, system variable
$TC_DP21[t,d1] is read or written in the part program, the programming accesses
system variable $TC_ADPT1[a] of the adapter, i.e. the same machine data is ac-
cessed for all d1, ... dn.
If the assignment of the tool to the magazine location is released or the adapter is
removed from the magazine location, no more data can be assigned to the param-
eters. A read operation returns the value 0, a write operation does not change the
data (nor does it generate an alarm).
Restrictions
When using the function (magazine-location-oriented) “adapter data” the user must
ensure that the old data records of all the data records with edge-specific adapter
data are adapted to the requirements of the new function.
However, using the described edge-specific adapter parameter definition (system
variable $TC_DP21,...23), ensures that all old data is converted to the adapter
data function by the NCK.
The function “Adapter data” excludes the existence of the cutting-edge specific
data “base / adapter dimension”. This data is not meaningful if the adapter is de-
fined specifically for the magazine location.
The function “adapter data” is better suited to the applications of an adapter be-
cause it defines the adapter as part of the magazine location and not as part of the
tool or cutting edge.
Example 1
Requirements:
S MM_NUM_TOOL_ADAPTER = --1
S MM_NUM_MAGAZIN_LOCATION = 20
S One chain with 16 locations, magazine number = 1
S Two grippers
S One spindle
S One loading and unloading point
S Assignment
When creating the 20 locations in all, 20 adapters should be assigned, i.e. exactly
one adapter assigned to each location.
Notice
It does not matter if the real locations are not actually fitted with an adapter.
Preassigned adapter data have no effect on the offset. When equipping a location
with a real adapter make sure that the appropriate values are assigned to the
adapter data.
The transformation number of the adapter in location 3 of the chain magazine (No.
1) is to be changed to the new value 8:
Once adapter data records have been automatically generated and assigned, op-
erations such as undoing an assignment, renewed definition of an assignment and
deletion of an adapter data record are possible.
Example 2
Requirements:
S MM_NUM_TOOL_ADAPTER = 4
S MM_NUM_MAGAZIN_LOCATION = 20
S One chain with 16 locations
S Two grippers
S One spindle
S One loading and unloading point
There are 4 different adapter geometries in this case. Adapters must be configured
for the chain only.
Assignment
These locations (20 in total) are initially created without adapters. Locations 1 to 4
of the chain are equipped with adapters of the same geometry (here adapter 1).
4 chain locations are to be equipped with adapters with the same geometry.
First, you must define the 4 adapter data records. Now you assign them:
$TC_MPP7[1,1] = 1, $TC_MPP7[1,13] = 4
$TC_MPP7[1,2] = 1, $TC_MPP7[1,14] = 4
$TC_MPP7[1,3] = 1, $TC_MPP7[1,15] = 4
$TC_MPP7[1,4] = 1, $TC_MPP7[1,16] = 4
. . .
In this way you can assign one adapter data record to several magazine locations.
Notice
If you want to delete an adapter data record with a multiple assignment you must
make sure that you first undo all the adapter assignments.
Buffered data
The tool and magazine data are buffered. The tool attached to the spindle (= mag-
azine location) is identified by the location and the tool block.
(This information is available even without tool management).
A link to a tool identification system is made available in the interactive tool loading
and unloading dialog on the SINUMERIK 840D. Manual entry of tool data can thus
be substituted by reading and writing the tool code carrier.
It shall thereby be noted that the particular tool data can only be saved on the code
carrier or on HMI during unloading or deleting.
The data block of the tool is read from the code carrier by HMI during loading and
sent to the NCK. Like tool selection from the tool catalog, the tool data can still be
processed afterwards (compensation data, ...).
In an existing production line, tools with code carriers may already have been
used. The data will be stored in a format suitable for a particular machine control
system. When tools of this type are used in combination with a SINUMERIK 840D
control, the data formats must be converted to allow the same tool to be used on
machines operating with different control systems and thus different data formats.
In addition to the SINUMERIK 840D data, user data (Section 3.10 and Subsection
4.5.2) can be stored on the code carrier and operated via the loading/unloading
dialog.
The “tool management data distributor” function block package is available for con-
necting code carriers via the PLC. Documentation describing the special settings
required for each code carrier system is provided on the installation diskette.
Notice
Without an enable in the machine data, no softkeys appear for cutting edge user
data or tool user data.
Display screenforms
Depending on the amount of user data defined, screenforms are displayed in which
users can enter custom data. This data is only maintained by the tool management
and must be evaluated by the user in the part program (see also Section 5).
Currently OEM parameters are defined for the following system variables:
The C originally stood for compile cycle (users). Now, however, it generally means
“user data”.
With software Version 6 and higher, machine data and system variables are in-
cluded which allow definition of manufacturer-specific (Siemens) user data. The
purpose of this new class of system variables is to define variables whose contents
cannot be evaluated by the NCK itself but are still part of the system. Only control
systems with the appropriate functions and characteristics will have these system
variables. A additional difference between a Siemens OEM parameter and a sys-
tem variable is that a specified, predefined meaning is assigned to system vari-
ables whereas Siemens OEM parameters can be assigned to a different meaning
in different models and technologies.
For the previous block of machine data for activating user data
$MN_MM_NUM_CC_MAGAZINE_PARAM
$MN_MM_NUM_CC_MAGLOC_PARAM
$MN_MM_NUM_CC_TDA_PARAM
$MN_MM_NUM_CC_TOA_PARAM
$MN_MM_NUM_CC_MON_PARAM
There is a new block of machine data:
$MN_MM_NUM_CCS_MAGAZINE_PARAM
$MN_MM_NUM_CCS_MAGLOC_PARAM
$MN_MM_NUM_CCS_TDA_PARAM
$MN_MM_NUM_CCS_TOA_PARAM
$MN_MM_NUM_CCS_MON_PARAM
The meaning is analogous to the meaning of the respective machine data for the
existing user data.
Machine data
$MN_MM_TYPE_CC_MAGAZINE_PARAM
$MN_MM_TYPE_CC_MAGLOC_PARAM
$MN_MM_TYPE_CC_TDA_PARAM
$MN_MM_TYPE_CC_TOA_PARAM
$MN_MM_TYPE_CC_MON_PARAM
will allow the user to assign types to user parameters. Each machine data is an
array with a preset size determined by the number of user parameters specified in
machine data $MN_MM_NUM_CC_... .
Machine data
$MN_MM_TYPE_CCS_MAGAZINE_PARAM
$MN_MM_TYPE_CCS_MAGLOC_PARAM
$MN_MM_TYPE_CCS_TDA_PARAM
$MN_MM_TYPE_CCS_TOA_PARAM
$MN_MM_TYPE_CCS_MON_PARAM
allow the user to assign a type for Siemens user parameters. Each machine data
is an array with a preset size determined by the number of user parameters speci-
fied in machine data $MN_MM_NUM_CCS_... .
The possible types that can be established correspond to a subset defined in the
NC command:
Type of NC language Value for the machine data
BOOL 1
CHAR 2
INT 3
REAL 4
STRING 5 Allows identifiers of up to 31 characters.
The type can be assigned for one-dimensional pa-
rameters.
FRAME Not defined
AXIS Not defined
Examples
Let us assume that we are using 4 tool-related user data with types INT, REAL,
STRING and BOOL.
Therefore we need to set bit 2 in the $MN_MM_TOOL_MANAGEMENT_MASK
machine data in order to enable the OEM parameters function. Let us also set:
$MN_MM_NUM_CC_TDA_PARAM = 4
$MN_MM_TYPE_CC_TDA_PARAM[0] = 3
$MN_MM_TYPE_CC_TDA_PARAM[1] = 4
$MN_MM_TYPE_CC_TDA_PARAM[2] = 5
$MN_MM_TYPE_CC_TDA_PARAM[3] = 1
This allows us to use the selected user parameters as follows:
$TC_TPC1[ 4 ] = --45
$TC_TPC2[ 4 ] = 3.14
$TC_TPC3[ 4 ] = “Special tool”
$TC_TPC4[ 4 ] = TRUE
Software Version 6
As of software Version 6, these variables are also transferred by the change com-
mand M06 provided $MC_TOOL_CHANGE_MODE=1 has been set.
See also Subsection 5.7.
3.16.1 Interfaces
The interfaces in the PLC consist of data blocks that are updated by the basic pro-
gram. Tasks such as Load tool or Prepare tool change with source and target are
stored for each tool are stored in the data blocks. Tool number (internal number
assigned by the NCK when loading), tool size and tool status are also transferred
at the interfaces for spindle or turret.
If the position of the tool changes (e.g. from magazine to gripper...), the new posi-
tions must be transferred to the tool management on the NCK. Two function blocks
FC 7 (TM_REV) and FC 8 (TM_TRANS) are provided for this purpose. The PLC
programmer can call these blocks and supply them with the required parameters.
If a magazine or a turret is not driven by an auxiliary axis, the shortest direction of
rotation can be calculated with FC 22 (TM_DIR) and the positioning time opti-
mized. FC 18 is available if positioning is performed using an auxiliary axis of the
840D.
Notice
If new PLC data has been “generated”, data blocks DB 71 to DB 74 must be
deleted in the PLC and the PLC then cold restarted. The DBs are then set up for
the new configuration.
There is one interface (data record) per data block for each loading/unloading
point, spindle and turret. The data blocks are assigned to the different tasks (see
Section 9).
DB 71
DB 71 assumes the functions of loading and unloading, positioning and relo-
cating. The relocate and position at buffer functions are generally performed on
the first interface in DB 71.
DB 72
DB 72 is the interface for changing tools into the spindle. This change procedure
also includes preparation of the tool.
DB 73
DB 73 is the interface for tool changes with a circular magazine.
DB 74
Data block DB 74 is an internal tool management data block used for communica-
tion control. You must not write to this DB.
For all the interfaces listed here, source and target positions are available for the
tools associated with the machining operation.
FC 6 is called in the basic program for communication between the NCK and the
PLC when tool management is active. This block informs the user interfaces
(DB 71 to DB 73) if a tool management function is activated via the part program or
operator input.
Interfaces within DB 71 to DB 73
A bit field for the active and passive status of each interface is contained in bytes 0
and 1 of each of the data blocks (DB 71 to DB 73). DBX 0 represents the 1st inter-
face, DBX 0.1 the second, etc. A total of 16 interfaces can be addressed. If one of
these bits is set to the value = 1 by the tool management, the associated interface
is activated. If set to 0, the interface may not be processed by the user.
If the value = 1, the user must evaluate the commands at this interface (see Chap-
ter 9) and initiate the necessary actions (e.g. position magazines, change tools,
etc.). Once these actions have been initiated the programmer can also write to this
interface (e.g. to store the current positions of the tools involved in the action, or to
enter status bits that he has assigned, or to cancel the bit “Prepare change”). Each
modification of the tool positions and/or status information (see FC 8 for a descrip-
tion of the status information) via an interface task requires that FC 8 is called with
these values.
Notice
Once FC 7/8 has been started, it can be reset after a READY signal or error
signal.
Channel DB
Tool missing DBX 317.7 From NCK
Do not disable tool DBX 29.7 To NCK
Deactivate wear monitoring DBX 29.6 To NCK
De-activate workpiece counter DBX 29.5 To NCK
Activate time monitor DBX 1.3 To NCK
Magazine identifier
The location of a tool in the magazine is shown by a magazine identifier and a
location identifier. In a real magazine (chain, turret, etc.), the position of the tool is
identified by the magazine number and the location within the magazine assigned
during start-up.
If the tool is located in a buffer, the “magazine identifier” is the constant 9998 and
the location identifier corresponds to the buffer number assigned during start-up.
In a loading magazine, the “magazine identifier” is the constant 9999 and the loca-
tion identifier corresponds to the buffer number assigned during start-up. In this
case, loading magazine number = 1 has a special status. Loading magazine = 1
(spindle) is for manual loading/unloading and also the interface for tool relocation.
Synchronization
There are various methods by which the PLC and NCK can be synchronized (see
Subsection 3.2.12). The two devices are forced to synchronize by bits 5, 6, 7 and 8
and, in SW 5.1 and later, bit 19 as well of machine data 20310: TOOL_MANAGE-
MENT_MASK. During internal communication between the PLC and NCK, the de-
vices wait for each command to be acknowledged.
We distinguish between two types of acknowledgement:
S Transport acknowledgement
S End acknowledgement
Transport acknowledgement
Internal acknowledgement of a NCK command. The transport acknowledgement
indicates to the NCK whether the issued command has been accepted by the ba-
sic PLC program. Before a new command is output, the system checks whether
the previous command was accepted. If this is not the case, the output cannot take
place. The NCK waits for the acknowledgement before a new command is output.
End acknowledgement
Status checkback signal from the PLC for an accepted NCK command. Error-free
termination is indicated by status value = 1 and abnormal termination by status
value = 3.
Command
Command
Internal transport
acknowledgement
Command
Transport
acknowledge- Command
End ment
acknowledgement
Command termination
Depending on how bits 5--8 of MD 20310: TOOL_MANAGEMENT_MASK are set,
the command output is considered completed at different points in time.
S If bit 5 (or bit 6 for the secondary spindle) of MD 20310 is set, the command
output is completed when the internal transport acknowledgement and the
transport acknowledgement have arrived. The command has been accepted by
the basic PLC program.
S If bit 7 (or bit 8 for secondary spindle) of MD 20310: TOOL_MANAGE-
MENT_MASK is set, this means that the command output is only completed
when the end acknowledgement is received from the PLC.
S If the bits are not set, then the output of the command is considered as being
completed when the NCK has output the command to the NCK-internal VDI
image.
Notice
From the viewpoint of the tool-change command, the block change can take place
as soon as the NCK has output the command.
Setting bit 19 in combination with bits 5--8 of MD 20310:
TOOL_MANAGEMENT_MASK prevents blocks from changing before the required
acknowledgements have been received.
The NCK-PLC communication can be logged in a file as part of the tool change
procedure.
Notice
The diagnostic data is saved when the Reset key is activated. In order for the data
to be saved during program execution/without interrupting the program, software
version 6 and higher also allows you to save data when Cancel is activated.
Requirements
S Bit 13 must be set in machine data MD 20310: TOOL_MANAGE-
MENT_MASK.
S Free memory space must be available on the NC for saving the data. This ap-
plies both to the SRAM (passive file system) and to the DRAM -- with approx.
4KB each. The number of files in the file system must be below the maximum
number of files.
Example of procedure
1. Start an NC program with the following history:
No tool is present in spindle 1 (magazine no./location no. = 9998/3). Tool
change is set with M06. A “milling” tool is present in magazine 2 at location 1
and has the internal T number 1.
The following is programmed in the NC main program:
T = milling tool
; Acknowledgement by PLC with FC 8 and Status 105 completed
; Acknowledgement by PLC with FC 8 and Status 1 completed (not shown)
T = milling tool
; command with the same contents
M06
; this command is not mentioned in the following recording
; Acknowledgement by PLC with FC 8 and Status 1 completed (not shown)
TO M06
; Acknowledgement by PLC with FC 8 and Status 1
M30
2. When the RESET key is activated, the recorded data which is stored in an in-
ternal circular buffer is copied to the file _N_TCTRA’xx’_MPF, with ’xx’= chan-
nel number 01, 02...; the file is created in the _N_MPF_DIR directory in the
passive file system. In the current configuration, up to 25 communication proce-
dures can be recorded. If more procedures are recorded in the circular buffer,
the oldest data is overwritten. Up to 25 entries can also be made in the
_N_TCTRAxx_MPF file. Any additional entries cause the file to be deleted and
recording to start from the beginning again. This means that with longer diag-
nostic runs the only alternative is to save the current diagnostic log by pressing
the Reset button once the program has finished.
3. Evaluation of the log file.
In the file_N_TCTRA01_MPF a communication process is shown as follows:
S The command from NC to the PLC
T00001 N:N10 CMD:00002
NewTool: from M: 00002 P: 00001 to M: 09998 P: 00003
TNo: 00001 Spindle : 00001
OldTool: from M: 00000 P: 00000 to M: 00000 P: 00000
Meaning:
-- T00001 = Number of communication process, in this case “1”
-- N:N10 = Block number in part program (if present), here N10
-- CMD:00002 = Command output by the NCK, in this case “2”
-- NewTool = The tool to be loaded
CMD Explanation
1 A tool is transported from ... to ... . Load, unload, change, positioning
2 Tool change is to be prepared (setting MD 22550 = 1)
3 Tool change is to be carried out (setting MD 22550 = 1)
4 Tool change is to be prepared and carried out (setting MD 22550 = 0)
5 Tool change is to be prepared and carried out (setting MD 22550 = 1)
ACK Explanation
1 Tool is/was transported. Load, unload, change, positioning
FC 8 -- Parameter TaskIdent = 1
2 Tool change is/was carried out (setting MD 22550 = 1)
FC 8 -- Parameter TaskIdent = 2
3 Tool change is/was executed (setting MD 22550 = 1)
FC 8 -- Parameter TaskIdent = 2
4 Tool is/was prepared (setting MD 22550 = 0)
FC 8 -- Parameter TaskIdent = 3
5 Tool change is/was prepared (setting MD 22550 = 1)
FC 8 -- Parameter TaskIdent = 2
7 Terminate canceled tool command
DB10.DBX105.0=1
8 Tool was transported. If a tool is present at the source address, its data are
transported to the target address. Otherwise, only the current magazine position is
changed. If the tool transport is from a real magazine, the location to which the source
address points is reserved.
FC 8 -- Parameter TaskIdent = 5
9 Tool was transported. If a tool is present at the source address, its data are
transported to the target address. Otherwise, only the current magazine position is
changed.
FC 8 -- Parameter TaskIdent = 4
Transfer block FC 8
For a description of the block, see
References: /FB1/ P3, Basic PLC Program
Name of the N
Notice
The Ncdde server does not allow multi-variable access to Ncdde variables. This
means that write and read take place as separate access operations.
“DataName”
The following current data is available.
General data on TOA and channel:
-- curTOANo Current TOA number
-- curChannelNo Current channel number
Current tool in list views (the tool where the cursor is) and in tool-data displays for
individual tools:
-- curToolTNo T number
-- curToolIdent Tool identifier
-- curToolDuplo Tool duplo number
-- curToolType Tool type
-- curEdgeNo Tool cutting-edge number, relative to the tool, not DNo
-- curDLNo Tool cutting-edge number, relative to the cutting edge
-- curMagNo Magazine number;
“0”, if the current tool is neither located in the magazine
nor intended for it
-- curPlaceNo Magazine location number;
“0”, if the current tool is neither located on a location nor
intended for it
Current magazine in magazine list views:
-- curMagLiMagNo Magazine number
Target magazine, target magazine locations when loading, unloading, relocating,
positioning, searching for an empty location:
-- targetMagNo Magazine number
-- targetPlaceNo Magazin location number
Source magazine, source magazine locations when loading, unloading, relocating,
positioning, searching for an empty location:
-- sourceMagNo Magazine number
-- sourcePlaceNo Magazin location number
Current tool in tool cabinet:
-- curCabToolIdent Tool identifier
-- curCabToolDuplo Tool duplo number
-- curCabToolType Tool type
Current tool in the tool catalog:
-- curCatToolIdent Tool identifier
-- curCatToolDuplo Tool duplo number
-- curCatToolType Tool type
Values that are currently unknown are shown as “varname=;” in the Ncdde variable
or are not included there. The sequence of the data has not been specified.
As long a data word has not been set, its Ncdde variable is empty or not available.
The activity of the interface can be controlled by paramtm.ini in the section [Gen-
eral] (see Subsection 4.5.3).
Notice
The following setting must be the only line in paramtm.ini:
HMICurDataInterface = EnableAllTogetherWriteToNcdde := True,
EnableSingleWriteToNcdde := True,
WriteChangesWhenStateChanged := False
Notice
In machine data 20310: TOOL_MANAGEMENT_MASK and 18080:
MM_TOOL_MANAGEMENT_MASK, bits 0--3 must always be set to the same
value.
Overview
PLC
NCK
FC 6 DB 71 User
DB 72 program
DB 73
Tool
management
FC 8
Acknowledgement/Status
FC 7
FC 6 supplies the tool management interfaces (data blocks DB 71--DB 73) with
information for the new and old tool. The user must process this data from the ac-
tive interface in the user program and ensure that the tools (old and new) are
placed on the respectively associated positions (magazine, location). In order for
the tool management (TOOLMAN) to always know where a tool is located, each
time a tool changes location the new location must be transferred to the tool man-
agement via FC 7 or FC 8 acknowledgement status.
When all magazines, buffers and loading points (for all channels / TO areas) are
Create PLC
data
entered, the data must be passed to the PLC. Activate the softkey to
download the data to the PLC (HMI Advanced only).
Notice
If new PLC data has been “generated”, data blocks DB 71--74 must be deleted
and the PLC then cold restarted. The DBs are then set up for the new
configuration.
Mag 1= No. 1
Mag 9998 = buffer
Gripper 2 Gripper 1 Mag 9999 = loading station
Spindle 1 = Mag 9998, Loc. 1
Gripper 1 = Mag 9998, Loc. 2
1 2 3 4 Gripper 2 = Mag 9998, Loc. 3
Spindle 1
16 5
Change position
for spindle 15 6
Magazine1
14 7
13 8
12 11 10 9
Loading station
No. 9999
Tool “Drill120” is placed in location 6 and location 12 is reserved for the spindle
tools to be exchanged.
5. The PLC user program carries out the tool change and brings the tool into the
spindle. During this process, the old tool is removed from the spindle and
placed into gripper 2. The new tool in gripper 1 is placed into the spindle. When
the process is completed, FC 8 acknowledges with status 105 (position of new
tool: 9998, 1; position of old tool 9998, 3).
6. The (old) tool is returned from gripper 2 to magazine location 12. This is ac-
knowledged via FC8, status 1 (position of new tool: 9998, 1; position of old tool
1, 12). This represents the end of the tool change procedure. Bit 0.0 in DB 72 is
reset by FC 8.
Notice
The timing of the tool change can be optimized by applying the following strategy
for further processing in the part program:
Use status 1 with FC 8 in step 5 instead of status 105. The old tool is then
returned to storage in step 6 with the asynchronous FC 8 transfer function
(status 1, OldToolMag=9998, OldToolLoc=3, NewToolMag=1, NewToolLoc=12).
3. Every user interface (DB 71 to DB 73) is scanned for active status by block
FC 41.
If an interface is active, a transfer with new positions (usually target positions)
and status information “1” (completed) is passed to the NCK immediately.
4. If H9003 is programmed in the first channel (equivalent to data block DB 62.
DBX 15.6 set), the transfer operation described in paragraph 3 is only executed
after operating the MCP key above the minus-direction key.
This allows the the transfer values to be influenced via the status function. The
function is deactivated via H9002 (default setting). The transfer values are pro-
vided in data block DB 62.
Input parameters:
DBB 0 = Task identifier (1, 2, 3)
DBB 1 = Task number
Output parameters:
DBW 12 = Error
If an error occurs, the LED for the key lights up.
An asynchronous transfer is used to move the “Old tool” to the suggested mag-
azine location.
A manual acknowledgement is required for this purpose.
6. Asynchronous transfer
(changes in a tool location can be communicated without an NCK task)
DB 64 can be used to communicate a change in position of a tool to the tool
management function in the NCK.
The position of the tool was changed by the PLC. Entries must be made in
DB 64 (e.g. via variable status).
The asynchronous transfer can then be started with DB64.DBX 14.0 = 1.
The data in DB62.DBX 15.4 = 1 can be used to select the asynchronous trans-
fer with location reservation.
This corresponds to TaskIdent = 5.
If value 0 is stored in the data specified above, TaskIdent = 4 is activated.
Input parameters:
DBB 1 = Associated NC channel number
DBW 2 = Original magazine of tool
DBW 4 = Original location of tool
DBW 6 = Target magazine of tool
DBW 8 = Target location of tool
DBW 10 = Status information (see description of FC 8)
Only status = 1 and status = 5 are permissible
Output parameter:
DBW 12 = Error
Notice
If incorrect values are communicated from the NCK, the following error signals
causing PLC stop are output and either displayed via the HMI or entered in the
diagnostics buffer of the PLC.
Alarm 400604:
In function 4 the stated magazine is not a turret.
Remedy: Machine data (tool change with M06 command).
The communication initiated by the NC yet interrupted by the PLC job “Cancel
pending job” (DB10.DBX105.0) can be terminated by the PLC during setup.
The function cancels pending tool management jobs from the NCK (compare NC
switch-on). The NC tool management is reset in a defined manner.
This function enables direct intervention by the operator to e.g. take a tool out of
the gripper where a change is just about to take place, or if there is no acknowl-
edge from the PLC program.
Notice
Please ensure that the data consistency in the NC remains.
Supplementary condition
The “Delete active task” function can be activated only if the NC is in the “Channel
not active” state.
Part program
The start-up file is a part program e.g. %_N_MAGKONF_MPF. Two more sample
programs are contained on the tool box CD.
Machine 1
Machine 2
Spindle 1 = Location 1
(in 2nd internal magazine)
6 3
5 7
2 4
4 Change position 8 Change position
1 5
3
Magazine1
9 16 6
Magazine2
$TC_MAP8[1]=6 $TC_MAP8[2]=2
2
$TC_MDP2[1,1]=0 10 15 $TC_MDP2[2,2]=0 7
1
11 14
loading point 8
16 loading point
12 13
15 9
13
14 12 10
11
$TC_MDP1[1,1]=6 $TC_MDP1[2,1]=11
Bild 4-3 Change position, loading point, current position; magazine distance
The zero position is at the change point of the spindles, therefore the following ap-
plies: if location 1 is at the change point, the current magazine position = 1 =
$TC_MAP8[x]
$TC_MDP1[1,1] = 6 Distance between Location 1 of the loading point and the
zero position of the magazine
$TC_MDP1[2,1] = 11 Distance between the same location from the zero position
of magazine 2
$TC_MDP2[1,1] =0 Distance of location 1 of the 2nd internal magazine
(spindle 1) from the zero position of magazine 1
$TC_MDP2[2,2] = 0 Distance between the same location and the zero position
of magazine 2
N130 ; Configuration
N140 ;
N160 $TC_MAMP2=4097 ; Type of search strategy
N170 ;
N180 ; Magazines
N190 ; Real magazine with number [1]
N200 $TC_MAP1[1]=1 ; Magazine type (1: Chain, 3: Turret,
; 5: Box)
N220 $TC_MAP3[1]=17 ; Magazine status
; (see also Planning Guide)
N230 $TC_MAP6[1]=1 ; Number of tiers in magazine
N240 $TC_MAP7[1]=50 ; Number of magazine locations
N250 ;
N260 ; Definition of buffer magazine (always number 9998)
N270 $TC_MAP1[9998]=7 ; Magazine type: 7: Buffer
N280 $TC_MAP3[9998]=17 ; Magazine status
N290 $TC_MAP6[9998]=1 ; Number of tiers
N300 $TC_MAP7[9998]=3 ; Number of locations
N310 ;
N320 ; Definition of loading magazine (always number 9999)
N330 $TC_MAP1[9999]=9 ; Magazine type: 9: Loading magazine
N340 $TC_MAP3[9999]=17 ; Magazine status
N350 $TC_MAP6[9999]=1 ; Number of tiers
N360 $TC_MAP7[9999]=2 ; Number of locations
N370 ;
N380 ; Locations of chain magazine
N390 ;
N400 $TC_MPP1[1,1]=1 ; Location type
N410 $TC_MPP2[1,1]=2 ; Location type
N420 $TC_MPP3[1,1]=1 ; Consider adjacent location ON
; (OFF would be 0)
N430 $TC_MPP4[1,1]=2 ; Location state
; (see also Planning Guide)
N440 $TC_MPP5[1,1]=1 ; Location type index
N450 ;
N460 $TC_MPP1[1,2]=1
N470 $TC_MPP2[1,2]=2
N480 $TC_MPP3[1,2]=1
N490 $TC_MPP4[1,2]=2
N500 $TC_MPP5[1,2]=2
N510 ;
N520 $TC_MPP1[1,3]=1
N530 $TC_MPP2[1,3]=2
N540 $TC_MPP3[1,3]=1
N550 $TC_MPP4[1,3]=2
N560 $TC_MPP5[1,3]=3
N570 ;
N580 $TC_MPP1[1,4]=1
N590 $TC_MPP2[1,4]=2
N600 $TC_MPP3[1,4]=1
N610 $TC_MPP4[1,4]=2
N620 $TC_MPP5[1,4]=4
N630 ;
N640 $TC_MPP1[1,5]=1
N650 $TC_MPP2[1,5]=2
N660 $TC_MPP3[1,5]=1
N670 $TC_MPP4[1,5]=2
N680 $TC_MPP5[1,5]=5
N690 ;
.......
......
N3160 $TC_MPP1[1,47]=1
N3170 $TC_MPP2[1,47]=2
N3180 $TC_MPP3[1,47]=1
N3190 $TC_MPP4[1,47]=2
N3200 $TC_MPP5[1,47]=47
N3210 ;
N3220 $TC_MPP1[1,48]=1
N3230 $TC_MPP2[1,48]=2
N3240 $TC_MPP3[1,48]=1
N3250 $TC_MPP4[1,48]=2
N3260 $TC_MPP5[1,48]=4
8N3270 ;
N3280 $TC_MPP1[1,49]=1
N3290 $TC_MPP2[1,49]=2
N3300 $TC_MPP3[1,49]=1
N3310 $TC_MPP4[1,49]=2
N3320 $TC_MPP5[1,49]=49
N3330 ;
N3340 $TC_MPP1[1,50]=1
N3350 $TC_MPP2[1,50]=2
N3360 $TC_MPP3[1,50]=1
N3370 $TC_MPP4[1,50]=2
N3380 $TC_MPP5[1,50]=50
N3390 ; locations in the buffer
N3400 $TC_MPP1[9998,1]=2 ; Location type (here spindle)
N3410 $TC_MPP2[9998,1]=0 ; Location type: as BUF is 0 here
N3420 $TC_MPP3[9998,1]=0 ; Consider adjacent location OFF
N3430 $TC_MPP4[9998,1]=2 ; Location state
N3440 $TC_MPP5[9998,1]=1 ; Location type index
N3450 ;
N3460 $TC_MPP1[9998,2]=3 ; Gripper 1
N3470 $TC_MPP2[9998,2]=0
N3480 $TC_MPP3[9998,2]=0
N3490 $TC_MPP4[9998,2]=2
N3500 $TC_MPP5[9998,2]=1
N3510 ;
N3520 $TC_MPP1[9998,3]=3 ; Gripper 2
N3530 $TC_MPP2[9998,3]=0
N3540 $TC_MPP3[9998,3]=0
N3550 $TC_MPP4[9998,3]=2
N3560 $TC_MPP5[9998,3]=2
N3870 ;
N3880 ; Spindle assignment ; Spindle assignment
N3890 $TC_MLSR[2,1]=0 ; 1st gripper (location 2) belongs to
; spindle (location 1)
N3900 $TC_MLSR[3,1]=0 ; 2nd gripper (location 3) belongs to
; spindle (location 1)
N3920 ; Loading magazine locations
N3930 $TC_MPP1[9999,1]=7 ; Location type loading point
; (for spindle!)
N3940 $TC_MPP2[9999,1]=0 ; Location type (here always 0)
N3950 $TC_MPP3[9999,1]=0 ; Consider adjacent location OFF! N3960
$TC_MPP4[9999,1]=2 ; Location status: Free
iN3970 $TC_MPP5[9999,1]=1 ; Location type index
N3980 ;
N3990 $TC_MPP1[9999,2]=7
N4000 $TC_MPP2[9999,2]=0
N4010 $TC_MPP3[9999,2]=0
N4020 $TC_MPP4[9999,2]=2
N4030 $TC_MPP5[9999,2]=2
N4040 ;
N4650 ; Offsets (distances) ; Distances to magazine
N4660 ;
N4670 $TC_MDP2[1,1]=0 ; Spindle
N4680 $TC_MDP2[1,2]=0 ; Gripper 1
N4690 $TC_MDP2[1,3]=0 ; Gripper 2
N4700 $TC_MDP1[1,1]=0 ; 1st loading point
N4710 $TC_MDP1[1,2]=25 ; 2nd loading point
; (distance 25 to actual position)
N4720 ;
N4730 ; End
N4740 ;
N4750 M30
The data for the initial settings is contained in DB 4 from data word 64 (see Sec-
tion 9.5). This data must be described by the PLC user program. The number of
magazines, loading points, spindles and turrets is determined from this data and
used to automatically set up the tool management data blocks (DB 71 to DB 74).
The start-up routine is part of the basic program.
Real magazines
Magazines
In this screen, magazines are defined with the appropriate data or displayed with
existing data.
Name Enter or select the name of the real magazine (new).
Display text Language-dependent name of the magazine
(refer to Chapter 4.4.3)
Number Display of the current magazine number
Type Selection of a magazine type (chain magazine, turret, box-type
magazine)
Locations Enter or display number of magazine locations
Notice
Up to 32 magazines (including buffer and loading magazine) are possible,
therefore a maximum of 30 real magazines.
Notice
If the message “invalid value in magazine” appears, the number of locations
and/or number of columns is incorrect. The “number of locations” value must be
divisible by the “number of columns”.
Example:
20 locations cannot be divided into 3 columns, but 21 locations can be.
Delete magazine
1. Select the magazine name
Delete
2. Press the softkey.
3. The magazine is deleted without a prompt.
Notice
A magazine can only be deleted if it is not assigned to any magazine
configuration.
Notice
The next time the PLC is booted, the message “Deleting DB xx in PLC...” may
appear. In this case, the specified DB is deleted via STEP 7. As an alternative a
suitable PLC archive can also be loaded.
Buffer
Buffer
In this screen buffer locations are defined (New) or existing ones are displayed.
Name Enter or select name of the buffer.
Display text Language-dependent name of the magazine
If it exists, the display text is immediately displayed from
patm_xx.ini (see Section 4.4.3).
Number Display of the current magazine number
Type Selection of buffer type (spindle/toolholder, gripper, transfer
location, loader)
Index The index counts the locations of a type.
Number Display of consecutive internal number under which the location
is to be addressed
Overview The number of all buffer locations is displayed as a graph.
In addition, the currently selected buffer location (No.) is
highlighted. Each “type” is displayed in a different color.
Notice
During input of the buffer, the sequence needs to be adhered to. The spindles
must always be entered first. For each buffer location a number is assigned
internally over which the buffer location is addressed.
The buffer “spindle” with index 1 and spindle_1 in the NC have a direct relationship
to one another. This means that for example the “spindle” buffer with index 1 must
also be the 1st spindle for the NC, index 2 = 2nd spindle, etc.
New
1. Press the softkey.
2. Enter name: e.g. Gripper_1. If it exists, the display text is immediately dis-
played from patm_xx.ini (see Section 4.4.3).
3. Select the type: Transfer location, gripper, loader, spindle
OK
4. The buffer location is created by pressing , the location number
and the index are internally assigned and incremented.
Assign/remove spindle
Assigning
Softkey Spindle assigns a buffer location (e.g. gripper) to a spindle. This
allows the mechanical relation between the gripper and spindle to become known
to the software.
Remove
The softkey Spindle cancels an existing spindle assignment.
Example
If for example tools are to be loaded from 2 magazines onto “Spindle_1”, the as-
signment must be made for both magazines.
4 3 2 1 1 2 3 4
Spindle_1
5 16 16 5
Change position
6 15 Gripper_3 for spindle 15 6
Magazine_2 Magazine_1
7 14 14 7
Mag_1= No. 1; Mag_2= No. 2
Mag 9998 = all buffers
8 13 13 8
Mag 9999 = All loading locations
Spindle_1 = Mag 9998, Loc. 1
9 10 11 12 12 11 10 9
Gripper_1 = Mag 9998, Loc. 2
Gripper_2 = Mag 9998, Loc. 3
Gripper_3 = Mag 9998, Loc. 4
Loading point_2 Loading point_1
Gripper_4 = Mag 9998, Loc. 5 Mag. No. 9999
Mag. No. 9999
Loc. No. 3 Loc. No. 2
Loading locations
Loading locations
In this screen loading locations are defined (New) or existing ones are displayed.
Name Name of loading location (max. 32 characters).
Display text Language-dependent name of the magazine. If it exists, the
display text is immediately displayed from patm_xx.ini (see
Section 4.4.3).
Number Display of the current magazine number
Type The options are loading point and loading station.
Index The index counts the locations of a type.
Number Display of consecutive internal number under which the location
is to be addressed
Overview The overview displays the number of all buffers graphically. The
numbers for the selected loading point/station are highlighted in
color.
Loading points are locations that are needed for loading the magazine. There are
two types of loading points:
S Loading locations
S Loading stations
All loading locations are stored in an internal loading magazine with the number
9999.
Notice
Loading magazine 9999/1 is always automatically set for loading/unloading of the
spindle (manual loading point).
Loading locations
Loading points are areas on the machine at which it is possible to directly load the
magazine, i.e. the tool can be directly inserted in the magazine at this point. The
magazine location to be loaded is moved to the loading point. For example, chain
magazines have loading points.
The loading point is assigned to location type “7” ($TC_MPP1) in the magazine
data.
Location type 7
If a tool is moved to this location from the magazine/toolholder, the NCK automati-
cally removes the tool from this location when acknowledgement is received from
the PLC.
Loading stations
A loading station is a location outside the magazine onto which the tool to be
loaded is placed. The tool is then transported from that location to the magazine
via a transport mechanism. Loading stations are generally used for box or chain
magazines.
The loading station is assigned to location type “6” ($TC_MPP1) in the magazine
data.
Location type 6
NCK does not differentiate between cases, i.e. if the tool was moved to this loca-
tion, the tool remains there. It can only be removed (unloadd) from there though
explicit operator action.
Example
4 3 2 1 1 2 3 4
Spindle_1
5 16 16 5
Change position
6 15 Gripper_3 for spindle 15 6
Magazine_2 Magazine_1
7 14 14 7
Both magazines can be loaded via Spindle_1. Loading point_1 is only Magazine_1
and Loading point_2 is only assigned to Magazine_2.
Location types
In this screen location types are defined with the required data or existing ones are
displayed.
Name Name of the location type (max. 32 characters).
Display Language-dependent name of the magazine. If it exists, the
display text is immediately displayed from patm_xx.ini (see
Section 4.4.3).
Hierarchy To overcome the inflexible classification of magazine locations
according to location type, locations can be arranged in
ascending order, i.e. in a hierarchy (see Section “Hierarchy of
location types”).
Form type The position of the reference location (tool shank) is specified
via the form type.
Parameter Definition of height and width as well as free half locations (left,
assignment right, top, bottom) (see examples).
Consider This information is stored magazine specifically (magazine
adjacent configuration) and it relevant for the location search.
location
Reference location
The reference location is the physical location in the magazine. It is used as a ref-
erence point for specifying the tool size and is required for calculating the maga-
zine assignment. The size of the reference location is always represented as tool
size 1 1 1 1. (For parameter settings, refer to “Normal location type”)
Width 2
1 top
1 bottom
Left, right, top, bottom are the half locations of the tool size 1 1 1 1
Chain magazine
Left, right, top, bottom are the half locations of the tool size 2 2 1 1
Width 4
2 top
Reference location
Height 4 2 left 2 right
Left, right, top, bottom are the half locations of the tool size 2 2 2 2
Oversized location type with free half locations for box magazine
In a box magazine, a tool with the size 2 2 2 2 occupies one half location in each
direction in addition to the normal magazine location.
However, with this location type the half location in each corner is not used.
Width 4
2 top Reference location
Left, right, top, bottom are the half locations of the tool size 2 2 2 2
Bild 4-13 Oversized location type with free half locations for box magazine
Example 1:
Existing location types: A, B, C
Defined hierarchy: A<B
B <C
Therefore the entire hierarchy is as follows: A < B < C
Example 2:
Existing location types: A, B, C, D, E
Defined hierarchy: A<B
B<D
C<E
1st hierarchy A<B<D
2nd hierarchy C< E
Create hierarchy
Select small location type (name left) (in our example location type A).
Select larger location type (name right) (in our example location type B).
Create
Press the hierarchy softkey to create the hierarchy. The hierarchy name in the
screen 4-9 corresponds to the name of the larger location type and is displayed in
the hierarchy field (B in example).
Delete hierarchy
You can remove the hierarchy selected in the “Hierarchy” field by pressing the
Delete
hierarchy softkey.
In this screen data required for the selected magazine is defined or existing data
displayed.
Configurations
Magazine name Name of the magazine configuration (max. 32 characters).
Real magazines
Name Name of the selected real magazine
Type Type of magazine
No. of Locations Number of locations for the selected magazine
Location types
Location type Name of the selected location type
From location 1st location to be defined
To location Last location to be defined
The settings made in the previous screen (magazine configuration) become effec-
tive.
New
1. Press the softkey.
2. Enter name, e.g. Example_documentation (max. 32 characters)
3. Select selection menu for the tool search, location search and wear group and
make the settings as appropriate.
OK
4. Press softkey (create the magazine configuration)
Notice
The softkey “Assign” and “Remove” always refer to the selection field the cursor is
positioned on:
-- Magazine
-- Location type
Copy configuration
Copy
Press the softkey.
OK
Enter a new name and confirm by pressing the softkey.
Here the previously created INI file is uploaded to the NCK via softkey
Load
. The procedure is channel-specific; only one configuration is possible
for each TO unit.
(This means if TO unit 1 is assigned to channels 1, 2, 3 and 6, the configuration
which was loaded in channel 1 is automatically valid for channels 2, 3 and 6 too.)
Configuration
All of the data that describes the tool management operator interface is stored in
the file ...\user\paramtm.ini. You can edit the file by selecting it in /MMC/DOS-
Shell and then opening it with the command edit ...\user\paramtm.ini. The file
paramtm.ini can also be created on an external PC and copied into the directory
...\user.
Country-specific sections are parameterized in the “language\patm_xx.ini” file in
the [BatchTools] section. “xx” here denotes the 2 letters for the country, e.g. gr for
German, uk for English, sp for Spanish, nl for Dutch.
New functionality in the lists
The following additional functions have been implemented in the magazine, tool,
work correction list and tool details:
S Parameter settings for bitmaps in the list
S Tool identifiers and duplo numbers can be changed in the lists
S New magazine list with several lines
S Job processing of tools
S Tool-status bit “Pre-warning limit” can be changed in displays of lists
S Tool status bit “Unload detection” and “Load detection” in displays of lists and
details can be changed
S New tool types
550 Steel profile
700 Slotting saw
711 Edge probe
720 Oriented probe
730 Stop
S If adapter data is set in the NCK, then the magazine list can be displayed either
transformed or not transformed (softkey on the ETC bar). The setting is made
in paramtm.ini, section [TMMODES], with the entry START_MAGLIST_TRANS-
FORMED
S Suppression of status bits for tool cabinet, code carrier, SINCOM excerpt from
paramtm.ini
;Tool status: If a tool is removed from the NCK and transferred to an external
medium (tool cabinet, code carrier, SINCOM), then you can use the following
screens to specify which tool status bits should be saved
;Code carrier: Since the standard conversion file wkonvert.txt (see Subsection
4.5.2) has entered 1 byte for the tool status and max. 92 were written to the
code carrier up to now, CODECARRIER_TOOLSTATE_MASK receives the de-
fault value 92. If the value for CODECARRIER_TOOLSTATE_MASK is ex-
panded, then the size of the dialog variables T9 in wkonvert.txt has to be
adapted accordingly.
Notice
Until now, the mmc2\paramtm.ini parameter settings for tool management only
contained comments consisting of documentation of the individual entries. Almost
the entire comment part had to be removed because new entries exceeded the
critical file length limit of about 63KB.
A version of paramtm.ini with comments can now be found in mmc2\paramtm.txt.
Overshooting and other errors when reading the parameterization are logged as
before in the file ...\user\paramini.out.
ChangeToolTypeWithoutConfirmation=-1
ChangeToolSizeAndToolplace_spec=-1
READ_GUD_LUD=7
WRITE_ZOA=7
READ_SYSVAR=7
EDIT_VIEW=7
[DETAILS]
TOOLBASE_COL1=20
TOOLBASE_COL2=20
TOOLBASE_COL3=20
TOOLBASE_COL4=20
[DEFAULT SETTINGS]
For default settings for creating tools, see paramtm.ini or pa-
ramtm.txt in path mmc2
; Magazine list: Load, data input directly in the list:
; 0=The default settings must be confirmed with the “Tool data”
; screen due to missing input if they are needed.
; 1=The default settings become effective without confirmation
; (with the exception of tool identifier no.)
; 2=The default settings become effective without confirmation
; (including the tool identifier no.)
DEFAULT_WITHOUT_CONFIRM=0
; 1=Time monitoring
; 2=Workpiece count monitoring
TOOLMONITOR_MODE=0
[TMMODES]
; 0=Do not process cutting edge parameters outside the tool type
; (default)
; 1=Process cutting edge parameters outside the tool type
; (if not equal to 0)
EDGE_PARAMS_OUT_OF_TOOLTYPE=1
; For display of the funcitons “Create tool edge” and “Delete tool
; edge” (only possible with multi-line display) in the main menu
; “Tool / magazine list”, the softkey “Tool details” can be replaced
; with the new softkey “Data management”.
; The “Tool details” softkey is saved with the same functionality
; behind the softkey “Data management”.
; False=“Tool details” remains active (default)
; True=“Data management” is activated
ACTIVATE_EDGE_MANAGEMENT_IN_LISTS=False
DATABASE_LENGTH_UNIT=-1
CABIB_TOOLSTATE_MASK=4828
SINCOM_TOOLSTATE_MASK=4828
CODECARRIER_TOOLSTATE_MASK=92
; Tool search: processing $TC_TP10 in conjunction with the tool cabi-
; net/catalog
;0 = (default) If a tool is brought from the tool cabinet into the
; NCK, then value “No. replacement tool ($TC_TP10)” is not
; uploaded to the NCK. ($TC_TP10) is set in the NCK to 0.
;1= The value “No. replacement tool ($TC_TP10)” is transferred
; from the tool cabinet to the NCK and displayed in the Tool
; catalog/cabinet screens.
TOOLSEARCH_TC_TP10_FROM_DB=0
[General]
; Settings for “Write current data for tool management operator
; interface to NCDDE variables, when there is a change to WIZARD
; pictures or the WIZARD softkeys were activated”:
; All settings must be set in one single line of the name parameter.
; An option is activated via the value “True” and deactivated by the
; value “False” or because the name parameter is missing in the line.
; “EnableAllTogetherWriteToNcdde := True”: All data in one single
; NCDDE variable
; “EnableSingleWriteToNcdde := True”: One separate NCDDE variable for
; each data
; Both settings can be simultaneously active.
; When none of the two options is active, the NCDDE variables
; are not written to.
; “WriteChangesWhenStateChanged := True”: The data is written each
; time a softkey is activated; this does not apply to WIZARD
; softkeys.
;
HMICurDataInterface = EnableAllTogetherWriteToNcdde := True,
EnableSingleWriteToNcdde := True, WriteChangesWhenStateChanged :=
False
; Application of $MM_WRITE_TOA_FINE_LIMIT and
; $MM_USER_CLASS_WRITE_FINE to the geometrical data and basic values
; for the cutting edge data
UseFineLimitForToolGeoAndAdapt=False ;Default
;UseFineLimitForToolGeoAndAdapt=True
[GeneralSettingsForMagAndToolList]
; If MagPlaceState_Lang_12345678 and ToolState_Lang_12345678 are not
; defined here or or are equal to “<Empty>”, then the
; language-specific values are shown in the magazine and tool list
; from pa_xx.dll.
; If values are set here and in the section “[General]” the entry
; “ReadLanguageIni” equals 1, then the text is searched in the files
; mmc2\language\patm_gr.ini, user\language\patm_gr.ini etc. in the
; same section as here. The name for the entry that is used in the
; language-specific file is the value of the entry from paramtm.ini.
; If an entry is found in the language-specific file, then this is
; used as the text.
; If no entry is found or ”...=<Empty> is found, then the value from
; the file paramtm.ini is used as the text.
; The 8 characters in MagPlaceState_Lang_12345678 and
; ToolState_Lang_12345678 correspond to the 8 states of magazine
; location and tool and are shown as values for the location and tool
; states in the magazine list and in the tool list.
; Example: ToolState_Lang_12345678=12345678_ToolState_Lang
ToolState_Lang_12345678=<Empty> ; use language-DLL
; MagPlaceState_Lang_12345678=12345678_MagPlaceState_Lang ; use
; patm_*.ini
; The new magazine location status bits can be displayed in each list
; screen. The parameters are set in the sections:
“[1_MagList]”, “[2_MagList]”, “[3_MagList]”
“[1_ToolList]”, “[2_ToolList]”, “[3_ToolList]”
“[1_ActList]”, “[2_ActList]”, “[3_ActList]”
; Entries are for example:
12=TC_MPP4_9, 1, TC_MPP4_9 ;PlaceStatus Left,
;Reserved in left half location
13=TC_MPP4_10, 1, TC_MPP4_10 ;PlaceStatus Right,
;Reserved in right half location
14=TC_MPP4_11, 1, TC_MPP4_11 ;PlaceStatus Top,
;Reserved in upper half location
15=TC_MPP4_12, 1, TC_MPP4_12 ;PlaceStatus Bottom,
;Reserved in lower half location
16=TC_MPP4_13, 1, TC_MPP4_13 ;PlaceStatus Bit 13 of 1 to 16
17=TC_MPP4_14, 1, TC_MPP4_14 ;PlaceStatus Bit 14 of 1 to 16
18=TC_MPP4_15, 1, TC_MPP4_15 ;PlaceStatus Bit 15 of 1 to 16
19=TC_MPP4_16, 1, TC_MPP4_16 ;PlaceStatus Bit 16 of 1 to 16
; Example: MagPlaceState_Lang_12345678=12345678_MagPlaceState_Lang
MagPlaceState_Lang_12345678=<Empty>
WidthOfActBitmapsInCharacters = 5
WhichActChannelText=ChannelName,4
; File name of the bitmap for the current tool / DNo / DL where D <>
; 0 and DL <> 0
ActToolBitmap = paat.bmp
; File name of the bitmap for the current tool / DNo / DL with D = 0
; in magazine list and tool list.
; Such cutting edges are not marked in the working offset list.
ActToolZeroDBitmap = paatd0.bmp
; File name of the bitmap for the current tool / DNo / DL with current DL = 0.
;
ActToolZeroDLBitmap = paatdl0.bmp
ProgToolZeroDBitmap = paptd0.bmp
[SoftKeysForMagAndToolList]
; Text for the softkeys of magazine lists and tool lists
; The locale mechanism is used.
; For an explanation of this mechanism refer to the section
; “[GeneralSettingsForMagAndToolList]”, entry
; “MagPlaceState_Lang_12345678” or “second “TC_TP2””
1_MagList=M1
2_MagList=M2
3_MagList=M3
1_ToolList=T1
2_ToolList=T2
3_ToolList=T3
1_ActList=A1
2_ActList=A2
3_ActList=A3
[FormTitles]
; List display titles for untransformed display of data with locale
; mechanism and transformation mechanism.
; With the transformed display, the substitute for the text code is
; taken from section “[TrafoFormTitles]”.
; If “ReadLanguageIni=1” applies in “[General]”, then the text from
; the locale file is read (e.g. language\patm_gr.ini), see section
; “[FormTitles]”.
; Whatever the case, the text parameters should be set for all lists
; of displays, both for the transformed as well as for the
; untransformed display.
; Pay particular attention to the working offset lists: Currently
; these lists are only output with transformed data. In this case the
; list display titles from “[TrafoFormTitles]” are used.
1_MagList=M1
2_MagList=M2
3_MagList=M3
1_ToolList=T1
2_ToolList=T2
3_ToolList=T3
1_ActList=A1
2_ActList=A2
3_ActList=A3
[TrafoFormTitles]
; List display titles for untransformed data display with locale
; mechanism and transformation mechanism.
; If “ReadLanguageIni=1” applies in “[General]”, then the text is
; read from the locale file; see section “[FormTitles]”.
M1=TM1
M2=TM2
M3=TM3
T1=TT1
T2=TT2
T3=TT3
A1=TA1
A2=TA2
A3=TA3
[SearchOfMagPlaces]
; Defines how the location search is to take place
[ToolParams]
UserDataParamName1 = TC_TPC1
UserDataParamName2 = TC_TPC2
UserDataParamName3 = TC_TPC3
UserDataParamName4 = TC_TPC4
UserDataParamName5 = TC_TPC5
UserDataParamName6 = TC_TPC6
UserDataParamName7 = TC_TPC7
UserDataParamName8 = TC_TPC8
UserDataParamName9 = TC_TPC9
UserDataParamName10 = TC_TPC10
UserDataParamIO1 = <EndOfList>
; UserDataParamIO1 = Type:=Float, Res:=2
; UserDataParamIO2 = Type:=Int
UserDataParamSize = TC_TPC_UNIT
UserDataParamSize1 = <EndOfList>
; UserDataParamSize1=TC_TPC1_UNIT
; ...
; UserDataParamSize10=TC_TPC10_UNIT
ApplDataParamName1 = TC_TPCS1
ApplDataParamName2 = TC_TPCS2
ApplDataParamName3 = TC_TPCS3
ApplDataParamName4 = TC_TPCS4
ApplDataParamName5 = TC_TPCS5
ApplDataParamName6 = TC_TPCS6
ApplDataParamName7 = TC_TPCS7
ApplDataParamName8 = TC_TPCS8
ApplDataParamName9 = TC_TPCS9
ApplDataParamName10 = TC_TPCS10
ApplDataParamIO1 = <EndOfList>
; ApplDataParamIO1 = Type:=Float, Res:=2
; ApplDataParamIO2 = Type:=Int
ApplDataParamSize = TC_TPCS_UNIT
ApplDataParamSize1 = <EndOfList>
; ApplDataParamSize1=TC_TPCS1_UNIT
; ...
; ApplDataParamSize10=TC_TPCS10_UNIT
[ToolEdgeParams]
; Length 1
EdgeParamNameLLen1 = TC_DP3
; Length 2
EdgeParamNameLLen2 = TC_DP4
; Length 3
EdgeParamNameLLen3 = TC_DP5
; Radius l1
EdgeParamNameRLen1 = TC_DP8
; Radius l2
EdgeParamNameRLen2 = TC_DP9
; Radius r1
EdgeParamNameRRad1 = TC_DP6
; Radius r2
EdgeParamNameRRad2 = TC_DP7
; Angle1
EdgeParamNameAng1 = TC_DP10
; Angle2
EdgeParamNameAng2 = TC_DP11
UserDataParamName1 = TC_DPC1
UserDataParamName2 = TC_DPC2
UserDataParamName3 = TC_DPC3
UserDataParamName4 = TC_DPC4
UserDataParamName5 = TC_DPC5
UserDataParamName6 = TC_DPC6
UserDataParamName7 = TC_DPC7
UserDataParamName8 = TC_DPC8
UserDataParamName9 = TC_DPC9
UserDataParamName10 = TC_DPC10
UserDataParamIO1 = <EndOfList>
; UserDataParamIO1 = Type:=Float, Res:=2
; UserDataParamIO2 = Type:=Int
UserDataParamSize = TC_DPC_UNIT
UserDataParamSize1 = <EndOfList>
; UserDataParamSize1=TC_DPC1_UNIT
; ...
; UserDataParamSize10=TC_DPC10_UNIT
ApplDataParamName1 = TC_DPCS1
ApplDataParamName2 = TC_DPCS2
ApplDataParamName3 = TC_DPCS3
ApplDataParamName4 = TC_DPCS4
ApplDataParamName5 = TC_DPCS5
ApplDataParamName6 = TC_DPCS6
ApplDataParamName7 = TC_DPCS7
ApplDataParamName8 = TC_DPCS8
ApplDataParamName9 = TC_DPCS9
ApplDataParamName10 = TC_DPCS10
ApplDataParamIO1 = <EndOfList>
; ApplDataParamIO1 = Type:=Float, Res:=2
; ApplDataParamIO2 = Type:=Int
ApplDataParamSize = TC_DPCS_UNIT
ApplDataParamSize1 = <EndOfList>
; ApplDataParamSize1=TC_DPCS1_UNIT
; ...
; ApplDataParamSize10=TC_DPCS10_UNIT
[ToolEdgeParamsTrafoTextReplace]
; Transformed length 1
TC_DP3 = TTC_DP3
; Transformed length 2
TC_DP4 = TTC_DP4
; Transformed length 3
TC_DP5 = TTC_DP5
; Transformed radius l1
TC_DP8 = TTC_DP8
; Transformed radius l2
TC_DP9 = TTC_DP9
; Transformed radius r1
TC_DP6 = TTC_DP6
; Transformed radius r2
TC_DP7 = TTC_DP7
; Transformed angle1
TC_DP10 = TTC_DP10
; Transformed angle2
TC_DP11 = TTC_DP11
[CuttEdgeSupervisionOEM]
; [CuttEdgeSupervisionOEM] cutting edge monitoring OEM data and
; application data
; [MagazineOEM] magazine OEM data and application data
; [MagazineLocOEM] magazine location OEM data and application data
; Help for the lines “UserDataParamIO”:
; Data format for the data display in magazine list and tool list
; This format is only used for the display
; and
; in a number of instances as well for entering data.
[CuttEdgeSupervisionOEM]
UserDataParamName1 = TC_MOPC1
UserDataParamName2 = TC_MOPC2
UserDataParamName3 = TC_MOPC3
UserDataParamName4 = TC_MOPC4
UserDataParamName5 = TC_MOPC5
UserDataParamName6 = TC_MOPC6
UserDataParamName7 = TC_MOPC7
UserDataParamName8 = TC_MOPC8
UserDataParamName9 = TC_MOPC9
UserDataParamName10 = TC_MOPC10
UserDataParamIO1 = <EndOfList>
; UserDataParamIO1 = Min:=-4, Max:=6
; UserDataParamIO2 = Min:=-10, Max:=122
UserDataParamSize = TC_MOPC_UNIT
UserDataParamSize1 = <EndOfList>
; UserDataParamSize1=TC_MOPC1_UNIT
; ...
; UserDataParamSize10=TC_MOPC10_UNIT
ApplDataParamName1 = TC_MOPCS1
ApplDataParamName2 = TC_MOPCS2
ApplDataParamName3 = TC_MOPCS3
ApplDataParamName4 = TC_MOPCS4
ApplDataParamName5 = TC_MOPCS5
ApplDataParamName6 = TC_MOPCS6
ApplDataParamName7 = TC_MOPCS7
ApplDataParamName8 = TC_MOPCS8
ApplDataParamName9 = TC_MOPCS9
ApplDataParamName10 = TC_MOPCS10
ApplDataParamIO1 = <EndOfList>
; ApplDataParamIO1 = Min:=-4, Max:=6
; ApplDataParamIO2 = Min:=-10, Max:=122
ApplDataParamSize = TC_MOPCS_UNIT
ApplDataParamSize1 = <EndOfList>
; ApplDataParamSize1=TC_MOPCS1_UNIT
; ...
; ApplDataParamSize10=TC_MOPCS10_UNIT
[Magazine0EM]
UserDataParamName1 = TC_MAPC1
UserDataParamName2 = TC_MAPC2
UserDataParamName3 = TC_MAPC3
UserDataParamName4 = TC_MAPC4
UserDataParamName5 = TC_MAPC5
UserDataParamName6 = TC_MAPC6
UserDataParamName7 = TC_MAPC7
UserDataParamName8 = TC_MAPC8
UserDataParamName9 = TC_MAPC9
UserDataParamName10 = TC_MAPC10
UserDataParamIO1 = <EndOfList>
; UserDataParamIO1 = Min:=-22, Max:=24
; UserDataParamIO2 = Min:=-10, Max:=162
UserDataParamSize = TC_MAPC_UNIT
UserDataParamSize1 = <EndOfList>
; UserDataParamSize1=TC_MAPC1_UNIT
; ...
; UserDataParamSize10=TC_MAPC10_UNIT
ApplDataParamName1 = TC_MAPCS1
ApplDataParamName2 = TC_MAPCS2
ApplDataParamName3 = TC_MAPCS3
ApplDataParamName4 = TC_MAPCS4
ApplDataParamName5 = TC_MAPCS5
ApplDataParamName6 = TC_MAPCS6
ApplDataParamName7 = TC_MAPCS7
ApplDataParamName8 = TC_MAPCS8
ApplDataParamName9 = TC_MAPCS9
ApplDataParamName10 = TC_MAPCS10
ApplDataParamIO1 = <EndOfList>
; ApplDataParamIO1 = Min:=-22, Max:=24
; ApplDataParamIO2 = Min:=-10, Max:=162
ApplDataParamSize = TC_MAPCS_UNIT
ApplDataParamSize1 = <EndOfList>
; ApplDataParamSize1=TC_MAPCS1_UNIT
; ...
; ApplDataParamSize10=TC_MAPCS10_UNIT
[MagazineLocOEM]
UserDataParamName1 = TC_MPPC1
UserDataParamName2 = TC_MPPC2
UserDataParamName3 = TC_MPPC3
UserDataParamName4 = TC_MPPC4
UserDataParamName5 = TC_MPPC5
UserDataParamName6 = TC_MPPC6
UserDataParamName7 = TC_MPPC7
UserDataParamName8 = TC_MPPC8
UserDataParamName9 = TC_MPPC9
UserDataParamName10 = TC_MPPC10
UserDataParamIO1 = <EndOfList>
; UserDataParamIO1 = Min:=-42, Max:=62
; UserDataParamIO2 = Min:=-210, Max:=712
UserDataParamSize = TC_MPPC_UNIT
UserDataParamSize1 = <EndOfList>
; UserDataParamSize1=TC_MPPC1_UNIT
; ...
; UserDataParamSize10=TC_MPPC10_UNIT
ApplDataParamName1 = TC_MPPCS1
ApplDataParamName2 = TC_MPPCS2
ApplDataParamName3 = TC_MPPCS3
ApplDataParamName4 = TC_MPPCS4
ApplDataParamName5 = TC_MPPCS5
ApplDataParamName6 = TC_MPPCS6
ApplDataParamName7 = TC_MPPCS7
ApplDataParamName8 = TC_MPPCS8
ApplDataParamName9 = TC_MPPCS9
ApplDataParamName10 = TC_MPPCS10
ApplDataParamIO1 = <EndOfList>
; ApplDataParamIO1 = Min:=-42, Max:=62
; ApplDataParamIO2 = Min:=-210, Max:=712
ApplDataParamSize = TC_MPPCS_UNIT
ApplDataParamSize1 = <EndOfList>
; ApplDataParamSize1=TC_MPPCS1_UNIT
; ...
; ApplDataParamSize10=TC_MPPCS10_UNIT
; The column number (number in front of “=”) can take a value between
; 1 and 1000.
; The maximum number of columns in a list is about 90, whereby for
; 90 columns in a list however, the rate of display is slower and the
; user has to scroll horizontally in order to see all the columns
; that can be displayed. This means that this limit is not normally
; reached.
[1_MagList]
MultiLine=SINGLE
NrOfFixedColumns=1
1= ToolInPlace, 3, ToolInPlace
2= TC_MPP4_1, 1, TC_MPP4_1
3= TC_MPP4_2, 1, TC_MPP4_2
4= TC_MPP4_3, 1, TC_MPP4_3
5= TC_MPP4_4, 1, TC_MPP4_4
6= TC_MPP4_5, 1, TC_MPP4_5
7= TC_MPP4_6, 1, TC_MPP4_6
8= TC_MPP4_7, 1, TC_MPP4_7
9= TC_MPP4_8, 1, TC_MPP4_8
10= TC_TP2, 11, TC_TP2
11= TC_TP1, 5, TC_TP1
12= TC_MPP6, 5, TC_MPP6
13= TC_TP3, 1, TC_TP3
14= TC_TP4, 1, TC_TP4
15= TC_TP5, 1, TC_TP5
16= TC_TP6, 1, TC_TP6
17= TC_TP7, 4, TC_TP7
18= TC_TP8_1, 1, TC_TP8_1
19= TC_TP8_2, 1, TC_TP8_2
20= TC_TP8_3, 1, TC_TP8_3
[2_MagList]
MultiLine=MULTI
NrOfFixedColumns=1
1= ToolInPlace, 3, ToolInPlace
2= TC_TP2, 11, TC_TP2
3= TC_TP1, 5, TC_TP1
4= TC_MPP6, 5, TC_MPP6
5= TC_TP7, 4, TC_TP7
6= CuttEdgeNo, 1, CuttEdgeNo
7= TC_DP1, 4, TC_DP1
8= TC_DP3, 11, TC_DP3
9= TC_DP6, 11, TC_DP6
10= TC_TP3, 1, TC_TP3
11= TC_TP4, 1, TC_TP4
12= TC_TP5, 1, TC_TP5
13= TC_TP6, 1, TC_TP6
14= TC_MPP2, 4, TC_MPP2
15= TC_ADPT1, 11, TC_ADAPT1
16= TC_ADPT2, 11, TC_ADAPT2
17= TC_ADPT3, 11, TC_ADAPT3
18= TC_ADPT4, 4, TC_ADAPT4
19= <EndOfList>
[3_MagList]
NrOfFixedColumns=1
1= ToolInPlace, 3, ToolInPlace
2= TC_TP2, 11, TC_TP2
3= TC_TP1, 5, TC_MPP6
5= TC_TP9, 1, TC_TP9
6= TC_MOP1, 7, TC_MOP1
7= TC_MOP2, 7, TC_MOP2
8= TC_MOP3, 7, TC_MOP3
9= TC_MOP4, 7, TC_MOP4
10= TC_MPP3, 1, TC_MPP3
11= TC_MPP5, 2, TC_MPP5
12= NoData, 1, <automatic extend last column>
13= <EndOfList>
[1_ToolList]
NrOfFixedColumns=1
1= NO, 4, NO
2= MagNo, 4, MagNo
3= ToolInPlace, 3, ToolInPlace
4= TC_TP2, 11, TC_TP2
5= TC_TP1, 5, TC_TP1
6= TC_MPP6, 5, TC_MPP6
7= TC_TP3, 1, TC_TP3
8= TC_TP4, 1, TC_TP4
9= TC_TP5, 1, TC_TP5
10= TC_TP6, 1, TC_TP6
11= TC_TP8_1, 1, TC_TP8_1
12= TC_TP8_2, 1, TC_TP8_2
13= TC_TP8_3, 1 TC_TP8_3
14= TC_TP8_4, 1, TC_TP8_4
15= TC_TP8_5, 1, TC_TP8_5
16= TC_TP8_6, 1, TC_TP8_6
17= TC_TP8_7, 1, TC_TP8_7
18= TC_TP8_8, 1, TC_TP8_8
19= TC_TP7, 4, TC_TP7
20= NoData, 1, <automatic extend last column>
21= <EndOfList>
[2_ToolList]
MultiLine=MULTI
NrOfFixedColumns=1
1= NO, 4, NO
2= MagNo, 4, MagNo
3= ToolInPlace, 3, ToolInPlace
4= TC_TP2, 11, TC_TP2
5= TC_TP1, 5, TC_TP1
6= TC_MPP6, 5, TC_MPP6
7= CuttEdgeNo, 1, CuttEdgeNo
8= TC_DP1, 4, TC_DP1
9= TC_DP3, 11, TC_DP3
10= TC_DP4, 11, TC_DP4
11= TC_DP5, 11, TC_DP5
12= TC_DP6, 11, TC_DP6
13= TC_MPP2, 4, TC_MPP2
14= <EndOfList>
[3_ToolList]
NrOfFixedColumns=3
1= NO, 4, NO
2= MagNo, 4, MagNo
3= ToolInPlace, 3, ToolInPlace
4= TC_TP2, 11, TC_TP2
5= TC_TP1, 5, TC_TP1
6= TC_MPP6, 5, TC_MPP6
7= TC_TP3, 1, TC_TP3
8= TC_TP4, 1, TC_TP4
9= TC_TP5, 1, TC_TP5
10= TC_TP6, 1, TC_TP6
11= TC_DP3@E1, 11, e1TC_DP3
12= TC_DP3@E2, 11, e2TC_DP3
13= TC_DP3@E3, 11, e3TC_DP3
14= TC_TP9, 1, TC_TP9
15= TC_MOP1, 7, TC_MOP1
[1_ActList]
MultiLine=SINGLE
NrOfFixedColumns=1
NumLinesPerReq = 11
1= NO, 4, NO
2= TC_TP2, 11, TC_TP2
3= TC_TP1, 5, TC_TP1
4= TC_MPP6, 5, TC_MPP6
5= CuttEdgeNo, 1, CuttEdgeNo
6= TC_DPCE, 6, TC_DPCE
7= MagNo, 4, MagNo
8= ToolInPlace, 3, ToolInPlace
9= TC_MPP2, 3, TC_MPP2
10= TC_MPP5, 4, TC_MPP5
11= TC_DP1, 11, TC_DP3
13= TC_DP4, 11, TC_DP4
14= TC_SCP13, 9, TC_SCP13
15= TC_SCP14, 9, TC_SCP14
16= TC_SCP23, 9, TC_SCP23
17= TC_SCP24, 9, TC_SCP24
18= TC_ADPT1, 11, TC_ADAPT1
19= TC_ADPT2, 11, TC_ADAPT2
20= TC_ADPT3, 11, TC_ADAPT3
21= TC_ADPT4, 4, TC_ADAPT4
22= TC_TP8_1, 1, TC_TP8_1
23= TC_TP8_2, 1, TC_TP8_2
24= TC_TP8_3, 1, TC_TP8_3
25= TC_TP8_4, 1, TC_TP8_4
26= TC_TP8_5, 1, TC_TP8_5
27= TC_TP8_8, 1, TC_TP8_8
28= <EndOfList>
[2_ActList]
MultiLine=MULTI
NrOfFixedColumns=0
NumLinesPerReq = 6
1= NO, 4, NO
2= TC_TP2, 11, TC_TP2
3= TC_TP1, 5, TC_TP1
4= TC_MPP6, 5, TC_MPP6
5= CuttEdgeNo, 1, CuttEdgeNo
6= TC_DPCE, 6, TC_DPCE
7= MagNo, 4, MagNo
8= ToolInPlace, 3, ToolInPlace
9= DLNO, 3, DLNO
10= TC_SCP3, 9, TC_SCP3
11= TC_SCP4, 9, TC_SCP4
12= <Empty>
13= <Empty>
14= TC_DP1, 4, TC_DP1
15= TC_DP2, 11, TC_DP2
16= TC_DP3, 11, TC_DP3
17= TC_DP4, 11, TC_DP4
18= <Empty>
19= <Empty>
20= TC_ADPT1, 11, TC_ADAPT1
21= TC_ADPT2, 11, TC_ADAPT2
22= TC_ADPT3, 11, TC_ADAPT3
23= TC_ADPT4, 4, TC_ADAPT4
24= <EndOfList>
[3_ActList]
NrOfFixedColumns=3
NumLinesPerReq = 11
1= NO, 4, NO
2= MagNo, 4, MagNo
3= ToolInPlace, 3, ToolInPlace
4= TC_TP2, 11, TC_TP2
5= TC_TP1, 5, TC_TP1
6= TC_DPCE, 6, TC_DPCE
7= TC_TP3, 1, TC_TP3
8= TC_TP4, 1, TC_TP4
9= TC_TP5, 1, TC_TP5
10= TC_TP6, 1, TC_TP6
11= TC_TP9, 1, TC_TP9
12= TC_MOP1, 7, TC_MOP1
13= TC_MOP2, 7, TC_MOP2
14= TC_MOP3, 7, TC_MOP3
15= TC_MOP4, 7, TC_MOP4
16= TC_MOP5, 7, TC_MOP5
17= TC_MOP6, 7, TC_MOP6
18= TC_MOP11, 7, TC_MOP11
19= TC_MOP13, 7, TC_MOP13
20= TC_MOP15, 7, TC_MOP15
21= <EndOfList>
[ListColumnHeaderTrafoTextReplace]
; Example:
; TC_DP3 = TTC_DP3
; defines the replacement text for the transformed
; display of lists for the cutting edge parameters
; and the additive offset parameters in the column
; headers.
; The substitute code for the transformed
; presentation is searched in the code “TC_DP3”.
TC_DP3 = TTC_DP3
e1TC_DP3 = Te1TC_DP3
e2TC_DP3 = Te2TC_DP3
e3TC_DP3 = Te3TC_DP3
TC_DP4 = TTC_DP4
TC_DP5 = TTC_DP5
TC_DP6 = TTC_DP6
TC_DP7 = TTC_DP7
TC_DP8 = TTC_DP8
TC_DP9 = TTC_DP9
TC_DP10 = TTC_DP10
TC_DP11 = TTC_DP11
TC_DP12 = TTC_DP12
TC_DP13 = TTC_DP13
TC_DP14 = TTC_DP14
TC_DP15 = TTC_DP15
TC_DP16 = TTC_DP16
TC_DP17 = TTC_DP17
TC_DP18 = TTC_DP18
TC_DP19 = TTC_DP19
TC_DP20 = TTC_DP20
TC_DP21 = TTC_DP21
TC_DP22 = TTC_DP22
TC_DP23 = TTC_DP23
TC_DP24 = TTC_DP24
TC_DP25 = TTC_DP25
TC_DPH = TTC_DPH
TC_DPV = TTC_DPV
TC_DPV3 = TTC_DPV3
TC_DPV4 = TTC_DPV4
TC_DPV5 = TTC_DPV5
TC_SCP3 = TTC_SCP3
TC_SCP4 = TTC_SCP4
TC_SCP5 = TTC_SCP5
TC_SCP6 = TTC_SCP6
TC_SCP7 = TTC_SCP7
TC_SCP8 = TTC_SCP8
TC_SCP9 = TTC_SCP9
TC_SCP10 = TTC_SCP10
TC_SCP11 = TTC_SCP11
TC_SCP13 = TTC_SCP13
TC_SCP14 = TTC_SCP14
TC_SCP15 = TTC_SCP15
TC_SCP23 = TTC_SCP23
TC_SCP24 = TTC_SCP24
TC_SCP25 = TTC_SCP25
TC_SCP33 = TTC_SCP33
TC_SCP34 = TTC_SCP34
TC_SCP35 = TTC_SCP35
e1TC_SCP13 = Te1TC_SCP13
e1TC_SCP14 = Te1TC_SCP14
e1TC_SCP15 = Te1TC_SCP15
e1TC_SCP23 = Te1TC_SCP23
e1TC_SCP24 = Te1TC_SCP24
e1TC_SCP25 = Te1TC_SCP25
e1TC_SCP33 = Te1TC_SCP33
e1TC_SCP34 = Te1TC_SCP34
e1TC_SCP35 = Te1TC_SCP35
e2TC_SCP13 = Te2TC_SCP13
e2TC_SCP14 = Te2TC_SCP14
e2TC_SCP15 = Te2TC_SCP15
e2TC_SCP23 = Te2TC_SCP23
e2TC_SCP24 = Te2TC_SCP24
e2TC_SCP25 = Te2TC_SCP25
e2TC_SCP33 = Te2TC_SCP33
e2TC_SCP34 = Te2TC_SCP34
e2TC_SCP35 = Te2TC_SCP35
e3TC_SCP13 = Te3TC_SCP13
e3TC_SCP14 = Te3TC_SCP14
e3TC_SCP15 = Te3TC_SCP15
e3TC_SCP23 = Te3TC_SCP23
e3TC_SCP24 = Te3TC_SCP24
e3TC_SCP25 = Te3TC_SCP25
e3TC_SCP33 = Te3TC_SCP33
e3TC_SCP34 = Te3TC_SCP34
e3TC_SCP35 = Te3TC_SCP35
TC_ECP3 = TTC_ECP3
TC_ECP4 = TTC_ECP4
TC_ECP5 = TTC_ECP5
TC_ECP6 = TTC_ECP6
TC_ECP7 = TTC_ECP7
TC_ECP8 = TTC_ECP8
TC_ECP9 = TTC_ECP9
TC_ECP10 = TTC_ECP10
TC_ECP11 = TTC_ECP11
TC_ECP13 = TTC_ECP13
TC_ECP14 = TTC_ECP14
TC_ECP15 = TTC_ECP15
TC_ECP23 = TTC_ECP23
TC_ECP24 = TTC_ECP24
TC_ECP25 = TTC_ECP25
TC_ECP33 TTC_ECP33
TC_ECP34 = TTC_ECP34
TC_ECP35 = TTC_ECP35
e1TC_ECP13 = Te1TC_ECP13
e1TC_ECP14 = Te1TC_ECP14
e1TC_ECP15 = Te1TC_ECP15
e1TC_ECP23 = Te1TC_ECP23
e1TC_ECP24 = Te1TC_ECP24
e1TC_ECP25 = Te1TC_ECP25
e1TC_ECP33 = Te1TC_ECP33
e1TC_ECP34 = Te1TC_ECP34
e1TC_ECP35 = Te1TC_ECP35
e2TC_ECP13 = Te2TC_ECP13
e2TC_ECP14 = Te2TC_ECP14
e2TC_ECP15 = Te2TC_ECP15
e2TC_ECP23 = Te2TC_ECP23
e2TC_ECP24 = Te2TC_ECP24
e2TC_ECP25 = Te2TC_ECP25
e2TC_ECP33 = Te2TC_ECP33
e2TC_ECP34 = Te2TC_ECP34
e2TC_ECP35 = Te2TC_ECP35
e3TC_ECP13 = Te3TC_ECP13
e3TC_ECP14 = Te3TC_ECP14
e3TC_ECP15 = Te3TC_ECP15
e3TC_ECP23 = Te3TC_ECP23
e3TC_ECP24 = Te3TC_ECP24
e3TC_ECP25 = Te3TC_ECP25
e3TC_ECP33 = Te3TC_ECP33
e3TC_ECP34 = Te3TC_ECP34
e3TC_ECP35 = Te3TC_ECP35
[BatchTools]
; Control of the job functions for the tools:
; load, unload or reactivate a number of tools
; Note: The tool filters only function if bit 4 (from 0 to ...) is
; set in ToolManagementMask.
; Max. 6 filters can be specified.
; The following can be specified for each filter:
; Softkey text, list header, search criteria, selection of the type
; of results list and additional data
; The file ...user\paramini.out contains error messages for the
; errors that were encountered when reading in the parameters.
; Search criteria:
; Permissible values in “_FindCondition”:
; A maximum of 8 entries are permissible, separated by “,”. They are
; ANDed.
; No data may occur more than once in the part conditions. Each part
; condition consists of three parts:
; 1. Datum for which the condition applies
; 2. Condition
3. Comparison value
; Condition:
; “==” equal to
; “<” smaller than
; “>” greater than
; “<=” smaller than or equal to
; greater than or equal to
; && Bit-wise AND, only permissible for operands of type
; WORD and DOUBLEWORD
; “==” is the only relational operator allowed for string operands
; Comparison value:
; String for TC_TP2 (tool data, tool identifier), max. 32 characters,
; no blanks before or after
; 0 ... 65535 for the other TC_TP data
; Double for all other data
; Max. one column with additional data can appear for each filter
; _FindResultAddColumnBtss:
; Additional data, OPI item acc. to OPI documentation
; (mmc2\btss_gr.hlp).
; Example 1: “/Tool/User/data[u#TOA#,c2,#TNO#](|“!d%.#RES#lf”)” tool
; OEM parameter 2, floating point representation, standard number of
; places after the decimal point
; Example 2: “/Tool/User/data[u#TOA#,c3,#TNO#](|“!l%ld”)” tool OEM
; parameter 3, integer representation
; Example 3: “/Tool/MagazineDescription/userData[u#TOA#,c#MAG#,1](|)”
; magazine OEM parameter 1
; The following placeholders are permissible: #TOA#, #TNO#, #MAG#,
; #RES#.
; #TOA# TOA number (of the current channel)
; #TNO# Internal T number (of the tool found)
; #MAG# Magazine number (of the found tool)
; #RES# Standard value for the number of places after the
; decimal point
; Placeholders are substituted by the data for the current tool or by
; general settings.
; Max. 1 OPI item is permitted.
; “(|)” is entered in front of the result data to generate the data
; separation character “|”.
; OPI multiple variable accesses are generated internally from the
; OPI item.
; The OPI item must enclosed by “ ” especially when formatting infor-
; mation is contained in “ ”.
; The user setting the parameters is responsible for the correct syn-
; tax. The syntax is not checked by the OPI.
; General settings for all filters:
; This entry applies for HMI_ADV prior to software Version 6.3.
; With Version 6.3 and higher it is ignored.
; Colors for the Results list:
; A hex value consisting of 8 characters is assigned to each color.
; The hex value has the following syntax:
; SSBBGGRR where SS=System, BB=Blue, GG=Green, RR=Red
; The colors have to be specified for the following list elements:
; Non-selected text
; Non-selected background
; Cursor-selected text
; Cursor-selected background
; Job-selection and cursor-selected text
; Job-selection and cursor-selected background
; Job-selection and cursor-selected text
; Job-selection and cursor-selected background
; ;WinTxt, WinBa, HighLTxt,HighLiBa,TiBaTxt, green, ,TiBaTxt, blue-
; green
; ResultColors=80000008,80000005,8000000E,8000000D,80000009,0000FF00,
; 80000009,00FF8000
; ;experimental, LiteBlue for batch selected
; ;WinTxt, WinBa, HighLTxt,HighLiBa,WinTxt ,LiteBlue,HighLTxt,High-
; LiBa
; ResultColors=80000008,80000005,8000000E,8000000D,80000008,00FFFF00,
; 8000000E,8000000D
; ;experimental, LiteGreen for batch selected
; ;WinTxt, WinBa, HighLTxt,HighLiBa,WinTxt ,Litegree,HighLTxt,High-
; LiBa
; ResultColors=80000008,80000005,8000000E,8000000D,80000008,000FF000,
; 8000000E,8000000D
; WinTxt, WinBa, HighLTxt,HighLiBa,HighLTxt,HighLiBa,HighLTxt,High-
; LiBa
ResultColors=80000008,80000005,8000000E,8000000D,8000000E,8000000D,
8000000E,8000000D
; The user can replace the names of the bitmaps or the bitmaps them-
; selves with custom bitmaps. The custom bitmaps are stored in the
; “user” directory.
BatchFilterElBUnTUnBitmap = pbfbutu.bmp
BatchFilterElBUnTSeBitmap = pbfbuts.bmp
BatchFilterElBSeTUnBitmap = pbfbstu.bmp
BatchFilterElBSeTSeBitmap = pbfbsts.bmp
BatchRunElWaitingBitmap = pbbwait.bmp
BatchRunElInWorkBitmap = pbbwork.bmp
BatchRunElOKBitmap = pbbok.bmp
BatchRunElErrorBitmap = pbberr.bmp
[ShortcutSoftkeysForMagSelect]
; Definition of shortcut softkeys for up to 5 favorite magazines per
; TOA, evaluated if section “[GeneralSettingsForMagAndToolList]”
; entry “MagListMagSelectSoftkey=SelectMag” is set.
; This helps to prevent users from excessive use of “Magazine +” and
; “Magazine -” softkeys, if a lot of magazines are available.
; You can define up to 5 shortcut softkeys for favorite magazines. It
; is possible to use a shortcut softkey for different magazines, if
; the magazines are in different TOAs.
; Syntax: “magIdent = ShortKeyNummer, AutoReturn”
; Examples: revolver15=3,NoAuto<<
; chain50 =1,Auto<<
; Meaning: “magIdent”: magazine ident like in $TC_MAP2 or in
; magazine configuration in application maintenance
; tool management.
; “ShortKeyNumber”: Number of shortcut, value 1 to 5
; “AutoReturn”: stay in magazine selection state or
; return automatically to magazine list state Values
; “NoAuto<<” and “Auto<<”.
; magazine “revolver15” ($TC_MAP2) can be displayed
; by shortcut 3, you must use “<<” softkey explicitly
; to leave magazine select state.
; magazine “chain50” can be displayed by shortcut 1
; and there is an automatic return to magazine list
; state after pressing this shortcut softkey.
;chain10 = 1, Auto<<
;turret20 = 2, Auto<<
;turret10 = 3, Auto<<
;chain20 = 5, NoAuto<<
;turret15 = 4, NoAuto<<
Example 1
S The tool data is to be automatically deleted when unloaded (magazine list only).
S The tool list function is not used.
S The function tool catalog and cabinet is not used.
The parameters can be assigned as follows:
. . .
[TMMODES]
. . .
DELETE_TOOL_ON_UNLOAD=1 The tool data is automatically deleted at unloading
....
[ACESSLEVEL]
. . .
SKTLLIST=2 The tool list is only activated by the manufacturer
code, i.e. is disabled during normal operation.
SLTOOLCAB=2 Activation of the tool catalog and cabinet
SKTOOLCAT=2 is only via manufacturer code, there-
fore they are disabled during normal operation
....
Example 2
S The tool data is not deleted at unloading, but remain in the tool list (in NCK).
The data can be used for loading tools.
S The function tool catalog and tool cabinet is not used.
The parameters can be assigned as follows:
. . .
[TMMODES]
. . .
DELETE_TOOL_ON_UNLOAD=0 The tool data is not automatically deleted at un-
loading
....
[ACCESSLEVEL]
. . .
SKTLLIST=7 The tool list can always be called.
SLTOOLCAB=2 Activation of the tool catalog and cabinet
SKTOOLCAT=2 is only via manufacturer code, there-
fore they are disabled for the user.
....
Example 3
The tool data is to be automatically deleted at unload in the magazine list.
The function tool catalog and tool cabinet is used.
The parameters can be assigned as follows:
. . .
[TMMODES]
. . .
DELETE_TOOL_ON_UNLOAD=1 The tool data is deleted at unloading
....
[ACESSLEVEL]
. . .
SKTLLIST=2 The tool list is only active via manufacturer pass-
word.
SLTOOLCAB=7 The tool catalog and tool cabinet
SKTOOLCAT=7 can be called (are not locked)
. . .
If access rights have been assigned for functions and the protection level is “less”
than that assigned, then the softkey is not displayed in the operator interface and
the function cannot be called.
This applies to all functions. If for example, the “Tool cabinet” function is barred
from operation, then its softkeys are not displayed.
Bitmap Properties
User-defined bitmaps can be stored in the “user” directory. They can be displayed
instead of the standard bitmaps in the lists.
Handling of lists
The columns of the lists in which the bitmaps are to be entered can be set for each
list view. The width of the bitmaps is set in characters for the entire highlighted
areas. The width of the column is automatically increased by the value set.
Bitmaps overwrite mutually when displayed in the same column and line. The high-
lighting at the top represents the current tool, the highlighting below represents the
programmed tool and the highlighting at the bottom represents the current location.
Hidden bitmaps are not displayed.
Notice
In multi-line magazine and tool lists, the marking is entered in the cutting edge line
when the current/programmed DNo./cutting edge no.<> 0. The same applies in
working offset lists for DLNo. <> 0 for the DL rows. Since only cutting edges can
be displayed in the views of the working offset lists, the highlighting only appears if
the current/programmed DNo./cutting edge no. <> 0.
The current magazine location is only highlighted in the magazine list views.
Highlighting only appears in the normal magazine display and not in the buffer
display.
[1_MagList]
; Columns in which highlighting (Bitmaps) is to be displayed
ShowActToolCol=1
ShowProgToolCol=1
ShowActPlaceCol=1
[SoftKeysForMagAndToolList]
Magazine list 1 1_MagList = Softkeytext
2 2_MagList = Softkeytext
3 3_MagList = Softkeytext
Magazine
List
3 3_ToolList = Softkeytext
Tool
List
[SearchOfMagPlaces]
1_SoftkeyText = empty location standard
Magazine list 1 1_ToolSizeLRTB=1,1,1,1
1_PlaceTypNo = 2
2 2_SoftkeyText = empty location large
2_ToolSizeLRTB = 1,2,1,1
3 2_PlaceTypNo = 2
3_SoftkeyText = empty location oversized
4
3_ToolSizeLRTB=2,2,1,1
Load 3_PlaceTypNo = 2
4_SoftkeyText = empty location large type 1
1_ToolSizeLRTB = 1,2,1,1
1_PlaceTypNo = 1
The displays stored behind softkeys 1 to 3 in the magazine and tool lists are de-
fined in the file paramtm.ini. As the initial setting when tool management is se-
lected, the displays appear that have been configured for [1_MagList] and
[1_ToolList].
User data
The parameter name and the units can be defined for the displays of the tool and
cutting-edge data. How many parameters are displayed depends on the MD and
the number of defined parameters.
[ToolParams] Tool user data
[ToolEdgeParams] Cutting edge user data
Special characters
Special characters such as ü, ä, ö, ß are entered in ANSI code in order for them to
be displayed in the screens.
Magazine +
Magazine --
Magazine
shortcut 1
Magazine
shortcut 2
Magazine
shortcut 3
Magazine
shortcut 4
Magazine
shortcut 5
<<
Entries in paramtm.ini
[GeneralSettingsForMagAndToolList]
; In the magazine list forms change softkey “Next Mag” to softkey
; “Magazine Selection”
; to activate vertical softkeys in an additional state for magazine
; selection.
; This helps to prevent users from excessive use of “next mag” soft-
; key if a lot of magazins ara available.
; You can define shortcut softkeys for up to 5 favorite magazines for
; each TOA
; using section [ShortcutSoftKeysForMagSelect] in paramtm.ini and
; patm_??.ini.
MagListMagSelectSoftkey=NextMag ;default
;MagListMagSelectSoftkey=SelectMag
[ShortcutSoftKeysForMagSelect]
; Definition of shortcut softkeys for up to 5 favorite magazines per
; TOA, evaluated if section “[GeneralSettingsForMagAndToolList]”
; entry “MagListMagSelectSoftkey=SelectMag” is set.
; This helps to prevent users from excessive use of “Magazine +” and
; “Magazine -” softkeys, if a lot of magazines are available.
; You can define up to 5 shortcut softkeys for favorite magazines.
; It is possible to use a shortcut softkey for different magazines,
; if the magazines are in different TOAs.
; Syntax: “magIdent = ShortKeyNumber, AutoReturn”
; Examples: revolver15=3,NoAuto<<
; chain50 =1,Auto<<
; Explanation: “magIdent”: magazine ident like in $TC_MAP2 or in mag-
; azine configuration in application maintenance tool management.
; “ShortKeyNumber”: Number of shortcut, value 1 to 5
; “AutoReturn”: stay in magazine selection state or return automati-
; cally to magazine list state
; Values “NoAuto<<” and “Auto<<”.
; magazine “revolver15” ($TC_MAP2) can be displayed by shortcut 3,
; you must use “<<” softkey explicitly to leave magazine select
; state.
; magazine “chain50” can be displayed by shortcut 1 and you return
; automatically to magazine list state after pressing this shortcut
; softkey.
; To specify the softkey text, use section
; “[ShortcutSoftKeysForMagSelect]” in language dependent ini files
; patm_??.ini.
; chain10 = 1, Auto<<
; turret20 = 2, Auto<<
> ;turret10 = 3, Auto<<
> ;chain20 = 5, NoAuto<<
> ;turret15 = 4, NoAuto<<
>
language\patm_*.ini:
[ShortcutSoftKeysForMagSelect]
Parameter assignment
The parameter assignment of the status bit display as column in the individual list
views for list displays 1 to 3 (magazine list 1 to 3, tool list 1 bis 3, working offset list
1 to 3) is accordingly expanded to include the nine status bits.
As was the case previously, the individual language-dependent letters for display in
the HMI_ADV tool management list displays can also be parameterized in the INI
file as an exception, e.g. if the machine operator wants to use different letters or
there is no modified language DLL for the locale (see Section 4.4.3).
Restrictions
The NC only uses the data “left, right, top, bottom half location occupied/reserved”
if “Adjacent location management” is activated. If “Adjacent location management”
is not activated in the NC, display can still be activated for the associated maga-
zine location status bits in the HMI_ADV tool management list-displays but the dis-
played values will always be “Bit not set”.
[GeneralSettingsForMagAndToolList]
MagPlaceState_Lang_12345678=<Empty> ; use language-DLL
; MagPlaceState_Lang_12345678=12345678_MagPlaceState_Lang ; use
; patm_*.ini
; The new magazine location status bits can be displayed in each list
; screen. The parameters are set in the sections:
“[1_MagList]”, “[2_MagList]”, “[3_MagList]”
“[1_ToolList]”, “[2_ToolList]”, “[3_ToolList]”
“[1_ActList]”, “[2_ActList]”, “[3_ActList]”
; Entries are for example:
12=TC_MPP4_9, 1, TC_MPP4_9 ;PlaceStatus Left,
;Reserved in left half location
13=TC_MPP4_10, 1, TC_MPP4_10 ;PlaceStatus Right,
;Reserved in right half location
14=TC_MPP4_11, 1, TC_MPP4_11 ;PlaceStatus Top,
;Reserved in upper half location
15=TC_MPP4_12, 1, TC_MPP4_12 ;PlaceStatus Bottom,
;Reserved in lower half location
16=TC_MPP4_13, 1, TC_MPP4_13 ;PlaceStatus Bit 13 of 1 to 16
17=TC_MPP4_14, 1, TC_MPP4_14 ;PlaceStatus Bit 14 of 1 to 16
18=TC_MPP4_15, 1, TC_MPP4_15 ;PlaceStatus Bit 15 of 1 to 16
19=TC_MPP4_16, 1, TC_MPP4_16 ;PlaceStatus Bit 16 of 1 to 16
patm_gr.ini:
[GeneralSettingsForMagAndToolList]
12345678_MagPlaceState_Lang=“123456789ABCDEFG” ; // 16 exact
[ListColumnHeaderText]
TC_MPP4_9 = “P” ;PlaceStatus Left,
;Reserved in the left half loc. // 1
TC_MPP4_10 = “P” ;PlaceStatus Right,
;Reserved in the right half loc. // 1
TC_MPP4_11 = “P” ;PlaceStatus Top,
;Reserved in the top half loc. // 1
TC_MPP4_12 = “P” ;PlaceStatus Bottom,
;Reserved in the bottom half loc. // 1
TC_MPP4_13 = “P” ;PlaceStatus undefined,
;(Wear group disabled) // 1
TC_MPP4_14 = “P” ;PlaceStatus Bit14 from 1 to 16 // 1
TC_MPP4_15 = “P” ;PlaceStatus Bit15 from 1 to 16 // 1
TC_MPP4_16 = “P” ;PlaceStatus Bit16 from 1 to 16 // 1
Function
The magazine location types (= location types) and their identifiers/names are en-
tered by the user via the tool management start-up tool (IW) in the Location type
screen. This is why the assigned names are contained in the tool management
database and not in a language DLL. In previous versions, this meant that they
were not available in different languages.
The new functionality allows the user to create the location type names in different
languages/locales.
You can achieve this by entering name texts in the tool management INI files for
the location types configured in the database.
In future there will be two names for each location type:
-- The standard name which is used internally (tool database) and
-- an associated language-specific name which is displayed on the operator
interface.
If the user does not assign a language-specific name, the standard name from the
database is displayed.
The location type “standard” is contained in the original database shipped with the
tool management. The following special handling applies for this location type:
S The default setting for all patm_xx.ini files contained in the scope of supply in-
cludes an entry in [Placetype_VISName] for the location type “standard” (see
next section).
S The language-specific text from patm_xx.ini is displayed in the screen Location
types of the tool management start-up tool (IW) for the location type “standard”
even in the selection box Name.
Code carrier
The name of the magazine location type which is written via the dialog variable T8
to the code carrier chip always corresponds to the standard name of the magazine
location type from the tool database.
Alternatively, the name of the magazine location type can be written to the code
carrier via dialog variable T12.
T8 and T12 are also accepted. When the chip is read in, a cross check is per-
formed to associate magazine location type name and number.
Function
The buffer locations and their identifiers/names are entered by the user via the tool
management start-up tool (IW) in the Buffer screen. This is why the names are
specified in the tool management database and not in a language DLL. In previous
versions, this meant that they were not available in different languages.
Until now two options were available for displaying the buffer locations in the tool
management (not tool management start-up):
S Display names from the tool database (paramtm.ini, [TMMODES] NameOfBuf-
ferPlaceFrom=DB, see next section)
S Display the type of buffer location from the language DLL plus the associated
index. I.e., for example, Spindle1, Spindle2 or Gripper2 etc. (NameOfBuffer-
PlaceFrom=DLL)
The new functionality allows the user to create the buffer location names in differ-
ent languages/locales.
For this display it is necessary to select display name from the database (NameOf-
BufferPlace From=DB).
The user must enter a corresponding name text in the language-specific tool man-
agement INI files for each buffer location configured in the database.
From now on there are two names for each buffer location: The standard name
which is used for internal processing (tool database) and an associated language-
specific name which is displayed on the operator interface.
If the user does not assign a language-specific name, the standard name from the
database is displayed (as was the case up to now).
The tool management startup tool does not evaluate the entry NameOfBuffer-
PlaceFrom and always uses the name from the tool database and the language-
specific INI files.
Function
The loading locations and their identifiers/names are entered by the user via the
tool management start-up tool (IW) in the Loading locations screen. This is why the
names are specified in the tool management database and not in a language DLL.
In previous versions, this meant that they were not available in different languages.
The new functionality allows the user to create the loading locations names in dif-
ferent languages/locales.
You can achieve this by entering name texts in the tool management INI files for
the loading locations configured in the database.
In future there will be two names for each loading location:
-- The standard name which is used internally (tool database) and
-- an associated language-specific name which is displayed on the operator
interface.
If the user does not assign a language-specific name, the standard name from the
tool database is displayed.
This also applies to the first location in the loading magazine which is automatically
assigned:
The tool management start-up tool (IW) automatically creates an entry in the tool
database for the first location in the loading magazine. This occurs at first access
to the loading locations screen with an original database. This location must always
exist, therefore it is not possible to delete it.
It is assigned the internal standard name “FirstLoadingPoint” with the following
characteristics:
S The default setting for all patm_xx.ini files contained in the scope of supply in-
cludes an entry in [LoadLocation_VISName] for the location type “FirstLoading-
Point” (see next section).
S In the loading locations screen for the tool management start-up tool (IW) the
language-specific text from patm_xx.ini is also displayed for the first loading
location in the Name selection box.
Already existing databases in systems that have already been operating for
some time:
In older HMI versions, this 1st loading point was called “Loading point for spindle”
or “Loading point manual” (in the language set at this point in time).
If it is detected at the first start of tool management or associated start-up tool (IW)
with the functionality described here, then the existing name in the database can
be replaced with “FirstLoadingPoint”.
Function
The magazine identifiers/names are configured by the user in the Magazines
screen via the tool management start-up tool (IW). This is why the assigned names
are contained in the tool management database and after loading a magazine con-
figuration also in the NCK but not in a language DLL. In previous versions, this
meant that they were not available in different languages.
The new functionality allows the user to create the magazine names in different
languages/locales.
You can achieve this by entering name texts in the tool management INI files for
the magazines configured in the tool database.
In future there will be two names for each magazine:
-- The standard name (also known by the NCK) which is used for functional
operation and
-- an associated language-specific name which is displayed on the operator
interface.
If the user does not assign a language-specific name, the standard name from the
NCK is displayed in the tool management; and the standard name from the tool
database is displayed in the startup tool.
The settings for batch processing of tools are contained in paramtm.ini and lan-
guage\patm_xx.ini in the section [BatchTools].
Notice
The filter only works if bit 4 is set in MD 18080: TOOL_MANAGEMENT_MASK.
Up to 6 search filters can be defined.
The following can be specified for each filter: Softkey text, results title, search
criteria, selection of the type of results list and additional data.
The file ...user\paramini.out contains error messages occuring when reading in the
parameter assignment.
Search criteria
The search criteria are set in “n_FindCondition” (with n=1 to 6) for each filter.
A maximum of 8 part conditions are permissible, separated by “,”. They are
ANDed.
No data may occur more than once in the part conditions.
Each part condition consists of three parts:
1. Datum for which the condition applies
2. Condition
3. Comparison value
Example
1_FindCondition = TC_TP8 && 20, A_TOOLMN > 0
Filter 1 filters tools in the NC which fulfill the following condition:
( (prewarning bit set (bit5 of bit1 to 16 (2 to the power of (5--1)=16))))
OR
(disabled bit set (bit3 (2 to the power of (3--1)=4)))
)
AND
( (magazine number > 0 means “loaded tool”))
Filter criterion
The following data in the NC can be a filter criterion:
Tool data
TC_TP1 Duplo number
TC_TP2 Tool identifier
TC_TP3 Tool size in half locations left
TC_TP4 Tool size in half locations right
TC_TP5 Tool size in half locations top
TC_TP6 Tool size in half locations bottom
TC_TP7 Tool location type
TC_TP8 Tool status
TC_TP9 Monitoring type
TC_TP10 Replacement tool search
TC_TP11 Tool information/replacement tool sequence
A_TOOLMN Magazine number
A_TOOLMLN Magazine location number
P_TOOLND Number of cutting edges
Tool cutting edge parameters
TC_DP1 to TC_DP24
Tool cutting edge monitoring parameters
TC_MOP1 Prewarning limit for tool life
TC_MOP2 Actual value for tool life
TC_MOP3 Prewarning limit for workpiece count
TC_MOP4 Actual value for workpiece count
TC_MOP5 Prewarning limit for wear
TC_MOP6 Remaining wear
TC_MOP11 Setpoint for tool life
TC_MOP13 Setpoint for tool workpiece count
TC_MOP15 Setpoint for wear
Conditions
The following conditions can be used:
== equal to
< less than
> greater than
<= smaller than or equal to
>= greater than or equal to
&& bit-wise AND between screen and data; only permissible for operands of
type WORD and DOUBLEWORD; the individual result bits are ORed.
If this condition is applied to the tool status, you can locate tools with spe-
cific set (AND) tool status bits. If several set bits are queried at the same
time, just one set bit is sufficient for the tool to appear in the hit list.
For string operands (e.g. tool identifier) “==” is the only permissible relational oper-
ator.
Comparison value
The following value ranges apply:
String with TC_TP2, maximum of 32 characters, no blanks before or
after
0 ... 65535 for other TC_TP data
Double for all other data
Additional data
Max. one column with additional data can appear for each filter in the results list.
There are three settings for each filter:
-- n_FindResultAddColumnText
Header text for column or reference to the header text with language-spe-
cific settings/locales.
-- n_FindResultAddColumnDisplayedNumberOfCharacters
Column width in characters
-- n_FindResultAddColumnBtss
OPI item acc. to OPI documentation (mmc2\btss_gr.hlp).
Example
Paramtm.ini, [BatchTools]:
1_FindResultAddColumnText=<empty>
; No additional column
1_FindResultAddColumnText=R1AddCol
; Language-specific
1_FindResultAddColumnDisplayedNumberOfCharacters=8
1_FindResultAddColumnBtss=“/Tool/User/data[u#TOA#,c3,#TNO#] (l“!l%ld”)”
language\patm_gr.ini, [BatchTools]:
R1AddCol=“Additional data search 1”
n_FindResultAddColumnBtss:
Additional data, OPI item acc. to OPI documentation (mmc2\btss_gr.hlp).
Example 1
“/Tool/User/data[u#TOA#,c2,#TNO#](l“!d%.#RES#lf”)”
Tool OEM parameter2, floating point representation, standard number of decimal
places
Example 2
“/Tool/User/data[u#TOA#,c3,#TNO#](l“!l%ld”)”
Tool OEM parameter3, integer representation
Example 3
“/Tool/MagazineDescription/userData[u#TOA#,c#MAG,1](l)”
Magazine OEM parameter 1
Placeholder
The following placeholders are permissible:
#TOA# TOA number (of the current channel)
#TNO# Internal T number (of the tool found)
#MAG# Magazine number (of the found tool)
#RES# Standard value for the number of places after the decimal point
Placeholders are substituted by the data for the current tool or by general settings.
Max. 1 OPI item is permitted.
OPI multiple variable accesses are generated internally from the OPI item.
“(|)” is entered in front of the result data to generate the data separation character
“|”.
The OPI item must enclosed by “ ” especially when formatting information (e.g.
“!l%ld”) is contained in “ ”.
The syntax is not checked by the operator interface software. The person setting
the parameters is responsible for the correct syntax.
Notice
If errors are made in the parameter settings, the result list can no longer be
displayed or the secondary faults can occur.
Notice
Siemens reserves the right to withdraw support in future versions.
The parameters for the PI TSEARCH used for filtering can be specified for each
filter (see PI documentation pi_gr.hlp).
This setting is very sensitive to errors. It does not support insertion of blanks, the
number of places must be strictly adhered to; the character string must be con-
tained in “ ”.
There is one setting for each filter:
-- n_FindPiSearchPar
8 parameters for PI SEARCH
#Mag# can be used as placeholder for the magazine setting. Constant, five-
digit magazine numbers can also be specified for the from/to magazine
range instead of the placeholder.
If the value in the 8th parameter is set to “2”, filter criteria for cutting edge
specific data will also be used correctly for multi-point cutting tools (from
NCK version NCK.P6_43 and NCK.P5_20.4).
Example
Paramtm.ini, [BatchTools]:
1_FindPiSearchPar=“#Mag#,-0001,#Mag#,-0001,00000,00001,1,2”
General settings that apply for all filters at the same time
BatchFilterElBUnTSeBitmap = pbfbuts.bmp
BatchFilterElBSeTUnBitmap = pbfbstu.bmp
BatchFilterElBSeTSeBitmap = pbfbsts.bmp
BatchRunElWaitingBitmap = pbbwait.bmp
BatchRunElInWorkBitmap = pbbwork.bmp
BatchRunElOKBitmap = pbbok.bmp
BatchRunElErrorBitmap = pbberr.bmp
CharToGetColWidthPerCharacter=CharToGetColWidth ;language-specific
language\patm_gr.ini, [BatchTools]:
CharToGetColWidth=“A”
ResultDisplayedNumberOfToolnameCharacters=18
User authorizations
User authorizations for the associated softkeys can be set in paramtm.ini, sec-
tion [ACCESSLEVEL], entries “SKB...”.
Example
[ACCESSLEVEL]
SKBATCH=7 ; Softkey filter lists
The HMI Advanced tool management is modified so that the “tool-specific grinding
data” of grinding tools is displayed and can be edited.
This data is exchanged with the NC via the OPI block TG; it largely corresponds to
the NC variables $TC_TPG1 to $TC_TPG9 (see Section 5.3.2).
For more information on softkey extension in the tool details main screen, tool de-
tails cutting edge data screen and tool detail monitoring data screen, see:
References: /BAD/ Operator’s Guide HMI Advanced, Edition 11.02
Description
paramtm.ini:
[DEFAULT_SETTINGS]
;!!! Default setting of grinding-specific tool data at creation:
;!!! If the machine operates with inch/mm conversion ($MN_CON-
;!!! VERT_SCALING_SYSTEM=1), the unit of length must be specified!!!
; The following default values (TOOLGRIND..., if affected by the unit
; of length) are specified in relation to this basic unit of length:
; 0 = mm (default)
; 1 = Inch
TOOLGRIND_Default_Length_Unit=0
;1050629 binary: 0000 0000 0001 0000 0000 1000 0000 0101
;Bit0 =1 = Type
;Bit2 =1 = Geo-L1
;Bit11 =1 = Wear-L1
;Bit20 =1 = Base-L1
Notice
The HMI Advanced function “Change tool type” used up to now is not modified.
Therefore, with grinding tools too, when the tool type is changed, most tool data is
set by the HMI to “0”.
The grinding-specific tool data is not set to “0”; instead it is processed by the NCK.
Now the tool database (tool cabinet, tool catalog) and code carrier will support ma-
chining in inch or mm measurements.
The entries DATABASE_LENGTH_UNIT and CODECARRIER_LENGTH_UNIT in
the paramtm.ini file in the section [TMMODES] (see Section 4.4.2) allows the oper-
ator to set the behavior for length units for the tool cabinet, tool catalog and code
carrier.
Tool database
NCK with inch/mm data conversion
[TMMODES]
!! CAUTION: The settings described here are only relevant if machine
data $MN_CONVERT_SCALING_SYSTEM=1 is set in the NCK. The entry for
DATABASE_LENGTH_UNIT is only evaluated if no unit is entered yet in
the tool database. This means once in a normal case scenario!
DATABASE_LENGTH_UNIT=-1
Code carrier
For setting inch/metric for code carriers, see Section 4.5.2.
With software Version 4 and higher, HMI Embedded allows settings to be made via
display machine data and access rights to be assigned for specific functions (see
Section 2.9).
For a more detailed description of this machien data please refer to Section 8.1.1.
User texts
The HMI Embedded software is shipped with an application diskette which allows
users to set parameters for the custom data.
The table shows which texts can be parameterized. They are stored in the pa.txt
file. Custom text can be entered under “User text”.
User cutting edge data, texts
... ...
T_10T_TM_OEM_CUTT_EDGE_TEXT_10” “T_TM_OEM_CUTT_EDGE_TEXT_10” 47 72
... ...
7 is the default value for MD 9449. The FINE_LIMIT is applied to all data types.
Notice
From SW 6.3 code carrier systems can only be operated via SinTDC and no
longer directly.
WToolIdSys = SinTDC
See also /FBTC/ SINUMERIK Tool Data Communication SinTDC.
For the code carrier system see also Section 3.13 and the Description of Functions
of the individual tool identification systems.
A code carrier system is connected to the HMI e.g. via an RS-232 (V.24) interface.
If the machine has its own code carrier system (tool identification system), then
this system must also be started up separately.
This is carried out by running a setup program for the code carrier system and
making settings in the associated INI files (see corresponding Description of Func-
tions for the tool identification system).
Notice
None of the INI files in the “mmc2” directory may be modified.
INI file
An INI file is associated with every manufacturer-specific server (“exe file”)
Manufacturer-specific settings are made in this INI file via the code carrier system.
The parameters it contains are described in the documentation from the code car-
rier manufacturer or the respective Description of Functions for the tool identifica-
tion system.
Notice
From SW 6.3 code carrier systems can only be operated via SinTDC and no
longer directly.
WToolIdSys = SinTDC
See also /FBTC/ SINUMERIK Tool Data Communication SinTDC.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
[ToolMgmt]
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
WToolIdSys=0 ; or Ballu
; Identifier for code carrier system
;0 means :“No code carrier active”
; Specify manufacturer name (only first 5 characters!)
; Ballu means: Code carrier from manufacturer Balluff is active
WToolIdSysKonv=wkonvert.txt
; Name of the conversion file used for the code-carrier format.
; The file resides in directory ...\add_on or ...\user.
[TIS]
; Tool Identification System
; EOT for code-carrier data
TIS_EOT=0x2F2F
; The end identifier for data has to be entered on the code carrier
; here.
Variant 1
[TMMODES]
. . .
Variant 2
[TMMODES]
. . .
; The setting inch/metric is considered for the code carrier
; !! CAUTION: The settings described here are only relevant if ma-
; chine data $MN_CONVERT_SCALING_SYSTEM=1 is set in the NC.
; If the NC is an older mode without the inch/metric conversion func-
; tionality or if $MN_CONVERT_SCALING_SYSTEM=0, the NC will operate
; without inch/metric conversions. Therefore no conversions are car-
; ried out in relation to the code carrier!!
Description file
All data on the code carrier are stored in a particular order. This is defined during
commissioning of the code carrier system. A conversion rule in the form of a de-
scription file is provided so that the tool management can read or write this data
flow. This description file consists of correctly defined tool and cutting edge dialog
data. Only this dialog data can actually be processed by the tool management. All
the other data on the code carrier must not be assigned to any dialog variables as
otherwise it will not be processed. An OEM application would, however, also be
able to access this data.
The description file can be created as an ASCII file using a standard editor. The file
name must be entered in mmc.ini with WToolIdSysKonv = wkonvert.txt.
Notice
Minimum requirements for wkonvert.txt:
Name
Location type
Subtype
Tool size (the part of the size can be omitted which is hidden via
paramtm.ini *)
Number of cutting edges (if cutting edge data available)
* see paramtm.ini
SHOW_TOOLSIZE_ONLY_LEFT_RIGHT=0
SHOW_TOOLSIZE_COMPONENTS=left:=True, right:=True, top:=True,
bottom:=True
* The character string which is stored there is an HMI internal location type
which is assigned the value in $TC_TP7. This text is defined via the tool man-
agement start-up and stored in the database.
Notice
If chips are to be exchanged between several machines, the following rule applies
if T12 is used:
The location type names must be present in the same sequence on all these
machines (with the same location type numbers).
Notice
If changes are made to the conversion file, old code carriers can no longer be
read!
Notice
Code carrier chip/SINTDC:
If the user has defined the dialog variable T11 in the conversion file wkonvert.txt
for “Type of tool search, $TC_TP10”, the value from the NCK is written to the chip
and written back to the NCK at read in. If T11 is missing, the value is 0 in
$TC_TP10 after the chip is read in.
Notice
C38 and C39 can only be used as alternatives for C29 and C30.
C40, C41 and C42 can only be used as alternatives for C31, C32 and C34.
User tool parameters and the new monitoring parameters are now used for code
carriers. The following new dialog variables are available for the file “wkonvert.txt”:
A1 -- A10: User tool data (see $TC_TPCx[t])
U1 -- U10: User cutting edge data (see $TC_DPCx[t,d])
S1 -- S10: User monitoring data (see $TC_MOPCx[t,d])
Data type “Double” is defined for the dialog variables A, U and S.
Data Types
The following data types are defined for dialog variables:
S Integer: value range --32768 to 32767
S Double: Floating point double precision
S String: Character sequence of ASCII characters
Keywords
The assignment of code-carrier data to dialog data is made using the code-carrier
description file. The description file can be created and edited as an ASCII file us-
ing a standard editor. The code-carrier files is structured as lines whereby each line
is prefixed by one of the following keywords:
Inverted comma
The ’ (single quotation mark) marks the beginning of a comment. The characters
that follow are skipped.
Example:
’ This is a comment
Notice
This format for the beginning of a comment is used only in the description file for
code carriers. Otherwise, the beginning of a comment is introduced by a
semicolon (;).
Datalen
DATALEN=CONST | VARIABLE 0x<delimiter>
The following data have a constant (CONST) or a variable (VARIABLE) data
length. Data with variable length are terminated with 0x<delimiter>.
Example:
DATALEN=VARIABLE 0x0A ’ variable data length, delimiter LF
DEFINE_KEYWORD
DEFINE_KEYWORD=<keyword> <value><keyword> := any user keyword for indi-
cating a new data section on the code carrier
<value> := “<string>” or 0x<hexvalue>
Definition of the keyword <keyword> with the value <value>
Example:
DEFINE_KEYWORD=DATA _OEM “OEM”
DEFINE_KEYWORD=DATA_SIN840D 0x840D
<keyword>
A keyword defined by DEFINE_KEYWORD that identifies a new data section on
the code carrier. The item in the code carrier description file following <keyword>
must contain the value <value> defined by DEFINE_KEYWORD.
Item
Item<n>=<line>
<n> := Consecutive number of code carrier date, ascending from 1 without gaps
<line> := <(max.) length in bytes> <code carrier data format> <dialog variable>
<code carrier data format> :
<dialog variable> : Assignment of code carrier to dialog datum
If just before Item<n> a user keyword keyword was defined, then <dialog vari-
able> has the value <keyword>
Conversion rule for code carrier data <n>
Example:
Item1 32 ASCII T3 ’ Relocate tool identifier to/from tool
’ dialog datum 3
BItem
BItem<n>=<line>
<n> := Consecutive number of code carrier date within Block<i>, ascending from 1
without gaps
<line> := analog Item<n>
Conversion rule for code carrier data <n> within a block. If tool dialog data T<n> is
assigned to the code-carrier data, then the first value in the code-carrier data in the
block is assigned to the dialog data.
Example:
BItem1 1 BCD C1, T2 ’ Relocate subtype to/from cutting edges
’ dialog datum 1 and tool dialog datum 2
’ (1st value of block is relevant for T2)
Group
Block<n> <repeat rule>
<n> := Consecutive number of block, ascending from 1 without gaps
<repeat rule> := * Item<n> | CONTIGUOUS BItem1
A block of data BItem<n> follows (up to the keyword End_Block<n>), which is
stored on the code carrier according to the <repetition rule>.
Notice
In the case of Block<n> * Item<n>, Item <n> must be defined before Block<n>.
Example:
Block1 * Item6 ’ Repeat Block1 according to the value of Item6
Block1 CONTIGUOUS BItem1 ’ Read Block1 repeatedly until the count vari-
’ able BItem1 no longer returns a value increm-
’ ented by 1.
’ Write Block1 as many times as defined by the
’ value of the dialog variable assigned to BI-
’ tem1.
End_Block<n>
End_Block
End identifier for a data block defined with Block<n>
Dialog variable
<Dialog variable> := <dvar1>[=(<uv>)] [, <dvar2>[=(<uv>)] [,<dvar3>
[&<dvar4>]=(<uv>)] [, <dvarN>[=(<uv>)]
<dvar> := T<index> | C<index> | --
T = tool data,
C = cutting edge data,
index = index within tool/cutting edges dialog data
-- = no assignment to a dialog variable
<dvar1>&<dvar2>=<uv> : Conversion specification applies for <dvar1> and
<dvar2>
uv := <arithm. Op1> [ <arithm. Op2> ] .. [ <arithm. OpN> ]
arithm. Op := +<const> | --<const> | *<const> | /<const>
Example:
T2=(*10), T3=(/100 + 10)
Or
uv := <replacement1> [<replacement2>] .. [<replacementN>]
replacement := <const1> [, <const2>] ..
[, <constN>] ^ <constM>
or
<const1..const2> ^ <const3>
const1 = lower limit value,
const2 = upper limit value
Notice
When converting the dialog variable to the code carrier variable on writing, if there
are several left operands, the right operand is converted in the first left operands!
Example:
T2=(20..29 ^ 120 40,50 ^ 130)
The code carrier variable with the value 25 is converted to dialog variable T2 with
the value 120 (read). Dialog variable T2 with value 120 is converted to code carrier
variable with the value 20 (write).
Or
uv := <Tetn>
Tetn := nth tetrad in byte sequence
Byte1, = Tet1 and Tet2
Byte2, = Tet3 and Tet4
Allocation of the tetrads of code carrier variables (in BCD format) to dialog vari-
ables.
Example:
T5=(Tet1), T6=(Tet2), T7=(Tet3), T8=(Tet4)
If the code carrier has the value 0x1234 for example, dialog variable T5 is as-
signed the value 1, dialog variable T8 the value 4.
Or
uv := <compare>
compare := < <const> [INVSIGN] | <= <const> | = <const> | >
<const> >= <const>
Assignment of code carrier variable to a dialog variable according to the compari-
son result
INVSIGN
S Reading: Invert leading sign of the dialog variable,
S Writing: Invert leading sign of the code carrier variable
Example:
C1=(<0 INVSIGN) , C2=(>=0)
Read:
A negative code carrier variable value corresponds to dialog variable C1, a positive
value to dialog variable C2; dialog variable C1 is converted to a positive value.
Write:
Dialog variable C1 is multiplied by (--1). If the value is less than 0, then the code
carrier variable is given the value from C1, otherwise the value from C2.
Notice
Conversion specifications are only evaluated for dialog variables of data type
“integer”.
This conversion file can be used to read in the following data string/generate this
string when writing:
626F687265725F312020000111116E6F726D616C2020202001D00010E3D000000
50205B00002E3B0000003B000E4562F2F
If working with SINTDC, this string corresponds to the interface between HMI Ad-
vanced and SINTDC.
Notes
Notice
Additional information on OPI variables can be found in the Help file for the NC
variables selector.
Overview
Fig. 5-1 displays an overview of all cutting edge, tool and magazine data ($TC_...)
when tool management is active.
Comment:
The sequence of system variables shown in the diagram corresponds to the OPI
numbering sequence.
Notice
System variables are available for OEM Siemens data. However, they are not
described here because they are not meaningful at present.
1 Tool-related data
MAGAZINE DATA
8
MLSR 8 Magazine location assignment to spindles
7MAMP 7 Magazine block data
6 MDP 6 Distance to change position
5 MPTH 5 Magazine location type hierarchy
4 MPPC
4 User magazine location data
3 MPP
3 Magazine location data
2 MAPC
2 User magazine description data
1 MAP
1 Magazine description data
The identifiers (DP,...PP,...MAP,...) are taken from the NC language. They are part
of the names of the system variables $TC_DP,...
Notice
The gray data fields are only available if tool management is active.
Shaded data fields are available without TOOLMAN function, but with monitoring
function.
White data fields are available when the TOOLMAN function is not active.
ADAPTER DATA
ADPT
TOOLHOLDER DATA
CARR
This data exists for each cutting edge that is created (D1--D12). Tool management
includes the geometry and user data as well as the optional monitoring data for the
cutting edges.
If the cutting edges are created via HMI, the D number is counted up from 1. It is
possible to program the D no. with gaps, e.g. D1, D3, D6 if cutting edges are set
up using the NC program.
$TC_DPx[t,D]
Cutting edge parameters for geometry, technology and tool type.
Depending on the tool type, up to 25 cutting edge parameters can be programmed
for each tool cutting edge.
References: /FB1/ W1, Tool Compensation
x = Parameter 1...25
t = T number 1...32000
d = Cutting edge number 1...12
D = D number
OPI block TO
Calculation of line: (d--1)*numCuttEdgeParams+parameter no.
Calculation of column: T number
$TC_DP11
$TC_DP11 contains the identification for the main direction of machining as is de-
fined and required by the Siemens cycle 950. $TC_DP11 assumes an intermediate
position between tool OEM parameter and NCK system variable.
$TC_DP11 is a tool OEM parameter in so far as NCK does not evaluate the con-
tents of the value.
$TC_DP11 is a tool system variable in so far as when accessing via $P_ADT[ n ] --
n=11, NCK is subject to the special values 1, 2, 3, 4 of the tool adapter transforma-
tion if TMMG and the subfunction “Tool adapter” are active. This system parameter
property is also used with the analog OPI block TOT.
$TC_DPCx[t,D]
User-related cutting edge data
Up to 10 additional cutting edge parameters can be programmed for each cutting
edge. Set with MD 18096: MM_NUM_CC_TOA_PARAM and enable with MD
18080 MM_TOOL_MANAGEMENT_MASK (set bit 2=1)
x = Parameter 1...10
t = T number 1...32000
d = Cutting edge number 1...12
D = D number
Notice
The data is displayed in the tool management. Here you could store “Max. cutting
rate”, for example, which is then evaluated in the part program.
$TC_MOPx[t,D]
Tool cutting edges are monitored according to tool life, workpiece count and/or
wear.
x = Parameter 1...15
t = T_number 1...32000
d = Cutting edge number 1...12
D = D number
The maximum value of x is stored in OPI variable numCuttEdgeParams in block Y.
OPI block TS
Calculation of line: (d--1)*numCuttEdgeParams_ts+parameter no.
Calculation of column: T number
$TC_MOPCx[t,D]
Tool monitoring user data (edge-specific)
Up to 10 additional tool monitoring parameters can be programmed for each cut-
ting edge. Set with MD 18098: MM_NUM_CC_MON_PARAM and enable with
MD 18080 MM_TOOL_MANAGEMENT_MASK (set bit 2)
x = Parameter 1....10
t = T_number 1...32000
d = Cutting edge number 1...12
D = D number
$TC_SCPx[t,D]
Location offsets fine (the term “additive offsets” is also frequently used) comprise
all the magnitudes of error which contribute to the total deviation between the ac-
tual workpiece and the specified dimensions. The parameters for the location off-
sets refer to the geometrical data of a cutting edge. DL stands for D Location,
whereby Location refers to where the cutting edge is used.
x = Parameter for DL=1...DL=6
t = T number 1...32000
d = Cutting edge number 1...12
D = D number
Local offsets
Name Type Description OPI variable Type
$TC_SCPx
x = 13--21 Double Can be activated with DL=1 edgeSCData REAL
x = 23--31 Double Can be activated with DL=2 edgeSCData REAL
x = 33--41 Double Can be activated with DL=3 edgeSCData REAL
x = 43--51 Double Can be activated with DL=4 edgeSCData REAL
x = 53--61 Double Can be activated with DL=5 edgeSCData REAL
x = 63--71 Double Can be activated with DL=6 edgeSCData REAL
Transformed location offsets edgeSCData REAL
fine, block TOST
$TC_ECPx[t,D]
The coarse location offsets (setup offsets) can be set by the machine setter before
the machining operation (see also $TC_SCP).
x = Parameter for DL=1...DL=6
t = T number 1...32000
d = Cutting edge number 1...12
D = D number
Setup offsets
Name Type Description OPI variable Type
$TC_ECPx edgeECData REAL
x = 13--21 Double Can be activated with DL=1 edgeECData REAL
x = 23--31 Double Can be activated with DL=2 edgeECData REAL
x = 33--41 Double Can be activated with DL=3 edgeECData REAL
x = 43--51 Double Can be activated with DL=4 edgeECData REAL
x = 53--61 Double Can be activated with DL=5 edgeECData REAL
x = 63--71 Double Can be activated with DL=6 edgeECData REAL
Transformed setup offsets, edgeECData REAL
block TOET
$TC_TPx[t]
General tool data
This data describes the tool in the magazine.
Programming of general tool data with tool management.
x: = Parameter 1...11
t: = T number 1...32000
OPI block TD
Calculation of line: T number
Calculation of column: not applicable
$TC_TP3 to TP6
Size in terms of half locations:
Size 1 means that the tool exactly completely occupies its own magazine location.
The maximum programmable size is 7.
There are rules governing how tool sizes are specified.
$TC_TP7
The magazine location type cannot be changed if the tool is in a magazine loca-
tion.
$TC_TP8
The tool status is described with system variable $TC_TP8. This variable is bit-
coded. In other words, a particular state of the tool is assigned to each bit of this
data.
The status of a tool must be bit 1 so that it can be loaded within the scope of a
programmed tool change for processing on the toolholder.
During tool selection, the status of a tool that is loaded onto the toolholder (spindle,
...) is set by the NCK to bit 0 (“active”).
A tool cannot be loaded if its status is bit 2. The status is set automatically by the
tool monitoring function, when the monitoring value of at least one cutting edge
reaches the limit value. The status bit 2=4 of the tool on the toolholder can or will
be ignored when generating the INIT blocks (see MD 20110 and 20112). The PLC
also has the option to make NCK ignore the status during tool selection.
The status bit 4 is mainly for information purposes. With this status the tool can
still be loaded.
The status bit 7 (“was in use”) is set by the NCK if the tool is removed from a mag-
azine location of the type spindle or toolholder.
The tool status bit 5 (=“W”= is being change) is always reset by the software dur-
ing buffered booting. A tool receives/loses this status within the scope of a pro-
grammed tool change.
The following applies: all tool (new and old) involved in the tool change are given
the status bit 5=32 by the tool selection. The status is reset again by the end ac-
knowledgement for each tool command.
The following applies in particular:
The end acknowledgement of the PLC command 2 (programming the T ad-
dress with $MC_TOOL_CHANGE_MODE=1), resets the status “W” of the old
tool.
The end acknowledgement of the PLC commands 3, 4, 5
(programming M06 in a block with $MC_TOOL_CHANGE_MODE=1, T, M06 in
a block with $MC_TOOL_CHANGE_MODE=1
T address with $MC_TOOL_CHANGE_MODE=0)
resets the status bit 5=32 of the old tool and the new tool.
Tools that are in the buffer can be used for a new programmed tool command if the
tool status bit 5=32.
Tools that are in the real magazine and have this status can be used as a depen-
dency of the bit 21 of the MD 20310 or cannot be used for a different tool-change
comment.
The status bit 5=32 is generally not considered for a tool selection within the scope
of a block search or when init is generated.
For a reset, the status is reset for those tools that are involved in a tool change at
that point in time.
The status bit 5=32 is not evaluated when a manual tool is selected.
The tool status bit 8 ensures that during the next tool change, a tool that is at a
buffer location and not intended for the next job in machining is returned to the real
magazine. See also Subsection3.2.2.
Bit 9 ignores disabled state.
If this bit is set, the disabled state of this tool is ignored. This means the disabled
tool can be used (depending on the search strategy).
This state acts independently of the PLC interface signal:
“Tool disable not effective” (DB21.DBx29.7).
Notice
Take care when “manually” changing the tool status via the OPI during machining.
This could undo any necessary internal changes in status by the NCK and result in
incorrect machining.
$TC_TP9
If a monitoring type is activated for the tool with $TC_DP9, then the current moni-
toring parameters are evaluated and, if necessary, the tool status set to ’disabled’
or ’prewarning limit reached’. An existing tool disable is not however lifted. Not
even then when the monitoring function for this tool has been deactivated.
$TC_TP11
Tool subgroups
The system variable is bit-coded. Only bits 0...3 are evaluated. A tool group (the
same identifier, different duplo no.) can be split into a maximum of 4 subgroups in
this way. A tool can also be included in several subgroups.
If no bit is set, so $TC_TP11[x]=0, this means the same as “all bits set”, i.e. the
tool belongs to all the defined subgroups.
Selection of the tool subgroup
1. With the language command $P_USEKT (UseKindofTool)
(only possible when not working with the setting T=location)
During tool search, only tools that have one of these bits in system variable
$TC_TP11, can be found. This means that it is possible to form so-called
“Technology Groups”, to differentiate between tools with the same identifier and
specifically release them for machining.
Example 1:
$P_USEKT=4
i.e. the only tools to be taken into account are those with bit 2 in $TC_TP11 or
Example 2:
$P_USEKT=9
i.e. the only tools to be taken into account are those with bit 3 or 0 in $TC_TP11
2. By programming a tool
with the function T=location $P_USEKT is set automatically at every tool
change and in fact at the $TC_TP11 value of the loaded tool.
Example: T3 M06
The bit value of $TC_TP11 of T3 is now valid (is accepted in “USEKT”).
During the transition to a spare tool (and there only) the only tools to be taken
into account are those with one of these bits set in system variable $TC_TP11.
$TC_TPGx[t]
Technology-specific grinding data
The default setting for grinding data is 0. Tools with tool type 400 to 499 are al-
ways grinding tools, i.e. have these additional data which take up additional
memory space. If a tool of type 400--499 is set to a value outside this range, then
its loses its grinding-specific data -- the associated memory is released again and
can be used for other tools.
x: = Parameter 1....9
t: = T number 1...32000
OPI block TG
Calculation of line: T number
Calculation of column: not applicable
$TC_TPCx[t]
User-related tool data
An additional 10 tool-specific parameters can be set up per tool. Set with
MD 18094: MM_CC_TDA_PARAM and enable with MD18080 MM_TOOL_MAN-
AGEMENT_MASK (set bit 2)
x: = Parameter 1...10
t: = T number 1...32000
Notice
The data is displayed in the tool management. In addition, e.g. tool status
information could also be stored here.
Magazine data
MAGAZINE DATA
8
MLSR 8 Magazine location assignment to spindles
7 MAMP 7 Magazine block data
6 MDP 6 Distance to change position
5 MPTH 5 Magazine location type hierarchy
4 MPPC 4 User magazine location data
3 MPP 3 Magazine location data
2 MAPC
2 User magazine description data
1 MAP
1 Magazine description data
$TC_MAPx[n]
Magazine description data
This data identifies the real magazine
x: = Parameter 1...10
n: = Magazine number 1...30, 9998, 9999
OPI block TM
Calculation of line: Magazine number
Calculation of column: not applicable
$TC_MAP3
The magazine status bit 3 (tool motion is active) is always reset when the software
is booted with backup.
A magazine that has the status “Tool motion is active” cannot be deleted.
Empty locations are not sought in magazines with the “disabled” status. If a dis-
abled magazine is explicitly defined for the empty location search the process is
aborted with an error message.
A tool that is in a “disabled” magazine cannot be loaded into the spindle or the tool-
holder.
Overlapping edge locations (bit 8...11=1)
An oversized tool can overlap the edge locations that are marked with bits 8 to 11.
$TC_MAP8
The current magazine position $TC_MAP8 is refreshed by the NCK every time the
magazine is moved.
When the magazine configuration has been loaded, variable $TC_MAP8 is as-
signed the value zero. The position value is the number of the magazine location
that is located at the zero position of the magazine. As a maximum, the magazine
position can have the number of magazine locations in the magazine. Larger or
negative values are rejected.
$TC_MAP10
Magazine-specific tool search
The bit settings correspond precisely to the system variables $TC_MAMP2.
For buffer magazines, the default setting “0” always applies.
Exception:
From SW 6.3.23 and 5.3.35, a 1:1 swap can be set for internal magazines.
$TC_MAPCx[n]
Magazine user data
Up to 10 user data can be additionally created for each magazine. Setting in
MD 18090 : MM_NUM_CC_MAGAZINE_PARAM and enable with MD18080:
MM_TOOL_MANAGEMENT_MASK (set bit 2)
x: = Parameter 1...10
n: = Magazine number 1...30
$TC_MPPx[n,m]
Magazine location data
The following data describes the magazine location.
x: = Parameter 1..7
n: = Physical magazine number 1..30, 9998, 9999
m: = Physical location number 1...32000
The maximum value of x is stored in OPI variable numMagPlaceParams in block Y.
OPI block TP
Calculation of line: (magazinLocNo--1)*numMagPlaceParams+parameter no.
Calculation of column: Magazine number
S The states “Reserved for tool from buffer” and “reserved for new tool to be
loaded” of a location are automatically reset when a tool is placed in this loca-
tion.
S The states “reserved for tool from buffer” and “reserved for new tool to be
loaded” of a real magazine location are automatically reset when a tool from
this location is placed at a location in the loading/unloading magazine.
S The state “Reserved for tool from buffer” is reset during an empty location
search if the tool for which the empty location is being sought is assigned a
magazine location other than its previous real magazine location. The newly
found empty location is assigned the state “Reserved for tool from buffer” and
becomes the new owner of the tool being sought.
The magazine location state “Reserved for tool to be loaded” is always reset when
the control system is restarted. If “Consider adjacent location” is active, reserva-
tions of adjacent locations are also considered.
It is only when wanting to make the magazine definition directly at the NC program
level that the user has to deal with these rules. Data back-up is such that the rules
are observed when data is imported to the NCK.
$TC_MPP6 (T no.)
S Tools can only be placed in magazine locations when both the tool and the
magazine, plus its magazine locations, have been defined.
The tool may occupy only one magazine location!
Procedure:
It first attempts to find the tool associated with the T no.
S If it is already defined, then an attempt is made -- subject to appropriate check
procedure -- to add it to the magazine location.
S If it is not yet defined, then an error has occurred.
Tests:
S The type of the tool to be placed must match the type of the location. If the type
has not been set explicitly at the time of writing (default = 9999 = “Not defined”),
then the tool is not placed.
S The state of the location must be “Free” and must not be “Disabled”.
S If the value T no.=0 is programmed, then this means that the present tool will
be removed from the magazine location.
NOTICE ! $TC_MPP6 = 0 also changes the state of the location: a tool can
only be placed in a magazine location if the location does not already contain a
tool. The old tool might first have to be removed with $TC_MPP6 = 0.
Notice
Because of this dependency of the individual data, it is mandatory for the
T number of the tool to be written as the last data in a magazine configuration. If
you do not adhere to this sequence, default values might be set which may result
in unwanted data.
$TC_MPPCx[n,m]
Magazine location user data
Up to 10 user data can be additionally created for each magazine. Setting for
number of parameters in MD 18092 : MM_NUM_CC_MAGLOC_PARAM and en-
able with MD18080 MM_TOOL_MANAGEMENT_MASK (set bit 2)
x: = Parameter 1...10
n: = Magazine number 1...30
m: = Magazine location number 1...32000
$TC_MPTH[n,m]
Magazine location type hierarchy
The location types can be organized in a hierarchy by programming these system
variables.
n: = Index of hierarchy, from 0...7
m: = Index within hierarchy n, location type 0...7
Magazine location types, refer also to $TC_TP7 (Subsection 5.3.1) and
$TC_MPP2 (Subsection 5.4.3).
OPI block TT
Calculation of line: Number of location type+1
Calculation of column: Number of location hierarchy+1
If a tool is to be loaded into the magazine, then the location type determines the
availability of locations, i.e. $TC_TP7 and $TC_MPP2 must be defined.
If the location type of the tool is part of the location type hierarchy, then the location
assignment is carried out in accordance with this hierarchy.
Several such hierarchies can be set up in one TO-area unit, but a location type can
only be entered in one hierarchy.
Example
A chain magazine is to be split into six location types and the following hierarchy
defined (the magazine no. is to be “1”, the numbers of the location types are se-
lected at random).
Location type_124< Location type_3< Location type_15< Location type_1080<
Location type_5< Location type_18
Definitions:
Magazine: $TC_MPP2[magazine no., location]
$TC_MPP2[1,1...6] = 124
$TC_MPP2[1,7...12] = 3
$TC_MPP2[1,13...18] = 15
$TC_MPP2[1,19...24] = 1080
$TC_MPP2[1,25...30] = 5
$TC_MPP2[1,31...36] = 18
Hierarchy: $TC_MPTH[0,0] = 124
$TC_MPTH[0,1] = 3
$TC_MPTH[0,2] = 15
$TC_MPTH[0,3] = 1080
$TC_MPTH[0,4] = 5
$TC_MPTH[0,5] = 18
If a tool of type_15 ($TC_TP/) is loaded, it is preferable for it to be stored at loca-
tions 13...18. If none of these locations are free, the search for an empty location
continues, in accordance with the hierarchy, at locations of type_1080.
$TC_MDPx[n,m]
Distance from magazine zero
$TC_MDPx[n,m]=value
x: = 1: Loading magazine: loading point, loading station (1st int. mag.)
2: Buffer magazine: spindle, gripper,..(2nd int. mag.)
n: = Magazine no. of real magazine
m: = Location no. of internal magazine (loading point,..).
Value:= Distance in no. of locations
Description
The current magazine position is required for tool change, loading and unloading.
This position refers to the magazine zero point established by the machine
manufacturer. This is usually at the change position.
The number of the location at the magazine zero point has to be given during init-
ialization. Otherwise, non-existent location 0 is taken to be the change position.
If the magazine is moved by a task, the current position is changed accordingly.
The NC does not know how many positions the magazine has moved but knows
the targets of the relevant commands. On the basis of the defined distance be-
tween and object (e.g. spindle 2) and the change position, the NC is able to update
the current position.
Note:
In SW 5 and later, the value of the distance and the current magazine position is
also evaluated for box magazines.
For empty location searches and tool searches, search strategies based on refer-
ence to the current magazine position convert the position contained in system
variable $TC_MAP8 to the change position, loading point in each case at which the
search is started. With search tasks, the NCK always specifies internally which
change position, loading point is to be used as reference for the search.
Notice
Command $TC_MDP2[n,m]=9999 can be programmed to unlink the relationship
between spindle and magazine.
Example:
Spindle 1 Spindle 2
11 12 1 2 1 16
2 3
Magazine1 Magazine2
3 4
$TC_MAP8[1]=12 $TC_MAP8[1]=16
4 5
5 6
The magazine zero point is usually the change position of the spindle. Therefore,
the following applies:
S If location 1 is located at zero position, the current magazine position = 1
($TC_MAP8[1]).
Examples for programming the distance to the zero position:
$TC_MAMPx
Magazine block data
x: = Parameter 1, 2, 3
$TC_MAMP2
The tool search is magazine-specific.
Bit 7 is used to set whether the search is to start in the magazine from which the
requesting spindle loaded its last tool for change (bit 7=0 is the default setting or in
the 1st magazine of the distance table (bit 7=1)).
Bit 7 is only relevant for strategies which are set with bit 0...2.
The following applies:
The tool sequence is a tool group is not defined.
This means the tools are not sorted in any order (e.g. ascending duplo numbers).
$TC_MLSR[x,y]
Assignment of buffer locations to spindles -- $TC_MLSR[x,y]
x: = location no. in buffer 1... 32000
y : = location no. of the spindle in buffer magazine 1... 32000
The programming sequence determines the sequence in which tools are automatically re-
turned.
Notice
The content value of the system variable is not evaluated. The assignment is
defined via indices x and y. In order to check via the part program whether a
certain assignment exists, a read operation has to return the value zero.
If working with magazine configurations that were created before SW version 3.2,
this system variable must be additionally defined, if, apart from the spindle and the
tool magazine, additional buffer locations (e.g. gripper) are involved. The NCK can
only find the tools in these buffers during tool search if the parameter is defined.
The definitions that are established by this parameter allow, for example, the NCK
to detect during boot with backup whether a tool change was interrupted during
power OFF and to determine the buffer location where the tool is currently
positioned.
Notice
No more than 16 magazines or buffer locations can be assigned to one spindle.
Gripper 4
Magazine1 Location=2
$TC_MLSR[2,4]=0
$TC_MDP2[1,4]=2
$TC_MDP2[2,4]=4
Magazine2 Toolholder 7 Toolholder 5
Location=1 Location=4
$TC_MDP2[2,1]=0
$TC_MLSR[3,1]=0 $TC_MLSR[3,4]=0
Gripper 5
Location=3
Configuration
Let us assume two magazines are defined with the numbers 1 and 2.
Four locations 1, 2, 3 and 4 are defined in buffer 9998; two toolholders 5, 7 and
two grippers 4, 5.
$TC_MPP1[9998,1] = 2 ;location type = spindle or toolholder
$TC_MPP5[9998,1] = 7 ;tool holder no. = 7
$TC_MPP1[9998,2] = 3 ;location type = gripper
$TC_MPP5[9998,2] = 4 ;gripper no. = 4
$TC_MPP1[9998,3] = 3 ;location type = gripper
$TC_MPP5[9998,3] = 5 ;gripper no. = 5
$TC_MPP1[9998,4] = 2 ;location type = spindle or toolholder
$TC_MPP5[9998,4] = 5 ;tool holder no. = 5
Both grippers are linked to toolholder 5 via $TC_MLSR. They do not require their
own distance definition for the magazines. They are linked to the magazines via
toolholder 5 with the distance relations defined there. However, it is also possible
to define separate distance relations for the grippers.
Toolholder 5 is linked with both magazines via $TC_MDP2.
Toolholder 7 is only linked with magazine 2; gripper 5 is assigned to it.
$TC_ADPTx[n]
If machine data $MN_MM_NUM_TOOL_ADAPTER is set to a value = --1 or > 0,
the adapter data is defined, deleted, read and written via the following variables
x: = Parameter 1...3, T
n: = Number of the adapter
OPI block AD
Calculation of line: Length 1, 2, 3 = line 1, 2, 3, transformation = line 4
Calculation of column: Adapter number
Adapter data
Name Type Description OPI VAR Type
$TC_ADPT1 Double Adapter geometry: Length 1 adaptData REAL
$TC_ADPT2 Double Adapter geometry: Length 2 adaptData REAL
$TC_ADPT3 Double Adapter geometry: Length 3 adaptData REAL
$TC_ADPTT[n] Double SC number adaptData REAL
The adapter geometry values act on the geometry values of the cutting edge in the
same way as system variables $TC_DP 21, $TC_DP 22 and $TC_DP 23. These
parameters are available only when the tool management is active.
Transformation numbers 1 to 8 can be programmed for the adapter transformation
function. The parameter is available only when the tool management is active.
$TC_MPP7[m,p] Number of adapter assigned to magazine location
Value=0 No adapter assigned to location
Value>0 Number of assigned magazine
$TC_CARRx
x: = Parameter 1...33
The maximum number of toolholders can be defined in machine data 18088:
MM_NUM_TOOL_CARRIER. The value is divided by the number of active TO
units. The integer result indicates how many toolholders can be defined per TO
unit. Values not set by the user are preset to 0.
OPI block TC
Calculation of line: Number of toolholder
Calculation of column: N/A
Toolholder data
Name Type Explanation/description OPI VAR Type
$TC_CARR1 Double No. of toolholder TcCarr1 REAL
x component of offset vector L1
$TC_CARR2 Double No. of toolholder TcCarr2 REAL
y component of offset vector L1
$TC_CARR3 Double No. of toolholder TcCarr3 REAL
z component of offset vector L1
$TC_CARR4 Double No. of toolholder TcCarr4 REAL
x component of offset vector L2
$TC_CARR5 Double No. of toolholder TcCarr5 REAL
y component of offset vector L2
$TC_CARR6 Double No. of toolholder TcCarr6 REAL
z component of offset vector L2
Toolholder data
Name Type Explanation/description OPI VAR Type
$TC_CARR7 Double No. of toolholder TcCarr7 REAL
x component of rotary axis V1
$TC_CARR8 Double No. of toolholder TcCarr8 REAL
y component of rotary axis V1
$TC_CARR9 Double No. of toolholder TcCarr9 REAL
z component of rotary axis V1
$TC_CARR10 Double No. of toolholder TcCarr10 REAL
x component of rotary axis V2
$TC_CARR11 Double No. of toolholder TcCarr11 REAL
y component of rotary axis V2
$TC_CARR12 Double No. of toolholder TcCarr12 REAL
z component of rotary axis V2
$TC_CARR13 Double No. of toolholder TcCarr13 REAL
Angle of rotation alpha1
$TC_CARR14 Double No. of toolholder TcCarr14 REAL
Angle of rotation alpha2
$TC_CARR15 Double No. of toolholder TcCarr15 REAL
x component of offset vector L3
$TC_CARR16 Double No. of toolholder TcCarr16 REAL
y component of offset vector L3
$TC_CARR17 Double No. of toolholder TcCarr17 REAL
z component of offset vector L3
$TC_CARR18 Double No. of toolholder TcCarr18 REAL
x component of offset vector L4
$TC_CARR19 Double No. of toolholder TcCarr19 REAL
y component of offset vector L4
$TC_CARR20 Double No. of toolholder TcCarr20 REAL
z component of offset vector L4
$TC_CARR21 Axis No. of toolholder TcCarr21 String
Axis name of 1st rotary axis
$TC_CARR22 Axis No. of toolholder TcCarr22 String
Axis name of 2nd rotary axis
$TC_CARR23 Char No. of toolholder TcCarr23 String
Kinematic type
$TC_CARR24 Double No. of toolholder TcCarr24 REAL
Offset of 1st rotary axis in degrees
$TC_CARR25 Double No. of toolholder TcCarr25 REAL
Offset of 2nd rotary axis in degrees
$TC_CARR26 Double No. of toolholder TcCarr26 REAL
Offset of Hirth gears in degrees for
1st rotary axis
$TC_CARR27 Double No. of toolholder TcCarr27 REAL
Offset of Hirth gears in degrees for
2nd rotary axis
Toolholder data
Name Type Explanation/description OPI VAR Type
$TC_CARR28 Double No. of toolholder TcCarr28 REAL
Increment of Hirth gears in degrees
for 1st rotary axis
$TC_CARR29 Double No. of toolholder TcCarr29 REAL
Increment of Hirth gears in degrees
for 2nd rotary axis
$TC_CARR30 Double No. of toolholder TcCarr30 REAL
Minimum position of 1st rotary axis
$TC_CARR31 Double No. of toolholder TcCarr31 REAL
Minimum position of 2nd rotary axis
$TC_CARR32 Double No. of toolholder TcCarr32 REAL
Maximum position of 1st rotary axis
$TC_CARR33 Double No. of toolholder TcCarr33 REAL
Maximum position of 2nd rotary axis
Further references:
/FB1/ Description of Functions, Basic Machine; Tool Compensation (W1) and
/PGA/ Programming Guide Advanced
User-definable parameters
These programmable variables provide the user with three customizable parame-
ters. These system variables are transferred to the PLC over the user interface
with the T selection signal. They allow the user to send additional tool manage-
ment information to the PLC. The parameters can be read and written by the NC
program. They are not buffered and are set to “0” on Reset or end of program.
$P_VDITCP[x]
x: = Parameters 0, 1, 2
Example
$P_VDITCP[0]=12; DB72.DBD(n+4) =12 or
$P_VDITCP[1]=33; DB72.DBD(n+8) =33 or
$P_VDITCP[2]=2000; DB72.DBD(n+12) =2000
T=“tool”
The variables must be set in the part program before the T call if these shall trans-
ferred for a tool to the PLC as well.
Programming
The parameters can be programmed as required in the NC program. The output is
however always in combination with the tool preparation command programmed in
the following.
Example:
T= “TL1”
$P_VDITCP[0] = 1
M06
$P_VDITCP[0] = 2
T= “TL2”
Exactly the value = 2 is also given to the PLC with the command output of T = “T2”
to the PLC and not the value 1 when the M06 command is outputted to the PLC.
From SW version 6, the output of the programmed value also takes place when
M6 is programmed. I.e. the output can now also be realized with the command
number 3 provided $MC_CHANGE_MODE=1 has been set.
5.8 NC commands
See also table in Subsection 5.12.5.
D number uniqueness is understood here (not for replacement tools) as being that
the D numbers of all tools defined in the TO unit may occur exactly only once =>
the D numbers are unambiguous and absolute. This is known in the tool-manage-
ment function as the possibility of assigning “unique” D numbers only. The distinc-
tion is made on the basis of replacement tools that are generally present.
Status = CHKDNO (T1, T2, D)
Parameters used:
TRUE The D numbers have been assigned on the basis of unambious gu-
ity for the checked area
FALSE A D-number collision is the result or the parametrization is invalid
Example
Active tool and replacement tools for T=“drill_5mm”
S T No. = 10 with D numbers 1, 2, 3 (active)
S T No. = 11 with D numbers 1, 2, 3 (replacement)
S T No. = 12 with D numbers 1, 2, 3 (replacement)
Active tool and replacement tools for T=“drill_3mm”:
S T No. = 20 with D numbers 1, 2, 3 (active)
S T No. = 21 with D numbers 1, 2, 3 (replacement)
S T No. = 22 with D numbers 1, 2, 3 (replacement)
With active tool management, the command CHKDM checks the data in NCK for
D number uniqueness within one or more magazines. The functionality corre-
sponds to CHKDNO. The parameters are optional.
state = CHKDM (magazine no, D no., toolholder no.)
Result of check:
Value = TRUE Checked D numbers are unique.
Value = FALSE Check did not return uniqueness.
Explanation of parameters:
Marks all D numbers of the TO unit as invalid. This command is used for support
during conversion or re-equipping.
Offset data sets tagged with this command are no longer verified by the CHKDNO
language command. The D numbers have to be set with SETDNO again in order
to make these accessible again.
This command deletes the additive offsets for the cutting edge of a tool (to release
memory space). Both the defined wear values and the setup values are deleted.
status = DELDL( t, d )
Explanation of the parameters:
DELDL(t, d) All additive offsets of the cutting edge with D number d of tool
t are canceled.
DELDL(t) All additive offsets of all cutting edges of tool t are canceled.
DELDL All additive offsets for all cutting edges of all tools of the TO
units are canceled (of the TO unit of that channel where the
command is programmed)
status Result of search:
0 Offsets have been successfully deleted.
--1 Offsets have not been deleted (if the parameter set-
tings specify exactly one tool edge), or not deleted
completely (if the parameter settings specify several
tool edges)
A new tool can bet set up in a number of ways by NC commands in NCK. Either by
programming T no.=NEWT(“TL”, Duplo no.) or by programming a system variable
$TC_...
Note that NEWT automatically generates a cutting edge with CE no. = 1, D no. = 1
(SW 6). If you want the tool to have a different CE no., you need to change this
number after it has been generated.
The NEWT function allows a new tool to be created without specifying a T no. The
function returns the automatically generated T no. with which the tool can subse-
quently be addressed. The 1st cutting edge is automatically created when a new
tool is created. All offsets are set to “0” by default.
Return parameter = NEWT (“TL”, duplo no.)
If it is not possible to create a new tool for any reason, the NEWT(...) function gen-
erates an alarm.
Specification of a duplo number is optional. It is generated in the NCK if it is not
specified. (duplo no.= old duplo no. +1)
Examples
Example 1:
Create a new tool with NEWT and the CE/D numbers = 2, 47
def int tnr
tnr = NEWT(“tool”, 111) ; Tool with Ident/duplo no.=“tool”/111,
; T no.=tnr=1 in the example and a cutting
; edge
; CE=1, D=1 is created
; The cutting edge is to be named CE=2,
; D=47
$TC_DPCE[tnr, 1]=2 ; Rename the CE number
SETDNO(tno,2,47) ; Rename the D number
; Assign the remaining data for the tool/cutting
; edge
Example 2:
Create tool “tool”/111, T no.=tnr=1 with $TC... and CE numbers = 2 ,4 (let us as-
sume that T no.=1 does not yet exist)
$TC_TP1[1]= 111 ; Create tool with T no.=1, duplo no.=111
$TC_TP2[1] = “tool” ; Assign tool^ Ident=“tool”
$TC_TPCE[1,47] = 2 ; Create new D=47, assign CE no.=2
; Assign the remaining data for the tool/cutting
; edge
The function is used for creating tools in a loading program (load cycle).
A tool can be deleted with the DELT(...) function by specifying the tool identifier
and duplo number. Only tools that have been unloaded can be deleted.
DELT(“MYTOOL”,DUPLO_NR)
All tool-related data is set to 0 (user data, hierarchy data, ...).
Example:
DELT(“DRILL”, DUPLO_NO)
The function is for deleting tools in the part program.
The GETT function returns the associated T number on the basis of the tool identi-
fier and its duplo number.
Return parameter = GETT(“TL”, DUPLO_NO);
If the tool identifier or duplo number cannot be assigned to a tool, value --1 is re-
turned. Specification of the duplo number is optional.
If no duplo number is entered, the T number of the 1st tool from the group of tools
with the specified identifier is returned.
Example:
Determine the T number for drill with duplo number
R10=GETT(“DRILL”, DUPLO_NO) ; The T number is in R10
$TC_TPx,[GETT(“DRILL”,DUPLO NO)]=value ; Write tool-related data
This function is used to retroload tools via the part program.
With the SETPIECE function, the user can update the count monitoring data of the
tools associated with the machining process. All the tools that have been loaded at
change since the last time SETPIECE was activated are included in the update.
The function serves as a rule for programming at the end of the NC main program
to decrement the count from all the tools associated with count monitoring.
Notice
The command is not active in the block search (with/without calculation). If the
value for the count = 0, the internal table for flagged tools/cutting edges is deleted.
Programming
SETPIECE(x,y)
x := 0 ... 32000 Value used when decrementing
y := 0...8 Spindle index, value 0 means index of main spindle
(need not be programmed)
Example:
SETPIECE(1); Workpiece counter of main spindle is decremented by 1
SETPIECE(1,1); Workpiece counter of spindle no. or toolholder no. 1 is de-
cremented by 1
SETPIECE(4,2); Workpiece counter of spindle no. or toolholder no. 2 is de-
cremented by 4
The function is available with TMMG and provides the T number of the tool prese-
lected for the spindle. This allows, for example, the offset data to be accessed prior
to M06.
GETSELT (return parameter, x);
x: = 1--32 spindle number
x: = 0 index for main spindle
Specification of “x” is optional. If “x” is not specified the function refers to the main
spindle.
Return parameters
>0 T no. of prepared tool
=0 No preparation or T0 was programmed
= --1 Preparation failed (e.g. no tool ready to use)
Example:
T=“DRILL”
...
...
GETSELT(R10) ;read preselected T no. for the main spindle
This function compares in the tool change cycle whether the preselected tool is
already placed in the spindle.
The command GETEXET is specifically designed for block search. Its parameters
are set in the same way as for GETSELT. It returns the T number of the tool that is
active from the point of view of the NC program.
(For a detailed description, please refer to Section 3.2.15 Block search.)
GETEXET(return parameter, x)
Return parameter: 0 no tool active
> 0 T no. of active tool
x: 1 -- 32spindle number
0 master spindle
Specification of the spindle number is optional. If it is not specified, GETEXET re-
fers to the current master spindle.
Example:
Let us assume the following conditions: Change is set with M06.
There is no tool in the spindle.
There are two tools “Drill_10mm” (T-Nr. 1), “Drill_4.2mm” (T no. 4)
...
N30 T=“Drill_10mm”; T no. 1
... --> GETSELT=1 (T1 is prepared)
... --> GETEXET=0 (no tool active)
N40 M06
N42 G90 G00 D1 ...
... --> GETSELT=1 (last prepared tool)
... --> GETEXET=1 (active tool)
N50 T=“Drill_4.2mm”; T no. 4
... --> GETSELT=4 (new preparation: T4)
... --> GETEXET=1 (T1 is active)
N60 M06
N62 G90 G00 D1 ...
...
This function provides the option to read the T number of the tool with the status
“active” (a tool becomes “active” immediately before is is loaded into the tool-
holder) and “was in use” out of a tool group with the identifier “name” by means of
the parameter “T no.”.
status=GETACTT(Tno,name)
The return parameter “status” indicates whether the call was successful/failed:
GETACTT can have several meanings! It is always conceivable there are sev-
eral tools in the tool group that have the same status. The command will only then
meaningfully function when the user ensures there is exactly one tool with the de-
sired status in the tool group.
The command does not initiate a main synchronization. It may be necessary to
enter STOPRE before the call.
Example:
Tool group “Drills” contains three tools with the duplo numbers 1, 2, 3 and the
T numbers 1, 2, 3:
def int Tno, status ; in the tool group “Drill” initially there is no
; active tool
status=GETACTT(Tno, “Drill”) ; status=--2, Tno=0
T=“Drill” ; Preparation sets tool status to “active”
status=GETACTT(Tno, “Drill”) ; status=0, Tno=0
; the tool is active, but the identifier “was in
; use” is not yet applied
M06 ; Change
T=“Hugo” ; Preparation
status=GETACTT(Tno, “Drill”) ; status=--2, Tno=0
; the tool is active, but the identifier “was in
; use” is still not yet applied
M06 ; Change
status=GETACTT(Tno, “Drill”) ; status=0, Tno=1
; Read request is performed
; The tool “Drill” is now assigned the status
; “was in use” due to removal at change
; The status “active” remains applied
Notice
1. GETACCT cannot detect a tool which is positioned in the spindle for its first
use.
2. The tool sequence is not defined for a group. This means that GETACCT will
read any random tool in the group where the status bits “active” and “was in
use” are set.
T=“Miller_2” M06 No address extension programmed --> this refers to the master
toolholder; i.e. toolholder 2.
Tool change is performed and tool is placed into buffer location 2.
The path is corrected with the tool offsets.
...
T1=“Drill_1” M1=6 Address extension for the secondary toolholder has been pro-
grammed.
The tool change is performed in the buffer location with
$TC_MPP5=1.
The path is not corrected
...
SETMTH Declare the toolholder specified in TOOL_MANAGE-
MENT_TOOLHOLDER as the master toolholder
T=“Miller_3” M06 No address extension programmed --> this refers to the master
toolholder; i.e. toolholder 1 (value of MD TOOL_MANAGE-
MENT_TOOLHOLDER).
Tool change is performed and tool is placed into buffer location 1.
The path is corrected with the tool offsets.
Notice
SETMTH does not change the active tool. The new master toolholder definition
cannot be taken into account until the tool change is then programmed.
The programmed values from SETMS can remain active beyond program end/
reset/Start.
Example 1:
The following applies:
$MC_RESET_MODE_MASK = “H18041”
$MC_SPIND_DEF_MASTER_SPIND = 1
$MC_TOOL_MANAGEMENT_TOOLHOLDER = 2
After the end of program/RESET both the active tool offset and the programmed
values for SETMTH and SETMS remain active. The tool change still does not take
place at the spindle but at the toolholder instead.
T=“Drill” M6 D2 ;tool change on master toolholder=2
SETMS(3) ;new master spindle=3
SETMTH(1) ;new master toolholder=1
T=“Miller” M6 D1 ;tool change on master toolholder=1
M17
After end of program or RESET,
spindle no. = 3 is the master spindle,
tool holder no. =1 is the master toolholder and a
tool = “Miller” with offset D1 determines the path correction.
After Power ON the settings for the MDs become effective:
spindle no. = 1 is the master spindle,
tool holder no. =2 is the master toolholder.
The tool offset is derived from the smallest D number of the tool that is located in
the master toolholder; i.e.
T=“Drill” with D1
(assuming that the tool has two D offsets D1, D2).
Example 2:
The following applies:
$MC_RESET_MODE_MASK = “H41”
$MC_SPIND_DEF_MASTER_SPIND = 1
$MC_TOOL_MANAGEMENT_TOOLHOLDER = 0
After the end of program/RESET both the active tool offset and the programmed
value for SETMS remain active. The tool change takes place at the spindle which
now becomes the toolholder.
T=“Drill” M6 D2 ;tool change on master toolholder=1
SETMS(3) ;new master spindle = master toolholder=3
T=“Miller” M6 D1 ;tool change on master toolholder=3
M17
After end of program or RESET,
Spindle no. = 1 the master spindle and a
tool = “Miller” with offset D1 (on spindle with no. = 3) determines the path correc-
tion.
After Power ON the settings for the machine data become effective:
Spindle no. = 1 is the master spindle/master toolholder.
The tool offset is derived from the smallest D number of the tool that is located in
the master toolholder; i.e.
T=“Drill” with D1
(assuming that the tool has two D offsets D1, D2).
Description of function
p Location number at which the internal magazine is to be positioned.
m Magazine number of the magazine to be moved.
This parameter is optional.
If it is not set, the location number refers to the magazine contained in the
distance table as the first magazine for the specified internal location.
ip Location number for the specified internal magazine (spindle location, load-
ing magazine etc.)
This parameter is optional.
If it is not specified, the positioning operation refers to the main spindle loca-
tion or the main toolholder location.
im Magazine number of internal magazine in relation to location number ip to
which the magazine must be moved. An internal magazine is either a load-
ing or a buffer magazine.
This parameter is optional.
If it is not specified, then the command refers to the buffer magazine.
The magazine (number m) must be linked by a distance relationship with the se-
lected loading or buffer-magazine location. Alarms are generated when incorrect
parameters are specified (e.g. undefined location numbers).
Toolholder 1
(buffer magazine 9998, location 1)
$TC_MDP2[1,1]=0
6
5 7
4 Change position 8
3 9
2
Magazine1 10
$TC_MAP8[1]=6
1
11
16
12
15
13
14
In this example, the magazine zero point is the location in front of toolholder 1. It is
defined by system variable $TC_MDP2. Toolholder 1 is assigned to the master
spindle of the channel.
Notice
The language command POSM(...) is terminated without waiting for an
acknowledgment from the PLC.
The function MVTOOL allows tools to be loaded and unloaded via NC program-
ming only. It can be used to transport a tool from one magazine location to another
-- regardless of where.
It is mandatory for a tool to be positioned at the source magazine location.
This language command does not generate an alarm.
Whether MVTOOL was carried out with or without error(s) must be checked via the
return value of parameter “state”.
MVTOOL (state, magFrom, locFrom, magTo, locTo)
Notice
Deselecting a possibly active offset is not linked with moving the tool.
If source and target location of the tool are identical, the command is not
executed, “state” then has value 0.
If a tool is moved from a real magazine to an internal magazine (or vice versa), the
respective magazine distance relation must be defined.
PLC
The language command generates the command (CMD=1) in the NCK for the PLC
and is terminated when the command is generated. It does not wait for the ac-
knowledgement from the PLC.
seen In the program when the tool to be loaded is positioned at the desired loca-
tion.
1. Concrete target location specification:
def int state
$TC_MPP6[ 9999, 1] = 123
MVTOOL(state, 9999, 1, 5, 7) ;load tool at location 5/7
if ( state < > 0 ) gotof error
wait:
G4 F1 ; wait time corresponding to the conditions on the machine
; (it would be meaningful to program time monitoring here
; as well)
if ( $TC_MPP6[5,7] < > 123 ) gotob wait
; after MVTOOL has been executed, the tool must be lo-
; cated at the programmed location
2. Location search for target location
int state
$TC_MPP6[9999, 1] = 123
MVTOOL(state, 9999, 1, 5) ;load tool to magazine 5 -- search for empty
;location
if ( state < > 0 ) gotof error
wait:
G4 F1 ; wait time corresponding to the conditions on the machine
if ($A_MYMN[ 123] < > 5) gotob wait
; after MVTOOL has been executed, the tool must be posi-
; tioned in the programmed magazine
; $TC_MPP6 cannot be used here as the location no. is not
; known
; It can be determined via $A_MYMLN[123]
The SETTIA function cancels the “active” status for all active tools in the selected
wear group. By parameterizing the language command, this can be either maga-
zine-specific or wear group-specific.
SETTIA (STATUS, MNR, VNR,USEKT)
A search strategy can be set in parameter $TC_MAMP3 for the tool to be activated
by SETTIA.
Notice
It is mandatory to set the wear group for the function SETTIA.
The SETTA function sets a tool in a group to active. One tool becomes active for
each tool group contained in a wear group. SETTA does not affect disabled tools
If a tool is already active in the group, SETTA does not set any more to active.
Notice
The tool sequence within a tool group is not defined, i.e. SETTA will act on any
tool.
Description of function
SETTA (STATUS, MNR, VNR, USEKT)
A search strategy can be set in parameter $TC_MAMP3 for the tool to be activated
by SETTA.
Notice
It is mandatory to set the wear group for the function SETTA.
Notice
There is no explicit generation of alarms. The user can carry out the error handling
himself/herself via the state parameter.
The function “Toolholder orientation” (Section 5.6) must be active. The function can
additively superimposed over the functionsTMBF, TMFD, TMMO and TMMG.
DELTC(n,m)
n First number of the toolholder data area the values of which shall be set to
zero.
This parameter is optional. If it is not specified, all toolholder data blocks
are set to zero starting at the smallest through to the largest block.
m Last number of the toolholder data area the values of which shall be set to
zero.
This parameter is optional. If it is not specified, then the toolholder data
block specified by n is set to zero.
If m if greater than the largest number of a toolholder data block in this
channel, then those data blocks up to the largest number are set to zero.
The toolholder data blocks are defined by the system variables $TC_CARRx. Only
the command $TC_CARR1[0] was available up to now for setting all data blocks to
zero. With DELTC a range of numbers for the toolholder data from n to m for the
toolholder data can now be set to zero.
In particular, the contents of DELTC() and $TC_CARR1[0]=0= set all data blocks
to zero, are the same.
The parameters n, m have to be programmed with values larger than zero. Other
values lead to an alarm.
Parameter n must be smaller than m. Programming otherwise leads to an alarm.
Also, n must lie in the range of numbers permitted for toolholder data.
The selected range of numbers must include the range of numbers for the tool-
holder data blocks on the channel. Programming is otherwise rejected and an
alarm is issued.
If the function “Toolholder data” is not activated
($MN_MM_NUM_TOOL_CARRIER 0 0), then DELTC will also generate an alarm.
Example
In the TO unit there are 14 toolholder blocks defined with the numbers 1 to 14.
DELTC(5,8) ;sets the values of the data blocks 5, 6, 7, 8 to zero
DELTC(5,20) ;sets the values of the data blocks 5, 6, 7, ..., 14 to zero
DELTC(9) ;sets the values of the data block 9 to zero
DELTC() ;sets the values of the data blocks 1, ...., 14 to zero
DELTC(0,1) ;error --> alarm -- n, m must be greater than zero
DELTC(0,--2) ;error --> alarm -- n, m must be greater than zero
DELTC(0) error --> alarm -- n must be greater than zero
DELTC(15,20) error --> alarm -- n may be max. 14
DELTC(20) ;error --> alarm -- n may be max. 14
TCA behaves like the T command in respect of alarm and command output.
If neither TMMG nor TMMO are active, an alarm is generated.
Any alarms occurring during programming are handled in the same way as the
alarms during T programming.
Notice
Offset selection, in accordance with $MC_CUTTING_EDGE_DEFAULT, acts in the
same way as for the T command.
TCA and D must not be programmed in the same block.
Examples
1. Preparation and change with T command (i.e.
$MC_TOOL_CHANGE_MODE=0)
Configuration 1x turret, 1x toolholder
There are two tools with identifier “Finish cutting” and duplo numbers 1 and 2.
TCA(“Finish cutter”, 1,1)
The tool “Finish cutter” with duplo number 1 is loaded onto toolholder 1 at
change.
With the machine configuration assumed above, the following programming
would have the same result:
TCA(“Finish cutter”)
The duplo number is not specified, this means that the tool with the smallest
duplo number is changed, i.e. duplo “1”.
The toolholder no. is not specified. Therefore, the change is effective for the
current master toolholder, i.e. “1”.
2. Change with M6 ($MC_TOOL_CHANGE_MODE=1)
Configuration: 1x chain magazine, 2x spindles, spindle_1 is the master spindle.
4 tools are loaded, “MILLER_20MM”, with duplo numbers 4, 5, 8 and 15.
“MILLER_20MM”, duplo “8” was disabled and must be measured. Measuring
takes place on spindle 2.
TCA(“MILLER_20MM”,8,2)
M2=6
The tool “MILLER_20MM”, duplo “8” is prepared for spindle “2” and changed.
Here the following programming would lead to a different result:
TCA(“MILLER_20MM”)
M6
Tool “MILLER_20MM” with duplo “4” (smallest duplo number) was prepared for
spindle “1” (this is the master spindle) and changed with M6.
Notice
The following particularities apply for TCA in comparison with T commands:
1. TCA and D cannot be programmed in the same block.
2. TCA renders the set search strategies ($TC_MAMP2 and/or $TC_MAP10)
ineffective and ignores the programmed valued of $P_USEKT.
3. The tool must have status “available”.
4. The PLC interface signals “Transition to new replacement tool” and “Last
replacement tool of group” are not set.
5. TCA cannot be substituted (T replacement cycle).
----> I.e. TCA cannot be used as an alternative to the T command.
PLC
The PLC is not allowed to refuse a tool prepared with “TCA”.
Caution: Currently the interface does not have criteria whether a tool is to be re-
fused or not.
If you are working with this function, an additional identifier must be used
to indicate this to the PLC.
Notice
TCI cannot be programmed together with M06 in one NC block. Tool change
preparation and execution are carried out as one operation.
The TCI command cannot be substituted (T function replacement).
locNo Number of the buffer with the tool that shall be returned to the
magazine.
Since the locNo cannot be the location number of a toolholder,
returning the tool has no effect on active tool compensation.
Toolholder This specifies the number of the toolholder from where disposal
no. of the tool shall is to take place. This parameter is optional. If this
parameters is not specified, then the current master toolholder is
automatically selected.
Notice
The command TCI receives the location number of a location (gripper, loader,
transfer point) of the buffer magazine as the parameter. The location number can
be obtained by the the system variables $P_MAGNREL, $P_MAGREL in order to
use this NC command in other cycle programs.
Example
Let us assume the following magazine configuration:
-- Magazine1
is defined in the buffer magazine with 5 locations:
-- Spindle 2 (location 1) with grippers 1 and 2 (locations 3 and 4 coupled with the
spindle by $TC_MLSR[3,1] = 0 and $TC_MLSR[4,1] = 0)
-- Spindle 1 (location 2) with gripper 3 (location 5 coupled with the spindle by
$TC_MLSR[5,2] = 0)
The following is programmed:
TCI(2) ; generates alarm 6450
TCI(5) : changes the tool from location 5 (gripper 3) back to the magazine
TCI(9) : alarm 6403 (buffer only has the numbers 1 to 5
The user determines the sequence of disposal of the buffer locations by program-
ming.
PLC
TCI is excuted in the PLC like the programming of T0 M06.
The buffer number transferred in the DB72 has to be evaluated.
Notice
GETFREELOC does not reserve the empty location that is found!
magNo >0 Magazine number of the magazine where the empty location
was found.
Can also be used to specify the magazine number of the
magazine in which the search is to take place.
0 if no empty location was found
--1 TMMG not active
--2 invalid magazine number specified
--3 invalid magazine location number specified
The location number is also regarded as invalid if the maga-
zine number is invalid.
--4 invalid T number specified
--5 invalid letter for “refMag”
--6 if “refMag” = = “S”, invalid toolholder number “refLoc” speci-
fied
if “regMag” = = “L”, invalid loading location number “refLoc”
specified
locNo >0 Magazine location number of the empty location that was
found
Can also be used to specify the location number of the maga-
zine with the nominated magNo that is to be checked to see if
it can accept the nominated tool.
0 if no empty location was found
--1 TMMG not active
--2 invalid magazine number specified
--3 invalid magazine location number specified
The location number is also regarded as invalid if the maga-
zine number is invalid.
Notice
If several parameters are incorrect, the value of magNo, locNo will depend on
which parameter NCK checks first.
Name $P_USEKT
Meaning $P_USEKT is a bit-coded value. Only the contents of the
bits 0 -- 3 are of significance.
All tools having the parameter $TC_TP11 has set one of the bits
of $P_USEKT are available in the following tool changes. The
value 0 means that “all bits are set”.
An alarm is generated if there is no such tool in a tool group for
which a tool change was programmed.
Data type INT Effective from SW version 4.2
Access Read in part Write in part Read in Write in
program program synchronous synchronous
action action
x x -- --
Implicit -- --
preprocessor
stop
It is only when $P_USEKT has been programmed that the selection takes effect.
The selection is disabled by end of program or by a reset.
Bit coding makes it possible for a tool to belong to several tool subgroups. A maxi-
mum of 4 different tool subgroups is foreseen by the configuration of NCK, i.e. only
the bits 0, 1, 2 and 3 are considered.
Notice
The system variable $TC_TP11 was not evaluated in NCK up to now. The value is
automatically assigned 0. A check should be made in existing data blocks whether
the values included here are suitable.
The programming $P_USEKT = 0 means that all tools of the tool group are
considered in the tool selection.
The value $TC_TP11[t] = 0 means “The tool belongs to all defined tool
subgroups”. This assures compatibility with existing data blocks.
If working with the function T=location, $P_USEKT cannot be programmed.
$P_USEKT is set automatically at each tool change.
At Power ON, reset and end of program, $P_USEKT = 0 is set.
Example
The tool group “Miller_25” comprises 4 tools.
(The following applies: Tool_Change_Mode=1)
Miller_25 duplo 1 T_no. 1 TP11=1
Miller_25 duplo 2 T_no. 2 TP11=2
Miller_25 duplo 3 T_no. 3 TP11=4
Miller_25 duplo 4 T_no. 4 TP11=8
%MPF
...
T=“Miller_25”
M06 Every tool in this group can be loaded, as no selection has
been made The search strategy that has been set pre-
vails.
...
$P_USEKT=2
...
T=“Miller_25”
M06 “Miller_25”, duplo 2 loaded at change
...
$P_USEKT=9
...
T=“Miller_25”
M06 “Miller_25”, duplo 1 or duplo 4 loaded at change
(depending on the search strategy set)
...
$P_USEKT=0
...
T=“Miller_25”
M06 Every tool in this group can be loaded, as USEKT=0 has
canceled the selection. The search strategy that has been
set prevails.
...
$P_USEKT=15
...
T=“Miller_25”
M06 Every tool in this group can be loaded, as all bits are set.
The search strategy that has been set prevails.
Note: TOOLMN stands for = “tool magazine number”. The name component
$A_TOOL was selected to show the association with the existing system variables.
Name $A_TOOLMN[t]
Meaning Returns the magazine number of the tool with T no.=t. If the tool
is not assigned to a magazine, 0 is returned. If the tool manage-
ment function is not active, --1 is returned. If there is no tool with
T no.=t, --2 is returned.
An alarm is issued if the value range for the T number was vio-
lated.
Data type INT Effective from SW version 4.2
Value range 1--32000
Indices Meaning Value range
The index specifies the T number 1--32000
Access Read in part Write in part Read in Write in
program program synchronous synchronous
action action
x -- x --
Implicit x --
preprocessor
stop
Name $A_TOOLMLN[t]
Meaning Returns the magazine number of the tool with T no.=t. If the tool
is not assigned to a magazine, 0 is returned. If the tool manage-
ment function is not active, --1 is returned. If there is no tool with
T no.=t, --2 is returned.
An alarm is issued if the value range for the T number was vio-
lated.
Data type INT Effective from SW version 4.2
Value range 1--32000
Indices Meaning Value range
The index specifies the T number 1--32000
Access Read in part Write in part Read in Write in
program program synchronous synchronous
action action
x -- x --
Implicit x --
preprocessor
stop
Name $P_TOOLND[t]
Meaning Returns the number of cutting edges for tool with T no.=t. A tool
always has at least one cutting edge.
Default: If there is no tool with T no.=t, --1 is returned.
The value 0 is rejected as index error.
Data type INT Effective from SW version 4.2
Value range Default: --1, 1 -- 9
Function “flat D numbers”: --1, 1 -- “Machine data value for the
maximum number of D numbers”
Indices Meaning Value range
The index specifies the T number 1--32000
Access Read in part Write in part Read in Write in
program program synchronous synchronous
action action
x -- -- --
Implicit -- --
preprocessor
stop
If different tool materials are to be machined with the same tool, it may be neces-
sary to increase or reduce the time intervals for monitoring in order to detect the
varying degrees of tool wear. The factor is set accordingly before the tool is used.
The write operation is performed synchronously with the main run.
A channel-specific parameter, used to multiply the current time measurement, has
been defined.
Setting a value = 0 deactivates the time monitoring function for all tools used on
the channel via the part program (see Subsection 3.9.2).
Name $A_MONIFACT[t]
Meaning Only relevant when time monitoring is active in the tool manage-
ment.
Factor for influencing the time measurement for tracking time for
time-monitored tools.
Values < 1 and > 0 slow down time measurement (the clock
“runs slower”).
Values > 1 speed up the time measurement (clock “runs faster”).
Value 1 is active after the control has been powered up, after
Reset and M30 (default) and corresponds to real time. Value 0 is
also permitted and disables time measurement of all time-moni-
tored tools that are operated on a time-monitored spindle on this
channel.
Note: You can cause the monitoring time to “run backwards” by
using negative values.
Data type REAL Effective from SW version 4.2
Value range Value range of type REAL
Indices Meaning Value range
--
Access Read in part Write in part Read in Write in
program program synchronous synchronous
action action
x x x x
Implicit -- x
preprocessor
stop
Read OPI: The time values are divided by the current value of
$A_MONIFACT and transferred.
Write OPI: The time values output by the OPI are multiplied by the current
value of $A_MONIFACT and stored in the NCK.
Example
The current values are specified (units in real time, i.e. normalized to $A_MONI-
FACT = 1).
Programmed tool life: 10 minutes
Actual tool life: 2 minutes -- the prewarning limit will be reached in
one minute
Prewarning limit: 1 minute
The values 10, 2, 1 are displayed on the screen.
$A_MONIFACT = 2 is programmed in the part program (clock runs faster). The
actual tool life displayed on the monitor jumps and continues to run in real time.
The programmed tool life and prewarning limit displayed also jump as soon as
$A_MONIFACT = 2 takes effect.
Programmed tool life 5 minutes
Actual tool life: 1 minute -- the prewarning limit will be reached in
half a minute
Prewarning limit: 0.5 minutes
This means one tool can be time-monitored, the other tool can be count-monitored.
A third tool could be both wear as well as time-monitored.
Therefore the order of tools for use is: Duplo no.= 3 --> 2 --> 1.
Example 2:
A tool group “TL1” is defined. E.g. $TC_MAMP2=“H108” applies -- smallest actual
value:
$AC_MONMIN
The above definition of the actual value applies for the actual value that is checked
against the set value given the factor $AC_MONMIN here.
The following check is made for the absolute actual-value comparison (time moni-
toring taken here as the example):
$TC_MOP2 >= $AC_MONMIN * $TC_MOP11.
This is the criterion for the usability of the tool.
The following check is made for the relative actual value comparison (time monitor-
ing taken here as the example):
$TC_MOP2 / $TC_MOP11 >= $AC_MONMIN
This is the criterion for the usability of the tool.
The result is the same in each case.
Notice
The smallest of the actual values (both absolute as well as relative) of the cutting
edges of a tool is used for the comparison with the actual values of other tools.
Name $AC_MONMIN
Meaning Only when TOOLMAN function is active
Gives the factor for the tool-search strategy “Only consider those
tools whose actual value is at least a factor $AC_MONMIN* of
the set value away from the limiting value.
The programmed value is ignored if the tool status “disabled”
shall be ignored during the tool search. This can be initiated
either by the command TCA, PLC signal or machine data for
start/reset.
See also the system variables $TC_MOPx, $TC_MAMP2.
Data type REAL in software version 6 and higher
Name $AC_MONMIN
Value range 0--1
Indices Meaning Value range
Restrictions
If different types of tool monitoring are selected for the tools of a tool group, then
the decision has to be made whether it is meaningful for the specific application to
use the tool-search strategy “Search tool with smallest or largest actual value” in
this tool group.
Similar conditions apply when working with multiple-edge tools. Also, it is neces-
sary to consider whether it is meaningful to apply the tool search strategy “Search
tool with smallest or largest actual value” in this tool group.
Notice
As for the other tool search strategies, that tool is preferred for use that is on the
spindle or in one of the assigned buffer at the time of the tool search; i.e. the tool
search strategy is not applied.
The PLC signal “Do not disable tool” renders the tool search strategy ineffective in
accordance with $AC_MONMIN.
Activation
The following must apply so that the tool-monitoring-specific tool search strategies
can be effective:
-- The sub-function “Tool-monitoring function” must be active within the toolma-
nagement function,
-- The appropriate monitoring parameter values ($TC_MOP1, ....) must have
been set for the cutting edges of the tools.
-- The monitoring must be activated for the appropriate tool (system variable
$TC_TP9).
-- $AC_MONMIN be programmed in the part program as well. The pro-
grammed value is only meaninful if points 1, 2, and 3 are met.
Name $P_TOOLNG
Meaning Number of defined tool groups that are assigned to the channel.
> 0 Read access successful
0 no tool group defined
(tool group is defined by writing the tool name)
--1 neither function TMMG nor TMMO active
Data type INT in software version 6 and
higher
Value range 1--32000
Indices Meaning Value range
This function is available for TMMO, TMMG, TMFD and TMBF. The function “addi-
tive offset” must have been activated via MD.
Name $P_TOOLNDL[t,d]
Meaning Determine the number of defined DL numbers of a D offset. The
command can generally be programmed.
Number of DL offsets for D offset provided by T no. = t, D no. = d
> 0 Numer of DL offsets
0 No DL offsets for this D offset
--1 Additive offset function not active
--2 t is the value of a non-defined tool
--3 d is the value of a non-defined D offset
Data type INT in software version 6 and higher
Value range 1--32000
Indices Meaning Value range
t = T number
d = D number
Name $P_TOOLNDL[t,d]
Access Read in part Write in part Read in Write in
program program synchronous synchronous
action action
X -- -- --
Implicit -- -- --
preprocessor
stop
Name $A_USEDND[s]
Meaning Number of different cutting edges used on toolholder s since the
last workpiece count including the currently used active cutting
edge. Each tool used is included at least once. Index s means:
TMMG + TMMO
Spindle number/toolholder number
s = 0 means that the currently active master toolholder is selected.
TMMO active without TMMG
a) $MC_T_M_ADDRESS_EXT_IS_SPINO = FALSE: s is not
evaluated. It is not possible to count the workpieces
separately according to toolholders.
b) $MC_T_M_ADDRESS_EXT_IS_SPINO = TRUE: s = 0
means that the currently active master toolholder is selected.
> 0 Number of adapter cutting edges used.
0 No more tools used since the last workpiece count
--1 TMMO is not active
--2 s is the value of a non-defined toolholder
Data type INT in software version 6 and higher
Value range 1--32000
Indices Meaning Value range
s = 1, ...., MAXNUM_AXES_PER_CHAN
s = 0 indicates the master toolholder
Access Read in part Write in part Read in Write in
program program synchronous synchronous
action action
X -- -- --
Implicit -- -- --
preprocessor
stop
Name $A_USEDT[i,s]
Meaning T number of the tool of the i-th cutting edge of cutting edges that
have been used on the toolholder s since the last workpiece
count or are still being used. The index s means:
TMMG + TMMO
Spindle number/toolholder number
s = 0 means that the currently active master toolholder is
selected.
TMMO active without TMMG
a) $MC_T_M_ADDRESS_EXT_IS_SPINO = FALSE: s is not
evaluated. It is not possible to count the workpieces
separately according to toolholders.
b) $MC_T_M_ADDRESS_EXT_IS_SPINO = TRUE: s = 0
means that the currently active master toolholder is selected.
>0 T number (can also exist multiple times if different D offsets
of the tool were in use)
0 No more tools used since the last workpiece count
--1 TMMO is not active
--2 s is the value of a non-defined toolholder
Data type INT in software version 6 and
higher
Value range 1--32000
Indices Meaning Value range
s = 1, ...., MAXNUM_AXES_PER_CHAN
i = 1, ...., $A_USEDND
Access Read in part Write in part Read in Write in
program program synchronous synchronous
action action
X -- -- --
Implicit -- -- --
preprocessor
stop
Example
Two toolholders are defined with numbers 1 and 2. Toolholder no. 1 is the master
toolholder. On toolholder 1 up to now 3 tools with T numbers 10, 20, 30 were used;
on toolholder 2 one tool was used with T number 666. Each tool only has offset D1
defined.
The following program section is run in the status:
def int n1, n2, i, tNo
n1 = $A_USEDND[1] ; n1 = 3 same content would have been
; $A_USEDND[0]
n2 = $A_USEDND[2] ; n2 = 1
for i = 1 to n1
tNo = $A_USEDT[1,i]
MSG (“to T no. participating in workpiece machining =” << tNo
endfor
; The loop displays T numbers 10, 20, 30
T2=0 ; Bits 7, 8, 19 are set for synchronization in
; $MC_TOOL_MANAGEMENT_MASK. (auto-
; matic read-in disable until tool change is ac-
; knowledged with “End”.)
setpiece(5,2)
if (n2 == 1) tNo = $A_USEDT[1,1]
; sets tNo to value 0. setpiece was programmed
; since determination of n2. This deletes the list of
; tools used and there is currently no entry for the
; specified Index1 in the list of tools used.
Name $A_USEDD[i,s]
Meaning D number of the i-th cutting edge of cutting edges that have been
used on the toolholder s since the last workpiece count or are
still being used. The index s means:
TMMG + TMMO
Spindle number/toolholder number
s = 0 means that the currently active master toolholder is
selected.
TMMO active without TMMG
a) $MC_T_M_ADDRESS_EXT_IS_SPINO = FALSE: s is not
evaluated. It is not possible to count the workpieces
separately according to toolholders.
b) $MC_T_M_ADDRESS_EXT_IS_SPINO = TRUE: s = 0
means that the currently active master toolholder is selected.
>0 D number
0 No more tools used since the last workpiece count
--1 TMMO is not active
--2 s is the value of a non-defined toolholder
Data type INT in software version 6 and
higher
Value range 1--32000
Indices Meaning Value range
s = 1, ...., MAXNUM_AXES_PER_CHAN
i = 1, ...., $A_USEDND
Access Read in part Write in part Read in Write in
program program synchronous synchronous
action action
X -- -- --
Implicit -- -- --
preprocessor
stop
Example
See Chapter 5.8.44.
Example
See Chapter 5.8.44.
Example
See Chapter 5.8.44.
Example
See Chapter 5.8.44.
Let us assume the magazine configuration displayed in the diagram below. Infor-
mation about the current magazine configuration can be obtained by reading the
system variables described here.
6
5
7
4
8
In 1st internal magazine In 2nd internal magazine
(loading magazine; 9999) (buffer; 9998)
3
9
Magazine1
$TC_MDP2[1,1]=5
$TC_MAP8[1]=6
2
10 Gripper 1
Station 1
loading point Change position
1
Loading station 1 11
$TC_MLSR[1,3] = 0
Station 2
16
$TC_MDP1[1,2]=11 12
15
13 $TC_MDP2[1,3]=5
14 Spindle 1
Station 3
$TC_MDP2[2,3]=11
6
$TC_MDP1[2,1]=7 5
7
Loading station 2
Station 1 4
8 $TC_MLSR[1,3] = 0
loading point Change position
3 Gripper 2
9 Station 2
Magazine2 $TC_MDP2[2,2} = 11
2 $TC_MAP8[1]=13
10
1
11
16
12
15 13
14 is the magazine zero
N700 noOfRel=$P_MAGNREL[1]
; noOfRel contains value=2 grippers 1 and 2 are
; assigned to the spindle
; display the numbers of the grippers defined in the magazine configuration for
spindle no. 1
N720 for i=1 to noOfRel
N740 MSG (“Magazine no.=”<< $P_MAGREL[1,i] )
; Display numbers 1, 2
N760 endfor
Example
The following three hierarchies are defined
Hierarchy 1: 5 < 4 < 3:
$TC_MPTH[0,0] = 5
$TC_MPTH[0,1] = 4
$TC_MPTH[0,2] = 3
Hierarchy 2: 7 < 8:
$TC_MPTH[1,0] = 7
$TC_MPTH[1,1] = 8
Hierarchy 3: 1 < 2 < 9 < 6:
$TC_MPTH[2,0] = 1
$TC_MPTH[2,1] = 2
$TC_MPTH[2,2] = 9
$TC_MPTH[2,3] = 6
We want to know how many hierarchies in total are defined and how many maga-
zine location types are contained in each hierarchy.
N10 def int noOfH, noOfTypes[8], locTypeNo
N100 noOfH=$P_MAGNH ; noOfH is assigned value = 3
N220 for i=1 to noOfH
N240 noOfTypes[i - 1]=$P_MAGNHLT[ i ]
; set the values 3, 2, 4 in the array
N260 endfor
Furthermore, we want to know which magazine location types are defined in the
2nd hierarchy
N220 for i=1 to noOfTypes[1]
N240 MSG (“Magazine no.=”<<$P_MAGHLT[2, i])
; display values 7, 8
N260 endfor
Name $P_TOOLNO
Meaning Active tool numbers T0 to T32000, T can take eight digits with
TMFD
Data type Integer in software version 2 and higher
Value range 1--32000
Indices Meaning Value range
Name $P_TOOLP
Meaning Tool number last programmed
Command is available for TMBF, TMFD and TMMO.
It is analogous to the TMMG-specific command GETSELT.
Data type Integer in software version 5.3 and higher
Value range 1--32000
Indices Meaning Value range
Name $P_TOOL
Meaning Active tool cutting edge (Dx)
Data type Integer in software version 2 and higher
Value range
Indices Meaning Value range
Name $P_DLNO
Meaning Active additive offset DL=0--DL=max;
max=value of $MN_MM_MAX_SUMCORR_PER_CUTTEDGE
$P_DLNO is analogous to the already existing parameters
$P_TOOL, $P_TOOLNP and active D and T numbers.
Data type Integer in software version 5.3 and higher
Value range 0--6
Indices Meaning Value range
Name $P_TOOLL[n]
Meaning Active tool total length; n = 1...3
Data type REAL in software version 2 and higher
Value range
Indices Meaning Value range
Name $P_TOOLR
Meaning Active radius
Data type REAL in software version 2 and higher
Value range
Indices Meaning Value range
Name $P_TC
Meaning Active toolholder
Data type Integer in software version 5.3 and higher
Value range
Indices Meaning Value range
Name $P_TCANG[n]
Meaning Active angle of a toolholder axis; n = 1--2
Data type REAL in software version 5 and higher
Value range
Indices Meaning Value range
Name $P_TCDIFF[n]
Meaning Difference between calculated and used angle of a toolholder
axis for the matrix (Hirth tooth system) of the angle
Data type REAL in software version 5.3 and higher
Value range
Indices Meaning Value range
Name $P_AD[n]
Meaning Active tool offset; n = 1...31
n=1--25 $TC_DP1 to $TC_DP25
n=26 $TC_DPCE (optional)
n=27 $TC_DPH (optional)
n=28 $TC_DPV (optional)
n=29 $TC_DPV3 (optional)
n=30 $TC_DPV4 (optional)
n=31 $TC_DPV5 (optional)
Data type DOUBLE in software version 2 and higher
Value range
Indices Meaning Value range
Name $P_ADT[n]
Meaning When compensation parameters are read, this parameter
returns transformed values of the parameters controlled by the
tool adapter transformation -- if the active tool is attached to an
adapter.
n=1--25 $TC_DP1 to $TC_DP25
n=26 $TC_DPCE (optional)
n=27 $TC_DPH (optional)
n=28 $TC_DPV (optional)
n=29 $TC_DPV3 (optional)
n=30 $TC_DPV4 (optional)
n=31 $TC_DPV5 (optional)
Data type DOUBLE in software version 6 and higher
Value range
Indices Meaning Value range
n: Parameter numbers 1 to 31
Access Read in part Write in part Read in Write in
program program synchronous synchronous
action action
X -- -- --
Implicit -- -- --
preprocessor
stop
Name $AC_MSNUM
Meaning Master spindle, return value
0: No spindle configured
1...n: Number of the master spindle
Data type Integer in software version 3 and higher
Value range
Indices Meaning Value range
Name $P_MSNUM
Meaning Master spindle
0: No spindle configured
1...n: Number of the master spindle
Data type Integer in software version 5.2 and higher
Value range
Indices Meaning Value range
Name $AC_MTHNUM
Meaning Master toolholder
Value=0 if no master toolholder defined
Value>0 number of the master toolholder
Data type Integer in software version 5 and higher
Value range
Indices Meaning Value range
Name $P_MTHNUM
Meaning Master toolholder
Value=0 if no master toolholder defined
Value>0 number of the master toolholder
Data type Integer in software version 5.3 and higher
Value range
Indices Meaning Value range
If a parameter for a cutting edge, tool or magazine that does not exist is written, a
new cutting edge, tool or magazine is created.
Notice
When a tool is created, all the cutting-edge-specific data of cutting edge D1 are
created with it.
(DP, DPC, MOP, MOPC are preset to “0”). The grinding-specific tool data
($TC_TG1...) is not created until one of the tool types ($TC_DP1) 400--499 has
been programmed for one of the cutting edges of the tool.
Deleting data
When data is deleted the memory area is deleted with it and automatically
released again.
A tool can only be deleted if it is not involved in the current machining process.
This applies both to tools selected or inserted with a “T” call and tools for which
constant grinding wheel surface speed or tool monitoring is active.
Notice
If tool management is active you must ensure that the tool being deleted is not
assigned to a magazine location ($TC_MPP6). This assignment must be removed
before the tool is deleted.
The grinding-specific tool data ($TC_TG1...) is created as soon as one of the tool
types ($TC_DP1) 400--499 has been programmed for any of the cutting edges of
the tool.
If the tool type is set from the current value taken from the range 400--499 to a
value outside this range, the grinding data memory is enabled again, i.e. the grind-
ing-specific data is lost.
With tool management: When deleting tools, the entries for the
$TC_TP1[0,0]; location data must also be corrected.
With tool management: When deleting tools, the entries for the
$TC_TP1[0,0] = 0; location data must also be corrected.
Example:
The tool contains the magazine location type for which it is intended. The maga-
zine type contains its own magazine location type. If the tool is assigned to the
magazine location, as a rule the location type cannot be changed again as this can
cause inconsistencies.
The resulting requirement is for tools and magazines to be loaded by a special rou-
tine into the PLC and that the structure-determining definitions may no longer be
changed during the preparation (these are e.g. magazine dimension, magazine-
location type, duplo no., tool name, ...). They do not include: cutting edge data,
magazine location status, tool status, ...
Load data
Because tools are linked to magazines via magazine location parameter
$TC_MPP6, the following rules for correct definition of tools and magazines must
be adhered to:
1. Load tool data
2. Load magazine data
3. Load $TC_MPP6 parameters (=> place tool in magazine location)
The same sequence is used for data backup.
The grinding data of a tool cannot be written until tool type = “grinding tool” has
been defined for at least one cutting edge.
The distance parameter ($TC_MDPx) and the buffer assignment parameter
($TC_MLSR) cannot be written until the magazines and their locations have been
defined.
Delete data
A tool cannot be deleted while it is still contained in a magazine. The following se-
quence of operations must be followed when deleting:
1. Delete the magazine data (this removes tools from the magazine); or remove
the tool explicitly from the magazine.
2. Delete tool data
In addition, a magazine cannot be deleted if it has status $TC_MAP3[i]= 8 (motion
is active). The delete command is rejected for all magazines even if only one mag-
azine is preventing the command from being executed.
Notice
If a single tool is to be deleted it must first be removed from the magazine location
with an unload operation and then it can be deleted.
Tools that are currently selected cannot be deleted! You can ensure that no tool is
selected beyond a part program by programming T0 before the end of a part
program independently of the settings in the machine data (see MD for selecting
tools beyond the end of a program).
Notice
If tool management is active, a tool can only be selected with the tool identifier
(name). If a T number is now programmed, then the number is used as the
identifier (name). The tool must then have received a T number a name during
loading.
Examples:
Tool selection with the following cutting edge selection
Cutting edge selection always refers to the tool that is changed with command
M06.
T1 M06 Tool change -- no D programmed; therefore offset selection
according to MD 20270
T5 Tool preselection
X .. Y.. Z... Working with T1 and the offset from MD 20270
D2 Offset D2 from T1 !!!
M06 Tool change; T5 is loaded at change -- offset selection
according to MD 20270
T1 Tool preselection
X.., Y... Working with T5 and the offset from MD 20270
When programming tool commands, main spindles and secondary spindles are
programmed differently. Only tool offset values of the main spindle tool are taken
into account by the geometry because only one active offset can be processed per
channel. Processing of tool commands for a secondary spindle is only relevant for
signal output to the PLC and the function GETSELT(...).
Spindle no. 2 = main spindle:
T2 = “DRILL”
M2 = 06
T1 = “MILLER” Select tool for secondary spindle
M1 = 06 Tool change: load tool in the secondary spindle
D1 Select cutting edge of “DRILL” (main spindle)
Spindle no. 2 = main spindle:
T2 = “DRILL” Selection a tool for the main spindle.
As an alternative, T= “DRILL” could also be specified.
T1 = x; Selection a tool for a secondary spindle.
M2 = 06 Tool change
As an alternative, M06 could also be specified.
D1 Select cutting edge of a tool with identifier “DRILL”
In MD 20110 RESET_MODE_MASK, bit 3 you can set whether the active tool and
tool offset are to be taken
S (= 1) from the test program which was last terminated in test mode
or
S (= 0) from the program which was last terminated before the test program was
activated.
Requirement: Bits 0 and 6 must be set in MD 20110.
$P_ISTEST
The system variable $P_ISTEST is for checking from the part program whether a
program test is active. The system variable returns the value TRUE when program
testing is active.
Location no.=1
Tool with the name “Drill” has
Drill, disabled
different duplo no.
T15
T is internal T no.
Location no.=6 Location no.=2
Revolver
Location no.=4
Location 2 is empty (has similar
Drill active
effect to T0 in NCK)
If the tools of the tool group are different magazines of the toolholder, the search
procedure is the same as with the standard TOOLMAN system.
Notice
With the T=location function, T= “Drill” can be programmed alternatively
T=1 ;Tool
T = “Drill” ;Tool with identifier Drill
Toolholder 1 Toolholder 3
Part program:
$TC_TP1[GETT(“DRILL”),0]=0
or alternatively:
DELT(“DRILL”)
OPI block TV
Calculation of line: Sequential number of the tools, if [ ] present
Calculation of column: N/A
OPI block TF
Calculation of line: See table
Calculation of column: N/A
NC commands
NCK states are read with the following NC commands.
Functions NC language SW
command version
Active TL no. T $P_TOOLNO
Last programmed TL no. (without tool $P_TOOLP
management)
Active tool offset D $P_TOOL
Active tool length; n=1--3 $P_TOOLL[n]
Active toolholder $P_TC
Active angle of a toolholder axis $P_TCANG[n]
Diff angle $P_TCDIFF[n]
Active radius $P_TOOLR
Number of cutting edges of tool t $P_TOOLND[t]
Tool exists with number $P_TOOLEXIST[t]
Active tool offsets, n=1--25,....31 $P_AD[n]
$P_ADT[n]
Active DL number $P_DLNO
Number of T word substitute subroutine $C_T SW 5
for T
Programmed TL identifier (with $C_TS SW 5
TOOLMAN) for substitute subroutine for T
Bool variable: contents in $C_T? $C_T_PROG SW 5
Bool variable: contents in $C_TS? $C_TS_PROG SW 5
1: Move (load/unload, relocate...); $AC_TC_FCT SW 5
2: Prepare change; 3: Change ON;
4: Change ON (turret, without M06);
5: Prepare change and change ON (with
M06)
Acknowledgment status of PLC FC 8 $AC_TC_STATUS SW 5
Toolholder or spindle number $AC_TC_THNO SW 5
New tool from magazine $AC_TC_MFN SW 5
New tool from location $AC_TC_LFN SW 5
New tool to magazine $AC_TC_MTN SW 5
New tool to location $AC_TC_LTN SW 5
Old tool from magazine $AC_TC_MFO SW 5
Old tool from location $AC_TC_LFO SW 5
Old tool to magazine $AC_TC_MTO SW 5
Old tool to location $AC_TC_LTO SW 5
Master spindle $AC_MSNUM SW 5
Master spindle $P_MSNUM SW 5
Complete backup
All the data of the active file system are output via file INITIAL.INI.
Tool data
All tool-specific data is backed up in file _N_TOx_TOA.
Magazine data
All magazine data is backed up in file _N_TOx_TMA.
Notice
Please make sure that the spindle is empty before backing up data. Should it
no longer possible e.g in the service case to change the tool, then the back-up can
still be executed. Alarm “22070 TO unit 000x, please load tool T=000x to
magazine and repeat data backup” is issued. The data is backed up correctly;
however, you must make sure that this backup is used only for this machine, since
the current states are also saved.
1. Tool definitions
$TC_TP1[ i ] Tool data
...
$TC_TP11[ i]
;
$TC_TPC1[ i ] CC user tool data
...
$TC_TPC10[ i ]
;
$TC_DP1[ i, j ] Cutting edge data (available without/with tool
management)
...
$TC_DP25[ i , j ]
;
$TC_DPC1[ i, j ] CC cutting edge data
...
$TC_DPC10[ i , j ]
;
$TC_MOP1[ i, j ] Monitoring data
$TC_MOP4[ i , j ]
;
$TC_MOPC1[ i, j ] CC monitoring data
...
$TC_MOPC10[ i , j ]
$TC_TPG1[ i ] Grinding (exists only for tools of type ‘Grinding tool’
... with/without TM)
$TC_TPG9[ i ]
;
$TC_TP1[ i+1 ] Tool data
...
$TC_TP11[ i+1 ]
;
$TC_TPG1[ i+1 ] Grinding
...
$TC_TPG9[ i+1 ]
;
...
...
2. Magazine definitions
$TC_MAMP1 Magazine module parameters
$TC_MAMP2
;
$TC_MPTH[ n, m ] Magazine location type hierarchy structures
;
$TC_MAP1[ i ] Magazine parameters
...
$TC_MAP8[ i ]
;
$TC_MAPC1[ i ] CC magazine parameters
...
$TC_MAPC10[ i ]
;
$TC_MPP1[ i, j ] Magazine location parameters
...
$TC_MPP5[ i, j ]
;
$TC_MPPC1[ i, j ] CC magazine location parameters
...
$TC_MPPC10[ i, j ]
;
$TC_MAP1[ i+1 ] Magazine parameters
...
$TC_MAP8[ i+1 ]
...
;
$TC_MDP1[ k, l ] Magazine distance to spindles,...
...
$TC_MDP2[ k, l ]
...
;
$TC_MLSR[ k, l ] Relationship between buffer locations and spindles;
...
$TC_MPP6[ i+1, j ]
$TC_MPP6[ i+1, j +1 ]
...
$TC_MPP6[ i+1 j +J ]
;
$TC_MPP6[ i+I, j ]
$TC_MPP6[ i+I, j +1 ]
...
$TC_MPP6[ i+I, j +J ]
;
M17
The data in the magazine module is only backed up if at least one magazine loca-
tion has been defined.
Notice
Tool management data of tool management functions not available are ignored
when writing data into the active file system. No alarm is produced.
An alarm (17020 = ‘Index error’) is however always generated by reading tool
management data that is not present.
This means that tool management data records (backup files) that have been
generated in the NCK with a special tool management function configuration can
be transferred to other SINUMERIK 840D controls that have different tool
management functions. The permitted data are then “filtered out”.
Notice
Attention shall be paid under all circumstances during the back-up routine that a
Power ON for the the HMI and NCK has been executed beforehand, e.g. by
OFF/ON, to ensure that the database is not opened.
Name $TC_MPP66[n,m]
Meaning T number (of the tool in the buffer) that has been reserved for
the location defined by n, m. A write operation is only meaningful
when uploading a backup file to the NCK.
The name is based on $TC_MPP6--T-No. of the tool in the
buffer.
Data type INT in software version 6 and
higher
Value range 1--32000
Indices Meaning Value range
n = Magazine number
m = Location number
Access Read in part Write in part Read in Write in
program program synchronous synchronous
action action
X X -- --
Implicit -- -- --
preprocessing
stop
software
The PLC blocks for tool management must be integrated into the PLC from the
“basic program” toolbox (FC 6, FC 7, FC 8, FC 22).
Options
The tool management option must be active.
Notes
18080 MM_TOOL_MANAGEMENT_MASK
MD number
Default setting: 0x0 Minimum input limit: 0 Maximum input limit: 0xFFFF
Changes effective after: Power ON Protection level: 1/7 Unit: --
Data type: DWORD Applies as of SW 2
Meaning: Activation of the tool management memory with “0” means:
The set tool management data do not occupy any memory, tool management is not avail-
able.
Bit 0=1: Memory for tool-management-specific data will be made available, the memory-
reserving machine data must however be accordingly set (MM_NUM_MAG-
AZINE_LOCATION, MM_NUM_MAGAZINE)
Bit 1=1: Memory for monitoring data is made available
Bit 2=1: Memory for user data (CC data) is made available
Bit 3=1: Memory for “consider adjacent location” is made available
Bit 4=1: Memory and function enable for the PI service _N_TSEARC = “complex search
for tools in magazines” is made available.
Bit5=1: Wear monitoring active
Bit 6=1: Wear group available
Bit 7=1: Reserve memory for adapter of magazine locations
Bit 8=1: Memory for insert and/or setup compensations
Bit 9=1: Tools of a turret no longer exit their turret location for a tool change (in terms of
display).
The coded type of memory reservation enables economic use of memory management for
the functionality provided.
Example:
Standard memory reservation for tool management:
MM_TOOL_MANAGEMENT_MASK = 3 (Bit 0 + 1=1) means tool management and tool
monitoring data are made available
MM_TOOL_MANAGEMENT_MASK = 1 means tool management without tool monitoring
function data
Special cases, errors,...
17500 MM_MAXNUM_REPLACEMENT_TOOLS
MD number Maximum number of replacement tools
Default setting: 0 Minimum input limit: 0 Maximum input limit: 32
Changes effective after: Power ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 5.1
Meaning: Only meaningful if tool management function or tool monitoring function are active
Value Meaning
0 The number of replacement tools is not monitored.
1 There can be exactly one replacement tool for each identifier.
This data does not affect memory requirements, but merely has a monitoring function.
Corresponding to... MD 18080: MM_TOOL_MANAGEMENT_MASK
Further references: Description of Functions: Memory Configuration (S7)
17510 $MN_TOOL_UNLOAD_MASK
MD number Behavior of tool data at unloading
Default setting: -- Minimum input limit: -- Maximum input limit: --
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 6.3
Meaning: When the tool is unloaded, some tool data can be assigned fixed values:
17515 $MN_TOOL_RESETMON_MASK
MD number Behavior of tool data at RESETMON
Default setting: 0x14 Minimum input limit: 0 Maximum input limit: 0xfffff960
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 7.3
Meaning: The RESETMON command specifies in the 5th parameter which tool status is to be reset.
If the 5th parameter is omitted, it is replaced with the value from this MD. This value is al-
ways used with PI service “_N_TRESMON”.
The bits are assigned like the bits in tool status $TC_TP8[x].
17520 $MN_TOOL_DEFAULT_DATA_MASK
MD number Create new tool: Data default setting
Default setting: -- Minimum input limit: -- Maximum input limit: --
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 6.3
Meaning: When a tool is redefined, some tool data can be assigned fixed default values. This way
simple applications do not need to process data which does not necessarily need to be
assigned individual values.
17530 $MN_TOOL_DATA_CHANGE_COUNTER
MD number Identify tool data change for HMI
Default setting: -- Minimum input limit: -- Maximum input limit: --
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 6.3
Meaning: HMI display support. This data setting allows explicit inclusion/exclusion of individual data
in the OPI variables (block C/S) toolCounter, toolCounterC, toolCounterM.
17540 MM_TOOLTYPES_ALLOWED
MD number Definition of tool types permitted in the NCK for tool offset selection
Default setting: Minimum input limit: Maximum input limit:
Changes effective after: Power ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 6.4
Meaning: Definition of tool types (see $TC_DP1) permitted in the NCK for tool offset selection. Tools
of any tool type can be loaded to the NCK, however, only the tool types specified here can
be defined in the tool determining the offset. A bit value = 1 means that the specified tool
type range is permitted for the offset selection. A bit value = 0 means that the specified tool
type range is not permitted for the offset selection. When an attempt is made to select an
offset for a cutting edge of this type, the selection is refused and an offset-capable alarm is
issued. Value = 0, 9999 for the tool type means “not defined”. In general, it is not possible to
select tool offsets with this value for the tool type.
Bit no. Description
0 Tool types 1 to 99 permitted
1 Tool types 100 to 199 permitted (milling tools)
2 Tool types 200 to 299 permitted (drilling tools)
3 Tool types 300 to 399 permitted
4 Tool types 400 to 499 permitted (grinding tools)
5 Tool types 500 to 599 permitted (turning tools)
6 Tool types 600 to 699 permitted
7 Tool types 700 to 799 permitted
8 Tool types 800 to 899 permitted
9 Tool types 900 to 999 permitted
Corresponding to...
Further references:
18082 MM_NUM_TOOL
MD number Number of tools the NCK can manage
Default setting: 30 Minimum input limit: 0 Maximum input limit: 600
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 2.
Meaning: The number of tools which the NCK can manage is entered here. The maximum possible
number of tools corresponds to the number of edges in the NCK.
Battery-backed memory is reserved for the number of tools.
Special cases, errors,...
Corresponding to... MD 18100: MM_NUM_CUTTING_EDGES_IN_TOA
Further references: Description of Functions: Memory Configuration (S7), Tool Offset (W1)
18084 MM_NUM_MAGAZINE
MD number Number of magazines the NCK can manage
Default setting: 3 Minimum input limit: 0 Maximum input limit: 32
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 2
Meaning: Tool management (TMG) only if MD tool management and option tool management are set:
Number of magazines that the NCK can manage (active and background magazines).
The non-volatile memory for the magazines is reserved with this machine data.
Important: One load magazine and a buffer magazine is set up in the tool management for
each TOA unit. These magazines must be taken into account.
18086 MM_NUM_MAGAZINE_LOCATION
MD number Number of magazine locations the NCK can manage
Default setting: 30 Minimum input limit: 0 Maximum input limit: 600
Changes effective after: Power ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 2
Meaning: TMG -- only if MD for tool management and tool management option are set:
Number of magazine locations that the NCK can manage.
The battery-backed memory for the magazines is reserved with this MD.
Important: The number of all buffer locations and loading points has to be taken into ac-
count here.
Value = 0: Tool management cannot be activated because no data can be created.
Special cases, errors,...
Corresponding to...
Further references: Description of Functions: Memory Configuration (S7)
18088 MM_NUM_TOOL_CARRIER
MD number Maximum number of toolholders
Default setting: 0 Minimum input limit: 0 Maximum input limit: 99999999
Changes effective after: Power ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 4.1
Meaning: The maximum number of toolholders that can be defined for orientational tools in the TO
range. The value is divided by the number of active TO units. The integer result indicates
how many toolholders can be defined per TO unit.
The data for defining a toolholder is set with the system variables $TC_CARR1,
...$TC_CARR14, or via HMI operator screens or generally via the variable service of the
OPI.
Example:
2 channels are active, with one channel per TO unit (=default).
3 holders must be defined in channel 1 and one holder in channel 2. The value to be set is
6 because 6/2 = 3.
Special cases, errors,...
Corresponding to...
Further references: Description of Functions: Tool Offsets (S7)
18090 MM_NUM_CC_MAGAZINE_PARAM
MD number Number of magazine data for users/compile cycles
Default setting: 0 Minimum input limit: 0 Maximum input limit: 10
Changes effective after POWER ON Protection level: 2/2 Unit: --
Data type: DWORD Applies as of SW 2
Meaning: Number of magazine parameters (of the integer type) that are made available to the user or
the Compile Cycle.
If this machine data is set, the amount of non-volatile memory required is increased by
sizeof(int)∗ max. number of magazines.
Special cases, errors,...
Corresponding to... MD 18084: MM_NUM_MAGAZINE
Further references:
18091 MM_TYPE_CC_MAGAZINE_PARAM[n]
MD number Type definition for magazine-oriented user data
Default setting: 3 Minimum input limit: 1 Maximum input limit: 6
Changes effective after: Power ON Protection level: 2/2 Unit: --
Data type: DWORD Applies as of SW 5.2
Meaning: The default settings for this machine data must not be altered.
Used to assign individual types to the parameters. The array index n can assume values
between 0 and the setting in machine data MD 18090: MM_NUM_CC_MAGAZINE_PA-
RAM.
The possible values of the MD = 1, 2, 3, 4, 5 and 6 denote the NC command types BOOL,
CHAR, INT, REAL, STRING and AXIS. The type FRAME cannot be defined here. Type
STRING must not be longer than 31 characters. Example:
MD 18090: MM_NUM_CC_MAGAZINE_PARAM=1
MD 18091: MM_TYPE_CC_MAGAZINE_PARAM=5
“UserMagazine” can be programmed for parameter $TC_MAPC1.
The non-volatile RAM is used. Changing the value can, but does not necessarily, result in
reconfiguration of the non-volatile memory.
Corresponding to... MD 18090: MM_NUM_CC_MAGAZINE_PARAM
MD 18084: MM_NUM_MAGAZINE
Further references:
18092 MM_NUM_CC_MAGLOC_PARAM
MD number Number of magazine location data for users/compile cycles
Default setting: 0 Minimum input limit: 0 Maximum input limit: 10
Changes effective after POWER ON Protection level: 2/2 Unit: --
Data type: DWORD Applies as of SW 2.
Meaning: Number of magazine-location data parameters (of the integer type) that are made available
to the user or the Compile Cycle.
If this machine data is set, the amount of non-volatile memory required increases by si-
zeof(int)∗ max. number of magazine locations.
Special cases, errors,...
Corresponding to... MD 18086: MM_NUM_MAGAZINE_LOCATION
Further references:
18093 MM_TYPE_CC_MAGLOG_PARAM[n]
MD number Type definition for magazine location-oriented user data
Default setting: 3 Minimum input limit: 1 Maximum input limit: 6
Changes effective after: Power ON Protection level: 2/2 Unit: --
Data type: DWORD Applies as of SW 5.2
Meaning: Settings deviating from the standard pre-assignment are not supported by
the standard HMI display up to now.
Used to assign individual types to the parameters. The array index n can assume values
between 0 and the setting in machine data MD 18092: MM_NUM_CC_MAGLOC_PARAM.
The possible values of the MD = 1, 2, 3, 4 and 6 denote the NC command types.
1 BOOL,
2 CHAR,
3 INT,
4 REAL and
6 AXIS
The type STRING cannot be used explicitly here, value 5 is treated like value 2. The type
FRAME cannot be defined here. Example:
MD 18090: MM_NUM_CC_MAGAZINE_PARAM=1
MD 18091: MM_TYPE_CC_MAGAZINE_PARAM=2
“UserMagazineLocation” can be programmed for parameter $TC_MPPC1.
The non-volatile RAM is used. Changing the value can, but does not necessarily, result in
reconfiguration of the non-volatile memory.
18094 MM_NUM_CC_TDA_PARAM
MD number Number of tool parameters for users/compile cycles
Default setting: 0 Minimum input limit: 0 Maximum input limit: 10
Changes effective after POWER ON Protection level: 2/2 Unit: --
Data type: DWORD Applies as of SW 2
Meaning: Number of tool-specific data that can be created for each tool (of type integer) and are
available to the user or compile cycle.
If this machine data is set, the amount of non-volatile memory required increases by si-
zeof(double) ∗ max. number of tools.
Special cases, errors,...
Corresponding to... MD 18082: MM_NUM_TOOL
Further references:
18095 MM_TYPE_CC_TDA_PARAM[n]
MD number Type definition for tool-oriented user data
Default setting: 4 Minimum input limit: 1 Maximum input limit: 6
Changes effective after: Power ON Protection level: 2/2 Unit: --
Data type: DWORD Applies as of SW 5.2
Meaning: Settings deviating from the standard pre-assignment are not supported by
the standard HMI display up to now.
Used to assign individual types to the parameters. The array index n can assume values
between 0 and the setting in machine data MD 18094: MM_NUM_CC_TDA_PARAM.
The possible values of the MD = 1, 2, 3, 4, 5 and 6 denote the NC command types.
1 BOOL,
2 CHAR,
3 INT,
4 REAL,
5 STRING and
6 AXIS.
The type FRAME cannot be defined here. Type STRING must not be longer than 31 char-
acters.
Example:
MD 18094: MM_NUM_CC_TDA_PARAM=1
MD 18095: MM_TYPE_CC_TDA_PARAM=5
“UserCuttingEdge” can be programmed for parameter $TC_TPC1.
The non-volatile RAM is used. Changing the value can, but does not necessarily, result in
reconfiguration of the non-volatile memory.
18096 MM_NUM_CC_TOA_PARAM
MD number Number of TOA data for users/compile cycles
Default setting: 0 Minimum input limit: 0 Maximum input limit: 10
Changes effective after POWER ON Protection level: 2/2 Unit: --
Data type: DWORD Applies as of SW 2
Meaning: Number of TOA data that can be created for each tool (of type Double) and are available to
the user or compile cycle.
If this machine data is set, the amount of non-volatile memory required increases by si-
zeof(double) ∗ max. number of edges.
Special cases, errors,...
Corresponding to... MD 18100: MM_NUM_CUTTING_EDGES_IN_TOA
Further references:
18097 MM_TYPE_CC_TOA_PARAM[n]
MD number Type definition for cutting edge-oriented user data
Default setting: 4 Minimum input limit: 1 Maximum input limit: 6
Changes effective after: Power ON Protection level: 2/2 Unit: --
Data type: DWORD Applies as of SW 5.2
Meaning: Settings deviating from the standard pre-assignment are not supported by
the standard-MMC display up to now.
Used to assign individual types to the parameters. The array index n can assume values
between 0 and the setting in machine data MD 18096: MM_NUM_CC_TOA_PARAM.
The possible values of the MD = 1, 2, 3, 4 and 6 denote the NC command types.
1 BOOL,
2 CHAR,
3 INT,
4 REAL,
6 AXIS.
The type STRING cannot be used explicitly here, value 5 is treated like value 2.
The type FRAME cannot be defined here. Example:
MD 18096: MM_NUM_CC_TOA_PARAM=1
MD 18097: MM_TYPE_CC_TOA_PARAM=5
“UserCuttingEdge” can be programmed for parameter $TC_DPC1.
The non-volatile RAM is used. Changing the value can, but does not necessarily, result in
reconfiguration of the non-volatile memory.
18098 MM_NUM_CC_MON_PARAM
MD number Number of monitoring data for users/compile cycles
Default setting: 0 Minimum input limit: 0 Maximum input limit: 10
Changes effective after POWER ON Protection level: 2/2 Unit: --
Data type: DWORD Applies as of SW 2
Meaning: Number of monitoring data that are created for each tool (of type integer) and are available
to the user or compile cycle.
If this machine data is set, the amount of non-volatile memory required is increased by
sizeof(int) ∗ max. number of cutting edges.
Special cases, errors,...
Corresponding to... MD 18100: MM_NUM_CUTTING_EDGES_IN_TOA
Further references:
18099 MM_TYPE_CC_MON_PARAM[n]
MD number Type definition for monitoring-related user data
Default setting: 3 Minimum input limit: 1 Maximum input limit: 6
Changes effective after: Power ON Protection level: 2/2 Unit: --
Data type: DWORD Applies as of SW 5.2
Meaning: Settings deviating from the standard pre-assignment are not supported by
the standard-MMC display up to now.
Used to assign individual types to the parameters. The array index n can assume values
between 0 and the setting in machine data MD 18098: MM_NUM_CC_MON_PARAM.
The possible values of the MD = 1, 2, 3, 4 and 6 denote the NC command types.
1 BOOL,
2 CHAR,
3 INT,
4 REAL and
6 AXIS.
The type STRING cannot be used explicitly here, value 5 is treated like value 2.
The type FRAME cannot be defined here.
Example:
MD 18098: MM_NUM_CC_MON_PARAM=1
MD 18099: MM_TYPE_CC_MON_PARAM=2
“UserCuttingEdge” can be programmed for parameter $TC_MOPC1.
The non-volatile RAM is used. Changing the value can, but does not necessarily, result in
reconfiguration of the non-volatile memory.
18100 MM_NUM_CUTTING_EDGES_IN_TOA
MD number Number of tool cutting edges in TO area
Default setting: 30 Minimum input limit: 0 Maximum input limit: 600/1500 (SW 5
and higher)
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 1
Meaning: Number of cutting edges possible in the TO area.
For each tool edge approx. 250 bytes per TOA block of the battery-backed memory are
reserved with this machine data irrespective of the tool type.
Tools with type 400--499 edges (=grinding tools) also occupy the location of a tool edge.
Example:
Define 10 grinding tools with one cutting edge each.
Then the min. settings must be made:
MM_NUM_TOOL = 10
MM_NUM_CUTTING_EDGES_IN_TOA = 20
see also MM_NUM_TOOL
Special cases, errors,... The data in the buffer are lost when the machine data are changed!
Corresponding to...
Further references: Description of Functions: Memory Configuration (S7)
18102 MM_TYPE_OF_CUTTING_EDGE
MD number Type of D number programming
Default setting: 0 Minimum input limit: 0 Maximum input limit: 1
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 4.1
Meaning: Activates the “flat D number management”.
The individual values determine the type of D programming (direct or indirect program-
ming): The default value is 0. This setting means that the NCK manages the T and D num-
bers.
A value > 0 is only accepted by the NCK if bit 0 is not set in MM_TOOL_MANAGE-
MENT_MASK, i.e. tool management (TMG) and tool monitoring (TMO) cannot be active at
the same time.
Value Meaning
0 No “flat D number management” active
1 Direct and absolute programming of D numbers
Values 2, 3 not enabled up to now
Special cases, errors,...
Corresponding to...
Further references: Description of Functions: Tool Offset (W1)
18104 MM_NUM_TOOL_ADAPTER
MD number Tool adapter in TO area
Default setting: 0 Minimum input limit: --1 Maximum input limit: 600
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 5
Meaning: Contains the number of tool data records available in NCK. This function can only be used
if magazine locations are available in the NCK. I.e. the tool management function must be
active. In order to activate the setting, bit 7 (=0x80) must be set in
MD $MN_MM_TOOL_MANAGEMENT_MASK.
Adapter data blocks and the cutting-edge-specific basis / adapter-data blocks are mutually
excluding. I.e. when adapter data are defined, then the parameter $TC_DP21, $TC_DP22,
$TC_DP23 or their values in NCK are available.
Value Meaning
--1 Every magazine location is automatically assigned an adapter,
i.e. internally there are just as many adapters foreseen as are foreseen by the
magazine locations set in MD $MN_MM_NUM_MAGAZINE_LOCATION.
0 No adapter-data definition possible. Cutting-edge-specific parameters
$TC_DP21, $TC_DP22 and $TC_DP23 are available in cases where adapters
are utilized outside the active TM.
>0 Number of adapter data records. By this, adapters can be defined independently
of magazine locations. An additional step following definition of the data assigns
the adapters to magazine locations.
18105 MM_MAX_CUTTING_EDGE_NO
MD number Maximum value of D number
Default setting: 9 Minimum input limit: 1 Maximum input limit: 32000
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 5
Meaning: Maximum number of D numbers per cutting edge is not affected by this.
The monitoring of the D number assignment associated with this value is only effective for
new definitions of D numbers. This means the existing data records are not checked later --
if the MD is changed.
Advisable setting:
$MN_MM_MAX_CUTTING_EDGE_NO equal to
$MN_MM_MAX_CUTTING_EDGE_PER_TOOL. If $MN_MM_MAX_CUTTING_EDGE_NO
> $MN_MM_MAX_CUTTING_EDGE_PER_TOOL is set, you should familiarize yourself
with the difference between offset number D and the tool edge number CE.
See also language commands CHKDNO, CHKDM, GETDNO, SETDNO, DZERO.
The is not evaluated with the function “flat D number” and accordingly is not meaningful
there.
The MD can change the memory requirements:
A change from “less than equal to” to “greater than” -- or vice versa -- in the values of both
the above mentioned MDs can influence the demand for volatile memory.
18106 MM_MAX_CUTTING_EDGE_PER_TOOL
MD number Max. number of D numbers per tool
Default setting: 9 Minimum input limit: 1 Maximum input limit: 12
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 5
Meaning: Maximum number of cutting edges (D compensation) per tool (per T number)
This allows greater security with the data definition. A value of 1 can be set if only tools with
one cutting edge are to be used. This will avoid the problem of assigning more than one
cutting edge to the tool when data is defined.
Logically the same value is set for MM_MAX_CUTTING_EDGE_NO as for
MM_MAX_CUTTING_EDGE_PER_TOOL. If MM_MAX_CUTTING_EDGE_NO is set
greater than MM_MAX_CUTTING_EDGE_PER_TOOL, you should familiarize yourself with
the difference between offset number D and the tool edge number CE.
See also language commands CHKDNO, CHKDM, GETDNO, SETDNO, DZERO.
The is not evaluated with the function “flat D number” and accordingly is not meaningful
there.
The MD can change the memory requirements:
A change from “less than equal to” to “greater than” -- or vice versa -- in the values of both
the above mentioned MDs can influence the demand for volatile memory.
18108 MM_NUM_SUMCORR
MD number Additive offsets in the TO area
Default setting: --1 Minimum input limit: --1 Maximum input limit: 9000
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 5
Meaning: Total number of additive offsets in NCK.
A setting of --1 means that the number of sum offsets equals the number of cutting edges *
number of sum offsets per cutting edge.
A value > 0 and < “Number of cutting edges* number of additive offsets per cutting edge”
means that per cutting edge, a maximum of the “Number of additive offsets per cutting
edge” can -- but does not need to -- be defined, i.e. the option is given for using the non-vol-
atile memory sparingly. Only the cutting edges defined for the explicit data have a additive
offset data block.
Non-volatile memory is reserved. The memory requirements for additive offset are doubled
if “Setup offset” is also configured and active; see MD $MN_MM__KIND_OF_SUMCORR.
Corresponding to... MD 18100: MM_NUM_CUTTING_EDGE_IN_TOA
MD 18110: MM_MAX_SUMCORR_PER_CUTTEDGE
Further references: Description of Functions: Tool Offset (W1)
18110 MM_MAX_SUMCORR_PER_CUTTEDGE
MD number Maximum number of sum offsets per cutting edge
Default setting: 1 Minimum input limit: 1 Maximum input limit: 6
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 1
Meaning: The following applies to MM_NUM_SUMCORR >0:
This data does not reserve memory, but is used for monitoring purposes only.
The following applies to MM_NUM_SUMCORR = --1:
This data reserves non-volatile memory.
Corresponding to... MD 18100: MM_NUM_CUTTING_EDGES_IN_TOA
MD 18108: MM_NUM_SUMCORR
Further references: Description of Functions: Memory Configuration (S7)
18112 MM_KIND_OF_SUMCORR
MD number Properties of additive offset in the TO area
Default setting: 0 Minimum input limit: 0 Maximum input limit: 0x1F
Changes effective after POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 5
Meaning: Properties of additive offsets in NCK.
Bit 0=0 “Additive offsets fine” are saved when the tool data is backed up.
Bit 0=1 “Additive offsets fine” are not saved when the tool data is backed up.
Bit 1=0 Setup offsets are saved when the tool data is backed up.
Bit 1=1 Setup offsets are not saved when the tool data is backed up.
Bit 2=0 If the function tool management (TMG) or tool monitoring (TMO) are used, then
setting the tool status to “active” has no effect on the “additive offsets
fine”/setup offsets already in use.
Bit 2=1 When the tool status is set to “active”, the existing additive offsets are set to
the value 0. This does not influence the setup offsets.
Changing the states of bits 0, 1, 2 and 3 does not alter the memory configuration. Changing
the status of bit 4 causes the non-volatile memory to be re-configured with the next Power
ON operation.
Corresponding to... MD 18100: MM_NUM_CUTTING_EDGES_IN_TOA
MD 18108: MM_NUM_SUMCORR
MD 18110: MM_MAX_SUMCORR_PER_CUTTEDGE
MD 18080: MM_TOOL_MANAGEMENT_MASK
MD 20310: MC_TOOL_MANAGEMENT_MASK
MD 18086: MM_NUM_MAGAZINE_LOCATION
MD 18104: MM_NUM_TOOL_ADAPTER
Further references: Description of Functions: Tool Offset (W1)
20096 T_M_ADDRESS_EXT_IS_SPINO
MD number Meaning of the address extension with T, M “tool change code”
Default setting: 0 Minimum input limit: 0 Maximum input limit: 1
Changes effective after: Power ON Protection level: 2/7 Unit:
Data type: Boolean Applies as of SW 6.1
Meaning: Only meaningful if functions “Tool and magazine management” / “Flat D numbers” are inac-
tive.
FALSE The contents of the address extension of the NC addresses T and M “change-
command number” are not evaluated by the NCK. The PLC determines the
meaning of the programmed extension
TRUE The address extension of NC addresses T and M “Change command number”
are interpreted as a spindle number. The NCK thus handles the extension in a
way analogous to the function tool management or TMFD.
The programmed D number always refers to the T number of programmed main-
spindle numbers.
Corresponding to... MD 20090: SPIND_DEF_MASTER_SPIND
MD 22550: TOOL_CHANGE_MODE
MD 22560: TOOL_CHANGE_M_CODE
Further references:
20110 RESET_MODE_MASK
MD number Definition of tool length compensation selection after power-up and reset
Default setting: 0x0 Minimum input limit: 0 Maximum input limit: 0x7FFF
Changes effective after: RESET Protection level: 2/7 Unit: HEX
Data type: DWORD Applies as of SW 2
Meaning: Definition of the basic PLC setting after booting and reset/end of part program with respect
to the G codes (especially current level and adjustable zero offset), tool-length offset and
transformation by setting the following bits (only the bits in bold are relevant for tool man-
agement):
Bit 0 Reset mode
Bit 1 Suppress auxiliary function output on tool selection
Bit 2 Selection of the reset response after Power ON; e.g. of tool offset
Bit 3 Selection of the reset response at the end of the test mode for active tool
offsets. This bit is relevant only if bits 0 and 6 are set.
It defines the relation for the “current setting for the active tool length
compensation”;
- The program which was active at the end of the test operation
- The program which was active before the test operation was activated
Bit 4 Reserved! Setting is now made in $MC_GCODE_RESET_MODE[..]
Bit 5 Reserved! Setting is now made in $MC_GCODE_RESET_MODE[..]
Bit 6 Reset response Active tool length compensation
Bit 7 Reset response Active kinematic transformation
Bit 8 Reset response Coupled-motion axes
Bit 9 Reset response Tangential follow-up
Bit 10 Reset response Synchronous spindle
Bit 11 Reset response Revolutional feedrate
Bit 12 Reset response Geo-axis replacement
Bit 13 Reset response Master value coupling
Bit 14 Reset response Basic frame
Bits 4 to 11 are evaluated only if bit 0=1.
Bit 15 Function for electronic gears, not relevant for tool management.
Bit 16=0 After end of program/reset, the number given by the MD SPIND_DEF_MAS-
TER_SPIND is the number of the master spindle
Bit 16=1 The programmed value of “SETM” is retained after end of program/reset
Bit 17=0 After end of program/reset, the toolholder number provided in MD TOOL_MAN-
AGEMENT_TOOLHOLDER is the number of the master toolholder
Bit 17=1 The programmed value of SETMH is retained after end of program/reset
Both bits are only meaningful if bit 0=1 is set as well. Bit value=0 is set so that the behavior
applicable up to now is retained with bit 0=1. (The effect of bit 0=0 was and is that the val-
ues programmed for SETMTH/SETMS are retained at end of program.)
Corresponding to... MD 20120: TOOL_RESET_VALUE
MD 20130: CUTTING_EDGE_RESET_VALUE
MD 20150: GCODE_RESET_VALUES
MD 20152: GCODE_RESET_MODE
MD 20140: TRAFO_RESET_VALUE
MD 20112: START_MODE_MASK
MD 20121: TOOL_PRESEL_RESET_VALUE
MD 20118: GEOAX_CHANGE_RESET
Further references: Description of Functions: Coordinate Systems (K2)
20112 START_MODE_MASK
MD number Definition of tool length compensation selection after part program start
Default setting: 0x400 Minimum input limit: 0 Maximum input limit: 0x7FFF
Changes effective after: RESET Protection level: 2/7 Unit: HEX
Data type: DWORD Applies as of SW 3
Meaning: Definition of the basic PLC control for part-program start with respect to the G codes (espe-
cially current level and adjustable zero offset), tool-length offset, transformation and axis
coupling setting the following bits (only the bits in bold are relevant for tool management):
Bit 0 Not assigned: $MC_START_MODE_MASK is evaluated every time the part
program is started
Bit 1 Suppress auxiliary function output on tool selection
Bit 4 Start response G code Current plane
Bit 5 Start response G code Settable zero offset
Bit 6 Start response Active tool length compensation
Bit 7 Start response Active kinematic transformation
Bit 8 Start response Coupled-motion axes
Bit 9 Start response Tangential follow-up
Bit 10 Start response Synchronous spindle
Bit 11 Reserved
Bit 12 Start response “Geo-axis replacement”
Bit 13 Start response “Master value coupling”
Bit 14 Start response “Basic frame”
Bit 15 Function for electronic gears, not relevant for tool management.
Bit 16=0 The current value SETMS is retained (depends on the settings in RE-
SET_MODE_MASK)
Bit 16=1 At program start, the spindle defined in MD: $MC_SPIND_DEF_MAS-
TER_SPIND becomes the master spindle.
Bit 17=0 The current value SETMH is retained (depends on the settings in RE-
SET_MODE_MASK)
Bit 17=1 At program start, the number defined in MD: $MC_Tool_Management_Tool-
holder becomes the number of the master toolholder
Bit value=0 is set so that the behavior applicable up to now is retained.
Corresponding to... MD 20120: TOOL_RESET_VALUE
MD 20130: CUTTING_EDGE_RESET_VALUE
MD 20150: GCODE_RESET_VALUES
MD 20152: GCODE_RESET_MODE
MD 20140: TRAFO_RESET_VALUE
MD 20112: START_MODE_MASK
MD 20121: TOOL_PRESEL_RESET_VALUE
MD 20118: GEOAX_CHANGE_RESET
Further references: Description of Functions: Coordinate Systems (K2)
20121 TOOL_PRESEL_RESET_VALUE
MD number Preselect tool on Reset
Default setting: 0 Minimum input limit: 0 Maximum input limit: 32000
Changes effective after: RESET Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 4.1
Meaning: This data is only valid without tool management.
Definition of the preselected tool with MD 20310=1. A tool is preselected after power-up
and on Reset or end of part program as a function of MD 20110 and on start of part pro-
gram as a function of MD 20112.
Corresponding to... MD 20110: RESET_MODE_MASK
MD 20112: START_MODE_MASK
Further references: Description of Functions: Coordinate Systems (K2)
20122 TOOL_RESET_NAME
MD number Active tool at reset/start and tool management
Default setting: -- Minimum input limit: -- Maximum input limit: --
Changes effective after: RESET Protection level: 2/7 Unit: --
Data type: STRING Applies as of SW 3.2
Meaning: This data is valid only if the TM function is active.
Definition of the tool with which tool length compensation is selected during power-up and
on Reset or end of part program as a function of MD 20110 RESET_MODE_MASK and on
start of part program as a function of MD 20112 START_MODE_MASK.
Corresponding to... MD 20110: RESET_MODE_MASK MD 20112: START_MODE_MASK
MD 20124: TOOL_MANAGEMENT_TOOLHOLDER
MD 20130: CUTTING_EDGE_RESET_VALUE
Further references:
20123 USEKT_RESET_VALUE
MD number Effective value of $P_USEKT at RESET
Default setting: 0x0, ... Minimum input limit: 0 Maximum input limit: 0xF
Changes effective after: RESET Protection level: 2/7 Unit:
Data type: DWORD Applies as of SW 6.1
Meaning: Definition of the tool-technology group during booting and for a reset or end of main pro-
gram as a dependency on MD $MC_RESET_MODE_MASK and for a part-program start in
dependency on MD $MC_START_MODE_MASK. This data is only valid for an active tool
management (TMMG) and/or active tool-monitoring function.
Corresponding to... MD 20110: RESET_MODE_MASK
MD 20112: START_MODE_MASK
Further references:
20124 TOOL_MANAGEMENT_TOOLHOLDER
MD number Toolholder number
Default setting: 0,0,0,... Minimum input limit: 0 Maximum input limit: 16
Changes effective after: Power ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 3.2.
Meaning: This data is relevant only when the tool management function is active.
Definition of whether toolholder no. or spindle no. is given in order to defined the location of
use for a a tool to be loaded. The tool management must know on which tool holder the tool
is to be loaded.
If the MD is greater than 0, the spindle numbers $TC_MPP5 are interpreted as toolholder
numbers. The automatic address extension of T and from M06 is then the value for this MD
and no longer the value of MD 20090 SPIND_DEF_MASTER_SPIND.
With machines where there are several toolholders without a designated master spindle,
the MD serves as the default value in order to determine the toolholder for the tool shall be
loaded. Tool holder n is declared the master tool holder with SETMTH(n). Tools which are to
be loaded in a buffer location of the spindle type and which have the value $TC_MPP5=n
correct the tool path. Tools with a value not equal to n have no effect on the offset.
The command SETMTH is used to declare the toolholder defined in the MD as the master
toolholder again.
When defining the magazine locations of internal magazines, spindle locations
--$TC_MPP1=2=spindle-location can be assigned a location type index ($TC_MPP5). This
assignes a concrete tool holder to the location.
20126 TOOL_CARRIER_RESET_VALUE
MD number Operative toolholder on Reset
Default setting: 0 Minimum input limit: 0.0 Maximum input limit: plus
Changes effective after: Reset Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 4.1
Meaning: Definition of the toolholder with which the tool length compensation is selected during boot-
ing and for a reset or an end of the part program as a dependency on the machine data
$MC_RESET_MODE_MASK and for a main program start as a dependency on the ma-
chine data $MC_START_MODE_MASK.
Corresponding to... MD 20110: RESET_MODE_MASK
MD 20112: START_MODE_MASK
Further references: Description of Functions: Tool Offset (W1)
20128 COLLECT_TOOL_CHANGE
MD number Collect tool changes during block search
Default setting: 1 Minimum input limit: -- Maximum input limit: --
Changes effective after: Immediately Protection level: 2/7 Unit: --
Data type: BOOLEAN Applies as of SW 4.3
Meaning: This MD is only relevant when tool management is active.
It determines whether the tool change M code defined in MD 22560:
TOOL_CHANGE_M_CODE will be collected in the block search with calculation.
TRUE: Tool change M code is collected
FALSE: Tool change M code is not collected
The tool determined in the search run is displayed and treated as the current
tool. The T-number output is not affected by this.
The tool compensation data determined on the NCK side are effective. There is
on change in the magazine data, etc.
Without tool management the tool change M code is not collected if it is not assigned to any
auxiliary function group.
Corresponding to... MD 22560: TOOL_CHANGE_M_CODE
Further references:
20130 CUTTING_EDGE_RESET_VALUE
MD number Cutting edge effective at reset
Default setting: 0 Minimum input limit: 0 Maximum input limit: 32000
Changes effective after: RESET Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 2
Meaning: Definition of the tool cutting edge with which the tool length compensation is selected during
booting and for a reset or an end of the part program as a dependency on the machine data
$MC_RESET_MODE_MASK and for a main program start as a dependency on the ma-
chine data $MC_START_MODE_MASK.
When tool management is active and bits 0 and 6 set in $MC_RESET_MODE_MASK, the
last offset of the tool which was active on power-off -- generally the tool in the spindle -- is
operative after power-on.
Corresponding to... MD 20110: RESET_MODE_MASK
MD 20112: START_MODE_MASK
Further references: Description of Functions: Coordinate Systems (K2)
20132 SUMCORR_RESET_VALUE
MD number Additive sum effective at reset
Default setting: 0 Minimum input limit: 0 Maximum input limit: 6
Changes effective after: RESET Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 5
Meaning: Definition of the additive offset with which the additive offset is selected during booting and
for a reset or an end of the part program as a dependency on the machine data
$MC_RESET_MODE_MASK and for a main program start as a dependency on the ma-
chine data $MC_START_MODE_MASK.
Machine data $MC_MM_NUM_SUMCORR determines the maximum meaningful value
which can be entered.
Corresponding to... MD 20110: RESET_MODE_MASK
MD 20112: START_MODE_MASK
Further references: Description of Functions: Tool Offset (W1)
20140 TRAFO_RESET_VALUE
MD number Active transformation at RESET
Default setting: 0 Minimum input limit: 0 Maximum input limit: 8
Changes effective after: RESET Protection level: 2/7 Unit: --
Data type: BYTE Applies as of SW 2
Meaning: Definition of the transformation data set selected during booting and for a reset or an end of
the part program. In conjunction with machine data $MC_RESET_MODE_MASK and for a
part program start in conjunction with machine data $MC_START_MODE_MASK
Corresponding to... MD 20110: RESET_MODE_MASK
MD 20112: START_MODE_MASK
Further references: Description of Functions: Axes, coordinate systems,... (K2)
20150 GCODE_RESET_VALUES[n]
MD number Initial setting of G group
Default setting :{2, 0, 0, 1, 0...} Minimum input limit: 0.0 Maximum input limit: plus
Changes effective after: RESET Protection level: 2/7 Unit: --
Data type: BYTE Applies as of SW 1
Meaning: Definition of the G code which is to become effective at boot or reset/end of part program --
dependent on machine data $MC_RESET_MODE_MASK -- and at part program start --
dependent on machine data $MC_START_MODE_MASK.
The G code index defined in coenum.hh must be specified in the respective groups as
preset value.
Corresponding to... MD 20110: RESET_MODE_MASK
MD 20112: START_MODE_MASK
Further references: (K1, G2)
20152 GCODE_RESET_MODE[n]
MD number Reset behavior of G groups
Default setting: -- Minimum input limit: 0 Maximum input limit: 1
Changes effective after: RESET Protection level: 2/7 Unit: --
Data type: BYTE Applies as of SW 4.4
Meaning: This MD is only evaluated if bit 0 is set in $MC_RESET_MODE_MASK.
For each entry in MD $MN_GCODE_RESET_VALUES you determine whether at reset/part
program end the setting is to be applied again as set in $MN_GCODE_RESET_VALUES
(MD=0), or the currently active setting is to be maintained (MD=1).
Corresponding to... MD 20110: RESET_MODE_MASK
MD 20112: START_MODE_MASK
Further references: Description of Functions: Axes, coordinate systems,... (K2)
20270 CUTTING_EDGE_DEFAULT
MD number Basic setting of tool cutting edge after tool change without programming
Default setting: 1 Minimum input limit: --2 Maximum input limit: 32000
Changes effective after: Power ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 5.2
Meaning: If no cutting edge is programmed after a tool change, then the edge number preset in
CUTTING_EDGE_DEFAULT is applied.
Wert = 0: No cutting edge is initially active after a tool change. Cutting-edge selection
only takes at D programming.
Value = 1: MD_SLMAXCUTTINGEDGENUMBER, number of cutting edge (up to
SW 4 = 9)
Value = --1: Tool edge number of old tool also applies for new tool
Value = --2: Cutting edge (compensation) of the old tool remains active until D is pro-
grammed.
Corresponding to...
Further references: Description of Functions: Tool Offset (W1)
20272 SUMCORR_DEFAULT
MD number Basic setting of additive offset without programming
Default setting: 0 Minimum input limit: --1 Maximum input limit: 6
Changes effective after: Power ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 5
Meaning: The MD defines the number of the additive offset for the cutting edge that is active when a
new cutting-edge compensation is activated without a programmed DL value.
Machine data $MN_MAX_SUMCORR_PERCUTTING_EDGE determines the maximum
meaningful value which can be entered.
Value Meaning
>0 Number of additive offset
=0 No additive offset active with D programming
= --1 The additive sum number for the previously programmed D is used.
Corresponding to... MD 20270: CUTTING_EDGE_DEFAULT
Further references: Description of Functions: Tool Offset (W1)
Notice
The output of the DL number is controlled by the MD AUXFU_DL_SYNC_TYPE.
20310 TOOL_MANAGEMENT_MASK
MD number Channel-specific activation of tool management functions
Default setting: 0x0, ... Minimum input limit: 0 Maximum input limit: 0xFFFFF
Changes effective after: Power ON Protection level: 2/7 Unit: HEX
Data type: DWORD Applies as of SW 2
Meaning: MD = 0: Tool management inactive
Bit0=1: Tool management active
The tool-management functions are enabled for the current channel.
Bit 1=1: Tool management monitoring functions active
The functions for monitoring tools (tool life and workpiece count) are en-
abled.
Bit2=1: OEM functions active
The memory for user data can be utilized
(see also MD 18090 to 18098 )
Bit3=1: Consider adjacent location active
Bits 0 to 3 must be set identically to MD 18080 MM_TOOL_MANAGE-
MENT_MASK.
Meaning: Bit 4=1: The PLC has the option to request another T preparation with modified
parameters.
Ackonowledgement status “2”, “7” and “103” is enabled with this bit.
This causes the tool selection to be recalculated in the NCK.
Bits 5 to 8
Bit 5 and bit 7 refer to the main spindle
Bit 6 and bit 8 refer to the secondary spindles
Bit 5 = 1 The command output is considered completed if the internal transport
acknowledgement + the transport acknowledgement are present, i.e. if
the command was received by the basic PLC program (see Section
3.16.2)
Bit 19=1 additionally allows the block change to be prevented (main run)
until the required acknowledgements are received.
Bit 7 = 1 The command output is not considered completed until the end acknowl-
edgement from the PLC is received, i.e. the command was acknowledged
by the PLC user program with status “1” (see Section 3.16.2)
Bit 19=1 additionally allows the block change to be prevented (main run)
until the required acknowledgements are received.
Bit 5 and bit 7 (alternatively bit 6 and bit 8) are mutually exclusive!
Only the following combinations are permitted:
Bit 5 0 1 0
Bit 7 0 0 1
With the default setting, i.e. bit 5 to 8 = 0, synchronization is performed in the block in which
a cutting edge was first selected.
Setting these bits delays block processing.
Meaning: Bit 9: Reserved for testing purposes
Can also be used by the machine manufacturer in the test phase, as long
as the PLC program does not yet change tools
Meaning: Bit 10=1: M06 is delayed until the preparation is taken over by the PLC user pro-
gram.
The change command is only output when the preparation acknowledge-
ment is received. This can be, for example status “1” or “105”.
Bit 10=0 The change command is output without delay, immediately after the prepa-
ration command.
20310 TOOL_MANAGEMENT_MASK
MD number Channel-specific activation of tool management functions
Meaning: Bit 11=1: The tool preparation command (PLC command numbers = 2, 4, 5) is car-
ried out even if the same tool preparation command has taken place!
(Commands 4, 5 contain the tool preparation)
Example: (tool change takes place with M6 (PLC command number=3):
T=“TL1”; Tool preparation
M6; Tool change
T=“TL2”; 1st tool preparation after M6 (for the same toolholder)
; is always output to PLC
T=“TL2”; 2nd tool preparation, is only output as command to PLC if
bit 11 = 1
; This tool preparation counts as the first one if the status of the tool has
changed since the previous tool preparation such that it can no longer be
used.
A possible reason for this would be e.g. asynchronous unloading of a tool.
This tool preparation them attempts to select a replacement tool.
Bit 11=0: The preparation command can be output only once for each tool.
Meaning: Bit 12=1: The tool preparation command (PLC command numbers = 2, 4, 5) is car-
ried out even if the tool is already positioned in the spindle/toolholder.
T=“TL1”; Tool preparation
M6; Tool change
T=“TL1”; Tool is already placed on the toolholder
; 1st tool preparation after M6 (for the same toolholder)
; is only output to PLC if bit 12 = 1
; A tool that cannot be used (e.g. disabled due to tool monitoring) on the
toolholder does not count as if placed on the toolholder. This tool prepara-
tion them attempts to select a replacement tool.
T=“TL2”; 2nd tool preparation -- the following rules applies for bit 11 for
output
Bit 12=0: The preparation command is not executed if the tool is already inserted in
the spindle.
Bit 13=1: On Reset the commands are transferred from the diagnostics buffer to the
passive file system (TCTRA xx.MPF under part program). This file is re-
quired by the Hotline.
The tool sequences are only stored in the diagnostics buffer on systems
with sufficient memory (NCU572, NCU573).
Bit 14=1: Reset mode
Tool and offset selection according to the settings in MD:
$MC_RESET_MODE_MASK and $MC_START_MODE_MASK.
For information on how to do this, refer to Section 3.2.22.
Bit 14=0: No reset mode
Meaning: Bit 15=1: The tool is not returned if several preparation commands have been is-
sued (Tx-->Tx).
Bit 15=0: Tool is returned from any defined buffers.
Bit 16=1: T=Location number is active
Bit 16=0: T=“Tool name”
Bit 17=1: Tool life decrementation can be started/stopped via the PLC in channel
DB 2.1...DBx 1.3.
Bit 18=1: Activation of monitoring “last tool of tool group”
Bit 18 extends the search for a suitable tool, especially if there are many
disabled replacement tools.
Bit 18=0: No monitoring for “Last tool in tool group”
Bit 19=1: The synchronizations defined by bits 5...8 are relative to the main run
block, i.e. there is no block change until the required acknowledgements
are received
Bit 19 in conjunction with bits 5, 6, 7, 8 set delays the block processing.
Bit 19=0: The synchronizations defined by bits 5...8 are relative to the tool manage-
ment command output, i.e. there is no block change delay
20310 TOOL_MANAGEMENT_MASK
MD number Channel-specific activation of tool management functions
Meaning: Bit 20=0: The commands generated on PLC signal “program testing active” are not
output to the PLC. NCK acknowledges the commands itself. Magazine
and tool data are not changed.
Bit 20=1: The commands generated on PLC signal “program testing active” are
output to the PLC. Depending on the type of acknowledgement, tool/maga-
zine data can be changed in the NCK. If the acknowledgement parameters
for the “target magazine” are set to the same values as the “source maga-
zine”, the tool is not transported and thus no data modified in the NCK.
Bit 21=0: Default setting: Ignore the tool status “W” at tool selection
Bit 21=1: Tools in status “W” cannot be selected by another tool change, tool prepa-
ration command.
Bit 22=1 “Tool subgroups” function
$TC_TP11[x] is the grouping or selection parameter
(see Section 5.3.1, parameter $TC_TP11).
Bit 23=0 Default setting
The tool management selects the tool optimally securely in the main run,
i.e. the interpreter may have to wait for the end of the tool selection for
offset selection.
Bit 23=1 For simple applications
The interpreter selects the tool itself, i.e. no synchronization is required
with the main run for offset selection. (If the tool becomes no longer use-
able after selection but before loading, an uncorrectable alarm may result.)
Bit 24=0 Default setting
If the PLC commands 8 and 9 (asynchronous transfer) want to move a
tool to a location that is reserved for another tool, this is rejected and an
alarm is issued.
Bit 24=1 If the PLC commands 8 and 9 are to move a tool to a location that is re-
served for another tool with “Reserved for tool from buffer” (bit val-
ues=“H4”), this is possible. This location reservation is then removed be-
fore the movement is executed (“Reserved for new tool to be loaded” (bit
value=“H8”) remains effective).
Corresponding to... MD 18080: MM_TOOL_MANAGEMENT_MASK
MD 20320: TOOL_TIME_MONITOR_MASK
MD 20122: MC_TOOL_RESET_NAME
MD 20110: MC_RESET_MODE_MASK
MD 20124: MC_TOOL_MANAGEMENT_TOOLHOLDER
MD 22560: TOOL_CHANGE_M_CODE
Further references:
20320 TOOL_TIME_MONITOR_MASK
MD number Time monitoring for tool in spindle
Default setting: 0x0 Minimum input limit: -- Maximum input limit: --
Changes effective after: Power ON Protection level: 2/7 Unit: HEX
Data type: DWORD Applies as of SW 2
Meaning: Activation of tool time monitoring function for spindle 1....x.
As soon as the path axes are moved (not with G00), the time monitoring data for the tool
loaded in the appropriate spindle are updated.
Bit 0...x--1: Monitoring of active tool in spindle 1...x
Corresponding to...
Further references: Description of Functions: Memory Configuration (S7)
22550 TOOL_CHANGE_MODE
MD number New tool offset for T or M function
Default setting: 0 Minimum input limit: 0 Maximum input limit: 1
Changes effective after: Power ON Protection level: 2/7 Unit: --
Data type: BYTE Applies as of SW 1.1
Meaning: This machine data determines the mode of tool change
MD: TOOL_CHANGE_MODE = 0
The new tool data becomes effective directly when T or D is programmed.
This setting is used mainly for turning machines with tool revolver.
If there is no D programmed in the block with T, the tool offset which is defined in
$MC_CUTTING_EDGE_DEFAULT becomes effective.
The function “Manual tools” is not enabled for this case.
MD: TOOL_CHANGE_MODE = 1
The new tool is prepared for changing with the T function. This setting is used mainly on
milling machines with a tool magazine, in order to bring the new tool into the tool change
position without interrupting the machining process. With the M function set in MD:
TOOL_CHANGE_MODE the old tool is removed from the spindle and the new tool is
loaded into the spindle. According to DIN 66025, this tool change must be programmed with
the M function M06.
If there is no D programmed in the block with M, the tool offset which is defined in
$MC_CUTTING_EDGE_DEFAULT becomes effective.
22560 TOOL_CHANGE_M_CODE
MD number M function for tool change
Default setting: 6 Minimum input limit: 0 Maximum input limit: 99999999
Changes effective after: Power ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 1
Meaning: This machine data is effective only when TOOL_CHANGE_MODE = 1.
If the T function is only used to prepare a new tool for a tool change (this setting is used
mainly on milling machines with a tool magazine, in order to bring the new tool into the tool
change position without interrupting the machining process), another M function must be
used to trigger the tool change. The M function entered in TOOL_CHANGE_M_CODE
triggers the tool change (remove old tool from spindle and insert new tool in spindle).
This tool change is required to be programmed with M function M06, in accordance with
DIN66025.
Corresponding to... MD 22550: TOOL_CHANGE_MODE
Further references: Functional description for tool offset (W1)
22562 TOOL_CHANGE_ERROR_MODE
MD number Response when errors occur at tool change
Default setting: 0x0 Minimum input limit: 0 Maximum input limit: 0x1F
Changes effective after: Power ON Protection level: 2/7 Unit: --
Data type: DWORD Applies as of SW 5.1
Meaning: Bit 0=0 Standard response: Stop on faulty NC block
Bit 0=1: If the error occurs in the block containing the tool change preparation com-
mand, the alarm activated by the preparation command (T) is delayed until the
program run reaches the point at which the associated tool change command
(M06) is interpreted. Only then is the alarm output that is triggered by the prep-
aration command. The operator can make corrections in this block. When exe-
cution of the program is continued, the faulty NC block is interpreted again and
the preparatory command is internally executed again automatically.
This machine data is only relevant only if the setting MD 22550:
TOOL_CHANGE_MODE = 1 is used.
Bit 3=0 Default: If the tool on the spindle is blocked: Generate a tool-change command
that requests a spare tool. If there is no replacement, an alarm is produced.
Bit 3=1 The blocked state of the spindle tool is ignored. The tool is active. The following
part program should then be formulated so that no parts are machined with the
blocked HARMONIZE tool.
Bit 4=0 Default: The attempt is made to activate the spindle tool or the replacement tool
Bit 4=1 If the tool on the spindle is blocked, Initsat TO is programmed in the start.
The following statements are given for the combination of bit 3 and bit 4:
0 / 0: Response as before, automatic change at NC Start is the disabled tool is in the
spindle
1 / 0: Is not automatically changed
0 / 1: A TO is generated automatically for a disabled tool in the spindle at NC Start
1 / 1: No statement
22562 TOOL_CHANGE_ERROR_MODE
MD number Response when errors occur at tool change
Bit 5 Reserved
Bit 6=0 Default: with TO or D0 only TO or D0 are programmed. In other words, the
MD $MC_CUTTING_EDGE_DEFAULT, $MC_SUMCORR_DEFAULT define
the value of D, DL when TO is programmed.
Example: $MC_CUTTING_EDGE_DEFAULT=1, $MC_SUMCORR_DE-
FAULT=2, $MC_TOOL_CHANGE_MODE=0 (tool change with T programming)
N10 TO; T no. 0 has active number D1 and DL=2 which results in offset zero. If
bit 2 is additionally set:
Programming of
a) TO; for tool deselection
b) D0; for offset deselection
generates an alarm, if
a) At least one of MD $MC_CUTTING_EDGE_DEFAULT,
$MC_SUMCORR_DEFAULT is not equal to zero (TO D0 DL=0 is the correct
programming).
b) The MD $MC_SUMCORR_DEFAULT is not equal to zero (D0 DL=0 is the
correct programming).
Bit 6=1 Controls the NCK behavior with programming of (x, y, z all greater than zero), if
at least one of MD $MC_CUTTING_EDGE_DEFAULT,
$MC_SUMCORR_DEFAULT is not equal to zero.
a) Tx Dy --> TO
with TO, D0 or D0 DL=0 is automatically programmed in the NCK; i.e. values
not equal to zero for MD $MC_CUTTING_EDGE_DEFAULT, $MC_SUM-
CORR_DEFAULT are processed as if the value were equal to zero.
b) Tx Dy --> TO Dy, or TO DL =z, or TO Dy DL=z, or TO D0 DL=z explicitly
programmed values of D, DL are not influenced.
c) Dy DL=z --> D0
with D0, DL=0 is automatically programmed in the NCK; i.e. values not equal to
zero for MD $MC_SUMCORR_DEFAULT are processed as if the value were
equal to zero.
d) Dy DL=z --> D0 DL=z
explicitly programmed values of DL are not affected.
If bit 2 is additionally set:
you only need to program TO/D0 for tool/offset deselection for no alarm to be
issued.
The statements relative to $MC_SUMCORR_DEFAULT or DL are only valid if
the additive offset function is active (see $MN_MM_TOOL_MANAGE-
MENT_MASK, bit 8).
Bit 7=0 Programming Tx checks whether a tool with the T number x is known in the TO
unit of the channel. If it is not, processing stops in this block and alarm 17190 is
issued.
Bit 7=1 Only if tool basic functionality is active ($MC_TOOL_MANAGEMENT_MASK,
bit 0,1=0) and ($MN_MM_TYPE_OF_CUTTING_EDGE=0):
If Tx is programmed, any unknown Tx is first ignored and the alarm for the
preparation command (Tx) is ignored until D selection is interpreted in the pro-
gram execution. Only then is alarm 17191 output that was triggered by the
preparation command. This means that in this block, the operator could use the
D selection to make corrections. When execution of the program is continued,
the faulty NC block is interpreted again and the preparation command is inter-
nally executed again automatically.
(If the programmer wants to program Cutting-Edge-Default=0 or =--2 or D0 for
programmatical reasons, otherwise the D from Cutting-Edge-Default is dese-
lected at tool change.)
This variant can be required if you want to programm “Tool number=Location”
(turret as toolholder) without tool management. The turret can only be posi-
tioned at a location for which there is no tool defined (yet).
If bit 0=1 is set, this bit is irrelevant.
This behavior is compatible with software versions prior to 6.5.13.
20090 SPIND_DEF_MASTER_SPIND
MD number Initial setting of master spindle in channel
Default setting: 1, 1, 1, 1,... Minimum input limit: 1 Maximum input limit: 15
Changes effective after: Power ON Protection level: 2/7 Unit: --
Data type: BYTE Applies as of SW 1
Meaning: Definition of master spindle in channel. The number of the spindle is set.
Example:
1 corresponds to spindle S1. When S is programmed, the current master spindle is auto-
matically addressed.
The SETMS(n) command can be programmed to declare the spindle number as the master
spindle. SETMS declares the spindle defined in the MD to be the master spindle again.
Corresponding to...
Further references: Description of Functions: Spindles (S1)
28085 LINK_TOA_UNIT
MD number Allocation of a TO unit to a channel
Default setting: 1, 2, 3, 4, 5, ... Minimum input limit: 1 Maximum input limit: 10
Changes effective after: Power ON Protection level: 2/7 Unit:
Data type: DWORD Applies as of SW 2
Meaning: The area TO includes all tools, magazine, ... data blocks known to the NCK. The maximum
number of units in the TO area match the maximum number of channels.
If LINK_TOA_UNIT = default, then each channel is individually assigned a TO unit.
The channel is assigned the TO unit i when LINK_TOA_UNIT = i . It is thus possible to
assign one TO unit to several channels.
Notice
The upper limit value does not imply that the value is always meaningful or without conflict.
If one channel (the first) is active and the other not on a system with a total of 2 channels,
the MD on channel 1 can be formally set to a value of 2. However, the NCK cannot work
with this setting because it would mean that channel 1 possesses no data blocks for tool
offsets since a channel with Id=2 does not exist.
The NCK detects this conflict during power-on or a warm restart and reacts by indepen-
dently changing the (incorrect) setting to the default setting for the MD.
Corresponding to...
Further references: Description of Functions: Memory Configuration (S7)
10715 M_NO_FCT_CYCLE
MD number M function for cycle call
Default setting: --1 Minimum input limit: --1 Maximum input limit: --
Changes effective after POWER ON Protection level: 2/4 Unit: --
Data type: DWORD Applies as of SW 5.2
Meaning: M number via which a subroutine is called.
The name of the subroutine is stored in $MN_M_NO_FCT_CYCLE_NAME. If programmed
in a part program with the defined by $MN_M_NO_FCT_CYCLE, then the subroutine de-
fined in M_NO_FCT_CYCLE_NAME is started at the end of block.
If the M function is re-programmed in the subroutine, then there is no longer any replace-
ment by a subroutine call.
$MN_M_NO_FCT_CYCLE acts both in the Siemens mode G290 as well as in the external
language mode G291.
A subroutine call must not be superimposed on M functions with predetermined meaning.
Alarm 4150 is generated in case of a conflict:
-- M0 to M5,
-- M17, M30,
-- M40 to M45,
-- M function for selecting spindle/axis mode according to
$MC_SPIND_RIGID_TAPPING_M_NR (default M70)
-- M functions for nibbling/punching as configured in $MC_NIBBLE_PUNCH_CODE if
activated by $MC_PUNCHNIB_ACTIVATION.
-- for applied external language ($MN_MM_EXTERN_LANGUAGE) M19, M96--M99.
Exception: the M functions defined by $MC_TOOL_CHANGE_M_CODE for the tool
change.
The subroutines configured with $MN_M_NO_FCT_CYCLE_NAME and
$MN_T_NO_FCT_CYCLE_NAME may not be effective in one block (part-program line) at
the same time, i.e. max. one M/T function replacement can be effective per block. Neither
an M98 nor a modal subroutine call may be programmed in the block with the M-function
replacement. It is also illegal to program a subroutine return jump or end of part program.
Alarm 14016 is generated if these conventions are not observed.
Corresponding to...
Further references: ISO dialects for Sinumerik (FBFA)
10716 M_NO_FCT_CYCLE_NAME
MD number Name for tool-changing cycle with M functions from MD $MN_NO_FCT_CYCLE
Default setting: -- Minimum input limit: -- Maximum input limit: --
Changes effective after POWER ON Protection level: 2/4 Unit: --
Data type: STRING Applies as of SW 5.2
Meaning: The cycle name is stored in the machine data. This cycle is called if the the M function was
programmed from the machine $MN_M_NO_FCT_CYCLE.
If the M function is programmed in a motion block, then the cycle is executed after the mo-
tion.
$MN_M_NO_FCT_CYCLE acts both in the Siemens mode G290 as well as in the external
language mode G291.
If a T number is programmed in the calling block, the programmed T number
can be queried in the cycle under the variable $P_TOOL.
The subroutines configured with $MN_M_NO_FCT_CYCLE_NAME and
$MN_T_NO_FCT_CYCLE_NAME may not be effective in one block at the same time, i.e.
max. one M/T function replacement can be effective per block. Neither an M98 nor a modal
subroutine call may be programmed in the block with the M function replacement. It is also
illegal to program a subroutine return jump or end of part program.
Alarm 14016 is generated if these conventions are not observed.
Corresponding to...
Further references: ISO dialects for Sinumerik (FBFA)
10717 T_NO_FCT_CYCLE_NAME
MD number Name for tool-changing cycle with T number
Default setting: -- Minimum input limit: -- Maximum input limit: --
Changes effective after POWER ON Protection level: 2/4 Unit: --
Data type: STRING Applies as of SW 5.2
Meaning: This machine data defines the name of a tool cycle that is called when T is programmed. If
the T number is programmed in a motion block, then the cycle is executed after the motion.
10718 M_NO_FCT_CYCLE_PAR
MD number M function replacement with parameters
Default setting: -- Minimum input limit: --1 Maximum input limit: --
Changes effective after POWER ON Protection level: 7/2 Unit: --
Data type: DWORD Applies as of SW
Meaning: If a M function replacement was configured with $MN_M_NO_FCT_CYCLE[n] /
$MN_M_NO_FCT_CYCLE_NAME[n], then $MN_M_NO_FCT_CYCLE_PAR can be used
for specifying parameter passing for one of these M functions per system variable as is the
case for the T function replacement. The parameters stored in the system variables always
refer to the part program line in which the M function to be replaced is programmed.
10719 T_NO_FCT_CYCLE_MODE
MD number Parameter settings of T function substitution
Default setting: 0 Minimum input limit: 0 Maximum input limit: 7
Changes effective after POWER ON Protection level: 7/2 Unit: --
Data type: DWORD Applies as of SW
Meaning: Processing of the substitution program is parameterized in this MD for the tool selection/
tool offset selection.
Bit 0 = 0:
The D or DL number is passed to the substitution program (default value)
Bit 0 = 1:
The D or DL number is not passed to the substitution program if the following conditions are
fulfilled: $MC_TOOL_CHANGE_MODE = 1 programming of D/DL with T or M function with
which the tool-changing cycle is called, in one part program line
Bit 1 = 0:
Execution of substitution subroutine at end of block (default value)
Bit 1 = 1:
Execution of substitution subroutine at start of block
Bit 2 = 0:
Execution of substitution subroutine according to the setting for bit 1
Bit 2 = 1:
Execution of substitution subroutine at start of block and end of block
Corresponding to...
Further references: ISO dialects for Sinumerik (FBFA)
11717 D_NO_FCT_CYCLE_NAME
MD number Subroutine name for D function replacement
Default setting: --1 Minimum input limit: -- Maximum input limit: --
Changes effective after POWER ON Protection level: 7/2 Unit: --
11717 D_NO_FCT_CYCLE_NAME
MD number Subroutine name for D function replacement
Data type: STRING Applies as of SW
Meaning: Cycle name for D function replacement routine
If a D function is programmed in a part program block, the subroutine defined with
$MN_D_NO_FCT_CYCLE_NAME is called in accordance with the machine data
$MN_T_NO_FCT_CYCLE_NAME, $MN_T_NO_FCT_CYCLE_MODE and
$MN_M_NO_FCT_CYCLE_PAR.
The programmed D number can be queried in the cycle via the system variables $C_D /
$C_D_PROG.
A maximum of one M/T/D function replacement can be effective for each part program line.
A modal subroutine call may not be programmed in the block with the D function replace-
ment. It is also not permissible to program a subroutine return jump or end of part program.
Alarm 14016 is generated if these conventions are not observed.
Corresponding to...
Further references: ISO dialects for Sinumerik (FBFA)
The numbers of the Siemens machine data are listed in the following. These data
are defined by Siemens and must not be used by customers. No detailed descrip-
tion of them is given for this reason.
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
Notice
A detailed description of machine data 18091, 18093, 18095, 18097 and 18099
has been provided, but these MD may be used only if they are set to their
respective defaults.
Notes
1. The interfaces for loading magazines are organized in such a way in DB 71 that
a separate interface area is defined for every configured loading magazine. The
interface area for loading point 1 generally has the task of loading into the
spindle. It also receives commands for relocating and positioning tools in any
location.
2. DB 72 includes an independent interface area for every spindle defined in the
tool management system.
3. DB 73 includes an independent interface area for every turret in the magazine
configuration. The turret numbers are counted contiguously from the lowest to
the highest magazine number.
All interfaces are designed for receiving tool-management command (load, tool
change, ...). Basic program blocks FC 7 and FC 8 are used to communicate the
current positions of tools.
One of the interface is updated by NCK bia the basic program in accordance with a
command (e.g. by operating the function “Load” or by a part-program function like
“Tool change”).
Notice
If data for magazine, buffer or load/unload-position is changed in the installation
branch, then:
Create PLC
1. Press softkey data (HMI Avanced) or change the assignment of DB 4 in
the PLC program and
2. Delete data blocks DB 71 to DB 74 and perform a cold restart of the PLC.
DB71
DBX 0.0 -- 0.15 Active status of interface 1--16
Edge evaluation Signal(s) updated: Conditional Signals valid from SW version: 2
Signal state 1 The active interface has a valid data record. A task bit has been set in
DBB (n+0). There are 16 interfaces. Address “n” must always be cal-
culated for the active interface.
Signal state 0 Operation for this interface has ended. Is reset by FC 8.
Additional references
DB71
DBX(n+0).0 Command: Load
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 Load operation for a tool is initiated. The magazine location into which
the tool is to be loaded is defined in DBW (n+24) and DBW (n+26).
The loading point in question is the location number of the load point.
It also appears in DBW (n+18).
Corresponding to... DB71 DBW(n+16) and (n+18) or (n+24) and (n+26)
Additional references
DB71
DBX(n+0).1 Command: Unload
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 Unload operation for a tool is initiated. The magazine location from
which the tool is to be unloaded is defined in DBW (n+20) and DBW
(n+22). The number of the unload point is defined in DBW (n+18).
Corresponding to... DB71 DBW(n+16) and (n+18) or (n+20) and (n+22)
Additional references
DB71
DBX(n+0).2 Command: Relocation
Notice
The bits in DBB (n+0) (load, unload,....) are not updated by the basic program until
a new task exists for this interface. They are current only if the corresponding
interface bit in DBB0 is set to “1”. However, the bits can be reset by the user if
necessary.
DB71
DBX(n+0).3 Command: Positioning to loading point
Edge evaluation Signal(s) updated: Signal(s) valid from SW: 3.2
Signal state 1 A magazine location is to be positioned at the loading point (magazine
no. 9999). The magazine location to be moved to the loading point is
defined in DB71.DBW n+20 and n+22. The loading point is stored in
DB71.DBW n+18.
Corresponding to...
DB71.
DBB(n+2) Assigned channel
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning Number of channel for which active interface applies
Corresponding to...
DB71.
DBB(n+3) Tool management no.
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning Associated tool-management number; corresponds to the number of
the TO unit within a TO area
Corresponding to...
DB71.
DBW(n+16) Identifier for load/unload point (fixed value 9999)
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning The identifier for the loading/unloading point is fixed as the value
9999.
Corresponding to...
Additional references
DB71.
DBW(n+18) Location no. of the loading/unloading point
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW version 2
Meaning The location no. of the loading/unloading is displayed.
Corresponding to...
Additional references
Meaning HMI / Jobshop sets/deletes this signal when requested by the opera-
tor. If the bit is active, there must be no traversing motion of the mag-
azine, only a mechanical unlocking/locking of the location. The load/
unload command must be acknowledged after the action. With posi-
tioning and relocating request, this signal is not valid for a traversing
motion.
DBB n + 1 Unassigned
DBB n + 2 Assigned channel (8bit--Int)
DBB n + 3 Tool management number (8bit--Int)
DBD n + 4 $P_VDITCP[0]
User parameter 0 (DWord)
DBD n + 8 $P_VDITCP[1]
User parameter 1 (DWord)
DBD n +12 $P_VDITCP[2]
User parameter 2 (DWord)
DBW n + 16 Buffer identifier (Int), fixed value 9998)
equals “Target position for new tool”
DBW n +18 Relative location (target) in buffer magazine (Int)
DBW n +20 Magazine no. (source) for new tool (Int)
DBW n +.22 Location no. (source) for new tool (Int)
DBW n + 24 Magazine no. (target) for old tool (Int)
DBW n + 26 Location no. (target) for old tool (Int)
DBW n + 28 Tool new: Location type (Int)
DBW n + 30 Tool new: size left (Int)
DBW n + 32 Tool new: size right (Int)
DBW n + 34 Tool new: size top (Int)
DBW n + 36 Tool new: size bottom (Int)
DBW n + 38 Tool status for new tool
Tool was Tool with Prewarn. Tool cal- Tool en- Active
in use fixed loc. limit ibration abled tool
code reached
DBW n + 40 Tool new: Internal T no. of NCK (Int)
DBW n + 42 If DBX (n+0.4) = 1, then the buffer location of the old tool must be entered here
DBW n + 44 Source magazine of new tool (from SW version 6.4)
DBW n + 46 Source location of new tool (from SW version 6.4)
Notice
If only M06 is programmed, only free parameters (from SW version 6), channel,
tool management number and the bit for “Perform change” are updated.
DB72.
DBX 0.0 -- 0.15 Active status of interface 1--16
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 Associated interface has a valid block, a tool change request of tool
preparation has been initiated.
Signal state 0 Operation for this interface has ended. Is reset by FC 8.
Corresponding to...
DB72.
DBX(n+0).0 Command code: Obligatory change
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 The new tool is fixed-location-coded
Signal state 0
Corresponding to... Position of participating tools
Additional references
DB72.
DBX(n+0).1 Command code: Perform change with M06
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 M06 command was programmed for tool change, the tool change can
now take place.
Signal state 0
DB72.
DBX(n+0).2 Command code: Prepare change
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 Prepare new tool for change. If necessary, move location for old tool
to spindle.
Signal state 0
Corresponding to...
Additional references
DB72.
DBX(n+0).3 Command code: T0
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 Indicates that T0 has been programmed (no-load traversing of
spindle)
Signal state 0
Corresponding to...
Additional references
DB72.
DBX(n+0).4 Command code: Old tool in buffer
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 The buffer number of the tool to be changed is written in DB72.DBW
(n+42)
Signal state 0
Corresponding to...
Additional references
DB72.
DBX(n+0).5 Command code: Attach manual tool
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 A manual tool is to be loaded. Which tool is to be loaded is displayed
on the HMI.
Signal state 0
Corresponding to...
Additional references
DB72.
DBX(n+0).6 Command code: Detach manual tool
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 The tool is to be changed via manual operation.
Signal state 0
Corresponding to...
Additional references
DB72.
DBX(n+0).7 Command code: Tool remains in spindle
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 The bit is set at change from spindle to spindle. Initiated e.g. by reset
and start mode or block search.
Signal state 0
Corresponding to...
Additional references
Notice
The bit in DBB (n+0).2 (prepare change) is not reset by the system with a change
command. The bits in DBB(n+0)... are current only if the corresponding interface
bit in DBB0 is set to “1”. However, the bits can be reset by the user if necessary.
If DBX(n+0).1 and DBX(n+0).2 are present at the same time, it means that T and
M06 were programmed in one block.
DB72.
DBB(n+2) Assigned channel
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning Number of channel for which active interface applies
Corresponding to...
Additional references
DB72.
DBB(n+3) Tool management no.
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning Associated tool management number (TO area)
Corresponding to...
Additional references
DB72.
DBD(n+4) User parameter 0 (DInt)
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning If you need to send a value to the PLC via the part program, the trans-
fer can be programmed with $P_VDITCP[0]=(value). Values are trans-
ferred at T call.
From SW version 6 the parameters are also transferred with M06.
Corresponding to...
Additional references
DB72.
DBD(n+8) User parameter 1 (DInt)
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning If you need to send a value to the PLC via the part program, the trans-
fer can be programmed with $P_VDITCP[1]=(value);.
Corresponding to...
Additional references
DB72.
DBD(n+12) User parameter 2 (DInt)
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning If you need to send a value to the PLC via the part program, the trans-
fer can be programmed with $P_VDITCP[2]=(value);.
Corresponding to...
Additional references
DB73.
DBX(n+0).1 Command code: Perform change
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Signal state 1 Execute tool change
Signal state 0
Additional references
DB73. T0
DBB(n+0).3
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning Indicates that T0 was programmed.
Additional references
Notice
The bits in DBB (n+0) (obligatory change, execute change,...) are not reset by the
system. They are current only if the corresponding interface bit in DBB0 is set to
“1”. However, the bits can be reset by the user if necessary.
DB73. Reserved
DBW(n+16)
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning
DB73. Reserved
DBW(n+18)
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning
DB73. Reserved
DBW(n+24)
Edge evaluation Signal(s) updated: Conditional Signal(s) valid from SW: 2
Meaning
Corresponding to...
DBB 29 Tool block Disable De-acti- Activate Activate Activate Activate Activate
not effec- wear mon- vate PTP tra- fixed feed 4 fixed feed 3 fixed feed 2 fixed feed 1
tive itoring work- versal
piece
counter
DB21. The user can start and stop tool life monitoring time using PLC signal “Time monitor
active”. The effectiveness of this control is set via MD 20310 bit 17.
DBX 1.3
DBX 29.5
DBX 29.6
DB21. VDI signal “Tool disable ineffective” (bit value=1) means the NCK does not process the
tool status “Disabled” during tool search.
DBX 29.7 VDI signal “Tool disable effective” (bit value=0) means the NCK processes the tool
status “Disabled” during tool search.
DBX 317.7
Meaning A T number for tool prewarning limit, limit value, new replacement
tool, last replacement tool has been output with a value at the inter-
face at the beginning of an OB1 cycle together with the associated
modification signal. In this case, the change signal indicates that the
appropriate value is valid.
Corresponding to...
Additional references
Notes
Alarm no.
6402 Channel %1 tool change not possible because magazine no. %2 not available
Explanation %1 = channel ID, %2 = magazine number
The desired tool change is not possible. The magazine with the specified num-
ber is not available.
Reaction Alarm display.
Interface signals are set
NC Start disable
NC stop for alarm
Remedy -- Check whether the magazine data is correctly defined.
-- Check whether the magazine is connected to the required spindle via a dis-
tance relationship
Program Cancel the alarm with the RESET button and start the part program again.
continuation
Alarm no.
6403 Channel %1 tool change not possible because magazine no. %2 on magazine
%3 not available.
Explanation %1 = channel ID %2 = magazine number, %3 = magazine location number
The desired tool change is not possible. The specified magazine location is not
contained in the specified magazine.
Reaction Alarm display
Interface signals are set
NC Start disable
NC stop for alarm
Remedy -- Check whether the magazine data is correctly defined.
Program Cancel the alarm with the RESET button and start the part program again.
continuation
Alarm no.
6404 Channel %1 tool change not possible. Tool %2 not available or cannot be used
Explanation %1 = channel ID, %2 = string (identifier)
The desired tool change is not possible. The specified tool does not exist or
cannot be used.
Reaction Alarm display
Interface signals are set
NC Start disable
NC stop for alarm
Remedy -- Check whether the part program is written correctly.
-- Check whether the magazine data is correctly defined.
-- Check whether there is a replacement tool which can be used for the speci-
fied tool.
Program Cancel the alarm with the RESET button and start the part program again.
continuation
Alarm no.
6405 Channel %1 command %2 has an invalid PLC acknowledgement parameter %3
identification %4
Explanation %1 Channel ID, %2 = command no. %3 = PLC acknowledgement parameter,
%4 = error identification
The specified command has been answered by the PLC with an invalid ac-
knowledgement in the current combination. The following assignments are de-
fined for “command no.”:
1 Move tool, load or unload magazine
2 Prepare tool change
3 Execute tool change
4 Prepare tool change and execute with T command
5 Prepare tool change and execute with M command
7 Terminate aborted tool command
8 Check tool motion with reservation
9 Check tool motion
0 Transportation acknowledgment
The tool change defined by the command cannot be executed. The magazine
location specified in the invalid parameter does not exist in the magazine.
The error code (%4) explains the alarm in more detail:
0 Not defined
1 Status not allowed now or undefined status received from PLC
2 Source and/or destination magazine no. / location no. not known
3 Not defined
4 For tool motion command, the destination magazine no. and/or destina-
tion location no. are not the final destination
5 Not defined
6 For tool change, source and/or destination magazine no. / location no.
not known
7 PLC command with inconsistent data: either magazine addresses in-
consistent in VDI or NCK command not the same as the PLC acknowl-
edgement, or both
8 Not defined
9 Not defined
10 It is not defined to reserve buffer storage for an asynchronous tool mo-
tion.
Reaction Alarm display
Interface signals are set
NC Start disable
NC stop for alarm
Remedy Notify authorized personnel / service
Faulty PLC communication: correct the PLC program.
Program Cancel the alarm with the RESET button and start the part program again.
continuation
Alarm no.
6406 Channel %1 PLC acknowledge for command %2 is missing
Explanation %1 = channel ID, %2 = command no.
There is still no acknowledgement from the PLC for the tool change. The NCK
cannot continue processing until it receives this acknowledgement for the speci-
fied command number. Possible values are described under alarm 6405
Reaction Alarm display
Interface signals are set
NC Start disable
Remedy Notify authorized personnel / service
-- Faulty PLC communication: correct the PLC program.
-- It is possible to release NCK from the wait condition with the PLC com-
mand 7. This aborts the waiting command.
Program Cancel the alarm with the RESET button and start the part program again.
continuation
Alarm no.
6407 Channel %1 tool %2 cannot be placed in magazine %3 on location %4. Invalid
magazine definition!
Explanation %1 = channel ID, %2 = string (identifier), %3 = magazine number, %4 = maga-
zine location number
A tool change request or a verification request was issued to put the tool in a
location which does not satisfy the prerequisites for filling.
The following causes for the error are possible:
-- Location is blocked or not free
-- Tool type does not match the location type
-- Tool possibly too large, adjacent locations are not free
Reaction Alarm display
Interface signals are set
NC Start disable
NC stop for alarm
Remedy -- Check whether the magazine data is correctly defined (especially the loca-
tion type)
-- Check whether the tool data is correctly defined (especially the location
type)
Program Cancel the alarm with the RESET button and start the part program again.
continuation
Alarm no.
6410 TO unit %1 tool %2 with duplo no. %3 has reached a tool warning limit
Explanation %1 = TO unit, %2 = tool identifier (name), %3 = duplo number
Indication that at least one cutting edge of the timer or quantity-monitored tool
has reached its warning limit. The alarm is triggered via the OPI interface (HMI,
PLC). The channel context is not defined. The TO unit is therefore specified.
Reaction Alarm display
Interface signals are set
Remedy For information only. The user must decide what to do.
Program Clear the alarm with the cancel key. No further operator action required.
continuation
Alarm no.
6411 Channel %1 tool %2 with duplo no % 3 has reached tool warning limit
Explanation %1 = channel number %2 = tool identifier (name), %3 = duplo number
Indication that at least one cutting edge of the timer or workpiece quantity-moni-
tored tool has reached its warning limit. Limit is detected in the context of the
channel.
The alarm originates during NC program execution. The channel context is de-
fined.
Reaction Alarm display
Interface signals are set
Remedy For information only. The user must decide what to do.
Program Clear the alarm with the cancel key. No further operator action required.
continuation
Alarm no.
6412 TO unit %1 tool %2 with duplo no.%3 has reached tool monitoring limit
Explanation %1 = TO unit, %2 = tool identifier (name), %3 = duplo number
Indication that at least one cutting edge of the timer or quantity-monitored tool
has reached its monitoring limit. The alarm is triggered via the OPI interface
(HMI, PLC). The channel context is not defined, therefore the TO unit is speci-
fied.
Reaction Alarm display
Interface signals are set
Remedy For information only. The user must decide what to do.
Program Clear the alarm with the cancel key. No further operator action required.
continuation
Alarm no.
6413 Channel %1 tool %2 with duplo no % 3 has reached tool monitoring limit
Explanation %1 = channel number, %2 = tool identifier (Name), %3 = duplo number
Indication that at least one cutting edge of the timer or quantity-monitored tool
has reached its monitoring limit. Limit is detected in the context of the channel.
The alarm originates during NC program execution. The channel context is de-
fined.
Reaction Alarm display
Interface signals are set
Remedy For information only. The user must decide what to do.
Program Clear the alarm with the cancel key. No further operator action required.
continuation
Alarm no.
6421 Channel %1 tool motion not possible. There is no empty location for tool %2
duplo no. %3 in magazine %4.
Explanation %1 = channel ID, %2 = string (identifier), %3 = duplo number, %4 = magazine
number
The desired tool motion command -- triggered from the HMI or PLC -- is not
possible.
The tool cannot be moved into the specified tool magazine. There is no location
available for this tool.
Reaction Alarm display
Interface signals are set
NC Start disable
Remedy -- Check whether the magazine data have been defined correctly (e.g. the
magazine must not be disabled).
-- Check whether the tool data are correctly defined (for example, the tool
location type must match the location types allowed in the magazine).
-- Check whether there is still room in the magazine to add another tool; there
may not be due to operating procedures.
-- Check whether a location type hierarchy is defined and whether it, for exam-
ple, does not allow insertion of a type ’A’ tool in a free location with type ’B’.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
6422 Channel %1 tool motion not possible. Magazine no. %2 not available!
Explanation %1 = channel ID, %2 = magazine number
The desired tool motion command -- triggered from the HMI or PLC -- is not
possible.
The magazine with the specified number is not available.
Reaction Alarm display
Interface signals are set
NC Start disable
Remedy -- Check whether the magazine data is correctly defined.
-- If the PLC issued the command for motion: check whether the PLC program
is correct.
-- If the HMI issued the command for motion: check whether the HMI com-
mand was assigned correct parameters.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
6423 Channel %1 tool motion not possible. Magazine location no. %2 in magazine
%3 not available.
Explanation %1 = channel ID, %2 = magazine location number, %3 = magazine number
The desired tool motion command -- triggered from the HMI or PLC -- is not
possible.
The specified magazine location is not contained in the specified magazine.
Reaction Alarm display
Interface signals are set
NC Start disable
Remedy -- Check whether the magazine data is correctly defined.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
6424 Channel %1 tool motion not possible. Tool %2 not available or cannot be used
Explanation %1 = channel ID, %2 = string (identifier)
The desired tool motion command -- triggered from the HMI or PLC -- is not
possible.
The specified tool is not defined.
Reaction Alarm display
Interface signals are set
NC Start disable
Remedy -- Check whether the magazine data is correctly defined.
-- Check whether the move command has been correctly parameterized.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
6425 Channel %1 tool %2 cannot be placed in magazine %3 on location %4. Invalid
magazine definition
Explanation %1 = channel ID, %2 = string (identifier), %3 = magazine number, %4 = maga-
zine location number
The desired tool motion command -- triggered from the HMI or PLC -- is not
possible.
A movement request was issued to put the tool in a location which does not
satisfy the prerequisites for filling. The following causes for the error are pos-
sible:
-- Location is disabled or not free
-- Tool type does not match the location type.
-- Tool possibly too large, adjacent locations are not free.
Reaction Alarm display
Interface signals are set
NC Start disable
Remedy -- Check whether the magazine data is correctly defined.
-- Check whether there is still room in the magazine to add another tool; there
may not be due to operating procedures.
-- Check whether a location type hierarchy is defined and whether it, for exam-
ple, does not allow insertion of a type ’A’ tool in a free location with type ’B’.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
6430 Workpiece counter: overflow in table of monitored cutting edges
Explanation No more cutting edges can be entered in the workpiece counter table. The total
number of cutting edges that can be noted for the workpiece counter is the
same as the total number of possible cutting edges in the NCK.
In other words, the limit is reached if each tool uses each cutting edge precisely
once for a workpiece.
If several workpieces are made on several spindles simultaneously, it is pos-
sible to note cutting 18100 MM_NUM_CUTTING_EDGES_IN_TOA for the
totaling counter for all of the workpieces.
If the alarm is pending then this means that the cutting edges that are about to
be used will no longer be monitored by the workpiece counter for such a time
until the table has been cleared again, e.g. by the NC command SETPIECE or
the appropriate order from the HMI, programmable controller (PI service).
Reaction Alarm display
Interface signals are set
NC Start disable
Remedy -- Decrement workpiece counter overlooked?
Then program SETPIECE in the part program, or add the correct command
in the PLC program.
-- If the part program or the programmable controller is correct, then more
memory should be set for the tool cutting edge by the machine data
$MM_NUM_CUTTING_EDGES_IN_TOA (only possible for those with ac-
cess authorized).
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
6431 Function not allowed. Tool management/tool-management monitoring not acti-
vated
Explanation Occurs when a data management function is called which is not available be-
cause tool management is deactivated. For example, the language commands
GETT, SETPIECE, GETSELT, NEWT, DELT.
Reaction Alarm display
Interface signals are set
Interpreter stop
NC Start disable
Remedy -- Please inform the authorized personnel/service department.
-- Verify how the NC control shall be configured. Is tool management or Tool-
Man monitoring necessary but not yet activated?
-- Is a part program used that has been designed for NC control with tool man-
agement/ToolMan monitoring?
Either operate the part program with the matching NC controls or modify the
part program.
-- Activate tool management/ToolMan monitoring by setting the appropriate
machine data. See $MM_TOOL_MANAGEMENT_MASK,
$MC_TOOL_MANAGEMENT_MASK.
-- Check whether the required option is set accordingly.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
6432 Function cannot be executed. No tool assigned to spindle
Explanation An attempt was made to perform an operation that requires a tool to be located
on the spindle. This can be the workpiece count monitoring function, for exam-
ple.
Reaction Alarm display
Interface signals are set
Remedy -- Select another function, another spindle, position tool on spindle.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
6433 Channel %1 block %2 variable %3 not available with tool management
Explanation %1 = channel number, %2 = block number, Label, %3 = source symbol
The system variable specified in %3 is not available with active tool manage-
ment.
The function GETSELT should be used with $P_TOOLP.
Reaction Alarm display
Interface signals are set
NC Start disable
Remedy ProgramChanging
Continue Clear the alarm with the delete key.
program
Alarm no.
6441 Writing of $P_USEKT not allowed.
Explanation An attempt was made to write into the value of $P_USEKT. This is not possible
because the programming T=“location number” with automatic setting of
$P_USEKT is active.
Reaction Alarm display
Interface signals are set
Interpreter stop
NC Start disable
Remedy -- Verify how the NC control should be configured (bit 16 and bit 22 in
TOOLS_MANAGEMENT_MASK)
-- Either operate the part program with the matching NC control or modify the
part program.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
6450 Channel %1 tool change not possible. Invalid magazine location number %2 in
the buffer magazine
Explanation %1 = channel number, %2 magazine location number
The desired tool change is not possible.
The specified magazine location is a toolholder/spindle or is empty.
Only buffer-storage numbers that are not for toolholders/spindles may be pro-
grammed using the NC command TCI; i.e. the location number of a gripper for
example, is not allowed.
Reaction Alarm display
Interface signals are set
Remedy Check whether the magazine data ($TC_MPP1) is correctly defined.
Check that the parameters of the program command responsible are correctly
assigned.
Continue
program
Alarm no.
6451 Channel %1 tool change not possible. No buffer magazine defined.
Explanation %1 channel number
The desired tool change is not possible. No buffer magazine defined.
Reaction Alarm display
Interface signals are set
Remedy Check whether the magazine data is correctly defined.
Continue
program
Alarm no.
6452 Channel %1 tool change not possible. The toolholder no. / spindle no. = %2 has
not been defined.
Explanation %1 = channel number, %2 toolholder / spindle no.
The desired tool change is not possible.
The toolholder number / spindle number is not defined.
Reaction Alarm display
Interface signals are set
Remedy Check whether the toolholder no./spindle no. and magazine data are correctly
defined. (See $TC_MPP1, $TC_MPP5)
Continue
program
Alarm no.
6453 Channel %1 tool change not possible. No assignment between toolholder/
spindle no. = %2 and buffer location %3
Explanation %1 = channel number, %2 toolholder / spindle no. %3 buffer location
The desired tool change is not possible.
No relation has been defined between the toolholder/spindle number and the
buffer location (locNo)
Reaction Alarm display
Interface signals are set
Remedy Check whether the magazine data ($TC_MLSR) is correctly defined.
Check whether the program command causing the error (e.g. TCI) has been
programmed correctly.
Continue
program
Alarm no.
6454 Channel %1 tool change not possible. There is no distance relationship avail-
able.
Explanation %1 channel number
The desired tool change is not possible. Neither spindle nor buffer location have
a distance relationship.
Reaction Alarm display
Interface signals are set
Remedy Check whether the magazine data ($TC_MDP) is correctly defined.
Check whether the program command causing the error (e.g. TCI) has been
programmed correctly.
Continue
program
Alarm no.
16924 Channel %1 Caution: program test alters tool management data
Explanation %1 = channel number
Tool data is altered during program testing. You cannot automatically correct the
tool data again on termination of program test mode.
This alarm prompts you to create a backup of the tool data which must be cop-
ied back in when you have finished testing the program.
Reaction Alarm display
Remedy Please inform the authorized personnel/service department.
-- Save tool data on HMI and reimport data after “ProgtestOff”.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
17001 Channel %1 block %2 no more memory for tool / magazine data
Explanation %1 = channel number, %2= block number, label
The available memory for defining adapter data has been used up. If the alarm
occurs when you are writing one of the $TC_ADPT parameters, you have tried
to define more adapter data records than permitted by the setting in MD
MM_NUM_TOOL_ADAPTER.
Number of additive/setup offsets: $MN_MM_NUM_SUMCORR if
$MN_MM_NUM_SUMCORR = --1 set, then the following applies
number of additive offsets =
$MN_MM_NUM_CUTTING_EDGES_IN_TOA * $MN_MAX_SUM-
CORR_PER_CUTTING_EDGE
Reaction Alarm display
Interface signals are set
Interpreter stop
NC Start disable
Remedy Please inform the authorized personnel/service department.
-- Maschinendaten ändern
-- Modify NC program, i.e. reduce the number of variables with discrepancies
Continue Clear alarm with the RESET key. Restart part program.
program
Alarm no.
17160 Channel %1 block %2 no tool selected
Explanation %1 = channel number, %2= block number, label
An attempt has been made to access the current tool offset data via the system
variables:
$P_AD[n] Contents of the parameter (n: 1 -- 25)
$P_TOOL Active D number (cutting-edge number)
$P_TOOLL[n] Active tool length (n: 1 -- 3)
$P_TOOLR Active tool radius
although no tool was previously selected.
Reaction Alarm display
Interface signals are set
Interpreter stop
NC Start disable
Alarm no.
Remedy Program or activate a tool offset in the NC program before using the system
variables.
Example:
N100 G.. ... T5 D1 ...LF
The channel-specific machine data:
22550: TOOL_CHANGE_MODE
New tool offset for M function
22560: TOOL_CHANGE_M_MODE
M function with tool change
are set to define whether activating a tool offset in the block is carried out with
the T word or whether the new offset values is only computed with the M word
for the tool change.
Continue Clear alarm with the RESET key. Restart part program.
program
Alarm no.
17180 Channel %1 block %2 illegal D number
Explanation %1 = channel number
%2 = block number, label
In the displayed block, access is made to a D number (tool edge number) that
is not initialized and therefore is not available.
Reaction Alarm display
Interface signals are set
Interpreter stop
NC Start disable
Remedy Check tool call in the NC part program:
-- Correct tool edge number programmed?
If no tool edge number is specified, then D1 is automatically active.
-- Tool parameters P1 -- P25 defined?
The dimensions of the tool edge must have been entered previously either
through the operator panel or through the V.24 interface.
Continue Clear alarm with the RESET key. Restart part program.
program
Alarm no.
17181 Channel %1 block %2 T no.= %3, D no.= %4 does not exist
Explanation %1 = channel number, %2 = block number, label, %3 = T number, %4 =
D number
A D number has been programmed that the NCK does not recognize. As stan-
dard, the D number refers to the given T number. If the “flat D number” function
is activated, T = 1 is output.
Alarm no.
Reaction Alarm display
Interface signals are set
Correction block with reorganization
Remedy In case of a programming error, eliminate the error with a correction block and
continue the program run.
If the data block is missing, then load the NCK with a data block for the speci-
fied T/D values (via HMI, with overstore) and continue program.
Continue Cancel the alarm with NC START and continue processing.
program
Alarm no.
17182 Channel %1 block %2 illegal sum correction number
Explanation %1 = channel number, %2= block number, label
An attempt was made to access a non-defined total offset of the current tool
edge.
Reaction Alarm display
Interface signals are set
Correction block with reorganization
Remedy Access the additive offset memory with $TC_SCUP*, $TC_CEP*, check the
additive offset selection Dlx or tool selection Ti or offset selection Dz.
Continue Cancel the alarm with NC START and continue processing.
program
Alarm no.
17188 Channel %1 D number %2 defined in tool T no. %3 and %4
Explanation %1 = channel number, %2 = compensation number D, %3 = T number for first
tool, %4 = T number for second tool
Alarm no.
17189 Channel %1 D number %2 of tools defined on magazine/location %3 and %4
Explanation %1 = channel ID, %2 = D number, %3 = magazine no./ magazine location no. --
“/” as separator, %4 = magazine no./ magazine location no. -- “/” as separator
Alarm no.
17191 Channel %1 block %2 T= %3, does not exist, program %4
Explanation A tool identifier which the NCK does not recognize was programmed.
Reaction Alarm display
Interface signals are set
Correction block with reorganization
Remedy %1 = channel number, %2 = block number, label, %3 = T number or T identifier,
%4 = program name
Alarm no.
17192 TO units %1 invalid tool naming of %2, duplo no. %3. No further replacement
tools in %4 possible
Explanation %1 = TO units number, %2 = tool identifier, %3 = duplo number of the tool to be
renamed, %4 = group identifier only possible for an active tool management
The tool with the specified tool identifier, duplo number cannot accept the group
identifier.
Reason:
The maximum permissible number of replacement tools has already been de-
fined.
The name entered for the tool has assigned or changed the assignment of the
tool to a tool group which already includes the maximum permissible number of
replacement tools for this particular machine.
Alarm no.
Reaction Alarm display
Interface signals are set
Remedy Define fewer replacement tools.
Unload replacement tools that are no longer required and delete their data in
the NCK.
Request other settings for the maximum number from the machine manufac-
turer.
Continue Alarm display with cause of the alarm disappears. No further operator action
program required.
Alarm no.
17193 Channel %1 block %2 the active tool is no longer on toolholder no./spindle no.
%3, program %4
Explanation %1 = channel number, %2 = block number, label, %3 = toolholder no., spindle
no., %4 = program name
The tool on the specified toolholder/spindle on which the last tool change was
performed as the master toolholder or master spindle, has been replaced.
Example:
N10 SETHTH(1)
N20 T=“Wz1” ;Tool change on master toolholder 1
N30 SETMTH(2)
N40 T1=“Wz2” ;Toolholder1 is only a secondary_toolholder.
;Replacing the tool does not cause offset deselection.
N50 D5 ;New offset selection. There is currently no active tool to
which D can refer.
Reaction Alarm display
Interface signals are set
Remedy -- Modify program:
-- Set the required spindle as the main spindle or the toolholder as the master
toolholder.
-- Then reset any main spindles or master toolholders.
Continue Cancel the alarm with NC START and continue processing.
program
Alarm no.
17194 Channel %1 block %2 no suitable tool found
Explanation %1 = channel number, %2= block number, label
-- An attempt was made to access a tool which has not been defined.
-- The specified tool does not permit access.
-- A tool with the desired properties is not available.
Alarm no.
Reaction Alarm display
Interface signals are set
Correction block with reorganization
Remedy -- Check access to tool:
-- Are the parameters of the command correctly programmed?
-- Does the status of the tool prevent access?
Continue Cancel the alarm with NC START and continue processing.
program
Alarm no.
17200 Channel % 1 block % 2 tool data cannot be deleted
Explanation %1 = channel number, %2 = block number, label
An attempt has been made to delete from the part program the tool data for a
tool currently being processed. Tool data for tools involved in the current ma-
chining operation may not be deleted. This applies both for the tool preselected
with T or that has been changed in place of another, and also for tools for which
the constant grinding wheel peripheral speed or tool monitoring is active.
Reaction Alarm display
Interface signals are set
Correction block with reorganization
Remedy Check access to tool offset memory by means of $TC_DP1[t,d] = 0 or deselect
tool.
Alarm no.
17202 Channel %1 block %2 magazine data cannot be deleted
Explanation %1 = channel number, %2 = block number, label
You have attempted to delete magazine data at a time when they cannot be
deleted.
The data for a magazine which currently has the status “Tool is moving” cannot
be deleted.
A tool adapter currently assigned to a magazine location cannot be deleted.
A tool adapter cannot be deleted if machine data
$MN_MM_NUM_TOOL_ADAPTER is set to --1.
Reaction Alarm display
Interface signals are set
Correction block with reorganization
Remedy If your attempt to delete a magazine is rejected: Make sure that the relevant
magazine does not have the “Tool is moving” status when you enter the Delete
command.
If the attempt to clear a tool adapter fails, then it has to be removed from the
magazine location or from the magazine locations by clearing the data.
Continue Cancel the alarm with NC START and continue processing.
program
Alarm no.
17212 Channel %1 tool management: Load manual tool %3, duplo no. %2 onto
spindle/toolholder %4
Explanation %1 = channel number, %2 = duplo number, %3 = tool identifier, %4 = toolholder
(spindle) number
Indication that the specified manual tool must be brought to the specified tool-
holder or spindle before the program is continued.
A manual tool is a tool whose data are registered in the NCK, but which is not
assigned to a magazine location. As a result, it is not fully accessible for the
purpose of automatic tool changes by the NCK or other operations on the ma-
chine.
Reaction Alarm display
Remedy -- Assure that the specified tool is placed on the toolholder. The alarm is auto-
matically canceled once the tool change ON command has been acknowl-
edged by the PLC.
Continue Alarm display with cause of the alarm disappears. No further operator action
program required.
Alarm no.
17214 Channel %1 tool management: Remove manual tool %3 from spindle/toolholder
%2
Explanation %1 = channel number, %2 = toolholder (spindle) number %3 = tool identifier,
Indication that the specified manual tool must be removed from the specified
toolholder or spindle before the program is continued.
A manual tool is a tool whose data are registered in the NCK, but which is not
assigned to a magazine location. As a result, it is not fully accessible for the
purpose of automatic tool changes by the NCK or other operations on the ma-
chine.
Reaction Alarm display
Remedy -- Assure that the specified tool is removed from the toolholder. After the PLC
has acknowledged the tool change ON
command, the alarm is automatically deleted.
Manual tools can only be used efficiently if this is supported by the PLC pro-
gram.
Continue Alarm display with cause of the alarm disappears. No further operator action
program required.
Alarm no.
17216 Channel %1 tool management: remove manual tool from spindle/toolholder %4
and load manual tool %3, duplo no. %2.
Explanation %1 = channel number, %2 = duplo number, %3 = tool identifier, %4 = toolholder
(spindle) number
Indicates that the specified manual tool must be loaded in the specified tool-
holder or spindle before the program is continued and that the manual tool lo-
cated there must be removed.
A manual tool is a tool whose data are registered in the NCK, but which is not
assigned to a magazine location. As a result, it is not fully accessible for the
purpose of automatic tool changes by the NCK or other operations on the ma-
chine.
Reaction Alarm display
Remedy -- Make sure that the manual tools are exchanged.
The alarm is automatically canceled once the tool change ON command has
been acknowledged by the PLC.
Manual tools can only be used efficiently if this is supported by the PLC pro-
gram.
Continue Alarm display with cause of the alarm disappears. No further operator action
program required.
Alarm no.
17220 Channel %1 block %2 tool not existing
Explanation %1 = channel number, %2= block number, label
The attempt has been made to access a tool by means of a T number that has
not (yet) been defined, e.g. if tools shall be placed at magazine locations by
programming $TC_MPP6 = “toolNo”. This is possible only when both the maga-
zine location and the tool given by “toolNo” have been defined.
Reaction Alarm display
Interface signals are set
Interpreter stop
NC Start disable
Remedy -- Correct the NC program
Continue Clear alarm with the RESET key. Restart part program.
program
Alarm no.
17224 Channel %1 block %2 tool T/D=%3 -- tool type %4 is not permitted
Explanation %1 = channel number, %2 = block number, label
%3 = refused T/D no., %4 = refused tool type
It is not possible on this system to select tool offsets for tools of the specified
tool type. The multitude of tool types can be restricted by the machine manufac-
turer or by the individual control models. Only use tools with types permitted by
this system. Check whether an error occured in definition of the tool.
Reaction Alarm display
Interface signals are set
Interpreter stop
NC Start disable
Remedy -- Correct NC program or tool data
Continue Clear alarm with the RESET key. Restart part program.
program
Alarm no.
17230 Channel %1 block %2 Duplo no. already assigned
Explanation %1 = channel number, %2= block number, label
The attempt was made to write the duplo number of a tool using a duplo num-
ber that has already been assigned to another tool (different T number).
Reaction Alarm display
Interface signals are set
Interpreter stop
NC Start disable
Remedy -- Correct the NC program
Continue Clear alarm with the RESET key. Restart part program.
program
Alarm no.
17240 Channel %1 block %2 illegal tool definition
Explanation %1 = channel number, %2= block number, label
The attempt was made to change a tool datum that would subsequently destroy
the data consistency or would lead to contradictions in the definition.
Reaction Alarm display
Interface signals are set
Interpreter stop
NC Start disable
Remedy -- Correct the NC program
Continue Clear alarm with the RESET key. Restart part program.
program
Alarm no.
17250 Channel %1 block %2 illegal magazine definition
Explanation %1 = channel number, %2= block number, label
The attempt was made to change a magazine datum that would subsequently
destroy the data consistency or would lead to contradictions in the definition.
Reaction Alarm display
Interface signals are set
Interpreter stop
NC Start disable
Remedy -- Correct the NC program
Continue Clear alarm with the RESET key. Restart part program.
program
Alarm no.
17260 Channel %1 block %2 illegal magazine location definition
Explanation %1 = channel number, %2= block number, label
The attempt was made to change a magazine datum that would subsequently
destroy the data consistency or would lead to contradictions in the definition.
Reaction Alarm display
Interface signals are set
Interpreter stop
NC Start disable
Remedy -- Correct the NC program
Continue Clear alarm with the RESET key. Restart part program.
program
Alarm no.
17262 Channel % 1 block% 2 illegal tool adapter operation
Explanation %1 = channel number, %2= block number, label
This alarm is generated if you attempt to define or cancel the assignment be-
tween a tool adapter and a magazine location and the selected location already
has another tool adapter and/or is already holding a tool or, if you are canceling
the assignment, there is still another tool in the location.
If machine data $MC_MM_NUM_SUMCORR has the value --1, adapters can-
not be generated by a write operation to an adapter which is not yet defined.
While the machine data has this value, you can only write adapter data to
adapters which have already been (automatically) assigned to magazine loca-
tions.
Reaction Alarm display
Interface signals are set
Correction block with reorganization
Remedy -- Assign a maximum of one adapter to a magazine location
-- The magazine location must not contain a tool.
-- Machine data $MC_MM_NUM_SUMCORR has value --1:
If the alarm is generated when you are writing one of the system parameters
$TC_ADAPTx (x=1,2,3,T), then you must change the write operation to ensure
that it includes only adapter data which is already assigned to magazine loca-
tions.
Continue Clear alarm with the RESET key. Restart part program.
program
Alarm no.
20150 Channel %1 tool management: PLC terminates interrupted command
Explanation %1 = channel number
Indication that the PLC has terminated an interrupted command (with alarm out-
put) from the tool management -- tool change.
Reaction Alarm display
Interface signals are set
Remedy For information only.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
20160 Channel %1 tool management: PLC can only terminate commands interrupted
due to an error
Explanation %1 = channel number
Indication that the PLC wanted to interrupt an active command from the tool
management tool change; or that there is no command active for abort.
NCK refuses because the channel status is either “active” (cancel is then not
allowed), or “reset” (then there is nothing to cancel).
Reaction Alarm display
Interface signals are set
Remedy For information only.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
22066 Channel %1 tool management: tool motion not possible since there is no tool
%2 with duplo no. %3 in magazine %4
Explanation %1 = channel number, %2 = string (identifier), %3 = duplo number, %4 = maga-
zine number
Alarm no.
22067 Channel %1 tool management: tool change not possible, since no tool ready for
use in tool group %2
Explanation %1 = channel number, %2 = string (identifier)
The desired tool change is not possible. The specified tool group does not con-
tain a “ready to use” replacement tool which could be loaded at change. The
tool monitoring function may have set all potentially suitable tools to the “dis-
abled” status.
Alarm 22067 is generated in a situation where it is no longer possible to inter-
vene in a correcting manner.
Reaction NC Start disable
Alarm display
Interface signals are set
NC stop for alarm
Remedy -- Ensure that the specified tool group contains a tool that is ready for use
when tool change is requested.
-- This can be achieved, for example, by replacing disabled tools
-- or by manually releasing a disabled tool.
-- Check whether the magazine data is correctly defined. Have all intended
tools in the group been defined with the specified identifier and loaded?
Continue Clear alarm with the RESET key. Restart part program.
program
Alarm no.
22068 Channel %1 tool management: no tool ready for use in tool group %3
Explanation %1 = channel number, %2 = block number, label, %3 = string (identifier)
The specified tool group does not contain a “ready to use” replacement tool
which could be loaded at change. The tool monitoring function may have set all
potentially suitable tools to the “disabled” status.
The alarm can occur in conjunction with alarm 14710. In this specific situation,
NCK attempts to replace the disabled tool located on the spindle with an avail-
able replacement tool (which does not exist in this error condition). The user
must resolve this conflict, for example, by removing the tool located on the
spindle from the spindle by issuing a motion command (e.g. through HMI opera-
tion).
Reaction NC Start disable
Alarm display
Interface signals are set
Remedy -- Ensure that the specified tool group contains a tool that is ready for use
when tool change is requested.
-- This can be achieved, for example, by replacing disabled tools
-- or by manually releasing a disabled tool.
-- Check whether the magazine data is correctly defined. Have all intended
tools in the group been defined with the specified identifier and loaded?
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
22069 Channel %1 block %2 tool management: No tool available in tool group %3,
program %4
Explanation %1 = channel number, %2 = block number, label, %3 = string (identifier), %4 =
program name
The specified tool group does not contain a “ready to use” replacement tool
which could be loaded at change. The tool monitoring function may have set all
potentially suitable tools to the “disabled” status.
Parameter %4 = program name facilitates the identification of the program con-
taining the programming command (tool selection) that caused the error. This
can be a subprogram or cycle, etc., which can no longer be identified from the
display.
Reaction Alarm display
Interface signals are set
Correction block with reorganization
Remedy -- Ensure that the specified tool group contains a tool that is ready for use
when tool change is requested, e.g. by:
-- Replacing disabled tools,
-- Manually releasing a disabled tool.
-- Check whether the magazine data is correctly defined. Have all intended
tools in the group been defined with the specified identifier and loaded?
Continue Cancel the alarm with NC START and continue processing.
program
Alarm no.
22070 TO unit %1 Please change tool T= %2 into magazine. Repeat data back-up.
Explanation %1 = TO unit, %2 = T number of the tool
Alarm no.
Remedy Make sure that there are no tools stored in the buffer magazine before you start
to back up data. Repeat the data backup after removing the tools from the
buffer magazine.
Continue Clear the alarm with the cancel key. No further operator action required.
program
Alarm no.
22071 TO unit %1 tool %2 duplo no. %3 is active but not in the current wear group
Explanation %1 = TO units, %2 = T number of the tool, %3 = duplo number
The “Wear grouping” function is active. The setting “Set tool to active status”
which applies when a new wear grouping is activated is also selected. This set-
ting can also be programmed with language command SETTA or started via
Analog Functions on the OPI.
It has been detected that more than one tool from the tool group has the “ac-
tive” status.
The tool which has the “active” status in an “inactive” wear grouping is named in
the alarm.
The alarm is for information purposes. It can be suppressed by setting bit 5 of
MD 11410 SUPPRESS_ALARM_MASK.
Reaction Alarm display
Set interface signals
Remedy Before you start the machining operation, make sure that the “active” status is
not set for any of the tools in the magazine. You can do this by programming
command SETTIA.
Program Clear the alarm with the cancel key. No further operator action required.
continuation
Alarm no.
400601
Explanation The magazine data in the PLC is incorrect. Tool management start-up is faulty if
the tool management option is activated.
Reaction Alarm display
PLC STOP
Remedy Delete DB71 -- DB74 and load correct tool management configuration via HMI
or correct the settings in DB4.
Alarm no.
400602
Explanation The magazine data in the PLC is incorrect. Tool management start-up is faulty if
the tool management option is activated.
Reaction Alarm display
PLC STOP
Remedy Delete DB71 -- DB74 and load correct tool management configuration via HMI
or correct the settings in DB4.
Alarm no.
400603
Explanation The magazine data in the PLC is incorrect. Tool management start-up is faulty if
the tool management option is activated.
Reaction Alarm display
PLC STOP
Remedy Delete DB71 -- DB74 and load correct tool management configuration via HMI
or correct the settings in DB4.
Alarm no.
400604 Set change with M06 in machine data
Explanation Change is possible only with M06 for the magazine type used (box, chain).
Check for invalid settings when using turret magazines.
Reaction Alarm display
PLC STOP
Remedy The value is 1 in channel-specific machine data 22550 tool_CHANGE_MODE
Alarm no.
410151 Magazine data for tool management missing in PLC
Explanation No magazine data available in the PLC. Start-up not complete although tool
management option is active.
Reaction Alarm display
Remedy Press the “Create PLC data” softkey via HMI Advanced during start-up of the
tool management. Set the data in data block DB4 starting at DBB64 for HMI
Embedded.
Notes
Description of functions
FB QUIT_WZV supports the user in the acknowledgement of TOOLMAN
(TOOLMAN) jobs as well as signaling position changes by tools to tool manage-
ment and updating the PLC point of tool change when using integrated tool man-
agement.
32 user interfaces are available for transfer tasks to the tool management (WZV) in
the instance DB FB QUIT_WZV. Data is transferred to the NCK in FB QUIT_WZV
using call FC TM_TRANS (FC 8). The parameters of FC TM_TRANS are defined
as a variable in FB QUIT_WZV and must be assigned a value for each user inter-
face. The symbolic names of the variables have the same names as the formal
parameters of FC TM_TRANS. See the Description of Function basic PLC pro-
gram in Chapter 4 of the Block description FC 8 for more information about the
parameters.
Specifically, the following variables must be assigned values in the branch target
list of each user interface:
-- TaskIdent
-- TaskIdentNo
-- NewToolMag
-- NewToolLoc
-- OldToolMag
-- OldToolLoc
-- Status
If the tool transfer from the magazine to the spindle is via temporary storage (e.g.
gripper), then the variables
-- NewToolMag_Changel_S1
-- NewToolLoc_Change_S1
-- OldToolMag_Change_S1
-- OldToolLoc_Change_S1
must also be assigned values when changing to spindle 1.
For spindle 2, these variables have the same name with the ending ’_S2’. If the
tool change operation is reset or aborted, then these variables must be used to
assign the FC TM_TRANS parameters.
With a 1 signal at a user interface (DIB 0 -- DIB 3), FC TM_TRANS is called with
the parameter values programmed in the branch target list.
If the task is completed successfully (FC TM_TRANS Ready = 1), the user inter-
face bit is reset by FB QUIT_WZV. If the task or transfer of FC TM_TRANS pro-
duces an error, error bit DIX 4.0 in the instance DB is set to 1 signal and the output
parameter error of FC TM_TRANS is available as error number in DIW 6.
The user interface is reset in the event of an error. Further tasks are only pro-
cessed after the error bit has been reset (by the user). For the meaning of the error
numbers, please refer to Description of Functions, Basic PLC Program, Chapter 4,
Description of Block FC 8 under the parameter ’Error’.
If several tasks are present simultaneously, the user interfaces (UI) are processed
according to the following priority:
1. UI 25 → UI 32
2. UI 17 → UI 24
3. UI 9 → UI 16
4. UI 1 → UI 8
You must enter the actual magazine position of the tool change point in accor-
dance with the selected FB-QUIT in the instance DB starting at DIW 10.
Declaration
FUNCTION_BLOCK FB 90
// no parameters
// user interface in the instance DB
Block call
CALL FB 90, DB xxx; // xxx No. of instance DB
User interface
The user interface is stored in the instance DB from DIB 0 to DIB 46.
Bytes 47 to 64 are internal variables of FB QUIT_WZV, which can be read out for
support during installation if required. The variables ASS_alt (UI_old), ASS_Aen-
derung (UI_change) and ASS_aktiv (UI_active) have the same assignment as
ASS_neu (UI_new) (DBB 0 to DBB 3).
DB User Interface
Instance
DIB 1 UI 16 UI 15 UI 14 UI 13 UI 12 UI 11 UI 10 UI 9
DIB 2 UI 24 UI 23 UI 22 UI 21 UI 20 UI 19 UI 18 UI 17
DIB 3 UI 32 UI 31 UI 30 UI 29 UI 28 UI 27 UI 26 UI 25
DIB 4 Error
DIB 5 --
DIB 6 Error number
DIB 8 --
DIB 10 ActPosChangePosMag1
DIB 12 ActPosChangePosMag2
DIB 14 ActPosChangePosGr1
DIB 16 ActPosChangePosGr2
DIB 18 --
DIB 20 TaskIdent
DIB 21 TaskIdentNo
DB User Interface
Instance
DIW 22 NewToolMag
DWI 24 NewToolLoc
DWI 26 OldToolLoc
DWI 28 Status
DWI 30 NewToolMag_Change_S1
DWI 32 NewToolLoc_Change_S1
DWI 34 OldToolMag_Change_S1
DWI 36 OldToolMag_Change_S1
DWI 38 OldToolLoc_Change_S1
DWI 40 NewToolMag_Change_S2
DWI 42 NewToolLoc_Change_S2
DWI 44 OldToolMag_Change_S2
DWI 46 OldToolLoc_Change_S2
DB User Interface
Instance
DID 48 UI_old
DID 52 UI_change
DID 56 UI_active
DIB 60 Ready Start
DIB 61 --
DIW 62 Error FC 8
DIB 64 StepNo
Abort/reset
If a task in progress such as “Load tool” , “Unload tool”, “Prepare change” or “Exe-
cute change” is aborted by the NC Reset or Emergency Stop signal, the PLC must
acknowledge the task with FC TM_TRANS, status 3, if the task has not been com-
pleted. A task acknowledgement with status 3 is acknowledged negatively by the
tool management with error no. 6405. This behavior is taken into account in FB
QUIT_WZV in the error evaluation of FC TM_TRANS. No error is output here.
Configuration/Startup
When supplying parameters for the FC TM_TRANS, it is important to ensure that
the correct magazine locations are assigned for the parameters NewToolMag/Loc
and OldToolMag/Loc on each status change or end-of-job acknowledgement. The
same applies for TaskIdent and TaskIdentNo. The tool management checks each
parameter against FC TM_TRANS on acknowledgement. If an incorrect value is
detected by the tool management, the NC assumes the STOP state and NC error
6405 “Channel %1 command %2 has invalid PLC acknowledgement parameter
%3” appears. If such a faulty condition occurs, then the variables of the parame-
ters of the FC TM_TRANS can be read in the PLC status and checked.
The status of the variables ASS_aktiv (DIB 44 DIB 47) shows which was the last
task to be processed. The assignment of ASS_aktiv is identical to the ASS inter-
face (DIB 0--DIB 3).
Sample Programs
As an example of the use of FB QUIT_WZV, five different magazine configurations
are programmed in FB 90. The setting for the user interface bits in FB 90 is pro-
grammed in FC 90. The blocks are contained in files QUIT_1.awl -- QUIT_2.awl.
The following magazine types have been implemented as program examples:
S Chain magazine with one spindle as a pick-up magazine
S Chain magazine with one dual gripper and one spindle
S Chain magazine with two grippers and one spindle
S Two chain magazines with one spindle
S Chain magazine with two spindles.
Description
FB QUIT_WZV is programmed as FB 90 in QUIT_1.awl for the following magazine
configuration:
The tool is changed by moving directly from the magazine to the spindle (pick-up
magazine). If a tool is already located in the spindle it is returned to the magazine
before the new tool is placed in the magazine. Loading is performed either via the
loading point magazine or the loading point spindle.
For this configuration, 17 transfer job requests from the PLC to the tool manage-
ment are programmed in FB QUIT_WZV. These requests are triggered by the user
via the user interfaces UI 1 -- UI 20.
With an asynchronous job request, tool position changes outside a programmed
sequence, e.g. for movements in JOG, can be sent to the tool management after a
tool change has been aborted.
The following job requests are implemented in FB 90 and triggered in FC 90 in the
example in QUIT_1.awl:
OCV Function
1 Acknowledgement load tool completed, magazine loading point
2 Abort / reset load tool, magazine loading point
3 Acknowledgement unload tool completed, magazine loading point
4 Abort / reset unload tool, magazine loading point
5 Acknowledgement load tool completed, spindle loading point
6 Abort / reset load tool, spindle loading point
7 Acknowledgement unload tool completed, spindle loading point
8 Abort / reset unload tool, spindle loading point
9 Acknowledgement prepare change completed
10 Abort / reset prepare change
11 Spindle change status → magazine tool change
12 Magazine change status → spindle tool change
13 Abort / reset change
14 --
15 Acknowledgement relocate (from HMI)
16 Asynchronous relocation spindle → magazine
17 Asynchronous relocation spindle → spindle
18 --
19 --
20 Actual position change magazine location change point
21 --
OCV Function
22 Acknowledgement positioning at loading point
23 Abort / reset positioning at loading point
... ...
32 --
The actual position for job requests 16, 17 and 20 is taken from DB instance
DBW 10 in FB 90. The actual position address can be changed by the user.
NOTICE!
With asynchronous relocation the magazine location state “Z” (reserved for tool in
buffer) is not taken into account. This means that with asynchronous relocation
from magazine to spindle, the identifier “Z” is not set and with asynchronous re-
location from spindle to magazine that the identifier “Z” is not reset in the old loca-
tion.
In this case, “Z” must be set and cleared with FB 3 (write NC variable).
With NC SW 3.2 and later, magazine location status “Z” is transferred with Task-Id-
ent 5 for asynchronous relocation.
11.1.3 Chain magazine with one dual gripper and one spindle
Description
FB QUIT_WZV is programmed as FB 90 in QUIT_2.awl for the following magazine
configuration:
The tool is moved via the dual gripper from the tool change position in the maga-
zine to the spindle. The tools are simultaneously changed to and from the maga-
zine and the spindle. Before the tool is changed, the gripper on the magazine side
is gripper 2 and the gripper on the spindle side is gripper 1.
With this definition only two relocation commands are necessary.
Loading is performed either via the loading point magazine or the loading point
spindle.
For this configuration, 19 transfer job requests from the PLC to the tool manage-
ment are programmed in FB QUIT_WZV. These requests are triggered by the user
via the user interfaces UI 1--UI 20.
With an asynchronous job request, tool position changes outside a programmed
sequence, e.g. for movements in JOG, can be sent to the tool management after a
tool change has been aborted.
The following job requests are implemented in FB 90 and triggered in FC 90 in the
example in QUIT_2.awl:
OCV Function
1 Acknowledgement load tool completed, magazine loading point
2 Abort / reset load tool, magazine loading point
3 Acknowledgement unload tool completed, magazine loading point
4 Abort / reset unload tool, magazine loading point
5 Acknowledgement load tool completed, spindle loading point
6 Abort / reset load tool, spindle loading point
7 Acknowledgement unload tool completed, spindle loading point
8 Abort / reset unload tool, spindle loading point
9 Acknowledgement prepare change completed
10 Abort / reset prepare change
11 Status change spindle →gripper 1 and magazine → gripper 2 tool change
12 Status change magazine → magazine and gripper 2 → spindle tool change
13 Abort / reset change
14 --
15 Acknowledgement relocate (from HMI)
16 Asynchronous relocation gripper 1 → spindle
17 Asynchronous relocation gripper 1 → magazine
18 Asynchronous relocation gripper 2 → spindle
OCV Function
19 Asynchronous relocation gripper 2 → magazine
20 Actual position change magazine location change point
21 --
22 Acknowledgement positioning at loading point
23 Abort / reset positioning at loading point
... ...
32 --
The actual position for job requests 17, 19 and 20 is taken from DB instance
DIW 10 in FB 90. The actual position address can be changed by the user.
NOTICE!
With asynchronous relocation the magazine location state “Z” (reserved for tool in
buffer) is not taken into account. This means that with asynchronous relocation
from magazine to spindle, the identifier “Z” is not set and with asynchronous re-
location from spindle to magazine that the identifier “Z” is not reset in the old loca-
tion. In this case, “Z” must be set and cleared with FB 3 (write NC variable). With
NC SW 3.2 and later, magazine location status “Z” is transferred with Task-Ident 5
for asynchronous relocation.
Description
FB QUIT_WZV is programmed as FB 90 in QUIT_3.awl for the following magazine
configuration:
The tool is relocated from the tool change position in the magazine into the spindle
via gripper 1 or gripper 2 and from the spindle into the magazine via gripper 2.
Tools can only be loaded via the loading point of the magazine.
For this configuration, 20 transfer job requests from the PLC to the tool manage-
ment are programmed in FB QUIT_WZV.
These tasks must be initiated by the user via the user interfaces UI 1--UI 20.
With an asynchronous job request, tool position changes outside a programmed
sequence, e.g. for movements in JOG, can be sent to the tool management after a
tool change has been aborted.
The following job requests are implemented in FB 90 and triggered in FC 90 in the
example in QUIT_3.awl:
OCV Function
1 Acknowledgement load tool completed, magazine loading point
2 Abort / reset load tool, magazine loading point
3 Acknowledgement unload tool completed, magazine loading point
4 Abort / reset unload tool, magazine loading point
5 Acknowledgement prepare change completed
6 Abort / reset prepare change
7 Status change magazine → gripper 1 tool change
8 Status change magazine → gripper 2 tool change
9 Status change spindle → gripper 2 tool change
10 Status change gripper 1 → spindle tool change
11 Status change gripper 2 → Magazine tool change
12 Abort / reset change
13 Acknowledgement relocate (from HMI)
14 Asynchronous relocation gripper 1 → magazine
15 Asynchronous relocation gripper 2 → magazine
16 Asynchronous relocation gripper 1 → spindle
17 Asynchronous relocation gripper 2 → spindle
18 Asynchronous relocation spindle → gripper 1
19 Asynchronous relocation spindle → gripper 2
20 Actual position change magazine location change point
21 --
OCV Function
22 Acknowledgement positioning at loading point
23 Abort / reset positioning at loading point
... ...
32 --
The actual position is read from the DB instance DIW 10 for job 20 in FB 90.
The actual magazine position for gripper 1 is read from the DB instance DIW14
(UI 14) and the actual magazine position for gripper 2 from DB instance DIW16
(UI 15 ). The addresses of the actual positions can be changed by the user.
Neither loading nor unloading spindles has been programmed in FB QUIT_WZV.
With a user-programmable UI, this function can be programmed by the user. Jump
target lists IFC 1--IFC 3 can be used as an example.
NOTICE!
With asynchronous relocation the magazine location state “Z” (reserved for tool in
buffer) is not taken into account. This means that with asynchronous relocation
from magazine to spindle, the identifier “Z” is not set and with asynchronous re-
location from spindle to magazine that the identifier “Z” is not reset in the old loca-
tion. In this case, “Z” must be set and cleared with FB 3 (write NC variable).
With NC SW version 3.2 and higher, magazine location status “Z” is transferred
with Task-Ident 5 for asynchronous relocation.
Description
FB QUIT_WZV is programmed as FB 90 in QUIT_4.awl for the following magazine
configuration:
The tool is moved directly from magazine 1 or magazine 2 to the spindle (pick-up
magazine). If a tool is already located in the spindle it is returned to magazine 1 or
magazine 2 before the new tool is placed in the magazine.
Loading is performed either via the loading point magazine or the loading point
spindle. For this configuration, 22 transfer job requests from the PLC to the tool
management are programmed in FB QUIT_WZV. These requests are triggered by
the user via the user interfaces UI 1--UI 22.
With an asynchronous job request, tool position changes outside a programmed
sequence, e.g. for movements in JOG, can be sent to the tool management after a
tool change has been aborted.
The following job requests are implemented in FB 90 and triggered in FC 90 in the
example in QUIT_4.awl:
OCV Function
1 Acknowledgement load tool completed, magazine loading point
2 Abort / reset load tool, magazine loading point
3 Acknowledgement unload tool completed, magazine loading point
4 Abort / reset unload tool, magazine loading point
5 Acknowledgement load tool completed, spindle loading point
6 Abort / reset load tool, spindle loading point
7 Acknowledgement unload tool completed, spindle loading point
8 Abort / reset unload tool, spindle loading point
9 Acknowledgement prepare change completed
10 Abort / reset prepare change
11 Status change spindle → magazine tool change
12 Magazine change status → spindle tool change
13 Abort / reset change
14 --
15 Acknowledgement relocate (from HMI)
16 Asynchronous relocation spindle → magazine 1
17 Asynchronous relocation magazine 1 → spindle
18 Asynchronous relocation spindle → magazine 2
OCV Function
19 Asynchronous relocation magazine 2 → spindle
20 Actual position change magazine location change point magazine 1
21 Actual position change magazine location change point magazine 2
22 Acknowledgement positioning at loading point
23 Abort / reset positioning at loading point
... ...
32 --
The actual position is read from the DB instance DIW10 or DIW12 for job 20 in
FB 90. The addresses of the actual positions can be changed by the user.
NOTICE!
With asynchronous relocation the magazine location state “Z” (reserved for tool in
buffer) is not taken into account. This means that with asynchronous relocation
from magazine to spindle, the identifier “Z” is not set and with asynchronous re-
location from spindle to magazine that the identifier “Z” is not reset in the old loca-
tion. In this case, “Z” must be set and cleared with FB 3 (write NC variable).
With NC SW 3.2 and later, magazine location status “Z” is transferred with Task-
Ident 5 for asynchronous relocation.
Description
FB QUIT_WZV is programmed as FB 90 in QUIT_5.awl for the following magazine
configuration:
The tool is moved directly from the magazine to spindle 1 or spindle 2 (pick-up
magazine). If a tool is already located in the spindle it is returned to the magazine
before the new tool is placed in the magazine.
Spindle 1 is assigned to channel 1 and spindle 2 to channel 2. Therefore a tool
function or tool change programmed in channel 1 is outputted in DB 72 in UI 1 and
the new tool is placed on spindle 1.
Therefore, a tool call or tool change programmed in channel 2 is outputted in
DB 72 in UI 2 and the new tool is placed on spindle 2. Tools can only be loaded via
the loading point of the magazine.
For this configuration, 20 transfer job requests from the PLC to the tool manage-
ment are programmed in FB QUIT_WZV. These tasks must be initiated by the user
via the user interfaces UI 1 -- UI 20.
With an asynchronous job request, tool position changes outside a programmed
sequence, e.g. for movements in JOG, can be sent to the tool management after a
tool change has been aborted.
The following job requests are implemented in FB 90 and triggered in FC 90 in the
example in QUIT_5.awl:
OCV Function
1 Acknowledgement load tool completed, magazine loading point
2 Abort / reset load tool, magazine loading point
3 Acknowledgement unload tool completed, magazine loading point
4 Abort / reset unload tool, magazine loading point
5 Acknowledgement prepare change completed spindle 1
6 Abort / reset prepare change spindle 1
7 Acknowledgement prepare change completed spindle 2
8 Abort / reset prepare change spindle 2
9 Status change spindle 1 → magazine
10 Status change magazine → spindle 1
11 Abort / reset change spindle 1
12 Status change spindle 2 → magazine
13 Status change magazine → spindle 2
14 Abort / reset change spindle 2
15 Acknowledgement relocate (from HMI)
16 Asynchronous relocation spindle 1 → magazine
OCV Function
17 Asynchronous relocation magazine → spindle 1
18 Asynchronous relocation spindle 1→ magazine
19 Asynchronous relocation magazine → spindle 2
20 Actual position change magazine
21 --
22 Acknowledgement positioning at loading point
23 Abort / reset positioning at loading point
... ....
32 --
The actual position for job request 20 in FB 90 is taken from DB instance DIW 10.
The actual position address can be changed by the user.
Neither loading nor unloading spindles has been programmed in FB QUIT_WZV.
With a user-programmable UI, this function can be programmed by the user. Jump
target lists IFC 1--IFC 3 can be used as an example.
NOTICE!
With asynchronous relocation the magazine location state “Z” (reserved for tool in
buffer) is not taken into account. This means that with asynchronous relocation
from magazine to spindle, the identifier “Z” is not set and with asynchronous re-
location from spindle to magazine that the identifier “Z” is not reset in the old loca-
tion. In this case, “Z” must be set and cleared with FB 3 (write NC variable).
With NC SW 3.2 and later, magazine location status “Z” is transferred with Task-
Ident 5 for asynchronous relocation.
Description of functions
A search for an empty location in the magazine for a tool in the buffer can be made
with FB LE_SUCH.
Every FB 91 call must be assigned a separate instance DB from the user area.
When FB 91 is called an empty location is searched in the magazine for a tool in
the buffer on a positive edge change at control input Start.
The location in the temporary storage is also given to the function block by the in-
put parameters MagNr_ZW and LocNr_ZW. The magazine number where
theempty located shall be searched is given by the parameter magazine no.
Successful execution of the job is displayed by means of a logic “1” in status
parameter Done. The empty location is output via output parameter MagNr_Empty
and LocNo_Empty. Any errors that occurred are indicated by Error and State.
The search for empty locations is a routine executed over several PLC cycles. The
block can be called up in cyclic mode only. FB 2 is called twice and FB 4 once in
FB 91. These blocks are called with a multi-instance DB in FB91.
Important
FB 91 can perform the empty location search only if basic program parameter
NCKomm has been set to “1” (in OB100: FB 1, DB 7).
Declaration
FUNCTION_BLOCK FB 91
VAR_INPUT
Start : BOOL;
MagNr_ZW : INT;
LocNr_ZW : INT;
MagNr : INT;
END_VAR
VAR_OUTPUT
Active: BOOL;
Done : BOOL;
Error : BOOL;
State : WORD;
MagNr_Empty: INT;
LocNr_Empty: INT;
END_VAR
Furthermore, the search for an empty location can be influenced with the following
signals in the instance DB of the FB91:
TNr_write = 1:
The T number of the tool for the search for an empty location is in TNr_FB2.
MagNr_ZW/LocNo_ZW are not evaluated.
MMCSEM =1:
No setting of semaphores in the PI service TMFDPL.
Error identifiers
If it is not possible to execute a request in the empty location search, this is indi-
cated in status parameter Error with ’logical 1’. The error cause is coded at the
block output State:
Pulse diagram
1 4 1 6 1 4
Start
Active 2
3 5 7 5
Done
Error
1. Activation of function
2. Empty location search active
3. Positive acknowledgment: empty location found
4. Reset of function activation signal after receipt of acknowledgement by user,
signal change by FC
5. If function activation signal is reset before receipt of acknowledgement, the out-
put signals are not updated; not relevant once the function is running
6. Negative acknowledgment: Error occurred. Error code in the output parameter
State
Call example
U DB21.DBX 204.0; // M80 signal
S M 150.0; // Start empty location search
CAll FB91,DB 91(
Start: M 150.0, // Start empty location search
MagNr_ZW : 9998, // Magazine no.= buffer
LocNr_ZW :2, // Magazine loc. 2 = gripper
MagNr : 1, // Magazine no. for empty location = 1
Active: M 150.1, // Empty location search active
Done : M 150.2, // Empty location found
Error: M 150.3, // Error in empty loc. search
State : MW 152, // Fault number
MagNr_Empty: MW 154, // Magazine number for empty location
LocNr_Empty: MW156); // Location number for empty location
U M 150.2; // Empty location found
O M 150.3; // Error in empty loc. search
R M 150.0; // Start empty location search
U M 150.3;
S M 160.0; // Error in empty location search
Blocks to be loaded
FB 91, FB 2, FB 4, DB 91, DB 119
Description of functions
The magazine location data of a magazine location and the tool data of a tool can
be read with FB GET_LOC.
Every FB 92 call must be assigned a separate instance DB from the user area.
Depending on the signal at input GetWkz, calling FB 92 reads the data on a posi-
tive edge change at control input Req. If input GETWKZ carries a 1-signal the
magazine location data and tool data is read. If GETWKZ = 0 only the magazine
location data is read.
The magazine location is transferred to the FB via input parameters MagNr and
LocNr. Successful execution of the function is indicated at status parameter NDR
with logical “1”. Any errors that have occurred are output via Error and State.
Specifically, the following data are read:
S Magazine location data (TP):
-- Location state
S General tool data (TD):
-- Size to left in half locations
-- Size to right in half locations
-- Size upwards in half locations
-- Size downwards in half locations
-- Magazine location type
-- Tool status
The data is stored in the instance DB. A detailed description of the data is to be
found in the Description Lists in Chapter 4, Variables, and in the Description of
Functions Tool Management in the Section Programming.
The Read process is a routine executed over several PLC cycles. The block can
be called up in cyclic mode only.
Notice
FB 2 is called twice in FB 92. These blocks are called with a multi-instance DB in
FB92.
Declaration
FUNCTION_BLOCK FB 92
VAR_INPUT
Req : BOOL;
GetWkz: BOOL;
MagNr : INT;
LocNr : INT;
END_VAR
VAR_OUTPUT
NDR: BOOL;
Error: BOOL;
State : WORD;
END_VAR
Furthermore, the Read job can be influenced with the following signals in the
instance DB of the FB92:
TNr_write = 1: The T number of the tool for tool data is in TNr (DIW28). MagNr/
LocNo are not interpreted.
Only tool data is read.
Error identifiers
If it was not possible to execute a job, the failure is indicated by “logic 1” on status
parameter error. The error cause is coded at the block output State:
Data interface
DB instance
Byte Description of the data read
DIW 28 Logical T number
DIW 30 Location state
DIW 32 Size to left in half locations
DIW 34 Size to right in half locations
DIW 36 Size upwards in half locations
DIW 38 Size downwards in half locations
DIW 40 Magazine location type
DIW 42 Tool status
Pulse diagram
1 3 1 5 1 3
Req
2 4 6 4
NDR
Error
Bild 11-2 Timing diagram for FB 92
1. Activation of function
2. Positive acknowledgment: Receive new data
3. Reset function activation after receipt of acknowledgment
4. Signal change by means of FB
5. If function activation signal is reset before receipt of acknowledgement, the out-
put signals are not updated; not relevant once the function is running
6. Negative acknowledgment: Error occurred. Error code in the output parameter
State
Call example
U DB21.DBX 204.1; // M81 signal
S M 160.0; // Start Read states
CAll FB92,DB 92(
Req : M 160.0, // Start Read states
GetWkz: true, // Read magazine location and tool data
MagNr: 9998, Magazine no.= temporary storage
LocNr:2, // Magazine loc. 2 = gripper
NDR : M 160.1, // Task executed
Error: M 160.2, // Reading error
State : MW 162); // Error number
U M 160.1; // Data read
O M 160.2; // Reading error
R M 160.0; // Start empty location search
U M 160.2;
S M 160.7; // Error in reading tool data
Blocks to be loaded
FB92, FB2, DB92, DB119
Description of functions
The magazine location status of a magazine location and the tool status of a tool
can be written with FB PUT_LOC.
Every FB 93 call must be assigned a separate instance DB from the user area.
Depending on the signal at input PutWkz, calling FB 93 writes the data on a posi-
tive edge change at control input Req. If input PutWkz carries a 1 signal the tool
status is written, if PutWkz = 0, the magazine location status is written.
The magazine location is transferred to the FB via input parameters MagNr and
LocNr. Successful execution of the job is displayed by means of a logic “1” in sta-
tus parameter Done. Any errors that have occurred are output via Error and State.
The status data are entered in the instance DB. A detailed description of the data
is to be found in the Description Lists in Chapter 4, Variables, and in the Descrip-
tion of Functions Tool Management in the Section Programming.
The Write process is a routine executed over several PLC cycles. The block can
be called up in cyclic mode only.
FB 2 is called once and FB 3 twice in FB 93. These blocks are called with a multi-
instance DB in FB 92.
Notice
FB 93 can execute the read operations only if basic program parameter NCKomm
has been set to “1” (in OB100: FB 1, DB 7).
Declaration
FUNCTION_BLOCK FB 93
VAR_INPUT
Req : BOOL;
PutWkz: BOOL;
MagNr : INT;
LocNr : INT;
END_VAR
VAR_OUTPUT
Done: BOOL;
Error: BOOL;
State : WORD;
END_VAR
Furthermore, the Write job can be influenced with the following signals in the
instance DB of the FB 93:
TNr_write = 1: The T number of the tool for Write tool data is in T-Nr(DIW32).
MagNr/LocNo are not evaluated
Error identifiers
If it was not possible to execute a job, the failure is indicated by “logic 1” on status
parameter error. The error cause is coded at the block output State:
Data interface
Pulse diagram
1 3 1 5 1 3
Req
2 4 6 4
NDR
Error
Bild 11-3 Timing diagram FB 93
1. Activation of function
2. Positive acknowledgment: variables have been written
3. Reset function activation after receipt of acknowledgment
4. Signal change by means of FB
5. If function activation signal is reset before receipt of acknowledgement, the out-
put signals are not updated; not relevant once the function is running
6. Negative acknowledgment: Error occurred. Error code in the output parameter
State
Call example
U DB21.DBX 204.2; // M82 signal
S M 164.0; // Start Read states
CAll FB93,DB 93(
Req : M 164.0, // Start Read states
GetWkz: true, // Read magazine location and tool data
MagNr: 1, // Magazine no.= Magazine 1
LocNr:10, // Magazine location 10
Done: M 164.1, // Task executed
Error: M 164.2, // Reading error
State : MW 166); // Error number
U M 164.1; // Data read
O M 164.2; // Reading error
R M 164.0; // Start empty location search
U M 164.2;
S M 164.7; // Error in reading tool data.
Blocks to be loaded
FB93, FB2, DB93, DB119
Notes
Axes
S In accordance with their functional scope, the CNC axes are subdivided into:
S Axes: interpolating path axes
Auxiliary axes: non-interpolating feed and positioning axes with an axis-specific
feed rate. Auxiliary axes are not involved in the actual machining, and include for
example tool feeders and tool magazines.
Axis identifier
Axes are referred to in accordance with DIN 66217 (for a right-handed rectangular
--> coordinate system) with the letters X,Y, Z.
Rotary axes rotating around X,Y, Z > are referred to as A, B, C.
Additional axes, which are parallel to those specified, can be identified with other
letters.
Axis/spindle replacement
An axis/a spindle is permanently assigned to a specific channel via machine data.
Using program commands it is possible to release an axis/spindle and assign it to
another channel.
B
Backup
Copies of the contents of storage medium (hard disk) are stored to an external
memory device for the purpose of backing up and/or archiving data.
Basic coordinate system
Cartesian coordinate system which is mapped by transformation onto the machine
coordinate system.
In the --> part program, the programmer uses the axis names of the basic coordi-
nate system. The basic coordinate system exists in parallel to the --> machine
coordinate system when no --> transformation is active. The difference between
the systems relates to the axis identifiers.
Block
“Block” is the term given to any files required for creating and processing pro-
grams.
Block
A section of a --> part program terminated with a line feed. A distinction is made
between --> main blocks and --> subblocks.
Block search
The block search function allows any point in the part program to be selected, at
which machining must start or be continued. The function is provided for the pur-
pose of testing part programs or continuing machining after a program abort.
Booting
Loading the system program after power on.
C
Channel
A channel is characterized by being able to run independently of other channels or
a --> part program. A channel exclusively controls the axes and spindles assigned
to it. Part programs runs of various channels can be coordinated by --> synchro-
nization.
Channel structure
The channel structure makes it possible to process the --> programss of individual
channels simultaneously and asynchronously.
Compensation memory
Data range in the control, in which the tool offset data are stored.
Contour monitoring
The following error is monitored within a definable tolerance band as a measure of
contour accuracy. Overloading of the drive, for example, may result in an unac-
ceptably large following error. In such cases, an alarm is output and the axes are
stopped.
Cycle
Subroutine for executing a repetitive machining process on the workpiece.
Cycle support
The available cycles are listed in the “Cycle support” menu in the “Program” oper-
ating area. Once the desired machining cycle has been selected, the parameters
required for assigning values are displayed in plain text.
D
D number
Number for the tool offset memory.
Data block
1. A data unit on the --> PLC which can be accessed by --> HIGHSTEP programs.
2. --> NC data unit: Data modules contain data definitions for global user data.
These data can be initialized directly when they are defined.
Data word
A data unit, two bytes in size, within a --> PLC data block.
Dimensions specification, metric and inches
Position and pitch values can be programmed in inches in the machining program.
The control is set to a basic system regardless of the programmable dimensional
specification (G70/G71).
E
Editor
The editor makes it possible to create, edit, extend, join, and import programs/
texts/program blocks.
F
File type
Possible types of files, e.g. part programs, zero offsets, R parameters, etc.
Fixed machine point
A point defined uniquely by the machine tool, such as the reference point.
Fixed-point approach
Machine tools can approach fixed points such as a tool change point, loading point,
pallet change point, etc. in a defined way. The coordinates of these points are
stored in the control. Where possible, the control traverses these axes in -->rapid
traverse.
Frame
A frame is an arithmetic rule that transforms one Cartesian coordinate system into
another Cartesian coordinate system. A frame contains the components work off-
set, rotation, scaling, mirroring.
I
Identifier
Words in compliance with DIN 66025 are supplemented by identifiers (names) for
variables (arithmetic variables, system variables, user variables), for subroutines,
for keywords and for words with several address letters. These supplements have
the same meaning as the words with respect to block format. Identifiers must be
unique. It is not permissible to use the same identifier for different objects.
Increment
Travel path length specification based on number of increments. The number of
increments can be stored as a --> setting data or selected with keys labeled with
10, 100, 1000, 10 000.
K
Keylock switch
The keyswitch is the operating mode switch of the CPU. The keylock switch is op-
erated by a removable key.
The keylock switch on the --> machine control panel has 4 settings, to which func-
tions are assigned by the operating system of the control. Further, the keylock
switch has three differently colored keys, which can be removed in the specified
positions.
L
Language
The user guidance display texts and the system messages are available in five
system languages:
German, English, French, Italian, and Spanish.
The user can select two of the listed languages at a time in the control (Startup
operating area).
M
Machine axes
Physically existent axes on the machine tool.
Machine control panel
An operator panel on a machine tool with operating elements such as keys, rotary
switches, etc., and simple indicators such as LEDs. It is used to directly influence
the machine tool via the PLC.
Machine coordinate system
A coordinate system, which is related to the axes of the machine tool.
Machine zero
A fixed point on the machine tool, which can be referenced by all (derived) measur-
ing systems.
Machining channel
Via a channel structure, parallel sequences of movements, such as positioning a
loading gantry during machining, can shorten unproductive times. Here, a CNC
channel must be regarded as a separate CNC control system with decoding, block
preparation and interpolation.
Macro techniques
Individual instructions in the programming language can be linked to create one
instruction. This condensed instruction sequence is called by a user-defined name
in the CNC program and the macro command executed in accordance with the
individual instructions.
Magazine
The following categories of magazine are utilized in the tool management system:
S Real magazine
Actual magazine for storing tools, the NCK is capable of managing several real
magazines.
S Internal magazine
All other positions in which a tool may be located are handled logically in the
NCK as a magazine (or magazine location). There are only two types of internal
magazines: the load magazine and the buffer magazine.
S Virtual magazine
This term is used in the MMC environment to refer to all the real and internal
magazines of one TO unit.
S Active magazine
Magazine which is linked to a spindle and from which a tool change can be exe-
cuted.
S Background magazine
A magazine which is linked to a previous magazine via system parameter
$TC_MAP5. Generally speaking, tool changes involve the relocation of tools.
Main block
A block prefixed by “:” containing all the parameters required to start execution of a
--> part program.
Main program
--> Part program identified by a number or name in which further main programs,
subroutines or --> cycles can be called.
Main run
The part program blocks which have been decoded and prepared in the “prepro-
cessing” run are executed in the “main run”.
MDI
Control operating mode: Manual Data Input: In the MDI mode, individual program
blocks or block sequences with no reference to a main program or subprogram can
be input and executed immediately afterwards through actuation of the NC start
key.
Messages
All messages programmed in the part program and all --> alarms recognized by the
system are displayed on the operator panel in plain text. Alarms and messages are
displayed separately.
Mirroring
Mirroring reverses the signs of the coordinate values of a contour, with respect to
an axis. It is possible to mirror with respect to more than one axis at a time.
N
NC
Numerical Control: It incorporates all the components of the machine tool control
system: --> NCK, --> PLC, --> MMC, --> COM.
Note: CNC (computerized numerical control) would be more appropriate for the
SINUMERIK 840D or FM--NC controls: MARS and Merkur controls.
NCK
Numerical Control Kernel: Component of the NC control which executes --> part
programs and essentially coordinates the movements on the machine tool.
NRK
Numeric Robotic Kernel (operating system of the --> NCK)
O
OEM
The scope for implementing individual solutions (OEM applications) for the
SINUMERIK 840D has been provided for machine manufacturers, who wish to
create their own operator interface or integrate process-oriented functions in the
control.
Operating mode
An operating concept on a SINUMERIK control. The operating modes --> JOG, -->
MDI and --> Automatic are defined.
Oriented spindle stop
Stops the workpiece spindle with a specified orientation angle, e.g., to perform an
additional machining operation at a specific position.
Oriented tool retraction
RETTOOL: If machining is interrupted (e.g., when a tool breaks), a program com-
mand can be used to retract the tool in a user-specified orientation by a defined
distance.
Override
Manual or programmable control feature, which enables the user to override pro-
grammed feedrates or speeds in order to adapt them to a specific workpiece or
material.
P
Part program
A sequence of instructions to the NC control which combine to produce a specific
--> workpiece by performing certain machining operations on a given --> blank.
PLC
Programmable Logic Control: --> Programmable logic control. Component of the
--> NC control: Programmable controller for processing the control logic of the ma-
chine tool.
PLC program memory
S SINUMERIK 840D The PLC user program, the user data and the basic PLC
program are stored together in the PLC user memory. The PLC user memory
can be expanded up to 128 KB with memory expansions.
S SINUMERIK 810D: The PLC user program, the user data and the basic PLC
program are stored together in the PLC user memory on the CPU 314. The
user memory in the basic configuration of the S7--CPU314 is 64 KB in size and
can be optionally expanded to 128 KB.
R
R parameters
Calculation parameter. The programmer of the --> part program can assign or
request the values of the R parameter as required.
Reference point
Point on the machine tool with which the measuring system of the --> machine
axes is referenced.
Reference point approach
If the position measuring system used is not an absolute-value encoder, then a
reference point approach operation is required to ensure that the actual values
supplied by the measuring system are in accordance with the machine coordinate
values.
Replacement tool
A tool group generally contains several tools. For tool change purposes, only the
identifier is specified in the part program. The tool with the “active” status is gener-
ally selected as the new tool. But if this is disabled, then one of the other twin tools,
i.e. the replacement tool, is selected instead. --> Replacement tool
Replacement tool, tool group
Replacement tools have the same identifier and only differ in the duplo number.
The replacement tools assigned to one identifier are also referred to as a tool
group.
REPOS
1. Repositioning on the contour using operator input
The REPOS function can use the direction keys to reposition at the point of in-
terruption.
2. Repositioning on the contour by program
The program commands provide various approach strategies: Approach point
of interruption, approach start of block, approach end of block, approach a point
on the path between start of block and interruption.
S
Safety functions
The control includes continuously active monitoring functions which detect faults in
the --> CNC, the programmable controller (--> PLC) and the machine so early that
damage to the workpiece, tool or machine rarely occurs. In the event of a fault, the
machining operation is interrupted and the drives stopped. The cause of the mal-
function is logged and output as an alarm. At the same time, the PLC is notified
that a CNC alarm is pending.
Setting data
Data, which communicates the properties of the machine tool to the NC control, as
defined by the system software.
Softkey
A key whose name appears on an area of the screen. The selection of keys dis-
played is adapted dynamically to the operating situation. The freely assignable
function keys are assigned defined functions in the software.
Spindles
S Spindle = toolholder
Toolholder is generally the location for the machining tool. However, the term
“spindle” is frequently used in this general context.
S Main spindle = master spindle
This is the spindle with the number defined by machine data
MD $MC_SPIND_DEF_MASTER_SPIND. Language command SETMS(n) can
be programmed to declare the spindle with number n as the master spindle. A
channel has exactly one master spindle.
S Secondary spindle
This term refers to all spindles that are not the master spindle.
Standard cycles
Standard cycles are provided for machining operations, which are frequently re-
peated:
S Cycles for drilling/milling applications
S for turning technology
The available cycles are listed in the “Cycle support” menu in the “Program” oper-
ating area. Once the desired machining cycle has been selected, the parameters
required for assigning values are displayed in plain text and can be supplied with
values.
Subblock
Block prefixed by “N” containing information for a machining step, such as a posi-
tion parameter.
Subprogram
A sequence of instructions of a --> part program which can be called repetitively
with various defining parameters. --> Cycles are a type of subprogram.
Synchronization
Instructions in --> part programs for coordination of the operations in different -->
channels at specific machining points.
Synchronized actions
1. Auxiliary function output
During the workpiece machining, technology functions (--> auxiliary functions)
can be issued from the CNC program to the PLC. These auxiliary functions are
used for example to control additional equipment for the machine tool, such as
quills, grabbers, clamping chucks etc.
2. Fast auxiliary function output
For switching functions which are time-critical, the confirmation times for the -->
auxiliary functions are minimized, and unnecessary stopping points in the ma-
chining process can be avoided.
Synchronized axes
Synchronized axes take the same time to traverse their path as the --> geometry
axes take for their path.
System variable
A variable which exists although it has not been programmed by the --> part pro-
gram programmer. It is defined by a data type and the variable name preceded by
the character $.
See also --> user-defined variable.
T
Tool Nose Radius Compensation
Contour programming assumes that the tool is pointed. Because this is not actually
the case in practice, the curvature radius of the tool used must be communicated
to the control which then takes it into account. The curvature center is maintained
equidistantly around the contour, offset by the curvature radius.
Tool offset
By programming a T function (5 decades, integer) in the block, you can select the
tool. Every T number can be assigned up to 12 cutting edges (D addresses). The
number of tools to be managed in the control is set at the configuration stage.
Tool radius compensation
In order to be able to program a desired --> workpiece contour directly, the control
must traverse a path equidistant to the programmed contour, taking into account
the radius of the tool used (G41/G42).
Transformation
Programming in a Cartesian coordinate system, execution in a non-Cartesian coor-
dinate system (e.g., with machine axes as rotary axes).
U
User-defined variable
Users can define variables in the --> part program or data block (global user data)
for their own use. A definition contains a data type specification and the variable
name. See also --> system variable.
User interface
The user interface (UI) is the display medium for a CNC control in the form of a
screen. It is laid out with eight horizontal and eight vertical softkeys.
User memory
All programs and data, such as part programs, subprograms, comments, tool off-
sets, and work offsets/frames, as well as channel and program user data can be
stored in the shared CNC user memory.
User program --> Part program
V
Variable definition
A variable definition includes the specification of a data type and a variable name.
The variable names can be used to access the value of the variables.
W
Working memory
The working storage is a Random Access Memory in the --> CPU containing the
user program which is accessed by the processor during program processing.
Workpiece
1. Part or workpiece to be made/machined by the machine tool or
2. A directory where programs and other data is stored. Workpieces are stored in
another directory.
Workpiece coordinate system
The starting position of the workpiece coordinate system is the --> workpiece ori-
gin. In machining operations programmed in the workpiece coordinate system, the
dimensions and directions refer to this system.
Workpiece zero
The workpiece origin is the starting point for the --> workpiece coordinate system.
It is defined by the distance from the machine zero.
Notes
Index
Symbols $P_VDITCP[x], 5-375
$TC_CARRx, 5-372
$A--MONIFACT, 3-146
$TC_DPCx[t,D], 5-339
$A_MONIFACT, 5-415
$TC_DPx[t,D], 5-336
$A_MYMLN, 5-420
$TC_MAMPx [n], 5-365
$A_MYMN, 5-420
$TC_MAP10, 5-355
$A_TOOLMLN, 5-413
$TC_MAP3, 5-354
$A_TOOLMN, 5-412
$TC_MAP8, 5-354
$A_USEDD, 5-427
$TC_MAPCx[n], 5-355
$A_USEDND, 5-424
$TC_MAPx[n], 5-352
$A_USEDT, 5-425
$TC_MDPx[n,m], 5-362
$AC_MONMIN, 5-416
$TC_MLSR[x,y], 5-369
$AC_MSNUM, 5-441, 5-462
$TC_MOPCx[t,D], 5-341
$AC_MTHNUM, 5-442, 5-463
$TC_MOPx[t,D], 5-340
$MC_TOOL_CHANGE_MODE, 3-52
$TC_MPP1, 5-358
$MC_TOOL_CHANGE_MODE=1, 3-52
$TC_MPP5, 5-359
$P_AD[n], 5-440
$TC_MPP6, 5-359
$P_ADT[n], 5-441
$TC_MPP66, 6-469
$P_DLNO, 5-437
$TC_MPPCx[n,m], 5-360
$P_ISTEST, 5-453
$TC_MPPx[n,m], 5-356
$P_MAG, 5-428
$TC_MPTH[n,m], 5-361
$P_MAGA, 5-436
$TC_SCPx[t,D], 5-342
$P_MAGDISL, 5-429
$TC_TP1 and $TC_TP2, 5-346
$P_MAGDISS, 5-429
$TC_TP3 to TP6, 5-346
$P_MAGHLT, 5-434
$TC_TP7, 5-346
$P_MAGN, 5-428
$TC_TP8, 5-346
$P_MAGNA, 5-436
$TC_TPCx[t], 5-351
$P_MAGNDIS, 5-429
$TC_TPGx[t], 5-350
$P_MAGNH, 5-434
$TC_TPx[t], 5-344
$P_MAGNHLT, 5-434
$P_MAGNREL, 5-431
$P_MAGNS, 5-430
$P_MAGREL, 5-431 Numbers
$P_MAGS, 5-430 MD 10715, 8-507
$P_MSNUM, 5-442, 5-462 MD 10716, 8-508
$P_MTHNUM, 5-443, 5-463 MD 10717, 8-508
$P_TC, 5-438 MD 10718, 8-509
$P_TCANG[n], 5-439 MD 10719, 8-509
$P_TCDIFF[n], 5-439 Alarm 16924, 10-555
$P_TOOL, 5-437 Alarm 17001, 10-556
$P_TOOLD, 5-423 Alarm 17160, 10-556
$P_TOOLL[n], 5-438 Alarm 17180, 10-557
$P_TOOLND, 5-414 Alarm 17181, 10-557
$P_TOOLNDL, 5-423 Alarm 17182, 10-558
$P_TOOLNG, 5-420 Alarm 17188, 10-558
$P_TOOLNO, 5-436, 5-441 Alarm 17189, 10-559
$P_TOOLNT, 5-422 Alarm 17191, 10-560
$P_TOOLP, 5-437 Alarm 17192, 10-560
$P_TOOLR, 5-438 Alarm 17193, 10-561
$P_TOOLT, 5-422 Alarm 17194, 10-561
$P_USEKT, $TC_TP11, 5-410 Alarm 17200, 10-562
E H
Edge--related tool monitoring, 5-340
HMI, Overview, 2-27
Empty location search criteria, 3-119
HMI/PLC -- NCK data structure (OPI), 2-28
Empty location search for a tool, 3-117
Empty spindle, 3-70
End acknowledgement, 3-189
I
Identifier, 1-24
F Identifier , B-608
Identifiers, 1-22
Failure search strategy, 3-115
inch/metric, 4-307
FB 90: QUIT_WZV acknowledgments to
INI file, 4-239
TOOLMAN, 11-575
Interface for loading/unloading magazine,
FB 91: LE_SUCH search for empty location for
9-514
tool in buffer, 11-590
Interface for spindle as change position, 9-520
FB 92: GET_LOC read magazine location and
Interface for tool turrets as change position,
tool data, 11-594
9-530
FB 93: PUT_LOC write magazine location and
Interface magazine configuration, 9-539
tool data, 11-598
Internal magazine, B-610
File _N_TOx_INI, 6-465
Internally assigned T numbers, 1-22
File _N_TOx_TMA, 6-465
Invalidating D numbers, 5-380
File _N_TOx_TOA, 6-465
Inverted comma, 4-322
File INITIAL.INI, 6-465
Fax: /
Suggestions and/or corrections
Overview of SINUMERIK 840D/840Di/810D Documentation (08/2005)
General Documentation
Saftey
SINUMERIK SINUMERIK Integrated
840D
840Di
810D
User Documentation
Operator’s Guide Operator’s Guide Programming Guide Programming Guide Diagnostics Guide *) System Overview
– HMI Embedded *) – HMI Advanced *) – Fundamentals *) – Cycles
– ShopMill – Programming compact – Advanced *) – Measuring Cycles
– ShopTurn – Programming
– HT6 – Lists System Variables
– ISO Turning/Milling
Manufacturer/Service Documentation
Configuring (HW) *) Equipment Manual Installation and Start-up Description of Installation and List Manual *)
– 840D Operator Guide *) Functions Start-up Guide – Part 1
– 810D Components *) – 840D – ShopMill – Part 2
– 810D – ShopTurn
– HMI
Manufacturer/Service Documentation
Electronic Documentation
SINUMERIK
SIMODRIVE
Motors
DOCONCD *)
DOCONWEB *) These documents are a minimum requirement