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). |
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)
PRINT
- this command for printing the current visualization is not supported for the Web Visualization.- Execute external program - The command for executing an external program is not supported for the Web Visualization.
LANGUAGE DIALOG
- The command for calling up the configuration dialog for a visualization containing the language category is not supported for the Web Visualization.EXIT PROGRAM
- The command to exit the program is not supported for the Web Visualization, although INTERN LINK is available for this purpose.TRACE
- The command for opening a trace recording window is not supported for the Web Visualization.SAVE PROJECT
- The command for saving the project is not supported for the Web Visualization.
Variable access
- Dynamic indexing within an array - “
Array1[Index].a
” is not possible, although “Array1[10].a
” is possible. - Placeholder substitutions - Placeholder substitutions are currently not possible within the Web Visualization.
- Pointer - Pointer variables such as
MAIN.pdw2^
cannot be displayed.
Miscellaneous
- Transparent bitmaps - Transparent bitmaps are not yet supported.
- Alarm handling - Alarm handling is not supported for the Web Visualization.
- IEC operators - The following IEC operators are currently not supported by the Web Visualization:
- Arithmetic operators:
MOVE
,INDEXOF
,SIZEOF
- Bit string operators:
XOR
- Bit shift operators:
SHL
,SHR
,ROL
,ROR
- Selection operators:
LIMIT
,MUX
- Comparison operators:
EQ
,NE
- All address operators
- All call operators
- All conversion operators
- Numeric operators:
SQRT
,LN
,LOG
,EXP
,ASIN
,ACOS
,ATAN
,EXPT