Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit cc5733f

Browse files
authored
Update README.md
1 parent d62d90d commit cc5733f

1 file changed

Lines changed: 20 additions & 15 deletions

File tree

README.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,23 @@ The task uses a variable structure to communicate with the outside world that ca
2525
<th>CMD</th>
2626
<td colspan="3">Used to trigger commands.</td>
2727
</tr>
28+
<tr>
29+
<td></td>
30+
<td>connect</td>
31+
<td colspan="3">Connect to network share</td>
32+
</tr>
33+
<tr>
34+
<td></td>
35+
<td>disconnect</td>
36+
<td colspan="3">Disconnect from network share</td>
37+
</tr>
2838
<tr>
2939
<td></td>
3040
<td>error_reset</td>
31-
<td colspan="3">Reset pending erros</td>
41+
<td colspan="3">Reset pendiing errors</td>
3242
</tr>
3343
<th> PAR </th>
3444
<td colspan="3">Parameters tructure</td>
35-
</tr>
36-
<tr>
37-
<td></td>
38-
<td>state_machine</td>
39-
<td colspan="3">Shows the internal state of the task.</td>
4045
</tr>
4146
<tr>
4247
<td></td>
@@ -81,7 +86,7 @@ The task uses a variable structure to communicate with the outside world that ca
8186
<tr>
8287
<td></td>
8388
<td>enable_connect</td>
84-
<td colspan="3">Used to enable/disbale connect button in HMI.</td>
89+
<td colspan="3">Used to enable/disable the connect and disconnect button in HMI.</td>
8590
</tr>
8691
<tr>
8792
<td></td>
@@ -108,14 +113,8 @@ The task uses a variable structure to communicate with the outside world that ca
108113
<td colspan="3">State where the error occurred</td>
109114
</tr>
110115
<tr>
111-
<td></td>
112-
<td>text</td>
113-
<td colspan="3">Error text</td>
114-
</tr>
115-
<tr>
116-
<td></td>
117-
<td>active</td>
118-
<td colspan="3">True when in error state</td>
116+
<td>status</td>
117+
<td colspan="3">Cuurent status</td>
119118
</tr>
120119
</table>
121120

@@ -129,6 +128,12 @@ Recommended task class is #8 with a 10ms cycle time.
129128
<a name="Revision-History"></a>
130129
## Revision History
131130

131+
#### Version 0.3
132+
- Remove state variable from PAR structure
133+
- Added status variable to main structure
134+
- Added disconnect command
135+
- Ping is now executed all the time to detect connection interruption
136+
132137
#### Version 0.2
133138
- Added ping support
134139

0 commit comments

Comments
 (0)