node-red-contrib-modbus-modpackqt 2.0.4 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +2 -14
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ All notable changes to **node-red-contrib-modbus-modpackqt** are documented
|
|
|
4
4
|
here. This project follows [Semantic Versioning](https://semver.org/) — pin a
|
|
5
5
|
major version (`^2.0.0`) in production.
|
|
6
6
|
|
|
7
|
+
## [2.0.6] — 2026-05-09
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **README:** removed vendor name references (Siemens, Schneider) from
|
|
12
|
+
word-order tips. Wording is now vendor-neutral.
|
|
13
|
+
|
|
14
|
+
## [2.0.5] — 2026-05-09
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- **README:** removed the "Why Modbus + bytes are split into two palettes"
|
|
19
|
+
explainer section.
|
|
20
|
+
|
|
7
21
|
## [2.0.4] — 2026-05-09
|
|
8
22
|
|
|
9
23
|
### Changed
|
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ npm install node-red-contrib-modbus-modpackqt node-red-contrib-bytes-modpackqt
|
|
|
48
48
|
|---|---|
|
|
49
49
|
| Add a runtime config | TCP, timeout 3000 ms |
|
|
50
50
|
| Master read | Host `192.168.1.10`, port `502`, unit `1`, FC `3`, address `100`, qty `2` |
|
|
51
|
-
| `decode-float32` | Endian `BE` (try `LE_SWAP` if value looks wrong —
|
|
51
|
+
| `decode-float32` | Endian `BE` (try `LE_SWAP` if value looks wrong — many PLCs use CDAB) |
|
|
52
52
|
|
|
53
53
|
**`msg.payload` along the wire:**
|
|
54
54
|
- After Modbus read: `[16828, 0]` (raw registers)
|
|
@@ -146,18 +146,6 @@ External masters connecting to `your-host:1502`, unit `1`, FC `3`, address `0`,
|
|
|
146
146
|
|
|
147
147
|
---
|
|
148
148
|
|
|
149
|
-
## Why Modbus + bytes are split into two palettes
|
|
150
|
-
|
|
151
|
-
Most Modbus packages bake type decoding into the read node — one giant dropdown for int16 / int32 / float32 / Siemens-CDAB / etc. That made sense in 2010 but it's a mess: every protocol re-implements the same decoders, and you can't reuse them for MQTT / TCP / BLE / file payloads.
|
|
152
|
-
|
|
153
|
-
We split them on purpose:
|
|
154
|
-
- **Modbus nodes** speak Modbus and output raw registers — nothing else.
|
|
155
|
-
- **Bytes nodes** decode any binary payload into typed values.
|
|
156
|
-
|
|
157
|
-
You write less code, your flows stay readable, and the same decoder works whether the data came from a PLC, an MQTT broker, or a UDP socket.
|
|
158
|
-
|
|
159
|
-
---
|
|
160
|
-
|
|
161
149
|
## Pricing
|
|
162
150
|
|
|
163
151
|
| | Free | Paid |
|
|
@@ -191,7 +179,7 @@ Make sure `node-red-contrib-bytes-modpackqt` is also installed before importing
|
|
|
191
179
|
| Issue | Solution |
|
|
192
180
|
|---|---|
|
|
193
181
|
| `ModPackQT free tier limit reached` | Either wait until midnight or [get a free trial key](https://modpackqt.com/nodered) |
|
|
194
|
-
| Decoded float looks like garbage | Try a different word order (`BE` ↔ `LE_SWAP`) —
|
|
182
|
+
| Decoded float looks like garbage | Try a different word order (`BE` ↔ `LE_SWAP`) — common conventions are ABCD and CDAB |
|
|
195
183
|
| `Serial port not configured for RTU mode` | Open runtime config → set Serial Port (e.g. `/dev/ttyUSB0` or `COM3`) |
|
|
196
184
|
| `EADDRINUSE` on slave port | Another process already uses that port. Pick a different one (e.g. `1502`). |
|
|
197
185
|
| `connect ECONNREFUSED` | Target Modbus device is unreachable. Check IP / port / firewall. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-modbus-modpackqt",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"description": "Node-RED Modbus nodes — embedded Modbus TCP/RTU master + slave server, no extra apps required. By ModPackQT. FC1/FC2/FC3/FC4 reads, FC5/FC6/FC15/FC16 writes, a built-in slave register store, and a free passive traffic monitor for debugging.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node-red",
|