Siemens SINUMERIK 840 Planning Manual

Siemens SINUMERIK 840 Planning Manual

Function blocks for plc 135 wb
Hide thumbs Also See for SINUMERIK 840:
Table of Contents

Advertisement

SINUMERIK 840/840C
SINUMERIK 880/880 GA2
Function Blocks for PLC 135 WB
Package 1 and 2: Tool Management
Planning Guide
02.93 Edition
Manufacturer Documentation

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SINUMERIK 840

  • Page 1 SINUMERIK 840/840C SINUMERIK 880/880 GA2 Function Blocks for PLC 135 WB Package 1 and 2: Tool Management Planning Guide 02.93 Edition Manufacturer Documentation...
  • Page 2 SINUMERIK 840/840C SINUMERIK 880/880 GA2 Function Blocks for PLC 135 WB Package 1 and 2: Tool Management Planning Guide Manufacturer Documentation Applies to: Control Software version SINUMERIK 840 from 1 SINUMERIK 840C SINUMERIK 880 from 4 SINUMERIK 880 GA2 Edition February 1993...
  • Page 3 This does not, however, represent an obligation to supply such functions with a new control or when servicing. This publication was produced on the Siemens 5800 Office System. Subject to change without prior notice. The reproduction, transmission or use of this document or its...
  • Page 4 Brief Explanation Description of Functions Guidelines Installation and Start-up Configuring NC Programming NC Operation Service and Diagnostics Examples Data Fields...
  • Page 5: Description Of Functions

    A background magazine can only be used with the SINUMERIK 880/880 GA2 control • On the SINUMERIK 840/840C, the HELP function is called via the i key. On the SINUMERIK 880/880 GA2, the HELP function is called via a softkey.
  • Page 6 The tool management software basically implements three interfaces for communicating with its environment (see Figure 1). • A common interface for: – Data input via tape, – Data input and output via computer link, – Data input and output via code carrier, •...
  • Page 7 Modifications from version 01 to version 2.X of Tool Management for SINUMERIK 840 and SINUMERIK 840C. The following functions have either been improved in version 03 or are new additions. Cycles The cycle messages (load/unload via tape) are stored as an alarm file on the diskette.
  • Page 8: Table Of Contents

    Contents Page Brief Explanation ........1–1 Tool management functions .
  • Page 9 ..... . . 9–2 9.1.3 Overview for SINUMERIK 840/840C ......9–3 9.1.4 Display "Selection"...
  • Page 10 9.1.7 Display "Display of tool data" ......9–8 9.1.8 Display "Change tool data" .
  • Page 11 Operating example turning for SINUMERIK 880/880 GA 2 and SINUMERIK 840/840C ....... .
  • Page 12: Brief Explanation

    Parameter assignment of the FB package has to be carried out by the user, because he can take account of the machine configuration. It is also up to the user to link the machine program with the user interfaces of the FB package. 1–1 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 13: Requirements For Tool Management

    The volume of tool data which can be stored is restricted by the tool offset memory capacity, 16 Kbytes in the case of SINUMERIK 880, 32 Kbytes for SINUMERIK 840 (also referred to as TO memory) and the current maximum length that can be used in the data blocks in the PLC, that is 256 data words per submagazine.
  • Page 14: Description Of Functions

    2 Description of Functions 2.1 General Description of Functions General 2.1.1 Overview Hardware structure/data structure The data relating to tool management are divided up as follows in the SINUMERIK 840/880 system: SINUMERIK 880, SINUMERIK 840 or SINUMERIK 840C operator panel Display program...
  • Page 15 D 408 For multiple-edge tools, each cutting edge is assigned to one offset memory. SINUMERIK 880/880 GA2 SINUMERIK 840/840C; a maximum of 16 P memories are supported by tool management Fig. 2.2 TO memory configuration 2–2 © Siemens AG 1991 All Rights Reserved...
  • Page 16 P memories varies between P 9 and P 15/P31 depending on the scope of application with SINUMERIK 840/840C. Both the number of P memories and TO areas is specified in the form of NC machine data (see Section 10, Data areas).
  • Page 17 151 in ascending order. Data block 150 is not part of the magazine/turret table but is used for buffering internal statuses of the program. 2–4 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 18 The data blocks mentioned here refer to Figure 2.5 (example). They differ depending on the number of user blocks, the width of the reference list and whether replacement locations are used. PLC 2 applies to SINUMERIK 880/880 GA2 only 2–5 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 19 At present the data of the tool holder and the adapter geometry are only added and not determined with reference to the position. 2–6 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 20: Interface And Program Overview

    These data areas are set up during system startup. 2–7 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 21 FB-MD FB-MD turret bits words data Parameter assignment Fig. 2.6 Tool management, overview _______ Channel DBs 10...13 for SINUMERIK 840/840C Channel DBs 10...25 for SINUMERIK 880/880 GA2 2–8 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 22 3) : Part of the basic function; only for turrets or/and block search 4) : Additional calls of FB 138 through FX 40...44 and FB 96 from package 5 Fig. 2.7 Program overview 2–9 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 23 Only on request, if not covered by selection package Only if cartridge handling is active SINUMERIK 880/880 GA2 only FB 135 Provide D No. after tool change Fig. 2.8 Program overview 2–10 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 24 ”Data transfer magazine table tool buffer”, ”Direction selection” and ”Provision of addresses in the TO memory” for the tool offsets of the tool inserted (see Figures 2.7 and 2.8). 2–11 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 25 Setpoint position Setpoint position Channel-specific DBs Positioning Positioning magazine 1 magazine 1 Machine program Fig. 2.10 Assignment of turrets/part magazines to the NC channels of a lathe 2–12 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 26 SINUMERIK 880/880 GA2 and up to 4 individual magazines can be set with SINUMERIK 840/840C. Each channel is assigned to one magazine. The assignment is fixed in the sense that submagazine 1 is assigned to NC channel 1 and submagazine 2 to NC channel 2, etc.
  • Page 27: Functional Description/Sequences Of Operations

    DW 63 to DW 69 of the corresponding channel DB. In the case of SINUMERIK 840, software version 1 onwards, this function is implemented by the basic package, in previous versions it is implemented by the tool management.
  • Page 28: T = Id Number

    T= Locator number; the magazine is not a turret. • Magazine is a turret and a background magazine at the same time. • Magazine is a turret and the "linear magazine" bit is set. 2–15 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 29: Tool Change

    R 101 to R 10x) (x = No. of next cutting edge) Tool data Fig. 2.11 Preparing the tool if T No. = ID No. for turning machines 2–16 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 30 T<No.>D<No> FB 133 D<No.> Provide Turret D No. assignment Tool data Fig. 2.10 Preparing the tool (T = location, D No. fixed) for turning machines 2–17 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 31: Loading

    Command codes are used by the operator to inform the program of the required type of access to the magazine table. The individual command codes are explained in the description of FB 139 "Data distributor". 2–18 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 32: Dynamic Buffers

    Unassigned DW 21 Unassigned DW 22 Command code DW 23 Magazine number Job-related DW 24 Locator number data DW 25 Number of cutting edge DW 26...29 Unassigned 2–19 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 33 If a computer is specified as source and bit routing activated in ASCII format, the contents have to be spe- cified in ASCII format (see Section 5, Description of FB 139). To be specified in BCD code 2–20 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 34: Loading Methods

    "job initiation" control bit in DR 0 of the respective buffer DB. The locator number specified is interpreted as target and the data entered into the corresponding data word. If the 2–21 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 35 (computer link m +11, bit 6; code carrier m +11, bit 5; tape m+11, bit 4 where m=7000 for PLC 1, etc.). 2–22 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 36 2) Unload location 3) No empty location found 4) Load location 5) Interface DW 2...DW 5 valid 6) Disable loading/unloading 7) Acknowledgement loading negative 8) Acknowledgement loading positive 2–23 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 37 FB 139 Acknowl. MD 7011.7 TO memory FB 150 FB 151 (write?) (read?) Magazine table Tool ID. User list Reference list Fig. 2.13 Data input via tape 2–24 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 38 Loading magazine with tools with code carriers SINUMERIK 880, SINUMERIK 840 or SINUMERIK 840C operator panel Display program Tool offsets Current magazine assignment Fig. 2.15 Display/input of tool and magazine data 2–25 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 39: Wear Monitoring

    If the workpiece count is 0, the tool is disabled immediately or at the end of the program depending on the parameter assignment of function block FB 157. 2–26 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 40: Cartridge Handling

    0. An additional bit also tells the dynamic buffer what kind of a list it is. The following data are entered in the loading list: 2–27 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 41 DBs: this deletes the magazine which is assigned to the channel in which this bit is set. The function "Presetting of tool size via EPROM" is closely associated with the function "Cartridge handling". It is described in Section 5, FX ...8. 2–28 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 42: Adapter

    (adapter and adapter geometry) and transferred to the P memories P8, P9 (basic dimensions) of the current D number. Za Xa Adapter Adapter geometry Basic dimensions = Adapter + Adapter geometry 2–29 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 43: Unloading Via Tape (Sinumerik 880/880 Ga2 Only)

    FX 7 is triggered by the T call in the channel defined in MD251. FX 7 searches the magazine table and enters the located D numbers in the R parameters of the channel defined in MD251. 2–30 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 44: Background Magazine (Package 2 For Sinumerik 880/880 Ga2)

    2, the lists can be displayed on the screen. The structure of the leader for the part program is described in Section 6, NC programming. 2–31 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 45 Positioning Positioning curr. mag. backgr. mag. Tool change curr. mag. backgr. mag. Tool man. blocks Transfer Machine program Fig. 2.17 Reloading 2–32 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 46: Guidelines

    3.1 Requirements Guidelines The following guidelines are prerequisites for using the software package. Requirements 3.1.1 Hardware SINUMERIK 840/840C or SINUMERIK 880/880 GA2 with 135WB PLC PG 685 , PG 750 programmers WS 800A workstation, 40 MByte hard disk 3.1.2 Software...
  • Page 47 Turning machine Single-slide single- spindle turning machine Turret 1 Chuck TO structure NC DB structure (DB 150, etc.) TO 1 Turret 1 Turret 1 Fig. 3.1 Turning machine 3–2 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 48 Gripper assignment Turret 1, 2+ Turret 1 Background magazine Turret 1 Background mag. Fig. 3.3 Configuration for double-slide turning machine with background magazine _______ SINUMERIK 880/880 GA2 only 3–3 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 49 DB structure PLC (DB 150, etc.) TO 1 Current Spindle assignment etc. tool data Current assignment magazines 1+2 magazine 1 Current assignment magazine 2 Fig. 3.5 Machine tool with two chain magazines 3–4 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 50 Spindle assignment etc. tool data Current assignment Magazines 1+2 Magazine 1 Current assignment Magazine 2 Fig. 3.7 Machine tool with two chain magazines and two tools inserted 3–5 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 51: Functions

    FB 135: Provide D No. after tool change FB 136: Read/write magazine data FB 137: T word routing (up to software version 04 only) _______ Package 2 applies to SINUMERIK 880/880 GA2 only 3–6 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 52 List of the function blocks in package 2 FB 197: Load tool list FB 198: Generate exchange list, list of missing tools FB 199: FIFO _______ Package 2 applies to SINUMERIK 880/880 GA2 only 3–7 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 53: Block Data

    137, 158, 124 UP: T=ID 113, 114, 1, 3, 5524-A-56 FW 224 127, 135 6124-A-56 FY 255 ______ FB 120 is reserved in the case of SINUMERIK 840/840C 3–8 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 54 2, 11 FW 224 6138-A-50 FY 255 139 DAT-VERT 11, 60, 2, 3, 5539-A-52 FW 224 127, 130, 5, 6, 6139-A-51 140, 141, FY 255 142, 143, 3–9 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 55 FW 224 61, 62 6157-A-54 FY 255 1, 3, 158 WZ-SPER 5558-A-55 FW 224 8, 9 6158-A-55 FY 255 159 BCD-DUAL 5559-A-50 FW 224 6155-A-50 FY 255 3–10 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 56 DBs of the magazine table Dynamic buffer DBZW (DB 150) Channel DB (DB 10...DB 25 for SINUMERIK 880/880 GA2) Channel DB (DB 10...DB 13 for SINUMERIK 840/840C). TO memory management (DB 148) NC PLC transmission buffer (DB 149) Measurement interface (DB 147)
  • Page 57: Plc Storage Requirement

    FB 134 FB 136 FB 150 user FB 151 user FB 152 FB 153 FB 154 6480/ FB 159 4152 Tool size FB 118 97 words EPROM 3–12 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 58 FB 128 EPROM FB 133 EPROM 2445/ 2262 Total storage requirement of all P1 blocks 17095 Total storage requirement of all P2 blocks 1219/1258 SINUMERIK 880/880 GA2 only 3–13 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 59: Explanations Of The Fb Designations

    Defined output signal, e.g. NC signal Error number ACCU2 at system stop (STS); ACCU 1 *... FB number Additional specification of interface byte number in HIGH- byte ACCU 2 3–14 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 60: Installation And Start-Up

    PLC MD 7010.7 = Tool management software runs on PLC 1 ––––––––––––––– If the operating example is to be used without any modifications, these presettings are obligatory. 4–1 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 61 The operating example is called by FB 160 in OB 1. Note: The magazine table can only be extended by first deleting it and then creating it again. 4–2 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 62: Configuring

    FB 112: Search for empty location without presetting FB 118: Standard tool size FB 120: Unload onto tape (SINUMERIK 880/880 GA2 only) FB 120: Reserved (SINUMERIK 840/840C only) FB 121: Measuring FB 122: Search for empty location with presetting FB 128: Transfer FB 133: Direction selection FB 135: Provide D No.
  • Page 63: Fb 111 Wz-Such Neutral Tool Search

    : – Error messages : 01: End of magazine < Start of magazine 02: End of location < Start of location 10: No unassigned internal program channel found 5–2 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 64 If a tool is found, the parameter "GEF"= ”Tool found” is set for one PLC cycle. When the search operation is completed, the parameter "SUVL"=”Search operation active” is reset. Block call FB NWZ-SUCH 5–3 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 65 "1" signal for the duration of one PLC cycle. (For unconditional processing only; in the case of a conditional call, the signal remains in the "1" state until the next search job is initiated). 5–4 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 66 DB150 D224.9...11 : Of no significance and not evaluated. DB150 D224.12...15 : Routed to bits 12 ...15 of the search mask of the first identifier DB, DB151. 5–5 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 67 "MANR" and "PLNR". In this case, the signal "SUVL" remains set even if a tool has been found ("GEF" = 1). The signal "SUVL" is reset only after all magazines have been searched. 5–6 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 68 FFFFh. If a search key extends beyond the reference data block (DB 153), this reference data block is always masked out in the search key. 5–7 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 69: Fb 112 Empty Location 1 Search For Empty Location Without Presetting

    "PRGK" parameter must be supplied with the number of the program channel. When the search operation is terminated, the "PRGK" parameter is reset by FB 112. 5–8 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 70 (see assignment of DB 151 magazine table). Permissible tool sizes = 1.1 to 7.7 in all combinations; specified in half locations. 5–9 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 71 "1" state until the next search job is initiated. Actual position of the submagazine-specific user interface (DW 76, DB 10...DB 25) (see parameter "IPOS") 5–10 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 72 Note that all magazines included in the search key must have the same machine data setting (without configuration) if the search for an empty location extends over several magazines. 5–11 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 73: Fb 118 Wz-Gr:st Standard Tool Size

    If an error occurs, the output parameter is set and an error number stored in the DB status word (DBZW). The parameter is reset via ST or GST. 5–12 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 74 Magazine number : JU FB 118 NAME : WZ-GR:ST MANR : FY 100 Magazine number : I 4.0 Start signal : Q 0.0 Error message : BE 5–13 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 75: Fb 120 Lochstag Unloading Via Tape

    For operating modes - MDI AUTOMATIC - PRESET - REFPOINT behavior is the same as for ”NC RESET”. _____ FB 120 applies to SINUMERIK 880/880 GA2 only. 5–14 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 76 See documentation FB139. Subtract from the given F no. 50 to arrive at the exact F no. of the data distributor. _______ Please notify Service if not available. 5–15 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 77 WEIT Functions Function code: = bit No. of DL 17 in DB135 Backup: Function code: 0 Unloading of magazines 1 to 16, including tool buffer Parameters: None 5–16 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 78 – Starting magazine (x) DB135 DR 18 Save Hand marked: Function code: 3 The user can unload tools which have been marked manually (operator panel) in DB153 with data bit 7. Parameters: None 5–17 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 79: Fb 121 Messen Measure Tool And Workpiece

    Invalid or no job on job initiation, • ID number = 0, • Inadmissible cutting edge and/or offset number, • D number of the required cutting edge/offset is not defined. 5–18 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 80 Status bit 15: Job initiation (NC) Status bit 9: Negative acknow- ledgement from NC Identification bit 3: Measure tool at first application Identification bit 10: Tool disabled 5–19 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 81 D No. and TO area Status bit 7 Positive acknowledgement Job initiation (PLC) Status bit 2: Acknowledgement of D No. and TO area by NC entered 5–20 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 82 DW n + 5 TO area DW n + 6 D number DW n + 7 Unassigned n = (k 8) - 7; where k = magazine number 5–21 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 83 D No. und TO area entered Unassigned No active tool available Job initiation PLC Pos. acknowledgement: Tool/workpiece measured Neg. acknowledgement: Tool/workpiece measured Measure workpiece Unassigned Job initiation - NC 5–22 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 84: Fb 122 Empty Location 1 Search For Empty Location With Presetting

    When the search operation is terminated, the "PRGK" parameter is cleared by FB 122. In the case of linear magazines, the search always starts from the actual position, in the case of non-linear magazines, from PLAA. 5–23 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 85 Permissible search directions = ' V ' : Forwards ' R ' : Backwards ' S ' : Symmetrically _______ SINUMERIK 840/840C 1...4 SINUMERIK 840/840C DB 10...DB13 5–24 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 86 Error No. In the case of an error, i.e. "F" = 1, the cause of the error appears in DR 246 of DB 150. _______ DB 10... DB13 for SINUMERIK 840/840C 5–25 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1...
  • Page 87 Note that all magazines included in the search key must have the same machine data setting (with configuration) if the search for an empty location extends over several magazines. 5–26 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 88: Fb 128 Transfer Transfer

    Not defined, will cause an error condition. If a data transfer cannot be carried out, the error output is set and an error number stored in DB status word DBZW/DW 224. 5–27 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 89 P8 and P9 during transfer into a turret and in the case of unequal TO areas in source and target (TO data transfer available soon). 5–28 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 90 RFEL $I, BY (KF) QMNR $I, BY (KF) QPNR $I, BY (KF) ZMNR $I, BY (KF) ZPNR DBZW, DW 200...223 F-NR DBZW, DW 224 (KF) F 2.1 5–29 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 91 (which is linked via machine data). In machines with different configurations, this parameter must always have a "1" signal. 5–30 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 92 3 deleted. Error signal F-NR Error number Status word (in the DB status word (DBZW) for internal statuses) Initial setting _______ SINUMERIK 840/840C 1...4 5–31 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 93: Fb 131 Up:md-B

    : 1 illegal magazine no. (transferred to accu 1) Block call FB 131 FB UP:TMD-B I, BY (KF) MANR MD-B Q, W (KM) Q, BI _______ 1...16 SINUMERIK 880/880 GA2 1...4 SINUMERIK 840/840C 5–32 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 94 The error output carries a "1 signal" when the specified magazine number > 16 when the submagazine is not defined (MD 7010.0) + n = 0; n > 1...16 _______ SINUMERIK 840/840C 1...4 5–33 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 95: Fb 132 Up:md-W

    : Conditional, unconditional DBs to be input : None Error messages : 1 illegal magazine no. (transferred to accu 1) _______ 1...16 SINUMERIK 880/880 GA2 1...4 SINUMERIK 840/840C 5–34 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 96 The error output carries a "1 signal" when the defined magazine number > 16 when the submagazine is not defined ((MD 7010.0) + n = 0; n = 1...16 _______ SINUMERIK 840/840C 1...4 5–35 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 97: Fb 133 Ri-Ausw Direction Selection

    Specification of the data word number of the magazine location, where the magazine is to be positioned. (Machine-related initial setting of the magazine corresponds to magazine location 1). 5–36 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 98 Difference between actual and setpoint position taking into consideration a special position, if necessary. Error bit "1" signal means: Actual and/or setpoint outside of the magazine limits or special position > number of magazine locations. 5–37 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 99: Fb 135 D-Nr. Wzv Provide D No. After Tool Change

    If a D no. has been loaded via the transfer block (FB 128, parameter SB = 1), a D no. must not be loaded by the machine program via FB 135 for the same NC channel. 5–38 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 100 1.-O 2.-O 2.-O 2.-O 2.-O 1.-E 2.-E 3.-E 4.-E 5.-E 1.-O 1.-O 1.-O 1.-O 1.-O 1.-E 2.-E 3.-E 4.-E 5.-E 6.-E 1.-O 1.-O 1.-O 1.-O 1.-O 1.-O 5–39 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 101 For unconditional calls, the start signal must be acknowledged with the "Operation active" signal or, at the latest, with the "Operation terminated" signal. In conditional calls, the start signal can be static (e.g. with the F 0.1 flag). 5–40 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 102 PLC cycle. The magazine and locator No. are used to locate the required channel. ______ In the case of SINUMERIK 880/880 GA2, max. magazine no. 16 In the case of SINUMERIK 840/840C, max magazine no. 4 5–41 © Siemens AG 1991 All Rights Reserved...
  • Page 103 Input ”ST” DB 152 bit 3 Measure tool at first application Initialization of measuring interf. : Output ”ESP” Output ”VG-L” Output ”VG-B” Output”F” Data transmission R parameter 5–42 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 104 Unassigned _______ In the case of SINUMERIK 880/880 GA2, max. magazine no. 16 In the case of SINUMERIK 840/840C, max magazine no. 4 In the case of SINUMERIK 840/840C max. 4 channels 5–43 © Siemens AG 1991 All Rights Reserved...
  • Page 105 D No./TO area entered Meas. workp. only Unassigned No active tool Job initiation (PLC) Pos. ackn.: measure tool Neg. ackn.: measure tool Request: measure workpiece Unassigned Job initiation (NC) 5–44 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 106: Fb 139 Dat-Vert Data Distributor

    On positive acknowledgement the operation is discontinued immediately. This acknowledgement enables the user to transfer the tool data from the loading line to the loading location by means of transfer block FB 128. 5–45 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 107 ID No. and Duplo No. entered in the dynamic buffer. Reloading of the tool buffer is not possible. 5–46 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 108 16 bit assignment (MD bits 7011.7 = 1). a) The identifications are coded in ASCII – For source = computer: MD bit 7001.7 = DB 64 D0.7 = 0 5–47 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 109 – For source = tape MD bit 7011.7 = DB 64 D5.7 = 1 Identifications in the dynamic buffer DW 32 16 bits DW 33 16 bits 5–48 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 110 If the user data are not supported, the contents of the user list remain unchanged. In this case, the user data can be entered via bit routing (FB 150, FB 151). 5–49 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 111 4: Reading the tool data of the first cutting edge of a tool whose "Tool already entered" bit is not yet set. Bit 0 in DB 153 of the specified magazine area Specification: Magazine No., locator No. where the search is to be started. 5–50 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 112 Restore old configuration and delete all magazine data by means of command codes 8 and 9 of the data distributor, or reset PLC. 5–51 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 113 23: Loading with operator guidance was aborted (neg. acknowledgement DB 146, D1.1 =1) 3223 24: Machine data "Magazine number for loading with operator guidance" not defined (DB 146, DW 136 = 0) 5–52 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 114 Status word area for the corresponding subroutine where n = magazine No. _______ In the case of SINUMERIK 880/880 GA2, max. magazine no. 16 In the case of SINUMERIK 840/840C, max magazine no. 4 5–53 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1...
  • Page 115 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Fictitious magazine Tool released Loading with oper. guid. Reloading active Loading list Unloading list 5–54 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 116 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Interface valid Load location No empty location Unassigned Acknowledgem. illegal Unassigned 5–55 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 117: Fb 155 Lochsteg Input Via Tape

    Response to "Mode change" The following modes correspond to an NC stop: • REPOS, INC FEED X, JOG The following modes correspond to a reset: • MDI AUTOMATIC, PRESET, REFPOINT 5–56 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 118 In the case of an error, any data on the current magazine location are deleted. 5–57 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 119 : JU OB 180 2nd USER DB : TAK DW 0 DB 159 FW 246 : JU OB 180 : TAK RD 16 DW 0 : BE 5–58 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 120 R 13 Basic dimension 1 R 14 Basic dimension 2 R 37 User R 15 User R 16 User R 17 User R 18 User R 19 User 5–59 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 121 : LS : JU INPUT VIA TAPE NAME : LOCHSTEG E-SP 222.0 READ DISABLE K-DB CHANNEL DB : DO FW CHANNEL DB 222.0 READ DISABLE : BE 5–60 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 122 Accumulator 1: 0155, accumulator 2: 0030 DB 135, DW 1, DR 2: Control word for internal states NSBY FB 61 Interface byte: DB 36, DL 31 (No. 63) 5–61 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 123 Structure of the source specifier: "Dynamic buffer DL0" Source specifier bits Comment Address key 15 14 13 12 11 10 9 8 Unassigned Tape Code carrier Computer link 5–62 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 124 DW n+2 Unassigned DW n+3...n+6 Status word of SRs DW n+7 Program channel for local data Status word of SRs DW n+15 where n = magazine number 5–63 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 125 Reset Initiate error message Do not delete location Error Initiate (M function) Read setup program Assign Transfer data Re-initiate (M function) Dyn. buffer assigned Last cutting edge 5–64 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 126 Internal arithmetic parameters DW 187 to 189 User 1 DW 190 to 192 User 2 DW 193 to 195 User 3 DW 196 to 198 User 4 5–65 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 127 SST DW 33 low byte bit pattern (8 bits) DW 217 to 219 SST DW 33 high byte bit pattern (8 bits) DW 220 to 222 User 5–66 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 128: Fb 156 Staz/Vwg Tool Life Monitoring/Prewarning Limit

    Prewarning limit The block requires the D number stored in the status word DB (DBZW; DB 150) for addres- sing the tool offset memory in the NC. 5–67 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 129 PLSP I, BY NSBY I, D (KF) SPNR I, BY DB 150, DW 31...46 F-NR DB 134, DL 0 DB 134, 16 DWs _______ SINUMERIK 840/840C 1...4 5–68 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 130 Refers to a spindle; the data are stored in the tool buffer. MANR = 1...16: Refers to a turret; the data are stored in the specified magazine (in the case of SINUMERIK 840/840C, only MANR = 1...4 is permissible). PLSP...
  • Page 131 : STAZ/VWG BEAR SPER A-NR : KF+1 MANR : FY 100 PLSP : FY 101 NSBY : DL 17 SPNR : KF+10 : FY 103 ZEAB : BE 5–70 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 132: Fb 157 Stue/Vwg Workpiece Count/Prewarning Limit

    09: Invalid channel number; range: 1...16 10: MD for TO area not read 11: Invalid TO area 12: Magazine is fictitious magazine _______ Range applies to SINUMERIK 840/840C 1...4 5–71 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 133 6 "Disable tool at end of program" is set. A-NR Job number A maximum of four job numbers can be assigned if four block calls with job numbers 1 to 4 are processed in series. 5–72 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 134 10: MD for TO area not read 11: Invalid TO area 12: Magazine is fictitious magazine DB 134, DD 2: Status words for internal states _______ Range applies to SINUMERIK 840/840C 1...4 5–73 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 135: Fb 197 Wz-Liste Load Tool List (Milling Version)

    Status signal Description AAAA Complete tool list loaded. FFFF Loading of the tool list was aborted (e.g. by reset, error). 00FF The tool list is being loaded. 5–74 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 136 Q, BI I, B DBVS Q, BI I, BY I, BY NSBY (KF) RPAR I, BY KANR DBVS, DW 1 DBVS, DW 2 DBVS, DW 2...8 F 2.1 5–75 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 137 H word which sets the flag F 100.2. This flag is reset by another H word (F 100.1) at the end of the leader. The R parameter R 150 determines whether the leader of the machining program is skipped. 5–76 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 138 Second active tool, required only once H . . . nth active tool, required several times Terminate FB "Load tool list" Machining Start FB "Generate exchange list" program 5–77 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 139 DW 7 Block No. (FB 61)/R parameter (FB 61) DW 8 Block No. (FB 61)/R parameter (FB 61) DW 9 Identifications (tool x) DW n Identifications (tool x) 5–78 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 140 Number of entries/ MPF No. DW 0 Pointer status word Identifications T No. (high) T No. (low) DW 1 DW nth Identifications T No. (high) T No. (low) 5–79 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 141 I, BI Q, BI I, BY MANR Q, BI DBVS ENDE Q, BI DBTL I, BY DBVS+1, DW 1 F-NR DBVS+1, DW 4 DBVS+1, DW 2...3 F 2.1 5–80 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 142 (DB 243, DB 244 and DB 245). These lists contain the data (identification, T number) of the tools necessary for machining but not available in the active magazine. 5–81 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 143 Error word DW 5 Reserved DW 6 Reserved DW 7 Reserved DW 8 Reserved DW 9 T number (high) Tool 1 DW n T number (high) Tool n 5–82 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 144: Fb 199 Fifo First In First Out (Milling Version)

    I, BI LOES F 2.1 Signal descriptions EW 1... Input channels EW 3 The input channels contain the errors that are to be buffered (three words in parallel). 5–83 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 145 AUSL : I 4.1 LOES : I 4.2 VOLL : Q 4.0 LEER : Q 4.1 : FW 108 : FW 110 : FW 112 : BE 5–84 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 146: Fb 197 Wz-Liste Load Tool List (Turning Version)

    Status signal Description AAAA Complete tool list loaded. FFFF Loading of the tool list was aborted (e.g. by reset, error). 00FF The tool list is being loaded. 5–85 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 147 I, B DBVS Q, BI I, BY I, BY NSBY D, (KF) RPAR I, BY KANR DBVS, DW 1 DBVS, DW 2 DBVS, DW 2...8 F 2.1 5–86 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 148 F 100.2. This flag is reset by another H word (F 100.1) as soon as the leader is finished. Using the R parameter R 150, the leader of the machining program is skipped. 5–87 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 149 T 12 H . . . H . . . T12 intended for location 2 Terminate FB "Load tool list" Start FB "Generate exchange list" Part program 5–88 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 150 DW 7 Block No. (FB 61)/R par. (FB 61) DW 8 Block No. (FB 61)/R par. (FB 61) DW 9 Identifications (tool 1) DW n Identifications (tool x) 5–89 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 151 T No. (high) T No. (low) Mag. Loc. DW 1 No. of tool found DW n Identifications T No. (high) T No. (low) Mag. Loc. No. of tool found 5–90 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 152 I, BI Q, BI I, BY MANR Q, BI DBVS ENDE Q, BI DBTL I, BY DBVS+1, DW 1 F-NR DBVS+1, DW 4 DBVS+1, DW 2...3 F 2.1 5–91 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 153 This list includes the data (target locator number, T number and magazine locator number of the tool found) of the tools that are required for machining but are not available in the active magazine 5–92 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 154 Error word DW 5 Reserved DW 6 Reserved DW 7 Reserved DW 8 Reserved DW 9 T number (high) Tool 1 DW n T number (high) Tool n 5–93 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 155: Fb 199 Fifo First In First Out (Turning Version)

    In the case of a conditional call, the user has to make sure that the block is executed at the initial setting or that the data blocks required for storing the data are generated by the calling program. 5–94 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 156 Message issued if the buffers are empty. AW 1... Output channels contain those buffer entries that are read out according to the FIFO principle. Initial setting Generating the buffer DBs DBSP...DBSP+3 5–95 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 157 : I 4.1 LOES : I 4.2 VOLL : Q 4.0 LEER : Q 4.1 : FW 111 : FW 113 : FW 115 : FW 117 : BE 5–96 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 158: Fx 7 Simulat Part Program Simulation

    NC channel defined in MD 251 or 252. 5–97 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 159 F 2.1 _______ NC channel is defined via NC MD 251 (simulation channel 17, A-NR = 1) or via NC MD 252 (simulation channel 18, A-NR = 2) 5–98 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 160 "MANR" then has no effect. Important: The T numbers (including extended address) must be stored in binary code! 5–99 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 161 7:SIMULATION. FX 7 must be processed cyclically. A-NR = 1 MD 251 = 4 (Number of NC channel in which the simulation results are output). Simulation channel = 17 5–100 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 162 The tool size data must be stored in the EPROM as follows: DW x # Locations ---------------------- WZ-GR: Location 1 --------------------- WZ-GR: Location 2 --------------------- WZ-GR: Location 3 DW y -------------------- WZ-GR: Location n 5–101 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 163 # locations from EPROM > # locations from magazine Location assigned with tool size DW 256 (location no.! error no.) Invalid DW address in EPROM (DLx >< FF; DRx = 0) No fictitious magazine 5–102 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 164 DBZW/DW 256 of the magazine. Status word FB internal statuses are stored in the status word. (DW 257 - DW 266) Initial setting _______ Range for SINUMERIK 840/840C 1...4 5–103 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 165 Process ended 104.3 Error message : BE Note: The start edge I 3.0 must be reset on "process ended" at the latest, otherwise a new start is initiated. 5–104 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 166 The start edge I 3.0 must be reset on "process ended" at the latest, otherwise a new start is initiated. In the case of a conditional call, first the "initial setting" and then the magazine presetting is executed on start and first pass. 5–105 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 167: Nc Programming

    FB 120 accesses the tool data for the user. If an error occurs in FB 120, an error number is entered in R parameter R41. If an error occurs in the PLC, L947 deletes L948 and goes into programmed stop. 6–1 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 168 56: Target cycle does not exist 61: Comment error 62: Target cycle in EPROM 63: Target cycle is read only 64: Memory full 65: Comment too long 66: Input error 6–2 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 169: Programming For Block Search

    H . . . Start FB "Generate exchange list" Part program The H values must be evaluated in the PLC program so that the necessary FBs can be start- 6–3 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 170: Nc Operation

    The user is responsible for designing and linking the operator input forms. The Planning Guide does therefore not include any specifications in this respect. For examples of operator input forms please refer to Section 9. 7–1 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 171: Service And Diagnostics

    Error during internal SR processing in network 8 Error during internal SR processing in network 9 Error during internal SR processing in network 10 Internal signal error in network 11 8–1 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 172: Error Messages Resulting In An Abort Of The Function During Loading

    (DB 146, DW 136 = 0) 3224 25: Magazine is not fictitious magazine 3225 26: No empty location for fictitous magazine has been found 3226 27: Error occurred during user bit routing 8–2 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 173: Examples

    DW 2 Loading/unloading area Unassigned DW 3 Spindle DW 4 Buffer Gripper 1 DW 5 Gripper 2 DW 6 DW 7 DW 8 Magazine area DW n 9–1 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 174: Overview For Sinumerik 880/880 Ga2

    Display next cutting edge Add next cutting edge Delete last cutting edge Transfer data and read next data block Do not transfer data or read next data block 9–2 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 175: Overview For Sinumerik 840/840C

    Manual Manual Loading/ loading unloading unloading via tape 4) 5) Manual loading (next cutting edge) Help The help screen form is selected via "i" 9–3 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 176: Display "Selection

    1234 T No. ment from loc. magazine spindle location BUFFER ASSIGN- SEARCH LD/UNLD LD/UNLD DISPLAY ASSIG. MENT FOR T NO MAG. SPIND P MEMORY SINUMERIK 840/840C 9–4 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 177 D No. is not yet available.) When the ECT key is pressed, the second selection form is selected. Displays cannot be selected for fictitions magazines. A message is output. 9–5 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 178: Display "Buffer Assignment

    The data of all P memories can be modified. If cursor is on change position or loading point, only "Display tool data" is possible. Softkey "HELP" or key "i" for SINUMERIK 840/840C Provides a description of the abbreviations used in the display.
  • Page 179: Display "Magazine Assignment

    After a recall from the magazine assignment, the cursor is positioned on the previously selected line of the table. The tool selection buffer is limited to 50 tools. Softkey "HELP" Provides a description of the abbreviations used in the display. 9–7 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 180: Display "Display Of Tool Data"

    Provides the tool data of the next cutting edge. This key displays the first cutting edge if pressed when the last cutting edge is being displayed. Softkey "HELP" or key "i" for SINUMERIK 840/840C Provides a description of the abbreviations used in the display. 9–8 ©...
  • Page 181: Display "Change Tool Data"

    NC pointer positioned on it.) Softkey "DELETE LAST CE" The last cutting edge of the tool is deleted. If the tool has only one cutting edge, it cannot be deleted. 9–9 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 182: Display "Selected Tools"

    Duplo. Size V G E NF B 9876 HELP Softkey "HELP" or key "i" for SINUMERIK 840/840C Provides a description of the abbreviations used in the display. 9–10 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 183: Display "Loading/Unloading Via Loading Point"

    "Loading via tape", the tool data of the first cutting edge of the tool data block read in are displayed. These data can either be transferred or rejected depending on the acknowledgement given. 9–11 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 184: Display "Manual Loading Via Loading Point"

    This is followed by a return to the next highest level in the menu tree and the loading line is displayed. 9–12 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 185: Display "Manual Unloading Via Loading Point"

    Return to the next highest level in the menu tree and display of the loading line with the data deleted. Softkey "ABORT" Return to the next highest level in the menu tree and display of the loading line with the data deleted. 9–13 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 186: Display "Loading Via Tape"

    The next tool block of the tape NC program is read and displayed. Softkey "END TAPE" Terminating loading process "Loading with operator guidance via tape" and return to menu form "Loading/unloading via loading point". 9–14 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 187: Display "Loading/Unloading Spindle"

    The data of the tool to be unloaded are displayed. The control bit "Unload location" is output at the interface (signals to user DW 2...DW 5 in DB 146). 9–15 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 188: Display "Loading Spindle"

    The loading line remains unchanged with its one cutting edge. The display returns to the selection display. The reserved empty location in the magazine is released. 9–16 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 189: Display "Unloading Spindle"

    Softkey "ABORT" Return along the menu tree to selection display. The contents of the loading line are removed. The empty location reserved in the magazine is maintained. 9–17 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 190: Display "Help"

    Marked tools for unloading Selected In the case of SINUMERIK 880/880 GA2, the "Help" display is selected using the softkey. In the case of SINUMERIK 840/840C, the screen form is called via the "i" key. 9–18 © Siemens AG 1991 All Rights Reserved...
  • Page 191: Display "Selection 2"

    Softkey "MARK TOOLS FOR UNLOADING" Provides the display "Mark tools" in which the tools to be unloaded are marked after the magazine and location number has been entered. 9–19 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 192: Display "Display P Memory"

    Softkey "DISPLAY NEXT CE" Provides the tool data of the next available cutting edge. The data of the first cutting edge are again displayed after processing the last cutting edge. 9–20 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 193: Display "Service"

    Provides the display "Tool list" where the current tool entries in the tool list are displayed. The first DB number of the exchange list must be stored as a machine data (currently DL 143; DB 146). 9–21 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 194: Display "Exchange List"

    It shows the current tool entries in the exchange list as well as the identifications of the tools, such as "Tool is required" and "Tool is required repeatedly". The display is constantly updated . 9–22 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 195: Display "List Of Missing Tools"

    Provides the list of missing tools as well as the identifications of the tools, such as "Tool is required" and "Tool is required repeatedly". The display is constantly updated. 9–23 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 196: Display "Tool List"

    4567 8910 Provides the tool list as well as the identifications of the tools "Tool is required" and "Tool is required repeatedly". The display is constantly updated. 9–24 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 197 The tools can be reloaded into the magazines after selecting the loading program and NC Start. Softkey "RESET/END" Aborts the unloading process with NC Reset. Returns along menu tree by one level. 9–25 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 198 Activates the function "Unload to NC program". The unloading cycle (L 947) is selected and NC Start is triggered. The loading program % 9999 must be deleted before the function can be activated. 9–26 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 199: Display "Mark Tools For Unloading"

    Sets the status bit "tool marked for unloading" which is displayed with the identifier "M". The tools to be marked can be selected with the cursor. Softkey "HELP" or key "i" for SINUMERIK 840/840C Gives explanation of the abbreviations used in the display.
  • Page 200: Description Of The Plc Program

    Generate new display (if necessary); • Update link list and link again; • Generate function block for the new function; • Call function block conditionally in central call block (FB 160). 9–28 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 201: Machine Data

    DW 2 Loading/unloading area Unassigned DW 3 Spindle DW 4 Buffer Gripper 1 DW 5 Gripper 2 DW 6 DW 7 DW 8 Magazine area DW n 9–29 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 202: Interface For The Operating Example

    This bit is set to "1" by the data distributor for the duration of one cycle when the signals to the user (DW 2...DW 5) have been updated. 9–30 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 203 Generate new display (if necessary); • Update link list and link again; • Generate function block for the new function; • Call function block conditionally in central call block (FB 160). 9–31 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 204: Magazine Table (Referring To This Example)

    Geometry L2 Geometry radius Wear L1 Wear L2 Wear radius Additional compensation L1 Additional compensation L2 Unassigned Unassigned Unassigned Specified tool life Tool life Prewarning limit, tool life 9–32 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 205: Relevant Machine Data (In This Example)

    "Acknowledge" is pressed). Otherwise, the error message "Incorrect location at loading point" appears. _______ Background magazine permissible with SINUMERIK 880/880 GA2 only. Value range for SINUMERIK 840/840C 1...32, 1..16 if tool management is used. 9–33 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1...
  • Page 206: Definitions

    FB 190 Selection loading display tape FB 191 Acknowledge tape positive/negative FB 192 Abort tape FB 193 Unload to NC program (SINUMERIK 880/880 GA2 only) FB 194 Unassigned 9–34 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 207 Corresponds to contents of DB 152 DB 186 Corresponds to contents of DB 153 DB 187 First T number DB 188 Second T number DB 189 Duplo number 9–35 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 208: Program Structure

    FB 190 in FB 160. The generation of DB 135 with a length of 2 is thus no longer necessary. 9–36 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 209: Data Structure

    DW 8 Magazine No. DW 9 Locator No. DW 10 T number DW 11 T number DW 12 Unassigned DW 13 Unassigned DW 14 Unassigned DW 15 Unassigned 9–37 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 210 DW 24 Magazine No. DW 25 Start-of-area pointer DW 26 Length-of-area pointer DW 27 Cursor pointer DW 28 Unassigned DW 29 Unassigned DW 30 Unassigned DW 31 Unassigned 9–38 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 211 DW 50 Pointer DW 51 Cutting edge No. DW 52 Text pointer (user texts) DW 53 Cutting edge No. memory FB 189 DW 54 Unassigned DW 55 Unassigned 9–39 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 212 DW 72 Text pointer DW 73 Start-of-area pointer DW 74 Length-of-area pointer DW 75 Cursor pointer DW 76 Unassigned DW 77 Unassigned DW 78 Unassigned DW 79 Unassigned 9–40 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 213 Locator No. DW 90 Cutting edge No. DW 91 T number DW 92 T number DW 93 Unassigned DW 94 Unassigned DW 95 From magazine To magazine 9–41 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 214 FW 238 DW 146 Dynamic signal Static signal FW 240 DW 147 Neg. acknowl. Pos. acknowl. DW 148 Unassigned DW 149 Unassigned DW 150 Unassigned DW 151 Unassigned 9–42 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 215 Status word FB 186 DW 31 Buffer FB 191 DW 34 DW 35 Unassigned DW 37 Unassigned DW 38 Buffer FB 180, FB 181, FB 189 DW 39 DW 40 9–43 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 216 Status words FB 165 DW 118 (only for package 2, otherwise unassigned) DW 122 ZW FB 163 DW 121 DW 122 Status word FB 163 DW 123 Unassigned DW 255 9–44 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 217 Display next cutting edges 232.2 F11A 61722 Unassigned 232.3 F11B 61723 Unassigned 232.4 F11C 61724 Unassigned 232.5 F11D 61725 Unassigned 232.6 F11E 61726 Unassigned 232.7 F11F 61727 Unassigned 9–45 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 218 232.6 F11E 61726 Unload to NC program 232.7 F11F 61727 Unload to NC program _______ Only applies to ”Unload to NC program" function on SINUMERIK 880/880 GA2 9–46 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 219 Unload to NC program Texts: FRDIATXT List of interactive texts FRANWTXT User text list _______ Only applies to ”Unload to NC program" function on SINUMERIK 880/880 GA2 9–47 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 220 Unload magazine FRBELLST.FCD Load tape FRBEETSP.FCD Load and unload spindle FRENTSPI.FCD Unload spindle FRBASIS1.FCD Display P memory Texts: FRDIATXT.TTD List of interactive texts FRANWTXT.TTA User text list 9–48 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 221 Load spindle 2 FRBELMA2.FCD Load magazine 2 FRENTMAG.FCD Unload magazine FRBELLST.FCD Load tape FRBEETSP.FCD Load and unload spindle FRENTSPI.FCD Unload spindle FRSERVI1.FCD Service selection FRBASIS1.FCD Display P memory 9–49 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 222: Program Implementation

    * * * * * * * * * * – Decoding of function-related signals Network 3 * * * * * * * * * * – Load flags with static and dynamic function-related signals 9–50 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 223 FS 61712...61719 FW 232 dyn. signal stat. signal FS 61720...61727 FW 234 dyn. signal stat. signal FS 61728...61735 FW 238 dyn. signal stat. signal FS 61736...61743 9–51 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 224: Fb 161 Kontroll Decoding Of Function-Related Signals

    Decoding of the function-related signals Network 3 * * * * * * * * * * – Deselection of function result and inter- active text No. after every PLC cycle. 9–52 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 225 * * * * * * * * * * – Data structure Address key DB 145 Comment 15 14 13 12 11 10 9 8 7 6 5 4 DW 47 DW No. cursor (memory) 9–53 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 226: Fb 163 Anz-P-Sp Display Of P Memories

    The cause of the error is stored in DB 40, DW 50 as the number of an interactive text: DB 40, DW 50: 01: Magazine is not available 18: Location is not available 19: No D number is available 9–54 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 227 Status word DB 145, DW 122 FW 242 Auxiliary flag Auxiliary flag FW 248 FW 250 Auxiliary flag Unassigned FW 252 Auxiliary flag Auxiliary flag FW 244 9–55 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 228 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 FW226 DB 145; DW 118 Initial run Reset static signal Error Enter R999 NC monitoring 9–56 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 229: Fb 164 Tfwzausw Transfer Tool Selection

    FW 242 FW 242 DW-Q DW-Z FW 248 FW 244 Block structure Network 1 * * * * * * * * * * – Transfer tool data 9–57 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 230 Comment Address key FW 240 DB Source FW 242 DB Target FW 244 Number of data blocks FW 246 Source data word FW 248 Target data word 9–58 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 231: Fb 165 Anz-Lst Display Exchange List, Missing Tools, Tool List

    The cause of the error is stored as the number of an interactive text in DB 40, DW 50: DB 40, DW 50: 30: DB tool list missing 31: DB exchange list is missing 9–59 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 232 * * * * * * * * * * – Transfer data Network 9 * * * * * * * * * * – Save status word – Reset static signal 9–60 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 233 Change of pointer Spindle,change of displ. Reset static signal Initial run Switch flag Delete magazine 1 Delete magazine 2 Transfer data 1 Transfer data 2 Transfer active 9–61 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 234: Fb 166 Bela-Sp Load Spindle

    DB146, DW 7: 15: No empty location found 16: Invalid tool size DB 40, DW 50: 28: Spindle reserved DB 145, DW 112: Status words for internal statuses 9–62 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 235 * * * * * * * * * * – Search for empty location Network 5 * * * * * * * * * * – Save status word – Reset static signal 9–63 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 236 Status word DW 113 Initial address Data word number DW 114 Magazine No. No. of locations DW 115 Progr. channel Act. pos. tool loc. DW 116 Unassigned 9–64 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 237 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DW 117 SST Load spindle Unassigned SST valid Acknowledge spindle Unassigned 9–65 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 238: Fb 167 Entla-Sp Unload Spindle

    The cause of the error is stored as the number of an interactive text in DB 40, DW 50: DB 40, DW 50: 27: Tool not in spindle 9–66 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 239 FW 224 Status word DB 145, DW 19 FW 228 Auxiliary flag Auxiliary flag FW 254 Address key Structure of DB 145 Comment DW 19 Status word 9–67 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 240 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 unassigned DW 117 SST Load spindle SST valid Acknowledge spindle Unassigned 9–68 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 241: Fb 168 Q-Spind Acknowledge Loading And Unloading Of Spindle

    7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 DW 145 FY 236 FY 237 negative positive user acknowledgement 9–69 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 242 * * * * * * * * * * – Load or preset status words – Save operator panel flags – Evaluate neg. user acknowledgement – Scan SST, acknowledge spindle 9–70 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 243 * * * * * * * * * * – Declare old location unassigned Network 8 * * * * * * * * * * – Save status word – Save operator panel flags 9–71 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 244 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Unassigned DW 117 SST load spindle SST valid Acknowledge spindle Unassigned 9–72 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 245: Fb 169 Wz-Frei Enable Tool

    Enable tool Reset bit 8 in DB 152 Network 3 * * * * * * * * * * – Save status word – Reset static signal 9–73 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 246 DB 145, DL 26 Address key 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 FY 224 Error Reset static signal 9–74 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 247: Fb 170 Blg-Zwsp Buffer Assignment

    Error messages : 01: Magazine not available Block call FB 170 FB BLG-ZWSP FEHL DB 40, DW 50 Signal description FEHL Error Status words for internal statuses 9–75 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 248 Unassigned FW 238 Length magazine Auxiliary flag FW 240 Address change location FW 242 Address loading point FW 244 Number channel DB FW 246 Initial address magazine 9–76 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 249: Fb 171 Belegung Preselection Magazine Assignment

    18: Locator No. not available Block structure Network 1 * * * * * * * * * * – Check locator/magazine number – Initialize display parameters – Output error message 9–77 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 250 15 14 13 12 11 10 9 8 7 6 5 4 FW 248 Auxiliary flag FW 250 Auxiliary flag FW 252 Auxiliary flag FW 254 Auxiliary flag 9–78 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 251: Fb 172 Wz-T-Nr Tools Selected According To T Number

    The cause of the error is stored as a number of a user-specific text in DB 146, DW 7: DB 146, DW 7: 01: No tool found 02: Magazine not available 03: Illegal criterion 11: Selection buffer full! Internal status word DB 145, DW 95 9–79 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 252 * * * * * * * * * * – Save status word – Reset static signal Network 9 * * * * * * * * * * – 9–80 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 253 Program channel DW 102 Unassigned Pointer number of DW 103 Unassigned magazine DW 104 Unassigned Locator No. DW 105 Magazine No. Locator No.+1 DW 106 Magazine No.+1 9–81 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 254 Switch flag Delete bit 1, magazine Delete bit 2, magazine Search parameter Initiate tool search Transfer tool Illegal criterion Error Search of magazine Reset static signal Search active 9–82 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 255: Fb 173 Be-Entl Display Selection Loading/Unloading

    FEHL DB 40, DW 50 Signal descriptions Internal status word FEHL The cause of the error is stored as an interactive text in DB 40, DW 50. 9–83 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 256 – Delete loading line if necessary Network 5 * * * * * * * * * * – Save status word – Load operator panel flags 9–84 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 257 7 6 5 4 3 2 1 0 FW 224 Check D No. load. line Delete D-No. Assign NC pointer Delete magazine loc. Reset static signal Error 9–85 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 258: Fb 175 Anz-Zwsp Display Tool Data From Buffer

    The cause of the error is stored as a number of an interactive text in DB 40, DW 50: DB 40, DW 50 : 19: No D No. available DB 145, DR 46: Status words for internal statuses 9–86 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 259 * * * * * * * * * * – Save status word – Reset static signal Network 6 * * * * * * * * * * – 9–87 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 260 FW 238 1st reference DB DB 145, DR 46 Address key 7 6 5 4 3 2 1 0 FY 236 Error Reset static signal Initial run 9–88 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 261: Fb 176 Aen-Zwsp Modify Data Of Buffer Assignment

    The cause of the error is stored as the number of an interactive text in DB 40, DW 50: DB 40, DW 50: 02: Illegal criterion 19: No D No. available DB 145, DL 46: Status words for internal statuses 9–89 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 262 * * * * * * * * * * – Save status word – Reset static signal Network 6 * * * * * * * * * * – 9–90 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 263 DB 145, DL 46 Address key 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 FY 236 Error Reset static signal Initial run 9–91 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 264: Fb 177 Anz-Mag Display Tool Data Of Magazine Assignment

    The cause of the error is stored as the number of an interactive text in DB 40, DW 50: DB 40, DW 50: 19: No D No. available DB 145, DR 41: Status words for internal statuses 9–92 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 265 * * * * * * * * * * – Save status word – Reset static signal Network 6 * * * * * * * * * * – 9–93 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 266 FW 244 Reference DB FW 254 DB 145, DR 41 Address key 7 6 5 4 3 2 1 0 FY 236 Error Reset static signal Initial run 9–94 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 267: Fb 178 Aen-Mag Change Tool Data Of Magazine Assignment

    DW 50: DB 40, DW 50: 19: No D No. available 32: Fictitious magazine (SINUMERIK 880/880 GA2 only) DB 145, DL 41: Status words for internal statuses 9–95 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 268 * * * * * * * * * * – Save status word – Reset static signal Network 6 * * * * * * * * * * – 9–96 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 269 DB 145, DL 41 Address key 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 FY 236 Error Reset static signal Initial run 9–97 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 270: Fb 179 Wz-Cursr Tools Selected According To Cursor Position

    DB 146, DW 7: 01: No tool found 02: Magazine not available 03: Illegal criterion 11: Selection buffer full! DB 145, DW 95: Status words for internal statuses 9–98 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 271 Search for tool size – Assign search parameters Network 8 * * * * * * * * * * – Search for enabled tool – Assign search parameters 9–99 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 272 * * * * * * * * * * – Save status word – Reset static signal Network 15 * * * * * * * * * * – 9–100 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 273 DW 103 DB No. Cursor Pointer No. of mag. DW 104 DW No. Cursor Unassigned DW 105 Magazine No. Locator No. DW 106 Magazine No.+1 Locator No.+1 9–101 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 274 Switch flag Delete bit 1, magazine Delete bit 2, magazine Search parameter Initiate tool search Transfer tool Illegal criterion Error Search of magazine Reset static signal Search active 9–102 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 275 FEHL Error word The error number is stored in the form of the interactive text numbers listed above. Function number is valid Interface for interactive text display 9–103 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 276 Initialize display with new display parameters Network 6 * * * * * * * * * * – Final processing – Save internal signals – Load stack into flags 9–104 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 277 15 14 13 12 11 10 9 8 7 6 5 4 Delete selection D No. Enter D No. in R 999 D No. entry active Init. displ. with displ. p. Job running 9–105 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 278 The flag F 229.2 is set by FB 180 in the first cycle and is reset after the function has been executed. As long as this flag is set, the block FB 180 is called cyclically by FB 160. 9–106 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 279: Fb 181 W-Sn-Bel Additional Cutting Edges (From Loading Display)

    Error word The error number is stored in the form of the interactive text numbers listed above. Function number is valid. Interface for display of interactive text 9–107 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 280 Initialize display with new display parameters Network 6 * * * * * * * * * * – Final processing – Save internal signals – Load stack into flags 9–108 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 281 15 14 13 12 11 10 9 8 7 6 5 4 Delete selection D No. Enter D No. in R 999 D No. entry active Init.displ.with displ.par. Job running 9–109 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 282 The F 229.3 flag is set by FB 180 in the first cycle and reset after this function has been executed. As long as this flag is set, the block FB 180 is called cyclically by FB 160. 9–110 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 283: Fb 182 Beladen Manual Loading

    (F 237.0) or negative user acknowledgement (F 236.0) within the same cycle. The user acknowledgement may be present for only one cycle (by logic operation with the dynamic softkey signal). 9–111 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 284 Block structure Network 1 * * * * * * * * * * – Load or preset status words – Save operator panel flags 9–112 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 285 X X X X DB 145, DW 27, Initial run FW 224 With configuration Initiate search Search in FB 112 Search in FB 122 Reset static signal Error 9–113 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 286: Fb 183 Entladen Manual Unloading

    (F 237.1) or the negative user acknowledgement (F 236.1) within the same cycle. The user acknowledgement may be present for only one cycle (by logic operation with the dynamic softkey signal). 9–114 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 287 Block structure Network 1 * * * * * * * * * * – Load or preset status word – Save operator panel flags 9–115 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 288 7 6 5 4 3 2 1 0 Program channel FW 224 Initial run Tool search in FB 111 Initialize D No., SST Initialize NC pointer Reset static signal Error 9–116 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 289: Fb 185 Q-Manuel Acknowledge Manual Loading/Unloading

    Softkey signals 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 DW 145 FY 236 FY 237 negative positive User acknowledgements 9–117 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 290 * * * * * * * * * * – Initial run routine – Determine whether processing with or without configuring – Determine number of 1st reference DB 9–118 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 291 Initialize NC and PLC pointers – Delete loading line Network 7 * * * * * * * * * * – Save status word – Load operator panel flags 9–119 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 292 No. first ref. DB Assigned FW 226 DW 52 Target magazine Target location FW 201 MW 201 DW 53 Source magazine Source location FW 203 MW 203 9–120 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 293: Fb 186 A-Manuel Abort Manual Loading/Unloading

    : Conditional in FB 160 DBs to be input : None Error messages : 07: Abort loading illegal 08: Abort unloading illegal 09: Error TO memory management 9–121 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 294 * * * * * * * * * * – Unloading: Delete location Network 4 * * * * * * * * * * – Initialize NC and PLC pointers 9–122 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 295 DB 145, DW 30 Initial run FW 224 Delete D No. Initialize NC pointer Declare old loc. unass. With configuring Man. load/unload. (1/0) Reset static signal Error 9–123 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 296 9.2.24 FB 186 Abort manual loading/unloading Address key Comment Control word 15 14 13 12 11 10 9 8 7 6 5 4 DB 145, DW 117 Interface valid Acknowledge spindle Unassigned 9–124 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 297: Fb 187 Folge-S Display Next Cutting Edges

    * * * * * * * * * * – Start Network 2 * * * * * * * * * * – Load static signal, status word 9–125 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 298 DB 145, DR 43 FW 234 Status byte FY 236 FW 238 Current cutting edge number FW 240 Number of cutting edges FW 242 Reference DB, current edge FW 244 9–126 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 299 9 Examples 9.2.25 FB 187 Display next cutting edges Address key Comment DB 145, DR 43 7 6 5 4 FY 236 Reset static signal Initial run 9–127 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 300: Fb 188 Wz-Reakt Reactivate Tool

    Location not available ZBIT Internal status bits Block structure Network 1 * * * * * * * * * * – Flag processing: Set dynamic flag. Save flag. 9–128 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 301 – Set next initiation (process next D No.) Network 9 * * * * * * * * * * – Set error messages – Restore flags 9–129 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 302 FW 224 Intermediate values FW 226 Intermediate values FW 228 Auxiliary flag FW 230 Auxiliary flag Auxiliary flag FW 234 FW 238 Auxiliary flag Auxiliary flag FW 254 9–130 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 303: Fb 189 Ls-Loesch Delete Last Cutting Edge

    FEHL Error word The error number is stored as the number of the interactive text as shown above. Function number is valid Interface for interactive text display 9–131 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 304 * * * * * * * * * * – Initialize display with new display parameters Network 5 * * * * * * * * * * – Final processing 9–132 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 305 15 14 13 12 11 10 9 8 7 6 5 4 Provide D No. in R 999 Provision of D No.active Init.displ.with displ. par. Job running 9–133 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 306 Flag F 229.6 is set by FB 189 in the first cycle and reset after completion of the function. As long as this flag is set, FB 189 is called cyclically by FB 160. 9–134 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 307: Fb 190 Be-Lochst Loading Via Tape

    : None DBs to be loaded : None Type of FB call : Conditional in FB 160 DBs to be input : None Error messages : None 9–135 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 308 * * * * * * * * * * – Initial setting: Signal readiness to data distributor – Enable tape – Reset acknowledgement for data distributor 9–136 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 309: Fb 191 Q-Lochst Positive/Negative Acknowledgement Of Tape

    Softkey signals 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 DW 145 FY 236 FY 237 negative positive User acknowledgements 9–137 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 310 FB 191 must also be called conditionally in the initial setting (F2.1) to be able to restore its initial setting and set bit D 6.1 in DB 144. 9–138 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 311 Signal descriptions Initial setting at F 2.1 Internal status words FEHL Error word: The error number is stored in the form of the interactive text number listed above. 9–139 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 312 Initialize NC and PLC pointers – Delete loading line Network 6 * * * * * * * * * * – Save status words – Load operator panel flags 9–140 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 313 Initial. NC/PLC pointers Reset static signal DB 145, DW 32 No. 1st ref. DB Reserved FW 228 Target magazine Target location DW 33 Source magazine Source location DW 34 9–141 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 314: Fb 192 A-Lochst Terminate Tape

    Softkey signals 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 DW 147 FY 240 FY 241 negative positive User acknowledgements 9–142 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 315 : 09: Error TO memory management 22: Terminating tape illegal Block call FB 192 FB A-LOCHST F 2.1 DB 145, DW 109 FEHL DB 40, DW 50 9–143 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 316 – Initialize NC and PLC pointers Network 5 * * * * * * * * * * – Save status words – Load operator panel flags 9–144 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 317 15 14 13 12 11 10 9 8 7 6 5 4 DB 145, DW 109 Initial run FW 226 Delete D No. Initial. NC/PLC pointers Reset static signal Error 9–145 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 318 The cause of the error is is stored in the form of the number of an interactive text in DB 40, DW 50: DB 40, DW 50: = 02: "Criterion illegal" = 04: "Unloading not possible" 9–146 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 319 * * * * * * * * * * – Select unloading type via function code Network 5 * * * * * * * * * * – Mark tools for unloading 9–147 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 320 8 7 6 5 4 FY 232 X X X Dynamic signals: Dyn. signal unload mag. Dyn. signal mark tools for unloading Abort/Reset Dyn. signal select unloading 9–148 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 321: And Sinumerik 840/840C

    Wordstar file. The general documentation on the tool management therefore only deals with the screen forms. Softkey assignment on the SINUMERIK 880/880 GA2 and SINUMERIK 840/840C may differ slightly (880/880 GA2 5 softkeys, 840/840C 7 softkeys).
  • Page 322: Display "Selection Tool Management"

    Display "Assignment" AUTOMATIC Assignment: Turret: Location T No. Dp No. Size Status 7000 CHANGE CHANGE TOOL EN TRT UNLOAD T. DATA LOC. DATA SELECT. TRANSFER T. MARK 9–150 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 323: Display "Change Tool Data"

    Display "Change tool data" AUTOMATIC Change tool data: Turret: Location T No. Dp No. Size Status WP count Tool life Set: 1000 Remaining: Prew.: REACTI- EN TOOL HELP VATE TRANSFR 9–151 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 324: Display "Change Location Data"

    Size Status TOOL DATA INP LOC DATA 9.3.7 Display "Change location data" AUTOMATIC Change loc. data: Turret: Location T No. Dp No. Size Status Delete location? (Yes/No) 9–152 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 325: Display "Selected Tools"

    Dp No. Size Status HELP 9.3.9 Display "Loading from NC program" AUTOMATIC Loading from NC program: Loading program: Turret Location Cutting edge T No. Dp No. 1111 RESET/ 9–153 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 326: Display "Adapter"

    Unloading to NC program: Loading program, new: Turret Location Cutting edge T No. Dp No. All magazines Magazine Magazine and chained magazines Marked tools RESET/ SELECT- START 9–154 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 327: Display "Help"

    Marked tool for unloading Type of monitoring selected The display "Help" is called via softkey on the SINUMERIK 880/880 GA2. On the SINUMERIK 840/840C it is called via the "i" key. 9–155 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1...
  • Page 328: Menu: Tool Management For Sinumerik 880/880 Ga2

    For a detailed description of the menu data, refer to the WS 800A file for the tool management. The names of the display files are specified in the menu above. 9–156 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 329: Menu: Tool Management For Sinumerik 840/840C

    11.92 9 Examples 9.3.14 Menu: Tool management for SINUMERIK 840/840C 9.3.14 Menu: Tool management for SINUMERIK 840/840C DWANWAHL DWBLGREV DWAUSWZG DWBELNCP DWAENWZ1 DWAENPL1 DWAENWZ2 DWAENPL2 DWHILFE1 For a detailed description of the menu data, refer to the WS 800A file for the tool management.
  • Page 330: Data Fields

    _______ In the case of SINUMERIK 840/840C, the maximum input value is 32 A value of more than 1 is not supported, in the case of SINUMERIK 840/840C, the maximum input value is 4 10–1 © Siemens AG 1991 All Rights Reserved...
  • Page 331: Plc Machine Data Words (Db 61)

    Width of the reference list (1 to 9 data blocks are permissible) Address m Address m < Software Version 6.1 Software Version 6.1 2000 2000 2100 2250 _______ PLC 2 applies to SINUMERIK 880/880 GA2 only 10–2 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 332 Submagazine 16, number of the assigned magazine m+67 Address m Address m < Software Version 6.1 > Software Version 6.1 2000 2000 2100 2250 _______ PLC 2 applies to SINUMERIK 880/880 GA2 only 10–3 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 333 Bit 0 Unassigned m+74 Address m Address m <Software Version 6.1 Software Version 6.1 2000 2000 2100 2250 _______ PLC 2 applies to SINUMERIK 880/880 GA2 only 10–4 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 334 DR m + 76: 4 (initial address) 0000 0100 MD m + 76: 260 0000 0001 0000 0100) PLC 2 applies to SINUMERIK 880/880 GA2 only Up to 4 channels only with SINUMERIK 840/840C 10–5 © Siemens AG 1991 All Rights Reserved...
  • Page 335 Bit No. Data block No. Address m Address m <Software Version 6.1 Software Version 6.1 2000 2000 2100 2250 _______ PLC 2 applies to SINUMERIK 880/880 GA2 only 10–6 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 336: Plc Machine Data Bits (Db 64)

    7050 n Submagazine 1 to 16 for SINUMERIK 880/880 GA2 n Submagazine 1 to 4 for SINUMERIK 840/840C _______ PLC 2 applies to SINUMERIK 880/880 GA2 only 10–7 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 337: Assignment Of The Data Words/Bits Of The Submagazine-Specific User Interface (Channel Db 10 To Channel Db 25)

    10.1.4 Assignment of the data words/bits of the submagazine-specific user interface 10.1.4 Assignment of the data words/bits of the submagazine-specific user interface (channel DB 10 to channel DB 25 SINUMERIK 880/880 GA2) (channel DB 10 to channel DB 13 SINUMERIK 840/840C) Bit No. Sup- DL 63...
  • Page 338 DW 78 Data word number within the magazine table (see D 71.8) DW 79 Magazine location number of the tool found (see D 71.8) 10–9 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 339: Machine Data

    1. _______ In the case of SINUMERIK 880/880 GA2, the value 16 applies. In the case of SINUMERIK 840/840C, the value 32 applies; the value 16 applies if tool management is used. 10–10 © Siemens AG 1991 All Rights Reserved...
  • Page 340 1 to 16 * ... 0 Channel 1 Channel 16 for SINUMERIK 880/880 GA2; 0..3 for SINUMERIK 840/840C The TO area of every channel available must be entered. The TO area specifications have to match the TO area definition of the PLC machine data;...
  • Page 341: Plc Machine Data Words (Db 61)

    Data range for additional, tool-specific user data. Up to seven data blocks can be set up additionally, which are also supported during data transfer (FB 128) within the magazine table. If value 0 is entered, no user list is set up. 10–12 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 342 From release 2.0 onwards, a total of 2048 tools can be managed; the number of tools is limited to 256 per submagazine. If only one submagazine is configured, 254 magazine locations, minus the tool buffer, can be managed for this magazine. 10–13 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 343 H groups for tool management At present, a PLC machine data block of three data words is provided for various applications of H groups. _______ Range of values for SINUMERIK 840/840C 1...4 10–14 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1...
  • Page 344 Tool buffers defined as local buffers are found by the tool selection only if the channel of the requesting part program and the assigned channel of the tool buffer are identical. 10–15 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 345 Description DW 75,DR Number of channels for which local tool buffers are defined; max. 16 or 4 for m+ 75 SINUMERIK 840/840C 0=no local tool buffer available. 10–16 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 346 133 MD No Description DW 133, Data word address of spindle in parameterized tool buffer for NC channel 16 or NC channel 4 for SINUMERIK 840/840C m+ 133 10–17 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 347 5632 9728 13824 5888 1024 9984 1280 14080 1536 6144 1792 10240 2048 14336 2304 6400 2560 10496 2816 14592 3072 6656 3328 10752 3584 14848 3840 10–18 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 348 Bit numbering from 0 to 15 MD No. Description DW 79,DR User bit 2: Data block number m+ 79 The bit numbers and the existence of the data blocks are not checked. 10–19 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 349 10 Data fields 02.93 10.2.2 PLC machine data words (DB 61) (Leerseite) 10–20 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 350: Plc Machine Data Bits

    FB 150 is called once for entering a cutting edge data block; it should include the corresponding user routing program (for further descriptions see documentation on the data distributor). 10–21 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 351 "0" signal: No D numbers are provided in the R parameters R 101 to R 109 for magazines equal to turret via the base function. The D numbers must be provided by the machine program via FB 135. 10–22 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 352 The search starts from the actual magazine position. (channel DB, DW 76). Application: e.g. chain magazine. "0" signal: The search direction is forwards. The search starts from magazine location 1. 10–23 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 353 (in the case of milling machines). "0" signal: The magazine is a background magazine. 10–24 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 354 "1" signal: Magazine is taken into account by the tool selection, the neutral tool routine and the search blocks during the search for an empty location. "0" signal: The magazine is skipped by the search routines mentioned. 10–25 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 355: User Interface

    This signal must be set and reset by the user. The user must also assign DW 64 (source channel number)! 10–26 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 356 This starts the tool selection and the tool search in the assigned or chained magazines. The signal is present for the duration of the search. "0" signal: No function; tool search is not started. 10–27 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 357 Dis- Provide Unas- Error Provide Pro- Pro- maga- able D No. signed D No. cess cess zine marked for tool running termi- tools block found nated search 10–28 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 358 (cf. D 63.7 "Coordination error"). "0" signal: No job is running for this NC channel or the job is already terminated (see also D 70.0). 10–29 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 359 (D 70.0=1). The signal is set for the duration of a PLC cycle. "0" signal: No error has been found. 10–30 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 360 If an error occurs, bits 70.0 (process terminated) and 70.3 (error) are set. In the case of a fictitious magazine, the configuration is also deleted with D 70.7. "0" signal: Job is not triggered. 10–31 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 361 Via the "1" signal, positioning can be enabled for the assigned magazine. The locator number and data word address of the setpoint must be read in data words DW 72 and DW 74. "0" signal: In all other cases. 10–32 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 362 Suitable exchange tools: – Disabled tools with identical T No., – Disabled tools of identical size but with different T No. "0" signal: In all other cases. 10–33 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 363 (D 71.6=1). The locator number and the data word address of the exchange tool within the magazine table must be read in data words DW 72 and DW 74 (cf. D 71.6). 10–34 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 364 Bit 15 Bit 0 Current actual position of the assigned magazine (to be entered by the user) _______ In the case of 840/840C, up to DB 13 10–35 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 365 Bit 0 Data word number within the magazine table (see D 71.8) DW 79 Bit 15 Bit 0 Magazine location number of the tool found (see D 71.8) 10–36 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 366: Interface Input/Output Buffer Dbs (Db 136 To Db 143)

    Transmitter loc. Unassigned DW 21 Unassigned DW 22 Command code DW 23 Magazine number Job-related DW 24 Locator number data DW 25 Cutting edge number DW 26...29 Unassigned 10–37 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 367 If a computer is specified as source and bit routing in ASCII format activated, the contents must be specified in ASCII code (see Section 5, description of FB 139). To be specified in BCD code 10–38 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 368 DW 61...63 DW 64...66 Geometrical DW 67...69 data for DW 70...72 TO memory DW 73...75 DW 76...78 DW 79...81 DW 82...84 DW 85...87 DW 88...90 DW 91...93 10–39 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 369: Assignment Of R Parameters

    R 13 Basic dimension 1 R 14 Basic dimension 2 R 37 User R 15 User R 16 User R 17 User R 18 User R 19 User 10–40 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 370 13, user 7 R 36 BCD, 4 dec. Command code 0...10 R 23 BCD, 2 dec. Internal arithmetic parameters R 24...R 29 DBZW = DB status word 10–41 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 371: Dbzw (Status Word Data Block) Assignment

    Magazine number No. of old location Tool buffer 2 Magazine number No. of old location Tool buffer 28 Magazine number No. of old location Tool buffer 29 10–42 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 372 User data DBs available bit 1: Adapter geometry DBs available bit 2: Adapter DBs available bit 3: Replacement location pointer DBs available _______ For SINUMERIK 840/840C, NC channel 1-4 only 10–43 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 373: Assignment Of The Identification Data Blocks

    Locations 19 and 18 are thus occupied. The data word assigned to location 19 has the following structure in DB 151: DB 151, DWxxx: KH yy31 Location Tool 10–44 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 374 Tool data already transferred Used tool Tool status for computer link Assigned for cartridge handling Identifiers ZI/ZU Number of compensations per cutting edge Number of cutting edges 10–45 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)
  • Page 375: Assignment Of The Interface Bytes In Db 36

    FB 134 DR 28 FB 134 DL 28 FB 134 DR 27 Operator panel, general DL 27 Operator panel (tool reactivated) DR 26 Operator panel (tool reactivated) 10–46 © Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 SINUMERIK 840/880 (PJ)

This manual is also suitable for:

Sinumerik 840cSinumerik 880Sinumerik 880 ga2

Table of Contents