Skip to content

Commit ef71912

Browse files
committed
Add documentation for the trace operation
1 parent 1e1474c commit ef71912

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/getting-started/operations.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,16 @@ Example using a parameter as a value
123123
</ifEqual>
124124
```
125125

126-
Please note the **symbol** and **value** datatype needs to match.
126+
Please note the **symbol** and **value** datatype needs to match.
127+
128+
129+
## Trace
130+
131+
Trace operation provides a tool for debugging, by printing (tracing) the current
132+
value of symbols
133+
134+
Supported registers: **HOLDING_REGISTER**, **COIL**, **DISCRETE_INPUT**, **INPUT_REGISTER**
135+
136+
```
137+
<trace symbol="RPM_MOTOR" />
138+
```

0 commit comments

Comments
 (0)