IEC61850 Addressing
Addressing:
Address must apply the following pattern:
LogicalDeviceName/LogicalNodeName.FunctionalConstraint.{Data Attribute Path}
- LogicalDeviceName: The LD name of the IED. (BayController1MEAS)
- LogicalNodeName: the logical node that contains the data attribute represented by the tag. (T1MMXU1)
- Data Attribute Path: The data attribute path inside the selected logical node. (A.phsA.cVal.mag.f)
Examples:
- BayController1CTRL/QA1CSWI1.ST.Pos.stVal -->> Status of Control Switch (Double Point)
- BayController1CTRL/QA1CSWI1.CO.Pos.Oper.ctlVal -->> Control of Control Switch (On/Off)
- BayController1MEAS/T1MMXU1.MX.A.phsA.cVal.mag.f -->> Current Measurement of Phase A
- BayController1PROT/QA1PIOC1.ST.Op.general -->> Instantaneous over current relay status general status
Timestamp and Quality:
- Timestamp is automatically read by driver if the tag functional constraint is ST or MX. The timestamp is the "t" data attribute in the data object
that contains the the tag data attribute. - Timestamp can also be read if a tag is created with the timestamp address, example is "BayController1CTRL/QA1CSWI1.ST.Pos.t". The value
will be Unix timestamp which is of long data type. Unix timestamp is number of seconds since 1st of January, 1970. - Similarly, You can get quality of a Data Object by adding a tag with quality address, the tag must have integer data type. an example address
is "BayController1CTRL/QA1CSWI1.ST.Pos.q"
Datatype Mappings:
MMS Type |
Stream Datatype |
BOOLEAN |
Boolean |
INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, ENUMERATED, CODED ENUM, TIMESTAMP |
Integer |
FLOAT32, FLOAT64 |
Real |
OCTET STRING, VISIBLE STRING, UNICODE STRING |
String |
Controls:
- Control Operations must be executed from the tag that represents the Data Attribute of *.Oper.ctlVal
- No more tags are required to send a control command, you don't have to add anything related to sbo or sbow.
- The Driver automatically send the control command to its containing Data Object, for example "BayController1CTRL/QA1CSWI1.ST.Pos".
- When Sending control command, you can send SELECT, OPERATE, or CANCEL commands.
- The driver can automatically detect the control model by communication with IED.
- The Select, Operate, and Cancel commands requires a value.
- To Close a switch for example, with this address "BayController1CTRL/QA1CSWI1.ST.Pos", you need 2 commands, select and operate.
- Select value will be: "SELECT - 1"
- Operate value will be: "OPERATE - 1"
- The command value contains the command type (Select, Operate, Cancel) and the control value.
- After Command is sent successfully, the command tag will have that value of the last command, that's how you know the last command type, and its value.
- For Select Before Operate controls, it's necessary to add a tag to read the value of sboTimeout.
Writing Values:
- For writing values to configuration data attributes for example, your tag must have the full path to that data attribute,
for example, the select before operate timeout with the address: "BayController1CTRL/QA1CSWI1.CF.Pos.sboTimeout"
- This tag will be for both, reading the value from IED and writing a new value to the IED.
Data Collection:
- From Data Collection field, tag value can be collected by Reporting, Polling (cyclic scan), All (Reporting and Polling).
- Tag value collection can also be disabled if None is selected.
Notes:
- Data source can contain multiple Logical Device Names.