Sunteți pe pagina 1din 22

Telecontrol and Automation Systems

Structure of
IEC Transmission Protocols
60870-5-101 and -104
0 id
1

2
Overview s
3 1. Introduction
4 2. Telegram Structure
5 3. Type Identification
6
4. Variable Structure Qualifier
7
5. Cause of Transmission
8
6. Information Object Address
9
7. Overview: Types of IDS Telegrams
10
8. Information
11
9. Command
12

S
10. Measured Value and Setpoint
11. Counter Value
12. Time Tag

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 2
0
Introduction

Principles
id
1

2 IEC = International
Electrotechnical
Transmission protocols: s
3 IEC 60870-5-101
Commission (Geneva)
4 IEC 60870-5-104
http://www.iec.ch
5
International standard
6 for basic telecontrol
7 tasks
8
Interoperability list (IDS)

10
Communication with
11 IEC protocols Parameterization of
12 the IEC profile
HIGH-LEIT NT RTU
S

IEC Telegram Structure

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 3
0
Telegram Structure

Profile Settings (Standard)


id
1

2
ACOS QuickSetup
s
3

7
ACOS ET
8

10

11

12

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 4
0
Telegram Structure

IEC Telegrams Examples


id
1

2
Information: 12 1E 01 03 00 01 00 01 10 00 01 F4 [...] s
3

4
Command: 0B 2D 01 06 00 01 00 01 60 00 0D
5 Setpoint: 0D 30 01 06 00 01 00 01 50 00 00 40 [...]
6
Measured value: 0D 09 01 03 00 01 00 01 20 00 FE 3F [...]
7

8 Counter value: 12 10 01 03 00 01 00 01 30 00 A0 86 [...]


9
General scan: 0B 64 01 06 00 01 00 00 00 00 14
10

11 Re-start RTU: 0B F0 01 06 00 01 00 03 0F 00 01
12

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 5
0
Telegram Structure

General Structure (1)


id
1

2 Data unit identifier Information object


s
3

4 Information: 12 1E 01 03 00 01 00 01 10 00 01 F4 01 1E [...]
5
Command: 0B 2D 01 06 00 01 00 01 60 00 0D

Set of information elements


6

7 Setpoint: 0D 30 01 06 00 01 00 01 50 00 00 40 00

Common Address of ASDU


Common Address of ASDU
Variable Structure Qualifier

Information object address


Information object address
Information object address
8

with or without

Time tag
9
Cause of Transmission
Cause of Transmission
10
Type identification

11

12

S
Length

Defines structure, type ASDU = Application Service Data Unit


and format of the
information object
Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 6
0
Telegram Structure

General Structure (2)


id
1

2
Number of octets depends on profile settings
s
3
Number of 0,
1 1 1 1 or 2 1 or 2 1, 2 or 3 x
4 octets 3 or 7
Variable Common
5 Length
Type
Structure
Cause of
address of
Information object
ID transmission address
Qualifier ASDU
6
Information 12 1E 01 03 00 01 00 01 10 00

Set of infromation elements


7
Command 0B 2D 01 06 00 01 00 01 60 00
8
Setpoint 0D 30 01 06 00 01 00 01 50 00

Time tag
9
Measured
0D 09 01 03 00 01 00 01 20 00
10 value
Counter
11 value (Inte- 12 10 01 03 00 01 00 01 30 00
grated totals)
12
General
0B 64 01 06 00 01 00 00 00 00
S scan
Re-Start
0B F0 01 06 00 01 00 03 0F 00
RTU

Length is not included


in the IEC standard Information object

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 7
0
Type Identification

Process Information in monitor direction


id
1

2 Hex

$01
Dez

1
Meaning

Single-point information
Identifier

M_SP_NA_1
s
3
$02 2 Single-point information with time tag (3) M_SP_TA_!.. HIGH-LEIT NT
4 $1E 30 Single-point information with time tag (7) M_SP_TB_1
$03 3 Double-point information M_DP_NA_1
5
$04 4 Double-point information with time tag (3) M_DP_TA_1
6 $1F 31 Double-point information with time tag (7) M_DP_TB_1

7 $05 5 Step position information M_ST_NA_1


$06 6 Step position information with time tag (3) M_ST_TA_1
8
$20 32 Step position information with time tag (7) M_ST_TB_1

9 $09 9 Measured value, normalized value M_ME_NA_1


$0A 10 Measured value, normalized value, time tag (3) M_ME_TA_1 RTU
10
$22 34 Measured value, normalized value, time tag (7) M_ME_TD_1

11 $0B 11 Measured value, scaled value M_ME_NB_1


$0C 12 Measured value, scaled value with time tag (3) M_ME_TB_1
12
$23 35 Measured value, scaled value with time tag (7) M_ME_TE_1
S $0D 13 Measured value, short floating point number M_ME_NC_1
$0E 14 Measured value, short floating point number M_ME_TC_1
with time tag (3)
$24 36 Measured value, short floating point number M_ME_TF_1
with time tag (7) = supported
$0F 15 Counter value (integrated totals) M_IT_NA_1 = supported (optional)
$10 16 Counter value with time tag (3) M_IT_TA_1
Telecontrol
$25 and Automation
37 Systems IEC
Counter value Transmission
with time tag (7) Protocols M_IT_TB_1 IDS GmbH Ettlingen 8
0
Type Identification

Process Information in Control Direction


id
1

2 Hex Dez Meaning Identifier s


3 $2D 45 Single command C_SC_NA_1
HIGH-LEIT NT
4 $3A 58 Single command with time tag (7) C_SC_TA_1

5 $2E 46 Double command C_DC_NA_1

$3B 59 Double command with time tag (7) C_DC_TA_1


6
$2F 47 Regulating step command C_RC_NA_1
7
Regulating step command with time
$3C 60 C_RC_TA_1
8 tag (7)
$30 48 Setpoint, normalized value C_SE_NA_1
9
Setpoint, normalized value with time RTU
10 $3D 61 C_SE_TA_1
tag (7)

11 $31 49 Setpoint, scaled value C_SE_NB_1


Setpoint, scaled value
12 $3E 62 C_SE_TA_1
with time tag (7)
S $32 50 Set point, short floating point number C_SE_NC_1
Set point, short floating point number
$3F 63 C_SE_TC_1
with time tag (7)

= supported = supported (optional)

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 9
0
Type Identification

System Information in Control Direction


id
1

2 Hex Dez Meaning Identifier s


3 $64 100 Interrogation command C_IC_NA_1
HIGH-LEIT NT
4 $65 101 Counter interrogation command C_CI_NA_1

$67 103 Clock synchronization command C_CS_NA_1


5

9
RTU
10

11

12

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 10
0
Variable Structure Qualifier

Variable Structure Qualifier


id
1

2
Octet Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
s
3 0 SQ Number of information objects or information elements

5 Bit If 0 If 1
Addressing one or several elements out Addressing a sequence of identical
6 SQ of a set of information objects (of the information elements in one information
same type) object
7

10

11

12

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 11
0
Cause of Transmission

Cause of Transmission (1)


id
1

2 Octet
0
Bit 8
T
Bit 7
P/N
Bit 6 Bit 5 Bit 4
Cause
Bit 3 Bit 2 Bit 1 s
3
1 Originator address
4

5 Bit If 0 If 1 0: not defined


1 255: number of
6 T No test Test
originator address
Positive Negative
7 P/N
confirmation confirmation
8

10

11

12

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 12
0
Cause of Transmission

Cause of Transmission (2)


id
1

2 Cause Meaning Cause Meaning s


3 3 Spontaneous Interrogated by status bar
23
interrogation
4 Initialized
4
Interrogated by substation status
5 Request or requested 24
interrogation
5
6 Activation
Interrogated by information
6 26
7 Activiation confirmation interrogation local

7 8 Deactivation Interogated by general counter


37
interrogation
9 Deactivation confirmation
8 48 Spontaneous (no call)
10 Activation termination
9 Return information caused by a remote
Response information, caused by
11 51 local command (privat area of cause
command
10 of transmission)
Return information caused by a local
12 Activation local (privat area of cause
11 command 54
of transmission)
13 File transfer
12 Activation position (private area of
55
Interrogated by global general cause of transmission)
S 20
interrogation
71 Negative confirmation
Interrogated by information
21 74 Negative termination
interrogation
Interrogated by measured value
22
interrogation

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 13
0
Information Object Address

Address areas for


Information object addresses of
double-point information and
id
1 double commands always have

2
information objects odd numbers!
s
3 Type IDS code from (hex) to (hex) from (dez.) comment

4 Status information ML $0001 $0FFF 1 RTU-internal

5 Information ML $1001 $1FFF 4097

6 Measured value MW $2001 $2FFF 8193

7 Coutner value ZW $3001 $3FFF 12289 DI before CI

8 Command (1 out of n) BF $4001 $4FFF 16385 CO module

9 Setpoint SW $5001 $5FFF 20481

10 Command (inf. output) BF $6001 $6FFF 24577 DO module

11 Fault information ML $8001 $8FFF 32769 HLNT-internal

12

S Note:
The table above shows information object addresses with the standard
address areas of an IDS RTU.

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 14
0
Types of IDS Telegrams

Overview: Standard IDS Telegrams


id
1

2
Type
Obj.adr.
Telegram types (hex) /
Overview sorted by time tag
Direction*
s
3 from (hex)
7 octets 3 octets no octet
4 Single-point information 1001 1E 02 01 M
5 Double-point information 1001 1F 04 03 M

* M = monitor, C/M = control + monitor (=confirmation)


Transient information 1001 - - 14 M
6
Measured value,
7 2001 22 0A 09 M
normalized

8 Measured value, scaled 2001 23 0C 0B M


Measured value, short
9 floating point number
2001 2F 0E 0D M

10 Setpoint, normalized 5001 3D - 30 C/M

11 Setpoint, scaled 5001 3E - 31 C/M


Setpoint, short floating
12 point number
5001 3F - 32 C/M

S Counter value 3001 25 10 0F M


Single command 4001/6001 3A - 2D C/M
Double command 4001/6001 3B - 2E C/M
Regulating step
4001/6001 3C - 2F C/M
command

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 15
0
Information Elements

Single- and Double-Point Information


id
1

2 Octet Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 s


3 single-point IV NT SB BL 0 0 0 SPI

4 double-point IV NT SB BL 0 0 DPI DPI

5
Bit If 0 If 1
6 IV valid invalid
7 NT topical not topical
SB not substituted substituted
8
BL not blocked blocked
9
SPI OFF ON
10 Bits If ... Meaning

11 DPI 00 (binary) indeterminate or


intermediate state
12 DPI 01 (binary) determined state OFF

S DPI 10 (binary) determined state ON


DPI 11 (binary) indeterminate state

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 16
0
Information Elements

Command
id
1

2 Octet

single command
Bit 8

S/E
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2

0
Bit 1

SCS
s
3
double command S/E DCS DCS
4 QU
regulating step
5 command state
S/E RCS RCS

7 Bit If 0 If 1
S/E execute select
8
SCS OFF ON
9 Bits If ... Meaning
10 DCS oder RCS 00 or 11 (binary) not permitted
DCS 01 (binary) OFF
11
DCS 10 (binary) ON
12
RCS 01 (binary) next step LOWER
S RCS 10 (binary) next step HIGHER
QU 0 no additional definition
QU 1 short pulse duration
QU 2 long pulse duration
QU 3 persistent output

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 17
0
Information Elements

Measured and Scaled Value


id
1

2 Normalized1 and Scaled2 s


3 Octet Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1

4 1 Value (LSB)
2 S Value (MSB)
5
3 Qualifier (see next page)
6 1 normalized: The description of the value meets the standard IEC 870-5-101 (Nov. 1995), chapter 7.2.6.6:
S = prefix [-1 .. +(1 - 2-15)]. The physical measuring range is mapped to the interval [-32768 .. 32767].
7
(0: positive, 2 scaled: The description of the value meets the standard IEC 870-5-101 (Nov. 1995), chapter 7.2.6.7:
8 1: negative) [-215 .. +215-1)]. The physical value is transmitted directly, except for one coeffizient, which can be freely
parameterized.
9

10 Short Floating Point Number


11
Octet Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
12 1 Mantissa (LSB)

S 2 Mantissa
3 Mantissa (MSB)
4 S Exponent
5 Qualifier (see next page)

The description of the value meets the format R32-IEEE STD 754.

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 18
0
Information Elements

Qualifier of Measured Value and Setpoint


id
1

2 Qualifier of Measured Value s


3 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1

4 IV NT SB BL 0 0 0 QV

5 Bit If 0 If 1
6 IV valid invalid
NT topical not topical
7
SB not substituted substituted
8
BL not blocked blocked
9 OV no overflow overflow

10

11
Qualifier of Setpoint
12

S Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1


0 QL (always 0)

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 19
0
Information Elements

Counter value (Integrated Totals) and Qualifier


id
1

2 Counter Value (Integrated Totals) s


3 Octet Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1

4 1 Value (LSB)
2 Value
5
3 Value
6
4 S Value (MSB)
7 5 Qualifier of counter value (see below)

9
Qualifier of Counter Value (Integrated Totals)
10
Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
11
IV CA CY SQ1
12
1 SQ: Sequence number (will be incremented at each cyclic transmission).
S
Bit If 0 If 1
IV valid invalid
CA counter was not adjusted counter was adjusted
CY no counter overflow occured counter overflow occured

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 20
0
Time Tag

Time Tag
id
1

2 Octet Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 s


3 1 Milliseconds (LSB)

2 IV Milliseconds (MSB)
4
3 IV --- Minutes
5
4 SU --- Hours
6
5 0 Day of Month
7 6 --- Month

8 7 --- Year

9
Bit if 0 if 1
10 3-octet time tag
IV valid invalid
(milliseconds to minutes)
11 SU standard summertime or
12 7-octet time tag
(milliseconds to years)
S

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 21
0 id
1

2
Summary s
3
1. Introduction
4 2. Telegram Structure
5 3. Type Identification
6 4. Variable Structure Qualifier
7 5. Cause of Transmission
8 6. Information Object Address
9
7. Overview: Types of IDS Telegrams
10
8. Information
11
9. Command
12
10. Measured Value and Setpoint
S
11. Counter Value
12. Time Tag

Telecontrol and Automation Systems IEC Transmission Protocols IDS GmbH Ettlingen 22

S-ar putea să vă placă și