{"id":188,"date":"2015-03-06T14:25:38","date_gmt":"2015-03-06T13:25:38","guid":{"rendered":"http:\/\/localhost\/wordpress\/?page_id=188"},"modified":"2015-03-12T09:29:48","modified_gmt":"2015-03-12T08:29:48","slug":"s7-kommunikationsbeispiel","status":"publish","type":"page","link":"http:\/\/bj-ig.de\/service\/verfuegbare-dokumentationen\/s7-kommunikation\/s7-kommunikationsbeispiel\/","title":{"rendered":"S7 Kommunikationsbeispiel"},"content":{"rendered":"

S7 Kommunikationsbeispiel<\/h1>\n

Mausover f\u00fcr weitere Informationen!<\/b>
\nServer:<\/b> Listen on TCP-Port 102<\/p>\n

Client:<\/b> CR Connection Request
\nISO-TCP Header: 0x03<\/a> 0x00<\/a> 0x00 0x16<\/a>
\nTPDU Header:
0x11<\/a> 0xE0<\/a> 0x00 0x00<\/a> 0x00 0x01<\/a> 0x00<\/a> 0xC1<\/a> 0x02<\/a> 0x02<\/a> 0x00<\/a> 0xC2<\/a> 0x02<\/a> 0x02<\/a> 0x00<\/a> 0xC0<\/a> 0x01<\/a> 0x0A<\/a><\/p>\n

Server:<\/b> CC Connection Confirm
\nISO-TCP Header:
0x03<\/a> 0x00<\/a> 0x00 0x16<\/a>
\nTPDU Header:
0x11<\/a> 0xD0<\/a> 0x00 0x01<\/a> 0x00 0x00<\/a> 0x00<\/a> 0xC0<\/a> 0x01<\/a> 0x0A<\/a> 0xC1<\/a> 0x02<\/a> 0x02<\/a> 0x00<\/a> 0xC2<\/a> 0x02<\/a> 0x02<\/a> 0x00<\/a><\/p>\n

Client:<\/b> Beginne mit S7 Kommunikation
\nISO-TCP Header:
0x03<\/a> 0x00<\/a> 0x00 0x19<\/a>
\nTPDU Header:
0x02<\/a> 0xF0<\/a> 0x80<\/a>
\nPDU:
0x32<\/a> 0x01<\/a> 0x00 0x00<\/a> 0x00 0x01<\/a> 0x00 0x08<\/a> 0x00 0x00<\/a>
\nParameterteil:
0xF0<\/a> 0x00 0x00 0x01 0x00 0x03 0x00<\/a> 0xF0<\/a>
\nDatenteil: –<\/p>\n

Server:<\/b> Best\u00e4tige S7 Kommunikation
\nISO-TCP Header:
0x03<\/a> 0x00<\/a> 0x00 0x1B<\/a>
\nTPDU Header:
0x02<\/a> 0xF0<\/a> 0x80<\/a>
\nPDU:
0x32<\/a> 0x03<\/a> 0x00 0x00<\/a> 0x00 0x01<\/a> 0x00 0x08<\/a> 0x00 0x00<\/a> 0x00 0x00<\/a>
\nParameterteil:
0xF0<\/a> 0x00 0x00 0x01 0x00 0x03 0x00<\/a> 0xF0<\/a>
\nDatenteil: –<\/p>\n

Client:<\/b> Frage nach SZL Diagnosedaten
\nISO-TCP Header:
0x03<\/a> 0x00<\/a> 0x00 0x21<\/a>
\nTPDU Header:
0x02<\/a> 0xF0<\/a> 0x80<\/a>
\nPDU:
0x32<\/a> 0x07<\/a> 0x00 0x00<\/a> 0x00 0x01<\/a> 0x00 0x08<\/a> 0x00 0x08<\/a>
\nParameterteil:
0x00<\/a> 0x01 0x12<\/a> 0x04<\/a> 0x11<\/a> 0x44<\/a> 0x01<\/a> 0x00<\/a>
\nDatenteil:
0xFF<\/a> 0x09<\/a> 0x00 0x04<\/a> 0x01 0x31<\/a> 0x00 0x03<\/a><\/p>\n

Server:<\/b> Antwort – Keine Diagnosedaten verf\u00fcgbar
\nISO-TCP Header:
0x03<\/a> 0x00<\/a> 0x00 0x51<\/a>
\nTPDU Header:
0x02<\/a> 0xF0<\/a> 0x80<\/a>
\nPDU:
0x32<\/a> 0x07<\/a> 0x00 0x00<\/a> 0x00 0x01<\/a> 0x00 0x0C<\/a> 0x00 0x34<\/a>
\nParameterteil:
0x00<\/a> 0x01 0x12<\/a> 0x08<\/a> 0x12<\/a> 0x84<\/a> 0x01<\/a> 0x01 0x00 0x00<\/a> 0x00 0x00<\/a>
\nDatenanteil:
0xFF<\/a> 0x09<\/a> 0x00 0x30<\/a> 0x01 0x31<\/a> 0x00 0x03<\/a> 0x00 0x28<\/a> 0x00 0x01<\/a> 0x00 0x03<\/a> 0x7F 0xF0 0x83 0x01 0x00 0x20 0x00 0x04 0x00 0x01 0x02 0x09 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00<\/a><\/p>\n

Client:<\/b> Lies Word aus DB1 DBW4
\nISO-TCP Header:
0x03<\/a> 0x00<\/a> 0x00 0x1F<\/a>
\nTPDU Header:
0x02<\/a> 0xF0<\/a> 0x80<\/a>
\nPDU:
0x32<\/a> 0x01<\/a> 0x00 0x00<\/a> 0x00 0x01<\/a> 0x00 0x0E<\/a> 0x00 0x00<\/a>
\nParameterteil:
0x04<\/a> 0x01<\/a>
\nDatenanfrage:
0x12<\/a> 0x0A<\/a> 0x10<\/a> 0x04<\/a> 0x00 0x01<\/a> 0x00 0x01<\/a> 0x84<\/a> 0x00 0x00 0x20<\/a>
\nDatenteil: –<\/p>\n

Server:<\/b> Antwort – Der Wert in DB1 DBW4 ist 5
\nISO-TCP Header:
0x03<\/a> 0x00<\/a> 0x00 0x1B<\/a>
\nTPDU Header:
0x02<\/a> 0xF0<\/a> 0x80<\/a>
\nPDU:
0x32<\/a> 0x03<\/a> 0x00 0x00<\/a> 0x00 0x01<\/a> 0x00 0x02<\/a> 0x00 0x06<\/a> 0x00 0x00<\/a>
\nParameterteil:
0x04<\/a> 0x01<\/a>
\nDatenanteil:
0xFF<\/a> 0x04<\/a> 0x00 0x10<\/a> 0x00 0x05<\/a><\/p>\n

Client:<\/b> Schreibe 7 in DB1 DBW4
\nISO-TCP Header:
0x03<\/a> 0x00<\/a> 0x00 0x25<\/a>
\nTPDU Header:
0x02<\/a> 0xF0<\/a> 0x80<\/a>
\nPDU:
0x32<\/a> 0x01<\/a> 0x00 0x00<\/a> 0x00 0x01<\/a> 0x00 0x0E<\/a> 0x00 0x06<\/a>
\nParameterteil:
0x05<\/a> 0x01<\/a>
\nSchreibanfrage:
0x12<\/a> 0x0A<\/a> 0x10<\/a> 0x04<\/a> 0x00 0x01<\/a> 0x00 0x01<\/a> 0x84<\/a> 0x00 0x00 0x20<\/a>
\nDatenteil:
0x00<\/a> 0x04<\/a> 0x00 0x10<\/a> 0x00 0x08<\/a><\/p>\n

Server:<\/b> Schreibvorgang erfolgreich
\nISO-TCP Header:
0x03<\/a> 0x00<\/a> 0x00 0x16<\/a>
\nTPDU Header:
0x02<\/a> 0xF0<\/a> 0x80<\/a>
\nPDU:
0x32<\/a> 0x03<\/a> 0x00 0x00<\/a> 0x00 0x01<\/a> 0x00 0x02<\/a> 0x00 0x01<\/a> 0x00 0x00<\/a>
\nParameterteil:
0x05<\/a> 0x01<\/a>
\nDatenanteil:
0xFF<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

S7 Kommunikationsbeispiel Mausover f\u00fcr weitere Informationen! Server: Listen on TCP-Port 102 Client: CR Connection Request ISO-TCP Header: 0x03 0x00 0x00 0x16 TPDU Header: 0x11 0xE0 0x00 0x00 0x00 0x01 0x00 0xC1 0x02 0x02 0x00 0xC2 0x02 0x02 0x00 0xC0 0x01 0x0A Server: CC Connection Confirm ISO-TCP Header: 0x03 0x00 0x00 0x16 TPDU Header: 0x11 0xD0 […]<\/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\/188"}],"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=188"}],"version-history":[{"count":6,"href":"http:\/\/bj-ig.de\/wp-json\/wp\/v2\/pages\/188\/revisions"}],"predecessor-version":[{"id":520,"href":"http:\/\/bj-ig.de\/wp-json\/wp\/v2\/pages\/188\/revisions\/520"}],"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=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}