IEC-104 TimeStamps

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
Troodon
Posts:3
Joined: Fri Nov 18, 2011 9:33 am

IEC-104 TimeStamps

Post by Troodon »

I have a project based in the IEC-60870-5-104 driver. I have several datapoints configured as ASDU type 30 (single point with CP56 Time tag).

Can I have both of the following timestamps?:

1.-the timestamp included in the cp56 ASDU

2.-The timestamp when the driver receives the ASDU


Thank you.

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

Re: IEC-104 TimeStamps

Post by Gertjan van Schijndel »

1. This timestamp is normally used by the driver as timestamp of the value.
2. The driver cannot add this extra information to the value (it can only send a single timestamp with the value).
However when the value triggers an alert then '_alert_hdl.._system_time' contains the timestamp of when the event manager has received the value and raised the alert.
Otherwise a solution could be to use a driver plugin. Which adds the value again, but with the current timestamp. One of the values should be marked with the 'histDataBits', so this value is written as a correction value and does not break the chronological order of the values.

2 posts • Page 1 of 1