Skip to content

Commit 5bd3f5c

Browse files
committed
Update documentation
1 parent 740bdfb commit 5bd3f5c

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

docs/getting-started/operations.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,22 @@ Set (as the name implies) set a certain value to a variable, like the example be
1111
```
1212

1313
Both **symbol** and **value** are mandatory fields. **value** can be of type *FLOAT32* , *INT16* or *BOOL* which must
14-
follow the same type of the specified **symbol** definition. In case the variable already is initialized, it overwrites the value.
14+
follow the same type of the specified **symbol** definition. In case the variable already is initialized, it overwrites the value.
15+
16+
Supported registers: **HOLDING_REGISTER**, **COIL**, **DISCRETE_INPUT**, **INPUT_REGISTER**
17+
18+
## Add
19+
Add (as the name implies) add a certain value to a variable, like the example below:
20+
21+
```xml
22+
<add symbol="MOTOR_SPEED1">15.5</add>
23+
```
24+
25+
Both **symbol** and **value** are mandatory fields. **value** can be of type *FLOAT32* , *INT16* which must
26+
follow the same type of the specified **symbol** definition.
27+
28+
Supported registers: **HOLDING_REGISTER**, **INPUT_REGISTER**
29+
30+
*For **INPUT_REGISTER** type *FLOAT32* is not supported!*
31+
32+

0 commit comments

Comments
 (0)