ISO Transport Protocol: Simatic Net
ISO Transport Protocol: Simatic Net
Transport
Transport
Contents: Page
ISO 8072
ISO 8073
ISO 8073
ISO 8073
class ISO
4 8073
class ISO
3 8073
class 2
class 1
class 0
ISO 8602
The Transport Many local area networks (LANs) use standard protocols within ISO
Layer in Layer 4 (Transport Layer) to handle the transport functions and
Industrial Ethernet ensure security of data transfer.
Industrial Ethernet conforms to the ISO standards frequently used for industrial
applications
ISO 8072 Transport service definition;
ISO 8073 Connection oriented transport protocol
ISO 8602 Protocol for providing the connectionless mode
transport service
ISO 8072 ISO 8072 gives a general list of the services and functions to be provided by
EN ISO/IEC 8072 the Transport Layer
ISO 8073 ISO 8073 describes the implementation of the services required by ISO
EN ISO/IEC 8073 8072 and defines 5 protocol classes:
– Class 0: Simple class
– Class 1: Basic error recovery class
– Class 2: Multiplexing class
– Class 3: Error recovery and multiplexing class
– Class 4: Error detection and recovery class
In Industrial Ethernet:
ISO 8073 class 4!
TC1
TC2
Eth. addr.: 08 00 06 01 0006 Eth. addr.: 08 00 06 01 0010
CP (TC1)
CP
443-1 443-1
Data TPDU
DT
Data transfer Data Acknowledgement TPDU
AK
TC1
TC2
Eth. addr.: 08 00 06 01 0006 Eth. addr.: 08 00 06 01 0010
CP (TC1)
CP
443-1 443-1
I want to establish a transport connection with you! I want to use expedited data
transmission. I would like the maximum length of a transport protocol data unit to be
1024 bytes. I want to use Extended TPDU Format, etc.
I agree to expedited data transmission, but the maximum length of the TPDUs
should be 512 bytes. I agree to Extended Format, etc.
OK!
Initiator The first step in establishing a transport connection is when an "active" transport
entity (initiator) sends a CR TPDU (Connection Request Transport Protocol Data
Unit).
CR TPDU The CR TPDU notifies the partner of certain parameter values, e.g.
Desired TPDU size
TPDU format
Protocol class
Etc.
Some of the parameter values must be accepted by the partner, whilst others can
be ignored or changed.
Responder If the "passive" transport entity (responder) accepts the connection request, it
sends back a CC TPDU (Connection Confirm Transport Protocol Data Unit).
CC TPDU In the CC TPDU, parameter proposals made in the CR TPDU can be confirmed
or alternative or compromise suggestions made.
AK TPDU The connection is considered established when the initiator sends the responder
an AK TPDU (Data Acknowledgement Transport Protocol Data Unit).
Hallo, TSAP ID "AAAA", this is TSAP ID "BBBB". I confirm the connection with your
reference 'A775'. My reference for this connection is B810. I agree to expedited data
transmission, ...
Addressing One transport entity can maintain connections with various other transport
Transport entities.
Components
To ensure clarity in complex situations and prevent defective transport
connections from interfering with those which are operating correctly, ISO
8072/73 divides the transport entity into several subcomponents.
TSAP These subcomponents are called TSAPs (Transport Service Access Point).
TSAP ID TSAPs are identified by logical addresses (TSAP lD = TSAP Identifier).
References Every connection established is given a local reference, of which the partner is
notified during the connection establishment phase.
When data frames are subsequently transmitted using the connection, the
connection reference allocated by the partner always appears in the Level 4
header.
Time out
Data unit No. 4
AK (YR-TU NO = 4, CDT = 2)
DT (TPDU NO = 4)
DT (TPDU NO = 5)
AK (YR-TU NO = 6, CDT = 0)
AK (YR-TU NO = 6, CDT = 1)
DT (TPDU NO = 6)
AK (YR-TU NO = 4, CDT = 3)
DT (TPDU NO = 7)
Explicit If a fast sender sends a slow receiver too many data units, this could
Flow Control result in a loss of data at the receiving end or increase the load on the bus
unnecessarily by retransmitting units that have not been received. To prevent
this, flow control is usually practised at the receiving end (optional parameter
'Explicit Flow Control' in the CR TPDU).
EA (YR-TU NO = 20)
EA (YR-TU NO = 21)
EA (YR-TU NO = 21)
Expedited Data Alongside normal data transmission, it is also possible to send expedited
Transfer data via a transport connection (ED TPDU = Expedited Data Transport Protocol
Data Unit).
There is no explicit flow control mechanism for expedited data transfer. This
means for the sender:
It must not send a new unit of expedited data until the last one has been
acknowledged!
DR
T1 DT
DR
DC
DR
T1
DR
T1 DR
DR
Clearing a When a data transfer has been completed, a data connection can be
Connection cleared. The resources used for this connection are then released.
Disconnect Request Connection clearance is initiated by a Disconnect Request (DR). The reason for
disconnection can be specified in a particular field in the transport header.
Disconnect Confirm The passive partner informs the active partner that it has taken note of the
disconnection by sending a Disconnect Confirm (DC).
Byte
1 2 ... n n+1 p p+1 End
Header
LI Length indicator
= Header length - 1
Structure:
FRAME NO.:0 SIPRA H1 internal frame number. The first frame read is assigned the
number 0.
LENGTH: 46 Bytes MAC data field length, also specified by SIPRA H1. 46 bytes were transmitted
after the length field (excluding the FCS field, which is not printed out by SIPRA
H1).
FRAME CORRECT SIPRA H1 reports that the FCS field (which was not printed out) was correct.
IEEE 802.3 Header The data read begins with the decoded MAC header. The preamble and SFD
field are not shown. The LENGTH FIELD: 002C H indicates the length of the
following, relevant data field. (44 bytes are relevant, the rest is padding).
IEE 802.2-Header In most of the Siemens Industrial Ethernet interface modules the default for the
LSAPs is FE H. Industrial Ethernet uses class 1 of IEEE 802.2. The CONTROL
byte of all frames therefore remains =03 H. The P/F bit in the CONTROL byte is
not relevant for IEEE 802.2
class 1.
ISO 8473 Header Byte 00 H stands for the inactive ISO Layer 3 (meaning: the Network Header is
00 bytes long).
ISO 8073 Header Here is a brief explanation of the structure of the Transport Header.
Fixed Part of the Header:
27 The next 39 bytes belong to the Layer 4 Header.
E identifier for Connection Request.
0 The partner is not issued with credit for any normal data units.
00 00 The partner's reference for the connection is not yet known (in this case
therefore: 00 00 H).
77 75 The sender's reference for the connection is 77 75 H.
4 Proposed transport protocol class (negotiable).
2 EXTENDED FORMAT is proposed for the Transport Header (negotiable).
Variable Part of the Header
C2 Identifier for: "The called TSAP now follows".
08 The called TSAP is 8 bytes long.
53 35 30 31 41 50 30 30 The designation of the called TSAP is: "S501AP00".
C1 Identifier for:" The calling TSAP now follows".
08 The calling TSAP is 8 bytes long.
53 43 37 32 41 50 30 30 The designation of the calling TSAP is: "SC72AP00"
C0 Identifier for: "The proposed maximum TPDU size now follows (incl. Transport
Header)".
01 The next byte contains the proposed TPDU size.
0A Proposed maximum TPDU size: 1024 bytes (negotiable).
C6 Identifier for: "An additional option selection now follows".
01 The next byte contains the additional options.
02 Option 1: Additional security for the Transport Header should not be provided
by a checksum.
Option 2: The connection should not allow expedited data transfer.
C4 Identifier for: "The transport protocol version now follows".
01 The next byte contains the transport protocol version".
01 Transport protocol version.
C3 Identifier for: "The transport checksum now follows".
02 The next two bytes contain the checksum.
E55E Checksum (Although deselected above, the checksum must be included
End of Transport Header in the CR TPDU).
PAD 54 45 H are filler bytes (padding to make up the minimum frame length).
This data unit (CC TPDU) is Node A's reply to the previous connection
establishment message frame
ISO 8073 Header The Transport Header begins after the sequence FE FE 03 00 H. Here is a brief
explanation:
0 : 00 00 00 00 00 53 44 41 54 .....SDAT
This data unit (AK TPDU) completes the establishment of the connection
(three-way handshake).
LENGTH FIELD The next 14 bytes of the MAC data field are relevant.
ISO 8073 Header The Transport Header begins after the sequence FE FE 03 00 H. Here is a brief
explanation:
16 :8C 08 00 00 00 00 00 00 00 01 43 37 32 41 50 30 ........C72AP00
32 :30 C0 01 0A C6 01 02 C4 01 01 C3 02 09 3C 4C 4F 0...........<L0