TSL Automation Solutions Logo

Section 8.4.4 · Chapter 8: Graphs and Charts

Line Chart - General Settings

This section describes how to define the general settings for a line chart. The following is an example of the General page of the Line Chart property sheet.

line chart

The following table describes each property in the General page.

Property

Description
ID The object’s identifier. It is generated when the object is created. The identifier is unique within the screen where the object is located. The format of the IDs for the line charts is LCnnnn.
Note You can type a note for the object.
Transparent Select this option if you want the object to have a transparent background.
Shape settings For details about the following properties, see Section 4.3.4 Setting up the Shape of an Object. , Border Color, BG Color
Chart BG Color Select a color for the background of the chart.
Data Type The type of the data that the line chart will display. The supported data types include: 16-Bit Unsigned Integer, 32-Bit Unsigned Integer, 16-Bit Signed Integer, 32-Bit Signed Integer, 16-Bit BCD, 32-Bit BCD, 32-Bit Floating Point, 16-Bit Signed BCD (LMB), 32-Bit Signed BCD (LMB), 16-Bit Signed BCD (LMD), and 32-Bit Signed BCD (LMD).
Read Trigger The bit variable or the word's bit variable that will trigger the line chart to read and display data. The bit variable triggers the line chart when its state changes from off to on. Click to enter an address for this field. Click to select a tag for this field.
Read Address The variable whose data is to be read and displayed. Click to enter an address for this field. Click to select a tag for this field.
The following tables show the data arrangements of the variable.
Data Type: 16-bit; Number of Data Sets: 1
Word Description
0 Actual number of data points
1 Data point 0
2 Data point 1
… …
n+1 Data point n
Pulse Send a positive pulse to the specified bit.
Data Type: 16-bit; Number of Data Sets: 2
Word Description
0 Actual number of data points
1 Data point 0; Data set 1
2 Data point 0; Data set 2
3 Data point 1; Data set 1
4 Data point 1; Data set 2
… …
2n+1 Data point n; Data set 1
2n+2 Data point n; Data set 2
Data Type: 16-bit; Number of Data Sets: 8
Word Description
0 Actual number of data points
1 Data point 0; Data set 1
2 Data point 0; Data set 2
3 Data point 0; Data set 3
4 Data point 0; Data set 4
5 Data point 0; Data set 5
6 Data point 0; Data set 6
7 Data point 0; Data set 7
8 Data point 0; Data set 8
9 Data point 1; Data set 1
10 Data point 1; Data set 2
… …
8n+7 Data point n; Data set 7
8n+8 Data point n; Data set 8
Data Type: 32-bit; Number of Data Sets: 1
Word Description
0,1 Actual number of data points
2,3 Data point 0
4,5 Data point 1
… …
2n+2, 2n+3 Data point n
Data Type: 32-bit; Number of Data Sets: 2
Word Description
0,1 Actual number of data points
2,3 Data point 0; Data set 1
4,5 Data point 0; Data set 2
6,7 Data point 1; Data set 1
8,9 Data point 1; Data set 2
… …
4n+2, 4n+3 Data point n; Data set 1
4n+4, 4n+5 Data point n; Data set 2
Data Type: 32-bit; Number of Data Sets: 8
Word Description
0,1 Actual number of data points
2,3 Data point 0; Data set 1
4,5 Data point 0; Data set 2
6,7 Data point 0; Data set 3
8,9 Data point 0; Data set 4
10,11 Data point 0; Data set 5
12,13 Data point 0; Data set 6
14,15 Data point 0; Data set 7
16,17 Data point 0; Data set 8
18,19 Data point 1; Data set 1
20,21 Data point 1; Data set 2
… …
16n+14, 16n+15 Data point n; Data set 7
16n+16, 16n+17 Data point n; Data set 8
Number of Data Sets Specifies how many data sets the line chart will read. The line chart displays one line for each data set. A line chart can display up to 8 lines.
Maximum Number of Data Points Per Data Set Specifies the maximum number of data points that the line chart will read for every data set. A line chart can display up to 500 data points for one data set.
Note: The actual number of data points for every data set must be specified at runtime. The actual number must not exceed the maximum number.
Point Distribution Select one of the following methods to distribute the data points of a data set:
Method Description
Maximum Points The data points of a data set are evenly distributed across the X axis of the line chart based on the maximum number of data points for every data set. Therefore, the space between two adjacent data points is fixed.
Actual Points The data points of a data set are evenly distributed across the X axis of the line chart based on the actual number of data points. When the number of actual data points decreases, the space between two adjacent data points increases.
Direction Specifies the direction that the line chart draws the data points.
Show Mark Check this option so the line chart will put a square mark on every data point.
Show Line Check this option so the line chart will display a line connecting all the data points of a data set in sequence.
Clear Trigger The bit variable or the word's bit variable that will trigger the line chart to clear its content when its state changes from off to on. Click to enter an address for this field. Click to select a tag for this field.
Cursor Show Cursor Check this option so the line chart will display a cursor. You can touch and drag the cursor to the data point(s) that you want to select.
Cursor Color Select a color for the cursor.
Value Display Font Select a font for displaying the values of the selected data point(s).
Cursor Data Receiving Buffer The variable that will receive the value(s) of the selected data point(s). It must be a piece of the internal memory.
Click to enter an address for this field. Click to select a tag for this field.
The following table shows the data arrangement of the buffer when the data type is 16-bit.
Word Description
0 The sequence number of the cursor selected data in the data set
1 The value of the selected data point of data set 1.
2 The value of the selected data point of data set 2.
… …
8 The value of the selected data point of data set 8.
The following table shows the data arrangement of the buffer when the data type is 32-bit.
Word Description
0,1 The sequence number of the cursor selected data in the data set
2,3 The value of the selected data point of data set 1.
4,5 The value of the selected data point of data set 2.
… …
16,17 The value of the selected data point of data set 8.
Dynamic Range Dynamic Range Check this option so the minimum and the maximum of the pen for each data set will be specified at runtime. When this option is selected, the minimum and maximum of the marks for the X axis and Y axis can be specified at runtime too. The data that specifies the above two ranges should be set and arranged correctly in a memory block called the dynamic range parameter block. You need to specify the dynamic range parameter block in the Dynamic Range Parameter Block field.
Dynamic Range Parameter Block Specifies the variable that stores the dynamic range parameter block for the line chart when the Dynamic Range is selected. Click to enter an address for this field. Click to select a tag for this field.
The following table shows the data arrangement of the parameter block when the data type is 16-bit.
Word Description
0,1 The minimum of the mark for the X axis; 32-bit integer number
2,3 The maximum of the mark for the X axis; 32-bit integer number
4,5 The minimum of the mark for the Y axis; 32-bit integer number
6,7 The maximum of the mark for the Y axis; 32-bit integer number
8 The minimum for pen #1; 16-bit integer number or 16-bit unsigned integer number
9 The maximum for pen #1; (Same as above)
10 The minimum for pen #2; (Same as above)
11 The maximum for pen #2; (Same as above)
… …
22 The minimum for pen #8; (Same as above)
23 The maximum for pen #8; (Same as above)
The following table shows the data arrangement of the parameter block when the data type is 32-bit.
Word Description
0,1 The minimum of the mark for the X axis; 32-bit integer number
2,3 The maximum of the mark for the X axis; 32-bit integer number
4,5 The minimum of the mark for the Y axis; 32-bit integer number
6,7 The maximum of the mark for the Y axis; 32-bit integer number
8,9 The minimum for pen #1; 32-bit integer number, 32-bit unsigned integer number, or 32-bit floating point number
10,11 The maximum for pen #1; (Same as above)
12,13 The minimum for pen #2; (Same as above)
14,15 The maximum for pen #2; (Same as above)
… …
36,37 The minimum for pen #8; (Same as above)
38,39 The maximum for pen #8; (Same as above)

Need PM Designer itself?

V4 for current PK, PT, ITV and PM panels, V2 for older models. Free, sent by email.

Source.Section 8.4.4 of the PM Designer Software User Manual, Edition 2.0, © Cermate Technologies Inc. (www.cermate.com, service@cermate.com). Reproduced online, with the manual's own figures, by TSL Automation Solutions, authorised Cermate distributor, for users of Cermate HMI panels. PM Designer and PanelMaster are trademarks of Cermate Technologies Inc.

Text and figures are the manufacturer's and may describe features your panel or software version does not have. For a plain-language introduction read the PM Designer guide; for help with a specific panel contact TSL Automation.