Navigation

  • Page 1

    Tool Management 3,___________________ 11,___________________ 19,___________________ 27,___________________ 217,___________________ 229,___________________ 379,___________________ 429,___________________ 465,___________________ 503,___________________ SINUMERIK SINUMERIK 840D sl Tool Management ...

  • Page 2

    Siemens AG Industry Sector Postfach 48 48 90026 NÜRNBERG GERMANY Order number: 6FC5397-6BP40-3BA0 Ⓟ 08/2012 Technical data subject to change Copyright © Siemens AG 2012. All rights reserved Legal information Warning notice system This manual contains notices you have to observe in order to ...

  • Page 3

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3 Preface SINUMERIK documentation The SINUMERIK documentation is organized in the following categories: ● General documentation ● User documentation ● Manufacturer/service documentation Additional information You can find informa...

  • Page 4

    Preface Tool Management 4 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 SINUMERIK You can find information on SINUMERIK under the following link: actionURI(http://www.siemens.com/sinumerik):www.siemens.com/sinumerik Target group This publication is intended for: ● Project engineers ● Tech...

  • Page 5

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5 Table of contents Preface ...................................................................................................................................................... 3,3 1 Introduction......................................

  • Page 6

    Table of contents Tool Management 6 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.3.16 Block search (SSL) in conjunction with active tool management ............................................. 110,110 3.3.17 Program test........................................................................

  • Page 7

    Table of contents Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 7 3.11.1 Relative D No. for each T - standard ................................................................................... 180,......180 3.11.2 Absolute D No. without reference to the T number (flat D No.) 18...

  • Page 8

    Table of contents Tool Management 8 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.4.8 Magazine blocks ....................................................................................................................... 259,259 5.4.9 Assigning buffers to spindles ............................

  • Page 9

    Table of contents Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 9 5.8.45 $A_MYMTN / $A_MYMTLN - $A_TOOLMTN / $A_TOOLMTLN - tools in the multitool 335,............335 5.8.46 $P_TOOLNT / $P_TOOLT - T numbers ........................ 336,...............................................

  • Page 10

    Table of contents Tool Management 10 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 7.6 Interface for spindle (multitool) (DB 1072) ................................................................................ 452,452 7.7 Interface for revolver (multitool) (DB 1073)............................

  • Page 11

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 11 Introduction 11.1 Overview General The tool management function (TOOLMAN) ensures that at any given time, the correct tool is in the correct location and that the data assigned to the tool is up to date. The function is used on mach...

  • Page 12

    Introduction 1.1 Overview Tool Management 12 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Structure The structure is as follows: TMBF Tool management base functions (available even when tool management is not active) TMMO Tool monitoring TMMG Tool magazine management (only available when too...

  • Page 13

    Introduction 1.1 Overview Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 13 Basic functions The 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 change...

  • Page 14

    Introduction 1.1 Overview Tool Management 14 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Task-related tool motions (e.g. position chain, swivel gripper) are derived from the interface processing. On completion of tool motion, the positions and task status should be acknowledged via basic progr...

  • Page 15

    Introduction 1.1 Overview Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 15 Programming in the NC part program The tool management function makes it possible to call a tool in the part program using a name (identifier), e.g. T = "end mill 120 mm". Tool call is still pos...

  • Page 16

    Introduction 1.1 Overview Tool Management 16 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Location coding Fixed location coding as well as variable location coding are supported for the tools. Location type The location type defines the type and shape of the location. By assigning location type...

  • Page 17

    Introduction 1.1 Overview Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 17 Excerpt from TM basic data Term Data/Range Magazine configuration per channel 1 Total number of magazines Max. 32 Total number of magazine locations Max. 600 Total number of tools Max. 600 per TO unit / m...

  • Page 18

    Introduction 1.1 Overview Tool Management 18 Function Manual, 02/2012, 6FC5397-6BP40-3BA0

  • Page 19

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 19 Overview 22.1 Function structure of tool management HMI ● Tool list ● Tool wear list ● OEM tool list ● Magazine list NCK ● Manage tool data State Monitoring Offsets ● Manage magazine data Magazine Magazine locations ● ...

  • Page 20

    Overview 2.2 HMI/PLC - NCK data structure (OPI) Tool Management 20 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 2.2 HMI/PLC - NCK data structure (OPI) ...... Figure 2-1 Structure of magazine data and tool data

  • Page 21

    Overview 2.2 HMI/PLC - NCK data structure (OPI) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 21 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 constit...

  • Page 22

    Overview 2.3 PLC – NCK interfaces Tool Management 22 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 2.3 PLC – NCK interfaces Overview The heart of the SINUMERIK 840D sl tool management system is located on the NCK. The PLC merely contains the interfaces for the machine-specific part (see Fig....

  • Page 23

    Overview 2.3 PLC – NCK interfaces Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 23 Figure 2-3 Extended interface for tool management between PLC and NCK

  • Page 24

    Overview 2.4 Magazine configuration Tool Management 24 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 2.4 Magazine configuration Magazine configuration In a configuring process, (HMI or NC program) one or several real (actual magazine to store tools, NCK can manage several magazines), magazines c...

  • Page 25

    Overview 2.5 Access protection, protection levels Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 25 2.5 Access protection, protection levels The access to programs, data and functions is protected via 8 hierarchical levels according to customer requirements. These are divided into...

  • Page 26

    Overview 2.5 Access protection, protection levels Tool Management 26 Function Manual, 02/2012, 6FC5397-6BP40-3BA0

  • Page 27

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 27 Description of functions 33.1 Magazines 3.1.1 Buffer A buffer involves the 2nd internal magazine. The magazine number is always 9998. The buffer includes the spindle, toolholder, gripper, loader and transfer location. The locations ...

  • Page 28

    Description of functions 3.1 Magazines Tool Management 28 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.1.2 Loading magazine The loading magazine is the 1st internal magazine and always has magazine number 9999. The loading magazine contains loading locations. These are sub-divided into ● L...

  • Page 29

    Description of functions 3.1 Magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 29 1. The programming function T = identifier is implemented in the PLC in data block DB 72. Bit "Prepare tool" is set in the associated interface. 2. Programming function M06 is also i...

  • Page 30

    Description of functions 3.1 Magazines Tool Management 30 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Figure 3-2 Machine tool with chain and box-type magazine The magazine zero point is defined by $TC_MDP2 (with value assignment of 0). The change position (spindle) is normally assigned on thi...

  • Page 31

    Description of functions 3.1 Magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 31 Figure 3-3 Double-slide turning machine with direct loading/unloading point in the turret 3.1.5 Other magazine types In practice, there are other types of magazines in addition to the ones li...

  • Page 32

    Description of functions 3.1 Magazines Tool Management 32 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 magazine with number 1). Th...

  • Page 33

    Description of functions 3.1 Magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 33 Disable (internally) Bit 1 of system variable $TC_MAMP3 can be set to determine how internal deactivation of a wear group will affect the status of the associated tools. Value 0: The tool sta...

  • Page 34

    Description of functions 3.1 Magazines Tool Management 34 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 You can modify this search order by setting this system variable as follows: 1. Delete the assignment $TC_MDP2[1,0]=9999 $TC_MDP2[2,0]=9999 $TC_MDP2[3,0]=9999 $TC_MDP2[4,0]=9999 2. Re-assign ...

  • Page 35

    Description of functions 3.1 Magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 35 The following can be selected as default setting: As soon as a location is blocked, then "overload active" is automatically set or is reset again as soon as the location is unblocked...

  • Page 36

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 36 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.2 Several tools at a magazine location (multitool) 3.2.1 Short description Overview Using the function TMMG (Magazine management) and when the "mu...

  • Page 37

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 37 Figure 3-4 Location number The diagram shows the distance coding of the locations in the multitool, i.e. the MT location number of the particular MT loc...

  • Page 38

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 38 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Typical geometries can be seen in this diagram. Angle α and the lengths are output to the PLC. This means for example that multi-tools can be used at a ...

  • Page 39

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 39 Figure 3-7 Shown with additional adapter data The following machine data and language commands are available for the "multitool" function (see...

  • Page 40

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 40 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 ● $P_MTOOLN, $P_MTOOLMT Number of multi-tools, MT number is the i-th MT ● $P_MTOOLNT, $P_MTOOLT Number of tools in the multitool, T number of the i-t...

  • Page 41

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 41 3.2.2 Programming MT numbers The multitool numbers originate from the same number space as the T numbers and the magazine numbers. Numbers 1-32000 are pe...

  • Page 42

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 42 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 NCK identifier Description Format Pre-assigned limit values $TC_MTPN The number of locations is defined as delete command INT 0 0-$MN_MAX_TOOLS_PER_MULT...

  • Page 43

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 43 $TC_MTTP3 $TC_MTP6 - MT size The size data of a multitool is essentially the same as the size data of a tool - and is used to find an optimally suitable ...

  • Page 44

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 44 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Bit Meaning Comment 5 Is being changed Protect the multitool during tool selection from competing additional tool selection/MT motion. This means that it...

  • Page 45

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 45 Interdependencies between the tool and multitool states Tools, which are loaded in the multitool, can influence the state of the multitool and for MT tra...

  • Page 46

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 46 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Bit Meaning Comment 14 selected for 1:1 exchange This state is not required for tools loaded in the MT. As part of the empty location search, it is only ...

  • Page 47

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 47 A graphic representation of the "locked" state coupling is again shown in the following two diagrams: Figure 3-8 Automatic state change of the...

  • Page 48

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 48 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 $TC_MTP_POS - MT position The position of the multitool is the MT location number of the location, which is in the machining position, and which contains...

  • Page 49

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 49 The type of distance coding can only be changed as long as no MT locations have been created. Otherwise Alarm 6438 "Inconsistent data modification i...

  • Page 50

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 50 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 NCK identifier Description Format Physical unit Pre-assigned limit values $TC_MTPPL Distance from the reference location; unit "length" (L stan...

  • Page 51

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 51 The FC6 can be parameterized as follows: FC 6 parameters Values Comment Start Starts job TaskIdent 1 DB 71 interface TaskIdentNo 1 No. of active interf...

  • Page 52

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 52 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 The user interface looks like this: DB 71 DBB0 00000001 Interface 1 active DBBn 00110000 Positioning the multitool / command comes from the part progra...

  • Page 53

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 53 3.2.4 Tool change with a tool from a multitool Overview Programming tool change commands remains unchanged. The programming T= "Miller_150" M06...

  • Page 54

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 54 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 $TC_MTP_POS[23]=2 MT position (is not evaluated, if the tool is located in the magazine) $TC_MTP_KD[23]=3 Distance coding (3 = angle) $TC_MTP_PROTA[23]=&...

  • Page 55

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 55 The PLC user interface looks like this: DB 72 DBB0 00000001 Interface 1 active DBB(n+4) 00000100 Prepare change DBB(n+5) 10000000 Data available in th...

  • Page 56

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 56 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 DBW(n+32) 1 New tool: Original magazine (is identical with DB72.DBW(n+44) DBW(n+34) 10 New tool: Original location (is identical with DB72.DBW(n+46) Th...

  • Page 57

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 57 The FC6 can be parameterized as follows. Assumption: The prepared tool or multitool was already transported and here, in the example, only the final ack...

  • Page 58

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 58 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 For the user interface this means ● No transport job for the "carrier tool". DB 72 DBB0 00000001 Interface 1 active DBB(n+4) 00000100 Prepa...

  • Page 59

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 59 M06 ; generates the PLC command = 3 with the data ID:00005/00005 ------ CMD:00003 NewTool: from M: 09998 P: 00001 to M: 09998 P: 00001 TNo: 00023/00001 s...

  • Page 60

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 60 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 For case 1.1, the data for a) "MT from toolholder to toolholder" b) "Position to the already positioned location of the tool "Tool5&q...

  • Page 61

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 61 M06 ; generates the PLC command = 3 with the data ID:00006/00005 ------ CMD:00003 NewTool: from M: 00000 P: 00000 to M: 00000 P: 00000 TNo: 00000 spindle...

  • Page 62

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 62 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 The following command is then programmed: ;MT-Position $TC_MTP_POS[500]=2 T4 ;at magazine location 4, in the multitool loaded there, select the tool, w...

  • Page 63

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 63 Not possible to move the tool from or to the MT location A tool cannot be transported to or from a multitool location. Both PI service as well as a langu...

  • Page 64

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management 64 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Wear group and multitool All tools within a multitool belong to the wear group of the multitool itself. The locations within a multitool have the "w...

  • Page 65

    Description of functions 3.2 Several tools at a magazine location (multitool) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 65 Tool adapter at MT location/tool adapter at magazine location Just like a magazine location, an adapter can also be allocated $TC_MPP7[mag. No., location...

  • Page 66

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 66 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.3 Tool change box-type, chain, circular magazines 3.3.1 Prepare a tool change Fundamentals The tool change type is set using machine data 22550 $MC_TOOL...

  • Page 67

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 67 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 ...

  • Page 68

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 68 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.3.2 General tool change sequence Overview Transport acknowledgement M06 Figure 3-10 Preparing and changing a tool

  • Page 69

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 69 Figure 3-11 Tool changing with T command The prompt for changing the tool is issued by the part program via T command or M command. 1. The tool-manageme...

  • Page 70

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 70 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Spindle and toolholder Tool management can also be used for machines that have no spindle (e.g. punch presses or turrets). In this case the term "spi...

  • Page 71

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 71 Example for the time sequence of a tool change The following example shows a typical cut-to-cut sequence of operations for a tool change with a tool chang...

  • Page 72

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 72 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 0 Figure 3-12 Chronological sequence of tool change t1 axes stationary, spindle rotating, start of the tool change cycle in N10 t2 Traverse axis with G75 ...

  • Page 73

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 73 3.3.3 Monitoring the maximum speed of a tool If the maximum speed is exceeded, e.g. for very large tools, then this can represent a danger for man and mac...

  • Page 74

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 74 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 The toolholder is not a spindle If the toolholder is rigid and the toolholder number is not a spindle ($MC_TOOL_MANAGEMENT_TOOLHOLDER > 0) (this is typ...

  • Page 75

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 75 Activation of the limiting when the tool is changed The dynamics limiting by the tool on the spindle is only active if the tool is on the spindle as far a...

  • Page 76

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 76 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Step No. NC program NC -> PLC PLC -> NC 7 CMD=3, Status=105 New tool T-No=8: Mag./Mag.Loc.1-> Sp1 Old tool T-No=6: Mag./Mag.Loc.2 -> Mag./Ma...

  • Page 77

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 77 Diagnostic option The actual reason for a speed limit can be read from the system variable $AC_SMAXVELO_IDX[n] with n = spindle number. The value "12...

  • Page 78

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 78 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Configuration The function becomes available when setting the option "Tool monitoring for maximum speed". If several channels are active, and se...

  • Page 79

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 79 Data backup After importing a data backup with tool data, from the data perspective, tools can be on spindles or toolholders. The dynamic limit is corresp...

  • Page 80

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 80 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Select/deselect tool offset for Reset The following machine data can be used to control the behavior for RESET: ● MD20310 TOOL_MANAGEMENT_MASK bit 14 ...

  • Page 81

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 81 Tool rejection by the PLC For a block search, selection on reset or program start as well as the setting "PrepSelect", then the tool is selected...

  • Page 82

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 82 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 1. Interpreter detects an offset selection (D number) 2. It determines that a tool change was previously programmed which has not yet resulted in selecti...

  • Page 83

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 83 Tool change preparation in a main spindle 1. In the main run, the tool management decides which tool is to be used. Until then, the preprocessor waits at ...

  • Page 84

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 84 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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...

  • Page 85

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 85 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....

  • Page 86

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 86 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 The tool with the dual gripper is withdrawn from the magazine and the spindle. The old tool is now in gripper 2 at location No. 3 and the new tool in grip...

  • Page 87

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 87 FC 8 parameters Values Comment Start Starts task TaskIdent 2 DB 72 interface TaskIdentNo 1 No. of active interface NewToolMag 9998 (n+16) Mag. No. spindl...

  • Page 88

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 88 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.3.8 Special cases "T0", empty spindle, multiple T selection T0: Empty spindle DB72.DBX(n+0).3 indicates that T0 has been programmed. If the sp...

  • Page 89

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 89 FC 7 parameters Values Comment Start Starts task ChgdRevNo 1 1st turret Ready Checkback signal from FC 8/FC 6 Error Checkback signal from FC 8/FC 6 3....

  • Page 90

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 90 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.3.11 Tool changing errors If an error is detected by the NCK in the programmed tool preparation (e.g. no tool available, no free position in magazine) p...

  • Page 91

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 91 Bit 0 of machine data 22562 TOOL_CHANGE_ERROR_MODE is used to set at which block a stop is to be made. TOOL_CHANGE_ERROR_MODE, bit 0=0: N10 ... N100 T...

  • Page 92

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 92 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Responsibility of the operator The user must ensure that ● the data record of the tool positioned on the spindle is actually in the NCK and ● that he ...

  • Page 93

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 93 Magazine location 9999/1 for manual tools For manual tools, magazine location 1 in Magazine 9999 has a special significance. Typically, as a result of the...

  • Page 94

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 94 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Boundary conditions In conjunction with tool selection, tool change and offset selection, only problems associated with the offset block technique can be ...

  • Page 95

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 95 Note As a consequence, a tool that was loaded onto the spindle, e.g. via SINUMERIK Operate, is now not a manual tool. As a consequence, it is placed in t...

  • Page 96

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 96 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Explicitly writing the state "manual tool" ($TC_TP8, bit 15) Further, the "manual tool" state of the tool can be set or reset by writi...

  • Page 97

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 97 The "manual tool" state is effective via a power on. When unloading a tool to the virtual magazine address 9999/1, the settings of MD $MN_TOOL_U...

  • Page 98

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 98 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Behavior, NC language commands "TCA", "TCI" and return transport for manual tools If the language command TCA programs a certain tool,...

  • Page 99

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 99 M06 Information alarm 17212 "...manual tool "FRAESER_120" Duplo number 00001 take from spindle/toolholder 1" with the final acknowled...

  • Page 100

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 100 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 The following variables are used for the mapping process: $AC_TC_FCT Function No. (command No. of the NCK) $AC_TC_STATUS Acknowledgement status from the...

  • Page 101

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 101 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 Power On a...

  • Page 102

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 102 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 With commands "2" and "5" (T preparation or T/M06), with old location>0 and PLC acknowledgement status "105" (serves as ...

  • Page 103

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 103 3.3.14 Function replacement Overview The function allows a T, M or D function to be replaced by a cycle. The function is available independent of the too...

  • Page 104

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 104 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Transfer variables of the T replacement cycle $C_T T number of the tool (numerical) $C_T_Prog Bool variable that shows whether a T word is available in ...

  • Page 105

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 105 ; if $C_TS_PROG==1 ;T=String if $C_TCA==1 ;TCA if $C_DUPLO_PROG==1 ;Duplo-No? if $C_THNO_PROG>=1 ;Toolholder No TCA($C_TS,$C_DUPLO,$C...

  • Page 106

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 106 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 In the cycle, actions can now be easily executed to prepare the tool, scan the gripper, position the magazine data transfer to the PLC, start auxiliary c...

  • Page 107

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 107 There are two different cases: 1. The substitution subroutine for the tool change configured with $MN_M_NO_FCT_CYCLE_PAR was called. $C_M contains the va...

  • Page 108

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 108 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.3.15 Block search Block search with calculation On a block search, selection on reset or start, the tool is selected during preprocessing. In this case...

  • Page 109

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 109 Tool cannot be used Alarm 22068 is output if the tool to be loaded at the search target cannot be used (it is not available, locked, ...), the program mu...

  • Page 110

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 110 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.3.16 Block search (SSL) in conjunction with active tool management The block search has already been described. Here we shall deal with the specific fe...

  • Page 111

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 111 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 after bloc...

  • Page 112

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 112 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Note 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" ...

  • Page 113

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 113 Block search to block N212 1. Setting $MC_Cutting_Edge_Default=-2 GETEXET = 32 $P_TOOLNO = 5 2. $MC_Cutting_Edge_Default=1 GETEXET = 32 $P_TOOLNO = 32 3....

  • Page 114

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 114 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 The following must be entered in the symbol table: Symbol Address Data type Comment Channel 1 DB 21 UDT 21 SpChPos DB 72 UDT 72 TC_VAR DB 119 DB 119 ...

  • Page 115

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 115 Exception: The tool status of the tool activated in the test mode can take the status "active". Note It may not be concluded - if the setting...

  • Page 116

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 116 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.3.19 Decoupling the tool management from the spindle number The program must specify the location (spindle number on milling machines) at which the too...

  • Page 117

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 117 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...

  • Page 118

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 118 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Example of a part program (for a channel with two spindles) (Requirement: CUTTING_EDGE_DEFAULT=1; i.e. D1 is implicitly active with the tool change M06):...

  • Page 119

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 119 Further example (starting conditions as above) N10 SETMS ; Declares spindle number 1 as master spindle N20 T2=3 ... N50 M2=6 ;;;Address extension fo...

  • Page 120

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 120 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Working with toolholder numbers 16235151413121178941610 Figure 3-16 2 channels each with one toolholder and one TO unit (The zero position is located at...

  • Page 121

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 121 Figure 3-17 1 channel with 2 toolholders (The zero position is located at the change position of the toolholder 1) Two toolholders in a channel are oper...

  • Page 122

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 122 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Programming example The language command SETMTH (toolholder number) is used to declare one or several tool holders to the master toolholder. The initial ...

  • Page 123

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 123 3.3.20 Several spindles/toolholders Overview Tool management can work in one channel with more than one toolholder. If several channels of one TO unit ar...

  • Page 124

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 124 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.3.21 Several magazines in one channel or one TO unit Address extension The NC address T can be programmed with an address extension. The tool managemen...

  • Page 125

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 125 3.3.22 Reset and start mode Fundamentals The tool offset selection/deselection can be set in the machine data for program end or reset as well as for NC ...

  • Page 126

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 126 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Figure 3-19 Reset and start mode

  • Page 127

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 127 MD20110 $MC_RESET_MODE_MASK Bit 0=0: Significance: leave offset unchanged, i.e. after end of part program and reset, the offset last programmed remains a...

  • Page 128

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 128 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Power On behavior The machine data setting is active after Power On. This means the offset for the tool which is placed in the spindles specified in MD ...

  • Page 129

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 129 MD20130 $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 s...

  • Page 130

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 130 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Start behavior for toolholder Bit 17=0: The offset that was last selected remains active. It does not matter whether the offset was selected in the part ...

  • Page 131

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 131 Example 2 In this example, the spindle tool is to be set down again at end of program (M02/M30) and reset ("automatic T0"). The following appli...

  • Page 132

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 132 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 $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...

  • Page 133

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 133 Note Using MD20310, bit 12 = 1 and the described settings, for each reset a preparation and change command is output to the PLC and must be acknowledge...

  • Page 134

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 134 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Repeating the T preparation before loading Bit 11 = 0 Bit 11 = 1 N10 T="TL1" Tool preparation command is output to the PLC Tool preparation c...

  • Page 135

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 135 Example 2: Bit 12 = 0 Bit 12 = 1 N10 T="TL1" Tool preparation command to the PLC Tool preparation command to the PLC N12 M06 Tool change comm...

  • Page 136

    Description of functions 3.3 Tool change box-type, chain, circular magazines Tool Management 136 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Condition for processing a new tool preparation command in the NCK N10 T = "TL1" N20 T = "TL2" ; ; A command is only processed in ...

  • Page 137

    Description of functions 3.4 Search for tool Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 137 3.4 Search for tool 3.4.1 Strategies for tool searches The tool search is initiated by the preparation command (T selection). The search begins for a tool to load in the spindle. In th...

  • Page 138

    Description of functions 3.4 Search for tool Tool Management 138 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Setting bit 6 means that a search is first made in the magazine currently being considered. This is only active in conjunction with bit 7 =1. The strategies, where the search always sta...

  • Page 139

    Description of functions 3.5 Empty location search Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 139 3.5 Empty location search 3.5.1 Empty location search for a tool – from spindle to magazine With the T preparation command, a matching empty location is automatically searched f...

  • Page 140

    Description of functions 3.5 Empty location search Tool Management 140 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.5.2 Search strategy for empty locations Search strategy The strategy can be defined with the magazine configuration according to which the search is made in magazines of TO unit...

  • Page 141

    Description of functions 3.5 Empty location search Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 141 Definition of the current magazine position The current magazine position at the change location is stored in magazine parameter (system variable) $TC_MAP8. The value is automatic...

  • Page 142

    Description of functions 3.5 Empty location search Tool Management 142 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 The following location type relationships are defined: 1st hierarchy $TC_MPTH[0.0] = A $TC_MPTH[0.1] = B $TC_MPTH[0.2] = D 2nd hierarchy $TC_MPTH[1.0] = C $TC_MPTH[1.1] = E Type A...

  • Page 143

    Description of functions 3.5 Empty location search Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 143 Examples There are three tools with the T and location type numbers = 100 and 1, 200 and 2, 600 and 6. The following definitions apply. $TC_MPTH[ 0, 0 ] = 10 ; hierarchy of the d...

  • Page 144

    Description of functions 3.5 Empty location search Tool Management 144 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.5.5 Search procedure for empty locations The following apply as criteria for the empty location search: ● Location type must coincide with location type of tool. A hierarchy ...

  • Page 145

    Description of functions 3.5 Empty location search Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 145 If the new or old tool is coded as a fixed location tool or the tool size or the location type is not identical, then the strategy is not used. Note The PLC program has to execu...

  • Page 146

    Description of functions 3.5 Empty location search Tool Management 146 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.5.7 Tool search in wear group Overview If "Wear group" function is used: In the case of existing tool-search strategies, the search refers only to the active wear grou...

  • Page 147

    Description of functions 3.5 Empty location search Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 147 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 machin...

  • Page 148

    Description of functions 3.5 Empty location search Tool Management 148 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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). ...

  • Page 149

    Description of functions 3.5 Empty location search Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 149 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 &qu...

  • Page 150

    Description of functions 3.6 Loading Tool Management 150 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.6 Loading 3.6.1 Loading sequence Overview Loading generally involves transporting a tool from a loading point (location in the loading magazine) into a real magazine. In so doing, the tool is...

  • Page 151

    Description of functions 3.6 Loading Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 151 DB71.DBX0.1 = 1 ; Interface 2 active DB71.DBX34.0 = 1 Command: Loading DB71.DBW50 = 9999 Magazine No. of the loading magazine DB71.DBW52 = 2 Location No. within the loading magazine DB71.DB...

  • Page 152

    Description of functions 3.6 Loading Tool Management 152 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Problems during loading A tool cannot be loaded. Check the following: ● Is the location type correct? ● Is a suitable empty location available? ● Has the number of tools enabled in the NC...

  • Page 153

    Description of functions 3.6 Loading Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 153 Example DEF INT TNo TNo=NEWT("test",1) $TC_TP3[TNo]=2 ; Size left $TC_TP4[TNo]=2 ; Size right $TC_TP5[TNo]=1 ; Size top $TC_TP6[TNo]=1 ; Size bottom $TC_TP7[TNo]=2 ; Location ty...

  • Page 154

    Description of functions 3.6 Loading Tool Management 154 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 If the T number is not known, then it has to be determined for each tool to be retroloaded and be supplied from a variable. This reduces the overhead for the user and also reduces the scope for...

  • Page 155

    Description of functions 3.6 Loading Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 155 $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,...

  • Page 156

    Description of functions 3.7 Unloading Tool Management 156 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.7 Unloading 3.7.1 Overview Unloading removes the tool from the magazine. It always involves transporting a tool from a real magazine into the loading magazine. In so doing, the owner locati...

  • Page 157

    Description of functions 3.7 Unloading Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 157 1. Generally, the PLC must now position "Location 7" from "Magazine No. 1" (from which the tool should be unloaded) to the "loading/unloading point 2" and then u...

  • Page 158

    Description of functions 3.7 Unloading Tool Management 158 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Example: Positioning for unloading FC 8 parameters Values Comment Start Starts job TaskIdent 1 DB 71 interface TaskIdentNo 2 No. of active interface NewToolMag 9999 Mag. No. 9999 NewToolLoc...

  • Page 159

    Description of functions 3.8 Relocating tools and positioning the magazine Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 159 3.8 Relocating tools and positioning the magazine 3.8.1 Relocate (task from TM system) Basis When relocating, the target address is the magazine and the lo...

  • Page 160

    Description of functions 3.8 Relocating tools and positioning the magazine Tool Management 160 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 1st example 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 tha...

  • Page 161

    Description of functions 3.8 Relocating tools and positioning the magazine Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 161 2. Move from gripper 3 to transfer location 2, location No. 6 FC 8 parameters Values Comment Start Starts job TaskIdent 4 Task from PLC TaskIdentNo 1 Cha...

  • Page 162

    Description of functions 3.8 Relocating tools and positioning the magazine Tool Management 162 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.8.3 Positioning the magazine Overview When positioning, a traversing block is sent to the PLC by the tool management. Bit 3 is set in DB71.DBB(n+0) "...

  • Page 163

    Description of functions 3.9 Tool monitoring (workpiece count, tool life, wear) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 163 3.9 Tool monitoring (workpiece count, tool life, wear) 3.9.1 Monitoring types Quantity The quantity monitoring, initiated by the language command SETP...

  • Page 164

    Description of functions 3.9 Tool monitoring (workpiece count, tool life, wear) Tool Management 164 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Tool life, workpiece count and wear The monitoring type for the tools is generally set when creating or loading. You can change the monitoring type at...

  • Page 165

    Description of functions 3.9 Tool monitoring (workpiece count, tool life, wear) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 165 Tool monitoring alarms When the prewarning limit or the monitoring limit of a tool is reached, one of the alarms 6010, 6011, 6012, 6013 (cancel clear ...

  • Page 166

    Description of functions 3.9 Tool monitoring (workpiece count, tool life, wear) Tool Management 166 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.9.2 Tool life monitoring Monitoring of tool cutting edge Tool life monitoring is only performed on the tool edge that is currently in use. The spind...

  • Page 167

    Description of functions 3.9 Tool monitoring (workpiece count, tool life, wear) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 167 Time monitoring hierarchy The combination of system variable $A_MONIFACT and function "Program test active" produces the following nested ti...

  • Page 168

    Description of functions 3.9 Tool monitoring (workpiece count, tool life, wear) Tool Management 168 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Monitoring from the NCK The workpiece counter is decremented each time that SETPIECE is programmed. When the prewarning limit is reached, an informat...

  • Page 169

    Description of functions 3.9 Tool monitoring (workpiece count, tool life, wear) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 169 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...

  • Page 170

    Description of functions 3.9 Tool monitoring (workpiece count, tool life, wear) Tool Management 170 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Monitoring parameters (system variables) $TC_MOP15 Wear setpoint or additive offset value $TC_MOP5 Wear pre-warning limit or additive offset pre-warn...

  • Page 171

    Description of functions 3.9 Tool monitoring (workpiece count, tool life, wear) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 171 3.9.5 Signals to and from the PLC Overview Previously, an alarm message was output as soon as the prewarning limit or limit value was reached. Alarms ...

  • Page 172

    Description of functions 3.9 Tool monitoring (workpiece count, tool life, wear) Tool Management 172 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 VDI signal "T number of new replacement tool" - channel DB.DBD356 The transition to a new replacement tool is initiated by the tool status &...

  • Page 173

    Description of functions 3.9 Tool monitoring (workpiece count, tool life, wear) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 173 "Search for active tool" strategy This search strategy can ensure that a machining operation is not performed with different tools from the ...

  • Page 174

    Description of functions 3.10 Tool monitoring without active tool management Tool Management 174 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.10 Tool monitoring without active tool management 3.10.1 Tool monitoring overview General information Note The function is designed for simple applic...

  • Page 175

    Description of functions 3.10 Tool monitoring without active tool management Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 175 State and type of tool monitoring System parameter $TC_TP8 can be used to determine the state for the particular tool, $TC_TP9, the monitoring function t...

  • Page 176

    Description of functions 3.10 Tool monitoring without active tool management Tool Management 176 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.10.2 Tool life monitoring Overview Tool life monitoring is done for the tool cutting edge that is currently in use (active cutting edge D of the active...

  • Page 177

    Description of functions 3.10 Tool monitoring without active tool management Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 177 3.10.3 Workpiece count monitoring General The active cutting edge of the tool that has been loaded at change is monitored for the workpiece count without...

  • Page 178

    Description of functions 3.10 Tool monitoring without active tool management Tool Management 178 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.10.6 Working with replacement tools If replacement tools are used, it is necessary to define the rules relating to the transition to the replacement to...

  • Page 179

    Description of functions 3.10 Tool monitoring without active tool management Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 179 3.10.8 NC language commands General The NC language commands, which apply for tool monitoring without tool management, are only listed here. A detailed d...

  • Page 180

    Description of functions 3.11 Variants of D-number assignments Tool Management 180 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.11 Variants of D-number assignments 3.11.1 Relative D No. for each T - standard D numbers ranging from 1 to max. 12 are available for every T = "identifier"...

  • Page 181

    Description of functions 3.11 Variants of D-number assignments Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 181 3.11.2 Absolute D No. without reference to the T number (flat D No.) Independence between D number and T number can be selected as an alternative to relative D numbers...

  • Page 182

    Description of functions 3.11 Variants of D-number assignments Tool Management 182 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.11.3 Free selection of D numbers for every T D numbers can be freely assigned to tool edge numbers in systems with and without TM. A maximum of 12 cutting edges are ...

  • Page 183

    Description of functions 3.11 Variants of D-number assignments Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 183 Machine data for available (unique) assignment of D numbers $MN_MAX_CUTTING_EDGE_NO= Maximum permissible D number Example: $MN_MAX_CUTTING_EDGE_NO=1 A maximum of 1 of...

  • Page 184

    Description of functions 3.11 Variants of D-number assignments Tool Management 184 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 GETDNO, SETDNO when re-equipping The NC language commands GETDNO and SETDNO permit reading and writing the offset number D for a specified cutting-edge number CE. GE...

  • Page 185

    Description of functions 3.11 Variants of D-number assignments Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 185 3.11.4 Location-dependent offsets (additive offsets) Overview Location-dependent offsets are a generalized form of wear. They are part of the cutting edge data. The pa...

  • Page 186

    Description of functions 3.11 Variants of D-number assignments Tool Management 186 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Configuration of additive/setting-up offset $MN_MM_KIND_OF_SUMCORR, bit 4=0 Corresponds to the default setting; only one data record of additive offset available per ...

  • Page 187

    Description of functions 3.11 Variants of D-number assignments Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 187 Figure 3-24 $MN_MM_KIND_OF_SUMCORR, bit 4=1 The data in the diagram are used when programming (the tool with T=t is active): D2 ; ;; Cutting edge offsets i.e. $TC_DP...

  • Page 188

    Description of functions 3.12 Adapter data Tool Management 188 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.12 Adapter data 3.12.1 Overview Purpose With the system variables $TC_DP21, $TC_DP22 and $TC_DP23, the standard data record for the tool offset offers the option of entering the dimensi...

  • Page 189

    Description of functions 3.12 Adapter data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 189 3.12.2 Description of function The adapter data function must be enabled via machine data (MD18104: MN_MM_NUM_TOOL_ADAPTER). In order to activate the setting, bit 7 must be set in MD18080...

  • Page 190

    Description of functions 3.12 Adapter data Tool Management 190 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 The offset data can then be displayed as follows: ● Geometrical data for the tool (system variable $TC_DP3,...DP11); designated as neutral default geometry ● Non-transformed working o...

  • Page 191

    Description of functions 3.12 Adapter data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 191 Delete If, MD18104 MM_NUM_TOOL_ADAPTER has the value > 0, then the adapter data can be deleted as required provided it is not assigned to a magazine location. $TC_ADPTT[n] = -1 Adapter...

  • Page 192

    Description of functions 3.12 Adapter data Tool Management 192 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Example of an adapter transformation A turning tool with lengths L and Q is described below. Figure 3-26 The 8 defined transformations (T = 1...8) for the adapter with G 18 and for a tur...

  • Page 193

    Description of functions 3.12 Adapter data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 193 The transformation numbers correspond to the transformations shown in the table. In general: Length1t, length2t, length3t = f(length1, length2, length3) = f(l1,l2,l3) = f(Q,L,l3) Transf...

  • Page 194

    Description of functions 3.12 Adapter data Tool Management 194 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Working offset = f(offset) + adapter dimensions of the magazine location aLength1 Länge1t + $TC_ADPT1 aLength2 Length2t+ $TC_ADPT2 aLength3 Length3t + $TC_ADPT3 ARadius1 Radius1 Dependi...

  • Page 195

    Description of functions 3.12 Adapter data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 195 Figure 3-27 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...

  • Page 196

    Description of functions 3.12 Adapter data Tool Management 196 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Figure 3-28 Fig. 3-30 $TC_DP21, ...23 - Contents for an active "Adapter" function Specifications: ● Tool t ● Magazine location p ● Magazine m ● Adapter a ● Tool with ...

  • Page 197

    Description of functions 3.12 Adapter data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 197 Data transfer to the NCK You need to declare how the data is transferred to the NCK. ● You can transfer the data via the part program by programming the system variable $TC_... The par...

  • Page 198

    Description of functions 3.12 Adapter data Tool Management 198 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Examples for assigning adapter data Example 1 Specifications: ● MM_NUM_TOOL_ADAPTER = -1 ● MM_NUM_MAGAZIN_LOCATION = 20 ● One chain with 16 locations, magazine number = 1 ● Two gr...

  • Page 199

    Description of functions 3.12 Adapter data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 199 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. Loc...

  • Page 200

    Description of functions 3.13 Power failure while tool command is in progress Tool Management 200 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 3.13 Power failure while tool command is in progress If a power failure occurs during an action requested by tool management, defined strategies are exe...

  • Page 201

    Description of functions 3.14 PLC description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 201 3.14 PLC description 3.14.1 Interfaces Overview The interfaces in the PLC consist of data blocks that are updated by the basic program. Tasks such as load tool or prepare tool change a...

  • Page 202

    Description of functions 3.14 PLC description Tool Management 202 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Overview of data blocks Block number Length in byte Meaning DB 71 4 + 30 bytes * B Interface for loading/unloading points DB 72 4 + 48 bytes * W Interface for spindle as change ...

  • Page 203

    Description of functions 3.14 PLC description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 203 DB 1073 Extended data for the multitool Change with T command. The structure is analog to DB 73. DB 74 Data block DB 74 is an internal tool management data block used for communication...

  • Page 204

    Description of functions 3.14 PLC description Tool Management 204 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Jobs from NCK tool management Jobs Interface Acknowledgment Applications, special features Loading DB 71 FC 8/FC 6, TaskIdent = 1, TaskIdentNo = interface No. NewToolPlace = target de...

  • Page 205

    Description of functions 3.14 PLC description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 205 Jobs Interface Acknowledgment Applications, special features Without NCK Command: Return OldTL to magazine FC 8/FC 6, TaskIdent = 4, TaskIdentNo = channel The OldTL may need to be tra...

  • Page 206

    Description of functions 3.14 PLC description Tool Management 206 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Further interfaces in the channel interfaces for the ToolMan function DBD 348 T number for tool pre-alarm limit DBD 352 T number for tool limit value DBD 356 T number of the new repla...

  • Page 207

    Description of functions 3.14 PLC description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 207 3.14.2 Definitions of acknowledgement status Magazine identifier Real magazines The number range from 1 ...9997 is available for the real magazine, defined when generating the magazine...

  • Page 208

    Description of functions 3.14 PLC description Tool Management 208 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Synchronization There are various methods by which the PLC and NCK can be synchronized. Synchronization is forced by machine data 20310 TOOL_MANAGEMENT_MASK using bits 5, 6, 7, 8 and 1...

  • Page 209

    Description of functions 3.14 PLC description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 209 Acknowledgement of output commands Acknowledgements from the basic PLC program and from the VDI are returned while the command that has been output is being executed. ● The basic PLC...

  • Page 210

    Description of functions 3.14 PLC description Tool Management 210 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 ● This current tool location is checked against the address specified in the command. ● If these data do not match, then after the acknowledgement data of the PLC have been checked...

  • Page 211

    Description of functions 3.14 PLC description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 211 NewTool: from M: 00003 P: 00006 to M: 09998 P: 00002 OldTool: from M: 00000 P: 00000 to M: 00000 P: 00000 ID:00000/00002-------- ACK:00002 St: 00001 NewTool: from M: 09998 P: 00002 to...

  • Page 212

    Description of functions 3.14 PLC description Tool Management 212 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 For DBX(n+1.0), n is the start address of the interface in the particular data block. Function New tool Old tool Status Loading Current position 0 3 Unloading 0 Current position 3 Rel...

  • Page 213

    Description of functions 3.14 PLC description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 213 Precondition ● Bit 13 of machine data MD20310 TOOL_MANAGEMENT_MASK must be set. ● The trace is a ring buffer (_NTCTRA'xx'MPF, with 'xx' = channel number 01, 02, ...). Free memory s...

  • Page 214

    Description of functions 3.14 PLC description Tool Management 214 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Explanation The ID number is used by the NCK to assign acknowledgements. The first number specifies the command ID of the output command. The second number specifies the command identi...

  • Page 215

    Description of functions 3.14 PLC description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 215 ACK Explanation 1 Tool is/was transported. Load, unload, relocate, positioning. FC 8/FC 6 - parameter TaskIdent = 1 2 Tool is/was prepared (setting MD 22550 = 1) FC 8/FC 6 - parameter ...

  • Page 216

    Description of functions 3.14 PLC description Tool Management 216 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Additional PLC services In addition to the function blocks given above, there are further PLC services available for more complex requirements on the part of the PLC user program to in...

  • Page 217

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 217 Commissioning 44.1 Input of the machine data 4.1.1 Input of the machine data General machine data Machine data for memory partitions, assignment of channels to TO units have to be set for tool management. Also, memory will be neede...

  • Page 218

    Commissioning 4.1 Input of the machine data Tool Management 218 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 MD18075 MM_NUM_TOOLHOLDERS Max. number of toolholders MD18076 MM_NUM_LOCS_WITH_DISTANCE Max. number of magazine locations per TOA with distance connections MD18077 MM_NUM_DIST_REL_PER_MA...

  • Page 219

    Commissioning 4.1 Input of the machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 219 MD18095 MM_TYPE_CC_TDA_PARAM Type definition for tool-oriented user data MD18096 MM_NUM_CC_TOA_PARAM Number of additional data per tool edge $TC_DPCx[t,d] generated MD18097 MM_TYPE_CC_TO...

  • Page 220

    Commissioning 4.1 Input of the machine data Tool Management 220 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Definition of tool with which tool offset is to be selected as a function of MD20110 and MD20112 during power-up and reset. MD20122 TOOL_RESET_NAME Definition for selection of tool leng...

  • Page 221

    Commissioning 4.2 Load the machine manufacturer PLC blocks Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 221 4.2 Load the machine manufacturer PLC blocks 4.2.1 Overview Overview Figure 4-1 Commissioning the PLC Program The basic program supplies the tool management interfaces (d...

  • Page 222

    Commissioning 4.2 Load the machine manufacturer PLC blocks Tool Management 222 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 4.2.2 Create PLC data Commissioning tool management If the magazine configuration was created (for all channels involved), the PLC data must be generated. This is done as ...

  • Page 223

    Commissioning 4.2 Load the machine manufacturer PLC blocks Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 223 Execution example for tool change 1. Part program contains T="Drill120" Output at the PLC: "PREPARE CHANGE" DBB(n+0) bit 2=1 (bring new tool from Mag1,...

  • Page 224

    Commissioning 4.2 Load the machine manufacturer PLC blocks Tool Management 224 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 4.2.3 Description of the test blocks Overview of test blocks Block No. Structure Meaning FC 40 Subprogram Preparation of the data for a change with gripper via asynchrono...

  • Page 225

    Commissioning 4.2 Load the machine manufacturer PLC blocks Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 225 Test blocks for tool management To test the tool management function, blocks FC 40, FC 41, FC 42 and data blocks D B62, DB 63 and DB 64 must be loaded to the PLC. FC 41 (w...

  • Page 226

    Commissioning 4.2 Load the machine manufacturer PLC blocks Tool Management 226 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 4. If H9003 is programmed in the first channel (corresponding to data block DB62. DBX15.6 set), the transfer operation described under point 3 is only executed after opera...

  • Page 227

    Commissioning 4.2 Load the machine manufacturer PLC blocks Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 227 5. Values other than zero can be set in DB62.DBW20 and DB62.DBW22. DB62.DBW20 means the spindle number and DB62.DBW22 the buffer number of a gripper assigned to the spindl...

  • Page 228

    Commissioning 4.2 Load the machine manufacturer PLC blocks Tool Management 228 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 4.2.4 Delete pending tasks General The communication initiated by the NC yet interrupted by the PLC job "Cancel pending job" (DB10.DBX105.0) can be terminated by...

  • Page 229

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 229 Programming 55.1 Overview of OPI and system variables Fundamentals All the data required for the purpose of data management (e.g. to define a magazine or load a tool...) is stored in the NCK. This data can be read and written via p...

  • Page 230

    Programming 5.1 Overview of OPI and system variables Tool Management 230 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Overview The following diagram shows an overview of all cutting edge, tool and magazine data ($TC_...) when tool management is active. Note: The sequence of system variables sh...

  • Page 231

    Programming 5.1 Overview of OPI and system variables Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 231 The identifiers (DP,...PP,...MAP,...) are taken from the NC language. They are part of the names of the system variables $TC_DP,... Note The gray data fields are only availabl...

  • Page 232

    Programming 5.2 Cutting edge data Tool Management 232 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.2 Cutting edge data 5.2.1 Cutting edge data Cutting edge data Figure 5-4 Overview of cutting edge data This data exists for each cutting edge that is created (D1-D12). Tool management includes ...

  • Page 233

    Programming 5.2 Cutting edge data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 233 OPI block TO Calculation of line: (d-1)*numCuttEdgeParams+parameter No. Calculation of column: T number Tool offset parameters (system variables) NCK identifier Type Designation OPI variables Typ...

  • Page 234

    Programming 5.2 Cutting edge data Tool Management 234 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Tool offset parameters (system variables) NCK identifier Type Designation OPI variables Type Default setting $TC_DPCE [t,d] INT System variable of an offset data record with T=t and D=d containing...

  • Page 235

    Programming 5.2 Cutting edge data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 235 5.2.3 User cutting edge data $TC_DPCx[t,D] Up to 10 additional cutting edge parameters can be programmed for each cutting edge. Setting with MD18096 MM_NUM_CC_TOA_PARAM and enable with MD18080 MM_...

  • Page 236

    Programming 5.2 Cutting edge data Tool Management 236 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 OPI block TS Calculation of line: (d-1)*numCuttEdgeParams_ts+parameterNo. Calculation of column: T number Tool management monitoring data NCK identifier Type Designation OPI variables Type Defaul...

  • Page 237

    Programming 5.2 Cutting edge data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 237 Tool monitoring user data (edge-specific) NCK identifier Type Designation OPI variables Type Default setting $TC_MOPC1 Int CC monitoring parameters userdata REAL 0 ... Int ... userdata REAL 0 $TC...

  • Page 238

    Programming 5.2 Cutting edge data Tool Management 238 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.2.7 Location-dependent offsets, coarse (setting-up offsets) $TC_ECPx[t,D] The location-dependent offsets, coarse (also setting-up offsets) can be set by the machine setter before the machining o...

  • Page 239

    Programming 5.3 Tool data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 239 5.3 Tool data 5.3.1 Overview Figure 5-5 Overview of tool data 5.3.2 Tool-related data $TC_TPx[t] General tool data This data describes the tool in the magazine. Programming of general tool data with to...

  • Page 240

    Programming 5.3 Tool data Tool Management 240 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Tool-related data, tool management NCK identifier Type Designation OPI variables Type Default setting $TC_TP8 INT Status Value 0 not enabled Bit 0 active tool Bit 1 enabled Bit 2 disabled Bit 3 measure B...

  • Page 241

    Programming 5.3 Tool data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 241 Tool-related data, tool management NCK identifier Type Designation OPI variables Type Default setting $TC_TP_MAX_VELO real Maximum speed of the tool, if the value is > 0. If a speed limit is not define...

  • Page 242

    Programming 5.3 Tool data Tool Management 242 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 $TC_TP8 The tool status is described with system variable $TC_TP8. The system 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 t...

  • Page 243

    Programming 5.3 Tool data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 243 The tool status bit 8=1 ("return transport") 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 ...

  • Page 244

    Programming 5.3 Tool data Tool Management 244 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Bit Value Meaning 12 0 "Not a master tool" 1 "Master tool" State bit 14 (tool marked for 1:1 exchange) NCK internal state, that indicates (for a selected search strategy, 1:1 intercha...

  • Page 245

    Programming 5.3 Tool data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 245 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...

  • Page 246

    Programming 5.3 Tool data Tool Management 246 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Tool-related grinding data Name Type Designation OPI VAR Type $TC_TPG 1 INT Spindle number spinNoDress REAL $TC_TPG 2 INT Chaining rule conntectPar REAL $TC_TPG 3 Double Minimum grinding wheel radius min...

  • Page 247

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 247 5.4 Magazine data 5.4.1 Overview of magazine data Magazine data Figure 5-6 Overview of magazine data 5.4.2 Magazine description data $TC_MAPx[n] Magazine description data This data identifies the rea...

  • Page 248

    Programming 5.4 Magazine data Tool Management 248 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Magazine description data, tool management NCK identifier Type Designation OPI variables Type Default setting $TC_MAP1 INT Type of magazine 1 = Chain 3 = Turret 5 = Box magazine 7 = Tool buffer magazi...

  • Page 249

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 249 $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....

  • Page 250

    Programming 5.4 Magazine data Tool Management 250 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.4.3 Magazine user data $TC_MAPCx[n] Magazine user data Up to 10 user data can be additionally created for each magazine. Setting in the MD18090 MM_NUM_CC_MAGAZINE_PARAM and enable with MD18080 MM_TO...

  • Page 251

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 251 Magazine location data, tool management NCK identifier Type Designation OPI variables Type Default setting $TC_MPP1 INT Location type 1 = Magazine location 2 = Spindle, toolholder 3 = Gripper 4 = Loa...

  • Page 252

    Programming 5.4 Magazine data Tool Management 252 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Magazine location data, tool management NCK identifier Type Designation OPI variables Type Default setting $TC_MPP_SP INT For tool speed and acceleration monitoring Only relevant, if $MC_TOOLHOLDER_MA...

  • Page 253

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 253 7 = Loading point If a tool is moved from the magazine or buffer to this location, after the PLC acknowledgement of this motion command, the tool is automatically removed from this location. Please no...

  • Page 254

    Programming 5.4 Magazine data Tool Management 254 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 $TC_MPP6 (T No.) ● 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...

  • Page 255

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 255 OPI block TUP Calculation of line: (m-1)*numMagLocParams_u+ParameterNo. Calculation of column: Magazine number OEM user magazine location data NCK identifier Type Designation OPI variables Type Defa...

  • Page 256

    Programming 5.4 Magazine data Tool Management 256 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Example A chain magazine is to be split into 6 location types and the following hierarchy defined (the magazine No. is "1", the numbers of the location types are selected at random). Locatio...

  • Page 257

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 257 Magazine data: Distance to change position NCK identifier Type Designation OPI VAR Type $TC_MDP1 INT Distance between tool change position of magazine n and location m of 1st internal magazine (loadi...

  • Page 258

    Programming 5.4 Magazine data Tool Management 258 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 The maximum number of these distance relationships can be defined with machine data $MN_MM_NUM_LOCS_WITH_DISTANCE. Example: 1. TO unit, 1 magazine, 1x spindle, double gripper, 2x loading point. This i...

  • Page 259

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 259 The magazine zero point is usually the change position of the spindle. Therefore, the following applies: ● If location 1 is located at zero position, the current magazine position = 1 ($TC_MAP8[1])....

  • Page 260

    Programming 5.4 Magazine data Tool Management 260 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Magazine block data, magazine control block NCK identifier Type Designation OPI variables Type Default setting $TC_MAMP2 INT Type of tool search (bits 0...7) and type of empty location search (bits 8....

  • Page 261

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 261 Magazine block data, magazine control block NCK identifier Type Designation OPI variables Type Default setting $TC_MAMP2 INT Bit 5: Only consider those tools whose actual value is at least the factor ...

  • Page 262

    Programming 5.4 Magazine data Tool Management 262 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Magazine block data, magazine control block NCK identifier Type Designation OPI variables Type Default setting $TC_MAMP2 Bit 11 Search backwards starting at current magazine position Bit 12 Symmetric...

  • Page 263

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 263 Magazine block data, magazine control block NCK identifier Type Designation OPI variables Type Default setting Bit 15 = 0 (type, location type hierarchy) Each location type can be included as a maxi...

  • Page 264

    Programming 5.4 Magazine data Tool Management 264 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Magazine block data, magazine control block NCK identifier Type Designation OPI variables Type Default setting $TC_MAMP3 Bit 1=0: When a wear group is disabled, the tool status remains unchanged Bit ...

  • Page 265

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 265 $TC_MAMP2 = Meaning 7 + 2 'H84' Otherwise, the same as bit 2 = 1 ('H4') - however, if an "active" tool is not found in the magazine, then - if available - the "active" tool is sele...

  • Page 266

    Programming 5.4 Magazine data Tool Management 266 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Example to clarify the principle of operation of bit 6 and bit 7 Assumption: ● All tools can be used ● Basic setting of the search strategy is bit 0 = 1 - search for the active tool, if there is ...

  • Page 267

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 267 T="Miller_20"M06 There is only one "Miller_20" tool, it was found in Magazine_2 and was loaded ... T="TL3" M06 The last change was performed from Magazine_2...

  • Page 268

    Programming 5.4 Magazine data Tool Management 268 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.4.9 Assigning buffers to spindles $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...

  • Page 269

    Programming 5.4 Magazine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 269 Magazine distance to buffer via toolholder/spindle $TC_MDP2 and $TC_MLSR establish a relation between the buffer locations and magazines (see the following diagram). Figure 5-8 Magazine distance to ...

  • Page 270

    Programming 5.5 Adapter data Tool Management 270 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.5 Adapter data $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...

  • Page 271

    Programming 5.6 Toolholder data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 271 5.6 Toolholder data Overview The orientation of the tool can be changed for a class of tool machines. The orientation once set is however subsequently fixed during operation and in particular cannot...

  • Page 272

    Programming 5.6 Toolholder data Tool Management 272 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Toolholder data Name Type Explanation/description OPI VAR Type $TC_CARR7 Double No. of toolholder x component of rotary axis V1 TcCarr7 REAL $TC_CARR8 Double No. of toolholder y component of rotary ...

  • Page 273

    Programming 5.6 Toolholder data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 273 Toolholder data Name Type Explanation/description OPI VAR Type $TC_CARR27 Double No. of toolholder Offset of Hirth gears in degrees for 2nd rotary axis TcCarr27 REAL $TC_CARR28 Double No. of toolhol...

  • Page 274

    Programming 5.7 User-definable variables Tool Management 274 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.7 User-definable variables User-definable parameters These programmable variables provide the user with three user-definable parameters. These system variables are transferred to the PLC ...

  • Page 275

    Programming 5.7 User-definable variables Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 275 Programming The parameters can be programmed as required in the NC program. The output to the PLC is however always realized in conjunction with the tool preparation or change command progr...

  • Page 276

    Programming 5.8 NC language commands Tool Management 276 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8 NC language commands 5.8.1 CHKDNO - Uniqueness check for D number Overview D number uniqueness is understood here (not for replacement tools) as being that the D numbers of all tools define...

  • Page 277

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 277 CHKDNO without parameters specified, detects a collision of D numbers 1, 2 and 3 for "drill_5mm" with D numbers 1, 2 and 3 for "drill_3mm", but not between the D numbers of ...

  • Page 278

    Programming 5.8 NC language commands Tool Management 278 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.3 GETACTTD - Determining the T No. for a unique D No. For an active tool management (e.g. measuring-cycle programs), this command serves to conclude the associated T number of the tool act...

  • Page 279

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 279 5.8.5 SETDNO - Rename D numbers The language command state = SETDNO(t, ce, d) allows the offset number d of cutting edge ce of tool t to be set or changed. If t or ce are parameters which have ...

  • Page 280

    Programming 5.8 NC language commands Tool Management 280 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.8 NEWT - Create a new tool Overview 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 syst...

  • Page 281

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 281 5.8.9 NEWMT - create new multitool The language command is available with TMMG. Using the NEWMT language command, a new multitool is created with the specified name "name" and the MT ...

  • Page 282

    Programming 5.8 NC language commands Tool Management 282 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.10 DELT - Delete tool 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("TL...

  • Page 283

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 283 Result value > Tool or multitool number associated with the programmed name -1 The name is neither a tool nor a multitool name -2 A multitool name was programmed with duplo number If the t...

  • Page 284

    Programming 5.8 NC language commands Tool Management 284 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 decremented by 1 SETPIECE(4,2); Workpiece cou...

  • Page 285

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 285 The counter is to be decremented for each tool In this example, tools T1, T2 and T3 are to machine a program. All three tools are monitored for workpiece count. The aim is to decrement tool T1 ...

  • Page 286

    Programming 5.8 NC language commands Tool Management 286 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.14 GETSELT - Read the selected T No. The function is available with TMMG and provides the T number of the tool preselected for the spindle. This allows, for example, the offset data to be a...

  • Page 287

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 287 There is no tool in the spindle. There are 2 tools "Drill_10 mm" (T No. 1), "Drill_4.2 mm" (T No. 4) … N30 T="Drill_10mm" ; T No. 1 … -> GETSELT=1 ...

  • Page 288

    Programming 5.8 NC language commands Tool Management 288 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 ;; Initially, there is no active tool in the tool grou...

  • Page 289

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 289 5.8.18 SETMTH - Set master toolholder number Available with TMMG. Machine data MD20124 TOOL_MANAGEMENT_TOOLHOLDER can be set to determine whether a toolholder number can be assigned to define t...

  • Page 290

    Programming 5.8 NC language commands Tool Management 290 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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_...

  • Page 291

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 291 T="Drill" M06 D2 ; Tool change on master toolholder=1 SETMS(3) ; New master spindle = master toolholder=3 T="Miller" M06 D1 ; Tool change on master toolholder=3 M17 After ...

  • Page 292

    Programming 5.8 NC language commands Tool Management 292 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 The magazine (number m) must be linked by a distance relationship with the selected loading or buffer-magazine location. Alarms are generated when incorrect parameters are specified (e.g. undef...

  • Page 293

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 293 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. N10...

  • Page 294

    Programming 5.8 NC language commands Tool Management 294 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 state Success status of command 0 Successful execution of the command. Command successfully completed at the PLC. (PLC acknowledgement may still be pending). -1 Command cannot be used because...

  • Page 295

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 295 The following is still configured - "activate tool of the toolholder and activate its offset D1". With RESET (end of program) a tool change command is generated for the PLC, which has...

  • Page 296

    Programming 5.8 NC language commands Tool Management 296 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Example 3 If, in example 1, POSMT is not programmed before the end of the program, but only the MT position is set to the value 5 in the NCK with $TC_MTP8, then the command to the PLC - generat...

  • Page 297

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 297 In order that tool "815" becomes active (and an offset D), then ● either a program must be started (and $MC_START_MODE_MASK appropriately set), or ● RESET executed ($MC_TOOL_MANA...

  • Page 298

    Programming 5.8 NC language commands Tool Management 298 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 -4 No tool located in source location -5 magFrom has invalid value -6 locFrom has invalid value -7 magTo has invalid value -8 locTo has invalid value -9 No distance relation defined (if e...

  • Page 299

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 299 Note The command MVTOOL always reserves the target location with "reserved for tool to be loaded". The command sets the tool status of the tool to be moved to "tool is being cha...

  • Page 300

    Programming 5.8 NC language commands Tool Management 300 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 If the tool is to be loaded onto precisely location 7: MVTOOL(state, 9999, 1, 5, 7);before loading a check is performed to ensure location 7 is empty Example 2 The tool with T No.=123 is to be ...

  • Page 301

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 301 MNR Magazine number 0 The inactive setting refers to all magazines regardless of any assignment to a spindle. In this case, the tools in the buffer are also considered as well as the toolhold...

  • Page 302

    Programming 5.8 NC language commands Tool Management 302 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.23 SETTA - Activate tool from wear group Overview With the function SETTA all non-blocked tools from the desired wear group are activated. However, from a tool group, a max. of one tool ref...

  • Page 303

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 303 -2 An active tool from every tool group represented in the magazine is set in the magazine of each spindle or each toolholder. (corresponds to calling SETTA a multiple number of times with the...

  • Page 304

    Programming 5.8 NC language commands Tool Management 304 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 t Internal T number t = 0 All tools are handled. t > 0 Precisely this tool is handled. t < 0 The absolute value of t is formed and all replacement tools of this tool are handled. d D n...

  • Page 305

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 305 If this parameter is not specified, machine data $MN_TOOL_RESETMON_MASK is accessed. The bit coding for this data is identical to that for parameter "resetStates". With the analog PI ...

  • Page 306

    Programming 5.8 NC language commands Tool Management 306 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Note If this optional parameter is not programmed, then the value of MD $MN_TOOL_RESETMON_MASK is valid as implicit value. Analog to this, the MT number can be programmed for the parameter T ...

  • Page 307

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 307 The toolholder data records are defined by the system variables $TC_CARRx. Only the command $TC_CARR1[0] was available up to now for setting all data records to zero. With DELTC a range of numb...

  • Page 308

    Programming 5.8 NC language commands Tool Management 308 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.26 TCA - Tool selection/tool change irrespective of tool status Overview This function is only available for TMMO and TMMG. It is necessary for certain routines (e.g. measuring cycles) to ...

  • Page 309

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 309 Examples 1. Preparation and change with T command (i.e. $MC_TOOL_CHANGE_MODE=0) Configuration 1x turret, 1x toolholder There are 2 tools with the identifier "Finish cutter" and duplo ...

  • Page 310

    Programming 5.8 NC language commands Tool Management 310 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 PLC The PLC is not allowed to reject a tool prepared with "TCA". Notice: Currently the interface does not have any criteria as to whether a tool may be rejected or not. If this functi...

  • Page 311

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 311 In addition, there are system variables, which can be used to query whether the substitution of the TCA command is active and which parameters have actually been programmed: $C_TCA TRUE : Repl...

  • Page 312

    Programming 5.8 NC language commands Tool Management 312 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Replacement subroutine for T and TCA replacement: N1000 PROC T_SUB_PROG DISPLOF SBLOF ; common part ... ; different tool selection: N2000 IF ($C_TCA == 1) N2010 ; TCA–replacemen...

  • Page 313

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 313 5.8.28 TCI - Change tool from buffer into magazine Overview This function is available for TMMG. The command TCI returns the tools from buffer locations back to the magazine. Toolholder locati...

  • Page 314

    Programming 5.8 NC language commands Tool Management 314 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 In order to successfully program TCI it is necessary that the specified location number locNo is assigned to the toolholder via $TC_MLSR. Empty locations are searched for in the magazines defin...

  • Page 315

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 315 5.8.29 GETFREELOC - Search for empty location Overview This function is available for TMMG. For a given tool, search for an empty location in those magazines assigned to the specified loading...

  • Page 316

    Programming 5.8 NC language commands Tool Management 316 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 locNo Input value > 0 Magazine location number of the location which should be checked for accepting the specified tool. If magNo=0 is programmed, then a value locNo=0 is ignored. Result v...

  • Page 317

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 317 refLoc If refMag equals "S", then the spindle number/toolholder number is specified here for empty location search. If an invalid toolholder number is programmed, parameters magNo, l...

  • Page 318

    Programming 5.8 NC language commands Tool Management 318 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Search for an empty location and reserve for loading via loading location tNo = 44 ;tool with T No. = 44 is defined GETFREELOC ( magNo, locNo, tNo, "L", 2, "L" ) ...

  • Page 319

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 319 Example 1 For the oversized tool located in gripper 1 (magazine No. 9998, location No. = 4), the location reservation, for tool in the buffer, is to be deleted. def int tNo, magNo, locNo tNo = ...

  • Page 320

    Programming 5.8 NC language commands Tool Management 320 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 If the owner location is reserved for this tool, then implicitly, the location reservation "for tool in buffer" is also deleted. The system parameters $A_MYMN [ t ] and $A_MYMLN [ t ]...

  • Page 321

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 321 5.8.32 $P_USEKT - Tool change only with tools of subgroup Overview This function is only available for TMMO and TMMG. This command selects a subset of a tool group which is then taken into acc...

  • Page 322

    Programming 5.8 NC language commands Tool Management 322 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 ...

  • Page 323

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 323 T=location, automatic tool selection First the attempt is made to load the tool from the programmed magazine location, independently of the value in $TC_TP11. If this tool is disabled, then th...

  • Page 324

    Programming 5.8 NC language commands Tool Management 324 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.34 $P_TMNOIS - is a number, T number, magazine number or MT number This function is available with TMBF, TMFD, TMMO and TMMG. Individual tools, magazines as well as multitools use the numbe...

  • Page 325

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 325 5.8.36 $A_TOOLMN - Read magazine No. of tool Comment: TOOLMN stands for = "tool magazine number". The name component $A_TOOL was selected to show the association with the existing sy...

  • Page 326

    Programming 5.8 NC language commands Tool Management 326 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Example def int number = 0 def int i = 0 def string[32] mtName number = $P_MTOOLN for i = 1 to number r[i] = $P_MTOOLMT[i] ;write all MT numbers of the defined multitool ;in conse...

  • Page 327

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 327 Result Result value > 0 Number of the i-th tool in the multitool 0 i is a value outside of the permitted range -1 TMMG function not active -2 Multitool function not active -3 mt is not the n...

  • Page 328

    Programming 5.8 NC language commands Tool Management 328 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.40 $P_TOOLND - Read number of cutting edges for tool Comment TOOLND stands for = "tool number of Ds". Name $P_TOOLND[t] Meaning Returns the number of cutting edges for tool with...

  • Page 329

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 329 Name $A_MONIFACT Meaning Only relevant when time monitoring is active in the tool management. Factor for influencing the time measurement for tracking time for time-monitored tools. Values &...

  • Page 330

    Programming 5.8 NC language commands Tool Management 330 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 $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 setpoint tool life and prewarni...

  • Page 331

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 331 Example: A tool group "TL1" is defined. e.g. $TC_MAMP2="H108" applies - smallest actual value: Duplo No. $TC_TP1 Actual value $TC_MOP2 Setpoint $TC_MOP11 Absolute Smallest ...

  • Page 332

    Programming 5.8 NC language commands Tool Management 332 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 $AC_MONMIN The above definition of the actual value applies for the actual value that is checked against the setpoint where a factor of $AC_MONMIN has been applied. The following check is made ...

  • Page 333

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 333 Boundary conditions 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 u...

  • Page 334

    Programming 5.8 NC language commands Tool Management 334 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Name $P_TOOLNG Value range 1-32000 Indices Meaning Value range Access Read in part program Write in part program Read in synchronous action Write in synchronous action X - - - Implicit prep...

  • Page 335

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 335 1. The following applies for tools that have not been loaded: $A_MYMN = $A_MYMLN = $A_TOOLMN = $A_TOOLMLN = 0 2. For manual tools that have been loaded or tools that have been newly loaded onto...

  • Page 336

    Programming 5.8 NC language commands Tool Management 336 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Result Result value >0 The tool with T number t is at a location with the number, result within a multitool 0 The tool with Tno.= t is not in a multitool -1 TMMG function not active -2 Multi...

  • Page 337

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 337 5.8.47 $P_TOOLD - D numbers This function is available for TMMO, TMMG, TMFD and TMBF. Name $P_TOOLND / $P_TOOLD[t,i] Meaning Determine the defined D numbers of a tool. The command can genera...

  • Page 338

    Programming 5.8 NC language commands Tool Management 338 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Name $P_TOOLNDL[t,d] Access Read in part program Write in part program Read in synchronous action Write in synchronous action X - - - Implicit preprocessing stop - - - 5.8.49 $A_USEDND - Work...

  • Page 339

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 339 5.8.50 $A_USEDT - Workpiece counting Overview This function is available for TMMO. Name $A_USEDT[i,s] Meaning T number of the tool of the i-th cutting edge that has been used on toolholder s ...

  • Page 340

    Programming 5.8 NC language commands Tool Management 340 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 t...

  • Page 341

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 341 5.8.51 $A_USEDD - Workpiece count This function is available for TMMO. Name $A_USEDD[i,s] Meaning D number of the i-th cutting edge that has been used on the toolholder s since the last work...

  • Page 342

    Programming 5.8 NC language commands Tool Management 342 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.52 $P_MAGN / $P_MAG - Magazine This function is available for TMMG. Name $P_MAGN / $P_MAG[i] Meaning $P_MAGN Number of defined magazines that are assigned to the channel. > 0: Successf...

  • Page 343

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 343 5.8.53 $P_MAGNDIS / $P_MAGDISS / $P_MAGDISL - magazine distance tables This function is available for TMMG. Name $P_MAGNDIS[n,m] / $P_MAGDISS[l,i] / $P_MAGDISL[l,i] Meaning $P_MAGNDIS[n,m] N...

  • Page 344

    Programming 5.8 NC language commands Tool Management 344 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.54 $P_MAGNS / $P_MAGS - Toolholder This function is available for TMMG. Name $P_MAGNS / $P_MAGS[n] Meaning $P_MAGNS Number of spindle locations/toolholder locations in the buffer assign...

  • Page 345

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 345 5.8.55 $P_MAGNREL / $P_MAGREL - Assigned buffer This function is available for TMMG. Name $P_MAGNREL[n] / $P_MAGREL[n,m] Meaning $P_MAGNREL[n] Number of buffers assigned to the spindle No./...

  • Page 346

    Programming 5.8 NC language commands Tool Management 346 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.56 Example of magazine configuration system variables Specifications The magazine configuration selected in the following example is selected. Information about the current magazine configu...

  • Page 347

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 347 N10 def int noOfMag=0, noOfLoc=0, noOfDist=0, noOfRel=0, noOfSpindles=0, spindleNo=0 N20 def int i=0 ; Total number of defined magazines N100 noOfMag = $P_MAGN ;;noOfMag is assigned value =4 ...

  • Page 348

    Programming 5.8 NC language commands Tool Management 348 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 ; Total number of defined spindles N600 noOfSpindles=$P_MAGNS ;;noOfSpindles contains value = 1 - one spindle location is defined ; Display the numbers of the spindles defined in the magazine ...

  • Page 349

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 349 5.8.57 $P_MAGNH / $P_MAGNHLT / $P_MAGHLT - Location type hierarchies Overview This function is available for TMMG. Name $P_MAGNH / $P_MAGNHLT[n] / $P_MAGHLTn,m] Meaning $P_MAGNH Number of def...

  • Page 350

    Programming 5.8 NC language commands Tool Management 350 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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] =...

  • Page 351

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 351 5.8.58 $P_MAGNA / $P_MAGA - Tool adapter This function is available for TMMG. Name $P_MAGNA / $P_MAGA[i] Meaning $P_MAGNA Number of defined adapters that are assigned to the channel. > 0 S...

  • Page 352

    Programming 5.8 NC language commands Tool Management 352 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 Value range 1-32000 I...

  • Page 353

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 353 Name $P_TOOLL[n] Meaning Active tool total length; n = 1...3 Data type REAL Value range Indices Meaning Value range Access Read in part program Write in part program Read in synchronous ...

  • Page 354

    Programming 5.8 NC language commands Tool Management 354 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Name $P_TCANG[n] Meaning Active angle of a toolholder axis; n = 1-2 Data type REAL Value range Indices Meaning Value range Access Read in part program Write in part program Read in synch...

  • Page 355

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 355 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...

  • Page 356

    Programming 5.8 NC language commands Tool Management 356 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Name $P_MSNUM Meaning Master spindle 0: No spindle configured 1...n: Number of master spindle Data type Integer Value range Indices Meaning Value range Access Read in part program Write ...

  • Page 357

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 357 Name $TC_TP_MAX_VELO Meaning Maximum tool speed Data type REAL Value range [0, DBL_MAX] Indices Internal T number Value range Access Read in part program Write in part program Read in sync...

  • Page 358

    Programming 5.8 NC language commands Tool Management 358 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.8.60 Variables for subroutine replacement technique Tool management language command Functions $C_T Value of the programmed address T for cycle parameterization and T function replacement $...

  • Page 359

    Programming 5.8 NC language commands Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 359 Tool management language command Functions $AC_TC_THNO Number of the toolholder or the spindle where the new tool shall be loaded $AC_TC_TNO The internal T number of the tool to be loaded at ch...

  • Page 360

    Programming 5.9 Definitions when programming data Tool Management 360 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.9 Definitions when programming data 5.9.1 Tool and cutting edge data Overview If a parameter for a cutting edge, tool or magazine that does not exist is written, a new cutting ed...

  • Page 361

    Programming 5.9 Definitions when programming data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 361 Action Program command Description Create a tool Without tool management: $TC_DPx[y,z] = value; Create tool T if T does not yet exist! y = T number z = D number With active tool m...

  • Page 362

    Programming 5.9 Definitions when programming data Tool Management 362 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Action Program command Description Delete data for all tools Without tool management: $TC_DP1[0,0] = 0; All tools of the channel are deleted and the memory is released. With tool...

  • Page 363

    Programming 5.9 Definitions when programming data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 363 Delete data A tool cannot be deleted while it is still contained in a magazine. The following sequence of operations must be followed when deleting: 1. Delete the magazine data (th...

  • Page 364

    Programming 5.9 Definitions when programming data Tool Management 364 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Action Program command Description Set magazine location type hierarchy $TC_MPTHx[y]=value; Set magazine distances (distance to change position) $TC_MPTHx[y]=value; Delete magazi...

  • Page 365

    Programming 5.9 Definitions when programming data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 365 5.9.4 Cutting edge selection Cutting edge selection after tool change When a tool change has been completed, the tool cutting edge can be selected in one of the following ways: 1....

  • Page 366

    Programming 5.9 Definitions when programming data Tool Management 366 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 geom...

  • Page 367

    Programming 5.10 Programming T=location number Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 367 5.10 Programming T=location number This function is only available when tool management is active. This type of programming is not only suitable for turrets, but for all other types o...

  • Page 368

    Programming 5.10 Programming T=location number Tool Management 368 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 If more than one magazine is assigned to the toolholder, then the programmed location number refers to the magazine that is the first magazine defined in the distance table. If the to...

  • Page 369

    Programming 5.11 Call multiple turrets with "T=location number" Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 369 5.11 Call multiple turrets with "T=location number" Figure 5-12 T=location number as tool management function on turning machines The programming...

  • Page 370

    Programming 5.12 Programming examples Tool Management 370 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.12 Programming examples 5.12.1 Programming examples Action Program command Description Create tool DEF INT DUPLO_NO DEF INT T_NO DUPLO_NO = 7 T_NO=NEWT("DRILL", DUPLO_NO) Create ...

  • Page 371

    Programming 5.13 Overview of the remaining OPI blocks of tool management Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 371 5.13 Overview of the remaining OPI blocks of tool management 5.13.1 Magazine data, directory OPI block TMV Calculation of line: Magazine number, if a field[ ...

  • Page 372

    Programming 5.13 Overview of the remaining OPI blocks of tool management Tool Management 372 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 5.13.3 Parameterization, return parameters _N_TMGETT, _N_TSEARC OPI block TF Calculation of line: Refer to table Calculation of column: n.a. Designation OPI...

  • Page 373

    Programming 5.13 Overview of the remaining OPI blocks of tool management Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 373 5.13.4 Working offsets OPI block AEV Calculation of line: Cutting edge number if [ ] available Calculation of column: n.a. NCK identifier Designation OPI VA...

  • Page 374

    Programming 5.13 Overview of the remaining OPI blocks of tool management Tool Management 374 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 PI service Functions NC language command TMFDPL Empty location search for loading GETFREELOC(magNo, locNo, T-No., refMag, refLoc, withReserv) TMMVTL Prepar...

  • Page 375

    Programming 5.13 Overview of the remaining OPI blocks of tool management Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 375 PI service Functions NC language command Technological grinding data $TC_TPGx[t] Read the loaded T number GETEXET Language command to move tool MVTOOL De...

  • Page 376

    Programming 5.13 Overview of the remaining OPI blocks of tool management Tool Management 376 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Functions NC language command Command number, specifies the required operation: 1: Move (load/unload, relocate..; 2: Prepare change; 3: Change on; 4: Change ...

  • Page 377

    Programming 5.13 Overview of the remaining OPI blocks of tool management Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 377 Functions NC language command m-th location type of hierarchy n $P_MAGHLT[n,m] Number of buffers assigned to the spindle numbers, toolholder numbers n $P_MAG...

  • Page 378

    Programming 5.13 Overview of the remaining OPI blocks of tool management Tool Management 378 Function Manual, 02/2012, 6FC5397-6BP40-3BA0

  • Page 379

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 379 Machine data 66.1 NC-specific machine data 15710 TCA_CYCLE_NAME MD number Name of subroutine for TCA replacement Default setting: - Min. input limit: - Max. input limit: - Change becomes effective after: POWER ON Protection level:...

  • Page 380

    Machine data 6.1 NC-specific machine data Tool Management 380 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 17504 MAX_TOOLS_PER_MULTITOOL MD number Multitool function. Number of tool locations per multitool Default setting: 6 Min. input limit: 2 Max. input limit: 32 Change becomes effective afte...

  • Page 381

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 381 17515 $MN_TOOL_RESETMON_MASK MD number Behavior of tool data at RESETMON Default setting: 0x14 Min. input limit: 0 Max. input limit: 0x69F Changes effective after Power On Protection level...

  • Page 382

    Machine data 6.1 NC-specific machine data Tool Management 382 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 17520 $MN_TOOL_DEFAULT_DATA_MASK MD number Create new tool: Data default setting Default setting: 0 Min. input limit: 0 Max. input limit: 0x1F Changes effective after Power On Protection ...

  • Page 383

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 383 17530 $MN_TOOL_DATA_CHANGE_COUNTER MD number Identifying tool data change for HMI Default setting: 0 Min. input limit: 0 Max. input limit: 0xF Changes effective after Power On Protection l...

  • Page 384

    Machine data 6.1 NC-specific machine data Tool Management 384 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 17540 TOOLTYPES_ALLOWED MD number Permitted tool types Default setting: 0x3FF Min. input limit: 0 Max. input limit: 0x3FF Change becomes effective after: POWER ON Protection level: 2/7 Uni...

  • Page 385

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 385 18075 MM_NUM_TOOLHOLDERS MD number Max. number of toolholders per TOA Default setting: 16 Min. input limit: 1 Max. input limit: Change becomes effective after: POWER ON Protection level:...

  • Page 386

    Machine data 6.1 NC-specific machine data Tool Management 386 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 18076 MM_NUM_LOCS_WITH_DISTANCE MD number Max. number of magazine locations per TOA with distance connection Default setting: 32 Min. input limit: 1 Max. input limit: Change becomes effec...

  • Page 387

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 387 18078 MM_MAX_NUM_OF_HIERARCHIES MD number Maximum number of definable hierarchies for magazine location types Default setting: 8 Min. input limit: 0 Max. input limit: Change becomes effe...

  • Page 388

    Machine data 6.1 NC-specific machine data Tool Management 388 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 18080 MM_TOOL_MANAGEMENT_MASK MD number Memory for the tool management is reserved step-by-step Default setting: 0x0 Min. input limit: 0 Max. input limit: 0xFFFF Change becomes effective a...

  • Page 389

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 389 18082 MM_NUM_TOOL MD number Number of tools the NCK can manage Default setting: 30 Min. input limit: 0 Max. input limit: 1500 Changes effective after POWER ON Protection level: 2/7 Unit: -...

  • Page 390

    Machine data 6.1 NC-specific machine data Tool Management 390 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 18084 MM_NUM_MAGAZINE MD number Number of magazines the NCK can manage Default setting: 3 Min. input limit: 0 Max. input limit: 32 Changes effective after POWER ON Protection level: 2/7 Un...

  • Page 391

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 391 18086 MM_NUM_MAGAZINE_LOCATION MD number Number of magazine locations the NCK can manage Default setting: 30 Min. input limit: 0 Max. input limit: 600 Change becomes effective after: POWER...

  • Page 392

    Machine data 6.1 NC-specific machine data Tool Management 392 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 18090 MM_NUM_CC_MAGAZINE_PARAM MD number Number of OEM magazine data Default setting: 0 Min. input limit: 0 Max. input limit: 10 Changes effective after POWER ON Protection level: 2/2 Unit...

  • Page 393

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 393 18092 MM_NUM_CC_MAGLOC_PARAM MD number Number of OEM magazine location data Default setting: 0 Min. input limit: 0 Max. input limit: 10 Changes effective after POWER ON Protection level: 2...

  • Page 394

    Machine data 6.1 NC-specific machine data Tool Management 394 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 18094 MM_NUM_CC_TDA_PARAM MD number Number of OEM tool data Default setting: 0 Min. input limit: 0 Max. input limit: 10 Changes effective after POWER ON Protection level: 2/2 Unit: - Data ...

  • Page 395

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 395 18096 MM_NUM_CC_TOA_PARAM MD number Number of data per tool cutting edge for compile cycles Default setting: 0 Min. input limit: 0 Max. input limit: 10 Change becomes effective after: POWE...

  • Page 396

    Machine data 6.1 NC-specific machine data Tool Management 396 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 18098 MM_NUM_CC_MON_PARAM MD number Number of monitoring data per tool for compile cycles Default setting: 0 Min. input limit: 0 Max. input limit: 10 Change becomes effective after: POWER ...

  • Page 397

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 397 18100 MM_NUM_CUTTING_EDGES_IN_TOA MD number Tool cutting edges per TO area Default setting: 30 Min. input limit: 0 Max. input limit: 1500 Change becomes effective after: POWER ON Protectio...

  • Page 398

    Machine data 6.1 NC-specific machine data Tool Management 398 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 18104 MM_NUM_TOOL_ADAPTER MD number Tool adapter in TO area Default setting: -1 Min. input limit: -1 Max. input limit: 600 Change becomes effective after: POWER ON Protection level: 2/7 U...

  • Page 399

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 399 18105 MM_MAX_CUTTING_EDGE_NO Meaning: Maximum value of D number. The maximum number of D numbers per cutting edge is not affected by this. The monitoring of the D number assignment associa...

  • Page 400

    Machine data 6.1 NC-specific machine data Tool Management 400 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 18108 MM_NUM_SUMCORR MD number Additive offsets in the TO area Default setting: -1 Min. input limit: -1 Max. input limit: 9000 Change becomes effective after: POWER ON Protection level: 2...

  • Page 401

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 401 18112 MM_KIND_OF_SUMCORR MD number Properties of additive offsets in the TO area Default setting: 0 Min. input limit: 0 Max. input limit: 0x1F Change becomes effective after: POWER ON Prot...

  • Page 402

    Machine data 6.1 NC-specific machine data Tool Management 402 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 18192 MM_NUM_CC_MULTITOOL_PARAM MD number Number of multitool-specific parameters $TC_MTPCn per multitool Default setting: 0 Min. input limit: 0 Max. input limit: 10 Change becomes effecti...

  • Page 403

    Machine data 6.1 NC-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 403 18195 MM_NUM_CC_MTLOC_PARAM MD number OEM multitool location data type Default setting: 3, 3, 3, 3 Min. input limit: 1 Max. input limit: 10 Change becomes effective after: POWER ON Protec...

  • Page 404

    Machine data 6.2 Channel-specific machine data Tool Management 404 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 6.2 Channel-specific machine data 20090 SPIND_DEF_MASTER_SPIND MD number Initial setting of master spindle in channel Default setting: 1, 1, … Min. input limit: 1 Max. input limit:...

  • Page 405

    Machine data 6.2 Channel-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 405 20110 RESET_MODE_MASK MD number Determination of basic control settings after Reset/TP End Default setting: 0x0 Min. input limit: 0 Max. input limit: 0x7FFFF Change becomes effective ...

  • Page 406

    Machine data 6.2 Channel-specific machine data Tool Management 406 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 20112 START_MODE_MASK MD number Definition of the initial state of the control after part program start Default setting: 0x400 Min. input limit: 0 Max. input limit: 0x7FFFF Change be...

  • Page 407

    Machine data 6.2 Channel-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 407 20120 TOOL_RESET_VALUE (only without tool management) MD number Tool length compensation at power-up (Reset/TP end) Default setting: 0 Min. input limit: 0 Max. input limit: 32000 Cha...

  • Page 408

    Machine data 6.2 Channel-specific machine data Tool Management 408 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 20122 TOOL_RESET_NAME MD number Active tool at reset/start with tool management Default setting: - Min. input limit: - Max. input limit: - Change becomes effective after: RESET Protec...

  • Page 409

    Machine data 6.2 Channel-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 409 20124 TOOL_MANAGEMENT_TOOLHOLDER MD number Toolholder number Default setting: 0,0,0,... Min. input limit: 0 Max. input limit: 16 Change becomes effective after: POWER ON Protection le...

  • Page 410

    Machine data 6.2 Channel-specific machine data Tool Management 410 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 20126 TOOL_CARRIER_RESET_VALUE MD number Operative toolholder on Reset Default setting: 0 Min. input limit: 0.0 Max. input limit: - Change becomes effective after: Reset Protection le...

  • Page 411

    Machine data 6.2 Channel-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 411 20130 CUTTING_EDGE_RESET_VALUE MD number Tool cutting edge length compensation at power-up (Reset/TP end) Default setting: 0, 0, 0, ... Min. input limit: 0 Max. input limit: 32000 Cha...

  • Page 412

    Machine data 6.2 Channel-specific machine data Tool Management 412 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 20150 GCODE_RESET_VALUES[n] MD number Initial setting of G group Default setting:{2, 0, 0, 1, 0...} Min. input limit:- Max. input limit: - Change becomes effective after: RESET Prote...

  • Page 413

    Machine data 6.2 Channel-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 413 20150 GCODE_RESET_VALUES[n] Meaning: GCODE_RESET_VALUES[44] 45 1 (SPATH) GCODE_RESET_VALUES[45] 46 1 (LFTXT) GCODE_RESET_VALUES[4...

  • Page 414

    Machine data 6.2 Channel-specific machine data Tool Management 414 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 20270 CUTTING_EDGE_DEFAULT MD number Initial state of tool cutting edge without programming Default setting: 1 Min. input limit: -2 Max. input limit: 32000 Change becomes effective a...

  • Page 415

    Machine data 6.2 Channel-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 415 20310 TOOL_MANAGEMENT_MASK MD number Channel-specific activation of tool management functions Default setting: 0x0,... Min. input limit: 0 Max. input limit: 0xFFFFFF Change becomes e...

  • Page 416

    Machine data 6.2 Channel-specific machine data Tool Management 416 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 20310 TOOL_MANAGEMENT_MASK Meaning: Bit 11=1: The tool preparation command (PLC command numbers = 2, 4, 5) is carried out even if the same tool preparation command has taken place! (C...

  • Page 417

    Machine data 6.2 Channel-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 417 20310 TOOL_MANAGEMENT_MASK Meaning: Bit 15=1: The tool is not returned if several preparation commands have been issued (Tx->Tx). Bit 15=0: Tool is returned from possibly defined b...

  • Page 418

    Machine data 6.2 Channel-specific machine data Tool Management 418 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 20320 TOOL_TIME_MONITOR_MASK MD number Time monitoring for tool in the toolholder Default setting: 0x0 Min. input limit: - Max. input limit: - Change becomes effective after: POWER O...

  • Page 419

    Machine data 6.2 Channel-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 419 22560 TOOL_CHANGE_M_CODE MD number M function for tool change Default setting: 6 Min. input limit: 0 Max. input limit: 99999999 Change becomes effective after: POWER ON Protection le...

  • Page 420

    Machine data 6.2 Channel-specific machine data Tool Management 420 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 22562 TOOL_CHANGE_ERROR_MODE MD number Response when errors occur at tool change Default setting: 0x0 Min. input limit: 0 Max. input limit: 0xFF Change becomes effective after: POWER ...

  • Page 421

    Machine data 6.2 Channel-specific machine data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 421 22562 TOOL_CHANGE_ERROR_MODE Bit 5: Reserved Bit 6=0: Default: with T0 or D0 then precisely only T0 or D0 are programmed. In other words, the MD $MC_CUTTING_EDGE_DEFAULT, $MC_SUMCORR...

  • Page 422

    Machine data 6.2 Channel-specific machine data Tool Management 422 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 22562 TOOL_CHANGE_ERROR_MODE 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 an...

  • Page 423

    Machine data 6.3 Machine data for function replacement Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 423 6.3 Machine data for function replacement 10715 M_NO_FCT_CYCLE MD number M function to be replaced by a subprogram Default setting: -1 Min. input limit: - Max. input limit: -...

  • Page 424

    Machine data 6.3 Machine data for function replacement Tool Management 424 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 10716 M_NO_FCT_CYCLE_NAME MD number Subroutines for M function replacement Default setting: - Min. input limit: - Max. input limit: - Changes effective after Power On Protecti...

  • Page 425

    Machine data 6.3 Machine data for function replacement Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 425 10718 M_NO_FCT_CYCLE_PAR MD number M function replacement with parameters Default setting: -1 Min. input limit: - Max. input limit: - Changes effective after Power On Protect...

  • Page 426

    Machine data 6.3 Machine data for function replacement Tool Management 426 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 10719 T_NO_FCT_CYCLE_MODE MD number Parameter assignment for T function replacement Default setting: 0 Min. input limit: 0 Max. input limit: 7 Changes effective after Power On...

  • Page 427

    Machine data 6.4 Machine data for the Siemens user data Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 427 6.4 Machine data for the Siemens user data The numbers of the Siemens machine data are listed in the following. This data is defined by Siemens and must not be used by users....

  • Page 428

    Machine data 6.4 Machine data for the Siemens user data Tool Management 428 Function Manual, 02/2012, 6FC5397-6BP40-3BA0

  • Page 429

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 429 Signal description of the PLC interface 77.1 Overview of data blocks General The table below shows an overview of the data blocks used for data management. DB 71 For loading/unloading points DB 1071 Extended data for multitools DB...

  • Page 430

    Signal description of the PLC interface 7.1 Overview of data blocks Tool Management 430 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 One of the interfaces is updated by NCK via the basic program in accordance with a command (e.g. by operating the function "Load" or by a part-program f...

  • Page 431

    Signal description of the PLC interface 7.2 Interface for loading/unloading magazine Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 431 7.2 Interface for loading/unloading magazine DB 71 Data block Signals of loading/unloading points NCK -> PLC interface Byte Bit7 Bit6 Bit5 Bi...

  • Page 432

    Signal description of the PLC interface 7.2 Interface for loading/unloading magazine Tool Management 432 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Address for magazine No. target of 2nd loading point is DBW 58. Loading point 1 is intended for loading/unloading in all spindles. Loading point ...

  • Page 433

    Signal description of the PLC interface 7.2 Interface for loading/unloading magazine Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 433 DB71.DBX(n+0).2 Command: Relocating Edge evaluation Signal(s) updated: Conditional Signal state 1 Relocate operation for a tool is initiated. Fro...

  • Page 434

    Signal description of the PLC interface 7.2 Interface for loading/unloading magazine Tool Management 434 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 DB71.DBX(n+1).7 Command: Data in the extended range Edge evaluation Signal(s) updated: Conditional Signal state 1 The signal is set if a multito...

  • Page 435

    Signal description of the PLC interface 7.2 Interface for loading/unloading magazine Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 435 DB71.DBW(n+22) Location No. (source) for unloading/relocating/positioning Edge evaluation Signal(s) updated: Conditional Meaning Unloading: Locat...

  • Page 436

    Signal description of the PLC interface 7.3 Interface for spindle as change position Tool Management 436 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 7.3 Interface for spindle as change position DB 72 Data block Spindle as change position Interface NCK -> PLC Byte Bit7 Bit6 Bit5 Bit4 Bit3 B...

  • Page 437

    Signal description of the PLC interface 7.3 Interface for spindle as change position Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 437 DB 72 Data block Spindle as change position Interface NCK -> PLC Tool was in use Tool, fixed-location-coded Tool is being changed Prewarning ...

  • Page 438

    Signal description of the PLC interface 7.3 Interface for spindle as change position Tool Management 438 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 DB72.DBX(n+0).0 Command code: Obligatory change Edge evaluation Signal(s) updated: Conditional Signal state 1 The new tool is fixed-location-code...

  • Page 439

    Signal description of the PLC interface 7.3 Interface for spindle as change position Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 439 DB72.DBX(n+0).7 Command code: Tool remains in spindle Edge evaluation Signal(s) updated: Conditional Signal state 1 The bit is set at change fr...

  • Page 440

    Signal description of the PLC interface 7.3 Interface for spindle as change position Tool Management 440 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 DB72.DBD(n+4) User-definable parameter 0 (DInt) Edge evaluation Signal(s) updated: Conditional Meaning If you need to send a value to the PLC v...

  • Page 441

    Signal description of the PLC interface 7.3 Interface for spindle as change position Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 441 DB72.DBW(n+22) Location No. (source) for new tool Edge evaluation Signal(s) updated: Conditional Meaning Location No. of the magazine from whic...

  • Page 442

    Signal description of the PLC interface 7.3 Interface for spindle as change position Tool Management 442 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 DB72.DBW(n+36) New tool: Size bottom Edge evaluation Signal(s) updated: Conditional Meaning Specification of the tool size bottom in half locati...

  • Page 443

    Signal description of the PLC interface 7.3 Interface for spindle as change position Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 443 DB72.DBW(n+44) Original magazine of new tool Edge evaluation Signal(s) updated: Conditional Meaning Owner magazine of the new tool Corresponds to...

  • Page 444

    Signal description of the PLC interface 7.4 Interface for turrets as change position Tool Management 444 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 7.4 Interface for turrets as change position DB 73 Data block Turret as change position Interface NCK -> PLC Byte Bit7 Bit6 Bit5 Bit4 Bit3 Bi...

  • Page 445

    Signal description of the PLC interface 7.4 Interface for turrets as change position Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 445 DB 73 Data block Turret as change position Interface NCK -> PLC DBW n+40 New tool: Internal T number of NCK (Int) DBW n+42 Original location o...

  • Page 446

    Signal description of the PLC interface 7.4 Interface for turrets as change position Tool Management 446 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 DB73.DBX(n+0).3 T0 Edge evaluation Signal(s) updated: Conditional Signal state 1 Indicates that T0 has been programmed DB73.DBX(n+1).7 Comman...

  • Page 447

    Signal description of the PLC interface 7.4 Interface for turrets as change position Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 447 DB73.DBD(n+8) User-definable parameter 1 (DInt) Edge evaluation Signal(s) updated: Conditional Meaning If you need to send a value to the PLC v...

  • Page 448

    Signal description of the PLC interface 7.4 Interface for turrets as change position Tool Management 448 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 DB73.DBW (n+26) Location No. of old tool to be unloaded Edge evaluation Signal(s) updated: Conditional Meaning Location No. of the old tool (use...

  • Page 449

    Signal description of the PLC interface 7.4 Interface for turrets as change position Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 449 DB73.DBW (n+38) Tool status for new tool Edge evaluation Signal(s) updated: Conditional Meaning Bit 0: Active tool Bit 1: Enable tool Bit 2: dis...

  • Page 450

    Signal description of the PLC interface 7.5 Interface for loading/unloading magazine (multitool) (DB 1071) Tool Management 450 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 7.5 Interface for loading/unloading magazine (multitool) (DB 1071) DB 1071 Data block Magazine, loading/unloading (multito...

  • Page 451

    Signal description of the PLC interface 7.5 Interface for loading/unloading magazine (multitool) (DB 1071) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 451 DB1071.DBW(n+8) Multitool number Edge evaluation Signal(s) updated: Conditional Meaning Internal T number of the multitool...

  • Page 452

    Signal description of the PLC interface 7.6 Interface for spindle (multitool) (DB 1072) Tool Management 452 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 7.6 Interface for spindle (multitool) (DB 1072) DB 1072 Data block Spindle (multitool) Interface NCK -> PLC Byte Bit7 Bit6 Bit5 Bit4 Bit3 ...

  • Page 453

    Signal description of the PLC interface 7.6 Interface for spindle (multitool) (DB 1072) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 453 DB1072.DBW(n+2) Multitool location number Edge evaluation Signal(s) updated: Conditional Meaning Number of locations of the multitool Signal ...

  • Page 454

    Signal description of the PLC interface 7.6 Interface for spindle (multitool) (DB 1072) Tool Management 454 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 DB1072.DBW(n+14) Multitool location number (old tool) Edge evaluation Signal(s) updated: Conditional Meaning Location number within the multi...

  • Page 455

    Signal description of the PLC interface 7.6 Interface for spindle (multitool) (DB 1072) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 455 DB1072.DBW(n+24) New tool: Size bottom Edge evaluation Signal(s) updated: Conditional Meaning Specification of the tool size to the bottom in...

  • Page 456

    Signal description of the PLC interface 7.6 Interface for spindle (multitool) (DB 1072) Tool Management 456 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 DB1072.DBW(n+32) Original magazine of new tool Edge evaluation Signal(s) updated: Conditional Meaning Owner magazine of the new tool Corresp...

  • Page 457

    Signal description of the PLC interface 7.7 Interface for revolver (multitool) (DB 1073) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 457 7.7 Interface for revolver (multitool) (DB 1073) DB 1073 Data block Revolver (multitool) Interface NCK -> PLC Byte Bit7 Bit6 Bit5 Bit4 Bi...

  • Page 458

    Signal description of the PLC interface 7.7 Interface for revolver (multitool) (DB 1073) Tool Management 458 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 DB1073.DBW(n+2) Multitool location number Edge evaluation Signal(s) updated: Conditional Meaning Number of locations of the multitool Signal...

  • Page 459

    Signal description of the PLC interface 7.7 Interface for revolver (multitool) (DB 1073) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 459 DB1073.DBW(n+14) Multitool location number (old tool) Edge evaluation Signal(s) updated: Conditional Meaning Location number within the mult...

  • Page 460

    Signal description of the PLC interface 7.7 Interface for revolver (multitool) (DB 1073) Tool Management 460 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 DB1073.DBW(n+24) New tool: Size bottom Edge evaluation Signal(s) updated: Conditional Meaning Specification of the tool size to the bottom i...

  • Page 461

    Signal description of the PLC interface 7.7 Interface for revolver (multitool) (DB 1073) Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 461 DB1073.DBW(n+32) Original magazine of new tool Edge evaluation Signal(s) updated: Conditional Meaning Owner magazine of the new tool Corres...

  • Page 462

    Signal description of the PLC interface 7.8 Interface NC channels Tool Management 462 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 7.8 Interface NC channels Signals are also contained in the channel data blocks for tool management functions. The data relevant for tool management is in bold form...

  • Page 463

    Signal description of the PLC interface 7.8 Interface NC channels Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 463 DB21.DBX29.7 VDI signal "Tool disable ineffective" (bit value=1) means that the NCK does not process the tool status "Disabled" during tool sear...

  • Page 464

    Signal description of the PLC interface 7.9 Interface magazine configuration Tool Management 464 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 7.9 Interface magazine configuration DB4 Interface HMI -> PLC Address Meaning Data type DBB 64 Number of magazines including buffer magazines and loa...

  • Page 465

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 465 Alarms 88.1 Overview Alarm No. Brief description 6402 Tool change not possible, magazine number does not exist. 6403 Tool change not possible, specified magazine location does not exist. 6404 Tool change not possible because the t...

  • Page 466

    Alarms 8.1 Overview Tool Management 466 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Alarm No. Brief description 17180 Illegal D number. 17181 D No. not known. 17182 Illegal additive offset number. 17188 The D number specified in the channel TO unit is not unique. 17189 D number is not unique. ...

  • Page 467

    Alarms 8.1 Overview Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 467 With machine dates MD11410 SUPPRESS_ALARM_MASK und MD11415 SUPPRESS_ALARM_MASK_2 it can be defined bit by bit which alarms should be suppressed. Bit Alarm number 2 16924 4 17189 5 22071 7 22070 8 6411, 6413 ...

  • Page 468

    Alarms 8.2 Alarm description Tool Management 468 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 8.2 Alarm description Alarm No. 6402 Channel %1 Tool change not possible. Magazine no. %2 not available Explanation %1 = channel ID, %2 = magazine number The desired tool change is not possible. The ...

  • Page 469

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 469 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 id...

  • Page 470

    Alarms 8.2 Alarm description Tool Management 470 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 co...

  • Page 471

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 471 Alarm No. 6410 TO unit %1 tool %2 with duplo No. %3 has reached tool prewarning limit with D=%4 Explanation %1 = TO unit, %2 = tool identifier (name), %3 = duplo number, %4 = D number Indicates that t...

  • Page 472

    Alarms 8.2 Alarm description Tool Management 472 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Alarm No. 6412 TO unit %1 tool %2 with duplo No.%3 has reached tool monitoring limit with D=%4 Explanation %1 = TO unit, %2 = tool identifier (name), %3 = duplo number, %4 = D number Indicates that th...

  • Page 473

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 473 Alarm No. 6421 Channel %1 tool motion not possible. There is no empty location for tool %2 duplo No. %3 in magazine %4 available Explanation %1 = channel ID, %2 = string (identifier), %3 = duplo numbe...

  • Page 474

    Alarms 8.2 Alarm description Tool Management 474 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Alarm No. 6423 Channel %1 tool motion not possible because magazine location No. %2 in magazine %3 not available! Explanation %1 = channel ID, %2 = magazine location number, %3 = magazine number The r...

  • Page 475

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 475 Alarm No. 6425 Channel %1 The 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...

  • Page 476

    Alarms 8.2 Alarm description Tool Management 476 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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. Only as many cutting edges can be noted ...

  • Page 477

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 477 Alarm No. 6432 Function cannot be executed. There is no tool on the spindle Explanation An attempt was made to perform an operation that requires a tool to be located on the spindle. This can be the w...

  • Page 478

    Alarms 8.2 Alarm description Tool Management 478 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Alarm No. 6438 Channel %1 block %2 inconsistent data modification is not permitted Explanation %1 = channel number, %2 = block number For example, in a defined multitool, after creating the multitool ...

  • Page 479

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 479 Alarm No. 6442 Channel %1 function cannot be executed. No tool at the required magazine/location %2 Explanation %1 = channel number, %2 magazine/location It is probable that the PLC logic is incorrect...

  • Page 480

    Alarms 8.2 Alarm description Tool Management 480 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Alarm No. 6452 Channel %1 block %2 tool change not possible. The toolholder No. / spindle No. = %3 is not defined. Explanation %1 = channel number, %2 toolholder No. / spindle No. The desired tool ch...

  • Page 481

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 481 Alarm No. 6455 Channel %1 block %2 tool change not possible. Magazine location No. %3 not available in magazine %4 Explanation %1 channel number %2 block number %3 magazine location number %4 magazine...

  • Page 482

    Alarms 8.2 Alarm description Tool Management 482 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Alarm No. 6464 Channel %1 block %2 command %3 cannot be programmed for the actual multitool distance coding %4. Explanation %1 channel number %2 block number %3 command parameter $TC_MTPPL can only be...

  • Page 483

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 483 Alarm No. 17001 Channel %1 block %2 no more memory for tool / magazine data Explanation %1 = channel number, %2= block number, label The number of following tools/magazine data sizes in the NC is spe...

  • Page 484

    Alarms 8.2 Alarm description Tool Management 484 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Alarm No. 17020 Channel %1 block %2 illegal array index 1 Explanation %1 = channel number, %2= block number General: A read or write access was programmed to a field variable with invalid 1st field I...

  • Page 485

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 485 Alarm No. 17050 Channel %1 block %2 impermissible value Explanation %1 = channel number, %2= block number A value was programmed that exceeds the value range or a limit value of a variable or a machin...

  • Page 486

    Alarms 8.2 Alarm description Tool Management 486 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 actual tool offset data via the system variables: $...

  • Page 487

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 487 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...

  • Page 488

    Alarms 8.2 Alarm description Tool Management 488 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 separa...

  • Page 489

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 489 Alarm No. 17192 TO unit %1 invalid tool name 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 ...

  • Page 490

    Alarms 8.2 Alarm description Tool Management 490 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 that has not been defined The specified tool do...

  • Page 491

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 491 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 that presently cannot be deleted...

  • Page 492

    Alarms 8.2 Alarm description Tool Management 492 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Alarm No. 17214 Channel %1 tool management: Remove manual tool %3 from spindle/toolholder %2. Explanation %1 = channel number, %2 = toolholder number %3 = tool identifier, Indication that the specifi...

  • Page 493

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 493 Alarm No. 17216 Channel %1 tool management: Remove manual tool from toolholder %4 and load manual tool %3, duplo No. %2. Explanation %1 = channel number, %2 = duplo number, %3 = tool identifier, %4 = ...

  • Page 494

    Alarms 8.2 Alarm description Tool Management 494 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 = contested T/D number, %4 = contested tool typeIt is not...

  • Page 495

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 495 Alarm No. 17242 Channel %1 block %2 manual tool cannot be set as the function is not active Explanation %1 = channel number, %2= block number, label The manual tool function is not active. The tool c...

  • Page 496

    Alarms 8.2 Alarm description Tool Management 496 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Alarm No. 17262 Channel %1 block % 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...

  • Page 497

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 497 Alarm No. 22066 Channel %1 tool management: Tool motion not possible since there is no tool %2 with duplo no. %3 not in magazine %4 Explanation %1 = channel number, %2 = string (identifier), %3 = dup...

  • Page 498

    Alarms 8.2 Alarm description Tool Management 498 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 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 n...

  • Page 499

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 499 Alarm No. 22070 TO unit %1 Please load tool T= %2 into magazine. Repeat data backup Explanation %1 = TO unit, %2 = T number of the tool Only possible when tool management is active. A data backup of ...

  • Page 500

    Alarms 8.2 Alarm description Tool Management 500 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Alarm No. 400601 Incorrect configuration of loading points Explanation The PLC configuration in DB4 does not match the NC Configuration. Reaction Alarm display Remedy Correct tool management commissio...

  • Page 501

    Alarms 8.2 Alarm description Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 501 Alarm No. 410141 Number of loading points too high Explanation The PLC configuration in DB 4 does not match the NC Configuration. Reaction Alarm display Remedy Correct tool management commissioning. C...

  • Page 502

    Alarms 8.2 Alarm description Tool Management 502 Function Manual, 02/2012, 6FC5397-6BP40-3BA0

  • Page 503

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 503 Appendix AA.1 List of abbreviations ASUB Asynchronous subroutine C Bus Communication bus CC Compile cycle or OEM or user area CUTOM CUTter radius cOMpensation: Tool radius compensation DB Data Block in the PLC DBB Data Block Byte ...

  • Page 504

    Appendix A.1 List of abbreviations Tool Management 504 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 T Tool TCA ToolChangeAbsolute TCI ToolChangeIntermediateLocation TLC Tool Length Compensation TM Tool Management TMBF Tool Management Basic tool function (basic function) TMFD Tool management fla...

  • Page 505

    Appendix A.2 Documentation overview Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 505 A.2 Documentation overview

  • Page 506

    Appendix A.2 Documentation overview Tool Management 506 Function Manual, 02/2012, 6FC5397-6BP40-3BA0

  • Page 507

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 507 Glossary Access rights Programs and other data are protected internally by a system of access rights based on seven levels: Three password levels for system manufacturers, machine manufacturers and users as well as a maximum of fou...

  • Page 508

    Glossary Tool Management 508 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Axis identifier In accordance with DIN 66217, axes for a right-handed, rectangular -> coordinate system are identified using X, Y, Z. The identifiers A, B, C are used for rotary -> axes turning around X, Y, Z. Oth...

  • Page 509

    Glossary Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 509 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 unacceptably large following error. In such ...

  • Page 510

    Glossary Tool Management 510 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Frame A frame is an arithmetic rule that transforms one Cartesian coordinate system into another Cartesian coordinate system. A frame contains the components work offset, rotation, scaling, mirroring. Identifiers In acc...

  • Page 511

    Glossary Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 511 Machine zero Fixed point of the machine tool to which all (derived) measuring systems can be traced back. Machining channel Via a channel structure, parallel sequences of movements, such as positioning a loading gantry d...

  • Page 512

    Glossary Tool Management 512 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Main program -> Part program identified by a number or identifier in which further main programs, subroutines or -> cycles may be called. Main run The part program blocks which have been decoded and prepared in th...

  • Page 513

    Glossary Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 513 Offset memory Data range in the control, in which the tool offset data is stored. Oriented spindle stop Stops the workpiece spindle with a specified orientation angle, e.g., to perform an additional machining operation a...

  • Page 514

    Glossary Tool Management 514 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Reference point approach If the utilized distance measuring system is not an absolute value encoder then it is necessary to perform a reference point approach to ensure that the actual values returned by the measuring s...

  • Page 515

    Glossary Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 515 Softkey A key whose name appears on an area of the screen. The choice of softkeys displayed is dynamically adapted to the operating situation. The freely assignable function keys are assigned defined functions in the sof...

  • Page 516

    Glossary Tool Management 516 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Synchronized axes ● Auxiliary function output During workpiece machining, technological functions can be output from the CNC program to the PLC. These auxiliary functions are used for example to control additional equ...

  • Page 517

    Glossary Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 517 User memory All programs and data, such as part programs, subprograms, comments, tool offsets, and work offsets/frames, as well as channel and program user data, can be stored in the shared CNC user memory. User program ...

  • Page 518

    Glossary Tool Management 518 Function Manual, 02/2012, 6FC5397-6BP40-3BA0

  • Page 519

    Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 519 Index $ $A_MONIFACT, 328,328 $A_MYMLN 334,, 334 $A_MYM 334,N, 334 $A_TOOLMLN, 327,327 $A_TOOLM 325,N, 325 $A_USEDD, 341,341 $A_USEDND, 338,338 $A_USE 339,DT, 339 $AC_MONMIN, 330,330 $AC_MSNUM, 355,355, 376,376 $AC_MTHNUM, ...

  • Page 520

    Index Tool Management 520 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 Block search, program test, 93, 93 Block splitting, 82,82 27,Buffer, 27 C Chain and box-type magazines, 28,28 Changing the acknowledgement data, 209,209 209, CHK 183,DM, 183 277,, 277 CHKDN 183,O, 183 Circular magazine,...

  • Page 521

    Index Tool Management Function Manual, 02/2012, 6FC5397-6BP40-3BA0 521 N NCK Over 19,view, 19 NEWT, 280,280 O Operator panels, 14,14 20,OPI, 20, 229,229 OPI block 270,AD, 270 OPI block TD, 239,239 OPI block 245,TG, 245 OPI block 247,TM, 247 OPI block 259,TMC, 259, 268,268 OPI block ...

  • Page 522

    Index Tool Management 522 Function Manual, 02/2012, 6FC5397-6BP40-3BA0 T=location, automatic tool selection, 323,323 TC_ 114,VAR, 114 114, 308,TCA, 308 313,TCI, 313 Time monitoring, 167,167 TMBF, 12,12 373,TMCRTC, 373 373,TMCRTO, 373 TMFD, 12,12 374,TMFDPL, 374 TMFPBP, 374,374 TMGETT...

x