Data with PLC TimeStamp in WinCC OA

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
a_scratch
Posts:12
Joined: Thu Feb 09, 2012 3:40 pm

Data with PLC TimeStamp in WinCC OA

Post by a_scratch »

Hi,
We have to to acquire timestamped data from a PLC and we cannot use the built-in WinCC OA TSPP protocol.
Has anyone know what is the easy way to do it (read the timestamp from the PLC and write it in the database and the alarm and event panel.
Thank you

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Data with PLC TimeStamp in WinCC OA

Post by Gertjan van Schijndel »

The easiest option is by getting the timestamped data thru an OPC server, this should be possible with all plc's.
Depending on the plc, there could also be other ways to get timestamped data from the plc.

tmalone
Posts:192
Joined: Mon Nov 22, 2010 11:21 pm

Re: Data with PLC TimeStamp in WinCC OA

Post by tmalone »

Take a look at the help->CONTROL->Introduction to CONTROL->Type conversions

There is a section titled: Conversion of time values

It seems to hint that if you format a string correctly, you can get the value into a time data type. With that information, you could use the time variable with trending, and other OA features.

3 posts • Page 1 of 1