Map PI Point data types to IEC 60870-5-104 types
- Last UpdatedJan 04, 2023
- 2 minute read
The IEC 60870-5-104 data types are structural types. Therefore, the connector must use one or more PI points to establish the relation. Moreover, the IEC structural types almost always contain a Quality member. On the PI side, the connector must create a quality PI point and map the IEC Quality to it. The quality PI points are digitals. Their creation is optional and can be turned off. The following table summarizes how the data type mapping looks like. For the digital PI points the name of the used digital set is after the colon.
IEC 60870-5-104 data type to PI data type
|
IEC 60870-5-104 data type |
PI data type - value point(s) |
PI data type - quality point |
|---|---|---|
|
Single point.Value |
Digital:SinglePointValue |
|
|
Single point.Quality |
Digital:ValueQualityEnum |
|
|
Double point.Value |
Digital:DoublePointValue |
|
|
Double point.Quality |
Digital:ValueQualityEnum |
|
|
Step position.Value |
Int32 |
|
|
Step position.Transient |
Digital:TransientValue |
|
|
Step position.Quality |
Digital:ValueQualityEnum |
|
|
Bitstring of 32 bit.Value |
Int32 |
|
|
Bitstring of 32 bit.Quality |
Digital:ValueQualityEnum |
|
|
Measured value normalized.Value |
Float32 |
|
|
Measured value normalized.Quality |
Digital:ValueQualityEnum |
|
|
Measured value scaled.Value |
Int32 |
|
|
Measured value scaled.Quality |
Digital:ValueQualityEnum |
|
|
Measured value short floating point.Value |
Float32 |
|
|
Measured value short floating point.Quality |
Digital:ValueQualityEnum |
|
|
Integrated totals.Value |
Int32 |
|
|
Integrated totals.Sequence |
Int16 |
|
|
Integrated totals.Quality |
Digital:TotalsQualityEnum |
|
|
Packed single point.Value |
Int32 |
|
|
Packed single point.Status change detection |
Int32 |
|
|
Packed single point.Quality |
Digital:ValueQualityEnum |
|
|
Packed output circuit of protection equipment.Value |
Int32 |
|
|
Packed output circuit of protection equipment.Elapsed time |
Int32 |
|
|
Packed output circuit of protection equipment.Quality |
Digital:ValueQualityEnum |
|
|
Measured value normalized value without quality descriptor.Value |
Float32 |
|
|
Event of protection equipment.Value |
Digital:DoublePointValue |
|
|
Event of protection equipment.Elapsed time |
Int32 |
|
|
Event of protection equipment.Quality |
Digital:ValueQualityEnum |
The connector creates digital sets and states to correspond with PI digital points, as shown in the following table. Events are marked as Bad when PI point values mapped to a corresponding IEC 60870-5-104 data type member value return a Quality member that is invalid (IV_*).
PI digital set states
|
PI digital set |
States |
|---|---|
|
ValueQualityEnum |
Valid IV NT IV_NT SB IV_SB NT_SB IV_NT_SB BL IV_BL NT_BL IV_NT_BL SB_BL IV_SB_BL NT_SB_BL IV_NT_SB_BL OV IV_OV NT_OV IV_NT_OV SB_OV IV_SB_OV NT_SB_OV IV_NT_SB_OV BL_OV IV_BL_OV NT_BL_OV IV_NT_BL_OV SB_BL_OV IV_SB_BL_OV NT_SB_BL_OV IV_NT_SB_BL_OV |
|
SinglePointValue |
OFF ON |
|
DoublePointValue |
Intermediate OFF ON |
|
TransientValue |
OFF ON |
|
TotalsQualityEnum |
Valid IV CA IV_CA CY IV_CY CA_CY IV_CA_CY |