You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by ot...@apache.org on 2020/04/28 18:23:22 UTC

[plc4x] branch develop updated: Update ads.adoc

This is an automated email from the ASF dual-hosted git repository.

otluk pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new ad27607  Update ads.adoc
ad27607 is described below

commit ad27607efa3b8bad5ad5d883fc177d58505c5001
Author: ottlukas <ot...@gmail.com>
AuthorDate: Tue Apr 28 20:23:17 2020 +0200

    Update ads.adoc
---
 src/site/asciidoc/users/protocols/ads.adoc | 33 ++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/src/site/asciidoc/users/protocols/ads.adoc b/src/site/asciidoc/users/protocols/ads.adoc
index 78e5fce..8690193 100644
--- a/src/site/asciidoc/users/protocols/ads.adoc
+++ b/src/site/asciidoc/users/protocols/ads.adoc
@@ -18,5 +18,38 @@
 :icons: font
 
 == ADS/AMS
+=== Structure AMS/TCP Packet
 
+[cols=1*]
+|===
+| AMS/TCP Header
+
+| AMS Header
+
+| ADS Data
+
+|===
+
+[%header, cols=3*]
+|===
+| Data array
+| Size
+| Description
+
+| AMS/TCP Header
+| 6 bytes
+| contains the length of the data packet.
+
+| AMS Header
+| 32 bytes
+| The AMS/TCP-Header contains the addresses of the transmitter and receiver. In addition the AMS error code , the ADS command Id and some other information.
+
+| ADS Data
+| n bytes
+| The ADS data range contains the parameter of the single ADS commands. The structure of the data array depends on the ADS command. Some ADS commands require no additional data.
+
+|===
+
+=== More details on
 For details about the protocol look here: http://www.beckhoff.com/
+https://infosys.beckhoff.com/english.php?content=../content/1033/tcadsamsspec/html/tcadsamsspec_intro.htm[Structure AMS/TCP Packet]