Supported visualization elements

Text placeholders

TwinCAT PLC HMI Web Visualisation currently supports the following text placeholders:

Placeholder

Argument/Output

%d

Decimal number

%o

Octal number without sign (without leading zero)

%x

Hexadecimal number without sign (without leading 0X)

%s

String

%f

REAL values [-]m.<dddddd>, with the number of d determining the accuracy (default: 6).
The plus or minus sign defines right (default) or left alignment, m defines the number of decimals.

Date and time data (%t)

TwinCAT PLC HMI Web Visualisation currently supports the following date and time data:

Placeholder

Format

%a

Day of the week, abbreviated, e.g. "Wed"

%A

Day of the week, full name, e.g. "Wednesday"

%b

Month name, abbreviated, e.g. "Feb"

%B

Month name, full name, e.g. "February"

%c

Date and time in format <month>/<day>/<year> <hours>:<minutes>:<seconds>, e.g. "08/28/02 16:58:45"

%d

Day of the month as a number (01-31), e.g. "24"

%H

Hour, 24 h format (01-24), e.g. "16"

%I

Hour, 12 h format (01-12), e.g. "05" for 5pm

%j

Day of the year (001 – 366), e.g. "241"

%m

Month (01 – 12), e.g. "3" for March

%M

Minutes (00 – 59), e.g. "13"

%p

AM (hours <12) or PM (>12) indicator for 12 h format.

%S

Seconds (00 – 59)

%U

Week number, with Sunday used as the first day of the week (00 – 53)

%W

Week number, with Monday used as the first day of the week (00 – 53)

%x

Date in format <month>/<day>/<year>, e.g. "08/28/02"

%X

Time in format <hours>:<minutes>:<seconds>, e.g. "16:58:45"

%y

Year, two-digit format (00 – 99), e.g. "02"

%Y

Year, full format, e.g. "2002"

%z, %Z

Time zone (if known), e.g. "Western European Daylight Time"

%%

Percent sign

General

Moving of elements in the Web Visualisation is supported.

Note

Spaces between the "%" sign and the symbol prevent the value being read by the Web Visualization!

Note

Scrolling is currently not available in the Web Visualization. The Web Visualization design should therefore consider the intended window size.

Limitations and special features

Input

The Web Visualization currently only supports text input if 'Text' is selected as text entry in the variable 'Text Output'.

Alarm tables

The Web Visualization does currently not support alarm tables.

Trend function

The Web Visualization does currently not support the trend function.

Histogram

The Web Visualization does currently not support histograms.

Internal commands (see section on special input options)

Variable access

Miscellaneous