Материал: Панель АСКВ2 7016480

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам

Software-specific information • Supported video formats

6 Software-specific information

In this chapter, software-specific information (RFB extension, image formats) are described, which have been referenced multiple times in the other chapters.

•Installing certificates in the browser

•Supported video formats

•File formats

•RFB extension

•Notes about the PPT image

•Supported fonts

•OPC UA server

6.1Installing certificates in the browser

If user-defined certificates are required for the browser running on the Power Panel, they can be provided as follows:

•Set up network sharing for internal user memory "usershare". See also: "Service page Storage" on page 62

•Create a directory called "cert" in the internal user memory.

•Copy user-defined certificates into directory cert. Permissible file extensions for certificates: ".cer" or ".crt"

Each time the browser is started, all certificates are imported from directory cert.

6.2 Supported video formats

Videos can be displayed in web mode (see "Configuring web mode" on page 60). The following container formats are supported when embedding videos into a web-based HMI application:

• WebM

76

Power Panel T50 User's manual V1.22 - Translation of the original documentation

Software-specific information • File formats

6.3 File formats

6.3.1 PPT image

Filenames: PPT50Image.img.gz, PPT50Image.md5, PPT50Image.img.gz.sig

The PPT image is a compressed image of the PPT system (Power Panel T-Series operating system). File PPT50Image.img.gz contains the image and file PPT50Image.md5 contains the MD5 checksum of the image.

During an update, the MD5 checksum determines if the PPT image is free of errors.

This Power Panel supports signed images. During an update, the Power Panel checks the provided signature PPT50Image.img.gz.sig to determine if the image package comes from a trusted source.

6.3.2 System settings

Filename: PPT50Config.xml

The system settings, which can be defined by the user on the service pages, are saved on the Power Panel in XML file PPT50Config.xml.

When you back up and restore (see the two service pages Backup & Reset and Update) the system settings, the data is exchanged using an XML file with the following name.

6.3.3 Boot logo

Filename: PPTLogo.bmp.gz

The boot logo is displayed during the boot phase of the Power Panel.

If configured on service page Startup, the boot logo is also displayed while establishing a connection in web/VNC mode.

The boot logo must meet the following requirements:

File format

Only the BMP (Windows bitmap) file format is allowed for the boot logo.

Size

The size of the bitmap must correspond to the size of the display in full screen mode.

 

To determine the size of the display on the Power Panel being used, see section "Technical data".

Name

PPTLogo.bmp.gz

 

The bitmap must be compressed in GZ format (GNU zip).

 

If the boot logo (any name possible) is added in Automation Studio and then the data for the USB

 

flash drive is generated, then Automation Studio will compress the boot logo into the GZ format and

 

name the file accordingly.

 

The user only has to make sure that the boot logo is compressed into the GZ format and the file is

 

named accordingly if Automation Studio is not being used.

Color depth

The color depth is limited to 24-bit.

Application

The boot animation is superimposed over an existing static boot logo.

6.3.4 Boot animation

Filename: PPTLogoA.gif

If Startup is configured on the service page, the boot animation is also displayed while establishing a connection in Web or VNC mode.

The boot animation must meet the following requirements:

File format

Only the GIF (Graphics Interchange Format) file format is allowed for the boot animation.

Size

The size of the boot animation must be equal to or smaller than the size of the display being used

 

in full screen.

Name

PPTLogoA.gif

 

If the boot animation (any name possible) is added in Automation Studio and then the data for the

 

USB flash drive is generated, then Automation Studio will name the file accordingly.

 

The user only has to make sure that the boot animation is named accordingly if Automation Studio

 

is not being used. It is important to ensure that capitalization matches the name specified above!

Position

When specifying the position of the boot animation (see service page Screen), it is important to ensure

 

that the entire boot animation is shown on the display.

Application

The boot animation is superimposed over an existing static boot logo.

 

The boot animation is only displayed when starting Web or VNC mode. It is not displayed while the

 

device is booting.

Power Panel T50 User's manual V1.22 - Translation of the original documentation

77

Software-specific information • RFB extension

6.4 RFB extension

In addition to transferring screen content, the RFB protocol (remote frame buffer protocol) is also used to transfer data between a VNC client and the VNC server. This makes it possible to control VNC-based HMI applications. These extensions can be configured in Automation Studio using library AsRfbExt.

Library AsRfbExt library provides additional options for controlling VNC-based HMI applications and evaluating any input devices connected to the client (B&R device). B&R's VNC Viewer must be used on the client with the RFB extension enabled.

RFB extensions offer the following basic functions:

•Evaluating additional control devices on the Power Panel.

•Querying the temperature of the VNC client.

•Starting a process on the VNC client to carry out certain functions.

•Determining and limiting the number of connected VNC clients.

•Disconnecting VNC clients from the VNC server (Power Panel is not turned off, configurations remain).

•Read the controller's operating hours.

Information:

Additional information about the RFB extensions and programming with the AsRfbExt library can be found in Automation Help.

Information:

Only a Power Panel with RFB extensions enabled can be operated via B&R VNC server.

The following functions are described in this section:

•Temperature monitoring

•Adjusting display brightness

•Audio signal output

6.4.1Temperature monitoring

Required function in library AsRfbExt: RfbExtTemperatureValue()

Function RfbExtTemperatureValue() is used to read the value of one of the following temperature sensors on the device.

• Temperature of the CPU housing (index 0: TemperatureCPUCase)

Use case

Under certain circumstances (e.g. if the device is operated near the maximum permissible ambient temperature), it makes sense for the application to monitor the temperature of the CPU component housing. The application can take appropriate measures if a certain temperature is exceeded.

Important!

The temperature of the CPU housing is not permitted to exceed 105°C. The service life of the processor may be reduced at continuously high temperatures.

78

Power Panel T50 User's manual V1.22 - Translation of the original documentation

Software-specific information • RFB extension

6.4.2 Adjusting display brightness

Required function in library AsRfbExt: RfbExtStartProcess()

Function RfbExtStartProcess() is used to adjust the display brightness process dim. Here, parameter pcmdLine is used to call the command line process as follows:

Call syntax

dim brightness

Parameter

brightness ... Brightness of the display in percent [%]:

 

Valid range: 0 - 100

Example

pcmdLine: dim 75

 

The display brightness is set to 75%.

Implementation

The VNC-based HMI application includes a button that has been assigned a corresponding function, which calls RfbExtStartProcess()

 

with the appropriate parameters. The application can get the display brightness from an input field, which has also been defined in the

 

HMI application.

The display brightness set with dim changes the current display setting, but does not change the default setting used after restarting the device.

The default display brightness setting is configured on service page Screen or in Automation Studio (see section "Configuration" on page 44).

Unlike the setting option on service page Screen, dim can be used to set the total brightness range of the display from 0 to 100% (see "Service page Screen" on page 54).

6.4.3 Audio signal output

Required function in library AsRfbExt: RfbExtStartProcess()

Function RfbExtStartProcess() is used to start the beep process and output an audio signal on the Power Panel. Here, parameter pcmdLine is used to call the command line process as follows:

Call syntax

beep [frequency] [duration]

Parameter

frequency

... Frequency of the audio signal in Hertz (Hz).

 

 

Valid range: 10 - 15000

 

duration

... Duration of the audio signal in milliseconds [ms].

 

 

Valid range: 10 - 500

 

If a value is not specified, the default setting is used.

Example

pcmdLine: beep 880 400

 

An audio signal with 880 Hz and a duration of 400 ms is output.

Implementation

The VNC-based HMI application can output an audio signal using function RfbExtStartProcess(), in order to clearly illustrate certain

 

states or actions.

Calling beep with specific parameters does not change the default setting for the device.

The default setting for the audio signal is configured on service page Audio or in Automation Studio (see section "Configuration" on page 44).

Information:

Emitting an audible tone with beep is always done independent of the setting on service page Audio (see "Service page Audio" on page 56).

Power Panel T50 User's manual V1.22 - Translation of the original documentation

79

Software-specific information • Notes about the PPT image

6.5 Notes about the PPT image

This section contains notes about certain PPT image versions.

6.5.1 PPT image 1.0.1

Incompatibilities

Important!

Incompatibilities occur in combination with a PPT image with a version ≤1.0.1 and certain hardware revisions of the Power Panel T50. This results in the following problem:

• The touch screen does not work.

This problem occurs if a PPT image with a version ≤1.0.1 is used on 2nd generation devices.

Model number

6PPT50.0502-xxx

6PPT50.0702-xxx

6PPT50.101E-xxx

6PPT50.121E-xxx

6PPT50.156B-xxx

Panel size

5.0"

7.0"

10.1"

12.1"

15.6"

1st device generation

<C0

<D0

<D0

<C0

<C0

2nd device generation

≥C0

≥D0

≥D0

≥C0

≥C0

Correcting the problem

If the problem occurs (touch screen does not work), updating the PPT system with a more recent PPT image restores touch functionality.

Updating the PPT system:

1.Connect the USB mouse to the affected device.

2.Install a more recent PPT image version (≥1.0.2, see "Update" on page 74).After updating the PPT system, touch functionality is available again.

80

Power Panel T50 User's manual V1.22 - Translation of the original documentation

Источник: https://studfile.net/preview/16402365/