powersync-docs/docs/appareils/smart/modbuscommander.md
Patrick Schurig 66aa71c990
All checks were successful
Build & Deploy docs / build-deploy (push) Successful in 6m16s
mise a jour
2026-06-06 09:51:43 +02:00

110 lines
3.6 KiB
Markdown

# Modbus Commander
<span class="badge nightly">NIGHTLY</span> <span class="badge origin-nymea">NYMEA</span> <span class="badge community">COMMUNITY</span>
Write and read Modbus register.
<!-- BEGIN GENERATED: integrationpluginmodbuscommander.json -->
**Fabricant :** nymea
**Plugin :** `ModbusCommander`
#### Modèles pris en charge
| Modèle | Rôle | Transport | Ajout | Grandeurs |
| --- | --- | --- | --- | --- |
| **Modbus TCP client** | — | Modbus TCP | Ajout manuel / Découverte automatique | 1 |
| **Modbus RTU client** | — | Modbus RTU | Découverte automatique | 1 |
| **Coil** | — | — | Découverte automatique | 2 |
| **Discrete input** | — | — | Découverte automatique | 2 |
| **Input register** | — | — | Découverte automatique | 2 |
| **Holding register** | — | — | Découverte automatique | 2 |
#### Détail par modèle
??? abstract "Modbus TCP client — `modbusTCPClient`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `ipAddress` | IP Address | QString | — | `127.0.0.1` | non |
| `port` | Port | uint | — | `502` | non |
_Grandeurs mesurées :_
| Clé | Grandeur | Type | Unité |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
??? abstract "Modbus RTU client — `modbusRTUClient`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `modbusMasterUuid` | Modbus RTU master | QUuid | — | — | non |
_Grandeurs mesurées :_
| Clé | Grandeur | Type | Unité |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
??? abstract "Coil — `coil`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `slaveAddress` | Slave address | uint | — | `1` | non |
| `registerAddress` | Register address | uint | — | `0` | non |
_Grandeurs mesurées :_
| Clé | Grandeur | Type | Unité |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
| `value` | Value | bool | — |
??? abstract "Discrete input — `discreteInput`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `slaveAddress` | Slave address | uint | — | `1` | non |
| `registerAddress` | Register address | uint | — | `0` | non |
_Grandeurs mesurées :_
| Clé | Grandeur | Type | Unité |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
| `value` | Value | bool | — |
??? abstract "Input register — `inputRegister`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `slaveAddress` | Slave address | uint | — | `1` | non |
| `registerAddress` | Register address | uint | — | `0` | non |
_Grandeurs mesurées :_
| Clé | Grandeur | Type | Unité |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
| `value` | Value | int | — |
??? abstract "Holding register — `holdingRegister`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `slaveAddress` | Slave address | uint | — | `1` | non |
| `registerAddress` | Register address | uint | — | `0` | non |
_Grandeurs mesurées :_
| Clé | Grandeur | Type | Unité |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
| `value` | Value | uint | — |
<!-- END GENERATED -->