Iam 0106 en Commissioning Part2
Iam 0106 en Commissioning Part2
Iam 0106 en Commissioning Part2
Interface
01/2006 Edition
SINUMERIK® Documentation
Printing history
Brief details of this edition and previous editions are listed below.
The status of each version is indicated by the code in the "Remarks" columns.
Registered Trademarks
All designations with the trademark symbol ® are registered trademarks of Siemens AG. Other
designations in this documentation may be trademarks whose use by third parties for their own purposes
may infringe the rights of the owner.
Liability disclaimer
We have checked that the contents of this document correspond to the hardware and software
described. Nonetheless, differences might exist and therefore we cannot guarantee that they are
completely identical. The information contained in this document is, however, reviewed regularly and any
necessary changes will be included in the next edition.
Preface
SINUMERIK® Documentation
The SINUMERIK documentation is organized in 3 parts:
• General documentation
• User documentation
• Manufacturer/service documentation
Information about training courses and FAQs (Frequently Asked Questions) can be
found at the following website:
http://www.siemens.com/motioncontrol under menu item "Support"
Target group
This documentation is intended for service personnel.
Benefits
Based on the commissioning manual, the intended target group can test and
commission the system correctly without any danger.
Standard version
The functionality of the standard version is described in this commissioning
manual. Extensions or changes made by the machine tool manufacturer are
documented by the machine tool manufacturer.
Further, for the sake of simplicity, this documentation does not contain all detailed
information about all types of the product and cannot cover every conceivable case
of installation, operation, or maintenance.
Technical Support
If you have any questions, please contact our hotline:
Note
Country telephone numbers for technical support are provided under the following
Internet address:
http://www.siemens.com/automation/service&support
Fax form: See the reply form at the end of the brochure.
EC declaration of conformity
The EC Declaration of Conformity for the EMC Directive can be found/obtained
• in the internet:
http://www.ad.siemens.com/csinfo
under product/order no. 15257461
• at the relevant branch office of the A&D MC group of Siemens AG.
Safety Instructions
This Manual contains information which you should carefully observe to ensure
your own personal safety and the prevention of material damage.
The notices referring to your personal safety are highlighted in the manual by a
safety alert symbol, notices referring to property damage only, have no safety alert
symbol The warnings appear in decreasing order of risk as given below.
! Danger
Indicates that death or severe personal injury will result if proper precautions are
not taken.
! Warning
Indicates that death or severe personal injury may result if proper precautions are
not taken.
! Caution
with a warning triangle indicates that minor personal injury can result if proper
precautions are not taken.
Caution
Without a warning triangle this indicates that property damage may occur if proper
precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding
information is not taken into account.
If several hazards of different degrees are present, the warning notice representing
the highest degree of danger will be used. A warning notice accompanied by a
safety alert symbol indicating a risk of bodily injury can also indicate a risk of
property damage.
Qualified personnel
The associated device/system may only be set up and operated using this
documentation. The device/system must only be commissioned and operated by
qualified personnel. Qualified persons are defined as persons who are authorized
to commission, ground, and tag equipment, systems, and circuits in accordance
with established safety standards.
Correct usage
Please note the following:
! Warning
The unit may be used only for the applications described in the catalog or the
technical description, and only in combination with the equipment, components and
devices of other manufacturers where recommended or permitted by Siemens.
Correct transport, storage, installation and assembly, as well as careful operation
and maintenance, are required to ensure that the product operates safely and
without faults.
Notes
The following notes with a special meaning are used in the documentation:
Note
This symbol always appears in this documentation where further, explanatory
information is provided.
Valid for
PLC
SINUMERIK 840D sl/840DE sl
SINUMERIK 840Di sl / 840DiE sl
SINUMERIK 840D powerline/840DE powerline
SINUMERIK 840Di powerline/840DiE powerline
SINUMERIK 810D powerline/810DE powerline
Contents
1 Introduction ............................................................................................................................. BE1/1-7
5.12 Terms...............................................................................................................................BE1/5-153
8.1 Terms.................................................................................................................................BE1/8-180
1 Introduction
1
1.1 Objective .................................................................................... BE1/1-8
1.1 Objective
Prerequisites
An additional graphics program is needed to produce graphics/display images.
For HMI-Embedded sl you also need the application disk and the PaintShopPro
tool (http://www.jasc.com).
The tool box supplied contains configuration examples for new screen forms. You
can also use these examples as a template for creating your own forms.
5. Variables
• Read (NC, PLC and user variables)
• Write (NC, PLC and user variables)
• Combine with mathematical, comparison or logic operators
6. Execute functions:
• Subprograms
• File functions
• PI services
• External functions (HMI Advanced)
7. Data exchange between screen forms
Expand user interface is configured using ASCII files stored on the HMI.
These configuration files, which combine to describe the user interface as a whole,
are created using the ASCII Editor.
The syntax that must be applied in creating these files is described in the following
chapters.
Note
The programming support functions described in Chapter 4 and the user
interfaces for Siemens cycles have been created with the system tools for
Expand user interface. As a result, they can be modified as required by the
machine manufacturer or end user within the scope described in this chapter.
• It is only possible to switch between screen forms within one HMI operating
area.
• In the case of HMI Advanced, user, setting and machine data are initialized on
request.
• User variables may not have the same names as system or PLC variables.
• The screen forms activated by the PLC form a separate operating area for HMI
Advanced (similar to measuring cycle displays).
• Chapter 7 contains system-specific information concerning the number and size
of configuration files.
Note
When an ID parameter is modified during operation, it is not necessary to specify
the parameter if it is unambiguous:
xy = value
[optional syntax] Optional syntax can, but need not, be configured. Optional
syntax is represented in square parentheses.
Note
If the square parentheses are in bold ([...]), then the entry is not optional syntax,
but square parentheses, which form part of the syntax, i.e., square parentheses
in bold must be configured.
Example syntax
//M(Identifier/[Header]/[Graphic]/[Dimension]/[System
or user variable]/[Graphic position]/[Attributes])
Note
All possible values, which can be assumed by a parameter, are listed for some positional
parameters. Only one of the specified values can be assigned.
Identifier=(Text[,Status][,Access level])
with status se0
se1
se2
se3
HS2=("thread",se1)
If alternative parameters are possible, the separator | is placed between the
alternatives in the syntax description.
Example call
//M(Mask1/"CYC83"/"c83.bmp"/,,300,200//10)
;Name of identifier: Form1
;Header: CYC83
;Graphics: c83.bmp
;Dimension: Distance from left and top: Standard positions are
system-dependent, width 300 pixels, height 200 pixels
;System or user variables: none
;x-position of Help display: 10 pixels
;Attribute: none
Note
The positions and size of display elements are specified in pixels with reference
to standard displays with 640x480 pixels. In displays with higher resolutions,
these positions are converted automatically.
$8xxxx Call a text from a separate text file. Texts used in screen forms
can be specified explicitly in configuration files or, particularly
in cases where screen forms are to be displayed in different
languages, stored separately in text files.
Language-dependent texts can be used for:
Softkey labels
Headings
Help texts
Any other texts
The screen forms refer to texts in different text files via text
identification numbers (number after the $ character). Text files
are usually language-dependent. Entries in control files
determine which text files must be activated.
The structure of the configuring environment in Chapter 7
describes how selected text files can be activated for the target
systems HMI Embedded sl and HMI Advanced.
The syntax for creating screen form texts in separate files is
also to be found in Chapter 7.
"text" text is text defined by the user and can be entered directly as
such in the configuration file.
Notations $8xxxx and "text" can be used as alternatives.
2 First Steps
2
2.1 Fundamentals of Configuration................................................ BE1/2-14
2.1.1 Configuration and start files .................................................. BE1/2-15
2.1.2 Search sequence for configuration files ............................... BE1/2-15
2.1.3 Calling your own screen forms from PLC ............................. BE1/2-16
Editor
An ASCII editor (e.g., Notepad or the HMI editor) is used to create configuration
files.
Files
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.
Einstiegs-
softkey
You can use the <RECALL> key to close new user interfaces if
you have not configured this key for any other task.
Every application uses permanent (HMI Embedded sl, ShopMill, and ShopTurn on
NCU) or preset (HMI Advanced) start softkeys, which can be selected to open
newly configured screen forms. Additional start softkeys can be configured with
HMI Advanced.
A table containing the start softkeys with the assigned configuration files (default
setting) can be found in the section "Table of start softkeys".
Other files
In the event of a call to load a screen form (LM) or a softkey menu (LS) in a
configuration file, a new file name containing the object called can be specified.
This makes it possible to structure the configuration, e.g., all functions in one
operation level in a separate configuration file.
Note
Further information about setting the configuring and operational environments
can be found in Chapter 7.
HMI Advanced
With HMI Advanced, the system first attempts to access the configuration files in
the user cycle directory followed by the standard cycle directory and the
manufacturer cycle directory.
Screen forms can be selected via the PLC as well as via softkeys. An interface is
available for signal exchange between the PLC and HMI.
For more information about display selection from the PLC, see section "PLC
interface".
Start softkeys
One or more softkeys (start softkeys), which are used to initiate your own operating
sequences, are defined in one of the specified configuration files.
Definition of the methods/functions that are used for the purpose of processing the
form screen elements.
Function
Pressing the start softkey loads the assigned screen form. This will also activate
the softkeys associated with the screen form. Variables will be output to the
standard positions unless specific positions have been configured.
Note
Further information about the configuration file syntax can be found in Chapter 3.
3
3 Syntax
UNLOAD
...
END_UNLOAD
ACTIVATE
...
END_ACTIVATE
...
//END
Start softkeys are softkeys that are not called from a screen form, but which have
been configured before the first new screen form.
Start softkeys can be used to initiate certain functions. There are various ways to
define start softkeys (see "Syntax Methods").
In order to access the start screen or a start softkey menu, the start softkey must
be defined.
The softkey is defined in the start softkey description block (see chapter “Defining a
softkey”) and the "Display screen form" or "Display softkey menu" function is
assigned in a method (see chapters “Methods for start softkeys” and “Functions for
start softkeys”).
If the start softkey definition is designated as a comment (semicolon (;) at
beginning of line) or the configuration file removed, the start softkey will not
function.
A screen form is part of a user interface consisting of a display line, form elements
and/or graphic, dialog line and 8 horizontal and 8 vertical softkeys.
Anzeigezeile mit Überschrift und Langtext
Header
Masken-
element
Maske
8 vertikale
Softkeys
Grafik
Dialogzeile
8 horizontale Softkeys
Within the screen form definition block, various variables that appear as form
elements in the screen form, as well as horizontal and vertical softkeys, are defined
first.
Different types of actions are then configured in methods.
• If a command is configured only with a file name, then the file search strategy is
as follows:
Example
A new screen form is called via start softkey "Example" from the Parameters
operating area.
//S(Start)
HS7=("Example", ac7, se1)
PRESS(HS7)
LM("Form1")
END_PRESS
//END
//M(Form1/"Cycles")
HS1=("")
HS2=("")
HS3=("")
HS4=("")
HS5=("")
HS6=("")
HS7=("")
HS8=("")
VS1=("")
VS2=("")
VS3=("")
VS4=("")
VS5=("")
VS6=("")
VS7=("")
VS8=("")
... ;Methods
//END
Header
Masken-
hauptteil
Grafik
The properties of the screen form are defined in the start identifier line of the form
screen:
Hd = Header
Hlp = Graphics
Var = System or user variable
Example
//S(Start)
HS7=("Example", se1, ac7)
PRESS(HS7)
LM("Form1")
END_PRESS
//END
//M(Form1/"Example 2 : Display graphics"/"MST.BMP")
HS1=("new%nHeader")
HS2=("")
HS3=("")
HS4=("")
HS5=("")
HS6=("")
HS7=("")
HS8=("")
VS1=("")
VS2=("")
VS3=("")
VS4=("")
VS5=("")
VS6=("")
VS7=("")
VS8=("")
PRESS(HS1)
Hd= "New header"
END_PRESS
...
//END
Anzeigezeile
mit
Langtext
Masken-
element
Masken-
hauptteil
Screen form elements fill lines in the main body of the form. One or several screen
form elements can be defined in each line (see chapter "Multi-column screen
forms").
The term "screen form element" refers to the visible part of a variable, i.e., short
text, graphics text, input/output field (I/O field) and unit text.
All variables are valid only in the active screen form. Properties are assigned to a
variable when it is defined.
The values of form screen properties can be accessed within methods (e.g., a
PRESS block). (See also chapter “Variable properties”.)
Defining variables
DEF Identifier = 1
(Variable type
2
/[limit values or toggle field or table identifier]
3
/[Default]
4
/[Texts (Long text, Short text|Image, Graphics text, Units text)]
5
/[Attributes]
6
/[Help display]
7
/[System or user variable]
8
/[Position of short text]
9
/[Position I/O field(Left, Top, Width, Height)]
10
/[Colors]
11
/[Help]*)
Note
The small figures above "(" and "/" are only an aid to assigning the parameter
groups. Here the numbers are only provided in front of the parameter
explanations for the purpose of facilitating assignment. They are not part of the
syntax. The single parameters to be separated by commas are enclosed in round
parentheses.
with:
Identifier Name of variable
Table identifiers
Identifiers of a table containing NCK/PLC values of the same
type, which can be addressed via a channel block. The table
identifier is differentiated from limit values or toggle fields by the
addition of a % sign in front of it. The file containing the table
description can be specified by adding a comma after the
identifier and then inserting the name of the file.
4) Texts Texts: Long text, short text, graphics text, unit text
with:
Long text: Text in the display line
Short text: Name of the screen form element
Graphics text: Text refers to the terms in the graphics.
Unit text: Unit of screen form element
(See graphic image above)
The sequence is specified.
Default setting: Empty
Access Level
Empty Can always be written
ac0...ac7 Protection levels (see chapter
"Syntax of softkey description")
If the access level is not adequate, then the first line is
displayed grayed-out, default setting: ac7
Font size
fs1 Default font size (8 pt.)
fs2 Double font size
Default setting: fs1
The clearances between the lines is defined.
For the default font size, 16 lines can fit into the screen form.
Graphics and unit text can only be configured in the default
font size.
li0 No check
li1 Check with respect to min.
li2 Check with respect to max.
li3 Check with respect to min. and max.
Default setting: Determined by specified
limit values
Identical PDF and text files must have the same name.
The name of the PDF file must be written in uppercase letters
in the txt file.
Examples
Example 1
Assign properties Variable Type, Texts, Help, Colors:
DEF Var1 = (R///,"Actual value",,"mm"//"Var1.bmp"////8,2)
Variable Type: Real
Limit values or toggle field entries: None
Default: None
Texts:
Long text: None
Short text: Actual value
Graphics text: None
Unit text: mm
Attributes: None
Help display: Var1.bmp
System or user variable: None
Position of short text: No data, i.e., default position
Position I/O field: No data, i.e., default position
Colors:
Foreground color: 8
Background color: 2
Help: none
Example 2
Assign properties Variable Type, Limit Values, Attributes, Short Text Position:
DEF Var2 = (I/0,10///wr1,al1///,,300)
Variable Type: Integer
Limit values: MIN: 0; MAX: 10
Default: None
Texts: None
Attributes:
Input mode: read-only
Alignment of short text: Right-justified
Help display: None
System or user variable: None
Position of short text:
Distance from left: None
Distance from the top: None, i.e., default distance
from the top left
Width: 300
Position I/O field: No data, i.e., default position
Colors: No data, i.e., default setting
Help: None
Example 3
Assign properties Variable Type, Default, System or User Variable, I/O Field
Position:
DEF Var3 =(R//10////"$R[1]"//300,10,200//
"Help.pdf",1,"Help1")
Variable Type: String
Limit values or toggle field entries: None
Default: 10
Texts: None
Attributes: None
Help display: None
System or user variable: $R[1] (R-Parameter 1)
Position, short text: Default position relative to the I/O field
Position of the I/O field:
Distance from left: 300
Distance from the top: 10
Width: 200
Colors: No data, i.e., default setting
Help: In the Help.pdf file, the Help with the Help text
"Help1" is called on the page with index 1
when the <i> key is pressed.
Example 4
Various entries in the toggle field:
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" and "Out"
;are displayed
DEF Var4 = (R/* ARR1) ;ARR1 is the name of an array
Example 5
Several Help calls per screen form element (HMI Advanced only):
DEF Var1 = (R//////////"Help1.pdf",1,"Help1",
,2,"Help2","Help3.pdf",3,)
;1. Entry in the Help loop
Help file: HELP1.PDF
Index: 1
Help text: Help1
2. Entry in the Help loop
Help file: HELP1.PDF
Index: 2
Help text: Help2
3. Entry in the Help loop
Help file: HELP3.PDF
Index: 3
Help text: Help3
Multiple variables can also be represented in the main part of the screen form on
one line.
In this case, the variables are all defined in the configuration file on a single
definition line.
To make individual variables in the configuration file more legible, the definition
lines can be wrapped after every variables definition and following comma.
The key word "DEF" always indicates the beginning of a new line.
Maskenelement
If Expand user interface is used on HMI Embedded sl and HMI Advanced, screen
forms that are defined identically will appear differently by default.
Below you can see how, despite being configured identically, the same screen
appears differently under HMI Advanced.
As you can see above, the combination of short text, graphics text, input field, and
unit text is approximately the same length and contains the same information in
both screens.
However, individual fields can be positioned differently in the two HMI versions
depending on the length of the text to be displayed and the text field within which it
will be contained.
The following extensions for determining the display in the I/O field and the
memory utilization are possible for the Integer type:
IF ISNUM(VAR1) == TRUE
IF ISSTR(REG[4]+2) == TRUE
B = binary
D = decimal signed
H = hexadecimal
unsigned
+ U for Unsigned
For Real, only the number of places after the decimal point can be changed.
Changing the basic type is illegal and generates an error message in file error.com.
Parameterization example:
Var1.typ = "IBW"
Var2.typ = "R3"
Note
When codes are generated with the GC function, numerical values in decimal or
exponential notation are evaluated, but not those in binary or hexadecimal
notation.
Binary: ‘B01110110‘
Decimal: 123.45
Hexadecimal: ‘HF1A9‘
Exponential: ‘-1.23EX-3‘
Note
Numerical values in binary, hexadecimal and exponential notation must be
enclosed in apostrophes.
VAR1 = ‘HF1A9‘
REG[0]= ‘B01110110‘
DEF VAR7 = (R//‘-1.23EX-3‘)
Default setting
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 (I/O field or toggle
field).
Not calculated: Toggling is not possible until a valid value is assigned to the
variable
Positions
The short text and graphics text, as well as the I/O 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 I/O field and to unit text.
The configured position entry overwrites the default value, i.e., only one value can
be changed.
If no position data is configured for following screen form elements, then the
position settings for the preceding screen form element are applied.
If no positions have been specified for any element, then default positions are
applied. The column width for the short text and I/O field is calculated as standard
for each line from the number of columns and maximum line width, i.e.,
column width = maximum line width/number of columns.
The width of the graphics and unit text is predefined and optimized to suit the
requirements of programming support. If graphics or unit text has been configured,
the width of the short text or I/O field is reduced accordingly.
The order of short text and I/O field can be reversed by position settings.
Help
The Help loop for a screen form element can be extended or deleted during
runtime. These functions are available only with HMI Advanced.
Extending the Help loop:
with:
Identifier Name of the variable whose Help loop will be extended
Help file Path specification of the file (PDF format)
Index Index in the Help file to the Help text
Help text Help text for display in the Help text file
The Help loop can be extended as required by calling the function repeatedly.
ADDHTX(VAR1, ”C:\OEM\HLP\MYHLP.PDF”, 15, ”Machine data”)
DEF Identifier =
(Variable type
/+ $Text number |
* wert= "\\bild"[,wert="\\bild2.bmp"][, ...]
/[default]
/[Texts(Long text, Short text, Graphics text, Units text)]
/[Attributes]
/[Help display]
/[System or user variable]
/[Position of short text]
/[Position I/O field(Left, Top, Width, Height)]
/[Colors]
/[Help])
with:
Variable type Type of variables specified in the system or user
variable
Text number Number (basis) of the language-specific texts valid as the
basis number
System or System or user variable (offset)
user variable used to form the final text number (basis + offset)
When the screen form is opened, the content of text number $85015 are displayed
in the I/O field. Default value 15 is entered in system variable DB90.DBB5. If the
value saved in system variable DB90.DBB5 changes, then the displayed text
number $(85000 + <DB90.DBB5>) is recalculated in response to every change.
Toggle-field-dependent displays
The toggle field is overlaid with graphics, which change depending on the value of
the flag byte. If, for example, the flag byte has the value 1, image1 is displayed, for
value 2, image2. The position and size of the image are indicated under Position
I/O field (left, top, width, height).
DEF VAR1=(IDB/*1=“\\image1.bmp“,
2=“\\image2.bmp“//,$85000/wr1//"MB[0]"//160,40,50,50)
Variable value
The default property of a variable is its value. When a variable is defined, a value is
allocated to it in the form of a default setting, a system or user variable or
programmed in the methods, as described below.
Identifier.val = Variable value
or
Identifier = Variable value
with:
Identifier Name of variable
Variable value Value of variable
Variable status
The "Variable status" property can be scanned during runtime to find out whether a
variable has a valid value. This property can be read and written with the value
FALSE = 0.
Identifier.vld
with:
Identifier Name of variable
The result of the scan can be:
FALSE = invalid value
TRUE = valid value
IF VAR1.VLD == FALSE
VAR1 = 84
ENDIF
Examples:
Identifier.min = MIN limit value
PRESS(HS1)
AXIS=AXIS+1
WEG.VAR="$AA_DTBW["<<AXIS<<"]"
;address axis address via variable
END_PRESS
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
screen form. Help variables are of the Variant type.
DEF Identifier
with:
Identifier Name of Help variables
DEF OTTO ;Definition of a Help variable
with:
Identifier Name of the Help variables
Help variable value Content of the Help variables
LOAD
OTTO = "Test" ;Assign Otto the value "Test"
;Help variable
END_LOAD
LOAD
OTTO = REG[9].VAL ;Assign value of register to
;Help variable
END_LOAD
The Status property can be used to scan the Help variable to find out whether its
value is valid. Status is a read-only property.
Identifier.vld
with:
Identifier Name of Help variables
The result of the scan can be:
FALSE = invalid value
TRUE = valid value
IF OTTO.VLD == FALSE
OTTO = 84
ENDIF
The variable status (see chapter “Variable properties”) can be used to scan a
variable to find out whether or not its value is valid.
Images
Maximum size: 560 * 326 pixels (HMI Advanced/HMI Embedded sl)
688 * 376 pixels (PCU50 with OP012)
• Create the screen images using, for example, the Windows 95 Paint application.
• Use the BMP2BIN conversion program (application disk). It supports 256 colors
and faster display building.
This program converts BMP bitmaps to an optimized format of the HMI
Embedded sl.
Explanation of parameters:
HMI Embedded sl can handle converted graphics as well as .bmp files. For .bmp
files, the colors are converted online. For this the files containing the color table
(syscol.col, sysbw.col, etc.) have been extended to include the [BMP] section. This
section allocates a color of a BMP pixel to a color of the HMI.
Prerequisites
The display images must have been saved in 16-color mode.
256-color bitmaps are also supported. You will find the corresponding color table in
chapter “Color table”.
Storage locations
The following storage locations are possible:
HMI SolutionLine searches for the display images on the CompactFlash card in the
following sequence:
/user/sinumerik/cycles/ico/xxx
/user/sinumerik/hmi/ico/xxx
/oem/sinumerik/cycles/ico/xxx
/oem/sinumerik/hmi/ico/xxx
/addon/sinumerik/cycles/ico/xxx
/addon/sinumerik/hmi/ico/xxx
/siemens/sinumerik/cycles/ico/xxx
/siemens/sinumerik/hmi/ico/xxx
In this case, xxx stands for the resolution-specific directory
ico1024 Display images for resolution 1024*768
ico800 Display images for resolution 800*600
ico640 Display images for resolution 640*480
HMI Embedded sl automatically finds the resolution of the connected monitor and
searches for the desired display image first in the associated resolution directory. If
it is not found there, HMI Embedded sl searches for the display image in the next
smaller resolution directory until – if it doesn’t find the display image earlier – it
reaches directory ico640.
With the JobShop products that run together with HMI Advanced,
the display images and COM files are read out from the DH path, whereby the DH
directories are browsed in the following sequence:
Com-Files:
cus.dir
cma.dir
std.dir
Display images:
Cus\help.dir
Cma\help.dir
Cst\help.dir
Help.dir
Procedure
Procedure when integrating the bitmaps (customer displays):
Integration on HMI Embedded sl
- Generate the BMP file using Microsoft Paint, Version 4.0 or higher
- Archive the BMP file using the arj.exe supplied (Version 2.41) into the archive
CUS.ARJ or alternatively each BMP file in a separate archive with the file name
of the BMP file and extension .BM_
Examples:
Alternative 1: Several files per archive:
arj a cus.arj my_file1.bmp my_file2.bmp my_file3.bmp my_file4.bmp
Alternative 2: One file per archive:
arj a my_file1.bm_ my_file1.bmp
Limit
Archiving is optional. However, it must be noted that the CompactFlash card has
space for at least 10 MB.
Note
The display colors might appear differently on HMI Embedded sl than in Paint.
Refer to chapter 7 for more information about search strategies in general and
the search sequence for display images.
Graphic programs can be freely selected provided that they are capable of
generating the prescribed formats.
Display in display
You can insert further displays in the background (Help display). Even as a function
of the values of the variables.
Like for softkeys you can assign a graphics file to a display field. The height of the
displayed graphic (of the I/O field) is specified as the fourth parameter of the
positions.
You can define bitmaps in fields (short text, I/O field).
(See "Defining variables" in chapter "Screen form elements").
Example:
Short text field is overlaid with graphics
DEF VAR1=(S///,"\\image1.bmp" ////160,40,50,50) ; Type S irrelevant
Toggle field overlaid with graphics, the graphic being selected with a PLC flag byte.
DEF VAR1=(IDB/* 1=“\\image1.bmp“,
2=“\\image2.bmp"//,$85000/wr1//"MB[0]"//160,40,50,50)
3.3.11 Arrays
Definition
Arrays have start identifier //A and end identifier //END. The number of lines and
columns is optional. An array is structured in the following way:
//A(identifier)
(a/b...)
(c/d...)
...
//END
with:
Identifier Name of array
a, b, c, d Values of array
Note
Values of the String type must be enclosed in quotation marks.
//A(Thread)
; Size / Pitch / Core diameter
(0.3 / 0.075 / 0.202)
(0.4 / 0.1 / 0.270)
(0.5 / 0.125 / 0.338)
(0.6 / 0.15 / 0.406)
(0.8 / 0.2 / 0.540)
(1.0 / 0.25 / 0.676)
(1.2 / 0.25 / 0.676)
(1.4 / 0.3 / 1.010)
(1.7 / 0.35 / 1.246)
//END
Load
The LA (Load Array) function can be used to load an array from another file.
LA(Identifier [, File])
with:
Identifier Name of array to be loaded
File File in which the array is defined
Note
If an array in the current configuration file must be replaced by an array from
another configuration file, then both arrays must have the same name.
Note
Please note that a valid value must be assigned to a variable after the LA function
has been used to assign another array to the toggle field of the variable.
Access
The value of an array access operation can be transferred with property Value
(identifier.val).
Access to one-dimensional array with only one column:
Identifier [Z,[M[,C]]] or Identifier [Z,[M[,C]]].val
The line index (line number of the array) or column index (column number of the
array) each start at 0.
If a line index or column index points to outside the array, the value 0 or a blank
string is output and error variable ERR set to TRUE.
Error variable ERR is also set to TRUE if a search concept cannot be found.
Compare mode
When compare mode C = 0 is used, the content of the search line or search
column must be sorted in ascending order. If the search concept is smaller than the
first element or greater than the last, the value 0 or a blank string is output and the
error variable ERR is set to TRUE.
When compare mode C = 1 is used, the search concept must be present in the
search line or search column. If the search concept cannot be found, the value 0 or
a blank string is output and the error variable ERR is set to TRUE.
Access mode
Table 3-5
Mode M Line value Z Column value S Output value
0 Line index Column index Value from line Z and
column S
1 Search concept, Column index of Value from line found
search in column 0 column from which and column S
value is read
2 Line index of line Search concept, Value from line Z and
from which return search in line 0 column found
value is read
3 Search concept, Search concept, Value from line and
search in column 0 search in line 0 column found
4 Search concept, Column index of Line index
search in column S search column
5 Line index of search Search concept, Column index
line search in line Z
Example
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)
(0.8 / 0.2 / 0.540)
(1.0 / 0.25 / 0.676)
(1.2 / 0.25 / 0.676)
(1.4 / 0.3 / 1.010)
(1.7 / 0.35 / 1.246)
//END
//A(Array2)
("DES" "PTCH" / "CDM" )
/
(0.3 / 0.075 / 0.202 )
(0.4 / 0.1 / 0.270 )
(0.5 / 0.125 / 0.338 )
(0.6 / 0.15 / 0.406 )
(0.8 / 0.2 / 0.540 )
(1.0 / 0.25 / 0.676 )
(1.2 / 0.25 / 0.676 )
(1.4 / 0.3 / 1.010 )
(1.7 / 0.35 / 1.246 )
//END
Explanation: Search for value 0.5 in column 0 of "Thread" array and output the
value found in column 1 of the same line.
Explanation: Search for the line with the content 0.6 in column 0 of array "Array2",
search for the column with the content "STG" in line 0. Transfer the value from the
line and column found to VAR1.
Explanation: Search for value 0.125 in column 1 of array "Thread" and transfer the
line index of the value found to VAR1.
Explanation: Search in line 4 of the "Thread" array for the value 0.2 and transfer
the column index of the value found to VAR1. Comparison mode 1 was selected
because the values of line 4 are not sorted in ascending order.
Array status
The Status property can be used to scan a configuration file to find out whether an
array access operation is supplying a valid value. Status is a read-only property.
Identifier [Z, S, [M[,C]]].vld
with:
Identifier Name of array
The result of the scan can be:
FALSE = invalid value
TRUE = valid value
PRESS(VS1)
MPIT = 0.6
IF MET_G[MPIT,0,4,1].VLD == TRUE
PIT = MET_G[MPIT,1,0].VAL
REG[4] = PIT
REG[1] = "OK"
ELSE
REG[1] = "ERROR"
ENDIF
END_PRESS
Contrary to the array that displays status data saved in cables, which can then be
selected, the values of a table element (grid) are continually updated. This involves
a tabular representation of values of system variables that can be addressed using
one block in one channel.
Assignment
The table element definition is assigned to a variables definition via a table
identifier (see chapter "Screen form elements").
The variables definition determines the values to be displayed and the table
element definition determines the appearance and the assignment in the screen
window. The grid uses the I/O-field-specific properties from the variables definition
line.
Screen window
The visible area of the grid is determined by the width and height of the I/O field.
Any lines or columns than cannot be seen can be displayed by scrolling
horizontally and vertically.
Table description
The variable definition will contain a reference to a table description:
DEF Identifier = 1
(Variable type
2
/[limit values or toggle field or table identifier]
3
/[Default]
4
/[Texts (Long text, Short text|Image, Graphics text, Units text)]
5
/[Attributes]
6
/[Help display]
7
/[System or user variable]
....
Note
The small figures above "(" and "/" are merely an aid to assignment and do not
form part of the syntax.
Table identifiers
Identifiers of a table containing NCK/PLC values of the
same type, which can be addressed via a channel
block. The table identifier is differentiated from limit
values or toggle fields by the addition of a % sign in
front of it. The file containing the table description can
be specified by adding a comma after the identifier and
then inserting the name of the file.
Load Grid
The table description can be made available dynamically within the LOAD block
using the LG method (LG stands for Load Grid).
In order to assign a table using LG, the variable must have already been defined as
a grid variable and cross-referenced to an existing, valid table (see example).
Example:
In this example the "dummygrid" table is first assigned to variable “var1".
Depending on the content of the R parameter R[0], either the “grid1” or “grid2”
tables, which are defined within the same file as variable “var1”, will be loaded In
the LOAD block.
//M(FORM1/"GRID")
Def Var1=(R/% dummygrid///////200,75,300,85)
HS1=("")
HS2=("")
HS3=("")
HS4=("")
HS5=("")
HS6=("")
HS7=("")
HS8=("")
VS1=("")
VS2=("")
VS3=("")
VS4=("")
VS5=("")
VS6=("")
VS7=("EXIT",ac7,se1)
VS8=("")
Load
reg[0] = rnp ("$R[0]")
if (reg[0] == 0)
LG ("grid1", "var1")
else
LG ("grid2", "var1")
endif
End_Load
PRESS(VS7)
EXIT
END_PRESS
//END
//G(grid1/0/5/1,1); (name/type/lines...)
(R///"longtext1","R1 to R4"/wr2//"$R[1]"/80/1) ; 1st column, header "R1 to R3",
; from R1 with offset1
(R///"long text2","R5 to R8"/wr2//"$R[5]"/80/1) ; 2nd column, from R5
(R///"long text3","R9 to R15"/wr2//"$R[9]"/80/2) ; 3rd column, from R9 with offset2,
; R9 11 13 15
//end
//G(grid2/0/5/1,1); (name/type/lines...)
(R///"longtext1","R1 to R4"/wr2//"$R[1]"/60/1) ; 1st column, header "R1 to R3",
; from R1 with offset1
(R///"long text2","R5 to R8"/wr2//"$R[5]"/60/1) ; 2nd column, from R5
(R///"long text3","R9 to R15"/wr2//"$R[9]"/60/2) ; 3rd column, from R9 with offset2,
; R9 11 13 15
(R///"long text 4","R9 to R15"/wr2//"$R[9]"/60/2) ; 3rd column, from R9 with offset2,
; R9 11 13 15
//end
//G(dummygrid/0/5/1,1); (name/type/lines...)
(R///"longtext1","R1 to R4"/wr2//"$R[1]"/80/1) ; 1st column, header "R1 to R3",
; from R1 with offset1
(R///"long text2","R5 to R8"/wr2//"$R[5]"/80/1) ; 2nd column, from R5
//end
Header
//G(Table identifier/Table type/Number of lines / [Fixed line attribute],[Fixed column
attribute])
Table identifier:
The table identifier is used without a leading % sign. It can only be used once in
each screen form.
Table type:
0 (default value) Standard table for PLC or user data
(NCK and channel-specific data)
1 (and others, reserved)
No. of lines:
Number of lines including header
1 Active
0 Not active
Fixed column attribute:
0 Active
1 Not active
The fixed line or fixed column is not scrolled.
Column definitions
Column definition line:
(type / limit values / empty / long text, column header / attributes / help image /
system or OPI variable / column width / offset1, offset2, offset3)
For PLC or NC variables, the index number is of significance with one or several
indices. Only those variables with index are sensibly represented as grid.
Column properties are modified via the variable identifier in the definition line and
the column index (starting at 1).
Example:
Var1[1].st="Column 1"
String variable
If the variable is a string type variable, the string length must be specified in Type.
The next three examples show the assignment between cells and PLC variables in
a standard table (table type=0).
The first line shows the column headers.
Example 1:
//G(MB_TAB/0/4/,1)
(I///,"MB 1 to MB 3"///"MB1"/100/1)
(I///,"MB 4 to MB 6"///"MB4"/100/1)
MB 1 to MB 3 MB 4 to MB 6
Value(MB1) Value(MB4)
Value(MB2) Value(MB5)
Value(MB3) Value(MB6)
//G(MB_TAB/0/4/,1)
(I///," MB1, MB3, MB5"///"MB1"/100/2)
(I///," MB2, MB4, MB6"/// "MB2"/100/2)
Lines and columns are assigned as follows:
In each line, the index of the variable was increased by the offset (=2).
//G(MB_TAB/0/4/,1)
(IB///,"M1.1, M2.1, M3.1"/// "M1.1"/100/1)
(IB///,"M1.1, M2.1, M3.1"/// "M1.1"/100/0.1)
In the first column, the first variable index for each line was increased by 1.
(Offset1 = 1)
In the second column, the second variable index for each line was increased by 1.
(Offset2 = 1)
Example: (I///,"Lines"///"0"/60/1)
• Consecutive texts from the language files can be entered in the first column.
Example: (S///,"Lines"///"$80000"/60/1)
Identifier.Row
Identifier.Col
Line properties:
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.
Example:
Var1[2,3].val=1.203
If the line and column indices are not specified, the indices of the focused cell apply.
Example:
Var1[2,3].val=1.203
Is equivalent to:
Var1.Row =2
Var1.Col=3
Var1.val=1.203
The names of the softkeys are predefined. Not all softkeys need to be assigned.
HSx x1-8, Horizontal softkeys 1 to 8
VSy y1-8, Vertical softkeys 1 to 8
Defining a softkey
Properties are assigned to softkeys in the softkey definition line:
SK = (Text[, Access level][, Status])
with:
SK softkey, e.g., HS1 to HS8, VS1 to VS8
Text
Labeling of softkeys as described in
chapter "Syntax rules in this documentation".
Creation of text: see also chapter "General information about the configuring
environment"
Display: Refer to chapter "Display images".
Instead of a text, a picture file name
is specified in the following form:
"\\my_pic.bmp" or via a separate text file
$85199 with the following text in the
(language-specific) text file: E.g.,
85100 0 0 "\\c:\pic\my_pic.bmp". An image
to be displayed on a softkey may
be 80 * 34 pixels in size.
Note
A line break in the softkey text is created with %n. A maximum of 2 lines of 10
characters each are available in HMI Advanced and 2 lines of 9 characters each
in HMI Embedded sl.
Access level
ac0
...
ac7
For a definition, see table "Protection levels".
Default setting: AC7
Status
se1 visible
se2 disabled (gray text)
se3 displayed (last softkey used)
Default setting: se1
The properties Text, Access Level and Status can be changed in the methods
when the application is running:
SK.st = Text "Abort" ;Softkey, e.g., the text "Abort"
SK.ac = Access level ;Softkey, e.g., with access level 4
SK.se = Status ;Softkey, e.g., with status 2
with:
Access Level
0
...
7
Status
1 visible
2 disabled (gray text)
3 displayed (last softkey used)
ac0 is the highest protection level and ac7 the lowest. The operator can only
access information on the level for which he is authorized and all lower levels.
Example
//S(Start)
HS7=("Example", ac7, se1)
PRESS(HS7)
LM("Form3")
END_PRESS
//END
HS4=("")
HS5=("")
HS6=("")
HS7=("")
HS8=("")
VS1=("")
VS2=("")
VS3=("")
VS4=("")
VS5=("")
VS6=("")
VS7=("")
VS8=("OK", AC7, SE1)
PRESS(VS8)
EXIT
END_PRESS
//END
<RECALL> key
In addition to the horizontal and vertical softkeys, a <RECALL> key is
also available.
In contrast to the softkeys, the RECALL key does not need to be
defined. The status and access level properties can be assigned to the
key during runtime.
PRESS(RECALL)
RECALL.ac = 1
LM("Form5")
END_PRESS
If you do not assign any action (function, calculation of variables, property changes)
to <RECALL>, you can use it to exit newly configured user interfaces and return to
the standard application.
Note
More information about defining variables for one or more screen form elements
and all relevant information about creating display images can be found in
chapter "Syntax for screen form definition".
3.5 Methods
Various types of events (exit input field, actuate softkey) can initiate particular
actions in screen forms and screen-form-dependent softkey menus (softkey menus
that are called from a newly configured screen form). These actions are configured
in methods.
The following table shows the basic principle used to configure a method:
Method PRESS(HS1)
Actions:
- Functions, LM...
see chapter "Functions" LS...
PRESS(SK)
...
END_PRESS
with:
SK Name of softkey: HS1-HS8, VS1-VS8,
or RECALL plus the following keys:
Keys
PU PageUP Screen up
PD PageDown Screen down
SL ScrollLeft Cursor key Left
SR ScrollRight " Right
SU ScrollUp " Up
SD ScrollDown " Down
END_PRESS
PRESS (HS2)
END_PRESS
PRESS(PU)
INDEX = INDEX -7
CALL("UP1")
END_PRESS
The LOAD method is executed after the variable and softkey definitions (DEF
Var1= ..., HS1= ...) have been interpreted. At this time, the screen form is not yet
displayed.
LOAD
...
END_LOAD
LOAD ;Start identifier of Load method
Form1.Hd = $85111 ;Assign text from language
;file as screen form header
VAR1.Min = 0 ;Assign Limit Value variable MIN
VAR1.Max = 1000 ;Assign Limit Value variable MAX
END_LOAD ;End identifier
otto=1
ELSE
VAR1.st="Caution Error!" ;If the system variable value = 1,
;then the short text of the variable:
;Caution Error!
otto=2
ENDIF
VAR2.Var=2
END_CHANGE
The global CHANGE method is executed if the value of any variable changes and
no element-specific CHANGE method has been configured.
CHANGE()
...
END_CHANGE
CHANGE()
EXIT ;If any variable value changes,
;the screen form is closed
END_CHANGE
The FOCUS method is executed if the focus (cursor) is positioned on another field
in the screen form.
FOCUS
...
END_FOCUS
FOCUS
DLGL("The focus has been placed on variable"
<< FOC <<)
END_FOCUS
The FOC function may not be initiated as a result of navigation event. The cursor
may only be moved in softkey press blocks, change blocks, … The response to
cursor left, right, up, down as well as PGUP, PGDN are permanently pre-defined.
Note
Within the focus block, it is not possible to select a different variable, nor can a
new screen form be loaded.
OUTPUT(identifier)
...
END_OUTPUT
with:
Identifier Name of OUTPUT method
OUTPUT(CODE1)
"CYCLE82(" Var1.val "," Var2.val "," Var3.val ","
Var4.val "," Var5.val "," Var6.val ")"
END_OUTPUT
Block numbers and skip identifiers
The OUTPUT block must not contain line numbers or skip identifiers if you wish to
keep the line numbers and hide markings directly set with active program support
in the parts program in case of recompilations.
Editor changes in the parts program produce the following response:
Condition Procedure
Number of blocks remains Block numbers are retained
unchanged
Number of blocks is reduced The highest block numbers are canceled
Number of blocks is increased New blocks are not numbered
Note
The NC code can be generated in an extra file by means of file functions and
transferred to the NC. For more information about NC code generation, see
chapter "File functions".
Example:
DEF var100=(R//1) ;Original, corresponds to Version 0
DEF var101(1)=(S//"Hello") ;Extension with effect from Version 1
When writing the OUTPUT block, you can specify which variables are written, with
reference to a particular version identifier.
Example:
OUTPUT(NC1) ;Only the variables of the original version are
;made available in the OUTPUT block
The OUTPUT block for the original version does not need a version identifier,
however you can specify it with 0. OUTPUT(NC1) is equivalent to OUTPUT(NC1,0).
Version identifier n in the OUTPUT block includes all variables of the
originals 0, 1, 2, ... up to and including n.
The code is automatically generated with the newest version, even if the code was
previously recompiled with an older version.
The newest screen form with all its variables is always displayed.
;Version 0 (default)
//M(XXX)
DEF var100=(R//1)
DEF var101=(S//"Hello")
DEF TMP
VS8=("GC")
PRESS(VS8)
GC("NC1")
END_PRESS
OUTPUT(NC1)
var100",,"var101
END_OUTPUT
//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
...
;Original
OUTPUT(NC1)
var100","var101
END_OUTPUT
...
;and the new version in addition
;Version 1
OUTPUT(NC1,1)
var100","var101"," var102
END_OUTPUT
3.6 Functions
LM function
The LM function can be used to load another screen form.
A screen form, which calls another screen form but remains open
when the second screen form is displayed is known as a master
screen form. A screen form called from a master screen form is
known as a sub-screen form.
The advantage of the MSx parameter is that when screen
forms are replaced, they do not have to be reinitialized every
time because the data and layout of the current screen form
are retained and data transfer is facilitated.
Note
Parameter VARx transfers only the value of the variable in each case, i.e.,
variables can be read and written in the sub-screen form, but are not visible in it.
Variables can be returned from the sub-screen form to the master screen form by
means of the EXIT function.
PRESS(HS1)
LM("FORM2",”CFI.COM”,1, POSX, POSY,
DIAMETER)
;Interrupt screen form1 and open screen form2. At the same
;time, transfer variables POSX, POSY and DIAMETER.
DLGL("Form2 ended")
;On return from screen form2, the following text appears in the
;dialog line of screen form1: Screen form2 ended.
END_PRESS
LS function
The LS function can be used to display another softkey menu.
LS("identifier"[, "file"][, merge])
with:
Identifier Name of softkey menu
File Path name (HMI file system or NC file system)
of configuration file
Default setting: Actual configuration file
Merge 0: All currently displayed softkeys are deleted - the
newly configured softkeys are entered
1: Merge, i.e., only newly configured softkeys overwrite
existing softkeys, other Softkeys are retained with their
Note
Even HMI, ShopMill, ShopTurn or ManualTurn standard softkeys can be retained
with their existing functionality.
Default setting: 0
PRESS(HS4)
LS("Menu2",,0) ;Menu2 overwrites existing menu,
;All existing softkeys are deleted
END_PRESS
Note
As long as the interpreter has not displayed a screen form, 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 methods of the definition blocks for the start
softkey and softkey menus.
Note
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)
EXIT function
The EXIT function is used to search for master forms.
If it finds a master screen form, the currently displayed form is closed and you
return to the master screen form. If no master screen form is found, you exit from
the newly configured user interfaces and return to the standard application.
EXIT
PRESS(HS1)
EXIT
END_PRESS
If the current screen form has been called as a sub-screen form with transfer
variables, the variables in the sub-screen form can be changed and transferred
back to the master screen form.
EXIT[(VARx)]
with:
VARx
List of variables/variable values that are transferred from the master screen
form to the subscreen form.
The variable content/values are assigned to the variables that were
transferred to the subscreen form from the master screen form using the LM
function.
Note
The sequence of variables/variable values must be the same as the sequence of
transfer values programmed for the LM function to preclude assignment errors.
Any unspecified variable values will not be changed when the transfer is made.
The modified transfer variables are immediately valid in the master screen form
on execution of the LM function.
//M(FORM1)
...
PRESS(HS1)
LM("FORM2",”CFI.COM”,1, POSX, POSY,
DIAMETER)
;Interrupt screen form1 and open screen form2. At the same
;time, transfer variables POSX, POSY and DIAMETER.
DLGL("Form2 ended")
;On return from screen form2, the following text appears in the
;dialog line of screen form1: Screen form2 ended.
END_PRESS
...
//END
//M(form2)
...
PRESS(HS1)
EXIT(5, , CALCULATED_DIAMETER)
;Exit screen form2 and return to screen form1 in the line after
;LM. At the same time, assign value 5 to variable
;Assign the value of the CALCULATED_DIAMETER variables
;to the DIAMETER variables.
;The variable POSY retains its current value.
END_PRESS
...
//END
EXITLS function
You can use the EXITLS function to exit the current user interface and load a
defined softkey menu.
with:
Softkey menu Name of the softkey menu to be loaded
Path name Directory path of the softkey menu to be loaded
PRESS(HS1)
EXITLS( "Bar1", "AEDITOR.COM" )
END_PRESS
EXE function
The EXE function can be used on HMI Advanced to call a program created as an
application with the HMI Advanced OEM package or to start the Free Contour
Programming application.
With HMI Embedded sl, EXE can only be used to start the Free Contour
Programming application.
Note
The EXE function GPROC is only available within the parts program editor.
PRESS(VS3)
EXE(GPROC) ;Start GPROC.EXE (free
;contour programming)
END_PRESS
Write
WNP ("System or user variable", value)
with:
System or
user variable Name of NC or PLC variable
Value Value that is to be written to the system or
user variable.
NC variable
All machine data, setting data and R parameters are available, but only certain
system variables (see “List of all accessible system variables”). In HMI Advanced,
you can find the accessible system variables under operating area
"Parameters"/"System variables"/"Edit view"/"Insert variable".
All global and channel-specific user variables (GUDs) can be accessed. but local
and program-global user variables cannot be processed.
Note
User variables may not have the same names as system or PLC variables.
Table 3-7
Machine data
Table 3-8
Setting data
Table 3-9
System Variables
R parameter 1 $R[1]
PLC variable
All PLC data are available.
Table 3-10
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
PLC data
Flag byte x bit y Mx.y
Flag byte x MBx
Flag word x MWx
Flag double word x MDx
Input byte x bit y Ix.y or Ex.y
Input byte x IBx or EBx
Input word x IWx or EWx
Input double word x IDx or EDx
Output byte x bit y Qx.y or Ax.y
Output byte x QBx or ABx
Output word x QWx or AWx
Output double word x QDx or ADx
String y with length z from data block x DBx.DBSy.z
In the variable names, "*" is the separator. The values are transferred to register
REG[Register index] and those following in the order that the variable names
appear in the command.
The following therefore applies:
The value of the first variable is located in REG[Register index].
The value of the second variable is located in REG[Register index + 1]
etc. (see chapter “General screen form variables”).
Notice
Please note that the list of variables must not contain more than 500 lines nor
exceed the number of registers specified in chapter “General screen form
variables”.
Example:
MRNP("$R[0]*$R[1]*$R[2]*$R[3]",1)
In the previous example, REG[1] to REG[4] are described with the value of
variables $R[0] to $R[3].
Registers
Registers are needed to be able to exchange data between different screen forms.
Registers are assigned to a screen form. They are loaded when the first screen
form is generated and assigned the value 0 or a blank string.
REG [x]
with:
x Number of register with x = 0...19
Real or String type = Variant
Registers with x ≥ 20 are used by Siemens.
Note
Registers may not be used directly in OUTPUT blocks for generating NC code.
Register value
The assignment of values to registers is configured in a method.
Identifier.val = Register value
or
Identifier = Register value
with:
Identifier Name of register
Register value Value of register
UNLOAD
REG[0] = VAR1 ;Assign value of variable 1 to assign
END_UNLOAD
UNLOAD
These registers can then be assigned to local variables again in the next screen
form.
LOAD
VAR2 = REG[0]
END_LOAD
Note
If a new form is generated from an existing form by means of the LM function, the
content of registers are automatically transferred to the new screen form at the
same time and so are available for further calculations in the second screen form.
Register status
The Status property can be used to scan a register for valid content. Status is a
read-only property.
Identifier.vld
with:
Identifier Name of register
The result of the scan can be:
FALSE = invalid value
TRUE = valid value
One possible use for the register scan function is to ensure that a value is written to
a register only if the relevant screen form is a "master screen form".
IF REG[15].VLD == FALSE ;Scan validity of register value
REG[15] = 84
ENDIF
VAR1 = REG[9].VLD ;Assign Var1 the value of the status scan
;of REG[9]
FOC - Focus
The input focus (current active I/O field) in a screen form is controlled by the FOC
function. FOC can be read and written.
FOC
When FOC is read, the result is the name of the focused variable.
IF FOC == "Var1" ;Read focus
REG[1] = Var1
ELSE
REG[1] = Var2
ENDIF
Note
The FOC function cannot be applied to variables with input mode wr = 0 and wr =
4 or to Help variables.
Entry
The ENTRY variable can be used to check by what method a screen form has
been called.
ENTRY
The result of the scan can be:
0 = No programming support
1 = Programming support (screen form called under programming)
2 = Programming support + default from previous form screen
(Subscreen form)
3 = Programming support + recompilation
4 = Programming support + recompilation with generated
comments and # characters
5 = Programming support + recompilation with generated comments,
but no # characters
S_CHAN
Variable n S_CHAN can be used to determine the number of the current channel
for display or any evaluation purposes.
CURPOS
Using the CURPOS variable, it is possible to call or manipulate the position of the
cursor in the active input field of the current screen form. The variable indicates
how many characters are located in front of the cursor. If the cursor is located at
the start of the input field, then CURPOS assumes the value of 0. If the value of
CURPOS is changed, then the cursor is positioned at the appropriate location in
the input field.
In order to be able to respond to changes in the variable value, it is possible to
monitor for changes using a CHANGE block. If the value of CURPOS changes,
then a jump is made to the CHANGE block and the instructions contained there are
executed.
with:
VarN List of variables to be checked. A total of 29 variables,
separated by commas, can be checked. The maximum
character length of 500 must not be exceeded.
It may be useful to check if variables contain a valid value before an NC code with
the GC function.
IF CVAR == TRUE ;Check all variables
VS8.SE = 1 ;If all variables are correct, softkey VS8 will be visible
ELSE
VS8.SE = 2 ;If one variable contains an invalid value, softkey VS8
;cannot be used
ENDIF
ELSE
DLGL (”VAR1 and VAR2 are not OK”)
;If the content of VAR1 and VAR2 are incorrect,
;"VAR1 and VAR2 are not OK" appears in the
;dialog line (see DLGL function)
ENDIF
DLGL ("String")
with:
String Text, which is displayed in the dialog line
VAR1=(S)
VAR2=(S)
VAR3=(S)
VAR4=(S)
CHANGE()
REG[7] = EVAL("VAR"<<REG[5]) ;The expression in parentheses
;is the value of VAR3 if the value of
;REG[5] equals 3. REG[7] is
;assigned the value of VAR3.
END_CHANGE
3.6.5 Subprograms
Repeatedly used configuring instructions or others, which define the process for a
particular operation can be configured in subprograms. Subprograms can be
loaded into the main program or other subprograms at any time and executed as
often as necessary, i.e., the instructions they contain do not need to be configured
repeatedly. The definition blocks of the screen forms/softkey menu constitute a
main program.
Defining a subprogram
Subprograms are identified by the block identifier //B and terminated with //END in
a configuration file. Several subprograms can be defined under each block
identifier. A block is structured in the following way:
//B(Block name)
SUB (identifier)
...
END_SUB
[SUB(identifier)
...
END_SUB]
...
//END
with:
Block name Name of block identifier
Identifier Name of subprogram
Note
Variables programmed in subprograms must be defined in the screen form in
which these subprograms are called.
LB("Block name"[,"File"])
with:
Block name Name of block identifier
File Path name of configuration file
Default setting: Current configuration file
LOAD
LB("PROG1") ;Block "PROG1" is located in the current configuration file
;and then loaded
LB("PROG2","XY.COM")
;Block "PROG2" is located in configuration file XY.COM
;and then loaded
END_LOAD
Note
Subprograms can also be defined directly in a screen form so that they do not
have to be loaded.
//M(FORM1)
VAR1 = ...
VAR2 = ...
LOAD
...
LB("PROG1") ;Load block
...
END_LOAD
CHANGE()
...
CALL("UP1") ;Call and execute subprogram
...
END_CHANGE
...
//END
RETURN
//B(PROG1) ;Block start
SUB(UP2) ;Subprogram start
IF VAR1.val=="Otto"
VAR1.val="Hans"
RETURN ;If the variable value = Otto, the value Hans is assigned
;to the variable and the subprogram is terminated at
;this point
ENDIF
VAR1.val="Otto" ;If the variable value ≠ Otto,the value Otto is assigned
;to the variable
END_SUB ;Subprogram end
//END ;Block end
REFRESH function
The function has no parameters. It can be called in any block (e.g., PRESS ...
END_PRESS).
Effect
1. All active variable content (input/output fields) in the display range are output
again with the background and foreground.
2. All active and visible short description texts, graphic texts and unit texts are
output again without clearing the text background first.
Generating NC code
The GC (Generate Code) function generates NC code from the OUTPUT method.
GC("identifier"[,"target file"][,Opt],[append])
Identifier Name of OUTPUT block from which code is generated
Target file Path name of target file for HMI or NC file system
If the target file is not specified (only possible within
programming support system), the code will be written to
the location of the cursor within the file that is currently
open.
Opt Option for generating comments
0: Default Generate code with comment for the purpose of
recompilability.
1: Do not create comments in the generated code.
Note: This code cannot be recompiled.
Append This parameter is only relevant if a target file is specified.
0: Default If the file already exists, the old content is deleted.
1: If the file already exists, the new code is written at the
start of the file.
2: If the file already exists, the new code is written at the end
of the file.
• NC notation: /_N_MPF_DIR/_N_MY_FILE_MPF
Only possible with HMI Embedded sl.
The file is created in the MPF directory on the NC.
• DH notation: /MPF.DIR\MY_FILE.MPF
Possible with both HMI Advanced and HMI Embedded sl.
In the case of HMI Embedded sl, the target file specification is converted into
NC notation and the file is created on the NC.
In the case of HMI Advanced/HMI Embedded WIN32, the file is created in the
data management path.
Note
Invalid variables generate a blank string in generated NC code and an error
message in the log book when they are read.
Note
The GC function cannot be called in sub-forms because variables originating from
master forms can be used in sub-forms. These variables would not, however, be
available in response to a direct call.
When generated code is processed manually with the Editor, the number of
characters for values created by the code generation program must not be
changed. Changing these values would make it impossible to recompile the code.
Remedy:
Recompile,
Enter changes using the configured screen form (e.g., 99 Æ 101)
GC
//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
RESS(VS1)
D_NAME = "MPF.DIR\MESSEN.MPF"
GC("CODE1",D_NAME) ;NC code:
Cycle123(123, -6)
M30
write from the OUTPUT method to
file C:\MPF.DIR\MESSEN.MPF
END_PRESS
Note
With the following functions, DOS paths (e.g., \MPF.DIR\TEST.MPF) are used for
HMI Embedded sl and HMI Advanced.
with:
Source file Complete path data of the source file
Target file Complete path data of the target file
Example:
CP("D:\source.mpf","E:\target.mpf") ;Copy from source.mpf to E:\target.mpf
IF FILE_ERR > 0 ;Query whether error has occurred
IF FILE_ERR == 1 ;Query specific error numbers
;and output associated error text
VAR5 = "Drive/path not available"
ELSE
IF FILE_ERR == 2
VAR5 = "Path/file access error"
ELSE
IF FILE_ERR == 3
VAR5 = "Wrong file name"
ENDIF
ENDIF
ENDIF
ELSE
VAR5 = "All OK" ;If no errors have occurred in CP (or GC)
;output of
ENDIF "All OK"
AP("File")
with:
File Complete path name of HMI file to be transferred
//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
END_PRESS
PRESS(HS8)
D_NAME = "\MPF.DIR\MESSEN.MPF"
AP(D_NAME) ;Load file into NC
END_PRESS
PP("file")
with:
File Complete path name of NC file to be transferred
PP("\MPF.DIR\MESSEN.MPF")
SP("file")
with:
File Complete path name of NC file
//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
END_PRESS
PRESS(HS8)
AP("\MPF.DIR\MESSEN.MPF") ;Load the file into the NC
SP("\MPF.DIR\MESSEN.MPF") ;Select file
END_PRESS
DP("file")
with:
File Complete path name of file to be deleted
DP("\MPF.DIR\CFI.MPF")
EP("File", Result)
with:
File Complete path name of file for
NC file system or HMI file system
Result Name of a variable to which the result of the scan
is to be assigned
Note
Channel-dependent PI Services always refer to the current channel.
PI Services, which require the TO area (PI Services of tool functions) always refer
to the TO area allocated to the current channel.
with:
Service Identifier of PI service
n parameter List of n parameters of PI Service. The
parameters are separated by commas.
For a description of available PI Services, refer to chapter “List of PI services”.
PRESS(HS2)
PI_SERVICE("_N_CREATO",55)
END_PRESS
PRESS(VS4)
PI_SERVICE("_N_CRCEDN",17,3)
END_PRESS
PI_START(transfer string)
Unlike the OEM documentation, the transfer string should be entered in inverted
commas.
Example:
PI_START("/NC,001,_N_LOGOUT")
with:
Function name Name of external function
File Complete path name of DLL file
Note
An external function must have at least one return parameter.
//M(FORM1)
DEF VAR1 = (R)
DEF VAR2 = (I)
DEF RET = (I)
FCT InitConnection = ("c:\user\mydll.dll"/I/R,I,S/I,S)
;The external function "InitConnection"
;is declared. The data type of
;the return value is Integer, the data types
;of the fixed call parameters are Real,
;Integer and String, the data types of the
;variable call parameters are Integer
;and String.
LOAD
RET = InitConnection(VAR1+SIN(VAR3),13,"Servus",VAR2,
REG[2])
;RET is assigned the value of the external
;function "InitConnection" with call parameters
;VAR1+SIN(VAR3), 13, Servus, VAR2, and
;REG[2].
END_LOAD
Mathematical operators
Table 3-11
Mathematical operators
+ Addition
- Subtraction
* Multiplication
/ Division
MOD Modulo operation
() Parentheses
AND AND operator
OR OR operator
NOT NOT operator
ROUND Round off numbers with decimal places
Example:
VAR1.VAL = 45 * (4 + 3)
ROUND command
The ROUND command is used to round off numbers with up to 12 decimal places
during execution of a screen form configuration. The variable fields cannot accept
the decimal places in the display.
ROUND is controlled by the user with two parameters:
Example:
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.
Bit-serial operators
Bit operators
BOR Bit-serial OR
BXOR Bit-serial XOR
BAND Bit-serial AND
BNOT Bit-serial NOT
SHL Shift bits to left
SHR Shift bits to right
SHL operator
Syntax:
variable = value SHL increment
Bits are shifted to the left using the function SHL. You can specify both the value to
be shifted and the number of shift increments directly or via a variable.
If the limit of the data format is reached, the bits are shifted beyond the limit without
displaying an error message.
Example:
PRESS(VS1)
VAR01 = 16 SHL 2 ;Result = 64
VAR02 = VAR02 SHL VAR04 ;Convert content of VAR02 to 32-bit unsigned
;and shift content to left by number of bits
;specified in VAR04. Then convert 32-bit value
;back to format of variable VAR02.
END_PRESS
SHR operator
Syntax:
variable = value SHL increment
Bits are shifted to the right using the function SHR. You can specify both the value
to be shifted and the number of shift increments directly or via a variable.
If the limit of the data format is reached, the bits are shifted beyond the limit without
displaying an error message.
Example:
PRESS(VS1)
VAR01 = 16 SHR 2 ;Result = 4
VAR02 = VAR02 SHR VAR04 ;Same effect as SHL but shift to right
Mathematical functions
Table 3-12
Mathematical functions
SIN(x) Sine of x
COS(x) Cosine of x
TAN(x) Tangent of x
ATAN(x, y) Arc tangent of x/y
SQRT(x) Square root of x
ABS(x) Absolute value of x
SDEG(x) Conversion to degrees
SRAD(x) Conversion to radian
Note
The functions operate with radian measure. The functions SDEG() and SRAD()
can be used for conversion.
VAR1.VAL = SQRT(2)
Table 3-13
Constants
PI 3.14159265358979323846
FALSE 0
TRUE 1
VAR1.VAL = PI
Table 3-14
Comparison operators
== Equal to
<> Not equal to
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
IF VAR1.VAL == 1
VAR2.VAL = TRUE
ENDIF
Conditions
Condition with a command:
IF
...
ENDIF
Strings
Strings can be processed as part of the configuration. These allow text to be
displayed dynamically or different texts to be chained for the purpose of code
generation.
Examples
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"
Chaining of strings:
VAR12.VAL = VAR1 << " Error."
;Result: "This is an error"
Deleting a variable:
VAR10.VAL = "" ;Result: Blank string
String functions
The following string functions are available:
• Determine length of string
• Find a character in a string
• Extract substring from left
• Extract substring from right
• Extract substring from mid-string
• Replace substring
String length
Syntax:
LEN(string | varname)
Parameters:
string Every valid string expression. NULL is output if string is empty
Function:
Determine the number of characters in a string.
Note:
Only one of the two parameters is allowed.
Example:
DEF VAR01
DEF VAR02
LOAD
VAR01="HELLO"
VAR02=LEN(VAR01) ;Result = 5
END_LOAD
Find a character
Syntax:
INSTR(start, string1, string2 [,direction])
Parameters:
start Number, position from which string1 is searched for in string2.
This parameter defines the start position for the search. Enter 0
to start searching at the beginning of string2.
Function:
INSTR returns the position of the first occurrence of a specified character in a
string.
Note:
0 is returned if string1 does not occur in string2.
Example:
DEF VAR01
DEF VAR02
LOAD
VAR01="HELLO/WORLD"
VAR02=INST(1,"/",VAR01) ;Result = 6
END_LOAD
Parameters:
string Character string or variable with the string to be
processed
length Number of characters that are to be read out
Function:
LEFT returns a string containing the specified number of characters starting from
the left-hand side of a string.
Example:
DEF VAR01
DEF VAR02
LOAD
VAR01="HELLO/WORLD"
VAR02=LEFT(VAR01,5) ;Result = "HELLO"
END_LOAD
Parameters:
string Character string or variable with the string to be
processed
length Number of characters that are to be read out
Function:
RIGHT returns a string containing the specified number of characters starting from
the right-hand side of a string.
Example:
DEF VAR01
DEF VAR02
LOAD
VAR01="HELLO/WORLD"
VAR02=RIGHT(VAR01,4) ;Result = "WORLD"
END_LOAD
Parameters:
string Character string or variable with the string to be
processed
Example:
DEF VAR01
DEF VAR02
LOAD
VAR01="HELLO/WORLD"
VAR02=MIDS(VAR01,4,4) ;Result = "LO/W"
END_LOAD
Replacing characters
Syntax
REPLACE ( String, FindString, ReplaceString [, Start [, Count ] ] )
Parameters:
String String is to be replaced by the ReplaceString
FindString String to be replaced
ReplaceString Replacement string (is used instead of the FindString)
Start position from which a search is made or replacement
Start
made
Number of characters that are to be searched from the Start
Count
position after the FindString
Function:
The REPLACE function replaces a character/string in a string by another
character/string. It is similar to the basic function of the same name.
Return value:
The log book is a file (Error.com) to which error messages generated by syntax
interpretation are written.
The operator himself must set up the file in the comment directory (HMI Advanced).
The system does not start to interpret syntax until the start softkey has been
defined and a screen form with start and end identifiers and a definition line has
been configured.
//S(Start)
HS6=("1st screen form")
PRESS(HS6)
LM("Form1")
END_PRESS
//END
//M(Form1)
DEF Var1=(R)
//END
If Expand user interface detects errors when interpreting the screen form
configuration files, these errors are stored in the ERROR.COM ASCII file.
This file is deleted each time HMI Embedded sl / HMI Advanced is restarted. It
details
- which action was affected by an error,
- the line and column number of the first defective character and
- the whole defective line in the configuration file.
If the screen form was created using the PC test environment, then the error file
will be stored in the directory referenced by environment variable RAMDISK (HMI
Embedded sl).
The ERROR.COM file is created only when errors actually occur during
interpretation of the configuration files.
Displaying ERROR.COM
HMI Advanced:
Call the editor in the "Services" or "Start-Up" area.
HMI Embedded sl
"Setup" operating area, (in "Manufacturer" access mode), / "HMI" / "Editor" / "Temp
drive" (4th softkey on vertical softkey bar. This softkey is not displayed with the
manufacturer password, but it responds nonetheless (it is also displayed with the
system password)
• Select ERROR.COM
• Press INPUT key
With the “File functions” softkey, the file can also be copied to a PC by means of a
set up Windows network drive.
4
4 Programming Support
Note
For the sake of compatibility, the cycles support (//C...) function is still supported by the
description language used in earlier versions and not by the syntax of the Expand user
interface system.
New user interfaces are created with tools provided by the Expand user interface
system. However, the procedures applied under Programming support differ in a
number of ways. These differences are described in this chapter.
Configuration file
The definition of new screen forms for programming support is stored in
configuration file AEDITOR.COM.
Newly configured screen forms can be displayed in the Editor main screen through
selection of 5 start softkeys (horizontal softkeys 2, 3, 4, 5 and 6).
The default labels for softkeys 2 to 5 are "Contour", "Drilling", "Milling" and
"Turning".
Horizontal softkeys 14 and 15 (softkeys 6 and 7 in the expanded menu) are
assigned the "Gauge turning" and "Gauge milling" functions.
5 Einstiegssoftkeys
Fig. 4-1
In addition to the functions provided by Expand user interface, the following extra
functions are available under Programming support:
Find text
The "Find text" 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.
Search backwards from the current cursor position:
SB ("String")
Search forwards from the current cursor position:
SF ("String")
with:
String Text to be found
• A blank must be inserted before and after the search concept unit, consisting of
search string and its value, in the currently selected NC program.
• The system does not search for concepts within comment text or other strings.
• The value to be output must be a numerical expression. Expressions in the form
of "X1=4+5" are not recognized.
Note
The value of a string can be output if it contains the following between string and value:
• Nothing
• Space character
• Equality sign
X100 Y200
Abc=SB("Y") ;The variable Abc contains the value 200
or
X100 Y 200
Abc=SB("Y") ;The variable Abc contains the value 200
or
X100 Y=200
Abc=SB("Y") ;The variable Abc contains the value 200
Recompile
In the Programming support system, it is possible to recompile NC code that has
been generated with the GC function and to display the variable values in the I/O
field of the associated screen form again.
Variables from the NC code are transferred to the screen form. At the same time,
the variable values from the NC code are compared with the calculated variable
values from the configuration file. If the values do not coincide, an error message is
written to the log book because values have been changed during NC code
generation.
If the NC code contains the same variable several times, it is evaluated at the point
where it last occurs during recompilation. A warning is also written to the log book.
Variables not utilized in NC code during code generation are stored as user
comment. The term "user comment" refers to all information required to recompile
codes. User comment must not be altered.
Note
The block consisting of NC code and user comment can be recompiled only if it starts at
the beginning of a line.
The following value is displayed for VAR1 in the input screen form:
VAR1 = 222
Introduction
When using cycle support in the parts programs, additional comment lines are
generated in front of and behind the cycle call and used for recompilation. These
lines start with ;# ... .
When cycles noted directly using the editor are called (also referred to as "old"
cycles), then this information is missing. A description is provided in the following
text as to how the information for cycles, contained in the lines in ;# can be
provided by configuring INI files. This means, that after re-compilation, it will be
possible to work with the following using the screen form support:
• Directly noted cycle calls
• Siemens cycle calls
• User cycle calls.
For Siemens cycles, the required configuration files are included in the scope of
supply.
For screen forms generated with the Expand user interface function for the
purpose of supporting user cycles, the information in the screen form descriptive
files can be used for this process.
This process can be used to optionally generate the addition of ;# lines required for
screen form support in the parts program for directly noted “old" cycles.
Prerequisites:
For these cycles, a configuration generated using the Expand user interface tools
must exist or be generated.
Project design
The wizard.ini file can be stored in the following directories:
..-\user
..-\oem
..-\hmi_adv
..-\mmc2
A search is made in the specified directories in this sequence and the information
of the section
Cycle-specific entries with the following form are located in the particular paket.ini
files
[cycleName] Name of the cycle' as section entry
Mname= mandatory, screen form name
Dir= mandatory, directory of the file with the screen form information
Dname= mandatory, file with screen form information
Output mandatory, name of the OUTPUT block
Anzp= mandatory, number of parameters (defined variables)
Version= optional, cycle version, without data 0
Code_typ= optional, output with = 0 or without = 1 ;# lines
Example
[CYCLE83]
Mname=CYC83
Dir=cst.dir
Output=bohren.ini
Anzp=17
Version=3
Code_typ=0
Details
A differentiation is made between various versions of cycles with the same name
using the version number.
Main block/secondary block and block numbers in front of the cycle call are kept
unchanged.
;NCG#CYC94#\CST.DIR\DREHEN.COM#NC1#1#*NCG;*RO*;*HD*
;##########*NCG;*RO*;*HD*
/1234 :44 CYCLE94(,,"",)
;#END#*NCG;*RO*;*HD*
Introduction
The "Activate dialog screen from NC Program" function is also referred to as a
"command channel".
With HMI Advanced and HMI Embedded sl, dialog screens defined by the user can
be displayed:
• The appearance of the dialog screens is defined through configuration
(modification of COM file in the cycles directory). The dialog screen is called
and exited by function calls from the parts program.
• User-configured dialog screens do not modify the HMI system software (user
interface).
• User-defined dialog screens cannot be called simultaneously in different
channels.
Application
One possible application of user-defined dialog screens is, for example, to assign
defined values to particular user variables (GUD) prior to a parts program run.
• Up to 2 channels:
The "command channel" is activated by default for channels 1 and 2.
Syntax
MMC ("operating area, command, COM file, dialog screen name, user data
definition file, graphics file (HMI Advanced only), display time or acknowledgment
variable (HMI Advanced only), text variables, etc.", "Acknowledgment mode")
Parameters:
• Operating area
Name of softkey, with which the configured user dialogs can be called. Default
entry: CYCLES, displayed as "Cycles" on softkey 14 and accessible via the
ETC key.
• Command
Picture_on select screen
Picture_off deselect screen
• COM file
Name of the dialog screen file (max. 8 characters, in the user, manufacturer, or
standard cycles directory CST.DIR). The dialog display appearance is defined
here. The dialog screen is used to display user variables and/or comment texts.
Text variables
Screen header or comment text from a text variable in the COM file.
Acknowledgment mode
"S" Synchronous, acknowledgment via "OK" softkey
MMC("CYCLES,PICTURE_ON,T_SK.COM,BILD1,MGUD.DEF,BILD_3.BMP,TEST_1,A1","S")
Bedienbereich
Com-Dateiname im
Zyklenverzeichnis
Dialogbildname
Anwenderdatendefinitionsdatei
Quittungsmodus:
Synchron, Asynchron, No Quit
%_N_UGUD_DEF
;$PATH=/_N_DEF_DIR
Geltungsbereich
kanalspezifisch
Datentyp
Variablentyp
Real Integer String
Eingabegrenzen: Anwendervariable
min. 15, max. 75
Vorbelegungswert
für Anw.VAR
Kommentartext mit
optionalen Textvariablen
Zugriffsart:
W = schreiben/lesen
R = nur lesen
W, r j = schreiben/lesen mit Kommentar
kein j: linksbündig zum Ein- bzw. Ausgabefeld
j: rechtsbündig zum Ein- bzw. Ausgabefeld
Note
For variable names, text variables and cycle names, capital letters must be used.
Text variables
[TEXTVARIABLEN]
Bezugsparameter
für MMC- Befehl
[SCREEN3]
SK1 = END
SK2 = Screen2
Softkeys SK0 to SK15 can be configured
Parts programs
N10 MMC("CYCLES,PICTURE_ON,T_SK.COM,SCREEN1,GUD4.DEF,,,
A1","N")
N20 TEST_1 = 1
N25 G4 F10
N30 MMC ("CYCLES, PICTURE_OFF", "N")
M30
Text variable
[TEXT VARIABLES]
A1 =............Example1: MMC command without acknowledgment………
Sequence
The user variable TEST_1 from GUD4.DEF with header A1 is displayed for a short
time.
The hold time comes from parts program block N25.
Parts programs
N10 MMC("CYCLES,PICTURE_ON,T_SK.COM,BILD6,GUD4.DEF,,10,
T1,G1","N")
N15 G4 F15
N30 MMC("CYCLES,PICTURE_OFF","N")
M30
Text variable
[TEXT VARIABLES]
The 7th parameter is interpreted as the display time for the mode without
acknowledgment (10 seconds). The contents of the table are then deleted. The
screen form remains on the screen until PICTURE_OFF is selected. The 8th
parameter (T1) is the text variable for the screen header. If there is no entry, the
operating area name (cycles) is displayed. The parameters 9 to 23 are optional text
variables ("G1=optional text variable"). In this COM file, the optional text variables
must be preassigned in the "[Text variables]" section.
Sequence
The comment text from the COM file (USER VAR TEST_1) is expanded in this
example at the position of the first wild card (%1) to include the contents of the text
variable "G1=optional text variable". By calling the text variables contained in the
MMC command (9th to 23rd parameters), messages or names can be "composed"
in this way.
Parts programs
N15 MMC("CYCLES,PICTURE_ON,T_SK.COM,SCREEN1,GUD4.DEF,,,F1",
"S")
N18 STOPRE
N20 TEST_1 = 5
N25 MMC(CYCLES, PICTURE_OFF","N")
M30
Text variable
F1 = ...Example3: MMC command with synchronous acknowledgment mode…
OK
Sequence
The user variable Test_1 is displayed until the "OK" softkey is pressed.
The user variable has also been overwritten with the value 5 here.
Without STOPRE, this assignment would be carried out before the keyboard input
(after it with STOPRE).
By specifying position parameters in the COM file, you can insert the comment field,
or input and output field, at any position within the display area.
Parts programs
N15 MMC("CYCLES,PICTURE_ON, T_SK.COM; Screen2,
GUD4.DEF,,,C1","S")
N20 TEST_3 = 5
N30 MMC("CYCLES,PICTURE_OFF","N")
N40 M30
(R///Var.Name/R/TEST_3/6000,2800,8000/200,3000,7500)
The two parameters each consist of three numerical values; these specify the
position and length of the field. The values are specified in Twips, with 15 Twips
roughly corresponding to one pixel.
The field height is defined as being 250 Twips.
Meaning of values:
(./6000,2800,8000/....)
Beispiel 4: Positionsparameter
ANW.VAR TEST_2
1.000000
OK
To ensure that the cursor control works seamlessly, the configured fields must
overlap one another (see below):
Beispiel 4: Positionsparameter
1.000000
1.000000
1.000000
1.000000
OK
Graphics that were created with Paintbrush, for example, can be displayed in the
dialog screen by means of a graphics file specification.
A comment text for the picture can also be preassigned using the COM file. You
can position this comment text by specifying position parameters.
Note
You can only move the picture itself by repositioning it in the graphics program.
Parts programs
N10 MMC("CYCLES,PICTURE_ON,T_SK.COM,SCREEN8,GUD4.DEF,GRA.BMP,,
M1","S")
N20 MMC("CYCLES,PICTURE_OFF","N")
N30 M30
Text variable
M1 = ......Example5: Insert picture…..
Pictures are created, e.g., with the drawing tool "Paintbrush".
Picture size: 300X500 pixels, you can only change the picture size in Paintbrush.
Beispiel 5: Bildeinblendung
OK
Parts programs
MMC("CYCLES,PICTURE_ON,T_SK.COM,SCREEN7,GUD4.DEF,,TEST_1,J1",
"S")
Text variable
J1 = ...Example7: OPI variables
[OPIVar]
$Actual value=/Channel/machineaxis/actToolbasePos[u1,1]
$R[12]=/Channel/Parameter/rpa[u1,12]
Beispiel 7: BTSS-Variablen
R-Parameter12 1.000000
OK
Sequence
A space line is created under the variable TEST_1.
The actual axis value is read-only.
R12 is preset with 1.
Softkeys can be preprogrammed in the COM file for display in asynchronous mode,
linked with the acknowledgment variable and evaluated in the parts program.
Parts programs
N10 QUIT_1 = "START"
N20 MMC("CYCLES, PICTURE_ON,T_SK.COM,SCREEN3,GUD4.DEF,,
QUIT_1,K1","A")
N30 LABEL0:
N40 STOPRE
N50 IF MATCH (QUIT_1,"SK1") >= 0 GOTOF LABEL1
N60 IF MATCH (QUIT_1,"SK2") >= 0 GOTOF LABEL2
N70 GOTOB LABEL0
N80 LABEL2:
N90 MMC("CYCLES, PICTURE_ON,T_SK.COM,SCREEN1,GUD4.DEF,,,
N1","N")
N100 G4F10
N110 LABEL1:
N120 MMC("CYCLES, PICTURE_OFF","N")
N130 M30
Text variable
[SCREEN3]
SK1 = END
SK2 = Screen2
Softkey 8
Softkey 9
Beispiel 8: MMC-Befehl mit asynchronem Quittungsmodus
Softkey 10
ANW.VAR TEST_1 START
Softkey 11
Softkey 12
Softkey 13
Softkey 14
OK Softkey 15
ENDE Bild2
Sequence
The screen called via the asynchronous MMC command continues to be displayed
until one of the two configured softkeys is actuated:
• With the "END" softkey, the user dialog is immediately exited.
• With the "Screen2" softkey, a further screen is then displayed for 10s.
Program structure
• The acknowledgment variable is defined as a string.
Length of the string: >= 20
(Values < 20 are evaluated internally only,
SK0 ... SK15 are entered at position 17...20 when a softkey is actuated).
• The string is assigned a value in the parts program and any old softkey
information is deleted.
Beispiel 8: Bild 2
OK
Notes
5
5 Configuring OP Hotkeys and PLC Keys
5.1 Introduction
This chapter deals with configuring
• A group of 6 hotkeys on the OP 010 and OP 010C and Sinumerik keyboards
with hotkey blocks
• The <machine> and <Menu Select> keys. The assignment of these keys can be
changed optionally.
• Keys (e.g., machine console keys) and events evaluated by the PLC, which, as
PLC keys or "virtual keys", can initiate configured sequences of operations in
the HMI system.
Overview
MSTT
The 6 OP hotkeys can be used to display any HMI operating area directly. This
shortens the usual selection process via the main menu. This changes the default
assignment of the 6 hotkeys.
The interface between the PLC and the HMI enables a PLC key to be transferred
from the PLC to the HMI. The operations initiated on the HMI system in this way
can be configured. Key numbers 50 to 254 are available for use by the PLC.
As an option, the <Machine> and <Menu Select> keys can be configured in the
same way as the 6 OP hotkeys and are assigned to HK7 and HK8.
Configuration is carried out using the Expand user interface system functions
described in the previous chapters.
Applications
• Selection of operating areas (e.g., Machine, Parameters, etc.)
• Selection of specific submenus (e.g., selection of the alarm screen in the
Diagnosis area)
• Initiation of actions (e.g., selection of the tool list in the Parameters area and
pressing of softkey HS3)
• Specific selection of menus created using the Expand user interface system
• Selection of additional screens, depending on the current operating situation, in
screens created using the Expand user interface system.
5.1.1 OP hotkeys
Standard layout
The 6 OP hotkeys are laid out in 2 lines, each of which contains 3 keys:
Line 1
Label Depends on OP
(no symbol)
OP10 Machine Program Offset
OP10C Machine
OP10S Position
Configured as HK1 HK2 HK3
Line 2
Label Prg. Manager Alarm Custom
(no symbol)
Configured as HK4 HK5 HK6
You can find more information about HK7 and HK8 in chapter “Configuring <M>
key and <Menu select> as HK7, HK8”.
Note
Hot keys 1 and 7 (<M> key) cannot be distinguished by the hardware on the
OP10S (position of labeling). Hot key 7 is always triggered when one of the keys
is pressed. If HK1 is configured, this event can only be triggered by an external
(MFII) keyboard.
When the system is supplied, the assignment of hotkeys to the functions is entered
in file keys.ini.
Directories
With HMI Advanced, the file can exist in various directories. These are as follows:
• user
• oem
• add_on *)
• mmc0w32 *)
• mmc2 *)
• hmi_adv *)
The assignments for HK1 to HK6 are supplied and stored as follows in keys.ini in
directory mmc2 for the standard system:
Key Function
HK1 Position Machine operating area, last screen
HK2 Program Program operating area, last screen
HK3 Offset Parameters operating area, last screen
HK4 Prg. manager Main screen programming
HK5 Alarm Diagnosis operating area, alarm screen
HK6 Custom Default Custom operating area, last screen
(user-configured operator interface)
Key Function
HK1 Position Machine operating area, last screen
HK2 Program Program editor, last status
HK3 Offset Offset area, last status
HK4 Prg. manager Program directory, last status
HK5 Alarm Diagnosis operating area, alarm screen
HK6 Custom Default Custom operating area, last screen
(user-configured operator interface)
With HMI Embedded sl, the data in keys.ini can be adapted using the Software
Configuration Kit (SCK):
Entry format
Details about the input format can be found in the "Hotkey event" subsection below.
To better understand the repeated actuation of the same hotkey used in that
subsection, multiple keypress will be described first.
Multiple keypress
A function extension determines the sequence when the hotkey is pressed
repeatedly:
1. The number "n" in the key data in file Keys.ini represents the number of
keypress repeats, thus allowing a separate task/state/action combination to be
assigned each time the hotkey is pressed. This means that each time the key
is pressed, a change of state can take place, and a screen and a softkey can
be selected.
2. When the user changes to another operating area, the repeat status of the
hotkey is cleared. In the new area, the hotkey is considered not to have been
pressed.
It does not matter how the user changed to the other operating area (operating
area menu, etc.). In addition, each time a function key is pressed (e.g., softkey,
area switchover key, channel switchover key, etc.), the status is reset.
3. Inputting data into fields in the current screen form does not interrupt the
repetition sequence. Pressing a softkey in the current screen form interrupts
the repetition sequence with the softkey that was used to call the current
screen form.
Note
Multiple keypress is possible for HK1–HK8 and for keys HK9–HK49, which are
reserved for Siemens.
The keys.ini configuration file has a dedicated section for assigning the ini files for
PLC keys. Without this entry, the ini files will not be detected. The default settings
are as follows:
[HMI_INI_FILES]
Task0 = machine.ini
Task1 = paramet.ini
Task2 = program.ini
Task3 = services.ini
Task4 = diagnosis.ini
Task5 = startup.ini
Task6 = shopmill.ini alternative Task6 = shopturn.ini depending on the system,
mandatory!
Task11=custom.ini
Hotkey event
Structure:
The maximum number of attributes, which can be assigned to a hotkey event are
the 4 attributes in bold print above.
The KEY key attribute identifies the event and must always come first. All other
attributes are optional, but at least one other attribute must be specified. These
attributes can appear in any sequence in the line.
Pressing the <ETC> key again accesses softkey menu 3 (only possible in HMI
Advanced):
SK1 → Task16
...
SK8 → Task23
If no task is specified, the event is assigned to the current task (current operating
area).
• Attribute State:
The State attribute can be used to select a specific screen within a task. The
range of values depends on the individual application and is limited to between
0 and 65534 (65535 is used by the system).
For lists of selectable states, refer to:
“List of selectable states in HMI Advanced”
“List of selectable states in HMI Embedded sl”
“List of selectable states in ShopMill on NCU”
“List of selectable states in ShopTurn on NCU”
• Attribute Action:
The Action attribute can be used to select a specific softkey within a task. In
order to be effective, the attribute must be set from a defined state, e.g., the
main menu.
The value range depends on the corresponding application, with a maximum of
between 0 and 17. A special role is played by the Action attribute with a value ≥
100, which initiates a screen selection via Expand user interface.
Actions in the value range 0 - 99 are not executed for ShopMill/ShopTurn.
Note
A power ON is required in order for the changes to keys.ini to take effect.
Configuring example
[KeyConfiguration]
KEY1.0 = Task:=0, State:=10, Action:=2 ;Hotkey 1, 1st activation
KEY1.1 = State:=10, Action:=3 ;Hotkey 1, 2nd activation
KEY1.2 = Action:=4 ;Hotkey 1, 3rd activation
<RECALL> key 16
<ETC> key (HMI-Embedded sl only) 17
Hotkey assignment:
MFII keyboard Hotkey
<M> key (Machine) SHIFT+F10 HK7
<Menu Select> (area switchover) F10 HK8
If there is no entry in the keys.ini configuration file for hotkey 7 or hotkey 8, the key
will not be mapped as a hotkey but will retain its original function (compatible
mode). A key definition without a response will be assigned the <empty> attribute.
Examples
[KeyConfiguration]
; Activate mapping of the M key to hotkey 7 and set new
; key reaction
Key7.0 = Task:= 3, State := 10
HMI Advanced
The machine manufacturer can overload the entries in keys.ini in directory mmc2
with his own settings. These settings can be entered in the /user or /oem
directories searched earlier during execution. Only deviations in the settings must
be stored, not the complete block.
HMI Embedded sl
Special cases Task, State, and Action
• The range of values for the Task is limited to between 0 and 15.
• HMI Embedded sl always selects the last screen combination that was active
before the task change (state not configured).
• The range of values for State is limited to 0. Only the main menu of the
operating area can be selected.
• The range of values for Action is between 0 and 17 :
SK horizontal 1 to 8,
SK vertical 1 to 8,
Recall and
ETC limited.
An Action value ≥ 100 automatically switches the HMI software to Expand user
interface operational sequences.
If Action ≥ 100, the configuration of the INI files determines which softkey menu or
screen form should be displayed and in which state.
[MachineManual]
...
[MachineAutomatic]
...
[ProgramManager]
...
[Program]
...
[MessagesAlarms]
...
[ToolsZeroOffset]
...
[MachineMDI]
General notation:
Action.State = Screen form/softkey menu to be loaded, configuration file
Examples
[KeyConfiguration]
100.10=LS("Softkey1","param.com")
100.30=LM("Form1","param.com")
101.10=LS("Softkey1","param.com")
101.30=LM("Form2","param.com")
102=LM("Form2","param1.com")
In the PLC interface, area DB19. Byte10 is provided for key selection. Here, the
PLC can select one key between 50 and 254 directly.
(Keys 1 to 49 are reserved for Siemens, keys 50 to 254 are specific PLC keys.)
Note
In M:N mode, the area for the 2nd HMI interface is DB19.Byte60.
Acknowledgment
An HMI system acknowledgment is divided into two steps:
1. In the first step, the HMI software transfers the control information 255 to
DB19.Byte10.
2. In the second step, the actual acknowledgment takes place on the PLC in
which DB19.Byte10 is cleared.
This is necessary in order that, despite the lack of synchronism between the HMI
and the PLC, the same key code transferred twice in immediate succession can be
detected by the HMI. This defined virtual key activation enables the HMI to identify
every PLC key sequence uniquely. The control information is of no significance to
the PLC program (transparent) and must not be changed.
If the task switchover cannot be executed, the operator interface will send a
message to indicate this.
A new request can only be set if the HMI system has acknowledged the previous
request (0 in the interface). If the PLC program is deriving the key from an MCP
key or from another source, it must provide sufficient intermediate storage for the
key to ensure that no data is lost if the key is pressed very quickly.
There is an interface between the PLC and HMI Embedded sl for selecting the
displays. These PLC displays offer the same means of display and functions as for
the displays selected via the softkeys.
Because each NCU can be addressed by up to two HMI Embedded sl’s at the
same time in systems with "several operator panel fronts and NCUs", this interface
can exist in duplicate.
The interface is located in the operator panel front interface (DB19). The interface
requires a total of 8 bytes in DB19, 4 bytes for each HMI Embedded sl.
HMI1:
DB19.DBW28: Display number
DB19.DBB30: PLC control bits HMI, PLC byte
DB19.DBB31: Control bits HMI PLC, HMI byte
HMI2:
DB19.DBW28: Display number
DB19.DBB80: PLC control bits HMI, PLC byte
DB19.DBB81: Control bits HMI PLC, HMI byte
PLC byte:
Bit0 Display selection
Bit1 deselect screen
HMI byte:
Bit0 Display selection/deselection accepted
Bit1 Display is selected/deselected
Bit2 Display is selected
Bit3 Display is deselected
Bit4 Error, display selection not possible
Bit7 Inactive bit
Two bytes are used for the display number to be transferred by the PLC, one byte
respectively (PLC byte and HMI byte) for coordinating the display selection.
Display selection
The relations with the individual steps are shown in the above table by the numbers
in brackets (step numbers).
1. The PLC enters the display number in the number word.
2. The PLC sets bit0 in the PLC byte for display selection if bit0 and bit7 are set to
zero in the HMI byte.
3. HMI Embedded sl acknowledges to the PLC that it has accepted the display
selection by setting bit0 in the HMI byte. At the same time, the value zero is
written to bit3 and bit4 in the HMI byte.
4. The PLC resets bit0 in the PLC byte.
5. HMI Embedded sl acknowledges to the PLC that the interpreter has started by
setting bit1 in the HMI byte.
6. The HMI resets bit0 in the HMI Embedded sl byte.
7. Bit2 is set in the HMI byte if the corresponding display appears.
Display deselection
The relations with the individual steps are shown in the above table by the numbers
in brackets (step numbers).
1. The PLC sets bit1 for display deselection in the PLC byte if bit1 and bit2 are set
in the HMI byte and bit7 is reset.
2. HMI Embedded sl acknowledges to the PLC that it has accepted the display
deselection by setting bit0 in the HMI byte. At the same time, the value zero is
written to bit3 and bit4 in the HMI byte.
3. HMI Embedded sl acknowledges the display deselection to the PLC by setting
bit3 and resetting bit0, bit1 and bit2 in the HMI byte if the interpreter is
terminated.
4. The PLC resets bit1 in the PLC byte.
After display deselection by the PLC or the EXIT command, HMI Embedded sl
switches back to the last selected HMI display.
Operating areas
With HMI Advanced, the displays are shown in a separate operating area similar
to the measuring cycle displays. This operating area can be selected manually by
means of the sixth softkey (PLC displays) on the second operating area menu. If
no PLC display is active when the area is selected, the text "Currently no PLC
display active" is displayed in the header. The PLC is informed when the area is
selected/deselected manually via bit2 of the HMI byte.
It is also possible to change to other operating areas via the MMC 103's operating
area after a display has been selected by the PLC.
The first file found is evaluated. The display number is assigned to the configured
display in the section [PLC_SELECT] of the COMMON.COM file.
Changes of task and state can also be configured for PLC keys.
Examples
Same example as in chapter “Assigning functions to keys”
[KeyConfiguration]
HK50.0 = Action:=100
The configuration shown here does not execute a change of task or state and
therefore remains in the current task and screen. An Action 100 is forwarded.
A change of task and state could be configured here in exactly the same way.
HK50.0 = Task:=1, State:=10, Action:=100
2. The main actual value screens for each mode (softkey vertical 6)
Switching between the WCS and MCS is possible via the PLC.
There are only two configuration options for the state in HMI Embedded sl:
No configuration: Maintains current state.
Configuration with 0: The basic state of an operating area is activated.
Legend:
* If option available (display MD is set)
Custom screen These designated functions can be configured with the Expand
user interface system.
If this type of configuration is available, it is activated. Otherwise, the
standard ShopMill screen will appear.
Machine Manual
State Function
19 Basic screen
2 T, S, M, etc.
30 Workpiece zero
5 Workpiece zero - set up edge
7 Workpiece zero – /user screen form
31 Workpiece zero – align edge / user screen form
32 Workpiece zero – spacing 2 edges / user screen form
33 Workpiece zero – rectangular edge
8 Workpiece zero – arbitrary edge /user screen form
34 Workpiece zero – /rectangular pocket
9 Workpiece zero – 1 hole /user screen form
35 Workpiece zero – 2 holes
36 Workpiece zero – 3 holes
37 Workpiece zero – 4 holes
38 Workpiece zero – /rectangular spigot
10 Workpiece zero – 1 circular spigot /user screen form
39 Workpiece zero – 2 circular spigots
40 Workpiece zero – 3 circular spigots
41 Workpiece zero – 4 circular spigots
42 Workpiece zero - set up plane
11 Workpiece zero – calibration probe, length* /user screen form
12 Workpiece zero – calibration probe, radius
50 Tool gauging
16 Tool gauging – length manual / user screen form
17 Tool gauging – diameter / user screen form
13 Tool gauging – length auto* / user screen form
14 Tool gauging – diameter auto* / user screen form
51 Tool gauging – / user screen form
15 Tool gauging – calibration probe* /user screen form
52 Tool gauging – calibration fixed point* /user screen form
60 Swiveling*
4 Positioning
18 Face milling
1 ShopMill settings
90 – /user screen form
MDA
State Function
20 MDA
Machine Auto
State Function
200 Basic screen
210 Program control
220 Block search
230 – /user screen form
242 Simultaneous recording – top view*
243 Simultaneous recording – 3-plane view*
244 Simultaneous recording – volume model*
250 Setting
Program Manager
State Function
300 NC directory
310 Parts programs*
320 Subprograms*
330 User directory 1 *
340 User directory 2 *
350 User directory 3 *
360 User directory 4 *
380 Standard cycles*
381 Manufacturer cycles*
382 User cycles*
383 User directory 5 *
384 User directory 6 *
385 User directory 7 *
386 User directory 8 *
Program
State Function
400 Machining plan / G code editor
412 Simulation – top view*
413 Simulation – 3-plane view*
414 Simulation – volume model*
Messages/alarms
State Function
500 Messages
510 – /user screen form
520 – /user screen form
Legend:
* If option available (display MD is set)
Custom screen These designated functions can be configured with the Expand
user interface system.
If this type of configuration is available, it is activated. Otherwise, the
standard ShopTurn screen will appear.
MDA
State Function
20 MDA
Machine Auto
State Function
200 Current block display
210 Program control
220 Block search
230 – /user screen form
242 Simutaneous recording – 3-window view*
243 Simultaneous recording – side view*
244 Simultaneous recording – front view*
250 Setting
Program Manager
State Function
300 NC directory
310 Parts programs*
320 Subprograms*
330 User directory 1 *
340 User directory 2 *
350 User directory 3 *
360 User directory 4 *
380 Standard cycles*
381 Manufacturer cycles*
382 User cycles*
383 User directory 5 *
384 User directory 6 *
385 User directory 7 *
386 User directory 8 *
Program
State Function
400 Machining plan / G code editor
412 Simulation – 3-window view*
413 Simulation – side view*
414 Simulation – front view*
Messages/alarms
State Function
500 Messages
510 – /user screen form
520 – /user screen form
Tools/zero offsets
State Function
600 Tool list
610 Tool wear
620 OEM tool list*
630 Magazine
640 Zero offset
650 R parameters
660 – /user screen form
670 Spindles
680 User data
690 Machine data
5.10 Examples
Possible entries for Keys.ini
1
...
6 Hardkeys OP
7
optionale Hardkeys OP
8
9
...
Reserviert für Siemens
49
50
... OEM-Applikationen
81
82
... allgem. Applikationen
254
Applikationsdefinitionen:
[KeyConfigurationAuto]
[KeyConfigurationMDA]
[KeyConfigurationJOG] [KeyConfiguration]
//S(Leiste1)
...
5.12 Terms
Hotkeys
6 keys on OP010, OP010C and SINUMERIK keyboards with hotkey blocks.
Pressing the keys selects an operating area directly.
As an option, 2 additional keys can be configured as hotkeys.
PLC keys
PLC keys are provided as hotkeys via the PLC interface of the HMI software. Their
reactions can be configured in the HMI.
They are set up as:
• Buttons on the machine control panel
• Evaluations of PLC signal logic
They are also referred to as “virtual keys”.
SK
Softkey
Notes
6.1 Introduction
The operating areas described thus far can be extended and modified using
Expand user interface tools. Extensions can only be applied to softkeys, which
have not been used previously. With the resources described in the following, it is
possible both in
The Custom operating area can be accessed directly (on OPs with hotkey blocks:
OP 010, OP 010C) with:
6.1.1 Delivery
HMI Advanced
The CUSTOM operating area is available as standard and can be reset via an
entry in file regie.ini (control.ini) or assigned to any other horizontal softkey.
HMI Embedded sl
The CUSTOM operating area is available as standard. It is supplied with the
application diskette and can be assigned to any horizontal softkey by the customer
using the Software Configuration Kit (SCK.exe).
Details for integrating the Custom operating area into the system can be found in
chapter “Integration of Custom operating area".
HMI Advanced
See chapter "Integration of the Custom operating area".
HMI Embedded sl
Using the display machine data MD 9016: MM_SWITCH_TO_AREA, you can
define in which operator area HMI Embedded sl should start up, whereby the
CUSTOM operating area can also be specified.
The value in the MD provides the number of the softkey for the required operating
area.
Horizontal softkeys 1 – 8: 1–8
Softkeys of the 1st continue menu after pressing ETC: 9 – 16
The standard default setting is 12.
With hotkey
The CUSTOM hotkey on the OP 010 and OP 010C always activates this operating
area (default). Other additional configurations are possible.
The CUSTOM operating area also permits a configurable text in the operating area
display field in the global menu.
All softkeys are empty and can be assigned as required by the customer via
Expand user interface and given Expand user interface functionality.
When switching from and back to the CUSTOM area, the configured screen, which
was active before exiting the CUSTOM operating area, is active.
HMI Advanced
The operating area is enabled in the REGIE.INI file and is assigned to a softkey.
Example:
Activation via horizontal softkey 4 in the 1st expanded softkey menu
(standard assignment).
b) In file control.ini this operating area can also be selected as the standard start-
up area. The entry must be made in section [Miscellaneous]:
PoweronTaskIndex = 11
The corresponding lines can be deactivated by adding a ";" comment line at the
beginning of the line if the Custom area is not to be selected or should not be
activated on start-up.
The area can be assigned to a different softkey by changing the task number.
HMI Embedded sl
The HMI software for the CUSTOM application evaluates file custom.ini and
decides whether the area should be displayed. The file contains a section for this
purpose (HMI Embedded sl only):
[Activate]
Activate=True
The operating area is assigned to a horizontal softkey by the customer using the
Software Configuration Kit (SCK.EXE), menu option "Modify configuration".
In order for the Custom operating area to be activated by default on start-up, the
softkey numbers must be entered in display machine data MD 9016:
MM_SWITCH_TO_AREA.
If this display MD has the value -1, HMI Embedded sl will start up in the operating
area specified as the start-up area with SCK. (When delivered, softkey 1 in the
main menu area MACHINE).
All Custom area elements, which are used to access other elements, e.g.,
• Softkey menus
• I/O fields
and their associated functions must be configured using Expand user interface
tools.
In the CUSTOM application, all softkeys are available as Expand user interface
softkeys.
These softkeys are configured in file custom.com (like the standard version of
aeditor.com supplied) as described below.
In HMI-Embedded sl, the common.com file for customer start softkeys must
contain references to custom.com. The common.com file is supplied so that all
CUSTOM operating area softkeys are linked to custom.com.
Scope of delivery
The software that interprets the configuration files for user interfaces and
provides/activates the functions described in previous chapters is included in the
scope of delivery of the HMI software, along with an ASCII editor for creating the
content of the configuration files (program editor).
Products
ShopMill on NCU and ShopTurn on NCU are based on HMI Embedded sl. HMI
Embedded WIN32 and HMI Advanced can be combined on a single hardware
platform. Thus, the operating systems of these products are available as
alternatives to HMI Advanced on a single hardware platform. Particularities in the
configuration and search strategies for this case are described in chapter “Shared
HW platform for both HMI systems".
Creating displays
If the configured screen forms are to include images, then a suitable graphics
program (e.g., Windows Paint) will be required (see Graphics section in chapter
“Syntax").
Language-dependent texts
Language-dependent texts used in screen forms are stored in ASCII text files
whose syntax corresponds to that of the alarm text files.
with:
xxxx 5000 to 9899 (text identification number range reserved for users).
You must assign unique numbers.
Text Text that appears in the screen form, enclosed in inverted commas
Examples:
85000 0 0 "Retraction level"
85001 0 0 "Drilling depth"
85002 0 0 "Thread pitch"
85003 0 0 "Pocket radius"
Parameters 2 and 3 are separated by blanks and act as control characters for
alarm text output. To ensure that the text format is identical to that of the alarm
texts, these two parameters must always be set to 0.
When using HMI Advanced, no entries are required in the COMMON.COM file.
HMI Embedded sl
The central control file COMMON.COM must be stored in one of the following NC
directories:
• CUS ;User cycles directory
• CMA ;Manufacturer cycles directory
• CST ;Standard cycles directory
The system searches through the directories for COMMON.COM in the following
order. The first file with this name is evaluated.
HMI Advanced
The central control file COMMON.COM must be stored in one of the following NC
directories or in the DH path:
• CUS or
CUS.DIR on the DH path ;User cycles directory
• CMA or
CMA.DIR on the DH path ;Manufacturer cycles directory
• CST or
CST.DIR on the DH path ;Standard cycles directory
• COM or
COM.DIR on the DH path ;Comment directory
HMI Embedded sl
Color format for the Help displays: 256-color bitmaps in bmp format.
The memory requirement for the displays and configuration files is determined
solely by the size of the CF card used. As with a hard disk, the possible number of
files cannot be specified.
HMI Advanced
Files with the names listed in chapter “Table of start softkeys” are searched for in
directories (see chapter “Storing the configuration files") in the specified order. If
files of the same name are stored in different directories, then the first file detected
according to the search strategy is interpreted.
The sizes of configuration files are not subject to any particular restrictions. It
should be noted, however, that large files are processed more slowly.
COMMON.COM contains various sections for specific hardware settings. For HMI
Embedded sl, section [MMC_DOS] is relevant for the Expand user interface
system.
Note
The file is supplied together with the cycles. It must always be created on the NC.
Syntax of COMMON.COM
Comments: Text contained within a line after a semicolon ";" is treated as a
comment and is not evaluated.
Possible parameters:
SCxxx=file or HCyyy=file
SCxxx Softkey Connection (connection between softkey and configuration
file). xxx represents an internal softkey identity of the start softkey
See Chapter 2 "Defining a start softkey".
The softkey identity must be entered directly after SC.
Softkeys will not be displayed unless a softkey connection is defined
for them.
File The configuration file, which contains the desired softkey and screen
form definitions.
HMI file names may only be 8 characters in length. The file extension
is added with a dot.
Examples:
SC101= my_file.com ; (my_file.com on HMI, NC)
HCyyy Hotkey connection (connection between actual key and configuration
file). yyy represents an internal hotkey identity of the start hotkeys.
The hotkey identity must be entered directly after HC.
Only hotkeys for which a hotkey connection has been defined have an
effect.
Note
The file names listed in chapter “Table of start softkeys” are already stored as
defaults. However, the matching files must be created on the NC or HMI by the
user.
Start softkeys
The start softkeys named here can be used to activate the associated configuration
files.
The possible start softkeys for screen forms are predefined. Additional start
softkeys are not possible. Access points are specific to operating areas.
SCxxx=File
SCxxx Softkey Connection (link between softkey and configuration file). xxx
represents one of the internal softkey identities for start softkeys listed
below
File Name of configuration file
Operating area
SCxxx Screen form:
MACHINE SC101 MACHINE JOG Horizontal SK 1
SC111 MACHINE MDA Horizontal SK 1
SC122 MACHINE AUTO Horizontal SK 2
PARAMETERS SC207 Main screen of PARAMETERS Horizontal SK 7
PROGRAM SC308 Main screen of PROGRAM Horizontal SK 8
SC312 1. softkey line of the editor Horizontal SK 2
SC313 1. softkey line of the editor Horizontal SK 3
SC314 1. softkey line of the editor Horizontal SK 4
SC315 1. softkey line of the editor Horizontal SK 5
SC316 1. softkey line of the editor Horizontal SK 6
SC326 2. Softkey menu of the editor Horizontal SK 6
SC327 2. Softkey menu of the editor Horizontal SK 7
SERVICES SC407 Main screen of SERVICES Horizontal SK 7
DIAGNOSIS SC507 Main screen of DIAGNOSIS Horizontal SK 7
IBN SC607 Main screen of START-UP Horizontal SK 7
SC616 2. Softkey menu of the editor Horizontal SK 6
SC617 2. Softkey menu of the editor Horizontal SK 7
This section is for assigning the display numbers to the configured displays. In
general, the syntax of an assignment line is:
Example:
[PLC_SELECT] ;Fixed section introduction
PC1= CYC82, drilling.com ;Assignment line
PC2= CYCLE90, millthre.com
PC3=..., etc.
Control entries
CHK_FILE_EXIST=ram
ram This control flag: specifies whether configuration files must be copied
each time by the NC or whether a check must be made as to whether the
files are already stored on the RAM drive of the HMI.
Possible values:
0:
A check whether the file already exists on the temporary drive is not
carried out.
This mode is only set while the configuration files are being set up online
on the NC. Changes to configuration files in the NC then become
operative immediately on the HMI Embedded sl, slowing down the
display building process.
1:
Default setting (if CHK_FILE_EXIST has not been set):
The configuration files are read once into the temporary directory and
executed thereafter from there. This means that: Runtime is improved,
but there is no reaction to changes in the configuration files in the NC.
LOGSIZE=kB
KB Size of the LOG file in kilobytes (max. size = 64 KB). A LOG file named
ERROR.COM is created on the temporary directory of the HMI; its size is
determined by this parameter setting.
RAMDISK_SIZE = kBrd
kBrd Size of available RAMDISK in KB.
RAMDISK_SIZE can be located at any position - within or outside the
sections. If the element occurs several times, then the first occurrence is
relevant.
Example:
RAMDISK_SIZE=200 ; 200 KB
The standard value (if the element RAMDISK_SIZE was not specified) is
300 KB.
If, after copying, the selected size has been exceeded, all of the COM
files in the temporary directory are deleted before the next copying
operation. (Files for screen forms in the background (for operating area
change) are still kept.)
Example of COMMON.COM
[MMC_DOS]
sc101=tooth.com ; MACHINE
; Files are located in the
; Flash memory of the HMI
sc111=mda.com
sc122=auto.com
sc207=param.com ; PARAMETER
sc314=aeditor.com ; PROGRAM, Editor
sc315=aeditor.com
sc316=aeditor.com
sc407=dienste.com ; SERVICES
sc507=diagnose.com ; DIAGNOSTICS
sc607=inbetrn.com ; Start-up
sc826=cmm.com ; ShopMill, Machine, AUTO
sc857=cmm.com ; Messages/
sc858=cmm.com ; Alarms
sc867=cmm.com ; Tools, ZO
CHK_COMMON.COM=1 ; faster processing
; by HMI
LOGSIZE=30 ; 30 kB for LOG of errors in
: the screen forms
[PLC_SELECT] ; declaration of displays that can
; be called from the PLC,
;see below.
PC1= CYC82, drilling.com ; display 1
PC2= CYCLE90, millthre.com ; display 2
Storage
/card/user/sinumerik/cycles/proj
Similarly, manufacturer wizard files are
stored in: /card/oem/sinumerik/cycles/proj
/card/oem/sinumerik/hmi/proj
Bitmaps: /card/user/sinumerik/cycles/ico/icoxxx
/card/oem/sinumerik/cycles/ico/icoxxx
/card/user/sinumerik/hmi/ico/icoxxx
/card/oem/sinumerik/hmi/ico/icoxxx
Ini files: /card/user/sinumerik/hmi/cfg
/card/oem/sinumerik/hmi/cfg
Header icons: /card/user/sinumerik/hmi/ico/icoxxx
/card/oem/sinumerik/hmi/ico/icoxxx
Associated texts
(aluc.txt, bzw. aluctx.s0x) /card/user/sinumerik/cycles/lng/xxx
/card/oem/sinumerik/cycles/lng/xxx
/card/user/sinumerik/hmi/lng/xxx
Procedure
In the Linux environment, the user wizard files are copied to the
/user/sinumerik/hmi/proj directory (for “normal“ user dialogs, i.e., everything
except cycles support) of the CompactFlash card. User wizard files for user cycles
support are copied to the /user/sinumerik/cycles/proj directory of the
CompactFlash card. All files are unpacked and copied to the relevant directory.
The copy operation can be performed either using Linux tools (PuTTY or WinSCP)
or using the copy function in the PROGRAM operating area.
In delivery condition, three USB drives and access to the CompactFlash card are
set up in the PROGRAM operating area.
\cycles
\cycles\proj (Com files)
\cycles\prog (customer cycles (.spf))
\cycles\lng (Language directory – contains only subdirectories)
\cycles\lng\xxx (Language directory, e.g., ger, eng, etc. – one directory for
each language) The aluc.txt file for the relevant language
is stored here.
\cycles\ico (Display image directory – contains only subdirectories for
each resolution)
\cycles\ico\ico640 Directory for the display images of resolution 640*480
as .bmp or .bin
\cycles\ico\ico800
\cycles\ico\ico1024
or for wizard dialogs assigned to other areas in HMI:
\hmi\proj
\hmi\lng\...
\hmi\ico\...
In the PROGRAM operating area, the entire \cycles or \hmi directory is copied from
the USB medium to the /user/sinumerik directory of the CompactFlash card.
The central control file COMMON.COM must be stored in one of the following NC
directories or in the DH path:
• CUS or
CUS.DIR on the DH path ;User cycles directory
• CMA or
CMA.DIR on the DH path ;Manufacturer cycles directory
• CST or
CST.DIR on the DH path ;Standard cycles directory
• COM or
COM.DIR on the DH path ;Comment directory
The directories are searched for the configuration files in the specified order. If files
of the same name are stored in different directories, then the first file detected
according to the search strategy is interpreted.
\DH\MB.DIR\
File name:
ALUC_xx.COM
"XX" is replaced by one of the following codes in the text file name:
e.g., ALUC_uk.COM for English texts
Abbreviation xx Language
gr German
uk English
fr French
it Italian
sp Spanish
nl Dutch
fi Finnish
sw Swedish
pl Polish
tr Turkish
ch Chinese
tw Chinese (Taiwan)
ko Korean
hu Hungarian
po Portuguese
ru Cyrillic
cz Czech
HMI Embedded WIN32 searches the configuration files for Expand user interface
on the same paths as HMI Advanced. The starting point is the data management
path.
The search sequences described below are relevant for ShopMill/ShopTurn on
NCU if HMI Advanced and HMI Embedded sl are both operated in parallel on a
single hardware platform. In this case, Expand user interface accesses the same
configuration files under ShopMill/ShopTurn on NCU running on HMI Embedded sl
as on HMI Advanced.
Supplementary conditions
HMI Embedded WIN32 evaluates the mmchome property of section [DHSTART]
in configuration file DH.INI, which contains the root directory for the data
management path.
DH.INI must be stored in the BIN directory on which MMC0.EXE is started. The
maximum length for the data management root directory entry is 100 characters.
Start-up
On start-up, HMI Embedded WIN32 uses the entries in the Windows Registry to
ascertain where HMI Advanced is installed.
Within the directory indicated in the registry, a search is made for file DH.INI in the
subdirectories ..\user, ..\oem, ..\add_on, ..\mmc2 in the sequence specified. If
DH.INI cannot be found there, a search is carried out for the file in the currently
selected directory of HMI Embedded WIN32.
Example:
If HMI Advanced was found on f:\HMI\HMI Advanced, then a search for dh.ini is
made in the following sequence:
f:\HMI\HMI Advanced\user
f:\HMI\HMI Advanced\oem
f:\HMI\HMI Advanced\add_on
f:\HMI\HMI Advanced\mmc2
Filename.bin
Filename.bmp
Search sequence if no archive is specified and the file name does not contain a
path:
1. Filename.bin in the CUS directory of the data management path
2. Filename.bmp in the CUS directory of the data management path
3. Filename.bin in archive Filename.bi_ in the CUS directory of the data
management path
4. Filename.bmp in archive Filename.bm_ in the CUS directory of the data
management path
53. Filename.bin in archive CST ARJ in the CUS directory of the data
management path
....
For information about the search sequence for COMMON.COM, see HMI
Embedded sl section in chapter "Storage location of COMMON.COM".
The new search mechanism also includes the directories of the data management
path that are of relevance for Expand user interface and the possible archives for
images (cus.arj, cma.arj, cst.arj).
The search mechanism always searches for the individual files first, before
searching possible archives. Consequently, the search sequence for images is as
follows:
• Individual image before archive (.bin files are searched for before .bmp files).
Once the search of the unpacked files has been completed, the archives
containing a single file (.bi_, then .bm_) are searched.
• Bitmap name with followed by bitmap name without path
For more information about the search sequence for bitmaps with the various
formats, see "General information about searches".
8.1 Terms
Table 8-1:
Term Description
Action Anything that is configured within a → method: → Functions,
→ Calculating variables, → Changing properties, ...
User variable The user can declare user-defined variables for optional use in the
→ parts program or data block.
Array Table or list of data
Attribute Characteristic that assigns an object (→ screen form or → variable)
specific, detailed → properties.
Operator interface The term "user interface" refers in this document to the information
displayed on the screen, including allocated softkeys and some
special operator panel front keys.
Group Reload unit for → configuration file
Definition lines Program section in which → variables and → softkeys are defined.
I/O field Input/output field for displaying and modifying values of variables.
Editor ASCII Editor with which characters can be entered in a file and
edited.
Characteristics Characteristics of an object (e.g., of a → variable)
Start softkey → Softkey with which the first newly created → screen form is
started.
Start softkey definition Program section from //S(Start)..........//END in which a → Start
block softkey is defined
Event Any action, which initiates execution of a → Method: Input of
characters, actuation of → Softkeys, ...
Focus Highlighting on screen, which identifies the → Screen form element
that is currently selected for editing/monitoring. Screen form
element marked by the cursor.
Function Sequence of operations programmed in → Methods as a function
of → Parameters.
Graphic Graphic, which is displayed when a screen form is opened.
Master screen form → Screen form, which calls another screen form but remains open
when a second screen is displayed.
Help display Display, which is opened context-sensitively in relation to screen
form elements.
Help loop Several help references can be configured in a loop for each →
Screen form element, i.e., the references are called up in
succession and when the last reference closes, the first is
displayed again.
Help variable Internal arithmetic variable to which no → Properties can be
assigned, i.e., it is not visible in the → Screen form.
HSx Horizontal → Softkey x
Interpreter The interpreter automatically converts the defined code from the →
Configuration File into a → Screen form and controls its use.
Term Description
Machine data Settings of properties of the SINUMERIK system made by
Siemens/machine manufacturer/end user and stored in the system.
The following types of auxiliary function are available:
$MN_... General NC machine data
$MC_... Channel-specific machine data
$MA_... Axis-specific machine data
$MM_... Machine data of operator panel front
In addition to this there is → setting data and drive machine data.
Screen form Screen display of → User interface
Screen form-dependent Softkey menu, which is called from a newly configured screen
softkey menu form.
Screen form tree A group of interlinked → Screen forms
Screen form definition Program section from //M..........//END for defining a → Screen form
block
Screen form element Visible component of a → Variable: Short text, graphics text, → I/O
field and unit text
Main body of screen Header, long text, graphics and → Screen form elements
form
Form-independent Softkeys, which are not called from a screen form, i.e., start softkey
softkeys and softkey menus, which the user configures before the first, new
screen form.
Method Programmed sequence of operations, which is executed when a
corresponding → Event occurs.
HMI Embedded sl Computer unit of operator panel front without hard disk
HMI Advanced Computer unit of operator panel front with hard disk
NC Numerical Control: System component of a SINUMERIK system,
which controls the motional sequences of axes on the basis of →
Parts programs.
NC code Permissible language elements used to write → Parts programs of
the SINUMERIK system
NC function →PI service
User comment Comment, which is automatically created during → NC code
generation.
Parameters Parameters are variable elements of the programming syntax and
replaced by other words/symbols in the → Configuration file.
PI service → Function, which, on an → NC, executes a clearly defined
operation.
PI services can be called from the → PLC and from → HMI
Advanced/HMI Embedded sl.
PLC Programmable Logic Control: Programmable controller, which
performs mainly logic operations in the SINUMERIK system.
Programming support Provision of → Screen forms to assist programmers in writing →
Parts programs with "higher-level" components
Free contour programming
Cycle support
Blueprint programming
→Recompiling
→Simulation
directly from the → Editor.
Term Description
Configuration file File or files, which contain definitions and instructions that
determine the appearance of → Screen forms and their →
Functions.
RECALL key Standard key on front of operator panel
Tab card Memory for data exchange between → Screen forms.
Recompiling Sections of → NC code can be generated in a → Parts program
from input fields in → Screen forms of the → Programming support
system. Recompilation is the reverse operation. The input fields,
which have created a selected section of NC code, are retrieved
from the NC code and displayed in the original screen form.
Setting data Data, which communicates the properties of the machine tool to
the NC control, as defined by the system software. In contrast to →
Machine data, setting data can be altered immediately by the
operator.
ShopMill Optimized SINUMERIK application and user interface for 21⁄2D
milling operations.
ShopTurn Optimized SINUMERIK application and user interface for turning
operations.
Simulation Simulation of a → Parts program run (e.g., graphically) without
movement of the actual machine axes.
Softkey Key on front of operator panel, which activates a function displayed
on the assigned area of the screen.
Softkey labels Text/image on the screen area, which is assigned to a → Softkey.
Softkey menu All horizontal or all vertical → softkeys
Softkey menu definition Program section from //S..........//END for defining a → Softkey
block menu
Column index Column number of an array
Standard application → User interfaces that are integrated in standard software.
System variable NC variable providing the NC states for parts program accesses
and accesses from → HMI.
Parts programs A program formulated in the NC language, which specifies motion
sequences for axes and various special actions.
Toggle field A list of values in the → I/O Field; check with toggle field: The
value input in a field must be the same as one of the listed values.
Sub-screen form → Screen form that is called from another screen form (master
screen form) without the → Master screen form being closed.
Variable Designation of a memory location, which can be displayed in a →
Screen form by assigning → Properties and in which input data
and the results of arithmetic operations can be entered.
VSx Vertical → Softkey x
Line index Row number of an array
Access Level Graduated system of authorization, which makes the accessibility
and utilization of functions on the → user interface dependent on
the authorization rights of the user.
1 Black
2 Red/brown
3 Dark green
4 Light gray
5 Dark gray
6 blue
7 Red
8 Brown
9 Yellow
10 white
HMI Advanced
For bitmaps in HMI Advanced, the current color table of the shipped software must
be used in the character program.
HMI Embedded sl
For bitmaps in HMI Embedded sl, the current color table of the shipped software
must be used in the character program.
- HMI_EMB_OLD_FASHION.PAL :
This color palette should be used for HMI Embedded sl with Old Fashion
Color indices 160 to 231 are available
- HMI_EMB_NEW_FASHION.PAL :
This color palette should be used for HMI Embedded sl with New Fashion
Color indices 160 to 231 are available
- HMI_EMB_OLD_AND_NEW_FASHION.PAL :
This color palette should be used for HMI Embedded sl with both Old and New
Fashion; the bitmaps generated with this color palette are identical in appearance
for Old and New Fashion.
Color indices 160, 163, 184, 187, 196, 199, 204, 205, 207, 217, 219, 220, 221, 223,
226 and 228 are available
System colors
There is a choice of 10 colors available for the color of a form screen element (text,
input field, screen from background, etc.). The system colors have been expanded
- and there is a difference between the old and new designs (refer to, e.g., the
header color in the table below).
Table 8-4:
Name Index Description
$A_DBB[x] x=ByteNo Data byte from/to PLC
$A_DBD[x] x=Offset Double data word (32bit) from/to PLC
$A_DBR[x] x=Offset Real data (32 bit) from/to PLC
$A_DBW[x] x=Offset Data word (16 bit) from/to PLC
$A_DLB[index] index=Offset Data byte in link area
$A_DLD[index] index=Offset Data access to double word in link area
$A_DLR[index] index=Offset Real data in link area
$A_DLW[index] index=Offset Data word in link area
$A_IN[x] x=DigitalinputNo Value of HW digital input
$A_INA[x] x=AnaloginputNo Value of HW analog input
$A_INCO[x] x=InputNo Comparator input NC
$A_INSE Safe Programmable Logic:
External input of the NCK I/O
$A_INSED Safe Programmable Logic:
Image of external NCK input
$A_INSEP Safe Programmable Logic:
External input of the PLC I/O
$A_INSEPD Safe Programmable Logic:
Image of external PLC inputs
$A_INSI Safe Programmable Logic:
Internal NCK input safety
$A_INSID Safe Programmable Logic:
Image of internal NCK input safety
$A_INSIP Safe Programmable Logic:
Internal PLC input safety
$A_LINK_TRANS_RATE Link transfer rate
$A_MARKERSI Safe Programmable Logic: NCK markers
$A_MARKERSIP Safe Programmable Logic:
Image of PLC markers
$A_OUT[x] x=DigitaloutputNo Value of HW digital output
$A_OUTA[x] x=AnalogoutputNo Value of HW analog output
$A_OUTSE Safe Programmable Logic:
External output of the NCK I/O
$A_OUTSED Safe Programmable Logic:
Image of external NCK output
$A_OUTSEP Safe Programmable Logic:
External output of the PLC I/O
$A_OUTSEPD Safe Programmable Logic:
Image of the external PLC output
$A_OUTSI Safe Programmable Logic:
Internal NCK output safety
$A_OUTSID Safe Programmable Logic:
Image of internal NCK output safety
$A_OUTSIP Safe Programmable Logic:
Internal PLC output 611D safety
$A_OUTSIPD Safe Programmable Logic:
Image of internal PLC output 611D safety
$A_TIMERSI Safe Programmable Logic: NCK timers
Table 8-5:
Name Index Description
$A_PBB_IN[index] index=Offset IN data byte
$A_PBB_OUT[index] index=Offset OUT data byte
$A_PBD_IN[index] index=Offset IN double data word
$A_PBD_OUT[index] index=Offset OUT double data word
$A_PBR_IN[index] index=Offset IN real data
$A_PBR_OUT[index] index=Offset OUT real data
$A_PBW_IN[index] index=Offset IN data word
$A_PBW_OUT[index] index=Offset OUT data word
$A_TC_FCT Command number
$A_TC_LFN Source location number
$A_TC_LFO Source location number
$A_TC_LTN Target location number
$A_TC_LTO Target location number
$A_TC_MFN Source magazine
$A_TC_MFO Source magazine number
$A_TC_MTN Target magazine number
$A_TC_MTO Target magazine number
$A_TC_STATUS Command status
$A_TC_THNO Number of toolholder
$A_TC_TNO T number
$A_TOOLMLN[x] x=ToolNo T Current location
$A_TOOLMN[x] x=ToolNo T Current magazine
$AA_COUP_ACT[x] x=Spindle following Current coupling status following spindle
$AA_COUP_OFFS[x] x=Axis Offset to leading axis/leading spindle,
setpoint
$AA_COUP_OFFS[x] x=Spindle Position offset for synchronous spindle
(setpoint)
$AA_CURR[x] x=Axis Actual current value of axis or spindle
$AA_DELT[x] x=Axis Drive-specific distance to go in WCS
$AA_DTBB[x] x=Axis Drive-specific path from start of block in
basic coordinate system
$AA_DTBW[x] x=Axis Drive-specific path from start of block in
WCS
$AA_DTEB[x] x=Axis Drive-specific path, end of block in basic
coordinate system
$AA_DTEPB[x] x=Axis Drive-specific dist.-to-go infeed
oscillation in basic coordinate system
$AA_DTEPW[x] x=Axis Drive-specific dist.-to-go infeed
oscillation in WCS
$AA_DTEW[x] x=Axis Drive-specific path, end of block in WCS
$AA_EG_ACTIVE [a,b] a=Following axis EG coupling active
b=Leading axis
$AA_EG_AX[n,a] n=Index leading axis EG leading axis number
a=Following axis
$AA_EG_DENOM [a,b] a=Following axis EG coupling factor denominator
b=Leading axis
$AA_EG_NUM_LA[a] a=Following axis EG no. of leading axes
$AA_EG_NUMERA [a,b] a=Following axis EG coupling factor numerator
b=Leading axis
$AA_EG_SYN[a,b] a=Following axis EG synchronous position leading axis
b=Leading axis
$AA_EG_SYNCDIFF[a] a=Axis identifier EG synchronism deviation
$AA_EG_SYNFA[a] a=Following axis EG synchronous position following axis
$AA_EG_TYPE[a,b] a=Following axis EG coupling type
b=Leading axis
Table 8-6:
Name Index Description
$SC_PA_ACTIV_IMMED[x] x=Number protection zone Immediately active after referencing
$SC_PA_CENT_ABS[x,0] x=Number protection zone Abscissa of arc center of 1st contour element
$SC_PA_CENT_ABS[x,1] x=Number protection zone Abscissa of arc center of 2nd contour element
$SC_PA_CENT_ABS[x,2] x=Number protection zone Abscissa of arc center of 3rd contour element
$SC_PA_CENT_ABS[x,3] x=Number protection zone Abscissa of arc center of 4th contour element
$SC_PA_CENT_ABS[x,4] x=Number protection zone Abscissa of arc center of 5th contour element
$SC_PA_CENT_ABS[x,5] x=Number protection zone Abscissa of arc center of 6th contour element
$SC_PA_CENT_ABS[x,6] x = Number protection zone Abscissa of arc center of 7th contour element
$SC_PA_CENT_ABS[x,7] x=Number protection zone Abscissa of arc center of 8th contour element
$SC_PA_CENT_ABS[x,8] x=Number protection zone Abscissa of arc center of 9th contour element
$SC_PA_CENT_ABS[x,9] x=Number protection zone Abscissa of arc center of 10th contour element
$SC_PA_CENT_ORD[x,0] x=Number protection zone Ordinate of arc center of 1st contour element
$SC_PA_CENT_ORD[x,1] x=Number protection zone Ordinate of arc center of 2nd contour element
$SC_PA_CENT_ORD[x,2] x=Number protection zone Ordinate of arc center of 3rd contour element
$SC_PA_CENT_ORD [x,3] x=Number protection zone Ordinate of arc center of 4th contour element
$SC_PA_CENT_ORD[x,4] x=Number protection zone Ordinate of arc center of 5th contour element
$SC_PA_CENT_ORD[x,5] x=Number protection zone Ordinate of arc center of 6th contour element
$SC_PA_CENT_ORD[x,6] x=Number protection zone Ordinate of arc center of 7th contour element
$SC_PA_CENT_ORD[x,7] x=Number protection zone Ordinate of arc center of 8th contour element
$SC_PA_CENT_ORD[x,8] x=Number protection zone Ordinate of arc center of 9th contour element
$SC_PA_CENT_ORD[x,9] x=Number protection zone Ordinate of arc center of 10th contour element
$SC_PA_CONT_ABS[x,0] x=Number protection zone Abscissa of end point of 1st contour element
$SC_PA_CONT_ABS[x,1] x=Number protection zone Abscissa of end point of 2nd contour element
$SC_PA_CONT_ABS[x,2] x=Number protection zone Abscissa of end point of 3rd contour element
$SC_PA_CONT_ABS[x,3] x=Number protection zone Abscissa of end point of 4th contour element
$SC_PA_CONT_ABS[x,4] x=Number protection zone Abscissa of end point of 5th contour element
$SC_PA_CONT_ABS[x,5] x=Number protection zone Abscissa of end point of 6th contour element
$SC_PA_CONT_ABS[x,6] x=Number protection zone Abscissa of end point of 7th contour element
$SC_PA_CONT_ABS[x,7] x=Number protection zone Abscissa of end point of 8th contour element
$SC_PA_CENT_ABS[x,8] x=Number protection zone Abscissa of end point of 9th contour element
$SC_PA_CONT_ABS[x,9] x=Number protection zone Abscissa of end point of 10th contour element
$SC_PA_CONT_NUM[x] x=Number protection zone Number of valid contour elements
$SC_PA_CONT_ORD[x,0] x=Number protection zone Ordinate of end point of 1st contour element
$SC_PA_CONT_ORD[x,1] x=Number protection zone Ordinate of end point of 2nd contour element
$SC_PA_CONT_ORD[x,2] x=Number protection zone Ordinate of end point of 3rd contour element
$SC_PA_CONT_ORD[x,3] x=Number protection zone Ordinate of end point of 4th contour element
$SC_PA_CONT_ORD[x,4] x=Number protection zone Ordinate of end point of 5th contour element
$SC_PA_CONT_ORD[x,5] x=Number protection zone Ordinate of end point of 6th contour element
$SC_PA_CONT_ORD[x,6] x=Number protection zone Ordinate of end point of 7th contour element
$SC_PA_CONT_ORD[x,7] x=Number protection zone Ordinate of end point of 8th contour element
$SC_PA_CONT_ORD[x,8] x=Number protection zone Ordinate of end point of 9th contour element
$SC_PA_CONT_ORD[x,9] x=Number protection zone Ordinate of end point of 10th contour element
$SC_PA_CONT_TYP[x,0] x=Number protection zone Contour type of 1st contour element
$SC_PA_CONT_TYP[x,1] x=Number protection zone Contour type of 2nd contour element
$SC_PA_CONT_TYP[x,2] x=Number protection zone Contour type of 3rd contour element
$SC_PA_CONT_TYP[x,3] x=Number protection zone Contour type of 4th contour element
$SC_PA_CONT_TYP[x,4] x=Number protection zone Contour type of 5th contour element
$SC_PA_CONT_TYP[x,5] x=Number protection zone Contour type of 6th contour element
$SC_PA_CONT_TYP[x,6] x=Number protection zone Contour type of 7th contour element
$SC_PA_CONT_TYP[x,7] x=Number protection zone Contour type of 8th contour element
$SC_PA_CONT_TYP[x,8] x=Number protection zone Contour type of 9th contour element
$SC_PA_CONT_TYP[x,9] x=Number protection zone Contour type of 10th contour element
$SC_PA_LIM_3DIM[x] x=Number protection zone Limitation of protection zone applicate
$SC_PA_MINUS_LIM[x] x=Number protection zone Lower limit of protection zone, applicate
Abbreviations:
EG Expansion Unit
ESR Extended stop and retract
FIFO First In - First Out: Method of storing and retrieving data in a memory.
MCS Machine coordinate system
GWPS Grinding wheel surface speed
WCS Workpiece coordinate system
PI_SERVICE(service, n parameter)
with:
Service Identifier of PI service
n parameter List of PI service parameters.
Individual parameters are separated by commas.
Parameters Example
Service Description
Parameters Example
_N_CRCEDN Create tool edge by specifying the cutting edge number. If the T number of
an existing tool is entered in parameter "T Number" of this service, then a
tool edge for the existing tool is created (in this case, the parameter
"D number", i.e., the number of the edge to be created, has a value range
of 1-9). If a positive T number is specified as a parameter and the tool for
the T number entered does not exist, then the PI service is aborted.
If a value of 0 is entered as the T number (model of absolute D numbers),
then the D number values can range from 1– 31999. The new cutting edge
is set up with the specified D number.
If the specified cutting edge already exists, then the PI service is aborted in
both cases.
Par1 T number
Par2 D number
T number == 0 ==> 1–31999
T number > 0 ==> 1–9
A tool edge with number 3 is created for the tool with number 17 in the
current TO area.
PI_SERVICE("_N_CRCEDN“,17,3)
_N_CREACE Create a new tool edge for a specified tool. The next-higher available D
number is automatically set up. The following blocks in the active file system
are affected by this PI service:
Tool offsets TO: The relevant tool edge (with ZERO content) is set up
Monitoring data TS: (If available) the relevant tool edge (with ZERO content)
is set up
User edge data TUE: (if available) the respective tool edge is created (with
content ZERO)
(NCK software versions < 10.x)
Par1 Tool number 1 to 31999
After the tool with number 55 has been set up in T area 1, a further 2 edges
are created for it. The tool therefore now possesses a total of 3 edges.
PI_SERVICE("_N_CREATO“,55)
PI_SERVICE("_N_CREACE“,55)
PI_SERVICE("_N_CREACE“,55)
_N_CREATO Create a tool with a specific T number.
The following blocks in the active file system are affected by this PI service:
• Tool directory TV: The tool is entered as an existing tool.
• Tool offsets TO: The first tool edge D1 (with ZERO content) is set up.
• User edge data TUE: (If available) the first tool edge D1 (with ZERO
content) is set up.
• User tool data TU: (If available) an empty data block is made available
for the tool.
Service Description
Parameters Example
Service Description
Parameters Example
_N_DELETO Deletes the tool with all tool edges in all data blocks in which it is stored. The
tool is also deleted in the following blocks (if available): TO, TU, TUE, TV,
TG (type 400), TD, TS.
Par1 Tool number 1 to 31999
Deletion of tool with T number 21 in the current T area.
PI_SERVICE("_N_DELETO“,21)
Par1 ID for the search mode
1: Search without calculation
2: Search with calculation
3: Search including the main block analysis
Start search with calculation in current channel.
To start the PI service in a meaningful manner, the data structure for the
block search (block SPRAF ; addressing on HMI Embedded sl with variable
services via /Channel/Search/..) must be filled in beforehand.
PI_SERVICE("_N_FINDBL“,2)
_N_LOGIN_ A password, which sets the current access level, is sent to the NCK.
Par1 Password (precisely 8 characters, if there are fewer than 8 characters,
blanks must be added)
Transfers a password to the NCK, thus setting another access level.
PI_SERVICE("_N_LOGIN_“,"TESTWORD“)
_N_LOGOUT The current access level is reset.
---
The current access level is reset.
PI_SERVICE("_N_LOGOUT“)
_N_SETUFR The SYSTEM OR USER variables 'linShift', 'mirrorImgActive', 'rotation' and
'scaleFact' in channel-specific data block FU can be used to define up to 8
zero offsets per channel. PI service _N_SETUFR must be called in order to
activate these user-defined zero offsets.
---
Activation of a user frame.
PI_SERVICE("_N_SETUFR“)
8.6 Examples
//S(Start)
HS7=("Example", se1, ac7)
PRESS(HS7)
LM("Form4")
END_PRESS
//END
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"<<By3
Spin.VAR="EB"<<Byte
Custom1.VAR="EB"<<By6
Custom2.VAR="EB"<<By7
Axistop.VAR="E"<<By2<<".2"
Spinstop.VAR="E"<<By2<<".4"
Byte.wr=1
END_CHANGE
CHANGE(Axistop)
IF Axistop==0
Axistop.BC=9
ELSE
Axistop.BC=11
ENDIF
END_CHANGE
CHANGE(Spinstop)
IF Spinstop==0
Spinstop.BC=9
ELSE
Spinstop.BC=11
ENDIF
END_CHANGE
PRESS(VS8)
EXIT
END_PRESS
Note
You will find further examples in the supplied tool box.
Notes
I Index
I
I.1 Subject Index
Configuration file
HMI Advanced ......................... BE1/7-173
A NC code................................... BE1/4-108
start softkey ............................. BE1/7-166
Access level................. BE1/3-30, BE1/3-62 Configuration file ......................... BE1/7-174
Access mode Configuring example ................... BE1/5-134
direct...........................................BE1/3-51 Configuring rules........................... BE1/3-21
search.........................................BE1/3-51 Configuring.................................. BE1/5-137
Action.............................................BE1/3-65 Constants...................................... BE1/3-97
ADDHTX........................................BE1/3-41 Control characters....................... BE1/7-163
AP (Activate Program)...................BE1/3-90 CP (COPY PROGRAM)................ BE1/3-89
Array access..................................BE1/3-50 Custom
Array status ...................................BE1/3-53 features.................................... BE1/6-157
Array ..............................................BE1/3-49 Hotkey...................................... BE1/6-157
ASCII editor ...................................BE1/2-14 Integration................................ BE1/6-158
Attributes ..................... BE1/3-25, BE1/3-29 CUSTOM.COM ........................... BE1/6-160
CVAR ............................................ BE1/3-81
B
D
Background color ..........................BE1/3-31
Binary notation...............................BE1/3-39 Dialog line ..................................... BE1/3-82
Bit operators ..................................BE1/3-95 Dialog screen .............................. BE1/4-111
Block..............................................BE1/3-84 Directory...................................... BE1/5-130
Display
C Deselect................................... BE1/5-141
Display image
CALL..............................................BE1/3-85 creating ...................................... BE1/3-45
CFI variable ...................................BE1/3-90 Display line.................................... BE1/3-21
CHANGE .......................................BE1/3-67 Display number ........................... BE1/5-139
CLRHTX ........................................BE1/3-41 Display .......................................... BE1/3-37
CM .................................................BE1/3-25 DLGL............................................. BE1/3-82
Color table ...................................BE1/8-184 DLL file ......................................... BE1/3-94
Colors ............................................BE1/3-31 DOS conventions ....................... BE1/7-164
Column alignment .........................BE1/3-25 DP (Delete Program) .................... BE1/3-92
Command channel → Dialog
screen..........................................BE1/4-111 E
Comment .......................................BE1/1-10
COMMON.COM control file.........BE1/7-165 ELSE............................................. BE1/3-98
Compare mode..............................BE1/3-51 ENDIF ........................................... BE1/3-98
Comparison operators...................BE1/3-97 ENTRY.......................................... BE1/3-81
H
M
Hardkey block..............................BE1/5-128
Hardkey event ......... BE1/5-131, BE1/5-132 M key ......................................... BE1/5-134
Hardkeys .....................................BE1/5-128 Main body of screen form ............. BE1/3-24
Header...........................................BE1/3-24 Master screen form ....................... BE1/3-72
Help display ...................................BE1/3-30 Mathematical functions ................. BE1/3-97
Help loop .......................................BE1/3-32 Mathematical operators ................ BE1/3-95
Help variable..................................BE1/3-44 Memory utilization ......................... BE1/3-37
Help ............................. BE1/3-32, BE1/3-41 Menu Select ................................ BE1/5-134
Hexadecimal notation....................BE1/3-39 Merge............................................ BE1/3-73
HMI Advanced alarm text files.....BE1/7-173 Methods ........................................ BE1/3-65
HMI Advanced .................................BE1/1-8 MRNP ........................................... BE1/3-77
V W
val ................................ BE1/3-44, BE1/3-78 WNP.............................................. BE1/3-75
Value range .................................BE1/5-132 Write mode.................................... BE1/3-31
SINUMERIK 840D sl
SINUMERIK 840D/840Di/810D
Valid for
Control
SINUMERIK 840D sl / 840DE sl
SINUMERIK 840D powerline / 840DE powerline
SINUMERIK 840Di powerline / 840DiE powerline
SINUMERIK 810D powerline / 810DE powerline
1.1 Overview
The extendible programming help systems listed below are available in the
PCU 50.3 controller:
• Quick "ASCII" help
• Extended "PDF" help
• Additional help (PDF file) from the quick "ASCII" help
• Additional help on input fields of cycle parameterization screens
• ISO mode help
Software
• HMI Advanced
• Adobe Reader 4.x (can be obtained free of charge from the Internet/specialist
shops)
The "Adobe Acrobat Reader 4.x" software is supplied as standard with the
SINUMERIK 840D sl controller.
• Adobe Acrobat 4.x
You will need the "Adobe Acrobat Distiller 4.x" software for converting documents
to PDF and for editing PDF documents.
Creation procedure:
1. Define jumps in the help document (e.g. using standard index function of DTP
systems) and generate
2. Store jump file as text file
3. Assign ID numbers to the programming commands
4. Generate PDF file
Result:
• A call file (text file) containing the data
<PDF file name> <ID> <search string> for each call
• One or more associated PDF files
Note
In the event of multiple jumps for the same topic, each page must be entered on
a separate line.
Example: 840D_PG.PDF 44 155
840D_PG.PDF 45 180
840D_PG.PDF 46 199
Hint:
In the case of a larger volume of indices, the call file can be created automatically
using Microsoft Excel.
• Insert "index file" (*.TXT) in Excel
• Insert column
• Enter the name of the PDF file on the first line
• Select the menu items "Edit" – "Fill" – "Down"
• Copy the data and
• save as "TXT" file
The syntax below is left over:
<PDF file name> <ID> <search string>
840D_PG.PDF 44 155
Note
If the search strings cannot be found, possible causes include:
• Incorrect input
• The texts were not converted properly during PDF generation and cannot be
found by the search engine for that reason.
Analysis: Select a string you are looking for using Adobe Acrobat, copy it and
paste it into a Word document.
Remedy:
• Generate the PDF again or
Search sequence
Text files designed for this purpose which are accessed by the help function can be
extended (see Subsection "Extension of text files").
The paths of the generated ASCII text files can be parameterized or added in
initialization file "IF.INI" or under "Settings" (user file name).
TECHNOLOGY section
The relevant technology category of the connected machine can be entered in the
[TECHNOLOGY] section so as to limit the display of instruction texts to relevant
technology entries, i.e. only entries pertinent to the relevant technology are
displayed.
TEXTFILES section
The paths (path\name) used for the Short Help text files on which the help function
is based are parameterized in the section [TEXTFILES].
The help function accesses the following text files:
• Siemens "DH\CST.DIR\IFS_GR.COM"
• Machine manufacturer "DH\CMA.DIR\IFM_GR.COM" (any file name)
• End user "DH\CST.DIR\USER_GR.COM" (any file name)
(entered under "Settings")
! Important
The path for the Siemens text file "DH\CST.DIR\IFS_GR.COM" must exist
otherwise an error message is output.
There are different parameterization options for the names of the text files when
assigning the text path.
The following table lists the parameterization options and their interpretation by the
help function.
Table 1-1
Example: ENDUSER=CUS.DIR\IFM_.COM
First of all, the non-language-specific text file "IFM.COM" is opened in the path
"C:\DH\CUS.DIR\" by default or, if the non-language-specific text file does not exist,
the relevant language-specific text file (e.g. "IFM_GR.COM") is opened.
CONTEXT section
Increased context sensitivity of the help function can be selected in the [CONTEXT]
section. This setting is activated with "1" and deactivated with "0"
(entered under "Settings").
If increased context sensitivity is activated and the cursor is positioned to the left of,
next to or on an instruction text, all instructions with the same initial letters are
displayed when help is called.
For example, if the programmer has selected instruction "G1", all instructions
beginning with "G1" (e.g. "G1", "G17", "G18", "G19") are displayed.
If increased context sensitivity has been deactivated with "0", then only the
instruction actually selected (if available) is displayed.
TEXTSEARCH section
The text search type can be specified in the [TEXTSEARCH] section. The following
search methods can be parameterized:
File IF.INI
[TECHNOLOGY]
"m" = milling
"t" = turning
"g" = grinding
"s" = nibbling
"p" = punching
"a" = display all technologies
[TEXTFILES]
Siemens = DH\CST.DIR\IFS_GR.COM
Machine manufacturer = DH\CMA.DIR\IFM_GR.COM
Machine manufacturer = DH\CMA.DIR\IFI_GR.COM
End user = DH\CUS.DIR\USER_GR.COM
[CONTEXT]
=0 Context sensitivity not active
=1 Context sensitivity active
[TEXTSEARCH]
=1 Text search for instruction texts only
=2 Text search for descriptive texts only
=3 Text search for instruction and descriptive texts
The functions below can be entered in the *.COM text files of the help in the
specified format:
• Topics as IDs of an instruction grouping
• Instructions with descriptive texts
• Instructions with call for extended help
• "PDF" editor help
• Cycle help on input fields of cycle screens in which parameters are
supplied to the instruction
• Instructions with alarm text variables as descriptive texts
One line is available for each of these in the associated text file.
Instruction definition
Technology/topic ID/extended help
/instruction text/descriptive text
Note
1. Within each of the individual text files, the Siemens topics are displayed first,
followed by those of the machine manufacturer and finally those of the end
user.
2. The specified sequence only appears if the topics are declared first and
then the instructions of the text file.
3. The instructions in the text files must be stored in alphabetical order if the
standard, machine manufacturer and end user instructions are to be sorted
correctly.
Extension of a topic
A topic represents an instruction grouping which can be used for displaying
instructions.
One line for the topic definition contains the following 3 parameters:
Topic definition
Technology code "r"/topic ID/topic name
The following line could then appear in the text file, for example:
r/2/Motion commands
r Permanently defined in topic definitions
2 Topic ID used for assigning instructions
Motion commands Topic name
The "/" character separates the parameters and may only be used as a text
character in the last parameter.
The length of the topic name is limited by the display and must not exceed 40
characters with a standard text size of 8 pt, for example.
The following topic IDs are reserved:
Topic ID User
0..49 Siemens
50...99 Machine manufacturer
from 100 End user
The following topic IDs exist as standard in the Siemens text file:
Topic Topic
Extension of an instruction
An instruction contains descriptive texts, e.g. "G0/Linear interpolation with rapid
traverse". An instruction is assigned to a topic via the topic ID.
If the above line is entered in one of the user text files (e.g. IFM_GR.COM), help
file "PGA.PDF" is called up for the command "=" and the relevant help section is
displayed.
If the above line is entered in one of the user text files, user cycle "CYCLExx" is
supported by the help system. It is displayed if
• either technology-independent code "a"
• or cutter-specific code "m" has been entered in initialization file "IF.INI".
It is assigned to "Standard cycles" via topic ID "14" and can therefore also be found
via the corresponding entry in the topic search.
The last parameter contains the descriptive text which is displayed in the relevant
column of the help system and which is designed to give the user an initial
indication as to the function of the cycle.
The "/" character separates the parameters and may only be used as a text
character in the last parameter.
Technology
The following characters are defined for specifying the technology category:
"m" = milling
"t" = turning
"g" = grinding
"s" = nibbling
"p" = punching
"a" = display for all technologies
Note
Entries are separated by commas so as to enable them to be assigned to several
technologies and different topics.
Topic ID
The topic ID is used for assigning instructions of a particular topic to the topic
definition and for displaying these under the topic.
Extended help
The following entries are possible in the "Extended help" parameter:
• Editor help
/"PDF file name", help ID, "search string"/
• Cycle help
/"PDF file name", help ID, "search string" (file name,
help screen)/
Two commas must be inserted in the "Extended help" parameter even if no entries
need to be made.
Example:
The declaration line requires the following parameters, for example:
m,t/14/"PDF filename", help ID, "search string" (file name,
help screen)/CYCLE82/drilling cycle, drilling, counterboring
The meanings of the entries for the "Extended help" parameter are as follows:
PDF file name
= File from which the descriptive text is to be displayed
Help ID
= Unique assignment to term for which the help is to be displayed
Search string
= Search string in the PDF file which is to be displayed in the help text
CYCLE82
= Instruction text
Drilling cycle, drilling, counterboring
= Descriptive text
Call example:
m,t/14/"PGZ.PDF",1,"RTP"(drilling,CYC82)/CYCLE82/drilling
cycle, drilling, counterboring
Note
If you only want to access the PDF file, only these parameters should then
appear in the "Extended help" section.
If you only want to display the help screen, only these parameters should then
appear in the "Extended help" section.
Instruction text
An instruction text could be "G17", for example. This text is transferred to the part
program currently being edited when the "Transfer to editor" command is issued.
The instruction text can be approx. 12 characters long.
Descriptive text
The descriptive text is the help text which describes the instruction in more detail.
The length of the descriptive text is limited by the display and must not exceed 40
characters with a standard text size of 8 pt, for example.
Multiple jumps
Several help references can be stored in ring formation (i.e. the first help is
displayed again after the last help) for each help element.
Example: m,t/14/"Hlp.pdf",1,"Help1",,2,"Help2","Help3.pdf",3,,/
CYCLE82/Drilling cycle, drilling, counterboring
In other words:
1. Entry in help text ring
File: HLP.PDF
Index: 1
Text: Help1
2. Entry in help text ring
File: HLP.PDF
Index: 2
Text: Help2
3. Entry in help text ring
File: HELP3.PDF
Index: 3
Text: Help2
Note
Two commas must be inserted in the "Extended help" parameter even if no
entries need to be made.
Example: m/14//CYCLExx/$888888
Instead of entering the descriptive text directly in the help text file, this is entered
under alarm variable "$888888", for example.
"Extended help":
The following entries are possible in the "Extended help" parameter:
• Editor help
/"PDF file name", help ID, "search string"/
Example: a/20/"PGA.PDF",2,"="/=/Assignment operator
• Cycle help:
/"PDF file name", help ID, "search string" (file name,
help screen)/
Example: a/3/"PG.PDF",17,"ANG"/ANG/Contour angle (s)
Necessary files
• IFM_GR.COM Text file with program commands and brief description
• *.PDF Help file e.g. 840D_PG_GR.PDF
• *.txt Jump file e.g. 840D_PG_GR.TXT
1
Define jump labels in document
The jumps must be identified by an index entry and a single-column index list
(right-justified page numbers) must be generated in the document (e.g. Winword)
from which sections are to be displayed on the controller as a PDF.
If several jumps are required for one command, the same number of index labels
must be created.
2
Generate text file
Copy the single-column index generated above (right-justified page numbers) and
save it in a text file (*.TXT).
The text file for the PDF call requires the following syntax:
<PDF file name> <ID> <page>
Enter the name of the PDF file (without the language code) at the start of each
line.
3
Define ID numbers
ID numbers unique to each document (e.g. 1 ... n) must be defined for the search
strings. The ID numbers correspond to the list of instructions of the quick "ASCII"
help, as the detailed descriptions corresponding to the brief descriptions are to be
displayed:
Now delete the "search string" column such that the syntax below remains:
Result: <PDF file name> <ID> <page>
840D_PG.PDF 44 155
4
Generate PDF file
Print your document as a postscript file and convert this to PDF format using
Adobe Acrobat Distiller.
5
Read files into controller
The generated files (*.PDF and *.TXT) must now be read into the controller, e.g.
into directory F:\DH\CUS.DIR\HLP.
Note
In the case of a larger volume of indices, the call file can be created automatically
using Microsoft Excel.
• Insert text file (*.TXT) in Excel
• Insert column
• Enter the name of the PDF file on the first line
• Select "Edit > Fill"
• Now delete the "search string" column such that the syntax below remains:
<PDF file name> <ID> <page>
840D_PG.PDF 44 155
• Copy the data and
• Save as "TXT" file
The [TEXTFILES] section of the "IF.INI" file has been extended by the entry
SiemensI=CST.DIR\IFIT_COM (turning technology) or
SiemensI=CST.DIR\IFIM_COM (milling technology) for this reason. This specifies
the path (CST.DIR) and the name (IFIT_COM or IFIM_COM) for the ISO mode
quick "ASCII" help.
The extended "PDF" help can thus be called from the quick "ASCII" help.
IF.INI [TEXTFILES]
[TEXTFILES]
;text files containing the information shown in the help
system
Siemens=cst.dir\ifs_.com
SiemensI=cst.dir\ifit_.com or ifim_.com
Manufacturer=
End user=
Necessary files
• List of "ISO dialect 0" commands with the associated brief description
• TXT file for the jump to the PDF file
• PDF file which is to be displayed in the help
Program execution
The help checks the following machine data on startup:
• MD 18800 MM_EXTERN_LANGUAGE
If the MD is activated, the controller switches over to the ISO dialect 0 mode.
If MD 18800 = 1, MD 20150 is evaluated.
• MD 10880 MM_EXTERN_CNC_LANGUAGE
MD 10880 specifies whether the controller is to be designed for turning or
milling in ISO mode.
"Extended help":
The following entries are possible in the "Extended help" parameter:
• Editor help
/"PDF file name", help ID, "page number"/
• Cycle help:
/"PDF file name", help ID, "page number" (file name, help
screen)/
Necessary files
• IFIT_.COM or IFIM_.COM Text file with ISO mode commands and
brief description
• *.PDF e.g. 840D_PGIT_GR.PDF
• *.TXT e.g. 840D_PITG_GR.TXT
1
Define jump labels in document
The jumps must be identified by an index entry and a single-column index list
(right-justified page numbers) must be generated in the document (e.g. Winword)
which is to be displayed on the controller as a PDF.
2
Generate text file
Copy the single-column index generated above (right-justified page numbers) and
save it in a TXT file.
Example: G65 155
<search string> <page>
The text file for the PDF call now requires the following syntax:
<PDF file name> <search string> <page>
Enter the name of the PDF file (without the language code) at the start of each
line.
3
Define ID numbers
ID numbers unique to each document (e.g. 1 ... n) must be defined for the search
strings. The ID numbers correspond to the list of instructions of the quick "ASCII"
help, as the detailed descriptions corresponding to the brief descriptions are to be
displayed.
Now delete the "search string" column such that the syntax below remains:
Result: <PDF file name> <ID> <page>
840D_PGIT.PDF 44 155
4
Generate PDF file
Print your document as a postscript file and convert this to PDF format using
Adobe Acrobat Distiller.
5
Read files into controller
The generated files (*.PDF and *.TXT) must now be read into directory
F:\USER\HLP on the controller.
Note
In the case of a larger volume of indices, the call file can be created automatically
using Microsoft Excel.
• Insert text file (*.TXT) in Excel
• Insert column
• Enter the name of the PDF file on the first line
• Select "Edit > Fill"
• Now delete the "search string" column such that the syntax below remains:
<PDF file name> <ID> <page>
840D_PGIT.PDF 44 155
• Copy the data and
• Save as "TXT" file
2.1 Overview
The functionality and extendability of the alarm and machine data help are
described in the chapters below.
Software
• HMI Advanced
• Adobe Reader 4.x (can be obtained free of charge from the Internet/specialist
shops)
The "Adobe Acrobat Reader 4.x" software is supplied as standard with the
SINUMERIK 840D / 840D sl controllers.
• Adobe Acrobat 4.x
You will need the "Adobe Acrobat Distiller 4.x" software for converting
documents to PDF and for editing PDF documents.
Alarm/MD help F:\MMC2\HLP (may contain HLP, PDF and TXT files)
OPI help F:\HMI_ADV\HLP (may contain HLP, PDF and TXT files)
Creation procedure:
1. Define jumps in the help document (e.g. using standard index function of DTP
systems) and generate
2. Store jump file as text file
3. Generate PDF file
Result:
• A call file (text file) containing the data
<PDF file name> <ID> <search string> for each call
• One or more associated PDF files
Note
In the event of multiple jumps for the same topic, each page must be
entered on a separate line.
Example: 840D_PG.PDF 44 155
840D_PG.PDF 45 180
840D_PG.PDF 46 199
Hint:
In the case of a larger volume of indices, the call file can be created
automatically using Microsoft Excel.
• Insert "index file" (*.TXT) in Excel
• Insert column
• Enter the name of the PDF file on the first line
• Select the menu items "Edit" – "Fill" –> "Down"
• Copy the data and
• Save as "TXT" file
The syntax below is left over:
<PDF file name> <ID> <search string>
840D_PG.PDF 44 155
Note
If the search strings cannot be found, possible causes include:
• Incorrect input
• The texts were not converted properly during PDF generation and cannot be
found by the search engine for that reason.
Analysis: Select a string you are looking for using Adobe Acrobat, copy it and
paste it into a Word document.
Remedy:
• Generate the PDF again or
Search sequence
File names
The file names below must be adhered to (must not be changed), even for the
purposes of additional alarms:
• ALARM_GR.PDF [German alarms]
• ALARM_UK.PDF [English alarms]
• ALARM_FR.PDF [French alarms]
• ALARM_IT.PDF [Italian alarms]
• ALARM_SP.PDF [Spanish alarms]
The names of the associated TXT files (contain the jump list) must therefore be as
follows:
• ALARM_GR.TXT [German TXT file]
• ALARM_UK.TXT [English TXT file]
• ALARM_FR.TXT [French TXT file]
• ALARM_IT.TXT [Italian TXT file]
• ALARM_SP.TXT [Spanish TXT file]
Other languages
The alarm texts are available in the following languages:
CH: Simplified Chinese
TW: Standard Chinese
KO: Korean
JA: Japanese
SW: Swedish
HU: Hungarian
PO: Portuguese
CZ: Czech
TR: Turkish
RU: Russian
PL: Polish
NL: Dutch
The naming convention specified above for language abbreviations must be used
for the file names of the user alarms (must not be changed).
Necessary files
• *.PDF e.g. ALARM_GR.PDF
• *.TXT e.g. ALARM_GR.TXT
1
Define jump labels in document
The jumps must be identified by an index entry and a single-column index list
(right-justified page numbers) must be generated in the document (e.g. Winword)
which is to be displayed on the controller as a PDF.
2
Generate text file
Copy the single-column index generated above (right-justified page numbers) and
save it in a TXT file.
Example: 10702 90
<ID> <page>
The search string (alarm number) is identical to the ID number in this case.
The text file for the PDF call now requires the following syntax:
<PDF file name> <ID> <page>
Enter the name of the PDF file at the start of each line.
3
Generate PDF file
Print your document as a postscript file and convert this to PDF format using
Adobe Acrobat Distiller.
4
Read files into controller
The generated files (*.PDF and *.TXT) must now be read into the controller, e.g.
into directory F:\DH\USER\HLP.
F:\USER\RH
Note
Alarm-specific texts can be stored if the HMI help is called up using the [i] key
from the alarm overview or from the alarm log for the corresponding alarm.
This is not possible when the alarm is selected from the table of contents.
2. Generate text file: Copy the single-column index generated above (right-
justified page numbers) and save it in a TXT file.
The text file for the PDF call requires the following syntax:
<PDF file name> <ID> <page>
The search string (alarm number) is identical to the ID number in this case.
3. Enter the name of the PDF file at the start of each line.
Example: ALARM.PDF 10702 90
ALARM.PDF 10703 90
ALARM.PDF 10704 91
<PDF name> <ID> <page>
4. Print the file in which the alarm texts are stored as a postscript file (possible
from all standard platforms). The file extension *.prn is used in Winword, *.ps in
Interleaf.
5. Convert the postscript file to "PDF" using the Adobe Acrobat Distiller software.
6. Read the files (*.PDF and *.TXT) into directory F:\USER\HLP on the controller.
Note
If additional user alarms are to be displayed in the alarm help, these must be
inserted in the directory F:\USER\HLP in the form of a PDF file and a TXT file of
the same name.
Please adhere to the naming conventions listed in the next chapter under the
section "File names".
File names
The file names below must be adhered to (must not be changed), even for the
purposes of additional user MD:
The names of the associated TXT files (contain the jump list) must therefore be as
follows:
Meanings of names
Name Meaning
N_NCK_GR.PDF General MD
C_NCK_GR.PDF Channel-specific MD
A_NCK_GR.PDF Axis-specific MD
S_NCK_GR.PDF Setting data
DISPL_GR.PDF Display MD
DROT_GR.PDF Drive MD, rotary
DLIN_GR.PDF Drive MD, linear
HYDRM_GR.PDF Drive MD, hydraulic module
Necessary files
• *.PDF e.g. N_NCK_GR.PDF
• *.TXT e.g. N_NCK_GR.TXT
1
Define jump labels in document
The jumps must be identified by an index entry and a single-column index list
(right-justified page numbers) must be generated in the document (e.g. Winword)
which is to be displayed on the controller as a PDF.
2
Generate text file
Copy the single-column index generated above (right-justified page numbers) and
save it in a TXT file.
Example: 10000 170
<ID> <page>
The search string (MD number) is identical to the ID number in this case.
The text file for the PDF call now requires the following syntax:
<PDF file name> <search string> <page>
Enter the name of the PDF file at the start of each line.
3
Generate PDF file
Print your document as a postscript file and convert this to PDF format using
Adobe Acrobat Distiller.
4
Read files into controller
The generated files (*.PDF and *.TXT) must now be read into directory
F:\USER\HLP on the controller.
I Index
A I
Jump file
D Create alarm/MD help ...............HE1/2-29
Create programming help............ HE1/1-7
Description Test.....................................HE1/1-8, 2-30
Text property ............................. HE1/1-18
M
E
Machine data help
Extended PDF help ...................... HE1/1-19 Extend........................................HE1/2-35
Parameterize............................. HE1/1-16 File name ...................................HE1/2-34
Maschine data help.......................HE1/2-34
H
P
Help file
Storage location .......................... HE1/1-6 Programming help
Help function................................... HE1/1-9 Extend........................................HE1/1-20
Extend ......................................... HE1/1-9
Help references
Several ...................................... HE1/1-18 Q
S Text files
Extend........................................HE1/1-12
Search sequence TEXTFILES...................................HE1/1-10
Help .................................... HE1/1-8, 2-30 TEXTSEARCH..............................HE1/1-11
Topic
Definition....................................HE1/1-13
T Extend........................................HE1/1-14
Topic ID.........................................HE1/1-14
Technology ................................... HE1/1-16
TECHNOLOGY .............................. HE1/1-9
SINUMERIK 840D sl
Valid for
Controller
SINUMERIK 840D sl
4.1 Access protection using password and key switch .............................................................. IM2/4-33
4.1.1 Password .......................................................................................................................... IM2/4-34
4.1.2 Keyswitch.......................................................................................................................... IM2/4-35
4.11 Specifying the machine and rotary axis position ................................................................ IM2/4-54
4.14 Expanding user displays from the operator interface ......................................................... IM2/4-57
4.17 Remote diagnosis "RCS Host Embedded / RCS Viewer Embedded" ................................ IM2/4-67
4.17.1 Configuring "RCS Host Embedded" ................................................................................ IM2/4-69
4.17.2 Installing and configuring "RCS Viewer Embedded" ....................................................... IM2/4-71
4.17.3 Start remote diagnostics ................................................................................................. IM2/4-73
8 Diagnostics........................................................................................................................... IM2/8-119
1 General Preparations
1
1.1 Hardware/software prerequisites ................................................ IM2/1-8
1.1.1 Hardware ................................................................................. IM2/1-8
1.1.2 Software................................................................................... IM2/1-9
Introduction
This Installation and Startup Guide describes the procedures for installing the HMI
Embedded software.
For further reading on special NCK, NCU, PLC, or drive functions, please consult
the Descriptions of Functions/Manuals (see Section: Documentation).
1.1.1 Hardware
At least the following components are needed in order to run the HMI Embedded sl
(Human Machine Interface Embedded Solution Line) software:
• Numerical Control Unit (NCU sl)
• Operator panel (OP)
• Machine control panel (MCP)
• Thin Client Unit (TCU)
• SINAMICS 120 converter system
Maschinensteuer- F
P
G
4 5 6 *
L
1 2 3
Q
H
R
I
S
-
J
T
)
[
= 0 . + ]
tafel (MCP) A
U
.
\
V
<
, W
>
1..n
X
–
Y
"
$
End
AC 1 2 3 4 5 6
Thin Client Unit
(TCU)
NCU 710
mit SW
HMI Embedded
SINAMICS
In this Sinumerik sl system, one or more TCUs (Thin Client Units) are used to
operate and monitor the control. The actual HMI Embedded operator software runs
on the NCU, while the TCUs make up the operator interface.
The TCUs are equipped with USB interfaces, to which you can connect USB
devices (e.g., USB-FlashDrive, USB diskette drive, etc.) to download data onto the
control or to back up the control data.
A description of the individual components and how they can be combined,
connected and installed can be found in various manuals.
(see Section: Documentation).
1.1.2 Software
A CompactFlash card containing the complete HMI Embedded sl software package
is supplied with the NCU.
Licensing
You need a license release (authorization to use the software) to use various
options of HMI Embedded and the NCU. Activation is required before the protected
software can be used.
See Chapter 3: Licensing
1.2 Accessories
Memory media
Memory expansion of the CompactFlash card
You can use the CompactFlash card as a storage location for backing up data.
To obtain additional memory expansion, you must purchase the “256 MB user
memory” option with order number: 6FC5800-0AP12-0YB0.
This option is then released via the license manager (addit. 256 MB HMI user
memory on CF card of NC,...).
USB FlashDrive
You can use a 512 MByte USB FlashDrive as an additional memory medium:
Order number: 6ES57648-0DC20-0AA0
Keyboard
With HMI-Embedded sl you have to distinguish between upper and lower case. As
it is not possible to switch to lower case mode on the keyboard of the machine
control panel /OP, you require an external keyboard (with USB connector) for
installation and startup.
Plug in the keyboard in the USB interface on the front of the operator panel. The
system immediately detects the keyboard.
See also Chapter 4: Configuring Caps Lock
1.3 Documentation
You require the following documentation to install and start up the SINUMERIK
840D sl:
References:
/GDS/ Sinumerik 840D sl, NCU Manual
/BHsl/ Operator Component Manual
/IDsl/ Installation and Startup Manual CNC Part 1 (NCK, PLC, Drive)
/IAM 2/IM5/ TCU Base Software, HT 8
/FB1/ Description of Functions – Basic Machine
/LIS1/ Lists
/DA/Diagnostics Manual
/BEMsl/ Operator's Guide HMI Embedded
/FBTsl/ Description of Functions - ShopTurn
/FBSPsl/ Description of Functions - ShopMill
RI suppression measures
Shielded signal cables
• To ensure safe, interference-free operation of the system, the cables specified
in the individual drawings must be used.
• Both ends of the shield must always be connected conductively with the
housings.
Exception:
If non-Siemens devices are connected (printers, programming devices, etc.),
you can also use standard shielding cables, which are connected at one end.
These external devices may not be connected to the control during normal
operation. However, if the system cannot be operated without them, then the
cable shields must be connected at both ends. Furthermore, the external
device must be connected to the control via an equipotential bonding cable.
! Important
For further information about suppression measures and the connection of
shielded cables see
References: /EMC/EMC Directive
Caution
The modules contain electrostatically sensitive devices. Discharge yourself of
electrostatic energy before touching the components. The easiest way to do this
is to touch a conductive, grounded object immediately beforehand (for example,
the bare metal part of a control cabinet or the protective ground contact of a
socket outlet).
! Important
Handling of modules containing devices sensitive to electrostatic discharge:
• When handling electrostatically sensitive devices, make sure that operator,
workplace and packing material are properly grounded.
• Modules must never be brought into contact with statically chargeable and
highly insulating materials, such as plastic sheeting, insulating table tops,
clothing made of synthetic fibers.
2.1 Start-up
Note
Before a cold restart all USB devices must be removed from the TCU and not
connected again until start-up is complete.
Insert the CompactFlash Card containing the HMI Embedded software into the slot
marked "CF" (interface X109) before switching on the NCU.
Now switch on the power supply. The NCU starts up automatically and
automatically detects the CompactFlash card.
Further information about the start-up is contained in the submanual of the CNC
Installation and Startup Manual Part 5 (Base Software):
3 Communication/Initial Requirements
3
3.1 System-internal communication................................................ IM2/3-16
3.2 Licensing
A suitable license is needed in order to use the options.
In the “Startup” operating area, HMI Embedded has three menus, which contain
information about the status of the options and their licenses.
Requirements
You need at least “write access” authorization in order to set or reset options.
Procedure
To call up the following three menus in the “Startup” operating area, select the ETC
key “>” and press the “License” softkey:
• Overview
• All options
• Missing licenses
Licensing: Overview
The following information appears when you press the “Overview” softkey:
Status message of the license key, e.g., “License key is NOT sufficient!”
When you obtain a new license key, it must be entered after the prompt “Please
enter a license key:”.
Hyphens are inserted automatically after every fourth character. Their only purpose
is to improve legibility.
When you press the “Apply” softkey, the data are transmitted to the NCU and
stored there.
Press the “NCK Reset” softkey to activate the licenses.
Note
Use of non-licensed options.
Before licensing options, you can also activate them temporarily without the
license keys and use them for test purposes. In this case, the control displays
alarm 8080 periodically, indicating that the corresponding license has not been
allocated to the hardware.
Possible connections
The number of connections between the HMI Embedded system and different
servers or local drives is limited to eight.
These connections are also called "logical drives" and can be parameterized in
three different ways.
1. from the HMI user interface
2. using machine data
3. using the "LOGDRIVE.INI" file
3.3.1 Parameterizing the drive connection from the HMI user interface
The drive connections (local, network and USB drives) and their softkeys are set
up in the settings window of the startup operating area.
Procedure
• Press the "Startup" softkey.
• Press the "Connections" softkey.
• Press the "Logical drives" softkey.
You will now get the "Network Connections" window in which you can set up the
connections:
Use the Select key to select entries for the “Type”, "Connection" and “Access level”
fields.
Note
You need the memory expansion (optional) to access the CompactFlash card,
see Chapter 1: Accessories.
Enter the other fields manually. You can choose any softkey text.
No drive - -
• Two lines, with a maximum of nine characters each, are available for the
softkey text.
• You must allocate a user name and a password for Windows shares.
If no setting is entered, a default user (PCU20_USER) is entered and a default
password is used.
• No user names or passwords are needed for Linux (NFS) shares and
local/global network paths (USB).
• The first four softkeys for the configured connections are displayed in the
horizontal menu bar in the “Program” and “Services” operating areas, and the
other four softkeys are displayed in the second horizontal menu bar, which can
be opened using the ETC key “>”.
• The selection of the drive can be prevented by setting the appropriate access
level.
Settings
The data required for networking the components are entered in the “Network
Configuration” window.
Only the TCP/IP protocol is supported and can be configured within the network
setup screens.
The window below appears when you press the “Network config.” softkey in the
“Startup” operating area.
1. DHCP:
Use the “Select” key to select the "Yes" or "No" setting, depending on whether
or not a DHCP server is available.
2. IP addresses:
A unique IP address must be selected for each computer.
1. Subnet mask:
You need to enter a subnet mask that is unique within the entire network.
2. Gateway:
A gateway is not needed for a local area network.
Please ask your administrator for the settings of a company network.
3. Computer name:
The name is optional, as it is only a symbolic identifier and can be replaced by
the IP address at any time.
4. DNS:
If the DNS (Domain Name Server) has the appropriate assignment of computer
and IP address, no entry is required here.
MAC address: is unique (present on the NCU 710 after X130). If the NCU is
already known, it will be displayed automatically.
Use the “Save” softkey to save the parameter settings for the network connection.
! Important
As no "hub" is used, you will need a special twisted-pair cable for the point-to-
point connection.
Select for DHCP: "Yes", the IP address, subnet mask and gateway data are
transmitted and displayed automatically via a DHCP server. These data cannot be
overwritten.
You have to enter the computer name and DNS domain manually.
Select for DHCP: "No", because no server exists, for example, you have to
determine and enter the data yourself.
For stand-alone local area networks, RFC 1597 provides for three address ranges
so that there are no conflicts while using the Internet at the same time:
10.0.0.0 > 10.255.255.255 (Class A network)
172.16.0.0 > 172.31.255.255 (Class B network)
192.168.0.0 > 192.168.255.255 (Class C network)
The IP addresses for small networks should be selected from these ranges.
Company network
Since the company network already exists, you will need to ask the administrator
for the settings and addresses.
A fixed IP address is used to address the company network. You will need to ask
your administrator for an IP address for each NCU.
The computer name is also provided by the network administrator and corresponds
to the IP address that is set.
Further, it is necessary to have the correct subnet mask for the network and a
default gateway (router).
If you intend to use a DNS server, you will also need its IP address and the DNS
domain.
Operation:
The first entry in the line is the IP address.
The second entry is the computer name. The data already specified appears in the
upper section of the screen.
By selecting the "New" and "Edit" softkeys you can go to the lower half of the
screen where you can edit entries.
You can change back to the upper section by pressing the "Cancel" softkey (data is
not saved) or the "Save" softkey (data is saved).
With external drives (network connections) you need to specify the full network
path (\\Rechnername\Freigabenamen\Pfadangabe), whereby the path name is
optional:
\\R4711\Workpieces\Template
\\R4812\Workpieces
These names must be available on the network computer. The network computer,
for example, is called "\\R4812". The share name WORKPIECES must be specified
on any hard disk drive on this computer.
File types
The file types are set up as needed and are evaluated and displayed by the NCU.
The Program Manager will use the file extensions to filter the files to be displayed
and those to be hidden. This filter function can be set as follows:
If the "New" or "Edit" softkeys are selected, a switch is made to the lower half of the
window where a new extension can be entered or an existing extension edited. To
exit, press "Cancel" (without changes) or "Save" (with changes).
For the authorization of the input for configuration data, the following display
machine data must be set up:
MD 9509: MM_USER_CLASS_DIRECTORY_CHG (value 0 ... 7)
The display machine data for the access rights are effective immediately, i.e., after
switching to the relevant application. A restart is not required.
Important
The change or set up of a Windows network drive (prefix: smb) cannot be made
in the LOGDRIVE.INI, because the password must be entered encrypted.
Opening LOGDRIVE.INI
You need access level 0 in order to call up the file.
Procedure:
To open the file, proceed as follows:
• Select the “Startup” operating area.
• Press the "HMI" softkey.
• Press the "Editor" softkey (HMI only).
• Press the "Flash Card" vertical softkey.
You will find the file in: \user\sinumerik\hmi\cfg\logdrive.ini.
• Press the "Input" key to open the file.
LOGDRIVE.INI file
[CONNECTIONS]
Connection<Index>=<entry>
SK-Connection<Index>=<Softkeytext, 2-lines separated by %n>
Username<Index>=<Username>
Password<Index>=<password, coded, cannot be changed with the editor!>
Type <Index>=
AccessMachine<Index>=<access>
AccessProgram<Index>=<access>
AccessService<Index>=<access>
Note
For a connection to a Linux connection, "nfs:" is prefixed to the computer name.
Example of a LOGDRIVE.INI
;-------------------------------------------------- --------
;Copyright (C) Siemens AG 2005 All Rights Reserved.
;----------------------------- -----------------------------
;[CONNECTIONS]
;Connection<Index>
;Connection<index>=<entry>
;AccessMachine<index>=<access>
;AccessProgram<index>=<access>
;AccessServices<index>=<access>
[CONNECTIONS]
Connection = 1
Connection1 = "acttcu://0,2/"
SK_Connection1 = "USB%nFront"
Username1 = " "
Password1 = " "
Type1 = "0"
AccessMachine1 = "5"
AccessProgram1 = "5"
AccessServices1 = "5"
Connection = 2
Connection2 = "acttcu://2/"
SK_Connection2 = "USB2"
Username2 = " "
Password2 = " "
Type2 = "0"
AccessMachine2 = "6"
AccessProgram2 = "6"
AccessServices2 = "6"
Connection = 3
Connection3 = "accttcu://1/"
SK_Connection3 = "USB3"
Connection = 4
Connection4 = ""
SK_Connection4 = ""
Username4 = " "
Password4 = " "
Type4 = ""
AccessMachine4 = ""
AccessProgram4 = ""
AccessServices4 = ""
Connection = 5
Connection5 = ""
SK_Connection5 = ""
Username5 = " "
Password5 = " "
Type5 = ""
AccessMachine5 = ""
AccessProgram5 = ""
AccessServices5 = ""
Connection = 6
Connection6 = ""
SK_Connection6 = ""
Username6 = " "
Password6 = " "
Type6 = ""
AccessMachine6 = ""
AccessProgram6 = ""
AccessServices6 = ""
Connection = 7
Connection7 = ""
SK_Connection7 = ""
Username7 = " "
Password7 = " "
Type7 = ""
AccessMachine7 = ""
AccessProgram7 = ""
AccessServices7 = ""
Connection = 8
Connection8 = ""
SK_Connection8 = ""
Username8 = " "
Password8 = " "
Type8 = ""
AccessMachine8 = ""
AccessProgram8 = ""
AccessServices8 = ""
[EXTENSION_FILTER]
Note
You must not edit the password, as it is encrypted in this file.
Backup option
A complete system data image is transferred to the CompactFlash card (optional).
Press ‘L’ to save exception data to the local compact flash card.
You can also press ‘R’ to reboot immediately but we recommend to first
save the data.
Transmission finished
Once all the data have been transferred successfully, the following message
appears:
.
The exception data was saved in folder /user/sinumerik/hmi
Please send the saved information to the SINUMERIK Hotline!
email: [email protected]
Fill in subject: "HMI-Embedded exception (SW XX.XX.XX; date)"
3.4.1 Restart
The exception handler attempts an automatic restart in Restart mode.
If the NCU has not reacted after 60 seconds, you must restart it manually by
switching the power supply to the system off and then on again.
4 Functions/Parameterization
4
4.1 Access protection using password and key switch................... IM2/4-33
4.1.1 Password ............................................................................... IM2/4-34
4.1.2 Keyswitch............................................................................... IM2/4-35
4.11 Specifying the machine and rotary axis position .................... IM2/4-54
4.14 Expanding user displays from the operator interface ............. IM2/4-57
Access rights
• 0 to 3 are locked by means of a password and
• 4 to 7 by means of keyswitch positions.
Access features
• Protection level 0 provides the greatest number of access rights,
protection level 7 the least.
• Access rights can be set by querying the current keyswitch positions and
comparing the passwords entered. When a password is entered it
overwrites the access rights of the keyswitch position.
• Access rights for protection levels 4 to 7 are only suggestions and can be
altered by the machine tool manufacturer or end user.
4.1.1 Password
Setting/resetting password
The passwords for the 4 available password levels with their respective access
authorization can be entered in the "Diagnostics" operating area through selection
of the "Set password" softkey.
References: /BEM/Operator's Guide HMI Embedded
A password remains valid until the access authorization is reset with the "Delete
password" softkey.
Access authorization is therefore not automatically deleted by Power On!
Permitted characters
Up to eight characters can be used in the password. We recommend that you
restrict yourself to the character set of the operator panel in selecting a password.
Where a password consists of less than eight characters, the additional characters
are interpreted as blanks.
Default passwords
The following default passwords are defined for protection levels 1 to 3:
Protection level 1 SUNRISE
Protection level 2 EVENING
Protection level 3 CUSTOMER
Note
The passwords are entered as the defaults on system ramp-up in startup mode
(NCK startup switch in position 1).
The default passwords should be changed in order to guarantee reliable access
protection.
4.1.2 Keyswitch
Protection levels 4 to 7 require a corresponding keyswitch position on the machine
control panel. Three keys of different colors are provided for this purpose. Each of
these keys provides access to certain areas only. The keyswitch positions are
transferred at the PLC interfaces. The associated interface signals are in the DB10,
DBB56 and can be evaluated by the PLC user program.
Keyswitch application
The keyswitch can be used to inhibit access to certain data areas. In this way, for
example, unintentional changes by the operator in the geometry data (e.g., work
offsets) can be excluded.
Keyswitch position 0 has access rights of the lowest priority and position 3 access
rights of the highest priority.
Example:
%_N_SGUD_DEF ; File for global variables
; $PATH=/_N_DEF_DIR
REDEF $MA_CTRLOUT_SEGMENT_NR APR 7 APW 4 ; (APR … read access)
REDEF $MA_ENC_SEGMENT_NR APR 2 APW 2 ; (APW … write access)
REDEF $SN_JOG_CONT_MODE_LEVELTRIGGRD APR 2 APW 2
M30
The MD 10000 general machine data has protection level 2 / 7, i.e. protection level
2 (corresponds to password) and protection level 7 are required to write or read,
respectively. In order to access the machine data area, key switch position 3 or
more is required.
Example:
%_N_SGUD_DEF ; File for global variables
;$PATH=/_N_DEF_DIR
REDEF $MA_CTRLOUT_SEGMENT_NR APR 7 APW 2 ; (APR ... read access)
REDEF $MA_ENC_SEGMENT_NR APR 0 APW 0 ; (APW … write access)
REDEF $SN_JOG_CONT_MODE_LEVELTRIGGRD APR 7 APW 7
M30
4.2 Functions
4.2.1 Configuring Caps Lock
The CAPSLOCK function ensures that text entered via an external keyboard is
always entered in upper case and not in lower case.
Via the display machine data MD 9009: KEYBOARD_STATE sets the key behavior
for Caps Lock:
0: CAPSLOCK off
1: Setting not relevant!
2: CAPSLOCK on (default setting)
If the display machine data is set to “CAPSLOCK” you can switch between upper
and lower case with key combination “Ctrl” and the Shift key.
In this display machine data, the "Screen dark from HMI Embedded" function can
be started with the following entry:
MD 9006 = 1 < time in minutes, e.g., 1 >
MD 9006 = 60 < time in minutes, e.g., 60 >
MD 9006 = 0 Deactivation of the function (default setting)
You can access language selection via the “Language Selection” softkey in the
“Startup” operating area.
Select the first and second languages from the “Language Selection” menu.
During operation, the switchover between the set languages is performed via the
"Change Language" softkey in the “Startup” operating area.
The language displayed during the control ramp-up is set via the MD 9003 display
machine data. FIRST_LANGUAGE
This function is accessed via the Startup operating area in the PLC menu by
activating the "Set time/date" softkey.
If any changes are made to the time and date, the time and date from HMI
Embedded are transferred to the PLC.
The synchronization can be verified in the "Current time:" output field.
The cyclical synchronization of the time can be
• activated/deactivated via the "Synchronous AUTO/ON" or "Synchronous
AUTO/OFF" softkeys and
• the duration of the synchronization set via the "Synchronous manual" softkey.
10 minutes should be entered as default.
Minimum value: 0, maximum value: 99.
The set values are retained when the control is rebooted.
Note
Changes can only be made to the PLC operands with the appropriate password.
Bit 4 =0 Line feed will be displayed in an opened file in the edit field.
=1 The LF (line feed) icon will be hidden in an opened file in the
edit field.
The settings in the Program/Startup operating areas are retained after a reset.
You can mark the following functions in the "Yes" field at the side.
- Release new programs
- Hide LF in the program
- Display hidden lines in the program
- Enable active programs for editing.
- Special handling for mold making File size in KB
Bit 3 =0 The softkeys for selecting the contour elements are assigned
text.
=1 The softkeys for selecting the contour elements are assigned
icons.
If a valid display duration is set, each alarm is displayed for this time before being
replaced by the next alarm.
MD 10260: CONVERT_SCALING_SYSTEM ≠ 0
Function
You can establish a connection between HMI Embedded and the PLC in every
operating area, using the user interface.
Channel switchover
You can change to other channels by means of the vertically arranged softkeys.
Group switchover
Use the horizontal softkeys to switchover to a different group; the channels of the
current group are now displayed on the vertical softkeys. The switchover to another
channel takes place only when a vertical softkey is activated.
Note
The softkeys only offer the connections that are really assigned and whose
channels are active in the respective NCK.
NETNAMES.INI file
1. Define groups (a max. of 8) in "logChanSetList"
2. Define the NCKs and the channels with unambiguous names for the
groups in "logChanList"
3. For the channels (max. 8/group) specify
- The NC name in "logNCName",
- The channel number on the NCK in "ChanNum" and
- Reserve softkey yes/no (via the command IsAGap" = True/False )
[own]
owner == MMC_1
[conn MMC_1]
conn_1= NCU_1
[param network]
bus= mpi
[param MMC_1]
mmc_address = 1
;only the first letter N or H will be
evaluated
name=VNC ;NCU -> connection using IP to 710s, ip=must
be specified
;HT8 -> connection using SPC2 to PCU with Linux,
ip will be ignored
;VNC -> or no name, connection to 710s with
internal HMI, ip will be ignored
[param NCU_1]
nck_address= 3 ,ip=127.0.0.1
plc_address= 2 ,ip=127.0.0.1
name = NCU710
[chan MMC_1]
ShowChanMenu = TRUE
DEFAULT_logChanSet = ChannelArea1
DEFAULT_logChan = Channel11
logChanSetList = ChannelArea1
[ChannelArea1]
logChanList = Channel11,Channel12,Channel13
[Channel11]
logNCName = NCU_1
ChanNum = 1
[Channel12]
logNCName = NCU_1
ChanNum = 2
[Channel13]
logNCName = NCU_1
ChanNum = 3
Example:
// CP = 1252
// IDEO = NO
// ANSI = YES
// UNICODE = NO
// VERSION = $VERSION
[SWITCHES]/NATIVE
File with OEM name specifications for channel-areas and
channels
The OEM user can enter texts by inserting them in the blank character strings (see
above "")!
8 characters are possible per softkey bar; the carriage return is created with
characters "%n": e.g., "NC3Turn%nChann1".
MD 9450 can be changed only when the display machine data MD 9202:
USER_CLASS_TOA_WEAR contains a valid protection level.
When the function is used in the reset state, the channel-specific machine data MD
20110: RESET_MODE_MASK Bit 0 = reset mode must be set appropriately. Then
the tool offset is not reset on a reset.
The D number can be assigned just once per tool, i.e., each D number stands for
one and no more than one offset data block.
Example:
Suppose you want to create a workpiece template with the content "Daten.ini" and
"TEST.MPF":
Workpiece: _TEMPL_
_TEMPL_.MPF
DATEN.INI
TEST.MPF
Operating sequence:
1. Press the "New" softkey
2. Name: Define "ACHSE"
3. The new workpiece "ACHSE" is created with the following files:
ACHSE.MPF
DATEN.INI
TEST.MPF
Note
The functions of HMI Embedded can be altered in the INI files, display machine
data or the user interface.
Note
Display machine data MD_ 9210 USER_CLASS_WRITE_ZOA (write coarse
offset) has no effect with “active zero offset” in the “Parameters” operating area.
Another column for the fine offset is inserted alongside the column for entering the
offsets.
The inputs will be validated using the display machine data
• MD 9203: USER_CLASS_WRITE_FINE
• MD 9451: MM_WRITE_ZOA_FINE_LIMIT
The first data describes the protection level, and the second data the amount of a
possible value that can be entered.
The base work offset (base WO) is displayed like a settable work offset and can be
selected and modified using the "Base WO" softkey in the screen form "Overview
of work offsets".
Introduction
The behavior of the scratching and preset actual value memory, PRESET
functions is influenced by a number of machine data. The selected settings also
affect operation. (Display of softkeys and values, saving of input values.)
With the introduction of system frames in software version 6, two variants are
available for the functions. The variants are differentiated using a channel-specific
machine data MD 28082: MM_SYSTEM_FRAME_MASK:
Bit: 0 Preset, scratching
1 External work offset
2 TCARR, PAROT
3 TOROT, TOFRAME
4 Workpiece reference points
5 Cycles
6 Frame transformation
3: Preset actual value memory: NCK with/without system frame: Setting possible
in the currently active frame.
Note
To hide the PRESET, preset actual value memory and scratching softkeys, the
display machine data 9220: MM_USER_CLASS_PRESET can be set.
Scratching
Scratching with system frame
G500 active
- The values are written to the system frame.
G500 not active
- The values are written in the currently active frame.
You cannot choose any tool other than the one in the spindle.
If there is no tool in the spindle, you can choose any tool you want.
Function
The operator can use the channel-specific machine data MD 20098:
DISPLAY_AXIS to suppress the display of the axes in the Machine area.
All axes are displayed by default.
20098 DISPLAY_AXIS
MD number Display or hide axis on MMC/HMI
Default setting: 0xFFFFFFFF Minimum input limit: 0 Maximum input limit:
0xFFFFFFFF
Changes effective after POWER ON Protection level: 2/7 Unit: -
Data type: DWORD Applies as of SW 4.4
Significance: Bits 16 to 31: MCS
Bit 16= 1 Display machine axis in actual-value windows
0 Hide machine axis in actual-value windows
(Bit 17) Unassigned
Bit 18= 1 Display machine axis in base offset window
0 Hide machine axis in base offset window
Bit 19= 1 Display machine axis in handwheel selection window
0 Hide machine axis in handwheel selection window
Special cases
Homing and Safety Integrated
The channel-specific machine data MD 20098: DISPLAY_AXIS is not evaluated in
the displays for “REF” homing mode, namely the “Axes Reference Point and
Acknowledge Safe Position” display. All machine axes are always displayed.
Therefore the operator cannot change the values for the base work offset without
the appropriate access right.
The access right 7 must be entered as default value in the display machine data
MD 9247 and 9248.
These settings apply to both the actual-value window and the editor window.
Example
In the NC program the movement of axes from X120 Y20 Z-50 to X200 Y200 Z-120
looks like this in binary display:
You can choose whether or not to show the STAT and TU values by setting the
following display machine data:
STAT and TU are not displayed:
MD 9242: MA_STAT_DISPLAY_BASE =0 of articulated position STAT
MD 9243: MA_TU_DISPLAY_BASE =0 of rotary axis position TU
In order to simulate certain operations during a dry run even though the
axis/controller pulses have been disabled, the transfer of status "Ext. pulse disable
active, terminal 663 open” to the NC has to be prevented.
The machine manufacturer can achieve this by evaluating the above-mentioned
PLC signal and activating the dry run simultaneously with NC Start.
If the drive machine data MD 1012: FUNC_SWITCH, bit 2 = 0 is also set, the "Ext.
pulse disable active, terminal 663 open" status will not be forwarded to the NC.
Via the display machine data MD 9020: TECHNOLOGY, you define the basic
configuration for the free contour programming of turning/milling.
If the option is set, the “3D Simulation” softkey will appear and can be used to
select the function.
In HMI Embedded you can integrate screen forms, which provide for programming
measuring cycles, into the G code editor. These cycles can then be recompiled
automatically.
The "measuring cycles" function is a software option with order no. 6FC520-
0BX00-0AB0.
For further information about measuring cycle support, please refer to:
References: /BNM/User's Guide Measuring Cycles
In this way, you establish the connection between the softkeys, with which you
call the measuring cycle support, and the configuration file of these support
screens.
In this way, you can change the properties of the measuring cycle support in
the “Startup” operating area.
Change the properties of the measuring cycle support in the "Startup" " >"
"Measuring Cycles" menu.
Parts programs, for example, can be edited on user interfaces created by users.
Screen forms can be created directly on the control system.
The application diskette and PaintShopPro (http://www.jasc.com) are required to
create graphics and images.
The tool box supplied contains configuration examples for new screen forms. You
can also use these examples as a template for creating your own forms.
Note
The display machine data MD 9610: CTM_POS_COORDINATE_SYSTEM is
used to set the position of the coordinate system for milling.
+Y +Z +X
+Z
+Y
+X +Y
+X +Z
0 +X 1 +Z 2 +Y 3
+Z +Z
+Y +Y +X
+X
+X +X
+Y +Z
4 5 +Z 6 +Y 7
+X +Y
+Z +X
+Z +Z
+Y
+Y
8 +Y 9 +X 10 11 +X
+Z
+X
+X +Z
+Z +Y +Y
+Y +Y
+Z
12 13 +X 14 +Z 15 +X
+Y +X +Y +Z
+X +Z +X
+Z +Y
16 17 +Y 18 +X 19
+Z
+Y +Y +Z
+X +X
+Z
+Z
+Z
20 +X
21 +Y 22 +X 23 +Y
+Y +Z +X
+Y
+Z
+X +Z
+X
+Y
24 +X 25 +Y 26 +Z 27
+Y +Y
+Z +Z +X
+X
+X +X
+Z +Y
28 29 +Y 30 +Z 31
+X +Y +X +Z
+Y +Y
+Z
+Z
32 +Z 33 +X 34 +Y 35 +X
+X
+X +Y
+Y +Z +Z
+Z +Z
+Y
36 37 +X 38 +Y 39 +X
+Z +X +Z +Y
+X +Y +X
+Y +Z
40 +Y 41 +Z 42 +X 43
+Z +Z +Y
+X +Y +X
+Y
+Y
+X
44 45 +Z 46 +X 47 +Z
Requirements
As different protection levels are assigned to machine data per default, the set
access authorization for the editing of machine data must be sufficiently high.
Depending on the authorization level, it will be possible to edit data such as cycles
and machine data.
Procedure
Another softkey menu is displayed when you select the ETC key ">" in the Startup
operating area.
When you select the "NC memory" softkey, the memory overview screen appears,
showing the amount of NC user memory currently available for programs and data.
The "SRAM" and "DRAM" areas have been provided to enable you to examine or
edit the machine data that configure the memory. These areas in turn are divided
into further groups.
The memory-configuring machine data are divided into the following groups:
- Tool management
- Global user data
- Curve tables
- Compensation
- File system / program memory
- Protection zones
Detailed view
Click the area of interest with the cursor and select the "Details" softkey. The
current data for the relevant machine data are then displayed.
The block header contains the number and name of the machine data. The
currently set values are output on the lines below.
You can change the memory setting in the gray field after "New value" or "New
number" to the right of the field containing the actual value.
This new setting is entered temporarily. Your entry is automatically checked for
limits and an appropriate message output in the dialog line if you make a mistake.
The total available memory, taking into account any modified values, is displayed in
the lower half of the screen.
The "Axis+" and "Axis-" softkeys are displayed for axis-specific machine data.
The "Channel+" and "Channel-" are softkeys displayed for channel-specific
machine data.
When you select the "Accept" softkey, the temporary values of the displayed
machine data are transferred to the NC.
You can exit the detail view by selecting the "Cancel" softkey or the Recall key "^".
Note
Once you have pressed "Accept" softkey, the "Cancel" softkey is no longer
operative, i.e., any changes you have made cannot be undone.
Data backup
When you change the allocation of a memory, alarm 4400 "Machine data alteration
will cause reorganization of buffered memory (data loss)" appears.
Since data are not backed up automatically, to avoid data loss you must back up
the data yourself by way of an NCK Reset before you transfer the MD change.
By selecting the horizontal softkeys, you can view or edit the general machine data
memory values of other subgroups.
Operating instructions: See Section "Static user memory (SRAM), Detail view"
The user has to apply for a license (operator authorization), order number:
6FC5800-0AP30-0YB0
before he can use the remote diagnosis software "RCS Host Embedded" on the
NCU.
See Chapter 3: Licensing
The remote diagnosis software “RCS Viewer Embedded V1.1” for PC (Windows) is
stored on the remote diagnosis CD "RCS Viewer Embedded”, order number:
6FC6000-6DC81-0BA0.
Requirements
The following hardware and software is required:
• Establish a tunnel connection between NCU 7x0 (Ethernet interface X130)
(machine) and the remote PC (viewer), e.g. via hardware router with so-called
VPN (Virtual Private Network) functionality, e.g. Cisco 803
• Windows PC (XP/ NT4/ 95/ 98) with network connection
• "Viewer" application (mmcR.exe) from the remote diagnosis CD (remote PC)
• Ethernet cable
• Logic drive for data exchange (file transfer)
Connection structure
The example shows the connection via the ISDN network (64 kbit/s). This
telephone network provides the capability of connecting to remote LANs via a
tunnel using the point-to-point protocol (PPP). The NCU 7x0 is connected to the
ISDN network via the Ethernet interface with a hardware router (with VPN
functionality).
172.1.1.2
Host: NCU 7x0 (HMI Embedded)
IP 192.168.254.4 Ethernet BRIO Interface BRIO Interface Ethernet Host: IP 192.168.12.238
174.1.1.1 192.168.254.1 192.168.12.237 172.1.1.1
Prozess:UDP-Ping (Server) Prozess: UDP-Ping (Client)
auf Port 9999 Ziel: 192.168.254.4:9999
Tunnel Verbindung
Host: Remote-PC (VPN) Prozess: "RCS Host NCU 7x0"
IP 192.168.254.129 (Server) auf Port 5800
Prozess:file-transfer (Server)
"Netzwork-Manager"-Applikation
Share folder Port 19000
The relevant “Ping server” on the remote PC must be activated for this purpose.
This server has the task of accepting the incoming "Ping" data (e.g. serial number)
of the requesting machine and registering the IP address of the requesting
machine. If this server application is not provided by the service provider, it is
possible to configure the RCS viewer application so that a simple “Ping” server
process can be started on the RCS Viewer.
The IP address, the port, and the protocol used for this Ping server are specified by
the service provider and must be set on the machine.
The remote diagnosis is initiated by the machine. The NCU 7x0 is connected to the
appropriately configured router via an Ethernet cable and starts the remote
diagnosis via the operating interface. The NCU 7x0 then sends cyclical preset
"Ping" data to the remote PC and waits for its response. The transmission of the
"Ping" causes the router to establish the connection (e.g. switched ISDN
connection).
When the response is received from the remote PC, the NCU 7x0 is ready for the
data communication for the remote diagnosis. For this, a server process is started
on the NCU 7x0, which is responsible for the exchange of graphic information to
the remote PC and the keyboard inputs from the remote PC.
The exchange is performed via the TCP/IP protocol and a “permanently” agreed
port. A so-called "Viewer" application (mmcR.exe) is installed on a remote PC as
communication partner. From now on, all further activities will be initiated by the
remote PC.
With the arrival of the "Ping" on the PC, the IP address of the requesting NCU 7x0
is known and the "Viewer" application (mmcR.exe) with this destination IP address
can be started on a PC. This application runs as a client. The machine can be
monitored and controlled via this remote PC.
The transfer of files between the remote PC and the machine is handled with local
drives (see Chapter 3: Network operation with HMI Embedded).
The entries
• IP address
• Subnet mask
• Gateway
are already specified by the router configuration and are only used as examples
here.
When you press the "Save" softkey, the NCU 7x0 is restarted.
The port number, default 5800, is entered in the "Port for remote diagnosis (default
5800)" input field for the server process (remote diagnosis). The same port number
must be entered in the "Viewer" application on the remote PC.
Requirements
• Remote diagnosis CD with the "RCS Viewer Embedded" software
• Logical drive for the file transfer
Installation
The remote diagnosis is installed by running the “Setup.exe” program.
Configuration
Start the "Viewer" application "mmcR.exe" on the remote PC.
If the default for the remote diagnosis port is changed, for example, due to firewall
settings when the port is activated for incoming packages only, select the
“Configuration” switch in the "RCS Viewer Embedded (Remote Control System)"
window (see Figure 4-6).
In the “Option” area, you can specify that a Ping server process is set up on the
RCS Viewer, which will wait for the incoming “Pings”.
Additional settings
Setting graphic transmission mode
The transmission mode for the screenshots is set in the “Mode Configuration” area.
“Graphic Frame” and “Extended Compressed” are the default settings and feature
the highest transmission rate for this remote diagnosis version.
Note
The field “Graphic Emulation” is not supported with SINUMERIK 840D sl.
Click “OK” to save your settings. The following dialog appears in the next window:
"The port-number has been stored.
Please, restart your application.”
Note
Each time the configuration on the remote PC is changed, you have to restart the
NCU.
When the connection to the remote PC is established, the NCU 7x0 waits for the
"Viewer“ application (mmcR.exe) to be started on the remote PC and the
communication for the data exchange to be activated.
The message: "Ping server responds" appears.
This communication is performed via remote diagnosis which, per default, is
applied to port number 5800.
When the message "Communication running" appears, operation of the machine
from the remote PC is possible.
Remote PC (viewer)
The RCS Viewer can be started either via the Start menu of through a double-click
on the “mmcR.exe” file.
When you click the "Connect" button, the connection with the machine is activated
via the remote diagnosis port. The corresponding status messages are output in
the field below. When these are completed, the dialog is minimized and the HMI-
Embedded interface appears.
Press the “Configuration” button to display the “RCS Configuration” window. See
Fig. 4.5: Port setting
File transfer
The file transfer is performed in the "Program" operating area. When you press the
softkey defined via “logic drives”, the contents of the selected folder are displayed.
The transfer can be performed using the vertical soft keys.
Filter:
H01 ShopMill
H02 ShopTurn
H03 ManualTurn
H04 Access levels
H05 Standard machine
With Sinumerik 840D sl, all alarm text files are stored in the CompactFlash card's
file system. The file system is subdivided into the directories (subtrees) “siemens”,
“addon”, “oem”, and “user”.
Each directory is structured in the same way.
Note
No changes can be made in “siemens”!
New/modified text files can be inserted into “oem” (for the machine manufacturer)
or “user” (for end user).
Note
The CompactFlash card can only be accessed while the NCU is running.
"siemens" (/siemens/sinumerik/hmi/lng/),
"addon" (/addon/sinumerik/hmi/lng/),
"oem" (/oem/sinumerik/hmi/lng/),
"user" (/user/sinumerik/hmi/lng/).
The text files in the “siemens” area represent the original status and cannot be
modified.
The text files are sorted according to language and stored in separate
subdirectories in each “Ing” directory. The subdirectory names correspond to the
language abbreviations in Table 5-5.
For example, you will find German text files under the following path:
/siemens/sinumerik/hmi/lng/deu
The text files for cycles are stored in a directory named “cycles”, which is located
parallel to “hmi” in each case:
"siemens" (/siemens/sinumerik/cycles/lng/)
"addon" (/addon/sinumerik/cycles /lng/)
"oem" (/oem/sinumerik/ cycles /lng/)
"user" (/user/sinumerik/ cycles /lng/)
The language-dependent subdirectories for the installed languages are already set
up in the "siemens" directory.
They will have to be created in the “oem” and “user” directories, if required.
Create directory
You can create the language-dependent directories (deu, eng, etc.; see Table 5-5)
in the “oem” and “user” directories.
! Important
Directory names must be written in lower case letters,
e.g., deu.
Table 5-1 Alarm numbers for cycle, compile-cycle and PLC alarms
Number range Description Effect Delete Name
The number range in the list is not available with every number.
References: /DA/ Diagnostics Guide
//**********************************************************************/
//* PLC user alarm file */
//**********************************************************************/
//* User entries: */
//* p.e. */
//* 800001 0 0 "Safety door faulty, error analysis required" */
//* max. 62 characters! */
//* Area for Application: 700000-799999,800000-809999,811000-819999
*/
//*******************************************************************/
Header
The text files begin with several comments, which contain information for the
runtime system.
You can enter texts that can be assigned freely after “[SWITCHES]/ALARM”.
// CP = XXXX Number of the code page used to create the file (ANSI table,
see Table 5-5)
// IDEO = Use of Asian text:
Yes: Logographic language
No: Single-byte language (default: No)
Comment
You can insert comments before every line in the alarm text file. These comments
have to begin with “//”.
Table 5-2 Structure of the text file for PLC alarm texts
Alarm Display Help ID Text or alarm number Text displayed on HMI
number
510000 1 0 "Channel %K FDDIS all" Channel 1 FDDIS all
600124 1 0 "Feed disable axis %A" Feed disable axis 1
600224 0 0 600124 Feed disable axis 2
600324 1 0 600224 Feed disable axis 3
Alarm number
List of alarm numbers
Display
This number defines the alarm display type:
0: Display in alarm line
1: Display in a dialog box
Help ID
Since help is not displayed with HMI Embedded, a “0” always has to be entered.
Note
The alarm number is output by the PLC via basic program module FC 10 (this
uses PLC system function SFC 52 to send alarms to the HMI). Supplementary
information is not supported.
However, the alarm number can also be transferred to the HMI by means of PLC
system function SFC 17, SFC 18 (ALARM S, ALARM SQ). The mechanisms are
used, for example, by the PDIAG configuring tool.
The alarm number displayed on the HMI is transferred via SFC parameter EV_ID.
The supplementary information for the alarm number is transferred via SFC
parameter SD.
Table 5-3 Freely assignable range, for example, for cycle alarm texts
Alarm number Display Help ID Text or alarm number
065100 1 0 "No D number %1 is
programmed"
065101 1 0 600100
065202 0 0 "Axis %2 in channel %1 is still
moving"
The alarm number, display and help ID are as described in the previous example.
OEM code pages are not supported for languages not listed.
The images are stored on the CompactFlash card under various paths, divided into
write-protected (standard) and user-specific areas.
Standard (write-protected)
The write-protected standard icons are stored in folders (icoxxx) using the following
path:
"/siemens/sinumerik/hmi/ico/icoxxx/”
xxx stands for the relevant resolution, “640”, “800”, “1024” (see table above).
User
The user-specific icons are stored in folders (icoxxx) in the following three
subdirectories:
• Standard expansion
(AddOn projects) /addon/sinumerik/hmi/ico/icoxxx
• Manufacturer /oem/sinumerik/hmi/ico/icoxxx
• User /user/sinumerik/hmi/ico/icoxxx
In-house configurations
Files with the configured screen definition "Expanding the user interface" (wizard
"com files" including icons) are located in folders:
/oem/sinumerik/hmi/proj
/user/sinumerik/hmi/proj
The program path of the currently selected program is then displayed in the bar
underneath, together with the program name.
16 display positions are defined in the program status bar.
Configuring
The cross-channel status display is allocated and configured with user icons in the
HEADER.INI file.
Enter the names of the user icons and the signal for controlling symbol selection in
the HEADER.INI file, section "UserIcons".
[UserIcons]
UI_0= <Ikone_00.bmp>, <position>
UI_0: Name of identifier
Ikone_00.bmp: Name of user icon
Position: Display position (1 to 16)
...
UI_31= <Ikone_31.bmp>, <position>
USER_ICON_BASE = DBx.DBBy
DBx.DBBy: Signal for controlling icon selection, defined by
the user.
User icons are addressed bit-by-bit, i.e., if bit n is set in signal DBx.DBBy, the user
icon with identifier UI_n is displayed.
If the bit is reset by the PLC, the assigned user icon in the program status display
is deleted.
If several user icons are assigned to the same position, the user icon with the
highest identifier number is displayed. Empty positions do not have to be entered.
1. You can copy the default files on the CompactFlash card from the “siemens”
area, edit them as required and store them in your own "oem" or "user" areas.
2. You can copy in-house text files, e.g., files that have already been modified,
from a USB FlashDrive and insert them in your own “oem” or “user" areas on
the CompactFlash card.
! Important
The entire files must always be stored to prevent the contents of files in different
subtrees being compared.
Note
If you try to save a copied file to the CompactFlash card by overwriting an
existing file of the same name, the message “Internal error” is output.
Delete the previous file of the same name and repeat the action.
Editing files
• To edit the selected file, press the “Input” key to open the file.
• Press the "Close editor" softkey to close the file.
Note
User texts may only be inserted in the “oem” or “user” directories.
Storage
Text files named NCTEA_xx.TXT (xx = language code deu, eng, etc.) can be
stored on the CompactFlash card in the following directories:
user\lng
addon\lng or
oem\lng
Syntax
Number plaintext
Number: Number of the machine data item
Plaintext: Plaintext of the machine data item, maximum 62 characters
(The plaintext cannot be enclosed by inverted comas.)
Note
If a machine data item has different indices and you do not specify an index for
the plaintext, the same plaintext appears for all the indices of the machine data
item.
Note
PLC machine data plaintexts are created and handled in the same way as alarm
texts.
Display
The text for the selected machine data item is displayed below the machine data
list in the Startup operating area.
6 Series startup
6
6.1 Series startup.............................................................................IM2/6-110
6.1.1 Exporting data.........................................................................IM2/6-110
6.1.2 Importing data .........................................................................IM2/6-111
2. Area—specific archiving:
- PLC data
- Drive data
This type of file cannot be modified externally using an ASCII editor.
Procedure
• Select the "Services" operating area.
• Press the “ETC” key.
• Press the "Series start-up" horizontal softkey.
A window appears where you can select from the following:
- NCK data - With compensation data
- Drive data
- PLC data
Use the arrow keys to select an area (.arc) and mark it with the "Select" key.
• Start the “Output data” operation by pressing the “Generate Archive” softkey.
• The lower part of the window contains the "Save as..." field and the furnished
drives are offered as the storage location.
• Using the arrow keys, select the storage location, e.g. “FlashCard”
(CompactFlash card) or “Front” (USB FlashDrive) and press the “OK” softkey.
• The storage directory, e.g.: on the card: card/user/sinumerik/data/archive and
the file, e.g., "PLC.ARC" are displayed. Press the "OK" softkey.
• Now, you can assign a different name.
• Press "OK" again to start the data transmission.
Note
When the drive data is selected, it takes 1 to 2 minutes after pressing the "Create
archive" softkey until the drive has saved the data on the CompactFlash Card.
Note
When you save very large files to the CompactFlash card, the message "Please
wait - file being flashed" appears. Acknowledge the message with the "Recall"
button.
Procedure
In the “Services” area, select the created archive (arc.) and press the “Read in
archive” vertical softkey.
The "Read in update archive" window pane opens.
Start importing by pressing the “OK” softkey.
Log
Press the "Log" softkey to view the transmission report on the screen.
7 Data Backup
7
7.1 Data backup............................................................................ IM2/7-114
7.1.1 Introduction .......................................................................... IM2/7-114
7.1.2 Data backup with HMI Embedded ....................................... IM2/7-116
7.1.3 Data backup for changed machine data.............................. IM2/7-116
7.1.1 Introduction
Execution
You should backup your data
• after startup,
• after changing machine-specific settings,
• after service (e.g., after replacing hardware or software), in order to resume
operation quickly
• during startup before altering the memory configuration to make sure that no
data are lost during startup.
The modified data can be stored over all furnished drive connections.
Required accessories
You will require the following accessories in order to save data:
• USB FlashDrive
• Keyboard (for uppercase/lowercase)
Requirements
• To store data to the CompactFlash card you need the license release for the
additional 256 MB HMI user memory.
• All configured network drives must be permanently accessible while HMI
Embedded is running.
• The unit defines the channel, the axis or the TOA area. No unit has to be
specified if the entire area is selected.
• The type determines the data type. During a data backup, the file names are
created and output automatically.
Areas
NC General NC-specific data
CH Channel-specific data (unit corresponds to the channel
number)
AX Axis-specific data (unit corresponds to the number of the
machine axis)
TO Tool data
COMPLETE All data of an area
INITIAL Data for all areas (_N_INITIAL_INI)
Types
TEA Machine data
SEA Setting data
OPT Option data
TOA Tool data
UFR User input frames: Settable Work offset, rotations, etc.
EEC Measuring system error compensation
CEC Sag/angularity compensation
QEC Quadrant error compensation
PRO Protection zone
RPA R parameters
GUD Global user data
INI General initialization program (all data in the active file
systems)
References: /IDsl/ Installation and Startup Manual CNC Part 1 (NCK, PLC, Drive)
Next to backup of “Series startup” data you can also back up individual files in
operating area “Services” using the softkeys “Copy" and “Insert”.
Besides saving them to the CompactFlash card you can also save them to other
memory media, for example a USB FlashDrive, via the network connections set up
on your machine.
See the procedure in Section: Alarm, user, and message text files.
11210 UPLOAD_MD_CHANGES_ONLY
MD number MD backup of changed MD only
Default setting: 0 Minimum input limit: 0 Maximum input limit: 255
Change effective: Immediately Protection level: 2/4 Unit: –
Data type: BYTE
Significance: Selection of differential MD upload:
Bit 0 (LSB) Scope of the differential upload with TEA files (area-specific
archiving)
0: All data are output
1: Only data, which deviate from the standard, are output
(not valid for INITIAL_INI)
If a value of a data item, which is stored as an array, is
changed, the entire MD array is always output.
(e.g., MD 10000: AXCONF_MACHAX_NAME_TAB).
Effective: Changes to the data become effective when the upload for
the next area is started.
Note
It might be sensible to back up only altered machine data before a software
update if changes have been made to the default machine data settings in the
new software version. This applies particularly to machine data, which are
assigned SIEMENS protection level 0.
Note
MD 11210 UPLOAD_MD_CHANGES_ONLY should be set to "1" or the
corresponding bits set to "1". With this setting, the transferred files contain only
those data, which deviate from the default.
8 Diagnostics
8
8.1 Action log ................................................................................ IM2/8-120
8.1.1 Log file: "action.log" ............................................................. IM2/8-122
8.1.2 Displaying the log file / setting the action log....................... IM2/8-123
8.1.3 Outputting the log file........................................................... IM2/8-123
Note
The precondition for the Action Log function is that the "Startup" operating area is
installed.
9012 ACTION_LOG_MODE
MD number Action log settings
Default value: 255 Min. input value: 0 Max. input value: 0xffff
Changes effective after POWER ON Protection level (R/W) 2/2 Unit: -
Data type: DWORD
Meaning This MD can be used to enable/disable the action log and to
define a choice of the data to be logged.
If the action log is enabled, the following loggable files are logged by default.
Alarm status
All displayed NC/PLC and HMI Embedded alarms and messages are logged.
Key actuation
All actions on the operator panel front and on the MF2 keyboard are logged.
Channel status/override
NC/PLC statuses are logged using information about the channel status and the
position of the override switch. At least in parts, if they can be recorded by time,
these statuses are used to verify the operation of the MCP.
Window ID
The identification number of a screen is logged when it is opened or closed.
Example of an "action.log":
Date Time Event specification
26.02.1999 07:45:20 HMI booting (conn.no: 0, MM_ACTION_LOG_MODE:
ff, entries: 4094)
26.02.1999 07:45:20 Alarm 300701
29.09.1999 18:59:10 Key: 68 KEY_SELECT_MODE (0)
29.09.1999 18:59:07 Open window: 20005
29.09.1999 18:59:07 Close window: 20020
For older software versions, you can find an assignment of the window IDs to the
window names in the "Documentation \ Window Lists" directory on the software
CD.
For each software version, there is an assignment file, which contains the version
ID in the file name (e.g., 060507.txt for the software version P06.05.07).
The installed software version appears at the start of the log file.
The current log file is displayed on the operator panel screen in the "Diagnostics"
operating area, "Service Displays" → Action Log → menu in the "Action Log File"
window.
If a crash file exists, the softkey "Crash Data" is also displayed, with which the
crash file can be displayed.
HMI Embedded evaluates the rising edge of the signal (i.e., a transition from 0
to 1) and creates the log file when the signal comes. HMI Embedded only reads
the data, i.e., the signal must be reset by the PLC/user program.
If the bit is already set when HMI Embedded is booted, HMI Embedded does not
respond to the value of the bit (only after it has been reset and set again).
• The log file _AC_LOGP.TXT is read out either during the boot process or can
be read out in the Diagnosis operating area until the system is next switched
off. The file is then deleted.
• Acknowledge with “Yes”; the log file is now saved to the CompactFlash card.
Note
A latency must be observed between two signals to make sure that the second
signal can be processed.
You can display the version data of the following areas via the horizontal softkeys:
• Version data of the NCU
• Version data of the HMI
• Version data of the cycles (user, manufacturer, standard cycles)
• Definitions
• Compile cycles
I Index
I
I.1 Subject Index
Articulated position STAT ..............IM2/4-54
2
B
256 MB user memory ...................... IM2/1-9
Base offset .....................................IM2/4-50
Bitmaps
A Storage path .............................IM2/5-103
Blue screen ....................................IM2/3-28
Access rights ................................. IM2/4-33
Accessories ..................................... IM2/1-9
Action log C
Outputtting the log file .............. IM2/8-123
ACTION_LOG_MODE Changed machine data,
MD 9012..................................... IM2/4-76 data backup ................................IM2/7-116
ACTION_LOG_MODE Changing protection levels,
MD9012.................................... IM2/8-120 REDEF...........................................IM2/4-35
Actionlog Changing the language..................IM2/4-38
Set ............................................ IM2/8-123 CMM_DIRECTORY_SOFTKEY_PATH1
ACTIVATE_SEL_USER_DATA MD 9676 .....................................IM2/4-92
MD 9440..................................... IM2/4-88 CMM_DIRECTORY_SOFTKEY_PATH2
Activating tool correction MD 9677 .....................................IM2/4-93
immediately ................................... IM2/4-48 CMM_DIRECTORY_SOFTKEY_PATH3
Activating/deactivating calculator .. IM2/4-38 MD 9678 .....................................IM2/4-93
Alarm display ................................. IM2/4-41 CMM_DIRECTORY_SOFTKEY_PATH4
Alarm number ranges.................... IM2/5-98 MD 9679 .....................................IM2/4-93
Alarm text CMM_ENABLE_CUSTOMER_M_CODES
Storage path............................... IM2/5-96 MD 9661 .....................................IM2/4-92
Alarm text files CMM_ENABLE_TOOL_MAGAZINE
Syntax ........................................ IM2/5-99 MD 9674 .....................................IM2/4-92
Alarm texts CMM_FIXED_TOOL_PLACE
Create directory ......................... IM2/5-97 MD 9672 .....................................IM2/4-92
Editable text files ........................ IM2/5-97 CMM_POS_COORDINATE_SYSTEM
Alarm texts..................................... IM2/5-96 MD 9650 .....................................IM2/4-92
ALARM_ROTATION_CYCLE CMM_TOOL_DISPLAY_IN_DIAM
MD 9056..................................... IM2/4-78 MD 9663 .....................................IM2/4-92
alc.txt ............................................ IM2/5-97 CMM_TOOL_LIFE_CONTROL
alpu.txt .......................................... IM2/5-97 MD 9652 .....................................IM2/4-92
alsi.txt ............................................ IM2/5-97 CMM_TOOL_LOAD_STATION
aluc.txt ........................................... IM2/5-97 MD 9673 .....................................IM2/4-92
alzu.txt ........................................... IM2/5-97 CMM_TOOL_MANAGEMENT
ANSI table ................................... IM2/5-102 MD 9651 .....................................IM2/4-92
D number....................................... IM2/4-48 H
DARKTIME_TO_PLC
MD 9015..................................... IM2/4-76 Hardware
Data backup 840D sl..........................................IM2/1-8
General..................................... IM2/7-114 HEADER.INI ...............................IM2/5-104
Display machine data .................... IM2/4-75
PLC_ALARM_PICTURE
MD_NC_TEA_FILTER MD 9055 .....................................IM2/4-78
MD 9950..................................... IM2/4-93 PLC_HOTKEY
MD_NC_TEA_IDX_LIMIT MD 9017 .....................................IM2/4-76
MD 9951..................................... IM2/4-93 PLC_SYMBOL_FILTER
MD_TEXT_SWITCH MD 9054 .....................................IM2/4-78
MD 9900..................................... IM2/4-93 PLC_SYMBOL_SORT
Measuring cycles........................... IM2/4-56 MD 9053 .....................................IM2/4-77
Memory allocation Prerequisites
Tool management ...................... IM2/4-62 hardware....................................... IM2/1-8
User data.................................... IM2/4-65 software .......................................IM2/1-8
Memory expansion of the CF card . IM2/1-9 Preset.............................................IM2/4-51
Memory media................................. IM2/1-9 Presetting actual value memory ....IM2/4-51
Message texts ............................... IM2/5-96 PRG_DEFAULT_DIR
Metric/inch switchover ................... IM2/4-41 MD 9005 .....................................IM2/4-75
Milling simulation 3D graphic......... IM2/4-56 Program simulation ........................IM2/4-55
Milling simulation ........................... IM2/4-56 PROGRAM_SETTINGS
MD 9460 .....................................IM2/4-88
N
R
NC_PROPERTIES
MD 9500..................................... IM2/4-89 RCS Host Embedded
NETNAMES.INI Adapting to PC............................IM2/4-70
file extension .............................. IM2/4-43 Configure ....................................IM2/4-69
Netwerk Connection structure ..................IM2/4-67
Configuring ................................. IM2/3-21 File Transfer................................IM2/4-71
Netwerk operation Sequence....................................IM2/4-68
With HMI-Embedded ................. IM2/3-18 Starting .......................................IM2/4-73
Network RCS Viewer Embedded
Configure softkey ...................... IM2/3-18 Connection structure ..................IM2/4-67
Configuring, example ................. IM2/3-22 File Transfer................................IM2/4-71
Connection via MD .................... IM2/3-24 install...........................................IM2/4-71
Connections via INI file ............. IM2/3-25 Sequence....................................IM2/4-68
Connections ............................... IM2/3-18 REDEF...........................................IM2/4-35
Save data ................................... IM2/3-28 Resources
USB interface ............................. IM2/3-18 Displaying and editing ................IM2/4-60
NUM_AX_SEL RI suppression measures .............IM2/1-10
MD 9027..................................... IM2/4-77 Rotary axis position........................IM2/4-54
P S
USER_CLASS_WRITE_SEA V24_PRINTER_CONTROLS
MD 9215..................................... IM2/4-79 MD 9313 .....................................IM2/4-84
USER_CLASS_WRITE_TCARR V24_PRINTER_DATABITS
MD 9181..................................... IM2/4-78 MD 9316 .....................................IM2/4-84
USER_CLASS_WRITE_TOA_ADAPT V24_PRINTER_EOF
MD 9209..................................... IM2/4-79 MD 9312 .....................................IM2/4-84
USER_CLASS_WRITE_TOA_GEO V24_PRINTER_LINE
MD 9201..................................... IM2/4-79 MD 9319 .....................................IM2/4-84
USER_CLASS_WRITE_TOA_WEAR V24_PRINTER_PARITY
MD 9202..................................... IM2/4-79 MD 9317 .....................................IM2/4-84
USER_CLASS_WRITE_ZOA V24_PRINTER_RTS
MD 9210..................................... IM2/4-79 MD 9314 .....................................IM2/4-84
USER_WRITE_CYCFRAME V24_PRINTER_STOPBIT
MD 9186..................................... IM2/4-78 MD 9318 .....................................IM2/4-84
USER_WRITE_EXTFRAME V24_PRINTER_XOFF
MD 9188..................................... IM2/4-78 MD 9311 .....................................IM2/4-84
USER_WRITE_PARTFRAME V24_PRINTER_XON
MD 9184..................................... IM2/4-78 MD 9310 .....................................IM2/4-84
USER_WRITE_TOOLFRAME V24_USER_BAUD
MD 9183..................................... IM2/4-78 MD 9305 .....................................IM2/4-83
USER_WRITE_TRAFRAME V24_USER_CONTROLS
MD 9187..................................... IM2/4-78 MD 9303 .....................................IM2/4-83
USER_WRITE_WPFRAME V24_USER_DATABITS
MD 9185..................................... IM2/4-78 MD 9306 .....................................IM2/4-83
Utilization display........................... IM2/4-60 V24_USER_EOF
MD 9302 .....................................IM2/4-83
V24_USER_LINE
V MD 9309 .....................................IM2/4-83
V24_USER_PARITY
V24_PG_PC_BAUD MD 9307 .....................................IM2/4-83
MD 9325..................................... IM2/4-85 V24_USER_RTS
V24_PG_PC_CONTROLS MD 9304 .....................................IM2/4-83
MD 9323..................................... IM2/4-85 V24_USER_STOPBIT
V24_PG_PC_DATABITS MD 9308 .....................................IM2/4-83
MD 9326..................................... IM2/4-85 V24_USER_XOFF
V24_PG_PC_EOF MD 9301 .....................................IM2/4-83
MD 9322..................................... IM2/4-85 V24_USER_XON
V24_PG_PC_LINE MD 9300 .....................................IM2/4-83
MD 9329..................................... IM2/4-85
V24_PG_PC_PARITY
MD 9327..................................... IM2/4-85 W
V24_PG_PC_RTS
MD 9324..................................... IM2/4-85 Work offset ....................................IM2/4-50
V24_PG_PC_STOPBIT Workpiece template .......................IM2/4-49
MD 9328..................................... IM2/4-85 WRITE_TOA_FINE_LIMIT
V24_PG_PC_XOFF MD 9450 .....................................IM2/4-88
MD 9321..................................... IM2/4-84 WRITE_ZOA_FINE_LIMIT
V24_PG_PC_XON MD 9451 .....................................IM2/4-88
MD 9320..................................... IM2/4-84
V24_PRINTER_BAUD
MD 9315..................................... IM2/4-84
Commissioning Manual
Valid for
Control
SINUMERIK 840D sl / 840DE sl
SINUMERIK 840Di sl / 840DiE sl
SINUMERIK 840D powerline / 840DE powerline
SINUMERIK 810D powerline / 810DE powerline
Contents
1 General Preparations........................................................................................................... IM4/M1-5
1
1 General Preparations
Overview
This manual describes the procedure for performing a system startup of the PCU
50 with the HMI Advanced software.
For further reading on special NCK, HMI, PLC, or drive functions, refer to the
applicable descriptions of functions and manuals (see “Documentation”).
Software
Depending on the order details, the HMI Advanced software may be loaded on the
PCU 50 at the time of delivery. If the HMI Advanced software is not pre-loaded on
the PCU 50 (e.g., PCU 50 is supplied without system software), the HMI software
can be installed on the PCU 50 from the CD supplied using the Service menu.
To install the HMI Advanced software on the PCU 50, you need the following:
• PC or programming device with CD drive
• Network connection
• USB memory
Operating system
The HMI Advanced software can run on the Windows XP operating system.
Notice
Installing on a PC/PG:
HMI-Advanced can only be run under a non-administrator user if this user has
write privileges for the directory mmc2 of HMI Advanced. The installation of HMI
Advanced does not provide these privileges.
Documentation
For system startup of the SINUMERIC controller, you need the following
documentation:
• Operator Component Manual
• Operator's Guide for HMI Advanced
• Diagnostics Guide
• Description of Functions for the basic machine (Part 1)
• Commissioning Manual for the CNC Part 5 basic software
• Parameter Manual
Overview
The actions executed during HMI startup are controlled by the contents of
initialization files.
Notes on other entries can be found in the OEM documentation
Reference: HMI OEM package
For SINUMERIK powerline, the HMI Advanced startup can be modified for M:N
configuration in the NETNAMES.INI file. See Section “Overview of INI Files” and
Reference: /FB2/ B3 Multiple Operator Panel Fronts and NCUs
Startup settings
The following functions can be modified for HMI startup in the "Startup" operating
area:
• Language selection
• MPI/OPI address setting for SINUMERIK powerline
• Setting the IP addresses for SINUMERIK solution line
For SINUMERIK powerline, the PCU 50 is linked to the NC and the PLC via a
serial bus; for SINUMERIK solution line, the PCU 50 is linked to the NC and the
PLC via Ethernet.
This alarm occurs if HMI Advanced is started for the first time and the NC/PLC has
not yet finished starting up or communication with these components is faulty.
When this alarm occurs, all display values connected with NC/PLC become invalid.
Such faults are normal while the controls are starting up (e.g., after resetting). The
alarm disappears automatically as soon as the fault situation is resolved. If the
alarm persists, a wide variety of causes may be to blame (e.g., open circuit,
NC/PLC not started up, incorrect address/baud rate configuration on one of the bus
nodes, etc.).
Overview
Data are stored in the following directories:
• Workpieces
• Part programs
• Subroutines
• User cycles
• Standard cycles
• Manufacturer cycles
The data management directories can contain a combined total of 100,000 files,
whereby each directory (each *.WPD workpiece directory for workpieces) is limited
to 1,000 files. Files in other directories do not count toward the total limit of 100,000
files. However, each of these directories is also limited to 1,000 files, e.g., a
maximum of 1,000 archives in the archive directory. The following limit applies to
network drives: maximum of 1,000 files per directory.
In practice, the number of files available also depends on the file sizes and the
available memory space. A large number of files slows down the display generation
for directory displays.
Overview
A protection level concept for enabling data areas is implemented in SINUMERIK
840D. Protection levels 0 to 7 are available, where 0 represents the highest
protection level and 7 the lowest protection level.
Protection levels
• 0 to 3 are locked by means of a password
• 4 to 7 are locked by means of key switch positions
Protection level 4 (key switch position 3) is the minimum level required to display
machine data. For system startup, the appropriate protection level can generally be
enabled by entering the password "SUNRISE".
Overview
Specific settings can be made in HMI Advanced to address manufacturer and user
requirements by:
• Programming the PLC
• Parameterizing machine data (MD)
• Parameterizing INI files
References relating to job lists: /IAD/ Installation and Start-Up Guide 840D
/BAD/ Operator's Guide HMI Advanced
By means of the interface between the PLC and HMI in DB19, the PLC issues jobs
to the HMI that initiate a data transfer between the HMI (hard disk) and NCK.
Acknowledgment byte from HMI for the current data transfer status:
Job processing
A PLC job is processed according to the following scheme:
1. The PLC may only initiate a job in the job byte if the acknowledgment byte is 0.
2. The HMI mirrors the job (excluding the parameter set) in the acknowledgment
byte (signaling to the PLC that its job is being processed). The PLC receives a
"job active" signal for an unfinished job.
3. Once the operation is finished (OK or Error), the PLC must respond again and
delete the job byte.
4. In response, the HMI sets the acknowledgment byte to 0.
The PLC sets an index (1-127) via DB19.DBB16, which determines the control file
in which the job list names are stored.
Note
This function is not available if the MACHINE operating area is suppressed from
the HMI startup.
Conflict resolution
When a job list is executed manually (via operator input), prompts can occur in the
protocol, e.g., if an MPF file is located both on the NC as well as on a hard disk and
the two MPF files are different. The default response to the AR server can be
entered in the MASCHINE.INI configuration file.
The default setting is “yes”, i.e., all prompts are responded to with Yes. If "no", all
prompts are responded to with No.
[PLC_REQUEST]
DefaultAnswer=yes
This setting for the netmaster NCU/PLC means that data transfer is only activated
by the NCU/PLC with the symbolic name NCU_LEFT.
Machine manufacturer
See machine manufacturer's specifications.
2.1.2 Informing the PLC of the current task number of the HMI
Task number
A task describes the position at which an operating area is attached in the HMI
area menu, i.e., the highest level.
The following fixed relationship exists between softkey bars of the area menu and
tasks:
Application
For manufacturer-configured user interfaces, proper concurrence of key strokes on
the machine operator panel and the displayed operating areas/screens is essential.
Example:
The "Move unit" function is selected in a screen form. On the MCP are "forward"
and "backward" traversing keys, which are used to move the unit in real time.
To prevent a new screen from being displayed before the traversing key movement
has been completed, due to an operating area switchover in the HMI, for example,
the PLC is always able to know and check the current task number.
Configuration
The current task number is transferred to the PLC in a data block section that can
be specified as a string in the display machine data 9032: HMI_MONITOR as
follows:
DBxx.DBByy
where:
xx is the number of a data block
yy is the byte number of the 1st byte of the transfer area (word limit)
The transfer area is 8 bytes long.
The transfer takes place in the 1st byte. Bytes 2 to 8 are reserved.
Note
Check that the specified area is not already occupied by input bytes, output bytes
or flag bytes.
Updating
The task number in the first byte is updated:
• On every task change by the HMI
• When the connection is changed to a different NC in M:N
For the duration of indeterminate states (e.g., during changeover to another NC in
M:N), special value 255 is transferred as the task number.
Value range
The task number can assume values from 0 to 95, including the operating areas
configured by the user.
As a result, all visible tasks of the main menu (0 to 31) and the hidden child tasks
(32 to 95) are displayed.
Channel selection
Channel selection and display is initiated as follows (display in "Channel name"
field):
Spindle selection
Spindle selection is initiated as follows (display in spindle window):
DB 19, DBB 32 = 01000010 [binary] Spindle selection
DB 19, DBB 33 = <spindle number> Spindle no. to be displayed
Error codes
The following error codes, which provide information to the HMI about errors during
the function request of the PLC, are stored in DB 19, DBB 36:
Value Meaning
0 No error
1 No function number (DBB32 bit 0-5)
2 Invalid parameter
3 Error when writing HMI-internal variable
10 Channel not present (DBB33)
• The PLC sets Bit 6 to 1 "Function request". The function request can only be set
by the PLC if bits 6 and 7 have the value “0”.
• After displaying the text in the header the HMI writes “0” again in bit 6 and the
interface is enabled for the PLC for the next action.
Note
If two HMI units are assigned to one NC/PLC unit (M:N), the PLC must first
determine from the control interface which of the HMI interfaces is active.
Channel/spindle displays can only be requested by the PLC for the active HMI
unit. The interface for selecting channel/spindle displays for the 2nd HMI unit is
located in DB19, DBB82-86. The use is the same as described for DBB32-36.
Function
For this block search, the NC is operated in program test mode, so that interactions
between channel and synchronous actions and between multiple channels are
possible within an NCU.
During "Block search in program test mode", all auxiliary functions are output from
the NC to the PLC and the part program commands for channel coordination
(WAITE, WAITM, WAITMC, Replace axis, Write variables) are carried out by the
NC. That is:
Activation
The function is activated by the "Prog. test contour" softkey. The NC then starts the
block search and switches the selected program in the current channel to program
test mode:
• The auxiliary functions of the part program are output from the NC to the PLC.
• No axis movements are executed.
If during the block search the NC finds one of the part program commands WAITE,
WAITC or WAITMC, the NC waits for the specified partner channels, irrespective of
the current mode of these partner channels (e.g., normal program execution,
program test, search via program test, etc.).
When the NC reaches the specified target block in the current channel, the NC
stops the block search and deselects program test mode; the auxiliary functions of
the target block are no longer output.
Dialog message
A dialog message appears as soon as all the channels involved in the current
search have exited program test mode. This message indicates that, depending on
the particular part program, Repos offsets may have been produced during the
search operation in the channels involved in the block search and will be retracted
by the NC through interpolation the next time it starts. You must acknowledge this
message.
Any Repos offsets (in the individual channels) can be traversed manually one by
one in JOG mode, before program execution is continued at the point in the
program reached by the block search by pressing the "NC Start" key.
Search configurations
"Block search in program test mode" supports the following configurations:
1. Block search in the currently selected channel
(the currently selected channel is the channel selected by the HMI)
2. Block search in the currently selected channel and in all channels in which
the same workpiece is selected as in the current channel
3. Block search in the currently selected channel and in all channels that are in
the same mode group as the current channel
4. Block search in all channels of the NC
Configurations 2 to 4:
No block search is performed in the other channels (in contrast to the current
channel); program test mode is active in the other channels until a stop condition
(e.g., WAITMC) is detected.
[BlockSearch]
SeruproConfig
=1 Block search in currently selected channel (default)
=2 Block search in currently selected channel and in all
channels with the same workpiece
=3 Block search in currently selected channel and in all
channels with the same mode group
=4 Block search in all channels
Changes take effect immediately, i.e., with the next search.
Deactivating function
The following entries are possible in the [BlockSearch] section:
[BlockSearch]
SeruproEnabled
=0 Function inactive
=1 Function active (default)
Using the PLC, it is possible to configure a two-line text display to appear in the
"Program name" field in the header of JOG and MDA modes (e.g., selected slide,
activated handwheel). See also Alarm Display.
Text length
The maximum length of the texts to be displayed is 30 characters per line.
Syntax
The texts can consist of:
• A language-specific part (from alarm/message text file *.COM)
• Three parameters (%1, %2, %3)
User PLC-DB
The display must be configured via a user PLC-DB.
• The number of the DBx with DBBy must be entered by the user in the
HEADER.INI file as follows:
[UserTextInfo]
USER_TEXT_BASE=DBx.DBBy
where x = data block number, y = start byte in the block.
If "00" is written to a byte during text input, the HMI interprets this as the end of text.
Inputs after this "00" entry are not displayed.
Table 2-5: Interface of the user-PLC-DB for displays for program path/program name
Program Start DBBx Start DBWx Start DBBx Start DBBx Start DBBx
path line +1 +3 +4 +5-17
Data type Byte Word Byte Byte String
Meaning Bit 0=1: there is Offset for text Number from 0 Index from Character string
something to do from to 255 –127 ...128 max. 12
All bytes=1: alpu_xx.com to (corresponds to negative characters
job is be displayed, 1st parameter number (corresponds to
acknowledged 700000 is base %1) (-1=0xFF, - 3rd parameter
by HMI address and is 2=0xFE) is %3)
All bytes=0: always summed machine axis
PLC can write internally index, positive
to interface =0: Delete line number is
again channel axis
index. The
index is then
converted to an
axis name
before being
displayed.
(corresponds to
2. parameter
%2)
Program Start DBBx Start DBWx Start DBBx Start DBBx Start DBBx
name line +20 +21 +23 +24 +25-37
Data type Byte Word Byte Byte String
Meaning As above As above As above As above As above
Start-DBWx +1 Start DBWx+1 contains the offset for a text number with a base of 700,000
(user PLC texts). If this parameter = 0, the corresponding line is deleted.
Start-DBBx +3 Start DBBx+3 contains a number that is displayed without being converted.
Note
Bit 0=1 can only be set in Start DBBx for a new job if
• All bytes were reset to zero after the preceding job
• Parameters for the new job Start DBBx+1 to Start DBBx+5 have been set
correctly.
• Special characters that have a special meaning within the syntax for this
function (", %, $, #) must not appear within the user's character string (Start
DBB+5…).
The data for the program name line (second line) are located 20 bytes after the
start byte.
Task
The following texts should be output in the "Program name" field in the header of
JOG and MDA modes:
• "Handwheel acting on axis …" in the first line with the appropriate axis name
• "Slide … active" in the second line with the appropriate slide number.
Procedure
1. Identify the PLC-HMI interface in the HEADER.INI file, e.g., DB60.DBB10
4. Initiate text display from the PLC and describe the interface, e.g., for the first
display line:
DB60.DBW11 = 100
DB60.DBB14 = 2
DB60.DBB10 = 1
e.g., for the second display line:
DB60.DBW31 = 101
DB60.DBB33 = 1
DB60.DBB30 = 1
Result
With the following axis configuration
MD 20080 AXCONF_CHANAX_NAME_TAB[0] = "X"
MD 20080 AXCONF_CHANAX_NAME_TAB[1] = "Y"
MD 20080 AXCONF_CHANAX_NAME_TAB[2] = "Z"
the display is as follows:
"Handwheel acting on Y axis" (first display line)
"Slide 1 active" (second display line)
Function
The status of the following components can be output with icons in the program
status line (header):
• Channels
• Spindles
• Machine states
• Machine states only
SINUMERIK icons
The following SINUMERIK icons are available (name in brackets):
Spindle status
Spindle is turning (SPNDLEFT.BMP)
counterclockwise
Colors: TrueColor
Note
When using the "Reversible spindles" or "Axis container" functions, the spindle
status is output before the spindle reversal or assignment to axis/spindle
container, i.e. the spindle number displayed under spindle status is the "logical"
spindle.
Activation
The function is activated by MD 9052 SHOW_CHANNEL_SPANNING_STATE > 0.
Changes in MD 9052 take effect after a POWER ON.
This function is available if it is activated by means of the following machine data
element:
9052 SHOW_CHANNEL_SPANNING_STAT
MD number Change cross-channel status display
Default value: 0 Min. input value: 0 Max. input value: 1
Changes effective after POWER ON Protection level (R/W) 4/1 Unit: -
Data type: STRING Applies from version 6.2
Meaning Cross-channel status display:
0 = Display previous program status in header
1 = Display in program status line in header according to configuration in
Header.ini file.
1 Channel status
The channel status, feed stop, and spindle status are output as an icon at the
display position. The channel status icons can be superimposed with the "Spindle
not enabled" or "Feed not enabled" icon.
The following hierarchy applies (from highest to lowest priority):
1. Channel STOP (Highest priority)
2. Spindle not enabled
3. Feed is not enabled
4. Channel active
5. Channel RESET (Lowest priority)
Syntax:
ChanStatFeedStopSpindleStop = <Channel number>
Spindles = <Spindle number1>,...,<Spindle number n>
Channel number: Number of channel
2 Channel status
The channel status and spindle status are output as an icon at the display position
(spindle status can be output deliberately, for example). The channel status icons
can be superimposed with the "Feed not enabled" icon.
Syntax:
ChanStatFeedStop = <Channel number>
Channel number: Number of channel
3 Channel status
The channel status is output as an icon at the display position. Feed stop is also
output in the feed window in the Machine operating area, for example.
Syntax:
ChanStat = <Channel number>
Channel number: Number of channel
4 Spindle status
The spindle status is output as an icon at the display position.
Syntax:
SpindStat = <Spindle number> , Chan <Channel number>
Spindle number: Number of (logical) spindle
Channel number: Number of channel optional
If the channel number is not specified, then the spindle status for the current
channel is displayed. If the channel is changed, the display is updated accordingly.
Notes:
• Empty positions need not be specified.
• Predefined status displays can be disabled in the HEADER.INI file in the OEM
or USER directories with the value <empty>, e.g.,
ChanStatFeedStopSpindleStop = <empty>.
• The cross-channel status display and the use of the USER/OEM icons are
mutually exclusive; i.e. either "cross-channel status display" or "USER-/OEM
icons" can be configured.
• The complete HEADER.INI file is reproduced in Subsection 2.5.9.
16 Display positions
There are 16 display positions defined in the program status line (header), where
each SINUMERIK icon occupies two positions: number + icon.
1 2
1 2 33 4
4 5
5 6
6 77 8
8 9
9 10
10 11
11 12
12 13
13 1415
1415 16
16
1
Sample view of the program status line with SINUMERIK icons for 4 channels and
2 spindles:
S1 S2
Example:
The status displays for 2 channels and 1 spindle should always be output at the
first, third and fifth display position.
HEADER.INI file:
[Pos1] ; first display position
ChanStatFeedStopSpindleStop = 3
Spindles = 1,2 ; channel status of channel 3 is displayed,
; superimposed with feed disable for channel 3 and
; spindle disable for spindles 1 and 2
[Pos3] ; third display position
The following display, for example, appears in the program status line:
S3
Deactivation
Icon displays configured in this way can be deactivated if user status displays are
used as described in B. Create empty entries in a user-specific HEADER.INI file
(not in the hmi_adv directory, because this would be overwritten again when the
software is upgraded).
Example:
[Pos5]
SpindStat=<EMPTY>
Procedure:
• Declaration of icons and positions (1.)
• Control of icon call by PLC (2.)
Enter the name of the user icons and the associated positions in the HEADER.INI
file in the UserIcons section under identifiers UI_0 to UI_31.
[UserIcons]
UI_0= <Icon_00.bmp> , <Position>
; UI_0: Identifier
; Icon_00.bmp: Name of user icon (8 characters.bmp)
; Position: Display position (1 to 16)
...
UI_31= <Icon_31.bmp> , <Position>
USER_ICON_BASE = DBx.DBBy
Further on in the UserIcons section:
DBx.DBBy: User-defined double word for
control of the icon selection. If a bit is set for
a user icon, the associated
UI_x entry must exist, otherwise nothing is displayed.
To display an icon according to the above declaration, the PLC sets the
corresponding bit in the double word.
For example:
Example:
UI_3=Icon_01.bmp,12.
If Bit 3 is set, the “Icon_01.bmp" icon is displayed at the 12th position, provided
another icon with a higher identifier (>UI_3) and the same position (12) is not active.
Possible applications
With unique selection, a maximum of 16 bits are set simultaneously in the 4
selection bytes for each of the different positions.
• 32 alternative images for a position, each selected with a different bit (currently
only one active selection bit)
• 2 alternative images for each of the permissible 16 positions, each position
requires 2 of the 32 selection bits
(maximum 16 active selection bits at any one time)
• Combination thereof with a maximum total of 32 images for the maximum 16
positions (maximum of 16 active selection bits at any one time)
• More than 16 selection bits, see Superimposition
Superimposition
With non-unique selection (bits for multiple identifiers whose image is to be
displayed at the same position):
The image with the lower identifier number is superimposed with the image with the
higher identifier number for the same position. Non-unique selection can also be
used with less than 16 active selection bits. The PLC can deliberately use this
superimposition to overlay less important displays (with lower identifier numbers)
with important displays (high identifier numbers).
Note
If two HMI units are assigned to one NC/PLC unit (M:N), the PLC must first
determine from the control interface which of the HMI interfaces is active. Icons
can be requested by the PLC for the active HMI unit only.
The data are provided in a user PLC DB. The number of the data block and the
exact offset are declared in the HEADER.INI file.
The following entries are available in the [OEMTextInfo] section for this purpose.
The first parameter contains an offset for a text number with a base of 700,000
(user PLC texts). If this parameter = 0, the corresponding line is deleted. The
second parameter contains a maximum 12-character string. Unless empty, this text
is output instead of the user PLC text.
The parameters must be written from “back to front” in the PLC, i.e., all parameters
must be initialized before the first byte is set. The data for the next line are located
exactly 18 bytes after the start byte. The lines are output from left to right; a
maximum of three output fields per line are provided (i.e., a total of 6 fields are
possible).
A hotlink to the first byte for each line is set up in the HMI. If a change occurs in
that byte, the HMI reacts. If the HMI has displayed the data, it writes a –1 to the
first variable. The HMI is informed about this change by means of the hot link,
whereupon it writes a 0 to this variable.
The HMI itself does not have to react to this change. The PLC can only write data
to the interface again if the variable is set to “0”. This mechanism ensures that the
HMI knows about all parameter changes.
The icon names are identified in the HEADER.INI configuration file, same as the
user icons.
[OemIcons]
OI_0= <name.bmp>, <Position>
...
OI_31= <name.bmp>, <Position>
Here, <name> is the file name of the bit map and <Position> is the output position
(from 1 to 16) in the display line. Multiple bit maps can be output at the same
position. If more than one bit map is active simultaneously at the same position, the
bit map with the highest screen number is displayed.
The output is controlled by means of a PLC double word. This double word is
declared in the next section in the HEADER.INI file.
[OemIcons]
Oem_ICON_BASE = DBx.DBBy
Each bit in this double word represents exactly one OEM icon corresponding to the
screen number. Thus, if Bit 0 is set, bit map OI_0 is displayed. If a bit is reset, the
associated bit map is deleted.
Function
This function refers to the offset in the "Settable work offset" and "Basic work
offset" screen forms. Another column for the fine offset is inserted alongside the
column for entering the offsets. The inputs are checked against the display
machine data.
Example:
Program WCS display SZS display
N110 X100 100 100
N110 X100 0 0
N120 X0 0 0
N130 $P_PFRAME=CTRANS(X,10) 100 110
N140 X100
N150 ...
Machine manufacturer
To set the actual-value display: see the machine manufacturer's information.
Function
The behavior of the Scratching, Set actual value, and PRESET functions is
influenced by a number of machine data. The selected settings also affect
operation. (Display of softkeys and values, saving of input values).
With the introduction of system frames, two variants are available for the functions.
The variants are differentiated by a channel-specific machine data (MD):
MD 28082: $MC_SYSTEM_FRAME_MASK
Bit: 0 Actual value setting, Scratching
1 External work offset
2 TCARR, PAROT
3 TOROT, TOFRAME
4 Workpiece reference points
5 Cycles
6 Transformations
Note
To hide the PRESET, Set actual value, and Scratching softkeys, MD 9220:
$MM_USER_CLASS_PRESET can also be set.
Scratching
When this is selected the active frame is offered. A different frame can be selected
by means of an entry in the "Work offset" field.
You cannot choose any tool other than the one in the spindle. If there is no tool in
the spindle, you can choose any tool you want.
Values are written to the specified basic frame according to the entry in display
MD 9245: $MM_MA_PRESET_FRAMEIDX = Index des Basisframes.
With a value other than G500 in the "Work offset" field, the values are written to the
frame defined in the field. You can select any tool you want.
Function
Display MD 9440: ACTIVATE_SEL_USER_DATA can be used to specify that
changes in the tool offsets are activated immediately even if the NC channel is not
in "Reset" or "Stop" state. This function is always active.
! Caution
The offset is applied after NC Start of the Reset in response to the next
programmed axis movement in the part program.
These settings apply to both the actual-value window and the editor window.
Example
In the NC program, the movement of axes from X120 Y20 Z-50 to X200 Y200
Z-120 looks like this in binary display:
• X=120 Y=20 Z=-50 STAT=’B010’ TU’B011101’
• X=200 Y200 Z=-120 STAT’B110‘ TU=‘B011111‘
Overview
Cycles can be stored in the DRAM of the NCU. This makes more SRAM memory
available to the user for parts programs and workpieces.
Function
Under "Commissioning" → "NC" → "NC Memory", the user interface for HMI
Advanced offers users with corresponding access authorizations the possibility of
determining the utilization of DRAM and to adjust its size via MD 18351:
MM_DRAM_FILE_MEM_SIZE. A change to the DRAM memory causes a complete
reorganization of the NCK memory.
Notice
You must save all relevant data before changing the memory sizes. If machine
data is changed then this results in a re-organization of the NCK memory.
Notice
Direct changes to objects stored in the DRAM and saved in the FFS are not
enabled. Only cycles for saving can be specified in the FFS. Any changes that
are required must be made before loading onto HMI Advanced.
Direct changes to objects in the DRAM that are not saved on the FFS are
lost on Power Off.
Function
The preset protection levels can be modified in the definition file. For machine data,
only lower protection levels are permitted as the configured protection level; for
setting data, higher levels are also permitted. The file becomes active when the
next _N_INITIAL_INI is read in. Different protection levels are specified for writing
or reading (part program or PLC).
Example:
_N_DEF_DIR/_N_SGUD_DEF ; File for global variables
; $PATH=/_N_DEF_DIR
REDEF $MA_CTRLOUT_SEGMENT_NR APR 7 APW 4
; (APR ... Read access)
REDEF $MA_ENC_SEGMENT_NR APR 2 APW 2
; (APW ... Write access)
REDEF $SN_JOG_CONT_MODE_LEVELTRIGGRD APR 2 APW 2
M30
Example:
_N_DEF_DIR/__N_SGUD_DEF ; File for global variables
; $PATH=/_N_DEF_DIR
REDEF $MA_CTRLOUT_SEGMENT_NR APR 7 APW 2
; (APR ... Read access)
REDEF $MA_ENC_SEGMENT_NR APR 0 APW 0
; (APW ... Write access)
REDEF $SN_JOG_CONT_MODE_LEVELTRIGGRD APR 7 APW 7
M30
Compatibility
Note
If the access to machine data that was authorized by the command "REDEF
<machine data> APR <protection level> APW <protection level>", is declined with
alarm 15420, you must proceed as follows:
When the function is activated or when the system is upgraded, the REDEF
commands from existing GUD definition files must be imported into the new
definition files _N_SACCESS_DEF, _N_MACCESS_DEF, _N_UACCESS_DEF.
Function
Via the channel-specific MD 20098: DISPLAY_AXIS to suppress the display of the
axes in the Machine area. All axes are displayed by default.
Axes can be hidden in the following windows in the Machine operating area:
• Small axis window (5 axes, default setting for machine)
• Wide axis window (5 axes with feed and override)
• Large axis window (8 axes, large font)
In this way you can specify separately for the view in the machine or workpiece
coordinate system whether or not the axis is displayed:
Bit 0 to 15 Show (=1)/hide (=0) geometry axes (WCS)
Bits 16 to 31 Show (=1)/hide (=0) machine axes (MCS)
The operator cannot change the values for the basic work offset without the
appropriate access authorization.
Function
Up to now, the display range of the spindle utilization in the Machine main screen
was represented at 100%. You can set the display range of the bar graph for
representation of the spindle utilization to 200% using display MD 9429:
MA_SPIND_POWER_RANGE.
9428 $MM_MA_SPIND_MAX_POWER
MD number Maximum value of the spindle performance display
Default setting: 100 Minimum input limit: 100 Max. input value: ****
Changes effective after: Power ON Protection level: 3/4 Unit: %
Data type: WORD Applies from version 6.4
Meaning In this MD, enter the factor by which the supplied spindle utilization will
be multiplied.
9429 $MM_MA_SPIND_POWER_RANGE
MD number Display range for spindle utilization
Default setting: 100 Minimum input limit: 100 Max. input value: ****
Changes effective after: Power ON Protection level: 3/4 Unit: %
Data type: WORD Applies from version 6.4
Meaning In this MD, you specify the display range of the bar graph for the spindle
utilization display. Depending on the value entered, the percentage
values displayed and the extent of the color areas change.
Value 100: Percentage values 0%, 80%, and 100% are displayed. The
color display changes from green to red starting at 80% if a value of 100
is also set in display MD 9428.
Value > 100, e.g., 200: Percentage values 0%, 100%, and 200% are
displayed. The color display changes from green to red starting at 100%.
If you set the value to 200%, you must enter the normalization factor in
display MD $MM_MA_SPIND_MAX_POWER.
Function generator
1. Open the following window in the "Commissioning" → "Optimization/Test" →
"Function Generator" operating area:
2. In the screen form that appears, select a signal, a signal type and a factor for
standardization under "mode".
3. Continue by pressing the "Signal parameters" softkey. The “Function
generator parameters” screen form is displayed.
4. Enter the settings for amplitude, cycle duration, pulse width, and limitation.
Refer to the motor data sheet to obtain this data.
Notice
If the function generator and measuring function are used on virtual axes, this
leads to an abort by the NCK.
Select the variables to be measured from the drop-down list in the “Signal
selection” area. Refer to the motor data sheet to obtain the settings for the
measuring period and trigger time. After parameterization, start the measurement
by pressing the "Start” softkey.
Select the constant power range or constant torque range in order to calculate the
normalization factor using these data.
Example: In Fig. 2-8 the measured power is 10.5 kW.
If the utilization display is to indicate 100% for nominal data and higher values at
operation above the nominal working point, the normalization factor setting can be
calculated from the motor data or from the diagram and measurement as follows:
MA_SPIND_MAX_POWER =
Maximum_of the_measured_power / rated power_S1 * 100
Function
The display of the spindle symbol can be inverted using the channel-specific
machine data MD 9033: MA_DISPL_INVERT_DIR_SPIND_M3: normal or inverted
display is possible. For example, if you want the same icon to be displayed at M4
for the counter-spindle as at M3 for the main spindle, set bit[n]=1 (see inverting
M3/M4 at the control interface).
9033 MA_DISPL_INVERT_DIR_SPIND_M3
MD number Spindle rotation direction display
Default value: 0x0000 Min. input value: 0x0000 Max. input value:
0x7FFFFFFF
Change effective after: IMMEDIATE Protection level (R/W) 3/4 Unit: -
Data type: LONG Applies from version 6.2
Meaning Spindle rotation direction display:
Bit[n]=0 M3 displayed as clockwise rotation in the icon
Bit[n]=1 M3 displayed as counter-clockwise rotation in the icon
n = spindle number – 1 (i.e. bit 0 is spindle S1)
Note:
With the corresponding setting for MD 9014:
USE_CHANNEL_DISPLAY_DATA
MD 9033 can be managed channel-specifically in the NC.
This function is only active when HMI Advanced is running. It is not active in
standard Windows NTXP operation.
Activation
This function is activated by display MD 9009: $MM_KEYBOARD_STATE
0: CAPSLOCK off
2: CAPSLOCK on
This display MD is only evaluated on during startup. If the MD is changed, the
system must be restarted.
Operation
If display MD 9009 is set to “CAPSLOCK on” and you want to enter lower case text,
proceed as follows:
Press CTRL + SHIFT to switch to lower case text entry. To reset text entry from
lower case back to upper case, press CTRL + SHIFT again.
Restrictions
• When the CAPSLOCK function is activated, the SHIFT key has no effect on
letter keys.
• As is the case in standard Windows applications, CTRL/ALT key sequences
only work in lower case mode.
• Switching to lower case mode is not available on keyboards that are integrated
in the OP.
• The CTRL + SHIFT switching sequence only works with external PS2
keyboards and USB PC keyboards, not with panel keyboards.
Note
The OP keyboard enters lower case text if CAPSLOCK is set on an external
keyboard. If the external keyboard is unplugged in this state, the CAPSLOCK
mode cannot be cancelled.
Application
The control can be connected to external network drives or other computers. This
makes it possible, for example, to execute part programs from other computers.
Configuring drives/computers
A maximum of four network drives can be furnished with the following display
machine data:
MD 9676 CMM_DIRECTORY_SOFTKEY_PATH1="Path1"
MD 9677 CMM_DIRECTORY_SOFTKEY_PATH2="Path2"
MD 9678 CMM_DIRECTORY_SOFTKEY_PATH3="Path3"
MD 9679 CMM_DIRECTORY_SOFTKEY_PATH4="Path4"
The complete path must be entered. The paths are displayed on the softkeys.
The connections can be specified as DOS paths (e.g. "E:" or
"G:\VORBEREI\MPF_DAT" or as network addresses consisting of node identifiers,
share name and directory, e.g. "\\R111\<Sharename>\MPF_DAT".
Example:
MD9677 CMM_DIRECTORY_SOFTKEY_PATH2=F:\R4711
;Drive + directory
MD9678 CMM_DIRECTORY_SOFTKEY_PATH3=\\R4712\PART1\SHAFT1.DIR
; Computer name, share name with directory
MD9679 CMM_DIRECTORY_SOFTKEY_PATH4=\\R4713\Part2\MPF_DAT .DIR
; Computer name, share name with directory
Example:
MBDDE.INI:
...
[TextFiles]
USER_PLC=F:\DH\MB.DIR\MYTXT_
MYTXT_GR.COM:
89901 0 0 "" Reserved
89902 0 0 "F:\R4711" Softkey text for softkey 2
89903 0 0 "R4712/ MMC1" Softkey text for softkey 3
89904 0 0 "R4713/ MMC2" Softkey text for softkey 4
(2 blanks denote a line break)
...
The display machine data for access authorizations are activated immediately, i.e.,
after switchover to the respective application, while a change in directories takes
effect only after a restart.
Error messages
The configured network drives are evaluated during HMI Advanced startup. This
evaluation does not check whether the connection actually exists. This check is
made after the drive is selected by the operator. If the configured path cannot be
accessed, an error message is issued.
Function
The control can be connected to external network drives or other computers. This
makes it possible, for example, to execute part programs from other computers.
Two alternatives are available:
• In the setting screen “Logical drives” under "Commissioning" → "NC".
• By configuring the LOGDRIVE.INI file (see Subsection 2.5.14).
Requirements
The "logical drives" softkey is available after access level 2 (Service): For this
reason, this function is carried out by a service technician rather than machine
operators. A restart of HMI Advanced is necessary to update the assignment of the
softkeys.
Note
If an OEM softkey (horizontal softkey 7) is configured, a maximum of 7 network
drives are displayed in the program. The last entry is ignored.
Access authorizations
The access authorizations to the connections can be assigned from level 0 to 7. If
no entry is made, the default setting is applied (7 = Access for all).
Only one access level can be specified for all the operating areas:
• Machine
• Program
• Services
Softkey labels
Two lines with a maximum of 10 characters are available for the labeling text of a
softkey. Two blanks or \n or %n are acceptable line separators.
For labeling the softkeys, the alarm texts 89901- 89906 are evaluated in order to
store language-dependent softkey texts if no other labeling is defined.
If an operation (copy, delete, edit) is active on the drive at the time of the TCU
switchover, the display is retained until the action is finished. The display is not
updated until the operation is finished.
Note
Because the TCU is connected to the PCU via a network connection, the
response times depend on the particular network. Executing a part program
(EXTCALL) from USB memory is not recommended.
Caution
If a USB drive is disconnected while data are being written to are read from this
drive, data loss can result.
Legend:
Usable without option: all USB interfaces at the TCU
Usable without option: locally usable
Locally usable without option; "Remote" only usable with network drives
option
Only usable with network drives option
Only usable with HMI user memory option, locally usable
Notation
[xxx] ; Identification symbol for a section
Directory structure
The system directory structure is organized in such a way that user changes are
retained if the software is upgraded.
• User changes to the original software are made in parallel directories.
• There is a clear separation between standard HMI software and customer-
specific enhancements.
• The "mmc2" and “hmi_adv” directories (and their subdirectories) should be read-
only directories. They contain the original software supplied. These directories
are overwritten only if the software is upgraded.
The diagram below shows the priority sequence. This means that entries in the
directory to the right overwrite corresponding entries in directories to the left.
F:\
Priority
• hmi_adv:
The directory contains area applications, DLLs and HMI-specific data.
• mmc2:
System directory for basic HMI software.
• add_on:
Directory for additional Siemens products (e.g., TPM, MDA, DNC, etc.).
This can have the same directory structure (e.g. language subdirectory) and
directory contents as mmc2. Entries for the add-on product in REGIE.ini and
re_*.ini, for example, are also stored here.
• oem:
Directory for machine manufacturers and OEM users in which internal OEM
applications are located. This can have the same directory structure
(e.g., language subdirectory) and directory contents as mmc2. Entries for the OEM
product in REGIE.INI and re_*.ini, for example, are also stored here.
• user:
User directory in which customer differences from the ini files supplied are stored.
Changes to the appearance of the user interface, which can be made by the user
by means of settings on the HMI user interface, are also stored here (e.g. language
setting, file selection, file manager view, etc.). Other settings that do not concern
OEM or add-on products are also stored in the user directory, e.g. alarm server
settings.
Changes to “auxiliary files”, e.g. assignment of specific access authorizations for
functions, or hiding of specific softkeys, also have to be stored in the user file.
In principle, only entry differences in the ini files as compared with the originals in
mmc2 are stored in the parallel directories to mmc2. For example, if an OEM
application is added to "oem", a complete "regie.ini" is not created; only the modified
sections are stored in "oem".
Note
None of the INI files in the "mmc2" and "hmi_adv" directory may be modified.
2. In the INI file in the USER directory, copy only the section you wish to change and
write the new or modified entry below it.
Note
Do not copy the entire INI file from "MMC2"!
Only copy the differences.
Example:
Entry in MBDDE.INI for PLC error message/operating message and scrolling through
alarm lines
MBDDE.INI in USER:
;Section header
[TextFiles]
UserPLC = F:\DH\MB.DIR\MYPLC_
[Alarms]
;Scroll through alarm lines
RotationCycle = 1000
Notice
The associated entries, e.g. in REGIE.INI, should be modified in these directories
and not in \MMC2\!
Example:
Remedy: Omit the full comments in USER\PARAMT.ini, for example, since they are
also included in MMC2\PARAMT.INI.
Application
Two different methods are available saving the alarm profile on the hard disk. The
application and the disk load must be taken into account when selecting which method
to use. The required entries are made in the MBDDE.INI file.
Writing to alarm files always places a load on the same hard disk region. Various
methods can be chosen with the following control options.
There are a number of strategies for reducing the load on the disk. Multiple log files
can be maintained in parallel on the disk. With the multiple file strategy, the next file is
selected each time the HMI is started up. This reduces the load on the disk hardware,
both in the data area as well as the directory information area. In addition, this strategy
detects physical disk errors in the data area on startup and avoids them by
reallocating memory space.
The multiple file strategy can be selected by means of the DiskCare Ini file entry
File: "mbdde.ini",
Section: [PROTOCOL],
Entry: "DiskCare".
DiskCare=-1 The MBDDE server controls the alarm log in the memory.
The alarm log is saved to the hard disk if
it is displayed in the diagnostics operating area
or if the Alarm Cancel key is actuated.
The file "mbdde.ini" is evaluated on startup. The unused alarm files and the current log
file are located in the mmc2 directory. The names of these hidden files (attribute
"hidden") consist of an 8-digit hexadecimal number with the extension ".alr".
The names of files in which write errors are detected on startup also consist of an
8-digit hexadecimal number, but with the extension ".al_".
[Alarms]
Records = value ; Size of log file
Default value: 150
Minimum value: 18
Maximum value: 32000
With standard value 150, 75 alarms can be displayed. 2 records are needed for each
alarm.
[PROTOCOL]
Filter=Expression
IDENTIFIER:
• No. Alarm number
• Prio Priority
• Mode Message line/alarm line or dialog box
• Type Alarm type (PowerOn, Cancel, etc.)
• From Source of alarm
• AckVar Acknowledgment variable
RELATION:
• ':' Equal to
• '<' Less than
• '>' Greater than
• '!' Not
FEATURE:
• Numbers
• Strings
OPERATORS
• ',' Comma denotes logical OR, only within
a filter.
• '' Space/blank denotes logical AND between
individual filters.
• '|' Pipe denotes logical OR between individual filters.
Examples:
Filter=Type<3
Only POWERON and RESET alarms are logged.
Filter=From:NCU_1
Only alarms from NCU_1 are logged
Filter=From:NCU_1 Type:1,3
Only POWERON and CANCEL alarms from
NCU_1 are logged
Application
When the data management server starts up, it reads data scheme SCHEMA.BIN
followed by the plain-text identifier from the appropriate language dll.
During startup, the data management server checks whether there are entries for
modified standard access authorizations in the DH.INI file. The data management
server uses these settings to update its internal image of the data management chart
with the modified access authorizations.
The access authorizations described in the entries are now used as standard access
authorizations for the selected data. Entries that do not match the existing scheme are
ignored.
A standard access mask can be declared for each data type and storage location. An
entry comprises the path at which data of the data type can be created and the new
standard access mask.
The paths are composed of the data type identifiers. In the example above,
"\wks.dir\*.wpd\*.mpf" consists of the data types for
workpiece directories "wks.dir"
workpieces "*.wpd"
part programs "*.mpf".
The new standard access mask 75775, with which new part programs are created, is
defined in all workpieces.
Access mask 75775 stands for:
7 Read access for all 0 to 7 are permissible
5 Write authorization for Protection 0 to 7 are permissible
level 5 and higher
7 Execution authorization is set 0 or 7 are permissible
7 Display authorization for all 0 to 7 are permissible
5 Delete authorization for Protection 0 to 7 are permissible
level 5 and higher
Restrictions
When the HMI database is installed, data are always created with the access
authorizations defined in the standard data scheme. Access authorizations for nodes
such as wks.dir cannot be changed.
Application
You can configure your own acknowledgement icon for acknowledging PLC alarms.
You can choose which bitmap is displayed in the diagnostics alarm image for PLC-
generated alarms (via FC 10). The chosen pixel image (20 x 20 pixels) should tell the
user which button to press to acknowledge alarms generated by DB2.
The chosen button must correspond to the signal specified in the QUIT
acknowledgement parameter by FC 10. For example,
Call FC 10
ToUserIF:=TRUE
Quit:=DB21.DBX7.7 //Channel 1 RESET
Select a value for the image to be displayed in the [ALARM_PICTURE] section:
[ALARM_PICTURE]
;0 = Image for PLC button
;1 = Image for Cancel button
;2 = Image for Reset button
;3 = Image for HMI button
;4 = Image for user-defined button
ButtonImage=1
We recommend making the entry in the DG.INI in the USER or OEM directory.
Application
If there are more than 2 language options on the control, the "Select language" softkey
can be configured in the main “Startup” in order to change among the language
options via the menu.
False: "Change Language" softkey for changing between the foreground and
background language, same as before (default setting).
True: "Select language" softkey for selecting among the installed languages.
This enables you to switch instantaneously among three or more language
online.
If the setting is TRUE (Select language), the following values should be added to the
entries in the "[LANGUAGE]" section in the "MMC.INI" file:
LanguageList= ... , GR
FontList= ... , Europe
FontListKO= ... , Europe2
LBList= ... , German
Note
With Select language the first language is not provided as a choice. By listing the
first language in the language list again (and therefore also in the corresponding
font settings) the first language also appears in the language selection menu.
Parameterization
The names of the soft keys are predefined.
Application
Skeleton applications can be generated with the following additional options:
• Free design of operating tree: creation of new operating levels, new arrangement
of softkeys for previous operating levels and the new operating levels.
• Integration of user applications in the operating levels (OEM applications).
• Calling of standard applications from any operating level, including defined
submenus.
• Using the "Skeleton application" function, existing operating areas used in HMI
Advanced can be combined and selected with a new softkey – simply by means of
configuration. This releases operating areas/softkeys in the main menu for
dedicated operating areas (OEM applications).
• The "Skeleton application" function can be used repeatedly to define a
subordinate operating level from an existing operating level. This allows free
operating tree design.
• A skeleton application can define up to 16 horizontal and 8 vertical softkeys.
When you leave an operating area that was selected from a skeleton application, you
return to the higher-level menu of the skeleton application.
Configuration principle
New operating levels are created by skeleton applications and attached to existing
operating levels. The assignment of the horizontal and vertical softkey rows of the
framework applications can be configured.
Configuration files
Configuration is carried out in the following files:
• RE_xx.INI Softkey labeling of the skeleton application for the language with
the code xx.
For additional information refer to Section 2.5 Overview of the INI files.
Examples
The following entries in the REGIE.INI clarify the process:
The task number (7 in this case) is assigned to the softkey that calls the skeleton
application.
Task0: Horizontal softkey 1
...
Task7: Horizontal softkey 8
mntmmc is the name of a standard task for interpreting the softkeys in the skeleton
application in TASKCONF.INI and for activating them.
The value of cmdline indicates the section in the TASKCONF.INI file in which the
softkey assignments in the skeleton application are described in detail.
There may be more than one Task<No.>= name := mntmmc, ... entry if several
sections in TASKCONF.INI have been defined with skeleton application parameters.
This also allows operating trees to be designed with multiple levels.
TASKCONF.INI
[SectionName1]
; REGIE.INI must contain a reference to the section name selected by the user.
; Sample entries:
; The Services application should be activated when the skeleton application
; is started for the first time
; The softkey index that activates the desired task at program start is defined using the
; start index entry.
; Services with StartIndex 5 for example
StartIndex = 5
; The first softkey is assigned the Program task (task index 2) as child
(HSK1IsTask=0)
; with the <root> parameter, the softkey texts specified for German (via default)
; and English (UK)
HSK1Task=2
HSK1IsTask=0
; The fifth softkey is assigned the Services task (task index 3) as child
(Hsk1IsTask=0)
; with the empty command parameter,
; the softkey texts specified for the default German (_GR) and English (_UK)
HSK5Task=3
HSK5IsTask =0
HSK5Command=
HSK5SkText=SERVICES
HSK5SkText _GR=Services
HSK5SkText _UK=service
HSK5AccessLevel= 3
; The 2nd softkey in the ETC bar is assigned the Setup task (task index 5) as
child
; (HSK10IsTask=0) assigned with empty command parameter,
; the softkey texts specified for German (_GR) and English (_UK)
HSK10Task=5
HSK10IsTask=0
HSK10Command=
HSK10SkText _GR=Commissioning
HSK10SkText _UK=Setup
; TerminateTask=
; HSK16=ExitButton
Language-dependence of softkeys
The softkeys are labeled according to the current language setting. The softkeys are
updated whenever the language is changed. If the softkey text for the current
language (HSK<SoftkeyIndex>SkText_<Language>=...) is not found, the softkey is
assigned the default text (Entry (HSK<SoftkeyIndex>SkText=...) or, if there is no
default text, the task index.
The screen is displayed when the skeleton application is selected or on return from an
application called by the skeleton application.
Entering 1 rather than a picture file causes the "Setup" screen to be displayed
(default).
Note
If StartIndex and a picture are configured, the picture is superimposed as soon
as the skeleton application is selected and the application configured with
StartIndex opens. If the picture is larger than the window available in the current
operating device, the part from the center of the picture that fits in the window is
displayed.
Access authorizations
The softkeys in the skeleton application can be secured with access authorizations.
0: System
... ...
7: Keyswitch position 0
; Example:
; Access authorizations for the "Services" softkey
HSK5AccessLevel= 3
NCK-dependent softkeys
With HSK<SoftkeyIndex>NckLink=1, a softkey can be tied to the existence of an
intact connection to the NCK, provided softkey entries in TASKCONF.INI are made
accordingly. The softkey can then only be used when the connection exists. Default is
0: no check.
HSK<SoftkeyIndex>Task= x/y
x Operating area
y Command or state= i
Example:
HSK1Task=Program/<root>
has the same meaning as the full configuration:
HSK1Task=2
HSK1IsTask=0
HSK1Command=<root>
HSK1SkText=Program
x y Explanation
Machine <root> Go to the Machine home screen (task 0) with recall to the highest level
for return. The softkey text is Machine.
Parameters <root> Go to the Parameters home screen (task 1) with recall to the highest
level for return. The softkey text is Parameter.
Program <root> Go to the Program home screen (task 2) with recall to the highest level
for return. The softkey text is Program.
x y Explanation
Service <root> Go to the Service home screen (task 3) with recall to the highest level
for return. The softkey text is Services.
Diagnostics <root> Go to the Diagnostics home screen (task 4) with recall to the highest
level for return. The softkey text is Diagnosis.
Diagnostics State=10 Go to the Diagnostics home screen with recall to the highest level for
return and selection of the alarm screen.
The softkey text is Alarms.
Note:
The entire horizontal diagnostics softkey bar can be used.
Diagnostics State=20 Go to the Diagnostics home screen with recall to the highest level for
return and selection of the message screen.
The softkey text is Messages.
Diagnostics State=30 Go to the Diagnostics home screen with recall to the highest level for
return and selection of the alarm log screen. The softkey text is Alarm
log.
Diagnostics State=40 Go to the Diagnostics service screen with recall to the highest level for
return. The softkey text is Service displays.
Diagnostics State=50 Go to the Diagnostics PLC status screen with recall to the highest level
for return. The softkey text is PLC status.
Setup <root> Go to the Setup home screen (task 5) with recall to the highest level for
return.
The softkey text is Commissioning.
Setup State=10 Go to the Machine data screen with recall on exiting the level. The
softkey text is Machine data.
Setup State=40 Go to the PLC overview screen in Setup with recall on exiting the level.
The softkey text is PLC.
Setup State=50 Go to the Drive overview screen in Setup with recall on exiting the level.
The softkey text is Drives/Servo.
IBSetup <root> Go to the Settings home screen (task 34) with recall to the highest
level for return.
The softkey text is System settings.
Simulation <root> Go to Simulation (task 27). A modal dialog is displayed, which you can
use to select the program to be simulated. The simulation is aborted by
pressing Cancel. The softkey text is Simulation.
The following commands should be noted to the right of the equals sign in the softkey
command definition:
HSK<SoftkeyIndex>Command=Command1; Command2; ... or
VSK<SoftkeyIndex>Command=Command1; Command2; ...
Example:
; Hide some softkeys in the horizontal softkey bar for
; standard operation
HSK1Command=DisableHSK(1, 3-4)
Commands
DisableHSK(<SoftkeyList>)
The horizontal softkeys are removed from the softkey list. Individual softkeys can be
separated by commas or specified using softkey ranges <from> - <to>, e.g.,
DisableHSK(1,3,5-7).
Note
Softkeys in the ETC bar cannot be removed.
DisableVSK(<SoftkeyList>)
The vertical softkeys are removed from the softkey list. Individual softkeys can be
separated by commas or specified using softkey ranges <from> - <to>, e.g.,
DisableVSK(1,3,5-7).
DoVSK=<SoftkeyIndex>
The action of the vertical softkey (1-8) is initiated.
Recall(<StatusList>)
On reaching a status from the list the application returns to the calling application. The
statuses can be separated by commas or specified as ranges <from> - <to>, e.g.
Recall(1,5-7,48).
Highlight=<SoftkeyIndex>
The horizontal (1 – 8) or vertical (9 – 16) softkey is displayed with a blue background
when the application is called.
ZuMat=<StatusMatrix>
The status matrix (e.g. dg\dg.zus) transferred is read and replaces the original status
matrix.
RE_GR.INI
[HSoftkey-Texts]
HSK7 = "Special menu" // 20
Application
The DGOVW.INI file can be used to define additional signals in the drive diagnostics.
The file must be created explicitly in the mmc2 directory or addon, oem, user directory.
If the file is present, the signals configured in it are evaluated and displayed in
Diagnostics → "Service Overview" service displays. Language-specific and non-
language-specific texts can be configured in it.
A log file called dgovw.log is created in the user directory, in which error messages
that occur when the dgovw.ini file is compiled are output.
Meaning of entries
NrOfSignals:
Number of additional signals. The signals are located in the [SIG<nr>] section, where
<nr> goes from 1 to NrOfSignals (continuously and with no gaps).
Text:
• language-specific text in the form $T<TextNr>
where <TextNr> is a number in the language-specific DgOvw_xx.ini file (xx is
the language abbreviation).
• non-language-specific text "<any text>".
"<any text>" is expressed exactly as it is written in this ini file.
Syntax:
expr=<IF_Statement> or
expr=<Bmp_Assignment>
<Statement>::= <EntryName> or
<Statement>::= <Bmp_Assignment>
<BoolExpression>::= <Val> or
<BoolExpression>::= <Val><OP><Value>
<Val>::= # or
<Val>::= #.<BitNr>
<BitNr>::=Bit number to be evaluated (0..31)
<OP>::= < , > ,= ,>=, <=, <>
<EntryName>::= any name, which must be defined in the same section as expr. It is
treated in the same way as expr.
[BMP]
Any internal bitmaps can be specified in this section. The first bitmap in the [BMP]
section must have number 100, the second 101, etc.
The name must be specified in double inverted commas. Without path names, the
bitmap is searched for in mmc2 or addon, oem, user... Otherwise, it is searched for in
the stated path.
[SIG1]
text= “Measuring system 1 active“
Item= /Nck/MachineAxis/encChoice[u1, <AX>]
expr= if #=1 then BMP=100 else expr2
expr2= if #=0 then BMP=101 else BMP=2
Values from 1000 to 32767 are permitted for <Text Nr> and may only occur once.
Values below 1000 are reserved for Siemens.
This file has to exist for all languages that are required. (Language abbreviation as in
mmc.ini). It is stored in the mmc2(user,addon, oem ...)\language directory
Application
The option "multiple channel sequential programming" and a multiple channel
machine with 20 channels are prerequisites. An offline mode is possible; the channels
cannot be checked in this case.
The templates for work pieces offer a simple possibility of creating new program
sequences in the form of workpieces with job lists. These templates can be adapted
for an existing workpiece.
Parameterization
The following parameters must be specified in the [Program] section in the MMC.INI
file:
[Program]
; 1=finished workpiece via workpiece template,
; if opening is impossible with MCSP (preset)
; 0=sends an error message:
; UpdateWorkpiecesBasedOnTemplates=1
• There is only one workpiece template under templates with JOB/DAT file. The
contents of this template are then automatically copied into the selected
workpiece. Files that already exist in the current workpiece are not overwritten. If
a JOB/DAT file with the workpiece name exists after this, the sequence editor is
opened, otherwise an error message appears.
• If there are several workpiece templates under templates with JOB/DAT files, a
"Finish workpiece" dialog appears which allows the desired workpiece template to
be selected.
• If a part program that does not contain an INIT instruction is selected when "Edit
workpiece“ is activated, the "Finish workpiece" dialog is called up, which allows a
selection to be made from the JOB/DAT files (if available) under templates. If a
JOB/DAT file is selected, it is copied into the workpiece under the part program
name and opened with this file of the sequence editor. Workpiece templates are
not offered at this point, but only when a workpiece is selected.
The files and messages stating that the template files are already contained in the
workpiece are displayed in the log window.
Error messages
Error messages are displayed in the following cases:
• If a part program that does not contain a valid INIT instruction is selected:
No INIT instruction found in the part program!
Application
In order to be able to use the double-channel display in the Machine operating area,
the following [MULTI_CHAN_i] sections are required:
[MULTI_CHAN_i]
CHAN_2 = k
"i" denotes the channel number in the current NCU.
The 2nd channel displayed is specified in the CHAN_2 entry CHAN_2 = k
Note
When the channel menu is selected, all entries under [MULTI_CHAN_i] are
ignored.
This default configuration only applies when switching from 1-channel to 2-channel
display. If 2-channel display is active and a channel is switched within the display, the
other channel remains unaffected.
[MULTI_CHAN_1]
CHAN_2 = 6
[MULTI_CHAN_2]
CHAN_2 = 7
[MULTI_CHAN_3]
CHAN_2 = 8
[MULTI_CHAN_6]
CHAN_2 = 1
[MULTI_CHAN_7]
CHAN_2 = 2
[MULTI_CHAN_8]
CHAN_2 = 3
Note: Each of the paired channels appears once in [MULTI_CHAN_i] and once as the
2nd channel in CHAN_2=i.
Application
Current tool in list views (tool in which the cursor lies) and in tool data images for
individual tools:
- curToolTNo T number
- curToolIdent Tool identifier
- curToolDuplo Tool duplo number
- curToolType Tool type
- curEdgeNo Tool edge number, relative to tool and not to duplo
number!
- curDLNo Tool edge correction location number, relative to edge
- curMagNo Magazine number; “0” if the current tool is not situated on
a place or is intended for it.
- curPlaceNo Magazine place number; “0” if the current tool is not
situated on a place or is intended for it.
Application
The “Parameters without tool management” application provides local NCDDE
variables that write to the currently selected tool. The tool management functions are
used for this purpose for tool selection under Parameters. The settings in the
PARAM.INI file affect when these variables are written to: variables are written to only
when images change as a result of “Expand user interface” or, alternatively, at each
parameter status change.
The tool is selected with the cursor in the tool images without tool management. When
the cursor is positioned on a tool, the internal T number and the edge number are
written to local NCDDE variables for this tool. These variables can be evaluated from
“Expand user interface”.
Note
The NcddeMmcName and NcddeMmcName entries in the [GLOBAL] section
must not have standard value “__xxxx__”. Otherwise, it will be replaced by a
random number.
In this variable, the current PAHMI data are fed as a string, possible in the form:
"curToolTNo=35;curToolDNo=5;" with “=” as a separator between data name and
data value and “,” as a separator between data
Individual variables
In addition (or alternatively), a separate NCDDE variable is available for data element.
The name of this variable is formed from the following:
“PAHMICurData_”<MMCName>”_”<DataName>
where <MMCName> is taken from the mmc.ini file in the [GLOBAL] paragraph in
theNcddeMmcName entry.
Note
The NCDDE server does not permit multiple variable access to NCDDE variables
so that read and write accesses occur individually.
The following current data (<DataName>) for TOA and channel are present:
Current tool in list views (tool in which the cursor lies) and in tool data images for
individual tools:
- curToolTNo T number
- curToolType Tool type
- curEdgeNo Tool edge number, relative to edge,
not DNo!
Currently unknown values exist as “varname=;” in the NCDDE variables or are omitted.
The data sequence is not defined. As long as a data value is not set, its NCDDE
variable is blank or is not present.
Control of interface
The interface activity can be controlled using PARAM.INI.
[General]
; Options of "write current data of tool management human
; interface to ncdde variables when switch to
: WIZARD forms or WIZARD softkeys occur":
; All Options have to be set by using named arguments in
; one single line.
; Options are
; switched "ON" by value "True" and
; switched "OFF" by value "False" or if named argument
; does not exist in line.
; "EnableAllTogetherWriteToNcdde := True":
; all data in one ncdde variable
; "EnableSingleWriteToNcdde := True":
; one ncdde variable per data
; Both options can be active.
; If both options are not active,
; no write to ncdde variables will occur.
; "WriteChangesWhenStateChanged := True":
; write changes when a softkey is pressed,
; even if there is no switch to WIZARD
The following setting must be in a single line of PARAM.INI:
HMICurDataInterface = EnableAllTogetherWriteToNcdde := True,
EnableSingleWriteToNcdde := True,
WriteChangesWhenStateChanged := False
Application
The following sections are available in the "IF.INI" file for parameterizing the Help
functions:
• TECHNOLOGY
• TEXTFILES
• CONTEXT
• TEXTSEARCH
TECHNOLOGY section
The technology group to which the machine belongs can be specified in the
[TECHNOLOGY] section in order to limit the display of instruction texts to those
entries that are relevant for the machine. Then, only entries that are relevant to the
technology group are displayed.
TEXTFILES section
The paths (path\name) of the Quick Help text files on which the help function is based
are parameterized in the [TEXTFILES] section.
The help function accesses the following text files:
Siemens "DH\CST.DIR\IFS_GR.COM"
Machine manufacturer "DH\CST.DIR\IFM_GR.COM" (any file name)
End user "DH\CST.DIR\USER_GR.COM" (any file name)
(Also entered via "Settings")
Notice
The path for the Siemens text file “DH\CST.DIR\IFS_GR.COM“ must exist; if not,
an error message is output accordingly.
The entry for Siemens is specified in conjunction with ISO language as:
SiemensI=file
There are different parameterization options for the names of the text files when
assigning the text path.
The following table lists the parameterization options and their interpretation by the
Help function.
Table 2-6
Example: ENDUSER=CUS.DIR\IFM_.COM
First of all, the non-language-specific text file "Ifm.com" is opened in the path
“C:\DH\CUS.DIR\“ by default or, if the non-language-specific text file does not exist,
the relevant language-specific text file (e.g. “IFM_GR.COM“) is opened.
CONTEXT section
An increased context sensitivity of the Help function can be selected in the [CONTEXT]
section. This setting is activated with "1" and deactivated with "0".
(Also entered under "Settings").
If the increased context sensitivity is activated and the cursor is positioned to the left of,
next to or on an instruction text, then all instructions with the same initial letters are
displayed when Help is called.
For example, if the programmer has selected instruction "G1", then all instructions
beginning with "G1" (e.g. "G1", "G17", "G18", "G19") are displayed.
If increased context sensitivity has been deactivated with "0", then only the instruction
actually selected (if available) is displayed.
TEXTSEARCH section
The text search type can be specified in the [TEXTSEARCH] section. The following
search methods can be parameterized:
1 = instruction texts only
2 = descriptive texts only
3 = instruction and descriptive texts
(Also entered under "Search").
Application
If you want the sequence control of the HMI software to support an “EXIT” softkey, you
should make the following settings:
[Miscellaneous]
ExitButton=True
ExitButtonIndex = index
[Miscellaneous]
EnableRebootDialog=True
The entry can be set either directly in the INI file or by means of the user interface via
Start-up → HMI → Settings → HMI Exit Mode. If the “EXIT” menu is configured
accordingly, the “Shutdown... " or "Restart ... " prompt appears depending on the
access stage.
• If the protection level is lower than the manufacturer level (protection level 2 to 7)
or if the above entry is set to "False" in the REGIE.INI file, the prompt can be
confirmed with:
OK HMI is closed and Windows XP is shutdown.
Cancel HMI is not closed
• If you have the applicable access authorizations (protection level 2 to 7), the
following option is offered:
Restart HMI and Windows XP are closed and then
restarted.
Exit HMI is closed and Windows XP is shutdown.
Cancel HMI is not closed
Application
The delay time before the screen saver is activated can be adjusted:
Section: GLOBAL
Entry : MMCScreenOffTimeInMinutes
Notice
The HMI screen saver and Windows screen saver must not be used at the same
time.
Section: GLOBAL
Entry : ServerVisible
In order to execute external programs that are located on the hard disk of the HMI in
the data management system from the part program using the EXTCALL program
command, the following entries, for example, are required in the "Connection part"
section of the NETNAMES.INI file:
[own]
owner= HMI_3
[conn HMI_3]
conn_1= NCU_1
conn_2= NCU_2
conn_3= NCU_3
conn_4= NCU_4
EXTCALL_conns=conn_1, conn_2, conn_3, conn_4
; conn_i Identifier for the NCUs from which the HMI
can be accessed (see note)
; HMI descriptions
[param HMI_3]
HMI_typ = 0x40
HMI_......
Note
The entry EXTCALL_Conns … is only needed in the main operating field in the
NETNAMES.INI file, not in the secondary operating fields.
Note
This section provides an alphabetical listing of all INI files indicating the sections
that can be changed by the machine manufacturer or end user. All other
sections must not be changed!
Information about the ASCII editor can be found in the AEDITOR.INI file.
[ACCESSLEVEL]
GlobalReplace=6
SettingHiddenCheck=7
Enable_Simulation = 7
; Softkey simulation can be hidden
; in the editor
[MMC_Wizard]
AEDITOR=AEDITOR.COM ; see /BE1/
[MEMORY]
; default factor for maximum size of file
; valid values are: from 1 to 31
; factor x (1<=x<=31) means: you can edit a file up to a maximum size of
x * 8 MB
; for example: factor 1 = maximum size of 8 MB, 31 = 248 MB
; attention: a higher factor needs more RAM
; the application can override this default factor
MemFactor=2
; default factor for maximum size of buffer file for editing NC domains
; see explanation for MemFactor above
; the factor should be high enough for the whole NCU memory
; the application cannot override this default factor
MemNCFactor=2
[STEPS]
; maximum number of blocks to search for a step, 0 == no limit
MaxNrOfBlocks=1500
[ACCESSLEVEL]
GlobalReplace=6
SettingHiddenCheck=7
Enable_Simulation=7 ; Protection level for softkey simulation in editor
2.5.2 COMIC.NSK
REM CHANNEL 2
TOPIC(machineswitch) COMIC_START("COMIC002MachineSwitch
",/Channel/Configuration/mmcCmd[u2],/Channel/Configuration/mmcCmdQuit[u2])
2.5.3 DINO.INI
[ACCESSLEVEL]
USER=3 ; Read authorization for series setup
; Customer password (default)
PROGRAMMER=4 ; Setup authorization for series setup
; corresponds to keyswitch 3 (default)
[Function]
; 0 : ISO-formatted paper tape is not supported
; 1 : ISO-formatted paper tape is supported
IsoActive=0
; 1: ask before overwriting CFG_RESET.INI, 0: don't ask
Ask_for_CFG_RESET.INI=0
; Directory to store ISO-formatted programs from
; ISO paper tape archive
; Not changeable by user interface (supported if IsoActive=1)
ISO-Path=/_N_WKS_DIR/_N_SHOPMILL_WPD
; writing ISO paper tape archive:
; 1: accept ISO programs only in ISO path,
; 0: accept in all directories
; Not changeable by user interface (supported if IsoActive=1)
AcceptOnlyISO-Path=1
TakeDestinationFromHeader=0
2.5.4 DG.INI
Softkey access in the Diagnostics operating area can be set individually by entering
the protection level. Enter the required protection level in the DG.INI file in section:
[ACCESSLEVEL]
ALARMS=7 ; Alarms
2.5.5 DGOVW.INI
[GLOBAL]
; Number of additional signals
NrOfSignals=
; Bitmaps with customized icons to be displayed
[BMP]
100="<Bitmapname>"
101="..."
.
.
; One section per signal
[SIG1]
text=
Item=
expr=
.
.
[SIG2].
.
.
[SIG<n>]
.
.
For details on configuring and for an example, see Subsection 2.4.7 Expanding the
service overview user-specifically.
DGOVWTXT_xx.INI
The value “xx” in the file name contains the language abbreviation. The file contains
the language-specific texts for user-specific signals in the service overview. The file
must be created explicitly in the mmc2 or user, addon, oem …\language directory.
[TEXT]
2.5.6 DH.INI
Example:
[ACCESSMASKS]
\wks.dir\*.wpd\*.mpf = 75775
\mpf.dir\*.mpf = 75775
\cus.dir\*.spf = 33773
2.5.7 DPDH.INI
[ACCESSLEVEL]
PROGRAMMER=4
OPERATOR=5
ENABLE_DIALPROG=0
SetStandardWpSave=2
ENABLE_SIMULATION=7
2.5.8 DPSIM.INI
[ACCESSLEVEL]
;minimum level for changing setup standard:
SETUP=1
USER=3
OPERATOR=5
[MAIN]
;<>0: simulate program external modal (see also
; EXTERN_SIZE,EXTERN_CHECK)
EXTERN_MODAL=0
; simulate program extern model, if program
; size >= EXTERN_SIZE
; only if EXTERN_MODAL<>0
EXTERN_SIZE=150000
; only if EXTERN_MODEL<>0
EXTERN_CHECK=1
[PRELOAD]
;=1: TO_INI.INI and TO_ADDON.INI are preloaded by DPNCSIM.EXE
;=0: TO_INI.INI and TO_ADDON.INI are loaded by simulation
TOOLS=0
;= 1: all cycles are preloaded by DPNCSIM.EXE
; if section MAIN, entry CYCLE is set, additionally all cycles from shadow
directory are preloaded by DPNCSIM.EXE
;= 0: cycles are loaded by simulation, if cycle is called
CYCLES=1
;=2: load for simulation to \CUS.DIR, \CMA.DIR or \CST.DIR (default)
; load only cycles from NCK
; only evaluated if [MAIN]CYCLE is set and [PRELOAD]CYCLES=1
;=0: load all cycle (from NCK and MMC) for simulation to
; \CUS.DIR, \CMA.DIR or \CST.DIR
; only evaluated if [MAIN]CYCLE is set and [PRELOAD]CYCLES=1
;=1: use the cycle interface in \DP.DIR\SIM.DIR
CYCLEINTERFACE=2
2.5.9 HEADER.INI
[CondStopIcons]
[Pos1]
ChanStatFeedStopSpindleStop = 1 ;Channel status of channel 1 is displayed,
Spindles = 1,2 ;superimposed by feed disable for channel 1 and
;spindle disable for spindles 1 and 2
[Pos3]
SpindStat = 1 ;Spindle status for spindle 1
;ChanStatFeedStop = 3 ;Channel status of channel 3 is displayed,
;superimposed with feed disable for channel 3
[Pos5]
ChanStat = 2 ;Channel status for channel 2 is displayed
;SpindStat = 3 ;Spindle status for spindle 3 is displayed
[Pos9]
ChanStatFeedStopSpindleStop = 1 ;Channel status of channel 1 is displayed,
Spindles=1 ;superimposed by feed disable for channel 1 and
;spindle disable of Spindle 1
[Pos11]
ChanStatFeedStop = 2 ;Channel status of channel 2 is displayed,
;superimposed with feed disable for channel 2
[Pos13]
SpindStat = 2 ;Spindle status for spindle 2
[Pos15]
ChanStatFeedStopSpindleStop = 1 ;Channel status of channel 1 is displayed,
Spindles=1 ;superimposed by feed disable for channel 1 and
;spindle disable of Spindle 1
[UserIcons]
;UI_0 = <name.bmp> , <Position> ;Name of icon, position
...
;UI_31 = <name.bmp> , <Position> ;Name of icon, position
;USER_ICON_BASE = DBxx.DBByy
; Number of data block with the
; double word for user icons
; yy start byte of double word
[UserTextInfo]
;USER_TEXT_BASE = DBxx.DBByy
; xx data block with interface for
; user messages in the header
; yy start byte for interface
; TextLength=33 ; Activate text limit if
; user texts are used
[OemIcons]
;Oem_ICON_BASE=DBxx.DBByy
2.5.10 HMIDESK.INI
Settings are only necessary in this file if HMI Advanced is installed on a programming
device or standard PC.
Settings:
[Global]
;Global configuration data
;Definition of desktops (minimum 2, maximum 4)
NumberOfDesktops = 2
KeyboardControl = False
[Desktop1]
[Desktop2]
[Desktop3]
[Desktop4].
2.5.11 IB.INI
[ACCESSLEVEL]
[LANGUAGE]
;LanguageList= ... , GR
;FontList= ... , Europe
;FontListKO= ... , Europe2
;LBList= ... , German
SkSelectLngInsteadSkChangeLng=False
Note
In the [HELP_EXTENSION] section, the HelpFileExtension parameter must be
set to 0 (WinHelp) if you want old, OEM-specific help files with the extension *.hlp
to be displayed.
2.5.12 IF.INI
[TECHNOLOGY]
; "m" = milling
; "t" = turning
; "g" = grinding
; "s" = nibbling
; "p" = punching
; "a" = display all technologies
Technology=m
[TEXTFILES]
; Siemens = DH\CST.DIR\IFS_GR.COM
; SiemensI= DH\CST.DIR\IFIT_GR.COM ISO turning or
; SiemensI= DH\CST.DIR\IFIM_GR.COM ISO milling
; Machine manufacturer = DH\CST.DIR\IFM_GR.COM
; Machine manufacturer = DH\CST.DIR\IFI_GR.COM
; End user = DH\CST.DIR\USER_GR.COM
; Notation in the section e.g.:
Siemens=Cst.dir\ifs_gr.com
SiemensI=Cst.dir\ifit_gr.com
Manufacturer= …
End user=
[CONTEXT]
[TEXTSEARCH]
Search type=3
2.5.13 KEYS.INI
Entries in this file allow hard keys on the operator panel fronts OP 010 and OP 010C
or SINUMERIK keyboards with hotkey block and PLC softkeys to be used.
2.5.14 LOGDRIVE.INI
With the "logdrive.ini" file, the logical drives are connected and the associated access
authorizations are assigned.
[PCU]
; device name of PCU for USB local
UsbFront=G:
; device name of PCU
UsbX203=H:
UsbX204=I:
; display machine data are append after the last entry of LOGDRIVE.INI,
; but the maximum is limited to 8 net devices at all
; $MM_CMM_DIRECTORY_SOFTKEY_PATH1 (MD 9676) to
$MM_CMM_DIRECTORY_SOFTKEY_PATH4 (MD 9679)
; the corresponding access level can be set by
; USER_CLASS_DIRECTORY1_P (MD 9510) to USER_CLASS_DIRECTORY4_P
(MD 9513) for program and services
; USER_CLASS_DIRECTORY1_M (MD 9516) to USER_CLASS_DIRECTORY4_M
(MD 9519) for machine
;
; ALL DISPLAY MACHINE DATA ARE IGNORED, IF A FILE LOGDRIVE.INI EXISTS
UNDER USER, OEM OR ADD_ON
[Connections]
; Connection1 to Connection<N> are read with the corresponding access levels,
empty entries are ignored
; N=0 to 8, if missing ConnectionNum is set to 8
; set ConnectionNum to 0 to ignore all entries of LOGDRIVE.INI AND display machine
data
;ConnectionNum=8
Connection1=ACTTCU:\\FRONT
SK_Connection1=FRONT_USB
AccessMachine1=7
AccessProgram1=7
AccessServices1=7
.
.
.
Connection5=TCU:\\station2:X203
SK_Connection5=Labeling5
AccessMachine5=6
AccessProgram5=6
AccessServices5=6
Connection6=TCU:\\station3:X204
SK_Connection6=Labeling6
AccessMachine6=6
AccessProgram6=6
AccessServices6=6
Connection7=smb:\\<computer name>\<directory>
SK_Connection7=Network drive
Username7=Mustermann
Password7=431S0Y2E3K530I28
AccessMachine7=6
AccessProgram7=6
AccessServices7=6
Connection8=\\<computer name>\tmp
SK_Connection8=Drive%nlocal
AccessMachine8=5
AccessProgram8=5
AccessServices8=5
Note
The logical drives can also be set up via the operator interface of HMI Advanced
under "Commissioning" → "HMI" → "logical drives".
2.5.15 MACHINE.INI
The [AccessLevel] section in the "maschine.ini" file can be used to make the access
authorization function settings. The file includes detailed comments.
[ACCESSLEVEL]
;
; 7 = Key position 0 everyone in front of the machine,
; Suggestion: Permission only for NC start, no selection of
part program
; 6 = Key position 1 machine operator, production shop-floor operators
of production
; Suggestion: Permission to select part program, no editing
; 5 = Key position 2 machine setter (more experienced), used to sets up tools
; and test and run new part programs
; Suggestion: Permission to modify (edit) part programs
; 4 = Key position 3 not yet used, same permissions as 5
[Customer]
MDASingleSTEP=yes
ONLY_MKS_ToolBaseDistToGo=no
NcVersionCheck=true
; Due to performance issues the functionality offered with respect to
; block correction, block view and block search depends on the
; Nc-version currently used.
; However, to get access to the whole functionality, regardless of the ;
Nc-Version in use,
; set the flag NcVersionCheck to False.
[BlockSearch]
; Shows (SeruproEnabled=1) or
; hides (SeruproEnabled=0)
; the softkey used to do a block search in mode "programtest".
; The softkey appears in both dialogs
; "Blocksearch Searchposition" and "Blocksearch Searchpointer"
SeruproEnabled=1
; When doing a block search in mode "programtest" you can do
; a multi-channel block search. There are 4 channel-configurations which
; define the NC-channels being affected by the block search:
; SeruproConfig =
; 1: selected/active channel
; 2: selected/active channel and all channels having selected the same
; workpiece as the active channel
; 3: selected/active channel and all channels belonging to the active
; channel’s mode group
; 4: all NC-channels
SeruproConfig=1
[SetZero]
; Display_Sign_Switch switch the sign of the tool length in the scratch picture
2.5.16 MBDDE.INI
[Alarms]
; determines the order in which the alarms are inserted in the alarm list
; possible values:
; FIRST: puts newer alarms at the top of the list
; LAST: inserts the newest alarm at the bottom
ORDER=LAST
; The alarm texts in the files specified under UserMMC, UserNCK ...
; overload the corresponding texts of the files defined in MMC, NCK ...
; Therefore the user should modify files according to the needs of his
; system exclusively in UserMMC, UserNCK ...
; Creating alarm text with any DOS-editor may cause Problems with special
; characters like ä, ö or ü. To nevertheless import DOS generated files,
; add a blank and the string "DOS" after the name of the text file.
[TextFiles]
MMC=F:\MMC_52\dh\mb.dir\alm_
NCK=F:\MMC_52\dh\mb.dir\aln_
PLC=F:\MMC_52\dh\mb.dir\alp_
ZYK=F:\MMC_52\dh\mb.dir\alz_
CZYK=F:\MMC_52\dh\mb.dir\alc_
STANDARD_CYCLES=F:\MMC_52\dh\mb.dir\alsc_
SHOPMILL_MANUALTURN_CYCLES=
MEASURE_CYCLES=F:\MMC_52\dh\mb.dir\almc_
PLC_PMC=
USER_CYCLES=
UserMMC=
UserNCK=
UserPLC=
UserZYK=
UserCZYK=
UserSTANDARD_CYCLES=
UserSHOPMILL_MANUALTURN_CYCLES=
UserMEASURE_CYCLES=
UserUSER_CYCLES=
UserPLC_PMC=
[DriveTextFiles]
ALDEV_80E5=f:\dh\mb.dir\aldvs_
ALDRV_80E5=f:\dh\mb.dir\aldrs_
;ALDEV_808F=f:\dh\mb.dir\aldvu_
;ALDRV_808F=f:\dh\mb.dir\aldru_
ALDEV_x=f:\dh\mb.dir\aldvp_
ALDRV_x=f:\dh\mb.dir\aldrp_
[IndexTextFiles]
ALNX=f:\dh\mb.dir\alnx_
ALSI=f:\dh\mb.dir\alsi_
[DEFAULTPRIO]
CANCEL=100
RESET=100
POWERON=100
NCSTART=100
PLC=100
PLCMSG=100
MMC=100
[PROTOCOL]
For details on formation of filter expressions for control of message volume,
refer to Subsection 2.4.2 Setting the alarm log.
The multiple file strategy can also be selected by means of the DiskCare entry in the
Ini file.
; information about keys that may be used to clear an alarm
[KEYS]
; A function key (e.g., ESCAPE) is assigned the cancel function.
; This makes it possible to acknowledge alarm cancellations on the
; PC development system, too. ----------------------------------------------------
Cancel=Escape
; This section specifies the names and paths of the help files that
; contain help texts in WinHelp format.
; This list includes a maximum of 10 entries.
; The file name fragments must not exceed 6 characters, because it is
; extended automatically by the message module according to the
; selected language. A filename extension may also be added (optional).
; For additional information, see SINUMERIK 840D OEM package
; HMI User's Manual.
[Helpcontext]
File0=hlp\alarm_ .pdf
[MmcAlarmDisable]
DisableSenderOfMmcAlarm0=mbdde
DisableSenderOfMmcAlarm1=NCU
DisableSenderOfMmcAlarm2=PLC
DisableSenderOfMmcAlarm3=
DisableSenderOfMmcAlarm4=
DisableSenderOfMmcAlarm5=
DisableSenderOfMmcAlarm6=
DisableSenderOfMmcAlarm7=
DisableSenderOfMmcAlarm8=
2.5.17 MMC.INI
[GLOBAL]
; connectiontype 0 = default: Connection of SINUMERIK 810D/840D
; 1 = Connection to SINUMERIK 840Di
connectiontype=0
NcddeServiceName=ncdde
ModeWithoutNc=False
ProductCode=MMC
; Example:
; WINCOS-->CP-->TCPIP-->CP-->LINCOS-->NC/PLC/DRIVE0-5
; 1.) change TCPIP address below to your target TCPIP address
; 2.) do not forget to start your windows CP (e.g., cp_840di.exe)
; 3.) Note: no disconnection detection in some cases
The language selection can also be made via the HMI user interface in the operating
area “Commissioning” → “HMI” → “Languages”:
[LANGUAGE]
Language=UK
LanguageFont=Europe
Language2=GR
LanguageFont2=Europe
Notice
If you want to adjust the font size for different display modes/languages, contact
the Siemens hotline.
The OPI settings are the display machine data, which can also be set on a
technology-specific basis via the HMI user interface in the “Commissioning” operating
area → “Machine Data”:
[OPI Settings]
$MM_LCD_CONTRAST=7
$MM_DISPLAY_TYPE = 1
$MM_DISPLAY_MODE = 2
$MM_FIRST_LANGUAGE = 1
$MM_DISPLAY_RESOLUTION=3
$MM_SPIND_DISPLAY_RESOLUTION=3
…
$MM_MD_DRV_TEA_FILTER = 0
$MM_MD_DRV_TEA_IDX_LIMIT = 0
$MM_MD_TEXT_SWITCH=0
$MM_ACTION_LOG_MODE = 0xFE
$MM_PROGRAM_SETTINGS = 0
$MM_SW_OPTIONS = 0
$MM_HMI_TESTAUTOMAT_OPTION = 0
$MM_HMI_WIZARD_OPTION = 0
$MM_TRACE=0
The action log can also be set via the HMI user interface in the operating area
“Commissioning” → “HMI” → “System Settings”:
; ActionLog parameters
[ActionLog]
; FileSize gives the upper size limit of the log file, in bytes
FileSize = 40000
[WP_SELECT]
; for displaying a message that TOA/TMA-data on NCK will be overwritten
;TOA_WARNING_MESSAGE = yes/no
TOA_WARNING_MESSAGE=yes
[PCU]
; device name of PCU for USB local
UsbFront=G: ' access rights of the PCU USB device (0-7) for the application machine,
program and services
AccessMachine=7
AccessProgram=7
AccessServices=7
[PROGRAM]
;0=message to user if a program of the DAT-file for MCSE was not found
; or a channel doesn't exist (default)
;1=skip all entries of DAT-file if the program or a channel was not found
IgnoreMissingProgramAndChan=0
The following is applicable to the multichannel sequence editor option in the USER
directory:
[PROGRAM]
IgnoreMissingProgramAndChan=1
OpenFileAfterNewWPD=0
The “Channel assignment missing” message does not appear when workpieces are
newly created using only a job list without MPF.
See also: Subsection 2.4.8 Workpieces with creating job lists and using templates.
2.5.18 NETNAMES.INI
Procedure
The following sequence is useful when configuring the NETNAMES.INI file for M:N
communication:
1. Copy the existing NETNAMES.BSP file created during installation, and modify it
for the application.
2. Rename the existing NETNAMES.INI file.
3. Rename the modified NETNAMES.BSP file to NETNAMES.INI.
4. Save in C:\USER\NETNAMES.INI.
5. Define groups (maximum of 24) in "logChanSetList"
6. Define NCs and channels with unique names for the groups in "logChanList".
7. For the channels, specify the NC name in "logNCName"
- Specify the channel number on the NC in "ChanNum"
- Specify Reserve softkey yes/no (via the command IsAGap" = True/False)
8. For the HMI, specify the default machine "DEFAULT_logChanGrp" and the default
channel in "DEFAULT_logChan" for startup.
Note
The NC writes the channel number of the HMI in DB19, DBB22.
Example:
NETNAMES.INI
[own]
owner = MMC_1
; Description of possible connections
[conn MMC_1]
conn_1 = NCU_1
conn_2 = NCU_2
; Description of significant net parameters
[param network]
bus = opi ; the MPI interface must be used on the SINUMERIK 810D
[param MMC_1]
mmc_address = 1
[param NCU_1]
nck_address = 12
plc_address = 12
; core name for the PLC symbol files for representing signals with symbols
PlcSymbolFile= ...
[param NCU_2]
nck_address = 14
plc_address = 14
; core name for the PLC symbol files for representing signals with symbols
PlcSymbolFile= ...
[chan MMC_1]
DEFAULT_logChanGrp = Milling1
DEFAULT_logChan = Channel13
ShowChanMenu = TRUE
logChanSetList = Milling1, Milling2
[Milling1]
logChanList = Channel11, Channel12, Channel13, Channel14, Channel15
[Channel11] ; logical channel
logNCName = NCU_1 ; logical NCU name see above
ChanNum = 1 ; channel number within NCU
[Channel12]
logNCName = NCU_1
ChanNum = 2
[Channel13]
logNCName = NCU_1
ChanNum = 3
[Channel14]
logNCName = NCU_1
ChanNum = 4
[Channel15]
logNCName = NCU_1
ChanNum = 5
[Milling2]
logChanList = Channel21, Channel22, Channel23, Channel24, Channel25
[Channel21]
logNCName = NCU_2
ChanNum = 1
[Channel22]
logNCName = NCU_2
ChanNum = 2
[Channel23]
logNCName = NCU_2
ChanNum = 3
[Channel24]
logNCName = NCU_2
ChanNum = 4
[Channel25]
logNCName = NCU_2
ChanNum = 5
2.5.19 OEMFRAME.INI
[SysMeter]
;fSearchOnlyForTaskWindow=1
;nDelayInitComplete=10000
WindowStyle_Off = 720896
WindowStyle_On =
x=
y=
Width =
Height =
2.5.20 PARAM.INI
[ACCESSLEVEL]
READ_SYSVAR=7
EDIT_VIEW=7
[ToolParams]
UserDataParamName1=T_Param_1
UserDataParamName2=T_Param_2
UserDataParamName3=T_Param_3
UserDataParamName4=T_Param_4
UserDataParamName5=T_Param_5
UserDataParamName6=T_Param_6
UserDataParamName7=T_Param_7
UserDataParamName8=T_Param_8
UserDataParamName9=T_Param_9
UserDataParamName10=T_Param_10
[ToolEdgeParams]
UserDataParamName1=D_Param_1
UserDataParamName2=D_Param_2
UserDataParamName3=D_Param_3
UserDataParamName4=D_Param_4
UserDataParamName5=D_Param_5
UserDataParamName6=D_Param_6
UserDataParamName7=D_Param_7
UserDataParamName8=D_Param_8
UserDataParamName9=D_Param_9
UserDataParamName10=D_Param_10
The tool compensation (turning) is calculated in Diameter when the selected axis is
equal to the traverse axis and the entry CalDiaVal=1 is set in the [Bezugma] section
in the Param.ini file.
2.5.21 PARAMTM.INI
The full range of parameter settings are presented in the tool management description.
2.5.22 REGIE.INI
[Miscellaneous]
; needed if regie is to support an 'EXIT' button
; set 'ExitButton' to True, and 'ExitButtonIndex'
; identifies index of exit button
ExitButton= True
ExitbuttonIndex=15
These settings can also be made via the user interface of HMI Advanced. For this,
select “Commissioning” → “HMI” → “System Settings” from the operating area.
HibernateMode = ...
[StartupConfiguration]
Example:
Startup33 = name := ITS, Timeout :=15000
Startup34 = name := HMIVers, Cmdline := "/StartUp", Timeout :=10000
[TaskConfiguration]
; 3. bar
; Task16 = name := oemframe, cmdline := "sysmeter", Timeout := 10000,
; ClassName := "SysMeter", HeaderOnTop := False, PreLoad := False
The 3rd horizontal softkey bar is only displayed if a task or the EXIT button is assigned
to Task 16 or higher in the bar.
The 4th horizontal softkey bar is only displayed if a task or the EXIT button is assigned
to Task 96 or higher in the bar.
[CommandToTask]
; only necessary for HMI startup through NCU via command channel
plc_select = #13
Cycles = #14
In this section, you can specify that the HMI will be started from the NCU via the
command channel.
2.5.23 SEDITOR.INI
Application
You can modify the displays in the multi-channel sequential programming (option)
by means of settings or by making your own additions in this file.
The sections that contain the designation [ *User* ] enable the cycles of the machine
manufacturer and the user to be identified and displayed. In addition, other details can
be specified.
To configure your own steps, settings can be made in the following sections:
• [SyncMarks_User] Expansions to incorporate synchronization
marks
• [USER_VARIABLES] Variables for channels with synchronization
marks
• [Old_or_User_Cycles_USER] Expansions for user cycles, any variable names
can be entered here.
• [ProgSupport_User] Expansions to incorporate your own cycles
The merge mechanism is used for the settings so that, unlike in the standard version
of the ini file, only changes and additions have to be stored in the Add-on, oem, and
user directories.
See also: Subsection 2.5.17 MMC.INI, [PROGRAM] Section.
Syntax rules
Note the following information regarding your expansions:
;*************************************************************
;The following rules must be used for the sections:
; - [SyncMarks_Siemens]
; - [SyncMarks_User]
; - [Old_or_User_Cycles_Siemens]
; - [Old_or_User_Cycles_USER]
;
;- You can use either *- or ?-statements.
; Do not mix these placeholders:
;
; L1* -> OK
; L1?? -> OK
; L1?1* -> NOT OK !!!
;
;- ? is replaced with numbers from 0 to 9, so the step editor
; will find the following strings:
;
; L1? -> L10, L19, L15, but NOT L1A
; LB?? -> LB23, LB99, LB00, but NOT LB1A or LBd6
;
;- You can use the ?-statement once per entry:
; L1? -> OK
; L1?? -> OK
; L23??? -> OK
; L2??3? -> NOT OK !!!
;*************************************************************
[MISC]
IconPath
Relative path to the directory in which the icons are stored.
The path is relative to ..\mmc2. The same directory can also be present in Add_on, oem, and
user. The icons are also searched for in these directories.
Default: IconPath = ae\skpicto
EndIcon
Icon for the last block. This icon must be located in the directory that was specified in
IconPath.
GCodeIcon
Icon for free DINCode. This icon must be located in the directory that was specified in
IconPath.
ShowBlockNumber
Display of line number (e.g., N210). The number of the first line of a block is always
displayed.
0: Line number is not displayed
1: Line number is displayed
TimeFormat
The displayed lines can be formatted in VB syntax, e.g., number of decimal places.
####0.000: Time display with 3 decimal places.
CopySyncBuffers
For the synchronized view, you can specify here whether or not the empty blocks that were
inserted for synchronization will be copied.
0: Do not copy empty blocks
1: Copy empty blocks
[INSERT]
TemplateForNewBlock
Shortcut CTRL+I can be used during Editing mode of a step to insert a SEFORM instruction.
The text to be inserted can be configured here.
[Cache]
Enabled
A file can be opened faster by using the cache.
Presently, only the following setting is available:
0: Cache is not active
[DefaultIcons]
These icons are displayed if icons are not specified in the individual definitions, e.g., if an
icon is not included in SEFORM(…). This icons must be located in the directory that was
specified in IconPath.
Block
Icon for main sequence SEFORM(…, 0, …)
SubBlock
Icon for subsequence SEFORM(…, 1, …)
Sync
Icon for synchronization marks, e.g., WAITM(…)
Cycle
Icon for cycle
GeoProz
Icon for contour definition
[SyncMarks_User]
Machine manufacturers can enter their expansions for synchronization marks here.
;Definition of synchronization marks (search texts)
;sync1 = WAITM*(*n,*c,*c,*c,*c,*c,*c,*c,*c,*c,*c)
; '#' : separator: text before is searched in one
; channel, text behind in all others.
; It isn't possible to synchronize this kind of
; synchronization marks !!!
; '*n': identifier for synchronization numbers
; WAITM(*n,1,2,3)
; '*c': channel WAITM(1,*c,*c,*c), if own channel
; is missing, it will be added like WAITM-strategy
;
; Add additional / language dependent Text:
; WAITM*(*n,*c,*c,*c,*c,*c,*c,*c,*c,*c,*c) "$85000 The Text"
;
;sync1_Ico = clock.bmp
; belonging icon for defined sync mark
;sync1_Chans = 1,2,4
; Project the channels to synchronize here
; e.g.: you have a M-function (M4711)
; to synchronize the channels 1, 2 and 4
; Then you can write here: syncX=1,2,4
; If you synchronize the part programs the
; channel 3 will not be considered.
; If you don't project anything here, in all
; channels must stand the M4711 call
; respective if there are *C in [SyncMarks]
; only these channels will be synchronized.
;SIEMENS
[SyncMarks_Siemens]
sync1 = WAITM*(*n,*c,*c,*c,*c,*c,*c,*c,*c,*c,*c)
sync1_Ico = clock.bmp
sync1_Chans =
;USER
[SyncMarks_User]
sync1
Definition of search string. The following syntax applies:
* Wildcard; text replaced by ´*´ must be the same in all channels.
*c Channel number, these numbers does not have to be in the same order.
The program coordination channel does not have to be specified
(e.g.: WAITM(1,*c,*c,*c).
sync1_Ico
Associated icon, it must be located in the directory that was specified in IconPath.
sync1_Chans
Here, it can be specified whether the associated synchronization marks will be
searched for in certain channels only. If no entry is made, the search will be carried
out in all channels or in those that are specified if *c was configured.
Example:
M4711 is a synchronization that affects Channel 1, 2, and 6 only. The entry must be
made as follows:
sync2 = M4711
sync2_Ico = clock.bmp
sync2_Chans = 1,2,6
[Old_or_User_Cycles_User]
Machine manufacturers can enter their expansions for their own cycles here.
Examples:
Cycle1 = Cycle*
Cycle1_Type = 1
Cycle1_Ico = cycle.bmp
Cycle2 = Pocket*
Cycle2_Type = 1
Cycle2_Ico = cycle.bmp
...
CycleX
Definition of cycles without graphical support. Subprogram calls can also be entered
here. A language-specific text can also be specified. X stands for a cycle number,
which must be the same over three associated entries.
CycleX_Type
Definition of whether cycle is to be displayed as a subblock or a main block.
1: Subblock
0: Main block
CycleX_Ico
Associated icon, it must be located in the directory that was specified in IconPath.
[ProgSupport_User]
Machine manufacturers can enter their expansions for their own cycles here.
Example:
;Programming Support - Siemens Standard
[ProgSupport_Siemens]
NCG_1=CYC82
NCG_2=CYC86
NCG_3=CYC83
NCG_4=CYC84
NCG_5=CYC84_1
NCG_6=CYC840_1
NCG_7=HOL1
NCG_8=HOL2
NCG_9=POS1
NCG_10=WPOS
...
;drilling
[CYC82]
;drilling
NCG_1_Label=NC1
NCG_1_Text=$80854
NCG_1_Ico=cm_poly_dr_drill.bmp
NCG_1_Level=0
NCG_2_Label=NC2
NCG_2_Text=$80855
NCG_2_Ico=cm_poly_dr_drill.bmp
NCG_2_Level=0
;reaming
NCG_3_Label=NC3
NCG_3_Text=$80853
NCG_3_Ico=cm_poly_dr_reaming.bmp
NCG_3_Level=0
NCG_4_Label=NC4
NCG_4_Text=$80852
NCG_4_Ico=cm_poly_dr_reaming.bmp
NCG_4_Level=0
…
[CYC86]
;boring
NCG_1_Label=NC1
NCG_1_Text=$80666
NCG_1_Ico=cm_poly_dr_bore.bmp
NCG_1_Level=0
NCG_2_Label=NC2
NCG_2_Text=MCALL CYCLE86
NCG_2_Ico=cm_poly_dr_bore.bmp
NCG_2_Level=0
[CYC83]
NCG_2_Label=NC2
NCG_2_Text=MCALL CYCLE83
NCG_2_Ico=cm_poly_dr_deepdrill.bmp
NCG_2_Level=0
Explanations:
Two graphics-supported supported cycles are shown here by way of example.
The following lines appear in place of the cycle in the NC program:
;NCG#CYC82#\CST.DIR\bohren.com#NC1#2#*NCG;*RO*;*HD*
;#1#1#1#1#1###"M3"####1##1#*NCG;*RO*;*HD*
CYCLE82(1,2,3,4,,0)
;#END#*NCG;*RO*;*HD*
[ProgSupport_User]
No.
Here, the number of the following entries must be specified.
NCG_1
Entries of individual search texts or name of cycles.
Generally, this is the text that is found in the NC program after “NCG#”.
In the example above, this would be “CYC82”.
Because there can be several versions (e.g., NC1, NC2, etc.) for such a cycle, an
additional section must be furnished in the INI file for this entry [CYC82].
No.
Number of cycle versions.
NCG_1_Label
“Name” of version. Generally, this is the text that is found in the NC program after the
path of the COM file (NC1, NC2, etc.).
NCG_1_Text
Text that is displayed. A fixed text, a language-specific text ($85111), or a combination
of both ($85111/my additional text) can be specified.
NCG_1_Ico
Associated icon, it must be located in the directory that was specified in IconPath.
NCG_1_Level
Definition of whether cycle is to be displayed as a subblock or a main block.
1: Subblock
0: Main block
Note
See also: /IAM/ BE1 Expand User Interface
2.5.24 SIMTOGEO.INI
Sample file with the details required for simulation for the individual tool types.
Note
If Link is set to 0 in the [Settings] section, the other entries in SIMTOGEO.INI
have not effect.
[Settings]
; this entry is dependent on settings such as
;
; MD 18206: $MN_MM_NUM_CCS_TOA_PARAM=1
; MD 18207: $MN_MM_TYPE_CCS_TOA_PARAM[1]=4
; MD 18080: $MN_MM_TOOL_MANAGEMENT_MASK='H4'
;
; if required and / or if other oem parameters are used, the index can be changed
; ( e.g. TC_DPCS4 if $MN_MM_NUM_CCS_TOA_PARAM=4 )
; or any other oem variable than TC_DPCS1 can be used :
;
;LINK=TC_DPC7
;
; MD 18096: $MN_MM_NUM_CC_TOA_PARAM=7
; MD 18097: $MN_MM_TYPE_CC_TOA_PARAM[7]=4
; MD 18080: $MN_MM_TOOL_MANAGEMENT_MASK='H4'
;
LINK=0 ; example LINK=TC_DPCS1
2.5.25 TASKCONF.INI
[CONTROL]
MDIList=MntMMC\MntMMC.mdi
ControlFile=MntMMC\MntMMC.zus
ScreenTwips=1
[DEBUG]
;MDISize 0 = Debug, 1 = Full screen
MDISize=0
[APPLICATION]
; HSK1.. - HSK8.. (horizontal softkeys)
; HSK9.. - HSK16.. (ETC softkeys)
; VSK1.. - VSK8.. (vertical softkeys)
;=================================================;
; for each softkey (HSK1 - HSK16 / VSK1 - VSK8) ;
;=================================================;
; 0 : SwitchToChild (default)
; 1 : SwitchToTask -> switch only to task
; 2 : SwitchToTask2 -> switch to child of specified task (if it exists)
HSK1IsTask=
;0 : no link to NCK
; <> 0 : link softkey to NCK (lock softkey while no connection to NCK)
HSK1NckLink=
This function can be used to simulate machining on screen. Data evaluated by the
simulation has to be copied into data management in the Dialog
programming\Simulation data directory (\DP.DIR\SIM.DIR).
When the simulation program is started, the following functions can be selected with
the Data matching softkey:
• Match setup data
• Match tools
• Match machine data
• Match cycles
Files used
When HMI Advanced is started up, the following files are initialized for the simulation
in data management directory \DP.DIR\SIM.DIR.
Startup
The above files, if present, are read in when the simulation application starts up. From
the initialization data in the INITIAL.INI file, only the machine data are interpreted by
the simulation application during startup.
The files (CH(c)_xxx.INI, NC_xxx.INI and AX_SEA.INI) are read in according to the
order of their date stamp, starting with the oldest file.
DPCUSCYC.COM:
The file DPCUSCYC.COM (mapping of user cycle interfaces) is only read if in the
DPSIM.INI file in the [PRELOAD] section
CYCLES=0 or
CYCLEINTERFACE=1 is set.
NC cycles
The NC cycles (CUS.DIR, CMA.DIR and CST.DIR) are copied as an image into the
corresponding directories in data management. The location is determined in the
DPSIM.INI file by the CYCLE entry (\DP.DIR\SIM.DIR) in the [MAIN] section.
Synchronization takes place when the HMI is started at every cycle synchronization.
This enables optimized access to the cycles and automatic creation of images of the
cycle interfaces.
By default the first 3 geometrical axes are displayed. In addition, any other channel
axes can also be displayed. Assignment takes place in the [LINKS] section
[LINKS]
ACT_POS_DISPL_1=1
ACT_POS_DISPL_2=2
ACT_POS_DISPL_3=3
ACT_POS_DISPL_4=0
ACT_POS_DISPL_5=0
Value = 0 The associated space in the display is freed
Value = 1 The associated default geometrical axis is displayed
Value = 1 to n Geometrical axis is displayed
(n = 1 to number of generated axes)
Formatting
The number of digits (3 to 15) can be specified for formatting the axis values.
[LINKS]
ACT_POS_DIGITS=10
The number of digits after the decimal point (maximum number of digits) is read from
the simulation initialization data via MD 9004 DISPLAY_RESOLUTION or MD 9011
DISPLAY_RESOLUTION_INCH.
Hiding axes
The geometry/channel axes can be hidden using MD 20098 DISPLAY_AXIS. Bit 0
(display in the actual-value windows) is evaluated for the simulation.
At a maximum, as many axes can be displayed with their values that are not hidden
with ACT_POS_DISPL_<x> with 0, i.e. at a maximum, the first 5 unhidden
geometry/channel axes in their sequence.
Note
The more space that is required to display the axes, the less space is available to
display the actual block. If necessary, the axis display can be disabled off from
the Settings/Options On/Off menu in the "Actual position" field (within the Display
options field).
Search strategy
If a program (with no path) is required by the simulation, the following directories are
searched:
1. File in current NCK workpiece directory
2. File in current workpiece directory of HMI Advanced
3. File in NCK subroutine/main program directory
4. File in HMI Advanced subroutine/main program directory
5. File in NCK user cycle directory
6. File in HMI user cycle directory
7. File in NCK manufacturer directory
8. File in HMI manufacturer directory
9. File in NCK standard cycle directory
10. File in HMI standard cycle directory
If a program is not present in the simulation, it is loaded from the NC or from the HMI.
All programs (apart from cycles) that are loaded into the simulation are deleted from
the simulation again in the event of a workpiece change. If one of these programs is
needed again by the simulation, it is reloaded.
Program selection
If a part program for a workpiece is selected for the simulation, the following actions
are executed:
1. All tools are cleared with the file TO_CLEAR.INI (in HMI_ADV\DP\SIM) (if present).
2. If WPD_INI_MODE = 1 (see item 5) and if a TOA file with the selected program
name exists in the workpiece directory, this file is loaded into the active file system
for the simulation (otherwise file TO_INI.INI if it exists in the data management
system in \DP.DIR\SIM.DIR).
3. If tool management is active, the file TO_ADDON.INI (in HMI_ADV\DP\SIM) is
also loaded into the simulation and executed.
4. Workpieces: an initialization file with the workpiece name is loaded into the
simulation
5. Workpieces:
• MD 11280 WPD_INI_MODE = 1
All files (RPA, GUD, SEA, UFR, PRO, CEC, TMA) with the part program names
are loaded into the passive file system in the simulation. Program-specific TOA
files are loaded directly into the active file system for the simulation, all tools are
first cleared and then, if tool management is active, the file TO_ADDON.INI (in
HMI_ADV\DP\SIM) is loaded into the simulation and executed.
The part program is then loaded into the simulation and selected.
If another part program from the same workpiece is selected for the simulation, it is
loaded into the simulation together with the associated data (if MD 11280
WPD_INI_MODE = 1) and then selected.
If a workpiece is selected for the simulation, the part program with the workpiece
name is loaded into the simulation together with its data and the workpiece selected. If
the part program with the workpiece name does not exist, an error message is output.
Channel change
Only one channel/program at a time can be simulated in the simulation, i.e. direct
synchronization across channels is not possible.
The preset channel is channel 1 or the first channel in the simulation. Before programs
are selected, the simulation is switched to the channel for the current program.
MD 11280 WPD_INI_MODE = 1:
The system checks whether a TOA file with the current program name exists. If so,
All files (RPA, GUD, SEA, UFR, PRO, CEC, TMA) with the part program names are
then loaded into the passive file system in the simulation.
The programs in the channel/spindle list are executed one at a time in the specified
sequence with each "NC start" of the simulation; with each program change the
graphics status is retained as a blank specification for the next program. Hidden
programs are skipped.
After the last program the graphic is cleared – after prompting – and the simulation
starts again with the first program.
The files loaded into the simulation are displayed with softkey Match data → Loaded
data.
User programs
All programs currently copied into the simulation are displayed. They are deleted from
the simulation again when a different workpiece is selected.
Changes to these programs via the compensation editor are made directly in the HMI
or NCK, and the modified programs are automatically copied into the simulation. If
these programs are modified externally (e.g. via Services), the change is detected at
the time of the next simulation selection and the programs concerned are copied into
the simulation.
If files exist for the current workpiece (extension RPA, GUD, SEA, UFR, PRO, CEC,
TOA, TMA), they are loaded into the simulation when the workpiece is selected.
These files are retained when the workpiece is changed and their date stamp is
monitored.
If these files are modified externally (e.g. via Services/Programs), the change is
detected at the time of the next simulation selection and the files concerned are
automatically loaded into the passive file system for the simulation.
User cycles
All user cycles loaded into the simulation are displayed. If the cycles have not been
loaded before, the cycle interfaces must be defined in the file DPCUSCYC.COM. The
cycles are then copied into the simulation when required. Changes to the cycles are
not detected automatically and must be detected by means of the "Match cycles"
softkey.
Basic data
The initialization data (INITIAL.INI), tool data (TO_INI.INI) and definition files (*.DEF)
loaded into the simulation are displayed. The files (CH(c)_xxx.INI, NC_xxx.INI and
AX_SEA.INI) are displayed under "Loaded data".
The date stamp for these files is evaluated. If these files are modified externally (e.g.,
via Services), the change is detected at the time of the next simulation selection and
the files concerned are automatically loaded into the simulation.
Previously tools could be shown with their cutting edge, shaft and holder, which were
calculated internally from data from the NC.
With the expansion of the tool geometry data, it is now possible to show only the
cutting edge ("flying edge") in the simulation image, without the shank and holder.
Additional/deviating parameters can also be incorporated into the simulation on a tool-
by-tool basis.
The definition is produced by means of the SIMTOGEO.INI file, which is stored in one
of the directories \USER, \OEM, \ADD_ON, or \HMI_ADV. This file is not supplied with
the system as standard.
Other requirements:
• Activation the "flying edge" function in DPTWP.INI or DPMWP.ini
• Machine data: define memory for OEM parameters
• Create SIMTOGEO.INI file, enter link in file
Parameterization
The SimToGeo.ini file must contain an entry that establishes a link to the NCK tool
data. This is located in the [Settings] section.
Link=TC_DPCx where x = 1 to 10 or
Link=TC_DPCSx where x = 1 to 10
We recommend using the parameter TC_DPCS1 as the link entry for new projects, as
this has been specially reserved for this purpose. A different link setting should only be
used if the parameter TC_DPCS1 is already in use in an existing project.
With Link=TC_DPCS1, for example, for every tool for which entries exist in
SimToGeo.ini, an entry $TC_DPCS1[t,d]= <Identifier> must be specified for the NCK
tool data, where t = tool number and d = duplo number. Identifier must be noted as a
real number, e.g. 500.1, where the number before the decimal point can represent a
tool type and the number after the decimal point allows a further distinction.
The associated values in SimToGeo.ini then appear below the corresponding identifier.
Note
- Tools are still displayed in the 3 main planes, XY, YZ or ZX.
- If a tool cannot be displayed, a polymarker is displayed.
- With the SimToGeo.ini file the tool_type can be defined differently from the
NC settings. If the corresponding cutting edge parameters
(e.g. $TC_DPCS1[t,d]) can be set, a link to/evaluation of SIMTOGEO.INI
geometrical data is also possible.
- A complete sample file with entries for each permissible tool type can be found
in Subsection 2.5.24 SIMTOGEO.INI.
MD 18206: MM_NUM_CCS_TOA_PARAM=1
; Number of OEM data per cutting edge 0 to 10
MD 18204: MM_TYPE_CCS_TOA_PARAM[0]=4
; Data type 4 = Real
MD 18080: MM_TOOL_MANAGEMENT_MASK='H4'
; Set aside memory for OEM data
Startup procedure
1. Activate the "Flying edge" function in DPTWP.INI or DPMWP.INI, for lathes or
milling respectively, [Setup] section:
[SETUP]
;*** only SW6.4 or later ***
;Display tool only as cutting edge-"flying edge" (on/off)
TOOL_AS_CUTTING_EDGE=ON ;default = OFF
3. Set up SimToGeo.ini:
Define link entry for Siemens or User OEM parameter and expand geometrical
data.
This is done using the OEM variable ($TC_DPCS1/$TC_DPC1).
The value of this variable determines the geometrical block that is used.
For example, the entry for tool 1 cutting edge 1 (T1D1) $TC_DPCS1[1,1]=500.1
would be referred to the geometrical data block [500.1] in the SimToGeo.ini file. It is
possible for more than one tool to refer to the same geometrical data block.
[Settings]
Link=TC_DPCS1 ; Link to TO_INI.INI, Siemens OEM
;Link=TC_DPC1 ; Link to TO_INI.INI, USER OEM
Note
The data can be adjusted manually using the editor in the SERVICES operating
area, but if improper changes are made there is a risk that the simulation will not
be able to start. You should therefore save the files systematically in case the
data cannot be retrieved from the NC.
Match tools
The NC tool data for all channels are copied into the TO_INI.INI file and then activated
in the simulation. Existing tools are removed beforehand. The function is offered
automatically whenever simulation is selected if tool data in the NC have changed.
Note
If you do not wish the definition files in the data management directory to be
matched with the NC, you can set this in DPSIM.INI.
[MAIN]
MATCH_NCU_ENVIRONMENT=0
; Only the INITIAL.INI file is copied from the NC.
MATCH_NCU_ENVIRONMENT=1 (default)
; Definition files in the
; data management directory are also matched with the NC.
Match cycles
Cycle changes are not monitored by the simulation.
They are either copied automatically into the simulation as required
(PRELOAD/CYCLES=0) or copied in their entirety into the simulation when the
simulation starts up.
If a cycle is changed, it must be copied into the simulation using the "Match cycles"
softkey. Only cycles that have changed since they were last accessed are copied into
the simulation (along with newly imported cycles).
Cycles in the simulation that have since been deleted are deleted from the simulation.
If an automatic cycle interface is not used, the simulation must be restarted.
• R parameters (RPA)
• User data (GUD)
• Global user data
• Work offsets (UFR)
• Global work offsets
• Setting data (SEA)
• Global setting data
• Axis-specific setting data
• Protection zones (PRO)
• Sag/angularity (CEC)
The data can be selected in any combination. The channels are selected using
softkeys (if there is more than one channel for simulation); the current channel is
offered as default.
Channel-specific data are only offered if the selected channel is present on the NCK.
The selected data are copied into corresponding files in the data management system
in \DP.DIR\SIM.DIR using the "OK" softkey and loaded into the simulation.
Existing files are overwritten without prompting.
If data are selected for all channels, any associated channel-specific files that are
present are deleted; channel-specific files are always created or overwritten.
Before the data are loaded into the simulation, a "channel reset" is performed for the
simulation.
If an error occurs when copying from the NCK, the transfer can be repeated or aborted
(Abort/Repeat dialog box). If an error occurs when loading into the simulation or a
simulation alarm is triggered, the transfer is aborted.
Pressing the "OK" softkey saves the current data selection and displays it again the
next time the dialog box is opened.
Mirroring tools
Differently oriented tool carriers (e.g. in different NC channels) can be used in the
same machine tool, for which the TOA length compensation parameters are subject to
machine tool-specific frame transformations (e.g. MIRROR) and have to be specified
differently from the usual settings.
To support this arrangement in the orientation of graphics tools, the SIM graphics
module DPSMASCH.DLL has been expanded to include, among other things, an
almost universal evaluation of the TOA parameters.
For example, $TC_DP3[n,m]=... can also be evaluated with negative values, with
the convention that by default, positive lengths generally lead to machining "behind
the turning center" and negative lengths to machining "in front of the turning center".
Special NC instructions may also be needed in the corresponding user cycles for tool
carrier selection to ensure that the simulation proceeds with the correct orientation of
the graphics tools, e.g.
...
IF $P_SIM
$SC_MIRROR_TOOL_LENGTH=1 ; tool length compensation
mirror mirrored axes in SIM
ENDIF
...
Use (milling and lathe version):
The sign-compliant evaluation of the TOA parameters at the interface to the graphics
module means that no operator action is required.
For this purpose, the INI entry [VIS] PLANE_VIEW=.. (in ..\user\dpmwp.ini for the
milling version or dptwp.ini for the lathe version) can be modified.
In order for advantage to be taken of these possibilities in machines that differ from
the standard orientations,
• The value range for the entry has been published (B/F: back/front, U/D: up/down,
L/R: left/right) and
• The functionality during turning expanded accordingly (incl. the derived views:
Outside cut, half cut and full cut, surface area) (wire model is kept as before!).
• In some cases (lathes) the entries have been made directly accessible on the user
interface:
a[VIS]
..
;Plane viewpoint default for standard milling: BDL(BackDownLeft)
;possible BDL, BUL, BUR, BDR, FDL, FUL, FUR or FDR
PLANE_VIEW=BDL
or
[VIS]
..
;Plane viewpoint default for standard horizontal lathes: BDR(BackDownRight)
;for vertical lathes with +Z upward: BDL or with +Z downward: FUL (*** from SW5.3 ***)
;possible BDL, BUL, BUR, BDR, FDL, FUL, FUR or FDR
PLANE_VIEW=BDR
Note
Entries other than BDR, BDL or FUL are of no use for lathes at present.
Using the "Change default" softkey the adjustments made here can also be used as a
permanent reference for all new workpieces.
Optimizations
1. Input monitoring "Unwinding diameter surface area"
In the lathe version, in conjunction with the blank inputs, the consistency of the
"External diameter" and "Unwinding diameter surface area" parameters is
checked and, if necessary, adjusted automatically (e.g., if the external diameter is
reduced), and missing entries are signaled (e.g., empty input field for unwinding
diameter).
2. Tool center-point path ("without tool data") is retained temporarily when a tool
data source (e.g., "with tools", etc.) is selected subsequently.
In order for the correct selection and deselection of tool compensations (LK, FRK,
SRK) to be checked visually, it is useful to be able to visually compare the tool
center-point path when tool compensations are deselected and the tool path
when tool compensations are selected.
For this purpose, the tool center-point path produced from a simulation run
"without tool data" is therefore generally retained for the first subsequent
simulation run "with tool data" (tool paths with and without tool compensations are
overlaid graphically for one SIM session). Thereafter the tool paths are reset as
usual at the start of each simulation.
Function
To avoid having to carry out memory settings in NC machine data if additional memory
is needed for the simulation, these settings can be carried out in the DPSIMNCK.INI
file in the [DP_SIMNCK] section.
The default values for the simulation are entered in the DPSIMNCK.INI file in the
[DP_SIMNCK] section, generally eliminating the need for additional memory settings
in the NC. These offset values have a cumulative effect on machine data with the
same name.
Negative values are ignored.
DPSIMNCK.INI [DP_SIMNCK]
The following entries with default values are contained in the [DP_SIMNCK] section:
...
[DP_SIMNCK]
DP_SIMNCK_MM_NUM_GUD_MODULES_OFFSET = 0
corresponding machine data:
18118 MM_NUM_GUD_MODULES
DP_SIMNCK_MM_NUM_GUD_NAMES_NCK_OFFSET = 5
corresponding machine data:
18120 MM_NUM_GUD_NAMES_NCK
DP_SIMNCK_MM_NUM_GUD_NAMES_CHAN_OFFSET = 30
corresponding machine data:
18130 MM_NUM_GUD_NAMES_CHAN
DP_SIMNCK_MM_GUD_VALUES_MEM_OFFSET = 20
corresponding machine data:
18150 MM_GUD_VALUES_MEM
DP_SIMNCK_MM_NUM_USER_MACROS_OFFSET = 10
corresponding machine data:
18160 MM_NUM_USER_MACROS
DP_SIMNCK_MM_NUM_MAX_FUNC_NAMES_OFFSET = 40
corresponding machine data:
18170 MM_NUM_MAX_FUNC_NAMES
DP_SIMNCK_MM_NUM_MAX_FUNC_PARAM_OFFSET = 350
corresponding machine data:
18180 MM_NUM_MAX_FUNC_PARAM
DP_SIMNCK_MM_MAX_SIZE_OF_LUD_VALUE_OFFSET = 400
corresponding machine data:
18242 MM_MAX_SIZE_OF_LUD_VALUE
...
Simulation startup
The simulation application is normally started only on request by the operator. This
prevents the system from being overloaded by the software components that have to
be loaded.
At the same time, however, this significantly increases the start time for the simulation
when it is called for the first time. The start time is the time from selecting the
simulation to execution of the first NC command ("visible" result).
[StartupConfiguration]
Startup12 = name:=dpncsim, Timeout:=0
[TaskConfiguration]
Task27 = name := dpsim, Timeout := 30000
Note
The entry used in the [StartupConfiguration] section must not have been used
anywhere else. Check this in the REGIE.INI file in the MMC2, ADD_ON, OEM
and USER directories.
[PRELOAD]
CYCLES=1
All cycles (from NCK and hard disk) are preloaded when the simulation NCK is started
with DPNCSIM.EXE.
TOOLS=1
The files for the tool mapper (TO_INI.INI and TO_ADDON.INI) are preloaded when
the simulation NCK is started (if applicable).
Notes
Standard files
The standard texts in ASCII format are stored on the hard disk of the HMI in the
following files:
MMC F:\dh\mb.dir\alm_XX.com
NCK F:\dh\mb.dir\aln_XX.com
PLC F:\dh\mb.dir\alp_XX.com
ZYK F:\dh\mb.dir\alz_XX.com
CZYK F:\dh\mb.dir\alc_XX.com
In these file names, "XX" stands for the code of the appropriate language. The
standard files should not be changed by the user in order to store his or her own
error texts.
If these files are replaced by new ones when the HMI software is upgraded, then
the added or modified user-specific alarms will be lost. Users should store their
own error texts in user files.
Note
To prevent a modified MBDDE.INI file from being overwritten when the software
is updated, it must be stored in the USER path designated for that purpose:
<InstallationPath>\user\mbdde.ini.
Examples of configuration of two additional user files (texts for PLC alarms,
modified NCK alarm texts) in the MBDDE.INI file:
...
User MMC =
User NCK = F:\dh\mb.dir\mynck_
User PLC = F:\dh\mb.dir\myplc_
User ZYK =
User CZYK =
...
The texts from the user files overwrite standard texts with the same alarm number.
Alarm numbers that do not already exist in the standard texts are added.
Structure of MBDDE.INI
Extract from MBDDE.INI relating to the configuration of alarm text files:
...
[Textfiles]
MMC=f:\dh\mb.dir\alm_
NCK=f:\dh\mb.dir\aln_
PLC=f:\dh\mb.dir\plc_
ZYK=f:\dh\mb.dir\alz_
CZYK=f:\dh\mb.dir\alc_
UserMMC=
UserNCK=
UserPLC=f:\dh\mb.dir\myplc_
UserZyk=
UserCZyk=
...
Editor
Any ASCII editor (e.g., the DOS editor edit) can be used for editing files. When
editing the text files with a different editor, make sure that they are then saved in
ASCII format.
Note
Changes in alarm texts do not take effect until the HMI is started up again. When
creating text files, make sure that the correct date and time are set on the PC.
Otherwise, the user texts may not appear on the screen.
Help on alarms
Creating user-specific online help texts is described in /HE1/ Installation and Start-
Up Guide HMI Online Help.
The structure of the text file for cycle alarms and compile cycle alarms is as follows:
The alarm and message texts are stored in the MBDDE alarm texts directory.
1. Convert the old text file to an ANSI text file using "Save As…" in the Windows
Editor (WinWord, Notepad, etc.).
2. Load the new text file and converted old text file into the Windows editor and
merge them.
3. Save the newly generated text file and copy it to the "MBDDE alarm texts"
directory for the HMI for the target.
Supported languages
Table 3-1 Languages and ANSI table/code pages used
Language Language Code page ANSI table
codes (DOS) (Windows)
Danish DK 850 1252
German GR 850 1252
English UK 850 1252
Finnish RCCB 850 1252
French FR 850 1252
Italian IT 850 1252
Dutch NL 850 1252
Portuguese PO 850 1252
Swedish Software 850 1252
Spanish SP 850 1252
Polish PL 852 1250
Czech CZ 852 1250
Hungarian HU 852 1250
Russian RU 855 1251
Turkish TR 857 1254
Japanese JA 932 -
Chinese (Simplified) CH 936 -
Korean KO 949 -
Chinese (Traditional) TW 950 -
Installing languages
Languages that are not included with the standard product must first be installed.
An additional tool is implicitly required for Asian languages (e.g., NJWIN). The
appropriate fonts are installed automatically with this.
When each language module is installed, the tool also installs the appropriate fonts,
and all necessary entries are made in the MMC.INI file and in the registry.
During system startup, the DLLs, text files (machine data files) and language-
dependent INI files are stored in the "\mmc2\language" directory, and the alarm
texts are stored in the “\dh\mb.dir” directory.
Language
If you want to configure other languages in the control, a "Language selection"
softkey can be configured (see “Configuring the ‘Language Selection’ Softkey”).
The name of the text file is used to assign language-specific user alarm texts. The
appropriate code and the extension .com are added to the user file name entered
in MBDDE.INI.
Overview
Application-specific and language-dependent plaintexts can be configured for each
index for the PLC machine data.
Example:
The text files with the name NCTEA_xx.TXT (xx = language code GR, UK, ...) can
be created in the following directories:
user\language
add_on\language
oem\language
Result:
Note
PLC operational messages are created and handled in the same way as alarm
texts.
Function
If multiple PCUs and NCUs (M:N) are used, NCU-specific alarm texts can be
created and managed in the HMI.
This function requires entries to be made in the MBDDE.INI file in the [netTextFiles]
section. The file is located in the C:\USER directory.
The entries for the NCUs must match the entries in the [paramNCU_Bez] section of
the current NETNAMES.INI file.
The NETNAMES.INI file in connection with the "Multiple operator panel
fronts/NCUs" function is described in
Search sequence
To output an NCU-specific alarm, the associated text is searched for in the
following sequence:
1. NCU-specific texts
2. Non-NCU-specific texts
Entry in MBDDE.INI
Example:
[net TextFiles]
NCU_1=C:\DH\MB.DIR\NC1_GR.COM
NCU_2=C:\DH\MB.DIR\NC2_GR.COM
NCU_3=C:\DH\MB.DIR\NC3_GR.COM
Requirements
Target system PG oder PC mit
600 MHz, 256 MB RAM
Available hard disk space 500 MB
Operating system MS Windows XP Professional
MPI driver Version 6
NC interface CP5511, CP5611
(SINUMERIK powerline)
NC interface Network connection (Ethernet)
(SINUMERIK solution line)
Software
• Name: HMI Advanced for PC/PG
• Installation language: German/English
• Distribution medium: CD
• Uninstallable: Yes
Operating sequence
1. Insert the CD in the CD drive
2. Start setup.exe
3. Select language
4. Specify the target directory: Any
5. For SINUMERIK powerline, select:
- Online with communication to NC
- The system asks whether you wish to install the MPI drivers
- Local without communication to NC, with NC simulation
6. For SINUMERIK solution line, select:
- Online with communication to NC
7. The system lists all the entries you have made
8. On confirmation the copy operation starts
9. At the end of the copying operation, you are prompted to restart the PC.
Notice
Installing on a PC/PG:
HMI-Advanced can then only be run under a non-administrator user, if this user
has write privileges for directory mmc2 of HMI-Advanced. The installation of HMI
Advanced does not provide these privileges.
Application
The NCU connecting assistant is only installed during the installation of HMI
Advanced on a PG/PC. This assists you during the commissioning of the NCK,
PLC and drive and during the configuration of interfaces and the cabling.
With the connecting assistants, connections are possible both via MPI and
Ethernet, depending on the control unit. Use an Ethernet connection for
SINUMERIK solution line and an MPI connection for SINUMERIK powerline. The
type of connection depends on the software installed on the 840Di control unit.
Note
Changes that you made using the "NCU Connection Wizard" only take effect after
a system restart.
Overview
Installing HMI Advanced on a standard PC creates boundary conditions which
cause the following effects when other programs are used:
• Windows that cannot be moved or minimized
• Special keyboard and keyboard filter functions
• Overcrowded taskbar
• Changes to color scheme
• Focus control in connection with OEM software
• All applications of a standard PC run on one desktop.
How to call up HMI Advanced in a separate desktop is described as a remedy in
the following section.
Remedy
Through the dynamic creation of a separate desktop for the HMI Advanced
software, the features indicated above can be limited to this desktop. In addition,
up to three desktops can be defined without these restrictions. Various methods
can be used to switch between the desktop with HMI Advanced and the other
desktops at any time. Desktop creation is configurable. The solution is only
available for PGs/PCs, not for PCU 50.3.
Desktop applications:
• In addition to a standard desktop that is always present, one or more desktops
are created dynamically.
• HMI Advanced is loaded into a dynamically created, standalone desktop.
• All existing desktops are provided with a user interface that allows switching to
another desktop at any time.
• The desktop can be configured with the HMIDesk.ini file.
Windows XP
Fig. 4-1: Separate desktops for HMI Advanced and other applications
Notice
1. The key combination CTRL+ALT+DEL of the task manager only works in the
standard desktop. In dynamic desktops, the task manager can only be called
directly from the taskbar.
2. When a dynamic desktop is closed, the application that is started automatically
by inclusion in hmidesk.ini is closed with the desktop. Manually started
applications continue to run, however.
The applications can no longer be used, however, since they are not displayed
in other desktops. If the dynamic desktop is started again later, applications
that are still running are visible again and can continue to be used.
3. All external applications (e.g., ProTool, Transline) that use the basic HMI
Advanced system must be started on the HMI desktop if they are to be
executed in parallel with HMI Advanced.
Background: The process control subsystems cannot be used beyond desktop
limits because Windows restricts window communications to one desktop.
4. 16-bit applications are always started by Windows in the login desktop and so
do not work in a dynamic HMI desktop. The desktop switch can therefore not
be used if 16-bit applications are being used in HMI Advanced. In this case,
HMI Advanced must be started in the conventional way.
[Global] section
The application is configured in the HMIDesk.ini file.
[Desktop n] section
StartupApplication = "Path\Program.exe"
Note
For the desktop (2), the path and associated program name pointing to the
current HMI Advanced installation are set automatically.
When switching between desktops, the desktop switch sets the appropriate color
scheme automatically.
Activation
Start HMIDesk.exe in the installation directory for HMI Advanced. The configured
desktops are created. HMI Advanced is started automatically in desktop 2 as the
startup application.
Overview
The user interface for the desktop switch application can be configured:
• Keyboard hotkeys
• Dialog window
• Icons in the taskbar
Hotkeys:
<Alt+1> Switches to desktop 1 (standard desktop of user)
<Alt+2> Switches to desktop 2 (HMI Advanced desktop)
<Alt+3> Switches to desktop 3 (optional additional user desktop)
<Alt+4> Switches to desktop 4 (optional additional user desktop)
Note
If WindowOnTop = False is configured in hmidesk.ini, the window must be
brought to the foreground using <Alt + TAB>.
Application
The Action log function can be used to log operating sequences. By default, if the
action log is enabled, the data that can be logged are recorded. The action log
setting is password-protected.
Variable services All variables that are written via an input field (e.g., write
accesses to geometry data such as tool compensation
and work offsets) can be logged. A description of the
variables can be obtained via the Help function in the
Parameters operating area under Variable Views.
PI services All PI services (e.g. program selection, file deletion, tool
deletion) can be logged. A description of the variables can
be obtained via the Help function in the Parameters
operating area under Variable Views.
Domain services All domain services (e.g. load/unload program) can be
logged.
Alarm status All NC/PLC and HMI alarms and messages that are
displayed can be logged.
Channel status/ NC/PLC statuses can be logged using information about
override the channel status and the position of the override switch.
If this information can be obtained in a timely manner, in
many cases these states can be used to verify the
operation of the MCP.
HMI events Function buttons for screen selection and switching the
operating area (Action StateReached).
• Logging of alarms
• Output of log file via USB
• The log file output is password-protected (access level: Manufacturer).
• The action log is enabled/disabled via MD 9012: ACTION_LOG_MODE or in
the operating area "Commissioning" → "HMI" → "System Settings" in the
"Action Log Settings" screen.
9012 ACTION_LOG_MODE
MD number Action log settings
Default value: 254 Min. input value: 0 Max. input value: 0xffff
Changes effective after POWER ON Protection level (R/W) 2/2 Unit: -
Data type: DWORD Applies from version 5.2
Meaning This MD can be used to enable/disable the action log and to define a
choice of the data to be logged.
Bit 0 =1 Action log ON (default)
=0 Action log OFF
Start-up
Logging ON
Logged files
File access
Save
settings
File HMI exit
Query Symbols Templates Action log Trace
display mode
Fig. 4-3: Action log settings
The "Keys (only ShopMill)" selection is without function in HMI Advanced (also
see MD 9012, Bit 5).
Overview
The log file output is password-protected (access level: Manufacturer). On the
operator panel, the current log file is displayed on the screen in the operating area
"Diagnostics" → "Service displays" → "Action log".
Application
The log file can be read out from the startup menu. A startup menu is displayed
whenever a crash occurs (PLC Bit DB19, Byte 0, Bit 6). The PLC must set and
reset the bit at the user interface (same as, e.g., key lock, screen brightness control,
etc.).
The HMI evaluates the rising edge of the signal (i.e., a transition from 0 to 1) and
creates the log file when the signal arrives. The HMI only read-accesses the data,
i.e., the signal must be reset from the PLC/user program. If the bit is already set
when the HMI starts up, the HMI does not respond to the value of the bit (until it is
reset and set again).
If you are unable to select the Service menu, you should proceed as follows:
1. Switch on the control.
2. During startup, a log file is scanned for crash files. The current crash files
(AC_LOGP1.TXT to AC_LOGPn.TXT) are copied to the part program
directory.
3. After the controller is restarted, you can read out the log files from the
“Services” operating area in the “Data Out” → via USB menu.
Application
The HMI Analyzer diagnoses any problems occurring on a PCU 50.3. The result of
the analysis is displayed via the HMI Analyzer in lists. It can also be stored in ASCII
files and analyzed later. In this way, the differences between the supplied versions
and a customer-modified version can be determined.
All settings of the INI files of HMI Advanced are analyzed and the resulting settings
are displayed.
Further analyses are possible via the listing of DDE messages, monitoring of the
processes, memory utilization and network settings.
[HMI_DIRS]
DIR01 = MMC2
DIR02 = HMI_ADV
DIR03 = ADD_ON
DIR04 = OEM
DIR05 = USER
[HMI_FILES]
FILE01 = MMC.INI
FILE02 = REGIE.INI
FILE03 = MBDDE.INI
FILE04 = OEMFRAME.INI
FILE05 = NETNAMES.INI
FILE06 = KEYS.INI
[Additional]
FILE01 = F:\Programs\Test1.ini
FILE02 = F:\Programs\Test2.ini
Section [HMI_DIRS]
All the directories that are to be used for analyzing the INI files are entered here.
Section [HMI_FILES]
All the INI files that are to be used for analysis are entered here. At the same time,
the files in the directories that are entered under HMI_DIRS are searched and
analyzed.
Section [Additional]
Additional INI files that are not subject to the INI concept of HMI Advanced, i.e. INI
files from add-on applications, can be entered here. The complete path is needed
for the entries. Only the file of this path is analyzed.
4.3.1 Operating
Overview
When the HMI Analyzer is started, the settings in the initialization file
HMIAnalyzer.ini are analyzed. The point selected in the tree to the left is analyzed.
The result of the analysis is displayed as a list on the right side.
The result of the analysis can be saved as a "profile". All of the items marked in the
tree are saved (toggle key or double-click on the respective box).
For the INI files saved as profiles are the "resultant” INI files. In this way, the profile
shows the current valid configuration.
The result files can be considered individually in an external ASCII editor.
The result of the comparison can be seen in the main window of the application.
The result of the comparison can also be saved in an ASCII file via the menu items
"File" → "Save Comparison".
A saved comparison result can be displayed again by the HMI Analyzer via the
menu items "File" → "View Comparison".
System → Files
All entries of the analyzed INI files are displayed here.
HMI Display of the corresponding INI entries from files that are subject
to the INI concept of HMI Advanced. The directory from which the
entry comes is also displayed ("Source" column). For this, all the
directories that are entered under HMI_DIRS in HMIAnalyzer.ini
are scanned.
Additional Display of the addition INI files that are not subject to the INI
Files concept, i.e. these INI files are only searched for in the specified
path.
Modules When the Modules item is selected, the loaded DLLs for all running
processes are determined. When HMI Advanced is running, the
applications of all operating areas that are entered with
ProLoad;=False in the Regie.ini are also started.
For this, the loaded DLLs are also determined.
Note
Operating areas that are entered with PreLoad:=False in REGIE.INI and cannot
be found as a process are started by the HMI Analyzer before the analysis. The
start is done via the master control server. During this, all the operating areas to
be started are activated by “SwitchToTask”. After all the operating areas are
started, the operating area changes to "Machine".
System → DDE
Message The DDE message records DDE notifications. Depending on the
settings, requests, pokes, executes and hotlinks (advise) are
logged. With the option “Only Active Hotlinks” only the currently
active hotlinks can be displayed. Finished hotlinks disappear from
the screen.
Only DDE notifications that occur after the start of the HMI Analyzer
are recorded. The elapsed time can be determined from the "Time"
column. This column displays the time that has elapsed since the
start of windows in milliseconds.
Ping With "Ping Windows”, you can check whether a window does not
Windows reply to DDE broadcasts. When a hotlink is started, the system
sends a notification to all windows which must be immediately
answered by all windows.
Note
When setting up a hotlink via the DCTL, a data query request is also sent via the
DCTL. The HMI Analyzer cannot display the current value for this request
(“Value” column).
Possible cause:
Due to the hierarchical execution of the HMI directory, the entry made in the
Regie.ini file was overwritten by an entry in another regie.ini file with a higher
priority and is therefore not in effect.
[TaskConfiguration]
Task6 = name := TestApp, Timeout := 10000, PreLoad := True
[TaskConfiguration]
Task6 = <empty>
HMI Analyzer:
Under Files → HMI, the regie.ini is selected. The resulting regie.ini file from all the
HMI directories is now displayed (mmc2, hmi_adv, add_on, oem, user). Now it
becomes clear whether the entry that was made is also truly active or was
overwritten by another entry. In addition, it is possible to recognize which HMI
directory the entry comes from.
Possible cause:
Due to the hierarchical execution of the HMI directory, the entry made in the
mmc.ini file was overwritten by an entry with a higher priority and is therefore not in
effect.
[NCU840D]
ADDRESS0=5,NAME=/NC,SAP=d
ADDRESS1=6,NAME=/PLC,SAP=1
[NCU840D]
ADDRESS0=14,NAME=/NC,SAP=d
ADDRESS1=14,NAME=/PLC,MAX_BUB_CYCLICS=0
HMI Analyzer:
Under Files → HMI, the mmc.ini file is selected. The resulting mmc.ini file from all
the HMI directories is now displayed (mmc2, hmi_adv, add_on, oem, user). Now it
becomes clear whether the entry that was made is also truly active or was
overwritten by another entry. In addition, it is possible to recognize which HMI
directory the entry comes from.
Possible causes:
The area application that is newly selected by the area switcher sets up hotlinks
when loading. When loading a form with DCTL, the message DDEInitialize is sent
to the main window of all processes. If a main window is very slow to answer or
does not answer this notification, then this can be the cause of the lethargic or
blocked area switcher.
Regulation:
"Top-level" windows must not be allowed to block the system for a long period of
time. DDE Clients may not use the DDEML. They must use the DCTL.
HMI Analyzer:
Select the DDE/Ping Windows item. Now you can check whether all windows
answer the DDE broadcasts while the cyclic operation is being started. The
“Answer Time” should be set to 100 ms and the cycle time of the query “Cyclic
Time” to 1000 ms. The checkmark for Append should be set and the checkmark for
ShowAll should be removed. The applications that appear in the list have not
answered within the answer time. The displayed applications can be the reason for
the slow, blocking system.
Notes
Clients that establish DDE connections during operation are particularly affected.
Clients that still use the DDEML should change to DCTL or limit the establishing
of connections to the application start. The problem is only solved after the 32 Bit
DCTL. VB4.0 programs must be ported accordingly.
For systems without much memory, the problem occurs more often. All of the
processes exported to the hard disk must be loaded into the main memory (e.g.
DDE initialize) and carried out. This is very time-sensitive. Examples for time-
critical applications are database accesses, complex computation programs, etc.
Background processes, in particular, must be programmed in such a way that the
applications that are running in the foreground are not blocked.
Possible causes:
Depending on the load on the PLC, the number of hotlinks that are causing
problems differs. Hotlinks represent a basic load for the controller and as few as
possible should be used.
HMI Analyzer:
The HMI Analyzer must be started prior to starting HMI Advanced. This can be
done in Service mode. After HMI Advanced has been started up, the HMI Analyzer
displays the actually existing hotlinks under DDE → Message. Using the “Only
Active Hotlinks” option, all active hotlinks can now be displayed. A check must now
be made as to which data accesses will not need to be implemented as hotlinks but
can also be implemented as a request. By doing this, the basic load on the
controller can be reduced.
Using the filter request, poke or execute, you can check whether these DDE
functions are burdening the system. Cyclic requests with short cycle times burden
the system. The cycle time can be determined from the "Time" column. This
column displays the time that has elapsed since the start of windows in
milliseconds.
I
I Index
MD 11290
DRAM_FILESYSTEM_MASK ... IM4/2-36
A MD 11291
DRAM_FILESYSTEM_SAVE
AEDITOR.INI ................................ IM4/2-79 _MASK ................................... IM4/2-36
MD 14510
C USER_DATA_INT ................... IM4/3-141
MD 14512
CAPSLOCK .................................. IM4/2-44 USER_DATA_HEX.................. IM4/3-141
COMIC.NSK ................................. IM4/2-80 MD 14514
USER_DATA_FLOAT ............. IM4/3-141
MD 18351
D MM_DRAM_FILE_MEM
_SIZE...................................... IM4/2-36
DG.INI........................................... IM4/2-81 MD 20098
DGOVW.INI .................................. IM4/2-82 DISPLAY_AXIS ......................... IM4/2-39
DGOVWTXT.INI ........................... IM4/2-82 MD 28082
DH.INI........................................... IM4/2-83 SYSTEM_FRAME_MASK ......... IM4/2-33
DINO.INI ....................................... IM4/2-80 MD 30100
DPDH.INI...................................... IM4/2-83 CTRLOUT_SEGMENT_NR....... IM4/2-37
DPSIM.INI................... IM4/2-83, IM4/2-133 MD 9009
KEYBOARD_STATE ................. IM4/2-44
MD 9012
H ACTION_LOG_MODE............. IM4/4-151
MD 9033
HEADER.INI ................................. IM4/2-84 MA_DISPL_INVERT_DIR
HMIAnalyzer.INI ......................... IM4/4-155 _SPIND_M3 ........................... IM4/2-43
HMIDESK.INI.............. IM4/2-87, IM4/4-147 MD 9203
USER_CLASS_WRITE_FINE ... IM4/2-32
MD 9220
I
USER_CLASS_PRESET .......... IM4/2-33
MD 9245
IB.INI............................................. IM4/2-88
MA_PRESET_FRAMEIDX ........ IM4/2-34
IF.INI............................................. IM4/2-89 MD 9247
INI files (overview)........................ IM4/2-79 USER_CLASS_BASE_ZERO
_OFF_PA................................ IM4/2-38
K MD 9248
USER_CLASS_BASE_ZERO
KEYS.INI ...................................... IM4/2-90 _OFF_MA ............................... IM4/2-38
MD 9422
MA_PRESET_MODE ................ IM4/2-33
L MD 9424
MA_COORDINATE_SYSTEM .. IM4/2-32
LOGDRIVE.INI ............. IM4/2-45, IM4/2-90 MD 9428
MA_SPIND_MAX_POWER....... IM4/2-40
MD 9429
M MA_SPIND_POWER_RANGE.. IM4/2-40
MD 9440
MASCHINE.INI ............................. IM4/2-92 ACTIVATE_SEL_USER_DATA. IM4/2-34
MBDDE.INI ................................... IM4/2-95 MD 9451
MM_WRITE_ZOA_FINE_LIMIT IM4/2-32
MD 9676
CMM_DIRECTORY_SOFTKEY R
_PATH1 ................................. IM4/2-45
MD 9677 REGIE.INI
CMM_DIRECTORY_SOFTKEY Hibernate ................................. IM4/2-107
_PATH2 ................................. IM4/2-45 HMI startup .............................. IM4/2-133
MD 9678 Requesting a RESTART............ IM4/2-76
CMM_DIRECTORY_SOFTKEY_PATH3.. Softkey EXIT.............................. IM4/2-76
IM4/2-45
MD 9679
CMM_DIRECTORY_SOFTKEY_PATH4.. S
IM4/2-45
MMC.INI ....................................... IM4/2-99 SEDITOR.INI .............................. IM4/2-109
SimNCK ...................................... IM4/2-133
SIMTOGEO.INI ......... IM4/2-115, IM4/2-125
N STAT (moving joint position)..........IM4/2-35
Valid for
Controller
SINUMERIK 840D sl/840DE sl
SINUMERIK 840D powerline/840DE powerline
SINUMERIK 840Di powerline/840DiE powerline
SINUMERIK 810D powerline/810DE powerline
1 Introduction ..............................................................................................................................TX2/1-5
3.8 Special considerations when working with Greek and Cyrillic texts .....................................TX2/3-39
3.9 Special considerations when working with East Asian texts ................................................TX2/3-40
5 References..............................................................................................................................TX2/5-49
I Index .........................................................................................................................................TX2/I-51
1 Introduction
1
1.1 General .......................................................................................TX2/1-6
1.1 General
Since the 1990s, Microsoft have put considerable effort into satisfying global
demands for information processing and software development.
In addition to supporting as many languages as possible, one of the aims was to
be able to support all languages with the same uniform operating system, as
opposed to the language-specific versions of operating systems which were used
before.
As part of these efforts, many of the system components and applications were
gradually converted to the cross-language platform Unicode.
Although in many cases the user would have been completely unaware of this
conversion process, in terms of the subjects discussed in this guide fundamentally
different procedures need to be adopted depending on which version of the
operating system is used.
The procedure recommended for Windows 2000/XP is much simpler than the one
recommended for Windows 95/NT4. Therefore it makes sense to change over to
the new systems. The guide for older systems is no longer being updated by the
documentation department.
1.2 Prerequisites
This document describes the procedure for creating a text with the following
preconditions:
• The text is to be created on a Microsoft Windows operating system (Windows
2000 or Windows XP).
• The present description uses German as the default language for all examples
provided herein. However, the described procedure will work just as well with a
different language as the default Windows language.
• The text is to be created as a so-called text file, i.e. without formatting such as
font types, font sizes, underscores etc. This means that, apart from the text
characters, the file will only contain ASCII control characters like Tab, CR and
LF (tab indent, carriage return and line feed).
• The language of the text requires a different Windows code page to that of the
default language, i.e. the target language does not belong to the same
language family as the default language.
• The text file is to be coded using this code page, not as a Unicode file.
• The means used to create the text are to be as simple as possible, i.e.
especially without the need to install any additional software.
• For the purposes of this guide, it is assumed that you have installed Microsoft
Word 2000 (or a later version) and are familiar with using it.
Operating system and target language from the same language family
If the language of the operating system (e.g. German) belongs to the same
language family as the target language (e.g. Portuguese), then some difficulties
could possibly occur with the input of certain characters. However, there will be no
problems displaying these characters with a simple text editor.
Remedy:
• Use the Windows "Character Map"
(see Section 3.2: Entering characters with the character map) or
There should not be any further problems in this case. Use a simple text editor
(e.g. Notepad) and save the texts in the usual way.
Section 2 does not apply.
• Windows 2000/XP: Language Support for East Asian characters (necessary for
these languages)
Checking the installation of the Language Support for East Asian languages
Installation of the Language Support for East Asian languages is performed
differently for Windows 2000 and Windows XP.
Please refer to Section 3.9 for details: Special requirements for East Asian
languages
There is a 1:1 assignment between Windows code page and language family.
Section 1.3 (Language family) contains a list of the language families in Table 1-1.
Diacritical characters
(diacritical = distinguishing)
In most cases, a relatively small supplementary character, which is attached to a
letter to give the letter a specific stress, a specific pronunciation or even a new
meaning.
• for the combined input if there is no separate key that possesses the required
combined character (see Section 3.4: Using a different keyboard layout),
In all the other cases, the combined letter is always considered as a compound
unit.
In some cases, however, the combined letter is incorrectly referred to as the
diacritical character.
Language family
A language family is a group of languages which uses the same code page. This
requires the use of the same basic alphabet (e.g. Latin or Cyrillic), but it does not
mean that the alphabet of all languages of this group is the same.
There is a 1:1 assignment between Windows code page and language family.
Section 1.3 (Language family) contains a list of the language families in Table 1-1.
Default language
The term "default language" is used in this guide for the language of the operating
system, i.e. German for a German Windows environment and English for an
English Windows environment.
Windows XP:
Under "Control Panel" "Regional and Language Options", in the tab
"Languages", click under the heading "Text Services and Input languages" on the
button "Details..." to reach the dialog "Text Services and Input languages".
Here you can see the default keyboard setting in the "Settings" tab under the
heading "Default Language and Region Support".
Unicode
A 16-bit character set for which code pages are no longer required.
All character codes are unique, without needing to specify the code page.
Unicode programs like Word 2000/2003 do not offer code page-dependent
interpreting of characters and thus also cannot display characters differently by
assigning a font or language property.
2.1 Overview
This section describes how text files can be edited using Microsoft Word
2000/2003.
Word 2000/2003 does not edit text files We recommend saving an additional
directly. Instead, it converts them to version of the text file as a Word file
Word files upon opening. and using this version as the basis for
During saving Word can then convert future editing.
the edited text back into a text file. It is then no longer necessary to open
and convert the file.
bearbeiten
Fig. 2-1
• Make a copy of an existing text file you wish to use as a template for the new
text file.
Now open the text file with Word 2000/2003 in the way described in the next
section.
3. Choose the file you would like to open and click on "Open".
Instead of steps 1-3, you can also use one of the standard shortcuts:
• In Word you can use the list of the recently used files.
• Drag and drop the text file from Explorer to the Word icon on your desktop.
• If Word has already been launched, drag and drop the text file from Explorer to
the title bar of the Word window.
If however the file is opened straight away with neither the "Convert File" nor
the "File Conversion" dialog boxes opening up, then Word has probably opened
the file incorrectly under the assumption that the text has been written using the
default language.
Be careful with special characters. The special characters will appear incorrectly
if the code page of the text file is not the same as the code page of the default
language.
In this case, go to "Extras" → "Options..." and open the Options dialog for Word.
Click on "General" and select the option "Confirm conversion at Open".
When this option is active the additional dialog "Convert File" (see point 5.) will
appear every time, but when the option is inactive it is skipped.
Afterwards close the file and start again from point 1.
Fig. 2-3
Fig. 2-4
Fig. 2-5
Select the correct encoding (Word will make a suggestion which will not
necessarily be correct).
Section 2.5 (Codes for SINUMERIK HMI) lists which encoding is suitable in
Table 2-1.
Check the preview area while doing this.
7. Click on "OK".
The file is opened and converted to a Word file at the same time.
The existing text is formatted using a default font.
Fig. 2-6
3. Enter the name of the file in the "File name" box and click on "Save".
Fig. 2-7
This warning dialog does not appear in Word 2003, or is included in the dialog
below (see Fig. 2-9).
This warning tells you that saving the file as a text file may result in formatting
information and graphics objects being lost.
This message will even appear if there are no special formatting or graphics
objects in the text.
Click "Yes" to confirm.
Fig. 2-8
Select the encoding which is suitable for your target language and click on "OK".
Section 2.5 "Codes for SINUMERIK HMI", Table 2-1 lists the suitable encoding
options.
Your file is now saved as a text file and encoded using the selected code page in
the process.
Fig. 2-9
This warning will also appear if you have selected the correct code but your file
contains characters which are not permitted, such as Latin mutated vowels in a
Cyrillic text.
If you choose to ignore the warning then all characters which cannot be encoded
are replaced with a question mark.
Depending on the installation of your system, many other codes may be listed,
including those for Unix (ISO), Apple (Mac), OEM (DOS) and mainframe (EBCDIC)
platforms.
Please use the Windows (ANSI) codes for SINUMERIK HMI.
Use the following codes to open and save files (shown in alphabetical sequence in
accordance with the Word listing):
3 Input of Text
3
3.1 Special characters of different language families .....................TX2/3-22
3.9 Special considerations when working with East Asian texts ....TX2/3-40
If you do leave any of the options active then you can always use Ctrl+Z to undo
any automatic corrections. As a general rule this will give the same results as if the
option was deactivated.
2. From "Font", choose the same font type as you have selected for the text file.
Fig. 3-1
4. Under "Character set" select the code page for your text file in order to restrict
the number of available characters to this code page.
The code pages are identified as follows:
Entering characters
1. Choose a character you want to enter.
The information bar at the bottom will display the Unicode code (U+...,
hexadecimal), the code page code (in brackets) and the clear text description of
the character.
Once you have selected the appropriate keyboard layout (see Section 3.4: Use
a different keyboard layout), the key combination for the numerical input is
displayed in the status line at the bottom right (see Section 3.5: Numerical text
input).
Fig. 3-2
2. Click on "Select".
The character is copied into the "Characters to copy" field.
Example
With a German keyboard layout, press for example the keys ´ (acute) and "a" one
after the other to obtain the character á (a-acute).
The keys with the diacritical characters, which are thus dealt with in a special way,
are marked with a special color in the descriptions of the keyboard layouts.
Keyboard assignments
The table below shows some keyboard layouts for the supported diacritical
characters:
Table 3-2
Grave accent
Double-acute
Circumflex
Squiggle
Ogonek
Cedilla
Háček
Breve
Colon
Acute
Point
Tilde
Keyboard
assignments ´ ‚ ˆ ˇ ˘ ˛ ˙ ¨ ¸ ˝ ˚ ˜
German X X X
French X X X X
Polish X X X X X X X X X X
Spanish X X X X X
Czech X X X X X X X X X X
Hungarian X X X X X X X X X
U.S International X X X X X
http://www.microsoft.com/globaldev/reference/keyboards.mspx
If you press the space bar after the diacritical character, you will see the character
itself.
Note
It can be useful to switch the keyboard layout to "U.S. International" which
corresponds mainly to the American keyboard, but additionally contains 5
diacritical characters and provides many special characters.
However, if you (as a German) only need to make smaller changes to existing files,
then the German keyboard layout may be enough provided there are only a few
special characters which cannot be represented with the German keyboard. You
can enter these characters using the Character Map.
Example
In Hungarian for example, you would have to enter these characters as follows:
• őŐűŰ (O double-acute, U double acute) via the character map
• öÖüÜ directly
• áÁéÉíÍóÓúÚ compound input
If a symbol like DE is displayed in the right-hand task bar then you can also right-
click on this symbol and select the command "Properties" to speed up steps 1
and 2.
You will see here at least one assignment "Input language" (left-hand column) and
"Keyboard layout" (right-hand column) already set up.
One entry is defined by default: Your default language (the language of your
operating system) and your default keyboard layout. This entry is selected and
indicated with a check mark on the left.
Fig. 3-3
3. Click on "Add".
The dialog box "Add Language and Region Support" is opened.
Fig. 3-4
4. In the dialog "Add Language and Region Support", select a language under
"Language and Region Support" and the associated keyboard layout under
"Keyboard Layout".
The language ("Language and Region Support") may also be the same as the
default language or as some other language for which you have already set up
a keyboard layout. However, in this case you will not be able to make such a
good distinction between the two keyboard layouts, as Windows usually only
displays the language ("Language and Region Support").
5. Click on "OK". The dialog box "Add Language and Region Support" is closed.
You then return to the "Keyboard Properties" window.
6. Use "Hot keys for input locales" to select the way how you want to switch the
keyboard layout. If you select "none", you can only switch using the mouse.
Fig. 3-5
7. Activate the option "Enable indicator on task bar". This provides you with the
possibility of switching over quickly using the mouse.
2. Click on the "Languages" tab and click on the button "Details..." under the
heading "Text Services and Input Languages".
If a symbol like DE is displayed in the right-hand task bar then you can also right-
click on this symbol and select the command "Properties..." to speed up steps 1
and 2.
3. The dialog "Text Services and Input Languages" is opened. Select the
"Settings" tab.
Fig. 3-6
4. Click on "Add".
The dialog box "Add Language and Region Support" is opened.
Fig. 3-7
5. In the dialog "Add Language and Region Support", select a language under
"Language and Region Support" and the associated keyboard layout under
"Keyboard Layout".
The language ("Language and Region Support") may also be the same as the
default language or as some other language for which you have already set up
a keyboard layout. However, in this case you will not be able to make such a
good distinction between the two keyboard layouts, as Windows usually only
displays the language ("Language and Region Support").
6. Click on "OK". The dialog box "Add Language and Region Support" is closed.
You then return to the "Text Services and Input Languages" window.
7. Use "Keyboard…" to select the way how you want to switch the keyboard
layout. If you select "none", you can only switch using the mouse.
8. Under the "Language and Region Support" bar you can select whether and how
the current keyboard layout is displayed in the task bar or in a special button
bar.
3.4.4 Use
You can now create text with a "keyboard layout" suitable for the target language
(for the input of your texts in a foreign language) or with your previous default
keyboard layout (for the remaining operation). You can switch between the two
layouts as required.
Now, a small blue field with a two-letter language abbreviation should appear in the
task bar for the language you have set:
If you position the mouse pointer on this field (without clicking on it), the setting is
displayed .
If the selected keyboard layout is the default layout for the selected language (e.g.
"Turkish" – "Turkish Q"), then only the language ("Turkish") is displayed, otherwise
the complete settings with language and keyboard layout will be displayed
("Turkish – Turkish F").
Fig. 3-8
If you click with the left mouse button on this field, the languages you have set will
be offered in a small menu.
The current setting is marked by an arrow (Windows XP does this with a check).
Fig. 3-9
If you click with the right mouse button on this field, an abbreviation of the dialog
box "Keyboard Properties" is displayed above the "Properties" menu option.
Fig. 3-10
Further settings are offered under Windows XP. Among other things you can also
arrange this display as an Input language bar independently of the task bar, for
example at the top edge of the screen.
• Enable the window in which you want to enter texts before you select the
keyboard settings for this window.
Menu operation
All menus in the active program will also use the changed keyboard layout. You will
possibly no longer find certain key combinations with Alt and the letter key or Ctrl
with a letter key or even initiate a wrong command by mistake. You should
therefore use the mouse or, in menus, the arrow keys.
Additional notes
If you do not want to switch back to the other keyboard layout quite as frequently,
you can also declare the new combination with the special keyboard layout as the
default target language by selecting Start menu "Settings" → "Control Panel" →
"Regional and Language Options" → tab "Languages", dialog box "Keyboard
Properties" (Windows 2000) or "Text Services and Input Languages" (Windows
XP):
Windows 2000:
Select the new entry and click on the button "Set as default".
The default setting is indicated with a check mark on the left.
Windows XP:
Select the new setting under "Default Language and Region Support".
Please note that all new windows, the Start menu and the desktop will now also
use the new keyboard layout.
Note
Check whether the automatic option for switching over the keyboard has been
activated in Word. Inadvertent switching of the keyboard layout by Word can
cause confusion.
Section 3.7 (Multi-language Word files) describes situations in which the
automatic keyboard switchover function is useful and how to activate and
deactivate it.
Press the ALT key, and while holding down the key, enter zero and then the three-
digit decimal coding of the desired special character on the numerical key group.
Only then release the ALT key.
Example (Turkish):
ALT+0222 results in Ş (S with cedilla).
To produce this character, you will only need the character map of the appropriate
code page (see Section 1.3: Language family).
You will find overview tables of the code pages e.g. at Microsoft under
http://www.microsoft.com/globaldev/reference/WinCP.mspx
From these tables, combine the headers for the column and row (hexadecimal 00
to FF) and convert this number to form a decimal number (0 to 255).
The 4-digit hexadecimal numbers contained in the individual table fields are the
corresponding Unicode codes which can be used for identification of a character,
but they cannot be used for numerical input of that character.
Section 3.2 (Input via the Character Map) also describes where the key
combination is displayed in the Character Map.
Fig. 3-11
3. In the "Language" dialog box you can choose the correct language. Click on
"OK" when you are done.
4. Then select "Language" from the list of commands on the right (see Fig.).
5. Drag and drop this entry with the left mouse button into a symbol bar.
Fig. 3-13
With this selection box you can then change the selected language for any part of
the text.
Note
The "Detect language automatically" can often deliver confusing results,
particularly in technical texts.
This option is usually pre-activated as a default setting.
1. Make sure that no part of the text has been highlighted and select the command
"Tools" → "Language" →
with Word 2000: "Set Language..."
with Word 2003: "Set Language..."
Fig. 3-14
Examples
This can be necessary in the following cases:
• With Greek and Cyrillic texts, the Latin letters and other ASCII characters are
missing in the appropriate keyboard layouts.
• With some keyboard layouts, e.g. Czech, no access to the digits is granted on
the standard keyboard level.
• You as a German want to prepare one part of the text, and a second part is to
be created by your translator.
• This does not need to be a Word table with borders and fields. You can also
use a simple line and separate the different parts with spaces.
• Select the whole line, copy this to the clipboard by using Ctrl-C and paste this
line several times by pressing Ctrl-V. This will give you two columns with
German on the left and Russian on the right.
Table 3-3
[Text 103][Mode 28] "йцукенгшщзхъфывапролджэячсмить"
[Text 103][Mode 28] "йцукенгшщзхъфывапролджэячсмить"
[Text 103][Mode 28] "йцукенгшщзхъфывапролджэячсмить"
[Text 103][Mode 28] "йцукенгшщзхъфывапролджэячсмить"
[Text 103][Mode 28] "йцукенгшщзхъфывапролджэячсмить"
[Text 103][Mode 28] "йцукенгшщзхъфывапролджэячсмить"
German Russian
Fig. 3-15
Note
Accidental use of the automatic keyboard switching function can be confusing.
Only use this option when the above boundary conditions are met.
With Windows XP you are also free to position the Language and Region Support
bar anywhere you want on the screen. To do this, click on the button for switching
over the keyboard (e.g. DE ) in the task bar and select "Restore Language and
Region Support Bar".
Fig. 3-16
4. Then select "DE Keyboard Language" from the list of commands on the right
(see Fig.).
6. Drag and drop this entry with the left mouse button into a symbol bar.
Note
If you create texts in the Greek or Cyrillic language for the first time, then you
MUST read this section!
From the view of the language sciences, the Greek and Cyrillic alphabets are
considered as separate and independent alphabets, and not for example as an
extension of the Latin alphabet.
This means that Greek and Cyrillic letters which in their appearance are identical to
Latin letters, are not the same characters and may therefore also not be coded
identically.
In some cases this becomes evident by the fact that although certain letters look
the same in upper case, the corresponding lower case letters look different.
Table 3-4
Example
Incorrect coding could have the following consequences:
Supposed you write the Russian word for "NO" ("HET") using Latin letters instead
of "HET" using Cyrillic letters. Initially you will see no difference. However, the
search for "нет" in lower case letters with the search option "Ignore
uppercase/lowercase letters" will not find the incorrectly coded spelling.
Note
Switch the keyboard to Latin only if this is absolutely necessary! When doing so,
do not switch over for individual letters, but only for complete words and
sentences.
Never use words with mixed codings!
Note
Find out whether and to what extent certain German, English or international
abbreviations (e.g. DIN/ISO) may or must be written using Latin fonts, or whether
a conversion (ДИН/ИСО) is more appropriate according to the conventions of the
country in question.
The key assignment for combinations, such as Ctrl-C, Ctrl-V, Ctrl-Z, Alt-A, etc.
normally follow the US keyboard layout.
• You can see the installed language families in the lower part of the window
under "Language settings for the system".
• Check whether the language family you want to use has been activated.
Fig. 3-17
You may require the Microsoft installation CD to install any missing components.
You will also require Administrator Rights to perform the installation.
Fig. 3-18
You will not usually need the installation CD to reinstall the files for East Asian
languages in Windows XP, as the files are already present on the hard drive in
compressed form.
You will however require Administrator Rights to perform the installation.
Input
An Input Method Editor (IME) is used for inputting. This is a tool which is used to
put together the pictograms on a European keyboard and can be activated
analogously to a keyboard layout.
You will normally need a translator who speaks the target language as his/her
mother tongue to operate the IME system.
From Windows 2000 it is no longer necessary to have the Windows operating
system in the target language.
If you are using characters with a functional significance it is important to use the
ASCII versions.
Fig. 3-19
Note
In the remaining part of the text it is quite acceptable to use full-width characters
for better readability (as in the example here for G49).
Notice
There is even a full-width version of the space character (ideographic space).
You can only recognize this character from its width by selecting it.
Incorrect example:
Fig. 3-20
The circled characters are full-width variants which have been used incorrectly.
Note
When placing a translation order, tell the translator that only the narrow, ASCII-
compatible characters must be used for characters with a functional significance.
Simplified/traditional Chinese
Note
Please make a careful distinction between simplified Chinese and traditional (or
standard) Chinese. The former is used in the PR of China, whereas the latter is
used in Taiwan. These two variants are coded differently and therefore have to
be treated differently. You should therefore also make sure that this is clearly
specified in your translation order.
Creating texts
When you are creating texts in Japanese, Chinese or Korean, it definitely makes
sense to initially create a Word file.
There should be no problems if you are using Word 2000/2003 to exchange
documents with your external translator.
Afterwards you can then convert this Word file into a text file in the way described
in Section 2.4 (Saving text files).
Remedy:
Check the option for automatic switchover of the keyboard as described in Section
3.7: Multi-language Word files.
Deactivate this option.
Remedy:
Deactivate the automatic language recognition option as described in Section 3.6:
Language properties in Word files
Remedy:
As a result of assigning a different keyboard layout, the keyboard shortcuts have
changed for certain commands. Use the mouse while you are working with the
other keyboard layout.
Remedy:
Check the formal text criteria:
Are all of the characters which have a functional significance correctly encoded?
• If inverted commas are a requirement, check whether Word has converted the
straight inverted commas (ASCII characters) that were entered into
typographic quotation marks. Some disruptive Word options are listed in
Section 3.1: Special characters of various language families.
• If the texts in question are East Asian texts, check the coding of the non-Asian
characters, see Section 3.9: Special requirements for East Asian texts.
If full-width characters have been used for functional characters, replace them
with the corresponding ASCII variants.
Remedy:
This is not necessarily a mistake.
Instead, this has historic reasons. For many years the Yen character has been
used in Japan and the Won character in Korea in place of the backslash character.
This representation was kept once the PC users in those countries had got used to
using this representation in path names (where you would otherwise expect the
backslash character). However, internally this is still the backslash character.
In the fonts "MS Gothic" (Japanese) and "Batang" (Korean) the backslash symbol
is represented as a currency character.
However, it is also possible that the Yen character (Unicode U+00A5) or Won
character (Unicode U+20A9) was actually entered instead of the backslash
character (Unicode U+005C).
To check this, reformat the text in Word using a different font, e.g. "Courier New".
If you see the backslash character in its normal representation then everything is in
order.
However, if you can still see the currency symbol or a symbol which is not a valid
symbol then you should correct the character and replace it with a backslash.
Afterwards revert back to the normal font (MS Gothic or Batang).
5 References
5
5.1 References for text creation......................................................TX2/5-50
Pictures of the keyboard layouts in Microsoft can be found at the following address:
http://www.microsoft.com/globaldev/reference/keyboards.mspx
For printing:
http://www.microsoft.com/globaldev/reference/win2k/setup/localsuppor
t.mspx
http://www.microsoft.com/globaldev/DrIntl/faqs/winxp.mspx
Unicode
Tables, definitions, standards and tools
http://www.unicode.org
I Index
I
I.1 Index
A I
Character map K
Code page .................................TX2/3-24
Entering ......................................TX2/3-23 Keyboard layout always visisble ... TX2/3-38
CJK characters .............................TX2/1-10 Keyboard layout specific
Code page to input window ............................ TX2/3-31
Name..........................................TX2/2-19
Number.......................................TX2/2-19
Code page .......................................TX2/1-9 L
Cyrillic language family .................TX2/3-39
Language family
Overview...................................... TX2/1-7
D Language family............................ TX2/1-10
E
Q
East Asian texts ............................TX2/3-40
Quick setting of
the language property................... TX2/3-34
F
T U
Siemens AG Corrections
For publication/manual:
A&D MC MS SINUMERIK 840D sl/840Di sl
Postfach 3180 SINUMERIK 840D/840Di/810D
Saftey
SINUMERIK SINUMERIK Integrated
840D
840Di
810D
User Documentation
Operator’s Guide Operator’s Guide Programming Guide Programming Guide Diagnostics Guide *) System Overview
– HMI Embedded *) – HMI Advanced *) – Fundamentals *) – Cycles
– ShopMill – Programming compact – Advanced *) – Measuring Cycles
– ShopTurn – Programming
– HT6 – Lists System Variables
– ISO Turning/Milling
Manufacturer/Service Documentation
Manufacturer/Service Documentation
Description of Description of
Description of Description of Configuring MCIS
Functions Functions
Functions Functions – Operator Interface – Computer Link
– Basic Machine *) – Remote Diagnosis Saftey Integrated
– Drive Functins OP030 – Tool Data Inform. Sys.
– Extended Functions
– Tool Management– @Event – HMI Embedded – NC Data Management
– Special Functions
– Hydraulics Module – NC Data Transfer
– Synchronized
– Analog Module – Tool Data Communication
Actions
– Iso Dialects
– EMC Guidlines
Electronic Documentation
SINUMERIK
SIMODRIVE
Motors
DOCONCD *)
DOCONWEB *) These documents are a minimum requirement
Overview of SINUMERIK 840D sl/840Di sl Documentation (01/2006)
General Documentation
User Documentation
Operator’s Guide Operator’s Guide Programming Guide Programming Guide Diagnostics Guide *)
– HMI Embedded *) – HMI Advanced *) – Fundamentals *) – Cycles
– ShopMill – Programming compact – Advanced *) – Measuring Cycles
– ShopTurn – Programming
– Lists System Variables
– ISO Turning/Milling
Manufacturer/Service Documentation
Electronic Documentation
SINUMERIK
SINAMICS
Motors
DOCONCD *)
DOCONWEB