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
Data with PLC TimeStamp in WinCC OA
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Data with PLC TimeStamp in WinCC OA
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.
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
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.
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.