retrieving time stamp of SoE using S7 driver

Find and share HowTos to various installations / configurations!
Search

Post Reply
6 posts • Page 1 of 1
amitgolhani
Posts: 41
Joined: Thu Apr 10, 2014 10:32 am

retrieving time stamp of SoE using S7 driver

Post by amitgolhani »

Hello,

I would like to know whether SoE time stamp stored in DB of Siemens S7 400 PLC series can retrieved and mapped onto _stime attribute of _original config? Is there any config entry?

Can I use both TSPP and S7 IE (TCP) in redundant PLC, redundant WinCC OA solution?

Best Regards,
Amit Golhani

User avatar
mweber
Posts: 42
Joined: Mon Aug 02, 2010 11:23 am

Re: retrieving time stamp of SoE using S7 driver

Post by mweber »

Hello Amit,

when you want to get the time stamps from the plc, then you have to use the TSPP protocol (BSend from PLC).
In case of TSPP, the sending is done by the PLC, so you should implement some logic in the PLC program, that only the active PLC is sending data to WinCC OA.


best regards

Markus

amitgolhani
Posts: 41
Joined: Thu Apr 10, 2014 10:32 am

Re: retrieving time stamp of SoE using S7 driver

Post by amitgolhani »

Hello Markus,

Thanks for reply.

I would like to know whether both WinCC OA will get information simultaneously or only one WinCC OA system will get information in case of TSPP? If only one WinCC OA system gets the information then, what will happen if telegram transmitted by PLC is not processed at WinCC OA ( due to some reason) before that change over happens at WinCC OA level?

Also please let me know if both IE (TCP) and TSPP can be used simultaneously.

Best Regards,
Amit Golhani

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

Re: retrieving time stamp of SoE using S7 driver

Post by Gertjan van Schijndel »

With cyclic services you can also receive data from a s7 plc, but I do not know if this includes a timestamp.

It is possible to use both IE (TCP) and TSPP by configuring 2 connections.

User avatar
mweber
Posts: 42
Joined: Mon Aug 02, 2010 11:23 am

Re: retrieving time stamp of SoE using S7 driver

Post by mweber »

Hi,

cyclic services is not the best choice, it will only send the value, not the time stamp (so in that case time stamping will done by the driver not plc).

Now to your question regarding redundant WinCC OA servers:
When using TSPP it is the same situation as using polling:
both drivers shall get the values.
So you have to configure your plcs, that they send the data to both WinCC OA servers.
In case of TSPP this is even more important than in case of polling, because the telegrams will not be resent if the driver has acknowledged the telegram but then crashes before it was sent to the event.
When sent to both servers, the two event managers will then use the redu deja vu feature to ensure that no data is lost.

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

Re: retrieving time stamp of SoE using S7 driver

Post by Gertjan van Schijndel »

I expected that the cyclic service 'Send on data change' would include the timestamp from the plc.

Post Reply
6 posts • Page 1 of 1