{"id":186,"date":"2015-03-06T14:25:16","date_gmt":"2015-03-06T13:25:16","guid":{"rendered":"http:\/\/localhost\/wordpress\/?page_id=186"},"modified":"2015-03-11T16:28:12","modified_gmt":"2015-03-11T15:28:12","slug":"aufbau-eines-data-tpdus","status":"publish","type":"page","link":"http:\/\/bj-ig.de\/service\/verfuegbare-dokumentationen\/s7-kommunikation\/aufbau-eines-data-tpdus\/","title":{"rendered":"Aufbau eines Data TPDUs"},"content":{"rendered":"

Aufbau eines Data TPDUs<\/h1>\n\n\n\n\n\n\n\n\n
Byte<\/b><\/td>\n<\/td>\nDescription<\/b><\/td>\n<\/td>\n<\/tr>\n
0-3<\/td>\n<\/td>\nISO-TCP header<\/td>\n<\/td>\n<\/tr>\n
4<\/td>\n<\/td>\nlength (in byte) of TPDU header
\n(without this byte and possible user data)<\/td>\n
<\/td>\n<\/tr>\n
5<\/td>\n<\/td>\nDT code (1111) & credit (always 0000)<\/td>\nFixed Part<\/td>\n<\/tr>\n
6<\/td>\n<\/td>\nTPDU number & EOT<\/td>\nFixed Part<\/td>\n<\/tr>\n
7-…<\/td>\n<\/td>\nPDU<\/td>\nUser Data<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Aufbau der PDUs (Packet Data Units)<\/h3>\n

PDUs sind der zentrale Bestandteil der S7 Kommunikation. Da das dazu geh\u00f6rige Protokoll ein gut beh\u00fctetes Geheimnis der Siemens AG ist, basieren viele der folgenden Informationen auf Reverse Engeneering und sollten daher immer kritisch betrachtet werden. Ein Teil der Beschreibung wurde aus dem Sourceforge Projekt libnodave<\/a> \u00fcbernommen.<\/p>\n

Der grundlegende Aufbau ist bei allen PDUs gleich:<\/p>\n\n\n\n\n\n\n\n\n\n\n\n\n
Byte<\/b><\/td>\n<\/td>\nDescription<\/b><\/td>\n<\/td>\n<\/tr>\n
7<\/td>\n<\/td>\n0x32 (unknown)<\/td>\nPDU Header<\/td>\n<\/tr>\n
8<\/td>\n<\/td>\nPDU type<\/a> (1,2,3 or 7)<\/td>\nPDU Header<\/td>\n<\/tr>\n
9-10<\/td>\n<\/td>\nreserved<\/td>\nPDU Header<\/td>\n<\/tr>\n
11-12<\/td>\n<\/td>\nsequence number<\/td>\nPDU Header<\/td>\n<\/tr>\n
13-14<\/td>\n<\/td>\nparameter length (in byte)<\/td>\nPDU Header<\/td>\n<\/tr>\n
15-16<\/td>\n<\/td>\ndata length (in byte)<\/td>\nPDU Header<\/td>\n<\/tr>\n
17-18<\/td>\n<\/td>\nerror code<\/a> (only available in PDU type 2 and 3)<\/td>\nPDU Header<\/td>\n<\/tr>\n
…-…<\/td>\n<\/td>\nparamater part<\/a><\/td>\n<\/td>\n<\/tr>\n
…-…<\/td>\n<\/td>\ndata part<\/a><\/td>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

Aufbau eines Data TPDUs Byte Description 0-3 ISO-TCP header 4 length (in byte) of TPDU header (without this byte and possible user data) 5 DT code (1111) & credit (always 0000) Fixed Part 6 TPDU number & EOT Fixed Part 7-… PDU User Data Aufbau der PDUs (Packet Data Units) PDUs sind der zentrale Bestandteil […]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":174,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"index-grey.php","meta":{"footnotes":""},"_links":{"self":[{"href":"http:\/\/bj-ig.de\/wp-json\/wp\/v2\/pages\/186"}],"collection":[{"href":"http:\/\/bj-ig.de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/bj-ig.de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/bj-ig.de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bj-ig.de\/wp-json\/wp\/v2\/comments?post=186"}],"version-history":[{"count":7,"href":"http:\/\/bj-ig.de\/wp-json\/wp\/v2\/pages\/186\/revisions"}],"predecessor-version":[{"id":483,"href":"http:\/\/bj-ig.de\/wp-json\/wp\/v2\/pages\/186\/revisions\/483"}],"up":[{"embeddable":true,"href":"http:\/\/bj-ig.de\/wp-json\/wp\/v2\/pages\/174"}],"wp:attachment":[{"href":"http:\/\/bj-ig.de\/wp-json\/wp\/v2\/media?parent=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}