Many Variable in same trend window

Fmam89

Member
Join Date
Aug 2015
Location
egypt
Posts
19
Hi guys
I want to make one trend window which show many variable or trend
and I can control these variables , by using check box I can disappear any one and I can appear it again
 
There are some informations missing. Which system are you using?

Regarding your last question, I guess you are still using WinCC 7.0?

You can control the TrendControl objects with VBS or C-Script. The principle is in both the same.
Select the trendcontrol object, select the index of the trend you want to modify, then modify this trend.

Example in C-Script if the name of the TrendControl object is "TrendControl":
Code:
/* Select index 0 for the Trendcontrol with name "TrendControl"*/
SetPropWord(lpszPictureName, "TrendControl", "TrendIndex", 0);

/* Set variable for this index */
SetPropChar(lpszPictureName, "TrendControl", "TrendTagName", "Prozesswertarchiv\\Archivvariable_1");
For more information about scripting see the WinCC scripting manual:
https://support.industry.siemens.com/cs/ww/en/view/73453640

On page 263 there is a VBS example to control a trend-object.
 

Similar Topics

Good Evening , We have a number of Powerflex 525 Drives . I took notice for years elsewhere and our plant , that our Powerflex 525 drive...
Replies
0
Views
639
Good Afternoon, Just wondering , are many of you using SAP in your plants ? If so , is it difficult to learn ? Are there many training...
Replies
10
Views
1,419
It better to have too many instead of not enough right?
Replies
26
Views
2,892
Hi all- I have an application where: - I have a fixed system with a pre-determined, static, network (say, 192.168.2.0/24). - That system...
Replies
13
Views
4,238
I have an application that needs 20 inputs and 20 outputs with only 10 XNOR and 10 NAND blocks. I could do it with relays, but this could end up...
Replies
16
Views
5,169
Back
Top Bottom