The Line Graph is similar to the Real Time Graph in that it plots data TAG values over
time.
The The Real Time graph plots ONE TAG as it changes over time.
For example: If I change this TMPERATURE TAG to a 10, and a 50, and a 75, back to a 23,
you can see this graph is scrolling from right to left.
The Line Graph, on the other hand, plots a GROUP of TAGs all at once.
Each periodic update shows all of the tags at the same time – there’s no scrolling
effect.
You specify the starting TAG, in this case temperature, and the line graph plots that
one and however many more you request – I requested 10 total in this example as you
can see here.
You may have noticed that when I changed that Temperature TAG only the first position on
that line graph changed.
Watch, I’ll change it to a 100… and it bumped up, change it back down to 50 … bumps
down .. down to 25 .. so just that one tag is changing and it goes down to zero for the
next one.
So here is the next one right here – lets change him to 50 … and change his neighbor
to 75 … let’s change his neighbor to 23 … and his neighbor to 44 … his neighbor
to 33 .. etcetera – you get the idea.
I don’t need to do all of these.
Now every second this is updated and all 10 tags are updated at the same time.
For example, if I change the 23 now to a 55 this one point pops up.
Let’s do an example to see how to set this up:
Double click or drag the Line Graph onto the screen.
We’ll use the TEMPERATURE TAG as the PEN on this plot but remember, we’re not just
plotting the one TAG … we’re plotting this one plus several more.
How many?
Well, go back to the general TAB and you will see we are plotting 10 points per chart.
If you go back and look at the pen you can see its going to start at address DS500, which
is the address of this temperature tag, plus, 9 more words.
Other than that this is nearly identical to the Real Time Graph – all the same formatting,
all the same triggers and refresh rates, dynamic range vs regular range … you can see the
video on real time graphs to learn how to use all of those.
For now we’ll just hit OK, simulate this and see what we have done
And here we have our simulator.
If we just modify a few values real quick like we did before you can see them pop up
on the screen.
So this Line Graph is just plotting a series of 10 tags in real time all at once.
While we are here, lets go ahead and take a look at the color version of this.
We’ll go to the panel manager, flip us over to the 4 inch color screen...
I’ll keep things at the same resolution … and there’s our graph.
The only difference now is that all of your black and white colors have a lot more options.
Object colors, text colors … but the main difference is you now have 8 pens you can
use instead of just 2 we had for black and white.
Other than that, the color version is exactly the same as black and white.
We’ll throw a couple in here real quick so we can see what that looks like.
You can see that teach one is occupying 10 total words or 10 total “TAGS.”
This one is going from 500 plus 9, 520 plus 9, 540 plus 9.
We’ll say OK, lets make the graph a little bigger so we can see it, simulate it, save
the project and up pops the simulator.
So now I have temperature, temperature 2 plus his 9, and there’s Temperature 3 plus his
9 and there’s temperature plus his 9
If I put some random values in here .. I’m just making this up .. I have no idea where
I am putting them … we’re going to see what happens .. and you get the idea.
That’s it for this video – be sure to check out all of the other videos in this
series.
And as always, please send us any topics you would like to see covered – or - any other
comments for that matter – we appreciate the feedback!