DateTime Display
The DateTime Display graphic element is configured to show the current date and time on the HMI device.
Add the DateTime Display graphic element to a screen to:
- Show the current date and time on the HMI device screen.
- Change the the format of the date and time in theFormatbox of thePropertieswindow.
- Select the tag representing the date and time of the HMI device in theValuebox in thePropertieswindow.
Built-in animation properties
Built-in animation properties appear under the
General
category of the Properties
window. Specify values for these properties in order to animate the graphic element or change the information the graphic element shows on the HMI device. Name | Category | Purpose | Accepted values |
Format | General | Specifies the format of the date and time. |
|
Value | General | Specifies the value of the graphic element. | Bound tag |
Unique properties are properties that not all graphic elements in the
Toolbox
share.Name | Category | Purpose | Accepted values |
CornerRadius | Appearance | Specifies the curve of the corners. | 0 or a positive number |
FillColor | Appearance | Specifies the fill color. | Any selected color in the Color Picker or a Hex color value entered manually. The Hex value must be in the format #RRGGBB. R, G, and B are Hex digits from 0 through F and represent the color channel values for red, green, and blue. For example, #ffff00 produces yellow. |
TextAlignment | Appearance | Specifies the vertical and horizontal alignment of the text. | Vertical alignment:
Horizontal alignment:
|
Color | Appearance/Border | Specifies the color of the border. | Any selected color in the Color Picker or a Hex color value entered manually. The Hex value must be in the format #RRGGBB. R, G, and B are Hex digits from 0 through F and represent the color channel values for red, green, and blue. For example, #ffff00 produces yellow. |
Style | Appearance/Border | Specifies the style of the border line. |
|
Width | Appearance/Border | Specifies the width of the border line. |
|
FontName | Appearance | Specifies the font of the text. | Any selected font |
FontColor | Appearance | Specifies the color of the text. | Any selected color in the Color Picker or a Hex color value entered manually. The Hex value must be in the format #RRGGBB. R, G, and B are Hex digits from 0 through F and represent the color channel values for red, green, and blue. For example, #ffff00 produces yellow. |
FontSize | Appearance | Specifies the size of the text. | Positive numbers |
Bold | Appearance | Makes the text or value on the graphic element bold. |
|
Padding | Appearance | Specifies the distance, in points, between the content of the element and the edge of the element. | Any numeric value |
Common properties exist for all graphic elements.
Property | Category | Purpose | Accepted Values |
Access | Security | Specifies if all users have access to the control element, or if access is inherited from the screen. |
|
Angle | Position and Size | Specifies the rotation angle. Enter 180 to display the graphic element upside down. If you enter a value larger than 360, the portion of numeric value that is over 360 becomes the value. For example, enter 380 to see a value of 20. If you enter a value less than 0, the negative value is subtracted from 360. For example, enter -30 to see a value of 330. |
|
Enabled | Appearance | Specifies if the graphic element is available on the HMI device and if the graphic element accepts touch and key input. |
|
Height | Position and Size | Specifies the height in pixels. | Any positive numeric value |
Opacity | Appearance | Specifies the transparency of the graphic element. | 0 (fully transparent) - 100 (fully opaque) |
Visible | Appearance | Specifies if the graphic element is visible on the HMI device. |
|
Width | Position and Size | Specifies the width in pixels. | Any positive number |
X | Position and Size | Specifies the horizontal coordinate, in pixels, from the upper left corner of screen to the upper left corner of a graphic element or group with no rotation. If the graphic element or group is rotated, the X property value does not change. | Any positive number |
Y | Position and Size | Specifies the vertical coordinate, in pixels, from the upper left corner of screen to the upper left corner of a graphic element or group with no rotation. If the graphic element or group is rotated, the Y property value does not change. | Any positive number |
Provide Feedback