Hi Guru, I have a question about WinCC Trends. Can I dynamize the different y-axes depending on the tags to graph that are selected from the list? Because I have many variables of different magnitudes and I want to be able to view the axes if only the tags are selected. Thanks you
Yes, you can create multiple value axes on a Trend Control with different value ranges and assign the value trends to the the relevant value axis. Just click on the Value Axis tab, add a new axis, set the value range and give it a name. Then on the Trends tab, add trends to the relevant value axis.
@@WinCCGURU I create differents axes and I assign the tags to my axes but, I want to be able to dynamize the visulization of the 'y' axes depending on the tag I select corresponding to the axis. For example, in the same trend I have tags of pressure, temperature, current, level, etc. and I want to hide the axes if the pressure tags are not selected, and the same with tags of temperature, current, etc.
Ah, OK. You have full access to the properties of the Trend Window via VBS Script, so you may be able to do what you want in a VBS Script. Please see this video: ruclips.net/video/YkhWg32srHg/видео.html it shows how to programmatically define the trend window attributes. This particular script is assigning tags to trends and colors, etc, but you will get the idea. Please take a look.
@@WinCCGURU Thanks you for the answer, I will watch the video. Lastly, where would be the correct place to put the VBS script? In which event would it be best? Considering that, based on what I want to do, it should update when selecting or deselecting tags.
@@rodrigobaliosian5370 in WinCC, anytime an object property changes, it generates an event which can be used to trigger a script or action. If you look on the events tab of the trend control , under Object Events, you will see a lot of events you can probably use to detect when a trend is selected. My advice is to put an HMIRuntime.Trace statement on each and print out the event name, then go to runtime and add trends, and see which event triggers. that's where you put the script.
sir, Bob thanks you very much,🙂
You are very welcome. Hope it helped.
Sir, I have received a lot of help. I will send you the video and images. Thank you very much
great job keep doing
Will do. Been putting a lot of time into the class
Members of this channel can download the WinCC V8 version of the example project.
Hi Guru,
I have a question about WinCC Trends.
Can I dynamize the different y-axes depending on the tags to graph that are selected from the list? Because I have many variables of different magnitudes and I want to be able to view the axes if only the tags are selected.
Thanks you
Yes, you can create multiple value axes on a Trend Control with different value ranges and assign the value trends to the the relevant value axis. Just click on the Value Axis tab, add a new axis, set the value range and give it a name. Then on the Trends tab, add trends to the relevant value axis.
@@WinCCGURU I create differents axes and I assign the tags to my axes but, I want to be able to dynamize the visulization of the 'y' axes depending on the tag I select corresponding to the axis.
For example, in the same trend I have tags of pressure, temperature, current, level, etc. and I want to hide the axes if the pressure tags are not selected, and the same with tags of temperature, current, etc.
Ah, OK. You have full access to the properties of the Trend Window via VBS Script, so you may be able to do what you want in a VBS Script. Please see this video: ruclips.net/video/YkhWg32srHg/видео.html it shows how to programmatically define the trend window attributes. This particular script is assigning tags to trends and colors, etc, but you will get the idea. Please take a look.
@@WinCCGURU Thanks you for the answer, I will watch the video.
Lastly, where would be the correct place to put the VBS script? In which event would it be best? Considering that, based on what I want to do, it should update when selecting or deselecting tags.
@@rodrigobaliosian5370 in WinCC, anytime an object property changes, it generates an event which can be used to trigger a script or action. If you look on the events tab of the trend control , under Object Events, you will see a lot of events you can probably use to detect when a trend is selected. My advice is to put an HMIRuntime.Trace statement on each and print out the event name, then go to runtime and add trends, and see which event triggers. that's where you put the script.
Hi
Could you please make video for long term archiving in wincc comfort panel?
Hi sir. I don’t have a comfort panel here. I am going to load Unified V19 and maybe I can simulate it …