Danfoss Widget Library Operating guide

User Manual

PLUS+1® GUIDE Software

Widget Library

www.danfoss.com

User Manual

PLUS+1® Library—Widget

Revision history

Table of revisions

 

 

 

 

 

 

 

Date

Changed

Rev

 

 

 

 

 

December 2019

First edition

0101

 

 

 

 

2 | © Danfoss | December 2019

AQ321680357590en-000101

User Manual

 

PLUS+1® Library—Widget

 

Contents

 

Library Introduction

 

Before You Begin..............................................................................................................................................................................

4

Install Fonts...................................................................................................................................................................................

4

Add the COLOR Data Type.......................................................................................................................................................

6

Use Widgets in Screen Display Editor.......................................................................................................................................

8

Large Dial Gauges

 

Inputs ...................................................................................................................................................................................................

9

Example Widget Use ....................................................................................................................................................................

11

Linear Gauges

 

Inputs..................................................................................................................................................................................................

12

Example Widget Use ....................................................................................................................................................................

13

Small Dial Gauge

 

Inputs..................................................................................................................................................................................................

14

Example Widget Use ....................................................................................................................................................................

15

Scroll Bar

 

Inputs..................................................................................................................................................................................................

16

Example Widget Use.....................................................................................................................................................................

17

Text Gauge

 

Inputs..................................................................................................................................................................................................

18

Example Widget Use ....................................................................................................................................................................

19

Page Indicator

 

Inputs..................................................................................................................................................................................................

20

Outputs..............................................................................................................................................................................................

20

Example Widget Use ....................................................................................................................................................................

21

Keypad

 

Inputs..................................................................................................................................................................................................

22

Outputs..............................................................................................................................................................................................

23

Example Widget Use.....................................................................................................................................................................

23

© Danfoss | December 2019

AQ321680357590en-000101 | 3

User Manual

PLUS+1® Library—Widget

Library Introduction

The Widget library contains widgets that you can use in a display application.

The Widget library offers a collection of widgets to use in the screens of PLUS+1® GUIDE display applications. Using this library, developers can quickly introduce adjustable value readouts or user interactions into applications.

Before You Begin

Before adding widgets to an application, make sure you install and use the required software tools.

Download, install, and open PLUS+1® GUIDE version 11.1 or later.

Download and install the Widget library in PLUS+1® GUIDE.

Install the fonts included in the Widget library. For more information, see the topic Install Fonts.

Add the GUIDE Extensions' COLOR data type. For more information, see the topic Add the COLOR Data Type.

Only use these widgets in the Vector-Based Screen Editor (VBSE) in PLUS+1® GUIDE.

Install Fonts

The widgets use DejaVu Sans fonts that you must install before using the library.

Make sure the Widget library is installed before you install the fonts it contains.

4 | © Danfoss | December 2019

AQ321680357590en-000101

Danfoss Widget Library Operating guide

User Manual

PLUS+1® Library—Widget

Library Introduction

© Danfoss | December 2019

AQ321680357590en-000101 | 5

User Manual

PLUS+1® Library—Widget

Library Introduction

1.From the Functions tab, open Widget Library, Library Fonts. Right-click on a font and select Save As....

2.Navigate to the location where you want to save the font, then click Save.

3.Navigate to the font, double-click it, then click Install. The font is installed in your computer's font directory. PLUS+1® GUIDE can access the fonts installed here.

4.Repeat steps 1, 2, and 3 for all fonts included in the library, then restart PLUS+1® GUIDE.

Add the COLOR Data Type

Add the COLOR data type to your application.

The widgets in this library use the GUIDE Extensions' COLOR data type. Follow these steps to correctly add this into your project.

6 | © Danfoss | December 2019

AQ321680357590en-000101

User Manual

PLUS+1® Library—Widget

Library Introduction

© Danfoss | December 2019

AQ321680357590en-000101 | 7

User Manual

PLUS+1® Library—Widget

Library Introduction

1.On the Project Manager tab, right-click the application name, then select Add New > PLC Unit.

2.Right-click on the PLC Units folder then select Add GUIDE PLC Extensions.

3.GUIDE extensions.xml is added to the PLC Units folder. The COLOR data type appears inside GUIDE extensions.xml.

Use Widgets in Screen Display Editor

Graphical widgets can only be used in the screen editor.

You cannot drag a widget into the drawing area. To get started using a widget, create a screen and complete these steps:

1.Click on the External Libraries tab in the Screen Editor and drag the desired widget into the screen. If prompted to map languages, click OK. There are no translatable words in this library's widgets, this ensures that the library's language is mapped to the project's main language.

2.When the Configure Object Interface window opens, click Add and Connect Sub-buses.

3.Click OK.

A sub-bus in your screen's Input bus (and Output bus if applicable) is created, containing all the connected buses and signals for the widget.

8 | © Danfoss | December 2019

AQ321680357590en-000101

Loading...
+ 17 hidden pages