Technical Forum

SIMATIC WinCC (TIA Portal)

Wincc Trend f(x)trend view forget data

Thread Starter: Ace.Rimmer   Started: 6/6/2012 2:13 PM   Replies: 7

« Previous thread Next thread »
Page 1 of 1 (8 items)
  6/6/2012, 2:13 PM
Joined 4/12/2012
Last visit: 6/7/2012
Posts: 1
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

I use SW TIA Portal V11 SP2 and OP TP1200 Comfort. I work on application where  I need to show approximately 20 trends on one screen  with measured values. X axis is not time, but number of measuring. I need to actualize trend with new data and shift by 1 position to left when new data are measured by PLC. Event, which signals new data, is triggered by PLC (increment  some tag).

I used trend f(x)view. X axis is counter which is incremented every time when new measure occurs. Unfortunately, there is a problem. If measuring stop, the data from trend begin disappearing. Trend „forgot“ old data. If I set in trend properties „time span“, for example time span = 5 min, everything is OK. But If I set data range as 20 measuring points, the data begin to disappearing after some time.

I tried to solve this problem by data logging as historical data. I show in trend this historical data from  data log. There is another problem I have not solved yet. My data log procedure:

PLC set auxiliary tag to 1 when PLC have new data for OP. In TIA Portal project for OP is Event – on change connected to auxiliary tag in PLC. This event starts many systems functions LogTag. Unfortunately, function LogTag is not possible to use in VBScript. I need to store all data in one moment. It works fine in simulation on PC. But when I try it on TP1200 it make mistakes in data store to memory.  The effect is that when I change screen on panel the trends will completely destroys, they show nonsense data. I tried to store data in RDB, CSV and TXT formats. I have been searching for a cause of this problem and have found  the problem is different time stamp in data log file.  Maybe, It is caused by worse computing power of OP (everything is OK on PC simulation)

 

For illustration part of CSV log file

Good data log:

"Count_Meas ";"4.6.2012 10:05:14";1;1;41064420301,1111

"Sirka8_Meas";"4.6.2012 10:05:14";0;1;41064420301,1111

"Delka8_Meas";"4.6.2012 10:05:14";0;1;41064420301,1111

"Count_Meas ";"4.6.2012 10:05:15";2;1;41064420310,3935

"Sirka8_Meas";"4.6.2012 10:05:15";0;1;41064420310,3935

"Delka8_Meas";"4.6.2012 10:05:15";0;1;41064420310,3935

 

Error occurred in data log:

"Count_Meas ";"4.6.2012 10:05:15";2;1; 41036517353.2755

"Sirka8_Meas";"4.6.2012 10:05:15";0;1; 41036517353.   //different time

 "Delka8_Meas";"4.6.2012 10:05:15";0;1; 41036517353.7894  //different time

 

I think this is caused by some interrupt or parallel process during data logging to file. I don’t know how solve this problem.

 

Ace Rimmer

Top
  6/8/2012, 12:21 PM
Joined 9/5/2011
Last visit: 5/22/2013
Posts: 2576
Rating:
Rated: Outstanding [3.83 out of 5 / rated 131 time(s)]. (131) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

you should test it with the new upadte of WinCC V11 SP2.

Updates for STEP 7 V11 SP2 and WinCC V11 SP2


Tweety
Top
  4/2/2013, 7:03 AM
Joined 8/13/2008
Last visit: 5/20/2013
Posts: 10
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

Hello,


did you solve this problem somehow? I have similliar problem with datalog and no idea how to fix it.

Thanks for an answer


wrote:

Error occurred in data log:

"Count_Meas ";"4.6.2012 10:05:15";2;1; 41036517353.2755

"Sirka8_Meas";"4.6.2012 10:05:15";0;1; 41036517353.   //different time

 "Delka8_Meas";"4.6.2012 10:05:15";0;1; 41036517353.7894  //different time

 

I think this is caused by some interrupt or parallel process during data logging to file. I don’t know how solve this problem.

 

Ace Rimmer

Top
  4/3/2013, 2:09 PM
Joined 9/5/2011
Last visit: 5/22/2013
Posts: 2576
Rating:
Rated: Outstanding [3.83 out of 5 / rated 131 time(s)]. (131) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

Which panel do you use?
Do you use WinCC V12?
Do you use USB flash drive or MMC Card?

Tweety
Top
  4/26/2013, 1:59 PM
Joined 8/13/2008
Last visit: 5/20/2013
Posts: 10
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi Tweety,

panel KTP400 Comfort
project compiled on Wincc v11sp2u5
data are stored on internal MMC

Is it safe to migrate panel version to Wincc v12? Is there any other update (firmware,..) needed before project download? Or just download project migrated and built in v12?
Top
  4/30/2013, 1:19 PM
Joined 9/5/2011
Last visit: 5/22/2013
Posts: 2576
Rating:
Rated: Outstanding [3.83 out of 5 / rated 131 time(s)]. (131) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

You can open your project with WinCC V12.
Then you must change the device type from V11 to V12.
Now you can download this project to a panel with operating system of V12.

Tweety
Top
  5/17/2013, 8:30 AM
Joined 8/13/2008
Last visit: 5/20/2013
Posts: 10
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

tested in Wincc v12, but problem persist :(

Maybe, there is a problem with high panel CPU utilization.. Is it possible measure it during some time period?

Is there any other way how to acquire these two values in one time? I don't need cyclic recording, values are changed irregulary.





Attachment: Untitled.jpg  (3 Downloads)



=== Edited by harvi @ 5/17/2013 8:33 AM [GMT ] ===



Top
  5/17/2013, 4:57 PM
Joined 9/5/2011
Last visit: 5/22/2013
Posts: 2576
Rating:
Rated: Outstanding [3.83 out of 5 / rated 131 time(s)]. (131) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

Have a look in this link.

http://support.automation.siemens.com/WW/view/en/26190515

You have only this three acquisition modes:
On demand, Cyclic continuous and cyclic in operation.

https://www.automation.siemens.com/mdm/default.aspx?DocVersionId=51502341771&Language=en-US&TopicId=12293167371


Tweety
Top
Page 1 of 1 (8 items)
Actions