PA Software. HMI Applications. HMI Setup and Configuration Guide

PA Software HMI Applications HMI Setup and Configuration Guide SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and err...
Author: Meghan Joseph
0 downloads 0 Views 466KB Size
PA Software HMI Applications HMI Setup and Configuration Guide

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 1

CONTENTS HISTORY.............................................................................................................................4 INTRODUCTION .................................................................................................................4 REFERENCES ....................................................................................................................4 GENERAL STRUCTURE OF HMI APPLICATION .............................................................4 Configuration Files ........................................................................................................................................................... 5 Plug-ins .............................................................................................................................................................................. 6

STRUCTURE OF HMI WORKING DIRECTORY ................................................................7 Directory bin ..................................................................................................................................................................... 8 Directory cfg...................................................................................................................................................................... 8 Directory hlp ..................................................................................................................................................................... 9 Directory images ............................................................................................................................................................. 10 Directory usr ................................................................................................................................................................... 10 Directory xml .................................................................................................................................................................. 10

COMMAND LINE PARAMETERS ....................................................................................11 SUPPLEMENTARY FILES................................................................................................12 Configuration Files ......................................................................................................................................................... 12 Section [cfg]................................................................................................................................................................. 12 Section [hardkeys] ....................................................................................................................................................... 12 Section [main].............................................................................................................................................................. 13 Section [speckeys] ....................................................................................................................................................... 13 Section of Element....................................................................................................................................................... 14 Section [actionbox] of HMI ......................................................................................................................................... 16 List of Functions .......................................................................................................................................................... 16 Application Parameters.................................................................................................................................................. 23 File hmiframe.ini.......................................................................................................................................................... 24 File hmi.ini................................................................................................................................................................... 28 File nceditor.ini ............................................................................................................................................................ 28 File logbook.ini ............................................................................................................................................................ 28 File nctable.ini ............................................................................................................................................................. 29 File mptool.ini.............................................................................................................................................................. 29 File help.ini .................................................................................................................................................................. 29

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 2

Text Files ......................................................................................................................................................................... 29 File hmiframe_xx.txt.................................................................................................................................................... 29 File errors_xx.txt.......................................................................................................................................................... 31 File plcerrors_xx.txt ..................................................................................................................................................... 31 File ccerrors_xx.txt ...................................................................................................................................................... 31 File hmi_xx.txt and Others........................................................................................................................................... 31 XML Files........................................................................................................................................................................ 32 Tag PLUGIN................................................................................................................................................................ 32 Tag BODY................................................................................................................................................................... 32 Tag APPLET................................................................................................................................................................ 33 List of Qt Applets......................................................................................................................................................... 36

ATTACHMENTS ...............................................................................................................37 Specification of Built-in Qt Text Brwoser .................................................................................................................... 37 Windows Registry........................................................................................................................................................... 39 Windows System Environment...................................................................................................................................... 39 Key Code Specification................................................................................................................................................... 39 FAQ.................................................................................................................................................................................. 40 How to change date and time format?.......................................................................................................................... 40 Is it possible to configure stand alone Path Graphic application?................................................................................ 40

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 3

History Revision 01

Date 03.07.2003 Document created

Comments

Introduction Document describes how to configure and setup HMI applications. Information belongs to both Windows and Linux versions of HMI, if differences are not marked into text. Setup guide is applied for HMI application version 1.10 and later.

References Setup guide refers to following documents:  SD001EN CNC Server (TCP)  SD003EN Text Translation Guide  SD004EN HTML Help Guide  SD008EN Java Applets

General Structure of HMI Application There are number of HMI applications: main operator interface HMI, NC Editor, NC Table Editor, Editor Editor of Machine Parameters and other. Nevertheless functions of applications are different, they have similar controls, layouts and use same internal functions. It is provided by fact that all applications use common software kernel. Software kernel includes only one executable file hmiframe (so called main frame) and some dynamic-link libraries (DLL): basis, ncfile. Kernel needs also supplementary files as texts and parameters. Supplementary files have ASCII or UNICODE format and can be opened by simple editor. Kernel uses common language dependent text resources from hmiframe_xx.txt file. Error messages are located in errors_xx.txt, plcerrors_xx.txt and ccerrors_xx.txt files. Here xx is language identifier. There are not predefined combinations for language identifiers, but following codes are recommended: • en English • de German • fr French • ru Russian • ch Chinese Important part of HMI kernel is main file of application parameters hmiframe.ini. Structure of supplementary files is described below.

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 4

When we HMI kernel started by command string hmiframe.exe we can see dummy application as following:

Configuration Files To make an application useful it is necessary to define its specific functions by configuration file and application parameters by ini file. Configuration file (cfg) contains assignments for soft keys (SK) and hard keys (HK), references to information layouts for different modes. Let required application is Path Graphic display (pg). We can create files: pg.ini [ini] swvisible=0 title=Path Graphic nextinstance=0 cfg=pg [user] icon=pa [pg] on=1 pg.cfg [main] 00000000=pg.htm$plain 00000001=pgplanexy:hmi 00000002=pgplanexz:hmi SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 5

00000003=pgplanezy:hmi 00000004=pgplanexyz:hmi 00000005=go#zoom:hmi 00000006=go#screen:hmi 00000007=pgsettings:hmi 00000008=exit ;sk5, zoom 50000001=pgzoomin:hmi 50000002=pgzoomout:hmi 50000003=pgup:hmi 50000004=pgdown:hmi 50000005=pgleft:hmi 50000006=pgright:hmi 50000008=back ;sk6, screen 60000002=pgfitin:hmi 60000004=pgclear:hmi 60000008=back Details of above files are clarified below. Now we can start new HMI application by command line string hmiframe.exe -i:pg and see Path Graphic display

Plug-ins Plug-in is dynamic-link library (DLL). Plug-in contains set of functions and one or more applets for specific application. Following plug-ins are available in HMI version 1.10: SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 6



      

hmi nceditor logbook nctable mptool help explorer status

main HMI plugin NC Editor Log Book NC Table Editor Editor of Machine Parameters HMI Help NC explorer HMI status window plugin

To start HMI application it is necessary to specify main plug-in in command string. It is carried out via parameter –p. For example,     

to start main operator interface HMI: to start NC Editor: to start NC Table Editor: to start MP Editor: to start Log Book:

hmiframe.exe -p:hmi hmiframe.exe -p:nceditor hmiframe.exe -p:nctable hmiframe.exe -p:mptool hmiframe.exe -p:logbook

In this case kernel uses configuration file and file of parameters with same names as name of main plug-in. See specification of command line parameters of main frame for details.

Structure of HMI Working Directory All HMI related files are located in hmi directory:

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 7

Directory bin Directory bin contains executable modules, DLLs and Qt libraries. They are followings:               

qt-mt312.dll - Qt library version 3.12 (depends on HMI release) qaxcontainer.dll - Qt library for ActiveX implementation hmiframe.exe - main frame for all HMI applications hmi.dll - main HMI plug-in nceditor.dll - NC Editor plug-in logbook.dll - Log Book plug-in nctable.dll - NC Table Editor plug-in mptool.dll - Editor of Machine Parameters help.dll - HMI Help plug-in explorer.dll - NC explorer plug-in status.dll - HMI status window plug-in basis.dll – supplementary library of basis functions kwrite.dll - supplementary open source library for NC editor assistant.dll - supplementary library for Help ncfile.dll - file operation supplementary library

Directory cfg

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 8

Directory cfg contains original configuration files (cfg), files of application parameters (ini) and text resources (txt). Text files are following:            

hmiframe_xx.txt errors_xx.txt plcerrors_xx.txt ccerrors_xx.txt hmi_xx.txt nceditor_xx.txt nctable_xx.txt logbook_xx.txt mptool_xx.txt help_xx.txt status_xx.txt explorer_xx.txt

common text resources for all applications CNC, PLC and RUN sections for corresponding errors user PLC error messages user Compile Cycles error messages text resources for hmi plug-in text resources for nceditor plug-in text resources for nctable plug-in text resources for logbook plug-in text resources for mptool plug-in text resources for help plug-in text resources for status plug-in text resources for explorer plug-in

Here xx is language identifier. There are following configuration files:        

hmi.cfg nceditor.cfg logbook.cfg nctable.cfg mptool.cfg help.cfg explorer.cfg status.cfg

main HMI configuration NC Editor Log Book NC Table Editor Editor of Machine Parameters HMI Help NC explorer HMI status window

There are following ini files:       

hmiframe.ini hmi.ini nceditor.ini logbook.ini nctable.ini mptool.ini help.ini

common parameters for all HMI applications HMI parameters NC Editor Log Book NC Table Editor Editor of Machine Parameters HMI Help

Directory hlp Directory hlp contains help files for HMI applications. Because HMI supports different languages the hlp directory is divided by language specific subdirectories. Their names are same as language identifiers of text files. See General Structure of HMI Application and “HTML Help Guide” (SD004EN) for details. Each HMI application has own SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 9

subdirectory in language branch. Name of subdirectory coincides with name of main plugin for application:  hmi HMI Help  mptool Help files for Editor of Machine Parameters

Directory images Directory images contains all images for HMI applications. Current version of HMI uses images in GIF format. Images have transparent background as a rule. Name of image file may include number in the end. That is size of image in pixels. For example, cut16.gif and cut32.gif are the same images but with 16*16 and 32*32 size. Normally large images (32) are used for soft keys. Small images are used in all other cases (hard keys, menu, list). User can provide HMI applications by own images. That is described by configuration files and files of parameters.

Directory usr During first startup HMI creates usr directory and copies all files from cfg directory to new location. HMI application may change some configuration file by the way. All modifications are saved in configuration files from usr directory. When HMI applications are not active, then user can clear usr directory completely. In this case HMI applications will use default settings from cfg directory during next startup. When any file in usr directory is older then the file with same name in cfg directory, then HMI application informs user by message box like

Directory xml Directory contains xml files in XML format. Each file specifies screen layouts for corresponding HMI application mode. There are following files in xml directory:      

manual.htm auto.htm bselect.htm pg.htm data.htm info.htm

manual mode of HMI automatic mode of HMI block selection in HMI automatic mode of HMI when path graphic display is active data mode of HMI info mode of HMI

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 10

            

pgsim.htm system.htm setup.htm zoom.htm interface.htm status.htm help.htm mphelp.htm mptool.htm nceditor.htm nctable.htm tooltable.htm logbook.htm

path graphic simulation in HMI system mode of HMI setup mode of HMI zoom mode of HMI interface display of HMI status window (for all applications) Help viewer Help viewer for MpTool MpTool viewer NC Editor Editor of NC Tables special view of Editor for tool tables Log Book viewer

User can change layouts of HMI application by modification of xml files. See information below for details.

Command Line Parameters Following command line parameters can be applied for main frame: Parameter -p: -s: -dir: -img: -cfg:

-hlp: -i:

Description Name of main plug-in Number of active station for communication Working directory Directory of images Directory of original configuration files and text resources Directory of screen layouts Directory of executable files and DLLs for Windows Directory of executable files and DLLs for Linux Root directory of help files File of application parameters

-c:

File name of configuration

-xml: -bin: -lib:

Default 1 HMIDIR HMIDIR/img HMIDIR/cfg HMIDIR/xml HMIDIR/bin HMIDIR/lib HMIDIR/hlp Default file extension is ini. When –p: parameter is used, then default file name is same as main plug-in name Default file extension is cfg. When –p: parameter is used, then default file name is same as main plug-in name

For example, to start main operator interface HMI communicated with CNC2: SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 11

hmiframe.exe –p:hmi –s:2

Supplementary Files Configuration Files Configuration files are text files in ASCII format. Empty strings are allowed as well as comments. Comment has ; at the beginning. Empty strings and comments are ignored by HMI applications. Configuration files are divided by section. Each section includes entries. Entry has name or number and value. Entries can’t be located outside named section. There are four reserved sections:    

[cfg] [hardkeys] [main] [speckeys]

describes parameters of configuration describes hard keys describes highest level of soft keys when there is no hard keys describes special keys

Section [cfg] Section [cfg] includes fixed entries:  plugin

 name  image  version

name of plug-in (DLL) which current configuration file belongs to. Configuration selection dialog will show only configurations which have same plug-in name as name of main application plug-in or name of plug-in is empty configuration title. Configuration selection dialog will show configurations by titles and icons configuration icon. Configuration selection dialog will show configurations by titles and icons version of configuration

Section [hardkeys] Section [hardkeys] assigns functions for hard keys. Entry 00000001 corresponds to first hard key (Manual Mode button), entry 00000002 corresponds to second hard key (Automatic Mode button) and so on. Entry 00000007 corresponds to Zoom button. Entry 0000000F corresponds to Help button. Most of hard key functions are exported by plug-in hmi. Normally hard key function have own section in configuration file excluded help function. Name of such section is same as function name. For example, section [automatic] belongs to function automatic. Title of SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 12

function and description (tool tip) is specified in section [functions] of hmi_xx.txt file. Corresponding entry of text file has same name. For example, hmi.cfg: [hardkeys] … 00000002=automatic … [automatic] ;section for automatic function ;here soft key levels for automatic mode are configured … hmi_en.txt: automatic =&Automatic$Switch to automatic mode Plug-in hmi exports following functions for hard keys:       

manual automatic data info system setup zoom

manual mode selection automatic mode selection data mode selection information mode selection system mode selection setup mode selection zoom disply

Function help is exported from the basis. Entry 00000000 specifies default view for application on all levels of soft keys if other view is not assigned on corresponding level. See Section of Element for details.

Section [main] Section [main] is used when application has not hard keys like NC Editor. High level soft keys are described in section [main]. User sees high level soft keys when application started. Entry 00000000 specifies default view for application on all levels of soft keys if other view is not assigned on corresponding level. See Section of Element for details.

Section [speckeys] Section [speckeys] assigns functions for predefined special keys. Normally two predefined keys are used in HMI:  00000009  0000000A

control reset acknowledgement of error message

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 13

Plug-in hmi exports ctrlreset function. Function acknowledge is provided by plug-in status.

Section of Element Section of element specifies keys and view. Sections [main] and [hardkeys] have the same structure. Two kinds of entries are allowed: 1. level=filename$typeofview 2. level=function:plugin[$[title]$[tool tip]$[icon]] First entry specifies a view. Here  level  filename  typeofview

defines level. First seven digits are level identifier. Note: last digit is always 0! name of file (as default from xml directory), which describes view for current soft key level type of built-in viewer (plain – Qt applet viewer, textbrowser – Qt HTML text browser, web – integrated MSIE browser for Windows or Konqueror for Linux)

It is allowed little bit complicated form of entry as level=data?filename0$view0| filename1$view1[|filenameN$viewN] Here data is data object (exported from plug-in). Current value of data (0…N) is used to activate corresponding viewer. Viewer plain can show HTML page with integrated Qt applets (see XML Files paragraph). Viewer web can display DHTML page. Qt applets are not supported, but DHTML page may contain Java applets. See “Java Applets” SD008EN documentation. Viewer textbrowser can display simple HTML page by built-in Qt text browser. Neither Qt applets nor Java applets are supported on page. Built-in text browser supports only subset of HTML tags. See specification of acceptable tags in attachment. Second type of entry is specified function for key. Here  level  function  plugin  title

defines key. First seven digits are level identifier. Note: last digit is always 1! name of function. Function title and tool tip for display is taken from [functions] section of corresponding text file name of plug-in (main plug-in of application as default) title of function can be specified here. It this case it overwrite corresponding title from text file

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 14

 tool tip 

icon

tool tip of function can be specified here. It this case it overwrite corresponding tool tip from text file icon for function. When icon is missing then software takes icon from file with same name as function

Let see an example: [manual] 00000000=manual.htm$plain 00000001=jcont 00000002=jincr 00000003=jwheel 00000004=jref 00000005=retreat 00000007=go#auxiliary 00000008=tcp ;manual mode->sk7, auxiliary functions 70000001=hrel 70000002=zerosettings 70000008=back [jcont] ;manual mode->sk1, move continuous 00000001=jcont#1 00000002=jcont#2 00000003=jcont#3 00000004=jcont#4 00000005=jcont#5 00000006=jcont#6 00000007=jcont#7 00000008=jcont#8 This is section for manual mode. Section name [manual] is same as name of function for first hard key. One view layout is used for all soft key levels in manual mode. View is specified in manual.htm file. SK5 and SK8 executes simple functions on same level: retreat and tcp. Both function are imported from main plug-in. SK1-SK4 opens new soft key levels. It is integrated into jcont, jincr, jwheel, jref function. Soft key functions on new levels are specified in own sections [jcont], [jincr], [jwheel], [jref]. For exmple, value jcont#3 means that built-in function jcont gets parameter 3 (third axis) to process. SK7 on highest level just only opens new soft key level, because assigned function is go. Value auxiliary is used to specify text string in section [functions] of hmi_en.txt file: go#auxiliary =Auxiliary functions$Go on next level Because go function just opens new soft key level, it is not necessary to create own section. Soft keys on new level are described in same section [manual]: 70000001=hrel 70000002=zerosettings SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 15

70000008=back Here level 7… means that soft key is located on sublevel of SK7. Of course, next low levels are possible from current soft keys. User can move up on previous level by soft key SK8 (back). Default icons are shown for all above soft keys.

Section [actionbox] of HMI HMI application may include special section [actionbox]. Section specifies CNC modes to be displayed by actionbox applet: 1=hrel 2=m01skip 3=readover 4=testWithout 5=g01test 6=blockstype 7=g92display 8=activest#1$$$active1st 9=activest#2$$$active2st 10=activest#3$$$active3st 11=activest#4$$$active4st 12=activest#5$$$active5st 13=activest#6$$$active6st 14=activest#7$$$active7st 15=activest#8$$$active8st

List of Functions Name

activest

Icon

Description

Shows whether station is active or not. For display purposes only

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Plug-in

hmi

Requires own section and opens new level

Parameters

no

#1…#8 (station number)

Rev. 01

Page 16

amodeauto

Shows/selects sequential NC block processing

hmi

no

no

amodemdi

Shows/selects MDI mode. When MDI mode is active then function opens MDI dialog Shows/selects single NC block processing Opens menu to arrange file list

hmi

no

no

hmi

no

no

explorer

no

no

hmi hmi

yes no

no no

amodesingle arrange automatic axesdisp

basis

no

no

backupcnc

Shows/selects automatic mode Opens dialog to select axes for indication Returns back on previous level of soft keys Opens dialog for backup CNC data

hmi

no

no

backward

Shows/selects backward mode

hmi

no

no

blockstype

Shows/selects indication of NC block on IPO/IPR level Opens dialog to select NC program, then opens new level of soft keys application from command string

hmi

no

no no

bselectsim

Opens dialog to select NC program in simulated channel, then opens new level of soft keys

explorer

changepass

Opens dialog to change password

hmi

Needs [bselect] section in explorer.cfg Needs [bselect] section in explorer.cfg no

copy

Copies file(s) to clipboard

explorer

no

no

ctrlreset

Shows/selects

hmi

no

no

cut

Cuts file(s) to clipboard

explorer

no

no

data delete

Shows/selects data mode Deletes file(s)

hmi explorer

yes no

no no

displaymode

Shows/selects display mode for axes applets.

hmi

needs [displaymode] section in hmi.ini file!

#1…#7 (mode)

back

bselect

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

explorer

Rev. 01

no

no

Page 17

exit

Closes application

basis

no

no

g01test

Shows/selects G01 override mode

hmi

no

no

g92display

Shows/selects G92 display mode

hmi

no

no

gantryinit

Opens dialog for initializing of gantry axes Opens new soft key level. Parameter is used to specify own title and tool tip for function by entry go#. It is possible to use function without parameter. In this case default title is used Opens menu of shortcuts

hmi

no

no

basis

no

#

explorer

no

no

Opens Help application. Identifier of current language, name of main plugin and name of root element are transferred to Help application as parameter Hides any hard key. Function is used to hide setup hard key (#6)

basis

no

no

basis

no

hlpback

Opens previous page in browser

help

no

#1…8 (hard key number) no

hlpbookmarks

Opens bookmark tab in Help

help

no

no

hlpcontents

Opens content tab in Help

help

no

no

hlpfind

Opens find tab in Help

help

no

no

hlpforward

Opens next page in browser

help

no

no

hlphome

Opens home page in browser

help

no

no

hlpindex

Opens index tab in Help

help

no

no

hmisetup

Opens HMI setup dialog

hmi

no

no

hrel

Shows/selects hand release mode

hmi

no

no

info interfcnc

Shows/selects information mode Shows/selects CNC interface display mode for interface applet Shows/selects input display mode for interface applet Selects next station for interface applet

hmi hmi

yes no

no no

hmi

no

no

hmi

no

no

go

goto help

hidehardkey

interfinput interfnextst

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 18

interfoutput

Shows/selects output display mode for interface applet Shows/selects PLC interface display mode for interface applet Selects previous station for interface applet Shows/selects interface display specified by user. When display is active Opens editor to setup IO configuration file Shows/selects continuous jogging mode

hmi

no

no

hmi

no

no

hmi

no

no

hmi

no

#1…

hmi

no

no

hmi

#1…8 (axis number)

jincr

Shows/selects incremental jogging mode. Open step selection dialog when mode is active

hmi

jref

Shows/selects moving to reference point

hmi

jwheel

Shows/selects jogging mode by hand wheel. Open impulse selection dialog when mode is active

hmi

language

Opens language selection dialog

hmi

yes, when function without parameter yes, when function without parameter yes, when function without parameter yes, when function without parameter no

lbfilter

Opens dialog to select log filter

logbook

no

no

lbonline

Selects online mode of Log Book

logbook

no

no

lbopen

Opens dialog to select log file

logbook

no

no

lboptions

logbook

no

no

lbrefresh

Opens dialog to specify log recording options Refreshes log

logbook

no

no

lbsavetext

Opens dialog to save log as text file

logbook

no

no

lbsorting

Opens menu to sort log

logbook

no

no

lbstop

Stops online mode of Log Book

logbook

no

no

lbview

Opens dialog to specify log view

logbook

no

no

logbook

Starts Log Book application

basis

no

no

logicanalyzer

Starts Logic Analyzer

hmi

no

no

m01skip

Shows/selects M01 skip mode

hmi

no

no

manual

Shows/selects manual mode

hmi

yes

no

interfplc interfprevst interfuser

ioconfig jcont

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

#1…8 (axis number) #1…8 (axis number) #1…8 (axis number) no

Page 19

maxsecurity

hmi

no

no

menu

Shows/selects maximal security status of HMI Opens menu

explorer

no

no

minimize

Minimize application

hmi

no

no

mphelp

Opens new soft key level for built-in MP Tool specific Help

mptool

no

mpload

Opens dialog to select file of machine parameters Opens dialog to select file of machine parameters for comparison Opens MP Tool menu

mptool

Opens new soft key level but doesn’t need own section no

mptool

no

no

mptool

no

no

mptool

no

no

mptool

no

no

mptool

no

no

basis

no

no

mploadcmp mpmenu mpnextdiff mpreplace mpsave mptool

Find next difference in machine parameter files Replace parameter Opens dialog to save file of machine parameters Starts Editor of Machine Parameters

no

nctable

Opens Editor of NC table according to parameter

nctable

Opens new soft key level, needs [nctable] section in nctable.cfg

#dcorr #hcorr #offset #param #tool

nctconfig

Opens NC Table Editor setup dialog

nctable

no

no

nctnewhcorr

Creates new length corrector table

nctable

no

no

nctnewdcorr

Creates new path corrector table

nctable

no

no

nctnewoffset

Creates new offset table

nctable

no

no

nctnewparam

Creates new cycle parameter table

nctable

no

no

nctnewtool

Creates new tool table

nctable

no

no

nctopen

Opens NC table file by dialog

nctable

no

no

nctsave

Opens dialog to save NC table

nctable

no

no

nctsaveas

Opens save as dialog for NC table

nctable

no

no

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 20

nctredo

Redo in NC Table Editor

nctable

no

no

nctundo

Undo in NC Table Editor

nctable

no

no

neblockselret

nceditor

no

no

nceditor

no

no

necheckall

Selects NC block for operation and closes application Reads over NC block and closes application Checks syntax of all NC file

nceditor

no

no

necheckline

Checks syntax of selected NC block

nceditor

no

no

nechecksel

Checks syntax of selected NC blocks

nceditor

no

no

neclear

Clears NC Editor included undo buffer

nceditor

no

no

neclearbmk

Removes all bookmarks

nceditor

no

no

necolors

Opens color dialog

nceditor

no

no

necopy

Copies text to clipboard

nceditor

no

no

necut

Cuts text to clipboard

nceditor

no

no

nefind

Opens dialog to find text in NC program Finds next occurrence of text in NC program Opens dialog to modify NC program header Creates new NC program

nceditor

no

no

nceditor

no

no

nceditor

no

no

nceditor

no

no

nceditor

no

no

nceditor

no

no

nceditor

no

no

neblocktoret

nefindnext neheader nenew nenextbmk neopen nepaste

Goes to next bookmark in NC program Opens NC program files by dialog

nceditor

no

no

neredo

Pastes text from clipboard to NC program Goes to previous bookmark in NC program Redo in NC Editor

nceditor

no

no

nerenumber

Opens NC block renumbering dialog

nceditor

no

no

nereplace

Replaces text in NC program

nceditor

no

no

nesave

Opens dialog to save NC program

nceditor

no

no

nesaveas

Opens save as dialog for NC program

nceditor

no

no

neselectall

Selects all text of NC program

nceditor

no

no

neprevbmk

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 21

nesettings

Opens NC Editor setup dialog

nceditor

no

no

neundo

Undo in NC Editor

nceditor

no

no

paste

Pastes file(s) from clipboard

explorer

no

no

pcoord

hmi

no

no

pgclear

Shows/selects program coordinate display mode Clears Path Graphic display

hmi

no

no

pgdown

Moves Path Graphic down

hmi

no

no

pgfitin

Automatic scaling of Path Graphic

hmi

no

no

pgin

Opens new soft key level. Shows whether Path Graphic display mode is active or not

hmi

no

pgleft

Moves Path Graphic left

hmi

Opens new soft key level, but doesn’t need own section no

no

pgonoff

hmi

no

no

hmi

no

no

hmi

no

no

hmi

no

no

hmi

no

no

pgright

Activates/deactivates Path Graphic display mode. Shows whether Path Graphic display mode is active or not Shows/selects Path Graphic 2D plane XY Shows/selects Path Graphic 2D plane XZ Shows/selects Path Graphic 2D plane ZY Shows/selects Path Graphic 3D plane XYZ Moves Path Graphic right

hmi

no

no

pgsettings

Opens Path Graphic setup dialog

hmi

no

no

pgsimdraw

Draws program path

hmi

no

no

pgsimin

hmi

yes

no

hmi

no

no

hmi

no

no

pgup pgzoomin

Activates simulated station for Path Graphic Starts NC program processing in simulated station Stops NC program processing in simulated station Moves Path Graphic up Increases scale in Path Graphic

hmi hmi

no no

no no

pgzoomout

Decreases scale in Path Graphic

hmi

no

no

plcdev

Starts PLC DS

hmi

no

no

pselect

Opens dialog to select NC program

explorer

no

no

pgplanexy pgplanexz pgplanezy pgplanexyz

pgsimstart pgsimstop

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 22

pselectsim

explorer

no

no

readover

Opens dialog to select NC program in simulated channel Shows/selects block delete (/) mode

hmi

no

no

rename

Renames file

explorer

no

no

restorecnc

Opens dialog to restore CNC data

hmi

no

no

retreat

Shows/selects retreat mode

hmi

no

no

run

Runs application by command string

basis

#1…

sercosmonitor

Starts Sercos Monitor

hmi

Need own entry in section [run] of hmiframe.ini no

setup shutdowncnc

Shows/selects setup mode Shuts down CNC and closes application Shuts down OS

hmi basis

yes no

no no

basis

no

no

Opens station selection dialog (if number of station > 2) or toggles between stations Shows/selects system mode Starts NC program processing in test mode Stops NC program processing in test mode

basis

no

no

hmi hmi

yes no

no no

hmi

no

no

testwith

Shows/selects testing with movement

hmi

no

no

testwithout

hmi

no

no

tcp

Shows/selects testing without movement Shows/selects TCP mode

hmi

no

no

version

Opens version display dialog

hmi

no

no

view

explorer

no

no

zerosettings

Toggles between shortcuts and file list view Opens zero setting dialog

hmi

no

no

zoom

Shows/selects zoom mode

hmi

yes

no

shutdownos station

system teststart teststop

no

Application Parameters Application parameters are located in ini files. Files are text files in ASCII format. Empty strings are allowed as well as comments. Comment has ; at the beginning. Empty strings and comments are ignored by HMI applications. Application parameter files are divided by

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 23

section. Each section includes entries. Entry has name or number and value. Entries can’t be located outside named section.

File hmiframe.ini File hmiframe.ini contains following sections:      

[ini] [applications] [localkeys] [shortcuts] [user] [run]

Parameters of [ini] sections:  

animationtick appletdragging



appletfont

       

askimage baseimage cfgimage clockimage cncname createtitlebar displayclock dwelltimetorun

       

errorimage errorimage1 errorimage2 errorimage3 errorimage4 errorimage5 errorimage6 errorleveltotop

 

flyimage font

   

hkimageoff hkimageon hkmargin hkskewhor

Reserved If 0 then user can’t drag Qt applets in viewer, otherwise he can. Default value 0 Font of Qt applets. For example, Arial,9. Default font for Windows “Arial,9”. Default font for Linux “Helvetica,11” Reserved Reserved Reserved Reserved Reserved. Default value “CNC” Reserved Reserved Delay (in ms) to start external application by function run. Default value 2000 (Linux) and 0 (Windows) Reserved. Default value “err” Reserved. Default value “err1prio” Reserved. Default value “err2prio” Reserved. Default value “err3prio” Reserved. Default value “err4prio” Reserved. Default value “err5prio” Reserved. Default value “err6prio” Minimal priority of CNC error which makes application window foreground automatically Reserved Font of application (hard keys, soft keys, message boxes). For example, Arial,9. Default font for Windows “Arial,9”. Default font for Linux “Helvetica,11” Reserved. Default value "hkoff" Reserved. Default value "hkon" Reserved. Default value 5 Reserved. Default value 10

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 24

  

hkskewver hkspacing host

    

imagetype langimage language largeimagesize level0

             

level1 level2 level3 level4 level5 level6 level7 level8 level9 logoimage logoside logovisible noteimage noteleveltotop

  

plcclass plcname port

              

runname simname skimageoff skimageon skmargin sknumber skskewhor skskewver skspacing smallimagesize startimage startuplogo station stoptimage time

Reserved. Default value 2 Reserved. Default value 5 IP address of CNC server for communication. See “CNC Server (TCP)” SD001EN for details. Default value “127.0.0.1” Default file name extension for image file Reserved Default language identifier: en for English Size of large icons (soft keys) Encrypted password of lowest security level. Contact to SW Development Division for details … … … … … … … … Encrypted password of highest security level Reserved Reserved 1 if log is visible in status window, otherwise 0. Default value 1 Reserved. Default value “note” Minimal priority of CNC note which makes application window foreground automatically Reserved. Default value “CoDeSys_Frame” Reserved. Default value “PLC” Main CNC server port. See “CNC Server (TCP)” SD001EN for details. Default value 62937 Reserved. Default value “RUN” Reserved. Default value “SIM” Reserved. Default value "sk%1off" Reserved. Default value "sk%1on" Reserved. Default value 0 Number of soft keys. Default value 8 Reserved. Default value 5 Reserved. Default value 2 Reserved. Default value 0 Size of small icons (hard keys) Reserved Reserved Number of active CNC station. Default value a Reserved Minimal time (in ms) of updating information by CNC server. See “CNC Server (TCP)” SD001EN for details. Default value 50

Parameters of [localkeys] sections: SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 25



hardkey1

                

hardkey2 hardkey3 hardkey4 hardkey5 hardkey6 hardkey7 hardkey15 softkey1 softkey2 softkey3 softkey4 softkey5 softkey6 softkey7 softkey8 speckey9 speckey10

Key code of first hard key (Manual). See Key Code Specification in attachment. Default value alt+m Key code of hard key Automatic. Default value alt+a Key code of hard key Data. Default value alt+d Key code of hard key Information. Default value alt+i Key code of hard key System. Default value alt+s Key code of hard key Setup. Default value alt+t Key code of hard key Zoom. Default value alt+z Key code of hard key Help. Default value F1 Key code of first soft key (SK1). Default value alt+1 Key code of SK2. Default value alt+2 Key code of SK3. Default value alt+3 Key code of SK4. Default value alt+4 Key code of SK5. Default value alt+5 Key code of SK6. Default value alt+6 Key code of SK7. Default value alt+7 Key code of SK8. Default value alt+8 Key code of Control Reset. Default value ctrl+r Key code of Acknowledgement. Code is used to acknowledge CNC/PLC error message in status window. Default value ctrl+x

Parameters of [user] are applied for all HMI applications. They are:  

icon hkdocking

    

hkheight hkleft hktop hkwidth skdocking

     

skheight skleft sktop skwidth statusheight systemmenu



viewheight

Base icon name for all applications Location of hard key bar. 0 – free location, 1 – on the left side, 2 – on the right side, 3 – on the top, 4 – on the bottom. Deafult value 3 Height of hard key bar when hkdocking = 0 Left side position of hard key bar when hkdocking = 0 Top position of hard key bar when hkdocking = 0 Width of hard key bar when hkdocking = 0 Location of soft key bar. 0 – free location, 1 – on the left side, 2 – on the right side, 3 – on the top, 4 – on the bottom. Default value 2 Height of hard key bar when skdocking = 0 Left side position of hard key bar when skdocking = 0 Top position of hard key bar when skdocking = 0 Width of hard key bar when skdocking = 0 Reserved 0 - no title bar and system menu, 1 - only title bar, but no system menu (there is no possible to resize application farme), 2 - frame has title bar, system menu, min/max buttons, -1 default properties of top level window. Default value –1 Reserved

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 26

Section [run] includes enumerated entries (1…N) if run#N functions are used in configuration files. Entry has general format =$$ For example, entry 1=C:\Program_Files\Microsoft_Office\Office\winword.exe$file://doc/Operatingmanual .doc will correspond to function run#1. Here C:\Program_Files\Microsoft_Office\Office\winword.exe is external application to start, file://doc/Operatingmanual.doc is document to open in MS Word. Parameters of [applications] section specifies command string to open various CNC data by HMI application. Name of parameter is app concatenated with data type number:        

app1 app2 app3 app4 app5 app17 app20 app22

Specifies application to open NC Part Program file Specifies application to open Path Corrector file Specifies application to open Zero Offset file Specifies application to open Length Corrector file Specifies application to open Cycle Parameter file Specifies application to open Tool Table file Specifies application to open Machine Parameter file Specifies application to open Log Book

Value is command string. For example, entry appl1 =hmiframe -p:nceditor %1 means that NC Part Program file has to be opened by NC editor (hmiframe -p:nceditor). Name of file is transferred to NC editor via command line parameter (%1). The same command string can be used to for registration of corresponding data type (see Windows Explerer->Tools->Folder Options->File Types). So Windows will invoke NC Editor for NC Part Programs on disk as well as NC Explorer does. Section [shortcuts] describes predefined shortcuts. Each shortcut is specified by own entry. For example, CNC=/3/nc1 Here CNC is name of shortcut, /3/nc1 is path (NC memory of first station). Other CNC stations are acceptable: nc2, nc3, nc4, nc5, nc5, nc6, nc7, nc8. User can define more then one shortcut. Path to OS file system is possible too:

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 27

NCProg=/1/C:/PAData/NCProg /3/ means CNC memory, /1/ means OS file system. Note. Don’t use back slash (\) in path even for Windows. Only slash (/) is valid.

File hmi.ini Parameters of [ini] sections:            

height hkvisible left nextinstance

Height of application frame 1 when hard key bar is visible, 0 when invisible. Default value 0 Position of the left side of application frame 1 when it is possible to run second copy of application, otherwise 0 sendstatus If 1 then application sends current level and last pressed key to PLC. Default value 0. Normally only HMI has this parameter in 1 sbvisible Reserved. Default value 0 shutdownonclose If 1 then CNC is terminated when user closes application Default value 0. Normally only HMI has this parameter in 1 skvisible 1 when soft key bar is visible, 0 when invisible. Default value 1 swvisible 1 when status window is visible, 0 when invisible title Application title. Text is shown in title bar of frame top Position of the top of application frame width Width of application frame

File may include [user] section with same entries as hmiframe.ini has. Current values of parameters overwrite corresponding default values from hmiframe.ini. File may include other specific sections. Contact to SW Development Division for details.

File nceditor.ini Parameters of [ini] sections are same as in hmi.ini. File may include [user] section with same entries as hmiframe.ini has. Current values of parameters overwrite corresponding default values from hmiframe.ini. File may include other specific sections. Contact to SW Development Division for details.

File logbook.ini Parameters of [ini] sections are same as in hmi.ini. File may include [user] section with same entries as hmiframe.ini has. Current values of parameters overwrite corresponding default values from hmiframe.ini. File may include other specific sections. Contact to SW Development Division for details.

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 28

File nctable.ini Parameters of [ini] sections are same as in hmi.ini. File may include [user] section with same entries as hmiframe.ini has. Current values of parameters overwrite corresponding default values from hmiframe.ini. File may include other specific sections. Contact to SW Development Division for details.

File mptool.ini Parameters of [ini] sections are same as in hmi.ini. File may include [user] section with same entries as hmiframe.ini has. Current values of parameters overwrite corresponding default values from hmiframe.ini. File may include other specific sections. Contact to SW Development Division for details.

File help.ini Parameters of [ini] sections are same as in hmi.ini. File may include [user] section with same entries as hmiframe.ini has. Current values of parameters overwrite corresponding default values from hmiframe.ini. File may include other specific sections. Contact to SW Development Division for details.

Text Files Text file as well as other configuration files consists of sections, entries and comments. Text file may include blank strings. All lines in any place of text file beginning by ; are comments.

File hmiframe_xx.txt Includes general text resources for all applications. There are specific sections for hmiframe_xx.txt: [formats] 0=dd/MM/yyyy 1=hh:mm This section specifies format of date and time, because formats depend on localization. String 0 corresponds to date format, string 0 specifies time format. Possible codes are acceptable (see table below). Expression d dd

Output the day as number without a leading zero (1-31) the day as number with a leading zero (01-31)

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 29

ddd the abbreviated localized day name (e.g. 'Mon'..'Sun'). dddd the long localized day name (e.g. 'Monday'..'Sunday'). M the month as number without a leading zero (1-12) MM the month as number with a leading zero (01-12) MMM the abbreviated localized month name (e.g. 'Jan'..'Dec') MMMM the long localized month name (e.g. 'January'..'December') yy the year as two digit number (00-99) yyyy the year as four digit number (1752-8000) h the hour without a leading zero (0..23 or 1..12 if AM/PM display) hh the hour with a leading zero (00..23 or 01..12 if AM/PM display) m the minute without a leading zero (0..59) mm the minute with a leading zero (00..59) s the second without a leading zero (0..59) ss the second with a leading zero (00..59) z the milliseconds without leading zeroes (0..999) zzz the milliseconds with leading zeroes (000..999) AP use AM/PM display. AP will be replaced by either "AM" or "PM". ap use am/pm display. ap will be replaced by either "am" or "pm". All other input characters will be ignored. Next specific section is [language] 0=English 1=409 Here 0 specifies name of language to display in language selection dialog. String 1 is used as language identifier (for compatibility with old MMI). Please, contact to PA service for identifier for your language. All other sections are subject of translation. hmiframe_xx.txt file as well as other files contains section [functions]. Section includes descriptions of functions. For example, backward

=Backward$Run program backward

Here backward is name of function (same name is used in configuration file). First half of value string (before $) is title of function, second half of value string (after $) is tool tip. Normally functions are used for soft key and hard key assignments. Function title is shown on SK or HK button Tool tip is shown when mouse stays over button on >1 second. When tool tip is omitted, then tool tip is same as title. Notes:  Text may include \n. It means that string is divided on two lines. It is used in message boxes.

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 30



Text may include &. For example 7=&No. Button title will be displayed as No and accelerator Alt+N (for dialog) or N (for message box) will be created. It means that user can select No by “N” key. It is recommended to use only accelerators which are available on PA operator panel on upper level.

File errors_xx.txt This file has three sections: • [CNC] Contains NC error texts. Left side of each entry is error number. It corresponds to original number of NC error. Texts are same as 11001-12695 from mmixxxx.txt. Following transformation is applied: HMI_NUMBER = (MMI_NUMBER - 10999) / 2. New HMI error texts use %1, %2, … instead of _ in old MMI error texts to mark places for variables • [PLC] Contains PLC error texts (system and user). Left side of each entry is error number. It corresponds to original number of PLC error. Texts are same as 14001-14025 from mmixxxx.txt. Following transformation is applied: HMI_NUMBER = (MMI_NUMBER - 13999) / 2. New HMI error texts use %1, %2, … instead of _ in old MMI error texts to mark places for variables. It is allowed to use free numbers of PLC error entry in this section for user specific messages • [RUN] Contains hardware initializing errors. Left side of each entry is error number. It corresponds to original number of hardware error. Texts are same as 00001-00191 from runcontrolxxxx.txt. New HMI error texts use %1, %2, … instead of %s in old MMI error texts to mark places for variables

File plcerrors_xx.txt File has only PLC section. User can specify own PLC error messages in this file.

File ccerrors_xx.txt File has only CNC section. User can specify own error messages for Compile Cycles in this file.

File hmi_xx.txt and Others Like hmiframe_xx.txt files contain section [functions], where export functions of corresponding plug-in are named.

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 31

Additionally files may include other specific section with text resources. Usually there are section [texts] and/or separate sections for text resources of applets (e.g. [actionbox]) and dialogs (e.g. [setupdlg]). Contact to SW Development Division for details. Section [applets] reserved.

XML Files Structure of xml files depends on viewer which is used to indication. Only xml files for plain viewer are described below. Generally file must correspond to XML standard. Viewer plain allows following tags:    

PLUGIN BODY APPLET (inside BODY only) PARAM (inside APPLET only)

Comments are acceptable too. For example, Other tags are ignored.

Tag PLUGIN Tag is used to specify name of plug-in for all applets in file. For example, hmi specifies that all applets in file are imported from hmi plug-in.

Tag BODY Tag specifies general parameters of page. Software recognizes following attributes:     

horMargin verMargin spacing bgcolor background

horizontal margins of page (in pixels) vertical margins of page (in pixels) spacing between applets (in pixels) background color background picture (from hmi/images as default)

For example, system.htm has

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 32

User can change it on to display white background instead of multiply image.

Tag APPLET Tag describes Qt applet. Attributes are following:  

code plugin

    

top left width height taborder

name of Qt applet name of plug-in where is applet from (default plug-in name may be specified in PLUGIN tag. See above) top position of applet (0 as default) in logical units left position of applet (0 as default) in logical units with of applet (1 as default) in logical units height of applet (1 as default) in logical units reserved (0 as default)

Software calculates size of logical unit automatically. All Qt applets support following common attributes transferred by tag PARAM:  

background foreground

background color (as default ‘FFFFFF’ - white) text color (as default ‘000000’ - black)

Default

 

t-background t-foreground



background color of title (as default ‘00697E’) text color of title (as default ‘FFFFFF’ - white)

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 33

Default



title



whether title is visible or not (as default ‘1’)

Default



margin

Default



border-width



vertical margins in pixels (as default ‘5’)



width of border (as default ‘1’)

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 34

Default



roundness

Default



lines



roundness (as default ‘0’)

stretchable



number of lines for alignment (as default ‘0’)

Default







automatic vertical alignment (as default ‘1’)

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 35

Default

 

host port

 

time station



id



CNC server IP address (assigned by application as default) main communication port of CNC server (assigned by application as default) updating interval in ms (assigned by application as default) station number for communication (assigned by application as default) applet identifier

List of Qt Applets Name

Plug-in

Description

actionbox applparameters axes bcd compensations feed

hmi mptool hmi hmi hmi hmi

Shows action box Shows list of machine parameters Shows axis information Shows active BCD-codes Shows active compensations Shows feed

fileview gcodes helpapplet info interface laser ncstate ncblocks nctable neapplet

explorer hmi help hmi hmi hmi hmi hmi nctable nceditor

Shows file list including NC memory Shows active G-codes Shows help Shows full CNC status Shows CNC and PLC interface Shows laser information Shows CNC status Shows active NC blocks on IPO/IPR level Shows NC table editor Shows NC editor

pathgraphic procstate program qlbapplet

hmi hmi hmi logbook

Shows path graphic Shows state of NC program processing Shows program information Shows log

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Specific Parameters

type

preset actual limit override bar showsetupdata theme

readonly bselect simulation

Rev. 01

Page 36

spindle spindleandlaser

hmi hmi

Shows spindle information Shows spindle or laser information

status

status

Shows CNC/PLC messages and current date and time

mode spindlemode lasermode

Contact to SW Development Division for details of Qt applets and their specific parameters.

Attachments Specification of Built-in Qt Text Brwoser The structuring tags are • • • •

• • • • • • • • • •

… … … .... It understands the following attributes:  bgcolor - The background color, for example bgcolor="yellow" or bgcolor="#0000FF".  background - The background pixmap, for example background="granit.xpm".  text - The default text color, for example text="red".  link - The link color, for example link="green". ... - A top-level heading. ... - A sublevel heading. ... - A sub-sublevel heading. ... - A left-aligned paragraph. Adjust the alignment with the align attribute. Possible values are left, right and center. ... - A centered paragraph. ... - An indented paragraph that is useful for quotes. ... - An unordered list. You can also pass a type argument to define the bullet style. The default is type=disc; other types are circle and square. ... - An ordered list. You can also pass a type argument to define the enumeration label style. The default is type="1"; other types are "a" and "A". ... - A list item. This tag can be used only within the context of ol or ul. ... - For larger chunks of code. White spaces in the contents are preserved. For small bits of code use the inline-style code.

Anchors and links are done with a single tag: •

... - An anchor or link. The reference target is defined in the href attribute of the tag as in .... You can also specify an additional anchor within the specified target document, for example .... If a is meant to be an anchor, the reference source is given in the name attribute.

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 37

The default character style bindings are • • • • • • • • • •

... - Emphasized. By default this is the same as ... (italic). ... - Strong. By default this is the same as ... (bold). ... - Italic font style. ... - Bold font style. ... - Underlined font style. ... - A larger font size. ... - A smaller font size. ... - Indicates code. By default this is the same as ... (typewriter). For larger junks of code use the block-tag pre. ... - Typewriter font style. ... - Customizes the font size, family and text color. The tag understands the following attributes:  color - The text color, for example color="red" or color="#FF0000".  size - The logical size of the font. Logical sizes 1 to 7 are supported. The value may either be absolute (for example, size=3) or relative (size=-2). In the latter case the sizes are simply added.  face - The family of the font, for example face=times.

Special elements are: •

• •

- An image. The image name for the mime source factory is given in the source attribute, for example The image tag also understands the attributes width and height that determine the size of the image. If the pixmap does not fit the specified size it will be scaled automatically. The align attribute determines where the image is placed. By default, an image is placed inline just like a normal character. Specify left or right to place the image at the respective side. - A horizonal line.
- A line break.

Another tag not in any of the above cathegories is •

... - No break. Prevents word wrap.

In addition, rich text supports simple HTML tables. A table consists of one or more rows each of which contains one or more cells. Cells are either data cells or header cells, depending on their content. Cells which span rows and columns are supported. •

... - A table. Tables support the following attributes:  bgcolor - The background color.  width - The table width. This is either an absolute pixel width or a relative percentage of the table's width, for example width=80%.  border - The width of the table border. The default is 0 (= no border).  cellspacing - Additional space around the table cells. The default is 2.

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 38



• • •

cellpadding - Additional space around the contents of table cells. The default is 1. ... - A table row. This is only valid within a table. Rows support the following attribute:  bgcolor - The background color. ... - A table header cell. Similar to td, but defaults to center alignment and a bold font. ... - A table data cell. This is only valid within a tr. Cells support the following attributes:  bgcolor - The background color.  width - The cell width. This is either an absolute pixel width or a relative percentage of table's width, for example width=50%.  colspan - Specifies how many columns this cell spans. The default is 1.  rowspan - Specifies how many rows this cell spans. The default is 1.  align - Alignment; possible values are left, right, and center. The default is left.

Windows Registry Windows version of HMI needs following entries in system Registry HKEY_LOCAL_MACHINE\SOFTWARE\PowerAutomation\System:  Editor Text editor path to be used for IO and Drive configuration, e.g. notepad.exe  LogicAnalyzer LA command string, e.g. C:\Program_Files\Power_Automation\Mmi\La.exe_NOCOPY  SercosMonitor Sercos Monitor command string, e.g. C:\Program_Files\Power_Automation\Mmi\SMonitor.exe_N OCOPY  PLC PLC DS command string, e.g. C:\Program_Files\Power_Automation\IEC1131\IEC1131_En gl\Plc1131-3.exe  MachineParameter MpTool command string, e.g. hmiframe.exe -p:mptool

Windows System Environment It is necessary to setup some system environment variables to provide correct execution of HMI applications: HMIDIR=C:\Program_Files\Power_Automation\Hmi Path=…;\C:\Program_Files\Power_Automation\Hmi\bin

Key Code Specification Key sequence is human readable translatable string. It consists of key, each optionally combined with modifiers, e.g. shift, ctrl; or alt. Following keys are allowed: 

F1…F12

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 39

  

0…9 A…Z a…z

Examples:  

F1 alt+m

FAQ How to change date and time format? Date and time format is specified in section [formats] of file hmiframe_xx.txt. See description of Text Files for details. Each user language (xx is identifier of language) is provided by own hmiframe_xx.txt file. The same date and time format is used in NC Explorer, Status Window, Log Book.

Is it possible to configure stand alone Path Graphic application? Yes. Example of configuration files shown in paragraph General Structure of HMI Application.

SD002EN HMI Setup and Configuration Guide *Subject for technical modifications and errors

Rev. 01

Page 40