background image

Copyright © 2017. All rights reserved. Specifications are subject to change without notice. Printed in Europe. 

ACGM0195V2EN     07/2017

Panasonic Electric Works

Please contact our Global Sales Companies in:

Europe

Headquarters

Panasonic Electric Works Europe AG

Robert-Koch-Straße 100, 85521 Ottobrunn, Tel. +49 89 45354-1000, Fax +49 89 45354-2111, www.panasonic-electric-works.com

Austria

Panasonic Electric Works Austria GmbH

Josef Madersperger Str. 2, 2362 Biedermannsdorf, Tel. +43 (0) 2236-26846, Fax +43 (0) 2236-46133
www.panasonic-electric-works.at

Panasonic Industrial Devices Materials 
Europe GmbH

Ennshafenstraße 30, 4470 Enns, Tel. +43 (0) 7223 883, Fax +43 (0) 7223 88333, www.panasonic-electronic-materials.com

Benelux

Panasonic Electric Works
  Sales Western Europe B.V.

De Rijn 4, (Postbus 211), 5684 PJ Best, (5680 AE Best), Netherlands, Tel. +31 (0) 499 372727, Fax +31 (0) 499 372185, 
www.panasonic-electric-works.nl

Czech Republic

Panasonic Electric Works Europe AG,

  organiza

č

ní složka

Administrative centre PLATINIUM,

 Veve

ř

í

 3163/111, 616 00 Brno, Tel. +420 541 217 001, Fax +420 541 217 101, 

www.panasonic-electric-works.cz

France

Panasonic Electric Works
  Sales Western Europe B.V.

Succursale française, 10, rue des petits ruisseaux, 91370 Verrières Le Buisson, Tél. +33 (0) 1 6013 5757, Fax +33 (0) 1 6013 5758, 
www.panasonic-electric-works.fr

Germany

Panasonic Electric Works Europe AG

Robert-Koch-Straße 100, 85521 Ottobrunn, Tel. +49 89 45354-1000, Fax +49 89 45354-2111, www.panasonic-electric-works.de

Hungary

Panasonic Electric Works Europe AG

Magyarországi Közvetlen Kereskedelmi Képviselet, 1117 Budapest, Neumann János u. 1., Tel. +43 2236 26846-25, 
Mobile: +36 20 264 9896, Fax +43 2236 46133, www.panasonic-electric-works.hu

Ireland

Panasonic Electric Works UK Ltd.

Irish Branch Offi ce, Dublin, Tel. +353 (0) 14600969, Fax +353 (0) 14601131, www.panasonic-electric-works.co.uk

Italy

Panasonic Electric Works Italia srl

Via del Commercio 3-5 (Z.I. Ferlina), 37012 Bussolengo (VR), Tel. +39 0456752711, Fax +39 0456700444, 
www.panasonic-electric-works.it

Nordic Countries Panasonic Electric Works Europe AG

Panasonic Eco Solutions Nordic AB

Filial Nordic, Knarrarnäsgatan 15, 164 40 Kista, Sweden, Tel. +46 859476680, Fax +46 859476690, www.panasonic-electric-works.se
Jungmansgatan 12, 21119 Malmö, Tel. +46 40 697 7000, Fax +46 40 697 7099, www.panasonic-fi re-security.com

Poland

Panasonic Electric Works Polska sp. z o.o

ul. Wołoska 9A, 02-583 Warszawa, Tel. +48 22 338-11-33, Fax +48 22 338-12-00, www.panasonic-electric-works.pl

Spain

Panasonic Electric Works España S.A.

Barajas Park, San Severo 20, 28042 Madrid, Tel. +34 913293875, Fax +34 913292976, www.panasonic-electric-works.es

Switzerland

Panasonic Electric Works Schweiz AG

Grundstrasse 8, 6343 Rotkreuz, Tel. +41 (0) 41 7997050, Fax +41 (0) 41 7997055, www.panasonic-electric-works.ch

United Kingdom Panasonic Electric Works UK Ltd.

Sunrise Parkway, Linford Wood, Milton Keynes, MK14 6 LF, Tel. +44 (0) 1908 231555, Fax +44 (0) 1908 231599, 
www.panasonic-electric-works.co.uk

North & South America

USA

Panasonic Industrial Devices Sales Company 
of America

Two Riverfront Plaza, 7th Floor, Newark, NJ 07102-5490, Tel. 1-8003-442-112, www.pewa.panasonic.com

Asia Pacifi c / China / Japan

China

Panasonic Electric Works Sales (China) Co. Ltd.

Tower C 3rd Floor, Offi ce Park, NO.5 Jinghua South Street, Chaoyang District, Beijing 100020, Tel. +86-10-5925-5988, 
Fax +86-10-5925-5980

Hong Kong

Panasonic Industrial Devices Sales (HK) Co., 
Ltd. 

Suite 301, 3/F, Chinachem Golden Plaza, 77 Mody Road, TST East, Kowloon, Hong Kong, Tel. +852-2529-3956, Fax +852-2528-6991 

Japan

Panasonic Corporation

1006, Oaza Kadoma, Kadoma-shi, Osaka 571-8501, Japan, Tel. +81-6-6908-1121, www.panasonic.net

Singapore

Panasonic Industrial Devices 
Automation Controls Sales Asia Pacifi c

No.3 Bedok South Road, Singapore 469269, Tel. +65-6299-9181, Fax +65-6390-3953

Global Network

Asia Pacific

China

Japan

North America

Europe  

Global Network

TOUCH TERMINALS

HMWIN

User Manual

Summary of Contents for HMWIN

Page 1: ...Panasonic Electric Works Italia srl Via del Commercio 3 5 Z I Ferlina 37012 Bussolengo VR Tel 39 0456752711 Fax 39 0456700444 www panasonic electric works it Nordic Countries Panasonic Electric Works Europe AG Panasonic Eco Solutions Nordic AB Filial Nordic Knarrarnäsgatan 15 164 40 Kista Sweden Tel 46 859476680 Fax 46 859476690 www panasonic electric works se Jungmansgatan 12 21119 Malmö Tel 46 4...

Page 2: ...ers Microsoft Win32 Windows Windows XP Windows Vista Windows 7 Windows 8 Visual Studio are either registered trademarks or trademarks of the Microsoft Corporation in the United States and other countries Other products and company names mentioned herein may be the trademarks of their respective owners The example companies organizations products domain names e mail addresses logo people places and...

Page 3: ...ows applications are also available in HMWIN Studio This document is divided into chapters that describe the key functions of HMWIN Studio and explain how to use them Each chapter is presented in a standalone manner allowing you to jump from chapter to chapter depending on the task at hand Assumptions 2 Installing the application 2 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic El...

Page 4: ...otely view and manage a project running on an HMI device l HMI Runtime a standalone application that runs on the HMI devices The HMI Runtime is installed via HMWIN Studio HMWIN Studio system requirements HMWIN Studio has the following system requirements Operating System Windows XP SP2 or SP3 Windows Vista Business Ultimate Windows 7 Windows 8 Windows 10 Storage 500 MB Minimum RAM 512 MB Other One...

Page 5: ... not supported on virtual machines only valid licenses can be used Licensing To register the software before the trial period expires go to Help Register Note The registration process requires an Internet connection Ports TCP 80 and 443 are used for activation During registration a license file is downloaded from the licensing server to the computer License files are saved in following folders dep...

Page 6: ...rio Results First installation of HMWIN Studio in the system Software is installed in the specified destination folder System with only one instance of HMWIN Studio already installed Current version can be replaced or maintained System with multiple instances of HMWIN Studio already installed Last version installed can be replaced or maintained If you try to install a second instance of an already...

Page 7: ...WIN Studio older than the version used to create them This will damage the project and may cause runtime instability Multilanguage for HMWIN Studio HMWIN Studio is available in multiple languages All languages are installed by default as part of HMWIN Studio The default language is English To change it go to Help Change Language Crash reports A crash report dialog appears whenever HMWIN Studio fre...

Page 8: ...6 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Installing the application ...

Page 9: ...ed to support different platforms and different operating systems HMI device basic settings 8 Context menu options 8 Built in SNTP service 11 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 7 ...

Page 10: ...ualization process use the data collected by the server to render it on the display as graphical information The server unit works in two operating modes l Configuration mode server is idle for example when no project is loaded on the device or some system files are missing l Operation mode server is operating according to the settings defined by the system files and by the loaded application proj...

Page 11: ...B keyboard is connected to the device Keep retentive data on project download Preserve the content of the retentive data at project download or update Password Define password protected operations amongst the following l Download Project Runtime l Upload project l Board management BSP Update See Protecting access to HMI devices on page 421 for details Project Manager HMWIN Studio User Manual v206 ...

Page 12: ...ve data a logger txt file is saved to the var log folder This file can be retrieved using an FTP Client and forwarded to technical support Note Once enabled logging is maintained after power cycles and must be manually disabled Show log at boot This function enables the logger at start up If the Log to file option has been enabled log files are saved from startup Logout Logs off the current user S...

Page 13: ...log page Built in SNTP service The HMI device features an integrated SNTP that synchronizes the internal real time clock panel whenever the predefined server is available The system searches the SNTP server when turned on or once a week if the HMI device is not turned off Use HMI device System Settings on page 379to configure the service Availability BSP v1 76 ARM 2 79 MIPS or higher HMWIN Studio ...

Page 14: ...12 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Built in SNTP service ...

Page 15: ... workspace 14 Creating a project 14 Communication protocols 16 Designing a page 18 The Widget Gallery 19 Adding tags 21 Exporting tags 23 Importing tags 23 Attaching widget to tags 26 Dialog pages 28 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 13 ...

Page 16: ...rties Properties of selected object Widget Gallery Library of graphic objects and symbols Tag cross reference List of locations where a given tag is referenced Note The workspace layout can be changed at any time changes are saved and maintained through working sessions Resetting the workspace layout To restore the default layout use the File Reset and Restart function Creating a project Path File...

Page 17: ...yer JavaScript Alert and Print function Dialog pages Title of dialog pages Scheduler Dialogs for data entry Macro ShowMessage LunchApplication LunchBrowser External applications VNC HMI devices based on Linux platform can be rotated from the BSP see Displays tab from the System Settings on page 379 Linux Devices on page 387page without these limitations Changing the device model Once you have deve...

Page 18: ...ivers are configured in the Protocol Editor You can add up to the maximum number of protocols as specified in Table of functions and limits Variable and System Variables are not counted as protocols Note you can run different Ethernet protocols over the same physical Ethernet port but you cannot run different serial protocols using the same serial port Some serial protocols support access to multi...

Page 19: ...umn Protocol parameters Click Show Advanced Properties icon to see all parameters Parameter Description Dictionaries Tags imported for the protocol See Importing tags on page 23 for details Enable Offline AlgorithmOffline Retry Timeout See Automatic offline node detection on page 209 for details HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 17 3 My first ...

Page 20: ...ior l importing only the pages and the widgets in this case all actions and data link have to be defined l importing pages with references to actions and data links used tags must be present in the project for these elements to work properly Note Page import can only be performed between projects made using the same software version Save the older project as the newer version then try again 1 Righ...

Page 21: ...uild an application are available in the Widget Gallery The gallery is divided into several categories each containing a collection of widgets Adding a widget to a page 1 Select the widget from the Widget Gallery 2 Drag and drop it on the page Changing the appearance of a widget All widgets have properties Properties pane that can be changed Some widgets are presented in various styles You can cli...

Page 22: ...posed of many sub widgets For example a button is a complex widget composed by a button widget and a label The structure of widgets can be seen in the ObjectView when the widget is selected You can select a sub widget such as the label in a button from the ObjectView and modify it without ungrouping the whole widget 20 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works ...

Page 23: ...roject by attaching them to widgets properties See Attach to parameters on page 30 for details Tag editor Path ProjectView Tags Adding a tag 1 Click and enter the required data 2 Select the Address from the communication protocol address dialog new tags are named Tag1 Tag2 3 Click on the tag name to rename it Tag properties See specific protocol documentation for details HMWIN Studio User Manual v...

Page 24: ...from the tag editor tollbar Property Description PLC Tag Name Original PLC tag name used to match tags used by HMI application Tag Name and tags exported from PLC R W only in advanced view to allow for adjustments in case tag import errors Rate ms Tag refresh time Default 500ms WARNING Tags refresh rate is the maximum refresh rate Actual refresh rate depends on communication type serial fieldbus E...

Page 25: ...tocol for the tags you want to export 2 Click the Export Tags button all the tags configurations for the selected protocols are exported into an xml file You can edit the resulting xml file using third part tools for example Microsoft Excel and then re import the modified file see Importing tags below for details Importing tags Introduction Some protocols allow you to import tags stored in a comma...

Page 26: ...Dictionaries A dictionary is a list of tags imported in the Tag Editor for a specific protocol Depending on the protocol type tags are shown in linear view or in hierarchical view Linear view Hierarchical view Importing tags To import tags from an external file 24 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Importing tags ...

Page 27: ... All elements of the structure are imported into separate tags Note When the project is configured to use a protocol network you must also select the protocol node where tags are to be imported You can import the same tags on multiple protocols When the tags file contains the node information you can choose to use the information to filter the tags and import only those matching with the selected ...

Page 28: ...ble to bind the gauge Value property to a probe temperature tag or the Display property to a recipe data Data sources Elements to which an object property can be attached Data source Description Tag Tag defined in the Tag Editor Alias Indexed tag address System Predefined system tags see System Variables Attach To on page 75 Widget Connect to a widget property for example value of a slider widget ...

Page 29: ...is supported 4 Click OK to confirm The icons adjacent to the tag name highlight when a definition does not match the tag definition in the dictionary or when missing If the Show all tags is selected all the dictionary tags are shown also if not imported within the application A double click will import the tags from the dictionary See Attach to parameters on page 30 for details Communication Error...

Page 30: ...on modal dialogs while a dialog is shown on top of it Title Bar true dialog title displayed false no dialog title displayed Title Name Dialog title Only if Title Bar true Runtime Position Dialog fixed position false Dialog will be placed centered on the screen true Dialog will be placed with upper left corner at position X and Y Maximum number of dialogs Maximum number of open dialogs is defined i...

Page 31: ...types 30 Attach to parameters 30 Events 35 Widgets positioning 38 Managing overlapping widgets 39 Grouping widgets 40 Changing multiple widgets properties 46 Changing fill color property according to tag values 47 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 29 ...

Page 32: ...t type 1 17e 38 3 40e38 int Signed 32 bit data 2 1e9 2 1e9 short Signed 16 bits data 32768 32767 string Characters coded according to selected format time Time data unsignedByte Unsigned 8 bit data 0 255 unsignedInt Unsigned 32 bit data 0 4 2e9 unsignedShort Unsigned 16 bit data 0 65535 uint64 Unsigned 64 bit data 0 264 1 Attach to parameters Object properties In HMWIN Studio the properties of an ...

Page 33: ...ple Read Only The Array Index field appears when the selected tag is an array to identify the element of the array to use The indirect index mode through an additional tag is supported 4 Click OK to confirm The icons adjacent to the tag name highlight when a definition does not match the tag definition in the dictionary or when missing If the Show all tags is selected all the dictionary tags are s...

Page 34: ... on page 183 Advanced search Various syntax options can be applied to search box Main options Function Wildcards Search using simple wildcards matching Character matches any single character Character matches zero or more of any characters sets of characters can be represented in square brackets Regular Expression Describes character pattern See http www regular expressions info Filtering tags Cho...

Page 35: ...ting tag value Scaling tab converts the tag value In By Range section set the input and output range the system will automatically calculate the scaling factors Extract tag bit byte based on index Allows extracting a single bit or byte content from a word depending on the specified bit or byte number HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 33 4 Prog...

Page 36: ...ined color combination is saved automatically and can be retrieved from the color toolbar Note that the mapping tag value to color will return a string data type e g FF0000 Datalink Serialization Instead of use the above Attach to dialog box datalinks can be entered or modified manually Click a button in the Properties pane and enter the text that describe the datalink 34 HMWIN Studio User Manual ...

Page 37: ... associated to l buttons touch click press release l external input devices like keyboards and mouse click press hold release wheel l data changes OnDataUpdate l switch of pages OnActivate OnDeactivate l alarms l scheduler You can attach one or more actions to an event so that they will be executed whenever the event occurs This example shows a JavaScript action activated by pressing a button HMWI...

Page 38: ...for a certain time set as Hold Time in the widget properties Actions programmed for this event will be executed only after the hold time has expired The default Hold Time is configured in Project properties but can be redefined for each button key See Project properties on page 49 36 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Events ...

Page 39: ... redefined for each button or key OnWheel Triggers the event when a wheel for example a USB mouse wheel value changes A wheel usually is used to increase decrease values in a text box or attached to a tag OnActivate Triggers the event when a page is loaded The event starts before widgets in the page are initialized HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Euro...

Page 40: ...ect To display the grid on the View menu click Show Grid Snap to Grid Path View Snap to Grid When you move or re size an object its top left corner will align with the nearest intersection of lines in the grid even if the grid is not visible Setting grid properties Path View Properties Parameter Description Spacing X Space in pixel between two lines dots on the X axis Spacing Y Space in pixel betw...

Page 41: ...identifies dynamic objects Important Correct ordering of widgets is essential for run time performance since overlapping dynamic widgets can invalidate static optimization and reduce performance of HMI applications Hiding showing widget on z order To hide widgets above a selected widget l On the toolbar click and select a widget all widgets above this one are hidden To hide widgets below a selecte...

Page 42: ...uped widgets You can define how object reacts when re sized Use the Scaling property in General section l Scale object and text are not re sized proportionally l Stretch object and text are re sized proportionally Grid Layout Group The grid layout add the possibility to configure the spatial relationships among the widgets of the group To create a grid layout 40 HMWIN Studio User Manual v206 2017 ...

Page 43: ...The selected widgets will be aligned and collected inside a group with the grid layout property enabled There are several elements associated with the grid layout that can be configured l Grid properties l Rows Columns Properties l Cells Properties HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 41 4 Programming concepts ...

Page 44: ...e behavior of the grid when it is too small to contain all rows and columns l Hidden Rows and columns that do not fit into the grid are not displayed l Visible The grid can not be made smaller than the minimum size required to contain all defined rows and columns l Scroll When the grid is too small to hold all the defined rows and columns the scroll bars can be used to shift the content of the gri...

Page 45: ...d Collapse all left right and top botton margin using the parameters of the stroke with greater width External margin width External margin color External margin parameters To merge or split rows or columns double click over the grid to enter in edit mode and move the cursor over the ribbons l Double click the black triangle to merge the two adjacent rows or columns 1 l Double click on ribbon to s...

Page 46: ...ax width that widget can assume when the cell is stretched Stretch Defines the relationship between the widths of the columns that will be maintained if the grid is stretched Top margin Distance of the widget from the border of the cell 44 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Grouping widgets ...

Page 47: ...for row 1 and so on Color format could be rrggbb or rrggbbaa where aa is the alpha value which defines the opacity of the color Selection parameters The selection parameters is available only when the grid is used inside a Table Widget see Table widget on page 307 for details Parameter Description Forground color Background color Stroke color Colors that the row assume when it is selected The list...

Page 48: ...th Max height Overwrite global grid parameters Left margin Right margin Top margin Bottom margin Overwrite global grid parameters Additional pixels that are added to the total margin Preserve aspect ratio Preserve aspect ration of the widget Aspect ratio Available only when Preserve aspect ratio is true Changing multiple widgets properties You can set the properties of more widgets of the same typ...

Page 49: ...l Connecting the Color property to a String type tag Changing color property using ColorPalette 1 Create the tag internal or PLC that you want to refer to for color management The tag can be of any data type On the basis of the value of this tag the color will change 2 Attach this tag to the Fill Color property of an object for example a button 3 In the same dialog select the ColorPalette tab and ...

Page 50: ... these formats l XXYYZZ Where XX YY and ZZ are the RGB components of the needed color expressed in Hexadecimal format range 00 FF l rgb XXX YYY ZZZ where XXX YYY and ZZZ are the RGB components of the needed colors expressed in Decimal format range 0 255 Note This feature can be applied to all the objects available in the Widget gallery that have a color property The run time change of the color is...

Page 51: ...tain settings for the project Project properties pane 50 Developer tools 52 FreeType font rendering 55 Software plug in modules 55 Behavior 56 Events 61 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 49 ...

Page 52: ...rable data Basic and advanced properties To view all project properties l Click Show Advanced Properties button to expand the property view in the Properties pane Main properties description Note Some properties are displayed only in advanced mode 50 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Project properties pane ...

Page 53: ...st items On Windows CE panels available for from v1 76 ARM 2 79 MIPS Buzzer duration Default 200 ms Keyboard Enables the use of keyboard macros at run time when using external keyboards JavaScript Debug Enables the JavaScript debugger at run time for the current project Allow JS Remote Debugger Enables JavaScript remote debugger for current project Remote debugging not supported on HMWIN Client Hi...

Page 54: ...loper tools Developer tool list Tool Description Show Hide all Shows a dialog containing information about device status like CPU load memory usage event queues CPU statistics Shows information on CPU load See CPU Statistics on the facing page Memory statistics Shows information about system RAM A negative value indicates that free memory is decreasing Event queues Shows information on event queue...

Page 55: ...ge Watchdog This feature allows you to disable the watchdog This way you can avoid system restart in case of a runtime crash and have the time to save the crash report or check system status information for example memory available CPU load events queue size and so on The crash report dialog is displayed automatically in case of a system freeze or crash allowing users to save a log file of crash I...

Page 56: ...ide the Timelog summary window Save timelog to file Saves a report of profile details and the time spent loading a project and its pages into a timelog txt file This file can be exported and shared for further analysis Important The execution of this function may reduce page change performance Overlay OnLoad times Overlay Rendering times This view allows displaying time spent on single widgets and...

Page 57: ...ing New projects use the FreeType font engine as default Projects created with older versions of HMWIN Studio could use an older font engine also after project conversion to avoid any backward compatibility issue Switch to FreeType whenever possible for better page rendering Once you have switched to the new font rendering save the project and verify that all texts are displayed correctly in all p...

Page 58: ... security is enabled in project When security is enabled you can specify a different homepage for each groups of users In this case this setting is ignored See User management and passwords on page 229 for details Page Width Page Height Defines the default size in pixel of an HMI page Default is the display resolution of the HMI device model selected when creating the project Display Mode Defines ...

Page 59: ...mber displayed on HMI l remote page number displayed on HMWIN Client l local remote page number displayed on HMI and on HMWIN Client if different pages are displayed the last page loaded is considered Example forced page change from controller PLC to HMI device and HMWIN Client Set properties as follows PageRequest attached to tag A CurrentPage empty SyncOptions disable Set value of tag A to displ...

Page 60: ...ice and HMWIN Client Force HMI page synchronization with HMWIN Client not vice versa Set properties as follows PageRequest attached to a tag A as read write CurrentPage attached to the same tag A as per PageRequest SyncOptions remote Change value of tag A to display the requested page on HMI and HMWIN Client Change page on HMWIN Client to display the same page on HMI Example synchronize displayed ...

Page 61: ...e 1 86400 s form 1 s to 24 h Default value 600 s Values 0 disabled Web Icon The favorite icon associate at the web pages Refresh Time Defines the refresh time for the communication between the runtime and HM4Web clients Range 500 10000 ms Default value 3000 ms Browser Optimization true Web engine optimization enable default false Web engine optimization disable useful for old browsers that not sup...

Page 62: ...ver useful for old slow browsers Set to 0 to use all the available bandwidth default Web clients connection mode Auto The connection mode is selected by the client default SSE Force the Server Sent Events mode Long Polling Force the Long polling mode Target Zoom Factor It is the zoom factor of the HMI device that will be applied when project is loaded at run time Range 0 3 2 9 Default value 1 no z...

Page 63: ... Used only in conjunction with wheel input devices Normally the wheel is used to increase decrease the value of a tag without an external keyboard device Attach this property to a change of wheel event and use an action like StepTag to increase decrease a tag value HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 61 5 Project properties ...

Page 64: ...62 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Events ...

Page 65: ...simulator supports l online simulation in communication with real devices only for protocols with Ethernet or RS 232 communication l offline simulation simulating tag behavior The data simulation method is set in the Simulator column of the Tag Editor Data simulation methods 64 Simulator settings 64 Launching and stopping the simulator 65 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panas...

Page 66: ...h tag Triangle Wave A triangle wave value is generated and written to the tag value Min Max and Period values can be defined for each tag Square Wave A square wave value is generated and written to the tag value Min Max and Period values can be defined for each tag See Adding tags on page 21 for details Simulator settings The Simulator works by default with simulated protocols It can also work wit...

Page 67: ...h the simulator 1 On the Run menu click Start Simulator the Simulator runs on the computer in the same way as the server would run on the HMI device To stop the simulator 1 On the Run menu click Stop Simulator or on the simulated page double click the Exit button HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 65 6 The HMI simulator ...

Page 68: ...66 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Launching and stopping the simulator ...

Page 69: ... HMI device you can use l function Run Download to Target l function Run Update Package with the use of a USB device Download to HMI device 68 Update package 70 The Runtime loader 73 Upload projects 74 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 67 ...

Page 70: ...g a service tool like Bonjour Linux based HMI devices can be discovered using their hostname e g HMI 0d37 local Bonjour is a trademark of Apple inc 3 Click Download HMWIN Studio will switch the HMI device to Configuration Mode and transfer the files When the download operation is completed the HMI device automatically switched back to Operation Mode and the project is started Advanced options Opti...

Page 71: ...project HMWIN Studio uses a combination of HTTP and FTP connections l HTTP connection issues the commands to switch to transfer mode or to unload running project l FTP session transfers the files to the flash memory in the HMI device Advanced Settings Using the Advanced Settings option you can define the ports to use but generally you do not need to enter this information because HMI devices will ...

Page 72: ...stname is HMI for all devices 4 Click Download System Files At the next download the new ports will be used in the HMI device and new hostname will appear in the drop down list Managing big projects For successful download the project size should be at least 2 MB smaller than the available memory If not you run out of flash memory in the HMI device and a warning message is displayed To free more m...

Page 73: ...Adds open project to update package HMI Runtime Plug In HMI Runtime is added to the update package If the project is open the required plugins are also added to update package Binary Format Download files using binary format Web Project Download the HM4Web pages to HMI device Set Target Password Sets password to perform critical tasks for example project download upload board management See Protec...

Page 74: ...tion Computer C Users Username Desktop myFolder subFolder1 file1 subFolder1 file2 file3 file4 WinCE devices Flash QtHmi subFolder1 file1 subFolder1 file2 file3 file4 Linux devices mnt data hmi qthmi subFolder1 file1 subFolder1 file2 file3 file4 Note User files copy is available only from the USB key Loading an update package Path from the context menu Update 72 HMWIN Studio User Manual v206 2017 0...

Page 75: ... from factory without Runtime When you power up the device for the first time the Runtime Loader window is displayed see System Settings on page 379for details The Runtime Loader presence depends on the device Operating System and may not be available on all the units Old versions of HMI devices may not include the Runtime Loader Contact technical support if you need further information Installing...

Page 76: ...e Runtime tab select the IP address of the device from the drop down list Target 2 Click Retrieve Projects a list of all the projects available is displayed 3 Select project to upload 4 Click Upload Project Upload could be password protected See Protecting access to HMI devices on page 421 for details 5 If required enter password The upload process starts A copy of the project is saved in C Users ...

Page 77: ...en you have to transfer data between system variables and tags from devices or to select custom refresh rate for a system variable Alarms variables 77 Buzzer variables 77 Communication variables 78 Daylight Saving Time variables 78 Device variables 79 Dump information variables 81 FTP client variables 82 Keypad variables 82 Network variables 82 PLC variables 83 HMWIN Studio User Manual v206 2017 0...

Page 78: ...ariables 85 Screen variables 85 SD card variables 86 Server variables 86 Time variables 86 Touch screen variables 87 USB drive variables 88 User management variables 88 76 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...

Page 79: ...red acknowledged Alarm condition no longer active alarms already acknowledged int read only Number of not triggered not acknowledged Alarma condition no longer active awaiting acknowledgment int read only Number of triggered acknowledged Alarm condition active alarms already acknowledged int read only Number of triggered alarms Alarm active aknowledgement not required int read only Number of trigg...

Page 80: ...ize the status of the communication protocols 0 No protocol running protocol drivers might not have been properly downloaded to the HMI device 1 Protocols loaded and started no communication error 2 At least one communication protocol is reporting an error int Read only Protocol Error Message Communication error with error source For example xxxx where xxxx is the protocol abbreviation the error s...

Page 81: ...MT DST Week Week in which the DLS time starts DST Month Month in which the DLS time starts Range 0 11 DST Day Day of week in which the DLS time starts DST Hour Hour in which the DLS time starts DST Minute Minute in which the DLS time starts Device variables Device settings and operating status information Variable Description Data type Available System Memory Free available RAM memory in bytes uin...

Page 82: ...uches the screen 1 switch off backlight and disable touch switch display off Backlight Time counter is stopped Not available on Linux platforms see HMI devices capabilities on page 435 for panels details 0 switch backlight on switch display on 1 n timeout in seconds for switch off backlight screen saver timer On Linux device see HMI devices capabilities on page 435 for panel details timeout is man...

Page 83: ...plete successfully 3 operation completed with errors int read only Dump Recipe Status 0 initial default state 1 operation triggered 2 operation complete successfully 3 operation completed with errors int read only Dump Trend Status 0 initial default state 1 operation triggered 2 operation complete successfully 3 operation completed with errors int read only Reset Recipe Status 0 initial default st...

Page 84: ...only Keypad variables Keypad status Variable Description Data type Is keypad open 0 no keypad open 1 keypad open int read only Network variables Device network parameters Variable Description Data type Adapters Parameters This is a JSON string that can be use to read or update the network adapters parameters string Gateway Gateway address of the main Ethernet interface of device string read only I...

Page 85: ...us Status of integrated CODESYS V2 0 RUN 1 PROGRAM NOT LOADED program not loaded in memory or CODESYS module not running because license missing 2 STOP program loaded but not running int read only Get CopyCodesysProject Action Status Status of CopyCodesysProject action related to integrated CODESYS V2 0 ACTION_NOT_CALLED 1 ACTION_IN_PROGRESS 2 ACTION_COMPLETED 3 ACTION_ABORTED_CHK_FILE_MISSING 4 A...

Page 86: ...is the following l report name for a Graphic Report l first line of text for a Text Report read only Current RAM usage Size in bytes of the RAM used to process the current job read only Disk quota Maximum size in bytes of the folder where PDF reports are stored read only Graphic job queue size Number of available graphic jobs in the printing queue read only Last error message Description of the la...

Page 87: ...ad progress 0 100 read only Upload to HMI status 0 idle action is not in use or completed 1 file upload in progress 2 error int 32 bit read only Version variables Operating System and runtime version Variable Description Data type Main OS Version Version of Main OS string Runtime Version Version of runtime string Screen variables Screen status Variable Description Time remaining to unlock Time rem...

Page 88: ...to server not to HMWIN Client Variable Description Data type Current page Name of current page string Current project Name of current project string Operating mode time Seconds elapsed since device started operating mode uint64 Project load time Date when the project was loaded on the HMI Runtime as in System Date format milliseconds uint64 Time variables System time expressed in UTC format Variab...

Page 89: ... on the touchscreen These are properties of the active page and can be selected in the Widget section Note Page size can be different than HMI device display size Variable Description Java Script Page Touch X Page Touch Y Cursor position related to page page primaryTouch x page primaryTouch y Screen Cursor position related touchscreen page primaryTouch screenX HMWIN Studio User Manual v206 2017 06...

Page 90: ...something x y or click is changed page primaryTouchStatus USB drive variables Information on the external USB drive connected to the device Variable Description Data type USB Drive free space Available space in bytes uint64 read only USB Drive Name Name of USB device string read only USB Drive Size Size in bytes of the device plugged in the USB port uint64 read only USB Drive Status 0 USB Drive un...

Page 91: ...d only This Client ID Only for HMWIN Clients Local and remote clients connected to the same server for example runtime get a unique ID short read only This Client User Name Name of the user logged to the client where the system variable is displayed string read only HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 89 8 System Variables Attach To ...

Page 92: ...90 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG User management variables ...

Page 93: ...s communication driver is not counted as physical protocol Refer to Table of functions and limits from main manual in Number of physical protocols line Protocol Editor Settings 92 Default variables 92 Retentive Memory variables 107 Tag Import 113 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 91 ...

Page 94: ...ault variables System Variables Default protocol allows to create Tags that point to HMI system variables regarding l Alarms l Buzzer l Communication l Database l Daylight Saving Time l Device l Dump information l Network l PLC l Screen l SD Card l Server l Time l USB Drive l Version l Virtual Com Switch Protocol Editor Settings From PLC Model list of Protocol Editor dialog select Default 92 HMWIN...

Page 95: ...click Tags 1 To add a tag click a new line is added 2 Select System Variables from the Driver list tag definition dialog is displayed HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 93 9 System Variables Protocol ...

Page 96: ... of missed alarm events Alarms exceeding the event queue Queue length is defined in the engineconfig xml file int read only Number of not triggered acknowledged Alarm condition no longer active alarms already acknowledged int read only Number of not triggered not acknowledged Alarm condition no longer active awaiting acknowledgment int read only Number of triggered acknowledged Alarm condition act...

Page 97: ...ouchscreen Setup 1 is not available on Linux platforms See Buzzer on Touch property in alternative int Buzzer Control 0 buzzer off 1 buzzer on 2 buzzer blink int Buzzer Off Time Duration in milliseconds of off time when blink has been selected Default 1000 Range 100 5000 int Buzzer On Time Duration in milliseconds of on time when blink has been selected Default 1000 Range 100 5000 int HMWIN Studio...

Page 98: ...onyms appear in case of multiple error sources Blank when no errors are reported string read only Protocol Error Count Number of communication errors occurred since last reset Reset value with Reset Protocol Error Count action see System actions of main manual int read only Database Variables Variable Name Description Data Type Database link error message Last detected error description string rea...

Page 99: ...ndard Day Day of week in which the standard time starts for example Sunday 0 int read only Standard Hour Hour in which the standard time starts for example 02 2 int read only Standard Minute Minute in which the standard time starts for example 00 0 int read only DST Offset Offset in minutes when DLS time is set with respect to GMT int read only DST Week Week in which the DLS time starts int read o...

Page 100: ... Linux platforms see HMI devices capabilities on page 435 for panels details int Display Brightness Returns and adjusts brightness level When set to a low light level 0 3 the backlight stays lit to a higher level for 8 seconds to allow the user to make the adjustments and then is switched off Even when set to 0 the backlight is still on and the Backlight Time counter increases Range 0 255 int Exte...

Page 101: ... for example 60 120 180 Flash Free Space Free space left in internal Flash memory uint64 read only Manufacturer Code Code number that identifies the HMI short read only System RAM Usage Current RAM memory used from HMI expressed in byte uint64 read only System Font List List of system fonts string read only System Mode Runtime operation status 1 booting 2 configuration mode 3 operating mode 4 rest...

Page 102: ...completed with errors int read only Reset Recipe Status 0 initial default state 1 operation triggered 2 operation complete successfully 3 operation completed with errors int read only Restore Recipe Status 0 initial default state 1 operation triggered 2 operation complete successfully 3 operation completed with errors int read only Network Variables0 Variable Name Description Data Type Gateway Gat...

Page 103: ...Action Status Provides status of CopyCodesysProject action 0 Action not called 1 Action in progress 2 Action completed 3 Action aborted CHK file missing 4 Action aborted PRJ file missing 5 Action aborted SDB file missing 6 Action aborted multiple CHK files found 7 Action aborted multiple PRJ files found 8 Action aborted multiple SDB files found 9 Action aborted inconsistent file names 10 Action ab...

Page 104: ... int read only Y Screen resolution Display vertical screen size in pixel int read only SD Card Variables Variable Name Description Data Type SD Card FreeSpace Available space on card in bytes uint64 read only SD Card Name Name of SD card string read only SD Card Size Size in bytes of the card plugged in the slot uint64 read only SD Card Status 0 SD card unplugged 1 SD card plugged int read only 10...

Page 105: ...arted operating mode uint64 read only All variables refer to server not to HMWIN Client Time Variables Variable Name Description Data Type Day Of Month Range 1 31 int Day of Week Range 0 Sunday 6 Saturday int Hour Range 0 23 int Minute Range 0 59 int Month Range 1 12 int Second Range 0 59 int System Time The same as UTC time It can also be set as date time for this variable unsignedInt Year Curren...

Page 106: ...in OS string read only Runtime version Version of Runtime string read only Virtual Com Switch Variables Variable Name Description Data Type VCS status Provides status of VCS service 0 Service enabled 1 Client connected in interleaved mode 2 Client connected in exclusive mode 3 Service disabled default unsignedByte read only VCS disable Provides manual override of VCS service 0 VCS service enabled ...

Page 107: ...ry Space Limits short 16 bit data 32768 32767 int 32 bit data 2 1e9 2 1e9 unsignedByte 8 bit data 0 255 unsignedShort 16 bit data 0 65535 unsignedInt 32 bit data 0 4 2e9 uint64 64 bit data 0 1 8e19 string Array of elements containing character code defined by selected encoding HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 105 9 System Variables Protocol ...

Page 108: ... on data type selected the Allowed list shows one or more conversions listed below Value Description Inv bits Invert all the bits of the tag Example 1001 0110 in binary format 9 6 in decimal format Negate Set the opposite of the tag value Example 25 36 25 36 AB BA Swap nibbles of a byte Example 15D4 514D in hexadecimal format 5588 20813 in decimal format ABCD CDAB Swap bytes of a word Example 9ACC...

Page 109: ...he arrow buttons to order the configured conversions Retentive Memory variables System Variables Retentive Memory protocol allows to create Tags that point to a memory area whose content is maintained when HMI is powered off The physical support for retentive memory is based on FRAM technology Important Not all HMI devices include FRAM memory If FRAM memory is not available persistency is supporte...

Page 110: ... FRAM supports a virtually unlimited number of write operations and should be preferred when frequent write operations are required Protocol Editor Settings From PLC Model list of Protocol Editor dialog select Retentive Memory Tag Editor Settings Path ProjectView Config double click Tags 108 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Retentive Memory v...

Page 111: ...emory Space Limits boolean 1 bit data 0 1 byte 8 bit data 128 127 short 16 bit data 32768 32767 int 32 bit data 2 1e9 2 1e9 int64 64 bit data 9 2e18 9 2e18 unsignedByte 8 bit data 0 255 unsignedShort 16 bit data 0 65535 unsignedInt 32 bit data 0 4 2e9 uint64 64 bit data 0 1 8e19 float IEEE single precision 32 bit floating point type 1 17e 38 3 4e38 double IEEE double precision 64 bit floating poin...

Page 112: ... bytes corresponds to number of string chars if Encoding property is set to UTF 8 or Latin1 in Tag Editor If Encoding property is set to UCS 2BE UCS 2LE UTF 16BE or UTF 16LE one char requires 2 bytes Conversion Conversion to be applied to the Tag Depending on data type selected the Allowed list shows one or more conversions listed below Value Description Inv bits Invert all the bits of the tag Exa...

Page 113: ...BCD Separate the byte in two nibbles and reads them as decimal from 0 to 9 Example 23 17 in decimal format 0001 0111 23 0001 1 first nibble 0111 7 second nibble Select the conversion and click on plus button The selected item will be added on Configured list If more conversions are configured they will be applied in order from top to bottom of Configured list Use the arrow buttons to order the con...

Page 114: ... is usually deleted If is needed to preserve the content of retentive data at project download or update select the Keep retentive data on project download option in the settings tabs of the HMI device This setting will be ignored if Delete runtime dynamic files option is selected from Download to Target window 112 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Euro...

Page 115: ...and click on the Import Tags button to start the importer The system will require a generic XML file exported from Tag Editor by appropriate button Once the importer has been selected locate the symbol file and click Open Tags included in the symbol file are listed in the tag dictionary The tag dictionary is displayed at the bottom of the screen HMWIN Studio User Manual v206 2017 06 30 EN 2014 201...

Page 116: ...and click on this icon to add tags from tag dictionary to the project Update Tag s Click on this icon to update the tags in the project due a new dictionary import 114 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Tag Import ...

Page 117: ...b elements of a tag Example of both checked and unchecked result Searches tags in the dictionary basing on filter combo box item selected HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 115 9 System Variables Protocol ...

Page 118: ...116 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Tag Import ...

Page 119: ...ons are linked to widgets in the Event section of the Property pane Page Editor Alarm actions 118 Event actions 118 MultiLanguage actions 119 Keyboard actions 119 Media Player actions 121 FTP actions 121 Page actions 124 Print actions 128 Recipe actions 130 Remote Client actions 134 System actions 135 Tag actions 143 Trend actions 144 User management actions 147 Widget actions 150 HMWIN Studio Use...

Page 120: ...dget This action is used with the Save button in the alarm widget Event actions Used by Alarm History widget to scroll events alarms backward forward in table view event buffer widget ScrollEventsBackward Scrolls events alarms backward in table view event buffer widget ScrollEventsForward Scrolls events alarms forward in table view event buffer widget 118 HMWIN Studio User Manual v206 2017 06 30 E...

Page 121: ...e use of keypads SendKey Sends one character to a numeric widget The KeypadType property of the numeric widget must be set as Macro SendKeyWidget Sends one character to a specific widget Example The Up and Down buttons use the SendKeyWidget action in association with the Control List Widget HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 119 10 Actions ...

Page 122: ... Shows the default operating system touch keypad Note might not be supported by all operating systems 120 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Keyboard actions ...

Page 123: ...on Description PlayMedia Starts playing the video StopMedia Stops the video ReloadMedia Restarts video from the beginning PauseMedia Pauses the video BrowseMedia Selects the video to play Not available on Linux platforms see HMI devices capabilities on page 435 for panels details FTP actions Used to upload and download files to and from a remote FTP server ftpGET Download files from a remote FTP s...

Page 124: ...tatus of ongoing operations see FTP client variables on page 82for details FTP Server Configuration To configure the FTP parameter enter the following information for the FtpConfig setting Parameter Description FTP Address FTP server IP Address Server Port Port for FTP connection default 21 Authentication Select the FTP authentication to use l Normal Username and password required l Anonymous User...

Page 125: ... a remote FTP server Parameter Description remoteFileName File name on the remote FTP server to download source localFileName File name on local HMI device destination callback Function that will be call at the end of the FTP transfer ftpPUT ftpPUT remoteFileName localFileName callback Upload files to a remote FTP server Parameter Description remoteFileName File name on the remote FTP server to do...

Page 126: ... OnDeactivate l Alarms l Schedulers LoadPage Go to the selected page of the project HomePage Go to the home page You can set the home page in the Behavior section of the Project Widget see Behavior on page 56 PrevPage Go to the previous page NextPage Go to the next page LastVisitedPage Go to the previously displayed page ShowDialog Opens a dialog page defined in the project 124 HMWIN Studio User M...

Page 127: ...ptions Option Description All Closes all open dialogs Selected Closes only active dialog DialogName Closes dialog specified as fileName property JavaScript Interface project closeDialog DialogID HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 125 10 Actions ...

Page 128: ... Name Executable name with extension for example notepad exe to run Notepad Path Application path Arguments Application specific arguments for example flash qthmi Manual pdf to open the document Manual pdf Single Instance Argument to start the application in a single instance or multiple instances When single instance is selected the system first verifies whether the application is already running...

Page 129: ...s on page 55 to include it on Windows CE devices LaunchPDFViewer Starts PDF Viewer Note only works on devices that include PDF Viewer See Software plug in modules on page 55 to include it on Windows CE devices On Linux devices is included from BSP v1 00 44 LaunchUpdater Updates project and runtime from an external device Use Path parameter to specify the folder that will contain the update package...

Page 130: ... to unlock displays the time remaining to unlock See Screen variables on page 85 LoadProject Unload current project and load the selected project inside the HMI device The project name has to be specified using relative path as for the below example LastVisitedProject Unload current project and return to previous project Print actions Manages print tasks PrintGraphicReport Prints a graphic report ...

Page 131: ...e printing mode and uses a standard protocol common to all printers that support it Text is printed immediately line by line or after a timeout custom for each printer model Note printing could a few minutes for models not designed for line printing Not available on Linux platforms see HMI devices capabilities on page 435 for panels details EmptyPrintQueue Flushes the current printing queue If exe...

Page 132: ... of recipe set to copy curSet upload currently selected recipe set WriteCurrentRecipeSet Sets the selected recipe as current recipe set Parameter Description RecipeName Name of recipe to set as current recipe RecipeSet Recipe set to define as current recipe set DownLoadCurRecipe Downloads current set of recipe data to the controller No parameter is required UploadCurRecipe Uploads set of controlle...

Page 133: ...true the dumped file will have date and time as prefix to its name for example D2012_01_ 01_T10_10_recipe1 csv TimeSpec Time format l Local the time values exported are the time of the HMI device l Global the time values exported are in UTC format RestoreRecipeData Restores previously saved recipe data Parameter Description RecipeName Recipes to restore l AllRecipes Data of all recipes will replac...

Page 134: ...s that are inside the device but not inside the csv file are not removed from the device FilePath Source folder l Internal Flash QTHMI workspace Dump l USB drive USBMemory l SD Card Storage Card l Public Network hostname or IP sharePath l Private Network username password hostname or IP sharePath Note supported formats for external memory are FAT or FAT32 NTFS format is not supported Note Private ...

Page 135: ...Here you can you can use a tag reference DelRecipeDataSet Deletes a dataset from the selected recipe Deleting a dataset will rearrange the position number of the datasets that follow Parameter Description RecipeName Recipe where the dataset is to be deleted DataSet Dataset to be deleted HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 133 10 Actions ...

Page 136: ...dialog to select a file to be downloaded from the remote HMI device Note Only files matching the set filter are displayed and can be downloaded Parameter Description Source Source path on the HMI device for file download Filter File extensions of the files to be displayed separated by commas for example txt JavaScript Interface boolean project uploadToHMI dirPath strFilter boolean project download...

Page 137: ...r FAT32 NTFS format is not supported Note Private networks are supported only from Linux devices with BSP 1 0 25 and above FileFormat Binary the buffer is dumped in binary format a dat file and inf file Both these files are then required to convert data in csv format by an external utility Compatibility CSV the buffer is dumped to the specified location as a csv file format compatible with version...

Page 138: ...format FAT or FAT32 NTFS format is not supported WARNING Be aware there are limits in the max number of files that can create inside a folder Limits are depending of different factors and are not simple to calculate you can think as 999 the max number of files that can be use inside a folder To convert binary dump files to csv The TrendBufferReader exe tool is stored in the Utils folder of the HMW...

Page 139: ... and detailed description of all the single fields please refer to the OPC DA official documentation Commonly quality values The most commonly used quality values returned by the HMI acquisition engine are Quality Code Quality Description 0 BAD The value is bad but no specific reason is given 4 BAD Specific server problem with the configuration For example the tag has been deleted from the configu...

Page 140: ...ove farther out of this range 85 UNCERTAIN Returned value outside its defined limits defined In this case the Limits field indicates which limit has been exceeded but the value can move farther out of this range The value has pegged at some lower limit 86 UNCERTAIN Returned value outside its defined limits defined In this case the Limits field indicates which limit has been exceeded but the value ...

Page 141: ...SV true the buffer is dumped to the specified location as a csv file false the buffer is dumped in binary format a dat file and inf file Both these files are then required to convert data in csv format by an external utility DateTimePrefix true the dumped file will have date and time as prefix to its name for example D2012_ 01_01_T10_10_alarmBuffer1 csv timeSpec Time format l Local the time values...

Page 142: ...ture will be config alarms xml eventconfig xml data AlarmBuffer1 dat AlarmBuffer1 inf AlarmBufferReader exe To convert dump files to csv The AlarmBufferReader exe tool is stored in the Utils folder of the HMWIN Studio installation folder Use the following syntax AlarmBufferReader AlarmBuffer1 FILE AlarmBuffer1 csv where AlarmBuffer1 name of the dumped dat without extension AlarmBuffer1 csv name fo...

Page 143: ... be included in the dump csv file DeleteEventArchive Deletes saved Event buffers log data Specify the name of Event buffer to delete from the Event logs ResetProtoErrCount Resets the Protocol Error Count system variable See System Variables Attach To on page 75 for details SafelyRemoveMedia Provides for safe removal of SD card or USB drive fromHMI HMWIN Studio User Manual v206 2017 06 30 EN 2014 2...

Page 144: ...ject Rebuild All an updated sdb symbol file is generated 2 Run Online Create boot project the chk and prg file are generated This action can be used to transfer a CODESYS project from one HMI device to another In this case copy these files from the HMI running CODESYS project l default chk l default prg l boot sdb Verify PLC and CopyCodesysProject action status using the following PLC system varia...

Page 145: ...d value is inverted and then written back to the tag SetBit Sets the selected bit to 1 BitIndex allows you to select the bit position inside the tag ResetBit Resets the selected bit to 0 BitIndex allows you to select the bit position inside the tag WriteTag Writes constant values to the controller memory Specify tag name and value StepTag Increments or decrements tag value Parameter Description Ta...

Page 146: ...communication status False disabled True enabled When attached to a tag tag 0 means False ClearRetentiveMemory When set to 0 clears the content of the Retentive Memory ForceReadTag Force a refresh of the specified tag from the remote controller Trend actions Used for Live Data Trends and Historical Trends Widget RefreshTrend Refreshes the Trend window It can be used in any Trends Graphs widgets Sp...

Page 147: ...inutes then use the PageRightTrend action to scroll the trend right for 10 minutes PageDurationTrend Sets the page duration of the Trend window Define trend name and page duration Note you can set page duration at run time using a combo box widget ZoomInTrend Reduces page duration ZoomOutTrend Extends page duration ZoomResetTrend Reset the zoom level back to the original zoom level ZoomInYAxisTren...

Page 148: ...The ScrollCursor action moves the graphic cursor over the curves or over the entire Trend window ScrollTrendCursor Scrolls the trend cursor backward or forward The Y cursor value will display the trend value at the point of the cursor Scrolling percentage can be set at 1 or 10 The percentage is calculated on the trend window duration ScrollTrendToTime Scrolls the Trend window to a specified point ...

Page 149: ...widget ID for example TrendWindow3 Page Scroll Direction Direction of page scrolling Forward backward User management actions User management and security settings LogOut Logs off the current user The default user is then automatically logged in If no default user has been configured the logon window is displayed SwitchUser Switches between two users without logging off the logged user the user lo...

Page 150: ...inal password together with the settings specified in the project for the current user No parameter is required AddUser Reserved to users with Can manage other users property set Adds a user at run time a dialog appears DeleteUser Reserved to users with Can manage other users property set Deletes a user at run time a dialog appears 148 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasoni...

Page 151: ... are erased The original settings are restored from the project information No parameter is required ExportUsers Exports user settings to an xml file usermgnt_user xml in encrypted format to be restored when needed Set destination folder for the export file Important The user file is encrypted and cannot be edited HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europ...

Page 152: ...e part of the page in the project and slide in and out of view Property Description Widget Widget to slide Direction Sliding direction Speed Transition speed of sliding widget X Distance Travel distance of X coordinate in pixels Y Distance Travel distance of Y coordinate in pixels Slide Limit Enable Disable movement limits of the widget with respect to the x y coordinates X Limit Limit position of...

Page 153: ... page 176 for details ContextMenu Displays the context menu If Context Menu property of Project Widget has been set to On delay context menu can appear also touching for a few seconds the background area of the screen See Project properties pane on page 50 ReplaceMedia Replaces existing media files with new files from USB SD card Can be used to replace video files of MediaPlayer widgets or images ...

Page 154: ...laceMedia var sourcePath var bSilent var Device var nMediaType var bResize project replaceMedia Images true USBMemory 1 true 152 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Widget actions ...

Page 155: ...al application running on the device will be loaded in the client window HMWIN Client acts as a remote client and communicates to the server sharing the local visualization with the tag values that are maintained or updated by the communication protocol HMI projects contain properties indicating which page is currently displayed on the HMI and can force the HMI to switch to a specific page You can...

Page 156: ...re build number folder named as build number for example 01 90 00 608 Settings and time zone options In the Settings dialog you can configure client settings and decide how to display project timestamp information HTTP settings Parameter Description Protocols Communication protocol used by HMWIN Client to communicate with an HMI device Update Rate Polling frequency to synchronize data from server ...

Page 157: ...oject into the computer local time where the client is installed Global Time Translates all timestamps in the project into UTC format Server Time Translates all timestamps in the project into the same used by HMI device server in order to show the same time Important Make sure you set the HMI RTC correct time zone and DST options Transferring files to a remote HMI device You can upload and downloa...

Page 158: ...156 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Transferring files to a remote HMI device ...

Page 159: ...ram or set the maximum number of connections per session to 1 FTP settings FTP default credentials When User Management Security is disabled use the following credentials for incoming connections User name admin Password admin Changing FTP settings Path ProjectView Security UserGroups Authorization Settings You can change FTP permissions and account information in the Ftp tab of the admin authoriz...

Page 160: ...158 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG FTP settings ...

Page 161: ...ccess is particularly useful for administration and technical support In order to use it you need to l start a server in the HMI device l install a viewer on the remote device Starting VNC server on WinCE devices 160 Starting VNC server on Linux devices 161 Starting VNC viewer 161 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 159 ...

Page 162: ...er tools Launch VNC To enable the runtime contextual menu see Project properties on page 49 VNC Options dialog From the VNC Options dialog you can perform several tasks Tab Functions Control Star stop the VNC server and connect to viewer Options Define security information for server access using a VNC viewer Advanced Enable automatic activation of VNC server at HMI device startup Select Silent St...

Page 163: ...puter which runs a listening VNC viewer A user can then easily call for support by pressing the Connect to viewer button on the Control tab VNC default settings TCP port 5900 Password null Important The VNC server allows only a single client Starting VNC server on Linux devices VNC server is a service embedded inside the BSP that can be activated from the Services tab of the device System Settings...

Page 164: ...162 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Starting VNC viewer ...

Page 165: ...d telecontrol Users who have access to the JMcloud can easily reach the gateways and the endpoints provided they have the necessary access rights using the application JMcloud Connect This diagram describes a possible setup of the various components of the infrastructure and their connections To download the JMcloud Reference Manual see http jmcloud exorint net HMWIN Studio User Manual v206 2017 0...

Page 166: ...164 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...

Page 167: ...he Alarms Configuration Editor and thus are available for all the pages of the project An alarm widget can display more than one alarm at a time if sized appropriately You can trigger the opening or closing of the Alarm window with an event You work with alarms in the same way as you work with any other event You may not want to display a dialog when an alarm is triggered and you can associate to ...

Page 168: ...the alarm once triggered to remove it from the Active Alarm widget Reset Used with the Ack option if selected acknowledged alarms stay in the alarm list labeled as Not Triggered Acked until the operator presses the Reset button in the alarm widget Buffer Buffer file where the alarm history will be saved Trigger Triggering condition depending on alarm type l limitAlarm alarm triggered when tag valu...

Page 169: ...has been selected as trigger Remote Enable Tag used by the PLC to enable disable the alarm l Changing the enable status from the Alarms Widget will change the tag value l When the tag cannot be read e g communication error the alarm is disabled l No tags related to the alarm are refreshed when alarm is disabled Tip It could be useful to enable the logging of the alarm s enable flag Remote Ack Tag ...

Page 170: ...or triggered alarms If selected the alarm rows blinks until acknowledged Only effective if Ack is selected Severity Severity of the alarm If multiple alarms are triggered simultaneously actions will be executed based on severity settings 0 not important 1 low 2 below normal 3 normal 4 above normal 5 high 6 critical Events Conditions in which the alarms are notified logged or printed See Setting ev...

Page 171: ...he connected devices We assume the Acknowledge to be a signal pushed from an operator and not released automatically from a controller device This allows for time required to communicated the original signals Tip Using the same tag both for Remote Ack and Ack Notify can connect more devices to the same controller and acknowledge the alarms from any HMI device Alarm state machine The runtime implem...

Page 172: ...itor See Alarms Editor on page 166 for details Notifying events Path ProjectView Config Alarms Events column Notify tab Set conditions under which the alarms will be posted in the alarm widget 170 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Setting events ...

Page 173: ...hich you want to store the specific event in an alarm history buffer The alarm history is logged in the Event Buffer Executing actions Path ProjectView Config Alarms Events column Actions tab Set conditions under which the action s configured for the specific alarm must be executed By default actions are executed only when the alarm is triggered other alarm states can also be set to execute action...

Page 174: ...t a device for event data storage Data is automatically saved every five minutes except for alarm data which is saved immediately Active Alarms widget You can insert the Active Alarms widget in a page to display the alarms and to acknowledge reset or enable disable them 172 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Active Alarms widget ...

Page 175: ...ons are applied to the data contained in the selected Filter column of the Alarm widget Setting filters Path ActiveAlarm widget Properties pane Filter To set one of the two available filters 1 Select Filter Column 1 and choose the value to filter for e g Name State Time Groups 2 In DataLink attach a combo box widget Use Shift left click to select the combo box 3 In the Properties pane select list ...

Page 176: ...operties settings Filter column 2 Severity Filter 2 3 6 Filters third example You want to show all alarms matching a value from 11 to 19 Then properties settings Filter column 2 Severity Filter 2 1 1 9 Meaning match must starts from the beginning of the string 1 1 9 first char must be 1 and the second char must be between 1 and 9 end of the comparison 174 HMWIN Studio User Manual v206 2017 06 30 E...

Page 177: ...lue 100 Value 200 1 0 9 0 9 Value Value 2 3 4 5 2 9 Value Value 100 1 9 0 9 0 9 Value Value 20 2 9 1 9 0 9 0 9 Sorting alarms Path ActiveAlarm widget Properties pane Sorting The sorting function allows you to sort alarms at run time in the alarms widget by clicking on the column header HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 175 15 Alarms ...

Page 178: ...xecuted WARNING If you are using an older converted project you have to substitute the old Active Alarms Widget with the new one from the Widgets gallery Note The image can be modified from the Colums property of the Active Alarms widget Alarms History widget Logs and display an alarm list if Buffer property in Alarms Configuration Editor is set 176 HMWIN Studio User Manual v206 2017 06 30 EN 2014...

Page 179: ...ide not triggered alarms or show all alarms See Active Alarms widget on page 172 for details IMPORTANT The Active Alarms widget is not displayed automatically You must add a dedicated action that will open the page containing the alarm widget when the alarm is triggered Enable disable alarms at run time You can enable or disable the alarms at run time To enable an alarm select the Enable option in...

Page 180: ...e the value at the time the alarm was triggered is displayed Use before if you want to show the in the description string for example Tag 1 will display the string Tag 1 Use even when the tag label contains square brackets For example to display the live tag value of tag TAG 3 or TAG 3 use l TAG 3 TAG 3 l TAG 3 TAG 3 Example of Alarm widget Note The csv file resulting from the dump of the alarm ev...

Page 181: ...iguration Path ProjectView Config double click Alarms Click the Export Alarms button the alarms configuration table is exported into an xml file You can edit the resulting xml file using third part tools for example Microsoft Excel Importing alarm configuration Path ProjectView Config double click Alarms HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 179 1...

Page 182: ...ll be removed only if check Replace project alarms with imported alarms is checked Blue This alarm has been modified and will be updated Gray This alarm is already part of the project and will be skipped Automatic synchronization Select the Keep synchronized option in the Import Alarms dialog to enable the automatic synchronization of the alarm configuration file Whenever changes occur in the alar...

Page 183: ...tion when the alarm file is managed by a different tool for example PLC programming software as well as by HMWIN Studio HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 181 15 Alarms ...

Page 184: ...182 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Exporting alarm configuration ...

Page 185: ...cify default values for each element of the data records In HMI Runtime data can be edited and saved to a new data file any change to recipe data is therefore stored to disk With the use of a separate data file HMI Runtime ensures that modified recipe values are retained throughout different project updates In other words a subsequent project update does not influence the recipe data modified by t...

Page 186: ...of values sets for each recipe element Each set has a different configurable name Setting up a recipe 1 Click to add an element of the recipe 2 Link the tags to each recipe element Defining recipe fields Create a recipe field in the page using a numeric widget and attaching it to a recipe item after selecting Recipe as the Source 184 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic ...

Page 187: ...a separate file as modified recipe data Note Since JavaScript API functions are used the recipe elements and sets can be referenced by name or by position To avoid ambiguity between names and index the names of the recipe elements and sets must include at least one alphanumeric character Storing recipe data In the Recipe Editor click the storage type icon to select where to store recipe data the S...

Page 188: ...rtant You can add a subfolder but you must not rename the data subfolder Configuring a recipe widget You can choose one of the two recipe widgets available in the Widget Gallery l Recipe set allows you to select a recipe set for upload or download See Uploading downloading a recipe on the facing page l Recipe menu when more recipes have been created for a project use this widget to manage all reci...

Page 189: ...al error for example data not available Note On device startup the value of recipe Status is 0 Uploading downloading a recipe Uploading a recipe You upload a recipe to an HMI device using a recipe widget and the UpLoadRecipe UpLoadCurRecipe action in one of the following ways l attach the action to an event of a button or a switch see Attach to parameters on page 30 for details l configure the act...

Page 190: ...e exported for backup and later restored This is done using the DumpRecipeData or the RestoreRecipeData actions See Recipe actions on page 130 for details 188 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Backup and restore recipes data ...

Page 191: ...d editor so that data can be stored Stored data can then be displayed in a graphical format using a trend widget Data logging 190 Exporting trend buffer data 191 Trend widgets 192 History trends 194 Trend widget properties 195 Trend widget gestures 196 Values outside range or invalid 197 Showing trend values 198 Scatter diagram widget 199 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panas...

Page 192: ...mited number of write operations We suggest to use only good quality memory cards in the case your application use intensively the memory card consider a regular substitution of the memory card WARNING If the data time is moved back the samples with invalid date time are removed from the trend buffer When system detects that data time is invalid e g battery low a popup is shown to advise the user ...

Page 193: ...data will be stored Buffer If Save a copy when full option is enabled a backup copy of the buffer data is created before it is overwritten by newer data Sampling Filter Trigger Filter If triggering condition is time a new sample is stored when its value compared with the last saved value exceeds the specified limits If triggering condition is a tag a new sample is stored at each change of the trig...

Page 194: ... HMI device can be displayed in graphical format using trend widgets RealTime trend widget The real time trend widget can be used to display the changes of value of a tag Data is not stored in a trend buffer and cannot be retrieved for later analysis To display a real time trend 192 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Trend widgets ...

Page 195: ...s Number of ticks on the x axis scale Y Labels Number of ticks in the y axis scale Text Trend title and font properties font size label etc Grid Properties of grid presentation colors Cursor Properties of cursor presentation enable and color X Scale Properties of X Scale presentation Y Scale Properties of Y Scale presentation Curve n Tag that will be plotted in the trend widget See Trend widget pr...

Page 196: ... current time and stop time will be the current time plus the duration of the window The curve starts from the left and progresses to the right data is automatically refreshed during a certain interval time until the stop time When the curve reaches the stop time the curve will scroll left and the update of the curve will continue until it again reaches the stop time At that moment a new scroll is...

Page 197: ...quest Sample property can be set for each curve and indicates the maximum numbers of samples read by the widget at one time from the trend buffer Tip You normally do not need to modify the default value Adjust it to fine tune performances in the trend widget refresh especially when working with remote clients HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...

Page 198: ...in the trend widget not the global time option Calendar color bands example Trend widget gestures Trend widgets support gesture commands Gesture Description pan Touch the widget to scroll the curve within the widget area pinch Use two fingers to pinch the curve and perform zoom operations WARNING Only multi touch HMI devices can generate pinch events Note In order to support gestures on Y axis Min...

Page 199: ...limits set for the trend widget a dotted line is displayed When the value of the tag is not available for example the controller device is offline no curve is drawn HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 197 17 Trends ...

Page 200: ...lar point in time To display the value of the trend cursor on the page define a numeric field and attach it to the Cursor Value widget tag In this example the Y axis value of the cursor is displayed To display the trend timestamp at the position of the cursor define a numeric field and attach it to Cursor Timestamp widget tag 198 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Elec...

Page 201: ...gram widget to the page 2 Select the number of curves to show each curve is named as Graph1 Graph2 3 Customize the general graph properties such as X Min X Max Grid details 4 Define the max number of samples values for each curve by setting the Max Samples parameter Here you set the max number of values to be displayed in the graph starting from first element in the array For example Tag1 20 and M...

Page 202: ...Note Scatter diagrams support only the RefreshTrend action 200 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Scatter diagram widget ...

Page 203: ...re an HMI device can operate as a gateway between two devices even if they do not use the same communication protocol Data transfer editor 202 Exporting data to csv files 204 Data transfer limitations and suggestions 204 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 201 ...

Page 204: ...nly rows matching filter and search field Data transfer parameters Prameter Description TAG A TAG B Pair of tags to be mapped for exchanging through the HMI device Direction Transfer direction A B and B A Unidirectional transfers values are always copied from one tag and sent to the other tag in the specified direction A B Bidirectional transfer values are transferred to and from both tags Update ...

Page 205: ...is recalculated according to the specified limits on the tag value which triggered the previous update No action is taken if the change falls within the limits This mechanism allows triggering data transfers only when significant variations of the reference values occur Low limit is less or equal to zero Note If both Low limit and High limit are set to 0 data transfer occurs whenever the value of ...

Page 206: ...tifier in this column I and J Reserved for future use Import export use the separator character defined inside Windows Regional Settings Data transfer limitations and suggestions Correct definition of data transfer rules is critical for the good performance of the HMI devices To guarantee reliability of operation and performance keep in mind the following rules On trigger method The On trigger met...

Page 207: ...ervations Data transfer performance depends on l number of data transfers defined l number of data transfers eventually occurring at the same time l frequency of the changes of the PLC variables that are monitored Important Always test performance of operation during project development Important If inappropriately set data transfer tasks can lead to conditions where the tags involved create loops...

Page 208: ...206 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Data transfer limitations and suggestions ...

Page 209: ...at any of the controllers included in the installation is going to be offline for a certain time you can manually disable it to maximize system performance Note This feature is not supported by all communication protocols Check protocol documentation to know if it is supported or not Offline node management process 208 Manual offline node management process 208 Manual offline configuration 208 Aut...

Page 210: ...mmunication with the device l use an action to declare the device online the system restarts normal communication with the device Manual offline configuration When you know that some devices in communication with the HMI device are going to remain offline for a certain period of time you can exclude them from communication using the EnableNode action WARNING All disabled device nodes will remain d...

Page 211: ...ed otherwise it is disabled for another timeout interval Default settings can be modified in Protocol editor Note Not all protocols support this feature Parameter Description Enable Offline Algorithm Enables offline management for the protocol Offline Retry Timeout Interval in seconds for the retry cycle after a device has been deactivated Range 1 86 400 seconds 24h HMWIN Studio User Manual v206 2...

Page 212: ...210 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Automatic offline node detection ...

Page 213: ...he TrueType Fonts provided by Windows systems to provide different font faces associated with different character sets HMWIN Studio also allows you to provide strings for each of the languages supported HMWIN Studio also allows you to change the display language so that you can see the page look and feel during the design phase Important In Windows XP operating systems you have to install the supp...

Page 214: ...pported Font name Font file DFKai SB kaiu ttf Microsoft Sheng Hai msjh ttf Arial Unicode MS ARIALUNI TTF MingLiU mingliu ttc PMingLiU mingliu ttc MingLiU_HKSCS mingliu ttc The Multi language editor 213 Changing language 214 Multi language widgets 214 Exporting importing multi language strings 216 Changing language at run time 218 Limitations in Unicode support 218 212 HMWIN Studio User Manual v206...

Page 215: ...t used in the widgets you already created Fonts Number of fonts associated with the selected language Size Memory used to store font files Storage Location of file fonts is a removable external memory Tip Store large font files on removable memory to free memory requirements in the HMI device Adding a language 1 In the Languages tab click a line is added to the table 2 Enter all language settings ...

Page 216: ... the default font Changing language Changing language during page design A combo box is available for changing language during page design If no texts appears please check Text tab in the Multilanguage editor and insert missing string Multi language widgets Multi language support is available for objects such as buttons static text messages alarm descriptions and pop up messages Multi language for...

Page 217: ...t for the widget Multi language for message widgets Double click on a message widget in a page to open the Message Text dialog Parameter Description Multilanguage Enable disable multi language function for the widget Continuous Index Index for the widget is set of contiguous numbers example 3 4 5 6 Min Starting number for index Range Number of messages Choose text from other widget Click on button...

Page 218: ...ct a language from the language combo box 2 Add the Page action ShowMessage and enter the text in the selected language Exporting importing multi language strings The easiest way to translate a project into multiple languages is to export all texts to a csv file translate the resulting document and then import the translated text back into the project Important The csv file exported by HMWIN Studi...

Page 219: ... columns and language definitions 2 Once the strings have been translated click Import to re import them into the project strings are imported matching the widget ID and the page number of each widget 3 Click Save to save the new widget data Note To change the separator used in the exported file change the regional settings of your computer When importing the separator information is retrieved fro...

Page 220: ...ons Missing fonts When you change language if the required fonts are not available in the device memory a pop up message prompts you to insert the memory card containing the missing fonts At the end of the operation you can remove the memory card Limitations in Unicode support HMWIN Studio has been designed for working with Unicode text However for compatibility issues with some platforms Unicode ...

Page 221: ...es Unicode User Group Group Name a z A Z _ admin guest unauthorized Comments Unicode User Name ASCII 32 126 Password Unicode Comment Unicode Recipes Name ASCII 32 126 Set Name ASCII 32 126 Element name ASCII 32 126 General Project Name A Z a z 0 9 _ PUBLIC readme index html Page Name A Z a z 0 9 _ Dialog Page Name A Z a z 0 9 _ Template Page Name A Z a z 0 9 _ Keypad Name A Z a z 0 9 _ Files Image...

Page 222: ...ed Chars Strings Widgets ID A Z a z 0 9 _ Runtime PLC Communication UTF 8 Latin1 UCS 2BE UCS 2LE UTF 16BE UTF 16LE 220 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Limitations in Unicode support ...

Page 223: ...r editor 2 You create a run time user interface that allows the end user to change settings for each schedule You do this adding a Scheduler widget to a page of your project and configuring it to fit user scheduling needs Creating a schedule 222 HighResolution schedule 222 Recurring schedule 222 Configuring location for schedules 224 Configuring the Scheduler widget 225 Scheduling events at run ti...

Page 224: ...t the same time the event with the higher priority will be executed first HighResolution schedule The HighResolution schedule is used to perform actions that need to be repeated at specified intervals The interval between executions is set in milliseconds in the Schedule column Note You cannot change at run time the settings of this type of schedule If you need to change the action time settings a...

Page 225: ...scheduled actions will be executed Offset delay or advance with respect to the selected mode Location Reference location to calculate sunset sunrise time weekdays Days of the week in which the scheduled actions will be executed On startup Executes schedule at start up Enable schedule Enables disables the schedule Execute only at startup Executes the schedule only once at start up Schedule type opt...

Page 226: ...ime is location specific Sunset Actions are executed with a specified delay after sunset The delay is set in minutes hours and sunset time is location specific Sunset Actions are executed with a specified advance before sunset The advance is set in minutes hours and sunset time is location specific See Configuring location for schedules below for details on sunset and sunrise settings Note Mode op...

Page 227: ...on xml Simulator Panasonic HMWIN simulator config Target_Location xml For example the information for the city of Verona IT is shown below Location information is also displayed in the dialog together with sunset and sunrise times Configuring the Scheduler widget To display scheduler data on a page HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 225 21 Sche...

Page 228: ...Scheduler settings Parameter Description Name Schedule to be displayed Columns Columns to be displayed and their characteristics Show Header Shows hides column headers Time Spec Time to be displayed at run time Text Font used for text Display Table styles Scheduling events at run time At run time you can modify the following scheduling parameters 226 HMWIN Studio User Manual v206 2017 06 30 EN 201...

Page 229: ...ndition applied to action execution Enable Enabels disables the execution of the scheduled actions without deleting the schedule See Recurring schedule on page 222 for details on schedule parameters HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 227 21 Scheduler ...

Page 230: ...228 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Scheduling events at run time ...

Page 231: ...ategories l Widget permissions hide read only full access l Action permissions allowed or not allowed By organizing permissions and groups you can define the security options of a project Enable disable security management 230 Configuring groups and authorizations 230 Modifying access permissions 231 Assigning widget permissions from page view 236 Configuring users 237 Default user 237 Managing us...

Page 232: ...in guest and unauthorized they cannot be deleted nor renamed You can however modify authorizations and other settings Adding a user group Click to add user group Parameter Description Name Name of users group Authorized Authorization granted Home Page Page displayed when users belonging to this group log in Use Last Visited Page When selected the last page displayed by the previous user will be di...

Page 233: ... the list Widget permissions In the Widget tab you can define widget access options at project level at page level or at widget level for all the widgets used in the project Lower levels permission for example widget level overrides higher levels that is page and project levels Use Base settings to set default permissions at project level Possible settings are l Full Access to enable read write ac...

Page 234: ...idget permissions are considered with the following priority Permission level Priority Project level Basic settings Low Page level Medium Widget level High This allows you to specify exceptions for an action or a widget directly from the page view For example if you set permissions for a widget at project level to Read Only and to Full Access at page level then the page level settings will prevail...

Page 235: ...uthorizations In the Ftp tab you can set specific authorizations for the FTP server Element Description Enable FTP authorization Enables the FTP function for the specific group Permission Type of permission l Read Only HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 233 22 User management and passwords ...

Page 236: ...dresses For example the two following rules set the HMI device unit can only be accessed by all the IP addresses 192 168 on your local network in which only the IP address of 192 168 1 20 can access the device without entering a login name Element Description IP list IP addresses authorized to access the HTTP server By default all Login When disabled the username and password are not required Acce...

Page 237: ...Default configuration allows access to the following l PUBLIC folder and Index html Miscellaneous settings In the Miscellaneous tab you can define various authorization settings Note Some of these settings are group specific while other are common to all groups Option Description Can enter config mode Enables switching from runtime to configuration mode Normally used for maintenance Can manage oth...

Page 238: ...ult is 3 Assigning widget permissions from page view You can assign different levels of security to different user groups on a single widget directly from the project pages 1 Right click on the widget and select Security settings 2 Choose the group the authorization dialog for the group is displayed 3 Set the security properties to access the widget See Modifying access permissions on page 231 for...

Page 239: ... time Minutes of inactivity after which the user is logged off Set to 0 to disable Password Minimum Length Minimum length of password Must Contain Special Characters Password must contain at least one special character Must Contain Numbers Password must contain at least one numeric digit Default user You can define only one default user in a project This is the user automatically logged in at syst...

Page 240: ...elect the Delete Dynamic Files in the download dialog Force remote login Path ProjectView right click Security Force Remote Login Select this option to force user to log in when using remote access viaHMWIN Client If not selected remote access will use the same level of protection of local access Important This function only works when user management is enabled Tip Use this option when you have a...

Page 241: ... is enabled the actions are traced together with the name of the user Only administrator user can modify this setting Enable disable audit trail 240 Configure audit events 240 Configure tags for audit trail 241 Configure alarms for audit trail 242 Configure recipes for audit trail 242 Configure login logout details 243 Exporting audit trail as csv files 243 Viewing audit trails 244 HMWIN Studio Us...

Page 242: ...unction Configure audit events You can have more than one set of audit records You need to configure a dedicated event buffer Creating an event buffer Path ProjectView Config double click Event Buffer 240 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Enable disable audit trail ...

Page 243: ...es Type Type of events logged l Alarms l Audit l Generic Storage Device Device where audit data will be stored Configure tags for audit trail Path ProjectView AuditTrail click AuditTrail Track only the tags related to actions that you want to keep under control For tracked tags all write operations will be logged together with the time stamp and user that performed the operation HMWIN Studio User ...

Page 244: ...formed on the specified alarms will be logged Configure recipes for audit trail Path ProjectView AuditTrail click AuditTrail Track only the recipes related to actions that you want to keep under control For tracked recipes all transfer operations will be logged together with the time stamp and user that performed the operation 242 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Ele...

Page 245: ...ed additional event buffers of type Audit then you can choose them from the Event Buffer combo box or you can leave the value AuditTrail that will use the default buffer Exporting audit trail as csv files To view audit trail data you have to export it o a csv file using the DumpEventArchive action See System actions on page 135 for details HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Pana...

Page 246: ... HMI Runtime CGI when the action is performed by a remote client Action Action executed Information Action status and operation executed For example write Tag Tag1 50 Viewing audit trails Audit trail data must be exported as a data file for viewing See Exporting audit trail as csv files on the previous page for details 244 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Wo...

Page 247: ... used in reports When configuring reports HMWIN Studio provides access to a dedicated widget gallery featuring only widgets available for reports Reports format can be customized using predefined templates for page layout Note Report printing is not supported by HMWIN Client Adding a report 246 Configuring text reports 246 Configuring graphic reports 247 Print triggering events 248 Default printer...

Page 248: ...e Configuring graphic reports on the facing page for a list of supported printer drivers Configuring text reports Use the Reports editor Paper Size in number of characters Setting printer options Use printer options to control flush of pages on printer Printing starts either immediately or after a timeout In printer options you can force flush as soon as a specific condition occurs after a specifi...

Page 249: ...ou to reorder or delete the pages Modifying report page content 1 Double click on a page to edit its content the Graphic Report editor appears Each page is divided in header footer and page body 2 Double click on the area you want to edit the edit area is shown in white others are grayed out The Widget Gallery is context sensitive and displays only the widgets available for the area you are editin...

Page 250: ...s and numeric fields Print triggering events Report printing can be triggered by events Configuring alarm printing Path ProjectView Config double click Alarms 1 In the Alarms editor open the Event Types dialog from the Events column 2 In Print tab select all the conditions for which you want to trigger printing Important Only one report can be set as Active alarm report in a project and it can be ...

Page 251: ... Printed Files Location Supported printers List of printers and printer languages supported by the Windows CE driver printCE dll Printers not available in the list but compatible with these languages are supported Printer Languages HP PCL 3 HP PCL 5e HP PCL3GUI HP PCL3 PCL5e PCL3GUI including DeskJet LaserJet DesignJet Epson ESC P2 ESC P2 LQ Epson Stylus Color Epson Stylus Color Epson LX 9 pin 9 p...

Page 252: ...s have been tested with printCE drivers in Windows CE HMI devices Driver Printer Model Graphic Line Custom Plus 4 Kube II Yes Yes Epson ESC P 2 Epson AcuLaser M2310 Yes Simulate Epson LX 9 pin Epson LX 300 II No Yes HP PCL 3 HP LaserJet P2015dm HP LaserJet 4700dtn Yes Yes Simulate Yes HP PCL 3 GUI HP Deskjet 1010 HP Deskjet D5560 HP LaserJet 4700dtn Yes Yes No No No Yes HP PCL 5e HP LaserJet P2015...

Page 253: ...nter Model Graphic Line Intermec PB50 printers in standby mode after a first successful print job PDF Yes No HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 251 24 Reports ...

Page 254: ...252 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Default printer ...

Page 255: ... the screen saver function Path ProjectView Config right click Screen Saver Enable Important You must enable the screen saver before you can configure it Configuring a screen saver Path ProjectView Config double click Screen Saver Slide show parameters Parameter Description Timeout Time after which the slide show starts Slide Interval Interval between slides HMWIN Studio User Manual v206 2017 06 3...

Page 256: ...folder on the device itself Important Only JPEG and PNG images are supported Associating actions to the screen saver Actions can be triggered by the screen saver start and or stop l Click next to Actions in the onStart tab to configure actions to be executed when the screen saver starts l Click next to Actions in the onStop tab to configure actions to be executed when the screen saver stops 254 HM...

Page 257: ...older containing HMI Runtime projects dynamic files such as recipes alarms trends and so on to a zip file standard or encrypted 3 Reloads the project To start the backup procedure 1 In HMI Runtime right click to open the context menu 2 Select Backup the Backup dialog is displayed 3 Select the path for storing the backup file Note The backup process does not include files stored in USB and SD cards...

Page 258: ...256 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...

Page 259: ...sociate with a string data type The numeric keypad can be use associate with a numeric data type The calendar keypad can be use associate with a date data type Creating and using custom keypads 259 Deleting or renaming custom keypads 261 Keypad type 261 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 257 ...

Page 260: ...Keypad position 262 258 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...

Page 261: ...isplayed 2 Select one of the available keypads or Blank to create a keypad from scratch In this case a blank keypad is displayed 3 Use the Keypad Widgets and Keypad Buttons from the Widget Gallery to create your custom keypad The keypad you create as in this example will be saved in the project folder HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 259 27 K...

Page 262: ...be a backup of the original settings for the numeric keypad 2 Customize the default numeric keypad and save it This customized version of the numeric keypad will now be assigned as default in the project See Deleting or renaming custom keypads on the facing page for details on how to rename a custom keypad Up down arrows keypad This type of keypad is particularly useful to move the cursor up and d...

Page 263: ...Page to remove the keypad from the project l Rename Keypad Page to rename the keypad Keypad type Path ProjectView Keypads double click a keypad Properties Set Keypad Type parameter for a keypad to define the type of data entry HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 261 27 Keypads ...

Page 264: ...attached field is numeric as 1A if the attached field is ASCII or if the attached field is hexadecimal Keypad position Runtime Positioning property of keypads can be used to define where keypads will appear in the screen Option Description Automatic The best position is selected according to here data entry is required Absolute X Y coordinates are entered to identify the exact position Left top Le...

Page 265: ...d by all the pages In each page you can then choose which key setting will be inherited from the project and which one you will customize for the specific page Opening external keyboards 1 In the Page Editor click on the icon on the right of Keyboard Script at the bottom of the workspace the Keyboard Script Editor is displayed 2 Select the Keyboard tab Each row in the Keyboard Editor corresponds t...

Page 266: ...and cannot be edited Only the configured project actions if any will be executed Unchecked Checked Inherits project actions check box and all action lists are disabled Action lists show the project actions only No page or project action will be executed Unchecked Unchecked Inherits project actions check box and all action lists are disabled Action lists show the project actions only No page or pro...

Page 267: ...ion in Shows Option Description all keys All keys available in the keyboard layout are listed modified keys Only the keys associated with actions at the page level are listed modified keys in project Only the keys associated with actions at project level are listed Removing action associations To remove all the associations you created between keys and actions 1 Select the keys for which you want ...

Page 268: ...tions in the Properties pane set Keboard macro to true You can enable disable keyboard actions also at run time using the KeyboardMacros action See Keyboard actions on page 119 for details Associating actions to keys You associate actions to a keys from the Keyboard editor 1 Click next to the key you want to program the fields for key configuration are displayed 266 HMWIN Studio User Manual v206 2...

Page 269: ... to the OnClick event and toe the OnHold event See Events on page 35 for details Note Also JavaScript code can be associated to a key event HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 267 28 External keyboards ...

Page 270: ...268 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Associating actions to keys ...

Page 271: ...is used alarms pages recipes schedulers trends and so on l identify invalid tag references references to tags not defined in the tag editor l identify tags not used in the project Note The Tag Cross Reference pane does not list tags used in JavaScript code Updating data in the Tag Cross Reference pane 270 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 269 ...

Page 272: ...s tags listed in the Tag Editor but not used in project Search field Applies a filter to display a limited number of tags Filter by Filters tags by Location Tag or Property Navigate the listed tags to find where they are used inside the project Double click on a tag to open the editor or page where it is used Updating data in the Tag Cross Reference pane Manual update By default the information di...

Page 273: ...exported in csv file Data is organized in the exported file according to how it was grouped in the pane Grouped by File format Location RESOURCE RESOURCE DESC WIDGET ID ATTRIBUTE TAG Tag TAG RESOURCE RESOURCE DESC WIDGET ID ATTRIBUTE Note The separators used in export operation depends on regional settings of your computer HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Wo...

Page 274: ...272 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Updating data in the Tag Cross Reference pane ...

Page 275: ...eful for example to use the same graphics to visualize a set of data coming from different sources all the user has to do is pick the source to monitor from a list Creating an indexed addressing set 274 Using indexed tag set in pages 277 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 273 ...

Page 276: ...ng the indexed addressing feature you can use a single table format to arrange all data in the HMI device Data from the three different sensors can be displayed in a single page where the room number is used as a selector combo box to pick the correct set of tags How to create an indexed tag set Path ProjectView Tags To do this you need to create an indexed tag set 1 In the Tag Editor define proto...

Page 277: ...as for each type of data and rename the table columns appropriately In this example Temperature Pressure and Humidity 8 Double click on each cell to associate the correct tag Note The Index Tag datatype can be a number a string or any type of simple data types Note To reference an array data type use the array index 1 Autofill function An Indexed Tag Set table may become very complex and filling i...

Page 278: ...lias labels Autofill example Room Instance Alias will match all tag names Room1 Temperature Room1 Pressure Room1 Humidity Room2 Temperature Room0 Instance Alias will match all tag names Room1 Temperature Room01 Pressure Room001 Humidity Room2 Temperature Room02 Pressure Room002 Humidity 276 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Creating an indexed...

Page 279: ...erences and can be set for the entire table or for a column Once a filter is set for a column the table filter is ignored You can therefore selectively change the filter for handling a particular alias only Note To reference the elements of an array use the character to disable the regular expression interpretation of the square brackets array tags are differentiated by Italic Using indexed tag se...

Page 280: ...r the room number 3 Create a list for the combo box In this example use the following list Index String List 0 Room Number 1 Room 1 2 Room 2 3 Room 3 4 Room 4 4 Attach to each numeric field value the corresponding Alias variable Room Temperature Room Humidity Room Pressure 278 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Using indexed tag set in pages ...

Page 281: ...pcua Alarm Active TRIGGERED TRIGGERED_NOT_ ACKED TRIGGERED_ACKED Opcua Alarm Acked TRIGGERED_ACKED NOT_TRIGGERED_ACKED Opcua Alarm Retained TRIGGERED TRIGGERED_NOT_ACKED TRIGGERED_ACKED alarm requires reset flag state NOT_TRIGGERED Opcua Alarm Confirmed when alarm requires reset flag state is NOT_TRIGGERED OPC UA confirm operation is mapped to the reset operation Confirmation only works if the ala...

Page 282: ...es Certificate based authentication is accepted Server can support all options simultaneously For example suppose there are 3 clients Let Client 1 has only anonymous support Client 2 has only user password support And Client 3 has only certificate support All three can connect if all checkboxs are checked in server config editor Server Identity Parameter Description Manufacturer name A human reada...

Page 283: ...ontrol list widgets 291 DateTime widget 293 Gesture area widget 293 IP Camera widgets 295 Javascript function block widget 298 Media Player widgets 299 Multistate Image widget 302 Multistate Image Multilayer widget 303 Network Adapters widget 305 RSS Feed widget 305 Scrolling RSS Feed widget 306 Table widget 307 TextEditor widget 314 Variables widget 316 HMWIN Studio User Manual v206 2017 06 30 EN...

Page 284: ...ault URL to open when widget is shown on the page Zoom to Fit Automatically scales content to the size of view area Time out Page load timeout in seconds Clear History Automatic history clear on load Scroll Shows hides scrollbars Show Progress cursor Shows hides loading cursor This allows you to save around 3 MB of space if the widget is not required in your project An Hyper Link widget is availab...

Page 285: ...formation is applied coordinate system is not scaled and drawing is clipped inside the widget bounding rectangle l Fit to size Fit to the widget size preserving the canvas model aspect ratio l Stretch Fit to the widget size ignoring the canvas model aspect ratio Example using a Canvas size larger than the widget size Design Time Preview Canvas preview inside HMWIN Studio Note the JavaScript code c...

Page 286: ...real x1 qreal y1 l CanvasGradient createRadialGradient qreal x0 qreal y0 qreal r0 qreal x1 qreal y1 qreal r1 Rectangle Functions l void clearRect qreal x qreal y qreal w qreal h l void fillRect qreal x qreal y qreal w qreal h l void strokeRect qreal x qreal y qreal w qreal h l void rect qreal x qreal y qreal w qreal h Path l void beginPath l void closePath l void moveTo qreal x qreal y l void line...

Page 287: ...arraybuffer l void putImageData ImageData imgData double dx double dy l void putImageData ImageData imagedata double dx double dy double dirtyX double dirtyY double dirtyWidth double dirtyHeight l ImageData getImageData qreal sx qreal sy qreal sw qreal sh Canvas JavaScript Example The canvas is initially blank To display something a script first needs to access the rendering context and draw on it...

Page 288: ...isplay only the values selected in the combo box Parameter Description Index Index of the selected item List String List Item strings in the combo box Note This field is multi language Data Data List Returns the value in the Data List column as string in the Data field of the widget Tip Use this parameter to return a custom value based on an item selected in the combo box Text Format of displayed ...

Page 289: ...he look and behavior of Combo Boxes can switches from Context mode to Full Screen mode Path ProjectView double click Project properties Properties pane Style ComboBox View Mode Parameter Description ComboBox View Mode Select the visualization mode of all the Combo Box widgets of the project Context Classic view with drop down menus Full screen Enhanced view with configurable texts and images that ...

Page 290: ...ll screen mode The additional Image List column will be available inside Combo Box List parameter Note Some properties are displayed only in advanced mode 288 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Combo Box widget ...

Page 291: ...Path Widget Gallery Basic Trends Graphs Use this widget to monitor a resource which is continuously increasing The system reads the value of the resource and calculates the increment in a set range of time the increment is then displayed in a bar graph in a trend like window Different colors can be used to used in the graph based on the time frame Tip Use this widget to calculate the power consump...

Page 292: ... when energy consumption started 2 Add a Trend and link it to the tag to be monitored Tag KWh 3 Add a Consumption Meter widget to a page 4 Attach the Value property of the Consumption Meter to the Trend you created in step 2 5 Set Graph Duration Units to 1 week this will give you a weekly graph of consumed energy 6 Set Bar Duration Units to 1 day this is the time range when energy consumption is c...

Page 293: ...orted by the Consumption Meter widget Control list widgets Path Widget Gallery Advanced Control List Use these widgets to represent the status associated with a particular process and to control that process from the same widget Two types of control lists are available l a group control list with a limited set of navigation button already included and l a basic control list with no pre configured ...

Page 294: ...List Data Adds removes list items Defining states Add remove states that is items in the list from the List Data property Any value can be assigned to a state When you activate the state by selecting the related item if in WriteOnSelect mode or selecting it and confirming with enter if Write On Enter this will write the value assigned to state to the tag linked to the Control List widget Value 292...

Page 295: ...me Time options Option Description local shows local time the time of the HMI device where the project is running global shows Global Time GMT server shows time information as handled by the server side of the HMI device Gesture area widget Path Widget Gallery Buttons Others Gesture Area Widget is a hotspot button that generates pan and pinch gesture events HMWIN Studio User Manual v206 2017 06 30...

Page 296: ...on page 340for details on these event types Swipe Gesture How to recognize a swipe gesture to change page in the application 1 Put a Gesture area widget into the page 2 Configure the OnPan Action to trigger a JavaScript function 3 Write the JavaScript code that recognize the swipe gesture 294 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Gesture area widg...

Page 297: ... of streaming is not fixed and depends on many factors such as frame size frame compression level CPU of HMI device quality of IPCamera Based on these factors the widget can reach up to 25 fps You can add multiple IP Camera widgets but this will reduce the frame rate for each widget Supported IPCameras The following IP Cameras have been tested so far IPCamera Protocol URL Apexis APM J901 Z WS PTZ ...

Page 298: ... may be different as per IP Camera settings l user username defined into IP Camera settings l pass password defined into IP Camera settings Hamlet HNIPCAM IP Camera MJPEG HTTP http ip_address video cgi http ip_address image jpg MOXA VPort 254 Rugged 4 channel MJPEG MPEG4 industrial video encoder MJPEG HTTP http ip_address moxa cgi mjpeg cgi http ip_address moxa cgi getSnapShot cgi chindex 1 NVS30 ...

Page 299: ...80 resolution into IP Camera settings PTZ Controls widget PTZ pan tilt zoom cameras are cameras capable of remote directional and zoom control The PTZ Controls widget uses the MoveIPCamera action to send HTTP cgi commands to the PTZ IP Camera Parameter Description Camera URL URL of IP Camera User Name Name of user allowed to access the camera Set this parameter when access to the camera is passwor...

Page 300: ...avascript logic that is executed when tags values change Parameter Description value1 value16 Objects that will trigger the OnDataUpdate action OnDataUpdate Action that will be executed when a change of an associated value is detected Note This widget is rendered only in HMWIN Studio and it is not rendered in the HMI device Example A Javascript code that check the combination lock of three selecto...

Page 301: ... 340for the description of the onDataUpdate parameters Media Player widgets Path Widget Gallery Media Media Player HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 299 32 Special widgets ...

Page 302: ...ne repeats the first video in the playlist l LoopAll repeats the entire playlist l Random plays the videos in a random order Note The Media Player widget only works with some HMI devices HMI devices based on ARM Cortex A8 1Ghz and Win32 platform It doesn t work the HMWIN Client Note You can have only one Media Player widget in a page Important Use the same codecs and settings for all the videos of...

Page 303: ...the videos from running jerky a maximum resolution of 640x512 pixels and a bit rate of 1300 kb s are suggested In addition the size of the Media Player widget used on the page should have the same size as the videos in the playlist in order to avoid upscaling and downscaling Audio is not supported Converting a video This procedure describes ho to convert a video using eRightSoft SUPER video conver...

Page 304: ...dget var mediaWgt page getWidget MediaPlayerWgt2 load the play list mediaWgt setProperty medialist Storage Card demo_3 avi Storage Card video1_ 3 avi set the loopstyle 0 noloop 1 loop one 2 loop all 3 random mediaWgt setProperty loopstyle 2 start playing the first file mediaWgt mediapath Storage Card demo_3 avi See JavaScript on page 335 for details on how to work with JavaScript Multistate Image ...

Page 305: ...ed index Animate Set to true to enable a slide show Time interval Interval between images in the slide show Multistate Image Multilayer widget Path Widget Gallery Basic Images Use this widget to create different animations and select the most suitable at run time HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 303 32 Special widgets ...

Page 306: ...Description Default Layer Layer shown at run time Name Name of selected layer Default Frame Frame shown when current layer is displayed Color Fill Fill color for images of current layer Animate Enables slide show for active layer Animations can be started stopped at run time attaching it to a tag Time Interval Time interval of slide show if enabled Preview Slide show simulation 304 HMWIN Studio Us...

Page 307: ... The system variable Network Status contains the result of the last operation performed by the IP Widget see Network variables on page 82for details RSS Feed widget Path Widget Gallery Media RSSFeed Source Use this widget to display on the HMI device your favorite RSS feeds directly from the Internet HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 305 32 Sp...

Page 308: ...idget Path Widget Gallery Media RSSFeed Scroll Use this version of the main RSS Feed widget to display highlights inside a text line using a smoothing scrolling text This widget has additional properties Parameter Description Scrolling Scrolling speed Title Separator Separator character between highlights 306 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...

Page 309: ...sed to fill the rows of the table 4 Define the links from widgets and data source Configure the table widget Table widget has two states l View mode l Edit mode Click on the table to manage the widget in view mode double click to enter in the edit mode To exit and return to view mode click outside the table View Mode In view mode you can configure the table layout Drag and drop the table onto the ...

Page 310: ...the table will act as a row template To configure the look of the table click on table s selectors to select the item to configure To configure the contents of cells drag and drop the widgets inside the cells 308 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Table widget ...

Page 311: ...SON table Table Data Source Widget Path Widget Gallery Basic Table 1 Drag and drop a Table Data Source Widget onto the page 2 Set the Table Model parameter to link at the data source Select the Data Source and inside the TableDataSrcWgt Editor add the rows and columns that are needed In the following example we have defined two row templates HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Pa...

Page 312: ... template Widgets that were placed in each cell of the row template will appear in rows of that type Define links with data source 1 Double click over the Table widget to enter in edit mode and select a widget 2 Select the property that is to be read from the data source 3 Select the column of the data source that will provide the data The below picture is showing how our example will be rendered ...

Page 313: ...figuration of the Data Source can be imported exported using xml files JavaScript JSON table In alternative to the Data Source Widget for data to fill the table could be provided from a JavaScript code using a JSON table In this case we have to fill an array of JSON elements with the data to use and assign the array to the table widget var myTable page getWidget TableWgt1 HMWIN Studio User Manual ...

Page 314: ...s the template of one row with the text property of the widget into the first column and the value property of the widget into the second column They will be dynamically filled using the data provided inside the model variable On the below example we define a row of data var row_data _t 1 _v Temperature _c dl s _TagMgr a Tag1 i 0 m 2 The first element is the row template to use while the second el...

Page 315: ... _v var row_data2 _t 1 _v Temperature _c dl s _TagMgr a Tag1 i 0 m 2 var row_data3 _t 1 _v Humidity _c dl s _TagMgr a Tag2 i 0 m 2 var row_data4 _t 1 _v Noise _c dl s _TagMgr a Tag3 i 0 m 2 var row_data5 _t 1 _v Brightness _c dl s _TagMgr a Tag4 i 0 m 2 model 0 row_templates model 1 row_data1 model 2 row_data2 model 3 row_data3 model 4 row_data4 model 5 row_data5 HMWIN Studio User Manual v206 2017...

Page 316: ...Language Text Example l en US Temperature l it IT Temperatura Example var row_data2 _t 1 _v _c ml mltext en US Temperature it IT Temperatura _c dl s _TagMgr a Tag1 i 0 m 2 TextEditor widget Path Widget Gallery Advanced Editor Use this widget to edit text files Widget can load the text file from the local HMI device or download the file from a remote device using an ftp connection 314 HMWIN Studio ...

Page 317: ...d the text file from a remote FTP server Leave this filed empty to load the text file from the local HMI device Parameter Description FTP Address FTP server IP Address Server Port Port for FTP connection default 21 Authentication Select the FTP authentication to use l Normal Username and password required l Anonymous User Name Username of the remote FTP account Password Password of the remote FTP ...

Page 318: ...rop this widget into you page a place holder will be displayed to indicate the widget location but it will not be visible at run time Setting the widget To create variables and assign values to them open the Variables dialog from the Variables property in the Properties pane These variables can then be referenced from the Attach tag dialog from the Page Editor 316 HMWIN Studio User Manual v206 201...

Page 319: ...enced in JavaScript programs with the following syntax For local variables var varWgt page getWidget _VariablesWgt var compVar varWgt getProperty VariableName For global variables var varWgt project getWidget _VariablesWgt var compVar varWgt getProperty VariableName HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 317 32 Special widgets ...

Page 320: ...318 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Variables widget ...

Page 321: ...ll widgets in the gallery are vector based so they do not loose definition when resized You can however modify any of the pre defined widgets to create your own custom widget Custom widgets can be made up of several elements only including the properties needed to their purpose Creating a custom widget 320 Adding properties to a custom widget 322 Using structured tags 324 JavaScript in custom widg...

Page 322: ...me You can define everything you prefer but is common keep a name structure The folder com hmi is reserved for the system widgets Description Widget description Version Widget version All widgets that share the same version share the properties defined from the Inheritance parameter Inheritance Properties shared between widgets with the same version l Full both Graphic and Logic l Only Graphic l O...

Page 323: ...dit mode padlock will be open Click again when modifies are done Padlock is showed only when the Inheritance is enabled Share properties When a custom widget is modified all the modifies will be propagated to all the other custom widgets that share the same version and that are configured to inherit the widget properties Using widgets components Widgets are usually made up of many parts for exampl...

Page 324: ...et select it directly form the ObjectView pane Adding properties to a custom widget When you create a custom widget you need to define the properties that will be displayed for it in the Properties pane 1 Right click on the grouped object and select Widget catalog the properties dialog is displayed 322 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Adding ...

Page 325: ...ced Specifies whether each property should appear in the advanced or in the simple view mode of the Properties pane Aliased properties Internal properties linked with the exposed property Combining properties To combine two or more properties 1 Select the primary property in the Properties list dialog 2 Click in the Aliased properties toolbar the Property Select dialog is displayed 3 Select the pr...

Page 326: ... room name temperature humidity and pressure If we want use two instances of this widget for two different rooms we have to configure eight tags four tags for each room By using a Parameter property is possible to set all the data links of the widget by giving only the name of the structure A Parameter field can be added inside the custom widget using the Add Parameter icon 324 HMWIN Studio User M...

Page 327: ...sed to reference at the structure instance Type filter Using Type filter parameter when attach to tag is opened the listed tags will be filtered using the filter value HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 325 33 Custom widgets ...

Page 328: ... doing a double click on the custom widget and clicked on the padlock the edit mode is active and it is possible to associate the JavaScript code to the available events 326 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG JavaScript in custom widgets ...

Page 329: ... of the widget you can use the keyword wgt it to reference at the id of the active widget instance as for the below example If you cut and paste some instances of the custom widget of the above example you will obtain the below result HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 327 33 Custom widgets ...

Page 330: ...cted widgets folder into the HMWIN Studio editor Add a new widgets folder Delete current selected folder Select the user widgets folder To add a new widget into the user gallery open the widget folder and then edit the gallery page creating or adding the new widget Tip To import a user gallery sub folder simply copy the folder to import inside the main user gallery folder 328 HMWIN Studio User Man...

Page 331: ...HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 329 33 Custom widgets ...

Page 332: ...330 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG User s Gallery ...

Page 333: ...ody and attachments The SendMail action has been created for working with alarms and schedulers but can be triggered and executed by many other events Configuring the email server 332 Configure emails 332 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 331 ...

Page 334: ...ation is only for the log Description Optional this information is only for the log From Optional sender email address for example John domain com To Recipient e mail addresses To enter multiple addresses separate them with a semi colon Subject Subject of email Attachment Path of the file to be sent as attachment Only one attachment at a time can be sent Note The maximum size of the attachments is...

Page 335: ...message body is 4096 bytes the exceeding text will be truncated Adding email templates Click to add more templates HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 333 34 Sending an email message ...

Page 336: ...334 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Configure emails ...

Page 337: ... language refer to https developer mozilla org en JavaScript JavaScript editor 337 Execution of JavaScript functions 337 Events 339 Widget events 340 Page events 343 System events 344 Objects 346 Widget class objects 347 Widget properties 347 Widget methods 350 Page object 352 Page object properties 352 Page object methods 353 Group object 355 Group object methods 355 Project object 356 Project ob...

Page 338: ...andling read write files 370 Limitations in working with widgets in JavaScript 373 Debugging of JavaScript 373 336 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...

Page 339: ...scope local to the page where they are added global scripts can be created to be executed by scheduler events or alarm events In both cases scripts are executed on the client This means that if more than one client is connected to the HMI device for external computer running the HMWIN Client each client will run the same script providing different output results depending on the input since inputs...

Page 340: ...the JavaScript editor from the Script tab at the bottom of the workspace JavaScript functions for alarms and scheduled events JavaScript code associated with alarms and scheduled events and not associated with a specific page can be edited from the main Project properties page Path ProjectView double click Project properties 338 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Elect...

Page 341: ...o share JavaScript code between the pages Variables are created initialized from the main JavaScript code from the main Project properties page and can then be used from the project pages Events You can add JavaScript to the following categories of events HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 339 35 JavaScript ...

Page 342: ... Mouse wheel delta Integer value with sign representing the rotation direction The actual value is the rotation amount in eighths of a degree The smallest value depends on the mouse resolution Typically this is 120 corresponding to 15 degrees Widget events onMouseClick void onMouseClick me eventInfo This event is available only for buttons and it occurs when the button is pressed and released quic...

Page 343: ...arameter Description me Object triggering the event eventInfo Details of triggered event function buttonStd1_onMousePress me eventInfo do something onMouseRelease void onMouseRelease me eventInfo This event is available only for buttons and it occurs when the button is released Parameter Description me Object triggering the event eventInfo Details of triggered event function buttonStd1_onMouseRele...

Page 344: ...ing the code with true the control is not returned to the widget and this makes sure that no additional actions are executed following the calling event function buttonStd1_onDataUpdate me eventInfo if eventInfo oldValue 0 do something return false OnPan boolean onGesturePan me eventInfo This event is only available for gesture area buttons it occurs when one point inside the area has pressed and ...

Page 345: ...ture completion dx Total X axis movement in screen pixel units from initial touch position It represents the distance change between fingers Positive value means that the distance is increasing negative value means that the distance is decreasing This amount may be used to control a zoom value dy Total Y axis movement in screen pixel units see dx function gstArea_onGesturePinch me eventInfo wTYPE ...

Page 346: ...bject triggering the event eventInfo Reserved for future use function Page1_onDeactivate me eventInfo do something onWheel void onMouseWheelClock me eventInfo This event occurs when a wheel device is moving for example a mouse wheel Parameter Description me Object triggering the event eventInfo Details of triggered event function Page1_onMouseWheelClock me eventInfo do something System events Syst...

Page 347: ...ck at page level When a JavaScript callback is not found in the current page the system automatically searches for it at project level Scheduler events These events occur when triggered by the associated action in the scheduler You can edit the JavaScript from the Project Properties tab Alarm events These events occur when triggered by the associated alarm condition HMWIN Studio User Manual v206 2...

Page 348: ...s HMWIN Studio uses JavaScript objects to access the elements of the page Each object is composed of properties and methods that are used to define the operation and appearance of the page element The following objects are used to interact with elements of the HMI device page Object Description Widget This is the base class for all elements on the page including the page element Page This object r...

Page 349: ... base class for all the elements on a page including the page element Widget in this case is not used to indicate a specific screen object but a JavaScript class Changing widget properties with JavaScript If you want to change the properties of widgets with JavaScript set the widget property Static Optimization to Dynamic Important If the widget property Static Optimization is not set to Dynamic c...

Page 350: ...wgt page getWidget rect1 wgt x 10 Available on web pages y number y Gets or sets the widget y position in pixels function btnStd1_onMouseRelease me var wgt page getWidget rect1 wgt y 10 Available on web pages width number width Gets or sets the widget width in pixels function btnStd1_onMouseRelease me var wgt page getWidget rect1 wgt width 10 Available on web pages 348 HMWIN Studio User Manual v20...

Page 351: ... function btnStd5_onMouseRelease me var wgt page getWidget rect1 wgt visible true value number value Gets or sets the widget value function btnStd6_onMouseRelease me var wgt page getWidget field1 wgt value 100 opacity number opacity range from 0 to 1 Gets or sets the widget opacity Values are decimals from 0 to 1 where 1 is 100 opaque function btnStd8_onMouseRelease me var wgt page getWidget rect1...

Page 352: ...nStd9_onMouseRelease me var wgt page getWidget rect1 wgt userValue Here I can store custom data Every widget has some specific properties that you can access using dot notation For an up to date and detailed list of properties you can use the JavaScript Debugger inspecting the widget methods and properties Widget methods Some methods are common to all widgets getProperty object getProperty propert...

Page 353: ...lue String containing the value to set the property index Index of the element to set in the array default 0 Almost all properties that are shown in the HMWIN Studio Properties pane can be set by this method The index value is optional and only used for Widgets that support arrays for example a MultiState Image widget The setProperty method returns a boolean value true or false to indicate if the ...

Page 354: ...ilable on web pages width number width Page width in pixels function btnStd05_onMouseRelease me var middle_x page width 2 Available on web pages get only height number height Page height in pixels function btnStd05_onMouseRelease me var middle_y page height 2 Available on web pages get only userValue string userValue Gets or sets a user defined value for the widget This field can be used by JavaSc...

Page 355: ...l is returned function btnStd1_onMouseRelease me var my_button page getWidget btnStd1 Available on web pages setTimeout number setTimeout functionName delay Starts a timer to call a given function after a given delay Parameter Description functionName String containing the name of function to call delay Delay in milliseconds Return value A number corresponding to the timerID var duration 3000 var ...

Page 356: ...rameter Description functionName String containing the name of function to call interval Interval in milliseconds Return value A number corresponding to the timerID var interval 3000 var myTimer page setInterval innerChangeWidth interval Available on web pages clearInterval void clearInterval timerID Stops and clears the interval timer with the given timer Parameter Description timerID Timer to be...

Page 357: ...arameter Description TagName String representing the tag name Return value An object that is the value of the tag or if tag value is an array the complete array If you need to retrieve an element of the array check the method getTag available in the project object Undefined is returned if tag is invalid var group new Group project getGroup GroupName group var value group getTag Tag1 Available on w...

Page 358: ...widget The project widget is used to retrieve data about the project such as tags alarms recipes schedules tags and so on There is only one widget for the project and it can be referenced through the project variable Project object properties Properties to be set at project level startPage string startPage Page shown when the project is started var startPage project startPage project startPage Pag...

Page 359: ...ilable on web pages homepage void homePage The script executes the Home page action project homePage Available on web pages loadPage void loadPage pageName The script executes to load the set page defined in the script project loadPage Page5 jmx Available on web pages WARNING When page change all active time events are forced to removed and the JavaScript procedure will run until the end before sw...

Page 360: ...p number getGroup groupName groupInstance callback Fast read method this gets the values of all tags in a group Parameter Description groupName String containing the name of the group groupInstance Group element to be filled callback String containing the name of the function to be called when the group is ready Return value A number value that is the status 1 for success 0 for fail var group new ...

Page 361: ... String of tag name state State element to be filled index Index if the tag is of array type 1 returns the complete array Default 0 callback Function name if an asynchronous read is required Default forceRefresh Optional parameter True the Runtime will read an updated value of the tag directly from the device Default is false Return value Tags value is returned If tag is array type and index 1 the...

Page 362: ...ite index Index if the tag is of array type 1 pass the complete array Default 0 forceWrite Boolean value for enabling force write of tags the function will wait for the value to be written before it returns back Default false Return value Interger value for denoting success and failure of action when forceWrite is true 0 means success and 1 means failure If forceWrite is false returned value will ...

Page 363: ...l selected alarms project selectAllAlarms true project ackAlarms project selectAllAlarms true Available on web pages resetAlarms void project resetAlarms Reset all selected alarms project selectAllAlarms true project resetAlarms project selectAllAlarms true Available on web pages enableAlarms void project enableAlarms Enable all selected alarms project selectAllAlarms true project enableAlarms pro...

Page 364: ...ecipeItem recipeName recipeSet recipeElement value Gets the value of the given recipe set element Parameter Description recipeName String representing the recipe name recipeSet String representing the recipe set can be either the recipe set name or 0 based set index recipeElement String representing the recipe Element can be either the element name or 0 based element index value An object containi...

Page 365: ...e or 0 based set index project uploadRecipe recipeName Set launchApp void launchApp appName appPath arguments singleInstance Executes an external application Parameter Description appName String containing the application name appPath String containing the application absolute path Arguments String containing the arguments to be sent to application singleInstance true only single instance allowed ...

Page 366: ...s text silentMode Prints a hexadecimal string representing data to print For example 1b30 to print ESC 0 Parameter Description text Hexadecimal string to print silentMode True silent mode enabled No printer settings dialog is displayed project printText Hello I Am Text Printing true emptyPrintQueue void emptyPrintQueue Empties the print queue Current job will not be aborted project emptyPrintQueue...

Page 367: ...status Status string Description error An error occurred during printing printing Ongoing printing idle System is ready to accept new jobs paused Printing has be suspended var status project printStatus project setTag PrintStatus status printGfxJobQueueSize project printGfxJobQueueSize Returns the number of graphic reports in queue for printing var gfxqueuesize project printGfxJobQueueSize project...

Page 368: ...sage alert actual ram usage is myVar printRAMQuota project printRAMQuota Returns the maximum allowed RAM usage for printing queues var ramquota project printRAMQuota project setTag printRAMQuota ramquota printActualDiskUsage project printActualDiskUsage Returns the spool folder disk usage for PDF printouts var myVar1 project printActualDiskUsage alert actual disk usage is myVar1 printDiskQuota pro...

Page 369: ...ame string getCurrentPageName Return the name of current active page Get PageMgr widget var pageMgr project getWidget _PageMgr Show Current Page var currentPageName pageMgr getCurrentPageName project showMessage Current active page is currentPageName Available on web pages hasPage boolean hasPage string pageName Return true if the page exist false otherwise Get PageMgr widget var pageMgr project g...

Page 370: ... qbits state getQualityBits Available on web pages getTimestamp number getTimestamp Returns time the value was sampled Return value A number containing the timestamp for example 1315570524492 Note Date is a native JavaScript data type var state new State var value project getTag Tag1 state 0 var ts state getTimestamp isQualityGood boolean isQualityGood Returns whether the value contained in this s...

Page 371: ...on btnStd04_onMouseRelease me var wgt page getWidget rect1 var name wgt objectName project object project References the project widget var group new Group project getGroup GroupName group var value group getCount Tag1 Global functions print void print message Prints a message to the HMI Logger window Parameter Description message Message string print Test message HMWIN Studio User Manual v206 201...

Page 372: ...g in the specified path Returns true on success and false if it fails Parameter Description strPath Path string Remove folder boolean fs rmdir dirPath Remove directory at strPath if exists and empty Returns true on success and false if it fails Parameter Description dirPath Folder string Read folder content object fs readdir dirPath Reads the contents of a folder Returns an array of the names of t...

Page 373: ...text file l r replaces the contents of the file with fileData l ab appends fileData to the end of the binary file l rb replaces the contents of the binary file with fileData Default flag is for writing text file in append and write mode File path will be created if not present Returns 1 if write error occurs Append file int fs appendFile strFile fileData If the files does not exist creates it othe...

Page 374: ...folder fileStats size Size in bytes of that file fileStats atime Date object representing the last read access time fileStats mtime Date object representing the last write access time fileStats ctime Date object representing the creation time fileStats perm File permissions If path is invalid both isFile and isDir fields return false File permission table 0x4000 File is readable by the owner of th...

Page 375: ...16MB and an exception is raised when there is not enough available memory Good programming practice is to include the fs readFile call inside a try catch block Limitations in working with widgets in JavaScript Widgets cannot be instantiated by JavaScript they can only be accessed and changed If you need additional widgets on the page you can add hidden widgets on the page and then display or posit...

Page 376: ...ipt Debugger refer to http qt project org doc qt 4 8 qtscriptdebugger manual html Remote JavaScript Debugger Path Run Start JS Remote Debugger 1 Set the Allow JavaScript Remote and the JavaScript Debug parameters in the project Properties to true in all the pages where debugging is required 2 Download the project the following message is displayed on the runtime 374 HMWIN Studio User Manual v206 2...

Page 377: ...tion a garbage collection is forced to see if some memory can be freed JavaScrip memory limit can be accessed from the global object EngineMemory The default is 16MB which should be enough for the typical JavaScript usage mainly control without many allocations l EngineMemory setLimit set maximum memory allowed for JavaScript the default limit is 0x00FFFFFF l EngineMemory getLimit get maximum memo...

Page 378: ...376 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Debugging of JavaScript ...

Page 379: ...n the Scrollbars Type parameter has been set to Gesture the pan gesture is used to smoothly scroll the table l Alarms l Control List WARNING pinch gesture requires two fingers It is available only with HMI devices supporting multi touch operation see HMI devices capabilities on page 435 Tip Using multi touch HMI device you can implement safe commands by programming a command to be executed only wh...

Page 380: ...378 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...

Page 381: ...MWIN Studio see Updating system components in HMI devices on page 417 for details CAUTION Working with the System Settings tool is a critical operation and when not performed correctly may cause product damages requiring service of the product Contact technical support for assistance WinCE Devices 380 Linux Devices 387 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works ...

Page 382: ...de l System mode For each mode different options are available Runtime Installation HMI devices are delivered from factory without Runtime at first power up HMI shows the Runtime Loader screen Runtime can be installed l Automatically via Ethernet on first project download with HMWIN Studio l Manually via USB Memory creating an Update Package Install Runtime via Ethernet To install Runtime via Ethe...

Page 383: ...me via USB Memory To install Runtime UpdatePackage or Backup Package via USB device follow this procedure 1 Create an Update Package from HMWIN Studio and copy into an empty USB memory stick 2 On HMI select Transfer from disk and select the UpdatePackage zip to load System Settings System Settings has two operating modes l User Mode a simplified interface that gives users access to the basic setti...

Page 384: ...sions Close Closes the system setting page Restart Restart the HMI device l Main OS Restart the HMI device in the operating mode l Configuration OS Restart the HIM device with System Setting tool active in System Mode Elements available in System Mode In addition to those available in User Mode the following features are also available Element Description Format Flash Formats the internal device f...

Page 385: ...oad Configuration OS Checks and upgrades the current version of the operating system used in System Mode Download Main OS Checks and upgrades the current version of the main operating system Download Splash Image Loads a new file for the splash screen image displayed by the unit at power up Tip Update the splash screen image directly from the HMWIN Studio programming software See Update of system ...

Page 386: ...ific update files are provided Note Upgrading procedures depend on hardware and operating system versions Contact technical support for assistance 1 Copy all the upgrade files you need to a USB drive and plug it into the USB port of the HMI device 2 Start the System Settings tool in System Mode see System Settings on page 381for details 3 Click on the desired download function 4 Browse the content...

Page 387: ...sures unit booting in case of main FPGA corruption Important Use the same file for updating Main and Safe FPGA components System Supervisor Firmware of the system supervisor controller for example packaged_GekkoZigBee_ v4 13 bin The System Supervisor component can be upgraded from v4 13 or above Important Do not try to update versions V4 08 V4 09 V4 10 and V4 11 since they do not support automatic...

Page 388: ...r details From the rotating menu select BSP Settings and then the Password tab to open the set password dialog The password must be at least 5 characters long Leave Old password empty as default if target password is not set This feature is available from BSP versions V1 64 ARM UN30 31 and V2 73 MIPS UN20 based on WCE OS Factory restore If you re having problems with the HMI device try and restore...

Page 389: ...tions can be done directly on HMI or remotely using web browser Runtime Installation HMI devices are delivered from factory without Runtime at first power up HMI shows the Runtime Loader screen Runtime can be installed l Automatically via Ethernet on first project download with HMWIN Studio l Manually via USB Memory creating an Update Package Install Runtime via Ethernet To install Runtime via Eth...

Page 390: ...ually via System Settings From System Settings menu in Network section the IP address can be manually assigned disabling the DHCP server assignment feature Install Runtime via USB Memory To install Runtime UpdatePackage or Backup Package via USB device follow this procedure 1 Create an Update Package from HMWIN Studio and copy into an empty USB memory stick 2 On HMI select Startup sequence then In...

Page 391: ... confirm with Ok 6 The runtime installation begin Note File systems supported are FAT16 32 and Linux Ext2 Ext3 and Ext4 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 389 37 System Settings ...

Page 392: ...d is not changed System Setting access from Web browser To access System Settings using a Web browser enter the IP address of the device in the following format https IP machine_config Note Remote access requires port 443 Browse through the options available in the menu on the left the active item is highlighted and related information is displayed on the right Default security protocols proposed ...

Page 393: ... Show System Settings option of Context Menu Enter System Settings via tap tap procedure Tap tap consists in a sequence of several touch activations by simple means of the finger tapping the touch screen performed during the power up phase and started immediately after the HMI is powered on HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 391 37 System Setti...

Page 394: ... touching the screen to enter System Settings sub menu Wait for 5 more seconds without touching the screen to enter Default Mode Select System Setting from the HMI Default Mode screen 392 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Linux Devices ...

Page 395: ...us Free RAM Up time CPU Load Timers Device timers System on Back light on PlugIn Hardware plugins information Logs Device log files Date Time Device date and time Available parameters in edit mode Parameter Description Current Timezone Timezone region Current Date Local Time Date and Time can set manually only when the Automatic Update is disabled Automatic Update NTP Enable to keep date and time ...

Page 396: ...es Services are is available only when logged as admin Mouse click on the enable button to enable disable the service Click the service name to list the associate parameters Parameter Description Avahi Daemon Avahi is a system which enables programs to publish and discover services and hosts running on a local network Cloud Service Allow to manage remote HMI devices connected to a centralized serv...

Page 397: ...from the device Factory Restore Display Parameter Description Brightness Brightness level of the display Back light timeout Backlight inactivity timeout Orientation Display orientation Restart HMI device restart command Authentication Enter in edit mode to change the authentication passwords EXIT Exit from the System Setting tool Update System Components CAUTION Working in the Management area is a...

Page 398: ... a system component is being upgraded At the end of the component update restart HMI and leave it starting normally Enter System Settings in Config OS mode via tap tap procedure System Setting in Config OS mode is available via tap tap sequence this mode can be accessed also when HMI is facing a software failure Tap tap consist in a sequence of several touch activations by simple means of the fing...

Page 399: ...t Restart Config OS HMI will restart into System Settings in Config OS mode Touchscreen calibration System Setting Calibration allows to calibrate Touchscreen device can be accessed by tap tap procedure HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 397 37 System Settings ...

Page 400: ...en tap tap detected message appears on the top of the screen wait for 5 seconds without touching the screen to enter System Settings sub menu Press on touch screen Touchscreen calibration voice will be highlighted in yellow hold pressed for few seconds until touchscreen calibration procedure starts 398 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Linux D...

Page 401: ...etails Factory restore System Settings in Default mode allows to uninstall HMI Runtime or change Startup sequence this mode is available via tap tap sequence and can be accessed also when HMI is facing a software failure Tap tap consists in a sequence of several touch activations by simple means of the finger tapping the touch screen performed during the power up phase and started immediately afte...

Page 402: ...ault Mode To uninstall the Runtime from HMI in Default Mode screen select Startup Sequence Select the Runtime you want to remove 1 and click Uninstall button 2 400 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Linux Devices ...

Page 403: ...Runtime uninstall process will be performed HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 401 37 System Settings ...

Page 404: ...402 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Linux Devices ...

Page 405: ...ve a basic understanding of how to operate the web browser on your mobile devices as well as how to set up a connection to the HMI device where the server is running For example you must know how to set up Wi Fi access if you are working with tablet or phone devices to access the HM4Web pages on the HMI device Supported platforms and browsers 404 Generating page for Web access 404 Platform specifi...

Page 406: ...th all modern web browsers The following browsers have been tested for compatibility with HM4Web l Mozilla Firefox 40 l Microsoft Internet Explorer 11 l Apple Safari 7 1 l Google Chrome 36 Working with tablets or phones HM4Web works with most tablet and phone devices The following tablets have been tested for compatibility with HM4Web l iOS 4 Mobile Safari l Android 7 Android Webkit Generating pag...

Page 407: ...es to export from the current project 1 On the Run menu click Web Project Settings the Web Project Settings dialog is displayed 2 Select the web pages you wish to export By default all project and dialog pages are selected 3 For each platform select the home icon next to the page you want to define as the Home page Only one Home page can be selected for each platform All other home icons are graye...

Page 408: ...online simulator HMWIN Studio includes an web server in the online simulator You can start the simulator and access your HM4Web project from a web browser The pages will be served from the simulator 1 Create your project see Generating page for Web access on page 404 2 On the Run file choose Start Simulator the project will start running in a separate window 3 Open a web browser see Supported plat...

Page 409: ...HM4Web project is downloaded together with the HMWIN Studio project see Download to HMI device on page 68 for details After the download process is completed the HMI project automatically starts on the HMI device and the HM4Web project is ready to be used Running HM4Web from a browser 1 Open a web browser and enter the IP adress of your HMI device the login page is displayed HMWIN Studio User Manu...

Page 410: ... all communications with the web server while you are interacting with the HMI device remotely Web connectivity issues Here are described the most common issues you might encounter when connecting remotely to your HMI device Server disconnection Since HM4Web runs remotely from the HMI device the server might disconnect from the browser for example if the server is stopped or the network cable is u...

Page 411: ...k to the page where he was working This will happen for example if the user clears the browser cache or browser cookies Note If the user is working in a dialog when redirected to the login page he will be then redirected to the page from which the dialog was opened Non Active HM4Web Project The HM4Web page displayed in your browser might come from a project that is no longer active in the device I...

Page 412: ...sed on trigger condition is not supported in Web l Can not edit the Alarm widgets in runtime Alarms l Alarms limits in HM4Web is the same of HMI device 500 2000 based on target l On Smartphone Tablet in general embedded devices based on HW a user could expect performance problems with 500 alarms Actions l Widgets Javascript l Page HomePage LoadPage NextPage PrevPage LastVisitedPage ShowDialog Clos...

Page 413: ...s l Only numeric keypads widgets are supported l Custom keypads are not supported The numeric keyboard will be displayed as numeric widgets with a read write or write mode Dialog Page l Supported you can show them and close them based on the ShowDialog and CloseDialog actions l Dialog pages support only modal dialogs User Management l The login mechanism verifies user credentials on the server The...

Page 414: ...ed without requesting them each time from the server This results in faster loading of HM4Web pages Caching is normally enabled by default for optimal HM4Web performance make sure it has not been disabled Note HM4Web pages will still work properly with disabled browser caching however resource loading time will be slower compared with normal cached operations Using a proxy Some users may be access...

Page 415: ... You perform license related tasks for the HMI device in the Manage Target dialog of HMWIN Studio Activate the device 414 Save a license 415 Import a license 415 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 413 ...

Page 416: ...vices connected to the network are listed 6 Select the device on which the license is to be activated 7 Enter Activation Key Once you have entered an activation key the Add Another Key button is enabled and you can add another activation key 8 Click Activate license if the activation key is valid the license file is downloaded to the HMI device and the license is activated The enabled features or ...

Page 417: ...e is stored in the selected folder The enabled features or status of the activation keys is displayed in the Feature status list box Import a license If no working Internet connection is available on the computer running HMWIN Studio you can neither save or activate a license You must therefore import your license from another computer where you where able to download it This is a two step procedu...

Page 418: ...ng the license Path Run Manage Target 1 In the Manage Target dialog click the License tab 2 Select the device if it is connected or enter the MAC ID if you are generating the license offline 3 Click Import license and select the license file you created Add more license files if more than one activation key was purchased 4 Click Activate license to activate the licenses on the HMI device or Save L...

Page 419: ...nents Refer to this label for information on your HMI device The HMI device update tool also provides detail on the components actually running on the device CAUTION Make sure you use the correct upgrade files since loading upgrade files unsuitable for your device will cause serious system malfunction Always check your device product code Note Upgrade files are distributed upon request as a part o...

Page 420: ...ultiple HMI devices of the same type Please avoid putting files for different device type into the same folder l If the desired target IP is not listed type it directly into the box The discovery service is a broadcast service When a remote connection is done via VPN or from external networks it will not work and you will have to enter the address manually l Download of the selected components wil...

Page 421: ... the devices during the power up phase The image used as splash screen must comply with the following requirements Filename splash bmp Format Bitmap RGB 565 format Size 500 KB Bitmap width Even number for example 430x239 To upload the splash screen image 1 Rename the new image splash bmp and copy it in the source folder 2 Select HMI devices 3 Click Download To ensure the best visual results splash...

Page 422: ...420 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Settings ...

Page 423: ...he device can cause damage or malfunctions When connecting the device to a network protect the network against unauthorized access Measures for protecting the network include l Firewall l Intrusion Prevention System IPS l Network segmentation l Virtual LAN VLAN l Virtual Private Network VPN l Security at physical access level Port Security Further information guidelines and standards regarding sec...

Page 424: ...assword empty as default if target password is not set Ports and firewalls Here a list of all the ports used by HMWIN Studio components Port Usage Remote Access Board Management Runtime Project Management 80 tcp HTTP port Yes Yes 21 tcp FTP cmd port Yes 2100 tcp Board port Yes 16384 17407 tcp FTP data port passive mode Yes Yes 990 udp UDP broadcast Device discovery Optional Optional 991 udp UDP br...

Page 425: ...4Web Runtime and project management ports You use these ports to connect to HMI Runtime for operations such as update installation and project download Board management ports You use these ports to connect to the HMI device for Board operations such as BSP update splash image download and so on Note When broadcast service is not available for example in VPN networks type in the exact IP address to...

Page 426: ...424 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG Ports and firewalls ...

Page 427: ...se guidelines to create projects that perform better in terms of boot time page change and animations Static Optimization 426 FAQ on Static Optimization 429 Page caching 430 Image DB 430 Precaching 430 FAQ on precaching 430 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 425 ...

Page 428: ...r the folder opt Background images can be created as follows l full page background images containing all widgets merged to page background l group background images containing a group of static widgets merged together to form a group background For example the Gauge group is normally composed by a background a scale a label and a needle where background scale and label can all be merged to a sing...

Page 429: ...xample splitting the image in multiple images since they can be a waste of resources even when optimized 4 Optimize image size The image will be rendered at the size of the image widget containing the image For best performances the widget needs to be the same size of the image 5 Avoid using Scale to fit for image widgets since this forces a rescaling at run time for dynamic images and hides the a...

Page 430: ...rea to react to user inputs 15 If you reuse a widget from the gallery or you create your own remember to set the correct optimization properties For example button widgets are dynamic widgets if you use a button widget just for its frame it won t be optimized since the button widget is dynamic If you just need the frame you should use the Up image 16 With many pages having many dynamic widgets and...

Page 431: ... a few identical widgets in the opt folder I see a PNG for each one of them If they are really identical why should the software duplicate them instead of having just one PNG A The software does not know if static images are actually the same since each widget could have different settings properties altering the actual rendering at run time Q Why are the static images stored in a separate folder ...

Page 432: ...ps for using the Image DB function 1 Use uniform size of buttons gauges and other widgets wherever possible 2 Use same color themes among widgets of the same kind Precaching The Precache attribute of pages can be used to notify HMI Runtime to preload some pages in RAM at boot time for quicker access Precaching is useful for complex pages having many dynamic widgets When this function is enabled on...

Page 433: ...images until 40 MB of memory space is still available pageCacheLowMemMin 2 When a page change happens and space in RAM is critical 40MB the HMI Runtime starts emptying the cache RAM removing pages and related images until 64 MB of memory space is made available HMI Runtime removes data stored in the cache in the following order 1 last visited pages and bigger and unused images 320x240 2 if more me...

Page 434: ...432 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG FAQ on precaching ...

Page 435: ...epresent a safe limitation beyond that proper operation and state of the art performance of the system is not guaranteed Table of functions and limits 434 HMI devices capabilities 435 Compatibility 435 Converting projects between different HMI devices 436 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG 433 ...

Page 436: ...es on the facing page Number of data transfers 1000 Number of templates pages 50 Number of actions programmable per button state 32 Number of Trend Buffers 30 Number of curves per trend widget 5 Number of curves per scatter diagram widget 10 Number of samples per trend buffer 200 000 Number of tags per trend buffer 200 Number of trend buffer samples for a project 1 200 000 See HMI devices capabili...

Page 437: ...ies See Table of functions and limits on the previous page for the standard capabilities HMI Devices Windows CE Limits HM510 HM513 Standard Capabilities HM504 HM507 Max_Alarm 500 Max_ProjectSize 30 MB Features not available in Linux devices l LaunchBrowser macro l Media Player widget l Printer devices are not supported Reports can be printed only on PDF files Print of text reports and alarm events...

Page 438: ...ice Guideline Before converting a project have a look if some unsupported features are present see HMI devices capabilities on the previous page and adjust your project by removing the unsupported features before converting the project In particular l Verify limitations and features not supported by the new HMI device see Table of functions and limits on page 434 for details l Remove unsupported w...

Page 439: ......

Page 440: ...Panasonic Electric Works Italia srl Via del Commercio 3 5 Z I Ferlina 37012 Bussolengo VR Tel 39 0456752711 Fax 39 0456700444 www panasonic electric works it Nordic Countries Panasonic Electric Works Europe AG Panasonic Eco Solutions Nordic AB Filial Nordic Knarrarnäsgatan 15 164 40 Kista Sweden Tel 46 859476680 Fax 46 859476690 www panasonic electric works se Jungmansgatan 12 21119 Malmö Tel 46 4...

Reviews: