SCL Data Types

NI-Industrial Communications for IEC 61850 15.0 Help

Edition Date: December 2015

Part Number: 373800D-01

»View Product Info
Download Help (Windows Only)

The following tables contain the IEC 61850 SCL data types that the NI-Industrial Communications for IEC 61850 software supports.

Common Data Types

Both clients and servers support the common data types.

Data Type Category SCL Data Type Name Explanation Example
Boolean BOOLEAN Boolean <Val>True</Val> or <Val>False</Val>
Integer INT8 8-bit signed integer numeric <Val>+100</Val>, <Val>-100</Val>
INT16 16-bit signed integer numeric <Val>+1000</Val>, <Val>-1000</Val>
INT32 32-bit signed integer numeric <Val>+100000</Val>, <Val>-100000</Val>
Enum Enumerated type. You can define the type of the Enum in the SCL file. Refer to the IEC 61850-6:2004, 9.5.6 standard for the format of Enum types. You can read or write the values of the Enum. For example, if an Enum type AA has the following definition.
OrderValue
1On
2Off
If a point is Enum type AA, you must write 1 or 2 to this point. The value you read from the point is either 1 or 2.
The initial value of the Enum must match the definition of the Enum type. For example, if an SCL node is Enum type AA, the initial value of the node must be either On or Off.
Unsigned Integer INT8U 8-bit unsigned integer numeric <Val>100</Val>
INT16U 16-bit unsigned integer numeric <Val>1000</Val>
INT32U 32-bit unsigned integer numeric <Val>100000</Val>
Dbpos 2-bit coded Enum, or Bit Field. The 2-bit coded Enum uses the highest 2 bits of an INT8U. Dbpos ignores the rest 6 bits. For example, if the value of the Dbpos is bad-state, the value of the INT8U is binary 11000000.
00intermediate-state
01off
10on
11bad-state
<Val>intermediate-state</Val>

<Val>off</Val>

<Val>on</Val>

<Val>bad-state</Val>
Tcmd 2-bit coded Enum, or Bit Field. The 2-bit coded Enum uses the highest 2 bits of an INT8U. The Tcmd ignores the rest 6 bits. For example, if the value of Tcmd is lower, the value of INT8U is binary 01000000.
00stop
01lower
10higher
11reserved
<Val>stop</Val>

<Val>lower</Val>

<Val>higher</Val>

<Val>reserved</Val>
Check 2-bit coded Enum, or Bit Field. The 2-bit coded Enum uses the highest 2 bits of an INT8U. Check ignores the rest 6 bits. For example, if the value of Check is interlocking-check, the value of INT8U is binary 10000000.
00no-check
01synchrocheck
10interlocking-check
11both
<Val>no-check</Val>

<Val>synchrocheck</Val>

<Val>interlocking-check</Val>

<Val>both</Val>
Quality 13-bit coded Enum, or Bit Field. The 13-bit coded Enum uses the highest 13 bits of an INT16U. Quality ignores the rest 3 bits. Refer to the IEC 61850-7-2:2003, 5.5.3.7.3.3 for the definition of each bit. Refer to IEC 61850-7-2:2003.
Floating-Point FLOAT32 Single-precision, floating-point numeric <Val>2E-5</Val>
FLOAT64 Double-precision, floating-point numeric <Val>2E+35</Val>
Raw Character Bytes VisString32 Raw character bytes. Ensure the data format matches the encoding you use. <Val>example</Val>
VisString64
VisString65
VisString129
VisString255
Octet64 <Val>10FF11BB</Val>
Unicode255 Raw UTF-8 character bytes. <Val>UTF-8 example</Val>
EntryTime Number of nanoseconds since 1904-01-01 00:00:00. Refer to the IEC 61850-7-2:2003, 5.5.3.8 for definition of EntryTime. N/A
Timestamp Number of nanoseconds since 1904-01-01 00:00:00. You can read or write the quality of Timestamp. Quality is an 8-bit coded Enum. Refer to the IEC 61850-7-2:2003, 5.5.3.7 for the definition of Timestamp. N/A

Client/GOOSE/SMV Extension Data Types

Only clients, GOOSE subscribers, or SMV subscribers support the extension data types.

Data Type Category Data Type Name Explanation
Raw Character Bytes Octet6 Array of bytes. The array contains up to six bytes that represent octets. For example, the array [0x7F, 0xFF, 0xAA, 0xBB, 0xCC, 0xDD] represents octets 7FFFAABBCCDD.
Octet8 Array of bytes. The array contains up to eight bytes that represent octets. For example, the array [0x7F, 0xFF, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xGG] represents octets 7FFFAABBCCDDEEGG.
Unsigned Integer BitString2 2-bit coded Enum, or Bit Field.
BitString5 5-bit coded Enum, or Bit Field.
BitString6 6-bit coded Enum, or Bit Field.
BitString8 8-bit coded Enum, or Bit Field.
BitString10 10-bit coded Enum, or Bit Field.
BitString13 13-bit coded Enum, or Bit Field.
Structure Structure You cannot read or write the structure directly. You can read or write the leaf node of the structure by using VIs that match the data type of the node.
Array Array You cannot read or write the array directly. You can read or write the leaf node of the array by using VIs that match the data type of the node.

WAS THIS ARTICLE HELPFUL?

Not Helpful