Last updated
Last updated
Introduction
This section will introduce common settings in Chart objects
1) Shape
Set appearance of object, includes background color, head color, text color, line color, select row color
2) Advance
Head text color: It sets the text color of the header;
Transparency: It sets transparency of the table background, 0% represents full transparency, and 100% represents completely opaque;
Cell type: Default is adaptive width. After select a customization, customization could set the width of the cell;
Date and time format: According to the needs to select the date and time display format. "NONE" means no display; please do not set both time and date to "NONE";
3) Use function address:
Customization for query function, HMI system assign address according to the settings, and four control key and query screen will be created, user could see the query details in this query screen.
For example: Function address (20 words) is HDW0, the function screen as below shows;
If the start address set as HDW0 the next 10 address perform the following functions.
✎Note:
[Function address (20 words)] need to be HMI internal address;
When the start time and end time of the query are enabled, if the end time is smaller than the start time, the system automatically swaps the start and end times to calculate the span of the query;
After manually setting the start time and end time of the query, you need to manually update the data (the default will be automatically updated);
4) Appearance
Background type: There are four modes, style 1 and style 2 is gradient mode, style 3 is solid color mode, style 4 is transparent;
Transparency: transparency could be set from 0% to 100%. when set to 0%,the background is completely transparent;
Position: Show position coordinates for X and Y axes;
Size: Set object size;
Number of X, Y axis: Set the number of grids on the XY axis could be set from 1 to 10 divisions.
Color setting: Color 1 is for object frame; color 2 is for grid background.
Show dot: Display the data points of each trend graph;
User font: If check it, user could change the font for grid and time, if uncheck it, object uses build-in font;
Grid color: Set color for grid, the default is black;
Scale color: Set color for scale, the default is black;
Scale value color: Set color for scale value, the default is black;
Data format: select data format in object, it provides below format;
Time format: Select time format in object, it provides below format;
Time type: There are two time displaying type, one is only displaying the start and end time, and the other is displaying time for each cell;
Curve Fitting (XY)
Line type: Set the line type (line, curve) between two points.
Smoothness: it sets the smoothness of curve. Smoothness sets the curve smoothness. Conversely, the corner of the curve is sharper.
Address
Type
Object
Function
HDW0
Word
Numerical input/display
Start time: year
HDW1
Word
Numerical input/display
Start time: month
HDW2
Word
Numerical input/display
Start time: day
HDW3
Word
Numerical input/display
Start time: hour
HDW4
Word
Numerical input/display
Start time: minute
HDW5
Word
Numerical input/display
Start time: second
HDW6
Word
Numerical input/display
Time span
HDW7
Word
Numerical input/display
Time span settings, 0=minute, 1=hour, 2=day
HDW8
Word
Word switch
Default value: 1
Page forward: value-1, minimum value is 1
Page backward: value +1, minimum value is 65535
HDX9.0
Bit
Bit switch
Auto refresh
HDX13.0
Bit
Bit switch
Calculate the span method:
=0: Calculate the time span of the query by using the span value and the span unit;
=1: Calculate the time span of the query with the start and end time.
HDW14
Word
Numerical input/display
Effective when HDX13.0=1
End time: year
HDW15
Word
Numerical input/display
Effective when HDX13.0=1
End time: month
HDW16
Word
Numerical input/display
Effective when HDX13.0=1
End time: day
HDW17
Word
Numerical input/display
Effective when HDX13.0=1
End time: hour
HDW18
Word
Numerical input/display
Effective when HDX13.0=1
End time: minute
HDW19
Word
Numerical input/display
Effective when HDX13.0=1
End time: second