Maple Systems HMI5000 Series User Manual
Page 66
60
EZware5000 Series Programming Manual
1010-1007, Rev. 10
The number of data points must be stored at [control word address + 1], and the data must be stored starting at
[Data storage start address] before the control value is written to the Control Word address.
If Offset to start address is checked, the following consecutive addresses are used by the Data Block Display:
Control Word address
Draws/clears the plot
Control Word address + 1
Defines number of data points to plot (n = up to 1024)
Control Word address + 2
First data point to plot
Control Word address + 3
Second data point to plot
Control Word address + n + 1
Last data point to plot
The number of data points must be stored at [control word address + 1], and the data must be stored starting at
[control word address + 2] before the control value is written to the Control Word address.|
n = number of data samples
XY Plot
The XY Plot Object is used to plot one series of values against another series of values on a line graph.
The direction of the plot is defined in the Direction field as follows:
Direction
Result
Right
The origin is at the lower left. The X-axis moves to the right, the Y-axis moves up.
Left
The origin is at the lower right. The X-axis moves to the left, the Y-axis moves up.
Up
The origin is at the lower left. The X-axis moves up, the Y-axis moves to the right.
Down
The origin is at the upper left. The X-axis moves down, the Y-axis moves to the right.
The No. of channels field specifies the number of datasets to plot (up to 16 channels).
The Control Address specifies the address to use to control how the XY Plot operates. The following values can be
written to the Control Address to control the plot:
Trigger Value
Control Function
1
Draws the plot for the selected channel, leaves existing data.
Can display up to 32 plots for 1 channel, 16 plots for 2 channels, 8 plots for 4 channels, etc.
2
Clears the plot for the selected channel.
3
Clears the plot for the selected channel, then redraws the plot with the current data.
The HMI will write a 0 to the Control Word address after the operation is complete.
The No. of data address field is automatically assigned to the next consecutive address after the Control Address. It
must be loaded with the number of pairs of X-Y data to plot. This value must be set before a trigger value is written to
the Control Address. Up to 1023 data points can be plotted per channel.