Visualization element ‘Web browser’

Symbol: 886252f63fc172edc0a8640e00a41f0d_01b7d9dc5be2e8c8c0a8640e00eb3b05

Tag: Special controls

This element shows a website, PDF file, or video that has a URL.

Attention

The display options of the Web browser element depend on the operating system and the display variant of the visualization.

Requirement: The software components of the web browser are available in the runtime system and configured accordingly (example: videos to be shown on Linux).

See also

Element properties

Element name Example: GenElemInst_59
Element type Web browser

Element property ‘Position’

The position defines the location and size of the element in the visualization window. These are based on the Cartesian coordinate system. The origin is located at the upper left corner of the window. The positive horizontal x-axis runs to the right. The positive vertical y-axis runs downwards.

X

X coordinate of the upper left corner of the element

Specified in pixels.

Example: 10.

Y

Y coordinate of the upper left corner of the element

Specified in pixels.

Example: 10.

Width

Specified in pixels.

Example: 150

Height

Specified in pixels.

Example: 30

Note

You can also change the values by dragging the box symbols ( 886252f63fc172edc0a8640e00a41f0d_7b449e02d0393877c0a8640e01fd8c9e ) to other positions in the editor.

See also

Element property ‘Absolute movement’

These properties are used for dynamically controlling the element position by means of variables. The reference point is the upper left corner of the element. In runtime mode, the entire element is moved.

Movement
X:

Variable (integer data type). Defines the X position (in pixels).

Example: PLC_PRG.iPos_X.

Increasing this value in runtime mode moves the element to the right.

Y:

Variable (integer data type). Defines the Y position (in pixels).

Example: PLC_PRG.iPos_Y.

Increasing this value in runtime mode moves the element downwards.

Element property ‘State variables’

Invisible

Variable (BOOL). Toggles the visibility of the element.

TRUE: The element is not visible at runtime.

Element property ‘Control variables’

URL

URL of the web page that is displayed in the visualization.

  • Variable (STRING or WSTRING)

    Example: PLC_PRG.stURL

  • Literal in single straight quotation marks

    Example: 'http://de.wikipedia.org'

Show

Variable (BOOL).

Example: PLC_PRG.bSetURL

Controls the display of the Web browser element.

If the variable contains a rising edge, then the visualization calls the web page given in URL and displays its contents in the ‘Web browser’ visualization element.

Back

Variable (BOOL).

Example: PLC_PRG.bGoBack

Controls the back navigation in the Web browser. If the variable has a rising edge, then the visualization displays the contents of the previously displayed page.

Forward

Variable (BOOL).

Example: PLC_PRG.bGoForward

Controls the forward navigation in the Web browser. If the variable has a rising edge, then the visualization displays the contents of the previously displayed page.

Element property ‘Access rights’

Requirement: User management is set up for the visualization.

Access rights

Opens the Access rights dialog box for changing the access rights for the element.

Status messages:

  • Not set. All rights.: Access rights for all user groups : operable
  • Rights are assigned: limited rights: Access is restricted for at least one group.

See also