Siemens SINUMERIK 840D sl Commissioning Manual

Siemens SINUMERIK 840D sl Commissioning Manual

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents
Basesoftware and operating software
SINUMERIK
SINUMERIK 840D sl
Basesoftware and operating
software
Commissioning Manual
Valid for
Control:
SINUMERIK 840D sl/840DE sl
Software:
CNC software V4.5 SP2
SINUMERIK Operate V4.5 SP2
03/2013
6FC5397-1DP40-3BA1
___________________
Preface
___________________
SINUMERIK Operate (IM9)
SINUMERIK Integrate
___________________
Run MyScreens (BE2)
___________________
NCU operating system (IM7)
___________________
PCU-Basesoftware (IM8)
___________________
PCU Base Software (IM10)
___________________
Appendix
1
2
3
4
5
A
Table of Contents
loading

Summary of Contents for Siemens SINUMERIK 840D sl

  • Page 1 NCU operating system (IM7) SINUMERIK 840D sl ___________________ Basesoftware and operating PCU-Basesoftware (IM8) software ___________________ PCU Base Software (IM10) Commissioning Manual ___________________ Appendix Valid for Control: SINUMERIK 840D sl/840DE sl Software: CNC software V4.5 SP2 SINUMERIK Operate V4.5 SP2 03/2013 6FC5397-1DP40-3BA1...
  • Page 2 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 3 Training For information about the range of training courses, refer under: ● www.siemens.com/sitrain SITRAIN - Siemens training for products, systems and solutions in automation technology ● www.siemens.com/sinutrain SinuTrain - training software for SINUMERIK FAQs You can find Frequently Asked Questions in the Service&Support pages under Product Support.
  • Page 4 Preface SINUMERIK You can find information on SINUMERIK under the following link: www.siemens.com/sinumerik Target group This documentation is intended for commissioning personnel. The plant or system is readily assembled and wired. For the following steps, e.g. configuring the individual components, the Commissioning Manual contains all necessary information or at least references.
  • Page 5 (observe indicators such as arrow or similar). This way you avoid mechanical damage to the memory card or the device. ● Only use memory cards that have been approved by Siemens for use with SINUMERIK. Even though SINUMERIK follows general industry standards for memory cards, it is...
  • Page 6 Preface Basesoftware and operating software Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 7 ___________________ Tool management ___________________ Configuring alarms ___________________ Collision avoidance Valid for Data backup Control: SINUMERIK 840D sl/840DE sl ___________________ Software: Configuring the network CNC software V4.5 SP2 ___________________ SINUMERIK Operate V4.5 SP2 Configuring operator panels 03/2013 Continued on next page...
  • Page 8 Siemens AG Order number: 6FC5397-1DP40-3BA1 Copyright © Siemens AG 2006 - 2013. Industry Sector Ⓟ 04/2013 Technical data subject to change All rights reserved Postfach 48 48 90026 NÜRNBERG GERMANY...
  • Page 9 Continuation Service and diagnostics OEM-specific online help SINUMERIK Integrate - AMB, AMC, AMM SINUMERIK 840D sl SINUMERIK Operate (IM9) Safety Integrated Configuring cycles Commissioning Manual Additional language SINUMERIK Operate on PC/PCU HT 8 List of abbreviations/acronyms...
  • Page 10 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 11: Table Of Contents

    Table of contents System overview ........................... 15 System overview .......................... 15 System requirements ........................16 Principles of start-up ..........................17 Data structure of SINUMERIK Operate ..................17 Editing files ........................... 20 2.2.1 Editing the file at the controller ..................... 20 2.2.2 Editing a file externally .........................
  • Page 12 Table of contents Access levels ..........................57 6.9.1 Definition of access levels ......................57 6.9.2 Modifying the access levels password ..................58 6.9.3 Access levels for programs ......................59 6.9.4 Access rights for files ........................62 6.9.5 Access levels for softkeys ......................62 6.9.6 This is how you define new access levels for softkeys ...............
  • Page 13 Table of contents 8.10 User status display (OEM) ......................104 Simulation and simultaneous recording ....................109 Overview ............................ 109 Configuring the simulation ......................111 Reset NCK data for the simulation..................... 114 Configuring the simultaneous recording ..................114 Clamping a blank ........................116 Spindle functions ..........................
  • Page 14 Table of contents 12.3.1 Identifiers of the standard texts ....................183 12.3.2 Examples of OEM texts ......................186 12.4 Examples........................... 188 12.4.1 Example: Configuring an OEM tool list ..................188 12.4.1.1 Adapting the configuration file ....................188 12.4.1.2 Adaptation of the customer text file ................... 190 12.4.2 Example: Configuring magazine location types with names .............
  • Page 15 Table of contents 14.7.1.5 Offset and parallel offset ......................248 14.7.2 Protection areas ......................... 249 14.7.2.1 Creating protection areas ......................249 14.7.2.2 Tool protection area ........................250 14.7.2.3 Machine protection area ......................252 14.7.3 Protection area elements ......................253 14.7.3.1 Creating protection area elements ..................... 253 14.7.3.2 Frame and parallel frame protection area element ..............
  • Page 16 Table of contents 17.3 T:M:N configuration ........................304 Service and diagnostics ........................305 18.1 NC/PLC variables ........................305 18.1.1 Displaying and editing PLC and NC variables ................305 18.1.2 Saving and loading screen forms ....................309 18.2 Displaying the Service overview ....................309 18.2.1 Selecting axes ...........................
  • Page 17 Table of contents 18.11.4.2 Accessible nodes ........................368 18.12 Drive system ..........................371 18.12.1 Displaying drive states ....................... 371 18.12.2 Displaying details of the drive objects ..................372 18.13 Remote diagnostics ........................374 18.13.1 Adapting remote diagnostics ...................... 374 18.13.2 Remote diagnostics via Teleservice adapter IE at X127 ............375 18.13.3 PLC control for remote access ....................
  • Page 18 Table of contents 19.6 Generating online help for user alarms and machine data ............419 19.7 Example: This is how you create an online help for NC/PLC variables ........423 19.8 Example: This is how you create a programming online help ..........425 SINUMERIK Integrate - AMB, AMC, AMM ....................
  • Page 19 Table of contents 22.6.2 CYCLE800 checklist for the identification of the machine kinematics ........499 22.6.3 Commissioning of the kinematic chain (swivel data record) ............500 22.6.4 Examples of machine kinematics for the commissioning of the Swivel function ....... 509 22.6.5 Manufacturer cycle CUST_800.SPF ..................
  • Page 20 Table of contents HT 8 ..............................593 25.1 Configuring the traversing keys ....................593 25.2 Configuring user-specific key labeling ..................598 25.3 Configuring the function display at user-specific keys (U keys) ..........600 List of abbreviations/acronyms ......................603 Index ..............................605 SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 21: System Overview

    The following sections describe the expansions and adaptations that the machine manufacturer can make using the SINUMERIK Operate operating software. References For a description of the commissioning procedure for the SINUMERIK 840D sl controller, please refer to the following documentation: Commissioning Manual "IBN CNC: NCK, PLC, drive Commissioning Manual".
  • Page 22: System Requirements

    NCU/PCU. References A detailed description of the structure and commissioning of the system network with controller and operator components is provided in the following description: SINUMERIK 840D sl/840Di sl Operator Components and Networking SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 23: Principles Of Start-Up

    These directories have essentially an identical structure. Note The files in the “siemens” directory represent the original status and cannot be modified! Files, whose contents can be supplemented or modified, are available as templates (specimen files) in the following directories:...
  • Page 24 Principles of start-up 2.1 Data structure of SINUMERIK Operate Structure The section of the directory structure relevant for SINUMERIK Operate is shown below: siemens directory /siemens/sinumerik /hmi /appl // applications (operating areas) /base // basis system components /cfg // all configuration files...
  • Page 25 Principles of start-up 2.1 Data structure of SINUMERIK Operate addon directory /addon/sinumerik /hmi /appl // applications (operating areas) /cfg // configuration files /data // version data /hlp // online help files, zipped and version files /ico // symbol files /Ico640 // icons in resolution 640x480 /ico800 // icons in resolution 800x600...
  • Page 26: Editing Files

    As soon as the file is in the user-specific directory, the entries of this file have priority over the Siemens file. If an entry is missing in a user-specific file, the corresponding entry from the Siemens file is used instead.
  • Page 27 Select the "Start-up" operating area. Press the "System data" softkey. The data tree is displayed. For instance, on the NCU directory, "System CF card", under "siemens" open the required directory (e.g. /sinumerik/hmi/template/cfg). Position the cursor on the desired file. Press the "Copy" softkey.
  • Page 28 Principles of start-up 2.2 Editing files Rename file Select the required file. Press the ">>" and "Properties" softkeys. The "Properties of..." window opens. The following data is displayed: • Path: • Name: • Creation date and time: • Date of change and time: To change the file name, place the cursor in the "Name"...
  • Page 29: Editing A File Externally

    Principles of start-up 2.2 Editing files 2.2.2 Editing a file externally To create or edit an XML file on an external PC with Windows, use a text editor that supports the required "UTF-8" coding, e.g. "TextPad". This means that you can enter or directly insert all characters of the unicode system without rewriting them using the keyboard.
  • Page 30 Principles of start-up 2.2 Editing files Copy file Using the "WinSCP" or "RCS Commander" program, copy the file from an external computer to the NCU via a network connection – or in the opposite direction from the NCU to an external PC.
  • Page 31: Licensing

    Licensing Licenses are required for the activated options. When you purchase licenses you receive a "license key" that contains all options requiring a license and which is only valid for your CompactFlash card. Precondition If you wish to set or reset the options for a machine, you require at least access level 3 (user).
  • Page 32 Licensing License database The licenses are purchased via the Internet. There are two ways to access the license database administered by Siemens A&D: ● Web License Manager ● Automation License Manager For a detailed description, please refer to the following documentation:...
  • Page 33: Determining The License Requirement

    Licensing 3.1 Determining the license requirement Determining the license requirement Procedure Press the "All options" softkey to list all the options that can be selected for this controller. - OR - Press the "Missing lic./opt." softkey. You receive an overview of all options that •...
  • Page 34: Exporting The License Requirement

    Licensing 3.2 Exporting the license requirement Additional search option Press the "Go to beginning" softkey to start the search at the first option. Press the "Go to end" softkey to start the search at the last option. Note Use of non-licensed options Before licensing options, you can also activate them temporarily without the license keys and use them for test purposes.
  • Page 35: Reading In The License Key

    Licensing 3.3 Reading in the license key Transferring a license requirement The license information is transferred electronically with the "automation license manager". A detailed description of the license management is provided in the following documentation: References CNC Commissioning Manual: NCK, PLC, drive: Licensing Reading in the license key The newly purchased license key can be loaded to the controller as follows: ●...
  • Page 36 Licensing 3.3 Reading in the license key SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 37: Creating Drive Connections

    Creating drive connections Up to eight connections to so-called logical drives (data carriers) can be configured. These drives can be accessed in the "Program manager" and "Startup" operating areas. The following logical drives can be set up: ● USB interface ●...
  • Page 38 Creating drive connections 4.1 Setting up drives General information Entry Meaning Type No drive No drive defined. USB local Access to the USB memory medium is only realized via the TCU to which it is connected. USB drives are automatically identified if the memory medium is inserted when SINUMERIK Operate powers- USB global All of the TCUs in the plant network can access the USB...
  • Page 39 Creating drive connections 4.1 Setting up drives Entry Meaning sk_usb_front.png The icon file name displayed on the softkey. sk_local_drive.png sk_network_drive_ftp.p Text file slpmdialog File for softkey dependent on the language. If nothing is specified in the input fields, the text appears on the Text context SlPmDialog softkey as was specified in the input field "Softkey text".
  • Page 40: File "Logdrive.ini

    Creating drive connections 4.2 File "logdrive.ini" Procedure Select the "Start-up" operating area. Press the "HMI" and "Log. drive" softkeys. The "Set Up Drives" window opens. Select the data for the corresponding drive or enter the necessary data. Press the "Activate drive" softkey. The drive is activated.
  • Page 41 Creating drive connections 4.2 File "logdrive.ini" The following setting options are available for each logical drive: (The "X" at the end stands for the number of drive connections respectively.) ConnectionX Logical path of the drive, e.g. //my computer/my path SK_ConnectionX Type of connection SoftkeyIndexX Softkey position on the horizontal softkey bar.
  • Page 42 Creating drive connections 4.2 File "logdrive.ini" Syntax Meaning SoftkeyTextContext1=SlPmLogicalDrives Softkey labels SoftkeyTextFile1=slpmdialog Softkey labels SoftkeyPicture1=sk_usb_front.png The icon "sk_usb_front.png" is displayed. AccessProgram1=7 The softkey is visible as of access level 7 AccessMachine1=7 (keyswitch position 0) in the program manager. AccessServices1=7 Configuring NFS drive Syntax Meaning Connection2=//ef35161c/testshare...
  • Page 43 Creating drive connections 4.2 File "logdrive.ini" Configuring a USB drive Syntax Meaning Connection4=//TCU/TCU2/X203 USB interface X203 configured SK_Connection4=X203 Softkey inscription is "X203" SoftkeyIndex3=10 Softkey is displayed on the 2nd horizontal bar as 2nd softkey from the left SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 44 Creating drive connections 4.2 File "logdrive.ini" SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 45: Channel Menu

    Channel menu Configuring a channel menu The channel menu is activated for display via the channel switchover key. The channel menu is used to switchover the NC channel displayed in the SINUMERIK Operate or more precisely at the operator station. If a channel menu has been configured, when the channel switchover key is pressed, the channel menu for the channel switchover is displayed to make the appropriate operator action.
  • Page 46: Constraints

    Channel menu 5.2 Constraints Using the channel menu ● For a system comprising several operator stations and several NCUs within the framework of operator unit management, if the NC channels of several NCKs are operated from one operator station. ● For a simple system with many NC channels, as an alternative to the standard mechanism, the channel switchover can be made using the channel switchover key.
  • Page 47 Channel menu 5.4 Defining channel groups in the "netnames.ini" file A certain NC channel of a specific NCU is always a switchover target that can be selected. A switchover to another channel triggered via the channel menu can implicitly mean switchover to another NCU.
  • Page 48: Defining Channel Groups In The "Netnames.ini" File

    Channel menu 5.4 Defining channel groups in the "netnames.ini" file Defining channel groups in the "netnames.ini" file Defining channel groups All channel groups that are used at the system are defined in the "netnames.ini" file. Independent of the specific operator stations. A separate section [CH_GRP_x] (1 <= x <= 32) should be created for every channel group.
  • Page 49: Configuring Operating Stations In The "Config.ini" File

    Channel menu 5.5 Configuring operating stations in the "config.ini" file Member.Text = NCU730_K1 Softkey text for the display in the channel menu (vertical softkey). If, for "Target" a channel number is specified, then instead of a text, using the fixed value "$MC_CHAN_NAME", it can also be defined that the text to be displayed should be the channel name defined in...
  • Page 50 Channel menu 5.5 Configuring operating stations in the "config.ini" file Configuring with SNC 1. The operator stations are listed via the "OPs" tab. 2. The "Set/Modify properties for "TCU"" is opened after selecting an OP and pressing the "Properties" button. 3.
  • Page 51: Example: Settings For 1:N

    ● A PCU with SINUMERIK Operate can be connected to a maximum of four NCUs. ● SINUMERIK Operate must be switched off on all NCUs. ● The following configuration files must be adapted: siemens/sinumerik/hmi/template/cfg/netnames.ini siemens/sinumerik/hmi/template/cfg/mmc.ini This is illustrated in the following sections using an example with 1 PCU and 2 NCUs.
  • Page 52 Channel menu 5.6 Example: Settings for 1:N Example netnames.ini ;****************************************************************** netnames.ini - EXAMPLE - ; This is an example of a netnames.ini for 1:N NCU-switching in ; a configuration of 3 NCU and a PCU50. ;******************************************************************* [own] owner = HMI ;*************************** ;...
  • Page 53: Distribution Via Job Lists In The Case Of 1:N

    Channel menu 5.7 Distribution via job lists in the case of 1:N Solution In the OB100 (call for FB1), set MCP1BusAdr to 255 and MCP1Stop to "true". In the OB1, scan the "MMCBTSSready" (DB10.DBX108.3) signal. If this is set, write the MCP address from DB19.DBB123 (MCP index) to the DB7.DBB27 before removing the MCP stop bit DB7.DBX62.1.
  • Page 54 Channel menu 5.7 Distribution via job lists in the case of 1:N Sample structure /user/sinumerik/data/ NCU1 NCU2 prog/JOBA.WPD JOBA.JOB WKS.DIR WKS.DIR A.MPF WKS.DIR/JOBA.WPD WKS.DIR/JOBA.WPD B.MPF WKS.DIR/JOBA.WPD/B.MPF WKS.DIR/JOBA.WPD/B.MPF UP1.SPF JOBA.WPD/UP1.SPF JOBA.WPD/UP1.SPF UP2.SPF WKS.DIR/JOBA.WPD/UP2.SPF WKS.DIR/JOBA.WPD/UP2.SPF /user/sinumerik/data/ NCU1 NCU2 prog/wks.dir/JOBA.WPD JOBA.JOB WKS.DIR WKS.DIR A.MPF WKS.DIR/JOBA.WPD WKS.DIR/JOBA.WPD...
  • Page 55 Channel menu 5.7 Distribution via job lists in the case of 1:N Restrictions: ● In the event of changes of distributed programs on the local drive using the Editor, it should be noted that only the channel states are monitored on the NCU currently connected.
  • Page 56 Channel menu 5.7 Distribution via job lists in the case of 1:N SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 57: General Settings

    General settings Changing the language The operating software is available as standard in 6 languages. Selecting a language You can define the language selection mode using the following machine data. MD9100 $MM_CHANGE_LANGUAGE_MODE Language selection mode The user-interface language is specified via the "Language Selection" window (default value).
  • Page 58: Set Date/Time

    General settings 6.2 Set date/time Defining two languages MD9100 $MM_CHANGE_LANGUAGE_MODE Language selection mode Selection of two languages. During operation, the "Change language" softkey can be used to toggle between these languages. Select the "Start-up" operating area. Press the "HMI" softkey. Press the ">>"...
  • Page 59 General settings 6.2 Set date/time Formats of the date display Formats Example d.M.yy 3.1.09 dd.MM.yy 03.01.09 dd.MM.yyyy 03.01.2009 d/M/yy 3/01/09 dd/MM/yy 03/01/09 dd/MM/yyyy 03/01/2009 M/d/yy 1/3/09 MM/dd/yy 01/03/09 MM/dd/yyyy 01/03/2009 yyyy/MM/dd 2009/01/03 The following applies: Date Description of the entry Single or double digit day of the month (1 - 31).
  • Page 60 General settings 6.2 Set date/time The following applies: Time symbol: Description of the entry Single or double digit hour (0 - 23 or 1 - 12 for am/pm). Double digit hour, with leading zero (00 - 23 or 01 - 12 for am/pm). Single or double digit hour (0 - 23 for AM/PM).
  • Page 61: Configuring Caps Lock

    The virtual keyboard is configured in the file "slguiconfig.ini". Procedure 1. Copy the "slguiconfig.ini" file from the folder /siemens/sinumerik/hmi/template/cfg. 2. Paste the copy of the file into the following directory: /oem/sinumerik/hmi/cfg or /user/sinumerik/hmi/cfg. 3. Open the file in the editor.
  • Page 62: Darken Screen

    Inserting a user-specific run up screen OEM-specific run up screen You can replace the Siemens run up screen by your own run up screen. SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 63: Switching Extcall Off

    General settings 6.8 Switching EXTCALL off Procedure: 1. Call your own run up screen " ". splash.png Note The file name must not contain any lower case letters. 2. Save your own run up screen in one of the following directories: /user/sinumerik/hmi/ico/ico640 or /oem/sinumerik/hmi/ico/ico640 or /addon/sinumerik/hmi/ico/ico640...
  • Page 64: Modifying The Access Levels Password

    General settings 6.9 Access levels There are access levels 1 to 7 (see table below); where ● 1 is the highest and ● 7 is the lowest level. Table 6- 1 Access level concept Access level Protected by Area Password: SUNRISE (default value) Manufacturer Password: EVENING (default value) Service...
  • Page 65: Access Levels For Programs

    General settings 6.9 Access levels Change password You must change the standard passwords to obtain a secure access protection. Press the "Change password" softkey. The "Change Password" window opens. Select the area (e.g. user) for which you want to assign a new password.
  • Page 66 General settings 6.9 Access levels ● Displaying or reading the contents of a directory. ● Creating or deleting a directory. Description of functions The individual allocation of access rights acts, in the passive NCK file system, on the following directories: ●...
  • Page 67 Settings in the slfsfileattributes.ini file The slfsfileattributes.ini file is available as a template in the following directory: ../siemens/sinumerik/hmi/template/cfg The values from 0 ... 7 correspond to the access levels that, for example, also apply to the password. The 4-digit numbers designate the sequence according to the following rights:...
  • Page 68: Access Rights For Files

    General settings 6.9 Access levels 6.9.4 Access rights for files Changing access rights Access rights for execution, writing, listing and reading are displayed in the "Properties" window. ● Execute: is used for the selection for execution. ● Write: controls the changing and deletion of a file or a directory. For NC files, you have the option to set the access rights from keyswitch 0 to the current access level, to be set separately for each file.
  • Page 69: This Is How You Define New Access Levels For Softkeys

    General settings 6.9 Access levels Access hierarchy A new access level can only be allocated for those softkeys that are also visible and can be used in the actual access level. Example: If a softkey is only accessible with the "Manufacturer" access level, then the access level cannot be changed by an operator with access level "Key-operated switch setting 3".
  • Page 70 General settings 6.9 Access levels Preconditions Access to the "Customize softkeys" is protected using a general MD51073 $MNS_ACCESS_SET_SOFTKEY_ACCESS. This machine data is pre-assigned access level 3, i.e. the function is available from "Service" password and higher. In order that an operator with "User"...
  • Page 71: Hmi Monitor

    General settings 6.10 HMI monitor Example The following access levels were changed: Softkey New access level SISuMainScreenMenuHu::0::3 Manufacturer SIMaJogMillMenuHU::jogHuMore::6 User SISuPaUserDataMenu::::4 Service Once selected, the identifier and position of the softkey are transferred to the "Softkey" column. Result When the changes have been accepted, a configuration file with the "slsoftkeyaccess.xml" name is created and is saved in the file system under the following path: ../user/sinumerik/hmi/cfg.
  • Page 72: Program Selection

    General settings 6.11 Program selection Example DB60.DBB10 for data block 60, byte 10 Reserves the bytes 10, 11, 12, 13, 14, 15, 16, 17 as HMI monitor DB60.DBB10: PLC-ID of the active operating area DB60.DBW12: PLC-ID of the window that is currently selected Note When using the HMI monitor, the corresponding variables in the PLC user interface –...
  • Page 73 General settings 6.11 Program selection Precondition To create program lists, you require the following authorization: ● "Program manager" operating area: Access level 3 (password: User) or ● "Start-up" operating area: Access level 1 (password: Manufacturer). Program lists You can create a program list by combining desired programs from the NC data, e.g. workpieces, part programs and subprograms.
  • Page 74 General settings 6.11 Program selection Place the cursor on the desired program and press the "OK" softkey. The selected program is inserted in the first line of the list together with its path. - OR - Enter the program name directly in the list. If you are making entries manually, check that the path is correct (e.g.
  • Page 75: Machine And Setting Data

    Machine and setting data Machine and setting data Overview Prefix Number ranges Machine/setting data Storage in range (softkey) 9000 - 9999 Display machine data Display MD $MNS 51000 - 51299 General configuration machine data General MD 51300 - 51999 General cycle machine data $MCS 52000 - 52299 Channel-specific configuration machine data...
  • Page 76 Machine and setting data 7.2 Displaying/editing machine data ● Machine data feed-in: Drive parameters ● I/O component parameters: Drive parameters ● Communication parameters (CULINK, DMC): Drive parameters Note The display of the machine data / drive parameters depends on the configuration of your control.
  • Page 77 Machine and setting data 7.2 Displaying/editing machine data Procedure Select the "Start-up" operating area. Press the "Mach. data" softkey. Additional softkeys for the individual machine data areas are displayed. Press the "General MD", "Channel MD", or "Axis MD" softkey. The window opens and the selected machine data is displayed. Place the cursor on a machine data item.
  • Page 78: Displaying/Editing Display Machine Data

    Machine and setting data 7.3 Displaying/editing display machine data Press the "Direct selection..." softkey. The "Axis Direct Selection" window opens. Select the required axis directly from those available in the drop-down list box. Press the "OK" softkey to save the setting. - OR - Press the "Cancel"...
  • Page 79: Displaying/Editing Setting Data

    Machine and setting data 7.4 Displaying/editing setting data Displaying/editing setting data You can access the following setting data via the user interface in the "Startup" operating area. ● General setting data ● Channel-specific setting data ● Axis-specific setting data Procedure Select the "Start-up"...
  • Page 80: Displaying/Editing Drive Parameters

    Machine and setting data 7.5 Displaying/editing drive parameters Axis/channel selection If several components are available for the area selected (e.g. "Axis SD" or "Channel SD"), you can choose from the following options: Press the "Axis +" or "Axis -" or "Channel +" or "Channel -" softkey. The values of the next (+) and the previous axis/channel (-) are displayed.
  • Page 81 Machine and setting data 7.5 Displaying/editing drive parameters Procedure Select the "Start-up" operating area. Press the "Mach. data" softkey. The "Control unit parameters", "Supply MD" and "Drive MD" softkeys are displayed. Press the softkey of an area to show its parameters. Place the cursor on the desired parameter.
  • Page 82: Machine Data Display Filter

    Hiding the expanded softkey bar The "Extended reset" softkey is defined in the "slsuconfig.ini" file. If the softkey is not to be displayed, proceed as follows: 1. Copy the "slsuconfig.ini" file from the /siemens/sinumerik/hmi/template/cfg/ directory. 2. Insert the file into the following directory: /user/sinumerik/hmi/cfg/ 3.
  • Page 83 Machine and setting data 7.6 Machine data display filter Indices from ... to The index filter refers to the machine data arrays. On the display, this machine data can be identified by the field index attached to the machine data string. Example: 10000[ index]AXCONF_MACHAX_NAME_TAB If the index filter is activated, machine data arrays are only displayed in the specified index area.
  • Page 84: Editing Machine Data And Drive Parameters

    Machine and setting data 7.7 Editing machine data and drive parameters Press the "Select all" softkey to activate all display groups. - OR - Press the "Deselect all" softkey. All checkmarks are removed and you can select individual display groups. Editing machine data and drive parameters 7.7.1 Editing hexadecimal values...
  • Page 85: Editing Bico Values

    Machine and setting data 7.7 Editing machine data and drive parameters 7.7.2 Editing BICO values You can use the BICO editor to enter BICO values for drive parameters. Note BICO values can also be entered by copying and inserting or also directly entered the field. Procedure Select the "Start-up"...
  • Page 86: Searching For Data

    Machine and setting data 7.8 Searching for data Procedure Select the "Start-up" operating area. Press the "Mach. data" softkey. Select the desired drive parameter area, e.g. "Control unit MD". Select the desired parameter, e.g. "p3" and position the cursor at the entry to be changed, e.g.
  • Page 87: Managing Data

    Machine and setting data 7.9 Managing data Procedure Select the "Start-up" operating area. Press the "Mach. data" softkey. Select an area by pressing the relevant softkey. Press the "Search..." softkey and enter the required text or digit in the search screen. The cursor is positioned on the first entry that corresponds to the search term.
  • Page 88 Machine and setting data 7.9 Managing data The following option fields are available in the "Transfer Machine Data" window: ● Transfer data within the controller Only those controller objects are listed that are currently available in the controller. ● Save data to a file Additional files with the extensions .acx and .log are created for the SINAMICS parameters: –...
  • Page 89 Machine and setting data 7.9 Managing data Transfer data within the controller Position the cursor on a controller object and confirm with "OK". In the window that opens, select the target controller object and confirm with "OK". Save data to a file Position the cursor on a controller object and confirm with "OK".
  • Page 90: User Views

    Machine and setting data 7.10 User views 7.10 User views In the "User Views" window you can create and adapt all machine data relevant to a particular functionality. Machine data is individually collated to simplify the user's task. You can include additional comments when creating and/or editing user views. Note Importing user views (compatibility) If you have already created user views in HMI-Advanced, copy the *.klb files to...
  • Page 91: Creating A User View

    Machine and setting data 7.10 User views 7.10.1 Creating a user view Procedure Select the "Start-up" operating area and press the "Mach. data" softkey. Press the softkeys "User views", "Manage view" and "New view". The "New View" window opens. Enter the desired view name. Press the "OK"...
  • Page 92: Editing The User View

    Machine and setting data 7.10 User views Press the "Insert before line" or "Insert after line" softkey to insert the selected machine data at the required position in the user view. Note: You can navigate in the open user view with the mouse and select a line without closing the list box.
  • Page 93 Machine and setting data 7.10 User views Procedure Select the "Start-up" operating area and press the "Mach. data" softkey. Press the "User views" softkey. The "User Views" window opens. Press the "Edit view” softkey. Additional softkeys to edit the user view are listed.
  • Page 94: Deleting A User View

    Machine and setting data 7.10 User views Selecting a particular machine data item You can use the Search dialog box to look for a particular data item. Press the "Go to start" softkey to start the search at the first entry. Press the "Go to end"...
  • Page 95: Plain Texts For Machine And Setting Data

    Machine and setting data 7.11 Plain texts for machine and setting data 7.11 Plain texts for machine and setting data Application-specific and language-dependent plain texts can be configured for machine and setting data depending on the version [Index]. Displaying the plain texts You set the display of the plain texts using the following display machine data: MD9900 $MM_MD_TEXT_SWITCH Plain texts instead of MD identifier...
  • Page 96 Machine and setting data 7.11 Plain texts for machine and setting data Note If a machine data item has different indices and you do not specify an index for the plain text, the same plain text appears for all the indices of the machine data item. The parameters and indices must be sorted in an ascending order.
  • Page 97: Setting The Font Size Of The Actual Value Display

    Customizing the "Machine" operating area Automatic changeover The circumstances under which an automatic changeover is made into the "Machine" operating area are set in MD51040 $MNS_SWITCH_TO_MACHINE_MASK. MD51040 $MNS_SWITCH_TO_MACHINE_MASK 0 (default setting) Bit 0 = 1 For program selection in the Program Manager, an automatic change is not made into the Machine operating area.
  • Page 98: Inserting A User-Specific Logo

    8.2 Inserting a user-specific logo Inserting a user-specific logo OEM-specific logo The Siemens logo is visible in the header of the "Machine" operating area. You can replace the Siemens logo with your own logo. Procedure: 1. Name your own logo "...
  • Page 99 As soon as the file is located in the user-specific directory, the entries for this file take precedence over the Siemens file. If an entry is missing in a user-specific file, the corresponding entry from the Siemens file is used instead.
  • Page 100: Configuring The Channel Operational Message

    If the channel operational message is to be displayed immediately, "0" must • be specified as time. Procedure 1. Copy the "slmahdconfig.ini" file from the /siemens/sinumerik/hmi/template/cfg directory. 2. Place the file in the following directory: /oem/sinumerik/hmi/cfg or /user/sinumerik/hmi/cfg. 3. Open the file and make the required settings. SINUMERIK Operate (IM9)
  • Page 101 Customizing the "Machine" operating area 8.4 Configuring the channel operational message "slmahdconfig.ini" file Standard configuration [CondStopIcons] Default icon = condwait.png condstop.png ; No NC ready condstop.png ; No mode group ready condstop.png ; EMERGENCY STOP active condstop.png ; Alarm with stop active condstop.png ;...
  • Page 102 Customizing the "Machine" operating area 8.4 Configuring the channel operational message 58 = condwait.png ; Axis replacement: Axis is OEM axis 60 = condwait.png ; Coupled following axis 61 = condwait.png ; Coupled-motion following axis 62 = condwait.png ; Coupled slave axis 63 = condstop.png ;...
  • Page 103: Deactivating Program Test

    Customizing the "Machine" operating area 8.5 Deactivating program test Deactivating program test There are several program test options to test and run-in a part program that are executed using the "Program Test" function. This function is active as standard. You can select the program test in the "Machine" operating area, in the "Program control"...
  • Page 104 Customizing the "Machine" operating area 8.6 Activating the "Teach In" function MD51050 $MNS_ACCESS_WRITE_PROGRAM Protection level write part program The protection level for writing part programs is specified, default value. Set the channel-specific machine data: MD20700 $MC_REFP_NC_START_LOCK NC-Start disable without reference point Activating TEACH IN 1.
  • Page 105: Block Search

    Customizing the "Machine" operating area 8.7 Block search Block search 8.7.1 Activating block search mode Block search mode settings The following machine data can be used to set the possible variants for the block search with G-code programming: MD51028 $MNS_BLOCK_SEARCH_MODE_MASK Bit mask for the available search modes Bit 0 = 1 Block search with calculation, without approach...
  • Page 106: Multi-Channel Support

    Customizing the "Machine" operating area 8.8 Multi-channel support Settings If you activate the "Skip EXCALL" function, then you must set the following general configuration machine data: MD51028 $MNS_BLOCK_SEARCH_MODE_MASK Bit mask for the available search modes Bit 3 = 1 (33H to 3BH) For an external main program, a block search without calculation is always a fast block search.
  • Page 107: Manual Machine

    Customizing the "Machine" operating area 8.9 Manual machine Creating a multi-channel program For multi-channel machining, you require a job list with the following data: ● Program names ● Program type ● G code ● ShopTurn program ● Channel assignment Software option You require the "ShopMill/ShopTurn"...
  • Page 108 Customizing the "Machine" operating area 8.9 Manual machine Activation MD52212 $MCS_FUNCTION_MASK_TECH Cross-technology function mask Bit 8 Manual machine (ShopMill/ShopTurn) Enables MD52214 $MCS_FUNCTION_MASK_MILL Milling function screen Bit 5 Enable spindle control, tool spindle = 0 via the NC/PLC interface = 1 via the user interface Bit 6 Enable spindle control, rotating spindle = 0 via the NC/PLC interface...
  • Page 109 Customizing the "Machine" operating area 8.9 Manual machine Additional parameter assignments We recommend the following additional parameter assignments: Handwheel MD11346 $MN_HANDWH_TRUE_DISTANCE = 3 Handwheel path or velocity specification MD11602 $MN_ASUP_START_MASK bit 0, 3 =1 Ignore stop conditions for ASUB MD20150 $MC_G_CODE_RESET_VALUE [7] = 2 Delete position of the G groups;...
  • Page 110: User Status Display (Oem)

    Customizing the "Machine" operating area 8.10 User status display (OEM) 8.10 User status display (OEM) Function User icons can be displayed in the Machine operating area in the second line in the header. In this case, the program name is displayed in the right-hand field of the third line in the header.
  • Page 111 Customizing the "Machine" operating area 8.10 User status display (OEM) Superimposition With a non-unique selection (bits for multiple identifiers whose image is to be displayed at the same position): The image with the lower identifier number is superimposed with the image with the higher identifier number for the same position.
  • Page 112 Customizing the "Machine" operating area 8.10 User status display (OEM) The interface in the user DB has the following format: Start-DBB byte Bit0=1: there is something to do All bits=1: job is acknowledged by HMI Start-DBB +18 byte All bits=0: PLC can write to interface again. Start-DBB +1 word Offset for text from alpu_xx.com to be displayed;...
  • Page 113 Customizing the "Machine" operating area 8.10 User status display (OEM) Here, is the file name of the bit map and is the output position (from 1 to 16) in the display line. Multiple bit maps can be output at the same position. If more than one bit map is active simultaneously at the same position, the bit map with the highest screen number is displayed.
  • Page 114 Customizing the "Machine" operating area 8.10 User status display (OEM) SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 115: Simulation And Simultaneous Recording

    Simulation and simultaneous recording Overview Simulation Simulation is supported with its own program interpreter (SNCK) and a separate simulation- data environment in SINUMERIK Operate. The SNCK considers the complete syntax of the SINUMERIK controller family, including the possibility of incorporating special user options on the machine by comparing data with the NCK environment.
  • Page 116 Simulation and simultaneous recording 9.1 Overview Restrictions ● Very fast simulation result, this means, however, low dynamic resolution. ● For complex representations, fine recording is too slow or does not run for very complex parts. ● The simulation cannot be used for compile cycles with special kinematics. ●...
  • Page 117: Configuring The Simulation

    Simulation and simultaneous recording 9.2 Configuring the simulation Configuring the simulation Displaying machining operations Turning technology ● Conventional turning with two geometry axes ● Three spindles: Main spindle, counterspindle, tool spindle ● Counterspindle slides, tailstock as NC axis ● B axis: Aligning turning tools in the tool spindle Milling on turning machines ●...
  • Page 118 Simulation and simultaneous recording 9.2 Configuring the simulation Meaning of the axes MD52206 $MCS_AXIS_USAGE[n] Meaning of the axes in the channel [n] channel axis number No special meaning Tool spindle (driven tool) Auxiliary spindle (driven tool) Main spindle (turning) C axis of the main spindle (turning) Counterspindle (turning) C axis of the counterspindle (turning) Linear axis of the counterspindle (turning)
  • Page 119 Simulation and simultaneous recording 9.2 Configuring the simulation In the channel-specific machine data, for at least one geometry axis per channel enter a value other than 0.0, e.g. 0.001. If the value is 0.0, the system assumes that this parameter has still not been set.
  • Page 120: Reset Nck Data For The Simulation

    Simulation and simultaneous recording 9.3 Reset NCK data for the simulation Reset NCK data for the simulation If an alarm, designated with the Power On symbol occurs during simulation, then you must reset the simulation and then reload again. Procedure Select the "Start-up"...
  • Page 121 Simulation and simultaneous recording 9.4 Configuring the simultaneous recording Activating the tailstock display Procedure: 1. Make the tailstock visible through selection in the program. 2. Specify the tailstock dimensions: In the operating area, select "Parameters" → "Setting data" → "Spindle chuck data". Enter parameters "ZR" and "XR" for the tailstock length and tailstock diameter.
  • Page 122: Clamping A Blank

    Simulation and simultaneous recording 9.5 Clamping a blank Clamping a blank The blank clamping function allows you to select the clamping location for the blank (unmachined part). Preconditions ● The machine must provide several clamping options. ● In order that for simulation/simultaneous recording, the rotary axes are displayed at the correct location, their positions in the machine coordinate system must be specified using the following machine data: MD53220 $MAS_AXIS_MCS_POSITION[n]...
  • Page 123 Simulation and simultaneous recording 9.5 Clamping a blank Example In the program header, a blank can be optionally set to A, B, C and table clamping: Clamping View Machine data A axis MD52207 $MCS_USAGE_ATTRIB bit 0 and bit 8 = 1 B axis MD52207 $MCS_USAGE_ATTRIB bit 1 and bit 8 = 1 C axis...
  • Page 124 Simulation and simultaneous recording 9.5 Clamping a blank SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 125: Spindle Functions

    Spindle functions 10.1 Spindle control References For a detailed description to configure the spindle, see Function Manual Basic Machine: Spindles (S1) End of program The following M functions are used for the end of program: M function from Main program end Spindle continues MD10714 $MN_M_NO_FCT_EOP to run...
  • Page 126 Spindle functions 10.1 Spindle control The spindle can be started and stopped in the following state: DB21.DBX35.7= 1 Channel in reset state DB21.DBX35.6 = 1 Channel state interrupted DB21.DBX35.3 = 1 Program state interrupted Note If the spindle must be stopped when the program is running, then set the interface signal DB3x.DBX4.3, "Feed stop/spindle stop"...
  • Page 127: Analog Spindle

    Spindle functions 10.2 Analog spindle 10.2 Analog spindle Machine axis index for analog spindle For a spindle which is not assigned to any drive (FD, MSD, SLM), the power display can be controlled via the PLC. In order that the operating software identifies the spindle as analog spindle, enter the axis index of the analog spindle in the following machine data: MD51068 $MNS_SPIND_DRIVELOAD_FROM_PLC1 Machine axis index spindle 1...
  • Page 128 Spindle functions 10.3 Leadscrew error compensation Press the "Axis +" or "Axis -" softkey to select the desired axis. - OR - Press the "Select axis" softkey. The "Axis Direct Selection" window opens. Position the cursor on the desired axis and confirm with "OK". Press the "Configuration"...
  • Page 129: Drive System

    Drive system 11.1 Commissioning of drives Procedure Once commissioning of the PLC has been completed, you can carry out commissioning of the SINAMICS drives via the user interface of SINUMERIK Operate. Select the "Start-up" operating area. Press the "Drive system" softkey. The "Drive system overview"...
  • Page 130 Drive system 11.1 Commissioning of drives SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 131: Tool Management

    Tool management 12.1 Machine data for tool management 12.1.1 Settings with/without magazine management Setting without magazine management Make the following settings if you are commissioning the tool management without NC magazine management: MD18080 $MN_MM_TOOL_MANAGEMENT_MASK Memory for the tool management is reserved step-by-step (SRAM).
  • Page 132 Tool management 12.1 Machine data for tool management MD19320 $ON_TECHNO_FUNCTION_MASK =2000000H Bit 25 Enables the tool monitoring function without magazine management. Setting with magazine management Make the following settings if you are commissioning the tool management with NC magazine management: MD18080 $MN_MM_TOOL_MANAGEMENT_MASK Memory for the tool management is reserved step-by-step (SRAM).
  • Page 133: Configuring The Access Levels Of The Tool Management

    Tool management 12.1 Machine data for tool management 12.1.2 Configuring the access levels of the tool management Access levels for selected parameters MD51199 $MNS_ACCESS_WRITE_TM_GRIND Access level, write TM grinding data. MD51200 $MNS_ACCESS_WRITE_TM_GEO Access level, write TM geometry data. MD51201 $MNS_ACCESS_WRITE_TM_WEAR Access level, write TM wear data.
  • Page 134: Additional Settings

    Tool management 12.1 Machine data for tool management MD51221 $MNS_ACCESS_TM_TOOL_REACTIVATE Access level, TM, reactivate tool. MD51222 $MNS_ACCESS_TM_TOOL_MEASURE Access level, TM, measure tool. MD51223 $MNS_ACCESS_TM_TOOLEDGE_CREATE Access level, TM, create tool cutting edge. MD51224 $MNS_ACCESS_TM_TOOLEDGE_DELETE Access level, TM, delete tool cutting edge. MD51225 $MNS_ACCESS_TM_MAGAZINE_POS Access level, TM, position magazine.
  • Page 135 Tool management 12.1 Machine data for tool management Bit 5 Tool wear entries are added: Wear data is entered in addition to the already existing wear value. Bit 6 Only numerical entries are permitted in the "Tool identifier". Bit 7 Hide tool monitoring parameters.
  • Page 136 Tool management 12.1 Machine data for tool management Enabling the multitool function MD18080 $MN_MM_TOOL_MANAGEMENT_MASK The multitool function is available. 10 = 1 Enabling the graphic tool and magazine display function MD52271 $MCS_TM_MAG_PLACE_DISTANCE Distance between individual magazine locations in the unit of measurement of the basic NC system.
  • Page 137: Configuring The User Interface

    Tool management 12.2 Configuring the user interface Setting the manual tool function MD22562 $MC_TOOL_CHANGE_ERROR_MODE Response when errors occur at tool change. Bit 1 = 1 Manual tools can be loaded. Bit 2 = 1 Active D No. > 0 and active T No. = 0 generate an alarm message. Active D No.
  • Page 138 Set the "Universal" technology and set: MD52270 $MN_TM_FUNCTION_MASK bit 5 = 1. Only the grinding tool types can be then selected on the user interface. Procedure 1. Open the directory: /siemens/sinumerik/hmi/template/cfg 2. Copy the "oem_sltmlistconfig.xml" template file Note Other template for the grinding technology The "sltmaddgrindinglistconfig.xml"...
  • Page 139: General Settings

    Tool management 12.2 Configuring the user interface Configuration examples Examples for all possible configurations are provided in the template oem_sltmlistconfig.xml, which are described individually in the following sections: - ...
  • Page 140 Tool management 12.2 Configuring the user interface Entries Meaning ReactivateWithMagPos True - reactivate with positioning of the tool to the tool magazine loading point. False - default setting, reactivate without positioning the tool magazine. ReactivateAllMonitorModes True - the actual values of all the monitoring types set in the NC are reset.
  • Page 141 Tool management 12.2 Configuring the user interface Entries Meaning SortationInFirstEtcLevel True - the "Sorting" function is placed at the first softkey level. The "Continue" function is omitted. False - default setting, sorting at all softkey levels. ToolBufferOnceOnTop True - default setting, buffer is displayed at the start of the list.
  • Page 142 Tool management 12.2 Configuring the user interface Entries Meaning ActiveCompensationsEnabled The "Working offsets" function is enabled. This function depends on the machine configuration. Unique D number, magazine location adapter and magazine management must be set. False - default setting, the "Working offsets" function is not enabled.
  • Page 143 Tool management 12.2 Configuring the user interface Entries Meaning FiltersCombinedWithOr Defines the filter criteria, which are linked in the filter window using a logical OR. The default setting for all the filter criteria is a logical AND. The possible entries are: "StandBy"...
  • Page 144 Tool management 12.2 Configuring the user interface Entries Meaning ShowSymbolActiveTool Marking of the active tool. False - default setting. ShowSymbolProgrammedTool Marking of the follow-on tool. True - default setting. ShowSymbolActiveDNo Marking of the active cutting edge. False - default setting. ShowSymbolActiveDNoInTool Marking of the active tool by marking the active cutting edge.
  • Page 145: Configure The Tool Lists

    Tool management 12.2 Configuring the user interface 12.2.2 Configure the tool lists tag The entries used for configuring the following list views are located in the tag: ● "Tool List" window, identifier , see the 1st example. ●...
  • Page 146 Tool management 12.2 Configuring the user interface Note Independent of their programming, the entries are effective in the following sequence: 1. COLUMNX 2. DELETE_COLUMN 3. INSERT_COLUMN Example 1: Configuring the magazine list - magazine location and tool location type Note The columns of the list configuration cannot be taken from the display in the user interface in all cases because some columns are automatically inserted and therefore not included in the count of the configuration.
  • Page 147 Tool management 12.2 Configuring the user interface ...
  • Page 148 Tool management 12.2 Configuring the user interface Example 2: Configuring the magazine list - "Oversized tool" column is deleted Note The columns of the list configuration cannot be taken from the display in the user interface in all cases because some columns are automatically inserted and therefore not included in the count of the configuration.
  • Page 149: Tool Parameter Identifiers

    Tool management 12.2 Configuring the user interface Result ● The "OEM Tool Data" window is displayed. It automatically displays the columns shown in the figure. ● The new "OEM tools" softkey appears and can be operated. 12.2.2.1 Tool parameter identifiers Tool parameters For the tool parameters, the following identifiers are used in the configuration file: Identifier...
  • Page 150 Tool management 12.2 Configuring the user interface Identifier Parameter or property System variable ToolInMagInPlace Magazine number/Magazine location $A_TOOLMN / $A_TOOL_MLN ToolMonTCW Type of tool monitoring, tool life, workpiece $TC_TP9 count and wear. If wear monitoring has not been enabled via the machine data, this parameter is handled like ToolMonTC.
  • Page 151: Cutting Parameter Identifiers

    ToolUser_1, ... ToolUser_10 OEM tool parameters 1 to 10 $TC_TPC1, ... $TC_TPC10 ToolAppl_1, ... ToolAppl_10 Siemens application tool parameters 1 to 10 $TC_TPCS1, ... $TC_TPCS10 Parameter corresponds to the system variable or the system variable is the basis for this parameter.
  • Page 152 Tool management 12.2 Configuring the user interface Identifier Parameter or property System variable GeoLengthGeoAx2 Length of geometry axis 2, cutting parameter 5, e.g. $TC_DP5 length Y GeoRadius Radius, cutting parameter 6 $TC_DP6 GeoCornerRadius Corner radius, cutting parameter 7 $TC_DP7 GeoOutsideRadius Outside radius, cutting parameter 7 $TC_DP7 GeoBoomLength...
  • Page 153 EdgeUser_1, ..., OEM cutting parameters 1 to 10 $TC_DPC1, ... EdgeUser_10, $TC_DPC10 EdgeAppl_1, ..., Siemens application cutting parameters 1 to 10 $TC_DPCS1, ... EdgeAppl_10x $TC_DPCS10 Parameter corresponds to the system variable or the system variable is the basis for this parameter.
  • Page 154: Monitoring Parameter Identifiers

    OEM cutting edge monitoring parameters 1 to 10 $TC_MOPC1, ... EdgeSupUser_10 $TC_MOPC10 EdgeSupAppl_1, ... Siemens application cutting edge monitoring $TC_MOPCS1, ... EdgeSupAppl_10 parameters 1 to 10 $TC_MOPCS10 Parameter corresponds to the system variable or the system variable is the basis for this parameter.
  • Page 155: Magazine Location Parameter Identifiers

    Tool management 12.2 Configuring the user interface Identifier/parameter Meaning System variable MaximalDiscPeripheralVelocity Maximum grinding wheel peripheral $TC_TPG7 velocity AngleBevelDisc Angle of inclined wheel $TC_TPG8 ParamForRadiusCalculation Parameters to calculate the radius $TC_TPG9 Parameter corresponds to the system variable or the system variable is the basis for this parameter.
  • Page 156: Magazine Location Adapter Parameter Identifiers

    MagPlaceUser_1, ... OEM magazine location parameters 1 to 10 $TC_MPPC1, ... MagPlaceUser_10 $TC_MPPC10 MagPlaceAppl_1, ... Siemens magazine location parameters 1 to $TC_MPPCS1, ... MagPlaceAppl_10 $TC_MPPCS10 Parameter corresponds to the system variable or the system variable is the basis for this parameter.
  • Page 157 Tool management 12.2 Configuring the user interface Identifier Parameter or property System variable MultiToolInMag Magazine in which the multitool is located $A_TOOLMN MultiToolInPlace Magazine location containing the multitool $A_TOOLMLN MultiToolInMagInPlace Magazine number/Magazine location $A_TOOLMN / $A_TOOLMLN MultiToolMyMag Owner magazine of the multitool $A_MYMN MultiToolMyPlace Owner magazine location of the multitool...
  • Page 158: Multitool Location Parameter Identifiers

    MultiToolUser_1, ... OEM multitool parameters 1 to 10 $TC_MTPC1, ... MultiToolUser_10 $TC_MTPC10 MultiToolAppl_1, ... Siemens application multitool parameters $TC_MTPCS1, ... MultiToolAppl_10 1 to 10 $TC_MTPCS10 Parameter corresponds to the system variable or the system variable is the basis for this parameter.
  • Page 159: Configure The List Parameters

    Tool management 12.2 Configuring the user interface 12.2.3 Configure the list parameters tag In the tag, you have the following options: 1. Changing list parameters. 2. Creating new list parameters based on an existing parameter. Changing list parameters You can change all the parameters included in the system apart from the ISO parameters.
  • Page 160 Tool management 12.2 Configuring the user interface Entries Meaning UnsignedDoubleMode Unsigned values with decimal places The number of decimal places is specified in "DecimalPlaces" Length Specified length Angle Specified angle LinearFeedPerTime Linear feed in mm/minute LinearFeedPerRevolution Linear feed in mm/revolution LinearFeedPerTooth Linear feed in mm/tooth RevolutionSpeed...
  • Page 161 Tool management 12.2 Configuring the user interface Configuring new list parameters based on an existing list parameter. Assign a new parameter name and enter only the changed data: Entries Meaning Assign new parameter name See 1st example: Text "NewGeoRadius" Base Name of the parameter on which the new parameter is based.
  • Page 162 Tool management 12.2 Configuring the user interface SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 163: List Of Tool Types

    Tool management 12.2 Configuring the user interface 12.2.4 List of tool types Coding of tool types for milling tools Group with type 1xy (milling tool): Milling tool according to CLDATA (DIN 66215) Ballhead cutter (cylindrical die milling tool) Ballhead cutter (tapered die milling tool) End mill (without corner rounding) End mill (with corner rounding) Angle head cutter (without corner rounding)
  • Page 164 Tool management 12.2 Configuring the user interface Coding of tool types for grinding tools Group type 4xy (grinding tools): Grinding wheel circumference Face grinding wheel Dresser Grinding tool types 401, 402, 403 as well as 411, 412, 413 are not listed as tool types that can be selected.
  • Page 165: Configure Tool Types

    Tool management 12.2 Configuring the user interface 12.2.5 Configure tool types tag The entries used for configuring the tool types are located in the tag: Entries Meaning TOOLTYPE_XXX XXX stands for the number of the tool type. For the assignment of the tool type and number, please refer to Section "List of tool types (Page 157)".
  • Page 166 Tool management 12.2 Configuring the user interface Example SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 167: Configuring The "More Data" Window

    Tool management 12.2 Configuring the user interface 12.2.6 Configuring the "More data" window tag The entries used for configuring the "Additional Data" window are located in the tag. Various data items can be displayed for each tool type in a number of rows and columns. Each data item to be displayed is specified by entering a list parameter: Tool parameter identifiers (Page 143) Cutting parameter identifiers (Page 145)
  • Page 168: Configure The "New Tool - Favorites" Window

    Tool management 12.2 Configuring the user interface Example 12.2.7 Configure the "New tool - favorites" window tag In the tag you define the tool types that are most frequently used.
  • Page 169: Configuring The "New Tool" Window

    Tool management 12.2 Configuring the user interface 12.2.8 Configuring the "New Tool" window tag You use the "New Tool" dialog to supply a new tool with specific tool data before creating the tool or before loading the tool to a magazine location. These are typically the tool size and/or the tool location type because these parameters can no longer be changed when the tool is loaded.
  • Page 170: Configuring Default Values For New Tools

    Tool management 12.2 Configuring the user interface 12.2.9 Configuring default values for new tools tag In the tag, you can specify default values for tools that you create via the user interface. These values can be configured depending on the tool type and, if required, also depending on the cutting edge position: Entries Meaning...
  • Page 171 Tool management 12.2 Configuring the user interface ...
  • Page 172 Tool management 12.2 Configuring the user interface Tool type $TC_DP1 Default values Cutting edge $TC_DP2 Cutting direction $TC_DP11 Type 500 roughing tool Type 510 finishing tool Type 560 rotary drill Type 520 plunge cutter Type 530 cut-off tool Grinding tool types Type 540 threading tool If the ShopMill/ShopTurn option is set, the direction of spindle rotation is preassigned: Tool type $TC_DP1...
  • Page 173 Tool management 12.2 Configuring the user interface Tool type $TC_DP1 Default value $TC_DP25 Direction of spindle rotation All other tool types Bit 8 = 1 Spindle right Bit 9 = 0 Tool type $TC_DP1 Default value $TC_DP25 for switching direction Type 712 mono probe Bit 17 = 1 Bit 20 = 1...
  • Page 174: Configuring The "Details" Window

    Tool management 12.2 Configuring the user interface 12.2.10 Configuring the "Details" window tag In the tag you can make the settings at the "Detail" window: Entries Meaning ShowToolNumber The tool number is displayed in the upper right field of the "Detail" window.
  • Page 175 Tool management 12.2 Configuring the user interface Example Name for a magazine Dedicated texts can also be allocated for magazines. The text or the text identifier is entered into the magazine configuration file (ini file) of the NC.
  • Page 176: Assigning A Name For Magazine Location Types

    Tool management 12.2 Configuring the user interface Example Magazine 1 should have the name "main magazine". $TC_MAP2[1]="main magazine" If the "main magazine" text is to be output language-dependent, then the language- dependent texts for the text identifier "main magazine" must be created. See also Please refer to the following section for the procedure to create language-dependent text: Creating OEM texts (Page 182)
  • Page 177: Assignment Of Magazines To Channels

    Tool management 12.2 Configuring the user interface See also Please refer to the following section for the procedure to create language-dependent text: Creating OEM texts (Page 182) 12.2.13 Assignment of magazines to channels Requirement Turning technology has been set: Name of the associated configuration file sltmturninglistconfig.xml.
  • Page 178 Tool management 12.2 Configuring the user interface As a consequence of this configuration, the tool icons are output with reference to their position depending on the channel. Every channel can be assigned a position using the channel machine data MD52000 MCS_DISP_COORDINATE_SYSTEM. If a tool is at a magazine location which is assigned a channel via this configuration, then the tool icon is output depending on this position that has been set.
  • Page 179: Coolant And Tool-Specific Functions

    Tool management 12.2 Configuring the user interface 12.2.14 Coolant and tool-specific functions Assigning coolant (ShopMill/ShopTurn) In the tool management of ShopMill/ShopTurn, you can assign coolant and tool-specific functions to each tool. These are activated when the tool is changed. You assign the coolant to the corresponding machine functions (M functions) using the following machine data: MD52230 $MCS_M_CODE_ALL_COOLANTS_OFF M code for all coolants OFF...
  • Page 180 Tool management 12.2 Configuring the user interface However, if M functions from 100 and higher are used, then you must decode these yourself in the user PLC. In this case, you must take into consideration the number and sequence (M function 1 to M function 4).
  • Page 181 Own comment - entry is not displayed at the user interface. Procedure 1. You can copy the sample file "oem_slstepforms_deu.ts" from the following directory: /siemens/sinumerik/hmi/template/lng 2. Save or create the file in the /oem/sinumerik/hmi/lng or /user/sinumerik/hmi/lng directory. 3. Change the file name to "slstepforms_deu.ts".
  • Page 182: Reason For The Tool Change When Reactivating

    Tool management 12.2 Configuring the user interface Example of a file "slstepforms_deu.ts" SlStepLabels T_LAB_USER_MACHINE_FUNC_1 tool-specific function 1 20 SlStepToolTip T_TT_USER_MACHINE_FUNC_1 User%nMachine functions 1 25...
  • Page 183 Tool management 12.2 Configuring the user interface Tool change reasons You can adapt or expand the tool change reasons as required. The operating software provides the following pre-defined texts for the configuration: Text identifier Text TM_DGL_DESIRED_PIECES_ELAPSED Unit quantity setpoint (desired pieces) elapsed TM_DGL_TOOL_BREAKAGE Tool breakage TM_DGL_CUTTING_EDGE_DAMAGE...
  • Page 184 Tool management 12.2 Configuring the user interface Argument Meaning edgeNo Cutting edge number toolIdent Tool name toolDuplo Replacement tool number ncuName Name of the NCU reactivationReason Reason for tool change monitoringMode Monitoring type remainingBefore Remaining unit quantity/tool lifetime before reactivation Example 1 The following example uses the texts for the tool change reason, already prepared in the operating software.
  • Page 185 Tool management 12.2 Configuring the user interface Example 2 Also in this example, the prepared texts for the reason for the change are used. It is only permitted to enter one reason for the change as a valid entry. The reason for the tool change is saved in the local variable of the SlCap service.
  • Page 186: Configure The Code Carrier Connection

    Tool management 12.2 Configuring the user interface See also For configuring new parameters, see Configure the list parameters (Page 153). 12.2.16 Configure the code carrier connection Precondition Software option You require the "MC Information System TDI Ident Connection" option for this function.
  • Page 187 Tool management 12.2 Configuring the user interface 1. Creating tools for the code carrier: Figure 12-1 New tool for the code carrier The data for the code carrier tool is read and displayed in the "New Tool" window. Click OK to create the tool in the NC and to initialize it with the code carrier data. 2.
  • Page 188: Creating Oem Texts

    Tool management 12.3 Creating OEM texts Entries Meaning OnlyInLoadStation true - default setting, on the one hand, only loaded tools are stored "on code carrier", on the other hand, new tools "from code carrier" can be created only directly in the magazine. false - tools can be created independently of the "from code carrier"...
  • Page 189: Identifiers Of The Standard Texts

    Own comments - are not displayed. Procedure 1. You can copy the sample file "oem_sltmlistdialog_eng.ts" from the following directory: /siemens/sinumerik/hmi/template/lng 2. Save the file in the /oem/sinumerik/hmi/lng or /user/sinumerik/hmi/lng directory. 3. Change the file name to "sltmlistdialog_eng.ts". If you wish to create texts for additional languages, then a separate file must be created for each language.
  • Page 190 Tool management 12.3 Creating OEM texts A list of the identifiers is provided below: Identifiers of OEM tool parameters "ToolUser_1" "ToolUser_10" "ToolAppl_1" "ToolAppl_10" Column heading Tooltip TM_HL_TOOL_USER_1 ...10 TM_TT_TOOL_USER_1 ...10 TM_HL_TOOL_APPL_1 ...10 TM_TT_TOOL_APPL_1 ...10 Tool details Tool details - all parameters TM_HL_TOOL_USER_1_DETAILS ...10_DETAILS TM_HL_TOOL_USER_1_LONG...
  • Page 191 Tool management 12.3 Creating OEM texts Tool details Tool details - all parameters TM_HL_EDGE_SUPUSER_1_DETAILS ...10_DETAILS TM_HL_EDGE_SUPUSER_1_LONG ...10_LONG TM_HL_EDGE_SUPAPPL_1_DETAILS ...10_DETAILS TM_HL_EDGE_SUPAPPL_1_LONG ...10_LONG Identifiers of OEM multitool parameters "MultiToolUser_1" "MultiToolUser_10" "MultiToolAppl_1" "MultiToolAppl_10" Column heading Tooltip TM_HL_MULTITOOL_USER_1 ...10 TM_TT_MULTITOOL_USER_1 ...10 TM_HL_MULTITOOL_APPL_1 ...10 TM_TT_MULTITOOL_APPL_1 ...10 Tool details Tool details - all parameters...
  • Page 192: Examples Of Oem Texts

    Tool management 12.3 Creating OEM texts Column heading Tooltip No column TM_TT_STATE_COOL_1 ...2 TM_HL_MFCT1 ...4 TM_TT_MFCT1 ...4 12.3.2 Examples of OEM texts Example 1 with a single-line and double-line text ...
  • Page 193 Tool management 12.3 Creating OEM texts Example 2 A new parameter is configured in the following example from Section Configure the list parameters (Page 153):
  • Page 194: Examples

    Tool management 12.4 Examples TM_TT_EDGE_USER_1_Bit0 heavy tool 20 ...
  • Page 195 Tool management 12.4 Examples Example "sltmlistconfig.xml" or "sltmturninglistconfig.xml" file:
  • Page 196: Adaptation Of The Customer Text File

    Tool management 12.4 Examples
  • Page 197 Tool management 12.4 Examples TM_HL_TOOL_USER_1 %nweight priority tool...
  • Page 198: Example: Configuring Magazine Location Types With Names

    Tool management 12.4 Examples 2 TM_TT_EDGE_USER_1 maximum width%nof the tool%noverall 35 2 ...
  • Page 199 Tool management 12.4 Examples Example "sltmlistconfig.xml" or "sltmturninglistconfig.xml" file: ...
  • Page 200: Adaptation Of The Customer Text File

    Tool management 12.4 Examples ...
  • Page 201 Tool management 12.4 Examples TMMP_TT_NORMAL_TOOL normal tool,%nno restrictions 35 2 ...
  • Page 202 Tool management 12.4 Examples TMMP_TT_SENSITIVE_TOOL Notice: Tool can%nbe destroyed easily 35 2 ...
  • Page 203: Configuring Alarms

    Configuring alarms 13.1 Creating alarm and message texts via the user interface From the user interface, you can create and edit your alarm and message texts from the part program. In turn, the alarm and message texts are saved corresponding to their number in various text files.
  • Page 204 Configuring alarms 13.1 Creating alarm and message texts via the user interface Press the "Search" softkey. The "Search" window opens. Enter the desired alarm text or the alarm number in the "Text" field. Activate the "Case sensitive" checkbox if a distinction must be made between upper- and lower-case letters when entering text.
  • Page 205: Configuring Alarm And Message Texts Via Alarm Text Files

    In order that a search can be made for alarm files in subdirectories other than the existing /lng directory, you have the following option: Copy the "systemconfiguration.ini" configuration file from the following directory: /siemens/sinumerik/hmi/cfg Store the file in the following directory: /oem/sinumerik/hmi/cfg Create any subdirectory under /hmi, e.g. /oem_dir.
  • Page 206: Creating In-House Alarm Texts

    Creating an alarm text file 1. You can copy a sample file "oem_alarms_eng.ts" from the following directory: /siemens/sinumerik/hmi/template/lng 2. Save or create the file in the /oem/sinumerik/hmi/lng or /user/sinumerik/hmi/lng directory. Create a separate file for each country language that is supported.
  • Page 207 Note The names of the tag can be freely selected. They must be unique in the system and must not clash with names used by Siemens. The "Siemens_BaseName_01" name is reserved for Siemens. Several alarm text files can also be registered. To do this, use names such as "OEM_BaseName_02", "OEM_BaseName_03", etc.
  • Page 208: Creating Texts For Indexed Alarm Parameters

    Configuring alarms 13.2 Configuring alarm and message texts via alarm text files Example: Restart SINUMERIK Operate The files must still be converted into a binary format so that the alarm texts can be displayed during the program runtime.
  • Page 209 Creating an index text file 1. You can copy a sample index text file "oem_indexparams_eng.ts" from the following directory: /siemens/sinumerik/hmi/template/lng 2. Save or create the file in the /oem/sinumerik/hmi/lng or /user/sinumerik/hmi/lng directory. Create a separate file for each country language that is supported.
  • Page 210 and tags. The tags for these sections are called, e.g. , , , etc. The tags to are reserved for Siemens. Example ...
  • Page 211: Creating Part Program Message Texts

    Creating message texts Procedure: 1. You can copy a sample message text file "oem_pp_messages_eng.ts" from the following directory: /siemens/sinumerik/hmi/template/lng 2. Save or create the file in the /oem/sinumerik/hmi/lng or /user/sinumerik/hmi/lng directory. Create a separate file for each country language that is supported.
  • Page 212 Note The names of the tag can be freely selected. They must be unique in the system and must not clash with names used by Siemens. The "Siemens_BaseName_01" name is reserved for Siemens. Several message text files can also be registered. To do this, use names such as "OEM_BaseName_02", "OEM_BaseName_03", etc.
  • Page 213 Configuring alarms 13.2 Configuring alarm and message texts via alarm text files Example Message texts for several channels It is possible to assign different message texts the same message number, e.g.
  • Page 214: Changing Alarm Attributes

    Configuring alarms 13.2 Configuring alarm and message texts via alarm text files Example Restart SINUMERIK Operate The files must still be converted into a binary format so that the alarm texts can be displayed during the program runtime.
  • Page 215 Create alarm attribute file Procedure: 1. You can copy a sample alarm attribute file "oem_slaedatabase.xml" from the directory: /siemens/sinumerik/hmi/template/cfg/ 2. Save the file in the directory /oem/sinumerik/hmi/cfg/ or /user/sinumerik/hmi/cfg/ 3. Assign a unique name to the file, e.g. " muster_slaedatabase.xml ".
  • Page 216 Alarms of the SINUMERIK 840D sl. Text color of an alarm used when displayed within the header panel. ...
  • Page 217 Configuring alarms 13.2 Configuring alarm and message texts via alarm text files Background color of an alarm used when displayed within the header panel. CatLink="1" SourceID="10000" SourceURL="/HMI"> ...
  • Page 218 Note The names of the tag can be freely selected. They must be unique in the system and must not clash with names used by Siemens. The "Siemens_DataBase_01" name is reserved for Siemens. If you register additional alarm attribute files, i.e. you wish to include them in the configuration file, use names such as "OEM_DataBase_02", "OEM_DataBase_03", etc.
  • Page 219: Replacing Standard Alarm Texts

    Note The name for the tag can always be freely selected. However, the name must not clash with the " name used by Siemens. slaeconv" 4. The tag contains the alarm number of the standard alarm, e.g. 10000.
  • Page 220 Note The names of the tag can be freely selected. They must be unique in the system and must not clash with names used by Siemens. The "Siemens_BaseName_01" name is reserved for Siemens. Several alarm text files can also be registered. To do this, use names such as "OEM_BaseName_02", "OEM_BaseName_03", etc.
  • Page 221 Configuring alarms 13.2 Configuring alarm and message texts via alarm text files 5. Link the contents of the tags with the contents of the tags from your alarm text file. – = the context name that you assigned –...
  • Page 222 Note The names of the tag can be freely selected. They must be unique in the system and must not clash with names used by Siemens. The tag name is reserved for Siemens. If you register additional alarm attribute files, i.e. you wish to include them in the configuration file, use the names , , etc.
  • Page 223: Range Of Alarms

    030.000 – 039.999 Functional alarms General 040.000 – 059.999 Reserved 9999 (99th NCU) 060.000 – 064.999 Siemens cycle alarms 065.000 – 069.999 Cycle alarms user 070.000 – 079.999 Compile cycles Manufacturer and OEM 080.000 – 084.999 Siemens cycles message texts 085.000 –...
  • Page 224: Parameter Specifications In Alarm Texts

    Configuring alarms 13.2 Configuring alarm and message texts via alarm text files SourceID SourceURL /NCK/Channel#3/Partprogram /NCK/Channel#4/Partprogram /NCK/Channel#5/Partprogram /NCK/Channel#6/Partprogram /NCK/Channel#7/Partprogram /NCK/Channel#8/Partprogram /NCK/Channel#9/Partprogram /NCK/Channel#10/Partprogram 13.2.7 Parameter specifications in alarm texts Alarm texts can contain alarm parameters (accompanying values) that specify the cause of an alarm in more detail.
  • Page 225: Opening Error File

    Configuring alarms 13.2 Configuring alarm and message texts via alarm text files Parameter Description specifier Eighth parameter from the alarm data of the alarm source Only for NCK alarms: Fourth part (between the 3rd and 4th separator) of the fourth parameter from the alarm data of the alarm source.
  • Page 226: Configuring An Alarm Log

    Configuring alarms 13.3 Configuring an alarm log 13.3 Configuring an alarm log Default Per default, the alarm log contains all alarms and messages - with their incoming and outgoing time stamps - in chronological order since the last boot. The exceptions are messages from the NC part program (msg command).
  • Page 227: Setting Alarm Logs From The User Interface

    Configuring alarms 13.3 Configuring an alarm log 13.3.1 Setting alarm logs from the user interface Procedure Select the "Diagnostics" operating area. Press the "Alarm log" and "Settings" softkeys. Enter a number in the "Number of entries" field to change the maximum number of administered incoming and outgoing events.
  • Page 228: Loading Alarm Log Via Configuration File

    Loading alarm log via configuration file Creating the configuration file Adjustments are made in file "slaesvcconf.xml". Copy a sample configuration file "oem_alarmprot_slaesvcconf.xml" from the following directory: /siemens/sinumerik/hmi/template/cfg Procedure: 1. Save or create the file in the /oem/sinumerik/hmi/cfg or /user/sinumerik/hmi/cfg directory.
  • Page 229 Configuring alarms 13.3 Configuring an alarm log Entry Description EQUAL Equal to Not equal to LOWER Less than HIGHER Greater than Entry Description Numbers Character strings Cancel criteria Cancel Alarm source Description criterion (Source) (ClearInfo) /HMI Alarms that are canceled by the HMI. /NCK Alarms that are canceled by power-on of the NCU.
  • Page 230 Configuring alarms 13.3 Configuring an alarm log Examples Log all alarms with a ClearInfo not equal to 15, i.e. no part program messages: Log all alarms with the SourceURL "/NCK" or "/HMI": ...
  • Page 231 Example: Switching off existing filters To switch off the existing Siemens filter - without overwriting the filter - proceed as follows: 1. An "empty" filter switches off all previously set filters. Knowledge of the filter designation is not required.
  • Page 232: Plc Alarms With Parameters

    Configuring alarms 13.4 PLC alarms with parameters 13.4 PLC alarms with parameters Introduction For alarms that are triggered via the PLC blocks SFC17 and SFC18, a parameter can be transferred each time the block is called. If the "Octet string" data type is selected, up to 12 bytes can be transferred.
  • Page 233: Definition Of A Parameter Of The Octet String Data Type

    Configuring alarms 13.4 PLC alarms with parameters 13.4.1 Definition of a parameter of the octet string data type Parameter statement The parameter statement describes how one or more parameters can be defined with the maximum 12-bytes long octet string supplied with the alarm PDU. Syntax The following syntax applies for the parameter statement: ...
  • Page 234 Example of an alarm attribute file (how to create an alarm attribute file, see Changing alarm attributes (Page 208)): Alarms of the SINUMERIK 840D sl. ...
  • Page 235: Definition Of The Language-Dependent Formatting

    Configuring alarms 13.4 PLC alarms with parameters my_oem_plc_alarms_context|700000/PLC/PMC %1Y0%1Y1%1Y2 my_oem_plc_alarms_context|700001/PLC/PMC %1W0%1W2%1W4 ...
  • Page 236 Configuring alarms 13.4 PLC alarms with parameters %[i]b ::= Binary number with i digits %[i][.y]f ::= Fixed-point number: Signed value of the form [-]xxx.yyyy, where i specifies the total number of digits including sign and decimal point and y specifies the number of digits after the decimal point. Missing digits both before and after the decimal point are filled with 0.
  • Page 237: Deactivating A Warning

    To deactivate the warning, add the area to your "slaesvcadapconf.xml" configuration file. You can copy this area from the original file. The "slaesvcadapconf.xml" file is in the following directory: /siemens/sinumerik/hmi/base Setting In the tag, deactivate/activate the warning.
  • Page 238 Configuring alarms 13.5 Deactivating a warning SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 239: Collision Avoidance

    Collision avoidance 14.1 Overview With the aid of collision avoidance, you can avoid collisions and therefore major damage during the machining of a workpiece or when creating programs. Software option You require the "Collision avoidance (machine, working area)" software option in order to use this function.
  • Page 240 Collision avoidance 14.1 Overview Note Referenced axes The positions of the axes in the machine area must be known so that the protection areas can be monitored. For this reason, the collision avoidance is only active after the referencing. NOTICE No complete machine protection Incomplete models, (e.g.
  • Page 241: General Sequence

    Collision avoidance 14.2 General sequence 14.2 General sequence The following steps are required to create a machine model: ● Activating the option ● Setting machine data ● Create kinematic structure (with kinematic elements) ● Creating protection areas ● Creating protection area elements ●...
  • Page 242 Collision avoidance 14.3 Set collision avoidance Identifier Meaning MD18899 $MN_PROT_AREA_TOOL_MASK Creation mode for automatic tool protection areas MD51160 $MNS_ACCESS_WRITE_CA_MACH_JOG Write protection level, collision monitoring machine jog MD51161 $MNS_ACCESS_WRITE_CA_MACH_AUTO Write protection level, collision monitoring machine automatic MD51162 $MNS_ACCESS_WRITE_CA_TOOL Write protection level collision monitoring tool Note If a specific safety clearance has been set for a collision pair via the system variable $NP_SAFETY_DIST, this has priority over the NC-specific safety clearance set in the...
  • Page 243: Graphic Machine Model Editor

    Collision avoidance 14.4 Graphic machine model editor 14.4 Graphic machine model editor This is how you create the machine model from the user interface in a graphic editor that has 2 areas: ● Tree view In the "Tree" window, model the machine model based on the kinematic chain and allocated protection areas.
  • Page 244: Editing The Machine Model

    Collision avoidance 14.5 Editing the machine model 14.5 Editing the machine model Functions are available in the tree view of the graphic editor, similar to those in the program editor; these simplify creating and editing a machine model. Procedure Copying/cutting/pasting elements If you want to create a kinematic or protection area element that is similar to an already existing element, then you can save time if you copy the element and insert it at a different position.
  • Page 245 Collision avoidance 14.6 Changing and adapting the machine model view Deleting elements Place the cursor on the desired element and press the "Delete element" softkey. Press the "OK" softkey to confirm the deletion. The selected object is removed. All subsequent elements are moved into the "Free elements" folder. - OR - If the selected element is linked with additional elements, which are also to be deleted, then press the "With successors"...
  • Page 246: Changing And Adapting The Machine Model View

    Collision avoidance 14.6 Changing and adapting the machine model view 14.6 Changing and adapting the machine model view 14.6.1 Enlarging or reducing the machine graphic Precondition ● You are in the graphic machine model editor. ● The "Graphic" and "Autozoom" softkeys are active. Procedure Position the cursor in the graphic.
  • Page 247: Changing The Section Of The Machine Graphic

    Collision avoidance 14.6 Changing and adapting the machine model view 14.6.2 Changing the section of the machine graphic Use the magnifying glass if you would like to move, enlarge or reduce the size of the section when viewing the machine model, e.g. to view details and to subsequently display the complete model.
  • Page 248 Collision avoidance 14.6 Changing and adapting the machine model view Procedure Position the cursor in the graphic. Press the "Rotate view" softkey. Press the "Arrow right", "Arrow left", "Arrow up", "Arrow down", "Arrow clockwise" or "Arrow counter-clockwise" softkeys to change the position of the machine model.
  • Page 249: Various Machine Model Views

    Collision avoidance 14.6 Changing and adapting the machine model view 14.6.4 Various machine model views For the graphic display of the machine model, you can choose between various views. This allows you to always optimally view the actual machining situation. The following views are available: ●...
  • Page 250: Displaying Protection Area Elements For Collision Avoidance

    Collision avoidance 14.6 Changing and adapting the machine model view 14.6.5 Displaying protection area elements for collision avoidance In the graphic display, you can select between the following display types: ● Display model In the graphic display of the machine model, all elements are displayed where the "Display"...
  • Page 251: Creating A Kinematic Structure

    Collision avoidance 14.7 Creating a kinematic structure 14.7 Creating a kinematic structure 14.7.1 Kinematic elements 14.7.1.1 Creating a kinematic chain element An exact kinematic description of the machine is required in order to be able to detect collisions. To do this, you describe the kinematic sequence of the linear and rotary axes as well as the position and direction in relationship to the world coordinate system (ROOT).
  • Page 252: Kinematic Rotation And Parallel Kinematic Rotation

    Collision avoidance 14.7 Creating a kinematic structure Procedure Defining a ROOT element Machine data 16800 $MN_ROOT_KIN_ELEM_NAME contains the name of the ROOT element. This defines the start of the kinematic chain. All subsequent, parameterized elements and subchains that are connected with this element are part of the currently effective kinematic chain.
  • Page 253: Linear Axis And Parallel Linear Axis

    Collision avoidance 14.7 Creating a kinematic structure Element values Parameter Meaning Name Designation, which is displayed in the tree structure. Rotary axis (X) X component of the vector, around which the system rotates. Rotary axis (Y) Y component of the vector, around which the system rotates. Rotary axis (Z) Z component of the vector, around which the system rotates.
  • Page 254: Offset And Parallel Offset

    Collision avoidance 14.7 Creating a kinematic structure Display in the tree topology Dynamic rotation axes are identified by this symbol in the tree topology. Element values Parameter Meaning Name Designation, which is displayed in the tree structure. Rotary axis (X) X component of the vector, around which the system rotates.
  • Page 255: Protection Areas

    Collision avoidance 14.7 Creating a kinematic structure 14.7.2 Protection areas 14.7.2.1 Creating protection areas ● At locations where there are machine components, e.g. table or spindle in the machining area, machine protection areas are defined. ● At the positions where tools can be in the collision space, tool protection areas (e.g.
  • Page 256: Tool Protection Area

    Collision avoidance 14.7 Creating a kinematic structure Attach additional protection areas You have the option of attaching as many protection areas as you require, corresponding to your machine. See also Tool protection area (Page 250) Machine protection area (Page 252) 14.7.2.2 Tool protection area Parameterize model use in the "Tool protection area"...
  • Page 257 Collision avoidance 14.7 Creating a kinematic structure Element values Parameter Meaning Name Designation, which is displayed in the tree structure. Color Selection of the color Detail level Defines from which detail level the protection area or the protection area elements are displayed on the user interface. Lowest detail level: 0 •...
  • Page 258: Machine Protection Area

    Collision avoidance 14.7 Creating a kinematic structure 14.7.2.3 Machine protection area In the "Machine protection area" window, you model the machine parts, for example, a table. You define the parameters to monitor and display the element. Display in the tree topology Machine protection areas are identified by this symbol in the tree topology.
  • Page 259: Protection Area Elements

    Collision avoidance 14.7 Creating a kinematic structure 14.7.3 Protection area elements 14.7.3.1 Creating protection area elements To protect machine parts and tools, model a protection area with the following basic bodies: ● Frame or parallel frame ● Box or parallel box ●...
  • Page 260: Frame And Parallel Frame Protection Area Element

    Collision avoidance 14.7 Creating a kinematic structure See also Frame and parallel frame protection area element (Page 254) Box and parallel box protection area elements (Page 255) Sphere and parallel sphere protection area elements (Page 257) File and parallel 3D file protection area element (Page 261) Cylinder and parallel cylinder protection area element (Page 259) 14.7.3.2 Frame and parallel frame protection area element...
  • Page 261: Box And Parallel Box Protection Area Elements

    Collision avoidance 14.7 Creating a kinematic structure 14.7.3.3 Box and parallel box protection area elements You can specify the values for the display or collision monitoring of a box-shaped protection area element in the "Box" window. Sum of the offset and rotation between this element and the root element. Offsets and rotation from the parameters of this element.
  • Page 262 Collision avoidance 14.7 Creating a kinematic structure Parameter Meaning Detail level Defines from which detail level the protection area or the protection area elements are displayed on the user interface. Activate the checkbox "from protection area", if the detail level of •...
  • Page 263: Sphere And Parallel Sphere Protection Area Elements

    Collision avoidance 14.7 Creating a kinematic structure 14.7.3.4 Sphere and parallel sphere protection area elements You can specify the dimensions and position as well as values for the display and collision monitoring of a sphere-shaped protection area element in the "Sphere" window. Sum of the offset and rotation between this element and the root element.
  • Page 264 Collision avoidance 14.7 Creating a kinematic structure Parameter Meaning Detail level Defines from which detail level the protection area or the protection area elements are displayed on the user interface. Activate the checkbox "from protection area", if the detail level of •...
  • Page 265: Cylinder And Parallel Cylinder Protection Area Element

    Collision avoidance 14.7 Creating a kinematic structure 14.7.3.5 Cylinder and parallel cylinder protection area element You can specify the dimensions and position as well as values for the display and collision monitoring of a cylindrical protection area element in the "Cylinder" window. Sum of the offset and rotation between this element and the root element.
  • Page 266 Collision avoidance 14.7 Creating a kinematic structure Parameter Meaning Detail level Defines from which detail level the protection area or the protection area elements are displayed on the user interface. Activate the checkbox "from protection area", if the detail level of •...
  • Page 267: File And Parallel 3D File Protection Area Element

    Collision avoidance 14.7 Creating a kinematic structure 14.7.3.6 File and parallel 3D file protection area element You can specify the dimensions and position as well as values for the display and collision monitoring of a sphere-shaped protection area element in the "Sphere" window. The file used here contains a grid of triangular areas in the STL format, with which you can display bodies with complicated shapes.
  • Page 268 Collision avoidance 14.7 Creating a kinematic structure Element values Parameter Meaning Name Designation, which is displayed in the tree structure. Color Selection of the color for the protection area element. Activate the checkbox "from protection area", if the color of the •...
  • Page 269: Collision Pair

    Collision avoidance 14.7 Creating a kinematic structure Parameter Meaning Offset (X) X component of the direction vector. Offset (Y) Y component of the direction vector. Offset (Z) Z component of the direction vector. Rotary axis (X) X component of the rotation vector. Rotary axis (Y) Y component of the rotation vector.
  • Page 270: Collision Pair

    Collision avoidance 14.7 Creating a kinematic structure 14.7.4.2 Collision pair In the "Collision pair" window you define the protection areas, which should mutually monitor themselves regarding collision. Further, you select a safety clearance here. Display in the tree topology Collision pairs are identified by this symbol in the tree topology. Element values Parameter Meaning...
  • Page 271: Collision Avoidance Example

    Collision avoidance 14.8 Collision avoidance example 14.8 Collision avoidance example 14.8.1 Fundamentals General Information The following example contains the machine model elements of a simple 3-axis milling machine for a simplified kinematic chain. Machine model elements The following elements are defined for the example of the 3-axis milling machine: Element Color Direction of movement...
  • Page 272 Collision avoidance 14.8 Collision avoidance example Geometry Each machine-model element has a defined geometry and an offset vector to the element center starting with the machine zero: The following offset vectors are defined for the example of the 3-axis milling machine: Element Offset vector Tool holder...
  • Page 273 Collision avoidance 14.8 Collision avoidance example Structure of the geometric machine modeling The kinematic chain begins with the first offset kinematic element that represents the machine zero. The other kinematic elements form the linear axes X, Y and parallel Z. The protection area is used to define the basic bodies of the machine and tools.
  • Page 274: Create Machine Model Example

    Collision avoidance 14.8 Collision avoidance example 14.8.2 Create machine model example 14.8.2.1 Creating kinematic elements Offset Mark the "Active data" folder and press the "New element" softkey. A selection window with kinematic elements opens. Select the "Offset" kinematic element and press the "OK" softkey. The appropriate input window for the element values opens in the lower part of the tree view.
  • Page 275 Collision avoidance 14.8 Collision avoidance example Press the "OK" softkey to save the values. - OR - Press the "Cancel" softkey to close the input window. Linear axis Y under linear axis X Mark the "X axis" kinematic element and press the "New element" softkey.
  • Page 276: Creating Machine Protection Areas

    Collision avoidance 14.8 Collision avoidance example Enter the required values: Name: Z axis Axis (X): Axis (Y): Axis (Z): Axis name: Axis offset: Press the "OK" softkey to save the values. - OR - Press the "Cancel" softkey to close the input window. 14.8.2.2 Creating machine protection areas Stand under offset...
  • Page 277 Collision avoidance 14.8 Collision avoidance example Box element under stand Mark the "Stand" machine protection area and press the "New element" softkey. Select the "Box" protection area element and press the "OK" softkey. Enter the following values: Name: SBE stands Color: From protection area Details level: From protection area...
  • Page 278 Collision avoidance 14.8 Collision avoidance example Box element under table Mark the "Table" machine protection area and press the "New element" softkey. Select the "Box" protection area element and press the "OK" softkey. Enter the following values: Name: SBE table Color: From protection area Details level: From protection area...
  • Page 279 Collision avoidance 14.8 Collision avoidance example Box element under Z axis Select the "Z axis" machine protection area and press the "New element" softkey. Select the "Box" protection area element and press the "OK" softkey. Enter the following values: Name: SBE-Z axis Color: From protection area...
  • Page 280: Creating A Tool Protection Area

    Collision avoidance 14.8 Collision avoidance example Cylinder element under tool holder Mark the "Tool holder" machine protection area and press the "New element" softkey. Select the "Cylinder" protection area element and press the "OK" softkey. Enter the following values: Name: SBE tool holder Color: From protection area...
  • Page 281: Creating Collision Pairs

    Collision avoidance 14.8 Collision avoidance example Enter the following values: Name: Color: Details level: 0 PLC bit: Activation: Activated TO unit: Magazine: 9998 Location: Press the "OK" softkey to save the values. 14.8.2.4 Creating collision pairs Tool/table collision pair Mark the "Collision groups" folder and press the "New element" softkey. A selection window for the collision element opens.
  • Page 282 Collision avoidance 14.8 Collision avoidance example Tool holder / table collision pair Mark the "Collision groups" folder and press the "New element" softkey. A selection window for the collision element opens. Select the "Collision pair" collision element and press the "OK" softkey. The appropriate input window for the element values opens in the lower part of the tree view.
  • Page 283: Data Backup

    Data backup Data backup The following times are recommended for performing a data backup: ● After a start-up ● After changing machine-specific settings ● after replacing a hardware component ● For a software upgrade ● Before the activation of memory-configuring machine data Note A start-up archive is saved as a file of the type ".arc"...
  • Page 284: Creating A Start-Up Archive

    Data backup 15.1 Creating a start-up archive 15.1 Creating a start-up archive Overview A start-up archive can be generated, for example, after the controller has been commissioned. To do this, control components can be saved individually or jointly. It is also possible to transfer the backed-up data to other controllers so that they can be updated to the same status.
  • Page 285 Data backup 15.1 Creating a start-up archive Control components Data HMI data, selection: If data is available, you must set the tick in order to activate the components. Texts User texts, alarm texts Templates Individual templates, workpiece templates Applications HMI applications, OEM applications Configurations Configurations Configuration...
  • Page 286: Reading-In A Start-Up Archive

    Data backup 15.2 Reading-in a start-up archive Position the cursor at the required storage location, press the "Search" softkey and enter the required search term in the search dialog. Then press the "OK" softkey if you wish to search for a certain directory or subdirectory.
  • Page 287 Data backup 15.2 Reading-in a start-up archive Activate "Read-in a start-up archive" and press the "OK" softkey. The "Select Start-up Archive" window opens. Select a storage location and position the cursor at the required start-up archive (ARC). - OR - Select the required storage location, press the "Search"...
  • Page 288: Backing Up The Hardware Configuration

    Data backup 15.3 Backing up the hardware configuration 15.3 Backing up the hardware configuration The hardware is configured via the system data blocks (SDB) and only these are stored in the archive. Procedure Select the "Start-up" operating area. Press the menu forward key. Press the "Start-up archive"...
  • Page 289 Data backup 15.4 Creating an archive with original data Precondition In order to save NC data, you require the access level 2 (service). To back up programs/workpieces, you need access level 6 (keyswitch position 1). Data of the control components Control components Data NC data...
  • Page 290 Data backup 15.4 Creating an archive with original data Control components Data Version data Version data Logs Error logs User views Individually compiled tables with selected machine and setting data. Dictionaries Dictionaries Programs on local drive Programs contained in the user memory area of the CompactFlash card.
  • Page 291: Reading In An Archive With Original Data

    Data backup 15.5 Reading in an archive with original data 15.5 Reading in an archive with original data The data of the original controller state is stored in the "original.arc" file. If you want to restore the controller to the as-delivered state, you can read in the original data archive. Precondition You require access level 3 (user).
  • Page 292: Serial Interface (V24 / Rs232)

    Data backup 15.7 Serial interface (V24 / RS232) Procedure 1. Insert the storage medium in the USB port. 2. Press the key combination + + S. All data required for diagnostics are compiled in an archive. Operator control is not possible while the archive is being generated.
  • Page 293 Data backup 15.7 Serial interface (V24 / RS232) Externally processing the punched tape format If you wish to externally process an archive, then generate this in the punched tape format. Using the SinuCom commissioning and service tool SinuCom ARC, you can process the archive in the binary format and in the commissioning archive.
  • Page 294: Setting Interface Parameters

    Data backup 15.7 Serial interface (V24 / RS232) 15.7.2 Setting interface parameters Procedure Select the "Start-up" operating area. Press the "System data" softkey. Press the ">>" and "Archive" softkeys. Select the "RS-232-C settings" softkey. The "Interface: RS-232-C" window is opened and the interface settings are displayed.
  • Page 295: Backing Up Setup Data

    Data backup 15.8 Backing up setup data Parameter Meaning Archive format Punched tape • Binary format (PC format) • RS-232-C settings (details) Interface COM1 • COM2 only relevant for SINUMERIK Operate on PC • Parity Parity bits are used for error detection: The parity bits are added to the coded characters to make the number of positions set to "1"...
  • Page 296: Network Settings

    By default, the network settings cannot be backed up. The archiving of the network settings must be enabled: 1. Copy the "slpmconfig.ini" file from the /siemens/sinumerik/hmi/template/cfg directory. 2. Store the file in the /oem/sinumerik/hmi/cfg or /user/sinumerik/hmi/cfg directory. 3. Open the file and enter the following for [SeriesSetup]: SupportNetworkSettings=true 4.
  • Page 297 Data backup 15.9 Network settings Restrictions ● The leases files are not saved: – /system/etc/udhcpd-eth0.leases – /system/etc/udhcpd-ibn0.leases ● A configuration in the system network must be based on the DNS name rather than IP addresses. Basic procedure ● Backup of network settings After activation, the network settings can also be backed up when a commissioning archive is created when a check mark is set, see Creating a start-up archive (Page 278).
  • Page 298 Data backup 15.9 Network settings PCU and, if applicable, NCU settings saved with the HMI on the PCU. The following data is backed up: ● PCU – /user/system/etc/basesys.ini – mmc.ini for SINUMERIK Operate ● NCU (when present as master) – /user/system/etc/basesys.ini –...
  • Page 299: Configuring The Network

    Configuring the network 16.1 Displaying the network overview All the available interfaces and their network settings are listed in the Overview of the Network Settings window. For example, the IP addresses, subnet masks and MAC addresses for the company and system network are displayed here. You have the option of editing the settings.
  • Page 300: Settings Of The System Network

    Configuring the network 16.2 Settings of the system network 16.2 Settings of the system network The configuration for the DHCP server, the routing, active protocols, for DNS servers and other properties of the system network is performed in the Settings of the System Network window.
  • Page 301 Configuring the network 16.2 Settings of the system network Setting Description Timeout when waiting for master Specifies a maximum waiting time (in seconds) for the response of the master server (see DHCP server synchronization mode). After this time elapses, the server itself becomes the active server.
  • Page 302 Configuring the network 16.2 Settings of the system network Setting Description Function This string is used for the Siemens Industry- specific OID automationSystemIdent.automationFunctionTag. If required, a function designation can be specified here which can be called with an SNMP client. This is for information purposes only.
  • Page 303: Settings Of The Factory Network

    Configuring the network 16.3 Settings of the factory network Procedure The network overview is open. Press the "System network" softkey. The "Settings of the System Network" window opens. Press the "Change" softkey to edit settings. 16.3 Settings of the factory network The configuration for the network interface, active protocols and firewall exceptions of the company network are performed in the Settings of the Factory Network window.
  • Page 304 Configuring the network 16.3 Settings of the factory network Setting Description Host name Here you can define a name for the local host. This manually assigned name takes priority over all other names. The host name is determined in the following order: This entry (identical to the host name from the •...
  • Page 305: Saving Network Settings

    Configuring the network 16.4 Saving network settings Procedure The network overview is open. Press the "Company network" softkey. The "Settings of the Company Network" window opens. Press the "Change" softkey to edit settings. 16.4 Saving network settings The settings made in the NCU can be saved as a file. A target folder in which the network configuration is to be saved, or an existing file that is to be overwritten with the new settings, can be selected in the Save Network Settings: Select Archive window.
  • Page 306 Configuring the network 16.4 Saving network settings SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 307: Configuring Operator Panels

    Configuring operator panels 17.1 Displaying the available operator panels A list with all the available operator panels is displayed in the upper part of the Available Operator Panels ... window. One line corresponds to one operator panel and contains the following information: Column Description...
  • Page 308: Configuring Vnc Connections

    Configuring operator panels 17.2 Configuring VNC connections Update of the overview When switching to the OPs window, a search for available operator controls is performed automatically. This is also possible later via the Reload or Cancel cache softkey. The latter action results in a completely new scan during which already available operator controls are deleted from the local cache.
  • Page 309 Configuring operator panels 17.2 Configuring VNC connections Column Description Start Specifies whether the TCU is to be started active, i.e. as operator panel. /Priority Start-up priority: Specifies the priority of the TCU connection to be used. Any value greater than 0 is permitted. The larger the value, the lower the connection priority.
  • Page 310: T:m:n Configuration

    Configuring operator panels 17.3 T:M:N configuration 17.3 T:M:N configuration By T:M:N configuration we mean a grouping of t operating stations (TCUs with MCP), m HMI systems and n NCK systems, in which the operating stations can be freely switched to the various HMI systems in order to operate.
  • Page 311: Service And Diagnostics

    Service and diagnostics 18.1 NC/PLC variables 18.1.1 Displaying and editing PLC and NC variables The "NC/PLC Variables" window allows NC system variables and PLC variables to be monitored and changed. You receive the following list in which you can enter the desired NC/PLC variables in order to display the actual values.
  • Page 312 Service and diagnostics 18.1 NC/PLC variables Formats Binary Hexadecimal Decimal without sign +/-D Decimal with sign Floating point (for double words) ASCII character Notation for variables ● PLC variables A1.2 DB2.DBW2 ● NC variables – NC system variables - notation $AA_IM[1] –...
  • Page 313 Service and diagnostics 18.1 NC/PLC variables Changing PLC variables Changes can only be made to the PLC variables with the appropriate password. WARNING Incorrect parameterization Changes in the states of NC/PLC variables have a major impact on the machine. Incorrect configuration of the parameters can endanger human life and cause damage to the machine.
  • Page 314 Service and diagnostics 18.1 NC/PLC variables Press the "Filter/search" softkey to restrict the display of variables (e.g. to mode group variables) using the "Filter" selection box and/or select the desired variable using the "Search" input box. Press the "Delete all" softkey if you would like to delete the entries for the operands.
  • Page 315: Saving And Loading Screen Forms

    Service and diagnostics 18.2 Displaying the Service overview 18.1.2 Saving and loading screen forms You have the option of saving the configurations of the variables made in the "NC/PLC variables" window in a screen form that you reload again when required. Editing screen forms If you change a screen form that has been loaded, then this is marked using with * after the screen form name.
  • Page 316 Service and diagnostics 18.2 Displaying the Service overview Display icon Meaning Green The axis is behaving normally. Yellow The axis is not ready. An alarm is pending for this axis. Gray The axis is not affected. Dash No drive assigned to axis. Special Error when reading the data, e.g.
  • Page 317: Selecting Axes

    Service and diagnostics 18.2 Displaying the Service overview Procedure Select the "Diagnostics" operating area. Press the menu forward key. New horizontal softkeys are displayed. Press the "Axis diagn." softkey. The "Service Overview" window opens. 18.2.1 Selecting axes Procedure To display certain enables and statuses of machine axes, you can arrange a selection of all the axes that are available in any order you wish.
  • Page 318: Service Axis

    Service and diagnostics 18.2 Displaying the Service overview Enter the required axes. The axes entered must be separated by blanks. Press the "OK" softkey to confirm your selection. If you press the "Select. axes" softkey, the axes configured with "Change selection" will be displayed. If you click the "Back"...
  • Page 319: Service Axis: Parameters

    Service and diagnostics 18.2 Displaying the Service overview Press the "Axis +" or "Axis -" softkey to scroll the axes forward or backward. - OR - Press the "Axis selection" softkey. The "Axis Direct Selection" window opens. Select the required axis directly from those available in the drop-down list box.
  • Page 320 Service and diagnostics 18.2 Displaying the Service overview Parameters Meaning Actual position value measuring system The actual position of the axis measured via measuring system 1/2. The position is displayed in the machine coordinate system (no zero offsets or tool offsets taken into account). Actual position value measuring system Unit: mm, inches or degrees Position setpoint...
  • Page 321 Service and diagnostics 18.2 Displaying the Service overview Parameters Meaning Controller mode Display of the current controller state: Position control • Speed control • Hold • Parking • Follow-up • Braking • Feedforward control mode Indicates whether and if so, which mode of the dynamic feedforward control for the axis is active: Inactive •...
  • Page 322 Service and diagnostics 18.2 Displaying the Service overview Parameters Meaning QEC state Indicates whether and if so, which method of the quadrant error compensation (QEC) is active for the axis: Inactive • Neural QEC learning active • Conventional QEC active •...
  • Page 323: Service Drive

    Service and diagnostics 18.2 Displaying the Service overview 18.2.4 Service drive Display drive and motor data The "Service Drive" window displays important information about the status of the motors and drive modules, such as motor temperature and DC-link voltage. Procedure Select the "Diagnostics"...
  • Page 324 Service and diagnostics 18.2 Displaying the Service overview Further information about the drive parameters can be found in the following documentation: List Manual, SINAMICS S120/S150 (Servo) PLC pulse enable The display, whether the pulse enable from the PLC is available for the drive corresponds to the interface signal: DB31, ...
  • Page 325 Display of communications errors detected in hardware between NC and drive. Note If the display shows a value other than "0", please contact your Siemens regional office! SC1 drive alarm message Displays (yes/no) whether messages of status class 1 are active. Status class 1 messages are alarms with the following properties: ●...
  • Page 326 Service and diagnostics 18.2 Displaying the Service overview DC-link voltage, smoothed The display of the smoothed actual value of the DC-link voltage of the selected drive corresponds to the drive parameter: r0026 "DC-link voltage smoothed". Unit: Volts Speed setpoint, smoothed The display of the smoothed speed setpoint - measured according to the setpoint limitation for the P component of the speed controller - corresponds to the drive parameter: r1438 "Speed controller speed setpoint".
  • Page 327 Service and diagnostics 18.2 Displaying the Service overview Parking axis Displays (yes/no) whether it is a parking axis/spindle. Note With parking axes/spindles, all encoder-specific monitoring and evaluation functions are switched off. This allows the encoder to be withdrawn without initiating an alarm. Specified drive data set The display (default: DDS0) of which of the eight drive parameter sets is to be activated by the PLC corresponds to the interface signal:...
  • Page 328 Service and diagnostics 18.2 Displaying the Service overview Depending on "n", the following "values" are displayed: Display Speed control (without encoder) Speed control (with encoder) Torque control (with encoder) Position actual value measuring system 1/2 The actual position of the axis as measured via measuring system 1/2. The position is displayed in the machine coordinate system (no zero offsets or tool offsets included).
  • Page 329 Service and diagnostics 18.2 Displaying the Service overview Ramp-up function completed The status display of the drive as to whether the ramp-up has been completed corresponds to the interface signal: DB31, ... DBX94.2 "Ramp-up completed". Status Meaning Display The actual speed value has reached the speed tolerance band specified via p2164 after a new speed setpoint specification and has not left the band for the duration of p2166.
  • Page 330 Service and diagnostics 18.2 Displaying the Service overview Speed lower than threshold setting The status display of the drive as to whether the threshold speed has been undershot corresponds to the interface signal: DB31, ... DBX94.5 "|n | < n ".
  • Page 331: System Utilization

    Service and diagnostics 18.3 System utilization 18.3 System utilization For the NC areas you can display the system resources (utilization display) currently being used: ● Runtime for the position controller, interpolator and pre-processing are displayed ● Time required for synchronized actions Machine manufacturer Please observe the machine manufacturer's data for the display of the time required for synchronized actions.
  • Page 332: Displaying The Time Required For Synchronized Actions

    Service and diagnostics 18.4 Displaying the time required for synchronized actions 18.4 Displaying the time required for synchronized actions General machine data If you wish to display the utilization evaluation across synchronized actions in the operating area "Diagnostics", "System utilization", then set the general machine data as follows: MD11510_$MN_IPO_MAX_LOAD Maximum permissible IPO load >...
  • Page 333: Machine Identity

    Service and diagnostics 18.6 Machine identity 18.6 Machine identity You can store important information about the machine electronically that until now has only been available on paper for the end user notification administration (EUNA). If service is required, these entries can be viewed using remote diagnostics, or can be directly transferred to EUNA via the drives that have been set up.
  • Page 334: Entering Machine-Specific Information

    Service and diagnostics 18.6 Machine identity 18.6.1 Entering machine-specific information Preconditions You must have the following access rights to be able to enter or change machine-specific information. Access level 1 (manufacturer) Access level 2 (service) Access level 3 (user) Procedure Select the "Diagnostics"...
  • Page 335: Creating A Selection File

    Service and diagnostics 18.6 Machine identity Press the "End user" softkey if you want to acquire and store user- specific data. Enter the address data in the following text fields. - OR - If selection files exist, all unique information will automatically be set to valid for the system when you press the "OK"...
  • Page 336 Service and diagnostics 18.6 Machine identity Procedure Select the "Startup" operating area. Press the "System data" softkey. Copy the files from the folder /HMI-data/templates/examples/machine identity to a data carrier. Copy the files to your PC to edit them. After processing, copy the data to a data storage medium so that these can then be transferred to the control system.
  • Page 337: Reading In A Selection File

    Service and diagnostics 18.6 Machine identity You can list the address data of any number of OEM regional offices in the "oemsubs.xml" file. If you wish to enter additional regional offices, copy the area to . You can list the address data of any number of users in the "user.xml" file. If you wish to enter additional users, copy the area ...
  • Page 338: Save Information

    Service and diagnostics 18.6 Machine identity Procedure Select the "Diagnostics" operating area. Press the "Version" softkey. It takes some time to call the version display. The progress of the data determination is displayed in the dialog line. Press the "Logbook" and "Change" softkeys. Press the "Import data"...
  • Page 339 Service and diagnostics 18.6 Machine identity Procedure Select the "Diagnostics" operating area. Press the "Version" softkey. It takes some time to call the version display. While the version data is being determined a progress message box and the appropriate text are displayed in the dialog line.
  • Page 340: Adding Hardware Components

    18.6 Machine identity 18.6.5 Adding hardware components Most of the hardware components supplied by Siemens are already electronically acquired. You can add further hardware components. You can view and supplement the hardware components in the version screen at the user interface.
  • Page 341 Service and diagnostics 18.6 Machine identity Procedure Select the "Diagnostics" operating area. Press the "Version" softkey. It takes some time to call the version display. While the version data is being determined a progress message box and the appropriate text are displayed in the dialog line.
  • Page 342: Configuration Data

    Service and diagnostics 18.7 Logbook 18.6.6 Configuration data The machine-specific information is stored in the configuration data. This file saved in the XML format provides the basis for further processing in EUNA. ● The data can be read by remote diagnostics. ●...
  • Page 343: Documenting Startup

    Service and diagnostics 18.7 Logbook 18.7.1 1. Documenting startup Precondition As a minimum, the machine name/No., the customer No. and the country where the manufacturer is located must be entered into the machine identity. Procedure The machine-specific information data are entered. Start-up (commission) the machine.
  • Page 344: Making A Logbook Entry

    Service and diagnostics 18.7 Logbook Procedure The machine-specific information data are entered. Start-up (commission) the machine. Press the "2nd startup completed" softkey. The "2.SETUP" entry is displayed in the "Machine logbook" window together with the time and date. Note Registering the machine identity in EUNA After completion of the 2nd commissioning, you are prompted to send the machine identity to the EUNA database via the Internet.
  • Page 345 Service and diagnostics 18.8 Action log Procedure The logbook is opened. Press the "New entry" softkey. The "New logbook entry" window opens. Enter the required data and press the "OK" softkey. You return to the "Machine logbook" window and the entry is displayed below the machine identity data.
  • Page 346: Action Log

    Service and diagnostics 18.8 Action log 18.8 Action log 18.8.1 Setting the action log In the "Action Log Settings" window you specify whether the operating sequences are to be logged. Here, you select which control actions should be logged, so that operator actions and sequences can be tracked and understood at a later date.
  • Page 347 Service and diagnostics 18.8 Action log Write interval file Settings for updating files: • "automatic": The action log saves the information to an internal buffer. If the buffer is full the entries are written to the CF card. The entries may be lost when the controller is switched off. •...
  • Page 348: Displaying The Log File

    Service and diagnostics 18.8 Action log Procedure Select the "Start-up" operating area. Press the "HMI", "Diagnostics", and "Action log" softkeys The "Action Log Settings" window opens. Activate the "Logging on" checkbox to activate the action log. Check the relevant checkbox if you want to acquire particular events in the action log.
  • Page 349: Searching In The Log Files

    Service and diagnostics 18.8 Action log Procedure Select the "Start-up" operating area. Press the "System data" softkey. The data tree is displayed. You will find the saved files in the HMI data folder under /logs/action log. Select the desired com file and press the "Open" softkey or double-click the file.
  • Page 350: Storing A Log

    Service and diagnostics 18.8 Action log Additional search option Press the "Go to End" softkey to scroll to the end of a large log. You get to the oldest entry of the recording. Press the "Go to Beginning" software to return quickly to the most recent log entry.
  • Page 351: Structure Of A Log File

    Service and diagnostics 18.8 Action log 18.8.5 Structure of a log file Content of the log file The following data are recorded for every logged event: HMI version NCK version System Entry keyword Date/time Entry text DETAILS Entry Description HMI and NCK version output System: Keystrokes, window change Write variables, PI services...
  • Page 352 Service and diagnostics 18.8 Action log Entry Description DEACTIVATED Action log was deactivated INTERNAL Internal action log entry Date/time Date and time of the event For HMI_Start, PLC_Crash or date change since the last entry, the intermediate period between the entry keyword and date is designated with an "-".
  • Page 353: Advanced Settings

    You define the size of the log file of the action log in the "actlog.ini" configuration file. Procedure 1. You can copy a sample configuration file "actlog.ini" from the following directory: /siemens/sinumerik/hmi/template/cfg. 2. Save or create the file in the /oem/sinumerik/hmi/cfg or /user/sinumerik/hmi/cfg directory.
  • Page 354: Hmi Trace

    Service and diagnostics 18.9 HMI trace 18.9 HMI trace Creating an HMI trace The "HMI trace" function is available for extended diagnostics of the operating software. The prerequisite is at least access level 3 (user). Procedure to create an HMI trace file: 1.
  • Page 355: Profibus Diagnosis

    Service and diagnostics 18.10 PROFIBUS diagnosis 18.10 PROFIBUS diagnosis Display the PROFIBUS status for diagnostic purposes during the configuration or when errors occur. This diagnostics window is only intended for information purposes. You cannot modify them. PROFIBUS connections ● DP1 X126 ●...
  • Page 356 References Further information about the configuration of the properties of the network interface for PROFIBUS can be found in the following: CNC Commissioning Manual: NCK, PLC, Drives, SINUMERIK 840D sl, SINAMICS S120 Procedure Select the "Diagnostics" operating area. Press the menu forward key and the "Bus TCP/IP" softkey.
  • Page 357: Displaying Details For Dp Slaves

    Service and diagnostics 18.10 PROFIBUS diagnosis 18.10.1 Displaying details for DP slaves Further information about the slots of a selected DP slave is displayed here. Display Meaning/information Slave Slave no..The DP slaves selected in the PROFIBUS Diagnostics / Slaves pane with information on the NC or PLC assignment, Slots Slot number within the DP slave...
  • Page 358: Station-Related Network Diagnostics

    Service and diagnostics 18.11 Station-related network diagnostics 18.11 Station-related network diagnostics Using the station-related network diagnostics, you have the possibility of identifying faulty or incorrectly parameterized components or those components that have not been connected. You obtain an overview of all of the components belonging to the system network: ●...
  • Page 359 Service and diagnostics 18.11 Station-related network diagnostics Components that cannot be accessed If a component cannot be accessed, then it is marked using this symbol. Input rights Operator panels, which have input rights, have a green background. Detailed view You have the option to display the following information about a selected component. ●...
  • Page 360: Error Analysis

    Service and diagnostics 18.11 Station-related network diagnostics Press the "Details" softkey to display all available parameters of the configured network connections. Press the "Details" softkey to hide the detailed display. Press the "Return" softkey in order to exit the "TCP/IP diagnostics" window and return to the "PROFIBUS diagnostics"...
  • Page 361: Hmi On The Pcu Cannot Establish A Network Connection To The Nc

    Service and diagnostics 18.11 Station-related network diagnostics Error Possible error causes and remedies Error cause 2 The physical network connection does not exist after the next connection node to the system network. There is no physical connection from the MCP/ECS to the computer with the active DHCP server.
  • Page 362 Service and diagnostics 18.11 Station-related network diagnostics Error Error cause 2.2 Remedy HMI displays alarm 120202 The PCU has an IP address that does not Correctly set the network settings for the "Wait for connection to belong to the network or has an invalid IP system network in the Windows service NC/PLC"...
  • Page 363 Service and diagnostics 18.11 Station-related network diagnostics Error Error cause 2.4 Remedy HMI displays alarm 120202 The PCU has an IP address that does not Correctly set the network settings for the "Wait for connection to belong to the network or has an invalid IP system network in the Windows service NC/PLC"...
  • Page 364 Service and diagnostics 18.11 Station-related network diagnostics Error Possible error causes and remedies Error cause 3.2 The NCU has an IP address that does not match the network or has an invalid IP address. The NCU participates in DHCP operation and the NCU is an active DHCP/DNS server (either as a result of the DHCP SyncMode ON_MASTER or as a result of the Sync priority - just the same as the other server candidates and random selection).
  • Page 365 Service and diagnostics 18.11 Station-related network diagnostics Error Possible error causes and remedies The NCU has a valid IP address in the system network, however, not the required IP address. The NCU participates in DHCP operation and was not able to obtain the corresponding required IP with the target address saved in the MMC.INI;...
  • Page 366: Tcu Cannot Establish A Network Connection To The Hmi

    Service and diagnostics 18.11 Station-related network diagnostics 18.11.2.4 TCU cannot establish a network connection to the HMI Error Possible error causes and remedies When booting, TCU signals 'ERROR: Network connection not established'. Cause of the error There is no physical connection. Notice: The display only refers to the situation where the direct connection of the TCU to the next connection nodes has not been established, i.e.
  • Page 367: The Tcu Cannot Establish A Network Connection To The Assigned Pcu

    Service and diagnostics 18.11 Station-related network diagnostics Error Possible error causes and remedies Remedy Correct the configuration using the "System Network Center" program. The TCU automatically reboots. Error cause 2 The connection to the HMI has not been established - neither the connection configured in config.ini nor the default connection.
  • Page 368 Service and diagnostics 18.11 Station-related network diagnostics Error Possible error causes and remedies Remedy A decision has to be made which computer should keep the IP address that has been assigned twice. If it is the PCU, then on the PCU, under network settings, this address should be again set as fixed IP address •...
  • Page 369: Configuring Tcp/Ip Diagnostics

    Service and diagnostics 18.11 Station-related network diagnostics Error Possible error causes and remedies Remedy Perform the following steps: Under network settings, on the PCU, set the required address again as fixed IP address in • the system network. On the PCU, using the "System Network Center" program, link the DHCP service to this •...
  • Page 370 Service and diagnostics 18.11 Station-related network diagnostics Availability The availability describes the percentage of faulty packages compared to all the sent and received packages. Problems in the company network (e.g. logical drives that cannot be accessed, double IP address, etc.) as well as settling time during power up can result in fluctuations in availability. Green Greater than 95% Yellow...
  • Page 371 Service and diagnostics 18.11 Station-related network diagnostics • Address type Information about the configuration of the network adapter in the configuration file "basesys.ini": – DHCP: DHCP is active for this network adapter. The information behind the hyphen "-" specifies the DHCP mode of operation: - DHCP is deactivated for this adapter Client - a DHCP client that receives an IP address and further data from a server, is...
  • Page 372 2 and gateway can be specified manually; these are then stored in the "basesys.ini". References For additional information about network configuration, please refer to the following documentation: SINUMERIK 840D sl, Operator Components and Networking (IM5) SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 373: Ethernet Network Diagnostics

    Service and diagnostics 18.11 Station-related network diagnostics Procedure Select the "Diagnostics" operating area. Press the menu forward key and the "Bus TCP/IP" softkey. Press the "TCP/IP diagnostics" and TCP/IP Config." softkeys. The "TCP/IP Configuration" window opens. Press the "Modify" softkey to change specific parameters. The fields that can be edited have a white background.
  • Page 374: Accessible Nodes

    Service and diagnostics 18.11 Station-related network diagnostics Procedure Select the "Diagnostics" operating area. Press the "Menu forward" key and the "Bus TCP/IP" softkey. Press the "TCP/IP diagnostics" softkey. The "TCP/IP Diagnostics" window opens and displays the current availability of the network connections. Press the "Network diagnostics"...
  • Page 375 Service and diagnostics 18.11 Station-related network diagnostics Procedure The "Network Status" window opens. Press the "Accessible nodes" softkey. The "Accessible Nodes" window opens. The IP address, HW-Id/type and location are displayed in tabular form for each node. Press the "Sort" softkey. Press the "By name", "By IP", "By type"...
  • Page 376 Service and diagnostics 18.11 Station-related network diagnostics Comparing Press the "Compare" softkey to compare the current list of nodes either with the previously saved manufacturer topology, a reference topology or a saved topology in the .xml format. The "Compare with" window opens. Position the cursor on the desired option box and confirm with "OK".
  • Page 377: Drive System

    Service and diagnostics 18.12 Drive system 18.12 Drive system 18.12.1 Displaying drive states Status display The "Drive System Diagnostics" window displays the status information about the drive units and the associated drive objects. The status symbols have the following meaning: Display icon Meaning Green...
  • Page 378: Displaying Details Of The Drive Objects

    Service and diagnostics 18.12 Drive system See also Displaying details of the drive objects (Page 372) 18.12.2 Displaying details of the drive objects Drive system diagnostics - details The following information is displayed for the drive objects: ● Status display (r0002) –...
  • Page 379 Service and diagnostics 18.12 Drive system Meaning of the symbols Display icon Meaning Green The relevant value of the drive object signals no problem detected. Yellow The relevant value of the drive object signals a less serious problem, i.e. a warning is pending, for example, or enables are missing.
  • Page 380: Remote Diagnostics

    Service and diagnostics 18.13 Remote diagnostics 18.13 Remote diagnostics 18.13.1 Adapting remote diagnostics Depending on the operating mode, the initiative for remote diagnostics comes from the service provider or from the controller. If the initiative comes from the controller, the "Request remote diagnostics" softkey is set-up. The display of the "Request remote diagnostics"...
  • Page 381: Sinumerik Operate On

    Service and diagnostics 18.13 Remote diagnostics 18.13.2 Remote diagnostics via Teleservice adapter IE at X127 The following settings must be made for remote diagnostics via modem using a Teleservice adapters IE (TS Adapter) that is connected at X127: Settings in the TS Adapter required ●...
  • Page 382 Service and diagnostics 18.13 Remote diagnostics Figure 18-2 Basic system with SINUMERIK Operate on PCU With the previously mentioned settings and the default values, in this configuration, remote diagnostics via TS Adapter is possible without any additional changes having to be made. When operating a SINUMERIK Operate on a PCU, the SINUMERIK Operate in the NCU must be switched off.
  • Page 383 Service and diagnostics 18.13 Remote diagnostics Figure 18-3 System with several NCUs and a fixed modem The "MC Information System RCS Host" option only has to be set for the NCU to which the TS Adapter is connected at the X127 interface. Modem access can only be permitted by making the appropriate entries at the SINUMERIK Operate in this NCU and the "Request remote control"...
  • Page 384 Service and diagnostics 18.13 Remote diagnostics Figure 18-4 System with several NCUs, several PCUs and a fixed modem The "MC Information System RCS Host" option only has to be set for the NCU to which the TS Adapter is connected at the X127 interface. Modem access can only be permitted by making the appropriate entries at the SINUMERIK Operate on the PCU that is assigned to this NCU and the "Request remote control"...
  • Page 385: Plc Control For Remote Access

    Service and diagnostics 18.14 Trace 18.13.3 PLC control for remote access In the PLC user program, you can control external viewers using the following settings. DB19.DBX1.0 PLCExtViewerReject Value Meaning Permit remote control No remote control DB19.DBX1.1 PLCExtViewerMode Value ignored Meaning Operating rights for remote Only monitoring for control...
  • Page 386: General Procedure

    Service and diagnostics 18.14 Trace Cyclic events Interpolation clock cycle (IPO clock cycle) PLC cycle OB1 Position control clock cycle (servo clock cycle) Non-cyclic events Starting a session ● Recording using a trigger ● Manually starting and stopping a trace Analyzing the result The following functions are available to analyze the result: ●...
  • Page 387: Trace Session

    Service and diagnostics 18.14 Trace See also Variable for Trace (Page 384) Trace settings (Page 390) Trace options (Page 390) Setting-up a trace (Page 391) Saving the trace file (Page 382) Evaluate a trace (Page 393) 18.14.2 Trace session 18.14.2.1 Creating a session file Procedure Select the "Diagnostics"...
  • Page 388: Saving The Trace File

    Service and diagnostics 18.14 Trace 18.14.2.2 Saving the trace file There are two options of saving a trace session: ● Variables and settings: Only the variables and the settings are saved. ● Variables, settings and recorded values: The variables, settings and the recorded values are saved.
  • Page 389: Load Trace Session File

    Service and diagnostics 18.14 Trace 18.14.2.3 Load trace session file You have the option of loading already saved session data, to restart them or to display the trace that has been recorded. Settings Meaning Variables, settings You can restart a trace session that has already been created. Variables, settings and recorded You can view the result of a trace session, change the values...
  • Page 390: Variable For Trace

    Service and diagnostics 18.14 Trace 18.14.3 Variable for Trace 18.14.3.1 Variables filter/search Selection of variables To limit the selection of variables, set a filter and/or enter an initial value for the search. The following filters are available for selection: Filter Drive parameters Displaying the drive parameters System variables...
  • Page 391 Service and diagnostics 18.14 Trace Press the "Insert variable" softkey. The "Select Variable" window opens. Note: When selecting a "Drive parameter", firstly select the drive object (DO) and then insert the desired parameter from the list of corresponding parameters. Press the "Filter/search" softkey to start a specific search. In the "Filter"...
  • Page 392: Selecting Attributes Of A Variable

    Service and diagnostics 18.14 Trace 18.14.3.2 Selecting attributes of a variable Attributes For a trace session, select the variables and assign the corresponding attributes: Column Meaning Variable Address of the variables Attributes Meaning Comment Name of the selected variables • A general description for the variables.
  • Page 393 Service and diagnostics 18.14 Trace Attributes Meaning Interpolation clock cycle (IPO clock cycle) • Interpolation cycle (IPO2) • Position control clock cycle (servo clock cycle) • PLC cycle OB1 • Drive trace rate • Start geometry axis/direction change • Stop geometry axis •...
  • Page 394 Service and diagnostics 18.14 Trace Attributes Meaning WRTPR part program command • WRTPR part program command (block search) • Tool change • Cutting edge change • Tool change (block search) • Cutting edge (block search) • Start trigger initiated • Stop trigger initiated •...
  • Page 395: Displaying Details Of A Variable

    Service and diagnostics 18.14 Trace 18.14.3.3 Displaying details of a variable You can display the most important information and settings of the display at a glance in the detail window, i.e. you do not have to use the scroll bar for example to get to the "Event" column.
  • Page 396: Trace Settings

    Service and diagnostics 18.14 Trace 18.14.4 Trace settings 18.14.4.1 Trace options You define the following properties of a trace session in the "Trace - Options" window. ● Setting the graphic window – Displaying main grid lines: You define whether a horizontal grid is displayed and in which color.
  • Page 397: Setting-Up A Trace

    Service and diagnostics 18.14 Trace 18.14.4.2 Setting-up a trace In the "Trace - Settings" window, you define the condition for the start and end of a trace session and the memory size. Settings Meaning Starting the trace Using the Start Trace The session is activated by pressing the "Start trace"...
  • Page 398: Starting The Trace

    Service and diagnostics 18.14 Trace Procedure You are in the "Select Variables for Trace: ..." window.." and the variable of a trace session has been selected. Press the "Settings" softkey. The "Trace Settings" window opens. Select the desired settings and enter the values. Press the "OK"...
  • Page 399: Evaluate A Trace

    Service and diagnostics 18.14 Trace 18.14.5 Evaluate a trace 18.14.5.1 Setting trace views In order to permit a precise evaluation of the recorded signals, you have the option to edit the view as well as the display of the characteristic graphs: ●...
  • Page 400: Selecting A Variable

    Service and diagnostics 18.14 Trace Editing curves You jump from one variable to the next using the key. You jump back using the and keys. With the cursor keys, you select marks, move to individual values and can define a zoom range.
  • Page 401: Scaling The Display

    Service and diagnostics 18.14 Trace 18.14.5.3 Scaling the display The scaling allows you to make a precise measurement of selected variables from the X time axis as well as from the Y value axis. You have the option of saving the larger or smaller display in a user-defined way Setting Meaning...
  • Page 402: Zooming The Display

    Service and diagnostics 18.14 Trace Press the "Scale" softkey to save the settings. - OR - Press the "Adapt selected" softkey to display the selected characteristic graphs in the full graphic window. Press the "Fit one" softkey to display the selected characteristic graphs in the full graphic window.
  • Page 403: Position The Cursor

    Service and diagnostics 18.14 Trace Press the "Individually adapt Y" or "Adapt all" softkey if you only wish to scale the Y value axis in the graphic window. - OR - Press the "Adapt Y together" softkey if you wish to adapt the value axis of all characteristic graphs to the graphic window.
  • Page 404: Acquiring Measured Values

    Service and diagnostics 18.14 Trace Procedure A recording is opened in the "Trace" graphics window. Press the "Cursor A" softkey. The reference number, color of the variables and the color of the coordinate crossing point are displayed on the softkey. Position "(A)"...
  • Page 405: Profibus/Profinet And As-I Bus Diagnostics

    Service and diagnostics 18.15 PROFIBUS/PROFINET and AS-i bus diagnostics Procedure A recording is opened in the "Trace" graphics window. Press the "Point Mode" softkey to continuously move the cursor along the curve. Press the "Peak Mode" softkey to position the cursor at the highest value.
  • Page 406: Displaying Profibus/Profinet Diagnostics

    Module is suppressed (this is only possible with HMI PRO RT) PROFIBUS address PROFIBUS address data Additional information for the second version PROFIBUS/PROFINET module or channel diagnostics Device diagnostics For Siemens DP/DP coupler and diagnostics repeater SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 407 Service and diagnostics 18.15 PROFIBUS/PROFINET and AS-i bus diagnostics Additional diagnostic information for the third version Name Module designation from the HMI offline data Name Module name from the HMI offline data Order no. Order number of the module from the HMI offline data IP address IP address of the module from HMI offline data (only for PROFINET)
  • Page 408: Configuring The As-I Bus

    Service and diagnostics 18.15 PROFIBUS/PROFINET and AS-i bus diagnostics 18.15.3 Configuring the AS-i bus You obtain a fast overview of the existing AS-Interface network using the AS-Interface (AS-i) diagnostics. Permanent monitoring and an error search function provide you with the following information: ●...
  • Page 409 Service and diagnostics 18.15 PROFIBUS/PROFINET and AS-i bus diagnostics Example of the "sltlprodiaghmi.ini" with 5 components [SK0] ComboCount=5 [SK0_Index0] DiagType= 1 TypeSection=CP142-2 Logical_Address=43 RequestDB=449 [SK0_Index1] DiagType= 2 TypeSection=CP343-2 Logical_Address=75 RequestDB=449 [SK0_Index2] DiagType= 3 TypeSection=DP-AS-i-Link Logical_Address=75 RequestDB=449 [SK0_Index3] DiagType= 4 TypeSection=DP-AS-i-Link-20E Logical_Address=75 RequestDB=449 [SK0_Index4]...
  • Page 410: Displaying As-I Bus Diagnostics

    18.15 PROFIBUS/PROFINET and AS-i bus diagnostics Procedure 1. Copy the "sltlprodiaghmi.ini" file from the /siemens/sinumerik/hmi/template/cfg directory. 2. Place the file in the directory: /oem/sinumerik/hmi/cfg or /user/sinumerik/hmi/cfg. If the file is already available in the directory, then just supplement this by the corresponding entries.
  • Page 411: Spindle Diagnostics

    Service and diagnostics 18.16 Spindle diagnostics State Marking Slave OK Green Slave fault Slave is available, but not configured Yellow Procedure Select the "Diagnostics" operating area. Press the menu forward key twice and the "AS-i diag." softkey. The "Diagnostics AS-Interface" window is opened. Select the required DP AS-interface.
  • Page 412 Service and diagnostics 18.16 Spindle diagnostics Preconditions ● A spindle has an SMI24: r0459, bit 14 = 1. ● Drive telegram 139 is configured for the spindle. ● The spindle functionality for the machine axis is present, when: MD35000 $MA_SPIND_ASSIGN_TO_MACHAX > 0 The value corresponds to the spindle number.
  • Page 413: Fetch Temperatures

    Service and diagnostics 18.16 Spindle diagnostics Data overview The "S1 Spindle Diagnostics" window shows the following information: Parameter Value Operating hours Spindle under control • Spindle under speed • Number of clamping cycles (tool change) Motor temperature °C Clamping system (sensor 1) Piston free (sensor 4) Shaft in the change position (sensor 5) Load classification...
  • Page 414: Fetch Speed, Torque And Power

    Service and diagnostics 18.16 Spindle diagnostics 18.16.3 Fetch speed, torque and power To check the loads on the spindle, the speed, torque, and power are acquired in a histogram as function of the operating hours. The color coding indicates the following states: ●...
  • Page 415 Service and diagnostics 18.16 Spindle diagnostics The sensors in the motor provide information about the clamping device and the orientation of the tool in the spindle: Sensor Meaning Clamped state Released Clamped with tool Clamped without tool Piston free Shaft in the change position Procedure The "S1 Spindle Diagnostics"...
  • Page 416: Fetching The Logistics Data

    Service and diagnostics 18.16 Spindle diagnostics 18.16.5 Fetching the logistics data The following manufacturer characteristics of the spindle can be fetched via DRIVE-CLiQ: ● Manufacturer identification ● Drawing number ● Serial number ● Date of manufacture ● Service date and service information (1 ... 4): Can be fetched only with "Service"...
  • Page 417: Oem-Specific Online Help

    OEM-specific online help 19.1 Overview In addition to the existing extensive online help, you also have the option of generating a manufacturer-specific online help and then linking this into SINUMERIK Operate. This online help is generated in the HTML format, i.e. it comprises HTML documents that are linked with one another.
  • Page 418: Generating Html Files

    OEM-specific online help 19.2 Generating HTML files 19.2 Generating HTML files Generating help files in the HTML format. It is possible to save all information in a single HTML file or to distribute the information over several HTML files. You can assign the file names yourself, however, you must observe the following: ●...
  • Page 419 OEM-specific online help 19.2 Generating HTML files Description Comment head Document header Horizontal line Supported attributes: width (can be specified as absolute or relative value) html HTML document Italic Image Supported attributes: src, width, height User-entered text meta Meta-information List item nobr Non-breakable text Ordered list...
  • Page 420 OEM-specific online help 19.2 Generating HTML files Standard attributes for lists The following attributes are supported by tags ol and ul: ● type (1, a, A, square, disc, circle) Standard attributes for tables The following attributes are supported by tags td and th: ●...
  • Page 421: Generating The Help Book

    OEM-specific online help 19.3 Generating the help book Supported CSS selectors All CSS 2.1 selector classes are supported with the exception of so-called pseudo selector classes such as :first-child, :visited and :hover. 19.3 Generating the help book The help book is an XML file in which the structure of the online help is defined. In this file, you define: ●...
  • Page 422 OEM-specific online help 19.3 Generating the help book Example for a help book In the following example, the structure of a help book with the "My Help" name is described. Further, it forms the basis for the table of contents and subject index.
  • Page 423: Integrating The Online Help In Sinumerik Operate

    OEM-specific online help 19.4 Integrating the online help in SINUMERIK Operate You have the following three options to format the subject index: 1. Single entry: 2. Two two-stage entry, whereby each title has a main and a subentry. Separate the entries from one another using a comma.
  • Page 424 OEM-specific online help 19.4 Integrating the online help in SINUMERIK Operate Number Meaning III -DisableSearch Disable the subject (keyword) search for the help book. Attributes: 0, 1 value true, false type type, data type of the value (bool) III-DisableFullTextSearch Disable the full text search for the help book. Attributes: value true, false 0, 1...
  • Page 425: Saving Help Files

    When displaying the list of contents and subject index of a help book, the help files are saved in the binary format (slhlp_
  • Page 426 3. Place the files in the corresponding language directories. For instance, place the file for the German help text in the following directory: /oem/sinumerik/hmi/hlp/deu/sinumerik_alarm_plc_pmc/sinumerik_alarm_oem_plc_pmc.ht 4. Delete the file "slhlp_sinumerik_alarm_plc_pmc_*.hmi" in the /siemens/sinumerik/sys_cache/hmi//hlp directory and restart the operating software. "sinumerik_alarm_oem_plc_pmc.html" file Entry Meaning AlarmNr...
  • Page 427 OEM-specific online help 19.6 Generating online help for user alarms and machine data Distribute the online help for user alarms over several HTML files You have the option of distributing the online help for user alarms over several HTML files. 1.
  • Page 428 OEM-specific online help 19.6 Generating online help for user alarms and machine data Replacing the standard online help You have the option of generating your own online help for the HMI, NC and PLC alarms as well as machine data. This means that you can replace the standard online help by your own online help.
  • Page 429: Example: This Is How You Create An Online Help For Nc/Plc Variables

    OEM-specific online help 19.7 Example: This is how you create an online help for NC/PLC variables 19.7 Example: This is how you create an online help for NC/PLC variables Overview In order to create context-sensitive online help for NC/PLC variables or system variables as shown in the following example, the descriptive texts are managed in language-dependent html files.
  • Page 430 OEM-specific online help 19.7 Example: This is how you create an online help for NC/PLC variables Structure of the configuration file The file is independent of any language and is structured as follows: sldgvarviewhelp.ini [HelpBindings] /BAG/STATE/OPMODE = var1_help.html#var1 $AA_IM[X1] = var1_help.html $R[1] = var1_help.html#var2 /Channel/Parameter/R[u1,1] = var2_help.html#var2 DB2.DBX180.0 = var2_help.html#var1...
  • Page 431: Example: This Is How You Create A Programming Online Help

    OEM-specific online help 19.8 Example: This is how you create a programming online help 3. Delete all files in the directory: /siemens/sinumerik/sys_cache/hmi//hlp The settings become effective only after restarting the system. 19.8 Example: This is how you create a programming online help...
  • Page 432 OEM-specific online help 19.8 Example: This is how you create a programming online help ● Configuration file for the help book "hmi_prog_help.xml" (optional)
  • Page 433 OEM-specific online help 19.8 Example: This is how you create a programming online help Saving help files in the target system Procedure: 1. Copy the configuration file "prog.ini" to the following directory: /oem/sinumerik/hmi/cfg 2. Copy the file " " to the help book in the following directory: slhlp.xml /oem/sinumerik/hmi/cfg 3.
  • Page 434 OEM-specific online help 19.8 Example: This is how you create a programming online help SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 435: Sinumerik Integrate - Amb, Amc, Amm

    SINUMERIK Integrate - AMB, AMC, AMM Precondition To start the "SINUMERIK Integrate - AMB, AMC, AMM" software, configure a softkey using a display machine data. To do this you require, as a minimum, authorization for access level 3 (user). Configuring a softkey MD9108 $MM_SINUMERIK_INTEGRATE The "SINUMERIK integrate"...
  • Page 436 SINUMERIK Integrate - AMB, AMC, AMM SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 437: Displaying Machine Data And Parameters

    Safety Integrated 21.1 Displaying machine data and parameters 21.1.1 View of the axes You can display the Safety Integrated axes in the "Machine Configuration" window. Copying and confirming Safety Integrated data You can copy and confirm Safety Integrated data. Activating and deactivating the start-up of the Safety Integrated drives You have the possibility of activating and deactivating Safety Integrated drives.
  • Page 438: General Machine Data For Safety Integrated

    Safety Integrated 21.1 Displaying machine data and parameters See also Copying and confirming Safety Integrated data (Page 435) Activating/deactivating start-up mode (Page 436) Displaying the Safety-Integrated settings (Page 437) 21.1.2 General machine data for Safety Integrated The general machine data is listed in the "Selection of General MD" window and can be edited, copied and confirmed.
  • Page 439: Axis-Specific Machine Data In Safety Integrated

    Safety Integrated 21.1 Displaying machine data and parameters Searching for machine data Press the "Search" softkey, enter the machine data number being searched for in the window that opens or a character string that is being searched for an press the "OK" softkey. Press the "Continue search"...
  • Page 440: Drive Machine Data In Safety Integrated

    Safety Integrated 21.1 Displaying machine data and parameters Searching for machine data Press the "Search" softkey, enter the machine data number being searched for in the window that opens or a character string that is being searched for an press the "OK" softkey. Press the "Continue search"...
  • Page 441: Copying And Confirming Safety Integrated Data

    Safety Integrated 21.1 Displaying machine data and parameters 21.1.5 Copying and confirming Safety Integrated data All the NC machine data relevant for the SI functions is transferred to the corresponding drive parameters. The SI machine data or drive parameters to define the encoder mounting arrangement must be separately entered for the NCK and drive.
  • Page 442: Activating/Deactivating Start-Up Mode

    Safety Integrated 21.1 Displaying machine data and parameters Confirming Safety Integrated data Press the "Confirm SI data" and "OK" softkeys. The correctness of the values is confirmed and the current checksum saved. The drive data is saved automatically 21.1.6 Activating/deactivating start-up mode For the start-up of the Safety Integrated drives, the drive parameter p0010 is switched to startup mode (p0010=95).
  • Page 443: Displaying The Safety-Integrated Settings

    Safety Integrated 21.1 Displaying machine data and parameters Press the "Deactivate dr. start-up" softkey. A prompt is displayed. Press the "OK" softkey to continue with the start-up. A prompt is displayed whether you want to set the PROFISafe address for the selected drive. Press the "Yes"...
  • Page 444: Safety Integrated Diagnostics

    Safety Integrated 21.2 Safety Integrated diagnostics Procedure Select the "Startup" operating area. Press the menu advance key and the "Safety" softkey. Press the "View settings" softkey. The "Safety Integrated Settings" window opens. The configured limits for safe operating stop (SBH) and safely limited speed (SG) are displayed.
  • Page 445 Safety Integrated 21.2 Safety Integrated diagnostics Available signals ● Safe actual position ● Position deviation NCK/drive ● "Safe operating stop" monitoring active ● "Safe velocity" monitoring active ● Active SV step ● Active SV correction factor ● Safe actual velocity limit ●...
  • Page 446: Display Sge/Sga Signals

    Safety Integrated 21.2 Safety Integrated diagnostics Press the "Axis +" or "Axis -" softkey. The values of the next or the previous axis are displayed. - OR - Press the "Axis selection" softkey and select the desired axis directly from the displayed list of available axes. 21.2.2 Display SGE/SGA signals Safety-related inputs and outputs...
  • Page 447: Display Spl Signals

    Safety Integrated 21.2 Safety Integrated diagnostics Press the "Axis +" or "Axis -" softkey. The values of the next or the previous axis are displayed. - OR - Press the "Axis selection" softkey and select the desired axis directly from the displayed list of available axes. 21.2.3 Display SPL signals Safe programmable logic...
  • Page 448: Displaying Safety Integrated Checksums

    Safety Integrated 21.2 Safety Integrated diagnostics SPL processing completed, end of program reached. NCK data cross-checking (DCC) has been started PLC data cross-checking has been started Cyclic SPL checksum test active All SPL protective mechanisms active Procedure Select the "Diagnostics" operating area. Press the menu forward key and the "Safety"...
  • Page 449: Safety Integrated Basic Functions (Drive)

    Safety Integrated 21.2 Safety Integrated diagnostics Procedure Select the "Diagnostics" operating area. Press the menu forward key and the "Safety" softkey. Press the "SI checksum" softkey. The "SI Configuration" window opens. Press the "Axis +" or "Axis -" softkey. The values of the next or the previous axis are displayed. - OR - Press the "Axis selection"...
  • Page 450: Safety Integrated Fail-Safe I/O

    Safety Integrated 21.2 Safety Integrated diagnostics References The functions are described in: Function Manual, Safety Integrated Procedure Select the "Diagnostics" operating area. Press the menu forward key and the "Safety" softkey. Press the "SI status" softkey. The "SI status" window is opened. Press the "Display drive status"...
  • Page 451: Displaying Cam Signals

    Safety Integrated 21.2 Safety Integrated diagnostics Procedure Select the "Diagnostics" operating area. Press the menu forward key and the "Safety" softkey. Press the "SI I/O" softkey. The "SI I/O" window is opened and the status of the signals is displayed. Press the "Fail-safe modules"...
  • Page 452: Displaying Si Communication Data

    Safety Integrated 21.2 Safety Integrated diagnostics Press the "Axis +" or "Axis -" softkey. The values of the next or the previous axis are displayed. - OR - Press the "Axis selection" softkey and select the desired axis directly from the displayed list of available axes. 21.2.8 Displaying SI communication data Signals and values for the following communication data are displayed in the "SI...
  • Page 453: Si Communication Send Connections

    Safety Integrated 21.2 Safety Integrated diagnostics 21.2.9 SI communication send connections The configuration as well as the status of F_SENDDP are displayed in the SI communication (send)" window. Displayed signals The following signals of the selected connection are displayed: ● CPU-CPU communication ID ●...
  • Page 454: Si Communication Receive Connections

    Safety Integrated 21.2 Safety Integrated diagnostics Procedure The "SI communication (general)" window with the communication data is opened. Press the "Send connection" softkey. The "SI communication (send)" window is opened. Press the "Connection +" or "Connection -" softkey to select the connection whose data you wish to display.
  • Page 455 Safety Integrated 21.2 Safety Integrated diagnostics ● Substitute values ● Actual communication data ● Driver state Status display: – [0] "Not initialized" – [1] "Establish communication after booting" – [2] "Establish communication after error" – [3] "Wait for checkback signals SN=1" –...
  • Page 456 Safety Integrated 21.2 Safety Integrated diagnostics SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 457: Activating Turning/Milling/Drilling Technologies

    Configuring cycles 22.1 Activating turning/milling/drilling technologies The cycles are automatically loaded when the controller boots (Power On). The configuration is realized using cycle machine data and cycle setting data. In so doing, a differentiation is made between the following data: ●...
  • Page 458 Configuring cycles 22.1 Activating turning/milling/drilling technologies Setting the coordinate system MD52000 $MCS_DISP_COORDINATE_SYSTEM Position of the coordinate system Default setting With this machine data you adapt the position of the coordinate system to the machine. This change also automatically influences the following settings: Help screens •...
  • Page 459 Configuring cycles 22.1 Activating turning/milling/drilling technologies Meaning of the axes MD52206 $MCS_AXIS_USAGE[n] Meaning of the axes in the channel [n] channel axis number No special meaning Tool spindle (driven tool) Auxiliary spindle (driven tool) Main spindle (turning) Separate C axis of the main spindle (turning) Counterspindle (turning) Separate C axis of the counterspindle (turning) Linear axis of the counterspindle (turning)
  • Page 460 Configuring cycles 22.1 Activating turning/milling/drilling technologies Additional settings MD52201 $MCS_TECHNOLOGY_EXTENSION Technology extension for combined machines with several technologies Additional settings for turning Additional settings for turning, e.g. lathe with milling technology MD52200 $MCS_TECHNOLOGY = 1 MD52201 $MCS_TECHNOLOGY_EXTENSION = 2 MD52005 $MCS_DISP_PLANE_MILL Plane selection G17, G18, G19 Milling: Plane selection in the cycle support when programming under "programGUIDE G code"...
  • Page 461: Technology Cycles For Drilling

    Configuring cycles 22.2 Technology cycles for drilling 22.2 Technology cycles for drilling Drilling technology You can set drilling technology using the following channel-specific configuration machine data and channel-specific cycle setting data. MD52216 $MCS_FUNCTION_MASK_DRILL Drilling function mask Bit 0 Tapping cycle CYCLE84, technology input fields = 0 Hide input fields = 1 Display input fields Bit 1...
  • Page 462 Configuring cycles 22.2 Technology cycles for drilling Bit 6 Boring CYCLE86: Adapt the spindle position to the tool orientation Tool orientation can be realized using TOOLCARR or TRAORI before the cycle is called. = 1 Bits 1 and 2 are no longer effective. Bit 7 Boring CYCLE86: Adapt the direction of retraction travel in the plane to the active mirroring...
  • Page 463: Manufacturer Cycles

    Configuring cycles 22.3 Manufacturer cycles 22.3 Manufacturer cycles 22.3.1 Manufacturer cycles The following cycles are also available in the cycle package for individual adaptation: CUST_TECHCYC.SPF Manufacturer cycle for the adaptation of technology cycles. CUST_800.SPF Manufacturer cycle for the adaptation of the swivel plane and the swivel tool functions (CYCLE800), see Chapter "Manufacturer cycle CUST_800.SPF (Page 518)".
  • Page 464: Extending The Prog_Event Standard Cycle

    Configuring cycles 22.3 Manufacturer cycles Press the "Copy" softkey and open the NC data/Cycles/Manufacturer cycles directory. Press the "Paste" softkey. The cycles are available for you to individually adapt them. Note When upgrading the software, please refer to the upgrade instructions. 22.3.2 Extending the PROG_EVENT standard cycle If you wish to extend the functionality of the PROG_EVENT, then you must not copy this into...
  • Page 465: Manufacturer Cycle For Tool Change Cust_T And Cust_M6

    Configuring cycles 22.3 Manufacturer cycles 22.3.3 Manufacturer cycle for tool change CUST_T and CUST_M6 Function The two cycles are used to track the T preparation (CUST_T) and the tool change (CUST_M6) according to SERUPRO. In so doing, depending on the specific toolholder, the following is output: ●...
  • Page 466: Cust_Techcyc.spf Manufacturer Cycle

    Configuring cycles 22.3 Manufacturer cycles T replacement cycle If a T replacement cycle is being used, then the following note must be observed: Note The CUST_T cycle uses the language command TCA (ToolChangeAbsolut) for the T call and therefore also has the possibility of inserting tools that have been disabled. However, this language command cannot be substituted.
  • Page 467 Configuring cycles 22.3 Manufacturer cycles Adapt manufacturer cycle CUST_TECHCYC.SPF You can execute the following actions with the aid of the _MODE parameter: Marker Action Main spindle: Changeover to C axis mode Changeover to spindle mode Clamp C axis Release C axis clamping Rinse chuck Close chuck Open chuck when spindle is stationary...
  • Page 468 Configuring cycles 22.3 Manufacturer cycles Marker Action _M100 Drawer: Position before cut-off _M101 Open during cut-off _M102 Close after cut-off _M103 Cut-off completed _M110 Tool change _M111 After end of tool change cycle (with tool change) _M112 Before tool change on retraction plane _M113 Before cutting edge reselection _M114...
  • Page 469: Cust_Multichan User Cycle

    Configuring cycles 22.4 Milling Marker Action _M160 Start multichannel programming _M170 Start block with spindle _M171 End block with spindle _M300 Boring CYCLE86 Adapt the spindle to the tool position (SD55216 $SCS_FUNCTION_MASK_DRILL_SET bit 6 = 1) 22.3.5 CUST_MULTICHAN user cycle Function The CUST_MULTICHAN cycle is used for multi-channel programming at lathes.
  • Page 470 Configuring cycles 22.4 Milling Bit 2 reserved Bit 3 Enable machining inside/outside Bit 4 Enable spindle clamping (C axis) Bit 5 Enable spindle control of the tool spindle via user interface Bit 6 Enable spindle control of the lathe spindle via user interface SD55214 $SCS_FUNCTION_MASK_MILL_SET Milling function screen Bit 0...
  • Page 471: Cylinder Surface Transformation (Tracyl)

    Configuring cycles 22.4 Milling 22.4.2 Cylinder surface transformation (TRACYL) Software option You require the following software option in order to use this function: "Transmit and peripheral surface transformation". Precondition ● There must be at least one rotary axis at the machine. ●...
  • Page 472 Configuring cycles 22.4 Milling Example: Milling machine with the XYZ-AC axis configuration Example of an axis configuration on the following machine: Axis configuration 1. axis of the machining plane parallel to the rotary axis 2. axis of the machining plane Infeed axis (tool axis) perpendicular (radial) to the rotary axis Rotary axis Working spindle...
  • Page 473 Configuring cycles 22.4 Milling MD28082 $MC_MM_SYSTEMFRAME_MASK System frames (SRAM) = 21H Default setting Bit 0 = 1 System frame for actual value setting and scratching Bit 5 = 1 System frame for cycles Bit 6 = 1 System frame for transformations General settings for the transformation MD10602 $MN_FRAME_GEOAX_CHANGE_MODE Frames when switching over geometry...
  • Page 474 Configuring cycles 22.4 Milling MD24810 $MC_TRACYL_ROT_SIGN_IS_PLUS_1 Sign of the rotary axis for the 1st TRACYL transformation. MD24820 $MC_TRACYL_BASE_TOOL_1[ ] [0] = 0 Vector of basis tool for the 1st TRACYL transformation in XYZ [1] = 0 [2] = 0 Data set for the 2nd transformation in the channel MD24200 $MC_TRAFO_TYPE_2 = 513 Transformer type (513 = cylinder surface transformation with groove side offset)
  • Page 475: Turning

    Configuring cycles 22.5 Turning MD24870 $MC_TRACYL_BASE_TOOL[ ] [0] = 0 Vector of basis tool for the 2nd TRACYL transformation in XYZ [1] = 0 [2] = 0 Note Data records for transformations For both data records, you can use any transformations from all available transformations (MD24100 $MC_TRAFO_TYPE_1, MD24200 $MC_TRAFO_TYPE_2, etc.).
  • Page 476 Configuring cycles 22.5 Turning MD52218 $MCS_FUNCTION_MASK_TURN Turning function screen Bit 0 Enable zoom under manual for tool measurement Bit 1 Enable part catcher for cut-off Bit 2 Enable tailstock Bit 3 Enable spindle control of main spindle via user interface Bit 4 Enable spindle control of the counterspindle control via user interface Bit 5...
  • Page 477 Configuring cycles 22.5 Turning You specify the settings in the following machine data: MD52207 $MCS_AXIS_USAGE_ATTRIB[n] Attributes of the axes [n] channel axis number Bit 3 Displayed positive direction of rotation is counter-clockwise (for rotary axes) The view must be from the inside of the machine (operator's view) to the axis of rotation. Bit 4 Displayed direction of rotation for M3 is counter-clockwise (for spindles) This bit can be set from the operator's view or according to DIN 66025.
  • Page 478 Configuring cycles 22.5 Turning Note MD52207[n] bit 4 = *) Bit 4 can be set from the operator's view (values as specified) or according to DIN ("0" and "1" are then interchanged). Dimensions To define the reference point for moving the counterspindle, you must first communicate the dimensions of the counterspindle.
  • Page 479: Setting Up A Counterspindle

    Configuring cycles 22.5 Turning MD52252 $MCS_M_CODE_CHUCK_CLOSE[ ] M code for close chuck Main spindle Counterspindle MD52253 $MCS_M_CODE_TAILSTOCK_FORWARD[ ] M code for quill forward Quill opposite the main spindle MD52254 $MCS_M_TAILSTOCK_BACKWARD[ ] M code for quill back Quill opposite the main spindle Quill opposite the main spindle Rounding the contour SD55582 $SCS_TURN_CONT_TRACE_ANGLE...
  • Page 480 Configuring cycles 22.5 Turning Meaning of the axes MD52206 $MCS_AXIS_USAGE[n] Meaning of the axes in the channel [n] channel axis number A detailed description of MD52006 is provided in Chapter "Activating turning/milling/drilling technologies (Page 451)". Traversing direction In order that the user interface and cycles know in which direction the spindles and rotary axes rotate, the following settings must be made.
  • Page 481 Configuring cycles 22.5 Turning As a result, the following setting options are obtained for the counterspindle: Counterspindle direction of rotation 52207[n] 52207[n] 52207[n] DB3n. bit 3 = bit 4 = *) bit 5 = DBX17.6 Note MD52207[n] bit 4 = *) Bit 4 can be set from the operator's view (values as specified) or according to DIN ("0"...
  • Page 482: Technology Cycles For Turning

    Configuring cycles 22.5 Turning Dimensions To define the reference point for moving the counterspindle, you must first announce the dimensions of the counterspindle. You can either enter the dimensions in the following axis- specific cycle machine data or in the menu "Parameter". → "Setting data" → "Spindle chuck data".
  • Page 483 Configuring cycles 22.5 Turning SD55580 $SCS_TURN_CONT_RELEASE_ANGLE Angle, through which the tool is lifted from the contour for contour turning, roughing. = 45 Retraction angle of 45 degrees SD55581 $SCS_TURN_CONT_RELEASE_DIST Amount, by which the tool is lifted when roughing a contour taking into account the retraction angle SD55580 $SCS_TURN_CONT_RELEASE_ANGLE.
  • Page 484 Configuring cycles 22.5 Turning SD55583 $SCS_TURN_CONT_VARIABLE_DEPTH Percentage of the changing cutting depth when turning a contour You can select changing the cutting depth for stock removal and for removing residual material. = 20 20% variable cutting depth SD55584 $SCS_TURN_CONT_BLANK_OFFSET Safety clearance when avoiding obstacles, to avoid collisions during approach or retraction from the machining.
  • Page 485 Configuring cycles 22.5 Turning SD55587 $SCS_TURN_CONT_MIN_REST_MAT_AX1 Limit value during contour turning for removal of residual material in the direction of axis 1 (for G18 Z). This also applies to residual machining – stock removal, grooving and plunge turning. The roughing step for residual machining is not executed, if the material to be removed is less than 50% of the finishing allowance.
  • Page 486: Axis Configuration Of A Lathe

    Configuring cycles 22.5 Turning Distance to the last cut, SD55595 Retraction between plunge-cutting and stock removal, SD55596 As the tool bends during plunge turning, the tool would make an excessively deep cut during stock removal. The retraction distance of the tool between plunge-cutting and stock removal is specified in the following channel-specific cycle setting data: SD55596 $SCS_TURN_CONT_TURN_RETRACTION Retraction depth before turning...
  • Page 487 Configuring cycles 22.5 Turning Lathe with X and Z axes, main and tool spindle For example, for a lathe with X and Z axes, main spindle (C1) and tool spindle (WZ), you can configure the following channel-specific machine data: MD20080 $MC_AXCONF_CHANAX_NAME_TAB[ ] Channel axis name in the channel [0] = XC Channel axis XC...
  • Page 488: Cylinder Surface Transformation (Tracyl)

    Configuring cycles 22.5 Turning 22.5.5 Cylinder surface transformation (TRACYL) Software option You require the following software option in order to use this function: "Transmit and peripheral surface transformation" Function Using the cylinder surface transformation function (TRACYL), you can machine the peripheral surface of a turned part.
  • Page 489 Configuring cycles 22.5 Turning MD24400 $MC_TRAFO_TYPE_4 Cylinder surface transformation, counterspindle: Transformation 4 = 512 Without groove side offset (without Y axis) = 513 With groove side offset (with Y axis) With groove side offset and Y offset = 514 Note You must also set up other machine data for each of the individual transformations.
  • Page 490 Configuring cycles 22.5 Turning MD24810 $MC_TRACYL_ROT_SIGN_IS_PLUS_1 Sign of the rotary axis for the 1st TRACYL transformation. MD24820 $MC_TRACYL_BASE_TOOL_1[ ] Vector of the basis tool for the 1st TRACYL transformation. [0] = 0 [1] = 0 [2] = 0 Cylinder surface transformation with groove side offset MD24300 $MC_TRAFO_TYPE_3 Definition of the 3rd transformation in the channel...
  • Page 491: End Face Machining (Transmit)

    Configuring cycles 22.5 Turning MD24810 $MC_TRACYL_ROT_SIGN_IS_PLUS_1 Sign of the rotary axis for the 1st TRACYL transformation. MD24820 $MC_TRACYL_BASE_TOOL_1[ ] Vector of the basis tool for the 1st TRACYL transformation. [0] = 0 [1] = 0 [2] = 0 22.5.6 End face machining (TRANSMIT) Software option You require the following software option in order to use this function: "Transmit and peripheral surface transformation"...
  • Page 492 Configuring cycles 22.5 Turning MD24110 $MC_TRAFO_AXES_IN_1[ ] Axis assignment for the 1st transformation in the channel [0] = 1 Perpendicular to the rotary axis XC [1] = 3 Rotary axis (main spindle) C1 [2] = 2 Parallel to the rotary axis ZC MD24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1[ ] Assignment of the geometry axes to channel axes for transformation 1...
  • Page 493 Configuring cycles 22.5 Turning MD24110 $MC_TRAFO_AXES_IN_1[ ] Axis assignment for the 1st transformation in the channel. [0] = 1 Perpendicular to the rotary axis XC [1] = 3 Rotary axis C1 [2] = 2 Parallel to the rotary axis ZC MD24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1[ ] Assignment of the geometry axes to channel axes for transformation 1.
  • Page 494: Inclined Y Axis (Traang)

    Configuring cycles 22.5 Turning 22.5.7 Inclined Y axis (TRAANG) Software option You require the following software option in order to use the inclined Y axis function on your machine: "Inclined axis" Function If your lathe has an inclined Y axis (i.e. this axis is not perpendicular to axes X and Z), you can still completely program machining operations in Cartesian coordinates.
  • Page 495 Configuring cycles 22.5 Turning MD20118 $MC_GEOAX_CHANGE_RESET Allow automatic geometry axis change. MD20140 $MC_TRAFO_RESET_VALUE TRAANG always active after reset. MD20144 $MC_TRAFO_MODE_MASK Bit 0 = 1 TRAANG runs in the background (persistent) and is not shown on the user interface. MD20070 $MC_AXCONF_MACHAX_USED[4] Channel axis YC = 5th machine axis.
  • Page 496 Configuring cycles 22.5 Turning MD24436 $MC_TRAFO_INCLUDES_TOOL_5 Tool handling with active transformation 5. MD24700 $MC_TRAANG_ANGLE_1 = 55 Angle between 1st and 2nd transformer axis. Data record for linking (TRACON) of end face machining on main spindle (TRANSMIT) and inclined axis (TRAANG). Data record for linking (TRACON) of end face machining on main spindle (TRANSMIT) and inclined axis (TRAANG): MD24440 $MC_TRAFO_TYPE_6...
  • Page 497: Swiveling

    Configuring cycles 22.6 Swiveling Data record for linking (TRACON) of cylinder surface transformation on main spindle (TRACYL) and inclined axis (TRAANG): MD24450 $MC_TRAFO_TYPE_7 = 8192 Type of transformation 7 in the TRACON channel. MD24454 $MC_TRAFO_GEOAX_ASSIGN_TAB_7[ ] Assignment of geometry axes to channel axes for transformation 7.
  • Page 498 Configuring cycles 22.6 Swiveling MD28082 $MC_MM_SYSTEM_FRAME_MASK System frames (SRAM) = 3DH Bit 2 = 1 TCARR and PAROT Bit 3 = 1 TAROT and TOFRAME Bit 4 = 1 Workpiece reference points Bit 5 = 1 System frame for cycles Note Changing machine data MD18088 and MD28082 causes the buffered memory to be reorganized.
  • Page 499 Configuring cycles 22.6 Swiveling Bit 1 Select text when retracting "Z, ZY" or "Fixed position 1/2" = 0 Display text Z = "Z", display text Z, XY = "Z,XY" = 1 Display text Z = "Fixed point 1", Display text Z, XY = "Fixed point 2". If you wish to modify the retraction version "Z"...
  • Page 500 Configuring cycles 22.6 Swiveling Example: MD18088 $MN_MM_NUM_TOOL_CARRIER = 4 Number of channels = 2 Assignment of the TO areas: MD28085 $MN_MM_LINK_TOA_UNIT= 2, this results in two swivel data sets per channel. Using angular tools Angular tools are created and managed in the NC with tool type 130. The tool lengths are entered in the tool of tool type 130.
  • Page 501 Configuring cycles 22.6 Swiveling MD20150 $MC_GCODE_RESET_VALUES[ ] Delete position, G group. [41] = 1 Delete position, G group 42 on TCOABS [51] = 2 Delete position, G group 52 on PAROT [52] = 1 Delete position, G group 53 on TOROTOF [52] = >...
  • Page 502 Configuring cycles 22.6 Swiveling MD20360 $MC_TOOL_PARAMETER_DEF_MASK Tool parameter setting Bit 10 = 1 Orientation vector remains at T0 or D0 (no tool) Used for machine kinematics, types "T" and "M" See parameter $TC_CARR34 MD21186 $MC_TOCARR_ROT_OFFSET_FROM_FR Offset of the rotary axes for a tool holder with orientation capability from the zero offset of the rotary axis.
  • Page 503 Configuring cycles 22.6 Swiveling MD24006 $MC_CHSFRAME_RESET_MASK Active system frames after RESET Bit 4 System frame workpiece reference = 0 Not active = 1 Remains active MD24007 $MC_CHSFRAME_RESET_CLEAR_MASK Clear system frames after RESET Bit 4 System frame workpiece reference = 0 Do not delete = 1 Delete When used for measuring or swiveling in JOG, the workpiece reference must be active on RESET and not cleared (cascaded measuring).
  • Page 504 Configuring cycles 22.6 Swiveling Application: Zero offset G5xx, including all rotations, should remain active after Power On. MD28082 $MC_MM_SYSTEM_FRAME_MASK Setting-up system frames (SRAM) Bit 2 = 1 Rotary table reference ($P_PARTFRAME) Bit 3 = 1 Tool reference ($P_TOOLFRAME) Bit 4 = 1 Workpiece reference ($P_WPFRAME) MD28083 $MC_MM_SYSTEM_DATAFRAME_MASK Setting-up data management, system...
  • Page 505: Cycle800 Checklist For The Identification Of The Machine Kinematics

    Configuring cycles 22.6 Swiveling SD42980 $SC_TOFRAME_MODE Setting, frame definition for TOROT, PAROT = 2000 Swivel (default value) SD42974 $SC_TOCARR_FINE_CORRECTION Fine offset TCARR (swivel data set) No fine offset of the swivel data set vectors Fine offset of the swivel data set vectors The parameters of the swivel data set from $TC_CARR41[n] n…number of the swivel data set and higher apply Swiveling in the JOG mode...
  • Page 506: Commissioning Of The Kinematic Chain (Swivel Data Record)

    Configuring cycles 22.6 Swiveling ● What are the names of the rotary axes of the kinematics? Manual rotary axes are permitted and do not have to be declared in the NC. ● What is the 1st or 2nd rotary axis of a swivel data set? Rule: Rotary axis 2 is based on rotary axis 1.
  • Page 507 Configuring cycles 22.6 Swiveling Offset vectors I1 to I4 
 T he vectors always contain three components, which represent the reference to the machine axes (X, Y, Z). The positions in the kinematic chain are measured by the machine manufacturer; they are always relevant with respect to a swivel head / swivel table (swivel data set).
  • Page 508 Configuring cycles 22.6 Swiveling Offset vectors I1 to I4 $TC_CARR1[n] ... $TC_CARR20[n] 
 T he vectors always contain three components, which represent the reference to the machine axes (X, Y, Z). The positions in the kinematic chain are measured by the machine manufacturer;...
  • Page 509 Configuring cycles 22.6 Swiveling The sign of the offset vectors (I1 to I4) and the rotary axis vectors (V1, V2) result from the specifications of the axis directions according to ISO 841-2001 or DIN 66217 (right-hand rule). In the case of machine kinematics that move the workpiece (rotary table), the axis direction is reversed.
  • Page 510 Configuring cycles 22.6 Swiveling Name of swivel data record If several swivel data records are declared in each NC channel, then a name is assigned to each swivel data set. No name needs to be specified if the swivel-mounted tool carrier is not exchangeable (i.e.
  • Page 511 Configuring cycles 22.6 Swiveling For automatic rotary axes, the channel names of the corresponding NC rotary axes must be entered (see $TC_CARR37[n] TENS and HUNDREDS position: Automatic mode). For manual (manually adjustable) and semi-automatic rotary axes, you can use any axis identifier (up to six letters or numbers).
  • Page 512 Configuring cycles 22.6 Swiveling Significance of the decimal places: In order that a value can be displayed in the input / selection boxes of the dialog for swiveling, the following display versions can be set: $TC_CARR37[n] Display variants of the input screens for CYCLE800 Decimal place Meaning ONES...
  • Page 513 Configuring cycles 22.6 Swiveling $TC_CARR37[n] Display variants of the input screens for CYCLE800 Decimal place Meaning ONE MILLION TEN Selection field, retraction MILLION 00 = No retraction 01 = Retraction Z 02 = Retraction Z, XY 03 = Retraction Z or Z, XY 04 = Maximum retraction in tool direction 08 = Incremental retraction in tool direction 15 = Retraction Z or Z, XY or...
  • Page 514 Configuring cycles 22.6 Swiveling The ONE MILLION and TEN MILLION positions of the system variable $TC_CARR37[n] define which retraction versions are displayed in the input mask: ● Retraction of axis Z ● Retract axes Z, XY ● Retract in the tool direction, maximum or incremental Retracting axis Z or retracting axes Z, XY is realized as an absolute machine position at the values of parameters $TC_CARR38[n] to $TC_CARR40[n].
  • Page 515: Examples Of Machine Kinematics For The Commissioning Of The Swivel Function

    Configuring cycles 22.6 Swiveling I3 $TC_CARR15..17[n] $TC_CARR55..57[n] I4 $TC_CARR18..20[n] $TC_CARR58..60[n] The fine offsets are activated by the following setting data: SD42974 $SC_TOCARR_FINE_CORR Fine offset TCARR on/off ECTION = 1 When activating a tool carrier that can be oriented, the fine offset values are not taken into account.
  • Page 516 Configuring cycles 22.6 Swiveling Table 22- 1 Commissioning softkey "Swivel", Kinematics (Example 1) Kinematics Swivel head HEAD_1 Retract 200.000 Offset vector I1 0.000 0.030 -63.000 Rotary axis vector V1 0.000 0.000 1.000 Offset vector I2 0.000 0.000 40.000 Rotary axis vector V2 1.000 0.000 0.000...
  • Page 517 Configuring cycles 22.6 Swiveling Table 22- 2 Commissioning softkey "Swivel", Kinematics (Example 2) Kinematics Swivel head HEAD_2 Retract Tool direction Max.+inc. 200.000 Offset vector I1 0.000 -172.000 -265.800 Rotary axis vector V1 0.000 1.000 0.000 Offset vector I2 0.000 172.000 172.000 Rotary axis vector V2 0.000...
  • Page 518 Configuring cycles 22.6 Swiveling The reference point of the pivot point of rotary axes 1 and 2 can be offset on the line of rotation and does not have to coincide with the mechanical pivot point. Calculation of rotary axis vector V2: 45 degree angle V2Y= sin(45)= 0.7071 V2z= cos(45)= 0.7071 V2Y and V2z can be normalized to 1.
  • Page 519 Configuring cycles 22.6 Swiveling Kinematics Swivel table TABLE_45 Offset vector I2 0.000 -100.000 -20.000 Rotary axis vector V1 0.000 -1.000 1.000 Offset vector I3 0.000 0.000 -30.000 Rotary axis vector V2 0.000 0.000 -1.000 Offset vector I4 0.000 100.000 50.000 Display version Swivel mode Axis-by-axis...
  • Page 520 Configuring cycles 22.6 Swiveling Example 4: Swivel head/rotary table "MIXED_45" Vectors relate to the basic setting of the kinematics Rotary axis vector V1: Rotary axis B rotates around Y and around Z. Rotary axis vector V2: Rotary axis C rotates around Z. Offset vector I2: Distance from the reference point of the tool adapter to the pivot...
  • Page 521 Configuring cycles 22.6 Swiveling Table 22- 3 Commissioning softkey "Swivel", Kinematics (Example 4) Kinematics Mixed kinematics MIXED_45 Offset vector I1 0.000 0.000 -30.600 Rotary axis vector V1 0.000 1.000 1.000 Offset vector I2 0.000 0.000 30.600 Offset vector I3 300.000 150.000 0.000 Rotary axis vector V2...
  • Page 522 Configuring cycles 22.6 Swiveling Side view of the machine from the X direction Spindle (tool adapter) is positioned on a block dimension above the top edge of the table (rotary axis C) or the center of the table. A measuring rod in the spindle is used to determine the turning center of rotary axis C.
  • Page 523 Configuring cycles 22.6 Swiveling Table 22- 4 Commissioning softkey "Swivel", Kinematics (Example 5) Kinematics Swivel table TABLE_5 Offset vector I2 260.000 200.000 0.000 Rotary axis vector V1 -1.000 0.000 0.000 Offset vector I3 0.000 0.020 20.400 Rotary axis vector V2 0.000 0.000 -1.000...
  • Page 524: Manufacturer Cycle Cust_800.Spf

    Configuring cycles 22.6 Swiveling Example 7: Configuring a milling machine with B axis for turning. You can configure a milling machine with a B axis (rotation around Y) so that turning is possible. The following example refers to a milling machine with a rotary axis around Y (B), a rotary axis around Z (C) and a main spindle (SP) in the tool direction Z (G17).
  • Page 525 Configuring cycles 22.6 Swiveling In cycle CUST_800.SPF, the function markers (_M2: to _M59) are prepared and documented. Also refer to the following "Structogram CYCLE800" Note If you modify the CUST_800, ensure that the G commands of the G groups used are restored at the end of the CUST_800 (versions S_G_1 to S_G_%!).
  • Page 526 Configuring cycles 22.6 Swiveling Figure 22-6 Structure (coarse) of swivel cycles SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 527 Configuring cycles 22.6 Swiveling CYCLE800 structured chart Sequence in AUTOMATIC mode Figure 22-7 Structure: CYCLE800.SPF / CUST_800.SPF SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 528 Configuring cycles 22.6 Swiveling Figure 22-8 Structure: E_TCARR.SPF (F_TCARR.SPF) / CUST_800.SPF SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 529 Configuring cycles 22.6 Swiveling Note on markers _M2 to _M13 When the swivel data set or tool is changed, the linear axes are recovered using the last retraction mode (modal). If this behavior is not desired in milling/turning, the corresponding calls must be commented out with a semicolon (;).
  • Page 530 Configuring cycles 22.6 Swiveling Note on marker _M40 This marker is called before the calculation and activation of the Toollcarrier function as user initialization. This makes it possible for special kinematics, to calculate or rewrite the current vectors of the active swivel data set. Boring mill application example: For parallel axes, the vector in the Z direction can be updated with the actual value of the W axis.
  • Page 531: Cycle996 Measure Workpiece Kinematics

    Configuring cycles 22.6 Swiveling Note on swiveling without active tool compensation If swiveling the rotary axes without active tool cutting edge (D0) is not possible, then you can adapt this in cycle CUST_800.SPF: M40: IF ((NOT $P_TOOL) AND _TC1) LOOP MSG ("no tool cutting edge active") STOPRE ENDLOOP...
  • Page 532 Preconditions The following requirements must be met in order to use CYCLE996 (Measure kinematics): ● SIEMENS measuring cycles package is installed ● Workpiece probe is calibrated ● Calibration ball is mounted ●...
  • Page 533: High-Speed Machining

    Configuring cycles 22.7 High-speed machining 22.7 High-speed machining 22.7.1 High speed settings: Configuring CYCLE832 Function The High Speed Settings function (CYCLE832) is used to preset data for the machining of sculptured surfaces so that optimum machining is possible. The call of CYCLE832 contains three parameters: ●...
  • Page 534 Configuring cycles 22.7 High-speed machining There are 2 options available for this: 1. Direct entry of the orientation tolerance OTOL Machining types: _ORI_ROUGH, _ORI_SEMIFIN, _ORI_FINISH To enter the orientation tolerance in the input screen for CYCLE832, bit 1 =1 must be set in the setting data SD55220 $SCS_FUNCTION_MASK_MILL_TOL_SET 2.
  • Page 535: Manufacturer Cycle Cust_832.Spf

    Configuring cycles 22.7 High-speed machining Dynamic parameters can be adapted to the respective machining operation with the technology G groups. Using the commands of technology G group 59, the value of the following channel and axis-specific machine data is activated using the corresponding array index: MD20600 $MC_MAX_PATH_JERK[0..4] Path dependent maximum jerk.
  • Page 536 Configuring cycles 22.7 High-speed machining The following markers are prepared in CUST_832.SPF: _M_NORM: For deselection _OFF CYCLE832 _M_FINISH: For finishing _FINISH and _ORI_FINISH _M_SEMIFINISH: For semi-finishing _SEMIFIN and _ORI_SEMIFIN _M_ROUGH: For roughing _ROUGH and _ORI_ROUGH The following G functions are programmed in CUST_832.SPF: SOFT COMPCAD G645...
  • Page 537: Measuring Cycles And Functions

    Configuring cycles 22.8 Measuring cycles and functions With the following setting data, additional G functions can be programmed in CUST_832.SPF for using multi-axis programming: SD55220 $SCS_FUNCTION_MASK_MILL_TOL_SET Function screen form, high speed settings CYCLE832 Bit 1 Orientation tolerance (OTOL) as a factor of the tolerance (CTOL) or directly entered Example Using _MOTOL in CUST_832.SPF for the marker for finishing: _M_FINISH:...
  • Page 538 Configuring cycles 22.8 Measuring cycles and functions Setting the switching behavior You set the electrical polarity of the connected probe using the following general machine data: MD13200 $MN_MEAS_PROBE_LOW_ACTIVE Polarity change of the probe Probe in the non-deflected state, 0 V default value Probe in the deflected state, 24 V Probe in the non-deflected state, 24 V Probe in the deflected state, 0 V...
  • Page 539 Configuring cycles 22.8 Measuring cycles and functions Program code Comment N20 MEAS=1 G1 X100 ;Measurement at measuring input 1 in the X axis N30 MTSIGNAL=$AC_MEA[1] ;Switching operation at the 1st measuring input completed, ;YES / NO N35 IF MTSIGNAL == 0 GOTOF _FEHL1 ;evaluation of signal N40 R1=$AA_MM[X] ;Save measured value in machine...
  • Page 540 Configuring cycles 22.8 Measuring cycles and functions MD52740 $MCS_MEA_FUNCTION_MASK Measuring cycles function mask Bit 0 Measuring input, workpiece probe = 0 Workpiece probe at the CNC measuring input 1, active - default = 1 Workpiece probe at the CNC measuring input 2, active Bit 1 Workpiece measurement, functional behavior of a third geometry axis (Y axis) when turning, based on the machining plane G18!
  • Page 541: Manufacturer And User Cycle Cust_Meacyc.spf

    Configuring cycles 22.8 Measuring cycles and functions Bit 14 Coupling the spindle alignment with coordinate rotation around the infeed axis, for workpiece measurement with multiprobe in the JOG mode Bit 15 Workpiece measurement calibration in the bore with known or unknown center point, measuring in JOG Bit 16 Collision monitoring for tool measurement...
  • Page 542 Configuring cycles 22.8 Measuring cycles and functions CUST_MEACYC structogram Sequence in the AUTOMATIC mode, using measure bore as example, CYCLE977 with probe type 712. Figure 22-9 Structure: CYCLE977 / CUST_MEACYC SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 543: Measuring In Jog Mode

    Configuring cycles 22.8 Measuring cycles and functions 22.8.3 Measuring in JOG mode Preconditions You have already made the settings from the previous section "Measuring cycles and measurement functions, general (Page 531)". Workpiece measurement For milling: ● The probe has been inserted in the tool spindle. ●...
  • Page 544 Configuring cycles 22.8 Measuring cycles and functions MD52750 $MCS_J_MEA_FIXPOINT Z value for measurement with respect to a fixed point MD52751 $MCS_J_MEA_MAGN_GLAS_POS Zoom-in position for tool measurement Position in the 1st axis Position in the 2nd axis Checking and setting the general machine data MD11450 $MN_SEARCH_RUN_MODE Programming search.
  • Page 545 Configuring cycles 22.8 Measuring cycles and functions MD20310 $MC_TOOL_MANAGEMENT_MASK Activates tool manager functions = 4002H Minimum value Bit 1 = 1 Tool manager and monitoring functions active Bit 14 = 1 Automatic tool change for RESET and Start. MD28082 $MC_SYSTEM_FRAME_MASK System frames (SRAM).
  • Page 546: Measuring Workpieces In Milling

    Configuring cycles 22.8 Measuring cycles and functions 22.8.3.1 Measuring workpieces in milling Measuring in the "Machine" operating area can be appropriately adapted to the specific requirements using the following channel-specific general machine data and channel-specific cycle setting data. General configuration machine data SD55630 $SCS_MEA_FEED_MEASURE Calibrating the measuring feedrate for the workpiece probe and measuring the...
  • Page 547 Configuring cycles 22.8 Measuring cycles and functions MD51758 $MNS_J_MEA_COLL_MONIT_POS_FEED Position feedrate in mm/min, in the infeed axis for active collision monitoring. = 1000 Default value MD51770 $MNS_J_MEA_CAL_RING_DIAM[n] Pre-assignment of the calibration diameter in mm specifically for the calibration data sets. = -1 Default value MD51772 $MNS_J_MEA_CAL_HEIGHT_FEEDAX[n]...
  • Page 548: Measuring Tools In Milling

    Configuring cycles 22.8 Measuring cycles and functions 22.8.3.2 Measuring tools in milling Measuring feedrate for tool measurement in JOG and AUTOMATIC SD55628 $SCS_MEA_TP_FEED_MEASURE Calibrate measuring feedrate for tool probe and tool measurement with stationary spindle. = 300 Default value Note Measuring feedrate for tool measuring All measuring cycles use the value saved in SD54636 or SD54651 as the measuring feedrate after the tool probe has been calibrated.
  • Page 549 Configuring cycles 22.8 Measuring cycles and functions Decimal place TENS 2. Axis axis not possible only minus direction only plus direction both directions HUNDREDS 3. Axis axis not possible only minus direction only plus direction both directions Example If the general setting data SD54632 $SNS_MEA_T_PROBE_ALLOW_AX_DIR[k] has the value 123, the tool probe is calibrated as follows in the G17 plane: ●...
  • Page 550 Configuring cycles 22.8 Measuring cycles and functions MD51753 $MNS_J_MEA_M_DIST_TOOL_RADIUS Measuring path to measure the tool radius. Default value MD51786 $MNS_J_MEA_T_PROBE_MEASURE_DIST Measuring path to calibrate the probe or for measurements with stationary spindle. = 10 Default value General cycle setting data when measuring with rotating spindle SD54670 $SNS_MEA_CM_MAX_PERI_SPEED[0] Maximum permissible peripheral speed of the tool to be measured.
  • Page 551 Configuring cycles 22.8 Measuring cycles and functions SD54674 $SNS_MEA_CM_SPIND_ROT_DIR[0] Spindle direction of rotation to measure tools. Spindle rotation the same as M4 (default value) Note If the spindle is already rotating when the measuring cycle is called, this direction of rotation remains independent of the setting of this data.
  • Page 552 Configuring cycles 22.8 Measuring cycles and functions SD54693 $SNS_MEA_T_MAX_STEPS Maximum number of probe contacts for single cutting edge measurement of the radius. = 10 Default value If the value = 0, then the "highest point on the longest cutting edge" is not sought, but the measured value of the contact with the rotating spindle taken.
  • Page 553: Measuring Tools For Turning

    Configuring cycles 22.8 Measuring cycles and functions 22.8.3.3 Measuring tools for turning Measuring feedrate for tool measurement in turning operation SD55628 $SCS_MEA_TP_FEED_MEASURE Calibrate measuring feedrate for tool probe and tool measurement with stationary spindle. = 300 Default value Note Measuring feedrate for tool measuring All measuring cycles use the value saved in SD54636 or SD54651 as the measuring feedrate after the tool probe has been calibrated.
  • Page 554: Measuring Behind The Turning Center

    Configuring cycles 22.8 Measuring cycles and functions Calibrating tool probes Use the following general cycle machine data to set the access level as of which the "Calibrate probe" softkey is displayed. This requires that the automatic tool measurement is enabled using the setting data SD54782 (bit 2 = 1). MD51070 $MNS_ACCESS_CAL_TOOL_PROBE Calibrate tool probe access level.
  • Page 555: Measuring Without Electronic Probe In Jog

    Configuring cycles 22.8 Measuring cycles and functions If the required mirroring is also to be automatically activated when programming the TRANSMIT command, the TRANSMIT command must be replaced by a subprogram (e.g. in the manufacturer directory): MD10712 $MN_NC_USER_CODE_CONF_NAME_TAB[0]="TRANSMIT" MD10712 $MN_NC_USER_CODE_CONF_NAME_TAB[1]="TRANSM" TRANSMIT.SPF PROC TRANSMIT(INT_NR) F_T_REV2...
  • Page 556: Measuring In Automatic Mode

    Configuring cycles 22.8 Measuring cycles and functions 22.8.4 Measuring in AUTOMATIC mode Precondition Software option In order to use the "Measuring in AUTOMATIC" function, you require the software option: "Measuring cycles" You have already made the settings from Chapter "Measuring cycles and measurement functions, general (Page 531)".
  • Page 557 Configuring cycles 22.8 Measuring cycles and functions The measuring cycle stops an internal machine data, the measuring result is statically displayed on the screen! Continue with NC start, the measuring result screen is deselected. The measuring result is only displayed on the screen for cycle alarms 61303, 61304, 61305, 61306.
  • Page 558: Workpiece Measurement, General

    Configuring cycles 22.8 Measuring cycles and functions 22.8.4.1 Workpiece measurement, general Using the following general and channel-specific cycle setting data, you can appropriately adapt workpiece measurement to the specific requirements in the "Program" operating area. Precondition You have already made the settings from the following section: See also: Measuring cycles and measurement functions, general (Page 531) Settings General cycle setting data...
  • Page 559 Configuring cycles 22.8 Measuring cycles and functions Channel-specific cycle setting data SD55630 $SCS_MEA_FEED_MEASURE Measuring feedrate [mm/rev] = 300 Measuring feedrate when calibrating the workpiece probe Note Measuring feedrate for workpiece measuring All measuring cycles use the value saved in SD54611 $SNS_MEA_WP_FEED[n] as measuring feedrate after the tool probe has been calibrated.
  • Page 560: Workpiece Measurement In Milling

    Configuring cycles 22.8 Measuring cycles and functions SD55642 $SCS_MEA_EDGE_SAVE_ANG Safety angle when measuring a corner (CYCLE961) Degrees This angle is added to the angle that the user entered between the workpiece reference edge and the 1st axis of the active coordinate system in a positive direction, and refers to the corner measurement in the automatic mode (CYCLE961).
  • Page 561: Tool Measurement In Milling

    Configuring cycles 22.8 Measuring cycles and functions SD54604 $SNS_MEA_WP_TRIG_PLUS_DIR_AX2[n] Trigger point, plus direction, 2nd measuring axis in the plane. SD54605 $SNS_MEA_WP_TRIG_MINUS_DIR_AX3[n] Trigger point, minus direction, 3rd measuring axis in the tool direction. SD54606 $SNS_MEA_WP_TRIG_PLUS_DIR_AX3[n] Trigger point, plus direction, 3rd measuring axis opposite to the tool direction.
  • Page 562 Configuring cycles 22.8 Measuring cycles and functions Calibration data of the tool probe, referred to the machine coordinate system Before calibration is started, the position of the tool probe in the machine coordinate system (MCS) must be entered into the following general cycle setting data. In this case, the reference point is the outer diameter or the tool length of the active tool in the spindle.
  • Page 563 Configuring cycles 22.8 Measuring cycles and functions Decimal place ONES 1st axis axis not possible only minus direction only plus direction both directions TENS 2nd axis axis not possible only minus direction only plus direction both directions HUNDREDS 3rd axis axis not possible only minus direction only plus direction...
  • Page 564 Configuring cycles 22.8 Measuring cycles and functions Calibration data of the tool probe referred to the workpiece coordinate system Before calibration is started, the position of the tool probe in the workpiece coordinate system (WCS) must be roughly entered into the following general cycle setting data. In this case, the reference point is the outer diameter or the tool length of the active tool in the spindle.
  • Page 565 Configuring cycles 22.8 Measuring cycles and functions Decimal place ONES 1. Axis axis not possible only minus direction only plus direction both directions TENS 2. Axis axis not possible only minus direction only plus direction both directions HUNDREDS 3. Axis axis not possible only minus direction only plus direction...
  • Page 566 Configuring cycles 22.8 Measuring cycles and functions SD54672 $SNS_MEA_CM_MAX_FEEDRATE[0] Maximum permissible feedrate to probe the tool to be measured at the probe. = 20 Default value SD54673 $SNS_MEA_CM_MIN_FEEDRATE[0] Minimum feedrate for the first probing of the tool to be measured at the probe.
  • Page 567 Configuring cycles 22.8 Measuring cycles and functions SD54677 $SNS_MEA_CM_MEASURING_ACCURACY[0] Specified measuring accuracy. The value of this parameter always refers to the last probing of the tool at the probe. = 0.005 Default value Measurement with rotating spindle: Measured value correction using correction tables SD54691 $SNS_MEA_T_PROBE_OFFSET Activates the measuring result correction...
  • Page 568: Measuring Workpieces In Turning

    Configuring cycles 22.8 Measuring cycles and functions 22.8.4.4 Measuring workpieces in turning General settings for turning MD52740 $MNS_MEA_FUNCTION_MASK Measuring cycles function mask Bit 1 Workpiece measurement, measuring in the third geometry axis (Y, when turning = 0 The measuring cycles do not support a third geometry axis (Y axis)! =1 Setpoint input and parameterization (SETVAL, _TUL, _TLL, SZO) refer to the third geometry axis (Y axis).
  • Page 569: Measuring Tools For Turning

    Configuring cycles 22.8 Measuring cycles and functions 22.8.4.5 Measuring tools for turning Calibration data of the tool probe referred to the machine coordinate system If you wish to calibrate the tool probe in the machine coordinate system, then the position of the tool probe in the machine coordinate system must be entered into the following general cycle setting data.
  • Page 570: Milling With Shopmill

    ShopTurn. 22.9.1 Setting-up ShopMill cycles for milling Load ShopMill cycles for milling When the control boots, the ShopMill cycles are automatically loaded into the following directory: ../siemens/sinumerik/cycles/sm/prog Setting the coordinate system MD52000 $MCS_DISP_COORDINATE_SYSTEM Position of the coordinate system Examples: =0 for vertical milling machines...
  • Page 571 Configuring cycles 22.9 Milling with ShopMill Defining the direction of rotation In order that the direction of rotation is correctly displayed in the ShopMill user interface, and when programming ShopMill functions, the correct direction of rotation is executed, you must make some settings that are coordinated with one another.
  • Page 572: Cylinder Surface Transformation In Shopmill

    Configuring cycles 22.9 Milling with ShopMill MD52281 $MCS_TOOL_MCODE_FUNC_ON[ ] M code for tool-specific function ON = -1 M function is not output. If both M commands of a function "= -1", the corresponding field is not displayed on the interface. M code for tool-specific function 1 ON M code for tool-specific function 2 ON M code for tool-specific function 3 ON...
  • Page 573: Shopmill Cycles For Multiple Clamping

    Configuring cycles 22.9 Milling with ShopMill Function The following groove machining operations can be performed with the Cylinder surface transformation functions: ● Longitudinal grooves on cylindrical bodies ● Transverse grooves on cylindrical objects ● Grooves with any path on cylindrical bodies The path of the slots is programmed with reference to the flattened,plane cylinder surface.
  • Page 574 Configuring cycles 22.9 Milling with ShopMill Procedure for setting up 1. Change the CLAMP.SPF cycle which is stored in the cycle/sc/prog/templates_deu or cycle/sc/prog/templates_eng directory. 2. Copy the cycle into the user or manufacturer directory. Example A rotating clamping device (reversible clamping device) is used with four clampings. The respective clampings can be machined by positioning rotary axis A: Clamping 1: A = 0°...
  • Page 575: Turning With Shopturn

    Configuring cycles 22.10 Turning with ShopTurn ENDIF IF _ACT==2 G0 A=DC(90) ENDIF IF _ACT==3 G0 A=DC(180) ENDIF IF _ACT==4 G0 A=DC(270) ENDIF ;–––––––––––––––––––––––––––––––––––– Calculate current zero offset _NV=_NPV+_ACT ; There must not be a calculation here N10 G[8]=_NV ; 22.10 Turning with ShopTurn General All of the MD and SD settings of the standard cycles can be found in Chapter "Configuring...
  • Page 576 Configuring cycles 22.10 Turning with ShopTurn MD52212 $MCS_FUNCTION_MASK_TECH Cross-technology function mask Bit 2 Approach logic for stepped drill Bit 3 Block search cycle for ShopMill / ShopTurn = 0 The E__ASUP or F_S_ASUP cycles are not called in the block search cycle PROG_EVENT.SPF = 1 The E__ASUP (under ShopMill) or F_S_ASUP (under ShopTurn) cycles are not called in the block search cycle PROG_EVENT.SPF...
  • Page 577: Setting Up The Counterspindle Under Shopturn

    Configuring cycles 22.10 Turning with ShopTurn MD52230 $MCS_M_CODE_ALL_COOLANTS_OFF M code for all coolants off This machine data is used to define the M function for switching off the coolant; which is output when the tool is changed. MD52231 $MCS_M_CODE_COOLANT_1_ON M code for coolant 1 on This machine data is used to define the M function for coolant 1, which is output when the tool is changed.
  • Page 578 Configuring cycles 22.10 Turning with ShopTurn The position to which the counterspindle travels when the program starts is defined in the following channel-specific cycle setting data: SD55232 $SCS_SUB_SPINDLE_REL_POS Retraction position Z for counterspindle The following channel-specific setting data become effective when traveling to the fixed stop: SD55550 $SCS_TURN_FIXED_STOP_DIST Distance for travel to fixed stop.
  • Page 579: Drilling Centered Under Shopturn

    Configuring cycles 22.10 Turning with ShopTurn You can switch off the alarm display using the following machine data: MD37050 $MA_FIXED_STOP_ALARM_MASK Enabling the fixed stop alarms. Suppressing alarms 20091 and 20094. You can set this machine data axis-specifically in the "Machine Data" window in the "Tool zero"...
  • Page 580: Cylinder Surface Transformation (Tracyl) Under Shopturn

    Configuring cycles 22.10 Turning with ShopTurn Tapping centered (CYCLE84) SD55481 $SCS_DRILL_TAPPING_SET_GG12[1] Exact stop response Exact stop response as before the cycle call (default value). G601 G602 G603 SD55482 $SCS_DRILL_TAPPING_SET_GG21[1] Acceleration behavior Acceleration behavior as before the cycle call (default value). SOFT BRISK DRIVE...
  • Page 581: Face End Machining (Transmit) Under Shopturn

    Configuring cycles 22.10 Turning with ShopTurn Setting up In addition, set the following channel-specific configuration machine data: MD52214 $MCS_FUNCTION_MASK_MILL Milling function masks (screens). Bit 3 Enable "internal / rear" machining in ShopTurn masks (screens) that define the machining plane themselves. Bit 4 If you have implemented the "Clamp/release spindle"...
  • Page 582: Inclined Y Axis (Traang) Under Shopturn

    Configuring cycles 22.10 Turning with ShopTurn Setting up In addition, set the following channel-specific configuration machine data: MD52214 $MCS_FUNCTION_MASK_MILL Function screens, ShopTurn. Bit 3 Enable "internal / rear" machining in ShopTurn masks (screens) that define the machining plane themselves. Bit 4 If you have implemented the "Clamp/release spindle"...
  • Page 583 Configuring cycles 22.10 Turning with ShopTurn Function If you wish to use the inclined Y axis function under ShopTurn, please first make the settings from Chapter Inclined Y axis (TRAANG) (Page 488). Note Once the inclined axis function has been set up in the user interface, it is automatically integrated in the cycles.
  • Page 584: Compare Cycles Version

    Configuring cycles 22.11 Compare cycles version 22.11 Compare cycles version 22.11.1 Display cycles version If cycles have version details, you can display them in the version screen. Precondition The version details are included in the cycles files in the following form: ...
  • Page 585 Configuring cycles 22.11 Compare cycles version Procedure Select the "Diagnostics" operating area. Press the "Version" softkey. It takes some time to call the version display. While the version data is being determined a progress message box and the appropriate text are displayed in the dialog line.
  • Page 586: Specify Cycles Version

    You have the possibility to compare a required cycles version with the existing cycles version in the version view. File overview The following files are required: Name Path Meaning versions.xml /siemens/sinumerik/hmi/data/version/oem/cma Version file versions.xml /oem/ Version path file SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 587 The cycles version specification requires a manual adaptation of the version file. 1. Copy the "versions.xml" sample file from the following directory: /siemens/sinumerik/hmi/data/version/oem/cma 2. Store the sample file in its own directory under /oem, e.g. /oem/sinumerik/cycles 3. Open the file.
  • Page 588 Configuring cycles 22.11 Compare cycles version SINUMERIK Operate (IM9) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 589: Additional Language

    Additional language 23.1 Installing additional languages Additional languages In addition to the already existing standard languages, additional user interface languages are available on a separate DVD. The integrated online help is either displayed in the relevant language of the country or in English.
  • Page 590: Supported Languages

    Additional language 23.2 Supported languages 23.2 Supported languages Table 23- 1 Supported languages Language Language code Standard languages Chinese (simplified) Chinese (traditional) Danish German English Finnish French Indonesian Italian Japanese Korean Malaysian Dutch Polish Portuguese Romanian Russian Swedish Slovenian Slovakian Spanish Thai Czech...
  • Page 591: Sinumerik Operate On Pc/Pcu

    SINUMERIK Operate on PC/PCU 24.1 Link OEMFrame application Integrating an OEM application The following files should be adapted and created in order to integrate an OEMFrame application into the operating software: ● Configuration file systemconfiguration.ini The operating software is started and controlled from the system manager; the system manager also controls the OEMFrame applications.
  • Page 592 Note Permissible number range In the "processes" and "areas" sections, the number range 500-999 is reserved for OEM customers. If you use numbers less than 500, then it is possible that Siemens basis components will be overwritten! SINUMERIK Operate (IM9)
  • Page 593 SINUMERIK Operate on PC/PCU 24.1 Link OEMFrame application Example [areas] AREA600= name:=AreaOEM, process:=notepadOEM AREA601= name:=AreaCalc, process:=calcOEM Note Only OEMFrame applications are supported that do not use any of the programming interfaces of SINUMERIK Operate. Section [miscellaneous] You can make various settings in this section. Generally, only the start operating area is changed.
  • Page 594 SINUMERIK Operate on PC/PCU 24.1 Link OEMFrame application Creating the "slamconfig.ini" configuration file Copy the "slamconfig.ini" and place the file in the same directory in which the "systemconfiguration.ini" file is located: /user/sinumerik/hmi/cfg /oem/sinumerik/hmi/cfg "slamconfig.ini" file In the "slamconfig.ini" configuration file, for every operating area, you can create a section that was configured in the "systemconfiguration.ini"...
  • Page 595 SINUMERIK Operate on PC/PCU 24.1 Link OEMFrame application Picture = mypicture.png ; Position of the area softkey on area menu, ; If no position is specified, an empty position is searched SoftkeyPosition = 7 ; Access level of the area softkey AccessLevel = 5 Note Operating area position 7 is reserved for OEM customers.
  • Page 596: Using Interactive Or Silent Installation Versions

    SINUMERIK Operate on PC/PCU 24.2 Using interactive or silent installation versions mytext_.ts MY_AREA Text, which is displayed on the softkey Remark (optional) 20 2 stands for the language code. 24.2 Using interactive or silent installation versions General Information If you install SINUMERIK Operate using PC/PCU, then the execution is realized using an MSI setup.
  • Page 597: Setting The Ip Address Of The Ncu

    SINUMERIK Operate on PC/PCU 24.3 Setting the IP address of the NCU Interactive installation versions setup.exe Complete installation in the interactive mode setup.exe /v"BASEONLY=1" Base installation in the interactive mode with help files setup.exe /v"BASEONLY=1 HELPFILES=0" Base installation in the interactive mode without help files Silent installation versions setup.exe /v"/qn"...
  • Page 598: Sinumerik Operate Exiting

    SINUMERIK Operate on PC/PCU 24.4 SINUMERIK Operate exiting Procedure Select the "Start-up" operating area. Press the "HMI" softkey and the ">>" softkey. Press the vertical softkey "NCU connection". The "NCU Connection" window opens. Enter the IP address of the NCU into the input field. Press the "OK"...
  • Page 599: Configuring The Traversing Keys

    HT 8 25.1 Configuring the traversing keys The traversing keys of the HT 8 are not labeled as their type of action is not predefined. The labeling of the traversing keys should adapt dynamically to the type of action of the keys. To recognize the type of action of the traversing keys, they are shown within the display in the vertical softkey area.
  • Page 600 /ico1024 /ico1280 Procedure 1. Copy the "sljkconfig.ini" configuration file from the folder /siemens/sinumerik/hmi/template/cfg 2. Place the copy into the folder /oem/sinumerik/hmi/cfg or /user/sinumerik/hmi/cfg 3. Open the copy in the Editor and define the traversing key labeling. Example of a "sljkconfig.ini" configuration file 12 axes are defined in the example, with text for softkey 1 and softkey 2, as well as an image on softkey 3 and softkey 4.
  • Page 601 Italian Chinese Procedure 1. You can copy the sample file " oem_sljk_deu.ts" from the following directory: /siemens/sinumerik/hmi/template/lng. 2. Store or create the file in the /oem/sinumerik/hmi/lng or /user/sinumerik/hmi/lng directory. 3. Give the file a name, e.g. for German texts: "sljk_deu.ts".
  • Page 602 HT 8 25.1 Configuring the traversing keys 4. Open the file and in the and area, define the labeling. 5. Restart the HMI. In order that the labeling is displayed during the program runtime, the file must be converted into a binary format.
  • Page 603 HT 8 25.1 Configuring the traversing keys JK_AXISNAME_8 V JK_AXISNAME_9 W JK_AXISNAME_10 UV1 JK_AXISNAME_11 UV2 JK_AXISNAME_12 UV3 OEM_JK_TEXT_1 SF1 OEM_JK_TEXT_2...
  • Page 604: Configuring User-Specific Key Labeling

    HT 8 25.2 Configuring user-specific key labeling 25.2 Configuring user-specific key labeling Labeling the keys for the HT 8 The texts of the CPF menu (CPF: Control Panel Function) for the HT 8 can be labeled with your own texts in the particular language of the country. The texts are created in the "slck_xxx.ts"...
  • Page 605 25.2 Configuring user-specific key labeling Procedure 1. You can copy the sample file " oem_slck_deu.ts" from the following directory: /siemens/sinumerik/hmi/template/lng. 2. Store or create the file in the /oem/sinumerik/hmi/lng or /user/sinumerik/hmi/lng directory. 3. Give the file a name, e.g. for German texts: "slck_deu.ts".
  • Page 606: Configuring The Function Display At User-Specific Keys (U Keys)

    HT 8 25.3 Configuring the function display at user-specific keys (U keys) User key 2 10 2 true .. See also Range of alarms (Page 217) 25.3 Configuring the function display at user-specific keys (U keys) Function Active functions can be displayed at the configurable user keys via the PLC.
  • Page 607 The icon is not displayed. 1. You can copy the sample file "slckcpf.ini" from the following directory: /siemens/sinumerik/hmi/template/cfg 2. Store the file in the /oem/sinumerik/hmi/cfg or /user/sinumerik/hmi/cfg directory. 3. If you use your own icon, then locate it together with the corresponding resolution for HT 8 directory: /oem/sinumerik/hmi/ico/ico640 or /user/sinumerik/hmi/ico/ico640.
  • Page 608 HT 8 25.3 Configuring the function display at user-specific keys (U keys) Sample file "slckcpf.ini" Template for the configuration of the ; HT8 control panel function menu ; To activate the settings remove the ; commentary ';' at the beginning of the line ;;...
  • Page 609 List of abbreviations/acronyms Abbreviation Meaning ASCII American Standard Code for Information Interchange: American coding standard for the exchange of information Mode group Operator Panel Interface Computerized Numerical Control: Computerized numerical control Cross Error Compensation: Sag compensation Discovery and basic Configuration Protocol: ProfiNet protocol DHCP Dynamic Host Configuration Protocol Deutsche Industrie Norm...
  • Page 610 List of abbreviations/acronyms Abbreviation Meaning Machine Control Panel: Machine control panel Numerical Control: Numerical control Numerical Control Kernel: NC kernel with block preparation, traversing range, etc. Numerical Control Unit: NCK hardware unit Network File System Network Time Protocol Zero offset Original Equipment Manufacturer Object Identifier: Information identifier Operator Panel...
  • Page 611: Index

    Index Registering the file, 201 Replacing, 213 Replacing standard alarm texts, 213 Select font color, 197 Standard parameter specification, 218 3D file Supported languages, 584 Protection area elements, 261 alarmtext_conversion.log, 202, 205, 208, 216, 219 3D simulation, 113 Analog spindle, 121 Archive Creating, 280 Reading in, 281...
  • Page 612 Index Creating collision pairs, 275 Cutting edge parameters Creating kinematic elements, 268 Identifiers, 145 Creating machine protection areas, 270 OEM identifier, 184 Enable function, 235 Cycle alarms, 499 Fundamentals example, 265 CYCLE63, 464 Parameter assignment, 235 CYCLE79, 464 Collision element CYCLE800 Creating, 249 Structogram, 521...
  • Page 613 Index Display groups, 77 External editing, 23 Display machine data, 72 insert, 21 Search, 80 Open, 21 Displaying AS-i, 404 Protection area elements, 261 Drilling, 455 Renaming, 22 Drive Frame Configuring a USB drive, 37 Protection area element, 254 Configuring NFS drive, 36 Full temperature protection, 407 Configuring SMB drive, 36 Error messages, 33...
  • Page 614 Index Grinding parameters, 148 Magazine location adapter parameters, 150 Language Magazine location parameters, 149 Defining the selection mode, 51 Monitoring parameters, 148 Language code, 584 Multitool location parameter, 152 License key Multitool parameters, 150 Entering, 29 OEM cutting edge parameter, 184 Reading in, 29 OEM magazine location parameters, 185 License requirement...
  • Page 615 Index Save, 332 Magazine location adapter parameters oem.xml, 330 Identifiers, 150 oem_ae_database_conversion.log, 212 Magazine location parameters oem_alarms_eng.ts, 200 Identifiers, 149 oem_indextexts_eng.ts, 203 OEM identifier, 185 oem_slaedatabase.xml, 209 Managing data, 81 oem_slaesvcadapconf.xml, 201 Manual machine oem_slck_deu.ts, 599 Activating the function, 102 oem_sljk_deu.ts, 595 Parameter assignment, 102 oem_text_conversion.log, 202, 219...
  • Page 616 Index PROFIBUS Receive connections, 448 Connections, 349 Safe programmable logic, 441 DP slaves, 351 Safety-related inputs and outputs, 440 PROFIBUS/PROFINET diagnostics, 399, 400 Send connections, 447 PROG_EVENT.SPF, 349, 457 Status display, 438 Extend, 458 SBC Safe Brake Control, 443 Program list Screen Configuring a softkey, 66 darken screen, 56...
  • Page 617 Index Simulation, 109 System utilization, 325 Configuring milling, 111 Configuring turning, 111 Deactivate, 113 Reset, 114 TABLE_45, 512 Restrictions, 110 TABLE_5, 515 Simultaneous recording, 110 Tailstock Activating the machining time, 115 Option, 114 Configuring, 114 Tapping, 456 Option, 114 ShopTurn, 574 slaesvcadapconf.xml, 201, 204, 206, 214, 231 TEACH IN, 98 slaesvcconf.xml, 207, 216...
  • Page 618 Index Tool-specific functions Technology cycles, 476 Identifier, Tool measurement, 547 Topologies, 368 Workpiece measurement, 562 TRAANG, 490 under ShopTurn, 577 under turning, 488 Trace USB FlashDrive, 16 Changing the scale, 395 USB keyboard, 16 Creating a session, 381 User view Cursor A/B positioning, 397 Creating, 85 Define zoom area, 397...
  • Page 619 ___________________ SINUMERIK Integrate Introduction Run MyScreens (BE2) ___________________ Getting Started ___________________ Fundamentals SINUMERIK ___________________ Dialogs SINUMERIK 840D sl/828D ___________________ SINUMERIK Integrate Variables Run MyScreens (BE2) ___________________ Programming commands Programming Manual ___________________ Graphic and logic elements ___________________ "Custom" operating area ___________________...
  • Page 620 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 621 Table of contents Introduction ............................. 7 Getting Started ............................9 Introduction ............................ 9 Example ............................9 2.2.1 Task description ..........................9 2.2.2 Creating the configuration file ...................... 12 2.2.3 Saving the configuration file in the OEM directory ............... 15 2.2.4 Creating the online help .......................
  • Page 622 Table of contents Example 3: Assigning the Variable Type, Default, System or User Variable, Input/Output Field Position properties ......................55 Examples relating to toggle field and image display ..............56 Variable parameters ........................57 Details on the variable type ......................60 Details on the toggle field ......................
  • Page 623 Table of contents 6.3.14 Generate code (GC) ........................106 6.3.15 Load Array (LA) .......................... 109 6.3.16 Load Block (LB).......................... 110 6.3.17 Load Mask (LM) ......................... 111 6.3.18 Load Softkey (LS) ........................112 6.3.19 Read NC/PLC (RNP), Write NC/PLC (WNP) ................113 6.3.20 Multiple Read NC PLC (MRNP) ....................
  • Page 624 Table of contents Reference lists ............................. 163 Lists of start softkeys ......................... 163 A.1.1 List of start softkeys for turning ....................163 A.1.2 List of start softkeys for milling ....................166 List of colors ..........................168 List of language codes used in file names ................169 List of accessible system variables ...................
  • Page 625 "Run MyScreens" can be used to create user interfaces that display functional expansions designed by the machine manufacturer or user, or to implement your own layout. Preconfigured user interfaces supplied by Siemens or the machine manufacturer can be modified or replaced.
  • Page 626 Introduction Tools ● UTF8-capable editor (e.g. WordPad) ● A graphics program is needed to create graphics/display images. You can implement the following functions: Display dialogs containing the Softkeys • following elements: Variables • Texts and Help texts • Graphics and Help displays •...
  • Page 627 Getting Started Introduction Using the following example, you get to know the steps necessary to insert your own dialogs into the SINUMERIK Operate user interface using Run MySreens. You also learn how to create your own dialogs, insert context-sensitive help screens and help calls, define softkeys and how you can navigate between the dialogs.
  • Page 628 Getting Started 2.2 Example Figure 2-2 Dialog 1: Geometry axis names with a context sensitive online help Dialog 2: Axis values WCS and MCS MCS and WCS values are displayed in the second dialog. Figure 2-3 Dialog 2: Display of axis values SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 629 Getting Started 2.2 Example Navigation The first dialog is called using the "START" softkey in the machine operating area in the AUTO mode. The horizontal SK6 softkey is used. Figure 2-4 Start softkey „START“ in the machine operating area, AUTO mode Using the "NEXT"...
  • Page 630 Getting Started 2.2 Example 2.2.2 Creating the configuration file Content of the configuration file Using a UTF8-capable editor, create the configuration file ma_auto.com for the two dialogs. ; start identifier, start softkey //S(START) ; start softkey only text HS6=("START") ; start softkey with language-dependent text and png ;HS6=([$80792,"\\sk_ok.png"]) ;...
  • Page 631 Getting Started 2.2 Example VS1=("") VS2=("") VS3=("") VS4=("") VS5=("") VS6=("") VS7=("NEXT") VS8=("EXIT") ; Definition LOAD block LOAD ; read value with RNP ACHS_NAM1 = RNP("$MC_AXCONF_GEOAX_NAME_TAB[0]") ACHS_NAM2 = RNP("$MC_AXCONF_GEOAX_NAME_TAB[1]") ACHS_NAM3 = RNP("$MC_AXCONF_GEOAX_NAME_TAB[2]") ; Output of a dialog line DLGL("Value from R2: = " << RNP("$R[2]")) ;...
  • Page 632 Getting Started 2.2 Example def var3 = (R2///,"1st axis $AA_IM[AX1]"/WR1//"$AA_IM[AX1]"/200,160,150/400,160,100) def var4 = (R2///,"2nd axis $AA_IM[AX2]"/WR1//"$AA_IM[AX2]"/200,180,150/400,180,100) def var5 = (R3///,"$P_UIFR G54 AX1"///"$P_UIFR[1,AX1,TR]"/200,200,150/400,200,100) ; Softkey definition in the dialog HS1=("") HS2=("") HS3=("") HS4=("") HS5=("") HS6=("") HS7=("") HS8=("") VS1=("") VS2=("") VS3=("") VS4=("") VS5=("") VS6=("") VS7=("")
  • Page 633 Getting Started 2.2 Example 2.2.3 Saving the configuration file in the OEM directory Storage path Save the configuration file ma_auto.com under the following path: card/oem/sinumerik/hmi/proj 2.2.4 Creating the online help Content of the online help Create the HTML file sinumerik_md_1.html. The calls are made via name="9006"...
  • Page 634 Getting Started 2.2 Example 180 7/3

    9009 KEYBOARD_STATE - -
    - Keyboard shift response when powering up BYTE POWER ON
    This machine data is used to define the shift response (SW- CAPSLOCK).
    ...
  • Page 635 Getting Started 2.2 Example 2.2.6 Copying easyscreen.ini into the OEM directory Storage path Copy the file easyscreen.ini from the directory card/siemens/sinumerik/hmi/cfg to the directory card/oem/sinumerik/hmi/cfg 2.2.7 Registering the COM file in easyscreen.ini Adaptation in easyscreen.ini Make the following change in the in the OEM directory.
  • Page 636 Getting Started 2.2 Example SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 637 Fundamentals Structure of configuration file Introduction The defining data for new user interfaces are stored in configuration files. These files are automatically interpreted and the result displayed on the screen. Configuration files are not stored in the software supplied and must be set up by the user. An ASCII editor (e.g.
  • Page 638 Fundamentals 3.1 Structure of configuration file Structure of the configuration file A configuration file consists of the following elements: 1. Description of the start softkeys 2. Definition of dialogs 3. Definition of variables 4. Description of the blocks 5. Definition of a softkey menu Note Sequence The specified sequence in the configuration file must be maintained.
  • Page 639 Fundamentals 3.2 Structure of the menu tree Structure of the menu tree Menu tree principle Several interlinked dialogs create a menu tree. A link exists if you can switch from one dialog to another. You can use the newly defined horizontal/vertical softkeys in this dialog to call the preceding or any other dialog.
  • Page 640 Fundamentals 3.3 Defining start softkeys Reverting to the standard application You can exit the newly created user interfaces and return to the standard application. You can use the key to close new user interfaces if you have not configured this key for any other task.
  • Page 641 Fundamentals 3.3 Defining start softkeys Permissible positions for start softkeys The following positions for "Run MyScreens" start softkeys are permissible in the operating areas: Operating area Position Machine HSK6 Parameter HSK7 Program HSK6 and HSK15 Measuring cycles: HSK13 and HSK14 Program manager HSK2-8 and HSK12-16, if not assigned to drives.
  • Page 642 Template for configurations A detailed description of all permissible positions for start softkeys and their configuration is located in the easyscreen.ini file in the following directory: /card/siemens/sinumerik/hmi/cfg This file is used as a template for your own configurations. See also...
  • Page 643 Fundamentals 3.3 Defining start softkeys 3.3.1 Functions for start softkeys Functions for dialog-independent softkeys Only certain functions can be initiated with start softkeys. The following functions are permitted: ("Identifier"[,"File"]) ● The LM function can be used to load another dialog: LM ("Identifier"[, "File"][, ●...
  • Page 644 ● /oem/sinumerik/hmi/proj/ ● /addon/sinumerik/hmi/proj/ ● /siemens/sinumerik/hmi/proj/ The configurations included for the start softkeys are now merged to form a configuration, i.e. the individual softkeys are compared. If there are two or more configurations for a softkey, the higher order is always transferred into the merge version.
  • Page 645 Fundamentals 3.5 Notes for personnel changing over to Run MyScreens Saving easyscreen-log.txt The file easyscreen_log.txt is saved in the following directory: /user/sinumerik/hmi/log/ Syntax The system does not start to interpret syntax until the start softkey has been defined and a dialog with start and end identifiers as well as a definition line has been configured.
  • Page 646 Fundamentals 3.5 Notes for personnel changing over to Run MyScreens Notes for personnel changing over to Run MyScreens Note When using HMI Operate in the NCU, note that all file names are saved in lower case letters on the CF card (com, png, txt). Image files Image files must be saved in the PNG format (xxx.png).
  • Page 647 Dialogs Structure and elements of a dialog 4.1.1 Defining a dialog Definition A dialog is part of a user interface consisting of a display line, dialog elements and/or graphics, an output line for messages and 8 horizontal and 8 vertical softkeys. Dialog elements are: ●...
  • Page 648 Dialogs 4.1 Structure and elements of a dialog ① Machine status display ("header") ② Dialog element ③ 8 vertical softkeys ④ 8 horizontal softkeys ⑤ Output of diagnostic messages ⑥ Graphic ⑦ Dialog ⑧ Header line of the dialog with header and long text Figure 4-1 Structure of the dialog Overview...
  • Page 649 Dialogs 4.1 Structure and elements of a dialog 4.1.2 Defining dialog properties Description The properties of the dialog are defined in the start identifier line of the dialog. ① Machine status display ("header") ② Graphic ③ Dialog ④ Header line of the dialog with header and long text Figure 4-2 Dialog properties SINUMERIK Integrate Run MyScreens (BE2)
  • Page 650 Dialogs 4.1 Structure and elements of a dialog Programming Syntax: //M(Identifier/[Header]/[Graphic]/[Dimension]/[System or user variable]/[Graphic position]/[Attributes]) Description: Defines a dialog Parameters: Identifier Name of the dialog Header Dialog header as text or call for text (e.g. $85011) from a language-specific text file. Graphic Graphics file with path in double quotation marks Dimension...
  • Page 651 Dialogs 4.1 Structure and elements of a dialog Example Figure 4-3 "Example 2: showing graphic" //S(Start) HS7=("Example", se1, ac7) PRESS(HS7) LM("Mask2") END_PRESS //END //M(Mask2/"Example 2 : showing graphic"/"example.png") HS1=("new%nHeader") HS2=("") HS3=("") HS4=("") HS5=("") HS6=("") HS7=("") HS8=("") VS1=("") VS2=("") SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 652 Dialogs 4.1 Structure and elements of a dialog VS3=("") VS4=("") VS5=("") VS6=("") VS7=("") VS8=("") PRESS(HS1) Hd= "new Header" END_PRESS //END See also Programming example for the "Custom" area (Page 152) SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 653 Dialogs 4.1 Structure and elements of a dialog 4.1.3 Defining dialog elements Dialog element The term "dialog element" refers to the visible part of a variable, i.e., short text, graphics text, input/output field and unit text. Dialog elements fill lines in the main body of the dialog. One or more dialog elements can be defined for each line.
  • Page 654 Dialogs 4.1 Structure and elements of a dialog Programming - Overview The single parameters to be separated by commas are enclosed in round parentheses: Identifier Identifier = Name of variable Variable type /[Limit values or toggle field] /[Default] /[Texts (Long text, Short text|Image, Graphic text, Units text)] /[Attributes] /[Help display] /[System or user variable]...
  • Page 655 Dialogs 4.1 Structure and elements of a dialog 4.1.4 Example Opening the Dialog Programming The new "Example" dialog is called via the "Example" start softkey from the "Startup" operating area: Figure 4-5 Example: Calling a new dialog SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 656 Dialogs 4.1 Structure and elements of a dialog //S(Start) HS7=("Example", ac7, se1) PRESS(HS7) LM("Maske1") END_PRESS //END //M(Maske1/"Example") HS1=("") HS2=("") HS3=("") HS4=("") HS5=("") HS6=("") HS7=("") HS8=("") VS1=("") VS2=("") VS3=("") VS4=("") VS5=("") VS6=("") VS7=("") VS8=("") Methods //END SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 657 Dialogs 4.1 Structure and elements of a dialog 4.1.5 Defining dialogs with multiple columns Overview Multiple variables can also be represented in a dialog on one line. In this case, the variables are all defined in the configuration file on a single definition line. DEF VAR11 = (S///"Var11"), VAR12 = (I///"Var12") To make individual variables in the configuration file more legible, the definition lines can be wrapped after every variables definition and following comma.
  • Page 658 Dialogs 4.2 Defining softkey menus Storage locations The image matching the resolution of the connected monitor is searched for in the associated resolution directories in the following sequence: /user/sinumerik/hmi/ico/ico /oem/sinumerik/hmi/ico/ico /addon/sinumerik/hmi/ico/ico If the image is not displayed or not found, copy it into one of the following directories for a resolution of 640 x 480 pixels: /user/sinumerik/hmi/ico/ico640 /oem/sinumerik/hmi/ico/ico640...
  • Page 659 Dialogs 4.2 Defining softkey menus Description Properties are assigned to softkeys during definition of the softkey menu. Programming (Identifier) Syntax: ;Start identifier of softkey menu //END ;End identifier of softkey menu Description: Defines softkey menu Parameters: Identifier Name of softkey menu Text or image file name (Text[, Access level][, Status]) Syntax:...
  • Page 660 Operators can only access information on this and lower access levels. The meanings of the different access levels are as follows: ac0 is the highest access level and ac7 the lowest. Security level Locked by Range Reserved for Siemens Password Machine manufacturer Password Service...
  • Page 661 Dialogs 4.2 Defining softkey menus PRESS(RECALL) ; Method start identifier LM("Screen form21") ; Load dialog END_PRESS ; Method end identifier //END ; End identifier of softkey menu SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 662 Dialogs 4.2 Defining softkey menus 4.2.1 Changing softkey properties during runtime Description The softkey properties Text, Access Level and Status can be changed in the methods during runtime. Programming Syntax: SK.st = "Text" ;Softkey with label SK.ac = Access level ;Softkey with security level SK.se = Status ;...
  • Page 663 Dialogs 4.2 Defining softkey menus //S(Start) HS7=("Example", ac7, se1) PRESS(HS7) LM("Maske3") END_PRESS //END //M(Maske3/"Example 2: showing graphic"/"example.png") HS1=("") HS2=("") HS3=("") HS4=("") HS5=("") HS6=("") HS7=("") HS8=("") VS1=("") VS2=("") VS3=("") VS4=("\\sp_ok.png",,SE1) VS5=(["\\sp_ok_small.png","OEM Text"],,SE1) VS6=("") VS7=(SOFTKEY_OK,,SE1) VS8=(SOFTKEY_CANCEL,,SE1) PRESS(VS4) EXIT END_PRESS PRESS(VS5) EXIT END_PRESS PRESS(VS7) EXIT END_PRESS...
  • Page 664 The text files must be saved in the same way as the project files. e.g.: /user/sinumerik/hmi/lng/[text file] /user/sinumerik/hmi/proj/[configuration file] alsc.txt Contains the language-dependent texts for the Siemens standard cycles almc.txt Contains the language-dependent texts for the manufacturer cycles aluc.txt Language-dependent user texts The text files used during program runtime are specified in the easyscreen.ini file:...
  • Page 665 Dialogs 4.3 Configuring the online help Format of text files The text files must be saved in UTF-8 format. If, for example, you use Notepad to generate text files, select "File" → "Save As" and choose UTF-8 encoding. Format of a text entry Syntax: 8xxxx 0 0 "Text"...
  • Page 666 Dialogs 4.3 Configuring the online help The HTML file is saved in the following directory, e.g. for German. /card/user/sinumerik/hmi/hlp/deu /card/oem/sinumerik/hmi/hlp/deu /card/addon/sinumerik/hmi/hlp/deu You must create directories for additional languages corresponding to the language identifiers (see the Appendix). References Commissioning Manual "Base software and operating software" (IM9), Chapter "OEM- specific online help"...
  • Page 667 Variables Defining variables Variable value The most basic property of a variable is its value. The value of variables can be assigned by means of: ● Default settings when defining variables ● Assignment to a system or user variable ● A method Programming Syntax: Identifier.val = Variable value...
  • Page 668 Variables 5.1 Defining variables Variable: Changing properties Identifier.Property = Value The variables are assigned a new value in the notation when a change is made. The expression to the right of the equality sign is evaluated and assigned to the variable or variable property. Examples: Identifier.ac = Access level (ac: access level)
  • Page 669 Variables 5.2 Application examples Application examples Help variables Help variables are internal arithmetic variables. Arithmetic variables are defined like other variables, but have no other properties apart from variable value and status, i.e. Help variables are not visible in the dialog. Help variables are of the VARIANT type. Programming Identifier Syntax:...
  • Page 670 Variables 5.3 Example 1: Assigning the variable type, texts, help display, colors, tooltips Addressing system variables indirectly A system variable can also be addressed indirectly, i.e., as a function of another variable: PRESS(HS1) AXIS=AXIS+1 WEG.VAR="$AA_DTBW["<
  • Page 671 Variables 5.3 Example 1: Assigning the variable type, texts, help display, colors, tooltips Example 1b Assigning tooltips DEF Var2 = (I//5/"","value","",""," Tooltiptext"/wr2///20,250,50) Variable type: INTEGER Limits or entry in the toggle field: None Default setting: Texts: Short text: Value (possible language text ID) Tooltip: Tooltip text Attributes:...
  • Page 672 Variables 5.4 Example 2: Assigning the Variable Type, Limits, Attributes, Short Text Position properties Example 2: Assigning the Variable Type, Limits, Attributes, Short Text Position properties Example 2 Assigning the Variable Type, Limits, Attributes, Short Text Position properties DEF Var2 = (I/0,10///wr1,al1///,,300) Variable type: INTEGER 
...
  • Page 673 Variables 5.5 Example 3: Assigning the Variable Type, Default, System or User Variable, Input/Output Field Position properties Example 3: Assigning the Variable Type, Default, System or User Variable, Input/Output Field Position properties Example 3 Assigning the Variable Type, Default, System or User Variable, Input/Output Field Position properties DEF Var3 = (R//10////"$R[1]"//300,10,200//) Variable type:...
  • Page 674 Variables 5.6 Examples relating to toggle field and image display Examples relating to toggle field and image display Example 4 Various entries in the toggle field: 
 L imits or toggle field entries: DEF Var1 = (I/* 0,1,2,3) DEF Var2 = (S/* "In", "Out") DEF Var3 = (B/* 1="In", 0="Out") ;1 and 0 are values, "In"...
  • Page 675 Variables 5.7 Variable parameters Variable parameters Parameter overview The following overview provides a brief explanation of the variable parameters. Subsequent chapters contain a more detailed description. Parameter Description Variable type (Page 60) The variable type must be specified. R[x]: REAL (+ digit for the decimal place) INTEGER S[x]: STRING (+ digit for string length)
  • Page 676 Variables 5.7 Variable parameters Parameter Description Attributes (Page 54) The attributes influence the following properties: Input mode • Access level • Alignment of short text • Font size • Limits • Response when dialog is opened in terms of CHANGE block •...
  • Page 677 Variables 5.7 Variable parameters Parameter Description cb0: The CHANGE block defined for this variable is edited when the dialog is opened (default setting). Multiple attributes are separated by commas. cb1: The CHANGE block defined for this variable is then only processed if the value of the variable changes.
  • Page 678 Variables 5.8 Details on the variable type Details on the variable type Variable type INTEGER The following extensions for determining the display in the input/output field and the memory utilization are possible for the "INTEGER" type: 2nd character in the extension data type Display format Binary Decimal signed...
  • Page 679 Variables 5.8 Details on the variable type Valid INTEGER type specifications: IDWU Integer variable 16 bits in decimal notation unsigned IDBU Integer variable 8 bits in decimal notation unsigned Integer variable 32 bits in hexadecimal notation IHDU Integer variable 32 bits in hexadecimal notation IHWU Integer variable 16 bits in hexadecimal notation IHBU...
  • Page 680 Variables 5.8 Details on the variable type The display mode of variables can be changed: ● For INTEGER, the display type can be changed. Binary Decimal signed hexadecimal unsigned With the addition of U for Unsigned ● For REAL data types, only the number of places after the decimal point can be changed. Changing the type is illegal and generates an error message in the easyscreen_log.txt.
  • Page 681 Variables 5.9 Details on the toggle field Details on the toggle field Description The toggle field extension function can be used to display texts (entries in toggle field) as a function of NC/PLC variables. A variable, which makes use of a toggle field extension, is read-only.
  • Page 682 Variables 5.9 Details on the toggle field Toggle-field-dependent displays The toggle field is overlaid with graphics, which change depending on the value of the memory byte. If the value of the memory byte is 1, "image1.png" will appear. If it is 2, "image2.png"...
  • Page 683 Variables 5.10 Details on the default setting 5.10 Details on the default setting Overview A variable can assume various states depending on whether a default value, or a system or user variable, or both, is assigned to the variable field (input/output field or toggle field), (not calculated:.
  • Page 684 Variables 5.11 Details on the position of the short text, position of the input/output field 5.11 Details on the position of the short text, position of the input/output field Overview The short text and graphic text, as well as the input/output field and unit text, are each treated like a unit, i.e., position settings for short text apply to the graphic text and settings for the input/output field and to unit text.
  • Page 685 Variables 5.12 Use of strings Example Default settings for the following examples: VAR1.VAL = "This is an" VAR8.VAL = 4 VAR14.VAL = 15 VAR2.VAL = "Error" $85001 = "This is an" $85002 = "Alarm text" Editing strings: ● Chaining of strings: VAR12.VAL = VAR1 <<...
  • Page 686 Variables 5.13 CURPOS variable 5.13 CURPOS variable Description Using the CURPOS variable, it is possible to display or manipulate the position of the cursor in the active input field of the current dialog. The variable indicates how many characters are located in front of the cursor.
  • Page 687 Variables 5.15 ENTRY variable 5.15 ENTRY variable Description The ENTRY variable can be used to check by what method a dialog has been called. Programming Syntax: ENTRY Description: The ENTRY variable is a read only variable. Return Value: The result of the scan can be: 0 = No programming support 1 = Programming support (the dialog was called by programming support) 2 = Programming support + default setting from the previous dialog (sub-...
  • Page 688 Variables 5.16 ERR variable 5.16 ERR variable Description Variable ERR can be used to check whether the preceding lines have been executed correctly. Programming Syntax: Description: The ERR variable is read-only. Return value: The result of the scan can be: FALSE = previous line was executed error-free TRUE = previous line was not executed error-free Example...
  • Page 689 Variables 5.17 FILE_ERR variable 5.17 FILE_ERR variable Description Variable FILE_ERR can be used to check whether the preceding GC or CP command has been executed correctly. Programming Syntax: FILE_ERR Description: The FILE_ERR variable is read-only. Return value: Possible results are: 0 = Operation okay 1 = Drive/path not available 2 = Path/file access error...
  • Page 690 Variables 5.18 FOC variable 5.18 FOC variable Description With the variable FOC, the input focus (current active input/output field) is controlled in a dialog. The reaction of the cursor left, right, up, down as well as PGUP, PGDN are predefined. Note The FOC function must not be initiated as a result of a navigation event.
  • Page 691 Variables 5.19 S_CHAN variable 5.19 S_CHAN variable Description The S_CHAN variable can be used to determine the number of the current channel for display or evaluation purposes. SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 692 Variables 5.19 S_CHAN variable SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 693 Programming commands Operators Overview The following operators can be used when programming: ● Mathematical operators ● Relational operators ● Logic (Boolean) operators ● Bit operators ● Trigonometric functions 6.1.1 Mathematical operators Overview Mathematical operators Identifier Addition Subtraction Multiplication Division Modulo operation Parentheses AND operator OR operator...
  • Page 694 Programming commands 6.1 Operators ROUND is controlled by the user with two parameters: VAR1 = 5,2328543 VAR2 = ROUND( VAR1, 4 ) Result: VAR2 = 5,2339 VAR1 contains the number to be rounded. The parameter “4” indicates the number of decimal places in the result, which is placed in VAR2.
  • Page 695 Programming commands 6.1 Operators Relational operators Relational operators Equal to <> Not equal to > Greater than < Less than >= Greater than or equal to <= Less than or equal to Example IF VAR1.VAL == 1 VAR2.VAL = TRUE ENDIF Conditions The nesting depth is unlimited.
  • Page 696 Programming commands 6.1 Operators 6.1.2 Bit operators Overview Bit operators Identifier Bit-serial OR BXOR Bit-serial XOR BAND Bit-serial AND BNOT Bit-serial NOT Shift bits to left Shift bits to right SHL operator Bits are shifted to the left using the SHL (SHIFT LEFT) operator. You can specify both the value to be shifted and the number of shift increments directly or via a variable.
  • Page 697 Programming commands 6.2 Methods value increment Syntax: variable = Description: Shift Right Parameters: value value to be shifted increment number of shift increments Example PRESS(VS1) VAR01 = 16 SHR 2 ; Result = 4 VAR02 = VAR02 SHR VAR04 ; Convert content of VAR02 to 32-bit unsigned
, and shift content to right by number of bits specified in VAR04.
  • Page 698 Programming commands 6.2 Methods 6.2.1 CHANGE Description CHANGE methods are executed if a variable value changes, i.e., variable calculations that are performed as soon as a variable value changes are configured within a CHANGE method. There are two types of CHANGE method, i.e., element-specific and global: ●...
  • Page 699 Programming commands 6.2 Methods "Global" programming Syntax: CHANGE() END_CHANGE Description: Changes any variable value Parameters: - None - Example CHANGE() EXIT ; If any of the variable values change, the dialog will be terminated. END_CHANGE 6.2.2 FOCUS Description The FOCUS method is executed if the focus (cursor) is positioned on another field in the dialog.
  • Page 700 Programming commands 6.2 Methods Example FOCUS DLGL("The focus has been placed on variable" << FOC << ".) END_FOCUS 6.2.3 LOAD Description The LOAD method is executed after the variable and softkey definitions (DEF Var1= ..., HS1= ...) have been interpreted. At this time, the dialog is not yet displayed. Programming Syntax: LOAD...
  • Page 701 Programming commands 6.2 Methods 6.2.4 LOAD GRID Description The table description can be made available dynamically within the LOAD block using the LG method. In order to assign a table using the LG method, the variable must have already been defined as a grid variable and cross-referenced to an existing, valid table.
  • Page 702 Programming commands 6.2 Methods 6.2.5 UNLOAD Description The UNLOAD method is executed before a dialog is unloaded. Programming Syntax: UNLOAD END_UNLOAD Description: Unload Parameters: - None - Example UNLOAD REG[1] = VAR1 ; Save variable in register END_UNLOAD SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 703 Programming commands 6.2 Methods 6.2.6 OUTPUT Description The OUTPUT method is executed if the "GC" function is called. Variables and Help variables are configured as an NC code in an OUTPUT method. The individual elements in a code line are linked by means of blanks. Note The NC code can be generated in an extra file by means of file functions and transferred to the NC.
  • Page 704 Programming commands 6.2 Methods 6.2.7 PRESS Description The PRESS method is executed when the corresponding softkey is pressed. Programming (softkey) Syntax: PRESS END_PRESS Identifiers: Pressing a softkey Parameters: Softkey Name of softkey: HS1 - HS8 and VS1 - VS8 RECALL ...
  • Page 705 Programming commands 6.2 Methods 6.2.8 Example Version management with OUTPUT blocks Overview Additional variables can be added to existing dialogs when expanding the user interface. A version identifier in parentheses is appended to the additional variables in the definition following the variable name: (0 = Original, is not written), 1 = Version 1, 
 2 = Version 2, etc. Example DEF var100=(R//1) Original, corresponds to Version 0...
  • Page 706 Programming commands 6.3 Functions //M(XXX) DEF var100=(R//1) DEF var101=(S//"Hello") DEF var102(1)=(V//"HUGO") DEF TMP VS8=("GC") PRESS(VS8) GC("NC1") END_PRESS OUTPUT(NC1) Original and the new version in addition var100","var101 END_OUTPUT OUTPUT(NC1,1) Version 1 var100","var101"," var102 END_OUTPUT Functions Overview A variety of functions are available in dialogs and dialog-dependent softkey menus. These can be activated by specific events (exit input field, actuate softkey) and configured in methods.
  • Page 707 Programming commands 6.3 Functions PI services The PI_SERVICE function can be used to start PI Services (Program Invocation Services) from the PLC in the NC area. See also Function (FCT) (Page 104) PI services (Page 128) 6.3.1 Define block (//B) Description In the program file, subprograms are identified by the block identifier //B and terminated with //END.
  • Page 708 Programming commands 6.3 Functions Example //B(PROG1) ; Block start SUB(UP1) ; Start of subprogram REG[0] = 5 ; Assign value 5 to register 0
 END_SUB ; End of subprogram SUB(UP2) ; Start of subprogram IF VAR1.val=="Otto" VAR1.val="Hans" RETURN ENDIF VAR1.val="Otto" END_SUB ;...
  • Page 709 Programming commands 6.3 Functions //M(SCREEN FORM1)
 CHANGE() CALL("UP1") ; Call subroutine and execute END_CHANGE //END 6.3.3 Check Variable (CVAR) Description You can use the CVAR (CheckVariable) function to run a scan to ascertain whether all or only certain variables or Help variables in a screen form are error-free. It may be useful to check if variables contain a valid value before an NC code with the GC function.
  • Page 710 Programming commands 6.3 Functions Example IF CVAR == TRUE ; Check all variables VS8.SE = 1 ; If all variables are error-free, softkey VS8 is visible ELSE VS8.SE = 2 ; If a variable has an invalid value, softkey VS8 is disabled ENDIF IF CVAR(”VAR1”, ”VAR2”) == TRUE ;...
  • Page 711 Programming commands 6.3 Functions Example Application with return value: CP("//NC/MPF.DIR/HOHO.MPF","//NC/MPF.DIR/ASLAN.MPF",VAR3) CP("//NC/MPF.DIR/hoho.MPF",VAR0,VAR3) CP(VAR4,VAR0,VAR3) CP("CF_CARD:/mpf.dir/myprog.mdf","//NC/MPF.DIR/HOHO.MPF",VAR3) CP("//NC/MPF.DIR/HOHO.MPF", ; xyz must exist "CF_CARD:/xyz/123.pmf",VAR3) Application without return value: CP("//NC/MPF.DIR/HOHO.MPF","//NC/MPF.DIR/ASLAN.MPF") CP("//NC/MPF.DIR/hoho.MPF",VAR0) CP(VAR4,VAR0) CP("CF_CARD:/mpf.dir/myprog.mdf","//NC/MPF.DIR/HOHO.MPF") CP("//NC/MPF.DIR/HOHO.MPF", ; xyz must exist "CF_CARD:/xyz/123.mpf") See also Support of FILE_ERR: FILE_ERR variable (Page 71) SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 712 Programming commands 6.3 Functions 6.3.5 Delete Program file function (DP) Description The DP (Delete Program) function deletes a file from the passive HMI or active NC file system. Programming ("File Syntax: ") Description: Delete file Parameters: File Complete path name of file to be deleted Example The following data management syntax is used for this function: •...
  • Page 713 Programming commands 6.3 Functions 6.3.6 Exist Program file function (EP) Description The EP (Exist Program) function checks whether a particular NC program is stored on the specified path in the NC or HMI file system. Programming ("File Syntax: ") Description: Checks the existence of the NC program Parameters: File...
  • Page 714 Programming commands 6.3 Functions Old syntax: EP("/MPF.DIR/CFI.MPF", VAR1) ;with return value: ; VAR1 = M File is located in the HMI file system. ; VAR1 = N File is located in the NC file system. ; VAR1 = B File is located in the HMI and NC file system.
  • Page 715 Programming commands 6.3 Functions 6.3.7 Move Program file function (MP) Description The MP (Move Program) function copies files within the HMI file system or within the NC file system. Programming ("source", "target") Syntax: MP("CF_CARD:/MPF.DIR/MYPROG.MPF","//NC/MPF.DIR") Description: Move file Parameters: Source file Complete path data Target file Complete path data...
  • Page 716 Programming commands 6.3 Functions 6.3.8 Select Program file function (SP) Description The SP (Select Program) function selects a file in the active NC file system for execution, i.e., the file must be loaded into the NC beforehand. Programming ("File") Syntax: Identifiers: Selecting a program Parameters:...
  • Page 717 Programming commands 6.3 Functions //M(TestGC/"Code generation:") PRESS(HS8) MP("CF_CARD:/MPF.DIR/MESSEN.MPF","//NC/MPF.DIR") ; Load file into NC SP("\MPF.DIR\MESSEN.MPF") ; Select file END_PRESS 6.3.9 Dialog line (DLGL) Description It is possible to configure short texts (messages or input tips) for output in the dialog line of the dialog in response to certain situations.
  • Page 718 Programming commands 6.3 Functions 6.3.10 Evaluate (EVAL) Description The EVAL function evaluates a transferred expression and then executes it. With this function, expressions can be programmed during runtime. This can be useful, for example, for indexed access operations to variables. Programming (exp) Syntax:...
  • Page 719 Programming commands 6.3 Functions 6.3.11 Exit dialog (EXIT) Description The EXIT function is used to exit a dialog and return to the master dialog. If no master dialog is found, you will exit the newly configured user interfaces and return to the standard application.
  • Page 720 Programming commands 6.3 Functions Example //M(Screen form1)
 PRESS(HS1) LM("SCREEN FORM2","CFI.COM",1, POSX, POSY, DIAMETER) ; Interrupt screen form1 and open screen form2. Transfer variables POSX, POSY and DIAMETER in doing this. DLGL("Screen form2 ended") ; After returning from screen form2, the following text appears in the dialog line of screen form1: Screen form2 ended.
  • Page 721 Programming commands 6.3 Functions 6.3.12 Exit Loading Softkey (EXITLS) Description You can use the EXITLS function to exit the current user interface and load a defined softkey menu. Programming ("Softkey menu"[, "Path Syntax: EXITLS "]) Description: Exits dialog and loads a softkey menu Parameters: Softkey menu Name of the softkey menu to be loaded
...
  • Page 722 Programming commands 6.3 Functions 6.3.13 Function (FCT) Description The external functions are stored in a DLL file and identified by an entry in the definition lines of the configuration file. Note The external function must have at least one return parameter. Programming Function name = ("File"/Type of return/Types of permanent Syntax:...
  • Page 723 Programming commands 6.3 Functions Structure of the external function The external function must take into account a certain, specific signature: Syntax: external "C" dllexport void InitConnection (ExtFctStructPtr FctRet, ExtFctStructPtr FctPar, char cNrFctPar) Description: DLL export, only when implemented in Windows Specified and transfer parameters are strictly defined.
  • Page 724 Programming commands 6.3 Functions The function is declared as follows: extern "C" MY_EXPORT void InitConnection (ExtFctStructPtr FctRet, ExtFctStructPtr FctPar,char cNrFctPar) If the screens, configured with "Run MyScreens", are used on the NCU and PCU/PC, then the extension of the binary file must be omitted: FCT InitConnection = ("xyz"/I/R,I,S/I,S) When the absolute path information is omitted, "Run MyScreens", first searches for the binary file in the configured directory.
  • Page 725 Programming commands 6.3 Functions Example //M(TestGC/"Code generation:") DEF VAR1 = (R//1) DEF VAR2 = (R//2) DEF D_NAME LOAD VAR1 = 123 VAR2 = -6 END_LOAD OUTPUT(CODE1) "Cycle123(" VAR1 "," VAR2 ")" "M30" END_OUTPUT PRESS(VS1) D_NAME = "\MPF.DIR\MESSEN.MPF" GC("CODE1",D_NAME) ; Write code from OUTPUT method to file \MPF.DIR\MESSEN.MPF: Cycle123(123, -6) END_PRESS...
  • Page 726 Programming commands 6.3 Functions Special considerations for target file specification In principle, there are two different ways of specifying a target file: ● NC notation: /_N_MPF_DIR/_N_MY_FILE_MPF The file is created in the MPF directory on the NC. ● DOS notation: d:\abc\my_file.txt \\RemoteRechner\files\my_file.txt The file is written to the specified directory on the hard disk or on the specified PC,...
  • Page 727 Programming commands 6.3 Functions 6.3.15 Load Array (LA) Description The LA (Load Array) function can be used to load an array from another file. Programming (Identifier [, File]) Syntax: Description: Loads array from file Parameters: Identifier Name of array to be loaded File File in which the array is defined Note...
  • Page 728 Programming commands 6.3 Functions 6.3.16 Load Block (LB) Description The LB (Load Block) function can be used to load blocks containing subprograms during runtime. LB should be configured in a LOAD method so that the loaded subprograms can be called at any time. Note Subprograms can also be defined directly in a dialog so that they do not have to be loaded.
  • Page 729 Programming commands 6.3 Functions 6.3.17 Load Mask (LM) Description The LM function can be used to load a new dialog. Master dialog / sub-dialog A dialog, which calls another dialog, but is not ended itself, is referred to as a master dialog. A dialog that is called by a master dialog is referred to as a sub-dialog.
  • Page 730 Programming commands 6.3 Functions Example PRESS(HS1) LM("SCREEN FORM2","CFI.COM",1, POSX, POSY, DIAMETER) ; Interrupt screen form1 and open screen form2: Variables POSX, POSY and DIAMETER are transferred in doing this. DLGL("Screen form2 ended") ; After returning from screen form2, the following text appears in the dialog line of screen form1: Screen form2 ended.
  • Page 731 Programming commands 6.3 Functions Note As long as the interpreter has not displayed a dialog, i.e., no LM function has yet been processed, only one LS or one LM command, but no other action, can be configured in the PRESS method of the definition block for the start softkey and the softkey menu. The LS and LM functions may only be called within a softkey PRESS block and will not react if navigation keys are pressed (PU, PD, SL, SR, SU, SD).
  • Page 732 Programming commands 6.3 Functions Programming ("System or user variable", value) Syntax: Description: Writes NC or PLC variable or machine data Parameters: System or user variable Name of NC or PLC variable Value Value that is to be written to the system or user variable.
  • Page 733 Programming commands 6.3 Functions Note It should be noted that the number of registers is restricted and the list of variables cannot exceed 500 characters. Example MRNP("$R[0]*$R[1]*$R[2]*$R[3]",1) ;The values of variables $R[0] to $R[3] are written to REG[1] to REG[4]. Reading display machine data: Display machine data can be read with RNP ($MM...) within the LOAD block.
  • Page 734 Programming commands 6.3 Functions PLC variable All PLC data are available. PLC data Byte y bit z of data block x DBx.DBXy.z Byte y of data block x DBx.DBBy Word y of data block x DBx.DBWy Double word y v. of data block x DBx.DBDy Real y of data block x DBx.DBRy...
  • Page 735 Parameters: Register index with x = 0...19; Type: REAL or STRING = VARIANT Registers with x ≥ 20 have already been assigned by Siemens. Description of register value The assignment of values to registers is configured in a method. Note...
  • Page 736 Programming commands 6.3 Functions Description of register status The Status property can be used to scan a register for valid content. One possible use for the register scan function is to ensure that a value is written to a register only if the relevant dialog is a "master dialog". Programming Identifier Syntax:...
  • Page 737 Programming commands 6.3 Functions Example //B(PROG1) ; Block start SUB(UP2) ; Start of subprogram IF VAR1.val=="Otto" VAR1.val="Hans" RETURN ; If the variable value = Otto, the value "Hans" is assigned to the variable, and the subprogram ends at this point. ENDIF VAR1.val="Otto"...
  • Page 738 Programming commands 6.3 Functions Examples: The programm contains the following NC code: DEF VAR1=(I//101) OUTPUT(CODE1) "X" VAR1 " Y200" "X" VAR1 " Y0" END_OUTPUT The following code is then stored in the parts program: ;NCG#TestGC#\cus.dir\aeditor.com#CODE1#1#3# X101 Y200 X101 Y0 ;#END# The Editor reads the following during recompilation: X101 Y200 X222 Y0...
  • Page 739 Programming commands 6.3 Functions Normally, the resulting code cannot be recompiled. The following steps are required in order to be able to recompile the cycle calls generated in this way: ● Expanding the easyscreen.ini Section will be introduced into the easyscreen.ini file. In this [RECOMPILE_INFO_FILES] section, all ini files are listed that contain descriptions for cycles recompiled without comment:...
  • Page 740 Programming commands 6.3 Functions Icon (optional) icon for display in the machining step program, format *.png Screen size for corresponding resolution: 640 X 480 mm → 16 x 16 pixels 800 X 600 mm → 20 x 20 pixels 1024 X 768 mm → 26 x 26 pixels 1280 X 1024 mm →...
  • Page 741 Programming commands 6.3 Functions 6.3.25 Search Forward, Search Backward (SF, SB) Description The SF, SB (Search Forward, Search Backward) function is used to search for a string from the current cursor position in the NC program currently selected in the Editor and to output its value.
  • Page 742 Programming commands 6.3 Functions 6.3.26 STRING functions Overview The following functions enable strings to be processed: ● Determine length of string ● Find a character in a string ● Extract substring from left ● Extract substring from right ● Extract substring from mid-string ●...
  • Page 743 Programming commands 6.3 Functions INSTR function: Search for character in string (Start, String1, String2 [,Direction]) Syntax: INSTR Description: Searches for characters Parameters: Start Starting position for searching from string1 into string2. Enter 0 to start searching at the beginning of string2. String1 Character that is being searched for.
  • Page 744 Programming commands 6.3 Functions RIGHT function: String from right (string, length) Syntax: RIGHT Description: RIGHT returns a string containing the specified number of characters starting from the right-hand side of a string. Parameters: string Character string or variable with the string to be 
 p rocessed length Number of characters that are to be read out Example...
  • Page 745 Programming commands 6.3 Functions REPLACE Function: Replacing characters ( string, FindString, ReplaceString [, start [, count ] ] ) Syntax: REPLACE Description: The REPLACE function replaces a character/string in a string with another character/string. Parameters: string String in which FindString is to be replaced with ReplaceString.
  • Page 746 Programming commands 6.3 Functions 6.3.27 PI services Description The PI_SERVICE function can be used to start PI Services (Program Invocation Services) from the PLC in the NC area. General programming service, n parameters Syntax: PI_SERVICE ( Description: Executes PI service Parameters: Service PI service identifier...
  • Page 747 Programming commands 6.3 Functions Example PI_START("/NC,001,_N_LOGOUT") Note Channel-dependent PI Services always refer to the current channel. PI services of the tool functions (TO area) always refer to the TO area that is assigned to the current channel. SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 748 Programming commands 6.3 Functions SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 749 Graphic and logic elements Line and rectangle Description Lines and rectangles are configured in the LOAD block: ● Lines are first drawn, then the rectangles and finally the configured control fields or graphics. ● Transparent rectangles are created by setting the fill color to the system background color.
  • Page 750 Graphic and logic elements 7.2 Defining an array RECT element Programming: Syntax: RECT (x,y,w,h,f1,f2,s) Description: Defining a rectangle Parameters: x-coordinate, top left y-coordinate, top left Width Height Color of the border Fill color Border style: 1 = solid 2 = dashed 3 = dotted 4 = dashed and dotted See also...
  • Page 751 Graphic and logic elements 7.2 Defining an array Programming (Identifier) Syntax: (a/b...) (c/d...) //END Description: Defines array Parameters: Identifier Name of array a, b, c, d Values of array Values of the STRING type must be enclosed in double quotation marks. Example //A(Thread) ;...
  • Page 752 Graphic and logic elements 7.2 Defining an array 7.2.1 Accessing the value of an array element Description The value of an array access operation can be transferred with property Value (identifier.val). The line index (line number of the array) and the column index (column number of the array) each begin at 0.
  • Page 753 Graphic and logic elements 7.2 Defining an array Access mode ● "Direct" access mode With "Direct" access mode (M = 0), the array is accessed with the line index in Z and the column index in S. Compare mode C is not evaluated. ●...
  • Page 754 Graphic and logic elements 7.2 Defining an array 7.2.2 Example Access to an array element Prerequisite Two arrays are defined below. These are the basis for the following examples: //A(Thread) (0.3 / 0.075 / 0.202) (0.4 / 0.1 / 0.270) (0.5 / 0.125 / 0.338) (0.6 / 0.15 / 0.406)
  • Page 755 Graphic and logic elements 7.2 Defining an array Examples ● Access mode example 1: The search concept is in Z. This key is always sought in column 0. The value from column S is output with the line index of the concept found. VAR1 = Thread[0.5,1,1] ;VAR1 has the value 0.125 Explanation:...
  • Page 756 Graphic and logic elements 7.2 Defining an array 7.2.3 Scanning the status of an array element Description The Status property can be used to run a scan to find out whether an array access operation is supplying a valid value. Programming Identifier [Z, S, [M[,C]]] Syntax:...
  • Page 757 Graphic and logic elements 7.3 Table grid (grid) Table grid (grid) Definition In contrast to the array, the values of a table grid (grid) are continually updated. This involves a tabular representation of the values of system variables that can be addressed using one block in one channel.
  • Page 758 Graphic and logic elements 7.3 Table grid (grid) See also Variable parameters (Page 57) 7.3.1 Defining table grids Description The table block comprises: ● Header ● 1 to n column descriptions Programming (Table identifier/Table type/Number of lines/ Syntax: [Fixed line attribute],[Fixed column attribute]) Description: Defines table grids Parameters:...
  • Page 759 Graphic and logic elements 7.3 Table grid (grid) 7.3.2 Defining columns Description For table grids, it is advisable to use variables with an index. For PLC or NC variables, the index number with one or more indices is of significance. The values displayed in a grid can be modified directly by the end user within the restrictions of the rights granted by the attributes and within any defined limits.
  • Page 760 Graphic and logic elements 7.3 Table grid (grid) Modifying column properties The column properties, which can be modified dynamically (written) are: ● Limits (min,max), ● Column header (st), ● Attributes (wr, ac and li), ● Help display (hlp) and ● OPI-Variable (var). Column properties are modified via the variable identifier in the definition line and the column index (starting at 1).
  • Page 761 Graphic and logic elements 7.4 Custom widgets 7.3.3 Focus control in the table grid Description The Row and Col properties can be used to set and calculate the focus within a table: ● Identifier.Row ● Identifier.Col Programming Each cell in a table has the Val and Vld properties. In order to read and write cell properties, a line and column index must be specified in addition to the variable identifiers from the definition list.
  • Page 762 Graphic and logic elements 7.4 Custom widgets Custom widgets 7.4.1 Defining custom widgets Description User-specific display elements are configured in the dialog using a custom widget. Software option In order to use custom widgets in dialog boxes, you require the following additional software option: "SINUMERIK Integrate Run MyHMI /3GL"...
  • Page 763 Graphic and logic elements 7.4 Custom widgets Programming The class definition of the dll file should look like this: #define SLESTESTCUSTOMWIDGET_EXPORT Q_DECL_EXPORT class SLESTESTCUSTOMWIDGET_EXPORT SlEsTestCustomWidget : public QWidget Q_OBJECT ..7.4.3 Structure of the custom widget interface Description The library is supplemented by an interface in order to display the custom widget in the dialog.
  • Page 764 Graphic and logic elements 7.4 Custom widgets Example Content of the file sleswidgetfactory.cpp for a custom widget with the class name SlEsTestCustomWidget": #include #include "slestestcustomwidget.h" /////////////////////////////////////////////////////////////////////////// // MAKROS FOR PLUGIN DLL-EXPORT - DO NOT CHANGE /////////////////////////////////////////////////////////////////////////// #ifndef Q_EXTERN_C #ifdef __cplusplus #define Q_EXTERN_C extern "C"...
  • Page 765 Graphic and logic elements 7.4 Custom widgets #define WIDGET_CLASS_EXPORT(CLASSNAME) \ EXPORT_SL_ES_CUSTOM_WIDGET_PLUGIN(CLASSNAME,CLASSNAME(pParent)) /////////////////////////////////////////////////////////////////////////// // FOR OEM USER - please declare here your widget classes for export /////////////////////////////////////////////////////////////////////////// WIDGET_CLASS_EXPORT(SlEsTestCustomWidget) 7.4.4 Interaction between custom widget and dialog Description Custom widgets interact with dialog boxes and can display values or manipulate them. Data is therefore exchanged for the following conditions: Condition Direction...
  • Page 766 Graphic and logic elements 7.4 Custom widgets Example The class definition of the dll file should look like this: #define SLESTESTCUSTOMWIDGET_EXPORT Q_DECL_EXPORT class SLESTESTCUSTOMWIDGET_EXPORT SlEsTestCustomWidget : public QWidget Q_OBJECT Q_PROPERTY(double CUSVAR1 READ cusVar1 WRITE setCusVar1); ..SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 767 "Custom" operating area How to activate the "Custom" operating area Activating the "Custom" operating area The "Custom" operating area is not activated on delivery. 1. First copy the slamconfig.ini. file from the into the /siemens/sinumerik/hmi/templates/cfg directory /oem/sinumerik/hmi/cfg or correspondingly into /addon/sinumerik/hmi/cfg /user/sinumerik/hmi/cfg 2.
  • Page 768 "Custom" operating area 8.2 How to configure the "Custom" softkey How to configure the "Custom" softkey Configuring the softkey for the "Custom" operating area The labeling and position of the softkey for the "Custom" operating area are configured in the slamconfig.ini file.
  • Page 769 Configuring the softkey for the "Custom" operating area You need the easyscreen.ini and custom.ini files to configure the operating area. Templates for both these files are available in the directory. /siemens/sinumerik/hmi/templates/cfg 1. First copy the files to the directory and make your changes from /oem/sinumerik/hmi/cfg there.
  • Page 770 "Custom" operating area 8.4 Programming example for the "Custom" area 4. You configure the language-neutral text for the title bar of the dialog in the custom.ini file. The following entry is available in the template for this purpose: [Header]Text=Custom You can replace this text with a customized one. 5.
  • Page 771 "Custom" operating area 8.4 Programming example for the "Custom" area Figure 8-2 Example with bitmap and text fields File overview The following files are required: ● custom.com ● easyscreen.ini Programming Content of the custom.com file: Note The graphic file mcp.png integrated in the example is also only a sample file. If you wish to use this programming example in your application, you must replace the graphic by one of your own graphics.
  • Page 772 "Custom" operating area 8.4 Programming example for the "Custom" area //S(Start) HS7=("Start example", se1, ac7) PRESS(HS7) LM("Maske4") END_PRESS //END //M(Maske4/"Example: MCP"/"mcp.png") DEF byte=(I/0/0/"Input byte=0 (default)","Byte number:",""/wr1,li1///380,40,100/480,40,50) DEF Feed=(IBB//0/"","Feed override",""/wr1//"EB3"/20,180,100/130,180,100), Axistop=(B//0/"","Feed stop",""/wr1//"E2.2"/280,180,100/380,180,50/100) DEF Spin=(IBB//0/"","Spindle override",""/wr1//"EB0"/20,210,100/130,210,100), spinstop=(B//0/"","Spindle stop",""/wr1//"E2.4"/280,210,100/380,210,50/100) DEF custom1=(IBB//0/""," User keys 1",""/wr1//"EB7.7"/20,240,100/130,240,100) DEF custom2=(IBB//0/"","User keys 2",""/wr1//"EB7.5"/20,270,100/130,270,100) DEF By1 DEF By2...
  • Page 773 "Custom" operating area 8.4 Programming example for the "Custom" area LOAD By1=1 By2=2 By3=3 By6=6 By7=7 END_LOAD PRESS(HS1) Byte.wr=2 END_PRESS CHANGE(Byte) By1=byte+1 By2=byte+2 By3=byte+3 By6=byte+6 By7=byte+7 Feed.VAR="EB"<
  • Page 774 "Custom" operating area 8.4 Programming example for the "Custom" area SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 775 Dialog selection Dialog selection using PLC softkeys Configuration Description of the procedure: ● The systemconfiguration.ini contains a section [keyconfiguration]. The entry specifies an action for a special PLC softkey. ● A number is given as an action. A "Run MyScreens" call is involved if the number is greater than or equal to 100.
  • Page 776 Dialog selection 9.2 Dialog selection using PLC hard keys [areaname_dialogname] The first part of the name "areaname" refers to the operating area and the second part "dialogname" designates the dialog to which the commands configured in this section apply. The names given in the systemconfiguration.ini file for the operating area and dialog should be used.
  • Page 777 Dialog selection 9.2 Dialog selection using PLC hard keys Hard keys 1 - 9 are preassigned as follows: Key designation Action / effect Position Selects "Machine" operating area, last dialog Program Selects "Program" operating area, last dialog or last program Offset Selects "Parameter"...
  • Page 778 Dialog selection 9.2 Dialog selection using PLC hard keys PLC interface An area to select a hard key is provided in the PLC interface. The area is in DB1900.DBB5003. Here, the PLC can directly specify a key value of between 50 and 254. Acknowledgment by the operating software takes place in two steps.
  • Page 779 Dialog selection 9.3 Dialog selection via NC Dialog selection via NC MMC command in HMI Operate You can use MMC commands as described in the following: 1. Definition of MMC commands The following is available in the standard file. Combinations: systemconfiguration.ini address:=MCYCLES -->...
  • Page 780 Dialog selection 9.3 Dialog selection via NC SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 781 Reference lists Lists of start softkeys A.1.1 List of start softkeys for turning Program operating area for turning HSK1 HSK2 HSK3 HSK4 HSK5 HSK6 HSK7 HSK8 Edit Drilling Turning Contour Milling Miscellaneou Simulation NC select turning HSK9 HSK10 HSK11 HSK12 HSK13 HSK14 HSK15...
  • Page 782 Reference lists A.1 Lists of start softkeys Turning The following tables list the possible start softkeys for turning technology. Assignments of individual start softkeys can differ depending on the particular system. The specified OEM softkeys are permitted for "Run MyScreens". programGUIDE (G-Code) start softkeys: Drilling Turning...
  • Page 783 Reference lists A.1 Lists of start softkeys ShopTurn start softkeys: Drilling Turning Contour turning Milling Miscellaneous HSK2 HSK3 HSK4 HSK5 HSK6 HSK10 VSK1 Drilling Stock New contour Face Settings High Tool centered removal milling contour speed settings VSK2 Centering Groove Stock Pocket Path...
  • Page 784 Reference lists A.1 Lists of start softkeys A.1.2 List of start softkeys for milling Program operating area when milling HSK1 HSK2 HSK3 HSK4 HSK5 HSK6 HSK7 HSK8 Edit Drilling Milling Contour Turning Miscellaneou Simulation NC select milling (only for G code) HSK9 HSK10...
  • Page 785 Reference lists A.1 Lists of start softkeys ShopMill start softkeys: Drilling Milling Contour milling Miscellaneous Straight line circle HSK2 HSK3 HSK4 HSK6 HSK10 VSK1 Centering Face milling New contour Settings Tool VSK2 Drilling Pocket Path Swivel plane Parallel axes Straight line reaming VSK3 Deep-hole...
  • Page 786 Reference lists A.2 List of colors List of colors System colors A uniform color table is available for configuring dialogs (subset of the respective standard colors). The color of an element (text, input field, background, etc.) can be selected from the following options (between 0 and 128).
  • Page 787 Reference lists A.3 List of language codes used in file names List of language codes used in file names Supported languages Standard languages: Language Abbreviation in file name Chinese simplified German English French Italian Spanish Other languages: Language Abbreviation in file name Chinese traditional Danish Finnish...
  • Page 788 Reference lists A.4 List of accessible system variables List of accessible system variables References List Manual System Variables/PGAsl/ See also Multiple Read NC PLC (MRNP) (Page 114) SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 789 Glossary Access level Graduated system of authorization, which makes the accessibility and utilization of functions on the operator interface dependent on the authorization rights of the user. Array An array can be used to organize data of a standard data type stored in the memory in such a way that it is possible to access the data via an index.
  • Page 790 Glossary Event Any action, which initiates execution of a → Method: Input of characters, actuation of softkeys, etc. Group Reload unit for → Configuration file Help variable Internal arithmetic variable to which no → Properties can be assigned and is not, therefore, visible in the →...
  • Page 791 Glossary PI service Function which, on an NC, executes a clearly defined operation. PI services can be called from the PLC and the HMI system. PLC hard key PLC hard keys are provided via the PLC interface of the HMI software, just like hotkeys. The functions, which can be triggered via the user interface, can be configured.
  • Page 792 Glossary Toggle field A list of values in the → Input/output field; check with toggle field: The value input in a field must be the same as one of the listed values. User variable Variables defined by the user in the → Parts program or data block. Variable Designation of a memory location, which can be displayed in a →...
  • Page 793 Index File Copy, 92 Access level, 42 Delete, 94 Alarms Moving, 97 Language code, 169 Focus control, 143 Array Foreground color, 59 Access mode, 134 Function Column index, 134 CALL (Subprogram call), 90 Compare mode, 134 CP (Copy Program), 92 Definition, 132 CVAR (Check Variable), 91 Element, 134...
  • Page 794 Index Generate an NC code, 106 PI services, 89 Graphic text, 57 PLC variable Grid → Table grid, 139 Read, 113 Write, 113 Position Input/output field, 59, 66 Short text, 59, 66 Help display, 59 Help variable, 51 RECT (defining a rectangle), 132 Registers Image as short text, 56 Exchanging data, 116...
  • Page 795 Index Variable calculating, 51 Change property, 50 Check, 91 CURPOS, 68 CURVER, 68 End, 101 ENTRY, 69 ERR, 70 FILE_ERR, 71 FOC, 72 Parameter, 57 S_CHAN, 73 Variable status, 49 Variable type, 57 INTEGER, 60 VARIANT, 61 Variable value, 49 Write mode, 59 SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 796 Index SINUMERIK Integrate Run MyScreens (BE2) Programming Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 797 NCU operating system (IM7) System settings ___________________ Configuring the system ___________________ Service and diagnostics SINUMERIK ___________________ Appendix SINUMERIK 840D sl NCU operating system (IM7) Commissioning Manual Valid for: CNC software for 840D sl/ 840DE sl Version 4.5 SP2 03/2013 6FC5397-1DP40-3BA1...
  • Page 798 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 799 Table of contents System settings ............................5 Delivery condition of the system ....................5 Meaning of switch positions ......................7 System booting ..........................8 Displays during system booting .....................9 Configuring the system ..........................13 Ethernet interfaces of the NCU ....................13 How to determine the IP address of the NCU................14 Configuration file "basesys.ini".....................15 2.3.1 Section [ExternalInterface]......................16...
  • Page 800 Table of contents Service and diagnostics ........................... 59 Creating a service system......................59 3.1.1 How do you create a service system for the NCU? ..............59 3.1.2 This is how you operate the service system ................61 3.1.3 Diagnostics functions ........................62 3.1.4 This is how you connect to a network drive ................
  • Page 801 System log file (same as event.log under Windows) Note Files in the directory under /user always have priority over files with the same name in the directory /oem → /addon → /siemens. NCU operating system (IM7) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 802 System settings 1.1 Delivery condition of the system Partitioning of the memory The memory of the CompactFlash Card is purely logically partitioned, i.e. the user can in principle assign the memory up to the end of the physical limit. An alarm under LINUX is triggered if less than 4 MB free memory is available.
  • Page 803 System settings 1.2 Meaning of switch positions Meaning of switch positions Overview The NCU has two twist buttons in the lower section of the front panel. NCK commissioning switch PLC mode switch Rotary switch SVC/NCK The switch positions have the following significance: Switch position Operating mode of the NCK Normal boot-up NCK...
  • Page 804 System settings 1.3 System booting System booting Sequence To ensure unproblematic booting of the NCU, the CompactFlash Card must be inserted. When the NCU is booting up, visual information on the current operating system is provided using the following displays: ●...
  • Page 805 System settings 1.4 Displays during system booting Displays during system booting Behavior of the LEDs when booting Of the LEDs on the front panel of the NCU, only the RDY LED and its status is important when booting up the NCU. LED: LED designations: State/phase...
  • Page 806 System settings 1.4 Displays during system booting Booting the basic system 7-segment display Meaning 1 (begin) Basis initializations 2 (prepfs) Cleaning up and preparing the file system 3 (hostname, loopback) The name is set and the loopback interface configured. 4 (syslog) Starting the system logging Starting the CFS class 1, provide the network interfaces.
  • Page 807 System settings 1.4 Displays during system booting System error LED: LED designations: Meaning 7-segment display RUN STOP SU/PF SF DP1 DP2 OPT Rapidly flashing Set by PLC/option module Permanent error: red (2Hz) The system is stopped. see the following table Rapidly flashing Set by PLC/option module Temporary error:...
  • Page 808 System settings 1.4 Displays during system booting NCU operating system (IM7) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 809 Configuring the system Ethernet interfaces of the NCU Supplementary conditions For the operation of an NCU: ● No more than one NCU may be operated as a DHCP server on the system network. ● An external mouse is recommended when using the System Network Center. Configuration of the interfaces The following connections can be established via the Ethernet interfaces: Interface...
  • Page 810 Configuring the system 2.2 How to determine the IP address of the NCU How to determine the IP address of the NCU NCU in the system network (X120) On X120, the NCU is pre-selected as required: No settings are necessary. NCU in the company network (X130) On X130, the NCU is set to the address reference via DHCP.
  • Page 811 Configuring the system 2.3 Configuration file "basesys.ini" Configuration file "basesys.ini" Storage path For a Linux basic system the original file can be found on the CompactFlash Card under the path /system/usr/etc. OEM versions are stored under /oem/system/etc, as well as user versions under /user/system/etc.
  • Page 812 Configuring the system 2.3 Configuration file "basesys.ini" 2.3.1 Section [ExternalInterface] Description In this section, the parameters and settings for the external Ethernet interface are defined. For an NCU7x0, this is X130 (Eth1). If the external interface is in DHCP mode, i.e. the value of ExternalIP is empty or not defined, then all parameters listed here, with the exception of "DHCPClientID", are accepted by the DHCP server as long as the server provides a value for the parameter.
  • Page 813 Configuring the system 2.3 Configuration file "basesys.ini" Nameservers If DNS name servers are specified here, then these must be used to resolve symbolic host names, i.e. at most of the points where an IP address is expected, a computer name can also be used instead.
  • Page 814 Configuring the system 2.3 Configuration file "basesys.ini" Domain These variables can be used to configure the DNS domain. The effect is that names in this domain can be resolved without qualification (e.g. if the domain is "test.local", you can also specify the name "computer1.test.local"...
  • Page 815 Configuring the system 2.3 Configuration file "basesys.ini" InternalIP Use this variable to set the fixed IP address in the system network. InternalIP should always be used together with InternalNetMask. Value: IP address Default: 192.168.214.1 InternalNetMask Specifies the subnet mask for InternallP and should always be used together with it. Value: Subnet mask Default:...
  • Page 816 Configuring the system 2.3 Configuration file "basesys.ini" SyncModeDHCPD_SysNet If this variable is not set on "OFF" then the DHCP servers synchronize themselves in the system network (X120) so that only one of them actively assigns addresses. This makes it possible to operate multiple NCUs or PCUs concurrently without having to adjust the network settings.
  • Page 817 Configuring the system 2.3 Configuration file "basesys.ini" DHCPDNoMasterWait If a synchronizing DHCP server has once seen a master server in the past, then it waits for synchronization until the time specified here elapses before it becomes the active server. This additional pause makes it possible for the intended DHCP master to become the active DHCP server without displacement even if it is shortly switched on thereafter, or takes longer to boot than other controllers.
  • Page 818 Configuring the system 2.3 Configuration file "basesys.ini" 2.3.3 Section [IBNInterface] Description The settings in this section affect interface X127. EnableDHCP_IBNNet If this variable is set to 1 then this prevents the start of the DHCP server at the commissioning interface X127. Value: Empty, 0 or 1 Default:...
  • Page 819 Default: Empty SNMPAutLocation This string is used for the Siemens-specific OID automationSystemIdent.automationLocationTag. It is possible to specify an additional location here, which can be subsequently called with an SNMP client. This is similar to SNMPLocation in terms of the MIB description, although it is intended for entries relating to automation.
  • Page 820 Configuring the system 2.3 Configuration file "basesys.ini" SNMPStation This string is used for the SINUMERIK -specific OID mcSinumerikMIB.mcSinumerikMiscStation. The value is the name of a station to which the device belongs. Devices with the same station name are therefore identified as being contiguous.
  • Page 821 Configuring the system 2.3 Configuration file "basesys.ini" 2.3.6 Section [LLDP] Description The parameters in this section define the properties of the LLDP protocol (Link Layer Discovery Protocol), which is used by several applications for network diagnostics. InternalLldpEnabled This can be used to switch-on and switch-off LLDP in the system network (X120); for the NCU, the value is also used for X127.
  • Page 822 Configuring the system 2.3 Configuration file "basesys.ini" ExternalLldpTLVsTxEnabled Using this parameter, additional information in the LLDP packages is enabled at X130, which are normally not included. Value: Numerical value from 0 ... 15 Default: The value corresponds to parameter InternalLldpTLVsTxEnabled. 2.3.7 Section [LinuxBase] Description...
  • Page 823 Configuring the system 2.3 Configuration file "basesys.ini" Examples: If the control is to synchronize with one of the listed time zones, the examples in the table can simply be copied. Zones with daylight saving time/standard time: Europe: WET0WEST,M3.5.0,M10.5.0 CET-1CEST,M3.5.0,M10.5.0 EET-2EEST,M3.5.0,M10.5.0 USA: EST5EDT,M4.1.0,M10.5.0 CST6CDT,M4.1.0,M10.5.0...
  • Page 824 The names can either be simple CFS basic names (e.g. "nck") - ignoring all CFS systems with this name - or you specify an absolute path (e.g. ) referring /siemens/sinumerik/nck specifically to this CFS system. It is also possible to set "DisableSubsystems=all" whereby not a single CFS system can be mounted or started any more.
  • Page 825 2.3.8 Example: Configuration file 'basesys.ini' Configuration file basesys.ini The following defaults are applied to the template_basesys.ini file which is supplied in the directory /siemens/system/etc.: ; ------------------------------------------------------------------ ; Default Linux basesystem configuration ; ------------------------------------------------------------------ ; section ID is for Windows compatibility and is ignored ;)
  • Page 826 Configuring the system 2.3 Configuration file "basesys.ini" ; If DisableCompanyNet is set to 1, the whole interface will ; be disabled. ;DisableCompanyNet=1 ; If ExternalIP is set, you can force the external Ethernet ; interface to use a fixed IP address etc. instead of using DHCP ;...
  • Page 827 Configuring the system 2.3 Configuration file "basesys.ini" ;EnableDHCPD_SysNet=0 ; Set synchronization of all DHCP servers in the ; system/TCU network (X120). Possible values are: ; OFF, ; or ON_LOW (low priority), ; or ON or ON_HIGH (normal priority), ; or ON_MASTER (highest priority), ;...
  • Page 828 ; certain SNMP requests. ; SNMPLocation and SNMPContact are reported for the standard OIDs ; SNMPv2-MIB::sysLocation and SNMPv2-MIB::sysContact, resp. ; SNMPAutLocation and SNMPFunction are used in the Siemens A&D specific ; AUTOMATION-SYSTEM-MIB as automationSystemIdent.automationLocationTag ; and automationSystemIdent.automationFunctionTag, resp. SNMPLocation="not specified"...
  • Page 829 ; a list of multiple names (separated by spaces) is possible ; a simple name means all CFSes with this name, an absolute path ; (e.g.,/siemens/sinumerik/nck) exactly this one CFS with ; the special value "ALL", all subsystems can be disabled ;DisableSubsystems=nck...
  • Page 830 Configuring the system 2.3 Configuration file "basesys.ini" ; Directory for OEM netboot files (served by tftp to diskless clients) NetbootDirectory=/oem/common/netboot ; Properties of local time zone: names, offset, start and end day ; Some examples: Europe: WET0WEST,M3.5.0,M10.5.0; CET-1CEST,M3.5.0,M10.5.0; EET- 2EEST,M3.5.0,M10.5.0; USA: EST5EDT,M4.1.0,M10.5.0; CST6CDT,M4.1.0,M10.5.0; MST7MDT,M4.1.0,M10.5.0;...
  • Page 831 Configuring the system 2.4 Service Commands Service Commands 2.4.1 Using service commands Overview The service command 'sc' is a tool used for performing a range of service tasks on a SINUMERIK NCU. The required action is written in the command line after the 'sc', e.g.: sc help This action produces a list of all actions with a short description.
  • Page 832 Configuring the system 2.4 Service Commands 2.4.2 Syntax for the Actions Description 'sc' in the command line is essentially not case-sensitive. The following entries are therefore interpreted as identical: sc help show SC help SHOW sc HeLp sHoW In some cases, however, upper/lower case can make a difference, for example in file or user names.
  • Page 833 Subsystem names are entered when using "sc enable" and "sc start", for example. In most cases, the name of the subsystem is simply the name of the corresponding CFS, without the path and without the extension ".cfs". For example, for the CFS /siemens/sinumerik/nck.cfs, the relevant subsystem name is simply "nck".
  • Page 834 Configuring the system 2.4 Service Commands Subsystem A subsystem is a CFS that not only contains a collection of files, but also executes a program, for example, at runtime. To do this, the CFS contains a script that is used to control the starting and stopping of this program.
  • Page 835 CFS containing it, without the '.cfs' extension. This enables all CFSs with that name, but you can also use a full path (e.g. /siemens/sinumerik/nck) to enable just a specific CFS. Another form is to enable the DHCP server on a network interface, for example 'enable DHCPSvr -X120'.
  • Page 836 Configuring the system 2.5 Description of the actions 2.5.2 Check-cf Description Syntax: sc check-df Alternative names: checkcf Privilege level: user With this action, the CF card is checked reading to see whether it contains defective sectors. If errors occur, this is noted in the file /var/log/messages. 2.5.3 Clear Description...
  • Page 837 Configuring the system 2.5 Description of the actions 2.5.4 Closeport Description Syntax: sc closeport ID Alternative names: Privilege level: service Mode of operation This command closes a port in the firewall opened previously with the "sc openport" command. This is only necessary when the port is to be closed manually before the time set with "sc openport"...
  • Page 838 Configuring the system 2.5 Description of the actions Supported file systems Two types of remote file system are supported: Windows SMB and Unix NFS. These two systems have completely different characteristics, particularly in terms of user administration: ● In Windows SMB, you connect to the server as a particular user that the server must recognize.
  • Page 839 Configuring the system 2.5 Description of the actions After the entry of the remote file system, you can also specify the required directory ('MOUNTPOINT') in which the remote files will become visible locally. This should be an empty directory to which you have write access. If MOUNTPOINT is omitted, 'sc' itself generates a suitable directory.
  • Page 840 Configuring the system 2.5 Description of the actions Specific subsystems The name "DHCPSvr" is a special case. This does not switch a normal subsystem on or off, but specifies whether or not a DHCP server should be started on a network interface. The interface is entered in the standard form.
  • Page 841 Configuring the system 2.5 Description of the actions This command distributes TCU data to other machines in the system network. Only the parameter "tcudata" is relevant here. distribute tcudata Syntax: sc distribute tcudata Alternative names: Privilege level: service This command informs the active DHCP server that TCU data in /user/common/tcu has been manually changed.
  • Page 842 Configuring the system 2.5 Description of the actions "sc enable IPAlias" defines a second alias IP address for a network interface. This is only supported for X120. The IP address itself has the usual notation with four numbers separated by decimal points. If not specified, the subnet screen form can be determined from the class (A/B/C) of the IP or determined explicitly.
  • Page 843 Configuring the system 2.5 Description of the actions 2.5.10 Openport Description Syntax: sc openport [-MINUTES] PROTO/PORT SOURCE ... Alternative names: Authorization level: service Mode of operation This command opens a port in the firewall to the company network (X130) for a certain time. The default time is 15 minutes, but this can be changed with the -MINUTES option.
  • Page 844 Configuring the system 2.5 Description of the actions 2.5.11 Port status Description Syntax: sc portstatus [-x127] PORTSPEC SOURCE Alternative names: Authorization level: service Mode of operation The command "sc portstatus" can be used to query whether a certain port in the firewall has been opened.
  • Page 845 Configuring the system 2.5 Description of the actions "all", "system" and "network" are special values for the subsystem: ● "all" stops and starts all available subsystems. ● On the other hand, "sc restart system" initiates a system restart (reboot) ● "network" can only be specified in conjunction with "restart". "sc restart network" reinitializes the network, e.g.
  • Page 846 ● The options -addon, -oem, -user, -addon+ and -oem+ also allow you to unpack only parts of an archive. ● The -update option is used for loading software updates supplied by Siemens. The - restart option can also be useful with -update. If user-defined system files are changed when loading an archive, a restart or reinitialization is necessary.
  • Page 847 Configuring the system 2.5 Description of the actions The action "Save" or “Backup” creates a backup of the CF card in FILENAME. If the action is used from a service system, the backup receives the files of the underlying controller, not of the service system itself.
  • Page 848 : IP=192.168.215.1 Netmask=255.255.255.224 MAC=08:00:06:73:55:ff DNS Name : ncu-ibn DHCP : server Statistics: RX=0.0MB (0.00% errors), TX=0.0MB (0.00% errors) Default gateway: 111.222.333.1 (via eth1) Used nameserver: 127.0.0.1 Used DNS suffix: test.siemens.de local NCU operating system (IM7) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 849 Configuring the system 2.5 Description of the actions The following data is displayed for each interface: ● Name: the name of the connection socket (X1_ _), together with the name used by the operating system in brackets (ethN or ibnN). ●...
  • Page 850 Configuring the system 2.5 Description of the actions Examples Notation: sc show drives someuser/somedomain@somepc # Windows-Server Password: ******* //somepc/C$ //somepc/D$ //somepc/images sc show drives someserver # NFS-Server someserver:/export/home1 someserver:/export/home2 sc show drives TCU # TCU USB-Medien TCU1:/dev0-0 TCU2:/dev0-0 All the available remote file systems of the relevant server are listed in the notation that is expected by "sc connect".
  • Page 851 Configuring the system 2.5 Description of the actions show net Syntax: sc show net [-xml] [-hw|-tco|-sw|-swfull|-loc|-panel| -dhcp|-switch|-all] [HOSTS...] Authorization level: none The "sc show net" command displays the devices in the system network and gives additional information on these devices. As both these functions rely on SNMP (Simple Network Management Protocol), only those devices able to use SNMP will be found.
  • Page 852 Configuring the system 2.5 Description of the actions -panel: Displays panel-specific data: size and color depth of the display, MCP/TCU/DCK/EKS index, and the VNC server currently represented -dhcp Data on a synchronizing DHCP server: operating state (off/standby/active), priority, versions of the .leases file and TCU data, and the range for dynamically assigned IP addresses -switch Displays the settings of rotary switches on the device, e.g.
  • Page 853 Configuring the system 2.5 Description of the actions start snc Syntax: sc start snc Alternative names: Privilege level: service This command starts the "System Network Center". To operate it, you will need a mouse. The "System Network Center" you can end with "Exit". If you do not wish to end the "System Network Center", then switch to the HMI with the following key combination: ...
  • Page 854 Configuring the system 2.5 Description of the actions NCU operating system (IM7) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 855 Service and diagnostics Creating a service system Overview To backup user data or the complete CompactFlash Card, proceed as follows: ● Creating a service system. ● Backing up the license ● Backup: Data backup on USB storage medium or on a network drive. ●...
  • Page 856 Service and diagnostics 3.1 Creating a service system Scope of delivery To create a service system on a USB storage medium, the following files are included on ● an executable file installdisk.exe ● an image file for USB-FlashDrive ● a file with the latest information siemensd.txt / siemense.txt Recommendation: It is better to use SIMATIC PC USB-FlashDrive.
  • Page 857 Service and diagnostics 3.1 Creating a service system 3.1.2 This is how you operate the service system Connecting-up the service system Procedure: 1. Connect the USB storage medium to the USB interface X125 or X135 of the NCU. 2. Switch-off the system and then switch on again. 3.
  • Page 858 Service and diagnostics 3.1 Creating a service system Note Operation on touch panels No touch operation is supported by the service system • SINUMERIK OP019: An external keyboard is required for text input (connected via USB). • SIMATIC Thin Client Here, you can activate the integrated keyboard. 3.1.3 Diagnostics functions Functions of the service menu...
  • Page 859 Service and diagnostics 3.1 Creating a service system Overview of the main menu: Main menu Description Reference to chapter/manual Firmware Update Update BIOS: This is how you update the firmware (Page 80) PLC BIOS • FPGA • CBE30 Bootloader • VNC Viewer Start a VNC Viewer Calling the VNC Viewer (Page 89)
  • Page 860 Service and diagnostics 3.1 Creating a service system 3.1.4 This is how you connect to a network drive Connecting network drives 1. Select "Connect to network drive". 2. Enter the complete path name of the network drive. 3. Register yourself with a user name with access authorization to this drive. Note the syntax of the examples specified: Figure 3-2 Connecting network drives...
  • Page 861 Validity of the license key The license key corresponds to the serial number of the CompactFlash Card. If the CompactFlash Card is replaced for a SINUMERIK 840D sl, the license key loses its validity and the system is no longer ready for operation.
  • Page 862 Service and diagnostics 3.2 Backup license 3.2.1 This is how you backup the license key Backing up the license key on a USB storage medium Procedure: 1. In the main menu, select the menu item "Backup NCU Software and Data". The following menu is displayed: Figure 3-3 Backing up licenses...
  • Page 863 Service and diagnostics 3.2 Backup license 2. Select the menu item "Backup license key to USB memory stick". The following menu is displayed: Figure 3-4 Save license key The license key is backed up in the specified directory together with the serial number of the CompactFlash Card.
  • Page 864 Service and diagnostics 3.3 Backup data via the service menu Backup data via the service menu 3.3.1 This is how you backup user data Backing up and restoring user data Procedure: 1. In the main menu, select the menu item "Backup NCU Software and Data". 2.
  • Page 865 Service and diagnostics 3.3 Backup data via the service menu 4. Confirm with "Ok". The following message is output after the operation has been successfully completed: Figure 3-6 Operation completed Note Backup file ≥ 4GB For a backup file ≥ 4GB, the space on the FAT partition of the service system (with 8GB) is no longer sufficient.
  • Page 866 Service and diagnostics 3.3 Backup data via the service menu 3.3.2 This is how you restore user data Restoring user data Procedure: 1. In the main menu, select the menu item "Restore NCU Software and Data". The following menu is displayed: Figure 3-7 Restoring user data 2.
  • Page 867 Service and diagnostics 3.3 Backup data via the service menu 3.3.3 This is how you create a complete backup of the CompactFlash Card Creating a complete backup Procedure: 1. In the main menu, select the menu item "Backup NCU Software and Data". The following menu is displayed: Figure 3-8 Backup up...
  • Page 868 Service and diagnostics 3.3 Backup data via the service menu 3. Enter a complete file name - as specified in the example. 4. Confirm with "OK". This can take several minutes. The operation is displayed: Figure 3-9 Backing up ... A message is output after the operation has been successfully completed.
  • Page 869 Service and diagnostics 3.3 Backup data via the service menu 3.3.4 This is how you install a complete system backup Installing the complete backup With this menu item, a complete backup of the data from the service system or from a network drive is installed on the CompactFlash Card, i.e.
  • Page 870 Service and diagnostics 3.3 Backup data via the service menu 2. Select the menu item "Recover system from USB memory stick (reformat CF card)" and confirm with "Ok". The list of the tgz files available on the USB storage medium are displayed. 3.
  • Page 871 Service and diagnostics 3.4 Backing up data via the service shell Backing up data via the service shell Backing up and restoring using a service shell To call a service shell, depending on the configuration, the following possibilities are available: Configuration of NCU with TCU: the service shell is called under Linux.
  • Page 872 Service and diagnostics 3.4 Backing up data via the service shell 3.4.2 This is how you restore data from the service system Proceed as follows To restore the complete system: 1. Connect the service system to a USB interface (X125 or X135) of the NCU and press the reset button.
  • Page 873 Service and diagnostics 3.4 Backing up data via the service shell Scenario : Start Command Shell under Linux Procedure: 1. Connect the service system to the USB interface X125 or X135 of the NCU. 2. In the main menu, select the menu item "Service Shell". 3.
  • Page 874 Service and diagnostics 3.4 Backing up data via the service shell 3.4.4 This is how you restore data from the network drive Sequence Proceed as follows: ● Connect the service system. ● "Service Shell" open. ● Establish a connection to a network drive. ●...
  • Page 875 Service and diagnostics 3.4 Backing up data via the service shell Scenario : Start the command shell using the VNC Viewer on the programming device Procedure: 1. Start the VNC Viewer and connect to the NCU using the IP address (or where relevant, using the host name) 2.
  • Page 876 When service is required, it may be necessary for a service technician to install a BIOS update. Siemens provides the corresponding update file. Possible formats include: *.img or *.rom or *.bin. Or, the update file is already supplied on the service system, then step 1 is eliminated.
  • Page 877 Service and diagnostics 3.5 Updating the software 5. Select "BIOS Update" and follow the next instructions. The BIOS version installed on the NCU and the update files available in the service system are output: Figure 3-12 Select the updates 6. Select the update file and confirm with "OK". A "Restart"...
  • Page 878 Service and diagnostics 3.5 Updating the software 3.5.2 This is how you update the software Update / Recover The following options are available: ● Update the software from the service system or from the network drive. ● Completely restore the CompactFlash Card with the system software from the service system or from the network drive (Recover system ...).
  • Page 879 Service and diagnostics 3.5 Updating the software 3. In order to check which software version contains the tgz file, first select the tgz file, then press "Show version". The following information is output: Figure 3-14 Version information 4. Select the appropriate tgz file and confirm with "Ok". A message is output after the update has been successfully completed.
  • Page 880 Service and diagnostics 3.6 System diagnostics System diagnostics 3.6.1 Performing system diagnostics Overview of diagnostic functions The following diagnostic functions to display network settings are included in this menu: Figure 3-15 Diagnostics functions System diagnosis Description Show all network settings Connection data of all Ethernet interfaces is displayed.
  • Page 881 Service and diagnostics 3.6 System diagnostics System diagnosis Description Show card identification The following data of the system CompactFlash Card is output: Serial number • System software version • Hardware version (NCU) • Check card integrity Checking the CompactFlash Card system Example: Connection data of all Ethernet interfaces of the NCU: Figure 3-16 NCU: Interfaces...
  • Page 882 Service and diagnostics 3.6 System diagnostics 3.6.2 This is how you change the system settings Modify NCU Settings You can change the following system settings in this menu: Figure 3-17 Changing system settings Menu item Description Change network settings Changing network settings of the NCU. Disable internal HMI (currently enabled) Activating/deactivating an HMI task Reset HMI data to factory defaults...
  • Page 883 Service and diagnostics 3.6 System diagnostics NOTICE Reset ... data to factory defaults The selected data are reset to the state when delivered, therefore overwriting all of the previous specific commissioning settings that have been made. 3.6.3 This is how you check the CompactFlash Card Displaying identification data Procedure: 1.
  • Page 884 Service and diagnostics 3.6 System diagnostics 2. Select the menu item "Show card identification". The following data for identification are output: Figure 3-19 Identification NCU operating system (IM7) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 885 Service and diagnostics 3.6 System diagnostics 3. Select the menu item "Check card integritiy". The CompactFlash Card is checked for errors: Figure 3-20 Check Note This procedure can take several minutes. 3.6.4 Calling the VNC Viewer Purpose The VNC Viewer is used to connect directly with a VNC Server and, for example, to operate an HMI application.
  • Page 886 Service and diagnostics 3.6 System diagnostics Starting the VNC Viewer Procedure: 1. In the main menu, select the menu item "VNC Viewer". The following menu is displayed: Figure 3-21 VNC Viewer 2. To start the VNC Viewer, enter the following connection data: –...
  • Page 887 PuTTY web page: http://www.chiark.greenend.org.uk/~sgtatham/putty (http://www.chiark.greenend.org.uk/~sgtatham/putty) With both programs, a service technician can log onto the NCU and carry out service tasks. The username ‘manufact’ with the password ‘SUNRISE’ is available for the Siemens service technician. Starting WinSCP WinSCP is started from Windows after the service technician has logged onto the NCU with which he is connected using the corresponding authorization (e.g.
  • Page 888 Service and diagnostics 3.6 System diagnostics NCU operating system (IM7) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 889 Appendix Abbreviations CompactFlash card: Memory card Cluster File System Direct Control Keys: Direct control keys Discovery and Basic Configuration Protocol DHCP Dynamic Host Configuration Protocol: Dynamic assignment of an IP address and other configuration parameters on a computer in a network Domain Name System: Conversion of domain names into IP addresses Emergency Boot System Electronic Key System: System to check the identity of a user (authentication system)
  • Page 890 Appendix A.1 Abbreviations Thin Client Unit TFTP Trivial File Transfer Protocol: Very simple data transmission protocol User Datagram Protocol: NTP is mostly processed via UDP. Universal Serial Bus Uninterruptible power supply Universal Time, Coordinated: Coordinated Universal Time (previously: Greenwich Mean Time) Virtual Network Computing NCU operating system (IM7) Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1...
  • Page 891 Glossary CFS (Compressed File System) A CFS (file extension ".cfs") is a compressed file system, similar to a zip file. It contains files and subdirectories that look like normal files on the controller at runtime. Files and directories contained in a CFS cannot be changed. They are decompressed at runtime as required. Network interface The network interface is an interface that enables network communication.
  • Page 892 Glossary VNC (Virtual Network Computing) Virtual Network Computing is a software that displays the screen contents of a remote computer, with a running VNC server, on a local computer, with a running VNC viewer, and in return sends keyboard and mouse movements of the local computer to the remote computer.
  • Page 893 Index LogFileLimit, 27 Nameservers, 17 SNMPAutLocation, 23 SNMPContact, 23 SNMPFunction, 23 7-segment display, 9 SNMPLocation, 23 SNMPStation, 24 SyncModeDHCPD_SysNet, 20 Timeservers, 17 Timezone, 26 Applications, 59 CFS (Compressed File System), 38 basesys.ini, 15 Coding switches, 7 CheckTCUforUpdatePackage, 29 Command DHCPClientID, 18 Backup, 50 DHCPDNoMasterWait, 21 Check-cf, 40...
  • Page 894 Index Creating for the NCU, 60 Restoring data, 76 Interfaces Service Tool WinSCP, 91 Ethernet, 37 SMB (Server Message Block), 38 NCU, 13 Subnet mask, 14 IP address Subsystem, 38 Display, 14 Designation, 37 Synchronization DHCP, 46 System Load operating system, 9 Diagnostics, 9 Log file, 5, 29 System error, 11...
  • Page 895 ___________________ Configuring the system ___________________ Install software and updates SINUMERIK ___________________ Backing up and restoring data SINUMERIK 840D sl ___________________ PCU-Basesoftware (IM8) Service and diagnostics ___________________ List of Abbreviations Commissioning Manual Valid for: SINUMERIK PCU 50.3 with PCU-Basesoftware V8.6 SP3 SINUMERIK PCU 50.5 with PCU-Basesoftware V5XP1.3...
  • Page 896 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 897 Table of contents Commissioning the system ........................5 Delivery condition of the system ....................5 1.1.1 Hard disk partitions ........................6 1.1.2 System features ..........................8 User administration ........................10 1.2.1 Which users are set up? ......................10 1.2.2 User settings ..........................12 1.2.3 This is how you create a new user ....................18 1.2.4 This is how you administer users....................20 Boot up behavior of the PCU .......................21...
  • Page 898 Table of contents How to install and authorize SIMATIC STEP 7................67 How to install additional languages under Windows XP (DVD)..........69 Backing up and restoring data ......................... 71 Backing up and restoring data ....................71 4.1.1 How to create a service system for PCU ..................71 4.1.2 Starting ServiceCenter Backup Restore ..................
  • Page 899 Commissioning the system Delivery condition of the system Overview The PCU has onboard interfaces for communicating via Ethernet, MPI and PROFIBUS DP. The integrated free slots remain free for other tasks. The PCU is equipped with the Windows XP ProEmbSys operating system and for data backup tasks with the Symantec Ghost software.
  • Page 900 Commissioning the system 1.1 Delivery condition of the system Documentation for all Ghost tools is supplied on the PCU’s hard disk under E:\TOOLS. Note For the system component versions contained in the PCU Basesoftware, see the C:\BaseVers.txt file. 1.1.1 Hard disk partitions Memory segmentation The hard disk of the PCU 50.3 has 40 GB of storage capacity and is segmented into a primary partition C and an expanded partition with the three logical drives D, E and F which...
  • Page 901 Commissioning the system 1.1 Delivery condition of the system Depending on the order, the operating software can already be installed when the unit is shipped. It is installed subsequently by the customer the first time the system is booted up. For reasons of data security, the operating software and the Windows XP system software are distributed over the different hard disk partitions.
  • Page 902 Commissioning the system 1.1 Delivery condition of the system 1.1.2 System features Configuration of the operating system For safety reasons, Windows XP has been preset as follows: ● The Autorun function is deactivated. ● Automatic Windows Update is deactivated. ● Monitoring and alerts for antivirus software and automatic update are deactivated. ●...
  • Page 903 Commissioning the system 1.1 Delivery condition of the system See also This is how you set the IP address of the PCU (Page 42) References: Operator Components and Networking Manual PCU-Basesoftware (IM8) Commissioning Manual, 02/2012, 6FC5397-1DP40-3BA0...
  • Page 904 HMI (operator.group) operator.group Restricted Operator user CUSTOMER HMI (user.group) user.group "Power User" Operator auduser SUNRISE HMI+Service Administrators local System administrators administrator siemens ***** System administrators The individual user types differ in the following areas: PCU-Basesoftware (IM8) Commissioning Manual, 02/2012, 6FC5397-1DP40-3BA0...
  • Page 905 Commissioning the system 1.2 User administration User type Area of activity HMI (operator.group) Boot up of the PCU • Operating the HMI program • Windows Desktop • HMI (user.group) Boot up of the PCU • Operating the HMI program • Windows desktop •...
  • Page 906 Commissioning the system 1.2 User administration 1.2.2 User settings "Global Settings" In the ServiceCenter Users, as HMI service user, you set parameters under "Global Settings" for the system behavior: ● When the PCU is booting up ● When the HMI program is starting ●...
  • Page 907 Global Settings: Startup (1) tab Table 1- 1 The default is marked in "bold". Startup (1) tab Option Effect Background Bitmaps folder: F:\hmisl\siemens\sinumerik Directory with boot screens \hmi\ico\ ... Default bitmap folder: F:\hmisl\siemens\sinumerik Directory containing default boot screens \hmi\ico\ico800 Installing Enable: "yes"...
  • Page 908 Commissioning the system 1.2 User administration Startup (1) tab Option Effect "yes" For pending installation during the boot up: Prompt asking whether to install. Authentication: "manual" Authentication of an HMI+Service user in the "Installing Logon" dialog is undertaken manually. "EKS" Authentication of an HMI+Service user in the "Installing Logon"...
  • Page 909 Commissioning the system 1.2 User administration Startup (2) tab Option Effect Start dialog: "yes" Display "Desktop Access" dialog "no" Do not display "Desktop Access" dialog Logon Dialog: "yes" Display "Desktop Logon" dialog. "no" Do not display "Desktop Logon" dialog. Default password map: "no"...
  • Page 910 Effect Program Start: "yes" The HMI program is started. "no" The HMI program is not started. File: F:\hmisl\siemens\sinumerik\ Select the HMI program hmi\autostart\run_hmi.exe Task bar autohide: "no" HMI program: Hide start task bar "yes" HMI program: Show start task bar Task bar on top: "no"...
  • Page 911 Commissioning the system 1.2 User administration "Desktop (1)" tab Option Effect Startmenu "no" Do not display programs in the "Start menu" Autoshow Tools: "yes" Display programs in the "Start menu". Background Bitmaps folder: (none) Directory with background screens for the desktop Default bitmap folder: (none) Directory with default background screens for the...
  • Page 912 Commissioning the system 1.2 User administration Principle of passing on The settings made under "Global Settings" are passed on to individual users. The settings which are passed on can still be adapted to suit each user. Example: Specific user settings The settings under "Global Settings"...
  • Page 913 Commissioning the system 1.2 User administration 1. Click on "New User" button. 2. Enter a user name. 3. Assign a user type, e.g. "HMI", and a user group to the user. The Windows user group is only active locally on the PCU. Figure 1-9 ServiceCenter Users: New user 4.
  • Page 914 Commissioning the system 1.2 User administration Adding new users from a domain If the PCU is a member of a domain, users already existing in this domain can be added as HMI users or HMI+Service users: 1. Click on the "New User" button. 2.
  • Page 915 Commissioning the system 1.3 Boot up behavior of the PCU Boot up behavior of the PCU 1.3.1 Dialogs when booting Selection when booting up The following dialogs are shown during boot up: ● "Installing Logon" dialog. This dialog is displayed if an "Install" directory is found on a bootable storage medium (e.g.
  • Page 916 Commissioning the system 1.3 Boot up behavior of the PCU ● "Desktop Access" dialog – This dialog is displayed if either no HMI program is installed, the installation has been skipped or the start of the HMI program has been deactivated during ramp-up. Displaying this dialog can be suppressed through configuration in the global or user settings.
  • Page 917 Commissioning the system 1.3 Boot up behavior of the PCU ● "Desktop Logon" dialog The "Desktop Logon" dialog enables the user to log on to the desktop. This dialog also appears – If no valid user data has been provided by the authentication system (EKS). –...
  • Page 918 Commissioning the system 1.3 Boot up behavior of the PCU 1.3.2 Boot up of the PCU: no HMI program installed Requirement No HMI program is installed during the PCU boot up. Ramp-up phase Figure 1-13 PCU bootup diagram (without HMI program) PCU-Basesoftware (IM8) Commissioning Manual, 02/2012, 6FC5397-1DP40-3BA0...
  • Page 919 Commissioning the system 1.3 Boot up behavior of the PCU Explanations: ● If installation programs are present in directory D:\Install, you will be prompted during the first boot up as to whether the installation procedure should be started. After installation is completed, you need to restart the system.
  • Page 920 Commissioning the system 1.3 Boot up behavior of the PCU Ramp-up phase Figure 1-14 PCU bootup diagram (HMI program installed) Explanations: ● If the HMI program is already installed, the PCU boots up and the HMI program is started (default). ●...
  • Page 921 Overview The system behavior during boot up for the screen resolution is set in the file tcu.ini. You will find the delivery status for tcu.ini in E:\siemens\system\etc. Modified tcu.ini files are saved in F:\addon_base\..., F:\oem_base\..., F:\user_base\... Reference: Operator Components Manual, "Networking" chapter Set the resolution when booting up the PCU The following options are available in the # RESOLUTION section in the tcu.ini:...
  • Page 922 Commissioning the system 1.3 Boot up behavior of the PCU Settings Meaning Example 2: There is no PCU panel, however there is a PCU monitor (irrespective of whether there are any TCU panels): [in active TCU mode: The following additional condition applies: PCU is activated (with dynamic resolution switching enabled)]: The resolution is not specially set;...
  • Page 923 Commissioning the system 1.3 Boot up behavior of the PCU Settings Meaning Example 3: There is no PCU monitor and no PCU panel (= headless operation): A) in active TCU mode: a) dynamic resolution switching is enabled (resolution adaptation entry in TCU.ini) and at least one TCU is already logged on: The resolution is set to the resolution of the TCU which is currently active.
  • Page 924 Commissioning the system 1.4 BIOS settings for PCU 50.3 BIOS settings for PCU 50.3 Overview The BIOS of the PCU is preset in such a way that no changes are required. The date and time can be set under Windows or the operator interface. NOTICE Your device configuration is preset for working with the software supplied with the unit.
  • Page 925 Commissioning the system 1.4 BIOS settings for PCU 50.3 BIOS setup: Defaults The following system parameters are saved on delivery: Menu: Main System parameters Defaults Custom entries System Time hh:mm:ss System Date MM/DD/YYYY IDE Channel 0 Master None IDE Channel 0 Slave None SATA Port 0 40008 MB...
  • Page 926 Commissioning the system 1.4 BIOS settings for PCU 50.3 Hardware Options Fan control Enabled CRT/LCD selection Simultan. Auto Menu: Advanced System parameters Defaults Custom entries Installed O/S Other Reset configuration data Legacy USB support Disabled USB controller restart Enabled I/O Device Configuration Internal COM 1 Enabled Base I/O address...
  • Page 927 Commissioning the system 1.4 BIOS settings for PCU 50.3 Menu: Security System parameters Defaults Custom entries Supervisor password is Disabled User password is Disabled Set user password Enter Set supervisor password Enter Password on boot Disabled Fixed disk boot sector Standard Menu: Boot System parameters...
  • Page 928 Commissioning the system 1.4 BIOS settings for PCU 50.3 Menu: Exit Save Changes & Exit All changes are saved; a system restart is carried out with the new parameters. Changing BIOS settings Once additional components have been installed or attached, it may be the case that the system has to be informed of this via the BIOS setup: 1.
  • Page 929 Commissioning the system 1.5 BIOS settings for PCU 50.5 BIOS settings for PCU 50.5 Overview The BIOS of the PCU is preset in such a way that no changes are required. The date and time can be set under Windows or the operator interface. NOTICE Your device configuration is preset for working with the software supplied with the unit.
  • Page 930 Commissioning the system 1.5 BIOS settings for PCU 50.5 BIOS setup: Default settings The following system parameters are saved on delivery: Menu: Main System parameters Default settings Own entries System Time hh:mm:ss System Date MM/TT/JJJJ Menu: Advanced Peripheral Configuration Default settings Own entries Internal COM 1 Enabled...
  • Page 931 Commissioning the system 1.5 BIOS settings for PCU 50.5 Chipset Configuration Default settings Own entries Port 80h Cycles LPC Bus VT-d Enabled HPET Enabled CPU Configuration Default settings Own entries P-States (IST) Enabled Turbo Mode Enabled CMP Support Auto HT Support Auto Use XD Capability Disabled...
  • Page 932 Commissioning the system 1.5 BIOS settings for PCU 50.5 Menu: Power System parameters Default settings Own entries Wake on LAN 1 Disabled Wake on PME/LAN2 Enabled Wake on Time Disabled After Power Failure Power On Menu: Boot System parameters Default settings Own entries Quick Boot Disabled...
  • Page 933 Commissioning the system 1.5 BIOS settings for PCU 50.5 Menu: Exit System parameters Default settings Own entries Exit Saving Changes All changes are saved; a system restart is carried out with the new parameters. Profile Standard Changing BIOS settings Once additional components have been installed or attached, it may be the case that the system has to be informed of this via the BIOS setup: 1.
  • Page 934 Commissioning the system 1.5 BIOS settings for PCU 50.5 PCU-Basesoftware (IM8) Commissioning Manual, 02/2012, 6FC5397-1DP40-3BA0...
  • Page 935 Configuring the system System settings 2.1.1 How to change the name of the PCU Default The PCU is supplied with an automatically generated computer name. Procedure To change the name of the PCU: 1. Select "Start" → "Control Panel" → "System". 2.
  • Page 936 Configuring the system 2.1 System settings 2.1.2 This is how you set the IP address of the PCU Default NOTICE The IP address 192.168.214.241 is set as a factory default for every PCU on the system network. You must only perform the steps described below if you wish to change this default. Procedure 1.
  • Page 937 Configuring the system 2.1 System settings 4. Under the "General" tab, select the "Use the following IP address" option and enter the IP address and the subnet screen form. Recommended setting for the first PCU: 5. Enter the required new IP address and confirm the settings with "OK". 2.1.3 How to add the PCU to a domain Requirement...
  • Page 938 Configuring the system 2.1 System settings Proceed as follows To add the PCU to a domain: 1. Select: "Start" → "Settings" → "Control Panel" → "System", "Computer Name" tab. Default: The PCU belongs to a "WORKGROUP" and is not assigned to any domain. 2.
  • Page 939 Configuring the system 2.1 System settings Procedure To connect an external monitor: 1. Right-click the PCU's service desktop and select "Properties" from the pop-up menu. 2. Select the "Settings" tab and then click "Advanced". 3. Select the "Troubleshooting" tab and and set the "Hardware acceleration" to a value other than zero.
  • Page 940 Configuring the system 2.2 Configuring a customized operator interface Configuring a customized operator interface 2.2.1 How to select the language for the Windows system Default setting In the delivery condition, the Windows XP operating system is only installed on the PCU in English and with a US keyboard layout.
  • Page 941 Configuring the system 2.2 Configuring a customized operator interface Select a language After installing a language from the corresponding CD, proceed as follows: 1. Choose "Start" → "Control Panel" → "Language and Regional Options", to open the following dialogue box: PCU-Basesoftware (IM8) Commissioning Manual, 02/2012, 6FC5397-1DP40-3BA0...
  • Page 942 Configuring the system 2.2 Configuring a customized operator interface 2. Choose the "Languages" tab, in order to switch the language for the Windows XP operator interface. Under "Language used in menus and dialogues," choose the new language and confirm with OK. 3.
  • Page 943 2.2 Configuring a customized operator interface 2.2.2 Displaying the boot screen Default setting The Siemens boot screen is archived in the PCU under the following path: F:\hmisl\siemens\sinumerik\hmi\ico\ico640\splash.png Display OEM-specific boot screen You can choose any name. The directory is set in ServiceCenter Users under: ●...
  • Page 944 Configuring the system 2.3 Customized settings during boot up Customized settings during boot up Overview Regarding the settings and functionality, booting followed by the start of an HMI program starting differs from booting with subsequent start of the Service Desktop. 2.3.1 Configuring key filters for an HMI program Filtering keys...
  • Page 945 Configuring the system 2.3 Customized settings during boot up system.ini file # ------------------------------------------- # SIEMENS KEYBOARD-DRIVER SECTION (START) # ------------------------------------------- # State of driver after startup # (0=NORMAL, 1=PERMANENT-SHIFT ACTIVE) keybStartState=0 # Type of Keyboard to be used # (0=MMC103, 1=MFII)
  • Page 946 Configuring the system 2.3 Customized settings during boot up SeqAct=262143 # Filtering Concurrent Keys # ========================= # Definition and selection of function keys (buttons) which shall not be # pushed in parallel or at the same time (function keys F1-F12 and # additional hardkeys).
  • Page 947 This behavior can be changed by making an entry in the registry. The following settings can be saved via this registry entry: ● Positions of open windows ● Size and position of the task bar ● Moving and deleting links Key: HKLM\SOFTWARE\Siemens\SINUMERIK\Basic software\ \HMI Manager Value: SaveSINDesktopSettings (DWORD) Date: 1 (the settings are saved) or...
  • Page 948 Windows when the service desktop is opened. This start in parallel to the HMI program can be configured. If the programs to be started are located in the Windows directories of E:\Documents and Settings, the following registry entry must be set: Key: HKLM\SOFTWARE\Siemens\SINUMERIK\Basic software\ \HMI Manager Value: StartSINHMIStartupDirsPrograms (DWORD) Date:...
  • Page 949 Configuring the system 2.3 Customized settings during boot up 2.3.4 Starting OEM programs Overview You can start OEM programs directly before starting the HMI system software. This requires these programs (or their links) to be stored in subdirectories of the directory C:\RunOEM. Starting sequence The subdirectories are executed in the order listed.
  • Page 950 ● Valid for PCU 50.3 and PCU 50.5. ● SITOP software, version 3.1.0.6or higher is installed: SITOP software is available to download from: www.automation.siemens.com/sitop ● SITOP monitor/configuration program is installed: To enable this, the SITOP software must be copied to the E:\SITOP directory set up on the PCU.
  • Page 951 Configuring the system 2.4 PCU with SITOP UPS module For a safe shut down during a power failure, it takes the PCU approx. 60 seconds. For a typical power consumption of approx. 60 W, a capacitor-buffered UPS with an energy storage device of 7.5 kWs is recommended.
  • Page 952 Configuring the system 2.4 PCU with SITOP UPS module General settings The following settings must be made in the SITOP monitor configuration dialogue box: ● Parameterization of the interface: For module with USB port ● Parameterization of the change action: The monitoring window display must be deselected, as this function can lead to sporadic faults on the HMI operator interface.
  • Page 953 Configuring the system 2.4 PCU with SITOP UPS module 2.4.2 Configuration of the SITOP UPS module Buffering parameterization The UPS module can be used to select whether buffering should be completed after a predetermined period of time or not until the accumulator’s lowest discharge threshold (= maximum buffer time) has been reached.
  • Page 954 Configuring the system 2.4 PCU with SITOP UPS module On - Off Set time/max. time +320 s +160s Buffer time +80s +40s +5 s fixed +20s +10s Disconnection Battery operating state on/off Legend: Delivery condition setting Setting for operation on the PCU “Fixed buffer time”...
  • Page 955 Configuring the system 2.4 PCU with SITOP UPS module On - Off Set time/max. time +320 s ∘ ∘ +160s Buffer time +80s +5 s fixed +40s +20s +10s Disconnection Battery operating state on/off Legend: Delivery condition setting Setting for operation on the PCU 2.4.3 Configuration for exiting the operating software HMI monitoring...
  • Page 956 Configuring the system 2.4 PCU with SITOP UPS module Configuring the "EXIT" softkey During production, the option to shut down the HMI via the "EXIT" softkey in the operating area menu should be disabled, as this function cannot be synchronized with the UPS module.
  • Page 957 Install software and updates Installing SINUMERIK products Overview This chapter describes how to install additional software on the basis of the pre-installed PCE basic software or how to carry out an update. The description below is based on the delivery condition of the hardware and software components.
  • Page 958 Install software and updates 3.2 Installation via service desktop Installation via service desktop Installing additional software The service desktop makes it possible to install system software or a software update. This mostly affects installation/update packages that are to be installed via the Windows network. Installation can be performed in two ways: ●...
  • Page 959 Install software and updates 3.2 Installation via service desktop Figure 3-1 HMI Explorer (Example) Description of HMI Explorer The properties dialogue box gives detailed information on installing the software product: ● Information on the SINUMERIK product: The "Info" dialogue box provides information on the selected SINUMERIK product: Current version: Specifies which version of the SINUMERIK product is currently installed.
  • Page 960 Install software and updates 3.2 Installation via service desktop ● Language of the product The "Language" dialogue box lists the installed languages for the respective SINUMERIK product and provides information on the name of the installed language. If the language is not known, an abbreviation of its name is displayed.
  • Page 961 Delivery item: SIMATIC STEP 7 V5.5 SP1 Components: SIMATIC STEP 7 V5.5 SP1 and AddOn for SINUMERIK 840D sl Type of delivery: 1 installation DVD Note The "MPI driver" package available on the PCU is part of the HMI software and must not be uninstalled! A network connection or a connection to a DVD drive is required.
  • Page 962 Install software and updates 3.3 How to install and authorize SIMATIC STEP 7 The following entries are made automatically in F:\Add_on\oemframe.ini: [s7tgtopx] ; with HMI Advanced: eliminate minimize/maximize buttons ; of the Step7 window WindowStyle_Off=196608 ; with HMI Advanced: switch to previous task when Step7 is terminated nSwitchToTaskAfterTermination= -2 These entries may also need to be modified in OEM configurations.
  • Page 963 Install software and updates 3.4 How to install additional languages under Windows XP (DVD) How to install additional languages under Windows XP (DVD) Use the SINUMERIK service pack recovery media WIN XP ProEmbSys SP3 to: ● Subsequently install Windows components ●...
  • Page 964 Install software and updates 3.4 How to install additional languages under Windows XP (DVD) Directory Contents EULA TERMS Contained Certificate of authenticity Not contained Installing languages To install additional languages, proceed as follows: 1. If no DVD drive is directly connected via a USB port, the DVD can be accessed via a network to a released DVD disk drive via "Explorer"...
  • Page 965 Backing up and restoring data Backing up and restoring data Overview The entire contents of hard disks can be saved as a disk image using the Symantec Ghost utility. These disk images can be stored on various storage media and the data restored to the hard disk at a later date.
  • Page 966 Backing up and restoring data 4.1 Backing up and restoring data Booting up the service system 1. Plug the EBS into one of the USB ports of the PCU. 2. Press the key on the operator panel or the key on an external keyboard while the BIOS of the PCU is booting up in order to display the "Boot Menu".
  • Page 967 Backing up and restoring data 4.1 Backing up and restoring data 4.1.2 Starting ServiceCenter Backup Restore Starting ServiceCenter Backup Restore You start the ServiceCenter Backup Restore for the following tasks: ● Backing up/restoring data – Starting via linking from the service desktop –...
  • Page 968 Backing up and restoring data 4.1 Backing up and restoring data Network settings 1. To connect the PCU to a programming device or PC, choose "Settings" in order to check or reset the set IP addresses. 2. Select "Use Windows settings", to keep the factory defaults. (This is the default here as well.) Figure 4-2 Network settings...
  • Page 969 Backing up and restoring data 4.1 Backing up and restoring data See also System features (Page 8) 4.1.3 Select service task Selecting the service task After start-up of the ServiceCenter, the following dialog opens: Figure 4-3 ServiceCenter Selection Select from the following service tasks: ●...
  • Page 970 Backing up and restoring data 4.1 Backing up and restoring data NOTICE Backup/Restore with CompactFlash Card If a CompactFlash Card is present in the slot of the PCU, a Backup/Restore via the service menu is not possible. In this case, the program "ghost32.exe" must be started and operated manually from the service menu.
  • Page 971 Backing up and restoring data 4.1 Backing up and restoring data 4.1.4 How to backup and restore local partitions Backing up partitions 1. Select the "Backup" action from "Backup/Restore a local Partition Image" to backup an image of one or more C, E, and F partitions locally on the D:\Images partition of the hard disk: Figure 4-4 Local Partition Backup...
  • Page 972 Backing up and restoring data 4.1 Backing up and restoring data Restore the Rollback Image To restore the most recently saved image, namely the current image ("Rollback Image"), select "Restore the Rollback Image". The "Rollback Image" is the last created back-up of a partition. 4.1.5 How to backup and restore the hard disk Backing up the hard disk...
  • Page 973 Backing up and restoring data 4.1 Backing up and restoring data 3. To receive access rights, enter a user name and password. Figure 4-6 Drive Connection 4. Under "Options," select whether the disk image that is to be created is divided into several files of a certain size, so that these files can fit on one CD.
  • Page 974 Backing up and restoring data 4.1 Backing up and restoring data Manage images Select “Image Organizer” to mark out one image contained in the displayed list as the emergency image, or to delete an existing image. See also How to create a service system for PCU (Page 71) PCU-Basesoftware (IM8) Commissioning Manual, 02/2012, 6FC5397-1DP40-3BA0...
  • Page 975 Backing up and restoring data 4.2 Operating the service PC or the PG on the network Operating the service PC or the PG on the network Applications For the following applications, you will, for example, need a connection in the system network between the PCU and a PG/PC: ●...
  • Page 976 Backing up and restoring data 4.2 Operating the service PC or the PG on the network Configuration with PG/PC directly to PCU Figure 4-7 Connecting a PG directly to a PCU Configuration with PG/PC and switch to PCU Figure 4-8 Connecting a PG via a switch to a PCU Note If a PCU is switched off and on again without its own OP/TP including TCU, and if the PCU...
  • Page 977 Backing up and restoring data 4.2 Operating the service PC or the PG on the network Basic procedure On the PG/PC with Windows XP: ● Connecting a PG/PC to a PCU according to one of the configurations shown above. ● The network protocol used is: TCP/IP. TCP/IP is already pre-configured in the basic PCU software.
  • Page 978 Backing up and restoring data 4.2 Operating the service PC or the PG on the network 4.2.2 How to connect a PC/PG to a PCU within the system network Settings on a PG/PC with Windows XP On a PG/PC, the following settings must be made: 1.
  • Page 979 255.255.255.0. 4. Select "Control Panel" → "System" → "Computer Name" tab to view the computer name of the PCU: e.g. SIEMENS-ABC4711 5. Select "Control Panel" → "Folder Options" → "View" and activate "Use simple file sharing (Recommended)", to avoid problems with the release of the directory.
  • Page 980 Backing up and restoring data 4.2 Operating the service PC or the PG on the network Releasing directory for network access (Windows XP) 1. Create a directory on a local drive; e.g. D:\PCU_Backup 2. Using the right mouse key, open the "Properties" dialogue box of the directory and the "Sharing"...
  • Page 981 255.255.255.0 1. In the ServiceCenter, select the service task "Backup/Restore a Disk Image". 2. Establish a network connection to the released directory, e.g. \\SIEMENS- ABC4711\PCU_Backup. 3. Restore the hard disk of the PCU using the ghost image.
  • Page 982 Backing up and restoring data 4.2 Operating the service PC or the PG on the network 4.2.3 How to connect a PC/PG to an NCU within the company network Add route ... in WINPE This function is required for the following application: Backing up/restoring ghost images Example configuration Figure 4-9 Network routing...
  • Page 983 Backing up and restoring data 4.2 Operating the service PC or the PG on the network Procedure Activate routing prior to establishing the network connection: 1. Press the "Add Route ..." button. Figure 4-10 ServiceCenter Backup-Restore 2. Establish the network connection using "Add Network Drive ...". In the example: \\192.168.215.2\...
  • Page 984 Backing up and restoring data 4.2 Operating the service PC or the PG on the network 3. Logon and password details for a local user on the PG: Figure 4-12 ServiceCenter: Add Network Drive 4. Define the computer name as an IP address; you cannot give it your own name. Share access to a directory or to the CD or DVD drive on the PG/PC must have been enabled.
  • Page 985 Backing up and restoring data 4.3 Commissioning a replacement hard disk Commissioning a replacement hard disk Overview The replacement hard disk is supplied with an installed "Emergency Boot System". The mechanical and electrical steps involved in replacing the PCU hard disk are described References: /BHsl/ Operator Components and Networking Manual Commissioning a replacement hard disk After installing the replacement hard disk, the Ethernet interfaces of the PCU are preset in...
  • Page 986 Backing up and restoring data 4.3 Commissioning a replacement hard disk PCU-Basesoftware (IM8) Commissioning Manual, 02/2012, 6FC5397-1DP40-3BA0...
  • Page 987 The alarms are output in the log under "Control Panel" → "Administrative Tools" → "Event Viewer". See also ● Commissioning a replacement hard disk (Page 91) ● Operator Components and Networking Manual: Chapter, spare parts ● Description of the alarms: SINUMERIK 840D sl Diagnostics Manual PCU-Basesoftware (IM8) Commissioning Manual, 02/2012, 6FC5397-1DP40-3BA0...
  • Page 988 Service and diagnostics 5.2 Evaluation of the 7-segment display Evaluation of the 7-segment display Intended use The 7-segment display is intended for PCU diagnostics in operation without a local OP (known as "Headless mode"). If an error is detected during booting, a local display is needed for subsequent error analysis of the connection.
  • Page 989 Service and diagnostics 5.2 Evaluation of the 7-segment display LED H1 LED H2 7-segment Status display HMI manager Wait for HMI manager to start PCU base software General fault: see Windows "Event Viewer" ● During operation: LED H1 LED H2 7-segment Status display...
  • Page 990 Service and diagnostics 5.3 Setting of the service switch (PCU 50.5 only) Setting of the service switch (PCU 50.5 only) Intended use The "PCU Hardware Service" component as part of the PCU Base software provides a function to read-out the switch positions. Figure 5-2 Rotary coding switch (hexadecimal) Meaning of switch positions...
  • Page 991 InfoLevel <= 3 is treated as InfoLevel == 3) ● Outputting information to the screen Whether the information is also to be displayed on the screen (as well as being output to the log file) is set via registry value 'HKLM\SOFTWARE\Siemens\SINUMERIK\Basic software\\HMI Manager\ShowInfo': ShowInfo (DWORD)
  • Page 992 Service and diagnostics 5.5 How to search for stations within the system network How to search for stations within the system network Intended use The VNC scanner is used within the system network. The scanner is primarily used to identify devices containing an active VNC server, e.g. NCU or PCU. The VNC scanner offers the option of connecting directly to the VNC server and, for example, operating an HMI application.
  • Page 993 Service and diagnostics 5.5 How to search for stations within the system network Operating "VNC scanner" 1. You can launch the "VNC Scanner" program via this link on the Service Desktop of the PCU Figure 5-3 VNC scanner 2. "IP start / IP end": Set the IP-address browsing range. Eight ranges can be saved.
  • Page 994 Service and diagnostics 5.5 How to search for stations within the system network Note local device # When the devices are listed, an IP address will be identified with "#" to indicate that this is the local device on which the VNC scanner will be used. Figure 5-4 VNC scanner: List of stations 5.
  • Page 995 Service and diagnostics 5.5 How to search for stations within the system network Note Operation via a VNC viewer: A system can only be monitored from another station via an external VNC viewer (default). To view the system from another station, this function must be enabled by the system. You can find the settings for this in the "System Network Center"...
  • Page 996 Service and diagnostics 5.5 How to search for stations within the system network ● VNC scanning algorithm: Default is "Fast", i.e. device feedback within approximately 100 ms ● Devices detection: (corresponds to the "VNC" option, see point 3). – "VNC server devices": only search for VNC servers. –...
  • Page 997 Service and diagnostics 5.5 How to search for stations within the system network After starting the VNC viewer, the following dialog opens: Figure 5-6 Default: UltraVNC After clicking the "Options ..." button, the following dialog opens: Figure 5-7 Default: Connection Options ... PCU-Basesoftware (IM8) Commissioning Manual, 02/2012, 6FC5397-1DP40-3BA0...
  • Page 998 Service and diagnostics 5.5 How to search for stations within the system network PCU-Basesoftware (IM8) Commissioning Manual, 02/2012, 6FC5397-1DP40-3BA0...
  • Page 999 List of Abbreviations Abbreviations CompactFlash card: Memory card Cluster File System Direct Control Keys: Direct control keys Discovery and Basic Configuration Protocol DHCP Dynamic Host Configuration Protocol: Dynamic assignment of an IP address and other configuration parameters on a computer in a network Domain Name System: Conversion of domain names into IP addresses Emergency Boot System Electronic Key System: System to check the identity of a user (authentication system)
  • Page 1000 List of Abbreviations A.1 Abbreviations Universal Serial Bus Uninterruptible power supply Universal Time, Coordinated: Coordinated universal time Virtual Network Computing PCU-Basesoftware (IM8) Commissioning Manual, 02/2012, 6FC5397-1DP40-3BA0...
  • This manual is also suitable for:

    Sinumerik 840de sl

    Table of Contents