41
The attribute can be assigned dynamic properties by means of the name
TimeColumnEndTime. The data type is Date.
Use the "yyyy-mm-dd hh:mm:ss" format when setting a dynamic time range.
TimeColumnForeColor property
Font color - TimeColumnForeColor
Specifies the font color of the time column selected. Use the button to open the "Color selection"
dialog.
The setting is useful if:
● The "Use value column colors" option is not activated or
"TimeColumnUseValueColumnColors" is "FALSE".
● The "Font color" option is activated or "UseColumnForeColor" is "TRUE" in the "Use column
color" field of the "General" tab.
The attribute can be assigned dynamic properties by means of the name
TimeColumnForeColor. The data type is LONG.
TimeColumnHideText property
TimeColumnHideText
Sets text format for displaying the content of a time column.
Value
Explanation
TRUE
The content is not displayed in text format.
FALSE
The content is displayed in text format.
The attribute can be assigned dynamic properties by means of the name
TimeColumnHideText. The data type is BOOLEAN.
TimeColumnHideTitleText property
TimeColumnHideTitleText
Sets text format for displaying the time column header.
Value
Explanation
TRUE
The header is not displayed in text format.
FALSE
The header is displayed in text format.
The attribute can be assigned dynamic properties by means of the name
TimeColumnHideTitleText. The data type is BOOLEAN.
VBS for Creating Procedures and Actions
1.14 VBS Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 02/2013, A5E32315920-AA
583
28
TimeColumnIndex property
TimeColumnIndex
References a configured time column. Using this attribute you can assign the values of other
attributes to a specific time column.
Values between 0 and "TimeColumnCount" minus 1 are valid for "TimeColumnIndex". Attribute
"TimeColumnCount" defines the number of time columns configured.
The "TimeColumnIndex" attribute can be assigned dynamic properties by means of attribute
TimeColumnRepos. The data type is LONG.
TimeColumnLength property
Length in characters - TimeColumnLength
Specifies the width of a selected time column.
The attribute can be assigned dynamic properties by means of the name TimeColumnLength.
The data type is LONG.
TimeColumnMeasurePoints property
Number of measurement points - TimeColumnMeasurePoints
Defines the number of measurement points to be displayed in the time column selected.
The attribute can be assigned dynamic properties by means of the name
TimeColumnMeasurePoints. The data type is LONG.
TimeColumnName property
Object name - TimeColumnName
Specifies the name of a selected time column.
The "TimeColumnName" attribute can be assigned dynamic properties by means of attribute
TimeColumnRename. The data type is STRING.
VBS for Creating Procedures and Actions
1.14 VBS Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
584
System Manual, 02/2013, A5E32315920-AA
41
TimeColumnRangeType property
Time range setting - TimeColumnRangeType
Defines the time range setting for the time column selected.
Value
Description
Explanation
0
Time range
Defines the start time and time range of the time column.
1
Start to end time
Defines the start and end time for the time column.
2
Number of measurement points
Defines the start time and the number of measurement points for the time
column.
The attribute can be assigned dynamic properties by means of the name
TimeColumnRangeType. The data type is LONG.
TimeColumnRemove property
Remove - TimeColumnRemove
Removes the selected time column from the list.
The attribute can be assigned dynamic properties by means of the name
TimeColumnRemove. The data type is STRING.
TimeColumnRename property
TimeColumnRename
Renames a time column which is referenced by means of "TimeColumnIndex" attribute.
The attribute can be assigned dynamic properties by means of the name
TimeColumnRename. "TimeColumnRename" also sets a dynamic attribute
"TimeColumnName". The data type is STRING.
TimeColumnRepos property
Up/Down - TimeColumnRepos
Repositions the order of time columns and of corresponding value columns. "Up" and "Down"
move the time column selected up or down in the list. This moves the time column and
corresponding value columns in the table towards the front or towards the back.
The attribute can be assigned dynamic properties by means of the name TimeColumnRepos.
The data type is LONG.
VBS for Creating Procedures and Actions
1.14 VBS Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 02/2013, A5E32315920-AA
585
42
TimeColumnShowDate property
Show date - TimeColumnShowDate
Enables the display of the date and time in the time column selected.
Value
Explanation
TRUE
Date and time are displayed. The date format is defined in the "Date format" field or by using
"TimeColumnDateFormat".
FALSE
The date is not displayed. Only the time is displayed.
The attribute can be assigned dynamic properties by means of the name
TimeColumnShowDate. The data type is BOOLEAN.
TimeColumnShowIcon property
TimeColumnShowIcon
Enables the display of time column contents as icon.
Value
Explanation
TRUE
The content is visualized as icon.
FALSE
The content is not visualized as icon.
The attribute can be assigned dynamic properties by means of the name
TimeColumnShowIcon. The data type is BOOLEAN.
TimeColumnShowTitleIcon property
TimeColumnShowTitleIcon
Enables display of the time column header as icon.
Value
Explanation
TRUE
The header is displayed as icon.
FALSE
The header is not displayed as icon.
The attribute can be assigned dynamic properties by means of the name
TimeColumnShowTitleIcon. The data type is BOOLEAN.
TimeColumnSort property
TimeColumnSort
Defines the sorting order of the time column referenced in "TimeColumnIndex" .
VBS for Creating Procedures and Actions
1.14 VBS Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
586
System Manual, 02/2013, A5E32315920-AA
46
The following settings are available:
Value
Description
Explanation
0
No
No sorting
1
Ascending
Ascending order, starting at the lowest value.
2
Descending
Descending order, starting at the highest value.
The attribute can be assigned dynamic properties by means of the name TimeColumnSort .
The data type is LONG.
TimeColumnSortIndex property
TimeColumnSortIndex
Defines the sorting order of the time column referenced in "TimeColumnIndex". The sorting
criterion is removed from "TimeColumnSort" if you set a "0" value..
The attribute can be assigned dynamic properties by means of the name
TimeColumnSortIndex. The data type is LONG.
TimeColumnTimeFormat property
Time format - TimeColumnTimeFormat
Defines the time format for visualizing a selected time column.
The following time formats are available:
Value
Explanation
Automatic
The time format is set automatically.
HH:mm:ss.ms
Hours:Minutes:Seconds, e.g. 15:35:44.240.
hh:mm:ss tt
Hours:Minutes:Seconds AM/PM, e.g. 03:35:44 PM.
hh:mm:ss.ms tt
Hours:Minutes:Seconds.Milliseconds AM/PM, e.g. 03:35:44.240 PM.
The attribute can be assigned dynamic properties by means of the name
TimeColumnTimeFormat. The data type is STRING.
TimeColumnTimeRangeBase property
Time range - TimeColumnTimeRangeBase
Defines the time unit for calculating the time range.
The following time units are available:
VBS for Creating Procedures and Actions
1.14 VBS Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 02/2013, A5E32315920-AA
587
45
Value
Description
500
500 ms
1000
1 second
60000
1 minute
3600000
1 hour
86400000
1 day
The attribute can be assigned dynamic properties by means of the name
TimeColumnTimeRangeBase. The data type is LONG.
TimeColumnTimeRangeFactor property
Time range - TimeColumnTimeRangeFactor
Defines the factor for calculating the time range. Only integer factors are valid.
The attribute can be assigned dynamic properties by means of the name
TimeColumnTimeRangeFactor. The data type is SHORT.
TimeColumnUseValueColumnColors property
Use value column colors - TimeColumnUseValueColumnColors
Defines whether the selected time column will be displayed in the value column colors.
Value
Explanation
TRUE
The colors of the value column are used to display a selected time column. The settings in the "Font color"
and "Background color" fields are disabled.
FALSE
The colors defined in the "Font color" and "Background color" fields are used to display the selected time
column.
The attribute can be assigned dynamic properties by means of the name
TimeColumnUseValueColumnColors. The data type is BOOLEAN.
TimeColumnVisible property
Time columns - TimeColumnVisible
The list shows the time columns you created. Click a time column entry in the list to adapt the
properties and to define the time range of the time column.
Select the time columns to be displayed in the table from the list.
Defines whether the selected time column is displayed.
The attribute can be assigned dynamic properties by means of the name TimeColumnVisible.
The data type is BOOLEAN.
VBS for Creating Procedures and Actions
1.14 VBS Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
588
System Manual, 02/2013, A5E32315920-AA
29
TimeFormat - Tolerance
TimeFormat Property
Description
Defines the format of the time specification.
● 0: The information is provided in hh:mm
● -1: The information is provided in hh:mm:ss
● -2: The information is provided in hh:mm:ss.ms
● -3: The information is provided in hh:mm (full hours)
● -4: The information is provided in hh:mm:ss (full minutes)
● -5: The information is provided in hh:mm:ss.ms (full seconds)
See also
WinCC Online Table Control (before WinCC V7) (Page 283)
ScreenItem Object (Page 130)
TimeJump Property
Description
WinCC Online Trend Control
The "Index" property references a trend. "TimeJump" defines whether the time jumps in the
archive should be identified by the color defined in "TimeJumpColor".
WinCC Online Trend Control
The value of this attribute cannot be changed. Read only access.
See also
WinCC Online Trend Control (before WinCC V7) (Page 285)
WinCC Online Table Control (before WinCC V7) (Page 283)
ScreenItem Object (Page 130)
VBS for Creating Procedures and Actions
1.14 VBS Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 02/2013, A5E32315920-AA
589
34
TimeJumpColor Property
Description
WinCC Online Trend Control
The "Index" property references a trend. "TimeJumpColor" defines the color identifying the
time jumps in the archive. Whether the information is evaluated is dependent on the value of
the "TimeJump" property. The color is defined as an RGB value. LONG write-read access.
WinCC Online Trend Control
The value of this property cannot be changed. Read only access.
See also
ScreenItem Object (Page 130)
WinCC Online Trend Control (before WinCC V7) (Page 285)
WinCC Online Table Control (before WinCC V7) (Page 283)
TimeOverlap Property
Description
WinCC Online Trend Control
The "Index" property references a trend. "TimeOverlap" defines whether the time overlaps in
the archive should be identified by the color defined in "TimeOverlapColor".
WinCC Online Trend Control
The value of this property cannot be changed. Read only access.
See also
WinCC Online Trend Control (before WinCC V7) (Page 285)
WinCC Online Table Control (before WinCC V7) (Page 283)
ScreenItem Object (Page 130)
TimeOverlapColor Property
Description
WinCC Online Trend Control
The "Index" property references a trend. "TimeOverlapColor" defines the color identifying the
time overlaps in the archive. Whether the information is evaluated depends on the value of the
"TimeOverlap" attribute. The color is defined as an RGB value.
VBS for Creating Procedures and Actions
1.14 VBS Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
590
System Manual, 02/2013, A5E32315920-AA
Documents you may be interested
Documents you may be interested