10.2.3 SPC Trend

SPC Trend is used to display the data stored in the PLC at once, in a graph. It is similar to the Scope Trend but the difference is that the SPC Trend can designate the data on the X-Axis. In other words, each point is assigned an X and Y coordinate. Thus, the graph is not drawn with regard to time.

(1) Object Style

Configures the background color of the Trend object. The background includes the object area except for the grid, X-Axis, Y-Axis, and pens.

Item

Description

Color

Selects the object’s background color. You may select one from the 98 available colors.

(2) Line Color

Item

Description

Line Color

Changes the line color of the object. You may select one from 98 available colors.

(3) Pen

In this tab, you may assign the tags to monitor in the Trend object. In the case of the SPC Trend, you may configure up to 8 pens. Each pen may display up to 2048 data points.

Item

Description

Tag Name

Assign a tag name to monitor. You may manually enter the tag name in the field or select the number button on the left to bring up the [Pen] window.

Addr

Assign the device address to be monitored. Select the data type and I/O device, then press the button to configure the detailed address.

Tag

Assign the tag to be monitored. You may manually enter the tag name or press the button to select the tag.

Comment

Enter a descriptive title for the pen. This field must be filled in. The comment will be used instead of the tag name in the graph.

Min Value

Enter the minimum value which will be displayed on the graph. If you do not enter a value, this field will be set to the minimum value of the tag.

Max Value

Enter the maximum value which will be displayed on the graph. If you do not enter a value, this field will be set to the maximum value of the tag.

Pen Color

You may set a pen color. You may choose one from the 98 available colors.

Color

You may set a pen color. You may choose one from the 98 available colors.

(4) Grid

Item

Description

Display Grid

Shows or hides the grid.

X-Axis Grid No.

Assign the number of grid lines on the X-axis. You may assign from 1 to 99 grids.

Y-Axis Grid No.

Assign the number of grid lines on the Y-axis. You may assign from 1 to 99 grids.

Color

You may set a grid color. You may choose one from the 98 available colors.

(5) Y-Axis Legend

Item

Description

Display Min / Max Value

Shows or hides the min/max value of the pen on the Y-Axis.

Size (Pixels)

Configures the size of the text displayed on the Y-Axis. You may assign the value from 0 to 1024.

(6) X-Axis Legend

Item

Description

Display Min/Max Value

Shows or hides the min/max value on the X-Axis.

(7) SPC Options

Item

Description

Using Moving Point

The moving point represents the real-time point which is displayed on the graph according to the values of the X-Axis and Y-Axis tags. You may check the difference between the graph and the measured data.

Color

You may set a moving point color. You may choose one from the 98 available colors.

Size (Pixels)

Configures the size of the moving point. You may assign a value from 0 to 1024.

Using Moving Point Trace

You may trace the moving point with this option. When the tracing amount reaches the value that you have assigned to the ‘Trace Size’, the trace graph will not be updated. To update the new traces, use control tags to stop and restart the trace operation.

Using Fixed Trace Value

When you check this option, the path of the moving point will be displayed with as many points as the assigned value. You can assign a value from 1 to 800.

If you deselect this option, you must use a tag or an address to assign the value. You may assign a detailed address or browse for a tag by pressing the button.

Update Trace At X/Y Axis Data Changed.

When you select this option, the moving point’s path will increase every time the corresponding axis data changes.

Data Point Size (Pixels)

Configures the size of the data point. You may assign the value from 0 to 1024.

Draw Border

Shows or hides the border of the graph.

Draw Data Connection

Select this option to connect the data points with a line.

(8) SPC Tags

Item

Description

Control

Assign a tag to control the graph update of the SPC Trend. The object will be updated according to the value assigned to the ‘Control’ tag.

1: Overwrites a new graph on the existing graph.

2: Clears the current graph.

3: Clears and redraws the graph.

4: Starts ‘Moving Point Trace’ (only when the option is selected).

5: Pauses ‘Moving Point Trace’ (only when the option is selected).

6: Stops ‘Moving Point Trace’ (only when the option is selected).

Data Count

Assigns the number of each pen’s data to be drawn on the graph. The maximum value of the assigned tag is 2048. This option is used only when the control tag’s value is 1 or 3.

Control Bit

The assigned digital tag will display the state of data reception when the graph is updated. In the case of ongoing data reception, the assigned tag will be set (1). When the process is completed, the tag will be reset (0).

X-Axis Start Address

Assign a tag or an address to set the X-Axis starting coordinate.

X-Axis Minimum

Assign a tag or an address to define the minimum value of the X-Axis. If the minimum value is greater than the maximum value, the graph will not be updated. This option is used only when the control tag’s value is 1 or 3.

X-Axis Maximum

Assign a tag or an address to define the maximum value of the X-Axis. If the maximum value is smaller than the minimum value, the graph will not be updated. This option is used only when the control tag’s value is 1 or 3.

Y-Axis Minimum

Assign a tag or an address to define the minimum value of the Y-Axis. If the minimum value is greater than the maximum value, the graph will not be updated. This option is used only when the control tag’s value is 1 or 3.

Y-Axis Maximum

Assign a tag or an address to define the maximum value of the Y-Axis. If the maximum value is smaller than the minimum value, the graph will not be updated. This option is used only when the control tag’s value is 1 or 3.

X-Coordinate of Moving Point

Assign a tag that corresponds to the moving point’s X-coordinate. The moving point’s X-Axis value is calculated according to the current graph’s X-Axis Min/Max value and the corresponding tag value.

Y-Coordinate of Moving Point

Assign a tag that corresponds to the moving point’s Y-coordinate. The moving point’s Y-Axis value is calculated according to the current graph’s Y-Axis Min/Max value and the corresponding tag value.

- When the control tag’s value becomes 1 or 3 and the update starts, the system concentrates on the data reading. This may cause a delay to the other operations (opening a page, writing a tag value, etc.). You are recommended to update graphs before operating the project.

Â