Sei sulla pagina 1di 35

IEC 60870-5-103 telegram structure

 FT 1.2 frame format is used;


 Frames with fixed and variable block length and single control characters are used;
 Hamming distance = 4;

Frame with variable length

This frame type is used to transmit user data between controlling and controlled station

byte\bit 7 6 5 4 3 2 1 0
0 Start byte 1 (0x68) Header
1 Block length
2 Block length (copy)
LPCI
3 Start byte 2 (0x68)
4 RES PRM FCB / ACD FCV / DFC Function code Control field
5 Link address
6 Type identification (monitoring-direction, control-direction) DATA UNIT IDENTIFIER
7 SQ Number of object
8 Cause of transmission (monitoring-direction, control-direction) LPDU
9 ASDU address
10 Function type ASDU
11 Information number Info-object

Information elements

n-1 Checksum Tail


LPCI
n Stop byte (0x16)
Frame with fixed length

This frame type is used for link layer services. Sometimes used as an confirmation.

byte\bit 7 6 5 4 3 2 1 0
0 Start byte 1 (0x10)
1 RES PRM FCB / ACD FCV / DFC Function code Control field
2 Link address
3 Checksum
4 Stop byte (0x16)

Single character data

Single characters are used to confirm link layer and user data transmissions.

 0xE5 (positive acknowledge);


Standard IEC 60870-5-103 data types
Monitoring direction Control direction Dec Hex Description
M_TYPEUNDEF_3 C_TYPEUNDEF_3 0 0x00 Not used
M_TTM_TA_3 - 1 0x01 Time-tagged message
Time-tagged message with
M_TMR_TA_3 - 2 0x02
relative time
M_MEI_NA_3 - 3 0x03 Measurands I
Time-tagged measurands with
M_TME_TA_3 - 4 0x04
relative time
M_IRC_NA_3 - 5 0x05 Identification
M_SYN_TA_3 C_SYN_TA_3 6 0x06 Time synchronisation
Initialization of general
- C_IGI_NA_3 7 0x07
interrogation
M_TGI_NA_3 - 8 0x08 General interrogation
M_MEII_NA_3 - 9 0x09 Measurands II
M_GD_XA_3 C_GD_NA_3 10 0x0A Generic data
M_GI_XA_3 - 11 0x0B Generic identification
- - 12..19 0x0C..0x13 Reserved (standard area)
- C_GRC_NA_3 20 0x14 General command
- C_GC_NA_3 21 0x15 Generic command
- - 22 0x16 Reserved (standard area)
Monitoring direction Control direction Dec Hex Description
M_LRD_TA_3 - 23 0x17 List of recorded disturbances
Order for disturbance data
- C_ODT_NA_3 24 0x18
transmission
Acknowledgement for
- C_ADT_NA_3 25 0x19
disturbance data transmission
Ready for transmission of
M_RTD_TA_3 - 26 0x1A
disturbance data
Ready for transmission of
M_RTC_NA_3 - 27 0x1B
channel
M_RTT_NA_3 - 28 0x1C Ready for transmission of tags
M_TOT_NA_3 - 29 0x1D Transmission of tags
Transmission of disturbance
M_TOV_NA_3 - 30 0x1E
values
M_EOT_NA_3 - 31 0x1F End of transmission
- - 32..255 0x1F..0xFF Reserved (user defined area)
M_TTM_TA_3
Time-tagged message.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x1 (1) = M_TTM_TA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n Information number
|--- stream Information element/object data
|--- length =6
|--- data 7 6 5 4 3 2 1 0
|--- data[0] = 0 0 0 0 0 0 DPI DPI = Double-point information
|--- data[1..4] = CP32Time2a Four octets binary time tag
|--- data[5] = SIN Supplementary information
|--- data[6..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
M_MEI_NA_3
Measurands I.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x3 (3) = M_MEI_NA_3 Type identification
Sequence of information
| |--- bSQ = FALSE
objects
| |--- nObj =i Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n Information number
Information element/object
|--- stream
data
|--- length =8*i
|--- data 76543 2 1 0
MEA = Measurand with
|--- data[0] = RES ER OV
quality descriptor
|--- data[1] = MVAL Current L2
MEA = Measurand with
|--- data[2] = RES ER OV
quality descriptor
|--- data[3] = MVAL Voltage L1-L2
MEA = Measurand with
|--- data[4] = RES ER OV
quality descriptor
|--- data[5] = MVAL Active power P
|--- data[6] = RES ER OV MEA = Measurand with
quality descriptor
|--- data[7] = MVAL Reactive power Q
|--- data[8..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
M_MEII_NA_3
Measurands II.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x9 (9) = M_MEII_NA_3 Type identification
| |--- bSQ = FALSE Sequence of information objects
| |--- nObj =i Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n Information number
|--- stream Information element/object data
|--- length = 18 * i
|--- data 7 6543 2 1 0
MEA = Measurand with quality
|--- data[0] = RES ER OV
descriptor
|--- data[1] = MVAL Current L1
MEA = Measurand with quality
|--- data[2] = RES ER OV
descriptor
|--- data[3] = MVAL Current L2
MEA = Measurand with quality
|--- data[4] = RES ER OV
descriptor
|--- data[5] = MVAL Current L3
MEA = Measurand with quality
|--- data[6] = RES ER OV
descriptor
|--- data[7] = MVAL Voltage L1-E
MEA = Measurand with quality
|--- data[8] = RES ER OV
descriptor
|--- data[9] = MVAL Voltage L2-E
MEA = Measurand with quality
|--- data[10] = RES ER OV
descriptor
|--- data[11] = MVAL Voltage L3-E
MEA = Measurand with quality
|--- data[12] = RES ER OV
descriptor
|--- data[13] = MVAL Active power P
MEA = Measurand with quality
|--- data[14] = RES ER OV
descriptor
|--- data[15] = MVAL Reactive power Q
MEA = Measurand with quality
|--- data[16] = RES ER OV
descriptor
|--- data[17] = MVAL Frequency f
|--- data[18..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
C_SYN_TA_3
Time synchronisation. (control direction)

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x6 (6) = C_SYN_TA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc := GLB Function code/type
|--- n Information number
|--- stream Information element/object data
|--- length =7
|--- data 7 6 5 4 3 2 1 0
|--- data[0..6] = CP56Time2a Sevent octets binary time tag
|--- data[7..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
M_SYN_TA_3
Time synchronisation. (monitor direction)

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x6 (6) = M_SYN_TA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc = GLB Function code/type
|--- n Information number
|--- stream Information element/object data
|--- length =7
|--- data 76543210
|--- data[0..6] = CP56Time2a Seven octets binary time format
|--- data[7..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
C_IGI_NA_3
General interrogation.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x7 (7) = C_IGI_NA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc := GLB Function code/type
|--- n Information number
|--- stream Information element/object data
|--- length =1
|--- data 76543210
|--- data[0] = SCN Scan number
|--- data[1..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
M_TGI_NA_3
Termination of general interrogation.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x8 (8) = M_TGI_NA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc = GLB Function code/type
|--- n Information number
|--- stream Information element/object data
|--- length =1
|--- data 76543210
|--- data[0] = SCN Scan number
|--- data[1..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
M_MEII_NA_3
Measurands II.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x9 (9) = M_MEII_NA_3 Type identification
| |--- bSQ = FALSE Sequence of information objects
| |--- nObj =i Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n Information number
|--- stream Information element/object data
|--- length = 18 * i
|--- data 76543 2 1 0
|--- data[0] = RES ER OV MEA = Measurand with quality descriptor
|--- data[1] = MVAL Current L1
|--- data[2] = RES ER OV MEA = Measurand with quality descriptor
|--- data[3] = MVAL Current L2
|--- data[4] = RES ER OV MEA = Measurand with quality descriptor
|--- data[5] = MVAL Current L3
|--- data[6] = RES ER OV MEA = Measurand with quality descriptor
|--- data[7] = MVAL Voltage L1-E
|--- data[8] = RES ER OV MEA = Measurand with quality descriptor
|--- data[9] = MVAL Voltage L2-E
|--- data[10] = RES ER OV MEA = Measurand with quality descriptor
|--- data[11] = MVAL Voltage L3-E
|--- data[12] = RES ER OV MEA = Measurand with quality descriptor
|--- data[13] = MVAL Active power P
|--- data[14] = RES ER OV MEA = Measurand with quality descriptor
|--- data[15] = MVAL Reactive power Q
|--- data[16] = RES ER OV MEA = Measurand with quality descriptor
|--- data[17] = MVAL Frequency f
|--- data[18..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
M_LRD_TA_3
List of recorded disturbances.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x17 (23) = M_LRD_TA_3 Type identification
| |--- bSQ = FALSE Sequence of information objects
| |--- nObj =i Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n =0 not used
|--- stream Information element/object data
|--- length = i * 10
|--- data 7654 3 2 1 0
|--- data[0..1] = FAN Fault number
Dataset
|--- data[2] = RES OTEV TEST TM TP SOF = Status of fault
1
|--- data[3..9] = CP56Time2a Seven octets binary time tag
Dataset
|--- data[10..IEC870_MAX_ASDU_DATA_BYTE] =
2..i
C_ODT_NA_3
Order of disturbance data transmission.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x18 (24) = C_ODT_NA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n =0 not used
|--- stream Information element/object data
|--- length =5
|--- data 7 6 5 4 3 2 1 0
|--- data[0] = TOO Type of order
|--- data[1] = TOV Type of disturbance value
|--- data[2..3] = FAN Fault number
|--- data[4] = ACC Actual channel
|--- data[5..IEC870_MAX_ASDU_DATA_BYTE] =
C_ADT_NA_3
Acknowledgement for disturbance data transmission.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x19 (25) = C_ADT_NA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n =0 not used
|--- stream Information element/object data
|--- length =5
|--- data 76543210
|--- data[0] = TOO Type of order
|--- data[1] = TOV Type of disturbance value
|--- data[2..3] = FAN Fault number
|--- data[4] = ACC Actual channel
|--- data[5..IEC870_MAX_ASDU_DATA_BYTE] =
M_RTD_TA_3
Ready for transmission of disturbance data.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType 0x1A (26) = M_RTD_TA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n =0 not used
|--- stream Information element/object data
|--- length = 15
|--- data 7 654321 0
|--- data[0] = 0 not used
|--- data[1] = TOV Type of disturbance values
|--- data[2..3] = FAN Fault number
|--- data[4..5] = NOF Number of grid faults
|--- data[6] = NOC Number of channels
Number of information elements
|--- data[7..8] = NOE
of a channel
|--- data[9..10] = INT Interval
|--- data[11..14] = CP32Time2a Four octets binary time tag
|--- data[15..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
M_RTC_NA_3
Ready for transmission of channel.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x1B (27) = M_RTC_NA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n =0 not used
|--- stream Information element/object data
|--- length = 17
|--- data 76543210
|--- data[0] = 0 not used
|--- data[1] = TOV Type of disturbance value
|--- data[2..3] = FAN Fault number
|--- data[4] = ACC Actual channel
|--- data[5..8] = R32 RPV = Rated primary value
|--- data[9..12] = R32 RSV = Rated secondary value
|--- data[13..16] = R32 RFA = Reference factor
|--- data[17..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
M_RTT_NA_3
Ready for transmission of tags.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType 0x1C (28) = M_RTT_NA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n =0 not used
|--- stream Information element/object data
|--- length =4
|--- data 76543210
|--- data[0] = 0 not used
|--- data[1] = 0 not used
|--- data[2..3] = FAN Fault number
|--- data[4..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
M_TOT_NA_3
Transmission of tags.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x1D (29) = M_TOT_NA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n =0 not used
|--- stream Information element/object data
|--- length = 5 + (i * 3)
|--- data 7 65432 1 0
|--- data[0..1] = FAN Fault number
|--- data[2] = NOT Number of tags
|--- data[3..4] = TAP Tag position
|--- data[5] = Function code/type
|--- data[6] = Information number Tag 1
|--- data[7] = 0 DPI Double point information
|--- data[8..IEC870_MAX_ASDU_DATA_BYTE] = Tag 2..i
M_TOV_NA_3
Transmission of disturbance values.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x1E (30) = M_TOV_NA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n =0 not used
|--- stream Information element/object data
|--- length = 8 + (i *2)
|--- data 76543210
|--- data[0] = 0 not used
|--- data[1] = TOV Type of disturbance values
|--- data[2..3] = FAN Fault number
|--- data[4] = ACC Actual channel
|--- data[5] = NDV Number of relevant disturbance values per ASDU
|--- data[6..7] = NFE Number of the ASDU's first information element
|--- data[8..9] = SDV Single disturbance value 1
|--- data[10..11] = SDV Single disturbance value 2
|--- data[12..IEC870_MAX_ASDU_DATA_BYTE] = SDV Single disturbance value 3..i
M_EOT_NA_3
End of transmission.

- obj ASDU object


|--- + head Reserved
|--- - ident DATA UNIT IDENTIFIER
| |--- eType = 0x1F (31) = M_EOT_NA_3 Type identification
| |--- bSQ = TRUE Sequence of information objects
| |--- nObj =1 Number of objects
| |--- eCOT Cause of transmission
| |--- asduAddr Common address of asdu
| |--- eClass Fifo priority class
|--- - info INFORMATION OBJECT
|--- fc Function code/type
|--- n =0 not used
|--- stream Information element/object data
|--- length =5
|--- data 76543210
|--- data[0] = TOO Type of order
|--- data[1] = TOV Type of disturbance values
|--- data[2..3] = FAN Fault number
|--- data[4] = ACC Actual channel
|--- data[5..IEC870_MAX_ASDU_DATA_BYTE] = Reserved
TYPE E_IEC870_5_103CTypeID
TYPE E_IEC870_5_103CTypeID:
(
C_TYPEUNDEF_3 := 0, (* Not used *)
C_SYN_TA_3 := 6, (* Time synchronisation *)
C_IGI_NA_3 := 7, (* General interrogation *)
C_GD_NA_3 := 10,(* Generic data *)
C_GRC_NA_3 := 20,(* General command *)
C_GC_NA_3 := 21,(* Generic command *)
C_ODT_NA_3 := 24,(* Order for disturbance data transmission *)
C_ADT_NA_3 := 25 (* Acknowledgement for disturbance data transmission *)
);
END_TYPE

ASDU type identifier in control direction (master -> slave).


TYPE E_IEC870_5_103MTypeID
TYPE E_IEC870_5_103MTypeID:
(
M_TYPEUNDEF_3 := 0, (* Not used *)
M_TTM_TA_3 := 1, (* Time-tagged message *)
M_TMR_TA_3 := 2, (* Time-tagged message with relative time *)
M_MEI_NA_3 := 3, (* Measurands I *)
M_TME_TA_3 := 4, (* Time-tagged measurands with relative time *)
M_IRC_NA_3 := 5, (* Identification *)
M_SYN_TA_3 := 6, (* Time synchronisation *)
M_TGI_NA_3 := 8, (* General interrogation *)
M_MEII_NA_3 := 9, (* Measurands II *)
M_GD_XA_3 := 10,(* Generic data *)
M_GI_XA_3 := 11,(* Generic identification *)
M_LRD_TA_3 := 23,(* List of recorded disturbances *)
M_RTD_TA_3 := 26,(* Ready for transmission of disturbance data *)
M_RTC_NA_3 := 27,(* Ready for transmission of channel *)
M_RTT_NA_3 := 28,(* Ready for transmission of tags *)
M_TOT_NA_3 := 29,(* Transmission of tags *)
M_TOV_NA_3 := 30,(* Transmission of disturbance values *)
M_EOT_NA_3 := 31 (* End of transmission *)
);
END_TYPE

ASDU type identifier in monitoring direction (slave -> master).


TYPE E_IEC870_5_103MCOT
TYPE E_IEC870_5_103MCOT:
(
eIEC870_MCOT_UNUSED := 0, (* Not used *)
eIEC870_MCOT_SPONTAN := 1, (* Spontanous data *)
eIEC870_MCOT_CYCLIC := 2, (* Cyclic data *)
eIEC870_MCOT_FCB := 3, (* Reset FCB bit *)
eIEC870_MCOT_CU := 4, (* Reset communication unit *)
eIEC870_MCOT_SR := 5, (* Start/Restart *)
eIEC870_MCOT_ON := 6, (* Power on *)
eIEC870_MCOT_TST := 7, (* Test mode *)
eIEC870_MCOT_SYN := 8, (* Time synchronisation *)
eIEC870_MCOT_GI := 9, (* General interrogation *)
eIEC870_MCOT_TGI := 10,(* Termination of general interrogation *)
eIEC870_MCOT_LO := 11,(* Local operation *)
eIEC870_MCOT_RO := 12,(* Remote operation *)
eIEC870_MCOT_CP := 20,(* Positive ack of command *)
eIEC870_MCOT_CN := 21,(* Negative ack of command *)
eIEC870_MCOT_TOV := 31,(* Transmission of disturbance values *)
eIEC870_MCOT_WP := 40,(* Positive ack of generic write command *)
eIEC870_MCOT_WN := 41,(* Negative ack of generic write command *)
eIEC870_MCOT_RP := 42,(* Valid data response to genric read command *)
eIEC870_MCOT_RN := 43,(* Invalid data response to generic read command *)
eIEC870_MCOT_CWC := 44 (* Confirmation of generic write *)
);
END_TYPE

Cause of transfer in monitoring direction (slave -> master).


TYPE E_IEC870_5_103CCOT
TYPE E_IEC870_5_103CCOT:
(
eIEC870_CCOT_UNUSED := 0, (* Not used *)
eIEC870_CCOT_SYN := 8, (* Time synchronisation *)
eIEC870_CCOT_IGI := 9, (* Initialisation of general interrogation *)
eIEC870_CCOT_GRC := 20, (* General command *)
eIEC870_CCOT_TOV := 31, (* Transmission of disturbance values *)
eIEC870_CCOT_WC := 40, (* Generic write command *)
eIEC870_CCOT_RC := 42 (* Generic read command *)
);
END_TYPE

Cause of transfer in control direction (master -> slave).


Function type (code)
Type Description
0..127 Reserved (private area)
128 Distance protection
129 Not used (compatible area)
130..143 Reserved (private area)
144..145 Not used (compatible area)
146..159 Reserved (private area)
160 Overcurrent protection
161 Not used (compatible area)
162..175 Reserved (private area)
176 Transformer differential protection
177 Not used (compatible area)
178..191 Reserved (private area)
192 Line dirrerential protection
193 Not used (compatible area)
194..207 Reserved (private area)
208 Not used (compatible area)
209 Not used (compatible area)
210..223 Reserved (private area)
224 Not used (compatible area)
225 Not used (compatible area)
226..239 Reserved (private area)
240 Not used (compatible area)
241 Not used (compatible area)
242..253 Reserved (private area)
254 Generic function (GEN)
255 Global function (GLB)
Information number
Number Monitoring direction Control direction
0..15 System functions System functions
16..31 State General commands
32..47 Control Not used
48..63 Earth faults Not used
64..127 Short-circuit faults Not used
128..143 Automatic reclose Not used
144..159 Operating measured values Not used
160..239 Not used Not used
240..255 Generic functions Generic functions

TYPE E_IEC870_5_101DPI
Double-point information.

TYPE E_IEC870_5_101DPI :
(
eIEC870_DPI_INDETERMINATE0 := 0,
eIEC870_DPI_OFF := 1,
eIEC870_DPI_ON := 2,
eIEC870_DPI_INDETERMINATE3 := 3
);
END_TYPE
TYPE T_CP32Time2a
Four octets binary time format.

TYPE T_CP32Time2a :
STRUCT
Milliseconds : WORD; (* 0..59.999ms = 60sec = 1min *)
IVResMinute : BYTE; (* Bit 7 = IV (invalid time), Bit 6 = Res (spare bit), Bit 0..5 = Minutes (0..59min) *)
SURes2Hour : BYTE; (* Bit 7 = SU (1=summer time, 0=normal time), Bits 5..6 = Res2, Bits 0..4 = Hours (0..23) *)
END_STRUCT
END_TYPE

TYPE T_CP56Time2a
Seven octets binary time format.

TYPE T_CP56Time2a :
STRUCT
Milliseconds : WORD; (* 0..59.999ms = 60sec = 1min *)
IVResMinute : BYTE; (* Bit 7 = IV (invalid time), Bit 6 = Res (spare bit), Bit 0..5 = Minutes (0..59min) *)
SURes2Hour : BYTE; (* Bit 7 = SU (1=summer time, 0=normal time), Bits 5..6 = Res2, Bits 0..4 = Hours (0..23) *)
DOWDay : BYTE; (* Bits 5..7 = Day of week (1..7, not used 0 !!!), Bits 0..4 = Day of month (1..31)*)
Res3Month : BYTE; (* Bits 4..7 = Res3 (spare bits), Bits 0..3 = Month (1..12) *)
Res4Year : BYTE; (* Bit 7 = Res4, Bits 0..6 = Year (0..99) *)
END_STRUCT
END_TYPE

Day of week (DOW): 1 = Monday, 7 = Sunday, 0 = not used;

SU: 1 = Summer time, 0 = normal time;


MVAL
Measured value:<-1..+1.-2E-12>

COL
Compatibility level: <0..255>

SCN
Scan number: <0..255>

FAN
Fault number: <0..65535>

TOO
Type of order: <1..255>
TOV
Type of disturbance value: <0..255>

ACC
Actual channel: <0..255>

NOF
Number of grid faluts: <0..65535>

NOC
Number of channels: <0..255>

NOE
Number of information elements of a channel: <0..65535>
INT
Interval: <1..65535> [µs]

R32
Short floating point value.

NOT
Number of tags: <1..255>

TAP
Tag position: <0..65535>

NDV
Number of relevant disturbance values per ASDU: <1..255>

 <1..25> used
 <26.255> not used
NFE
Number of the ASDU's first information element: <0..65535>

SDV
Single disturbance value: <-1..+1-2E-15>

CONT
Continuous flag

 <0> no following ASDU with the same RII;


 <1> following ASDU has the same RII;

COUNT
One bit counter for ASDU with equal RII: <0..1>

Potrebbero piacerti anche