Author Topic: Trending  (Read 1620 times)

gusterminator

  • Newbie
  • *
  • Posts: 16
    • View Profile
Trending
« on: September 25, 2017, 04:21:15 PM »
Hi guys,

I am trying to Trend SP, PV, and CV for tuning a PID.  I am having problems with my trend chart showing the data from the PLC.  I am communicating either net IP.  Do I have to make a data base file and link to it for the trending to work?  I can't find a complete article on how to set up a trend from the beginning to end.
Does any body have some good input for me or links on information on how to do this using either net IP?

Thanks,


Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Trending
« Reply #1 on: September 25, 2017, 05:33:49 PM »
- Add a ChartBySampling to the form
- In the Properties Window, click in the PLCAddressItems to get the ellipsis button
- Click the ellipsis button to get the next window to open
- Add your PLC items to the list

Run the application and you should be getting a trend chart
« Last Edit: September 25, 2017, 06:39:18 PM by Archie »

gusterminator

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Trending
« Reply #2 on: September 25, 2017, 07:26:56 PM »
Thanks Archie!! :0)
I have One Tag working.....Having a problem getting two to show up on the same window.....is this possible?  I added 3 but only the first one shows up.

gusterminator

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Trending
« Reply #3 on: September 26, 2017, 12:01:45 PM »
I can get one tag to work on a Trend at one time......I can't figure out how to get 3 tags to trend at the same time on one trend chart.  I am adding all 3 tags to the PLCAddressItems but only one will show up.

Any ideas?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Trending
« Reply #4 on: September 26, 2017, 01:57:20 PM »
Add 3 BasicLabels to your forms and set the PCLAddressValue to the same tags used in you chart. This will give you feedback if there is a problem with any of the tags.

gusterminator

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Trending
« Reply #5 on: September 26, 2017, 03:11:22 PM »
I ended up adding the tag's  to Chart.....Series as well as PLCAddresItems....set them up with the same settings and it's now working.

Thanks for all the help.  This should keep me busy for a while :0)