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