Page 1
Creating foreign language texts SINUMERIK 840D sl NCU operating system Base software and HMI sl Appendix Commissioning Manual Valid for SINUMERIK 840D sl/840DE sl control system Software NCU system software version for 840D sl/840DE sl 2.4 with HMI sl 07/2007 6FC5397-1DP10-2BA0...
Page 2
Trademarks All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Page 3
Information about training courses and FAQs (Frequently Asked Questions) can be found at the following website: http://www.siemens.com/motioncontrol under "Support". Target group This documentation is intended for commissioning personnel. The plant/product is installed, connected, and ready to start. The Commissioning Manual ought to contain all necessary information about or at least references to subsequent procedures such as testing the cabling, power on and functional testing.
Page 4
Technical Support If you have any technical questions, please contact our hotline: Europe / Africa Phone +49 180 5050 222 +49 180 5050 223 Internet http://www.siemens.com/automation/support-request America Phone +1 423 262 2522 +1 423 262 2200 E-mail techsupport.sea@siemens.com Asia / Pacific...
Page 5
The EC Declaration of Conformity for the EMC Directive can be viewed/downloaded from the Internet at: http://support.automation.siemens.com under the Product Order No. 15257461or at the relevant branch office of the A&D MC Division of Siemens AG. Base software and HMI sl Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Page 6
Preface Base software and HMI sl Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Page 7
Changing the interface Creating drive connections Configuring tool management Configuring alarms Series machine startup Data backup Valid for Service and diagnostics SINUMERIK 840D sl/840DE sl control system Appendix Software Version NCU system software for 840D sl/840DE sl with HMI sl 07/2007 6FC5397-1DP10-2BA0...
Page 8
Trademarks All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Information about training courses and FAQs (Frequently Asked Questions) can be found at the following website: http://www.siemens.com/motioncontrol under menu option "Support" Target group This document is designed for machine tool manufacturers. The present documentation provides all information required by the manufacturer to start up the software HMI sl.
Page 10
Technical Support If you have any technical questions, please contact our hotline: Europe / Africa Phone +49 180 5050 222 +49 180 5050 223 Internet http://www.siemens.com/automation/support-request America Phone +1 423 262 2522 +1 423 262 2200 E-mail techsupport.sea@siemens.com Asia / Pacific...
Page 11
The EC Declaration of Conformity for the EMC Directive can be viewed/downloaded from the Internet at: http://support.automation.siemens.com under the Product Order No. 15257461or at the relevant branch office of the A&D MC Division of Siemens AG. HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Table of contents Preface ..............................3 System overview............................11 Prerequisites............................13 Hardware/Software ........................13 Limitations ............................13 Principles of start-up ..........................15 Data structure on the CompactFlash card ...................15 Editing files...........................19 3.2.1 Editing files in HMI sl........................19 3.2.2 Editing a file externally .........................20 Licensing ............................22 Creating templates........................24 Protection levels ............................
Page 14
Table of contents Setting the time and date ......................57 Creating drive connections ........................59 Introduction ..........................59 Setting up drives ......................... 59 File "logdrive.ini".......................... 62 Configuring tool management........................65 Requirement..........................65 Modifying the user interface of the tool management..............66 Configure the tool lists.........................
Page 15
Table of contents 11.3 Importing a series machine startup file ..................112 Data backup ............................113 12.1 Creating an archive........................113 12.2 Import archive ..........................115 Service and diagnostics......................... 117 13.1 Displaying PLC and NC variables....................117 13.2 Displaying the service overview....................120 13.2.1 Selecting axes..........................121 13.2.2 Axis diagnosis ..........................122 13.3...
System overview Introduction The HMI sl software V2.1 is an integral component of the NCU V2.4 software and it can thus run on the NCUs 7x0. Visualization and operation is handled via a SINUMERIK operation panel (e.g., OP 012, TP 015AT, OP 08T, HT8), which is connected via TCU (Thin Client Unit) to the NCU (Numerical Control Unit).
Prerequisites Hardware/Software It is a requirement that all system components be fully mounted, installed and configured. The start-up of NC and PLC should be essentially completed. The PLC is in the "Run" condition. ● USB keyboard: handles text input with capital and lower-case letters. ●...
The files in the “siemens” directory represent the original status and cannot be modified! In order to modify files, copy the original file from the Siemens directory and paste it into the appropriate place in the "OEM" or "User" directory.
Page 22
Principles of start-up 3.1 Data structure on the CompactFlash card /deu // Online help in German /hmi // Directory for HMI online help in German /hmi.xml // Directories for additional books /eng // Online help in English /hmi // Directory for HMI online help in English /hmi.xml // Directories for additional help books // Directories for additional languages...
Page 23
Principles of start-up 3.1 Data structure on the CompactFlash card /OEM/sinumerik /hmi /oem1.cfs // OEM1 (everything except texts and online help) /oem2.cfs // OEM2 (everything except texts and online help) // Additional OEMs /lngs/oemlng_std.cfs // Language-dependent texts OEM1 /lngs/oem2lng_std.cfs // Language-dependent texts OEM2 // Language-dependent texts of other OEMs /hlps/oem1hlp_std.cfs // Online help OEM1...
Page 24
Principles of start-up 3.1 Data structure on the CompactFlash card /User/sinumerik /hmi user // user (everything except texts and online help) /ico/ico640 // Symbols in resolution 640x480 /ico/ico800 /ico/ico1024 /ico/ico1280 /ico/ico1600 /appl // Binaries for runtime /base /cfg // Config files for runtime /lng // Language-dependent texts for runtime /hlp...
Editing files in HMI sl Use a copy of the original file to make specific adjustments. The original file is stored on the CompactFlash Card in the "Siemens" directory. Store the modified file in the appropriate folder of the "User" or "OEM" directory.
Principles of start-up 3.2 Editing files Press the "Paste" softkey. Press the "INPUT" key - OR - Double-click the highlighted file. This automatically opens the file in the editor. 3.2.2 Editing a file externally To create or process an XML file on an external PC with Windows, use a text editor such as "TextPad".
Page 27
Principles of start-up 3.2 Editing files Copying a file with "WinSCP" Use the "WinSCP" program to copy the file from an external computer to the NCU via a network connection. For a detailed description, see the following documentation: Bibliography CNC Commissioning Manual: NCK, PLC, drive: Backing up and restoring data, WinSCP and PuTTY service tools See also...
SINUMERIK sl number, which corresponds to the CF card serial number. Hardware type: E.g., "SINUMERIK 840D sl" Enter your license key in the "You can enter a new license key here" field. Press the "NCK reset" softkey. The license key is now active.
Page 29
Principles of start-up 3.3 Licensing Enabling options Press the "All options" softkey. The "Licensing: All options" window opens. All options are displayed. A description and order number are displayed for each option. Options shown red are activated, however, not yet licensed or not licensed in adequate number.
Principles of start-up 3.4 Creating templates Creating templates You can store your own templates to be used for creating part programs and workpieces. These templates provide the basic framework for further editing. You can use them for any part programs or workpieces you have created. Storage location for templates The templates used to create part programs or workpieces can be stored in the following directories:...
Access to programs, data and functions is useroriented and controlled via 8 hierarchical protection levels. These are divided into ● 4 password levels for Siemens, machine manufacturer, start-up personnel, and end user ● 4 keyswitch positions for end user There are protection levels 0 to 7 (see table below); where ●...
Protection levels 4.1 Setting protection level via password Setting protection level via password You can edit the passwords used for the protection levels as follows: ● Set new password ● Change password ● Delete password Password Set Select the "Startup" operating area. Press the "Password"...
Protection levels 4.2 Setting protection level via machine data display Delete password Press the "Delete password" softkey. The access authorization is reset. Access authorization is not automatically deleted at POWER ON! NOTICE When a general reset is performed on the NCK, the default passwords are restored. Setting protection level via machine data display The operator panel machine data can be used to assign the appropriate protection levels for individual functions and data areas.
Page 34
Protection levels 4.2 Setting protection level via machine data display $MM_USER_CLASS_WRITE_BASE_FRAME =7 Description: Write protection for base frames (basic ZO) Range of values: 0 - 7 Default: Effective: Restart $MM_USER_CLASS_WRITE_CYCFRAME=7 Description: Write protection for cycle frame Range of values: 0 - 7 Default: Effective: Restart...
Page 35
Protection levels 4.2 Setting protection level via machine data display $MM_USER_CLASS_WRITE_RPA=7 Description: Write protection for R parameters, also applies to the "Delete area" softkey Range of values: 0 - 7 Default: Effective: Restart $MM_USER_CLASS_WRITE_SEA=7 Description: Write protection for setting data Range of values: 0 - 7 Default: Effective:...
Page 36
Protection levels 4.2 Setting protection level via machine data display $MM_USER_CLASS_WRITE_WPFRAME=7 Description: Write protection for frame workpiece reference point Range of values: 0 - 7 Default: Effective: Restart $MM_USER_CLASS_WRITE_USER_FRAME =7 Description: Write protection for user frames (settable ZO) Range of values: 0 - 7 Default: Effective: Restart...
Page 37
Protection levels 4.2 Setting protection level via machine data display $MM_SW_OPTIONS=0 Description: Activates the "Network drives" and "HMI user memory" HMI options. This MD is only relevant for the PCU 321. Bit 0 = 1 (0x01): Activates network drives Bit 2 = 1 (0x02): Enables HMI user memory: Range of values: 0 - 0xFFFh Default: Effective:...
Page 38
Protection levels 4.2 Setting protection level via machine data display HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Since for HMI sl there is no user interface for the display machine data, you must change the settings or make changes to the data in the "hmi_md.ini" file. Copy the file from the /Siemens/sinumerik/hmi/cfg folder. Paste the file into the /User/sinumerik/hmi/cfg folder.
Page 40
Machine and setting data 5.1 Overview $MM_DISPLAY_RESOLUTION_INCH_FeedPerTime = 4 Description: Number of decimal places for linear feed values inch Range of values: 0 - 6 Default: Effective: Restart $MM_DISPLAY_RESOLUTION_FeedPerRevolution = 3 Description: Number of decimal places for revolutional feedrate values metric Range of values: 0 - 5 Default: Effective:...
Page 41
Machine and setting data 5.1 Overview $MM_ACTIVATE_FRAME_CHANGES_AT_ONCE =1 Description: Changes to a user or base frame are applied on the next block change, even if they have already been selected. Range of values: 0 - 1 Default: Effective: Restart $MM_AXES_SHOW_GEO_FIRST= 1 Description: Geometry axes are always output at the top of lists.
Page 42
Machine and setting data 5.1 Overview $MM_TEACH_MODE=5 Description: Set teach mode: TEACH_MODE Standard teaching bit0 Taught block is incorporated with softkey "Include in the program." TEACH_MODE Inclusion of the taught block can be blocked by the bit1 PLC. DB19.DBX13.0 = 0 block is included DB19.DBX13.0 = 1 block is not included TEACH_MODE Block selection explicit...
Page 43
Machine and setting data 5.1 Overview $MM_STAT_DISPLAY_BASE=2 Description: Numerical basis for representation of moving joint STAT Possible values are: 00: Not displayed 02: Display as binary value 10: Display as decimal value 16: Display as hexadecimal value Range of values: 0 - 16 Default: Effective: Restart...
Machine and setting data 5.2 Displaying/editing machine data Displaying/editing machine data In the "Startup" operating area, you can display lists for machine data. You can also modify machine data here. ● General machine data ($MN ) ● Channel-specific machine data ($MC ) ●...
Page 45
Machine and setting data 5.2 Displaying/editing machine data The physical units of machine data are displayed on the right-hand side of the input field. For each machine data item, an activation type can be read in the column on the right. Immediately active: no action required Configuration: "Set MD to active"...
Page 46
Machine and setting data 5.2 Displaying/editing machine data Axis selection If several components are available for the area selected (e.g. "Axis MD"), you can choose from the following options: Press the "Axis +" or "Axis -" softkey. The values of the next (+) and the previous (-) axes are displayed. - OR - Press the "Direct selection..."...
Machine and setting data 5.3 Displaying/editing setting data Displaying/editing setting data In the "Startup" operating area, you can display lists for all setting data. You can also modify setting data here: ● General setting data ● Channel-specific setting data ● Axis-specific setting data Proceed as follows Select the "Startup"...
Machine and setting data 5.4 Machine data display filter Axis selection If several components are available for the area selected (e.g. "Axis SD "), you can choose from the following options: Press the "Axis +" or "Axis -" softkey. The values of the next (+) and the previous (-) axes are displayed. - OR - Press the "Direct selection..."...
Page 49
Machine and setting data 5.4 Machine data display filter Indices from ... to The index filter refers to the machine data fields. 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 fields are only displayed in the specified index area.
Machine and setting data 5.5 Drive parameters Press the "Select all" softkey to display all display groups. Press the "Deselect all" softkey to remove all the check marks. This means that you need only deal with a select range of display groups. Drive parameters The "Control Unit MD", "Infeed MD"...
Machine and setting data 5.6 Editing machine data and drive parameters Editing machine data and drive parameters 5.6.1 Editing hexadecimal values You can use a bit editor to enter the required values for machine data in hexadecimal format. Proceed as follows Select the "Startup"...
Machine and setting data 5.6 Editing machine data and drive parameters 5.6.2 Editing BICO values You can use the BICO editor to enter BICO values for drive parameters. Proceed as follows Select the "Startup" operating area. Press the "Mach.data" softkey. Select the area (e.g., Control Unit MD) where you want to edit the parameter.
Machine and setting data 5.6 Editing machine data and drive parameters 5.6.3 Editing enum values You can use a drop-down list box to edit enum elements of drive parameters. Proceed as follows Select the "Startup" operating area. Press the "Mach.data" softkey. Select the area (e.g., Control Unit MD) where you want to edit the parameter.
Machine and setting data 5.7 Searching for machine and setting data Searching for machine and setting data You can search for specific machine and setting data. Search strategies ● When a digit or a digit with an index is entered, an exact search for this parameter is performed.
Page 55
Machine and setting data 5.7 Searching for machine and setting data Press the menu forward key to show the area for the setting data and press the "General SD", "Channel SD", or "Axis SD" softkeys. The corresponding window will open to display the list of all machine and setting data.
Page 56
Machine and setting data 5.7 Searching for machine and setting data HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Customizing the "Machine" operating area Setting the size of the actual value display In the "Machine" operating area, the actual value window is displayed, showing the axes in two different font sizes. You can define how many axes should be displayed in a larger font. Proceed as follows Use the ACT_VALUE_FONT_ZOOM_MODE display machine data item to set the number of axes that are to be displayed in a larger font.
Page 58
As soon as the file is located in the user-specific folder (e.g. user or oem), 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.
Proceed as follows 1. Copy the "mmc.xml" file from the following directory: /Siemens/sinumerik/hmi/cfg 2. Paste the file into the "OEM" or "User" directory. 3. Open the file and make the entries shown in the example below.
6.3 Status display 6.3.2 Inserting a user-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. Proceed as follows 1. Name your own logo "Logo.png".
Changing the interface Change Language The HMI sl software is available in 6 languages as standard: You can set the language in the "Startup" operating area. Via the display machine data $MM_CHANGE_LANGUAGE_MODE you have the following options for setting the type of interface language selection. 1.
Page 62
Changing the interface 7.1 Change Language Press the "OK" softkey. HMI sl switches to the language selected. 2. Selecting a language If you set the machine data item $MM_CHANGE_LANGUAGE_MODE = 2, you can select two languages and switch between them using the "Change language" softkey. Select the "Startup"...
Changing the interface 7.2 Setting the time and date Setting the time and date You can enter the date and time manually as well as select from among different display formats. Proceed as follows Select the "Startup" operating area. Press the "HMI" softkey. Press the "Date/Time"...
Page 64
Changing the interface 7.2 Setting the time and date HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Creating drive connections Introduction Set up connections Up to 8 connections to logical drives (data carriers) can be configured in HMI sl. These drives can be accessed via softkeys in the "Program manager" operating area. The following logical drives can be set up: ●...
Page 66
Creating drive connections 8.2 Setting up drives The following settings are made when configuring a logical drive: General settings The following settings apply to all types of connection. ● Protection level The access rights for the connections can be set from level "Keyswitch 0" up to "Vendor". If nothing is entered here, the default setting, "Keyswitch 0", will apply.
Page 67
Creating drive connections 8.2 Setting up drives ● Windows network (option) – Path Enter the network path for a folder that is available on the network here. This path must always start with //, e.g. //Server01/Part programs. – User name and password Enter the user name and the corresponding password for which the folder is enabled on the server here.
Creating drive connections 8.3 File "logdrive.ini" File "logdrive.ini" Structure of the "logdrive.ini" file ● You define all logical drives in section [CONNECTIONS]. ● You can enter the number of logical drives next to "ConnectionNum." There are further settings for each logical drive. The "X" at the end must be replaced in each case with the number of the drive connection.
Page 69
Creating drive connections 8.3 File "logdrive.ini" Drive paths Use the following syntax to identify the drive paths: Logical drive Description //NC/MPF.DIR/XY.DIR/TEST.MPF Current NC /card/user/sinumerik/data Local drive on the CompactFlash card (Linux) //TCU/<tcu name>/X203 Global TCU-USB drive //TCU/mytcu/X203,1 Global TCU-USB drive with partition specification (default: 1st partition) //ACTTCU/FRONT,1 Local TCU-USB drive with partition...
Page 70
Creating drive connections 8.3 File "logdrive.ini" Configuring NFS drive In the following example, a connection to the computer ef35161c is configured with an NFS network drive. The softkey with the text "LW_NFS" is on the HSK bar in position 4. Connection2=//ef35161c/testshare NetDriveType2=nfs SK_Connection2=LW_NFS...
Configuring tool management Requirement To operate HMI sl with tool management and with or without magazine management, the following MD settings must be made: MD 18080 $MN_MM_TOOL_MANAGEMENT_MASK = 02H Bit1 (counted from 0) must be 1. MD 20310 $MC_TOOL_MANAGEMENT_MASK = 02H Bit1 (counted from 0) must be 1.
Please proceed as follows: 1. Open the following folder: /Siemens/sinumerik/hmi/appl 2. Copy the "oem_ sltmlistconfig.xml" file. 3. Paste the copy of the file into the following directory: /OEM/sinumerik/hmi/cfg or /User/sinumerik/hmi/cfg 4.
Page 73
Configuring tool management 9.2 Modifying the user interface of the tool management The options for customizing the user interface according to your needs are outlined in the chapters that follow. Proceed as follows ● Configure the tool lists ● Configure the list parameters ●...
Configuring tool management 9.3 Configure the tool lists Configure the tool lists The entries used for configuring the following list views are located in the <LISTCONFIGURATION> tag: ● "Tool list" window, <SlTmToollistForm> identifier, see 1st example ● "Tool wear" window, <SlTmToolwearForm> identifier ●...
Page 75
Configuring tool management 9.3 Configure the tool lists 1st example Configure tool list 2nd example Enable tool data OEM list HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Configuring tool management 9.3 Configure the tool lists 9.3.1 Tool parameter identifiers For the tool parameters, the following identifiers are used in the configuration file: Content_identifier Parameter or property Empty Empty field ToolNo Number of active tool AdaptNo Adapter number assignment DuploNo Duplo number NumCuttEdges...
Parameter or property ToolUser_1, ToolUser_2, ..., OEM tool parameters 1 to 10 ToolUser_10 ToolAppl_1, ToolAppl_2, ..Siemens application tool parameters 1 to 10 ToolAppl_10, 9.3.2 Cutting parameter identifiers For the cutting parameters, the following identifiers are used in the configuration file:...
Configuring tool management 9.4 Configure the list parameters Configure the list parameters In the <PARAMETERCONFIGURATION> tag, you have the following options: 1. Change list parameters. 2. Create a new list parameter based on an existing list parameter. Changing list parameters You can change all the parameters included in the system.
Page 81
Configuring tool management 9.4 Configure the list parameters Entries Meaning DecimalPlaces Number of decimal places if "DoubleMode" or "UnsignedDoubleMode" is selected in DisplayMode. See example: 2 decimal places are entered. Example Only enter the modified data. Configuring a new list parameter based on an existing list parameter. If you are configuring a new parameter based on an existing list parameter, you must make the following entries: Entries...
Configuring tool management 9.5 List of tool types List of tool types The following tool types are stored in the system: Coding of tool types The individually coded tool types are divided up into the following groups depending on the technology used: 1.
Configuring tool management 9.6 Configuring the "More data" window 240 Regular thread tap 241 Fine thread tap 242 Whitworth-thread tap 250 Reamer Coding of tool types for special tools Group type 7xy (special tools): 700 Slotting saw 710 3D probe 711 Edge probe 730 Stop Configuring the "More data"...
Page 84
Configuring tool management 9.6 Configuring the "More data" window Entries Meaning Item The following entries are possible: Parameter identifier • Text • See example: The header "Corner radius" appears in the second row of the window. The text "Radius" and an input field for the value appear in the third row of the window.
Configuring tool management 9.7 Configure the "New tool - favorites" window Configure the "New tool - favorites" window Specify the most frequently used tool types in the <NEWTOOLFAVORITESCONFIGURATION> tag. The specified tool types are displayed in the "New tool – Favorites" window Entries Meaning StaticTooltypes...
Configuring tool management 9.9 Creating In-House Texts Entries Meaning Icon9 Icon representing the tool type. The icons are displayed in the following windows: "Tool list" in the "Type" column • "New tool - Favorites" in the "Tool position" column • "New tool - Milling cutter 100 - 199"...
Page 87
See 2nd example: The number of rows is 2. remark Own comment that is not displayed. Proceed as follows 1. Open the /Siemens/sinumerik/hmi/lng folder. 2. Copy the "oem_sltmlistdialog_deu.ts" file. 3. Paste the copy of the file into the following directory: /OEM/sinumerik/hmi/lng or /User/sinumerik/hmi/lng 4.
Page 88
Configuring tool management 9.9 Creating In-House Texts 5. Open the file. A single-line and a two-line text are created in the following example. Note Restart HMI sl. The file is automatically converted when HMI sl starts up. See also ● Configuring the "More data" window (Page 77) HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Configuring tool management 9.10 General settings 9.10 General settings General settings for the tool management user interface are stored in the <SETTINGS> tag. Entries Meaning ReactivateWithMagPos Refers to the "Reactivate" function true - Reactivate a locked magazine with positioning of the magazine false - Reactivate without positioning of the magazine MagazineMoveMessage Refers to the message output while the magazine is moving.
This chapter describes the basics and how to include user-specific alarms and message texts. For HMI sl, all alarm and message text files are stored on the CompactFlash card: "CF card" directory, in the "Ing" subdirectory. "Siemens" (/Siemens/sinumerik/hmi/lng/) "Add_on" (/Add_on/sinumerik/hmi/lng/) "OEM"...
Page 92
5. Complete configuration file 6. Restart HMI sl Create alarm text file with HMI sl 1. Copy the original file "oem_alarms_deu.ts" from the "Siemens" folder to the /OEM/sinumerik/hmi/lng/ or /User/sinumerik/hmi/lng/ folder. 2. Enter an OEM-specific name, e.g. "namexyz_deu.ts". Note the following when assigning a name: –...
Page 93
Alarm&Event Service as the new basename. 1. Copy the sample configuration file "oem_slaesvcadapconf.xml" from the folder /Siemens/sinumerik/hmi/base 2. Paste the file into folder /OEM/sinumerik/hmi/lng/ or /User/sinumerik/hmi/lng/ with the name "slaesvcadapconf.xml".
Page 94
4. Increment the number of the last existing "BaseName_xx" tag by one. 5. Insert the basename of the corresponding alarm text file. Note The tag "BaseName_01" is reserved for Siemens Restart the HMI sl So that the "Alarm&Event Service" can read the new alarm texts, they must be converted from the ".ts"...
Page 95
Configuring alarms 10.1 Creating alarm texts Open error file Select the "Program manager" operating area. Press the menu forward key and the "System data" softkey. Open the folder: CF-Card/User/sinumerik/hmi/log Select the "alarmtext_conversion.log " file. Press the "Open" softkey to open the error file. Note The conversion only occurs if the file "*.ts"...
Configuring alarms 10.1 Creating alarm texts There are further Source IDs in addition to the above IDs: Source ID Source URL /NCK/Channel#1/Partprogram /NCK/Channel#2/Partprogram /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 See also ● Insert alarm colors (Page 104) 10.1.4 Parameter specifications in alarm texts Alarm texts can contain alarm parameters (accompanying values) that specify the cause of an alarm in more detail.
Page 98
Configuring alarms 10.1 Creating alarm texts Standard parameter specifications The following table shows the standard parameter specifications: Table 10-1 Standard parameter specifications Parameter Description specifier First parameter from the alarm data of the alarm source Second parameter from the alarm data of the alarm source Third parameter from the alarm data of the alarm source Fourth parameter from the alarm data of the alarm source Fifth parameter from the alarm data of the alarm source...
4. Complete configuration file 5. Restart the HMI sl Creating parameter file for text library 1. Copy the original file "oem_indexparams_deu.ts" from the "siemens" folder to the /OEM/sinumerik/hmi/lng/ or /User/sinumerik/hmi/lng/ folder. 2. Enter an OEM-specific name, e.g. "namexyz_deu.ts". Please observe the following when choosing a name: –...
Page 100
Configuring alarms 10.1 Creating alarm texts Insert parameter texts 1. Open the file "oem_indexparams_deu.ts" in the editor 2. In the tag <name>, enter an in-house name, e.g. <name>oem_context</name> 3. For each parameter text, a separate area must be inserted between the tags <message> and </message>, e.g.
Page 101
To prevent overlaps, use different names for the opening and closing tags of the definition area. The names "IndexText_01" to "IndexText_99" are reserved for Siemens. Restart the HMI sl So that the "Alarm&Event Service" can read the new parameter texts, they must be converted from the ".ts"...
Page 102
Configuring alarms 10.1 Creating alarm texts Open error file Select the "Program manager" operating area. Press the menu forward key and the "System data" softkey. Open the folder: CF-Card/User/sinumerik/hmi/log Select the "oem_ae_database_conversion.log " file. Press the "Open" softkey to open the error file. Note The conversion only occurs if the file "*.ts"...
Configuring alarms 10.1 Creating alarm texts 10.1.6 Supported languages Table 10-2 Supported languages Language Language codes Standard languages Chinese (simplified) Chinese (traditional) Danish German English Finnish French Italian Japanese Korean Dutch Polish Portuguese Russian Swedish Spanish Czech Turkish Hungarian HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Configuring alarms 10.2 Adapting the alarm log 10.2 Adapting the alarm log 10.2.1 Introduction You can adapt the alarm log to your requirements for the Diagnostics operating area. The following options are available: Specify the number of results Per default, the alarm log contains all alarms and messages, except for "msg" messages from the NC part program, with their incoming and outgoing time stamps in chronological order.
10.2.2 Create configuration file Create configuration file with HMI sl 1. Copy the sample configuration file "oem_alarmprot_slaesvcconf.xml" from the folder /Siemens/sinumerik/hmi/cfg. 2. Paste the file into folder /OEM/sinumerik/hmi/lng/ or /User/sinumerik/hmi/lng/ 3. Assign the name "slaesvcconf.xml to the file. NOTICE For the persistent storage, the alarm log is written to the CompactFlash card. The alarm log is not saved in the default configuration.
Page 106
Configuring alarms 10.2 Adapting the alarm log 4. You adapt the filter for the entry type in the <Filter> tag. Please observe the following: – An alarm event is only entered in the log when it satisfies the filter criterion. –...
Page 107
SEVERTY LOWER 500" /> </Filters> </Protocol> </CONFIGURATION> Note The "Siemens_Filter_01" filter is reserved for Siemens. 1. In the <FilePath> tag, adapt the path and file name for the file in which the alarm log is stored persistently: <CONFIGURATION> <Protocol> <Filters>...
Page 108
Configuring alarms 10.2 Adapting the alarm log ● File name: A 3-digit number and the file extension "hmi" are automatically added to the specified file name during operation, e.g. "slaepp_123.xml". The number is automatically increased when: The file has reached the maximum size (DiskCare = 0), or the specified period has elapsed (DiskCare >...
First create two user-specific files. - OR - To do this, copy the xml sample file from the following directory: /Siemens/sinumerik/hmi/cfg/oem_slaedatabase.xml: Alarm attribute file /Siemens/sinumerik/hmi/cfg/oem_slaesvcconf.xml ; configuration file Specify the user-specific color attributes in the alarm attribute file. Inform the "Alarm&Event Service" of the new alarm attribute file in the configuration file.
Create alarm attribute file Create alarm attribute file with HMI sl 1. Copy the sample alarm attribute file "oem_slaedatabase.xml" from the folder /Siemens/sinumerik/hmi/cfg 2. Paste the file into folder /OEM/sinumerik/hmi/cfg/ or /User/sinumerik/hmi/cfg/ 3. Assign a unique name to the file, e.g. " muster_slaedatabase.xml ".
Page 111
Configuring alarms 10.3 Changing alarm colors 3. The alarm source is defined in the <Sources> tag. See example: SourceURL="/HMI" and /PLC/PMC. Delete the areas that you do not want to change. Note If you want to insert further alarm sources, make sure that the alarm number is always assigned to the correct alarm source.
Page 112
Configuring alarms 10.3 Changing alarm colors Example: #000000: Black #FF0000: Red #00FF00: Green #0000FF: Blue #FFFFFF: White The text and number colors have been changed in the following example. HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
3. Increment the number of the last existing "OEM_DataBase_xx" tag by one. 4. Insert the name of the corresponding alarm attribute file, but without the file extension ".xml". Note The "DataBase_01" tag is reserved for Siemens HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Configuring alarms 10.3 Changing alarm colors Example 10.3.7 Convert configuration file So that the "Alarm&Event Service" can read the XML files, they must be converted into binary format. Files with the same name are created in the same directory with the file extension ".hmi", e.g.
Series machine startup 11.1 Introduction The "Series machine startup" function is primarily responsible for backing up the data belonging to a controller. It is also possible to transfer the backed-up data to other controllers so that they can be updated to the same status. To this end, the NC, PLC, drive and (where applicable) HMI data can be backed up separately or together in archive files and imported from there.
Series machine startup 11.2 Creating a series machine startup file Note Machine-specific compensation data only needs to be archived if the series machine startup file is to be reimported into the same controller (backup). System data blocks (SDB) System data blocks are only used to back up the hardware configuration (not the program logic).
Page 117
Series machine startup 11.2 Creating a series machine startup file Press the "Create archive" softkey. The "Create archive: Select archiving" window opens. Select the required location for archiving or press the "New directory" softkey to create a suitable subdirectory. The "New directory" window appears. Enter the required name and press the "OK"...
Series machine startup 11.3 Importing a series machine startup file 11.3 Importing a series machine startup file Proceed as follows Select the "Program manager" operating area. Press the menu forward key and the "System data" softkey. The data tree is displayed. Below the "Archive"...
Data backup 12.1 Creating an archive You can back up multiple files in a single archive. You can reimport this archive at any time. Storage locations Archives can be stored in the following locations: ● On the CompactFlash card, under /User/sinumerik/data/archive, or.
Page 120
Data backup 12.1 Creating an archive If you want to back up several files or directories, press the "Select" softkey and, using the cursor or the mouse, select the required directories or files. Press the ">>" and "Create archive" softkeys. The "Create archive: Select archiving"...
Data backup 12.2 Import archive 12.2 Import archive Proceed as follows Select the "Program manager" operating area. Press the menu forward key and the "System data" softkey. Below the "Archive" directory in the data tree, select the file you want to reimport.
Service and diagnostics 13.1 Displaying PLC and NC variables The "PLC/NC status" window supports the observation and modification of PLC memory locations and NC system variables. You can also modify PLC memory locations. You receive information in the list on operands, with their format and status value. PLC operands Inputs Input bit (Ex), input byte (EBx), input word (EWx), input double word (EDx)
Page 124
Service and diagnostics 13.1 Displaying PLC and NC variables Changing PLC operands Changes can only be made to the PLC operands with the appropriate password. DANGER Changes in the states of PLC memory locations have a major impact on the machine. Incorrect configuration of the parameters can endanger human life and cause damage to the machine.
Page 125
Service and diagnostics 13.1 Displaying PLC and NC variables Press the "Delete" softkey if you would like to delete the entries for the operands. Press the "OK" softkey to confirm the changes or the deletion. - OR - Press the "Cancel" softkey to cancel the changes. Changing the operand address You can increase or decrease the address by 1 place at a time with the "Operand +"...
Service and diagnostics 13.2 Displaying the service overview 13.2 Displaying the service overview The status of each machine axis is displayed in the "Service overview" window. Information for up to 31 machine axes can be displayed. A column for each available axis is created for this purpose.
Service and diagnostics 13.2 Displaying the service overview Proceed as follows Select the "Diagnosis" operating area. Press the menu forward key. New horizontal softkeys are displayed. Press the "Axis diagn." softkey. The "Service overview" window opens. 13.2.1 Selecting axes 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.
Service and diagnostics 13.2 Displaying the service overview Press the "All axes" softkey if you want the information for all axes to be displayed. This will display all the axes that are defined in at least one channel. - OR - Press the "Change selection"...
Page 129
Service and diagnostics 13.2 Displaying the service overview Proceed as follows Select the "Diagnosis" operating area. Press the menu forward key. New horizontal softkeys are displayed. Press the "Axis diagn." softkey. The "Service overview" window opens. Press the "Service axis" softkey. The "Service Axis/Spindle"...
Service and diagnostics 13.3 System utilization 13.3 System utilization For the NC areas you can display the system resources (utilization display) currently being used: This shows you the net and gross runtimes for the position controller, interpolator, and forward motion. Proceed as follows Select the "Diagnosis"...
Service and diagnostics 13.4 Creating screenshots 13.4 Creating screenshots You can create screenshots of the current user interface directly on the TCU. Each screenshot is saved as a file and stored in a folder. You can use the default storage path or specify a path yourself. Proceed as follows Ctrl + P Press the <Ctrl+P>...
Page 132
Service and diagnostics 13.4 Creating screenshots HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
This document will be continuously improved with regard to its quality and ease of use. Please help us with this task by sending your comments and suggestions for improvement via e-mail or fax to: E-mail: mailto:docu.motioncontrol@siemens.com Fax: +49 (0) 9131/98 - 63315 Please use the fax form on the back of this page.
Page 134
Appendix A.1 Feedback on the documentation HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Page 140
Index HMI sl (IM9) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Page 141
Editing files with Word Input of Text SINUMERIK 840D sl Problems and remedies Creating foreign language texts (TX2) References for text generation Commissioning Manual Valid for control system SINUMERIK 840D sl/840DE sl Software Version NCU System Software with HMI sl 11/2006 6FC5397-1DP10-1BA0...
Page 142
Trademarks All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Page 143
Table of contents Introduction..............................5 General ............................5 Prerequisites ..........................5 Language families..........................6 Tools ..............................7 Terms .............................8 Editing files with Word ..........................11 Overview ............................11 Generating a new text file ......................11 Opening an existing file........................12 Saving text files ..........................14 Codes for SINUMERIK HMI......................15 Input of Text.............................
Page 144
Table of contents Tables Table 1-1 Language families ......................... 6 Table 2-1 Encoding ............................. 15 Table 3-1 Text file coding ..........................19 Creating foreign language texts Commissioning Manual, 11/2006, 6FC5397-1DP10-1BA0...
Introduction General Since the 1990s, Microsoft have put considerable effort into satisfying global demands for information processing and software development. In addition to supporting as many languages as possible, one of the aims was to be able to support all languages with the same uniform operating system, as opposed to the language-specific versions of operating systems which were used before.
Introduction 1.3 Language families • The text file is to be coded using this code page, not as a Unicode file. • The text should be generated as simply as possible: in particular, this means that if possible, no additional software should have to be installed. •...
Introduction 1.4 Tools Operating system and target language from the same language family If the language of the operating system (e.g., German) belongs to the same language family as the target language (e.g., Portuguese), then some difficulties could possibly occur with the input of certain characters.
Introduction 1.5 Terms Terms Code page A list of characters which forms the character set for one or more languages. A code which is unique within this code page is assigned to each of the characters in the list. All of the code pages used in Windows share the ASCII range (codes 0 to 127). A distinction is made between single-byte code pages and multiple-byte code pages.
Page 149
Introduction 1.5 Terms Language family A language family is a group of languages which uses the same code page. This requires the use of the same basic alphabet (e.g., Latin or Cyrillic), but it does not mean that the alphabet of all languages of this group is the same. There is a 1:1 assignment between Windows code page and language family.
Editing files with Word Overview This section describes how text files can be edited using Microsoft Word 2003. Word 2003 does not edit text files directly. We recommend saving an additional version of Instead, it converts them to Word files upon the text file as a Word file and using this version opening.
Editing files with Word 2.3 Opening an existing file Opening an existing file 1. In Word 2003, select "Open…" from the "File" menu. 2. From the "Open" dialog box, choose the "Text files" (*.txt)" setting under "Files of type". If your file has a different extension from "txt", you must rename it. 3.
Page 153
Editing files with Word 2.3 Opening an existing file 5. The "Convert File" dialog box will appear. Select "Encoded Text" and click "OK". 6. The "File Conversion - Example.txt" dialog box will then appear: – If "Windows (default)" is selected, activate "Other Encoding". Select the correct encoding (Word will make a suggestion, which will not necessarily be correct).
Editing files with Word 2.4 Saving text files Saving text files Save the text entered as a "Text File": 1. In Word, select "Save As…" from the "File" menu. 2. Choose the option "Text Only (*.txt)" under "Save as type". 3.
Editing files with Word 2.5 Codes for SINUMERIK HMI – If you choose to ignore the warning, then all characters which cannot be encoded are replaced with a question mark. Codes for SINUMERIK HMI When you open or save a file, code page names are used rather than code page numbers, see Section "Opening an existing file"...
Page 156
Editing files with Word 2.5 Codes for SINUMERIK HMI Creating foreign language texts Commissioning Manual, 11/2006, 6FC5397-1DP10-1BA0...
Input of Text Special characters in different language families Latin language family With the Latin-based language families (Baltic, Central European, Turkish, Western), you can enter most of the characters, i.e., the basic Latin alphabet, directly with your (e.g., Western) keyboard. Most of the special characters, such as ĄáâåçđéèÍïŁŇñöőÓťŤůū, are made up of the Latin letters A-Z a-z and diacritical characters such as acute ', breve ˘, cedilla, circumflex (caret) ˆ, point ˙, colon (dieresis, trema) ¨, double-acute ˝, grave accent ', háček (caron) ˇ, macron ˉ,...
Input of Text 3.2 Inputting characters via the Character Map • "Straight quotes" with "Smart quotes" • English ordinals (1st) with superscript • Fractions (1/2) with fraction character (½) • Special characters (--) with symbols (—) "Apply as you type": •...
Page 159
Input of Text 3.2 Inputting characters via the Character Map 3. Activate the box "Advanced view". 4. Under "Character set" select the code page for your text file in order to restrict the number of available characters to this code page. The code pages are referred to as follows: Table 3-1 Text file coding...
Input of Text 3.3 Compound input Inputting characters 1. Choose a character you want to input. The information bar at the bottom will display the Unicode code (U+..., hexadecimal), the code page code (in brackets) and the clear text description of the character. If you have set up the keyboard assignment accordingly (see Section "Using a different keyboard assignment"), the keystroke combination for entering the character numerically will appear at the bottom right in the status bar (see Section "Numerical text input").
Input of Text 3.4 Using a different keyboard assignment Keyboard assignments The table below shows some keyboard assignments for the supported diacritical characters: Keyboard Acute Grave Circumflex Háček Breve Ogonek Point Colon Cedilla Double Squiggle Tilde assignments acute ˆ ˇ ˘...
Input of Text 3.4 Using a different keyboard assignment Example In Hungarian, for example, you would have to input these characters as follows: • őŐűŰ (O double-acute, U double-acute) via the Character Map • öÖüÜ directly • áÁéÉíÍóÓúÚ compound input 3.4.1 Concept of the keyboard language Windows manages pairs for the keyboard consisting of "Language ("Language and Region...
Page 163
Input of Text 3.4 Using a different keyboard assignment 4. Click "Add". The dialog box "Add Language and Region Support" is opened. 5. In the dialog box "Add Language and Region Support", select a language under "Language and Region Support" and the associated keyboard assignment under "Keyboard Assignment".
Input of Text 3.4 Using a different keyboard assignment 6. Click "OK". The dialog box "Add Language and Region Support" is closed. You then return to the "Text Services and Input Languages" window. 7. Use "Keyboard…" to select the way in which you want to switch the keyboard assignment.
Page 165
Input of Text 3.4 Using a different keyboard assignment Among further settings that are offered is the ability to arrange this display as an Input language bar independently of the taskbar: at the top edge of the screen, for example. Keyboard assignment specific to input window The Windows operating system will memorize the current keyboard assignment for each input window.
Input of Text 3.5 Numerical text input Checking the keyboard assignment Compare the keyboard assignment and note a key with two different assignments. If you are not sure, press this key when inputting the text to test which assignment is active. Example: If the German keyboard assignment is active, pressing key "1"...
Input of Text 3.6 Language properties in Word files Language properties in Word files Language property The language is a property (attribute) that is managed separately in Word for each character, in the same way as other text properties (bold, underline, etc.): •...
Page 168
Input of Text 3.6 Language properties in Word files Setting the language property Proceed as follows to set the language property for a text: 1. Highlight the part of the text for which you wish to set the language property, or press CTRL+A to select the entire text.
Page 169
Input of Text 3.6 Language properties in Word files Default setting of the language property Word automatically sets the language property in the following situations: • When opening a file of type "Encoded Text File" (see Section "Opening an existing text file").
Input of Text 3.7 Multi-language Word files Multi-language Word files In certain cases it may be useful to deliberately set different language properties for different parts of the text in a Word file. Supplementary conditions for multi-language Word files You want to enter certain parts of the text with the German keyboard assignment and then also edit these parts later on with the German keyboard assignment, whereas other parts of the text are to be generated and edited with the keyboard assignment of the target language.
Page 171
Input of Text 3.7 Multi-language Word files Automatic keyboard switching In order to automatically have the correct keyboard assignment when working on different parts of the text, in Word go to "Tools" → "Options" and activate the "Auto-Keyboard switching" option in the "Edit" tab. Note Accidental use of the automatic keyboard switching function can be confusing.
Input of Text 3.8 Special considerations when working with Greek and Cyrillic texts 2. In the "Customize" dialog box select the "Commands" tab. 3. Select "Format" from the list of categories on the left. 4. Then select "DE Keyboard Language" from the list of commands on the right (see Fig.). 5.
Page 173
Input of Text 3.8 Special considerations when working with Greek and Cyrillic texts Example Incorrect coding could have the following consequences: Let us suppose that you wrote the Russian word for "NO" ("HET") using Latin letters instead of "HET" using Cyrillic letters. Initially you would see no difference. However, a search for "нет"...
Input of Text 3.9 Special considerations when working with East Asian texts. Special considerations when working with East Asian texts. Requirement To author or correct texts in Japanese, Chinese or Korean, you will need to have installed the corresponding expansion package for the operating system. Checking the system installation Open the dialog box "Regional and Language Options"...
Page 175
Input of Text 3.9 Special considerations when working with East Asian texts. Full-width European characters In the code pages for the East Asian languages, two versions of many of the European characters (Latin letters, numbers and the characters # $ % & etc.) are included: •...
Page 176
Input of Text 3.9 Special considerations when working with East Asian texts. Note When placing a translation order, tell the translator that only the narrow, ASCII-compatible characters must be used for characters with a functional significance. Simplified/traditional Chinese Please make a careful distinction between simplified Chinese and traditional (or standard) Chinese.
Problems and remedies Keyboard assignment switches unintentionally Problem: The keyboard occasionally switches to a different assignment while text is being entered, without this being explicitly requested. Remedy: Check whether the option for automatic keyboard switching is set as described in Section "Multi-language Word files".
Page 178
Problems and remedies • If the texts in question are East Asian texts, check the coding of the non-Asian characters. See Section "Special considerations when working with East Asian texts". If full-width characters have been used for functional characters, replace them with the corresponding ASCII variants.
References for text generation For further information about generating texts, please refer to: Developing International Software, Second Edition • Book: Microsoft Press, October 2002, ISBN 0-7356-1583-7 http://www.microsoft.com/globaldev/getwr/dis_v2/default.mspx • Overview tables of the Microsoft code pages http://www.microsoft.com/globaldev/reference/WinCP.mspx • Pictures of the keyboard assignments in Microsoft can be found at the following address: http://www.microsoft.com/globaldev/reference/keyboards.mspx •...
Page 180
References for text generation Creating foreign language texts Commissioning Manual, 11/2006, 6FC5397-1DP10-1BA0...
Page 181
Index Character Map keyboard assignment Code page, 19 Changing, 21 Input, 18 Keyboard assignment Inputting characters, 20 Always visible, 31 Select, 18 in picture form, 21 Checking the installation, 7 In picture form, 25 Chinese (simplified), 36 Set up in Windows XP, 22 Chinese (traditional), 36 Keyboard assignments CJK characters, 8...
Page 182
Index Open, 12 Save, 14 Windows code page, 6 Text input Word files Numerical, 26 Multi-language, 30 TrueType fonts, 9 Unicode, 9 Creating foreign language texts Commissioning Manual, 11/2006, 6FC5397-1DP10-1BA0...
Page 183
______________ Commissioning a System SINUMERIK 840D sl NCU Operating System (IM7) Backing up and ______________ Restoring Data ______________ Service Commands SINUMERIK 840D sl ______________ Appendix NCU Operating System (IM7) Commissioning Manual Valid for: NCU System Software Version 2.4 07/2007 6FC5397-1DP10-2BA0...
Page 184
Trademarks All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Page 185
Table of contents Commissioning a System .......................... 5 Delivery condition of the system ....................5 System booting ..........................6 Displays during system booting .....................7 Meaning of switch positions ......................8 Ethernet interfaces of the NCU ....................10 Backing up and Restoring Data ....................... 11 Creating a service system......................11 2.1.1 Applications..........................11...
Page 186
Table of contents Appendix..............................39 Abbreviations ..........................39 Licenses for WinSCP and PuTTY....................40 A.2.1 GNU License..........................40 A.2.2 PuTTY Licence..........................46 Glossary ..............................47 Index................................ 49 NCU Operating System (IM7) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
/var/log/messages System log file (same as event.log under Windows) Files in the directory under /user always have priority over files with the same name in the directory /oem → /addon → /siemens. CAUTION Suitable editors for Linux In most Linux system files, lines may only be ended with LF, and not with CRLF as in Windows.
Commissioning a System 1.2 System booting Preset users The following users have already been set up: Users Password Target group operator Operators, users user CUSTOMER Operators, users service EVENING Service personnel manufact SUNRISE Machine manufacturer System booting Sequence To ensure unproblematic booting of the NCU, the CF card must be inserted. When the NCU is booting up, visual information on the current operating system is provided using the following displays: ●...
Commissioning a System 1.3 Displays during system booting Displays during system booting States of the RDY LED Of the LEDs on the front of the NCU, only the RDY LED and its status is important when booting up the NCU. BIOS power-up RDY LED: Yellow...
Commissioning a System 1.4 Meaning of switch positions System error RDY LED: Rapidly flashing red (2Hz) Other LEDs: Set by PLC/option module Meaning: An error has occurred. The system is stopped. RDY LED: Rapidly flashing red/yellow (2Hz) Other LEDs: Set by PLC/option module Meaning: An error has occurred.
Page 191
Commissioning a System 1.4 Meaning of switch positions SIM/NCK twist button The switch positions of the SIM/NCK switch have the following meaning: Switch position Operating mode of the NCK Normal boot-up NCK NCK boot-up with default values (= memory reset) The NCK (and PLC) starts up with the data that was saved at the last shutdown.
Commissioning a System 1.5 Ethernet interfaces of the NCU 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 additional external keyboard is required for uppercase/lowercase letters. Configuration of the interfaces The following connections can be established via the Ethernet interfaces: Interface...
Backing up and Restoring Data Creating a service system 2.1.1 Applications Overview To back up and restore the CF card data, proceed as follows: ● Create a service system ● Back up onto a service system ● Restore from the service system As an alternative to backing up the data on a service system: ●...
Backing up and Restoring Data 2.1 Creating a service system 2.1.2 Creating a service system for the NCU Purpose In case servicing is needed, create a portable "Emergency Boot System" (EBS) on a USB memory. Thus you can start the booting of the NCU from the service system in order to carry out various service tasks, such as data backup or updates, in a service shell.
Page 195
Backing up and Restoring Data 2.1 Creating a service system 4. Open a DOS shell and change to the directory in which the files for the service system are stored. 5. In the DOS shell, enter the following command: installdisk ––verbose ––blocksize 1m linuxbase-512M.img h: Result: The image is transferred to the USB storage medium;...
Backing up and Restoring Data 2.2 Data backup on service system Data backup on service system 2.2.1 Storing data on a service system Proceed as follows To back up the complete system: 1. Connect the service system to a USB interface (X125 or X135) of the NCU and press the reset button.
Page 197
Backing up and Restoring Data 2.2 Data backup on service system 4. With the command "sc restore" you can write the backup file "backup01" from the service system back to the CF card in the NCU. Example: sc restore /data/backup01.tgz Result: The system state stored in the file "backup01"...
Backing up and Restoring Data 2.3 Data backup on network drive Data backup on network drive 2.3.1 Backing up data onto a network drive Sequence Proceed as follows: ● Establish a connection to a network drive ● Define a MOUNTPOINT ●...
Page 199
Backing up and Restoring Data 2.3 Data backup on network drive Figure 2-2 Open service shell 3. Start a service shell by using the assigned softkey to select "Session 4". In "Session 5", the log console is output. 4. Log on as a service technician using the user name "manufact" and password "SUNRISE".
Backing up and Restoring Data 2.3 Data backup on network drive Scenario II: Start the Command Shell with WinSCP on the PG: 1. Start WinSCP and enter the following data in the log-on window: – IP address of the NCU (or, if required, host name) –...
Page 201
Backing up and Restoring Data 2.3 Data backup on network drive 7. To restore user data only, enter the following command: sc restore –user backup01 Result: The user data are written back again. All subsystems are then restarted: sc start all Result: The system state stored in the file "backup01"...
Page 202
Backing up and Restoring Data 2.3 Data backup on network drive NCU Operating System (IM7) Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Service Commands 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.
Service Commands 3.2 Syntax for the Actions Example: An action with the privilege level 'user' can also always be executed by members of the groups 'service' and 'manufact'. Actions with privilege level ‘none’ can be called by all users. If a user does not have the required privileges, the following error message is output: Action 'ACTION' needs at least GROUP privilege level.
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 206
Service Commands 3.3 Generic elements 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.
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'.
Service Commands 3.4 Description of the actions 3.4.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. 3.4.3 Clear Description...
Service Commands 3.4 Description of the actions 3.4.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 210
Service Commands 3.4 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.
Service Commands 3.4 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.
Service Commands 3.4 Description of the actions The commands "sc enable" and "sc disable" function by changing certain variables in the file /user/system/etc/basesys.ini. In subsystems, this variable is "DisableSubsystems", in DHCPSvr "DisableDHCPD<INTERFACE>". 3.4.7 Disconnect Description Syntax: sc disconnect MOUNTPOINT sc disconnect all Alternative names: umount, unmount Privilege level:...
Service Commands 3.4 Description of the actions Note This command can be performed on any machine in the system network, not only on the active server. A message is always sent to the active server. 3.4.9 Enable Description Syntax: sc enable hmi|nck|SUBSYSTEM ... sc enable DHCPSvr -INTERFACE sc enable DHCPSync [-X120] [-PRIORITY] sc enable IPAlias [-X120] IPADDR[/NETMASK]...
Service Commands 3.4 Description of the actions The priorities have the following effect for the synchronization of the DHCP server: ● MASTER: The computer node is defined as master, i.e. the computer becomes the active DHCP server. If several masters have been configured in the system network, this computer has the highest priority.
Service Commands 3.4 Description of the actions ● An IP area with specification of the valid bits, e.g. "128.128.12.0/24" If the specification of the source host is completely missing, this is normally acknowledged with an error message. However, an exception is when the "sc openport" command is entered in a shell opened via SSH.
● 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.
Service Commands 3.4 Description of the actions Options The options are used for selecting which directories of the file system are to be written to the archive: • full: complete backup (default): all files of the controller, incl. Boot Loader •...
Page 218
Service Commands 3.4 Description of the actions Example: sc show ip X120 (system network, eth0): configured: (default) current : IP=192.168.214.1 Netmask=255.255.255.0 MAC=08:00:06:73:28:76 DHCP : sync. server, active X130 (company network, eth1): configured: DHCP current : IP=157.163.247.201 Netmask=255.255.254.0 MAC=08:00:06:73:28:77 DHCP : client (server: 157.163.249.221) X127 (engineering network, ibn0): current : IP=192.168.215.249 Netmask=255.255.255.248 MAC=08:00:06:73:28:78...
Service Commands 3.4 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".
● PuTTY, by contrast, offers a complete command shell. PuTTY web page: 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 they are connected with the corresponding privilege (e.g.
Appendix Abbreviations Compact Flash: Memory card Direct Control Keys Direct control key 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) Human Machine Interface: Operator interface...
Page 223
Appendix A.2 Licenses for WinSCP and PuTTY For example, if you distribute copies of such a program, whether free of charge or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code.
Page 224
Appendix A.2 Licenses for WinSCP and PuTTY You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
Page 225
Appendix A.2 Licenses for WinSCP and PuTTY If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
Page 226
Appendix A.2 Licenses for WinSCP and PuTTY 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number.
Page 227
Appendix A.2 Licenses for WinSCP and PuTTY How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
Appendix A.2 Licenses for WinSCP and PuTTY A.2.2 PuTTY Licence PuTTY Licence The PuTTY executables and source code are distributed under the MIT licence, which is similar in effect to the BSD licence. (This licence is Open Source certified and complies with the Debian Free Software Guidelines.) The precise licence text, as given in the file LICENCE in the source distribution, is as follows: PuTTY is copyright 1997-2005 Simon Tatham.
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 230
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 232
Index Service system Backing up data, 14 User group, 21 Creating for the NCU, 12 Users (default setting), 6 Restoring data, 14 Service Tool WinSCP, 38 SMB (Server Message Block), 24 Subsystem, 24 Designation, 23 VNC (Virtual Network Computing), 10 Synchronization DHCP, 31 System...
Page 233
This document will be continuously improved with regard to its quality and ease of use. Please help us with this task by sending your comments and suggestions for improvement via e-mail or fax to: E-mail: mailto:docu.motioncontrol@siemens.com Fax: +49 (0) 9131/98 - 63315 Please use the fax form on the back of this page.
Page 234
Appendix A.1 Feedback on the documentation Base software and HMI sl Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Page 235
Appendix A.2 Overview Overview Base software and HMI sl Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...
Page 236
Appendix A.2 Overview Base software and HMI sl Commissioning Manual, 07/2007, 6FC5397-1DP10-2BA0...