Standard IEC 60870-5-103
Standard IEC 60870-5-103
Standard IEC 60870-5-103
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
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 characters are used to confirm link layer and user data transmissions.
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
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
COUNT
One bit counter for ASDU with equal RII: <0..1>