# Borne ABB Terra AC
TESTING CONSUMER
La borne de recharge ABB Terra AC existe en deux variantes de communication :
**Modbus TCP** (réseau Ethernet/LAN) et **Modbus RTU** (bus RS485).
## 1. Choix de la variante
- **TCP** : la borne est sur le réseau local, repérée par son adresse IP /
nom d'hôte. Ajout par découverte réseau.
- **RTU** : la borne est sur un bus RS485, repérée par son adresse esclave.
## 2. Raccordement
- TCP : câble Ethernet vers le réseau du hub.
- RTU : A↔A, B↔B, masse, terminaison 120 Ω.
## 3. Ajout dans PowerSync
Variante TCP : **découverte automatique** sur le réseau, ou ajout **manuel**
(IP, port). Variante RTU : ajout via le maître RTU + adresse esclave.
Voir [Ajouter un appareil](../../installation/application.md).
## 4. Vérification
`connected`, `pluggedIn` puis `charging` reflètent l'état de la session ;
`maxChargingCurrent` reflète la consigne de courant.
---
## Référence
**Fabricant :** ABB
**Plugin :** `AbbTerra`
#### Modèles pris en charge
| Modèle | Rôle | Transport | Ajout | Grandeurs |
| --- | --- | --- | --- | --- |
| **Terra AC Charger (TCP)** | Borne de recharge | Modbus TCP | Découverte automatique / Ajout manuel | 17 |
| **Terra AC Charger (RTU)** | Borne de recharge | Modbus RTU | Découverte automatique / Ajout manuel | 17 |
#### Détail par modèle
??? abstract "Terra AC Charger (TCP) — `terraAcTcp`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `macAddress` | MAC address | QString | — | — | oui |
| `address` | Host address | QString | — | — | non |
| `hostName` | Host name | QString | — | — | non |
| `port` | Port | uint | — | `502` | non |
| `slaveId` | Slave ID | uint | 1–255 | `1` | non |
_Grandeurs mesurées :_
| Clé | Grandeur | Type | Unité |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
| `pluggedIn` | Plugged in | bool | — |
| `charging` | Charging | bool | — |
| `power` | Charging enabled | bool | — |
| `maxChargingCurrent` | Maximum charging current | double | Ampere |
| `phaseCount` | Phase count | uint | — |
| `currentPower` | Active power | double | Watt |
| `currentPhase1` | Current phase 1 | double | Ampere |
| `currentPhase2` | Current phase 2 | double | Ampere |
| `currentPhase3` | Current phase 3 | double | Ampere |
| `voltagePhase1` | Voltage phase 1 | double | Volt |
| `voltagePhase2` | Voltage phase 2 | double | Volt |
| `voltagePhase3` | Voltage phase 3 | double | Volt |
| `sessionEnergy` | Session energy | double | KiloWattHour |
| `firmwareVersion` | Firmware version | QString | — |
| `serialNumber` | Serial number | QString | — |
| `errorCode` | Error code | uint | — |
??? abstract "Terra AC Charger (RTU) — `terraAcRtu`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `rtuMaster` | Modbus RTU master | QString | — | — | non |
| `slaveId` | Modbus slave ID | uint | 1–247 | `1` | non |
_Grandeurs mesurées :_
| Clé | Grandeur | Type | Unité |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
| `pluggedIn` | Plugged in | bool | — |
| `charging` | Charging | bool | — |
| `power` | Charging enabled | bool | — |
| `maxChargingCurrent` | Maximum charging current | double | Ampere |
| `phaseCount` | Phase count | uint | — |
| `currentPower` | Active power | double | Watt |
| `currentPhase1` | Current phase 1 | double | Ampere |
| `currentPhase2` | Current phase 2 | double | Ampere |
| `currentPhase3` | Current phase 3 | double | Ampere |
| `voltagePhase1` | Voltage phase 1 | double | Volt |
| `voltagePhase2` | Voltage phase 2 | double | Volt |
| `voltagePhase3` | Voltage phase 3 | double | Volt |
| `sessionEnergy` | Session energy | double | KiloWattHour |
| `firmwareVersion` | Firmware version | QString | — |
| `serialNumber` | Serial number | QString | — |
| `errorCode` | Error code | uint | — |