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.
Installing the application HMWIN Studio installation contains: HMWIN Studio: an application for designing custom HMI projects in a user-friendly manner, along with a variety of objects in its built-in library, the Widget Gallery. HMWIN Client: a light-weight application that can be used on Windows computers to remotely view and manage a project running on an HMI device.
Page 5
4. If the Select Components step is available, select the components you want to install. 5. Select the Create a desktop icon option to add a HMWIN Studio icon on your desktop. A HMWIN Studio group is automatically added to the Start menu by the installation procedure.
Page 6
If you try to install a second instance of an already installed version of HMWIN Studio, a warning message is displayed. Multiple HMWIN Studio installations share a common workspace folder, each sub-folder includes the version number, for example C:\Program Files\Panasonic\HMWIN 2.5. Each installed version has its ID and can therefore be removed individually.
Page 7
1 Getting started Opening older projects When opening a HMWIN Studio project (.jpr file) created with an older version of the software HMWIN Studio asks to convert the project to the current version: Option Description Convert and overwrite current project...
Communication protocols Copying, moving, renaming a project HMWIN Studio projects folder contain all the files of the project: to move, copy or backup a project, move or copy the project folder to the desired location. To rename a project use the File > Save Project As function: this operation might take a few minutes.
2. Type a name for the new page. Importing a page When importing a page HMWIN Studio will import the page layout and the page widgets without importing the actions and data links attached to widgets. You can choose between two different behavior:...
3 My first project Adding tags HMWIN Studio uses tag names to access all device data. All fields and reference locations in the device need to be assigned a tag name to be used in the HMI project. Tag Editor can be used to create and manage tags. After the tags have been defined, they can be used in the project by attaching them to widgets' properties.
Object properties In HMWIN Studio the properties of an object placed on a page can be set at programming time or configured to be dynamic. To change a property at programming time use the page toolbar or the property pane. Select the object first to see its properties displayed.
Note: Not all properties can be modified for multiple widgets simultaneously and must therefore be modified individually. Changing fill color property according to tag values HMWIN Studio allows to change the color property of a widget dynamically, based on tag values in two ways: Using ColorPalette Connecting the Color property to a String type tag ...
Page 54
Developer tools Property Description FreeType Font Switches to FreeType the font rendering used by HMWIN Studio and runtime. Rendering Software plug-in Defines which software modules are downloaded to the Runtime with the project. See modules "Software plug-in modules" on page 55 Behavior These properties define different aspects of page behavior.
Page 57
FreeType font rendering 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.
PDF Reader VNC Server Note: Not all software plug-in modules are compatible with all HMI device platform. Once enabled, software plug-in become part of the runtime. Use HMWIN Studio to install it using one of the following procedures: install Runtime/update Runtime...
Page 59
It is possible to have HMI Runtime exchange devices information on the page shown by the HMI. You can synchronize pages shown on the HMI device and on HMWIN Client or to control an HMI project from a controller such as a PLC.
Page 60
SyncOptions remote Set value of tag "A" to display the requested page on HMI and HMWIN Client. Tag "B" will contain the number of page currently shown by HMWIN Client. Example: forced page change from controller/PLC to HMI device and HMWIN Client. Force HMWIN Client page synchronization with HMI device (not vice versa).
Page 70
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.
Page 76
Upload projects Path: Run> Manage Target You can copy a project from the Runtime to the computer where HMWIN Studio is running. 1. In the 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.
Page 115
9 System Variables (Protocol) Preserving Retentive Memory in Simulator Simulator of HMWIN Studio supports the retentive memory. To enable retentive memory during project simulation use the option "Keep retentive data on project simulation" in context menu. Tag Import Select the driver in Tag Editor and click on the Import Tags button to start the importer.
Page 138
To convert binary dump files to .csv The TrendBufferReader.exe tool is stored in the Utils folder of the HMWIN Studio installation folder. Use the following syntax: TrendBufferReader -r Trend1 Trend1.csv 1 where: Trend1 = name of the trend buffer without extension resulting from the dump (original file name is trend1.dat)
Page 142
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 for the output file.
Page 155
HMWIN Client is a standalone application which provides remote access to the HMI Runtime, and is included in the HMWIN Studio. HMWIN Client uses the same graphic rendering system as the runtime in the HMI devices, it relies on a specified HMI Runtime as server for live data.
Page 156
Reloads project from cache Shift + F5 Downloads project to client Workspace Project files are uploaded from the device and stored in HMWIN Client into the following cache folder. %appdata%\Panasonic\[build number]\client\cache where: [build number] = folder named as build number, for example 01.90.00.608.
Page 213
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.
Page 218
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 Studio is coded in Unicode, to edit it you need a specific tool supporting Unicode encoded .csv files.
Page 220
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 is supported only in a subset of properties.
Page 223
Scheduler HMWIN Studio provides a scheduler engine that can execute specific actions at set intervals, or on a time basis. Creating a schedule is typically a two-step process: 1. You create a schedule with a list of actions to be executed when the scheduled event occurs. You do this in the Scheduler editor 2.
Page 240
All the user information modified at run time is stored in dedicated files. To remove these dynamic files and all the changes applied to user configuration at run time you can: on HMI Runtime: execute the action DeleteUMDynamicFile with HMWIN Studio: select 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.
Page 247
You can configure reports, their contents, trigger conditions and output printer in the Reports editor. Not all widgets can be used in reports. When configuring reports, HMWIN Studio provides access to a dedicated widget gallery featuring only widgets available for reports.
Page 259
Keypads Several keypads are provided by default in the HMWIN Studio so that they can be used for data entry. The alphabet keypad can be use associate with a string data type The numeric keypad can be use associate with a numeric data type...
Page 273
29 Tag cross reference Automatic update Path: View> Properties You enable the automatic update of the Tag Cross Reference pane from the HMWIN Studio Properties page. Select the Auto Update option. Exporting data Data displayed in the Tag Cross Reference pane can be exported in .csv file.
Page 300
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 selectors...
Page 304
Now you can open the videos with a standard video player, such as Windows Media Player and check the quality. You can add the resulting video to the playlist of the Media Player widget. Note : This video converter tool is not distributed with the HMWIN Studio. Using Media Player in JavaScript The Media Player widget can be also referenced in JavaScript programs with the following syntax: //get the mediaplayer widget.
Page 321
Custom widgets HMWIN Studio has a large widget library which includes predefined dynamic widgets (buttons, lights, gauges, switches, trends, recipes, and dialog items), as well as static images (shapes, pipes, tanks, motors). You can drag and drop an object from the gallery to the page, and then size, move, rotate or transform it. All widgets in the gallery are vector based, so they do not loose definition when resized.
Page 337
, as defined in standard ECMA-262. If you are familiar with JavaScript, you can use the same type of commands in HMWIN Studio as you do in a web browser. If you are not familiar with the ECMAScript language, refer to: https://developer.mozilla.org/en/JavaScript...
Page 339
HMI device. HMWIN Studio provides a JavaScript engine running on the client side. Each project page can contain scripts having a scope local to the page where they are added; global scripts can be created to be executed by scheduler events or alarm events.
Page 348
Objects 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...
Page 353
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 property was set or not.
Page 383
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.
Page 390
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 [Install] 3.
Page 407
38 Web access Any widgets and features can be used in HMWIN Studio; however, not all features are currently available in HM4Web. If the project includes a feature that is not available, HM4Web will still work correctly but the feature will not be available on the remote client device.
Page 408
You can test your HM4Web project using the online simulator opening a standalone web page directly from a browser. Testing with the 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. ...
Page 411
HM4Web cannot perform any server-bound communication. Web supported features Currently not all HMWIN Studio features are supported in HM4Web. Here a list of features supported and limitations, classified by category. When you copy and paste objects from standard pages to a web pages, make sure that all objects are supported in web pages.
Page 417
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.
Page 424
Using HMI device "System Settings" on page 379 Tool Leave “Old password” empty as default if target password is not set. Ports and firewalls Here a list of all the ports used by HMWIN Studio components. Remote Board Runtime/Project Port Usage...
Page 428
When you create a project in HMWIN Studio, the pages might contain widgets such as texts, images, background images, background colors and so on which can be classified as: Static: values or properties do not change at run time.
Page 430
Here is an example of a correct and an incorrect use of static optimization. Supported image formats HMWIN Studio supports several raster formats like BMP, PNG, JPEG, TIFF and the vector format SVG. Here a list of pros and cons:...
Page 431
A: PNG format uses a lossless compression for images and supports transparencies. JPEG files would render fuzzier compared to the PNG files with a different result in HMWIN Studio(not using optimization) and HMI Runtime. Q: What will happen when no optimization is done in the software? A: Every single widget is rendered at run time.
Page 438
HMI Runtime update can be done directly from HMWIN Studio using the Update Target command available in the Run\Manage Target dialog, projects created in a HMWIN Studio version no older than V1.00 (00) can be opened and handled by any newer version,...
Page 440
Filial Nordic, Knarrarnäsgatan 15, 164 40 Kista, Sweden, Tel. +46 859476680, Fax +46 859476690, www.panasonic-electric-works.se Panasonic Eco Solutions Nordic AB 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.