Part Z - IEC-104
Part Z - IEC-104
Part Z - IEC-104
PSI Control Networks and Information Management GmbH Boschweg 6 D-63768 Aschaffenburg Dr. Michael Wolf E-mail: Michael.Wolf@psi.de
Version 4.1.1
Page 2 of 22
Table of Contents
1 Introduction ..................................................................................................................................... 4 1.1 General .................................................................................................................................... 4 1.2 Protocol Structure.................................................................................................................... 4 Interoperability List......................................................................................................................... 5
Version 4.1.1
Page 3 of 22
1
1.1
Introduction
General
PSIs implementation of the IEC 60870-104 protocol is based on the documents DIN IEC 60870-5-104 as published in October 1996 Addendum A2 to DIN IEC 60870-5-101 E DIN E 40952 Rev. 9 as of January 2000 DIN EN 60870-5-104 as of January 2002 (German norm) 57/568/CD Amendment 1 to IEC 60870-5-104 Ed.1 as of September 2004
1.2
Protocol Structure
Application Process
Selection of Application Functions from IEC 60870-5-5 Initialization according to IEC 60870-5-101 Selection of Application Service Data Units (ASDU) of IEC 60870-5-101 and -104 APCI Application Protocol Control Information Transport Interface (User to TCP Interface) Not used Not used RFC-793 (TCP) RFC-791 (IP) RFC-894 (Transmission of IP Datagrams over Ethernet Network) RFC-1661 (PPP)
1 (Physical)
Version 4.1.1
Page 4 of 22
2
Legend
Interoperability List
Function or ASDU is not used X R B Function of ASDU is used as per standard (default) Function or ASDU used in reversed mode Function or ASDU used in standard and reverse mode Function or ASDU is not available in this norm profile
System or Device
System definition X Controlling station definition (Master) Controlled station definition (Slave)
Network Configuration
Point-to-point Multiple Point-to-point Multipoint-party line Multipoint star
Version 4.1.1
Page 5 of 22
100 bit/s 200 bit/s 300 bit/s 600 bit/s 1.200 bit/s
2.400 bit/s 4.800 bit/s 9.600 bit/s 19.200 bit/s 38.400 bit/s
100 bit/s 200 bis/s 300 bit/s 600 bit/s 1.200 bit/s
2.400 bit/s 4.800 bit/s 9.600 bit/s 19.200 bit/s 38.400 bit/s
Version 4.1.1
Page 6 of 22
Link Layer
Frame format FT 1.2, single character 1 and the fixed time out interval are used exclusively in this companion standard. Link Transmission Procedure Balanced transmission Unbalanced Transmission Address field of the link Not present (balanced transmission only) One octet Two octet Structured Maximum length L (number of octets) Unstructured
When using an unbalanced link layer, the following ASDU types are returned in class 2 messages (low priority) with the indicated cause of transmission: Type Identification 9,11,13,21 Cause of Transmission 1
A special assignment of ASDUs to class 2 messages is used as follows Type Identification Cause of Transmission
Note In response to a class 2 poll, a controlled station may respond with class 1 data when there is no class 2 data available.
Version 4.1.1
Page 7 of 22
Common address of ASDU (System-specific parameter) Link Transmission Procedure One octet Address field of the link X Two octets
Information object address (System-specific parameter) One octet Two octets X Three octets X X Structured Unstructured
Cause of transmission (System-specific parameter) One octet Two octets (with originator address)Set to zero in case of no originator address
Length of APDU The maximum length of the APDU is 253 (default). It may be shortened for the system. 253 Maximum length of APDU
Version 4.1.1
Page 8 of 22
Version 4.1.1
Page 9 of 22
X X X X X
21 30 31 32
Measured value, normalized value without quality descriptor Single point information with full time CP56Time2a Double point information with full time CP56Time2a Step position with full time CP56Time2a Bit string of 32 bit with full time CP56Time2a Please note: This requires a project specific adaptation of the application software. Measured value, normalized value with full time CP56Time2a Measured value, scaled value with full time CP56Time2a Measured value, short floating point value with full time CP56Time2a Integrated totals with full time CP56Time2a Event of protection equipment with full time CP56Time2a Packed start events of protection equipment with full time CP56Time2a Packed tripping events of protection equipment with full time CP56Time2a
33
M_BO_TB_1
X X X X X X
34 35 36 37 38 39
40
M_EP_TF_1
Either ASDUs of the set <2>, <4>, <6>, <8>, <10>, <12>, <14>, <16>, <17>, <18>, <19>, or of the set <30 40> are used
Version 4.1.1
Page 10 of 22
64
C_BO_TA_1
Either ASDUs of the set <40 - 51> or of the set <58 64> are used
Version 4.1.1
Page 11 of 22
Version 4.1.1
Page 12 of 22
File transfer
120 121 122 123 124 125 126 F_FR_NA_1 F_SR_NA_1 F_SC_NA_1 F_LS_NA_1 F_AF_NA_1 F_SG_NA_1 F_DR_TA_1 File ready Section ready Call directory, select file, call file, call section Last section, last segment Acknowledge file, acknowledge section Segment Directory
Version 4.1.1
Page 13 of 22
Type Identification 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 M_SP_NA_1 M_SP_TA_1 M_DP_NA_1 M_DP_TA_1 M_ST_NA_1 M_ST_TA_1 M_BO_NA_1 M_BO_TA_1 M_ME_NA_1 X X X M_ME_TA_1 M_ME_NB_1 M_ME_TB_1 M_ME_NC_1 M_ME_TC_1 M_IT_NA_1 M_IT_TA_1 M_EP_TA_1 M_EP_TB_1 M_EP_TC_1 M_PS_NA_1 X X X X X X X X X X X X X X 2 3 4 5 6 7 8
X X
Version 4.1.1
Page 14 of 22
Type Identification 1 21 30 31 32 33 34 35 36 37 38 39 40 45 46 47 48 49 50 51 58 59 60 61 62 M_ME_ND_1 M_SP_TB_1 M_DP_TB_1 M_ST_TB_1 M_BO_TB_1 M_ME_TD_1 M_ME_TE_1 M_ME_TF_1 M_IT_TB_1 M_EP_TD_1 M_EP_TE_1 M_EP_TF_1 C_SC_NA_1 C_DC_NA_1 C_RC_NA_1 C_SE_NA_1 C_SE_NB_1 C_SE_NC_1 C_BO_NA_1 C_SC_TA_1 C_DC_TA_1 C_RC_TA_1 C_SE_TA_1 C_SE_TB_1 PSIcontrol IEC 60870-5-104 Interoperability List 2 3 X X X X X X X X X X X X 4 5 6 7 8
X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
X X X X X X X X X X X X Page 15 of 22
X X X X X X X X X X X X
X X X X X X X X X X X X
X X X X X X X X X X X X
Version 4.1.1
X X X X
100 C_IC_NA_1 101 C_CI_NA_1 102 C_RD_NA_1 103 C_CS_NA_1 104 C_TS_NA_1 105 C_RP_NA_1 106 C_CD_NA_1 107 C_TS_TA_1 110 P_ME_NA_1 111 P_ME_NB_1 112 P_ME_NC_1 113 C_CS_NA_1 120 F_FR_NA_1 121 F_SR_NA_1 122 F_SC_NA_1 123 F_LS_NA_1 124 F_AF_NA_1 125 F_SG_NA_1 126 F_DR_TA_1
X X
X X
X X
X X
X X
X X
X X
X X
Version 4.1.1
Page 16 of 22
Double transmission of information objects with cause of transmission spontaneous The following type identifications may be transmitted in succession caused by a single status change of an information object. The particular information object addresses for which double transmission is enabled are defined in a project-specific list. Single-point information M_SP_NA_1, M_SP_TA_1, M_SP_TB_1 and M_PS_NA_1 Double-point information M_DP_NA_1, M_DP_TA_1 and M_DP_TB_1 Step position information M_ST_NA_1, M_ST_TA_1, and M_ST_TB_1 Bit string of 32 bit M_BO_NA_1, M_BO_TA_1 and M_BO_TB_1 (if defined for the specific project) Measured value, normalized value M_ME_NA_1, M_ME_TA_1, M_ME_ND_1 and M_ME_TD_1 Measured value, scaled value M_ME_NB_1, M_ME_TB_1 and M_ME_TE_1 Measured value, short floating point number M_ME_NC_1, M_ME_TC_1 and M_ME_TF_1
Version 4.1.1
Page 17 of 22
Station interrogation X global Group 1 Group 2 Group 3 Group 4 Group 5 Group 6 Group 7 Group 8 Group 9 Group 10 Group 11 Group 12 Group 13 Group 14 Group 15 Group 16 Information object addresses assigned to each group must be shown in a separate table
Clock synchronization (Station specific parameter) Clock synchronization (see 7.6) X X X Day of week is used RES1, GEN (time tag substituted/ not substituted) is used SU Bit (DST) is used 3
Command transmission X X X Direct command transmission Direct set-point command transmission Select and execute command Select and execute set-point command X X X X C_SE ACTTERM used No additional definition Short pulse duration (duration determined by a system parameter in the controlled station) Long pulse duration (duration determined by a system parameter in the controlled station) Persistent output
Version 4.1.1
Page 18 of 22
Monitoring of the maximum delay for switching and set-point commands Maximum delay for switching and set-point commands
Transmission of integrated totals X 2 Mode A: local freeze with spontaneously transmitted integrated totals Mode B: local freeze with counter Mode C: freeze and transmit by counter interrogation Mode D: freeze by counter interrogation command, frozen values reported spontaneously 2: Only if the project specific counter interrogation TK-101 is used Counter read Counter freeze without reset Counter freeze with reset Counter reset
General request counter Request counter group 1 Request counter group 2 Request counter group 3 Request counter group 454
Version 4.1.1
Page 19 of 22
Parameter loading Threshold value Smoothing factor Low limit for transmission of measured value High limit for transmission of measured value
Parameter activation Act/deact of persistent cyclic or periodic transmission of the addressed object
File transfer Transparent file Transmission of disturbance data of protection equipment Transmission of sequences of events Transmission of sequences of recorded analogue values
Version 4.1.1
Page 20 of 22
Monitoring Definitions Parameter Default t0 t1 t2 t3 30 s 15 s 10 s Remark Time out for establishing the connection Timeout for data sent or the test SPDU respectively Timeout for acknowledgement in case that no data ASPDUs are sent for t2 < t1 Value 30 s 15 s 10 s
20 s
Maximum range for time monitoring t0 < t2: Maximum range for time monitoring t3: Window Definitions Parameter Default K 12 APDUs Remark
Value 12
Maximum difference of received objects Number of objects sent Acknowledgement required after reception of w APDU in I-format
8 APDUs
Maximum range for k Maximum range for w TCP Port Number Parameter Value Port number 2404
Version 4.1.1
Page 21 of 22
RFC 2200 Collection X X Ethernet 802.3 X.21 serial connection when connecting via router Other selections of RFC 2200
Version 4.1.1
Page 22 of 22