0% found this document useful (0 votes)
27 views10 pages

Lab 6 - Configure Time Offsets and Target Regions 4-59: Remove The Remote Systimesec Tag

This document describes how to apply different retrieval styles in Trend such as Best Fit, Cyclic, Linear, and Moving Average. It demonstrates overriding the default retrieval style at the tag level to compare how signals look when retrieved at full resolution versus using Best Fit.

Uploaded by

RAHAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views10 pages

Lab 6 - Configure Time Offsets and Target Regions 4-59: Remove The Remote Systimesec Tag

This document describes how to apply different retrieval styles in Trend such as Best Fit, Cyclic, Linear, and Moving Average. It demonstrates overriding the default retrieval style at the tag level to compare how signals look when retrieved at full resolution versus using Best Fit.

Uploaded by

RAHAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Lab 6 – Configure Time Offsets and Target Regions 4-59

4. Right-click the remote instance of the SysTimeSec tags and select Configure.
5. Change the Time Offset field to 10 seconds:

6. Click OK.
The traces appear with the configured offset:

7. Use the time value cursors to verify the offset (View / Time Axis Cursors).
Remove the remote SysTimeSec tag
Remove the instance of the remote SysTimeSec tag from the Trend, leaving the local
SysTimeSec tag in the Trend.

Wonderware System Platform Course - Part 2


4-60 Module 4 – ActiveFactory Trend

Trend a tag multiple times


8. Add SysTimeSec from your local Historian three more times.
9. Offset the second, third, and fourth instance of SysTimeSec by 10 seconds more than the one
before it. For example, the second SysTimeSec will be offset 10 seconds, the third 20
seconds, and the fourth 30 seconds.
The Trend should now look similar to the following:

This trend allow you to compare the behavior of the same signal in different moments in time.
In this example, the behavior of the same tag is shown 10, 20, and 30 seconds ago.
10. Close the Trend, saving it if you wish.

Analyze signals using relative time


11. Open a new Trend.
12. Add the LIT_001.PV tag to the trend two times.
13. Verify the current time mode button is disabled.
14. Click View / Relative Time.
15. Right-click on the first LIT_001.PV tag and select Configure.
16. Change the Start time: field to a time in the recent past. For example, today at 1:00 pm.
17. Click OK.
18. Configure the second instance of the tag with a start time that is 10 minutes later than the first
tag. In this example, 1:10 pm.
19. Click OK.
This will analyze the behavior of the level meter 10 minutes apart.
20. Click the enable or disable live or replay mode button to enable it.

Wonderware Training
Lab 6 – Configure Time Offsets and Target Regions 4-61

21. Click the drop-down menu to the right of the enable or disable live or replay mode button
and select 2x. Notice how the replay speed is affected.

22. Continue to alter the replay speed to see the effect on the Trend refresh rate.

Wonderware System Platform Course - Part 2


4-62 Module 4 – ActiveFactory Trend

Define a Target Region


23. Open a new Trend.
24. Add the SysDataAcqOverallItemsPerSec tag to the Trend.
25. Change the time span to ten minutes.
26. Click the Auto scale all tags button.
27. Click View / Relative Time.
Notice that the Trend axes now show relative time rather than absolute time. The time
displayed is relative to the Start Time displayed in the Tag List under the Trend.
28. Right-click the tag and select Configure.
29. Select the Target Region tab.
30. Click Load File...
31. Navigate to the TargetRegion.csv file in the C:\Wonderware Training folder.

32. Click OK.

Wonderware Training
Lab 6 – Configure Time Offsets and Target Regions 4-63

Notice the region is defined by a highlighted band.

33. Right-click the SysDataAcqOverallItemsPerSec tag and select Configure.


34. Click the Target Region tab.
35. You can adjust the Target region manually. Modify the last row of data to be:
Low: 68.5
High: 71.5

Wonderware System Platform Course - Part 2


4-64 Module 4 – ActiveFactory Trend

– Intentionally left blank –

Wonderware Training
Lab 7 – Advanced Properties: Retrieval Styles 4-65

Lab 7 – Advanced Properties: Retrieval Styles

Introduction
This lab demonstrates the use of the Retrieval Styles in Trend and how to properly apply different
Retrieval styles to achieve the desired results.

Objective
Upon completion of this lab, you will be able to:
z Apply the following retrieval styles:
z Best Fit
z Cyclic
z Linear
z Moving Average
z Custom
z Delta
z Slope

Wonderware System Platform Course - Part 2


4-66 Module 4 – ActiveFactory Trend

Using Standard Retrieval Styles


1. Open a new Trend.
2. Add the LIT_001.PV tag to the Trend.
3. Enable the current time mode button.
4. Click Tools / Options.
5. Select BestFit-5 in the Retrieval style field of the Retrieval tab. ActiveFactory Trend will
query the data using the Best Fit retrieval mode, with one cycle every five pixels.

6. Click OK.

Wonderware Training
Lab 7 – Advanced Properties: Retrieval Styles 4-67

The Trend updates:

7. Using the previous steps, change the Retrieval style to BestFit-10.


Notice the difference in the tag trace. Now that the interval for the Best it retrieval mode is 10 pixels
instead of 5, fewer data points are retrieved, and the line is less smooth.
8. Change the Retrieval style to BestFit-15.
The data is queried using the Best Fit retrieval mode, with one cycle every 15 pixels, resulting in a
choppier, even less smooth line.

Override the Retrieval Style at the tag level


9. In Tools / Options, change the Retrieval style to BestFit-10.
10. Add another instance of the LIT_001.PV tag to the current Trend.
11. Right-click the first instance of LIT_001.PV and select Configure.
12. Select the Retrieval tab.
13. Select Cyclic (ActiveFactory 9.1).
14. Click OK.
You can now compare how the tag data looks when retrieved with full resolution (Cyclic) versus
Best Fit. The signals now look very similar, however the amount of data retrieved is substantially
different. The data log will show this difference.

Wonderware System Platform Course - Part 2


4-68 Module 4 – ActiveFactory Trend

15. Uncheck the second instance of LIT_001.PV in the tag list.


16. Click View / Data Log / Narrow.

Data displayed in the Data Log represents the history data retrieved by ActiveFactory Trend
used to plot the trend. Notice how many rows are returned in the Data Log.
17. Close the Data log.
18. Uncheck the first instance of LIT_001.PV and check the second instance of LIT_001.PV.
19. Click View / Data Log / Narrow.
Notice there are fewer rows retrieved than for the first instance of the tag.
20. Check the first instance of LIT_001.PV so that both tag traces display in Trend.

Wonderware Training

You might also like