Compatibility of IEC 104 (interoperability)

This chapter contains the Interoperability appendix of the IEC standard. It has been reproduced verbatim and the various sections of the WinCC OA IEC driver are completed and filled out according to these specifications.

Standard

This application-based standard specifies sets of parameters and alternatives from which subsets must be selected for creating a single telecontrol system. Some parameters, such as the number of COMMON ASDU ADDRESS octets, are mutually exclusive. This means that only one quantity of the specified parameters is allowed per system. Other parameters, such as the listed sets with different process information in control and monitor direction, allow you to specify the total size or subsets required for the given application. The parameters of the above standard are combined in this section in order to allow suitable selection for a special application. If a system is made up of multiple system components from different manufacturers, it is necessary for all partners to agree to the selected parameters.

The compatibility list corresponds to the list in IEC 60870-5-101 and has been supplemented with the parameters used in this standard (=WinCC OA). The text descriptions of parameters that do not apply to the standard are crossed out (the check box is black).

The complete specification of a system may also require individual selection of certain parameters for certain system components, e.g. individual selection of scaling factors for individually addressable readings.

The selected parameters are filled out in the white squares as follows:

Leer2Function or ASDU is not used

X ButtonFunction or ASDU is used in standard direction

R ButtonFunction or ASDU is used in reverse direction

iec b buttonFunction or ASDU is used in standard direction and reverse direction

The possible selection (empty, X, R or B) is specified for each specific agreement or parameter. The black check box indicates that the option cannot be used for a company standard.

System or device

(system-specific parameter; specifies system or station function by adding an "X" to one of the two following squares)

X Button System Definition

X Button Controlling Station (Master)

X Button Controlled Station (Slave)

Network configuration

(network-specific parameter; specifies all configurations used with "X")

Voll Point-to-Point VollMultipoint

Voll Multiple Point-to-Point VollMultipoint Star

Physical layer

(network-specific parameter; specifies all interfaces and data rates used with "X")

Transmission speed (control direction)

Unbalanced interchange circuit

V.24/V.28 Standard

Unbalanced interchange circuit

V.24/V.28

Recommended if > 1 200 bits/s

Balanced interchange circuit

X.24/X.27

Voll100 bit/s Voll2400 bit/s Voll2400 bit/s
Voll200 bit/s Voll4800 bit/s Voll4800 bit/s
Voll300 bit/s Voll9600 bit/s Voll9600 bit/s
Voll600 bit/s Voll19200 bit/s
Voll1200 bit/s Voll38 400 bit/s
Voll56000 bit/s
Voll64000 bit/s

Transmission speed (monitor direction)

Unbalanced interchange circuit

V.24/V.28

Standard

Unbalanced interchange circuit

V.24/V.28

Recommended if > 1 200 bits/s

Balanced interchange circuit

X.24/X.27

Voll100 bit/s Voll2400 bit/s Voll2400 bit/s
Voll200 bit/s Voll4800 bit/s Voll4800 bit/s
Voll300 bit/s Voll9600 bit/s Voll9600 bit/s
Voll600 bit/s Voll19200 bit/s
Voll1200 bit/s Voll38 400 bit/s
Voll56000 bit/s
Voll64000 bit/s

Link layer

(network-specific parameter; specifies all options used with "X" and specifies the maximum user data octets. If a non-standard allocation of class-2 messages is implemented for multi-point traffic, the type identifications and causes of transmission of all class-2 messages must be specified).

Exclusive frame format FT 1.2, single character 1 and constant time monitoring interval are used in this companion standard.

Link transmission procedure Address field of the link
VollBalanced transmission Vollnot present (balanced transmission only)
VollUnbalanced transmission VollOne Octet
Frame length Voll2 Octets

VollVoll Maximum length L (number of

octets)

VollStructured

When using an unbalanced link layer (multi-point traffic), the following ASDU types are returned in class 2 messages (low priority) with the indicated causes of transmission.

Voll The standard assignment of ASDUs to class-2 messages is used as follows

Type identification Cause of transmission
9,11,13,21 <1>

Voll A special assignment of ASDUs to class-2 messages is used as follows

Type identification Cause of transmission

Comment: As a response to a request for class-2 data, a controlled station may send class-1 data if no class-2 data are available.

Application layer

Transmission mode for application data

Mode 1 (least significant octet first), as defined in Clause 4.10 of IEC 870-5-4, is

used exclusively in this companion standard.

Common address of ASDU

(system-specific parameter; specifies all options used with "X")

VollOneOctet X Button Two Octets

Information object address

(system-specific parameter; specifies all options used with "X")

VollOne Octet Leer2 Structured
VollTwo Octets Leer2 Unstructured
X Button Three Octets

Cause of transmission

(system-specific parameter; specifies all options used with "X")

VollOne Octet X Button Two Octets

Length of APDU

(system-specific parameter; specifies all options used with "X")

The maximum length of the APDU ("application protocol data unit", see standards) is 253 (default). The maximum length may be reduced by the system.

Length253 Maximum length of APDU per system

Selection of standard ASDUs

Process information in monitor direction

(station-specific parameter; specifies all type identifications used either with "X" (if used in standard direction) or "R" (if used in reverse direction) or "B" (if used in both directions).

iec b button <1>:= Single-point information M_SP_NA_1
Voll <2>:=Single-point information with time tag M_SP_TA_1
iec b button <3>:= Double-point information M_SP_TA_1
Voll <4>:= Double-point information with time tag M_DP_TA_1
iec b button <5>:= Step position information M_ST_NA_1
Voll <4>:= Step position information with time tag M_ST_TA_1
iec b button <7>:= Bitstring of 32 bits M_BO_NA_1:
Voll <8>:= Bitstring of 32 bits with time tag M_BO_TA_1
iec b button <9>:= Measured value, normalized value M_ME_NA_1
Voll <10>:= Measured value, normalized value with time tag M_ME_TA_1
iec b button <11>:= Measured value, scaled value M_ME_NB_1
Voll <12>:= Measured value, scaled value with time tag M_ME_TB_1
iec b button <13>:= Measured value, short floating point value M_ME_NC_1
Voll <14>:= Measured value, short floating point value with time tag M_ME_TC_1
iec b button <15>:= Integrated totals M_IT_NA_1
Voll <16>:= Integrated totals with time tag M_IT_TA_1
Voll <17>:= Event of protection equipment with time tag M_EP_TA_1
Voll <18>:= Packed start events of protection equipment with time tag M_EP_TB_1
Voll <19>:= Packed output circuit information of protection equipment with time tag M_EP_TC_1
iec b button <20>:= Packed single-point information with status change detection M_SP_NA_1
iec b button <21>:= Measured value, normalized value without quality descriptor M_ME_ND_1
iec b button <30>:= Single-point information with time tag CP56Time2a M_SP_TB_1
iec b button <31>:= Double-point information with time tag CP56Time2a M_DP_TB_1
iec b button <32>:= Step position information with time tag CP56Time2a M_ST_TB_1
iec b button <33>:= Bitstring of 32 bits with time tag CP56Time2a M_BO_TB_1
iec b button <34>:= Measured value, normalized value with time tag CP56Time2a M_ME_TD_1
iec b button <35>:= Measured value, scaled value with time tag CP56Time2a M_ME_TE_1
iec b button <36>:= Measured value, short floating point value with time tag CP56Time2a M_ME_TF_1
iec b button <37>:= Integrated totals with time tag CP56Time2a M_IT_TB_1
iec b button <38>:= Event of protection equipment with time tag CP56Time2a M_EP_TD_1
iec b button <39>:= Packed start events of protection equipment with time tag CP56Time2a M_EP_TE_1
iec b button <40>:= Packed output circuit information with time tag CP56Time2a M_EP_TF_1

Either the ASDUs of the set <2,4,6,8,10,12,14,16,17,18,19> or of the set <30> to <40> are used.

  • no time tag - the time tag is completely added by the driver

  • short time tag (CP24Time2a = minute/second/millisecond) - the driver adds year, month, day and hour from the computer time.

  • long time tag (CP56Time2a = year/month/day/hour/minute/second/millisecond) - the driver takes the complete time tag from the telegram.

Depending on the telegram type different time tags are transmitted. There are three different ways to which the driver reacts in the following way:

For IEC 104, <30-40> are used according to the standard; for IEC 101 <2,4,6,8,10,12,14,16,17,18,19> (see Compatibility IEC101)

Process information in control direction

(station-specific parameter; specifies all type identifications used either with "X" (if used in standard direction) or "R" (if used in reverse direction) or "B" (if used in both directions).

iec b button <45>:= Single command C_SC_NA_1
iec b button <46> := Double command C_DC_NA_1
iec b button <47>:= Regulating step command C_RC_NA_1
iec b button <48> := Set point command, normalized value C_SE_NA_1
iec b button <49>:= Set point command, scaled value C_SE_NB_1
iec b button <50> := Set point command, short floating point value C_SE_NC_1
iec b button <51>:= Bitstring of 32 bits C_BO_NA_1
iec b button <58>:= Single command with time tag CP56Time2a C_SC_TA_1
iec b button <59>:= Double command with time tag CP56Time2a C_DC_TA_1
iec b button <60>:= Regulating step command with time tag CP56Time2a C_RC_TA_1
iec b button <61> := Set point command, normalized value with time tag CP56Time2a C_SE_TA_1
iec b button <62> := Set point command, scaled value with time tag CP56Time2a C_SE_TB_1
iec b button <63> := Set point command, short floating point value with time tag CP56Time2a C_SE_TC_1
iec b button <64> := Bitstring of 32 bits with time tag CP56Time2a C_BO_TA_1

Either the ASDUs of set <45> to <51> or of the set <58> to <64> are used.

System information in monitor direction

(station-specific parameter; "X" if used)

X Button <70>:= End of initialization C_SC_NA_1

System information in control direction

(station-specific parameter; specifies all type identifications used either with "X" (if used in standard direction) or "R" (if used in reverse direction) or "B" (if used in both directions))

iec b button <100>:= Interrogation command C_IC_NA_1
iec b button <100> := Counter interrogation command C_CI_NA_1
iec b button <102>:= Read command C_RD_NA_1
iec b button <103> := Clock synchronization command C_CS_NA_1
Voll <104>:= Test command C_TS_NA_1
iec b button <105> := Reset process command C_RP_NA_1
Voll <106>:= Delay acquisition command C_CD_NA_1
iec b button <107>:= Test command with time tag CP56Time2a C_TS_TA_1

Parameter in control direction

(station-specific parameter; specifies all type identifications used either with "X" (if used in standard direction) or "R" (if used in reverse direction) or "B" (if used in both directions)).

iec b button <110>:= Parameter of measured value, normalized value P_ME_NA_1
iec b button <111>:= Parameter of measured value, scaled value P_ME_NB_1
iec b button <112>:= Parameter of measured value, short floating point value P_ME_NC_1
iec b button <113>:= Parameter activation P_AC_NA_1

File transfer

(station-specific parameter; specifies all type identifications used either with "X" (if used in standard direction) or "R" (if used in reverse direction) or "B" (if used in both directions)). Detailed information on the IEC file transfer functionality you will find in the IEC file transfer section of this documentation.

iec b button <120>:= File ready F_FR_NA_1
iec b button <121>:= Section ready F_SR_NA_1
iec b button <122>:= Call directory, select file, call file, call section F_SC_NA_1
iec b button <123>:= Last section, last segment F_LS_NA_1
iec b button <124>:= Ack file, ck section F_AF_NA_1
iec b button <125>:= Segment F_SG_NA_1
X Button <126>:= Directory (blank or X; available only in monitor [standard] direction) F_DR_TA_1

Type identifier and cause of transmission assignments

(station-specific parameters)

Shaded box = combination of type identification and cause of transmission not provided in the application-specific standard.

Black box: combination of type identification and cause of transmission not allowed in the application-specific standard.

Blank box = combination of type identification and cause of transmission not used.

Combinations of type identifier and cause of transmission:

'X' if only used in standard direction

'R' if used in reverse direction

'B' if used in both directions

Transmission1 Transmission2

Basic application functions

Station initialization

(station-specific parameter; "X" if used)

X Button Remote initialization

Cyclic data transmission

(station-specific parameter; "X" if used in standard direction or "R"

if used in reverse direction or "B" if used in both directions).

Leer2 Cyclic data transmission

Read procedure

(station-specific parameter; "X" if used in standard direction or "R"

if used in reverse direction or "B" if used in both directions).

iec b button Read procedure

Spontaneous transmission

(station-specific parameter; "X" if used in standard direction or "R"

if used in reverse direction or "B" if used in both directions).

iec b button Spontaneous transmission

Double transmission of information objects with cause of transmission spontaneous

(station-specific parameter; specifies "X" for information objects, triggered by a single state change, that are transmitted both with the type identification without time information and with the appropriate type identification with time information)

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.

Leer2 Single-point information M_SP_NA_1, M_SP_TA_1, M_SP_TB_1 and M_PS_NA_1
Leer2 Double-point information M_DP_NA_1, M_DP_TA_1 and M_DP_TB_1
Leer2 Step position information M_ST_NA_1, M_ST_TA_1 and M_ST_TB_1
Leer2 Bitstring of 32 bits M_BO_NA_1, M_BO_TA_1 and M_BO_TB_1 (if defined for a specific project)
Leer2 Measured value, normalized value M_ME_NA_1, M_ME_TA_1, M_ME_ND_1 and M_ME_TD_1
Leer2 Measured value, scaled value M_ME_NB_1, M_ME_TB_1 and M_ME_TE_1
Leer2 Measured value, short floating point value M_ME_NC_1, M_ME_TC_1 and M_ME_TF_1

Station interrogation

(station-specific parameter; "X" if used in standard direction or "R" if used in reverse direction or "B" if used in both directions)

iec b button Global
iec b button Group 1 iec b button Group 7 iec b button Group 13
iec b button Group 2 iec b button Group 8 iec b button Group 14
iec b button Group 3 iec b button Group 9 iec b button Group 15
iec b button Group 4 iec b button Group 10 iec b button Group 16
iec b button Group 5 iec b button Group 11

The information object addresses per group must be specified in a separate table

.

iec b button Group 6 iec b button Group 12

Clock synchronization

(station-specific parameter; "X" if used in standard direction or "R" if used in reverse direction or "B" if used in both directions)

iec b button Clock synchronization

optional

Command transmission

(object-specific parameter; "X" if used in standard direction or "R"

if used in reverse direction or "B" if used in both directions)

iec b button Direct command transmission
iec b button Direct setpoint command transmission
Leer2 Select and execute command
Leer2 Select and execute setpoint command
Leer2 C_SE ACTTERM used
iec b button No additional definition
iec b button Short pulse duration (duration determined by system parameter in the outstation.)
iec b button Long pulse duration (duration determined by system parameter in the outstation.)
iec b button Persistent output
Leer2 Supervision of maximum delay in command direction of commands and setpoint commands
Length Maximum allowable delay of commands and setpoint commands

Transmission of integrated totals

(object-specific parameter; "X" if used in standard direction

or "R" if used in reverse direction or "B" if used in both directions

).

iec b button Mode A: Local freeze with spontaneous transmission
iec b button Mode B: Local freeze with counter interrogation
iec b button Mode C : Freeze and transmit by counter-interrogation commands
Mode D: Freeze by counter-interrogation command, frozen values reported simultaneously
iec b button Counter read
iec b button Counter freeze without reset
iec b button Counter freeze with reset
iec b button Counter reset
iec b button General request counter
iec b button Request counter group 1
iec b button Request counter group 2
iec b button Request counter group 3
iec b button Request counter group 4

Parameter loading

(object-specific parameter; "X" if used in standard direction or "R"

if used in reverse direction or "B" if used in both directions).

Leer2 Threshold value
Leer2 Smoothing factor
Leer2 Low limit for transmission of measured values
Leer2 High limit for transmission of measured values

Parameter activation

(object-specific parameter; "X" if used in standard direction or "R"

if used in reverse direction or "B" if used in both directions).

Leer2 Activation/deactivation of persistent cyclic or periodic transmission of the addressed object

Test procedure

(station-specific parameter; "X" if used in standard direction or "R"

if used in reverse direction or "B" if used in both directions)

iec b button Test procedure

File transfer

(system-specific parameter; specifies the function used with "X")

File transfer in monitor direction

X Button Transparent file
Leer2 Transmission of disturbance data of protection equipment
Leer2 Transmission of sequences of events
Leer2 Transmission of sequences of recorded analog values

File transfer in control direction

X Button Transparent file

Background scan

(station-specific parameter; "X" if used in standard direction or "R"

if used in reverse direction or "B" if used in both directions)

Leer2 Background scan

Acquisition of transmission delay

(station-specific parameter; "X" if used in standard direction or "R"

if used in reverse direction or "B" if used in both directions)

Voll Acquisition of transmission delay

Definition of time outs

Parameter Default value Remarks Selected value
t0 30s Timeout of connection establishment
t1 15s Timeout of send or test APDUs
t2 10s Timeout for acknowledgements in case of no data messages t2<t1
t3 20s Timeout for sending test frames in case of a long idle state, t3>t1

Maximum range of values for all time outs: 1 to 255 s, accuracy 1 s

Maximum number of outstanding I-format APDUs k and latest acknowledge w

Parameter Default value Remarks Selected value
k 12 APDUs Maximum difference receive sequence number to send state variable
w 8 APDUs Latest acknowledge after receiving w I format APDUs

Maximum range of values k: 1 to 32767 (215 - 1) APDUs, accuracy 1 APDU

Maximum range of values k: 1 to 32767 APDUs, accuracy 1 APDU (Recommendation: w should not exceed 2/3 of k)

Portnumber

Parameter Default value Remarks
Portnumber 2404 In all cases

RFC 2200 suite

RFC 2200 is an official Internet Standard which describes the state of standardization of protocols used in the Internet as determined by the Internet Architecture Board (IAB). It offers a broad spectrum of actual standards used in the Internet. The suitable selection of documents from RFC 2200 defined in this standard for given projects has to be chosen by the user of this standard.

iec b button Ethernet 802.3
Leer2 Serial X.21 interface
Leer2 Other selection(s) from RFC 2200

List of valid documents from RFC 2200

1. ....................................................................

2. ....................................................................

3. ....................................................................

4. ....................................................................

5. ............................................... .....................

6. ....................................................................

7. etc.