Page 1
NC as system functions ___________________ Configure the language settings ___________________ Loading and integrating a configuration (PC systems) ___________________ Appendix Valid for SINUMERIK 840D sl / 840DE sl control Software Version CNC software for 840D sl/840DE sl 4.5, 4.7 TIA Portal V13 SP1 11/2014...
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.
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 publication is aimed at planning and application engineers. Benefits The Configuration Manual enables the target group to apply the rules and guidelines to be observed when configuring products and systems.
Device configuration..........................43 Configurable user interface ..................... 43 Runtime configuration ......................45 Inserting the SIEMENS PC system and runtime ..............47 Configuring screen resolution (PC systems) ................51 Configuration of the screen size (PC systems) ..............53 SINUMERIK Integrate Create MyHMI / WinCC V13 SP1...
Page 6
Contents Adding a SIMATIC Panel ....................... 54 Using device proxies ......................57 Configuring connections ........................61 Overview ..........................61 Configure an integrated connection ..................62 Configuring a non-integrated connection ................66 Configuring variables ..........................69 Indexing of R parameters and GUD arrays ................70 Configuring NC tags .......................
Page 7
Contents "NC part program" display object ..................114 Properties of the "NC part program" display object .............. 116 Changing the display object using a script in WinCC ............118 Selecting and editing a part program ..................118 Configuring PI services of the NC as system functions ................ 119 Overview ..........................
Introduction General information on the contents of this description Position in the documentation landscape This documentation describes only those functions which are additionally provided by SINUMERIK Integrate Create MyHMI /WinCC V13.x. This assumes you are familiar with the standard scope of SIMATIC WinCC V13 (TIA Portal), which is described in the information system in the superordinate section "Visualizing processes".
Page 10
Introduction 1.1 General information on the contents of this description Information system of the TIA Portal A comprehensive help system is supplied with the TIA Portal for solving your tasks. It describes basic concepts, actions, and functions. Figure 1-1 Information system of the TIA Portal, "Visualizing processes" section SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Page 11
Base Software and Operating Software commissioning manual ● Information on the hardware configuration, setup and networking of the PCU 50.5 SINUMERIK 840D sl Operating Components and Networking manual Operation of SINUMERIK Operate You can find information on the operation of SINUMERIK Operate in the online help and in the Basic Software and HMI Software commissioning manual.
Page 12
Documentation for the supplied software and other software See Additional tools and software (Page 15). Overview of all SINUMERIK documentation For up-to-date documentation on SINUMERIK, please refer to the Service&Support portal: SINUMERIK CNC automation system (http://support.automation.siemens.com/WW/view/en/10805517/133300) SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
PC systems. ● The runtime is already integrated with SIMATIC Panels. ● With SIEMENS PC systems, the runtime in the TIA Portal must be configured and installed on your PC system (Page 26). Only Windows 7 is supported as an operating system on the PC system.
Page 14
Introduction 1.2 Functional scope Scope of functions of the WinCC RT Advanced runtime The scope of functions of the runtime when using SIMATIC Panels and SIEMENS PC systems is identical: ● Ethernet communication with SINUMERIK 840D sl ● MPI communication with SINUMERIK 840D sl ●...
The GUD TOOL "WinCC import NC user data" (GUD_TOOL.exe) is copied to the installation directory when installing SINUMERIK Integrate Create MyHMI /WinCC V13.x. Start the GUD tool "WinCC import NC user data" with "Start > Siemens Automation > SINUMERIK > GUD Tool V13".
Introduction 1.3 Communications principle Communications principle Overview A SINUMERIK NCU includes the integrated subcomponents PLC and NCK. WinCC uses different communication drivers to access these subcomponents. ● PLC – Behaves like an S7-300 controller in respect to data communication. – Uses the communication driver "SIMATIC S7-300/400". ●...
Page 17
Introduction 1.3 Communications principle Table 1- 1 Assignment of interfaces, HMI devices and communication drivers HMI device Runtime Communication drivers NCU interface PCU 50.5 with Pluggable WinCC SIMATIC S7- SINUMERIK Ethernet interfaces SINUMERIK Oper- RT Advanced 300/400 of the CP (X120, X130) SIMATIC Panel Integrated WinCC...
Introduction 1.4 Sample configuration procedure Sample configuration procedure 1.4.1 Overview An exemplary configuration procedure when using a PC system (Page 19) or SIMATIC Panel (Page 20) can be found in the overview tables. An example project (Page 21) is provided with the installation, which you can open and view in the TIA Portal.
1.4.2 Configuration procedure when using PC systems The following table shows an exemplary configuration procedure when using a SIEMENS PC system with WinCC RT Advanced. For descriptions that relate to the standard scope of SIMATIC WinCC Advanced, refer to the corresponding help in the information system of the TIA Portal (see also: Position in the documentation landscape (Page 9)).
Introduction 1.4 Sample configuration procedure 1.4.3 Configuration procedure when using SIMATIC Panels The following table shows an exemplary configuration procedure when using a SIMATIC Panel. For descriptions that relate to the standard scope of SIMATIC WinCC Advanced, refer to the corresponding help in the information system of the TIA Portal (see also: Position in the documentation landscape (Page 9)).
Introduction 1.4 Sample configuration procedure 1.4.4 Example projects General The examples are located in the following directory: ● <Installation directory of the TIA Portal>\Automation\Portal V13\Data\HMI\Sinumerik\samples The examples are saved in the TIA Portal in "zap13" archive format. To open a sample project in the TIA Portal, retrieve it using the menu command "Project >...
Page 22
Introduction 1.4 Sample configuration procedure NCSecurity example The sample project shows how the NC tag "accesslevel" can be used to control the visibility and operability of an I/O field. To view the relevant settings, proceed as follows: 1. Double-click "PC_System_1 > HMI_RT_1 > Screens > Screen_1" in the project tree. 2.
Introduction 1.5 Licensing Licensing 1.5.1 Licensing when using PC systems with SINUMERIK Operate You need the following licenses: ● Engineering system SIMATIC WinCC Advanced V13 ● Runtime License P61 - SINUMERIK Integrate Run MyHMI /WinCC Article No.: 6FC5800-0AP61-0YB0 Message if there is no license In SINUMERIK Operate, if option "SINUMERIK Integrate Run MyHMI /WinCC"...
You need the following licenses: ● Engineering system Basic WinCC license ● Runtime on SIMATIC Panel License P03 - SINUMERIK 840D sl SINUMERIK Integrate Run MyHMI /SIMATIC OP 6FC5800-0AP03-0YB0 SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Installation System requirements and installation SINUMERIK Integrate Create MyHMI /WinCC V13.x represents an add-on package for SIMATIC WinCC Advanced V13 (TIA Portal) with additional setup. System requirements All hardware and software requirements for installing SIMATIC WinCC Advanced V13 apply. (See readme file for SIMATIC WinCC Advanced V13.x) Requirement ●...
Installation 2.2 Installing software on the PC system (PCU 50.5) Installing software on the PC system (PCU 50.5) If you expand SINUMERIK Operate with an operating area on a PCU 50.5 with WinCC RT Advanced, you must also install the following on the PCU 50.5 in the correct order: ●...
Page 27
Installation 2.2 Installing software on the PC system (PCU 50.5) Procedure To install the WinCC RT Advanced with SINUMERIK Integrate Create MyHMI / WinCC on the PCU 50.5, proceed as follows: 1. On the product DVD, open the directory "\Support\WinCC RT Advanced" and double-click the WinCC RT Advanced setup file "Start.exe".
This setting is made automatically when you install the software on a PCU 50.5 (Page 26). You therefore only have to make this setting if the automatic configuration failed or if you are using a different SIEMENS PC system. Procedure To configure the PG/PC interface of the PCU 50.5, follow these steps:...
Page 29
Select the network adapter including interface parameter assignment (TCP/IP) for the plant network of your SIEMENS PC system from the list. (For PCU 50.5: Intel(R) 82574L 190 Gigabit Network Con- nection with TCP/IP). 4. Click "OK" to confirm your settings.
Migrating HMI projects Migrating projects You can migrate a SINUMERIK project as well as other projects from WinCC flexible to the TIA Portal. As a result of the various operating systems that can be used, you cannot install "SINUMERIK HMI configuring package WinCC flexible 2008" and WinCC (TIA Portal) on the same PG/PC.
Page 32
Migrating projects in a TIA Portal project > Migrating WinCC flexible projects (Advanced)". ● FAQ WinCC (TIA portal) -- working with projects -- migrating projects (http://support.automation.siemens.com/WW/view/en/54702181). Special features for SINUMERIK projects The following HMI devices with SINUMERIK components can be migrated: ●...
Migrating HMI projects 3.2 Comparison of functions Comparison of functions SINUMERIK Integrate Create MyHMI /WinCC V13 comes with a number of functional changes as compared to the SINUMERIK HMI configuration software WinCC flexible 2008. The tables below compare the range of functions of these two products: ●...
Page 34
Configuration for SINUMERIK Operate Ethernet communication with SINUMERIK 840D sl PROFIBUS communication with SINUMERIK 840D sl MPI communication with SINUMERIK 840D MPI communication with SINUMERIK 840D Visualization of NC variables Visualization of GUD variables Visualization of machine and setting data...
Page 35
Create MyHMI /WinCC WinCC flexible 2008 Ethernet communication with SINUMERIK 840D sl PROFIBUS communication with SINUMERIK 840D sl MPI communication with SINUMERIK 840D MPI communication with SINUMERIK 840D Visualization of NC variables Visualization of GUD variables Visualization of machine and setting data...
Migrating HMI projects 3.3 Indexing of R parameters and GUD arrays Indexing of R parameters and GUD arrays The method for indexing R parameters or GUD arrays in the TIA Portal depends on the employed Runtime version or the corresponding SIMATIC Panel: ●...
Migrating HMI projects 3.4 Migrating WinCC flexible projects integrated in STEP 7 V5.x Migrating WinCC flexible projects integrated in STEP 7 V5.x Projects integrated in STEP 7 cannot be migrated. If a WinCC flexible project is integrated in STEP 7, then WinCC flexible ES can be selected under "Project >...
WinCC as of V13 under Shared configuration with WinCC (TIA Portal) and STEP 7 V5.x (http://support.automation.siemens.com/WW/view/en/73502293). ● Conversion of the tag with the WinCC TagConverter – You can use the WinCC TagConverter tool to create a conversion format with your tags from your STEP 7 V5.x project, which you can used to import them into WinCC...
Migrating HMI projects 3.6 Post processing of migrated GUD variables Post processing of migrated GUD variables After you have migrated a WinCC flexible project with GUD tags in the TIA Portal, you must create a Creating a user database for global user data (Page 83) and reconnect the GUD tags in the "HMI tags"...
Page 40
Migrating HMI projects 3.6 Post processing of migrated GUD variables Result The GUD tags are reconnected. Figure 3-3 GUD tags associated with newly connected address and symbolic name You must subsequently linearize multi-dimension GUD arrays. See Overview (Page 76). SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Migrating HMI projects 3.7 Migration of two-dimensional GUD tags with column tag Migration of two-dimensional GUD tags with column tag Migrated two-dimensional GUD tags for which an index tag has been configured as "Column" in WinCC flexible cannot be modified in the TIA Portal. As can be seen in the screenshot, this index tag is entered in the "Column"...
"ts" format of SINUMERIK Operate. ● SINUMERIK Integrate Access MyMachine /P2P – Extensive software that is available separately in the SIEMENS Industry Mall. – You will find general information on the software at SINUMERIK Integrate Access My Machine /P2P (Page 108).
Device configuration Configurable user interface PC systems For PC systems with WinCC RT Advanced, the complete user interface is available for configuring screens for an additional operating area of a SINUMERIK Operate user interface. Because you do no select a specific operator panel front for the configuration of a PC system, all available function keys are basically displayed on the added screens.
Page 44
Device configuration 4.1 Configurable user interface SIMATIC Panel If you configure a SIMATIC Panel, you must insert a specific panel (for example, KP 1200 Comfort). The only buttons displayed for the user interface of a screen are those that are available on the respective SIMATIC Panel.
Device configuration 4.2 Runtime configuration Runtime configuration Overview With the Runtime WinCC RT Advanced, you can adapt the user interface of SINUMERIK Operate on a PC system (Page 19) or SIMATIC Panel with SINUMERIK functionality (Page 20). Make a different selection for Runtime or the Runtime version depending on the HMI device used: ●...
Page 46
Device configuration 4.2 Runtime configuration ● When you add a PC HMI device and switch to the device view, Runtime is shown in the hardware catalog. When you select Runtime, you can select the Runtime version in the "Information" area of the hardware catalog. Figure 4-3 Device view with hardware catalog (on the right in the image) SINUMERIK Integrate Create MyHMI / WinCC V13 SP1...
Inserting the SIEMENS PC system and runtime The following components in WinCC allow an operating area to be configured for a SINUMERIK Operate user interface: ● SIEMENS PC system (e.g. PCU 50.5-P with Windows 7) ● WinCC RT Advanced Requirement ●...
Page 48
4.3 Inserting the SIEMENS PC system and runtime Procedure To add a SIEMENS PC system and WinCC RT Advanced Runtime, follow these steps: 1. Click "Add new device" in the project tree and click on the "PC systems" button. Figure 4-4 Add PC system All available PC systems are displayed in the folder structure.
Page 49
Device configuration 4.3 Inserting the SIEMENS PC system and runtime The configured Runtime version must match the current Runtime version in use on the PC system. Figure 4-5 Adding WinCC RT Advanced Result In the project tree, the configured runtime (e.g. "HMI_RT_1 [WinCC RT Advanced]") is added to the created device (e.g.
Page 50
Device configuration 4.3 Inserting the SIEMENS PC system and runtime This view provides the following configuration editors: ● "Connections" (Page 61) ● "HMI variables" (Page 69) ● "HMI messages" (Page 89) ● "Screens" (Page 113) Next, you set the screen resolution of your operator panel front (Page 51).
(see below). Requirement ● A project with a PC system and Runtime software has been created. See Inserting the SIEMENS PC system and runtime (Page 47) ● The project view is active. Procedure To set the screen resolution of the target system, proceed as follows: 1.
Page 52
Device configuration 4.4 Configuring screen resolution (PC systems) Note "Screen resolution" setting must match the actual resolution of the operator panel front used If the wrong screen resolution has been entered in the Runtime settings, the scroll bars or the picture will not fill the screen on the HMI device at runtime. If the screens are not displayed correctly in runtime, adjust the setting as described above.
Device configuration 4.5 Configuration of the screen size (PC systems) Configuration of the screen size (PC systems) To prevent the configured screens from covering the header of SINUMERIK Operate, for example, you can reduce the size of the configured screens. You can change this setting at any screen.
Device configuration 4.6 Adding a SIMATIC Panel Adding a SIMATIC Panel The following components are required in WinCC to use the SINUMERIK functionality on a SIMATIC Panel: ● Suitable SIMATIC Panel/Comfort Panel/Multi Panel Requirement ● The TIA Portal has been started. ●...
Page 55
Device configuration 4.6 Adding a SIMATIC Panel Procedure To add a SIMATIC Panel, follow these steps: 1. In the project tree, click on "Add new device" and click the "HMI" button. Figure 4-7 Adding a SIMATIC Panel The "Add new device" dialog box opens and the folder structure displays all available SIMATIC Panels.
Page 56
Device configuration 4.6 Adding a SIMATIC Panel 2. Make the required settings: Element Purpose Device name Assign a device name (e.g. "HMI_SIMATIC_Panel "). Folder structure Under "HMI", select a SIMATIC Panel (for example, "MP 177 6" mono DP") Version Runtime is integrated for SIMATIC Panels. Select the required Runtime version in this drop-down list.
Device configuration 4.7 Using device proxies Using device proxies You can embed your STEP 7 V5.x project in the HMI configuration without having to migrate the project. In this way, you can continue performing the programming and configuration of the PLC project in STEP 7 V5.x and use WinCC (TIA Portal) for the HMI configuration. Using a device proxy offers the following advantages when working with SINUMERIK Integrate Create My HMI /WinCC: ●...
Page 58
Device configuration 4.7 Using device proxies Procedure To integrate a STEP 7 V5.x project in a TIA Portal project via a device proxy, follow these steps: 1. In the hardware catalog, select the device proxy under "Controller > Device Proxy", then use drag-and-drop to move it to the network view.
Page 59
Device configuration 4.7 Using device proxies 2. Right-click on the device proxy and select the "Initialize device proxy" command. 3. In the "Open device proxy data source" dialog. select the STEP 7 V5.x project (*.s7p) and confirm the selection with "Open". 4.
Page 60
You can find information on integrating STEP 7 V5.x projects via device proxies in the Service & Support portal: Shared configuration with WinCC (TIA Portal) and STEP 7 V5.x (http://support.automation.siemens.com/WW/view/en/73502293) Pay particular attention there to the available application description for WinCC (TIA Portal) as of V13.
Configuring connections Overview You can create two different types of HMI connections in the TIA Portal, integrated and non- integrated HMI connections: Integrated connection ● You configure integrated connections in the "Devices & Networks" editor after you have added the connection partners. See Configure an integrated connection (Page 62) ●...
Requirement ● A PC system with WinCC RT Advanced or a SIMATIC Panel has been added. See Inserting the SIEMENS PC system and runtime (Page 47) ● A device proxy (Page 57) or a SINUMERIK NCU is inserted. ● The network view is active.
Page 63
Configuring connections 5.2 Configure an integrated connection Procedure To create an integrated HMI connection to the PLC, proceed as follows: 1. Click "Connections" and select "HMI connection" from the drop-down list. Figure 5-1 "Connections" button The components that you can connect (WinCC RT and, e.g. device proxy) are highlighted in color.
Page 64
Configuring connections 5.2 Configure an integrated connection 2. Drag a connection from the WinCC RT Advanced or the SIMATIC Panel to the PLC or the device proxy. Figure 5-2 Creating a connection with drag and drop - with PCU 50.5-P, WinCC RT Advanced and NCU 730.3 PN in the example SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Page 65
Configuring connections 5.2 Configure an integrated connection Result The connection between the communication partners has been created as an integrated connection and is automatically assigned a name. You can see the connection in the "Connections" editor and change the assigned name, if necessary.
Configuring connections 5.3 Configuring a non-integrated connection Configuring a non-integrated connection All available connections are displayed in the "Connections" editor and you can create non- integrated connections directly in this editor. The communication driver to be selected depends on the subcomponent: ●...
Page 67
Configuring connections 5.3 Configuring a non-integrated connection Procedure To create a non-integrated connection, follow these steps: 1. In the project tree, navigate to the device to be configured. 2. Double-click "Connections" in the project tree below the device, for example, "PC- System_1 >...
Page 68
Configuring connections 5.3 Configuring a non-integrated connection 4. Select the appropriate option from the "Communication drivers" drop-down list: – Connection to the PLC: "SIMATIC S7-300/400" – Connection to the NC: "SINUMERIK NC" 5. In the "Parameters" tab, make the required settings for each individual connection: –...
Configuring variables You can create PLC tags in the "HMI tags" editor. The PLC tags available depend on the selected connection and the communication channel defined in the connection: ● For the "SIMATIC S7-300/400" communication channel the range of tags that can be used corresponds to the S7-300/400 channel.
Configuring variables 6.1 Indexing of R parameters and GUD arrays Indexing of R parameters and GUD arrays The method for indexing R parameters or GUD arrays in the TIA Portal depends on the employed Runtime version or the corresponding SIMATIC Panel: ●...
Configuring variables 6.2 Configuring NC tags Configuring NC tags 6.2.1 Configuring SINUMERIK tags You can select SINUMERIK tags in the "HMI tags" editor in the "Address" field, if the NC connection has been selected in the "Connection" field. Note Methods for indexing R parameters and GUD arrays The method for indexing R parameters and GUD arrays depends on the employed Runtime version or SIMATIC Panel.
Page 72
Configuring variables 6.2 Configuring NC tags 4. Click the "Expand" icon in the "Address" field. The dialog for selecting SINUMERIK tags opens. Figure 6-1 Dialog for selecting SINUMERIK tags 5. Select the required tag in the structure, adapt the values, if necessary (for example, for the channel or axis), and click "Confirm".
Page 73
Configuring variables 6.2 Configuring NC tags Additional information You can find information on the structure and the processing of NC tags in the following documentation: ● List manual for NC tag and interface signals (LIS2sl), section "NC tag". ● Online help "Help for BTSS tags SINUMERIK 810D, 840D, FM-NC", opened in the TIA Portal via the tooltip of a specific tag.
Configuring variables 6.3 Configuring GUD tags Configuring GUD tags 6.3.1 Introduction Overview GUD are Global User Data that users can define themselves on the NCU and subsequently use in the NC. WinCC lets you visualize these tag values. ● To use the GUD tags of the NCU in the TIA Portal, you must first import (Page 81) them. ●...
Page 75
Configuring variables 6.3 Configuring GUD tags Character explanation Table 6- 1 Character explanation for the definition of GUD tags Value Meaning Global PLC tag CHAN Channel-specific tag Type Tag type (BOOL, CHAR, INT, REAL, STRING) Name Tag name Rows Line number Columns Column number File types...
Configuring variables 6.3 Configuring GUD tags 6.3.2 Configuring GUD arrays 6.3.2.1 Overview Introduction GUDs in the NCU can also be defined as arrays, specifically as one, two and three- dimensional arrays. Table 6- 2 Definition of the GUD arrays in the NCU GUD definition Example DEF {NCK|CHAN} type Name[number of lines,...
Page 77
Configuring variables 6.3 Configuring GUD tags Table 6- 3 Addressing array elements in WinCC Control system WinCC configuration Tag [A1, A2] C_GD4:u1,c"x", (A1*A2)-1 ● "x" stands for the number of the GUD in the DEF file. ● "A1" stands for the maximum index of dimension 1. ●...
Configuring variables 6.3 Configuring GUD tags 6.3.2.2 Linearization based on the sorting in SINUMERIK Operate Independent of whether an array is two or three dimensional, you can linearize the sorting in SINUMERIK Operate. Open a GUD array in SINUMERIK Operate under "Parameter > User tags > Global GUD > GUD selection".
Configuring variables 6.3 Configuring GUD tags 6.3.2.3 Converting a three-dimensional GUD array for linear access The following diagram shows you the linearization of a three-dimensional array. You can find the linearized numbering to a three-dimensional array at the left in the corresponding table cell of the table to the right, e.g.
Configuring variables 6.3 Configuring GUD tags 6.3.2.4 Accessing GUD arrays using an index tag In the "HMI tags" editor, if you insert a new tag as GUD array, then as a default setting, the array length (parameter "Field number") is entered to permanently access an individual array element (e.g.
Configuring variables 6.3 Configuring GUD tags 6.3.3 Importing GUD tags 6.3.3.1 Overview The user data (GUD) is made available to WinCC on the configuration PC in the following way: the user data is packed in a user database using the supplied "WinCC import NC user data"...
Page 82
Configuring variables 6.3 Configuring GUD tags Procedure overview To use GUD in the TIA Portal, proceed as follows: Step Description Provide the NC data as DEF files. To do this, you have the following options: Using SINUMERIK Operate, export any existing DEF files from the NCU and copy them to the configuration •...
Configuring variables 6.3 Configuring GUD tags 6.3.3.2 Copying GUD to the configuration PC The following describes the basic procedure for copying the DEF files from the NCU. Requirement ● In SINUMERIK Operate, the USB port is enabled under "Commissioning > HMI > Log.Drive."...
Page 84
To make the DEF files of the NCU available to the TIA Portal project and to create a user database, follow these steps: 1. On the PG/PC, select "Programs > Siemens Automation > SINUMERIK > GUD Tool" in the Windows Start menu.
Page 85
Configuring variables 6.3 Configuring GUD tags Result The files are copied to the project and a user database is created. The files are stored in the following directories: ● User database Userdata.mdb <Project directory>\AdditionalFiles\HMI\Sinumerik\Databases\ Example: C:\Users\Admin\Documents\Automation\My_Project\AdditionalFiles\HMI\Sinumerik\Datab ases\ ● GUD user definition files *.DEF <Project directory>\AdditionalFiles\HMI\Sinumerik\Userdata\ Example:...
Configuring variables 6.3 Configuring GUD tags 6.3.4 Subsequently changing definition files If definition files are changed, the database must be re-created using the "WinCC import NC userdata" GUD tool. If a new data item must be included in a definition file, then we recommend that this data item is attached to the end of the file.
Configuring variables 6.3 Configuring GUD tags 6.3.5 Copying GUD to NCU If you have expanded the GUD tags offline in the TIA Portal, you must copy the changed DEF files with SINUMERIK Operate back to the NCU. The DEF files of the GUD database used in the TIA Portal must match the DEF files in the NC so that the WinCC RT Advanced Runtime can correctly access the GUD tags.
Configuring variables 6.4 Configuring a tag for address multiplexing Configuring a tag for address multiplexing Introduction Using address multiplexing, you can use a single variable to access a multitude of memory locations within the PLC's address range. You read and write to the addresses without defining a variable for each individual address.
Configuring alarms Overview Introduction You can view both HMI alarms and SINUMERIK-specific alarms in the WinCC control "Alarm view" in runtime: ● NC alarms – To display NC alarms in the alarm view, you must configure the settings (Page 90). –...
Configuring alarms 7.2 Configuring NC alarms Configuring NC alarms 7.2.1 Settings for display of NC alarms Requirements To display NC alarms in the alarm view at runtime, the following requirements must be met: ● A connection to the NC is configured. See Configuring a non-integrated connection (Page 66).
Page 91
Configuring alarms 7.2 Configuring NC alarms ● The SINUMERIK alarm classes "NC alarms" and "NC events" are activated in the properties of the "Alarm view" control. Figure 7-2 Alarm classes in the properties of the "Alarm view" control SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
C:\Users\Admin\Documents\Automation\My_Project\IM\HMI\Sinumerik\Alarmtexts At this point in the project, alarm texts can now be changed. We recommend that the original texts are kept in the "Siemens" directory and changes are only made in a copy located in the "OEM" or "User" directories.
Page 93
Configuring alarms 7.2 Configuring NC alarms Character set and encoding When you adapt the alarm texts, pay attention to the character set used (e.g. ANSI) and the encoding. Do not use any characters or any text editors which are not compatible with the character set or encoding.
Configuring alarms 7.3 Configuring DB2 alarms Configuring DB2 alarms 7.3.1 Introduction You can import the alarm texts (*.ts, *.csv) of the SINUMERIK PLC alarms in the range of 500,000 to 799,999 and display them in WinCC screen objects during runtime. These alarms are referred to as DB2 alarms to distinguish them from SIMATIC PLC alarms, for example, which are handled differently.
Page 95
Additional information Information on "FC 10: AL_MSG error and operating messages" are listed in the SINUMERIK 840D sl/828D Basic Functions Function Manual in "P3: PLC basic program for SINUMERIK 840D sl". Information on the configuration and operation of alarms in SINUMERIK Operate can be found in the SINUMERIK Operate Commissioning Manual (IM9) under "Configuring alarms".
Manager. ● Detailed information can be found in the Service & Support Portal on page Shared configuration with WinCC (TIA Portal) and STEP 7 V5.x (http://support.automation.siemens.com/WW/view/en/73502293). Note particularly the application description for WinCC (TIA Portal) as of V13. SINUMERIK NCU ●...
Requirement ● A PC system with WinCC RT Advanced or a SIMATIC Panel has been added. See Inserting the SIEMENS PC system and runtime (Page 47) or Adding a SIMATIC Panel (Page 54) ● A device proxy or a SINUMERIK NCU is inserted.
Page 98
Configuring alarms 7.3 Configuring DB2 alarms Result The imported DB2 alarms appear in two different editors in the TIA Portal: ● Below the WinCC RT Advanced or the SIMATIC Panel in the "HMI alarms" editor, "PLC alarms" tab. ● Below the PLC in the "PLC alarms" editor. SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Alternatively, you can also copy the files over Windows Explorer. The DB2 alarms are saved at the following location when SINUMERIK Operate is installed on a PC system: ● C:\Program Files (x86)\Siemens\MotionControl\oem\Sinumerik\hmi\lng\ Precondition ● A USB flash drive is inserted at a PC system with SINUMERIK Operate.
See Configure an integrated connection (Page 62) ● A PC system with WinCC RT Advanced or a SIMATIC Panel has been added. See Inserting the SIEMENS PC system and runtime (Page 47) or Adding a SIMATIC Panel (Page 54) ● The DB2 alarm files of the corresponding language exist on the configuration computer.
Page 101
Configuring alarms 7.3 Configuring DB2 alarms 4. Select all the desired files, for example by dragging a selection rectangle around the files with the mouse. 5. Confirm the selection with "Open". In the "Import SINUMERIK DB2 alarms" dialog, the selected files are displayed, separated by a comma.
Page 102
Configuring alarms 7.3 Configuring DB2 alarms Result The DB2 alarms have been imported and are displayed in the TIA Portal in two different editors: ● Below the PLC in the "PLC alarms" editor. ● Below the WinCC RT Advanced or the SIMATIC Panel in the "HMI alarms" editor, "PLC alarms"...
Page 103
Make the following settings so that the imported alarms can be displayed during runtime. ● Runtime settings (Page 104) ● Settings of the respective alarm view (Page 105) See also SINUMERIK Integrate Access MyMachine /P2P in the SIEMENS Industry Mall (https://ebstage.automation.siemens.com/mall/en/us/Catalog/Products/10166235) SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Configuring runtime settings Requirement ● A PC system with WinCC RT Advanced or a SIMATIC Panel has been added. See Inserting the SIEMENS PC system and runtime (Page 47) or Adding a SIMATIC Panel (Page 54) Procedure Proceed as follows to configure the runtime settings for displaying DB2 alarms: 1.
Configuring alarms 7.3 Configuring DB2 alarms 7.3.7 Configuring the alarm view The following section describes how you can activate the display of DB2 alarms in a specific alarm view. Note that you can only activate the display of the DB2 alarms as a whole for an alarm view - not differentiated by alarms requiring acknowledgment and not requiring acknowledgment.
Page 106
Configuring alarms 7.3 Configuring DB2 alarms 3. In the Inspector window "Properties > General", activate the "No Acknowledgement" check box. Note Acknowledgment of DB2 alarms and "No Acknowledgement" setting You can only activate the display of the DB2 alarms as a whole - not differentiated by alarms requiring acknowledgment and not requiring acknowledgment.
Configuring alarms 7.4 Converting alarm files (TS/CSV) Converting alarm files (TS/CSV) 7.4.1 Overview SINUMERIK Integrate Create My HMI /WinCC also supports the import of DB2 alarm files in CSV format. If you manage the files on your NCU with SINUMERIK Integrate Access My Machine /P2P, you can use the CSV format that is also used by translation agencies, for example.
● Integrated editor for form-based editing of language-dependent text files (TS files) ● Converting alarm texts in PowerLine format (e.g. myalm_it.com) to SolutionLine format (e.g. "oem_alarms_ita.ts") Additional information SINUMERIK Integrate Access MyMachine /P2P in SIEMENS Industry Mall (https://ebstage.automation.siemens.com/mall/en/us/Catalog/Products/10166235) SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Configuring alarms 7.4 Converting alarm files (TS/CSV) 7.4.3 Converting DB2 alarms into the CSV format The following section describes how to convert AMM /P2P (without an online connection) with existing TS files to CSV format. You can learn how to export the files and simultaneously convert them with an online connection in the online help for SINUMERIK Integrate Access MyMachine /P2P in the section "Exporting a file".
Page 110
Configuring alarms 7.4 Converting alarm files (TS/CSV) 3. Click in the "Project" area on "Add...". Figure 7-4 SINUMERIK Integrate Access MyMachine /P2P SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Page 111
Configuring alarms 7.4 Converting alarm files (TS/CSV) 4. In the "Open" dialog, navigate to the USB flash drive with the copied TS files, select them and click "Open." The TS files are displayed in the "Project" area in the tree structure below the associated language.
Configuring screen objects Overview Overview Once you have planned and implemented the structure and number of screens in your configuration, you can add screen objects in the required screens. In addition to the standard range of screen objects in SIMATIC WinCC Advanced, you can configure the "NC program part"...
Configuring screen objects 8.2 "NC part program" display object "NC part program" display object Introduction The "NC part program" display object allows you at runtime to display and select part programs, subprograms or workpieces as overview. The display object can be found in the Task Card "Tools" below "Controls". Configuration options To make the part program overview functionally complete, you can configure function keys or configured command buttons with NC part program functions (e.g.
Page 115
Configuring screen objects 8.2 "NC part program" display object Operation of the "NC part program" display object at runtime The following figure shows the "NC part program" display object during configuration. Figure 8-1 "NC part program" display object During the runtime, command buttons can be used to: Table 8- 1 Command buttons for the display object Element...
Configuring screen objects 8.3 Properties of the "NC part program" display object Properties of the "NC part program" display object Introduction You have several ways of configuring the "NC subprogram" display object in the "Screens" editor. These selection options are available for a selected display object in the Inspector window below Properties.
Page 117
Configuring screen objects 8.3 Properties of the "NC part program" display object General properties Under "General", you can make the following settings for subprogram selection: Property Description Connection > Name Select the connection to NC. Path > Name Select a predefined path name (max. 29 characters, in uppercase letters).
Using the Program Manager, the user can access programs at any time to run them, edit them, copy or rename them. You can find a detailed description in the Operating Manual SINUMERIK 840D sl/828D Universal in the section "Managing programs".
Configuring PI services of the NC as system functions Overview Purpose In WinCC, you can link events (e.g. "Key pressed") with predefined functions. If an event should occur during operation, the function triggers a certain action on the HMI device or in the control.
Page 120
Configuring PI services of the NC as system functions 9.1 Overview SINUMERIK functions In addition to the functions available in WinCC, SINUMERIK-specific functions (PI services) are provided to support configuration with SINUMERIK Integrate Create MyHMI /WinCC. These are the following functions: ●...
Configuring PI services of the NC as system functions 9.2 Functions for the "NC part program" display object Functions for the "NC part program" display object Introduction In order to also be able to operate the "NC part program" externally or, depending on the functionality, to allocate an appropriate authorization, command buttons can be hidden in the display object during the configuration.
Page 122
Configuring PI services of the NC as system functions 9.2 Functions for the "NC part program" display object Functions available for the "NC part program" display object The following functions influence the "NC part program" display object: Table 9- 1 Functions for the NC part program display object Function Meaning...
Configuring PI services of the NC as system functions 9.3 Function for the current block display Function for the current block display The PrepareActualNCBlockForDisplay function is used to monitor the execution of the traversing blocks of an NC traversing program on the HMI device. This function is used to save the current, previous and next traversing block of an NC part program currently being processed in a channel from the NC to local variables.
Page 124
Configuring PI services of the NC as system functions 9.3 Function for the current block display 4. Now configure the PrepareActualNCBlockForDisplay function as the open screen trigger. 5. Then specify the corresponding NC, the channel from which the current block is to be read, the cycle, and the three local string tags as parameters for this function.
Configuring PI services of the NC as system functions 9.4 Function to start and stop the PLC Function to start and stop the PLC Introduction This function changes the operating mode of an S7-CPU: RUN or STOP. Procedure 1. Select the function in the screen editor with "Events > Add functions > Settings". Figure 9-3 SetS7OperatingMode 2.
Configuring PI services of the NC as system functions 9.5 Running NC functions from WinCC Running NC functions from WinCC 9.5.1 Overview Requirement A connection to the NC is established. See: Configuring a non-integrated connection (Page 66) Procedure To add a new function, proceed as follows: 1.
Configuring PI services of the NC as system functions 9.5 Running NC functions from WinCC 9.5.2 LogoffNC Description This function clears the NC password. Following this, the keylock switch acts. The passwords for the HMI device and the NC are independent of one another. Parameter Meaning Connection...
Configuring PI services of the NC as system functions 9.5 Running NC functions from WinCC 9.5.4 LogonNC Description A password is passed on to the NC. The passwords for the HMI device and the NC are independent of one another. Parameter Meaning Connection...
Configuring PI services of the NC as system functions 9.5 Running NC functions from WinCC 9.5.7 AcknowledgeNCCancelAlarms Description This function is used to acknowledge all cancel alarms pending for the specified connection in a single action. Parameter Meaning Connection Name of the connection to the NC. 9.5.8 SetNCUserFrame Description...
Configuring PI services of the NC as system functions 9.5 Running NC functions from WinCC 9.5.9 StartNCPIService Description This function can be used to transfer any PI service to the NC. This must be described by a parameter string. This parameter string must include the full command and not merely the parameters of the PI service.
Configuring PI services of the NC as system functions 9.5 Running NC functions from WinCC 9.5.10 SelectNCPartProgram Description You may implement some functions of part programs with the "NC program part" control. You can use the "SelectNCPartProgram" function to select all part programs via the NCU domain services.
Page 132
Configuring PI services of the NC as system functions 9.5 Running NC functions from WinCC Example The following example code is used to disable the "SelectPartProgram" button in the "NC program part" control. VBScript Sub Button_select_not_visable() 'VBS_Example_ScreenItems Dim objNCpartprogram Set objNCpartprogram = HmiRuntime.Screens("Screen_1").ScreenItems("NC part program view_1") objNCpartprogram.ButtonSelectPartProgramVisible = False End Sub...
Configuring PI services of the NC as system functions 9.6 System function calls within a script System function calls within a script Introduction You can call the SINUMERIK system functions in WinCC even within a VBScript: ● The English function names are used here. ●...
Page 134
Configuring PI services of the NC as system functions 9.6 System function calls within a script SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Configure the language settings 10.1 Overview You need to make various language settings depending on the scope of your configuration: ● If you create your project for multiple languages, you need to set them as project languages (Page 136) and runtime languages. You also use the table for language mapping between SINUMERIK Operate and TIA Portal (Page 140) for this.
Configure the language settings 10.2 Enable project languages 10.2 Enable project languages Introduction The project languages are set in the "Project languages" editor. You define which project language is to be the reference language and which the editing language. Enable project languages 1.
Requirement ● A project is created and a PC HMI device is added to the Runtime WinCC RT Advanced. See Inserting the SIEMENS PC system and runtime (Page 47) ● The connection to the PLC and NC is configured. See Configuring connections (Page 61) ●...
Page 138
Configure the language settings 10.3 Configuring language selection (PC systems) Procedure To switch to the language of WinCC RT Advanced Runtime based on the language set in SINUMERIK Operate, follow these steps: 1. Double-click "Show all tags" in the "PC System_1 > HMI_RT_1 > HMI tags" folder of the project tree.
Page 139
Configure the language settings 10.3 Configuring language selection (PC systems) 5. Write a VB function according to the following scheme: Sub LangFromOperate() Select Case SmartTags("DB10DBB96") ' Selected Language in HMI Operate Case 1 'German - Germany SetLanguage 0 ' "Order 0" in WinCC project Runtime settings Case 3 'English - United Kingdom SetLanguage 1 ' "Order 1"...
Configure the language settings 10.4 Language assignment in language-dependent texts 10.4 Language assignment in language-dependent texts Language ID in the file name of language-dependent texts Language-dependent texts are saved in TS files in SINUMERIK Operate. There is a separate file for each language which is assigned via the language ID in the file name. ●...
Page 141
Configure the language settings 10.4 Language assignment in language-dependent texts Value in DB10.DBB96 Language in SINUMERIK Operate Language code Default language Turkish Thai Malay Indonesian SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Page 142
Configure the language settings 10.4 Language assignment in language-dependent texts SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Loading and integrating a configuration (PC systems) 11.1 Overview Introduction Once you have set the configuration and compiled it, you need to transfer it to the PCU 50.5 and integrate it in SINUMERIK Operate. Requirement ● The screen resolution is set (Page 51). ●...
Loading and integrating a configuration (PC systems) 11.2 Loading configuration to a PCU 50.5 11.2 Loading configuration to a PCU 50.5 Requirement ● The screen resolution is set (Page 51). ● The configuration is compiled. See: Information system, keyword "Project, compile". Additional information You can find additional information on loading projects in the "Loading projects"...
Loading and integrating a configuration (PC systems) 11.3 Integrating Runtime in SINUMERIK Operate (PC systems) 11.3 Integrating Runtime in SINUMERIK Operate (PC systems) You use the "Integration SINUMERIK Operate" tool to integrate the "WinCC RT Advanced" Runtime in SINUMERIK Operate. You can make various settings in the corresponding dialog, for example, you can specify the softkey via which the Runtime of SINUMERIK Operate is available.
Page 146
To integrate the Runtime in SINUMERIK Operate, follow these steps: 1. On the PC system (e.g. PCU 50.5), click in the Windows Start menu on "Start > Siemens Automation > SINUMERIK > Integration Sinumerik Operate English Tool". The "Integration SINUMERIK Operate" dialog opens.
Page 147
Loading and integrating a configuration (PC systems) 11.3 Integrating Runtime in SINUMERIK Operate (PC systems) Array Definition/Action ④ SINUMERIK HMI Here you can define whether the header of SINUMERIK Operate (display header visible of the operating area, operating mode, alarms, etc.) is to be visible for the WinCC application.
Page 148
Loading and integrating a configuration (PC systems) 11.3 Integrating Runtime in SINUMERIK Operate (PC systems) SINUMERIK Integrate Create MyHMI / WinCC V13 SP1 Configuration Manual, 11/2014...
Appendix SINUMERIK functions, which can be triggered using certain events of the WinCC RT Advanced Introduction The following tables list the functions for the relevant WinCC objects and their associated events that are used for SINUMERIK with SIMATIC Panels. These functions are indicated by a crpss in the table.
Page 150
Appendix A.1 SINUMERIK functions, which can be triggered using certain events of the WinCC RT Advanced Object Variables Softkey Global Local Event Value Upper limit Lower limit Release Press Release Press changed exceeded fallen below Functions StartNCPIService ResetNC ConfigureNCMachineData ScreenObjectCursorUp ScreenObjectCursorDown ScreenObjectPageUp ScreenObjectPageDown...
Page 151
Appendix A.1 SINUMERIK functions, which can be triggered using certain events of the WinCC RT Advanced SINUMERIK functions, which can be triggered using certain events of the WinCC RT Advanced, part Object Screen Messages Alarm Event Events Loaded Cleared Activate Clear Acknowledge Edit...
Page 152
Appendix A.1 SINUMERIK functions, which can be triggered using certain events of the WinCC RT Advanced SINUMERIK functions, which can be triggered using certain events of the WinCC RT Advanced, part Objects Script OCX (ScreenItem) InScripts Event Press, Release, Click, Activate Deactivate Change (or Toggle when...