Vous êtes sur la page 1sur 180

SINUMERIK 840D/810D

Description of Functions 01.2002 Edition

ShopTurn

Manufacturer/Service Documentation
Hardware 1
Installation and Start- Up 2
Supplementary Conditions 3
PLC Program 4
SINUMERIK 840D/810D
Signal Description 5
ShopTurn Machine Data 6

Description of Functions Reserved Functions 7


Tool Management 8
Network Connection 9
Access Protection 10
Miscellaneous Functions 11

Abbreviations A
References B
Index C
Valid for

Control Software version


SINUMERIK 840D 6
SINUMERIK 840DE (export version) 6
SINUMERIK 840D powerline 6
SINUMERIK 840DE powerline 6
SINUMERIK 810D 4
SINUMERIK 810DE (export version) 4
SINUMERIK 810D powerline 4
SINUMERIK 810DE powerline 4

01.2002 Edition
SINUMERIKR Documentation

Printing history

Brief details of this edition and previous editions are listed below.

The status of each edition is shown by the code in the ¨Remarks¨ column.

Status code in the ¨Remarks¨ column:

A . . . . . New documentation.
B . . . . . Unrevised reprint with new Order No.
C . . . . . Revised edition with new status.
If factual changes have been made on the page since the last edition,
this is indicated by a new edition coding in the header on that page.

Edition Order No. Remarks


03.01 6FC5 297--6AD70--0BP0 A
01.02 6FC5 297--6AD70--0BP1 C

This manual is included in the documentation available on CD-ROM (DOCONCD)


Edition Order No. Remarks
01.02 6FC5 298--6CA00--0BG2 C

Trademarks
SIMATICr, SIMATIC HMIr, SIMATIC NETr, SIROTECr, SINUMERIKr and SIMODRIVEr are registered
trademarks of Siemens AG. Other names in this publication might be trademarks whose use by a third party
for his own purposes may violate the rights of the registered holder.

Further information is available on the Internet under: Other functions not described in this documentation might be
http://www.ad.siemens.de/sinumerik executable in the control. This does not, however, represent an
obligation to supply such functions with a new control or when
servicing.
This publication was produced with Interleaf V 7.
We have checked that the contents of this document correspond to
The reproduction, transmission or use of this document or its the hardware and software described. Nonetheless, differences might
contents is not permitted without express written authority. Offenders exist. The information contained in this document is, however,
will be liable for damages. All rights, including rights created by patent reviewed regularly and any necessary changes will be included in the
grant or registration of a utility model or design, are reserved. next edition. We welcome suggestions for improvement.

E Siemens AG 2001--2002. All rights reserved. Subject to change without prior notice.

Order No. 6FC5 297--6AD70--0BP1 Siemens Aktiengesellschaft


Printed in the Federal Republic of Germany
Preface

Structure of The SINUMERIK documentation is divided into 3 different levels:


documentation
S General Documentation
S User Documentation
S Manufacturer/Service Documentation

Target group This documentation is intended for operators of single-slide turning machines
with the SINUMERIK 810D/840D control.

Aim This Description of Functions provides the information you require to configure
and start up the ShopTurn system.

Note
This Description of Functions is valid for ShopTurn SW 6.3 with:

S SINUMERIK 810D (SW 4.3 and later)


S SINUMERIK 840D (SW 6.3 and later)

SINUMERIK 840D From 09.2001 SINUMERIK 840D powerline and SINUMERIK 840DE powerline
powerline will be available with improved performance. The following hardware description
contains a list of available powerline modules:
References: /PHD/, Configuring Manual SINUMERIK 840D.

SINUMERIK 810D From 12.2001 SINUMERIK 810D powerline and SINUMERIK 810DE powerline
powerline will be available with improved performance. The following hardware description
contains a list of available powerline modules:
References: /PHC/, Configuring Manual SINUMERIK 810D.

Standard scope This document provides information about the control system design and the
interfaces of individual components. It also describes in detail the procedure for
starting up ShopTurn with SINUMERIK 810D/840D.
For detailed information about individual functions, function assignment and
performance data of individual components, please refer to the appropriate
document for the subject concerned (e.g. manuals, function descriptions etc.).
User-oriented activities such as the creation of part programs and control
operating procedures are described in detail in separate documents.
Other descriptions for processes to be carried out by the machine tool
manufacturer are also available for the standard SINUMERIK 810D/840D
controls. Reference is made to these descriptions in this document where
appropriate.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition v
Preface 01.02

How to find In addition to the table of contents, we have provided the following extra
information reference guides in the Appendix:
1. List of Abbreviations
2. List of References
3. Index
For a complete list and description of ShopTurn alarms, please refer to
References: /BAT/, ShopTurn Operating/Programming Guide.
For a description of the SINUMERIK 810D/840D alarms, please refer to
References: /DA/, Diagnostics Guide.
For further useful information on start-up and troubleshooting, please refer to
References: /FB/, D1, “Diagnostics Tools”.

Symbols The following symbols with special significance are used in the documentation:

Note
This draws your attention to information relevant to the subject in hand.

Warnings The following warnings with varying levels of severity are used in this document:

Danger
! This warning means death, severe physical injury or substantial material
damage will occur if the appropriate precautions are not taken.

Warning
! This warning means death, severe physical injury or substantial material
damage can occur if the appropriate precautions are not taken.

Caution
! This warning (with a warning triangle) means minor physical injury can occur if
the appropriate precautions are not taken.

E Siemens AG 2002. All rights reserved


vi SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 Preface

Caution
This warning (without a warning triangle) means material damage can occur if
the appropriate precautions are not taken.

Notice
This warning means an unwanted result or unwanted state can arise if the
relevant information is not heeded.

Technical information

Trademarks IBMR is a registered trademark of International Business Corporation.


MS-DOSR and WINDOWST are registered trademarks of Microsoft
Corporation.

Notations The following notations and abbreviations are used in this document:

S PLC interface signals --> IS “Signal name” (signal data)


Example:
-- IS “base_sig.reset” (DB82, DBX4.0) i.e. the signal is stored in data block
82, data byte 4, bit 0.

S Machine data --> MD: NUMBER, MD_NAME (name in plaintext)


S Setting data --> SD: NUMBER, SD_NAME (name in plaintext)
S The symbol “≐” means “corresponds to”.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition vii
Preface 01.02

Notes

E Siemens AG 2002. All rights reserved


viii SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Contents
1 Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13
1.1 Hardware configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13
1.2 Examples for assigning the machine control panel . . . . . . . . . . . . . . 1-15
2 Installation and Start-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
2.1 Preconditions for software start-up . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
2.2 Initial start-up sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
2.2.1 Installation and start-up ShopTurn on PCU 20 . . . . . . . . . . . . . . . . . 2-19
2.2.2 Installation and start-up on PCU 50 . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22
2.2.3 NC installation and start-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-27
2.2.4 PLC installation and start-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-29
2.3 Series start-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-31
3 Supplementary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33
4 PLC Program .................................................... 4-35
4.1 Structure of the PLC program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-35
4.2 Example for OB1 and OB100 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-36
4.3 Overview of blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-39
4.3.1 Function blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-39
4.3.2 Data blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-40
4.4 Description of blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-41
4.4.1 ShopTurn PLC program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-41
4.4.2 ShopTurn interface DB82 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-42
4.4.3 Diagnostics function for start-up purposes . . . . . . . . . . . . . . . . . . . . . 4-44
4.5 Standard interface signals for ShopTurn . . . . . . . . . . . . . . . . . . . . . . 4-45
5 Signal Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-47
5.1 Overview of ShopTurn interface DB82 . . . . . . . . . . . . . . . . . . . . . . . . 5-47
5.1.1 Signals to ShopTurn (input signals) . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-47
5.1.2 Signals from ShopTurn (output signals) . . . . . . . . . . . . . . . . . . . . . . . 5-48
5.1.3 Diagnostics buffer signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-50
5.2 Description of ShopTurn interface DB82 . . . . . . . . . . . . . . . . . . . . . . 5-51
5.2.1 Signals to ShopTurn (input signals) . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-51
5.2.2 Signals from ShopTurn (output signals) . . . . . . . . . . . . . . . . . . . . . . . 5-59
5.2.3 Description of the diagnostics buffer signals . . . . . . . . . . . . . . . . . . . 5-63
6 Machine Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-65
6.1 NC machine data for ShopTurn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-65
6.2 Display machine data for ShopTurn . . . . . . . . . . . . . . . . . . . . . . . . . . 6-68
6.2.1 Overview of display machine data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-68
6.2.2 Description of the display machine data . . . . . . . . . . . . . . . . . . . . . . . 6-71

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition ix
Contents 01.02

7 Reserved Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-91


8 Tool Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-93
8.1 Overview of functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-93
8.2 Start-up of tool management in the NC . . . . . . . . . . . . . . . . . . . . . . . 8-95
8.2.1 Start-up sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-95
8.2.2 Input of NC machine data for tool management . . . . . . . . . . . . . . . . 8-96
8.2.3 Description of the NC machine data for tool management . . . . . . . 8-98
8.2.4 Creating and loading the configuration file . . . . . . . . . . . . . . . . . . . . . 8-102
8.2.5 Input of display machine data for tool management . . . . . . . . . . . . . 8-108
8.3 Start-up of tool management in the PLC . . . . . . . . . . . . . . . . . . . . . . 8-109
8.3.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-109
8.3.2 Start-up sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-110
8.3.3 Description of blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-111
8.3.4 Signal description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-112
8.4 Enable spindle and coolant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-120
8.5 Moving the turret manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-121
8.6 Configuring the user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-123
8.6.1 Modifying existing lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-123
8.6.2 Defining additional list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-127
8.7 Reading in tool data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-130
9 Network connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-133
9.1 General description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-133
9.2 Integrating Windows network drives in ShopTurn . . . . . . . . . . . . . . . 9-134
9.2.1 PCU 20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-134
9.2.2 PCU 50 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-135
10 Access Protection via Password and Keyswitch
................................................................... 10-137
10.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-137
10.2 Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-139
10.3 Keyswitch positions (DB10, DBX56.4 to 7) . . . . . . . . . . . . . . . . . . . . 10-140
10.4 Machine data for protection levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-141
11 Miscellaneous Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-143
11.1 Configuring the customer boot screen . . . . . . . . . . . . . . . . . . . . . . . . 11-143
11.1.1 PCU 20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-143
11.1.2 PCU 50 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-144
11.2 Cylinder surface transformation, end face machining . . . . . . . . . . . 11-145
11.2.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-145
11.2.2 Example of how to set an axis configuration . . . . . . . . . . . . . . . . . . . 11-145
11.3 Machine manufacturer cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-147
11.4 Spindle control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-148
11.5 Configuring the user screenform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-149
11.5.1 Chaining cycles you have configured yourself in the work schedule 11-150

E Siemens AG 2002. All rights reserved


x SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 Contents

11.5.2 Linking in your own measuring cycles . . . . . . . . . . . . . . . . . . . . . . . . . 11-151


11.5.3 Sample screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-152
11.6 Automatically generated programs . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-153
11.7 ShopTurn Open (PCU 50) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-154
11.7.1 Standard menu bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-154
11.8 Support for cycles and measuring cycles in the G code editor . . . . 11-155
11.9 Operator status display (PCU 50) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-156
11.10 OP hotkeys, PLC keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-158
11.11 Counterspindle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-159
A Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-161
B References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-165
C Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index-177

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition xi
Contents 01.02

Notes

E Siemens AG 2002. All rights reserved


xii SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Hardware 1
1.1 Hardware configuration
System The hardware configuration for ShopTurn is as standard for SINUMERIK
configuration 810D/840D.
References: /PHC/, SINUMERIK 810D, Configuring Manual
/IAC/, SINUMERIK 810D, Installation & Start-Up Guide
/PHD/, SINUMERIK 840D, Configuring Manual
NCU 561.2--573.4
/IAD/, SINUMERIK 840D/SIMODRIVE 611D,
Installation & Start-up Guide

Table 1-1 Basic components

Basic components Order number Remarks


CCU1 (810D) 6FC5410-0AY01-0AA0 Export version
CCU3 (810D) 6FC5410-0AY03-1AA0 Export version
NCU571.3 (840D) 6FC5357-0BB11-0AE1
NCU572.3 (840D) 6FC5357-0BB22-0AE0
NCU573.3 (840D) 6FC5357-0BB33-0AE2
NCU573.4 (840D) 6FC5357-0BB33-0AE3

Table 1-2 Operator components

Operator components Order number Remarks


OP010 operator panel 6FC5203-0AF00-0AA0
OP010C operator panel 6FC5203-0AF01-0AA0
OP010S operator panel 6FC5203-0AF04-0AA0
OP015 operator panel 6FC5203-0AF03-0AA0

PCU 20 with system software 6FC5210-0DF00-0AA0 166 MHz, 16 MB


PCU 50 with system software 6FC5210-0DF02-0AA0 333 MHz, 128 MB
PCU 50 6FC5210-0DF05-0AA0 500 MHz, 128 MB

19¨ machine control panel 6FC5203-0AD10-0AA0 Standard/US layout


Key caps for 19¨ machine 6FC5148-0AA13-0AA0 90 caps, gray
control panel 6FC5148-0AA14-0AA0 16 caps, transparent with adhesive labels
Full OP032S CNC keyboard 6FC5203-0AC00-1AA0 Standard/US layout

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 1-13
1 Hardware 01.02
1.1 Hardware configuration

Table 1-2 Operator components

Machine control panel OP032S 6FC5203-0AD10-1AA0 Standard/US layout


Key caps for OP032S full CNC 6FC5248-0AA02-0AA0 Standard/US layout
keyboard and OP032S machine
control panel

E Siemens AG 2002. All rights reserved


1-14 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 1 Hardware
1.2 Examples for assigning the machine control panel

1.2 Examples for assigning the machine control panel


To facilitate startup, you can call block FC90 in OB1 with the following key
assignments:

S for 19” machine control panel with source file FC90_MCP19


S for the OP032S machine control panel with source file FC90_OP32S
Keys assigned by ShopTurn via DB82 are grayed out.
Symbols are available in the keyboard cover set (see Section 1.1 “Hardware
Configuration”) for keys¡ to ¦.

¡ £ X Y Z

[.] 1 ¤ 4 5 6

© 10 100 ¥ 7 8 9 % %
¢ 1000 10000 ¦

-- +

§ ¨ 10

Fig. 1-1 Example for assignment of 19¨ machine control panel

¡ Jog -- MANUAL operating mode


© MDA -- MDA operating mode
¢ Auto -- AUTO mode
£ Tool offset -- operating area Tool
¤ Program manager -- operating area Directory
¥ Alarm -- operating area Alarms
¦ Program -- operating area Program
§ Reset
¨ Cycle stop
 Cycle start

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 1-15
1 Hardware 01.02
1.2 Examples for assigning the machine control panel

Example for
assignment of the
OP032S MCP

9 10

Fig. 1-2 Machine control panel OP032S

¡ Jog -- MANUAL operating mode


© MDA -- MDA operating mode
¢ Auto -- AUTO mode
§ Reset
¨ Cycle stop
 Cycle start

Note
The operating areas for Tool, Directory, Alarms and Program can be selected
via hard keys on the full CNC keyboard for OP032S.

E Siemens AG 2002. All rights reserved


1-16 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Installation and Start-Up 2
2.1 Preconditions for software start-up

Data transmission For data tranmission you require:

S Hardware
-- Programming device, e.g. a PG 740 or a PC with MPI module
-- Cable for RS-232 PG/PC-NC (Order No.: 6FX2 002-1AA01-0BF0)
-- Cable for MPI bus (Order No.: 6ES7 901-0BF00-0AA0)
-- PCMCIA card (for series start-up via PCMCIA card)
This PCMCIA card can be used for the NCU/CCU or for the PCU. The
PCMCIA card is distinguished as follows for better identification in the
start-up sections:
-- for the NCU/CCU “NC card”
-- for the PCU “PC card”

S Software
-- SIMATIC Step7, Version 4 or higher (Order No. see SIMATIC Catalog)
-- PCIN (Order No. see Catalog NC Z)
-- SINUCOPY-FFS for PC card or NC card

Software package The Shop Turn software package to be installed comprises:


ShopTurn
S System disks (for PCU 20 and PCU 50)
S Application disks (for PCU 20) only
S Toolbox ShopTurn (cycles, machine data, setting data)
S PLC toolbox for ShopTurn (PLC programs)
The disks are available on the ShopTurn CD-ROM. The files must be copied to
the hard disk of a PC/PG. The procedure for further installation of the software
on PCU and NC/PLC is described in the following sections on installation and
start-up.
The ShopTurn CD-ROM also includes the NC software releases for
SINUMERIK 810D/840D. These can be loaded onto a PCMIA card via
SINUCOPY-FFS.

Note
For full details of the ShopTurn CD-ROM, please consult the file siemensd.txt
(German) or siemense.txt (English).
A compatibility list is contained in file compat.xls.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 2-17
2 Installation and Start-Up 01.02
2.1 Preconditions for software start-up

System disks The system disks contain the system software for PCU 20 and PCU 50, in 5
languages for PCU 50, in ENGLISH and GERMAN for PCU 20 (ENGLISH is the
foreground language).

Note
When installing the system disks, please refer to the “software/hardware
replacement” description in the Installation & Start-up Guide for SINUMERIK
810D or SINUMERIK 840D and the information in file Sys_read.txt on the
system disk.

Application disks The application software allows you to modify the parameters of the PCU 20
applications. It can be used to:
-- Select languages
-- Change display machine data
-- Change the MPI parameters (NETNAMES.INI)
-- Load alarm text files

Note
When installing the application disks, please refer to the “software/hardware
replacement” description in the Installation & Start-up Guide for SINUMERIK
810D or SINUMERIK 840D and the information in file App_read.txt on the
application disk.

Toolbox disks The toolbox contains the following ShopTurn data:


-- ShopTurn machine data sets
-- Cycles, definitions (macros, GUD) and examples
-- Configuration file for tool management
The PLC toolbox contains the ShopTurn library, consisting of:
-- The blocks of the ShopTurn PLC program
-- The blocks of the basic standard program for SINUMERIK 840D/810D
-- STL source file for tool management, machine control panel and OBs.
The other toolbox disks contain the NC-VAR selector and correspond to the
standard toolbox disks for SINUMERIK 840D/810D.

Note
Please read the information in file siemensd.txt (German) or siemense.txt
(English) for the PLC toolbox.

E Siemens AG 2002. All rights reserved


2-18 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 2 Installation and Start-Up
2.2 Initial start-up sequence

2.2 Initial start-up sequence

Please proceed as follows for installation and start-up:


1. PCU
2. NC
3. PLC

2.2.1 Installation and start-up ShopTurn on PCU 20

Installation via
PC card
Installing system disks on the PC/PG

1. Call program sys_inst from system disk 1.


2. Select <1> “Install System disk on hard disk”.
3. Specify the drive on which the system disks are to be installed.
4. Specify the directory in which the system disks are to be installed.
sys_inst suggests \pcu20.sys. You can change this default direc-
tory.
5. sys_inst may request you to insert the 2nd system disk.
6. Exit the program with <ESC>.

Installing application disks on the PC/PG

1. Call program app_inst from application disk 1.


2. Specify the drive on which the application disks are to be
installed.
3. Specify the directory in which the application disks are to be
installed. app_inst suggests \pcu20.app. You can change
this default directory.
4. app_inst may request you to insert the 2nd application disk.
5. Exit the program with <ESC>.

Fig. 2-1 Installing on a PC/PG

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 2-19
2 Installation and Start-Up 01.02
2.2 Initial start-up sequence

Installing the system/application disks on the


PC card

1. Change to the instutil directory in the application software (e.g.


\pcu20.app\instutil; i.e. the directory that you specified when
installing the application disks on the PC/PG).
2. Call app_inst.
3. Change the configuration as required (e.g. user texts, PLC texts,
alarms, select languages, select modules for installation, etc.).
4. Press Esc to return to the main menu.
5. Select <1> “Install all modules on hardware”.
6. Select <2> “Create Flash Memory Card image”.
7. Specify the source directory where file sys_inst is stored.
8. Specify the target directory to which you wish to copy the system/
application ABB file.
File PCU20.ABB is created.
9. Insert the PC card into the PCMCIA slot of the PC/PG.
10. Copy the ABB file onto the PC card with SINUCOPY-FFS.

Fig. 2-2 Creating a PC card

Note
You do not need to copy the system software to the PC card, as it is
automatically copied to the card when you install the application software on
the PC card.

E Siemens AG 2002. All rights reserved


2-20 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 2 Installation and Start-Up
2.2 Initial start-up sequence

Loading the PC card in PCU20

1. Switch off the control.


2. Insert a PC card with a new PCU software release.
3. Switch on the control.
4. Press key 6 when the “PCU20 Boot Software” message appears
while the PCU 20 is booting.
5. Select <0> “Update from PC card”.
6. When the data update has been completed, the message: “Re-
move PC card” appears.
7. On removal of the PC card, the control boots and starts up auto-
matically.

Fig. 2-3 Loading the PC card in PCU 20

Please consult the HMI Installation & Start-up Guide for SINUMERIK
840D/810D for instructions on how to upgrade the HMI software on the PCU.
References: /IAM/, Installation & Start-up Guide HMI
IM2 Installation and HMI Embedded

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 2-21
2 Installation and Start-Up 01.02
2.2 Initial start-up sequence

2.2.2 Installation and start-up on PCU 50

When installing ShopTurn on the PCU 50, you can choose which ShopTurn
version, i.e. ShopTurn Classic or ShopTurn Open, you want to use. The
conventional ShopTurn software is now called ShopTurn Classic. For more
information about ShopTurn Open, refer to Section 11.7 “ShopTurn Open”.

Note
ShopTurn uses the alarm texts and PLC messages of the standard user
interface. You will find detailed information in the following publications:
References: /IAC/, Installation & Start-up Guide 810D
/IAD/, Installation & Start-up Guide 840D.

Installation via the


RS-232 interface
(FAT 32)

Requirements:
1. The interlnk.exe application must be installed on the PC/PG.
2. The following line must be entered in file config.sys on the
PC/PG:
device = [path]\interlnk.exe /auto
([path] = path of file interlnk.exe, e.g. c:\programs)
3. Connect PCU 50 (X6) to the serial or parallel interface of the
PC/PG.

Activate PCU 50:


4. Switch on the control and press “Cursor down” then “Enter”
when the message “Sinumerik” is displayed during PCU50
boot.
5. Select <8> “Start PC Link”.
6. Enter the password.
7. Intersvr is opened.

Fig. 2-4 Installation via the RS-232 interface (FAT 32)

E Siemens AG 2002. All rights reserved


2-22 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 2 Installation and Start-Up
2.2 Initial start-up sequence

Install the software:

8. Restart the PC/PG.


9. Copy the contents of the system disks in the Windows
interface from the PC/PG to d:\install on the PCU 50. But do
not copy the actual disk directories.

Note:
When you restart the PC/PG, the PCU 50 displays the drive on
the PC/PG which corresponds to drive D on the PCU 50.
(E.g. D: equals F:, i.e. the files must be copied to drive F.)

10. Press Alt+F4 to terminate Intersvr on the PCU 50.

11. The installation is menu-driven.

12. Select the ShopTurn version.

Fig. 2-5 Installation via the RS-232 interface (FAT 32)

Installation via
diskette drive

1. Switch on the control and press “Cursor down” then “Enter”


when the message “Sinumerik” is displayed during PCU50
boot.
2. Select option <1> “Install/Update SINUMERIK System”.
3. Enter the password.
4. Select option <1> “Install from Floppy Disk”.
5. Insert the first disk and follow the prompts.

Note:
The files must be copied to drive F.

6. Select the ShopTurn version.


7. When the installation is completed, click “Exit” to shut down the
PCU 50, then restart it.

Fig. 2-6 Installation via diskette drive

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 2-23
2 Installation and Start-Up 01.02
2.2 Initial start-up sequence

Installation via The software is first copied from the PC/PG to the D:\Install directory on the
network PCU 50. The software is automatically installed the next time you power up the
connection PCU 50.
In the example described below, the PC/PG has computer number r3344 and
the software to be installed is located in directory SHOPTURN\ST_INST.

Requirements:

S PC/PG with Windows NT4 or Windows95/98


S Set protocol NETBBEUI on the PC/PG
Start --> Settings --> Control Panel --> Network -->
Protocols tab --> “Add”: NETBEUI

S Determine the computer name of the PC/PG:


Start --> Settings --> Control Panel --> Network -->
Identification tab --> “Computer name”: e.g. r3344

S Enable the directory on the PC/PG in which the software


to be installed is located:

PC/PG with Windows NT4:


Assign authorization name (e.g. SHOPTURN)
Enter authorization (e.g. User1 [local user] or “all” with
access authorization “read”)

PC/PG with Windows 95/98


Assign authorization name (e.g. SHOPTURN)
enter access authorization
assign password if necessary

S Select authorization level with a PC/PG running Windows


95/98:
Select Start --> Settings --> Control Panel --> Network -->
Access Control tab --> “Authorization level”

S Connect the PC/PG and PCU 50 with an Ethernet cable


of type “converted twisted pair cable”

Activate PCU 50:


1. Switch on the control and press “Cursor down” then
“Enter” when the message “Sinumerik” is displayed
during PCU50 boot.
2. Select option <1> “Install/Update SINUMERIK System”.

3. Enter the password.

4. Select option <3> “Install from Network Drive”.

5. Select option <1> “Connect to Network Drive”.

Fig. 2-7 Installation via network connection

E Siemens AG 2002. All rights reserved


2-24 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 2 Installation and Start-Up
2.2 Initial start-up sequence

Setting up a connection to the PC/PG:


6. Specify user name and password with which the PC/PG
can fetch the software from the authorized directory.
(You can confirm remember password.)
PC/PG with Windows NT4:
User name and password of a local user of the PC/PG.
PC/PG with Windows 95/98:
Any user name, password corresponds to the password
specified for directory enable if one was specified there.
7. Enter drive letter under which the PC/PG is to be dis-
played on the PCU 50.
Example: H
8. Specify computer name of PC/PG and directory name
(enable name) of PC/PG which is to be accessed.
Example: \\r3344\Shopturn
9. The following display will appear on the PCU 50:
Connected Network Drive (last): H: (\\r3344\SHOP-
TURN)
Install Directory: F:\Install
Note:
F:\Install is the default setting and can/must be
changed.
10. Select option <4> “Change Install Directory”.

11. Specify drive letter under which the PC/PG is to be dis-


played on the PCU 50 as well as any necessary subdi-
rectories.
Example: H:\ST_INST

Start transfer and software installation:


12. Select option <5> “Install from H:\ST_INST”.

13. Transfer is initiated from PC/PG to D:\INSTALL on PCU 50.


After transfer, the PCU 50 is automatically restarted and
install screens will guide you through installation of the
transferred software.
14. Select the ShopTurn version.

Fig. 2-8 Installation via network connection

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 2-25
2 Installation and Start-Up 01.02
2.2 Initial start-up sequence

If you want to display all connected drives, proceed as follows:

1. Switch on the control and press “Cursor down” then


“Enter” when the message “Sinumerik” is displayed
during PCU50 boot.
2. Select option <1> “Install/Update SINUMERIK System”.

3. Enter the password.

4. Select option <3> “Install from Network Drive”.

5. Select option <2> “Show connected Network Drives”.

Fig. 2-9 Show connected drives

If you want to disconnect all connected drives, proceed as follows:

1. Switch on the control and press “Cursor down” then


“Enter” when the message “Sinumerik” is displayed
during PCU50 boot.
2. Select option <1> “Install/Update SINUMERIK System”.

3. Enter the password.

4. Select option <3> “Install from Network Drive”.

5. Select option <3> “Disconnect from all Network Drives”.

Fig. 2-10 Disconnect connected drives

Languages The ShopTurn software packages contains 5 languages (German, English,


French, Italian and Spanish).
The foreground language is always German.
To select the background language, in the “Start-Up” operating area in the CNC
ISO operator interface, press softkey “MMC” followed by softkey “Languages”
and select the desired language.
You can switch between the foreground and background languages in the CNC
ISO operator interface by pressing the “Change Language” softkey in the
“Start-Up” operating area.

E Siemens AG 2002. All rights reserved


2-26 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 2 Installation and Start-Up
2.2 Initial start-up sequence

2.2.3 NC installation and start-up

Please proceed as follows for installing and starting up the NC:

yes Is the software


version installed on
the NC?

no

Preconditions:
NC card with 8MB memory and required
NCK software release

Insert the NC card


Load the software to RAM
-- Start-up switch=1 (reset NCK)
-- Start-up switch=0 (NCK reset)

Enter password for the machine


manufacturer

Load the default MD for turning/milling


from directory tools\md\...
TVAR2A1S.8X0 (2 axes/1 spindle)

NCK reset

Load the default MD for turning/milling


from directory tools\md\...
TVAR2A1S.8X0 (2 axes/1 spindle)

Transfer ShopTurn MD from


directory tools\md\ST.8X0
Note:
This file also contains the MD for
TOOLMAN, which may have to be
adapted to the machine.

Fig. 2-11 NC start-up

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 2-27
2 Installation and Start-Up 01.02
2.2 Initial start-up sequence

1
Machine Test configuration without drives

Configure the axes and Transfer the simulation


start up the drives data for axes from directory
tools\md\SIM8X0.

NCK reset

Transfer the definitions from directory:


tools\cycles\define

Activate definitions by pressing


the “Activate” softkey

Transfer the ShopTurn cycles from


directory: tools\cycles
Note: After transfer, the ShopTurn cycles
reside in the standard cycles and
manufacturer cycles directory

PCU 50: Loading ShopTurn cycles with


“Load” softkey

Adapt machine manufacturer cycle


ST_CUST.SPF if necessary and transfer
it from directory: tools\cycles\d
Note: After transfer, the cycle is located
in directory user cycles.

PCU 50: Loading ShopTurn cycles with


“Load” softkey

NCK reset

Transfer tool management data


TM_REV.8X0 (configuration for turret)
from directory: tools\sd\....

Note: These data must be adapted if MD


have been modified for tool management.

Fig. 2-12 NC start-up

E Siemens AG 2002. All rights reserved


2-28 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 2 Installation and Start-Up
2.2 Initial start-up sequence

2.2.4 PLC installation and start-up


Please proceed as follows for installing and starting up the PLC:

Preconditions:
ShopTurn machine data are loaded

Reset memory on the PLC


Memory capacity after reset 96 KB

Install the ShopTurn library on PG/PC


(run install.bat).
Note: The name of the library is STxxyyzz
(xxyyzz = version number)

All modules and all source files are copied from


the ShopTurn library to the PLC user project.

The following source file must be compiled in


the PLC user project for tool management:
TM_REV.AWL (data transfer for machine with
revolver)

Note:
The created modules are stored in the user
area. They must be adapted to suit the actual
conditions on the machine.

Initialize ShopTurn interface DB82 in user


program Part 1.
One of the following source files can be used to
do this:
S FC90_OP32S.AWL
S FC90_MSTT19.AWL
Note: The created modules are stored in the
user area. They must be adapted to suit the
actual conditions on the machine.

Fig. 2-13 PLC start-up

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 2-29
2 Installation and Start-Up 01.02
2.2 Initial start-up sequence

Compile one of the following source files for


840D or 810D:
S GPOB810D.AWL
S GPOB840D.AWL
Note:
Add machine control panel call (FC19/24) and
ShopTurn interface initialization DB82 (FC90) to
user program part 1.

Load the project in the PLC

Fig. 2-14 PLC start-up

E Siemens AG 2002. All rights reserved


2-30 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 2 Installation and Start-Up
2.3 Series start-up

2.3 Series start-up

Areas of Series start-up is used to install the software on several machines.


application When setting up several machines, a default software installation is loaded on
the 1st machine. An NC and PLC archive are then created and loaded on the
other machines.

Operating You can choose between 5 different memory media when creating or loading a
sequence series start-up archive:

S RS-232
The start-up archives are stored on a device connected to the RS-232
interface. Please also refer to the information in the following publication:
References: /IAD/,Installation & Start-up Guide SINUMERIK 840D/
SIMODRIVE 611 D, section “Data backup via
MMC 100”

S NC card
The free capacity (approx. 2 MB) on the NC card (PCMCIA card) can be
used to store a start-up archive.

S PG (PCU 50 only)
The start-up archives are stored on a PG.

S Archive (PCU 50 only)


The start-up archives are stored on the hard disk.

S Diskette (PCU 50 only)


The start-up archives are stored on a hard disk.
For details of the procedure, please refer to the following publication:
References: /BA/, Operator’s Guide SINUMERIK 840D/810D/FM-NC,
Section “Services operating area”.

Note
When creating an archive, the NC and PLC data can be stored separately or
together.
When reading in the archive files, the NC archive must be read in first, then it is
necessary to perform an NCK reset and, if necessary, a PLC overall reset.
Then the PLC archive is read in. Please note that all the data on the NC and
PLC are deleted and replaced with the archive data.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 2-31
2 Installation and Start-Up 01.02
2.3 Series start-up

Notes

E Siemens AG 2002. All rights reserved


2-32 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Supplementary Conditions 3
Requirements
S ShopTurn only runs in channel 1, mode group 1.
S ShopTurn has been designed for use with universal turning machines with
four axes (X, Z, Y and auxiliary axis for counterspindle) and 3 spindles
(main, tool and counterspindle).

S ShopTurn only runs with tool management.


S Only one operator panel can be installed under ShopTurn.
S Handheld programming unit (HPU) in addition to ShopTurn only on request.
S You must not use the HMI screensaver together with the Windows
screensaver.
References: /IAM/, IM2 Installation and Startup HMI Embedded
IM4 Installation and Startup HMI Advanced
J

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 3-33
3 Supplementary Conditions 01.02

Notes

E Siemens AG 2002. All rights reserved


3-34 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
PLC Program 4
4.1 Structure of the PLC program
General The ShopTurn PLC program, the tool management and the standard basic
information program must be called in OBs 1, 40 and 100, as shown in Fig. 4-1.

OB 100 FC 100

Restart Tool management

FB 1
Start

User program

OB 1 FC 2 DBs for
Start NCK/Mode grp./
Cyclic Channel/Axis/Spindle
processing FC 34
ShopMill diagnostic block for
start-up purposes FC 24
PMCP
The user program Part 1 includes OP032S
alternative
S Call FC19/24 FC 19
Standard MCP
S Parameter assignment for the
ShopTurn interface DB82 (FC90)
FC 90
Parameter assignment
FC 30 DB 81 for the ShopTurn
interface DB 82
ShopTurn GP_HP
HMI
PLC interface DB 82
program ShopTurn
DB 83 ---87 interface
Data block for FC 35
ShopTurn PLC program ShopTurn
PLC program
FC 31 ---33
FC 9
ShopTurn ASUP
PLC program
FB 4
PI service
FB 110, DB 110

Tool Management

User program Part 2

OB 40 FC 3
G group
Process alarm GP_PRAL distributor

User program

Fig. 4-1 Structure of the PLC program

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 4-35
4 PLC Program 01.02
4.2 Example for OB1 and OB100

4.2 Example for OB1 and OB100

General PLC programs GPOB810D.AWL and GPOB840D.AWL are available in the


information ShopTurn PLC library. The user can change these accordingly and recompile
them.
The source files contain calls for the standard basic program, the machine
control panel, the ShopTurn PLC program and the tool management. The OB1
and OB100 are shown below with the calls for the ShopTurn PLC program and
tool management in bold. The order in which the blocks in the example are
called must not be altered.

Example for OB1 ORGANIZATION_BLOCK OB 1


VERSION: 5.2
VAR_TEMP
OB1_EV_CLASS: BYTE;
OB1_SCAN_1: BYTE;
OB1_PRIORITY: BYTE;
OB1_OB_NUMBR: BYTE;
OB1_RESERVED_1: BYTE;
OB1_RESERVED_2: BYTE;
OB1_PREV_CYCLE: INT;
OB1_MIN_CYCLE: INT;
OB1_MAX_CYCLE: INT;
OB1_DATE_TIME: DATE_AND_TIME;
//Data for ShopTurn
START_UP: BOOL;
// HIER ANWENDER-LOKALDATEN EINFUEGEN
// Insert local user data here
END_VAR
BEGIN

// Basic program
CALL FC 2;
//
// HIER ANWENDERPROGRAMM TEIL 1 EINFUEGEN
// Insert user program part 1 here
//
//First cycle of OB1 store in ”START_UP”
L #OB1_SCAN_1;
L 1;
==I;
= #START_UP;
//
//Maschinenbedientafel/Operator panel
L DB82.DBB0;
L 0;
==I ;
JC MOD0;
//small operator panel
L DB82.DBB0;
L 1;

E Siemens AG 2002. All rights reserved


4-36 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 4 PLC Program
4.2 Example for OB1 and OB100

==I ;
JC MOD1;
//standard operator panel 19’’
JU FC90;
//no operator panel selected
//
MOD0: CALL FC24(
BAGNo :=B#16#1,
ChanNo :=B#16#1,
SpindleIFNo :=B#16#5,
FeedHold :=M100.0,
SpindleHold :=M100.1,
SpindleDir :=M100.2);
JU FC 90;
//
MOD1: CALL FC19(
BAGNo :=B#16#1,
ChanNo :=B#16#1,
SpindleIFNo :=B#16#5,
FeedHold :=M100.0,
SpindleHold :=M100.1);
//
FC90: CALL FC90(
SpindleIFNo :=B#16#5);
//

//
// ShopTurn PLC program
CALL FC 30(INIT_SD:= #START_UP);
//Initialize ShopTurn PLC program

//Tool Management System


CALL FB110, DB110;

// HIER ANWENDERPROGRAMM TEIL 2 EINFÜGEN


//Insert user program part 2 here

END_ORGANIZATION_BLOCK

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 4-37
4 PLC Program 01.02
4.2 Example for OB1 and OB100

Example for ORGANIZATION_BLOCK OB 100


OB100 VERSION: 5.2
VAR_TEMP
OB100_EV_CLASS: BYTE;
OB100_STRTUP: BYTE;
OB100_PRIORITY: BYTE;
OB100_OB_NUMBR: BYTE;
OB100_RESERVED_1: BYTE;
OB100_RESERVED_2: BYTE;
OB100_STOP: WORD;
OB100_RESERVED_3: WORD;
OB100_RESERVED_4: WORD;
OB100_DATE_TIME: DATE_AND_TIME;
END_VAR

BEGIN
//Tool Management System
CALL FC 100( RealMagLoc :=12);
//number of locations in real magazine
//
//Basic program
CALL FB 1 , DB 7(
MCPNum :=1,
MCP1In :=P#I0.0,
MCP1Out :=P#O0.0,
MCP1StatSend :=P#O8.0
MCP1StatRec :=P#O12.0,
MCP1BusAdr :=14,
MCP1Timeout :=S5T#700MS,
MCP1Cycl :=S5T#200MS,
MCPMPI :=TRUE,
NCCyclTimeout :=S5T#200MS,
NCRunupTimeout :=S5T#50S);

// HIER ANWENDERPROGRAMM EINFUEGEN


//Insert user program here

END_ORGANIZATION_BLOCK

Note
The example for OB100 is valid for SINUMERIK 810D. For SINUMERIK 840D
you must set values MCP1BusAdr:=6 and MCPMPI:=FALSE.

E Siemens AG 2002. All rights reserved


4-38 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 4 PLC Program
4.3 Overview of blocks

4.3 Overview of blocks

4.3.1 Function blocks

The following list shows the function blocks used by ShopTurn.

Table 4-1 Function blocks for ShopTurn

Block Comment
FC 30 ShopTurn PLC program; is called in OB 1.
FC 31--33 ShopTurn PLC program; are only loaded.
FC 34 Diagnostics block for monitoring the standard interface si-
gnals written by the ShopTurn PLC program; can be called
for diagnostics purposes in OB1.
FC 35 ShopTurn PLC program; is only loaded.
FC 90 Initialization of ShopTurn interface DB82; can be called in
OB1
FC 100 Sample block for configuration of the tool management; is
called in OB100.
FB 20 HiGraphErrEmitterFB block for errors and timeouts; is only
loaded:
FB 110 Sample block for data transfer of tool management; is called
in OB1.

Note

S The numbers of function blocks FC30--35 must not be changed. This


means that blocks already allocated these numbers by the user program
must be changed.

S Block FB20 is only loaded. It must be available on the automation system


(AS) at runtime. A call is not necessary.

S The blocks for tool management are described in Chapter 8 ”Tool


Management”. The first time you use the tool management system on a
machine, please make sure that the user PLC program does not use data
blocks DB71--DB74, since these are required by the tool management
system.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 4-39
4 PLC Program 01.02
4.3 Overview of blocks

4.3.2 Data blocks

The following list shows the data blocks used by ShopTurn.

Table 4-2 Data blocks for ShopTurn

Block Comment
DB 81 HMI interface
DB 82 ShopTurn interface
DB 83--87 Data blocks for ShopTurn PLC program
DB 110 Instance data block for FB 110

Note
The numbers of the data blocks DB81 -- 87 must not be changed. This means
that the blocks already allocated these numbers by the user program must be
changed.

E Siemens AG 2002. All rights reserved


4-40 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 4 PLC Program
4.4 Description of blocks

4.4 Description of blocks

4.4.1 ShopTurn PLC program

FC 30...35 Function blocks FC30...35 control the machine control panel functionality in
DB 82 and the HMI functionality in DB 81.
ShopTurn is much more than just an operator interface consisting of screen
forms and images; in addition, it offers a complete operator system providing the
user with the necessary functions for each control state. For example, the
ShopTurn operating mode ”Manual” is not identical to the NCK operating mode
”JOG”.
For example, in order to execute the functions ”Zero workpiece”, ”Measure tool”,
”Position”, etc. in ”Manual” mode, ShopTurn switches automatically to NC
operating mode ”Automatic” at NC start and back again to ”JOG” mode at the
end of the function or at NC Stop. Thus from the operator’s point of view, the
manual functions are independent of the control operating modes of the NC.
This functionality, which is continued in the ShopTurn ”Automatic” mode, is
implemented on the PCU (ShopTurn user interface) and in the PLC (ShopTurn
PLC program FC 30).

FC 90 The following sample source files are available in the ShopTurn library for
initialization of the ShopTurn interface DB 82:

S FC90_MSTT19.AWL (key assignment for 19” MCP)


S FC90_OP32S.AWL (key assignment for MCP of the OP032S)
Compilation of the above-mentioned AWL (AWL = STL statement list) sources
produces the FC 90 module.
FC 90 can be called in OB 1 in Part 1 of the user program.
If FC 90 is not used, the following signal must be supplied in DB 82:

S DB 82 DBB0 (transmission mode for MCP signals)

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 4-41
4 PLC Program 01.02
4.4 Description of blocks

4.4.2 ShopTurn interface DB82

Description of The ShopTurn PLC program requires an interface to the PLC user program in
function addition to the internal interfaces to the user interface or to the NC interface.
This is implemented in ShopTurn interface DB82.
The machine control panel’s signals (ShopTurn operating modes Reset, Start,
Stop, etc.) must be entered in this interface by PLC user program part 1. The
ShopTurn PLC program then initiates the associated actions and returns the
current status to DB82. This can then be assessed by PLC user program part 2.

Overview for active The figure below shows the connections for the active ShopTurn PLC program.
ShopTurn PLC
PCU module

MCP

Base Outputs Inputs


signals
MPI bus

Inputs
IB 0...7
HMI Outputs User program
interface DB 81
QB 0...7
Outputs
Inputs
Data (indicators, etc.)
(keys,
transfer switches)

ShopTurn DB 82 ShopTurn interface


PLC FC30
program Active

Standard interface signals

DB10 DB11 DB21

NC Mode group Channel

Fig. 4-2 ShopTurn operation

E Siemens AG 2002. All rights reserved


4-42 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 4 PLC Program
4.4 Description of blocks

Note
When the ShopTurn user interface is active, the ShopTurn PLC program is also
active. This is displayed by the output signal DB82 DBX36.0
”cmm_plc_activ”=1. The ShopTurn interface DB82 must be initialized by the
user program. The data transfer of the base signals from IB0...7/QB0...7 is set
via the DB82 DBB0 signal ”transfer_base_sig”. The default interface signals
allocated by the ShopTurn PLC program must not be overwritten by the user.

Interlocking logic The interlocking/security logic in the PLC user program for signal DB82 DBX4.1,
for MCP signals ”base_sig.nc_cycle_start” must not be implemented directly in the NCK
interface but must act on the associated input signals in IB0...7 of the MCP.
In addition, the DB21 DBX7.0 signal ”NC start disable” can be activated for an
invalid start.
The interlocking signal must appear in the PLC user program part 1 before
FC19/FC24.

Spindle control In the ShopTurn user interface you can activate the spindles in screenform
”T, S, M” (specify speed and direction of rotation). ShopTurn then generates a G
code program and processes it. The program ends with the command M2. An
MDI program is also terminated with M2.
The M2 command must not result in a door opening and the spindle stopping,
otherwise function “Measure tool” can no longer be executed.
In the user PLC you must then enquire whether the program is terminated with
M2 or M30. With M30 a spindle stop has to be triggered.

ShopTurn uses the following M functions for end of program:


M2: End of main program, spindle continues
M17: End of subprogram and return jump to main program,
spindle continues
M30: End of main program and return jump to beginning of program,
spindle stops

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 4-43
4 PLC Program 01.02
4.4 Description of blocks

4.4.3 Diagnostics function for start-up purposes

Description of Diagnostics block FC34 is used to monitor the default signals controlled by the
function ShopTurn PLC program (see section 4.5 Standard interface signals for/from
ShopTurn”). These signals must not be altered by the PLC user program. If
changes in the signals take place, the diagnostics block indicates this error in its
circular buffer for error messages (20 entries possible). If a signal is cyclically
changed, a new entry is conducted in the error message buffer in each PLC
cycle. This function is activated via the data block DB82 DBX60.0.

Example Initializing diagnostics function:


DBX60.0 = 1 (monitor_on)
DBX60.1 = 1 (monitor_initialize)
Activating diagnostic function:
DBX60.0 = 1 (monitor_on)
DBX60.1 = 0 (monitor_initialize)
Messages returned by diagnostics function:
Error message 1 (e.g. for DB11DBX0.1)
DBW62 current_number # 0 (error event counter) . . . . . . . . . 1
DBB64 db_number (decimal output) . . . . . . . . . . . . . . . . . . . . 11
DBB65 byte_number (decimal output) . . . . . . . . . . . . . . . . . . . 0
DBB66 bit_number (decimal output) . . . . . . . . . . . . . . . . . . . . 1
Error message 2 (e.g. for DB21DBX7.1)
DBW68 current_number # 0 (error event counter) . . . . . . . . . 2
DBB70 db_number (decimal output) . . . . . . . . . . . . . . . . . . . . 21
DBB71 byte_number (decimal output) . . . . . . . . . . . . . . . . . . . 7
DBB72 bit_number (decimal output) . . . . . . . . . . . . . . . . . . . . 1
etc.

Call The function block in OB1 must be called in the following sequence:
FC2 Basic program block
FC34 Diagnostics block
User program Part 1
(interlocking logic, FC19/24 machine control panel block)
FC30 ShopTurn PLC program
FB110 Data transfer block for ShopTurn tool management
in standard mode
User program Part 2

Note
The toolbox (PLC library) contains example VAT82 for the variables table.

E Siemens AG 2002. All rights reserved


4-44 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 4 PLC Program
4.5 Standard interface signals for ShopTurn

4.5 Standard interface signals for ShopTurn


A list of the default interface signals controlled by the ShopTurn PLC program
FC 30 is given below.
Table 4-3 Standard interface signals for ShopTurn

Byte Designation
DB10 Signals to NCK (PLC-- - - >NCK)
DBB0, 1 External digital inputs of NCK
Bits 4 to 6 Inputs 5 to 7
DBB122, 123 External digital inputs of NCK
Bits 0 to 7 Inputs 9 to 16
DBB124, 125 External digital inputs of NCK
Bits 0 to 7 Inputs 17 to 24
DBB130, 131 External digital outputs of NCK
Bits 0 to 7 Outputs 9 to 16
DBB132, 133 External digital outputs of NCK
Bits 0 to 7 Outputs 17 to 24
DB11 Signals to mode group (PLC-- - - >NCK)
DBB0 Bit 0 AUTOMATIC mode
Bit 1 MDA mode
Bit 2 JOG mode
see /FB1/, Description of Functions Basic Machine, K1
DBB1 Bit 0 Machine function TEACH IN
Bit 1 Machine function REPOS
Bit 2 Machine function REF
see /FB1/, Description of Functions Basic Machine, K1
DB19 Signals from operator panel (HMI-- - - >PLC)
DBX20 Bit 6 Simulation active
see /FB1/, Description of Functions, Basic Machine, A2
DB21 Signals to NCK channel (PLC-- - - >NCK)
DBB0 Bit5 Activate M01
see /FB1/, Description of Functions, Basic Machine, K1
DBB0 Bit 6 Activate dry run feedrate
see /FB1/, Description of Functions, Basic Machine, V1
DBB1 Bit 7 Activate program testing
see /FB1/, Description of Functions, Basic Machine, K1
DBB2 Bit 0 Skip block
see /FB1/, Description of Functions, Basic Machine, K1
DBB6 Bit 2 Delete distance--to--go
see /FB1/, Description of Functions, Basic Machine, A2
DBB7 Bit 1 NC Start
Bit 3 NC Stop
Bit 7 Reset
see /FB1/, Description of Functions, Basic Machine, K1

Note
If a mode group reset is used by the PLC user program, it must be ensured that
DB82 DBX4.0, “base_sig.reset” is set simultaneously in the user program.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 4-45
4 PLC Program 01.02
4.5 Standard interface signals for ShopTurn

Application The ”Simulation active” signal is enabled by ShopTurn as well as by the CNC
example ISO user interface. This feature can be used, for example, to suppress an
”Simulation operating mode change in the user PLC, in order to enable simulation under
active” ShopTurn. (A mode change takes place in the ShopTurn PLC when simulation
is started.)
J

E Siemens AG 2002. All rights reserved


4-46 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Signal Description 5
5.1 Overview of ShopTurn interface DB82

5.1.1 Signals to ShopTurn (input signals)

Table 5-1 Signals to ShopTurn (input signals)

Address Name Initial Comment


value
0 CMM_IN.transfer_base_sig B#16#0 Transmission mode for MCP signals
2.0 CMM_IN.base_sig.main_mode_mill.manual FALSE ShopTurn Manual operating mode
2.1 CMM_IN.base_sig.main_mode_mill.automatic FALSE ShopTurn Automatic operating mode
4.0 CMM_IN.base_sig.reset FALSE RESET for ShopTurn
4.1 CMM_IN.base_sig.nc_cycle_start FALSE Cycle Start
4.2 CMM_IN.base_sig.nc_cycle_stop FALSE Cycle Stop
6.0 CMM_IN.sub_mode_mill.tool FALSE Tool operating area
6.1 CMM_IN.sub_mode_mill.directory FALSE Directory operating area
6.2 CMM_IN.sub_mode_mill.messages FALSE Alarms/Messages operating area
6.3 CMM_IN.sub_mode_mill.program FALSE Program operating area
6.4 CMM_IN.sub_mode_mill.oem1 FALSE OEM1 operating area
6.5 CMM_IN.sub_mode_mill.oem2 FALSE OEM2 operating area
6.6 CMM_IN.sub_mode_mill.customer FALSE CUSTOMER operating area
6.7 CMM_IN.sub_mode_mill.mda FALSE MDI operating area
8 CMM_IN.spindle_interface_number B#16#5 Signal is not evaluated by ShopTurn
9.0 CMM_IN.user_defined_spindle_control FALSE Signal is not evaluated by ShopTurn
9.1 CMM_IN.spindle_start FALSE Signal is not evaluated by ShopTurn
9.2 CMM_IN.spindle_stop FALSE Signal is not evaluated by ShopTurn
9.3 CMM_IN.spindle_left FALSE Signal is not evaluated by ShopTurn
9.4 CMM_IN.spindle_right FALSE Signal is not evaluated by ShopTurn
9.5 CMM_IN.program_extern_selected FALSE Program is selected in the PLC
9.6 CMM_IN.disable_cnc_standard FALSE Disable switchover to CNC ISO operator interface
9.7 CMM_IN.cmm_activ_in_cnc_mode TRUE ShopTurn PLC active during CNC ISO operation
10.0 CMM_IN.program_test_request FALSE Select Program test function
10.1 CMM_IN.dry_run_request FALSE Select DryRun function
10.2 CMM_IN.m01_request FALSE Select M01 function
10.3 CMM_IN.skip_block_request FALSE Select Skip Block function
10.4 CMM_IN.boot_standard FALSE System power-up in CNC ISO operator interface
10.5 CMM_IN.nck_auto_req FALSE Preparation block search from PLC

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 5-47
5 Signal Description 01.02
5.1 Overview of ShopTurn interface DB82

Table 5-1 Signals to ShopTurn (input signals)

Address Name Initial Comment


value
10.6 CMM_IN.spindle_act_m30_reset FALSE Signal is not evaluated by ShopTurn
10.7 CMM_IN.ignore_nck_alarm FALSE Ignore NCK alarm for cycle start
11.1 CMM_IN.get_tool_data FALSE Update tool data
11.2 CMM_IN.c_axis_feed_drive FALSE Separate feed drive as C axis drive
11.3 CMM_IN.select_spindle_readout_0 FALSE Selection spindle speed display bit 0
11.4 CMM_IN.select_spindle_readout_1 FALSE Selection spindle speed display bit 1
12 CMM_IN.ext_m_cmd_1 90 Signal is not evaluated by ShopTurn
13 CMM_IN.ext_m_cmd_2 91 Signal is not evaluated by ShopTurn

5.1.2 Signals from ShopTurn (output signals)

Table 5-2 Signals from ShopTurn (output signals)

Address Name Initial Comment


value
30.0 CMM_OUT.base_sig.main_mode_mill.manual FALSE ShopTurn Manual operating mode
30.1 CMM_OUT.base_sig.main_mode_mill.auto- FALSE ShopTurn Automatic operating mode
matic
32.0 CMM_OUT.base_sig.reset FALSE Reset performed
32.1 CMM_OUT.base_sig.nc_cycle_activ FALSE Cycle active
32.2 CMM_OUT.base_sig.nc_cycle_stopped FALSE Cycle interrupted
34.0 CMM_OUT.sub_mode_mill.tool FALSE Tool operating area activated
34.1 CMM_OUT.sub_mode_mill.directory FALSE Directory operating area activated
34.2 CMM_OUT.sub_mode_mill.messages FALSE Alarms/messages operating area activated
34.3 CMM_OUT.sub_mode_mill.program FALSE Program operating area activated
34.4 CMM_OUT.sub_mode_mill.oem1 FALSE OEM1 operating area selected
34.5 CMM_OUT.sub_mode_mill.oem2 FALSE OEM2 operating area selected
34.6 CMM_OUT.sub_mode_mill.customer FALSE CUSTOMER operating area selected
34.7 CMM_OUT.sub_mode_mill.mda FALSE MDI operating area selected
36.0 CMM_OUT.cmm_plc_activ FALSE ShopTurn PLC active
36.1 CMM_OUT.cmm_mmc_active FALSE ShopTurn user interface active
36.2 CMM_OUT.spindle_start_req FALSE Signal is not evaluated by ShopTurn
36.3 CMM_OUT.spindle_stop_req FALSE Signal is not evaluated by ShopTurn
36.4 CMM_OUT.spindle_right FALSE Signal is not evaluated by ShopTurn
36.5 CMM_OUT.spindle_left FALSE Signal is not evaluated by ShopTurn
36.7 CMM_OUT.ext_prog_sel FALSE External program for processing selected
37.0 CMM_OUT.program_selection_done FALSE Acknowledgment from HMI that a program has
been selected
37.1 CMM_OUT.program_test_active FALSE Program test function is active
37.2 CMM_OUT.dry_run_active FALSE DryRun function is active
37.3 CMM_OUT.m01_active FALSE M01 function is active

E Siemens AG 2002. All rights reserved


5-48 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 5 Signal Description
5.1 Overview of ShopTurn interface DB82

Table 5-2 Signals from ShopTurn (output signals)

Address Name Initial Comment


value
37.4 CMM_OUT.skip_block_activ FALSE Skip Block function is active
37.7 CMM_OUT.start_up_activ FALSE ShopTurn start-up active
42.0 CMM_OUT.tool_m_function.function_1_on FALSE Signal is not evaluated by ShopTurn
42.1 CMM_OUT.tool_m_function.function_2_on FALSE Signal is not evaluated by ShopTurn
42.2 CMM_OUT.tool_m_function.function_3_on FALSE Signal is not evaluated by ShopTurn
42.3 CMM_OUT.tool_m_function.function_4_on FALSE Signal is not evaluated by ShopTurn
42.4 CMM_OUT.tool_m_function.function_1_activ FALSE Signal is not evaluated by ShopTurn
42.5 CMM_OUT.tool_m_function.function_2_activ FALSE Signal is not evaluated by ShopTurn
42.6 CMM_OUT.tool_m_function.function_3_activ FALSE Signal is not evaluated by ShopTurn
42.7 CMM_OUT.tool_m_function.function_4_activ FALSE Signal is not evaluated by ShopTurn
44 CMM_OUT.mask_number W#16#0 Current screen number of ShopTurn

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 5-49
5 Signal Description 01.02
5.1 Overview of ShopTurn interface DB82

5.1.3 Diagnostics buffer signals

Table 5-3 Diagnostics buffer signals

Address Name Initial Comment


value
60.0 nck_signal_monitor.monitor_on FALSE Activate diagnostics function
(input signal)
60.1 nck_signal_monitor.monitor_initialize FALSE Initialize diagnostics function
(input signal)
62 nck_signal_monitor.access_error[1].current_number W#16#0 Current number of error message 1
(output signal)
64 nck_signal_monitor.access_error[1].db_number B#16#0 DB number of error message 1
(output signal)
65 nck_signal_monitor.access_error[1].byte_number B#16#0 Byte number of error message 1
(output signal)
66 nck_signal_monitor.access_error[1].bit_number B#16#0 Bit number of error message 1
(output signal)
68 nck_signal_monitor.access_error[2].current_number W#16#0 Current number of error message 2
(output signal)
70 nck_signal_monitor.access_error[2].db_number B#16#0 DB number of error message 2
(output signal)
71 nck_signal_monitor.access_error[2].byte_number B#16#0 Byte number of error message 2
(output signal)
72 nck_signal_monitor.access_error[2].bit_number B#16#0 Bit number of error message 2
(output signal)
. .
. .
. .
176 nck_signal_monitor.access_error[20].current_number W#16#0 Current number of error message 20
(output signal)
178 nck_signal_monitor.access_error[20].db_number B#16#0 DB number of error message 20
(output signal)
179 nck_signal_monitor.access_error[20].byte_number B#16#0 Byte number of error message 20
(output signal)
180 nck_signal_monitor.access_error[20].bit_number B#16#0 Bit number of error message 20
(output signal)

E Siemens AG 2002. All rights reserved


5-50 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 5 Signal Description
5.2 Description of ShopTurn interface DB82

5.2 Description of ShopTurn interface DB82

5.2.1 Signals to ShopTurn (input signals)

DB82 transfer_base_sig
DBB0 Transmission mode for MCP signals
Data block Signal(s) to ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning This signal specifies whether the base signals with the structure ”base_sig” are to be used
from the I/O area of the OP032S machine control panel or from the standard 19¨ MCP, i.e.
the ShopTurn PLC automatically copies these I/O signals to DB82.

Value:
0 Standard assignment; connection of OP032S MCP
1 Connection of 19¨ MCP
≧2 Base signals are not transferred; base signals must be transferred by
the operator!
Note See Subsection 4.4.2 ”ShopTurn interface signals DB 82”, Section Interlock logic for MCP
signals

DB82 base_sig.main_mode_mill.manual
DBX2.0 ShopTurn Manual operating mode
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning Manual operating mode (“Machine Manual” softkey) is activated in ShopTurn via this signal.
corresponding to... DB82.DBB0
Note Only effective if DB82.DBB0=2
References /BAS/, ShopTurn Operator’s Guide

DB82 base_sig.main_mode_mill.automatic
DBX2.1 ShopTurn Automatic operating mode
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning Automatic operating mode (“Machine Auto” softkey) is activated in ShopTurn via this signal.
corresponding to... DB82.DBB0
Note Only effective if DB82.DBB0=2
References /BAS/, ShopTurn Operator’s Guide

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 5-51
5 Signal Description 01.02
5.2 Description of ShopTurn interface DB82

DB82 base_sig.reset
DBX4.0 Reset
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning Setting this signal triggers a channel-specific reset and the ShopTurn PLC is reset. The
active program is aborted.
Timing diagram

CMM_IN.reset

CMM_OUT.reset
At least one PLC cycle set

corresponding to... DB82.DBB0; DB82.DBX32.0, base_sig.reset


Note Only effective if DB82.DBB0=2
S If mode group reset is used by the PLC user program, you must ensure that
the CMM_IN.base_sig.reset signal is set at the same time.
S If NC cannot perform a reset, e.g. emergency stop state is active, then there
is no acknowledgment for the “CMM_OUT.base_sig.reset” signal. In this
case the channel-specific reset is present at the NC interface for at least
2 sec.

DB82 base_sig.nc_cycle_start
DBX4.1 Cycle Start
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change S ShopTurn Automatic operating mode
0 ------> 1 ------> 0 Start of the selected part program.
Note: The ShopTurn Automatic operating mode is not identical to NC Automatic mode.
Switching from NC JOG to NC Auto only after Start and internal checking by the ShopTurn
status administration.
S ShopTurn Manual operating mode
According to selected operator function:
-- Start of function in the screen form T, S, M, ...
-- Start of manual “Measure tool” with probe
-- Start of manual “Measure workpiece” with probe
-- Start of “Positioning”
-- Start of “Face milling”
corresponding to... DB82.DBB0; DB82.DBX32.1, base_sig.nc_cycle_activ
Note Only effective if DB82.DBB0=2

DB82 base_sig.nc_cycle_stop
DBX4.2 Cycle Stop
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change Interruption of active program
0 ------> 1
corresponding to... DB82.DBB0; DB82.DBX32.2, base_sig.nc_cycle_stopped
Note Only effective if DB82.DBB0=2

E Siemens AG 2002. All rights reserved


5-52 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 5 Signal Description
5.2 Description of ShopTurn interface DB82

DB82 sub_mode_mill.tool
DBX6.0 Tool operating area
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change 0------>1 This signal can also be implemented in the user program via a customized key on the 19¨
machine control panel or via hardkeys on the full OP032S CNC keyboard. The desired
operating area is displayed in ShopTurn when this key is pressed.
Signal state 0 No effect
corresponding to... DB82, DBX34.0, sub_mode_mill.tool

DB82 sub_mode_mill.directory
DBX6.1 Directory operating area
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change 0------>1 This signal can also be implemented in the user program via a customized key on the 19¨
machine control panel or via hardkeys on the full OP032S CNC keyboard. The desired
operating area is displayed in ShopTurn when this key is pressed.
Signal state 0 No effect
corresponding to... DB82, DBX34.1, sub_mode_mill.directory

DB82 sub_mode_mill.messages
DBX6.2 Alarms/Messages operating area
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change 0------>1 This signal can also be implemented in the user program via a customized key on the 19¨
machine control panel or via hardkeys on the full OP032S CNC keyboard. The desired
operating area is displayed in ShopTurn when this key is pressed.
Signal state 0 No effect
corresponding to... DB82, DBX34.2, sub_mode_mill.messages

DB82 sub_mode_mill.program
DBX6.3 Program operating area
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change 0------>1 This signal can also be implemented in the user program via a customized key on the 19¨
machine control panel or via hardkeys on the full OP032S CNC keyboard. The desired
operating area is displayed in ShopTurn when this key is pressed.
Signal state 0 No effect
corresponding to... DB82, DBX34.3, sub_mode_mill.program

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 5-53
5 Signal Description 01.02
5.2 Description of ShopTurn interface DB82

DB82 sub_mode_mill.oem1
DBX6.4 OEM1 operating area
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change 0------>1 This signal can also be implemented in the user program via a customized key on the 19¨
machine control panel or via hardkeys on the full CNC keyboard with an OP032S machine
control panel. The desired operating area is displayed in ShopTurn when this key is
pressed.
Signal state 0 No effect
corresponding to... DB82, DBX34.4, sub_mode_mill.oem1

DB82 sub_mode_mill.oem2
DBX6.5 OEM2 operating area
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change 0------>1 This signal can also be implemented in the user program via a customized key on the 19¨
machine control panel or via hardkeys on the full CNC keyboard with an OP032S machine
control panel. The desired operating area is displayed in ShopTurn when this key is
pressed.
Signal state 0 No effect
corresponding to... DB82, DBX34.5, sub_mode_mill.oem2

DB82 sub_mode_mill.customer
DBX6.6 CUSTOMER operating area
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change 0------>1 This signal can also be implemented in the user program via a customized key on the 19¨
machine control panel or via hardkeys on the full CNC keyboard with an OP032S machine
control panel. The desired operating area is displayed in ShopTurn when this key is
pressed.
Signal state 0 No effect
corresponding to... DB82, DBX34.6, sub_mode_mill.customer

DB82 sub_mode_mill.mda
DBX6.7 MDI operating area
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change 0------>1 This signal can also be implemented in the user program via a customized key on the 19¨
machine control panel or via hardkeys on the full CNC keyboard with an OP032S machine
control panel. The desired operating area is displayed in ShopTurn when this key is
pressed.
Signal state 0 No effect
Note Only effective if DB82.DBB0=2
corresponding to... DB82, DBX34.7, sub_mode_mill.mda

E Siemens AG 2002. All rights reserved


5-54 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 5 Signal Description
5.2 Description of ShopTurn interface DB82

DB82 program_extern_selected
DBX9.5 Program is selected in the PLC
Data block Signal(s) to ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning When the signal is set, it is possible to select an NC program externally from the PLC.
Timing diagram

DB82, DBX9.5
Program_extern_selected

ShopTurn loads the


program

DB82, DBX37.0
Program_selection_done

corresponding to... DB82, DBX37.0, program_selection_done


References /BA/, ShopTurn Operator’s Guide

DB82 disable_cnc_standard
DBX9.6 Disable switchover to CNC ISO operator interface
Data block Signal(s) to ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning When the signal is set, switchover from ShopTurn to the CNC ISO operator interface can
be disabled.

DB82 cmm_active_in_cnc_mode
DBX9.7 ShopTurn PLC active during CNC ISO operation
Data block Signal(s) to ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning Value:
0: ShopTurn PLC not active during CNC ISO operation
1: ShopTurn PLC active during CNC ISO operation
Application example(s) Switchover between CNC ISO and ShopTurn operation is possible at any time (even when
a program is active and running).

DB82 program_test_request
DBX10.0 Select Program test function
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change This signal can also be implemented in the user program via a customized key on the
0 ------> 1 machine control panel. Pressing this key activates/deactivates the program test function.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 5-55
5 Signal Description 01.02
5.2 Description of ShopTurn interface DB82

DB82 dry_run_request
DBX10.1 Select DryRun function
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change This signal can also be implemented in the user program via a customized key on the
0 ------> 1 machine control panel. Pressing this key activates/deactivates the DryRun function.

DB82 m01_request
DBX10.2 Select M01 function
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change This signal can also be implemented in the user program via a customized key on the
0 ------> 1 machine control panel. Pressing this key activates/deactivates the M01 function.

DB82 skip_block_request
DBX10.3 Select Skip Block function
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change This signal can also be implemented in the user program via a customized key on the
0 ------> 1 machine control panel. Pressing this key activates/deactivates the Skip Block function.

DB82 boot_standard
DBX10.4 System power-up in CNC ISO operator interface
Data block Signal(s) to ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning This signal can be set to make the system power up in the CNC ISO operator interface.
When the signal is reset, you can switch over to the ShopTurn operator interface.

DB82 nck_auto_req
DBX10.5 Preparation block search PLC
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Edge change This signal is used to request NCK switchover from JOG to AUTO.
0 ------> 1
Signal state 0 No effect
Application example(s) Block search via PLC
corresponding to... DB19, DBX6.0, signals from mode group (NCK ----> PLC) active operating mode AUTOMA-
TIC

E Siemens AG 2002. All rights reserved


5-56 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 5 Signal Description
5.2 Description of ShopTurn interface DB82

DB82 ignore_nck_alarm
DBX10.7 Ignore NCK alarm for cycle start
Data block Signal(s) to ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning If an NCK alarm (DB10.DBX109.0 = 1), e.g. battery alarm, is pending, the following applies:
0: Cycle start not possible
1: Cycle start possible

Alarms
-- EMERGENCY (DB10.DBX106.1 = 1)
-- NCK alarm with processing stop (DB21.DBX36.7 = 1)
cannot be suppressed with this interface signal, i.e. in these cases a cycle start is not
possible.

DB82 get_tool_data
DBX11.1 Update tool data
Data block Signal(s) to ShopTurn
Edge evaluation: yes Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal state 1 or edge Tool data are updated. When this procedure is completed, the signal is reset by the
change 0------>1 ShopTurn PLC.
Signal state 0 or --
edge change 1---->0

DB82 c_axis_feed_drive
DBX11.2 Separate feed drive as C axis drive
Data block Signal(s) to ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.3, 810D SW 4.3
Signal state 1 or edge A separate feed drive is used for the spindle.
change 0------>1
Signal state 0 or --
edge change 1---->0

DB82 select_spindle_readout_0
DBX11.3 Selection spindle speed display bit 0
Data block Signal(s) to ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.3, 810D SW 4.3
Signal meaning DBX11.3, bit0=0 and DBX11.4, bit1=0: speed display for active spindle with highest priority
(main spindle before tool spindle before counterspindle)
DBX11.3, bit0=1 and DBX11.4, bit1=0: speed display for main spindle
DBX11.3, bit0=0 and DBX11.4, bit1=1: speed display for tool spindle
DBX11.3, bit0=1 and DBX11.4, bit1=1: speed display for counterspindle
corresponding to... DB82 DBX11.4 select_spindle_readout_1

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 5-57
5 Signal Description 01.02
5.2 Description of ShopTurn interface DB82

DB82 select_spindle_readout_1
DBX11.4 Selection spindle speed display bit 1
Data block Signal(s) to ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.3, 810D SW 4.3
Signal meaning DBX11.3, bit0=0 and DBX11.4, bit1=0: speed display for active spindle with highest priority
(main spindle before tool spindle before counterspindle)
DBX11.3, bit0=1 and DBX11.4, bit1=0: speed display for main spindle
DBX11.3, bit0=0 and DBX11.4, bit1=1: speed display for tool spindle
DBX11.3, bit0=1 and DBX11.4, bit1=1: speed display for counterspindle
corresponding to... DB82 DBX11.3 select_spindle_readout_0

E Siemens AG 2002. All rights reserved


5-58 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 5 Signal Description
5.2 Description of ShopTurn interface DB82

5.2.2 Signals from ShopTurn (output signals)

DB82 base_sig.main_mode_mill.manual
DBX30.0 Base signals - ShopTurn Manual mode
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The base signal indicates that the “Machine manual” operating area is activated. The
DB82.DBX36.1 cmm_mmc_activ signal must also be gated.

DB82 base_sig.main_mode_mill.automatic
DBX30.1 Base signals - ShopTurn Automatic mode
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The base signal indicates that the “Machine auto” operating area is activated. The
DB82.DBX36.1 cmm_mmc_activ signal must also be gated.

DB82 base_sig.reset
DBX32.0 Reset activated
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that a channel-specific reset was performed.

DB82 base_sig.nc_cycle_active
DBX32.1 Cycle active
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal acknowledges that a program is active.

DB82 base_sig.nc_cycle_stopped
DBX32.2 Cycle interrupted
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal acknowledges that a program has been interrupted.

DB82 sub_mode_mill.tool
DBX34.0 Tool operating area selected
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the Tool operating area is selected.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 5-59
5 Signal Description 01.02
5.2 Description of ShopTurn interface DB82

DB82 sub_mode_mill.directory
DBX34.1 Directory operating area selected
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the Directory operating area is selected.

DB82 sub_mode_mill.messages
DBX34.2 Alarms/messages operating area selected
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the Alarms/messages operating area is selected.

DB82 sub_mode_mill.program
DBX34.3 Program operating area selected
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the Program operating area is selected.

DB82 sub_mode_mill.oem1
DBX34.4 OEM1 operating area selected
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the OEM1 operating area is selected.

DB82 sub_mode_mill.oem2
DBX34.5 OEM2 operating area selected
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the OEM2 operating area is selected.

DB82 sub_mode_mill.customer
DBX34.6 CUSTOMER operating area selected
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the CUSTOMER operating area is selected.

DB82 sub_mode_mill.mda
DBX34.7 MDI operating area selected
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the MDI operating area is selected.

E Siemens AG 2002. All rights reserved


5-60 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 5 Signal Description
5.2 Description of ShopTurn interface DB82

DB82 cmm_plc_active
DBX36.0 ShopTurn PLC active
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal state 1 or edge The ShopTurn PLC program is activated.
change 0------>1
Signal state 0 or edge The ShopTurn PLC program is not active. The user program can perform CNC ISO
change 1------>0 operation.
Special cases, errors, ...... The ShopTurn PLC program is activated when the ShopTurn application is loaded in the
operator interface by pressing the ShopTurn softkey or when the
DB82 DBX9.7, ”cmm_activ_in_cnc_mode” signal is set to ”1”.
After switchover to CNC ISO operation, the ShopTurn PLC program cannot be set to an
inactive state unless the
DB82 DBX9.7,”cmm_activ_in_cnc_mode” signal is set to ”0”; otherwise, the ShopTurn PLC
program remains active.

DB82 cmm_mmc_active
DBX36.1 ShopTurn user interface active
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal state 1 or edge The ShopTurn user interface is activated.
change 0------>1
Signal state 0 or edge The ShopTurn user interface is not active.
change 1------>0
Special cases, errors, ...... The ShopTurn user interface is active when the ShopTurn application is loaded in the CNC
ISO user interface by activating the softkey ShopTurn.

DB82 ext_prog_sel
DBX36.7 External program for processing selected
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning An external program has been selected for processing. An external program is any pro-
gram not located in the NC working memory, this includes programs on the local hard disk,
in the network drive or in other data memories.

DB82 program_selection_done
DBX37.0 Acknowledgment from HMI that a program has been selected
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that a program has been preselected via the PLC (FB4 select).
corresponding to... DB82, DBX9.5, program_extern_selected

DB82 program_test_active
DBX37.1 Program test function is active
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the program test function is active.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 5-61
5 Signal Description 01.02
5.2 Description of ShopTurn interface DB82

DB82 dry_run_active
DBX37.2 DryRun function is active
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the DryRun function is active.

DB82 m01_active
DBX37.3 M01 function is active
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the M01 function is active.

DB82 skip_block_activ
DBX37.4 Skip Block function is active
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the skip block function is active.

DB82 start_up_activ
DBX37.7 ShopTurn start-up active
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates that the ShopTurn user interface was selected by pressing the
”ShopTurn” softkey. It is reset when the ShopTurn user interface is deselected again (by
selecting ”CNC-ISO”).

DB82 mask_number
DBW44 Current screen number of ShopTurn
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The signal indicates the number of the current ShopTurn screen in the MANUAL area.
The following screen numbers can be output:
No. of ShopTurn screen
1 Settings
2 T,S,M...
3 Accept stock removal with OK
4 Positioning
5 Workpiece zero
16 Measure tool -- Manual -- X
17 Measure tool -- Manual -- Z
18 Stock removal
19 Main screen (empty)
20 MDA
21 Set basic ZO

E Siemens AG 2002. All rights reserved


5-62 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 5 Signal Description
5.2 Description of ShopTurn interface DB82

5.2.3 Description of the diagnostics buffer signals

DB82 nck_signal_monitor.monitor_on
DBX60.0 Activate diagnostics function (input signal)
Data block Signal(s) to ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The diagnostics function is updated

DB82 nck_signal_monitor.monitor_initialize
DBX60.1 Initialize diagnostics function (input signal)
Data block Signal(s) to ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning The ring buffer for the diagnostics function is cleared.

DB82 nck_signal_monitor.access_error[m].current_number
DBW n+0 Consecutive no. of error message m (output signal)
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning Consecutive no. of error message m

DB82 nck_signal_monitor.access_error[m].db_number
DBB n+2 DB number of error message m (output signal)
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning DB number of error message m

DB82 nck_signal_monitor.access_error[m].byte_number
DBB n+3 Byte number of error message m (output signal)
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning Byte number of error message m

DB82 nck_signal_monitor.access_error[m].bit_number
DBB n+4 Bit number of error message m (output signal)
Data block Signal(s) from ShopTurn
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of software version:
840D SW 6.1, 810D SW 4.1
Signal meaning Bit number of error message m

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 5-63
5 Signal Description 01.02
5.2 Description of ShopTurn interface DB82

Note Start address of ring buffer entries:


1st entry: n= 62
2nd entry: n= 68
3rd entry: n= 74
.
.
.
19th entry: n= 170
20th entry: n= 176
Number of error message:
m= 1...20
J

E Siemens AG 2002. All rights reserved


5-64 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Machine Data 6
6.1 NC machine data for ShopTurn

Machine data set A set of machine data (st.8x0) is available for ShopTurn. This set of machine
for ShopTurn data is part of the toolbox and includes:

S NC machine data with precise value assignment (G)


S NC machine data with a minimum value assignment (M)
S NC machine data with variable value assignment (V)
S Setting data

Note
You can always see the current values of the NC machine data in file st.8x0 in
the toolbox.

Precise value NC machine data with precise value assignment are machine data that may not
assignment (G) be altered.

Minimum value NC machine data with minimum value assignment are machine data, for which
assignment (M) the default value can be increased.

Variable value NC machine data with variable value assigment are machine data for which the
assignment (V) default value can be increased or decreased.

Note
When using a SINUMERIK 840D, NCU 573.2, set MD 10050
$MN_SYSCLOCK_CYCLE_TIME ≤ 0.0025.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-65
6 Machine Data 01.02
6.1 NC machine data for ShopTurn

Overview
Table 6-1 NC machine data for ShopTurn

NC MD Name Value Modi-


number fiable
10350 $MN_FASTIO_DIG_NUM_INPUTS 3 M
10360 $MN_FASTIO_DIG_NUM_OUTPUTS 3 M
10602 $MN_FRAME_GEOAX_CHANGE_MODE 4 G
10610 $MN_MIRROR_REF_AX 0 G
10702 $MN_IGNORE_SINGLEBLOCK_MASK H10 G
10714 $MN_M_NO_FCT_EOP 32 G
10715 $MN_M_NO_FCT_CYCLE[0] 6 G
10716 $MN_M_NO_FCT_CYCLE_NAME[0] “L6” V
11220 $MN_INI_FILE_MODE 1 V
11410 $MN_SUPPRESS_ALARM_MASK H1007 M
11450 $MN_SEARCH_RUN_MODE H7 G
11470 $MN_REPOS_MODE_MASK H8 G
18080 $MN_MM_TOOL_MANAGEMENT_MASK HB M
18082 $MN_MM_NUM_TOOL 24 V
18084 $MN_MM_NUM_MAGAZINE 3 M
18086 $MN_MM_NUM_MAGAZINE_LOCATION 15 V
18100 $MN_MM_NUM_CUTTING_EDGES_IN_TOA 48 V
18118 $MN_MM_NUM_GUD_MODULES 7 M
18120 $MN_MM_NUM_GUD_NAMES_NCK 20 M
18130 $MN_MM_NUM_GUD_NAMES_CHAN 200 M
18150 $MN_MM_GUD_VALUES_MEM 100 M
18160 $MN_MM_NUM_USER_MACROS 30 M
18170 $MN_MM_NUM_MAX_FUNC_NAMES 140 M
18180 $MN_MM_NUM_MAX_FUNC_PARAM 1600 M
18230 $MM_USER_MEM_BUFFERED 1150 M
18280 $MN_MM_NUM_FILES_PER_DIR 400 M
18320 $MN_MM_NUM_FILES_IN_FILESYSTEM 400 M
20110 $MC_RESET_MODE_MASK H14041 M
20112 $MC_START_MODE_MASK H400 G
20120 $MC_TOOL_RESET_VALUE 0 G
20124 $MC_TOOL_MANAGEMENT_TOLLHOLDER 1 G
20128 $MC_COLLECT_TOOL_CHANGE 0 G
20130 $MC_CUTTING_EDGE_RESET_VALUE 1 G
20150 $MC_GCODE_RESET_VALUES[5] 2 G
20150 $MC_GCODE_RESET_VALUES[15] 3 G
20152 $MC_GCODE_RESET_MODE[5] 0 G
20152 $MC_GCODE_RESET_MODE[7] 1 G
20152 $MC_GCODE_RESET_MODE[14] 1 G
20202 $MC_WAB_MAXNUM_DUMMY_BLOCKS 10 M

E Siemens AG 2002. All rights reserved


6-66 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.1 NC machine data for ShopTurn

Table 6-1 NC machine data for ShopTurn

NC MD Name Value Modi-


number fiable
20240 $MC_CUTCOM_MAXNUM_CHECK_BLOCKS 4 G
20250 $MC_CUTCOM_MAXNUM_DUMMY_BLOCKS 5 G
20310 $MC_TOOL_MANAGEMENT_MASK H1400B M
20320 $MC_TOOL_TIME_MONITOR_MASK 1 G
20734 $MC_EXTERN_FUNCTION_MASK H8 M
24002 $MC_CHBFRAME_RESET_MASK HFFFF G
27860 $MC_PROCESSTIMER_MODE H22 M
28000 $MC_MM_REORG_LOG_FILE_MEM 75 M
28010 $MC_MM_NUM_REORG_LUD_MODULES 10 M
28020 $MC_MM_NUM_LUD_NAMES_TOTAL 1000 M
28040 $MC_MM_LUD_VALUES_MEM 50 M
28081 $MC_MM_NUM_BASE_FRAMES 1 G
35040 $MA_SPIND_ACTIVE_AFTER_RESET 1 G
Note:
This MD is not contained in machine data set
st.8x0, since it is axis-dependent.

Table 6-2 Setting data for ShopTurn

Setting data Name Value Modi-


number fiable
42440 $SC_FRAME_OFFSET_INCR_PROG 0 G
42442 $SC_TOOL_OFFSET_INCR_PROG 0 G
42444 $SC_TARGET_BLOCK_INCR_PROG 0 G
42480 $SC_STOP_CUTCOM_STOPRE 0 G
42940 $SC_TOOL_LENGTH_CONST 18 G
42950 $SC_TOOL_LENGTH_TYPE 2 G

Caution
The tool length compensations are set in ShopTurn (setting data 42940
$SC_TOOL_LENGTH_CONST and 42950 $SC_TOOL_LENGTH_TYPE) such
that they change independently of the tool’s machining plane.

Description of NC References: /LIS/, Lists


machine data /IAC/, 810D Installation and Start-Up Guide
/IAD/, 840D Installation and Start-Up Guide
/FB/, Descriptions of Functions

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-67
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

6.2 Display machine data for ShopTurn


6.2.1 Overview of display machine data

Table 6-3 Display machine data for ShopTurn

MD MD identifier Comment Preset


No. default
9020 $MM_TECHNOLOGY Basic configuration for simulation 1
9478 $MM_TO_OPTION_MASK Settings for ShopTurn 1
9550 $MM_CTM_CYC_ROUGH_RELEASE_DIST Retraction distance when removing stock 1
from a contour
9551 $MM_CTM_CYC_ROUGH_RELEASE_ANGLE Retraction angle when removing stock 45
from a contour
9552 $MM_CTM_CYC_ROUGH_BLANC_OFFS Blank dimensions when removing stock 1
from a contour
9553 $MM_CTM_CYC_ROUGH_TRACE_ANGLE Angle where the contour is traced 5
9554 $MM_CTM_CYC_ROUGH_MIN_REST_MAT_1 Thickness for final machining allowance, 50
from where the residual material is
machined (axis 1)
9555 $MM_CTM_CYC_ROUGH_MIN_REST_MAT_2 Thickness for final machining allowance, 50
from where the residual material is
machined (axis 2)
9556 $MM_CTM_CYC_ROUGH_VAR_DEPTH Percentage for variable cut depth with con- 20
tour turning
9560 $MM_CTM_TURN_GROOV_TOOL_BEND Retraction due to tool bending with groove 0.1
turning
9561 $MM_CTM_TURN_GROOV_FREE_CUT_VAL Retraction depth before turning operation 0.1
with groove turning
9606 $MM_CTM_SIMULATION_TIME_NEW_POS Simulation update rate actual value 350
9611 $MM_CTM_CROSS_AX_DIAMETER_ON Diameter display for transverse axis active 1
9619 $MM_CTM_G91_DIAMETER_ON Incremental infeed 0
9626 $MM_CTM_TRACE Settings for ShopTurn 1
9630 $MM_CTM_FIN_FEED_PERCENT Finishing feed in percent 100
9640 $MM_CTM_ENABLE_CALC_THREAD_PITCH Calculation of thread depth, if pitch entered 0
9646 $MM_CTM_FACTOR_O_CALC_THR_PITCH Factor for calculating external thread 0.6134
depths, if pitch entered
9647 $MM_CTM_FACTOR_I_CALC_THR_PITCH Factor for calculating internal thread 0.5413
depths, if pitch entered
9648 $MM_CTM_ROUGH_O_RELEASE_DIST Retraction distance for cutting/stock remo- 1.0
val during external machining
9649 $MM_CTM_ROUGH_I_RELEASE_DIST Retraction distance for cutting/stock remo- 0.5
val for inside machining
9650 $MM_CMM_POS_COORDINATE_SYSTEM Position of coordinate system 34
9651 $MM_CMM_TOOL_MANAGEMENT Tool management concepts 4
9652 $MM_CMM_TOOL_LIFE_CONTROL Tool monitoring 1
9654 $MM_CMM_SPEED_FIELD_DISPLAY_RES Number of decimal places in the speed 0
input field
9655 $MM_CMM_CYC_PECKING_DIST Retraction distance with deep-hole drilling 1.0
9657 $MM_CMM_CYC_MIN_CONT_PO_TO_RAD Indication of variation of the smallest pos- 5
sible cutter radius in %
9658 $MM_CMM_CYC_MAX_CONT_PO_TO_RAD Indication of variation of the greatest pos- 0.01
sible cutter radius
9663 $MM_CMM_TOOL_DISPLAY_IN_DIAM Display radius/diameter for tool 1
9664 $MM_CMM_MAX_INP_FEED_P_MIN Max. feed in mm/min 10000.0
9665 $MM_CMM_MAX_INP_FEED_P_ROT Max. feed in mm/rev 1.0
9666 $MM_CMM_MAX_INP_FEED_P_TOOTH Max. feed in mm/tooth 1.0
9667 $MM_CMM_FOLLOW_ON_TOOL_ACTIVE Tool preselection active 0

E Siemens AG 2002. All rights reserved


6-68 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.2 Display machine data for ShopTurn

MD MD identifier Comment Preset


No. default
9668 $MM_CMM_M_CODE_COOLANT_I_AND_II M code coolants I and II (--1 = no M code) --1
9669 $MM_CMM_FACE_MILL_EFF_TOOL_DIAM Effective milling diameter for face milling 85.0
9670 $MM_CMM_START_RAD_CONTOUR_POCKET Radius of approach circle for finishing cut --1.0
on contour pockets plus half the final ma-
chining allowance (--1=safety clearance)
9672 $MM_CMM_FIXED_TOOL_PLACE Fixed location coding 1
9673 $MM_CMM_TOOL_LOAD_STATION Number of loading station 1
9674 $MM_CMM_ENABLE_TOOL_MAGAZINE Display of magazine list 1
9675 $MM_CMM_CUSTOMER_START_PICTURE Customer power-up display 0
9676 $MM_CMM_DIRECTORY_SOFTKEY_PATH1 Path for drive names in directory manage- C:
ment \NC_Files
9677 $MM_CMM_DIRECTORY_SOFTKEY_PATH2 Path for drive names in directory manage- --
ment
9678 $MM_CMM_DIRECTORY_SOFTKEY_PATH3 Path for drive names in directory manage- --
ment
9679 $MM_CMM_DIRECTORY_SOFTKEY_PATH4 Path for drive names in directory manage- --
ment
9680 $MM_CMM_M_CODE_COOLANT_I M code coolant I 8
9681 $MM_CMM_M_CODE_COOLANT_II M code coolant II 7
9686 $MM_CMM_M_CODE_COOLANT_OFF M code for coolant OFF 9
9719 $MM_CMM_OPTION_MASK Settings for ShopTurn 1
9724 $MM_CMM_CIRCLE_RAPID_FEED Rapid feedrate for positioning on circular 5000
path
9758 $MM_CMM_POS_FEED_WITH_COLL_CTRL Feed with collision control 1000
9760 $MM_CMM_SPIND_SPEED_ROT_SP Max. speed for tool measurement with 1000
rotating spindle
9803 $MM_ST_INDEX_AXIS_4 Axis index for 4th axis 5
9804 $MM_ST_INDEX_SPINDLE_MAIN Axis index for main spindle 3
9805 $MM_ST_INDEX_SPINDLE_TOOL Axis index for tool spindle 4
9806 $MM_ST_INDEX_SPINDLE_SUB Axis index for counterspindle 6
9807 $MM_ST_INDEX_AXIS_C Axis index for C axis 3
9810 $MM_ST_GEAR_STEPS_SPINDLE_MAIN Number of gears on main spindle 0
9811 $MM_ST_GEAR_STEPS_SPINDLE_TOOL Number of gears on tool spindle 0
9812 $MM_ST_GEAR_STEPS_SPINDLE_SUB Number of gears on counterspindle 0
9820 $MM_ST_MAGN_GLASS_POS_1 Position of magnifying glass for measuring 0
tool, 1st axis
9821 $MM_ST_MAGN_GLASS_POS_2 Position of magnifying glass for measuring 0
tool, 2nd axis
9822 $MM_ST_DISPL_DIR_MAIN_SPIND_M3 Displayed direction of rotation for main 0
spindle with M3
9823 $MM_ST_DISPL_DIR_SUB_SPIND_M3 Displayed direction of rotation for counter- 0
spindle with M3
9824 $MM_ST_DISPL_DIR_MAIN_C_AX_INV Displayed direction of rotation C axis main 0
spindle with M3
9825 $MM_ST_DISPL_DIR_SUB_C_AX_INV Displayed direction of rotation C axis co- 0
unterspindle with M3
9826 $MM_ST_DEFAULT_DIR_TURN_TOOLS Main direction of rotation for all turning 3
tools
9827 $MM_ST_DEFAULT_MACHINING_SENSE Basic seettings for machining direction 0
Milling
9840 $MM_ST_ENABLE_MAGN_GLASS Magnifying glass functionality in Manual: 0
Measure Tool
9841 $MM_ST_ENABLE_PART_OFF_RECEPT Enable receptacle function for parting 0
9842 $MM_ST_ENABLE_TAILSTOCK Enable tailstock 0
9850 $MM_ST_CYCLE_THREAD_RETURN_DIST Return distance for thread turning 2
9851 $MM_ST_CYCLE_SUB_SP_WORK_POS Retraction position Z for counterspindle 0

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-69
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

MD MD identifier Comment Preset


No. default
9852 $MM_ST_CYCLE_SUB_SP_DIST Distance as of which feedrate is used for 10
traversing, when approaching fixed stop
with counterspindle
9853 $MM_ST_CYCLE_SUB_SP_FEED Feedrate for traversing to fixed stop with 0
counterspindle
9854 $MM_ST_CYCLE_SUB_SP_FORCE Force in percent for traversing to fixed 10
stop with counterspindle
9855 $MM_ST_CYCLE_TAP_SETTINGS Tapping settings 0
9856 $MM_ST_CYCLE_TAP_MID_SETTINGS Center tapping settings 0
9857 $MM_ST_CYCLE_RET_DIST_FIXEDSTOP Retraction distance before clamping after 0
travel to fixed stop
9858 $MM_ST_CYCLE_RET_DIST_PART_OFF Retraction distance before cut-off with 0
counterspindle
9859 $MM_ST_CYCLE_PART_OFF_CTRL_DIST Distance for cut-off control 0.1
9860 $MM_ST_CYCLE_PART_OFF_CTRL_FEED Feed for cut-off control 0
9861 $MM_ST_CYCLE_PART_OFF_CTRL_FORC Force in percent for cut-off control 10
9898 $MM_ST_OPTION_MASK Settings for ShopTurn 0

E Siemens AG 2002. All rights reserved


6-70 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.2 Display machine data for ShopTurn

6.2.2 Description of the display machine data

9020 $MM_TECHNOLOGY
MD number Basic configuration for simulation
Default setting: 1 Min. input limit: 0 Max. input limit: 2
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: In this MD you define the basic configuration for simulation.
0 = No specific configuration
1 = Turning machine configuration
2 = Milling machine configuration

9478 $MM_TO_OPTION_MASK
MD number Settings for ShopTurn
Default setting: 1 Min. input limit: 0000 Max. input limit: FFFF
Changes valid from: POWER ON Protection level: 1 Unit: Hex
Data type: LONG Valid as of software version:
840D SW 6.2, 810D SW 4.2
Meaning: Bit 0: Expanded entries for ShopTurn (cooling water etc.)
Bit 1: reserved
Bit 2: reserved
Bit 3: setting up new tools not allowed directly at a magazine location
Bit 4: reserved
Bit 5: reserved
Bit 6: reserved
Bit 7: input disable for loaded tools (exception wear data)
Bit 8: evaluate file to_turn.ini
Bit 9: cannot load/unload with program running
Bit 10: additive calculation of tool wear data
Bit 11: reserved

9550 $MM_CTM_CYC_ROUGH_RELEASE_DIST
MD number Retraction distance when removing stock from a contour
Default setting: 1 Min. input limit: 0 Max. input limit: 10
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.3; 810D SW 4.3
Meaning: With this MD you determine the distance used for lifting both axes when roughing a con-
tour. This value also applies to stock removal, plunge-cutting and groove turning.

9551 $MM_CTM_CYC_ROUGH_RELEASE_ANGLE
MD number Retraction angle when removing stock from a contour
Default setting: 45 Min. input limit: 0 Max. input limit: 90
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: degrees
Data type: DOUBLE Valid as of software version:
840D SW 6.3; 810D SW 4.3
Meaning: With this MD you determine the angle used for lifting when roughing a contour. This value
also applies to stock removal, plunge-cutting and groove turning.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-71
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

9552 $MM_CTM_CYC_ROUGH_BLANC_OFFS
MD number Blank dimensions when removing stock from a contour
Default setting: 1 Min. input limit: 0 Max. input limit: 100
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.3; 810D SW 4.3
Meaning: This MD is for defining a specific distance from the blank at which G0 will switch to G1
when removing stock from a contour to compensate for any allowances. This value also
applies to stock removal, plunge-cutting and groove turning.

9553 $MM_CTM_CYC_ROUGH_TRACE_ANGLE
MD number Angle where the contour is traced
Default setting: 5 Min. input limit: 0 Max. input limit: 90
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: degrees
Data type: DOUBLE Valid as of software version:
840D SW 6.3; 810D SW 4.3
Meaning: This MD is for defining an angle between the cutting edge and the contour from which roun-
ding will take place to remove any residual material when removing stock from a contour.
Contour
Angle

Current cutting depth D

Residual
material

9554 $MM_CTM_CYC_ROUGH_MIN_REST_MAT1
MD number Thickness for final machining allowance, from where the residual material is machined
(axis 1)
Default setting: 50 Min. input limit: 0 Max. input limit: 1000
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: %
Data type: DOUBLE Valid as of software version:
840D SW 6.3; 810D SW 4.3
Meaning: This MD is for defining the limit value for removing residual material in direction of axis 1.
This value also applies to stock removal, plunge-cutting and groove turning.

Example:
If MD is set to 50% and if the final machining allowance amounts to 0.5 mm, any residual
material thinner than 0.25 mm is not removed in a separate machining step, but is removed
at the same time as finish cutting.
corresponding to... MD 9555: $MM_CTM_CYC_ROUGH_MIN_RESET_MAT2

E Siemens AG 2002. All rights reserved


6-72 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.2 Display machine data for ShopTurn

9555 $MM_CTM_CYC_ROUGH_MIN_REST_MAT2
MD number Thickness for final machining allowance, from where the residual material is machined
(axis 2)
Default setting: 50 Min. input limit: 0 Max. input limit: 1000
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: %
Data type: DOUBLE Valid as of software version:
840D SW 6.3; 810D SW 4.3
Meaning: This MD is for defining the limit value for removing residual material in direction of axis 2.
This value also applies to stock removal, plunge-cutting and groove turning.

Example:
If MD is set to 50% and if the final machining allowance amounts to 0.5 mm, any residual
material thinner than 0.25 mm is not removed in a separate machining step, but is removed
at the same time as finish cutting.
corresponding to... MD 9554: $MM_CTM_CYC_ROUGH_MIN_RESET_MAT1

9556 $MM_CTM_CYC_ROUGH_VAR_DEPTH
MD number Percentage for variable cut depth with contour turning
Default setting: 20 Min. input limit: 0 Max. input limit: 50
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: %
Data type: BYTE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: Specify the percentage for changing cutting depth at contour turning. You can select chan-
ging cutting depths for stock removal and removing residual material.

9560 $MM_CTM_TURN_GROOV_TOOL_BEND
MD number Retraction due to tool bending with groove turning
Default setting: 0.1 Min. input limit: 0.0 Max. input limit: 1.0
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: In the stock removal cycle, as the tool bends during plunge turning, the tool cannot travel
right up to the contour. In this MD you define the respective lateral distance to the last cut
by which each subsequent step is shortened.

9561 $MM_CTM_TURN_GROOV_FREE_CUT_VAL
MD number Retraction depth before turning operation with groove turning
Default setting: 0.1 Min. input limit: 0.0 Max. input limit: 1.0
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: In this MD you define the tool retraction distance between grooving and stock removal.

9606 $MM_CTM_SIMULATION_TIME_NEW_POS
MD number Simulation update rate actual value
Default setting: 350 Min. input limit: 0 Max. input limit: 4000
Changes valid from: POWER ON Protection level: 3/4 Unit: ms
Data type: WORD Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: In this MD, you define the time intervals at which the simulation graphics are updated with
the actual machining data on the machine tool.
Value = 0 means no update.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-73
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

9611 $MM_CTM_CROSS_AX_DIAMETER_ON
MD number Diameter display for transverse axis active
Default setting: 1 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: = 0:
S Input with absolute values as radius value
S Zero offset always in radius

= 1:
S Position display in diameter
S Distance to go in diameter
S Absolute distances in diameter

9619 $MM_CTM_G91_DIAMETER_ON
MD number Incremental infeed
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: If the coordinates are specified in incremental dimensions, you can choose between radius
and diameter programming.
0 = input in radius
1 = input in diameter

9630 $MM_CTM_FIN_SPEED_PERCENT
MD number Finishing feed in percent
Default setting: 100 Min. input limit: 1 Max. input limit: 100
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: %
Data type: WORD Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: In this MD, you enter a feed as a percentage of the value entered in parameter F (feed) for
the finishing operation during complete machining with ”roughing and finishing”.

9626 $MM_CTM_TRACE
MD number Settings for ShopTurn
Default setting: 1 Min. input limit: 0000 Max. input limit: FFFF
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: HEX
Data type: WORD Valid as of software version:
840D SW 6.2, 810D SW 4.2
Meaning: Bit 0: display of /xy version
Bit 1: reserved
Bit 2: reserved
Bit 3: reserved
Bit 4: reserved
Bit 5: reserved
Bit 6: reserved
Bit 7: reserved
Bit 8: reserved
Bit 9: reserved
Bit 10: reserved
Bit 11: reserved
Bit 12: reserved
Bit 13: reserved
Bit 14: calculate the WO data in current WO if bit 14== 0

E Siemens AG 2002. All rights reserved


6-74 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.2 Display machine data for ShopTurn

9640 $MM_CTM_ENABLE_CALC_THREAD_PITCH
MD number Calculation of thread depth, if pitch entered
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: This MD is for calculating the thread depth K in relation to pitch P (mm/rev) and the thread
type (external/internal thread) for an ISO thread.
0=do not calculate thread depth K
1=calculate thread depth K

9646 $MM_CTM_FACTOR_O_CALC_THR_PITCH
MD number Factor for calculating external thread depths, if pitch entered
Default setting: 0,6134 Min. input limit: -- Max. input limit: --
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: DOUBLE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: The factor for converting thread pitch into thread depth with metric DIN external threads is
defined in this MD.

9647 $MM_CTM_FACTOR_I_CALC_THR_PITCH
MD number Factor for calculating internal thread depths, if pitch entered
Default setting: 0,5413 Min. input limit: -- Max. input limit: --
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: DOUBLE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: The factor for converting thread pitch into thread depth with metric DIN internal threads is
defined in this MD.

9648 $MM_CTM_ROUGH_O_RELEASE_DIST
MD number Retraction distance for cutting/stock removal during external machining
Default setting: 1,0 Min. input limit: -1 Max. input limit: 100
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is used to specify the distance by which the tool is retracted
from the outside contour for cutting and stock removal during external machining. This does
not apply to the cutting of a contour.
-1 = The distance is specified internally.

9649 $MM_CTM_ROUGH_I_RELEASE_DIST
MD number Retraction distance for cutting/stock removal for inside machining
Default setting: 0,5 Min. input limit: -1 Max. input limit: 100
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is used to specify the distance by which the tool is retracted
from the inside contour for cutting and stock removal during inside machining. This does
not apply to the cutting of a contour.
-1 = The distance is specified internally.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-75
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

9650 $MM_CMM_POS_COORDINATE_SYSTEM
MD number Position of coordinate system
Default setting: 34 Min. input limit: 0 Max. input limit: 47
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: You can use this MD to match the coordinate system of the operator interface to that of the
machine.
The coordinate system can assume the following positions:
+Z +Y +Z +X
+Y
+X +Y
+X +Z
0 +X 1 +Z 2 +Y 3
+Z +Z
+Y +Y +X
+X

+X +X +Z
+Y
4 5 +Z 6 +Y 7

+X +Z +X +Y
+Z
+Y +Z

+Y
8 +Y 9 +X 11 +X
10 +Z

+X +X
+Z +Y
+Z +Y

+Y +Y
+Z
12 13 +X 14 15 +X
+Z
+Y +X +Y +Z
+X +X
+Z
+Z +Y
16 +Z 17 +Y 18 +X 19

+Y +Y +Z
+X +X
+Z
+Z
+Z +X
20 21 22 23 +Y
+Y +X

E Siemens AG 2002. All rights reserved


6-76 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.2 Display machine data for ShopTurn

9650 $MM_CMM_POS_COORDINATE_SYSTEM
MD number Position of coordinate system
+Y +Z +Y +X
+Z
+X +Z
+X
+Z
24 +X 25 +Y 26 27 +Y

+Y +Y
+Z +Z +X
+X

+X +X +Z
28 29 +Y 30 +Z 31 +Y

+X +Y +X +Z
+Y
+Z +Y
+Z
+Y +X
32 +Z 33 +X 34 35

+X +X
+Y +Y +Z
+Z

+Z +Z
+Y
+X +X
36 37 38 +Y 39
+Z +X +Z +Y
+X +X
+Y

+Y +Y +Z
40 41 +Z 42 43
+X
+Z +Z
+X +Y
+X +Y
+Y
+Y +X
+Z +Z
44 45 46 +X 47
Note:
In the ShopTurn user interface all help screens, sequence graphs, simulation and input
fields with circle direction indication change automatically according to the selected posi-
tion.

9651 $MM_CMM_TOOL_MANAGEMENT
MD number Tool management concepts
Default setting: 4 Min. input limit: 1 Max. input limit: 4
Changes valid from: POWER ON Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: You can choose from two tool management concepts (see Chapter 8 ”Tool management”):
2: Tool management without loading/unloading
4: Tool management with loading/unloading

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-77
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

9652 $MM_CMM_TOOL_LIFE_CONTROL
MD number Tool monitoring
Default setting: 1 Min. input limit: 0 Max. input limit: 1
Changes valid from: POWER ON Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD activates the tool monitoring. The tool monitoring function consists of the tool life
and number of tool changes monitors:
0 = Tool monitoring is not displayed
1 = Tool monitoring is displayed

9654 $MM_CMM_SPEED_FIELD_DISPLAY_RES
MD number Number of decimal places in the speed input field
Default setting: 0 Min. input limit: 0 Max. input limit: 4
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is for defining the number of decimal places in parameter field S (speed).

9655 $MM_CMM_CYC_PECKING_DIST
MD number Retraction distance with deep-hole drilling
Default setting: 1.0 Min. input limit: 0.0 Max. input limit: 100.0
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is for defining the lifting distance when deep-hole drilling with chipbreaking.

9657 $MM_CMM_CYC_MIN_CONT_PO_TO_RAD
MD number Indication of variation of the smallest possible cutter radius in %
Default setting: 5 Min. input limit: 0 Max. input limit: 50
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: %
Data type: WORD Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is required for contour pocket milling. This parameter is for defining by which per-
centage the radius of a cutter used may be smaller than the one which was used for gene-
rating.

9658 $MM_CMM_CYC_MAX_CONT_PO_TO_RAD
MD number Indication of variation of the greatest possible cutter radius
Default setting: 0.01 Min. input limit: 0.0 Max. input limit: 10.0
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is required for contour pocket milling. This parameter is for defining by which
amount the radius of a cutter used may be greater than the one which was used for genera-
ting.

E Siemens AG 2002. All rights reserved


6-78 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.2 Display machine data for ShopTurn

9663 $MM_CMM_TOOL_DISPLAY_IN_DIAM
MD number Display radius/diameter for tool
Default setting: 1 Min. input limit: 0 Max. input limit: 1
Changes valid from: POWER ON Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: You use this MD to specify the display/input format for the tool (only for milling and drilling
tools):
0 = Radius
1 = Diameter

9664 $MM_CMM_MAX_INP_FEED_P_MIN
MD number Max. feed in mm/min
Default setting: 10000.0 Min. input limit: 0.0 Max. input limit: 100000.0
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm/min
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is for entering the upper feedrate input limit for mm/min.

9665 $MM_CMM_MAX_INP_FEED_P_ROT
MD number Max. feed in mm/rev
Default setting: 1.0 Min. input limit: 0.0 Max. input limit: 10.0
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm/rev
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is for entering the upper feedrate input limit for mm/rev.

9666 $MM_CMM_MAX_INP_FEED_P_TOOTH
MD number Max. feed in mm/tooth
Default setting: 1.0 Min. input limit: 0.0 Max. input limit: 5.0
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm/tooth
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is for entering the upper feedrate input limit for mm/tooth.

9667 $MM_CMM_FOLLOW_ON_TOOL_ACTIVE
MD number Tool preselection active
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD defines whether a tool preselection is active in a magazine (e.g. chain magazine),
i.e. the following tool is already brought to the load station for a pending tool change.
0=Tool preselection is not active
1=Tool preselection is active
Note: Tool preselection is not necessary for a revolver, i.e. the MD must be set to “0”.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-79
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

9668 $MM_CMM_M_CODE_COOLANT_I_AND_II
MD number M function coolant I and II
Default setting: --1 Min. input limit: --1 Max. input limit: 32767
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: WORD Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This machine data allows you to specify the number of the M function assigned to the
simultaneous selection of coolant I and II.
Value:
--1 = No M function
xy = Mxy for coolant I and II on (xy = value of MD 9668)

9669 $MM_CMM_FACE_MILL_EFF_TOOL_DIAM
MD number Effective milling diameter for face milling
Default setting: 85.0 Min. input limit: 50.0 Max. input limit: 100.0
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: %
Data type: DOUBLE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: This MD is for specifying the effective milling diameter with face milling. Use the formula
d/D > MD 9669 (with d = cutting diameter, D = largest milling diameter) to determine how far
the milling tool should travel beyond the workpiece when face milling.

9670 $MM_CMM_START_RAD_CONTOUR_POCKET
MD number Radius of approach circle for finishing cut on contour pockets plus half the final machining
allowance (--1=safety clearance)
Default setting: --1.0 Min. input limit: -1 Max. input limit: 100.0
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD affects the radius of the approach circle when finishing contour pockets.
--1 = The radius is selected such that the safety clearance for final machining is observed at
the start point.
>0 = The radius is selected such that the value of this MD for final machining allowance is
observed at the start point.

9672 $MM_CMM_FIXED_TOOL_PLACE
MD number Fixed location coding
Default setting: 1 Min. input limit: 0 Max. input limit: 1
Changes valid from: POWER ON Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD defines the state of the newly created tools:
0 = Tools with flexible locations in the magazine
1 = Tools with fixed locations in the magazine
Note: The tools are always allocated to a fixed location for a revolver, i.e. the MD must be
set to “1”.

E Siemens AG 2002. All rights reserved


6-80 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.2 Display machine data for ShopTurn

9673 $MM_CMM_TOOL_LOAD_STATION
MD number Number of loading station
Default setting: 1 Min. input limit: 1 Max. input limit: 2
Changes valid from: POWER ON Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD enables you to specify the loading station used to load and unload the magazine.
1 = Loading station 1
2 = Loading station 2

9674 $MM_CMM_ENABLE_TOOL_MAGAZINE
MD number Display of magazine list
Default setting: 1 Min. input limit: 0 Max. input limit: 1
Changes valid from: POWER ON Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: 0 = Magazine list is not displayed
1 = Magazine list is displayed

9675 $MM_CMM_CUSTOMER_START_PICTURE
MD number Customer power-up display
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: Customer power-up display is activated if
0 = Siemens-configured customer power-up display
1 = Customer-configured customer power-up display

9676 $MM_CMM_DIRECTORY_SOFTKEY_PATH1
MD number Path for drive names in directory management
Default setting: C:\NC_Files Min. input limit: -- Max. input limit: --
Changes valid from: POWER ON Protection level: 3/4 Unit: --
Data type: STRING (80 characters) Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD defines the path for the drive name of the 2nd softkey (horizontal softkey menu) in
the directory management with hard disk network link. The softkey is not displayed if a
blank string is entered in the display MD.

9677 $MM_CMM_DIRECTORY_SOFTKEY_PATH2
MD number Path for drive names in directory management
Default setting: -- Min. input limit: -- Max. input limit: --
Changes valid from: POWER ON Protection level: 3/4 Unit: --
Data type: STRING (80 characters) Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD defines the path for the drive name of the 3rd softkey (horizontal softkey menu) in
the directory management with hard disk network link. The softkey is not displayed if a
blank string is entered in the display MD.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-81
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

9678 $MM_CMM_DIRECTORY_SOFTKEY_PATH3
MD number Path for drive names in directory management
Default setting: -- Min. input limit: -- Max. input limit: --
Changes valid from: POWER ON Protection level: 3/4 Unit: --
Data type: STRING (80 characters) Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD defines the path for the drive name of the 4th softkey (horizontal softkey menu) in
the directory management with hard disk network link. The softkey is not displayed if a
blank string is entered in the display MD.

9679 $MM_CMM_DIRECTORY_SOFTKEY_PATH4
MD number Path for drive names in directory management
Default setting: -- Min. input limit: -- Max. input limit: --
Changes valid from: POWER ON Protection level: 3/4 Unit: --
Data type: STRING (80 characters) Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD defines the path for the drive name of the 5th softkey (horizontal softkey menu) in
the directory management with hard disk network link. The softkey is not displayed if a
blank string is entered in the display MD.

9680 $MM_CMM_M_CODE_COOLANT_I
MD number M code coolant I
Default setting: 8 Min. input limit: 0 Max. input limit: 32767
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: WORD Valid as of software version:
840D SW 6.2, 810D SW 4.2
Meaning: This MD defines the M code for coolant I; the code is output at tool change.

9681 $MM_CMM_M_CODE_COOLANT_II
MD number M code coolant II
Default setting: 7 Min. input limit: 0 Max. input limit: 32767
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: WORD Valid as of software version:
840D SW 6.2, 810D SW 4.2
Meaning: This MD defines the M code for coolant II; the code is output at tool change.

9686 $MM_CMM_M_CODE_COOLANT_OFF
MD number M code for coolant OFF
Default setting: 9 Min. input limit: 0 Max. input limit: 32767
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: LONG Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: This MD defines the M code for deactivating the coolant; the code is output at tool change.

E Siemens AG 2002. All rights reserved


6-82 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.2 Display machine data for ShopTurn

9719 $MM_CMM_OPTION_MASK
MD number Settings for ShopTurn
Default setting: 1 Min. input limit: -- Max. input limit: --
Changes valid from: IMMEDIATE Protection level: 1 Unit: --
Data type: LONG Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: Bit 0: display softkey “ShopTurn” when creating new programs.
Bit 1: reserved
Bit 2: MDI buffer is not automatically deleted.
Bit 3: reserved
Bit 4: reserved
Bit 5: reserved
Bit 6: reserved
Bit 7: reserved
Bit 8: direct switchover to PCU 50 via extended operating area switchover
(ST open)
Bit 9: program start in all screens
Bit 10: reserved
Bit 11: reserved
Bit 12: reserved
Bit 13: reserved
Bit 14: reserved
Bit 15: reserved
Bit 16: reserved
Bit 17: reserved
Bit 18: when switching over from JOG/MDA/AUTO change operating mode but do not
jump to the machine
Bit 19: the text strings Machine and Workpiece are used instead of MCS and WCS
Bit 20: display the WO as WO1 or G54
Bit 21: enable basic block display

9724 $MM_CMM_CIRCLE_RAPID_FEED
MD number Rapid feedrate for positioning on circular path
Default setting: 5000 Min. input limit: 0 Max. input limit: 100000
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm/min
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: With this MD you define the rapid traverse feedrate in mm/min for positioning on a circular
path.

9758 $MM_CMM_POS_FEED_WITH_COLL_CTRL
MD number Feed with collision control
Default setting: 1000 Min. input limit: 10 Max. input limit: 5000
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm/min
Data type: DOUBLE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: To protect the sensor, intermediate positions in the tool axis are used as measurements for
collision control; they are traversed with this feedrate. You should select the feed so that the
max. deflection of the sensor is not exceeded if a collision occurs.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-83
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

9760 $MM_CMM_MAX_SPIND_SPEED_ROT_SP
MD number Maximum speed for tool measurement with rotating spindle
Default setting: 1000 Min. input limit: 100 Max. input limit: 25000
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: rev/min
Data type: DOUBLE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: When performing tool measurement with rotating spindle, this MD defines the max.
permissible speed of the tools to be measured.

9803 $MM_ST_INDEX_AXIS_4
MD number Axis index for 4th axis
Default setting: 5 Min. input limit: 0 Max. input limit: 127
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: UBYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: In this MD enter the axis number of the 4th axis you want to display.

9804 $MM_ST_INDEX_SPINDLE_MAIN
MD number Axis index for main spindle
Default setting: 3 Min. input limit: 0 Max. input limit: 127
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: UBYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: Enter the axis number of the main spindle in this MD.

9805 $MM_ST_INDEX_SPINDLE_TOOL
MD number Axis index for tool spindle
Default setting: 4 Min. input limit: 0 Max. input limit: 127
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: UBYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: Enter the axis number of the tool spindle in this MD.

9806 $MM_ST_INDEX_SPINDLE_SUB
MD number Axis index for counterspindle
Default setting: 6 Min. input limit: 0 Max. input limit: 127
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: UBYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: Enter the axis number of the counterspindle in this MD.

9807 $MM_ST_INDEX_AXIS_C
MD number Axis index for C axis
Default setting: 3 Min. input limit: 0 Max. input limit: 127
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: UBYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: Enter the axis number of the C axis in this MD.

E Siemens AG 2002. All rights reserved


6-84 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.2 Display machine data for ShopTurn

9810 $MM_ST_GEAR_STEPS_SPINDLE_MAIN
MD number Number of gears on main spindle
Default setting: 0 Min. input limit: 0 Max. input limit: 5
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: UBYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is used to specify the number of gear stages for the main spindle.

9811 $MM_ST_GEAR_STEPS_SPINDLE_TOOL
MD number Number of gears on tool spindle
Default setting: 0 Min. input limit: 0 Max. input limit: 5
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: UBYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is used to specify the number of gear stages for the tool spindle.

9812 $MM_ST_GEAR_STEPS_SPINDLE_SUB
MD number Number of gears on counterspindle
Default setting: 0 Min. input limit: 0 Max. input limit: 5
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: UBYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: This MD is used to specify the number of gear stages for the counterspindle.

9820 $MM_ST_MAGN_GLASS_POS1
MD number Position of magnifying glass for measuring tool, 1st axis
Default setting: 0 Min. input limit: -- Max. input limit: --
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: Enter the X coordinate of the zoom-in function in this MD.

9821 $MM_ST_MAGN_GLASS_POS2
MD number Position of magnifying glass for measuring tool, 2nd axis
Default setting: 0 Min. input limit: -- Max. input limit: --
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: Enter the Z coordinate of the zoom-in function in this MD.

9822 $MM_ST_DISPL_DIR_MAIN_SPIND_M3
MD number Displayed direction of rotation for main spindle with M3
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: You use this MD to specify which direction of rotation of the main spindle is displayed for M
function M3 in the operator interface.
0 = right
1 = left

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-85
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

9823 $MM_ST_DISPL_DIR_SUB_SPIND_M3
MD number Displayed direction of rotation for counterspindle with M3
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: You use this MD to specify which direction of rotation of the counterspindle is displayed for
M function M3 in the operator interface.
0 = right
1 = left

9824 $MM_ST_DISPL_DIR_MAIN_C_AX_INV
MD number Displayed direction of rotation C axis main spindle for with M3
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: You use this MD to specify which direction of rotation of the C axis (main spindle) is dis-
played for M function M3 in the operator interface.
0 = right
1 = left

9825 $MM_ST_DISPL_DIR_SUB_C_AX_INV
MD number Displayed direction of rotation C axis counterspindle for with M3
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: You use this MD to specify which direction of rotation of the C axis (counterspindle) is dis-
played for M function M3 in the operator interface.
0 = right
1 = left

9826 $MM_ST_DEFAULT_DIR_TURN_TOOLS
MD number Main direction of rotation for all turning tools
Default setting: 3 Min. input limit: 3 Max. input limit: 4
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: With this MD you define the main direction of rotation for all turning tools.
3 = M3
4 = M4

9827 $MM_ST_DEFAULT_MACHINING_SENSE
MD number Basic seettings for machining direction Milling
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: With this MD you define the standard setting for the machining direction for milling,
excluding path milling.
0 = Reverse rotation
1 = Synchronous direction

E Siemens AG 2002. All rights reserved


6-86 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.2 Display machine data for ShopTurn

9840 $MM_ST_ENABLE_MAGN_GLASS
MD number Magnifying glass functionality in Manual: Measure Tool
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: You can activate the “Measure tool with zoom-in” function with this MD.
0 = Function not available
1 = Function available

9841 $MM_ST_ENABLE_PART_OFF_RECEPT
MD number Enable receptacle function for parting
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: With this MD you enable the ”receptacle” function for parting on the operator interface. With
parting, you can move out a receptable to catch the cut off part.

9842 $MM_ST_ENABLE_TAILSTOCK
MD number Enable tailstock
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: BYTE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: You use this MD to activate the “tailstock” parameter in the program header screen.

9850 $MM_ST_CYCLE_THREAD_RETURN_DIST
MD number Return distance for thread turning
Default setting: 2 Min. input limit: 0 Max. input limit: 1000
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: In this MD you can define the distance from the workpiece to which the tool is retracted
between infeed motions for thread cutting.

9851 $MM_ST_CYCLE_SUB_SP_WORK_POS
MD number Retraction position Z for counterspindle
Default setting: 0 Min. input limit: -- Max. input limit: --
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: In this MD you define the position in the Z direction to which the counterspindle is traversed
at program start.
--1: Suppress retraction of counterspindle

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-87
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

9852 $MM_ST_CYCLE_SUB_SP_DIST
MD number Distance as of which feedrate is used for traversing, when approaching fixed stop with
counterspindle
Default setting: 10 Min. input limit: 0.001 Max. input limit: 1000
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: In this MD you define the distance from the programmed target position from which the
counterspindle traverses with a special feedrate when traveling to fixed stop. You define the
feedrate in MD 9853 $MM_ST_CYCLE_SUB_SP_FEED.

9853 $MM_ST_CYCLE_SUB_SP_FEED
MD number Feedrate for traversing to fixed stop with counterspindle
Default setting: 0 Min. input limit: -- Max. input limit: --
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm/min
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: In this MD you define the feedrate with which the counterspindle travels to the fixed stop.
You define the distance from which the axis travels at this feedrate in MD 9852
$MM_ST_CYCLE_SUB_SP_DIST.

9854 $MM_ST_CYCLE_SUB_SP_FORCE
MD number Force in percent for traversing to fixed stop, counterspindle
Default setting: 10 Min. input limit: 1 Max. input limit: 100
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: %
Data type: DOUBLE Valid as of software version:
840D SW 6.1, 810D SW 4.1
Meaning: In this MD you define the percentage of the driving force at which the counterspindle is to
stop when traveling to the fixed stop.

9855 $MM_ST_CYCLE_TAP_SETTINGS
MD number Tapping settings
Default setting: 0 Min. input limit: -- Max. input limit: --
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: WORD Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: Bit 0: exact stop behavior as before cycle call active
Bit 1: exact stop G601
Bit 2: exact stop G602
Bit 3: exact stop G603
Bit 4: with/without feed-forward control as before cycle call active
Bit 5: with feed-forward control FFWON
Bit 6: without feed-forward control FFWOF
Bit 8: SOFT/BRISK/DRIVE as before cycle call active
Bit 9: with jerk limitation SOFT
Bit 10: without jerk limitation BRISK
Bit 11: reduced acceleration DRIVE
Bit 12: activate spindle operation again with MCALL
Bit 13: remain in position control with MCALL

E Siemens AG 2002. All rights reserved


6-88 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 6 Machine Data
6.2 Display machine data for ShopTurn

9856 $MM_ST_CYCLE_TAP_MID_SETTINGS
MD number Center tapping settings
Default setting: 0 Min. input limit: -- Max. input limit: --
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: --
Data type: WORD Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: Bit 0: exact stop behavior as before cycle call active
Bit 1: exact stop G601
Bit 2: exact stop G602
Bit 3: exact stop G603
Bit 4: with/without feed-forward control as before cycle call active
Bit 5: with feed-forward control FFWON
Bit 6: without feed-forward control FFWOF
Bit 8: SOFT/BRISK/DRIVE as before cycle call active
Bit 9: with jerk limitation SOFT
Bit 10: without jerk limitation BRISK
Bit 11: reduced acceleration DRIVE
Bit 12: activate spindle operation again with MCALL
Bit 13: remain in position control with MCALL

9857 $MM_ST_CYCLE_RET_DIST_FIXEDSTOP
MD number Retraction distance before clamping after travel to fixed stop
Default setting: 0 Min. input limit: 0 Max. input limit: 10
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: In this MD you define the retraction distance that the counterspindle is to travel between
travel to fixed stop and gripping to eliminate compressive stress in the workpiece.

9858 $MM_ST_CYCLE_RET_DIST_PART_OFF
MD number Retraction distance before cut-off with counterspindle
Default setting: 0 Min. input limit: 0 Max. input limit: 1
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: In this MD you define the retraction distance that the counterspindle is to travel before cut-
off, to exert tensile stress on the workpiece. This relieves pressure on the tool when cutting
off.

9859 $MM_ST_CYCLE_PART_OFF_CTRL_DIST
MD number Distance for cut-off control
Default setting: 0.1 Min. input limit: 0.001 Max. input limit: 10
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm
Data type: DOUBLE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: In this MD you define the distance that the counterspindle is to travel after cut-off to carry
out a cut-off control. During cut-off control, the counterspindle travels to fixed stop.
corresponding to... MD 9860 $MM_ST_CYCLE_PART_OFF_CTRL_FEED

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 6-89
6 Machine Data 01.02
6.2 Display machine data for ShopTurn

9860 $MM_ST_CYCLE_PART_OFF_CTRL_FEED
MD number Feed for cut-off control
Default setting: 0 Min. input limit: -- Max. input limit: --
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: mm/min
Data type: DOUBLE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: In this MD you define the feed with which the counterspindle is to travel after cut-off for
carrying out cut-off control. During cut-off control, the counterspindle travels to fixed stop.
corresponding to... MD 9859 $MM_ST_CYCLE_PART_OFF_CTRL_DIST

9861 $MM_ST_CYCLE_PART_OFF_CTRL_FORC
MD number Force in percent for cut-off control
Default setting: 10 Min. input limit: 1 Max. input limit: 100
Changes valid from: IMMEDIATE Protection level: 3/4 Unit: %
Data type: BYTE Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: In this MD you define the percentage of the driving force at which the counterspindle is to
stop when traveling to the fixed stop. The counterspindle travels to fixed stop for controlling
the cut-off.

9898 $MM_ST_OPTION_MASK
MD number Settings for ShopTurn
Default setting: 0 Min. input limit: 0000 Max. input limit: FFFF
Changes valid from: IMMEDIATE Protection level: 1 Unit: HEX
Data type: LONG Valid as of software version:
840D SW 6.3, 810D SW 4.3
Meaning: Bit 0: enable machining “internal/rear” in screens that define the machining level
themselves
Bit 1: reserved
Bit 2: reserved
Bit 3: hide softkey “Single block fine”
Bit 4: reserved
Bit 5: reserved
Bit 6: reserved
Bit 7: reserved

E Siemens AG 2002. All rights reserved


6-90 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Reserved Functions 7
There are no functions or parameters reserved for ShopTurn.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 7-91
7 Reserved Functions 01.02

Notes

E Siemens AG 2002. All rights reserved


7-92 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Tool Management 8
8.1 Overview of functions

Option ShopTurn only runs when the tool management option is set. It is shipped
together with ShopTurn as standard. The option is already set in the standard
set of machine data for ShopTurn.
References: /FBW/, Description of Functions Tool Management

Data Data storage and management is carried out in the NC. All data can be read
and written manually, via the NC program or by data transfer.

Operation Operation is performed via system displays.

Programming Tool management enables you to call the tool by name, e.g. ”Roughing_80”.
The tool call is still possible via the T No. (tool number). The T No. is then the
name of the tool.

PLC Separate PLC modules are available for tool management to handle the
communication between NC and PLC.

Tools You can create up to 250 tools on the PCU 20; the maximum number of tools on
PCU 50 is limited by MD 18082 $MN_MM_NUM_TOOL.
You can define up to 9 tool edges for each tool.

Replacement tools Up to 98 replacement tools can be created for each tool.

Magazines Circular magazines can be used. The magazine list can be hidden with display
MD 9674 $MM_CMM_ENABLE_TOOL_MAGAZINE.

Magazine location Magazine locations can be inhibited, e.g. for oversized tools which take up
inhibit space in adjacent locations.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-93
8 Tool Management 01.02
8.1 Overview of functions

Monitoring Tool monitoring in the tool management system is implemented according to


functions tool life or number of tool changes on the basis of cutting edges. Replacement
tools (sister tools) are distinguished by their Duplo No. (DP). Display MD 9652
$MM_CMM_TOOL_LIFE_CONTROL can be used to deactivate tool monitoring.

Tool management Display MD 9651 $MM_CMM_TOOL_MANAGEMENT, value 2 sets tool


without loading/ management without the softkey for loading/unloading.
unloading

Tool management Display MD 9651 $MM_CMM_TOOL_MANAGEMENT, value 4 sets tool


with loading/ management with the softkey for loading/unloading.
unloading

Loading Loading brings the tool to its magazine location.

Unloading Unloading removes the tool from the magazine.

Sorting Tools can be sorted according to magazine location, name and type in the tool
list and tool wear list.

Other functions
S Loading station for loading and unloading tools via display MD 9673
$MM_CMM_TOOL_LOAD_STATION

S Displaying tools (mill/drill) in diameter or radius via display MD 9663


$MM_CMM_TOOL_DISPLAY_IN_DIAM.

Changing data

Note
Changes to the tool and cutting edge data made via system variables in the NC
program are only displayed in the tool list in the ShopTurn user interface if they
refer to the active tool.

E Siemens AG 2002. All rights reserved


8-94 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.2 Start-up of tool management in the NC

8.2 Start-up of tool management in the NC


8.2.1 Start-up sequence

Requirements
S PCU start-up is carried out and the connection to the NC is established.
S NCK start-up is carried out with the default machine data.

Procedure
S Enter the NC machine data for tool management.
S Create a new configuration file with the system variables for the tool
management definition or use and, if necessary, adapt the examples from
the NC toolbox. Then load the configuration file onto the control.

S Enter display machine data.

Note
Tool management start-up in the NC is carried out in conjunction with the
ShopTurn start-up.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-95
8 Tool Management 01.02
8.2 Start-up of tool management in the NC

8.2.2 Input of NC machine data for tool management

Machine data for the memory setting and tool management activation must be
set for the tool management function.

Machine data for Memory space must be made available in the battery-backed RAM for the tool
memory setting management.

The following machine data must be set:


MD 18080 Activate the memory for tool management
MD 18082 Number of tools to be managed by the NCK
MD 18084 Number of turrets the NCK can manage (min. 3);
include the buffer and loading magazines!
MD 18086 Number of turret locations the NCK can manage;
include 1 buffer location (toolholder) and 2 loading locations!
MD 18100 Number of cutting edges in the NCK

Example Assignment of machine data:


18082=24; 24 tools (12 turret locations + 12 additional locations)
18084=3; 1 turret + 1 buffer magazine + 1 loading magazine
18086=15; 12 turret locations + 1 buffer location + 2 loading locations
18100=48; 48 tool edges

Note
You can only reserve memory via the machine data; locations are only
assigned to the turret, etc. when the configuration file is created and loaded
(see Subsection 8.2.4 “Creating and loading the configuration file”).
Modifying the ”memory-influencing” machine data reformats the battery-backed
RAM. The data must therefore be backed up beforehand.

Machine data for In addition, the following machine data must be set for activating the tool
activating the tool management:
management
MD 20310 Channel-specific activation of the tool management
MD 20320 Activation of life time monitoring for the spindle specified here

Note
Bits 0--3 must always be set the same for MD 20310 and MD 18080.

E Siemens AG 2002. All rights reserved


8-96 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.2 Start-up of tool management in the NC

Default setting The NC machine data for tool management are contained in MD data set
ST.8X0 (for default setting see overview in Section 6.1 “NC machine data for
ShopTurn”).
A detailed description of the NC machine data for tool management is given in
the next Subsection 8.2.3 “Description of the NC machine data for tool
management”.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-97
8 Tool Management 01.02
8.2 Start-up of tool management in the NC

8.2.3 Description of the NC machine data for tool management

18080 MM_TOOL_MANAGEMENT_MASK
MD number Activation of memory for tool management
Default setting: HB Min. input limit: 0 Max. input limit: 0xFFFF
Changes valid from: POWER ON Protection level: 1/4 Unit: HEX
Data type: DWORD Valid as of software version: 4.3
Meaning: Activation of the tool management memory with ”0” means:
The set tool management data do not use memory space.

Bit 0=1: Memory is provided for tool management-specific data


Bit 1=1: Memory is provided for monitoring data
Bit 2=1: Memory is provided for user data (CC data)
Bit 3=1: Memory is provided for considering the adjacent location
Bit 4=1: D-RAM is provided for ”Complex searching for tools in magazines”.
Bit 5=1: Wear monitoring active (SW5 and later, 840D)
Bit 6=1: Wear group available (SW5 and later, 840D)

The coded type of memory reservation enables economic use of the memory
management for the functionality provided.
Example:
Default memory reservation for tool management:
MM_TOOL_MANAGEMENT_MASK = 3 (Bit 0 + 1=1)
MM_TOOL_MANAGEMENT_MASK = 1 means tool management with tool management
monitoring function data

18082 MM_NUM_TOOL
MD number Number of tools the NCK can manage
Default setting: 32 Min. input limit: 0 Max. input limit: 600
Changes valid from: POWER ON Protection level: 2/4 Unit: ----
Data type: DWORD Valid as of software version: 2
Meaning: The number of tools which the NCK can manage is entered here.
Battery-backed memory is reserved for the number of tools.
Further references: Description of Functions: Memory Configuration (S7), Tool Offset (W1)

18084 MM_NUM_TOOL_MAGAZINE
MD number Number of magazines the NCK can manage
Default setting: 3 Min. input limit: 0 Max. input limit: 32
Changes valid from: POWER ON Protection level: 2/4 Unit: ----
Data type: DWORD Valid as of software version: 2
Meaning: Number of magazines the NCK can manage (active and background magazines). This
MD can be used to reserve buffered memory for the magazines.
Important: One load magazine and a buffer magazine is set up in the tool management for
each TOA unit. These magazines must be taken into account.
Value = 0: The tool management cannot be active because no data could be created.
Further references: Description of Functions: Memory Configuration (S7)

E Siemens AG 2002. All rights reserved


8-98 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.2 Start-up of tool management in the NC

18086 MM_NUM_MAGAZINE_LOC
MD number Number of magazine locations the NCK can manage
Default setting: 19 Min. input limit: 0 Max. input limit: 600
Changes valid from: POWER ON Protection level: 2/4 Unit: ----
Data type: DWORD Valid as of software version: 2
Meaning: This MD reserves buffered memory for the magazine locations. The number of buffers
and load points must also be set up here.
Important: The locations in the buffer and a load magazine must be taken into account.
Value = 0: The tool management cannot be active because no data could be created.
Further references: Description of Functions: Memory Configuration (S7)

18100 MM_NUM_CUTTING_EDGES_IN_TOA
MD number Number of tool cutting edges per TOA module
Default setting: 64 Min. input limit: 0 Max. input limit: 600
Changes valid from: POWER ON Protection level: 2/4 Unit: ----
Data type: DWORD Valid as of software version: 2
Meaning: Number of possible cutting edges in TOA area. TOA area is the total number of all TOA
modules (for active tool management, also the magazine modules) in the NCK.
Further references: Description of Functions: Memory Configuration (S7)

20124 TOOL_MANAGEMENT_TOOLHOLDER
MD number Toolholder number
Default setting: DBB n + 0,0,0 Min. input limit: 0 Max. input limit: 16
Changes valid from: POWER ON Protection level: 2/7 Unit: --
Data type: DWORD Valid as of software version: 3.2.
Meaning: This MD is only of signficance when the tool management function is active.
Specifies whether a tool holder no. or spindle no. is to be defined to define the location of
the tool to be loaded. The tool management must know on which tool holder the tool is to be
loaded.
If the MD is larger than 0, the spindle numbers $TC_MPP5 are interpreted as a tool holder
number.
The automatic address extension T and M06 is then the value of this MD and no longer the
value of MD 20090 SPIND_DEF_MASTER_SPIND.
On machines with several tool holders without a defined master spindle the MD is used as
the default value to specify the tool holder into which to tool is to be placed on tool change.
Tool holder n is declared the master tool holder with SETMTH(n).
Tools that are loaded in a buffer of type spindle and have the value $TC_MPP5=n correct
the tool path. Tools with a value not equal to n have no effect on the offset.
With the command SETMTH, the tool holder defined in the MD is declared a master tool
holder again.
When defining the magazine locations of internal magazines, spindle locations
--$TC_MPP1=2=spindle location-- can be assigned a location type index ($TC_MPP5). This
assignplaces a concrete tool holder to the location.
corresponding to... MD 20090 SPIND_DEF_MASTER_SPIND
MD 20110: RESET_MODE_MASK
MD 20112: START_MODE_MASK
MD 20122: TOOL_RESET_NAME
MD 20130: CUTTING_EDGE_RESET_VALUE
Further references:

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-99
8 Tool Management 01.02
8.2 Start-up of tool management in the NC

20310 TOOL_MANAGEMENT_MASK
MD number Channel-specific activation of tool management
Default setting: 1400B Min. input limit: 0 Max. input limit: 0xFFFFF
Change valid after POWER ON Protection level: 2/4 Unit: HEX
Data type: DWORD Valid as of software version: 2
Meaning: MD = 0: Tool management inactive
Bit 0 = 1: Tool management active
The tool management functions are activated for the current channel.
Bit 1=1: Tool management monitoring functions active
The functions required for monitoring the tools (tool life and quantity) are
activated.
Bit 2=1: OEM functions active
The memory for user data can be used (see also MD 18090 to 18098).
Bit 3=1: Consider adjacent location active
Bits 0 to 3 must be sent in the same way as for MD 18080:
MM_TOOL_MANAGEMENT_MASK.
Bit 4=1: The PLC is able to request a tool change preparation again with modified
parameters.

Part program is retained for T selection or M06 until acknowledged by the PLC
program

Bit 5=1: The main run of the main spindle can be stopped within an OB1 cycle (e.g. by
read-in halt) after a tool command has been output.
Bit 5=0: The main run of the main spindle is continued after command output to the
PLC.
Bit 6=1: The main run of the auxiliary spindle can be stopped within an OB1 cycle
(e.g. by read-in halt) after a tool command has been output.
Bit 6=0: The main run of the main spindle is continued after command output to the
PLC.
Bit 7=1: The main run of the main spindle is halted until acknowledgement with status
1... is received via FC7, FC8.
Bit 7=0: The main run of the main spindle is continued after command output to the
PLC.
Bit 8=1: The main run of the secondary spindle is halted until acknowledgement with
status 1... is received via FC7, FC8.
Bit 8=0: The main run of the secondary spindle is continued after command output to
the PLC.
Bit 9: reserved Bit 10=1: M06 is delayed until ”prepare change” via FC8 (status
1...) from the PLC.
The change signal (e.g. M06) is not output until the tool selection
(DBX [ n+0 ].2) is acknowledged. The part program is stopped until the
T selection is acknowledged.
Bit 10=0: The tool change ON command is not output from NCK--> PLC until the
PLC preparation acknowledgement has been received.
This is relevant for PLC command 3 (e.g. programming of M06 in a block which
does not contain T).
Bit 11=1: The preparatory command is output even if it has already been issued once for
the same tool. This system is used to position the chain with the first ‘’Tx‘’ call
and to check with the second call whether the tool is in the correct tool-change
location (e.g. before changing station)
Bit 11=0: The preparatory command can be output only once for a tool.
Bit 12=1: The preparatory command is also carried out even if the tool is already in the
spindle. This means that the T selection signal (DB72.DBXn.2) is set even if it
has already been set for the same tool. (Tx...Tx)
Bit 12=0: The preparatory command is not executed if the tool is already inserted in
the spindle.

E Siemens AG 2002. All rights reserved


8-100 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.2 Start-up of tool management in the NC

20310 TOOL_MANAGEMENT_MASK
MD number Channel-specific activation of tool management
Meaning: Bit 13=1: Only for systems with sufficient memory capacity. Recording of tool sequences
in a diagnostics buffer. On Reset the commands are transferred from the
diagnostics buffer to the passive file system (NCATR xx.MPF under part
program). This file is needed by the Hotline.
Tool sequences are recorded in the diagnostics buffer only on systems with
sufficient memory (NCU572, NCU573).
Bit 14=1: An automatic tool change takes place on Reset and Start in accordance
with the following MDs
MD20120 TOOL_RESET_NAME
MD20110 RESET_MODE_MASK
MD20124 TOOL_MANAGEMENT_TOOLHOLDER.
If the tool specified in TOOL_RESET_NAME is to be loaded (this is set in
RESET_MODE_MASK), a tool-change command is output to the application
interface on RESET or START (DB72).
If RESET_MODE_MASK is set to retain the active tool and if the active tool is
disabled in the spindle (by the user), a tool-change command for a
replacement tool is output to the application interface. If no replacement tool is
available, an error message is output.
Bit 14=0: No automatic tool change takes place on RESET and Start.
Bit 15=1: The tool is not returned in response to several preparatory commands
(Tx-->Tx).
This method of function activation permits various combinations.
Example for default activation of the tool management:
MD20310 TOOL_MANAGEMENT_MASK = 3 (Bit0 + 1 = 1)
Bit16=1: T location number is active
Bit 15=0: The tool is not returned.
Bit 16=1: T=location number is active
Bit 17=1: Tool life decrementation can be started/stopped via the PLC in channel
DB 2.1...DBx 1.3.
Bit 18=1: Activation of monitoring ”last tool in tool group”.
Bit 18=0: No monitoring for ”last tool in tool group”
Bit 19=1: Activation for bit 5...8
Bit 19=0: Functions described under bits 5...8 are not available.
Bit 20=0: The commands generated on PLC signal ”program testing active” are not
output to the PLC. The NCK acknowledges the commands independently.
Magazine and tool data are not changed. Exception: the status of the tool
activated in the test area can be changed to ”active”.
Bit 20=1: The commands generated on PLC signal ”program testing active” are output
to the PLC. Depending on the type of PLC acknowledgement, tool/magazine
data can be changed in the NCK. If the acknowledgement parameters for the
target magazine are copied from the source magazine, no tool transport takes
place and no data are changed in the NCK. Exception: the status of the tool
activated in the test area can be changed to ”active”.
Bit 21=0: Ignore tool status ”W” on tool selection.
Bit 21=1: Tools with status ”W” cannot be selected by another tool change or tool
preparation command.

20320 TOOL_TIME_MONITOR_MASK
MD number Activation of life time monitoring for the spindle specified here
Default setting: 1 Min. input limit: 1 Max. input limit: 4
Changes valid from: POWER ON Protection level: 2/4 Unit: ----
Data type: DWORD Valid as of software version: 2
Meaning: Value = 1: Monitoring is carried out for spindle 1.
Value = 2: Monitoring is carried out for spindle 1 and spindle 2.
Further references: Description of Functions: Memory Configuration (S7)

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-101
8 Tool Management 01.02
8.2 Start-up of tool management in the NC

8.2.4 Creating and loading the configuration file

A configuration file for the turret must be created and loaded in the NC for tool
management start-up.
Create a new configuration file with the system variables for the tool
management definition or adapt the example from the NC toolbox.

Note
With the PCU 50, the configuration file can also be created in the CNC ISO
operator interface.
References: /FBW/, Description of Functions Tool Management

You must perform the following steps in the configuration file:

S Define the type of search strategy


S Define the real magazine
S Define buffer magazine
S Define load magazine
S Define locations for the real magazine
S Define locations for the buffer magazine
S Define the spindle assignment
S Define the locations for the load magazine
S Define the distances for the real magazine
Load the configuration file onto the NC.

Example Configuration file TM_REV.8x0 is stored in the toolbox in tools\sd and was
created for a circular magazine with 12 locations, 1 toolholder and 2 loading
stations.
Enter the value 15 in MD 18086 $MN_MM_NUM_MAGAZINE_LOCATION.
Change configuration file TM_REV.8X0 at the positions marked in bold.
%_N_TO_TMA_INI
CHANDATA (1)
;-------------------
;Magazine configuration
;-------------------

E Siemens AG 2002. All rights reserved


8-102 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.2 Start-up of tool management in the NC

%_N_TO_TMA_INI
CHANDATA(1)
;---------------------------------------------------------
;TM_REV.8x0
;
;tool management configuration for ShopTurn machine with
turret
;---------------------------------------------------------
;delete old data
;---------------
$TC_MAP1[0]=0
$TC_DP1[0,0]=0

;type of search strategy


;-----------------------
$TC_MAMP2=257 ;search forward from 1st location for
;active tools

;definition of magazines
;-----------------------
;real magazine
$TC_MAP1[1]=3 ;magazine type (3: turret, 1: chain)
$TC_MAP3[1]=17 ;magazine status (17: active magazine,
;enabled for loading)
$TC_MAP6[1]=1 ;number of lines in the magazine
$TC_MAP7[1]=12 ;number of magazine locations
;buffer magazine
$TC_MAP1[9998]=7 ;magazine type (7: buffer)
$TC_MAP3[9998]=17
$TC_MAP6[9998]=1
$TC_MAP7[9998]=1 ;number of buffer locations
;(1: spindle)
;load magazine
$TC_MAP1[9999]=9 ;magazine type (9: load magazine)
$TC_MAP3[9999]=17
$TC_MAP6[9999]=1
$TC_MAP7[9999]=2 ;number of loadpoints

;locations of real magazine


;--------------------------
;location no 1
$TC_MPP1[1,1]=1 ;location kind (1: magazine location)
$TC_MPP2[1,1]=1 ;location type
$TC_MPP3[1,1]=1 ;consider adjacent location (1: on)
$TC_MPP4[1,1]=2 ;location state (2: location free)
$TC_MPP5[1,1]=1 ;location kind index (1: location no 1)

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-103
8 Tool Management 01.02
8.2 Start-up of tool management in the NC

;location no 2
$TC_MPP1[1,2]=1 ;location kind (1: magazine location)
$TC_MPP2[1,2]=1
$TC_MPP3[1,2]=1
$TC_MPP4[1,2]=2
$TC_MPP5[1,2]=2 ;location kind index (2: location no 2)
;
$TC_MPP1[1,3]=1
$TC_MPP2[1,3]=1
$TC_MPP3[1,3]=1
$TC_MPP4[1,3]=2
$TC_MPP5[1,3]=3
;
.
.
.
$TC_MPP1[1,12]=1
$TC_MPP2[1,12]=1
$TC_MPP3[1,12]=1
$TC_MPP4[1,12]=2
$TC_MPP5[1,12]=12

;
;locations of buffer magazine
;----------------------------
;spindle
$TC_MPP1[9998,1]=2 ;location kind (2: spindle)
$TC_MPP2[9998,1]=0 ;location type
$TC_MPP3[9998,1]=0 ;consider adjacent
$TC_MPP4[9998,1]=2 ;location state (2: location free)
$TC_MPP5[9998,1]=1 ;location kind index (1: spindle)

;locations of load magazine


;--------------------------
;1st load point
$TC_MPP1[9999,1]=7 ;location kind (7: load point)
$TC_MPP2[9999,1]=0 ;location type
$TC_MPP3[9999,1]=0 ;consider adjacent
$TC_MPP4[9999,1]=2 ;location status (2: location free)
$TC_MPP5[9999,1]=1 ;location kind index (1: loadpoint 1)
;2nd load point
$TC_MPP1[9999,2]=7 ;location kind (7: load point)
$TC_MPP2[9999,2]=0
$TC_MPP3[9999,2]=0
$TC_MPP4[9999,2]=2
$TC_MPP5[9999,2]=2 ;location kind index (2: loadpoint 2)

;distance to change position of real magazine


;--------------------------------------------
$TC_MDP2 [1,1]=0 ;spindle
$TC_MDP1[1,1]=0 ;1st load point
$TC_MDP1[1,2]=0 ;2nd load point

E Siemens AG 2002. All rights reserved


8-104 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.2 Start-up of tool management in the NC

;distance to change position of hand magazine


;--------------------------------------------
$TC_MDP2 [9997,1]=0 ;spindle
$TC_MDP1[9997,1]=0 ;1st load point
$TC_MDP1[9997,2]=0 ;2nd load point
M17

Variable The main variables for the configuration file are described here. For a detailed
description description of the system variables, please refer to:
References: /FBW/, Description of Functions Tool Management.

$TC_MAP1[MagazineNo]= Magazine type

S 1: chain
S 3: turret
S 5: box magazine
S 7: internal magazine tool buffer
S 9: internal magazine loading station

$TC_MAP3[MagazineNo]= Magazine status

S Bit 0 = 1: active magazine


S Bit 1 = 1: blocked
S Bit 2 = 1: magazine is at load position
S Bit 3 = 1: tool motion is active
S Bit 4 = 1: enabled for loading
Default: Bit 0 and bit 4 set

$TC_MAP6= Number of magazines


for ShopTurn: 1

$TC_MAP7= Number of locations,


e.g. number of buffer locations: 1= toolholder

$TC_MAMP2= Type of search strategy


This mask is divided into a right and left byte,

S the right byte describes the tool search (bits 0 and 1)


S the left byte describes the empty location search for the active tool

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-105
8 Tool Management 01.02
8.2 Start-up of tool management in the NC

A value must be specified for both strategies.

S Bit 0 = 1: search for active tool with designation (1)


S Bit 1 = 1: search for next tool with designation (2)
S Bit 8 = 1: search from 1st location onwards (256)
S Bit 9 = 1: search from current location onwards (512)
S Bit 10 = 1: search from last location backwards (1024)
S Bit 11 = 1: search from current location backwards (2048)
S Bit 12 = 1: search from current location symmetrically (4096)

Example: $TC_MAMP2=4097 (bits 12 and 0=1)


Bit 12: Search for empty location: search from current location asymmetrically
Bit 0: Tool search: search for active tool

$TC_MPP1[MagazineNo, LocNo]= Type of location:

S 1 = magazine location
S 2 = toolholder
S 3 = gripper
S 4 = loader
S 5 = transfer location
S 6 = loading station
S 7 = load point
Default: value of corresponding location kind

$TC_MPP2[MagazineNo, LocNo]= Type of location:


Any values can be entered here. The values must match the tools to be loaded
at the location.
Example:

S Value = 0: Every tool fits in this location


S Value = 1: Location for heavy tools
S Value = 2: Location for long tools

$TC_MPP3[MagazineNo, LocNo]= Consider adjacent location on = 1

S Value = 1: the adjacent location is considered for the location


S Value = 0: the adjacent location is not considered for the location
S Value = 0: is to be entered for buffer and load locations!

E Siemens AG 2002. All rights reserved


8-106 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.2 Start-up of tool management in the NC

$TC_MPP4[MagazineNo, LocNo]= Location state

S Bit 0 = 1: blocked
S Bit 1 = 1: free/allocated
Default: Bit 1 set

$TC_MPP5[MagazineNo, LocNo]= Location kind index


For $TC_MPP1[Magazine No., Location No.]=1 (location kind is the magazine
location), the location number is entered here. For other location kinds, the kind
index is incremented.

$TC_MDP2[MagazineNo, BufferNo]= Distances between buffer and


magazine
Turret: value = 0

$TC_MDP1[MagazineNo, BufferNo.]= Distances between load point and


magazine
Turret: value = 0

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-107
8 Tool Management 01.02
8.2 Start-up of tool management in the NC

8.2.5 Input of display machine data for tool management

Display machine Display machine data enable you to activate certain functions and settings at
data the user interface.
MD 9651 Tool management concept
MD 9652 Tool monitoring
MD 9663 Display radius/diameter for tool
MD 9667 Tool preselection active
MD 9672 Fixed location coding
MD 9673 Number of loading station
MD 9674 Display magazine list

Default setting/ Please refer to Section 6.2 ”Display machine data for ShopTurn” for the defaults
description and description of the machine data.

E Siemens AG 2002. All rights reserved


8-108 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.3 Start-up of tool management in the PLC

8.3 Start-up of tool management in the PLC


8.3.1 Overview

General

NCK PLC DB 4 User


Basic program
program
block OB100
.
.
FC100

FC 6 DB 71 User
Basic DB 72 program
program DB 73
Tool block Application OB1
management interface .
.
FB110,
DB 74 DB110
Internal
interface

Acknowledgement/Status
FC 7/8
Basic
program
block

Fig. 8-1 Overview of tool management

FC 6 supplies data blocks DB71, 72 and 73 with the information for the new and
old tools. FC 6 is called by the basic program and need not be called again in
the user program.
So that the tool management always knows where the current tool is located,
each location change must be notified to the tool management via FC 7/8
(transfer block). FC 7/8 (transfer block) is called by the user program (FB110).
Data blocks DB71, 72, 73 and 74 are set up automatically. The lengths of the
data blocks are determined by the parameters for the tool management in DB4.
These are written by the user program (FC100).

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-109
8 Tool Management 01.02
8.3 Start-up of tool management in the PLC

8.3.2 Start-up sequence

Requirements
S PCU start-up is carried out and the connection to the NC is established.
S NCK start-up is carried out with the NC machine data for ShopTurn.
S The standard basic program is loaded.

Procedure
S Modify source file TM_REV.AWL (data transfer for turret) and compile the
file.

Source file TM_REV.AWL contains the following blocks:


-- FC 100 (block for tool management configuration)
-- FB 110, DB 110 (blocks for data transfer in tool management system)
The blocks for transferring the data of the tool management system (FB110,
DB110) must be adapted to suit the actual conditions on the machine.

S Call the blocks in OB 1 and OB 100 (see Section 4.2 ”Example for OB1 and
OB100”):
-- Call FC 100 in OB 100 (after FB 1)
-- Call FB 110 in OB 1 (before FC 30)
The blocks must be called in the correct order.

S Load the blocks to the PLC.

Note
Tool management start-up in the PLC is carried out in conjunction with the
ShopTurn start-up.

E Siemens AG 2002. All rights reserved


8-110 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.3 Start-up of tool management in the PLC

8.3.3 Description of blocks

STL source file TM_REV.AWL is available in the ShopTurn library for tool
management. The file contains the following blocks:

S FC 100 (tool management configuration)


S FB 110 (data transfer for tool management in standard mode)

FC 100 Block FC 100 transfers the configuration data of the tool management function
to DB4 and must be called in OB 100.
The default configuration data are set up for 2 loading stations (DB71), one
toolholder (DB72) and the turret magazine (DB73).
The ”Real MagLoc” parameter of FC 100 (number of locations of the turret
magazine) must be supplied when FC 100 is called so that FC 22 (direction
selection) can be used.

FB 110 Block FB 110 controls the data transfer for tool management. This block must
be called in OB 1. Data module DB 110 (instance DB) must be loaded.
The block includes the following functions:

S Acknowledge load/unload for the 1st loading station


S Acknowledge load/unload for 2nd loading station
S Acknowledge change for toolholder
S Abort, i.e. negative acknowledgment for the above-mentioned functions
The acknowledgment for this function can be enabled by the PLC via the input
parameter of FB 110, e.g. load/unload via customer key (see table below for
input parameters).

Data transfer FB 110 from STL source file TM_REV.AWL may be used for data transfer with
the turret.

Table 8-1 Input parameters of FB 110 from TM_REV.AWL

Signal Type Default Remarks


Change_Rev_IF1 BOOL TRUE Enable change for turret
Load_IF1 BOOL TRUE Enable loading for loading station 1
Unload_IF1 BOOL TRUE Enable unloading for loading station 1
Relocate_IF1 BOOL TRUE Enable relocation for loading station 1
Load_IF2 BOOL TRUE Enable loading for loading station 2
Reset_IF BOOL FALSE Abort for one of the above-mentioned
functions

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-111
8 Tool Management 01.02
8.3 Start-up of tool management in the PLC

Note
MD 9673 CMM_TOOL_LOAD_STATION defines which interface is used to
load and/or unload the magazine.

8.3.4 Signal description

Overview of The following data blocks are used for tool management:
data blocks DB 71 for loading/unloading stations
DB 72 for toolholder
DB 73 for turret
DB 74 internal data block for tool management
If you need to change the data of magazines, buffers or loading positions,
delete data blocks DB 71 to DB 74 and restart the PLC.

Overview DB71

DB71 Signals of loading/unloading stations


Data block Interface NCK-->PLC
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Interfaces
DBB 0 IFC 8 IFC 7 IFC 6 IFC 5 IFC 4 IFC 3 IFC 2 IFC 1
DBB 1 IFC 16 IFC 15 IFC 14 IFC 13 IFC 12 IFC 11 IFC 10 IFC 9
DBB 2, 3
DBB n + 0 NC program Positioning at Relocate Unload Load
positions loading
magazine station
DBB n + 1 Free
DBBn + 2 Assigned channel (8-bit Int)
DBB n + 3 Tool management number (8-bit Int)
DBD n + 4 $P_VDITCP[0]
User parameter 0 (DWord)
DBD n + 8 $P_VDITCP[1]
User parameter 1 (DWord)
DBD n + 12 $P_VDITCP[2]
User parameter 2 (DWord)
DBWn + 16 Identifier for loading/unloading station (Int), (fixed value 9999)
DBW n + 18 Location no. of loading/unloading station (Int)
DBW n + 20 Magazine no. (source) for unloading/relocation/positioning (Int)
DBW n + 22 Location no. (source) for unloading/relocation/positioning (Int)
DBW n + 24 Magazine no. (destination) for unloading/relocation/positioning (Int)
DBW n + 26 Location no. (destination) for unloading/relocation/positioning (Int)
DBW n + 28 Reserved

E Siemens AG 2002. All rights reserved


8-112 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.3 Start-up of tool management in the PLC

Initial addresses of loading/unloading stations:


Loading/unloading station 1: n=4
2: n = 34
3: n = 64
4: n= 94
Example for calculation of address DBW n+24 (magazine no. destination)
n = (m--1) * len + 4 m = location no. of loading station/point
len = 30 (length of one loading station)
m =2 ; len = 30 n = (2--1) * 30 + 4 ==> n = 34
DBW (34 + 24) = DBW 58
Address for magazine no. destination of 2nd loading station is DBW 58.
Loading station 1 is used for loading/unloading in all spindles. This must be
considered when allocating the loading interfaces (in the case of PCU 20; takes
place automatically with PCU 50). Loading station 1 is also used for relocation/
positioning of tools at any locations (e.g. buffer location).

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-113
8 Tool Management 01.02
8.3 Start-up of tool management in the PLC

Overview DB72

DB72 Spindle as change position


Data block
Interface NCK-->PLC
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 0 IFC 8 IFC 7 IFC 6 IFC 5 IFC 4 IFC 3 IFC 2 IFC 1
DBB 1 IFC 16 IFC 15 IFC 14 IFC 13 IFC 12 IFC 11 IFC 10 IFC 9
DBB 2, 3
DBB n + 0 Reserved Unload ma- Load ma- Old tool in TO Prepare Perform Obligatory
nual tool nual tool buffer no. change change change
(n+42) (initiation:
M06)
DBB n + 1 Free
DBB n + 2 Assigned channel (8-bit Int)
DBB n + 3 Tool management number (8-bit Int)
DBD n + 4 $P_VDITCP[0], user parameter 0 (DWord)
DBD n + 8 $P_VDITCP[1], user parameter 1 (DWord)
DBD n + 12 $P_VDITCP[2], user parameter 2 (DWord)
DBW n + 16 Buffer identifier (Int), fixed value 9998)
equivalent to ”target position for new tool”
DBW n + 18 Relative location (destination) in buffer magazine (Int)
DBW n + 20 Magazine no. (source) for new tool (Int)
DBW n + 22 Location no. (source) for new tool (Int)
DBW n + 24 Magazine no. (destination) for old tool (Int)
DBW n + 26 Location no. (destination) for old tool (Int)
DBW n + 28 Tool new: location type (Int)
DBW n + 30 Tool new: size left (Int)
DBW n + 32 Tool new: size right (Int)
DBW n + 34 Tool new: size top (Int)
DBW n + 36 Tool new: size bottom (Int)
DBW n + 38 Tool status for new tool
Tool was Tool fixed Prewarn. Measure Enable tool Active tool
in use loc. cod. limit tool
reached
DBW n + 40 Tool new: Internal T no. of NCK (Int)
DBW n + 42 If DBX (n+0.4) = 1, enter buffer location of old tool here
DBW n + 44 Reserved
DBW n + 46 Reserved

Initial addresses of spindles: Spindle 1: n = 4


Spindle 2: n = 52
Spindle 3: n = 100
n = (m--1)* len + 4 m = location no. of change position
len = 48

Note
DBB (n+1) to DBW (n+46) are updated only by a T selection.

E Siemens AG 2002. All rights reserved


8-114 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.3 Start-up of tool management in the PLC

Overview DB73
DB73 Turret as change position
Data block Interface NCK-->PLC
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB 0 IFC 8 IFC 7 IFC 6 IFC 5 IFC 4 IFC 3 IFC 2 IFC 1
DBB 1 IFC 16 IFC 15 IFC 14 IFC 13 IFC 12 IFC 11 IFC 10 IFC 9
DBB 2, 3
DBB n + 0 Perform Obligatory
T0 change change
(initiation:
T NO.)
DBB n + 1 Free
DBB n + 2 Assigned channel (8-bit Int)
DBB n + 3 Tool management number (8-bit Int)
DBD n + 4 $P_VDITCP[0], user parameter 0 (DWord)
DBD n + 8 $P_VDITCP[1], user parameter 1 (DWord)
DBD n + 12 $P_VDITCP[2], user parameter 2 (DWord)
DBW n + 16 Reserved
DBW n + 18 Reserved
DBW n + 20 Magazine no. of turret (Int)
DBW n + 22 Location no. of new tool (Int)
DBW n + 24 Reserved
DBW n + 26 Location no. of old tool (Int)
DBW n + 28 Tool new: loc. type (Int)
DBW n + 30 Tool new: size left (Int)
DBW n + 32 Tool new: size right (Int)
DBW n + 34 Tool new: size top (Int)
DBW n + 36 Tool new: size bottom (Int)
DBW n + 38 Tool status for tool
Tool was Tool fixed Prewarn. Measure Tool Active tool
in use loc. cod. limit tool enabled
reached
DBW n + 40 Tool new: Internal T no. of NCK (Int)
DBW n + 42 Reserved

Initial addresses of turrets: Turret 1: n = 4


Turret 2: n = 48
Turret 3: n = 92
n = (m--1)* len + 4 m = location no. of change position
len = 44
Example for change position 3: n = (3--1)*n 44+ 4= 2*44 + 4= 88 + 4= 92

Note
For a description of data blocks DB71 and DB74, please see
References: /FBW/, Description of Functions Tool Management.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-115
8 Tool Management 01.02
8.3 Start-up of tool management in the PLC

Description DB73

DB73 -- DBX 0.0 -- 0.15 Active status of interface 1--16


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Signal state 1 Associated interface has a valid data block
Signal state 0 Operation for this interface is ended. Is reset by FC 7.

DB73.DBX(n+0).0 Command code: Obligatory change


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Signal state 1
Signal state 0
corresponding to... Position of involved tools

DB73.DBX(n+0).1 Command code: Perform change


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Signal state 1 Execute tool change
Signal state 0

DB73.DBB(n+0).3 T0
Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Indicates that T0 was programmed.

DB73.DBB(n+2) Assigned channel


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Number of channel from which the T word was programmed.

DB73.DBB(n+3) Tool management no.


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Associated tool management number (TO area) of channel

Note
The bits in DBB (n+0) (obligatory change, execute change, ....) are not reset by
the system. They are current only if the corresponding interface bit in DBB0 is
set to ”1’’. However, the user can reset the bits if necessary.

E Siemens AG 2002. All rights reserved


8-116 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.3 Start-up of tool management in the PLC

DB73.DBD(n+4) User parameter 0 (DInt)


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning If you need to send a value to the PLC via the part program, the transfer can
be programmed with $P_VDITCP[0]=(value);. Parameters 0--2 are passed with
the T command.

DB73.DBD(n+8) User parameter 1 (DInt)


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning If you need to send a value to the PLC via the part program, the transfer can
be programmed with $P_VDITCP[1]=(value);.

DB73.DBD(n+12) User parameter 2 (DInt)


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning If you need to send a value to the PLC via the part program, the transfer can
be programmed with $P_VDITCP[2]=(value);.

DB73.DBW(n+16) Reserved
Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2

DB73.DBW(n+18) Reserved
Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2

DB73.DBW(n+20) Magazine no. of new tool


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Magazine number of the new tool to be used for machining.
corresponding to... DBW(n+22)

DB73.DBW(n+22) Location no. of new tool to be loaded


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Location number of the new tool to be used for machining.
corresponding to... DBW(n+20)

DB73.DBW(n+24) Reserved
Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-117
8 Tool Management 01.02
8.3 Start-up of tool management in the PLC

DB73.DBW(n+26) Location no. of old tool to be unloaded


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Location number of the old tool (used up to now for machining)

DB73.DBW(n+28) Tool new: Location type


Meaning The location type of the new tool is entered here.
corresponding to... Tool size: Left, right, top, bottom

DB73.DBW(n+30) Tool new: Size on left


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Specification of new tool size on left in half locations.

DB73.DBW(n+32) Tool new: Size on right


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Specification of new tool size on right in half locations.

DB73.DBW(n+34) Tool new: Size at top


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Specification of new tool size at top in half locations.

DB73.DBW(n+36) Tool new: Size at bottom


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Specification of new tool size at bottom in half locations.

DB73.DBW(n+38) Tool status for new tool


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Bit 0: Active tool
Bit 1: Tool enabled
Bit 2:
Bit 3: Measure tool
Bit 4: Prewarning limit reached
Bit 6: Tool is fixed-location-coded
Bit 7: Tool has been used

DB73.DBW(n+40) Tool new: Internal T no. of NCK


Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2
Meaning Display of internal T no. of NCK for the new tool. Tool management variables
can be read/written via FB2/FB 3 using this T no.

E Siemens AG 2002. All rights reserved


8-118 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.3 Start-up of tool management in the PLC

DB73.DBW(n+42) Reserved
Edge evaluation Signal(s) updated: Conditional Signal(s) valid as of software version: 2

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-119
8 Tool Management 01.02
8.4 Enable spindle and coolant

8.4 Enable spindle and coolant


The functions spindle direction (right/left/off) and coolant can be assigned to a
tool.

”Coolant 1/2 on/off”


”Spindle ri/le/off”

Fig. 8-2 Tool list: Coolant and spindle direction of rotation

You assign the coolants to the appropriate M functions via the following
machine data:
MD 9680 $MM_CMM_M_CODE_COOLANT_I
MD 9681 $MM_CMM_M_CODE_COOLANT_II
MD 9668 $MM_CMM_M_CODE_COOLANT_I_AND_II

E Siemens AG 2002. All rights reserved


8-120 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.5 Moving the turret manually

8.5 Moving the turret manually

If you want to place another tool located in the turret into the machining position,
move the turret manually via the machine control panel. The manual movement
must be passed onto the NCK so that the compensation values of the new tool
can be offset. You can implement this return signal as follows.

Press key ”Turn turret”


on the MCP

The turret turns

The turret latches


into the
new position

Start PLC block Error


(TM_REV_M.AWL)
Actual is activated Done
position

FB 4
(PI service ASUP)

FC 9 ASUP
(ASUP call) (TM_REV_M.SPF)

PLC block writes ASUP reads the new tool


actual position from the actual position
to analog input 1 (analog input 1)

ASUP activates a new


tool correction

Fig. 8-3 Example of checkback signal from tool number to NCK

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-121
8 Tool Management 01.02
8.5 Moving the turret manually

The ASUP derives the tool number from the location number (actual position)
that it has received from the PLC block and passes it on to the NCK.
PLC block TM_REV_M.AWL and ASUP TM_REV_M.SPF are included in the
toolbox as examples. PLC block and ASUP use interrupt 8 and analog input 1.
Set the following machine data:
MD 20116 $MC_IGNORE_INHIBIT_ASUP, Bit 7 = 1
(ASUP on interrupt 8 can always be executed.)
If another interrupt number is used the corresponding bit must be set.
MD 10300 $MN_FASTIO_ANA_NUM_INPUTS = Total number of analog inputs
used.
MD 10320[0] $MN_FASTIO_ANA_INPUT_WEIGHT = 32767
Weighting of the analog input (index 0 corresponds to input 1)
You might have to adapt the PLC block and the ASUP. Please note the
following:

S Assign new block numbers in the symbol table.


S Make sure that the interrupt numbers are identical when you initialize (FB4
call) and call them (FC9 call) (default setting 8).

S If necessary, adapt the interface signals to the analog input.


S Compile and load the TM_REV_M.
S Call up the function block in the user PLC and parameterize it.
S Set interface VAR_INPUT to start and combine the VAR_OUTPUT signals
for the checkback signal of the block in your user PLC.

S In your user PLC make sure that the tool turret cannot be restarted manually
while an ASUP is being executed. Otherwise the incorrect actual turret
position will be detected.

Note
Calling the TM_REV_M.SPF starts a new tool change call (change request in
turret interface in DB 73). Correctly, the setpoint position = actual position and
not further movement of the turret is triggered. However, if an incorrect actual
position is returned, this could cause the turret to swivel again. You should
therefore only permit manual movement of the turret in NCK mode JOG and the
change request via the interface signal in DB 73 only in NCK mode AUTO.

Note
If you permit manual movement of the turret even if the program has not been
interrupted, you must ensure that the ASUP is executed without error and that
the interrupted program can be continued.

E Siemens AG 2002. All rights reserved


8-122 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.6 Configuring the user interface

8.6 Configuring the user interface

There are two ways you can modify the existing user interface for the tool
management system:

S You can change the parameter configuration in accordance with the


respective tool.

S You can configure a custom list in addition to the existing lists.

8.6.1 Modifying existing lists

You can make the following changes in the existing lists:

S Modify a specific column for all tools.


S Modify a specific column for a specific tool.
S Define different columns for each tool.
You must store all the changes you have made to the lists from the default
setting in the configuration file to_turn.ini.
With PCU 20, you need to copy the configuration file to the application disk and
install it together with the ShopTurn software.
After you have installed ShopTurn, the PCU 50 provides a sample configuration
file in the ADD_ON directory. If required, you can adapt this file and copy it to
the OEM directory.
You must set bit 8 in MD 9478 $MM_TO_OPTION_MASK so that the
configuration file can be evaluated.

Note
In the configuration file you only need to define settings that differ from the
default settings.

Please note the following:

S You can define up to 13 columns after the “DP number” column.


S Define the tool edge parameters (length X, length Z, radius, reference
direction, cutting tip length, cutting tip width, cutting tip angle, holder angle,
number of teeth and angles) in adjacent, consecutive columns.

S In one column define either cutting edge parameters only or tool parameters
only. (Tool parameters are all parameters except for the cutting edge
parameters.)

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-123
8 Tool Management 01.02
8.6 Configuring the user interface

Syntax The specifications in the configuration file must comply with the following syntax
(see also example at the end of this chapter):
First specify in which tool management list you would like to make changes.
[DISPLAY_IDENTIFIER]
DISPLAY_IDENTIFIER: Tool management list
Now define the changes:

S Modify a specific column for all tools:


COLUMNx=CONTENTS_IDENTIFIER
COLUMN: column command
x: column number, max. 13
CONTENTS_IDENTIFIER: tool parameter or property

S Modify a specific column for a specific tool:


TOOL_IDENTIFIER = x=CONTENTS_IDENTIFIER
TOOL_IDENTIFIER: tool type

S Define different columns for each tool:


TOOL_IDENTIFIER = CONTENTS_IDENTIFIER /
CONTENTS_IDENTIFIER / ...
TOOL_IDENTIFIER = CONTENTS_IDENTIFIER /
CONTENTS_IDENTIFIER / ...
...

The parameters or properties of a tool are listed one after the other by
means of a CONTENTS_IDENTIFIER and are separated from one another
by a slash “/”. If the default setting is to be used for individual columns, you
still need to insert a slash.

If, for example, you only want to modify the last two columns, specify the
number (x) of the first column you would like to modify and list the respective
CONTENTS_IDENTIFIERs for the subsequent columns.
TOOL_IDENTIFIER = x=CONTENTS_IDENTIFIER /
CONTENTS_IDENTIFIER / ..

Note
With the COLUMN command you can first identify a column for all tools
identically and then adapt the column for individual tools.

Comments are identified by means of a semicolon (;).


If errors occur during evaluation of the configuration file, refer to the to_ini_f.com
file in the “Temp” directory for a description of the error.

E Siemens AG 2002. All rights reserved


8-124 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.6 Configuring the user interface

Identifier The following tables provide a list of the DISPLAY_, TOOL_ and CONTENTS_
identifiers available for defining the columns.

Table 8-2 DISPLAY_IDENTIFIER

DISPLAY_IDENTIFIER Tool management list


TOOL_LIST Tool list
TOOL_LIST_2ND_EDGE Tool list, additional tool edges
TOOL_WEAR Tool wear list
TOOL_WEAR_2ND_EDGE Tool wear list, additional tool edges
TOOL_MAGA Magazine list

Table 8-3 TOOL_IDENTIFIER

TOOL_IDENTIFIER Tool
SHANK_END_CUTTER_TR (Shank) cutter
POINTED_DRILL_TR (Twist) drill
ROUGHER Roughing tool
FINISHER Finishing tool
PARTING_OFF Plunge-cutter
SCREW_CUTTER Threading tool
BUTTON Button tool
STOPPER Fixed stop

Table 8-4 CONTENTS_IDENTIFIER

CONTENTS_IDENTIFIER Parameter or property


EMPTY Blank field
NOT_USED Blank column
LENGTH1 Length X
LENGTH2 Length Z
RADIUS Radius
RADIUS_DIAM Radius with possible diameter viewing
ANGLE_TR Angle
CUTTDIR Reference direction for holder angle
PLATELEN Cutting tip length
PLATEWID Cutting tip width
PLATEANG Cutting tip angle
HOLDERANG Holder angle
N Number of teeth
SPINDLE Spindle direction
COOL1 Coolant 1
COOL2 Coolant 2
MFCT1 Custom M function 1

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-125
8 Tool Management 01.02
8.6 Configuring the user interface

Table 8-4 CONTENTS_IDENTIFIER

CONTENTS_IDENTIFIER Parameter or property


MFCT2 Custom M function 2
MFCT3 Custom M function 3
MFCT4 Custom M function 4
DLENGTH1 Wear length X
DLENGTH2 Wear length Z
DRADIUS Wear radius
DRADIUS_DIAM Wear radius with possible diameter viewing
T_OR_C Type of wear monitoring
P_TIME Tool life
P_COUNT Workpiece count
T_LOCKED Tool disabled
T_SIZE Oversized tool
T_FIXED Tool with fixed location
P_LOCKED Magazine location disabled
MAG_T_LOCKED Display only: Tool disabled
MAG_T_SIZE Display only: Oversized tool
MAG_T_FIXED Display only: Tool with fixed location
H_NBR Fanuc H number

Example ;tool list


[TOOL_LIST]

;Default values for columns


COLUMN1 = LENGTH1
COLUMN2 = LENGTH2
COLUMN3 = RADIUS
COLUMN4 = EMPTY
COLUMN5 = EMPTY
COLUMN6 = EMPTY
COLUMN7 = EMPTY
COLUMN8 = SPINDLE
COLUMN9 = COOL1
COLUMN10= COOL2
COLUMN11= NOT_USED
COLUMN12= NOT_USED

;Deviations from default settings


ROUGHER = 4=CUTTDIR / PLATEANG / HOLDERANG / PLATELEN
FINISHER = 4=CUTTDIR / PLATEANG / HOLDERANG / PLATELEN
SHANK_END_CUTTER_TR = 3=RADIUS_DIAM / 5=N
POINTED_DRILL_TR = 3=RADIUS_DIAM / 6=ANGLE_TR

E Siemens AG 2002. All rights reserved


8-126 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.6 Configuring the user interface

8.6.2 Defining additional list

You can assign an additional list to the 3rd horizontal softkey in the tool
management user interface and configure it yourself. You can use the
parameters from the existing lists or any of the six customized parameters. (If
you use customized parameters in the additional list, you can then also use
them in the standard lists.)
You need to activate the additional list via display MD 9478
$MM_TO_OPTION_MASK, bit 2.
Further, you need to set MD 18094 $MN_MM_NUM_CC_TDA_PARAM=8.

Note
If you have set the two above mentioned machine data, you can now open a
sample list with 2 customized parameters by pressing the 3rd horizontal softkey
in the tool management.

Defining list Define the additional list as described in Subsection 8.6.1 “Modifying existing
lists”. The entire section is also valid for additional lists.
The DISPLAY_IDENTIFIER for additional lists is as follows:

Table 8-5 DISPLAY_IDENTIFIER

DISPLAY_IDENTIFIER Tool management list


TOOL_LIST_OEM Additional list

The customized parameters have the following CONTENTS_IDENTIFIERs:

Table 8-6 CONTENTS_IDENTIFIER

CONTENTS_IDENTIFIER Parameter or property


TPC1 Parameter 1
TPC2 Parameter 2
TPC4 Parameter 4
TPC5 Parameter 5
TPC6 Parameter 6
TPC8 Parameter 8

Defining texts Texts (softkey names, titles of additional lists, name and associated cursor text
for customized parameters) are assigned to specific text numbers in a text file.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-127
8 Tool Management 01.02
8.6 Configuring the user interface

The following syntax applies:


[text number] 0 0 “[text]”
The two parameters 2 and 3 separated by blanks are control characters for text
output and must be 0.
The parameter name can consist of 3 lines; each line has its own text number
(see Table 8-7).

Table 8-7 Text assignment

Text type Text number


3rd horizontal softkey 89923
List title 89924
Name of parameter TPC1 89925, 89926, 89927
Cursor text for parameter TPC1 89930
Name of parameter TPC2 89930, 89931, 89932
Cursor text for parameter TPC2 89932
Name of parameter TPC4 89937, 89938, 89939
Cursor text for parameter TPC4 89949
Name of parameter TPC5 89940, 89941, 89942
Cursor text for parameter TPC5 89950
Name of parameter TPC6 89943, 89944, 89945
Cursor text for parameter TPC6 89951
Name of parameter TPC8 89946, 89947, 89948
Cursor text for parameter TPC8 89952

Example:
89924 0 0 ”tool data”
The texts must not exceed the following number of characters:
Softkey: 9
Title: 20
Parameter: 7
Cursor text: 45
You can obtain a line break in the softkey text by using two consecutive blanks.

Note
Some texts are already pre-defined; you can still change them.

PCU 20 For the PCU 20 enter the texts and numbers in text file “aluc.txt”. The text file
“aluc.txt” resides in each language directory.

E Siemens AG 2002. All rights reserved


8-128 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.6 Configuring the user interface

PCU 50 For the PCU 50 specify the texts and numbers in the text file
C:\dh\cus.dir\aluc_xx.com. If the “aluc_xx.com” file does not exist, you need to
create it in the “cus.dir” directory.
You assign a language to the texts via the name of the text file. The following
abbreviations replace ”xx” in the text file name:

Table 8-8 Language assignment

Abbreviation Language
xx
gr German
uk English
fr French
it Italian
sp Spanish
nl Dutch
fi Finnish
sw Swedish
pl Polish
tr Turkish
ch Chinese (traditional)
tw Chinese (Taiwan)
ko Korean
hu Hungarian
po Portuguese
ru Cyrillic
cz Czech
ja Japanese

Add the following line in the C:\user\mbdde.ini file in section [TextFiles]:


UserZYK=C:\dh\cus.dir\aluc_

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-129
8 Tool Management 01.02
8.7 Reading in tool data

8.7 Reading in tool data

You can read in tool data that you have defined on an external tool presetting
device directly to the ShopTurn tool management.
Save the tool data in an INI file.
You need to change the file header to the following:
;TOOL MAGAZINE ZEROPOINT,TOOL=2,MAGAZINE=0,WO=0,BWO=0
You can adapt the values for the tool and magazine.
Tool=1: Delete all existing tools in the tool management and replace
with new tools.
Tool=2: Add new tool management tools
Magazine=0: Do not evaluate magazine location number ($TC_MPP6)
Magazine=1: Evaluate magazine location number ($TC_MPP6)

Note
Please strictly adhere to the exact sequence of characters (including the
spaces) in the header. If you enter an incorrect header, when the INI file is
opened it is assessed as a G code program. If you started the program with
“Cycle Start”, the existing files in the tool management would be overwrtten by
the ones contained in the program.

You need to assign the following variables in the INI file, whereby the following
applies:
x = tool number
y = tool edge number

Table 8-9 Variable assignment

Variable Meaning Value


$TC_TP1[x] Duplo number Number
$TC_TP2[x] Tool name Name
$TC_TP3[x] With oversized tools disable half of 1: Do not disable adjacent location
adjacent location to left 2: Disable half of adjacent location to left
$TC_TP4[x] With oversized tools disable half of 1: Do not disable adjacent location
adjacent location to right 2: Disable half of adjacent location to right
$TC_TP5[x] With oversized tools disable half of With ShopTurn always 1
adjacent location on top
$TC_TP6[x] With oversized tools disable half of With ShopTurn always 1
adjacent location below
$TC_TP7[x] Load tool into magazine With ShopTurn always 1
$TC_TP8[x] Tool status Bit 1 = 1: Enable tool
Bit 2 = 1: Disable tool
$TC_TP9[x] Tool monitoring Bit 0 = 1: Tool life monitoring ON
Bit 1 = 1: Workpiece count ON
$TC_TPC1[x] Customized parameter 1
$TC_TPC2[x] Customized parameter 2
$TC_TPC4[x] Customized parameter 4

E Siemens AG 2002. All rights reserved


8-130 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 8 Tool Management
8.7 Reading in tool data

Table 8-9 Variable assignment

Variable Meaning Value


$TC_TPC5[x] Customized parameter 5
$TC_TPC6[x] Customized parameter 6
$TC_TPC8[x] Customized parameter 8
$TC_DP1[x,y] Tool type 120: cutter
200: drill
500: roughing tool
510: finishing tool
520: plunge-cutter
540: threading tool
550: button
710: 3D probe
750: fixed stop
$TC_DP2[x,y] Cutting edge position When machining behind the turning center, the
tool tip is pointing to:
1: top right
2: top left
3: bottom left
4: botton right
5: right
6: top
7: left
8: bottom
9: tool tip = tool nose center
$TC_DP3[x,y] Length X Number [mm]
$TC_DP4[x,y] Length Z Number [mm]
$TC_DP6[x,y] Radius Number [mm]
$TC_DP8[x,y] Cutting tip length Number [mm]
$TC_DP9[x,y] Cutting tip width Number [mm]
$TC_DP10[x,y] Holder angle Number [degrees]
$TC_DP11[x,y] Reference direction holder angle 1: traversing motion in negative direction, x--
2: traversing motion in positive direction, x+
3: longitudinal travel in negative direction, z--
4: longitudinal travel in positive direction, z+
$TC_DP12[x,y] Wear length X Number [mm]
$TC_DP13[x,y] Wear length Z Number [mm]
$TC_DP15[x,y] Wear radius Number [mm]
$TC_DP24[x,y] Number of teeth (milling tool) Number
or
tool tip (drill) angle Number [degrees]
or
tool clearance angle (turning tool) Number [degrees]
ShopTurn calculates the cutting tip
angle from the tool clearance angle
and displays it in the tool manage-
ment:
Cutting tip angle=180--free angle-hol-
der angle.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 8-131
8 Tool Management 01.02
8.7 Reading in tool data

Table 8-9 Variable assignment

Variable Meaning Value


$TC_DP25[x,y] Direction of spindle rotation Bit 0 = 0: spindle stop
Bit 8 = 1: spindle rotates CW
Bit 9 = 1: spindle rotates CCW
Coolant Bit 10 = 1: coolant 1 ON
Bit 11 = 1: coolant 2 ON
M function Bit 0 = 1: M function 1
Bit 1 = 1: M function 2
Bit 2 = 1: M function 3
Bit 3 = 1: M function 4
$TC_MOP2[x,y] Tool life Number [min]
$TC_MOP4[x,y] Workpiece count Number
$TC_MPP6[n,m] Magazine location number n: magazine number
m: magazine location number

You need to specify a hexadecimal value for bit-coded parameters.


If you do not define parameters, they are later given value zero in the tool
management.
You need to program the command “M30” at the end of the file.
For information about reading in tool data to the tool management, please refer
to:
References: /BAT/, ShopTurn Operating/Programming Guide.

Example ;TOOL MAGAZINE ZEROPOINT,TOOL=2,MAGAZINE=0,WO=0,WO=0


$TC_TP1[1]=1 ;Duplo number
$TC_TP2[1]=ROUGHER ;“Roughing tool”
$TC_TP3[1]=1 ;Left adjacent location unoccupied
$TC_TP4[1]=1 ;Right adjacent location unoccupied
$TC_TP5[1]=1 ;Upper adjacent location unoccupied
$TC_TP6[1]=1 ;Lower adjacent location unoccupied
$TC_TP7[1]=1 ;Magazine location type
$TC_TP8[1]=2 ;Enable tool
$TC_TP9[1]=1 ;Tool life monitoring
$TC_DP1[1,1]=500 ;Tool type roughing tool
$TC_DP2[1,1]=3 ;Cutting edge position (left bottom)
$TC_DP3[1,1]=35.92 ;Length X
$TC_DP4[1,1]=67.89 ;Length Z
$TC_DP6[1,1]=0.6 ;Radius
$TC_DP8[1,1]=14 ;Cutting tip length
$TC_DP10[1,1]=93 ;Holder angle
$TC_DP11[1,1]=3.0 ;Reference direction holder angle
;-Z direction
$TC_DP24[1,1]=2 ;Tool clearance angle
...
M30 ;End of program
J

E Siemens AG 2002. All rights reserved


8-132 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Network connection 9
9.1 General description

Option The ”Manage network/diskette drive” function is an option and can be ordered
with Order No. 6FC5 463-0FA03-0AA0.

Function ShopTurn can set up network management in the Program Manager operating
area. You can use this function to display directories and files

S located on a server,
S located e.g. in an archive file on the hard disk,
S read in via a diskette drive.
The Program Manager operating area provides up to 5 softkeys in the
horizontal softkey bar. Softkey ”NC” (1st softkey) is permanently configured.
This key is used to display the directories and files on the NC and the data
management directory on the hard disk. You can customize the other 4 softkeys
via the display machine data.
For how to install the network, please refer to
References: /IAM/, IM2, Installation and Startup HMI Embedded
IM4, Installation and Startup HMI Advanced.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 9-133
9 Network Connection 01.02
9.2 Integrating Windows network drives in ShopTurn

9.2 Integrating Windows network drives in ShopTurn

Setting up network ShopTurn’s Program Manager operating area provides up to 4 softkeys in the
management horizontal softkey bar for network management. You can customize softkeys 2
to 5 via the display machine data.

Note
Please note that you can only link directories from other servers if they are
enabled.

9.2.1 PCU 20

Proceed as follows to integrate the Windows network drives:

Define drive names In text file “aluc.txt”, enter the drive name for the 2nd to 5th softkey in the
horizontal softkey bar.
The following syntax applies:
[text number] 0 0 [softkey text]
Assign the softkey texts to the following text numbers:
Softkey2: 89901
Softkey3: 89902
Softkey4: 89903
Softkey5: 89904
The two parameters 2 and 3 separated by blanks are control characters for text
output and must be 0.

Note
You can obtain a line break in the softkey text by using two consecutive blanks.
Each line can contain up to 9 characters.

The text file “aluc.txt” resides in each language directory.

Example You want to name the 2nd horizontal softkey ”NETZ1” in German in the
ShopTurn Program Manager.
You must make the following entry in text file ”aluc.txt”:
89901 0 0 ”NETZ1”

E Siemens AG 2002. All rights reserved


9-134 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 9 Network Connection
9.2 Integrating Windows network drives in ShopTurn

Specifying drive In display MD 9676 to 9679 enter the correct drive path for each softkey.
paths The following display machine data are available:
Softkey2: MD 9676 $MM_CMM_DIRECTORY_SOFTKEY_PATH1
Softkey3: MD 9677 $MM_CMM_DIRECTORY_SOFTKEY_PATH2
Softkey4: MD 9678 $MM_CMM_DIRECTORY_SOFTKEY_PATH3
Softkey5: MD 9679 $MM_CMM_DIRECTORY_SOFTKEY_PATH4
The display machine data are described in Chapter 6 ”Machine data”.

Example Directory Workpieces_1 is located on server 1. You want to be able to display it


via the horizontal softkey ”NETZ1”.
Therefore you need to make the following entry in MD 9676:
\\Server1\Workpieces_1

9.2.2 PCU 50

Proceed as follows to integrate the Windows network drives:

Define drive names In text file C:\dh\cus.dir\aluc_xx.com, enter the drive name for the 2nd to 5th
softkey in the horizontal softkey bar. If the “aluc_xx.com” file does not exist, you
need to create it in the “cus.dir” directory.
The following syntax applies:
[text number] 0 0 [softkey text]
The softkeys are assigned to the following text numbers in file ”aluc_xx.com”:
Softkey2: 89901
Softkey3: 89902
Softkey4: 89903
Softkey5: 89904
The two parameters 2 and 3 separated by blanks are control characters for text
output and must be 0.

Note
You can obtain a line break in the softkey text by using two consecutive blanks.
Each line can contain up to 9 characters.

You assign a language to the texts via the name of the text file. The following
abbreviations replace ”xx” in the text file name:

Table 9-1 Language assignment

Abbreviation Language
xx
gr German
uk English
fr French
it Italian
sp Spanish

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 9-135
9 Network Connection 01.02
9.2 Integrating Windows network drives in ShopTurn

Table 9-1 Language assignment

Abbreviation Language
xx
nl Dutch
fi Finnish
sw Swedish
pl Polish
tr Turkish
ch Chinese (traditional)
tw Chinese (Taiwan)
ko Korean
hu Hungarian
po Portuguese
ru Cyrillic
cz Czech
ja Japanese

Add the following line in the C:\user\mbdde.ini file in section [TextFiles]:


UserZYK=C:\dh\cus.dir\aluc_

If file “mbdde.ini” does not exist in the specified directory, you will have to create
it first.

Example You want to name the 2nd horizontal softkey ”NETZ1” in German in the
ShopTurn Program Manager.
You must make the following entry in text file ”aluc_gr.com”:
89901 0 0 ”NETZ1”
Add the following line in the C:\user\mbdde.ini file in section [TextFiles]:
UserZYK=C:\dh\cus.dir\aluc_

Specifying drive In display MD 9676 to 9679 enter the correct drive path for each softkey.
paths The following display machine data are available:
Softkey2: MD 9676 $MM_CMM_DIRECTORY_SOFTKEY_PATH1
Softkey3: MD 9677 $MM_CMM_DIRECTORY_SOFTKEY_PATH2
Softkey4: MD 9678 $MM_CMM_DIRECTORY_SOFTKEY_PATH3
Softkey5: MD 9679 $MM_CMM_DIRECTORY_SOFTKEY_PATH4
The display machine data are described in Chapter 6 ”Machine data”.

Example Directory Workpieces_1 is located on server 1. You want to be able to display it


via the horizontal softkey ”NETZ1”.
Therefore you need to make the following entry in MD 9676:
\\Server1\Workpieces_1
J

E Siemens AG 2002. All rights reserved


9-136 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Access Protection via Password and
Keyswitch
10
10.1 General

Access rights User access to programs, data and functions is restricted on the basis of 8
hierarchical protection levels. These are divided into (see Table 12-1):

S 4 password levels for Siemens, machine manufacturer and end user and
S 4 keyswitch settings for end user.
A multi-level safety system for controlling access rights is thus provided.

Table 10-1 Access protection

Prot. level Type User Access to (examples)

0 Pass- Siemens All functions, programs and data


word

1 Pass- Machine manufacturer: Defined functions, programs and data;


word Development e.g.: Enter options

2 Pass- Machine manufacturer: Defined functions, programs and data;


word Start-up engineer e.g.: Most machine data settings

3 Pass- End user: Assigned functions, programs and data


word Service

4 Key- End user: Less than protection level 0 to 3;


switch Programmer as defined by machine manufacturer or
setting 3 Machine setter end user

5 Key- End user: Less than protection level 0 to 3; Decreasing


switch Qualified operator, as defined by end user access rights
setting 2 who is not a programmer

6 Key- End user: Example:


switch Trained operator, Only program selection, tool wear input
setting 1 who is not a programmer and input of zero offsets

7 Key- End user: Example:


switch Semi-skilled operator No inputs or program selection
setting 0 permitted, inputs via machine control panel only

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 10-137
10 Access Protection via Password and Keyswitch 01.02
10.1 General

Features of
access protection S Protection level 0 offers the highest access authorization and protection
level 7 the lowest.

S If a particular access right is assigned to a protection level, then the same


right will be automatically available on all higher protection levels.

S By the same token, an access right for a particular protection level can only
be changed from a higher protection level.

S The access rights on protection levels 0 to 3 are set as Siemens defaults.


S Access authorization is set through scanning of the current key-
switch position and a comparison of password entries. In this case, a
password entry overwrites the access rights associated with the keyswitch
position.

S Options can be saved on all protection levels, but option data can only be
input on protection levels 0 and 1.

S The access rights for protection levels 4 to 7 are merely suggested settings
and can be altered by the machine manufacturer or end user.

E Siemens AG 2002. All rights reserved


10-138 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 10 Access Protection via Password and Keyswitch
10.2 Password

10.2 Password

Set password The passwords for the 4 available password levels with their respective
access authorization can be entered in the DIAGNOSIS operating area through
selection of softkey SET PASSWORD.
References: /BA/, “Operator’s Guide”

Reset Please note that a password remains valid until the access authorization
password is intentionally reset again by means of softkey DELETE PASSWORD.
In other words, the access authorization is not automatically deleted by a
POWER ON!

Permitted Up to 8 characters can be used in the password. We recommend that you


characters restrict yourself to the character set of the operator panel in selecting a
password. In passwords with less than 8 characters, the remaining characters
are interpreted as blanks.

Default passwords The following default passwords are defined for protection levels 1 to 3:
Protection level 1 SUNRISE
Protection level 2 EVENING
Protection level 3 CUSTOMER

Note
These passwords are entered as the defaults on system power-up in start-up
mode (NCK start-up switch in position 1).
The default passwords should be changed in order to guarantee reliable
access protection.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 10-139
10 Access Protection via Password and Keyswitch 01.02
10.3 Keyswitch positions (DB10, DBX56.4 to 7)

10.3 Keyswitch positions (DB10, DBX56.4 to 7)

Keyswitch The keyswitch of SINUMERIK 840D/810D or SINUMERIK FM-NC has four


positions to which protection levels 4 to 7 are assigned. A keyswitch has three
different keys that can be withdrawn in different positions (see table 10-2).
Functions can be assigned to the key positions by the machine manufactuer or
end user. Access to programs, data, and functions can be set in the machine
data (see Section 10.4 “Machine data for protection levels”).
The keyswitch positions are transferred to the PLC interface (interface signals
“Keyswitch positions 0 to 3” (DB10, DBX56.4 to 7) and can be evaluated by the
PLC user program.
Keyswitch position 0 has access rights of the lowest priority and position 3
access rights of the highest priority. For example, all data which can be
changed in positions 0, 1 or 2, can also be changed in keyswitch position 3.

Application of The keyswitch can be used to inhibit access to certain data areas. This
keyswitch protective function can be used, for example, to prevent the operator from
making unintentional changes to geometry data (e.g. zero offsets) or activating
program controls (e.g. selection of dry run feedrate).

Table 10-2 Keyswitch positions 0 to 3

Switch position Key removal position DB10, DBB56 Prot. level

Position 0 -- Bit 4 7

Position 1 0 or 1 Bit 5 6
Black key

Position 2 0 or 1 or 2 Bit 6 5
Green key

0 or 1 or 2
Position 3 or 3 Bit 7 4
Red key

Control of PLC The PLC interface signals (“Keyswitch positions 0 to 3”) can be input either
user program directly via the keyswitch on the machine control panel or by the PLC user
program. Only one interface signal may be set at a time. If several interface
signals are set simultaneously, keyswitch position 3 is activated internally in the
control.

E Siemens AG 2002. All rights reserved


10-140 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 10 Access Protection via Password and Keyswitch
10.4 Machine data for protection levels

10.4 Machine data for protection levels

Lockable The machine manufacturer or end user can set operator panel machine data to
data areas assign the appropriate protection levels for individual functions and data areas.
For a number of data types, it is possible to input different protection levels for
read and write access authority.
The machine data which can be “locked” by means of protection levels in
ShopTurn are listed below:
Operator panel machine data Access to
9182 USER_CLASS_INCH_METRIC Inch/metric switchover
9200 USER_CLASS_READ_TOA Read tool offsets
9201 USER_CLASS_WRITE_TOA_GEO Write tool geometry
(including type and tool edge)
9202 USER_CLASS_WRITE_TOA_WEAR Write tool wear
(without limit value)
9210 USER_CLASS_WRITE_ZOA Write settable zero offsets
9215 USER_CLASS_WRITE_SEA Write setting data
9216 USER_CLASS_READ_PROGRAM Read program
9217 USER_CLASS_WRITE_PROGRAM Write/edit programs
9218 USER_CLASS_SELECT_PROGRAM Enable program selection
9222 USER_CLASS_WRITE_RPA Write R parameters
9252 USER_CLASS_TM_SKTOOLLOAD Enable loading of a tool
9253 USER_CLASS_TM_SKTOOLUNLOAD Enable unloading of a tool
9258 USER_CLASS_TM_SKNCNEWTOOL Enable setting up of a new tool
9259 USER_CLASS_TM_SKNCDELTOOL Enable deleting of a tool
9510 USER_CLASS_DIRECTORY1_P Enable network drive 1
9511 USER_CLASS_DIRECTORY2_P Enable network drive 2
9512 USER_CLASS_DIRECTORY3_P Enable network drive 3
9513 USER_CLASS_DIRECTORY4_P Enable network drive 4

Default These machine data are assigned protection level 7 by default during the
setting standard start-up procedure. All these data areas and functions can thus be
accessed and altered in keyswitch position 0.
The protection level defaults may need to be changed by the machine
manufacturer or end user. They can also be set to protection levels 0 to 3.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 10-141
10 Access Protection via Password and Keyswitch 01.02
10.4 Machine data for protection levels

Notes

E Siemens AG 2002. All rights reserved


10-142 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Miscellaneous Functions 11
11.1 Configuring the customer boot screen

11.1.1 PCU 20

You can create your own customized screen (e.g. with your company’s logo)
and display it when the control is powered up.
Please proceed as follows to configure the customer power-up display:
1. Create your own start-up screen in 16 color mode. The maximum screen
size is 224x224 pixels for the OP010/OP010C/OP010S and 352x352 pixels
for the OP015.
2. Save the start-up screen in bitmap format as CUSTOM.BMP.
3. Run file app_inst.exe (see Subsection 2.2.1 “Start-up on PCU 20”).
4. Select <2> “Modify configuration”.
5. Select <6> “Add user specific files to the application”.
6. Specify the path for file CUSTOM.BMP.
The customer boot screen is added to the application software.
7. Press Esc to return to the main menu.
8. Exit the software installation on the PC card (see Subsection 2.2.1 “Start-up
on PCU 20”).
9. Load the PC card to the PCU 20 (see Subsection 2.2.1 “Start-up on
PCU 20”).
10. Set MD 9675 $MM_CMM_CUSTOMER_START_PICTURE to value 1.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 11-143
11 Miscellaneous Functions 01.02
11.1 Configuring the customer boot screen

11.1.2 PCU 50

You can create your own customized screen (e.g. with your company’s logo)
and display it when the control is powered up.
Please proceed as follows to configure the customer power-up display:
1. Create your own start-up screen in 16 color mode. The maximum screen
size is 224x224 pixels for the OP010/OP010C/OP010S and 352x352 pixels
for the OP015.
2. Save the start-up screen in bitmap format as CUSTOM.BMP.
3. Copy file CUSTOM.BMP to directory F:\DH\CUS.DIR\HLP.DIR.
4. Set MD 9675 $MM_CMM_CUSTOMER_START_PICTURE to value 1.

E Siemens AG 2002. All rights reserved


11-144 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 11 Miscellaneous Functions
11.2 Cylinder surface transformation, end face machining

11.2 Cylinder surface transformation, end face machining

11.2.1 General

You can use the cylinder surface transformation and end face machining
functions to machine the peripheral and end faces of a turned part. The
functions only need to be set up in the machine data.

S Face-end machining main spindle: transformation 1


MD 24100 $MC_TRAFO_TYPE_1=256

S Face-end machining counterspindle: transformation 2


MD 24200 $MC_TRAFO_TYPE_2=256

S Cylinder surface transformation main spindle: transformation 3


MD 24300 $MC_TRAFO_TYPE_3=512

S Cylinder surface transformation counterspindle: transformation 4


MD 24400 $MC_TRAFO_TYPE_4=512

Note
You need to set up additional machine data for the individual transformations
(see Subsection 11.2.2 “Setting an axis configuration using an example”).

The ”cylinder surface transformation” and ”end face machining” functions are
automatically integrated in the ShopTurn cycles, with the exception of ”straight
line” and ”circle”. You can call the functions for these two cycles in operating
area Program under Straight line Arc, Tool.
References: /BAT/, ShopTurn Operating/Programming Guide

11.2.2 Example of how to set an axis configuration

You will need to configure 2 sets of data with the following machine data for a
turning machine with X and Z axis, main spindle (C) and tool spindle (T):
20080 $MC_AXCONF_CHANAX_NAME_TAB[0]=”XC”
Channel axis XC
20080 $MC_AXCONF_CHANAX_NAME_TAB[1]=”ZC”
Channel axis ZC
20080 $MC_AXCONF_CHANAX_NAME_TAB[2]=”C”
Channel axis C
20080 $MC_AXCONF_CHANAX_NAME_TAB[3]=”T”
Channel axis T

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 11-145
11 Miscellaneous Functions 01.02
11.2 Cylinder surface transformation, end face machining

Set of data for face-end machining main spindle:


24100 $MC_TRAFO_TYPE_1=256
Definition of 1st transformation in channel:
TRANSMIT main spindle
24110 $MC_TRAFO_AXES_IN_1[0]=1
Channel axis perpendicular to rotary axis (XC) for
1st transformation
24110 $MC_TRAFO_AXES_IN_1[1]=3
Channel axis of rotary axis (C) for 1st transformation
24110 $MC_TRAFO_AXES_IN_1[2]=2
Channel axis parallel to rotary axis (ZC) for 1st transformation
24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1[0]=1
1st channel axis (X) for 1st transformation
24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1[1]=3
2nd channel axis (Z) for 1st transformation
24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1[2]=2
3rd channel axis (Y) for 1st transformation
24900 $MC_TRANSMIT_ROT_AX_OFFSET_1=0
Offset of rotary axis for 1st TRANSMIT transformation
24910 $MC_TRANSMIT_ROT_SIGN_IS_PLUS_1=0
Sign of rotary axis for 1st TRANSMIT transformation
24911 $MC_TRANSMIT_POLE_SIDE_FIX_1=1
Restriction of working area in front of/behind pole,
1st TRANSMIT transformation
24920 $MC_TRANSMIT_BASE_TOOL1_[0]=0
Vector of basic tool for 1st TRANSMIT transformation

Set of data for cylinder surface transformation main spindle:


24300 $MC_TRAFO_TYPE_3=512
Definition of 3rd transformation in channel: TRACYL main spindle
24310 $MC_TRAFO_AXES_IN_3[0]=1
Channel axis perpendicular to rotary axis (XC) for
3rd transformation
24310 $MC_TRAFO_AXES_IN_3[1]=3
Channel axis of rotary axis (C) for 3rd transformation
24310 $MC_TRAFO_AXES_IN_3[2]=2
Channel axis parallel to rotary axis (ZC) for 3rd transformation
24320 $MC_TRAFO_GEOAX_ASSIGN_TAB_3[0]=1
1st channel axis (X) for 3rd transformation
24320 $MC_TRAFO_GEOAX_ASSIGN_TAB_3[1]=3
2nd channel axis (Z) for 3rd transformation
24320 $MC_TRAFO_GEOAX_ASSIGN_TAB_2[3]=3
2nd channel axis (Y) for 3rd transformation
24800 $MC_TRACYL_ROT_AX_OFFSET_1=0
Offset of rotary axis for 1st TRACYL transformation
24810 $MC_TRACYL_ROT_SIGN_IS_PLUS_1=1
Sign of rotary axis for 1st TRACYL transformation
24820 $MC_TRACYL_BASE_TOOL_1[n]=0
Vector of basic tool for 1st TRACYL transformation

E Siemens AG 2002. All rights reserved


11-146 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 11 Miscellaneous Functions
11.3 Machine manufacturer cycle

11.3 Machine manufacturer cycle

The machine manufacturer cycle ST_CUST.SPF is called by the ShopTurn


cycles.
Adapt the cycle if you want to perform one of the following actions:

S Switch between spindle and C axis mode of the main or counterspindle.


S Immobilize or release the turning axes (main/counterspindle)
S Rinse chuck (main/counterspindle)
S Engage/disengage rotating tool (establish/release connection to drive)
S Configure special functions for switchover between machining planes
(You do not have to make any settings for cylinder surface transformation or
face end machining with the C axis.)

S Position, move out or move in receptacle for parting


S Configure special functions for tool change
(these special functions are called up after the T command is output.)
The cycle is stored in the toolbox under tools\cycles\d.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 11-147
11 Miscellaneous Functions 01.02
11.4 Spindle control

11.4 Spindle control

The spindle control is not supported by the ShopTurn PLC blocks.


For spindle configuration, please see
References: /FB1/, Description of Functions, Basic Machine, Spindles
(S1).

E Siemens AG 2002. All rights reserved


11-148 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 11 Miscellaneous Functions
11.5 Configuring the user screenform

11.5 Configuring the user screenform

With the help of ”Expanding the operator interface” you can generate your own
user screenforms that include specific function expansions (e.g. your own
cycles and measuring cycles) or simply your own screenform layout.
References: /IAM/, Installation and Start-up Guide HMI,
BE1 Expanding the Operator Interface

Entry softkeys You can call up the screenforms you have configured with the following entry
softkeys:
Basic display Machine Manual: Horizontal softkey 8
Basic display Machine Auto: Horizontal softkey 6
Basic display Messages/Alarms: Horizontal softkeys 7 and 8
Basic display Tools/zero offsets: Horizontal softkey 7
You can call up the cycles you have configured via the following entry softkeys:
Basic display Program: Drilling: Vertical softkey 6
Turning: Vertical softkey 6
Milling: Vertical softkey 6
Miscellaneous: Vertical softkey 4
Any of your own measuring cycles that are to replace the ShopTurn cycles for
tool measurement can be called up with the following entry softkey:
Basic display Manual: Measure Tool: Vertical softkeys 1 to 7

Note
Cycles generated with ”Expanding the Operator Interface” can be displayed
and edited in the work schedule but not displayed as a programming graphic.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 11-149
11 Miscellaneous Functions 01.02
11.5 Configuring the user screenform

11.5.1 Chaining cycles you have configured yourself in the work


schedule

If you want to chain cycles you have configured yourself with existing program
steps in the work schedule, you must configure the following variables.
At the beginning, you must define three variables that are not used until the
program step is inserted in the ShopTurn work schedule. This means that you
need to assign the attribute invisible (wr0) to the variable input field. The
following variable sequence is applicable:
1. Variable for the follow-on tool, data type string (S)
2. Variable for position identification in objects, data type integer
3. Variable for the sequencer text that is to be displayed in the ShopTurn work
schedule, data type character string (S)
The easiest way to assign a value to this variable is in a LOAD method.
Furthermore, 2 variables must be defined for cycle processing and one variable
for each toggle field; its contents are displayed differently on the operator
interface (e.g. mm/rev) from how they are transferred internally (e.g. 1).
These variables do not have their own input fields, i.e. the attribute must also be
assigned invisibly (wr0). You can place the variables in any order.

Note
When using an OUTPUT method, all variables described above must be
configured in this method so that they can also be interpreted when
recompiled.

Example In the toolbox you will find an example cycle F_DR_O1.SPF. The associated
user interface is configured in file F_DR_O1.COM. The German and English
texts are stored in files F_DR_TXD.COM and F_DR_TXE.COM.
Please, see the readme.txt file for installation of the cycle.

E Siemens AG 2002. All rights reserved


11-150 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 11 Miscellaneous Functions
11.5 Configuring the user screenform

11.5.2 Linking in your own measuring cycles

When configuring your own cycles for ”Tool measurement”, vertical softkey 8
(VS8) in the new cycles screenform has a special meaning. All actions that the
new measuring cycle is supposed to perform after the ”cycle start” key has been
pressed must be defined in a PRESS method for VS8. If you press the ”cycle
start” button, NC code is generated that is written and executed in a program,
i.e. the function Generate Code (GC) must be programmed in the PRESS
method for VS8. That also means that an OUTPUT method has to be defined.

Note
The user does not have to press the VS8 but is triggered internally when the
”cycle start” key is pressed. The VS8 must therefore not be labeled.

Example In the toolbox, you will find an example cycle F_MS_O1.SPF. The associated
user interface is configured in file F_MS_O1.COM. The German and English
texts are stored in files F_MS_TXD.COM and F_MS_TXE.COM.
Please, see the readme.txt file for installation of the cycle.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 11-151
11 Miscellaneous Functions 01.02
11.5 Configuring the user screenform

11.5.3 Sample screens

There are sample screes for the following topics:

S Tailstock
S Workpiece gripper
S Bar loader
If you want to use these screens, adapt them to your machine properties.
Archive file “equipment.arc” in the “Equipment” directory in the toolbox contains
the cycles and user interfaces. The associated texts are imported together with
the alarm texts when you install ShopTurn.
A readme file with information about how to install is also located in the same
directory as the archive file.
The screens for tailstock, workpiece gripper and bar loader are visible in the
Program operating area under Miscellaneous ----> Device. The Tailstock screen
is also provided in manual machine mode.

E Siemens AG 2002. All rights reserved


11-152 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 11 Miscellaneous Functions
11.6 Automatically generated programs

11.6 Automatically generated programs

ShopTurn creates certain programs automatically during operation.

CMM_SINGLE This program is created when you run a function in the ”Machine Manual”
operating area. The ShopTurn PLC switches internally to the ”Machine Auto”
area, runs the program ”CMM_SINGLE” and changes back to the ”Machine
Manual” operating area.

CMM_MDA The G code blocks programmed under ”MDA” are saved in this program.

INPUT_DATA_MM The last parameter values entered in a screen are saved in these programs,
INPUT_DATA_IN depending on the unit of measurement. (INPUT_DATA_MM = values with unit of
measurement ”mm”; INPUT_DATA_IN = values with unit of measurement ”inch”)

REM_DATA Data to be retained after the machine is switched off are stored in this program.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 11-153
11 Miscellaneous Functions 01.02
11.7 ShopTurn Open (PCU 50)

11.7 ShopTurn Open (PCU 50)

ShopTurn Open and ShopTurn Classic differ by means of the standard menu
bar/expanded menu bar. With ShopTurn Open you can no longer change into
the CNC ISO operator interface; instead the HMI Advanced operating areas
“Parameters” (without tool management and zero offset), “Services”,
“Diagnostics” and “Start-up” are located directly on the expanded softkey bar.
In addition, in ShopTurn Open you can integrate Windows applications in the
standard menu bar via softkeys.
You must also install the Windows applications in the “OEM” directory and
define them in the “Regie.ini” file. Please refer to the ShopTurn CD-ROM:
References: User’s Guide HMI Programming Package Part 1 (BN).

11.7.1 Standard menu bar

Go You can integrate the Windows applications in the standard menu bar in
different ways:

S Horizontal softkey 4, i.e. Messages/Alarms operating area is replaced


S Unassigned horizontal softkeys 7 and 8
S Unassigned softkeys 1 to 8 in the expanded horizontal softkey bar

Return There are three ways to get from the Windows application to another operating
area:

S If you select the “Menu Select” key on the operator panel, you will return to
the standard menu bar where you can press a softkey to select another
operating area.

S You can configure keys “Position”, “Program”, “Offset”, “Program Manager”,


“Alarm” and “Custom” on the operator panel so that upon activation, you will
change directly to another operating area or to another submenu.

S You can configure so-called “PLC keys” to change to another operating area
or submenu.
References: /IAM/, Installation Guide HMI, Supplementing Operator
Interface (BE1) Keyword “OP hotkeys” and “PLC keys”

E Siemens AG 2002. All rights reserved


11-154 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 11 Miscellaneous Functions
11.8 Support for cycles and measuring cycles in the G code editor

11.8 Support for cycles and measuring cycles in the G code


editor

You can include screens in the G code editor to provide support for
programming drilling, milling, turning and measuring cycles. You can also
recompile these cycles automatically.
Set up a link between the softkeys you want to use to call the measuring cycle
support and the configuration file for this support screen in file COMMON.COM
(in the user cycle directory CUS.DIR):
sc8493=aeditor.com ;drilling (horizontal softkey 3)
sc8494=aeditor.com ;milling (horizontal softkey 4)
sc8495=aeditor.com ;turning (horizontal softkey 5)
sc8402=aeditor.com ;measuring milling (horizontal softkey 2 on
;the expanded softkey bar)
sc8403=aeditor.com ;measuring turning (horizontal softkey 3 on
;the expanded softkey bar)
For more information, please consult:
References: /IAM/, Installation & Start-up Guide HMI,
BE1 Supplementing the Operator Interface

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 11-155
11 Miscellaneous Functions 01.02
11.9 Operator status display (PCU 50)

11.9 Operator status display (PCU 50)

You can display machine states controlled via the PLC as custom user icons in
the program status line.

Program status line

Fig. 11-1 Program status line

You need to activate user icon display in the display MD 9052


SHOW_CHANNEL_SPANNING_STATE.
The program path of the currently selected program is shown in the line below
together with the program name.
16 display positions are defined in the program status line.

User The custom user icons must meet the following requirements:
icons
S Colors: 16-color mode
S Size: OP010/OP010C/OP010S: 16 x 16 pixels
OP015: 27 x 26 pixels (height x width)

S File name: 8 characters


S Format: BMP
Save the user icons you have customized for the OP010/OP010C/OP010S or
OP015 in the F:\DH\CUS.DIR\HLP.DIR. directory.

HEADER.INI Enter the names of your custom user icons in the HEADER.INI file in section
UserIcons together with the signal for controlling symbol selection.

Note
If you have already made these entries for HMI Advanced, you do not need to
make them again for ShopTurn.

[UserIcons]
UI_0= <icon_00.bmp>, <position>
UI_0: Identifier
icon_00.bmp: Name of the user icons
position: Position for display (1 to 16)
...
UI_31= <icon_31.bmp>, <position>

E Siemens AG 2002. All rights reserved


11-156 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 11 Miscellaneous Functions
11.9 Operator status display (PCU 50)

USER_ICON_BASE = DBx.DBBy
DBx.DBBy: Signal defined by user for
controlling icon selection
File HEADER.INI is located in the F:\HMI_ADV directory. You need to copy it to
directory F:\OEM or F:\USER.
The user icons are addressed bit by bit, i.e. if bit n is set in signal DBx.DBBy,
then the user icon with identifier UI_n is set.
If the bit is reset by the PLC, the associated user icon is deleted in the program
status display.
If several user icons are assigned to the same position, the user icon with the
highest identifier number is displayed.
You do not need to specify blank positions.

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 11-157
11 Miscellaneous Functions 01.02
11.10 OP hotkeys, PLC keys

11.10 OP hotkeys, PLC keys

OP hotkeys You can configure keys “Position”, “Program”, “Offset”, “Program Manager”,
“Alarm” and “Custom” on the operator panel so that upon activation, you will
change directly to the required operating area.

PLC keys You can configure so-called “PLC keys” to change to specific operating areas.

For information about how to configure the keys, please refer to:
References: /IAM/, Installation Guide HMI, Supplementing the Operator
Interface (BE1) Keyword “OP hotkeys” and “PLC keys”.

E Siemens AG 2002. All rights reserved


11-158 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 11 Miscellaneous Functions
11.11 Counterspindle

11.11 Counterspindle

If your turning machine has a counterspindle, you can machine workpieces with
turning, drilling and milling functions on the front and reverse side without
having to rechuck the workpiece manually.
Before machining the reverse side, the counterspindle must grip the workpiece,
pull it out of the main spindle and position it at the new machining position.

Setup When you set up the counterspindle, use the following machine data:
9803 $MM_ST_INDEX_AXIS_4: axis index slide counterspindle
9806 $MM_ST_INDEX_SPINDLE_SUB: axis index counterspindle
9812 $MM_ST_GEAR_STEPS_SPINDLE_SUB: gear steps counterspindle
9823 $MM_ST_DISPL_DIR_SUB_SPIND_M3: direction of rotation with M3
9825 $MM_ST_DISPL_DIR_SUB_C_AX_INV: direction of rotation C axis with
M3
The position which the counterspindle travels to at program start is defined in
the following machine data:
9851 $MM_ST_CYCLE_SUB_SP_WORK_POS: retraction position of the
counterspindle
If the counterspindle is to travel to fixed stop when gripping, ShopTurn will
evaluate the following machine data:
9852 $MM_ST_CYCLE_SUB_SP_DIST: travel to fixed stop, distance
9853 $MM_ST_CYCLE_SUB_SP_FEED: travel to fixed stop, feed
9854 $MM_ST_CYCLE_SUB_SP_FORCE: travel to fixed stop, force
The counterspindle can travel back a short distance between travel to fixed stop
and gripping, to counteract compressive stress in the workpiece.
9857 $MM_ST_CYCLE_RET_DIST_FIXEDSTOP: retraction distance for
relieving compressive stress after travel to fixed stop
After gripping you can cut off the workpiece. Before doing so, the counterspindle
can travel back a short distance with the workpiece to exert tensile stress on the
workpiece. This relieves pressure on the tool when cutting off.
9858 $MM_ST_CYCLE_RET_DIST_PART_OFF: Retraction distance for tensile
stress before cut-off
After cut-off, ShopTurn performs a cut-off control procedure using the following
machine data:
9859 $MM_ST_CYCLE_PART_OFF_CTRL_DIST: cut-off control, distance
9860 $MM_ST_CYCLE_PART_OFF_CTRL_FEED: cut-off control, feed
9861 $MM_ST_CYCLE_PART_OFF_CTRL_FORC: cut-off control, force

Dimensions To determine the reference point for traversing the counterspindle, you must
make the dimensions known to the counterspindle.

For more detailed information as well as information about machining with the
counterspindle, please refer to:
References: /BAT/, ShopTurn Operating/Programming Guide.
J

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition 11-159
11 Miscellaneous Functions 01.02
11.11 Counterspindle

Notes

E Siemens AG 2002. All rights reserved


11-160 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Abbreviations A
ASUB Asynchronous SUBprogram

BP Basic Program

CCU Compact Control Unit

COM Communication

CNC Computerized Numerical Control

CPU Central Processing Unit

DB Data Block

DBB Data Block Byte

DBX Data Block Bit

DRAM Dynamic Random Access Memory

FB Function Block

FC Function Call, function block on the PLC

GUD Global User Data

HPU Handheld Programming Unit

HSK Horizontal Softkey

INC INCrement: incremental dimension

IS Interface Signal

ISA Industry Standard Architecture

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition A-161
A Abbreviations 01.02

MCP Machine Control Panel

MD Machine Data

MMC Man Machine Communication: User interface of SINUMERIK systems for


operator control, programming and simulation

MPF Main Program File: NC part program (main program)

MPI Multipoint Interface

NC Numerical Control

NCK Numerical Control Kernel (kernel with block preparation, traversing range, etc.)

NCU Numerical Control Unit: NC module

OB Organization Block on the PLC

PC Personal Computer

PCMCIA Personal Computer Memory Card International Association

PG Programming unit

PLC Programmable Logic Controller

RAM Random Access Memory in which data can be read and written

RS-232 Serial interface


(definition of interchange circuit between DTE and DCE)

SD Setting Data

SK Softkey

SPF SubProgram File

SRAM Static Random Access Memory (buffered)

T Tool

TC Tool Change

E Siemens AG 2002. All rights reserved


A-162 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 A Abbreviations

TO Tool Offset

TOOLMAN Tool Management

WO Work Offset

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition A-163
A Abbreviations 01.02

Notes

E Siemens AG 2002. All rights reserved


A-164 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
References B
General Documentation

/BU/ SINUMERIK 840D/840Di/810D/802S, C, D


Ordering Information
Catalog NC 60
Order No.: E86060-K4460-A101-A9-7600

/ST7/ SIMATIC
SIMATIC S7 Programmable Logic Controllers
Catalog ST 70
Order No.: E86 060-K4670-A111-A3

/Z/ SINUMERIK, SIROTEC, SIMODRIVE


Accessories and Equipment for Special-Purpose Machines
Catalog NC Z
Order No.: E86060-K4490-A001-A8-7600

Electronic Documentation

/CD6/ The SINUMERIK System (01.02 Edition)


DOC ON CD
(includes all SINUMERIK 840D/840Di/810D/FM-NC
and SIMODRIVE publications)
Order No.: 6FC5 298-6CA00-0BG2

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition B-165
B References 01.02

User Documentation

/AUK/ SINUMERIK 840D/810D


Short Guide AutoTurn Operation (11.01 Edition)
Order No.: 6FC5 298-4AA30-0BP3

/AUP/ SINUMERIK 840D/810D


AutoTurn Graphic Programming System (11.01 Edition)
Programming/Setup
Order No.: 6FC5 298-4AA40-0BP3

/BA/ SINUMERIK 840D/810D


Operator’s Guide MMC (10.00 Edition)
Order No.: 6FC5 298-6AA00-0BP0

/BAD/ SINUMERIK 840D/810Di/810D


Operator’s Guide HMI Advanced (11.01 Edition)
Order No.: 6FC5 298-6AF00-0BP1

/BAE/ SINUMERIK 840D/810D


Operator’s Guide Unit Operator Panel (04.96 Edition)
Order No.: 6FC5 298-3AA60-0BP1

/BAH/ SINUMERIK 840D/840Di/810D


Operator’s Guide HT 6 (HPU new) (11.01 Edition)
Order No.: 6FC5 298-0AD60-0BP2

/BAK/ SINUMERIK 840D/840Di/810D


Short Operator’s Guide (02.01 Edition)
Order No.: 6FC5 298-6AA10-0BP0

/BAM/ SINUMERIK 840D/810D


Operator’s Guide ManualTurn (08.00 Edition)
Order No.: 6FC5 298-5AD00-0BP1

/BAP/ SINUMERIK 840D/840Di/810D


Operator’s Guide Handheld Programming Unit (04.00 Edition)
Order No.: 6FC5 298-5AD20-0BP1

/BAS/ SINUMERIK 840D/810D


Operator’s Guide ShopMill (12.01 Edition)
Order No.: 6FC5 298-6AD10-0BP0

E Siemens AG 2002. All rights reserved


B-166 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 B References

/BAT/ SINUMERIK 840D/810D


Operator’s Guide ShopTurn (01.02 Edition)
Order No.: 6FC5 298-6AD50-0BP1

/BEM/ SINUMERIK 840D/810D


Operator’s Guide HMI Embedded (11.01 Edition)
Order No.: 6FC5 298-6AC00-0BP1

/BNM/ SINUMERIK 840D/840Di/810D


User’s Guide Measuring Cycles (09.01 Edition)
Order No.: 6FC5 298-6AA70-0BP1

/DA/ SINUMERIK 840D/840Di/810D


Diagnostics Guide (09.01 Edition)
Order No.: 6FC5 298-6AA20-0BP1

/KAM/ SINUMERIK 840D/810D


Short Guide ManualTurn (04.01 Edition)
Order No.: 6FC5 298-5AD40-0BP0

/KAS/ SINUMERIK 840D/810D


Short Guide ShopMill (04.01 Edition)
Order No.: 6FC5 298-5AD30-0BP0

/KAT/ SINUMERIK 840D/810D


Short Guide ShopTurn (07.01 Edition)
Order No.: 6FC5 298-6AF20-0BP0

/PG/ SINUMERIK 840D/840Di/810D


Programming Guide Fundamentals (09.01 Edition)
Order No.: 6FC5 298-6AB00-0BP1

/PGA/ SINUMERIK 840D/840Di/810D


Programming Guide Advanced (09.01 Edition)
Order No.: 6FC5 298-6AB10-0BP1

/PGK/ SINUMERIK 840D/840Di/810D


Short Guide Programming (02.01 Edition)
Order No.: 6FC5 298-6AB30-0BP1

/PGM/ SINUMERIK 840D/840Di/810D


Programming Guide ISO Milling (10.01 Edition)
Order No.: 6FC5 298-6AC20-0BP1

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition B-167
B References 01.02

/PGT/ SINUMERIK 840D/840Di/810D


Programming Guide ISO Turning (10.01 Edition)
Order No.: 6FC5 298-6AC10-0BP1

/PGZ/ SINUMERIK 840D/840Di/810D


Programming Guide Cycles (09.01 Edition)
Order No.: 6FC5 298-6AB40-0BP1

/PI/ PCIN 4.4


Software for Data Transfer to/from MMC Module
Order No.: 6FX2 060 4AA00-4XB0 (German, English, French)
Order from: WK Fürth

/SYI/ SINUMERIK 840Di


System Overview (02.01 Edition)
Order No.: 6FC5 298-6AE40-0BP0

Manufacturer/Service Documentation

a) Lists

/LIS/ SINUMERIK 840D/840Di/810D


SIMODRIVE 611D
Lists (09.01 Edition)
Order No.: 6FC5 297-6AB70-0BP1

b) Hardware

/BH/ SINUMERIK 840D/840Di/810D


Operator Components Manual (HW) (09.01 Edition)
Order No.: 6FC5 297-6AA50-0BP1

/BHA/ SIMODRIVE Sensor


Absolute Encoder with PROFIBUS-DP
User Guide (HW) (02.99 Edition)
Order No.: 6SN1197-0AB10-0YP1

/EMV/ SINUMERIK, SIROTEC, SIMODRIVE


EMC Installation Guide
Planning Guide (HW) (06.99 Edition)
Order No.: 6FC5 297-0AD30-0BP1

E Siemens AG 2002. All rights reserved


B-168 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 B References

/PHC/ SINUMERIK 810D


Configuring Manual (HW) (12.01 Edition)
Order No.: 6FC5 297-4AD10-0BP1

/PHD/ SINUMERIK 840D


NCU 561.2-573.2 Configuring Manual (HW) (06.02 Edition)
Order No.: 6FC5 297-6AC10-0BP2

/PHF/ SINUMERIK FM-NC


NCU 570 Configuring Manual (HW) (04.96 Edition)
Order No.: 6FC5 297-3AC00-0BP0

/PMH/ SIMODRIVE Sensor


Measuring System for Main Spindle Drives
Configuring/Installation Guide, SIMAG-H (HW) (05.99 Edition)
Order No.: 6SN1197-0AB30-0BP0

c) Software

/FB1/ SINUMERIK 840D/840Di/810D


Description of Functions Basic Machine (Part 1) -- (09.01 Edition) --
(the various sections are listed below)
Order No.: 6FC5 297-6AC20-0BP1
A2 Various Interface Signals
A3 Axis Monitoring, Protection Zones
B1 Continuous Path Mode, Exact Stop and Look Ahead
B2 Acceleration
D1 Diagnostic Tools
D2 Interactive Programming
F1 Travel to Fixed Stop
G2 Velocities, Setpoint/Actual-Value Systems, Closed-Loop Control
H2 Output of Auxiliary Functions to PLC
K1 Mode Group, Channel, Program Operation Mode
K2 Axes, Coordinate Systems, Frames,
Actual-Value System for Workpiece, External Zero Offset
K4 Communication
N2 EMERGENCY STOP
P1 Transverse Axes
P3 Basic PLC Program
R1 Reference Point Approach
S1 Spindles
V1 Feeds
W1 Tool Compensation

/FB2/ SINUMERIK 840D/840Di/810D(CCU2)


Description of Functions Extended Functions (Part 2) --(09.01 Edition)--
including FM-NC: Turning, Stepper Motor
(the various sections are listed below)
Order No.: 6FC5 297-6AC30-0BP1

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition B-169
B References 01.02

A4 Digital and Analog NCK I/Os


B3 Several Operator Panels and NCUs
B4 Operation via PG/PC
F3 Remote Diagnostics
H1 Jog with/without Handwheel
K3 Compensations
K5 Mode Groups, Channels, Axis Replacement
L1 FM-NC Local Bus
M1 Kinematic Transformation
M5 Measurement
N3 Software Cams, Position Switching Signals
N4 Punching and Nibbling
P2 Positioning Axes
P5 Oscillation
R2 Rotary Axes
S3 Synchronous Spindles
S5 Synchronized Actions (up to and including SW 3)
S6 Stepper Motor Control
S7 Memory Configuration
T1 Indexing Axes
W3 Tool Change
W4 Grinding

/FB3/ SINUMERIK 840D/840Di/810D(CCU2)/FM-NC


Description of Functions Special Functions (Part 3) -- (09.01 Edition) --
(the various sections are listed below)
Order No.: 6FC5 297-6AC80-0BP1
F2 3-Axis to 5-Axis Transformation
G1 Gantry Axes
G3 Cycle Times
K6 Contour Tunnel Monitoring
M3 Coupled Motion and Leading Value Coupling
S8 Constant Workpiece Speed for Centerless Grinding
T3 Tangential Control
V2 Preprocessing
W5 3D Tool Radius Compensation
TE1 Distance Control
TE2 Analog Axis
TE3 Master-Slave for Drives
TE4 Transformation Package for Handling
TE5 Setpoint Exchange
TE6 MCS Coupling
TE7 Continue machining -- Retrace Support
TE8 Cycle-independent path-synchronous switching signal output

/FBA/ SIMODRIVE 611D/SINUMERIK 840D/810D


Description of Functions Drive Functions (12.01 Edition)
(the various sections are listed below)
Order No.: 6SN1 197-0AA80-0BP8
DB1 Operational Messages/Alarm Reactions
DD1 Diagnostic Functions
DD2 Speed Control Loop
DE1 Extended Drive Functions
DF1 Enable Commands
DG1 Encoder Parameterization

E Siemens AG 2002. All rights reserved


B-170 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 B References

DM1 Calculation of Motor/Power Section Parameters and


Controller Data
DS1 Current Loop Control
DÜ1 Monitors/Limitations

/FBAN/ SINUMERIK 840D/SIMODRIVE 611 Digital


Description of Functions
ANA Module (02.00 Edition)
Order No.: 6SN1 197-0AB80-0BP0

/FBD/ SINUMERIK 840D


Description of Functions Digitizing (07.99 Edition)
Order No.: 6FC5 297-4AC50-0BP0
DI1 Start-Up
DI2 Scanning with Tactile Sensors (scancad scan)
DI3 Scanning with Lasers (scancad laser)
DI4 Milling Program Generation (scancad mill)

/FBDN/ IT Solutions
NC Data Management Server (DNC NT-2000) (05.00 Edition)
Description of functions
Order No.: 6FC5 297-5AE50-0BP1

/FBDT/ IT Solutions
NC Data Transmission (SinDNC) (03.01 Edition)
Description of functions
Order No.: 6FC5 297-1AE70-0BP0

/FBFA/ SINUMERIK 840D/840Di/810D


Description of Functions
ISO Dialects for SINUMERIK (09.01 Edition)
Order No.: 6FC5 297-6AE10-0BP1

/FBFE/ SINUMERIK 840D/810D


Description of Functions Remote Diagnosis (11.01 Edition)
Order No.: 6FC5 297-6AF00-0BP1

FE1 Remote Diagnosis


FE2 Alarm-Triggered Messaging by E-Mail: @Event

/FBH/ SINUMERIK 840D/840Di/810D


HMI Programming Package (10.01 Edition)
Order No.: (is post of the solftware supplied)

Part 1 User’s Guide


Part 2 Description of Functions

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition B-171
B References 01.02

/FBHLA/ SINUMERIK 840D/SIMODRIVE 611 Digital


Description of Functions
HLA Module (04.00 Edition)
Order No.: 6SN1 197-0AB60-0BP2

/FBMA/ SINUMERIK 840D/810D


Description of Functions ManualTurn (08.00 Edition)
Order No.: 6FC5 297-5AD50-0BP1

/FBO/ SINUMERIK 840D/810D/FM-NC


Description of Functions
Configuring of Operator Interface OP 030 (09.01 Edition)
(the various sections are listed below)
Order No.: 6FC5 297-6AC40-0BP0
BA Operator’s Guide
EU Development Environment (Configuring Package)
IK Screen Kit: Software Update and Configuration
PS Online only: Configuring Syntax (Configuring Package)
PSE Introduction to Configuring of Operator Interface

/FBP/ SINUMERIK 840D


Description of Functions C-PLC Programming (03.96 Edition)
Order No.: 6FC5 297-3AB60-0BP0

/FBR/ SINUMERIK 840D/810D


Description of Functions
SINCOM Computer Link (04.00 Edition)
IT Solutions
Order No.: 6FC5 297-5AD60-0BP0
NFL Host Computer Interface
NPL PLC/NCK Interface

/FBSI/ SINUMERIK 840D/SIMODRIVE


Description of Functions SINUMERIK Safety Integrated (03.01 Edition)
Order No.: 6FC5 297-6AB80-0BP0

/FBSP/ SINUMERIK 840D/810D


Description of Functions ShopMill (12.01 Edition)
Order No.: 6FC5 297-6AD80-0BP1

/FBST/ SIMATIC (01.01 Edition)


FM STEPDRIVE/SIMOSTEP
Description of Functions
Order No.: 6SN1 197-0AA70-0YP4

E Siemens AG 2002. All rights reserved


B-172 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 B References

/FBT/ SINUMERIK 840D/810D


Description of Functions ShopTurn (01.02 Edition)
Order No.: 6FC5 297-6AD70-0BP1

/FBSY/ SINUMERIK 840D/840Di/810D(CCU2)


Description of Functions Synchronized Actions (09.01 Edition)
for Wood, Glass, Ceramics, Presses
Order No.: 6FC5 297-6AD40-0BP1

/FBTD/ SINUMERIK 840D/810D


Description of Functions
Tool Information SINTDI with Online Help (03.01 Edition)
Order No.: 6FC5 297-6AE00-0BP0

/FBU/ SIMODRIVE 611 universal


Description of Functions (08.01 Edition)
Closed-Loop Control Component for Speed Control
and Positioning
Order No.: 6SN1 197-0AB20-0BP4

/FBW/ SINUMERIK 840D/840Di/810D


Description of Functions Tool Management (10.01 Edition)
Order No.: 6FC5 297-6AC60-0BP1

/HBI/ SINUMERIK 840Di


Manual (09.01 Edition)
Order No.: 6FC5 297-6AE60-0BP0

/PJE/ SINUMERIK 840D/810D


HMI Embedded Installation Package (08.01 Edition)
Description of Functions: Software Update and
Configuration, Installation
Order No.: 6FC5 297-6EA10-0BP0
(the publication PS Configuring Syntax is a component of the software
consignment and is available as a pdf file)

/PJFE/ SIMODRIVE
Planning Guide 1FE1 Synchronous Built-In Motors (09.01 Edition)
AC Motors for Main Spindle Drives
Order No.: 6SN1 197-0AC00-0BP1

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition B-173
B References 01.02

/PJLM/ SIMODRIVE
Planning Guide Linear Motors (06.01 Edition)
(on request)
ALL General Information about Linear Motors
1FN1 1FN1 Three-Phase AC Linear Motor
1FN3 1FN3 Three-Phase AC Linear Motor
CON Connections
Order No.: 6SN1 197-0AB70-0BP2

/PJM/ SIMODRIVE
Planning Guide Motors
Three-Phase AC Motors for Feed and
Main Spindle Drives (09.00 Edition)
Order No.: 6SN1 197-0AA20-0BP4

/PJU/ SIMODRIVE 611


Planning Guide Inverters (05.01 Edition)
Order No.: 6SN1 197-0AA00-0BP5

/POS1/ SIMODRIVE POSMO A (04.01 Edition)


Distributed Positioning Motor on PROFIBUS DP, User Manual
Order No.: 6SN2197-0AA00-0BP2

/POS2/ SIMODRIVE POSMO A (12.98 Edition)


Installation Instructions (enclosed with POSMO A)
Order No.: 462 008 0815 00

/POS3/ SIMODRIVE POSMO SI/CD/CA (08.01 Edition)


Distributed Servo Drive Technology, User Manual
Order No.: 6SN2197-0AA20-0BP1

/PPH/ SIMODRIVE
Planning Guide AC Asynchronous Motors
AC asynchronous motors for main spindle drives
1PH2, 1PH4, 1PH7 (10.01 Edition)
Order No.: 6SN1 197-0AC60-0BP0

/PPM/ SIMODRIVE
Planning Guide Hollow-Shaft Motors
Hollow-shaft motors for main spindle drives
1PM4 and 1PM6 (10.01 Edition)
Order No.: 6SN1 197-0AD03-0AP0

/S7H/ SIMATIC S7-300 (10.98 Edition)


-- Manual: Assembly, CPU Data (HW)
-- Reference Manual: Module Data
Order No.: 6ES7 398-8AA03-8AA0

E Siemens AG 2002. All rights reserved


B-174 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
01.02 B References

/S7HT/ SIMATIC S7-300 (03.97 Edition)


Manual: STEP 7, Basic Information, V. 3.1
Order No.: 6ES7 810-4CA02-8AA0

/S7HR/ SIMATIC S7-300 (03.97 Edition)


Manual: STEP 7, Reference Manuals, V. 3.1
Order No.: 6ES7 810-4CA02-8AR0

/S7S/ SIMATIC S7-300 (04.97 Edition)


FM 353 Step Drive Positioning Module
Order in conjunction with Configuring Package

/S7L/ SIMATIC S7-300 (04.97 Edition)


FM 354 Servo Drive Positioning Module
Order in conjunction with Configuring Package

/S7M/ SIMATIC S7-300 (01.01 Edition)


FM 357 Multi-Axis Module for Servo and Stepper Drives
Order in conjunction with Configuring Package

/SP/ SIMODRIVE 611-A/611-D,


SimoPro 3.1
Program for Configuring Machine-Tool Drives
Order No.: 6SC6 111-6PC00-0AAj
Order from: WK Fürth

d) Installation and
Start-Up

/IAA/ SIMODRIVE 611A


Installation and Start-Up Guide (10.00 Edition)
Order No.: 6SN 1197-0AA60-0BP6

/IAC/ SINUMERIK 810D


Installation and Start-Up Guide (10.01 Edition)
(incl. description of SIMODRIVE 611D start-up software)
Order No.: 6FC5 297-6AD20-0BP0

/IAD/ SINUMERIK 840D/SIMODRIVE 611D


Installation and Start-Up Guide (09.01 Edition)
(incl. description of SIMODRIVE 611D start-up software)
Order No.: 6FC5 297-6AB10-0BP1

/IAF/ SINUMERIK FM-NC


Installation and Start-Up Guide (07.00 Edition)
Order No.: 6FC5 297-3AB00-0BP1

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition B-175
B References 01.02

/IAM/ SINUMERIK 840D/840Di/810D


MMC/HMI Installation and Start-Up Guide (11.01 Edition)
Order No.: 6FC5 297-6AE20-0BP1
AE1 Upgrades/Supplements
BE1 Supplement Operator Interface
HE1 Online Help
IM1 Start-Up Functions for the MMC 100.2
IM2 Start-Up Functions for the HMI Embedded
IM3 Start-Up Functions for the MMC 103
IM4 Start-Up Functions for the HMI Advanced (PCU 50)
TX1 Creating Foreign Language Texts

E Siemens AG 2002. All rights reserved


B-176 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Index
E
End face machining, 11-145
A Entry softkey, 11-149

Abbreviations, A-161
Access protection, 10-137 F
Access rights, 10-137
FB, 4-39
Application disks, 2-18
FB 110, 8-111
FC, 4-39
B FC 100, 8-111
FC 30...35, 4-41
Bar loader, 11-152 FC 90, 4-41
Basic components, 1-13 Features of access protection, 10-138
Boot screen Function blocks, 4-39
PCU 20, 11-143
PCU 50, 11-144
H
C Hardware, 1-13
basic components, 1-13
Configuration file, 8-102 operator components, 1-13
variables, 8-105 HEADER.INI, 11-156
Coolant, 8-120
Customer boot screen
PCU 20, 11-143 I
PCU 50, 11-144
Initial start--up, 2-19
Cycle support, 11-155
Input signals, 5-47, 5-51
Cycles, self--configured, 11-149
Installation and start--up
Cylinder surface transformation, 11-145
PCU 20, 2-19
PCU 50, 2-22
D Installation and start-up
NC, 2-27
Data blocks, 4-40 PLC, 2-29
Data transmission, 2-17 Interface DB82, 4-42, 5-47
DB, 4-40 Interface signals, 5-47
DB71, 8-112 Interface signals for ShopTurn, 4-45
DB72, 8-114 Interlocking logic, 4-43
DB73, 8-115
DB82, 4-42
Default password, 10-139 K
Description of the diagnostics buffer signals, 5-63
Keyswitch, 10-140
Diagnostics buffer signals, 5-50
Diagnostics function for NC signals, 4-44
Display machine data, 6-68 L
tool management, 8-108
Lockable data areas, 10-141

E Siemens AG 2002. All rights reserved


SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition Index-177
Index 01.02

M S
Machine control panel, 1-15 Screenform, self--configured, 11-149
19, 1-15 Series start--up, 2-31
OP032S, 1-16 ShopTurn Classic, 2-22
Machine data, 6-65 ShopTurn Open, 11-154
display, 6-68 ShopTurn PLC program, 4-41
NC, 6-65 Software installation
ShopTurn, 6-68 application disks, 2-18
Machine manufacturer cycle, 11-147 system disks, 2-18
MD 20124, 8-99 toolbox diskettes, 2-18
Measuring cycles, 11-155 Software package, 2-17
Software start-up, 2-17
Spindle, 8-120
N Spindle control, 11-148
NC installation and start-up, 2-27 ST_CUST, 11-147
NC machine data, 6-66 Start--up
tool management, 8-96 PLC tool management, 8-109
Network, 9-133 software, 2-17
Network drive, integrating, 9-134 Start-up, tool management of the NC, 8-95
Startup
initial startup, 2-19
O series start--up, 2-31
Status display, 11-156
OP hotkeys, 11-158 Supplementary conditions, 3-33
Operator components, 1-13 System disks, 2-18
Operator status display, 11-156
Output signals, 5-48, 5-59
T
P Tailstock, 11-152
to_turn.ini, 8-123
Password, 10-139 Tool list, coolant and direction of rotation, 8-120
reset, 10-139 Tool management, 8-93
set, 10-139 blocks, 8-111
PCU 20 configuration file, 8-102
installation and start--up, 2-19 configure user interface, 8-123
installation via PC card, 2-19 coolant, 8-120
PCU 50, installation and start--up, 2-22 display machine data, 8-108
PLC NC machine data, 8-96
interface signals, 5-47 overview of functions, 8-93
OB1, 4-36 PLC start-- up, 8-109
OB100, 4-38 spindle, 8-120
program, 4-35 start-up of the NC, 7-95
program structure, 4-35 Toolbox diskettes, 2-18
toolbox diskettes, 2-18 TRACYL, 11-145
PLC installation and start-up, 2-29 TRANSMIT, 11-145
PLC keys, 11-158 Turret, manual movement, 8-121
Programs, automatically generated, 11-153
Protection levels, 10-141
U
R User screenform, 11-149
References, B-165
Reserved Functions, 7-91 W
Workpiece gripper, 11-152

E Siemens AG 2002. All rights reserved


Index-178 SINUMERIK 840D/810D ShopTurn Description of Functions (FBT) -- 01.02 Edition
Suggestions
SIEMENS AG Corrections
A&D MC BMS For Publication/Manual:
P. O. Box 3180
SINUMERIK 840D/810D
D--91050 Erlangen
ShopTurn
(Tel. + 49 (0) 180 / 5050 -- 222 [Hotline]
Fax + 49 (0) 9131 / 98 -- 2176
email: motioncontrol.docu@erlf.siemens.de) Manufacturer/Service Documentation

Description of Functions
From
Order No.: 6FC5 297--6AD70--0BP1
Name Edition: 01.02

Company/Dept. Should you come across any printing


Address errors when reading this publication,
please notify us on this sheet.
Suggestions for improvement are also
welcome.
Phone: /
Telefax: /

Suggestions and/or corrections


Overview of SINUMERIK 840D/840Di/810D Documentation (11.2001)
General Documentation User Documentation

SINUMERIK
SIROTEC
SINUMERIK SINUMERIK SIMODRIVE SINUMERIK SINUMERIK SINUMERIK SINUMERIK
840D/810D 840D/840Di/ Accessories 840D/810D/ 840D/810D 840D/840Di/ 840D/840Di/
810D FM-NC 810D 810D

Brochure Catalog Catalog AutoTurn Operator’s Guide Diagnostics Operator’s Guide *)


Ordering Info Accessories NC-Z -- Short Guide -- HT 6 (+ 840Di) Guide *) -- Short Guide
NC 60 *) -- Programming (1) -- HPU -- MMC 103
-- Setup (2) -- Unit Operator -- HMI Embedded
Panel -- HMI Advanced

User Documentation Manufacturer/Service Documentation

SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK


840D/840Di/ 840D/810D 840Di 840D/810D 840D/840Di/ 840D/810D
810D 810D

Program. Guide Operator’s Guide System Overview Description of Description of Descr. of Functions Configuring
-- Short Guide -- ManualTurn Functions Functions IT--Solutiions (HW) *)
-- Fundamentals *) -- Short Guide ManualTurn -- ManualTurn Synchronized -- Computer Link -- FM-NC
-- Advanced *) -- ShopMill -- ShopMill Actions -- Tool Requir. -- 810D
-- Cycles -- Short Guide ShopMill -- ShopTurn -- Data Management -- 840D
-- Measuring Cycles -- ShopTurn -- Data Transfer
-- ISO Turning/Milling -- Short Guide ShopTurn

Manufacturer/Service Documentation

SINUMERIK
SINUMERIK SIMODRIVE SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK
840D/840Di/ 611D 840D/840Di/ 840D/810D 840D/810D 840D/840Di/ 840D/810D
810D 840D/810D 810D 810D

Operator Description of Description of Configuring Kit Screen Kit Description of Description of


Components Functions Functions MMC 100/101 MMC 100/101 Functions Functions
(HW) *) Drive Functions *) -- Basic Machine *) -- Configuring SW Update and Tool Operator Interface
-- Extended Functions Syntax Configuration Management OP 030
-- Special Functions -- Development Kit

Manufacturer/Service Documentation

SINUMERIK
SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK SIMODRIVE
SIMODRIVE SINUMERIK SIMODRIVE SIMODRIVE SIMODRIVE SIMODRIVE SIROTEC
840D 840D/840Di/ 840D 840D
810D 611D 611D
611D

Description of Description of Installation & Lists *) Description of Description of EMC


Functions Functions Start-Up Guide *) Functions Functions Guidelines
SINUMERIK Digitizing -- FM-NC Linear Motor -- Hydraulics
Safety Integrated -- 810D Module
-- 840D/611D -- Analog Module
-- MMC/HMI

Electronic Documentation Manufacturer/Service Documentation

SINUMERIK
SIMODRIVE
SINUMERIK SINUMERIK SINUMERIK
840D/840Di/
810D 840D/ 840Di 840D/810D
611, Motors 840Di/810D

DOC ON CD *)
The SINUMERIK System
Descr. of Functions Manual Descr. of Functions
ISO Dialects for (HW + Installation Remote Diagnosis
SINUMERIK and Start-Up)
*) These documents are a minimum requirement for the control

Vous aimerez peut-être aussi