Setup Trend Window in OPC Trends and Alarms

Below is an example of using the OPC Trend.NET component integrated in the OPC Trends and Alarms container.

The OPC Trends and Alarms container can be used to display trends and alarms without developing a Visual Studio application.  You will have the most flexibility when you use Visual Studio to create your own container.  Keep in mind that no code is required to develop a Visual Studio application with OPC Systems.NET components, so do give it a try.

The OPC Trends and Alarms application can be deployed on the local system and remote systems.

Step

Task

1

Start OPC Trends and Alarms application.

2

Select File-New and save the file OPCSystemsDemo in the C:\OPCSystemsDemo\ directory.

 

Step

Task

1

Start OPC Trends and Alarms application if it is not already running.

2

Select the Add button under the Trends Navigator bar on the left.

3

Change the Trend Window Name to OPC Systems Demo.

4

Select the Modify Trend Window button and select Pens.

5

Select the Local OPC Systems Service in the Trend Point Tags dialog.

*Note: if you desire to setup the Trend Window to work on remote application enter the OPC Systems Service source IP Address, Network Node Name, or registered Internet domain name and to select the desired local or remote OPC Systems Service.  In this way the configuration can be deployed to multiple remote computers for remote trending.

6

Expand the Ramp Tag and select the Value Parameter and right click to Add Trend Point.

Only Parameters that have been enabled as Trend Point in the Tag configuration will appear for trending.

You can also optionally select DirectOPC to connect directly to OPC Server Items without configuring Tags.

 

7

Expand the Sine Tag and select the Value Parameter and right click to Add Trend Point.

 

 

8

Set the LineBorderColor of Sine.Value Pen to Red.

9

Set the YAxisRangeHigh to 1 and YAxisRangeLow to -1 of Sine.Value Pen.

10

Select OK in the lower left of the Trend Point Tags dialog.

 

11

Select the Modify Trend Window button and select Update Rates.

12

Set the TimeFrame to 60 seconds.

 

 

13

Select the Modify Trend Window button and select View.

14

Set the Lighting to MetallicLustre

15

Select the Modify Trend Window button and select Walls.

 

16

Set the BackWallColor to LightCoral.

17

The Trend Window should appear as below.

 

18

Click OK in the lower left corner.

19

Select File Save  

This is only necessary when you Add or Delete a Trend Window, Alarm Window, or View Window.  Modifications to a Trend or Alarm Window will automatically be saved in its own configuration file.

20

To test in the PC system supports 3D rendering to move processing to the graphic card select Configure-Options and enable the 3D Render Mode to Window.

Select Yes to Save the Render Mode when prompted.

 

21

Select the OPC Systems Demo Trend Window and select the Modify button.

If the Window appears correctly without the OPC Trends and Alarms application halting your systems supports 3D rendering to Window and no further action is required except to Cancel the Trend Window modification.

If the OPC Trends and Alarms application halts be sure to select Configure-Options once again and uncheck the 3D Render Mode to Window. Option and select OK.

22

Your Trend Window is now ready to Run Trend Window in OPC Trends and Alarms.

Continue: *Run Trend Window in OPC Trends and Alarms Container