The IEC61850 Server does not handle correctly some combinations of TrgOps events arising in single Data Object

The IEC61850 Server does not handle correctly some combinations of TrgOps events arising in single Data Object

Summary

The IEC61850 Server driver in zenon Logic (straton) should correctly handle all combinations of Trigger Options (TrgOps):

dchg, qchg and dupd based also on each Data Attribute definition in the SCL, not only on RCB setting.

In SCL-file there are definitions - pro each data attribute (e.g. for stVal) - if its DATrgOp.dchg, *.qchg and *.dupd are TRUE or FALSE.
No definition of DATrgOp means = FALSE.

The Report should include the attribute only when:
the RCB.TrgOps condition is fulfilled (such event happens)
AND
the responding DATrgOp of this attribute is true.

According the IEC61850 Standard a single data attribute should use either data-change (dchg) or data-update (dupd) trigger option, eventually combined with quality-change (qchg).
Also a single RCB should use either dchg or dupd, not both.
According the Standard only special Classes can use dupd.

Anyway, the driver should be able to handle dchg and dupd when set together in one DA or in one ReportControl and any combination of them; the TrgOp dchg as more important reason.

Description

The IEC61850 Server driver in zenon Logic (straton) should correctly handle all combinations of Trigger Options (TrgOps):

dchg, qchg and dupd based also on each Data Attribute definition in the SCL, not only on RCB setting.

In SCL-file there are definitions - pro each data attribute (e.g. for stVal) - if its DATrgOp.dchg, *.qchg and *.dupd are TRUE or FALSE.
No definition of DATrgOp means = FALSE.

The Report should include the attribute only when:
the RCB.TrgOps condition is fulfilled (such event happens)
AND
the responding DATrgOp of this attribute is true.

According the IEC61850 Standard a single data attribute should use either data-change (dchg) or data-update (dupd) trigger option, eventually combined with quality-change (qchg).
Also a single RCB should use either dchg or dupd, not both.
According the Standard only special Classes can use dupd.

Anyway, the driver should be able to handle dchg and dupd when set together in one DA or in one ReportControl and any combination of them; the TrgOp dchg as more important reason.

Solution

Now an eventual mismatch in SCL-file between the definition of DA and RCB the driver handles as following:

When the value of variable changes and this data attribute has one (or both) TrgOps - dchg or dupd - the driver creates new Report;
If only Report's TrgOps is dchg or dupd (or both); the TrgOps of DA and RCB do not need to match exactly.
In case of mismatch the Report's Optional Field has value of reason-for-inclusion (ReasonCode) according Report's TrgOps and not TrgOps of data attribute.
When Report's setting TrgOps includes both bits - dchg and dupd - then the reason-for-inclusion is dchg.

Information

Fixed in version 6600 of T5BusIec850s.dll



Issue Number: 23448
Fixed on Date: 20.11.2012
Versions: 7.00 0 BUILD 5
    • Related Articles

    • Checklist: Data Missing in Service Engine

      Time estimate: 60 minutes Please go through all the points in the following checklist. If necessary, confirm with IT Department any information you cannot verify before contacting your local COPA-DATA Representative. Checklist usage: #. [Quick hints] ...
    • Checklist: OPCDA Server

      Time estimate: 20 minutes Please go through all the points in the following checklist. If necessary, confirm with IT Department any information you cannot verify before contacting your local COPA-DATA Representative. Do NOT use DCOM in combination ...
    • FAQ: How, where, why and when does zenon Service Engine save data?

      zenon Disk Space Handling: The zenon Service Engine, by default, stores process data on the hard disk. This is true for a standalone zenon project, as well as the zenon Service Engine server(s) in the zenon network topology. This data consists of ...
    • IEC61850 Server - TrgOps is out of range when writing bitstring on server with Padding =0

      Description Issue when an 850-client emulated with LibIEC850 stack writes bitstring size 6 value encoded as 8 bits - with padding=0 (MMS encoding) - to the TrgOps attribute of a Report Control Block in the data model of the IEC61850 Server. The ...
    • IEC61850 Server is not responding Cancel command when Data Object is not selected

      Summary If a client sends request "Cancel" for Data Object which is not selected, the IEC 61850 Server does not react there is no response on this (erroneous) request. The server shall react using response+. Description If a client sends request ...