-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAds commands.html
55 lines (53 loc) · 1.56 KB
/
Ads commands.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Ads commands
## ADS Read Write
With ADS Read Write data will be written to an ADS
device. Additionally, data can be read from the ADS device.</p>
### Request
Index Group 4 bytes Index Group, in which the data should be written.
Index Offset 4 bytes
<td width="75%">Index Offset, in which the data should be
written</td>
</tr>
<tr valign="top">
<td width="15%"><i>Read Length</i></td>
<td width="10%">4 bytes</td>
<td width="75%">Length of data in bytes, which should be read.</td>
</tr>
<tr valign="top">
<td width="15%"><i>Write Length</i></td>
<td width="10%">4 bytes</td>
<td width="75%">Length of data in bytes, which should be
written</td>
</tr>
<tr valign="top">
<td width="15%"><i>Data</i></td>
<td width="10%">n bytes</td>
<td width="75%">Data which are written in the ADS device.</td>
</tr>
</table>
<h2>Response</h2>
<p><img border="0" src="../images/AdsReadWriteResponse.jpg" width="520" height="190" alt="AdsReadWriteResponse" /></p>
<table width="100%">
<tr valign="top">
<th align="left" width="15%" valign="bottom">Data array</th>
<th align="left" width="10%" valign="bottom">Size</th>
<th align="left" width="75%">Description</th>
</tr>
<tr valign="top">
<td width="15%"><i>Result</i></td>
<td width="10%">4 bytes</td>
<td width="75%">ADS error number</td>
</tr>
<tr valign="top">
<td width="15%"><i>Length</i></td>
<td width="10%">4 bytes</td>
<td width="75%">Length of data which are supplied back.</td>
</tr>
<tr valign="top">
<td width="15%"><i>Data</i></td>
<td width="10%">n bytes</td>
<td width="75%">Data which are supplied back.</td>
</tr>
</table>
</body>
</html>